/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Raleway', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── TYPOGRAPHY ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

/* ─── TOPBAR ────────────────────────────────────────────────────────────────── */
.topbar {
  background: #1a1a1a;
  color: #ccc;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 0;
}
.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.topbar-greeting {
  color: #aaa;
  font-size: .72rem;
  letter-spacing: .06em;
}
.topbar-greeting a { color: #ccc; transition: color .2s; }
.topbar-greeting a:hover { color: #c8a96e; }
.lang-switch {
  color: #c8a96e;
  font-size: .72rem;
  letter-spacing: .12em;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.lang-switch:hover { border-color: #c8a96e; }

/* ─── HEADER ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  text-decoration: none;
}
.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: .25em;
  color: #1a1a1a;
}
.logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: #c8a96e;
}

/* Nav */
.main-nav { display: flex; justify-content: center; }
.main-nav > ul { display: flex; gap: 2.5rem; align-items: center; }
.main-nav a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding-bottom: .2rem;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover { color: #c8a96e; border-color: #c8a96e; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #eee;
  min-width: 160px;
  padding: 1rem 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, top .2s;
  z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: auto; top: 100%; }
.dropdown li a {
  display: block;
  padding: .5rem 1.5rem;
  font-size: .78rem;
  border: none;
  white-space: nowrap;
}
.dropdown li a:hover { background: #faf8f5; color: #c8a96e; }

/* Actions */
.header-actions { display: flex; align-items: center; gap: 1.2rem; justify-content: flex-end; }
.icon-btn {
  font-size: 1rem;
  color: #1a1a1a;
  padding: .3rem;
  transition: color .2s;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}
.icon-btn:hover { color: #c8a96e; }
.cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: #1a1a1a;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ─── MOBILE FLOATING CART ───────────────────────────────────────────────────── */
.mobile-cart-fab {
  display: none;
}
@media (max-width: 768px) {
  .mobile-cart-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px; height: 56px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    z-index: 500;
    transition: background .2s, transform .2s;
  }
  .mobile-cart-fab:active { background: #c8a96e; transform: scale(0.93); }
  .mobile-cart-fab-count {
    position: absolute;
    top: -4px; right: -4px;
    background: #c8a96e;
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    min-width: 20px; height: 20px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
  }
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .3rem;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: #1a1a1a;
  transition: .3s;
}

/* Search bar */
.search-bar {
  background: #faf8f5;
  border-top: 1px solid #eee;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s, padding .3s;
}
.search-bar.open { max-height: 80px; padding: 1rem 2rem; }
.search-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .8rem;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: .5rem;
}
.search-form input {
  flex: 1;
  border: none;
  background: none;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  outline: none;
}
.search-form button { background: none; border: none; cursor: pointer; color: #666; }

/* ─── FLASH MESSAGES ─────────────────────────────────────────────────────────── */
.flash {
  padding: .9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
}
.flash-success { background: #d4edda; color: #155724; }
.flash-error   { background: #f8d7da; color: #721c24; }
.flash button  { background: none; border: none; cursor: pointer; font-size: 1.1rem; opacity: .6; }

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 8rem;
  position: relative;
  z-index: 2;
}
.hero-label {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #c8a96e;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}
.hero p {
  font-size: 1rem;
  color: #666;
  max-width: 380px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 2.5rem;
  background: #1a1a1a;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
  border: 2px solid #1a1a1a;
  cursor: pointer;
}
.btn-primary:hover { background: transparent; color: #1a1a1a; }
.btn-primary i { transition: transform .25s; }
.btn-primary:hover i { transform: translateX(4px); }
.btn-in-cart { background: #2d7a4f !important; border-color: #2d7a4f !important; color: #fff !important; cursor: default !important; }
.btn-in-cart:hover { background: #2d7a4f !important; color: #fff !important; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 2rem;
  background: transparent;
  color: #1a1a1a;
  font-family: 'Raleway', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: 1px solid #1a1a1a;
  transition: background .25s, color .25s;
  cursor: pointer;
}
.btn-outline:hover { background: #1a1a1a; color: #fff; }

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.hero-image:hover img { transform: scale(1.04); }
.hero-badge {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 1.2rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.hero-badge span { display: block; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: #999; }
.hero-badge strong { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: #c8a96e; }

/* ─── SECTION HEADER ─────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #c8a96e;
  margin-bottom: .8rem;
}
.section-header h2 { font-style: italic; }
.section-header p {
  color: #888;
  font-size: .95rem;
  margin-top: .8rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── CATEGORIES ─────────────────────────────────────────────────────────────── */
.categories-section { padding: 5rem 2rem; max-width: 1400px; margin: 0 auto; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 30%, transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background .3s;
}
.category-card:hover .category-card-overlay { background: linear-gradient(to top, rgba(0,0,0,.75) 40%, transparent); }
.category-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 500;
}

/* ─── PRODUCTS GRID ──────────────────────────────────────────────────────────── */
.products-section { padding: 5rem 2rem; max-width: 1400px; margin: 0 auto; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.product-card {
  position: relative;
}
.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f5f5f5;
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  display: flex;
  gap: .5rem;
  padding: .8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.product-card:hover .product-card-actions {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 768px) {
  /* Pull actions OUT of image overlay — sit below the image */
  .product-card-image {
    overflow: visible;
    aspect-ratio: unset;
    height: auto;
  }
  .product-card-image > a {
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
  }
  .product-card-actions {
    position: static;
    opacity: 1;
    pointer-events: auto;
    padding: .4rem 0 0;
    gap: .3rem;
    background: none;
  }
  .product-card-actions .btn-outline,
  .product-card-actions .btn-primary,
  .product-card-actions .add-to-cart-btn {
    flex: 1;
    justify-content: center;
    padding: .55rem .3rem;
    font-size: .62rem;
    letter-spacing: .04em;
    white-space: nowrap;
    overflow: hidden;
  }
}
.product-card-actions .btn-primary,
.product-card-actions .btn-outline {
  flex: 1;
  justify-content: center;
  padding: .7rem 1rem;
  font-size: .7rem;
}
.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: #c8a96e;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .6rem;
}
.product-badge.new  { background: #1a1a1a; }
.product-badge.sale { background: #e74c3c; }

/* Discount pricing */
.product-card-prices {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  gap: .5rem;
}
.product-card-prices .sale-price {
  font-size: 1.6rem !important;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
}
.product-card-prices .product-price-original {
  font-size: .8rem;
  line-height: 1.2;
}
.product-card-prices .product-price { line-height: 1.2; }
.sale-price { color: #e74c3c !important; }
.product-price-original {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #bbb;
  text-decoration: line-through;
  margin-left: .3rem;
}
.product-card-meta .product-price-original { font-size: .9rem; }
.discount-savings {
  font-size: .78rem;
  color: #e74c3c;
  margin-top: .3rem;
  font-weight: 600;
}
.cart-disc-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .15rem .45rem;
  margin-top: .3rem;
}
.savings-row { color: #2d7a4f !important; font-weight: 600; }
.savings-row span { color: #2d7a4f !important; }
.product-card-info { padding: 1rem 0 .5rem; }
.product-card-brand {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #c8a96e;
  margin-bottom: .2rem;
}
.product-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: .4rem;
  color: #1a1a1a;
  transition: color .2s;
}
.product-card:hover .product-card-name { color: #c8a96e; }
.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem 0;
}
.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
}
.product-condition {
  font-size: .7rem;
  color: #999;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ─── WHY US ─────────────────────────────────────────────────────────────────── */
.why-section {
  background: #faf8f5;
  padding: 5rem 2rem;
}
.why-inner { max-width: 1000px; margin: 0 auto; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
  margin-top: 3rem;
}
.why-item i {
  font-size: 2rem;
  color: #c8a96e;
  margin-bottom: 1rem;
}
.why-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.why-item p { font-size: .88rem; color: #777; }

/* ─── SHOP PAGE ──────────────────────────────────────────────────────────────── */
.shop-page { max-width: 1400px; margin: 0 auto; padding: 3rem 2rem; }
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}
.shop-header h1 { font-size: 2rem; }
.sort-row { display: flex; align-items: center; gap: 1rem; }
.sort-select {
  padding: .5rem 1rem;
  border: 1px solid #ddd;
  font-family: 'Raleway', sans-serif;
  font-size: .82rem;
  cursor: pointer;
  outline: none;
  background: #fff;
}
.result-count { font-size: .82rem; color: #888; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; }

/* Mobile filter button */
.mobile-filter-btn {
  display: none;
  align-items: center; gap: .5rem;
  padding: .6rem 1.2rem;
  background: #1a1a1a; color: #fff;
  font-family: 'Raleway', sans-serif; font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; cursor: pointer; margin-bottom: 1rem;
}
.filter-badge {
  background: #c8a96e; color: #fff;
  font-size: .65rem; padding: .1rem .4rem; border-radius: 10px; font-weight: 700;
}
.filter-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.4); z-index: 999;
}
.filter-overlay.open { display: block; }

/* Filters sidebar */
.filters-sidebar { position: sticky; top: 100px; height: fit-content; }
.filters-header { display: none; }

/* Collapsible filter groups */
.filter-group { margin-bottom: 0; border-bottom: 1px solid #eee; }
.filter-group:last-child { border-bottom: none; }
.filter-group-toggle {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: .9rem 0;
  font-family: 'Raleway', sans-serif; font-size: .75rem;
  font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: #1a1a1a; background: none; border: none; cursor: pointer;
}
.filter-group-toggle i { font-size: .65rem; color: #aaa; transition: transform .2s; }
.filter-group-toggle.open i { transform: rotate(180deg); }
.filter-group-body { padding-bottom: 1rem; display: none; }
.filter-group-body.open { display: block; }

/* Size & category chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; align-items: center;
  padding: .3rem .7rem;
  border: 1px solid #ddd; font-size: .78rem; color: #555;
  cursor: pointer; transition: all .15s; user-select: none;
  border-radius: 2px;
}
.chip input { display: none; }
.chip:hover { border-color: #c8a96e; color: #c8a96e; }
.chip-active, .chip:has(input:checked) {
  background: #1a1a1a; border-color: #1a1a1a; color: #fff;
}
.size-chip { min-width: 38px; justify-content: center; font-size: .75rem; padding: .3rem .5rem; }

.price-inputs { display: flex; gap: .5rem; align-items: center; }
.price-inputs input {
  flex: 1; padding: .4rem .6rem; border: 1px solid #ddd;
  font-family: 'Raleway', sans-serif; font-size: .82rem; outline: none; width: 100%;
}
.btn-filter {
  display: block; width: 100%; padding: .75rem;
  background: #1a1a1a; color: #fff;
  font-family: 'Raleway', sans-serif; font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: none; cursor: pointer; margin-top: 1.2rem; transition: background .2s;
}
.btn-filter:hover { background: #c8a96e; }
.btn-filter-clear {
  display: block; width: 100%; padding: .6rem;
  background: transparent; color: #999;
  font-family: 'Raleway', sans-serif; font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid #ddd; cursor: pointer; margin-top: .5rem; transition: all .2s;
  text-align: center; text-decoration: none;
}
.btn-filter-clear:hover { border-color: #1a1a1a; color: #1a1a1a; }

/* Mobile: sidebar becomes a slide-in drawer */
@media (max-width: 768px) {
  .mobile-filter-btn { display: flex; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar {
    position: fixed; top: 0; left: -320px; width: 300px; height: 100vh;
    background: #fff; z-index: 1000; overflow-y: auto;
    padding: 0 1.5rem 2rem; transition: left .3s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,.1);
  }
  .filters-sidebar.open { left: 0; }
  .filters-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 0; border-bottom: 1px solid #eee; margin-bottom: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  }
  .filters-header button { background: none; border: none; font-size: 1rem; color: #999; cursor: pointer; }
  .filter-group-body { display: block; } /* always open on mobile */
  .filter-group-toggle i { display: none; }
}

.shop-products .products-grid { grid-template-columns: repeat(3, 1fr); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #ddd;
  font-size: .82rem;
  transition: all .2s;
}
.pagination a:hover, .pagination .active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

/* ─── PRODUCT DETAIL ─────────────────────────────────────────────────────────── */
.product-detail { max-width: 1200px; margin: 3rem auto; padding: 0 2rem; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.gallery-main { aspect-ratio: 3/4; overflow: hidden; background: #f5f5f5; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.gallery-thumb { width: 70px; height: 70px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: #c8a96e; opacity: 1; }
.product-info-panel { padding-top: 1rem; }
.product-info-brand { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #c8a96e; margin-bottom: .8rem; }
.product-info-name { font-size: 2.2rem; font-style: italic; margin-bottom: 1.2rem; }
.product-info-price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: #1a1a1a; margin-bottom: 1.5rem; }
.product-meta-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.product-meta-table td { padding: .6rem 0; border-bottom: 1px solid #f0f0f0; font-size: .88rem; }
.product-meta-table td:first-child { color: #999; width: 40%; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }
.product-qty-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.qty-control { display: flex; align-items: center; border: 1px solid #ddd; }
.qty-control button { width: 36px; height: 44px; font-size: 1.1rem; background: none; border: none; cursor: pointer; transition: background .2s; }
.qty-control button:hover { background: #f5f5f5; }
.qty-control input { width: 50px; height: 44px; text-align: center; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; font-family: 'Raleway', sans-serif; font-size: .9rem; outline: none; }
.product-add-btn { flex: 1; }
.product-description { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #eee; }
.product-description h4 { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.2rem; color: #999; }
.product-description p { font-size: .92rem; color: #555; line-height: 1.9; }
.desc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.desc-section { display: grid; grid-template-columns: 110px 1fr; gap: .25rem .8rem; margin-bottom: .7rem; align-items: baseline; }
.desc-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c8a96e; }
.desc-value { font-size: .88rem; color: #444; line-height: 1.7; }
@media (max-width: 768px) { .desc-grid { grid-template-columns: 1fr; } }

/* ─── CART ───────────────────────────────────────────────────────────────────── */
.cart-page { max-width: 1100px; margin: 3rem auto; padding: 0 2rem; }
.cart-page h1 { margin-bottom: 2rem; font-style: italic; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 1rem;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #999;
  border-bottom: 2px solid #eee;
}
.cart-table td { padding: 1.2rem 1rem; border-bottom: 1px solid #eee; vertical-align: middle; }
.cart-product-info { display: flex; gap: 1rem; align-items: center; }
.cart-product-info img { width: 80px; height: 100px; object-fit: cover; }
.cart-product-name { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; }
.cart-product-brand { font-size: .72rem; color: #c8a96e; letter-spacing: .1em; }
.cart-remove { color: #ccc; font-size: .8rem; cursor: pointer; transition: color .2s; background: none; border: none; }
.cart-remove:hover { color: #e74c3c; }
.cart-summary { display: flex; justify-content: flex-end; margin-top: 2rem; }
.cart-summary-box { width: 320px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid #eee; font-size: .9rem; }
.cart-summary-row.total { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; border-bottom: none; padding-top: 1rem; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.empty-cart { text-align: center; padding: 5rem 0; }
.empty-cart i { font-size: 3rem; color: #ddd; margin-bottom: 1rem; }
.empty-cart p { color: #999; margin-bottom: 2rem; }

/* ─── CHECKOUT ───────────────────────────────────────────────────────────────── */
.checkout-page { max-width: 1100px; margin: 3rem auto; padding: 0 2rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; }
.checkout-grid h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #999; margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #ddd;
  font-family: 'Raleway', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus { border-color: #1a1a1a; }
.order-summary-box { background: #faf8f5; padding: 2rem; }
.order-item { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-bottom: 1px solid #eee; font-size: .88rem; }
.order-total-row { display: flex; justify-content: space-between; padding: 1rem 0 0; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; }
.payment-note { font-size: .78rem; color: #999; margin-top: 1rem; padding: 1rem; background: #fff; border-left: 3px solid #c8a96e; }

/* ─── AUTH PAGES ─────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: #faf8f5;
}
.auth-box {
  background: #fff;
  width: 100%;
  max-width: 440px;
  padding: 3rem;
  box-shadow: 0 2px 40px rgba(0,0,0,.08);
}
.auth-box h1 {
  font-size: 2rem;
  font-style: italic;
  text-align: center;
  margin-bottom: .5rem;
}
.auth-logo {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: .3em;
  color: #c8a96e;
  margin-bottom: 1.5rem;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: #ccc;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eee;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #ddd;
  background: #fff;
  color: #444;
  font-family: 'Raleway', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none;
}
.btn-google:hover {
  border-color: #bbb;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  color: #222;
}
.auth-link { display: block; text-align: center; font-size: .82rem; color: #999; margin-top: 1.5rem; }
.auth-link a { color: #c8a96e; border-bottom: 1px solid transparent; transition: border-color .2s; }
.auth-link a:hover { border-color: #c8a96e; }
.auth-error { background: #f8d7da; color: #721c24; padding: .8rem 1rem; font-size: .85rem; margin-bottom: 1rem; }
.auth-success { background: #d4edda; color: #155724; padding: .8rem 1rem; font-size: .85rem; margin-bottom: 1rem; }

/* ─── ACCOUNT ────────────────────────────────────────────────────────────────── */
.account-page { max-width: 1000px; margin: 3rem auto; padding: 0 2rem; }
.account-grid { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; }
.account-sidebar ul { display: flex; flex-direction: column; }
.account-sidebar a {
  display: block;
  padding: .7rem 0;
  font-size: .82rem;
  letter-spacing: .08em;
  border-bottom: 1px solid #eee;
  color: #555;
  transition: color .2s;
}
.account-sidebar a:hover, .account-sidebar a.active { color: #c8a96e; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th { text-align: left; padding: .8rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #999; border-bottom: 2px solid #eee; }
.order-table td { padding: .9rem .8rem; border-bottom: 1px solid #f5f5f5; font-size: .88rem; }
.status-badge { display: inline-block; padding: .2rem .7rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status-pending  { background: #fff3cd; color: #856404; }
.status-shipped  { background: #cce5ff; color: #004085; }
.status-delivered{ background: #d4edda; color: #155724; }
.status-cancelled{ background: #f8d7da; color: #721c24; }

/* ─── ABOUT / STATIC PAGES ───────────────────────────────────────────────────── */
.static-hero { background: #faf8f5; padding: 4rem 2rem; text-align: center; }
.static-hero h1 { font-style: italic; margin-bottom: 1rem; }
.static-content { max-width: 800px; margin: 3rem auto; padding: 0 2rem; }
.static-content p { margin-bottom: 1.2rem; color: #555; font-size: .95rem; line-height: 1.9; }
.static-content h3 { margin: 2rem 0 1rem; font-size: 1.3rem; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.site-footer { background: #1a1a1a; color: #aaa; padding: 5rem 2rem 2rem; margin-top: 5rem; }
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #333;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  letter-spacing: .3em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-logo span { color: #c8a96e; }
.footer-about { font-size: .85rem; line-height: 1.8; color: #888; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a { color: #666; font-size: 1.1rem; transition: color .2s; }
.social-links a:hover { color: #c8a96e; }
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .85rem; color: #777; transition: color .2s; }
.footer-col ul li a:hover { color: #c8a96e; }
.contact-list li { display: flex; gap: .7rem; align-items: center; font-size: .85rem; margin-bottom: .7rem; }
.contact-list i { color: #c8a96e; width: 16px; }
.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: .78rem; color: #555; }
.payment-icons { display: flex; gap: .8rem; font-size: 1.6rem; color: #555; }

/* ─── BREADCRUMB ─────────────────────────────────────────────────────────────── */
.breadcrumb { padding: 1rem 2rem; font-size: .78rem; color: #999; max-width: 1400px; margin: 0 auto; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #c8a96e; }
.breadcrumb span { color: #1a1a1a; }

/* ─── MOBILE TOPBAR ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .topbar-inner {
    padding: 0 1rem;
    flex-wrap: nowrap;
    gap: .5rem;
  }
  .topbar-inner > span:first-child {
    font-size: .62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
  }
  .topbar-right {
    flex-shrink: 0;
    gap: .5rem;
  }
  .topbar-greeting { display: none; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 4rem 2rem; text-align: center; align-items: center; }
  .hero-image { height: 60vw; }
  .shop-products .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; gap: 0; }
  .account-page { margin: 1rem auto; padding: 0 1rem; }

  /* Sidebar becomes horizontal tab strip */
  .account-sidebar {
    margin-bottom: 1.5rem;
  }
  .account-sidebar > div:first-child {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #faf8f5;
    border: 1px solid #eee;
    margin-bottom: .8rem;
    border-radius: 4px;
  }
  .account-sidebar > div:first-child > div:first-child {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .account-sidebar ul {
    flex-direction: row !important;
    gap: 0;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
  }
  .account-sidebar ul li { flex: 1; }
  .account-sidebar a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .7rem .3rem !important;
    font-size: .65rem !important;
    letter-spacing: .05em !important;
    border-bottom: none !important;
    border-right: 1px solid #eee;
    text-align: center;
    gap: .3rem;
    background: #fff;
  }
  .account-sidebar ul li:last-child a { border-right: none; }
  .account-sidebar a.active { background: #1a1a1a; color: #fff !important; }
  .account-sidebar a i { font-size: .9rem; width: auto !important; margin: 0 !important; }
  .why-grid { grid-template-columns: 1fr; }
  /* Header — flexbox with truly centered logo */
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .9rem 1rem;
    gap: 0;
    position: relative;
  }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .logo-main { font-size: 1.3rem; letter-spacing: .2em; }
  .logo-sub  { font-size: .9rem; }
  .header-actions { display: flex; gap: .6rem; flex-shrink: 0; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; position: fixed; inset: 0; background: #fff; z-index: 800; flex-direction: column; justify-content: center; align-items: center; }
  .main-nav.open > ul { flex-direction: column; gap: 2rem; text-align: center; }
  .main-nav.open a { font-size: 1rem; }
  .mobile-menu-btn { display: flex; z-index: 900; }

  /* Shop page */
  .shop-page { padding: 1rem 1rem 3rem; }
  .breadcrumb { padding: .6rem 1rem; }
  .shop-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .shop-header h1 { font-size: 1.6rem; }
  .sort-row { width: 100%; justify-content: space-between; }
  .sort-select { flex: 1; }
  .result-count { font-size: .78rem; }

  /* Product card info */
  .product-card-name { font-size: .88rem; line-height: 1.35; margin-bottom: .25rem; }
  .product-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
  }
  .product-card-prices .product-price-original { font-size: .75rem; }
  .product-card-prices .sale-price { font-size: 1.4rem !important; }
  .product-condition { font-size: .6rem; margin-top: .1rem; }

  /* Discount badge — bigger */
  .product-badge { font-size: .72rem; padding: .32rem .8rem; }

}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-products .products-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .hero-content { padding: 3rem 1.5rem; }
  .auth-box { padding: 2rem 1.5rem; }
  .product-card-info { padding: .6rem 0 .3rem; }
  .product-card-name { font-size: .95rem; }
  .product-price { font-size: 1rem; }
  .product-card-brand { font-size: .6rem; }
  /* Mobile cart: card layout */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody { display: block; }
  .cart-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: .4rem .8rem;
    border: 1px solid #eee;
    margin-bottom: 1rem;
    padding: .8rem;
    position: relative;
  }
  .cart-table td { display: block; padding: 0; border: none; }
  .cart-table td:nth-child(1) { grid-column: 1 / -1; }
  .cart-table td:nth-child(2) { display: none; }
  .cart-table td:nth-child(3) { grid-column: 1; grid-row: 2; display: flex; align-items: center; }
  .cart-table td:nth-child(4) { grid-column: 2; grid-row: 2; display: flex; align-items: center; font-weight: 700; }
  .cart-table td:nth-child(5) { position: absolute; top: .5rem; right: .5rem; }
  .cart-product-info img { width: 60px; height: 75px; }
  .cart-summary { display: block; }
  .cart-summary-box { width: 100%; }
  .cart-actions { flex-wrap: wrap; gap: .5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
