@import url(identity.css);

body {
  margin: 0;
  font-family: 'AnkaCoder';
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
  padding-right: 60px;
}

.collection-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 20px 180px;
  border-bottom: 1px solid #1e1e1e; 
  flex-wrap: wrap;
}

.collection-title {
  font-family: 'Feature Text Trial';
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  margin: 0;
  letter-spacing: 0.48px;
  
}

.collection-price {
  font-family: 'Feature Text Trial';
  font-size: 32px;
  font-weight: 500;
  margin: 0;
}

.product-grid {
  padding-top: 2%;
  display: grid;
  gap: 25px;
}

.product-card {
  background-color: var(--color-grey);
  border-radius: 5px;
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.8;
  object-fit: cover;
}

.product-card__tshirt {
  position: relative;     
  background-color: transparent;
}

.product-card__info {
  padding: 16px;
}

.product-card__name {
  font-family: 'Feature Text Trial';
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 -2px 4px;
  z-index: -1;
}

.product-card__color {
  font-family: 'AnkaCoder';
  font-weight: 600;
  font-size: 12px;
  margin: 0 0 0 4px;
}

.collection-details {
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  margin-top: 40px;
  display: flex;
  padding: 24px 0;
}

.details-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.details-group--size {
  padding: 0 0 0 500px;
}

.details-group--color {
  padding-left: 40px;
  border-left: 1px solid #1e1e1e;
}

.details-label {
  font-family: 'AnkaCoder';
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.size-selector, .color-selector {
  display: flex;
  gap: 20px;
  align-items: center;
}

.size-option {
  width: 33px;
  height: 33px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.color-option {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
  .collection-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .collection-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .collection-details {
    flex-direction: column;
    gap: 20px;
  }
  .details-group--color {
    padding-left: 0;
    border-left: none;
  }
}


.site-header {
  background-color: var(--color-background);
  height: 128px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.site-header__logo .logo-wrapper {
  position: relative;
  width: 398px;
  height: 40px;
}
.site-header__logo img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.site-header__logo img:first-child {
  left: 0;
  width: 376px;
  height: 40px;
}

.site-header__user-icon img {
  width: 23px;
  height: 22px;
}



.hero-section {
  position: relative;
  height: 559px;
  background-color: var(--color-primary);
  display: flex;
  align-items: flex-end;
  padding-bottom: 70px;
}
.hero-section__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-section__bg-image, .hero-section__bg-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1320px;
  height: 560px;
  max-width: none;
}
.hero-section__bg-image {
  object-fit: cover;
}
.hero-section__content {
  position: relative;
  z-index: 1;
  color: var(--color-text-light);
  margin-left: 25vw;  
}
.hero-section__title {
  font-family: 'Feature Text Trial';
  font-size: 48px;
  font-weight: 400;
  line-height: 0.5;
  margin: 0 0 30px -105%;
  text-align: left;       
}

.hero-section__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: -250px;
  width: clamp(200px, 20vw, 300px);
}

.tag-button {
  font-family: 'AnkaCoder';
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text-light);
  text-decoration: none;
  border: 1px solid var(--color-text-light);
  border-radius: 24px;
  padding: 4px 12px;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}
.tag-button:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
        padding-bottom: 40px;
    }
    .hero-section__title, .hero-section__tags {
        margin-left: 0;
    }
    .hero-section__title {
        font-size: 40px;
    }
}



.collection-subtitle {
    font-family: 'NTStardust';
    font-size: 15px;
    color: var(--color-primary-orange);
    margin: 10px 0 10px 0;
}
.product-grid--4-cols {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .product-grid--4-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .product-grid--4-cols {
        grid-template-columns: 1fr;
    }
}



.product-grid--2-cols {
    grid-template-columns: repeat(2, 1fr);
}
.product-card__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 648 / 366;
    display: flex;
}
.product-card__image-wrapper img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}
@media (max-width: 768px) {
    .product-grid--2-cols {
        grid-template-columns: 1fr;
    }
}

.product-grid--3-cols {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .product-grid--3-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .product-grid--3-cols {
        grid-template-columns: 1fr;
    }
}


.hoodie-showcase{
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
  padding: 20px;
}
.hoodie-showcase__images {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hoodie-image-wrapper {
  width: 100%;
  aspect-ratio: 2115 / 1700;
  overflow: hidden;
  position: relative;
  background-color: var(--color-grey);
}

.hoodie-image-wrapper img,
.hoodie-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  display: block;
  transition: opacity 0.3s;
  background-color: transparent; 
}

.hoodie-showcase__details {
    flex: 1;
    padding: 20px 0; 
}
.hoodie-name {
    font-family: 'Feature Text Trial';
    font-size: 20px;
    font-weight: 400;
    margin: 0 350px 20px 0;
}
.hoodie-price {
    font-family: 'Feature Text Trial';
    font-size: 32px;
    font-weight: 500;
    margin: 0;
}
.hoodie-divider {
    border: none;
    border-top: 1px solid var(--color-primary);
    margin: 40px 0 20px 0;

}
.color-selector .color-option.active {
    transform: scale(1.2);
}
.vertical-line {
  width: 1px;
  background-color: var(--color-primary);
  align-self: stretch;
}

.hoodie-header{
  margin-left: 20px;
}

@media (max-width: 1024px) {
  .vertical-line {
    display: none;
  }
}


@media (max-width: 1024px) {
    .hoodie-showcase, .hoodie-showcase--reverse {
        grid-template-columns: 1fr;
    }
    .hoodie-showcase--reverse .hoodie-showcase__images {
        order: -1;
    }
}

.details-group-anime--color {
  margin: 0 -120px 0 20px;
}

.details-group-anime--size {
  margin-top: 21px;
}

.collection-details.same-line {
  display: flex;
  align-items: center;
  border: none;
  padding: 0;
  margin: 0;
}




.site-footer {
    background: linear-gradient(340deg, #1e1e1e 0%, #2d3231 186%);
    color: var(--color-secondary);
    padding: 21px 0;
}
.site-footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.site-footer__socials {
    display: flex;
    gap: 12px;
    align-items: center;
}
.site-footer__socials a img {
    width: 16px;
    height: 16px;
}
.site-footer__copyright {
    font-family: 'SansSerifBld', sans-serif; /* Approximating SansSerifBldFLF-Italic */
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.4px;
    margin: 0;
}
.site-footer__help-button {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--color-secondary);
    border-radius: 17.5px;
    padding: 4px 10px;
    text-decoration: none;
    color: #fff;
    font-size: 11px;
}
.site-footer__help-button img {
    width: 17px;
    height: 17px;
}
@media (max-width: 768px) {
    .site-footer__container {
        flex-direction: column;
        justify-content: center;
    }
    .site-footer__copyright {
        order: -1;
        font-size: 16px;
    }
}


/* SODA COLLECTIONS pinagiba ko napagsama ko din pala heheheheheheh */
.soda-collection .product-card__image-wrapper {
  position: relative;                /* allow absolute positioning for fade */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 2115 / 1750;
  overflow: hidden;
  background-color: var(--color-grey);
}

.soda-collection .product-card__image-wrapper img {
  position: absolute;                /* stack images */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;                        /* hidden by default */
  transform: scale(1.1);             /* slightly zoomed-out */
  transition: opacity 0.8s ease, transform 0.8s ease;
  background-color: transparent;
  z-index: 0;
}

.soda-collection .product-card__image-wrapper img.active {
  opacity: 1;                        /* visible image */
  transform: scale(1);               /* zoom in */
  z-index: 1;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
html {
  scroll-behavior: smooth;
}

/* Add this to modal.css (or another global stylesheet)
  to fix the layout shift when the modal opens.
*/
body.modal-open {
  overflow: hidden;
  /* This is the missing piece! */
  padding-right: var(--scrollbar-compensation, 0px);
}