/* STAR GENE Amsterdam — homepage (ANASAYFA)
   Generated from Figma frame 81:3538, design width 1920px */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[x-cloak] {
  display: none !important;
}

body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1024;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Crop taken from the Figma frame: image scaled to 305.68% height,
   shifted up 43.55% and left 8.7% */
.hero__image img {
  position: absolute;
  width: 108.7%;
  height: 305.68%;
  left: -8.7%;
  top: -43.55%;
  max-width: none;
  object-fit: cover;
}

.hero__cta {
  position: absolute;
  left: 50%;
  top: 67.5%; /* 691 / 1024 */
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 48px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 16px;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.06), 0 4px 1.5px rgba(0, 0, 0, 0.07);
}

/* ---------- Menu ---------- */

.menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 216px;
  z-index: 10;
}

.menu__links {
  position: absolute;
  left: 79px;
  top: 33px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.menu__links a {
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu__logo {
  position: absolute;
  left: 50%;
  top: 37px;
  transform: translateX(-50%);
}

.menu__logo img {
  display: block;
  width: 108px;
  height: 104px;
}

.menu__icons {
  position: absolute;
  right: 38px;
  top: 37px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 20px;
}

.menu__icons img {
  display: block;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  background: #000;
  color: #fff;
  height: 554px;
}

.footer__heading {
  display: inline-flex;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer__explore {
  position: absolute;
  left: 120px;
  top: 125px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__explore ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__explore a {
  font-size: 16px;
  line-height: 24px;
}

.footer__disclaimer {
  position: absolute;
  left: 50%;
  top: 125px;
  transform: translateX(-50%);
  width: 456px;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
}

.footer__disclaimer p + p {
  margin-top: 24px;
}

.footer__newsletter {
  position: absolute;
  right: 120px;
  top: 125px;
  width: 157px;
  display: flex;
  flex-direction: column;
}

.footer__newsletter-form {
  position: relative;
  margin-top: 24px;
  width: 100%;
  max-width: 384px;
}

.footer__newsletter-form input {
  width: 100%;
  padding: 11px 32px 11px 13px;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 0;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
}

.footer__newsletter-form input::placeholder {
  color: #fff;
  opacity: 1;
}

.footer__newsletter-form button {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
}

.footer__social {
  display: flex;
  gap: 6px;
  margin-top: 22px;
}

.footer__social img {
  display: block;
  width: 19px;
  height: 19px;
}

.footer__copyright {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 66px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* ---------- Product page header (dark on white) ---------- */

.menu--product {
  position: relative;
  background: #fff;
}

.menu--product .menu__icons {
  right: 61px;
}

.menu__hamburger {
  position: absolute;
  left: 56px;
  top: 39px;
  display: flex;
}

/* Home hero nav shows text links on desktop; hamburger is mobile-only there */
.menu:not(.menu--product) .menu__hamburger {
  display: none;
}

/* ---------- Nav drawer ---------- */

.drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 40;
}

.drawer__panel {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 360px;
  max-width: 85vw;
  background: #fff;
  z-index: 41;
  display: flex;
  flex-direction: column;
  padding: 47px 40px;
}

.drawer__panel--offscreen {
  transform: translateX(-100%);
}

.drawer__panel--onscreen {
  transform: translateX(0);
}

.drawer__panel--enter,
.drawer__panel--leave {
  transition: transform 0.35s ease;
}

.drawer__close {
  margin-bottom: 48px;
}

.drawer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.drawer__links li {
  border-bottom: 1px solid rgba(229, 228, 226, 0.5);
  padding: 20px 0;
}

.drawer__links a {
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #000;
}

.drawer__link--expand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer__account {
  margin-top: auto;
  padding-top: 20px;
  color: #4c4546;
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

/* ---------- Product detail (urundetay) ---------- */

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 273fr) minmax(0, 868fr) minmax(0, 571fr);
  gap: 24px;
  align-items: start;
  max-width: 1920px;
  margin: 0 auto;
  padding: 83px 80px 80px;
}

.pdp__thumbs {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: sticky;
  top: 24px;
  align-self: start;
}

.pdp__thumb {
  position: relative;
  overflow: hidden;
  background: #fff;
  height: 409px;
  border: 2px solid transparent;
  transition: border-color 0.25s ease;
}

.pdp__thumb.is-active {
  border-color: #000;
}

.pdp__gallery {
  height: 300vh;
}

.pdp__image {
  --slide-h: calc(100vh - 48px);
  position: sticky;
  top: 24px;
  height: var(--slide-h);
  overflow: hidden;
  background: #fff;
}

.pdp__image-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  will-change: transform;
}

.pdp__slide {
  position: relative;
  flex: none;
  height: var(--slide-h);
  overflow: hidden;
  background: #fff;
}

/* Crop taken from the Figma frame */
.pdp__thumb img {
  position: absolute;
  width: 120.34%;
  height: 117.91%;
  left: -10.17%;
  top: 0;
  max-width: none;
  object-fit: cover;
}

.pdp__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp__details {
  position: sticky;
  top: 24px;
  margin-top: -5px;
  padding-left: 32px;
  max-width: 539px;
}

.pdp__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp__breadcrumbs a {
  color: #4c4546;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.pdp__title {
  margin-top: 37px;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  text-transform: uppercase;
  color: #000;
}

.pdp__price {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: #4c4546;
}

.pdp__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #000;
}

.pdp__color {
  margin-top: 61px;
}

.pdp__swatches {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.pdp__swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp__swatch--black {
  background: #1a1a1a;
  border: 1px solid #000;
}

.pdp__swatch--black span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(229, 228, 226, 0.3);
}

.pdp__swatch--white {
  background: #fff;
  border: 1px solid #e5e4e2;
}

.pdp__sizes {
  display: flex;
  gap: 28.5px;
  margin-top: 25px;
}

.pdp__size {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
}

.pdp__size.is-selected {
  background: #000;
  border-color: #000;
  color: #fff;
}

.pdp__size--muted {
  border-color: #e5e4e2;
  color: #4c4546;
}

.pdp__size--disabled {
  border-color: #e5e4e2;
  color: #e5e4e2;
  cursor: default;
}

.pdp__size--disabled::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 66px;
  background: #e5e4e2;
  transform: translate(-50%, -50%) rotate(18.3deg);
}

.pdp__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 56px;
  margin-top: 23px;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
}

.pdp__qty button {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.pdp__qty button:first-child {
  color: rgba(0, 0, 0, 0.5);
}

.pdp__add,
.pdp__wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 92px;
}

.pdp__add {
  margin-top: 24px;
  padding: 16px 0;
  background: #000;
  color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.pdp__wishlist {
  margin-top: 12px;
  padding: 17px 0;
  gap: 8px;
  background: #fff;
  border: 1px solid #000;
  color: #000;
}

.pdp__accordion {
  margin-top: 13px;
  max-width: 480px;
  border-top: 1px solid rgba(229, 228, 226, 0.5);
  padding-top: 33px;
}

.pdp__accordion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0 17px;
  border-bottom: 1px solid rgba(229, 228, 226, 0.5);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #000;
  text-align: left;
  cursor: pointer;
}

.pdp__accordion-row img {
  transition: transform 0.25s ease;
}

.pdp__accordion-row img.is-open {
  transform: rotate(180deg);
}

/* Mobile-only gallery pagination dots */
.pdp__dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.pdp__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d6d3d1;
  transition: background-color 0.25s ease;
}

.pdp__dot.is-active {
  background: #000;
}

/* ---------- Collections page (kategoriler) ---------- */

.cat {
  position: relative;
  padding: 58px 80px 80px;
}

.cat__title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #000;
}

.cat__sort {
  position: absolute;
  right: 80px;
  top: 120px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #000;
}

.cat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 102px 23px;
  margin-top: 94px;
}

.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 571 / 871;
  overflow: hidden;
}

.cat-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card::before,
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cat-card::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20.192%, rgba(0, 0, 0, 0.2));
  mix-blend-mode: multiply;
}

.cat-card::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70.407%, rgba(0, 0, 0, 0.2));
}

.cat-card__name {
  position: absolute;
  left: 50px;
  bottom: 98px;
  z-index: 1;
  font-size: 36px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #fff;
}

.cat-card__btn {
  position: absolute;
  left: 50px;
  bottom: 50px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 48px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.06), 0 4px 1.5px rgba(0, 0, 0, 0.07);
}

/* ---------- Category detail page (kategoridetay) ---------- */

.cat__grid--products {
  row-gap: 63px;
}

.product-card {
  display: block;
  text-align: center;
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 571 / 871;
  overflow: hidden;
  background: #fff;
}

/* Crop taken from the Figma frame (same as the product page images) */
.product-card__media img {
  position: absolute;
  width: 120.34%;
  height: 117.91%;
  left: -10.17%;
  top: 0;
  max-width: none;
  object-fit: cover;
}

.product-card__media--cover img {
  width: 100%;
  height: 100%;
  left: 0;
}

.product-card__media img.product-card__hover-img {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-card:hover .product-card__hover-img {
  opacity: 1;
}

.product-card__price {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.7);
}

.product-card__badge {
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 125px;
  height: 42px;
  background: #d9d9d9;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.product-card__name {
  display: block;
  margin-top: 27px;
  font-size: 25px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #000;
}

.product-card__category {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.7);
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1280px) {
  .footer {
    height: auto;
    padding: 80px 40px 120px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 48px;
  }

  .footer__explore,
  .footer__disclaimer,
  .footer__newsletter {
    position: static;
    transform: none;
  }

  .footer__disclaimer {
    order: 3;
    width: 100%;
    max-width: 456px;
    margin: 0 auto;
  }

  .footer__copyright {
    bottom: 40px;
  }

  .menu__links {
    left: 40px;
  }

  .pdp {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .pdp__thumbs {
    flex-direction: row;
    order: 2;
    position: static;
  }

  .pdp__thumb {
    flex: 1;
    height: 300px;
  }

  .pdp__gallery {
    height: auto;
  }

  .pdp__image {
    position: static;
    height: auto;
    overflow: visible;
  }

  .pdp__image-track {
    height: auto;
    transform: none !important;
  }

  .pdp__slide {
    height: auto;
    aspect-ratio: 868 / 1277;
  }

  .pdp__details {
    position: static;
    margin-top: 0;
    padding-left: 0;
    order: 3;
  }

  .cat {
    padding: 40px;
  }

  .cat__sort {
    right: 40px;
    top: 100px;
  }

  .cat__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 23px;
  }
}

@media (max-width: 768px) {
  .hero {
    /* Full-screen hero on mobile; dvh tracks the browser UI bars */
    aspect-ratio: auto;
    height: 100vh;
    height: 100dvh;
  }

  .menu__links {
    display: none;
  }

  .menu:not(.menu--product) .menu__hamburger {
    display: flex;
    left: 24px;
    top: 30px;
  }

  .hero__image img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }

  .menu__links {
    left: 24px;
    top: 24px;
    gap: 16px;
  }

  .menu__links a {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .menu__logo {
    top: 24px;
  }

  .menu__logo img {
    width: 72px;
    height: 69px;
  }

  .hero__cta {
    top: 75%;
    transform: translate(-50%, -50%);
    width: calc(100% - 48px);
    max-width: 260px;
  }

  .cat__grid {
    grid-template-columns: 1fr;
  }

  /* Product gallery becomes a swipeable carousel; thumbs are hidden */
  .pdp__thumbs {
    display: none;
  }

  .pdp__image-track {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pdp__image-track::-webkit-scrollbar {
    display: none;
  }

  .pdp__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .pdp__dots {
    display: flex;
  }
}
