/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #fff;
  color: #111;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}

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

/* ── TOP NAV ── */
.topnav {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  height: 55px;
}

.topnav .brand {
  width: 180px;
  flex-shrink: 0;
  padding-left: 12px;
  display: flex;
  align-items: center;
}

.topnav .cart-area {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 24px;
}

.brand {
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
  color: #111;
}

.cart-btn {
  font-size: 12px;
  border: 1px solid #ccc;
  padding: 5px 14px;
  cursor: pointer;
  background: none;
  color: #111;
  letter-spacing: .02em;
  font-family: inherit;
}

/* ── LAYOUT ── */
.layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: calc(100vh - 55px - 49px);
}

/* ── SIDEBAR ── */
.sidebar {
  border-right: 1px solid #e8e8e8;
  padding: 28px 20px;
  position: sticky;
  top: 55px;
  height: calc(100vh - 55px - 49px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sb-label {
  font-size: 12px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.sb-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.sb-links a,
.sb-links button {
  font-size: 12px;
  color: #999;
  line-height: 1.75;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  padding: 0;
  width: fit-content;
  transition: color .15s;
  text-decoration: none;
}

.sb-links a:hover,
.sb-links button:hover { color: #111; }

.sb-links a.active,
.sb-links button.active {
  color: #111;
  border-bottom-color: #111;
}

.sb-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 16px 0;
}

.sb-bottom {
  margin-top: auto;
}

/* ── MAIN CONTENT ── */
.main {
  padding: 32px 24px 80px;
}

/* ── PRODUCT GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 12px;
  row-gap: 36px;
}

.product { display: block; cursor: pointer; }

.product-img {
  aspect-ratio: 1 / 1;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .35s ease;
}

.product:hover .product-img img { transform: scale(1.04); }

.product-name { font-size: 11px; text-align: center; margin-bottom: 3px; }
.product-price { font-size: 11px; color: #999; text-align: center; }
.product-price.sold-out { text-decoration: line-through; color: #ccc; }

/* ── INNER PAGES ── */
.inner { padding: 52px 40px 80px; max-width: 560px; }

.page-title {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 36px;
}

.section { margin-bottom: 32px; }
.section-title { font-size: 12px; font-weight: 500; margin-bottom: 10px; }
.body-text { font-size: 13px; line-height: 1.6; color: #111; }
.body-text p + p { margin-top: 12px; }

/* ── LOOKBOOK ── */
.lookbook-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 55px - 49px);
  padding: 40px 24px;
}

.slide { display: none; flex-direction: column; align-items: center; width: 100%; max-width: 440px; }
.slide.active { display: flex; }

.slide-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #fafafa;
  overflow: hidden;
  margin-bottom: 8px;
}

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

.slide-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.slide-caption { font-size: 12px; color: #111; line-height: 1.5; max-width: 75%; }
.slide-number { font-size: 11px; color: #111; letter-spacing: .04em; padding-top: 2px; }

.lb-arrows {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.lb-arrow {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #111;
  font-family: inherit;
  transition: color .15s;
  padding: 0;
}

.lb-arrow:hover { color: #999; }
.lb-arrow:disabled { color: #ddd; cursor: default; }

/* ── CONTACT FORM ── */
.form { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #999; }
.field input, .field textarea {
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 7px 0;
  font-size: 13px;
  font-family: inherit;
  color: #111;
  background: none;
  outline: none;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-bottom-color: #111; }
.field textarea { resize: none; height: 80px; }

.submit-btn {
  width: fit-content;
  background: none;
  border: none;
  border-bottom: 1px solid #111;
  padding-bottom: 1px;
  font-size: 12px;
  font-family: inherit;
  letter-spacing: .06em;
  color: #111;
  cursor: pointer;
  margin-top: 6px;
}

.submit-btn:hover { color: #555; border-bottom-color: #555; }

/* ── PRODUCT DETAIL ── */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 55px - 49px);
  column-gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.pdp-img-side {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 32px 60px;
}

.pdp-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 60px 48px 20px;
  width: 100%;
}

.pdp-img-side img#main-img {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.pdp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.pdp-thumb {
  width: 50px;
  height: 50px;
  background: #eaeaea;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-thumb.active { border-color: #111; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }



.pdp-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.pdp-meta { font-size: 13px; line-height: 1.8; }
.pdp-price { font-size: 13px; margin-top: 2px; margin-bottom: 28px; }

.size-label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #999; margin-bottom: 10px; }

.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.size {
  border: 1px solid #ccc;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  background: none;
  color: #111;
  letter-spacing: .02em;
  font-family: inherit;
  transition: background .1s, border-color .1s;
}

.size:hover { border-color: #111; }
.size.selected { background: #111; color: #fff; border-color: #111; }
.size.unavailable { color: #ccc; border-color: #e8e8e8; cursor: default; text-decoration: line-through; }

.add-btn {
  width: fit-content;
  padding: 13px 40px;
  font-size: 12px;
  font-family: inherit;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  cursor: pointer;
  transition: background .1s;
}

.add-btn:hover { background: #333; border-color: #333; }
.add-btn.sold-out { background: none; color: #ccc; border-color: #e8e8e8; cursor: default; }

/* Mobile nav hidden on desktop by default */
.mobile-nav { display: none; }
.mobile-footer-links { display: none; }
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 16px 20px;
  font-size: 11px;
  color: #111;
  border-top: 1px solid #f0f0f0;
}

.footer-copy-social {
  display: contents;
}

.footer-left {
  padding-left: 0;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  padding-right: 0;
  gap: 18px;
}

.footer-social { display: flex; gap: 18px; }
.footer-social a { font-size: 11px; color: #111; transition: color .15s; }
.footer-social a:hover { color: #555; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {

  /* Layout becomes single column */
  .layout {
    grid-template-columns: 1fr;
  }

  /* Hide the vertical sidebar */
  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 16px;
    gap: 0;
  }

  .mobile-nav::-webkit-scrollbar { display: none; }

  .mobile-nav a {
    font-size: 11px;
    color: #999;
    text-decoration: none;
    white-space: nowrap;
    padding: 12px;
    flex-shrink: 0;
    letter-spacing: .03em;
    transition: color .15s;
    display: inline-block;
  }

  .mobile-nav a::after { display: none; }
  .mobile-nav a:hover { color: #111; }

  .mobile-nav a.active {
    color: #111;
    box-shadow: 0 1px 0 0 #111;
  }

  /* Hide divider and info links from mobile nav */
  .mobile-nav-divider,
  .mobile-nav .info-link { display: none !important; }

  /* Mobile footer info links — below copyright */
  .mobile-footer-links {
    display: flex !important;
    justify-content: center;
    gap: 0 20px;
    width: 100%;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px !important;
    padding-bottom: 14px;
    margin-top: 4px;
  }

  .mobile-footer-links a {
    font-size: 11px;
    color: #999;
    letter-spacing: .03em;
    text-decoration: none;
  }

  .mobile-footer-links a:hover { color: #111; }

  /* Product grid 2 col on mobile */
  .grid { grid-template-columns: repeat(2, 1fr); }

  /* PDP stacks on mobile */
  .pdp { grid-template-columns: 1fr; }

  .pdp-img-side {
    justify-content: flex-start;
    padding: 24px 24px 20px;
  }

  /* Topnav tighter on mobile */
  .topnav .brand { padding-left: 16px; }
  .topnav .cart-area { padding-right: 16px; }

  /* Main content full width */
  .main { padding: 24px 16px 60px; }

  /* Inner pages */
  .inner { padding: 40px 16px 60px; }

  /* Footer */
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    border-top: none;
  }

  .footer-copy-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 16px 12px;
  }

  .footer-right { padding-right: 0; gap: 14px; }
}
