/* ─────────────────────────────────────────────────────────────
   Nora Gems — Main Stylesheet
   Design: White base, Gold accents, Modern Minimal
───────────────────────────────────────────────────────────── */

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

:root {
  --gold:       #c9a96e;
  --gold-dark:  #a07840;
  --gold-light: #e8d5b0;
  --black:      #1a1a1a;
  --gray-900:   #2d2d2d;
  --gray-700:   #555;
  --gray-500:   #888;
  --gray-300:   #ccc;
  --gray-100:   #f4f4f2;
  --white:      #fff;
  --bg:         #fafaf8;
  --red:        #c0392b;
  --green:      #27ae60;
  --font:       'Helvetica Neue', Arial, sans-serif;
  --radius:     4px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--black); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.clr::after { content:''; display:block; clear:both; }

/* ── Typography ── */
h1 { font-size: 2rem; font-weight: 300; letter-spacing: .04em; }
h2 { font-size: 1.5rem; font-weight: 400; letter-spacing: .03em; }
h3 { font-size: 1.15rem; font-weight: 500; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 1px;
  background: var(--gold);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px;
  border: none; border-radius: var(--radius);
  cursor: pointer; font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: all var(--transition);
}
.btn-gold {
  background: var(--gold); color: var(--white);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--black);
  border: 1px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #a93226; color: #fff; }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.logo { flex-shrink: 0; }
.logo a {
  font-size: 1.7rem; font-weight: 300;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--black);
}
.logo span { color: var(--gold); }

.header-search { flex: 1; max-width: 480px; position: relative; }
.header-search input {
  width: 100%; padding: 10px 44px 10px 16px;
  border: 1px solid var(--gray-300); border-radius: 24px;
  font-size: 14px; background: var(--gray-100);
  transition: border var(--transition);
}
.header-search input:focus { outline: none; border-color: var(--gold); background: var(--white); }
.header-search button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--gray-500);
  font-size: 16px; line-height: 1;
  padding: 0;
}
.header-search button:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions a { font-size: 13px; color: var(--gray-700); display: flex; align-items: center; gap: 5px; }
.header-actions a:hover { color: var(--gold); }
.header-actions .cart-link {
  position: relative;
  font-weight: 600;
}
.cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--gold); color: var(--white);
  font-size: 10px; font-weight: 700;
  border-radius: 50%; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ── Navigation ── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.nav-container {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.nav-list {
  display: flex; align-items: center; gap: 0;
  justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-list li { position: relative; }
.nav-list a {
  display: block; padding: 12px 11px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .10em; text-transform: uppercase;
  color: var(--gray-700);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-list a:hover, .nav-list a.active { color: var(--gold); }
.nav-list li.new-badge a::after {
  content: 'NEW';
  background: var(--gold); color: #fff;
  font-size: 9px; padding: 1px 4px;
  border-radius: 2px; margin-left: 5px;
  vertical-align: middle;
}
/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: space-between;
  width: 24px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--gray-700); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Flash Messages ── */
.flash {
  padding: 12px 20px; border-radius: var(--radius);
  margin-bottom: 20px; font-size: 14px;
}
.flash-success { background: #eafaf1; color: var(--green); border: 1px solid #a9dfbf; }
.flash-error   { background: #fdedec; color: var(--red);   border: 1px solid #f1948a; }

/* ── Hero Banner ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  min-height: 520px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .45;
}
.hero-content {
  position: relative; z-index: 1;
  padding: 80px 0;
  color: var(--white);
}
.hero-content h1 {
  font-size: 3rem; font-weight: 200;
  letter-spacing: .12em; text-transform: uppercase;
  line-height: 1.2; margin-bottom: 16px;
}
.hero-content p {
  font-size: 1.1rem; color: var(--gold-light);
  margin-bottom: 32px; letter-spacing: .05em;
}
.hero-content .hero-badge {
  display: inline-block; color: var(--gold);
  font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: 16px;
}

/* ── Product Grid ── */
.products-section { padding: 60px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  position: relative;
  background: #fff;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-card-img img {
  display: block;
  max-width: none;
}
.product-card-img .hover-img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .4s ease;
}
.product-card:hover .hover-img { opacity: 1; }
.product-card-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .08em; padding: 3px 8px;
  border-radius: 2px; text-transform: uppercase;
}
.badge-new  { background: var(--gold);  color: #fff; }
.badge-sale { background: var(--red);   color: #fff; }
.badge-out  { background: var(--gray-700); color: #fff; }
.product-card-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; gap: 8px; justify-content: center;
}
.product-card:hover .product-card-actions { opacity: 1; }
.product-card-body { padding: 14px; }
.product-card-body h3 {
  font-size: 13px; font-weight: 400;
  line-height: 1.4; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; height: 2.8em;
  color: var(--gray-900);
}
.product-card-no { font-size: 11px; color: var(--gray-500); margin-bottom: 8px; }
.product-price { font-size: 15px; font-weight: 600; color: var(--black); }
.product-price .original { text-decoration: line-through; color: var(--gray-500); font-size: 13px; font-weight: 400; margin-left: 6px; }
.product-price .sale { color: var(--red); }
.wishlist-btn {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gray-500);
  transition: all var(--transition);
}
.wishlist-btn:hover, .wishlist-btn.active { color: var(--red); background: var(--white); }

/* ── Category Cards ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.category-card--clearance { border-color: var(--gold); }
.category-card--clearance span { color: var(--red); }
.category-card {
  display: block;
  text-align: center;
  padding: 20px 10px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.category-card:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: var(--shadow);
}
.category-card .icon { font-size: 28px; margin-bottom: 8px; }
.category-card span {
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-700);
}
.category-card:hover span { color: var(--gold); }

/* ── Filter Sidebar ── */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 40px 0; }
.filter-sidebar { background: var(--white); padding: 24px; border-radius: var(--radius); height: fit-content; box-shadow: var(--shadow); }
.filter-group { margin-bottom: 24px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px; color: var(--gray-900);
  padding-bottom: 8px; border-bottom: 1px solid var(--gray-100);
}
.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; cursor: pointer; font-size: 13px; }
.filter-check input { accent-color: var(--gold); }
.filter-clear { font-size: 12px; color: var(--gold); cursor: pointer; margin-top: 8px; display: inline-block; }
.sort-select { width: 100%; padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 13px; }
.sort-select:focus { outline: none; border-color: var(--gold); }

/* ── Product List Header ── */
.list-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.list-count { font-size: 13px; color: var(--gray-500); }

/* ── Product Detail ── */
.product-detail { padding: 40px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-images { position: relative; }
.main-image {
  display: inline-block; background: #fff;
  margin-bottom: 12px; line-height: 0;
}
.main-image img { display: block; max-width: none; }
.thumb-list { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb-item {
  display: inline-block; background: #fff; line-height: 0;
  cursor: pointer;
  border: 2px solid transparent; transition: border-color var(--transition);
}
.thumb-item.active, .thumb-item:hover { border-color: var(--gold); }
.thumb-item img { display: block; max-width: none; }
.product-info .item-no { font-size: 12px; color: var(--gray-500); margin-bottom: 6px; }
.product-info h1 {
  font-size: 1.5rem; font-weight: 400;
  line-height: 1.3; margin-bottom: 16px;
}
.product-info .price-block { margin-bottom: 20px; }
.price-main { font-size: 1.8rem; font-weight: 600; color: var(--black); }
.price-sale { color: var(--red); }
.price-original { font-size: 1.1rem; color: var(--gray-500); text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.size-select-group { margin-bottom: 20px; }
.size-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt {
  padding: 6px 14px; border: 1px solid var(--gray-300);
  border-radius: var(--radius); font-size: 13px; cursor: pointer;
  transition: all var(--transition);
}
.size-opt:hover, .size-opt.selected { border-color: var(--gold); background: var(--gold); color: var(--white); }
.size-opt.oos { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.qty-group { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-input {
  display: flex; align-items: center; border: 1px solid var(--gray-300);
  border-radius: var(--radius); overflow: hidden;
}
.qty-input button {
  width: 36px; height: 40px; background: var(--gray-100); border: none;
  cursor: pointer; font-size: 18px; color: var(--gray-700);
  transition: background var(--transition);
}
.qty-input button:hover { background: var(--gray-300); }
.qty-input input {
  width: 50px; height: 40px; border: none; text-align: center;
  font-size: 15px; font-weight: 600;
}
.qty-input input:focus { outline: none; }
.add-cart-btn { flex: 1; }
.product-meta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.product-meta dt { font-size: 12px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; }
.product-meta dd { font-size: 14px; margin-bottom: 10px; }
.stock-status { font-size: 13px; margin-bottom: 16px; }
.in-stock { color: var(--green); }
.out-of-stock { color: var(--red); }
.low-stock { color: #e67e22; }

/* ── Cart ── */
.cart-page { padding: 40px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-500); padding: 8px 0; border-bottom: 2px solid var(--gray-100);
}
.cart-table td { padding: 16px 0; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-img { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-info h4 { font-size: 14px; font-weight: 400; margin-bottom: 4px; }
.cart-product-info .item-no { font-size: 11px; color: var(--gray-500); }
.cart-product-info .size-info { font-size: 12px; color: var(--gray-700); }
.cart-qty input { width: 56px; text-align: center; border: 1px solid var(--gray-300); padding: 6px; border-radius: var(--radius); }
.cart-remove {
  background: none; border: none; cursor: pointer;
  color: var(--red); font-size: 13px;
  padding: 6px 10px; border-radius: var(--radius);
  transition: opacity var(--transition);
}
.cart-remove:hover { opacity: .7; }
.cart-summary { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.cart-summary h3 { margin-bottom: 20px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.summary-row.total { font-size: 16px; font-weight: 700; border-top: 1px solid var(--gray-100); margin-top: 12px; padding-top: 12px; }
.coupon-form { display: flex; gap: 8px; margin-bottom: 16px; }
.coupon-form input { flex: 1; padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 13px; }
.coupon-form input:focus { outline: none; border-color: var(--gold); }
.free-ship-notice { font-size: 12px; color: var(--green); text-align: center; margin: 8px 0; }

/* ── Checkout ── */
.checkout-page { padding: 40px 0; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-section {
  background: var(--white); padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.checkout-section h2 { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: 14px; transition: border var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group.full { grid-column: 1 / -1; }
.required::after { content: ' *'; color: var(--red); }
.payment-methods { display: flex; gap: 12px; margin-bottom: 20px; }
.pay-opt {
  flex: 1; padding: 14px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); cursor: pointer; text-align: center;
  transition: border-color var(--transition);
  font-size: 13px; font-weight: 600; color: var(--gray-700);
}
.pay-opt.selected { border-color: var(--gold); color: var(--gold); }
.pay-opt input[type=radio] { display: none; }
.order-summary-box { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.order-summary-box h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.order-items-mini { margin-bottom: 16px; }
.order-item-mini { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.order-item-mini img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius); }
.order-item-mini-info { flex: 1; font-size: 12px; }
.order-item-mini-price { font-size: 13px; font-weight: 600; }

/* ── Auth Pages ── */
.auth-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-box { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; }
.auth-box h1 { text-align: center; margin-bottom: 8px; font-size: 1.5rem; font-weight: 300; }
.auth-box .subtitle { text-align: center; color: var(--gray-500); font-size: 13px; margin-bottom: 28px; }
.auth-divider { text-align: center; color: var(--gray-500); font-size: 12px; margin: 16px 0; position: relative; }
.auth-divider::before { content:''; position:absolute; left:0; top:50%; width:42%; height:1px; background:var(--gray-200); }
.auth-divider::after  { content:''; position:absolute; right:0; top:50%; width:42%; height:1px; background:var(--gray-200); }
.auth-link { text-align: center; font-size: 13px; margin-top: 16px; color: var(--gray-600); }
.auth-link a { color: var(--gold); font-weight: 600; }

/* ── Account Dashboard ── */
.account-layout { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 40px 0; }
.account-nav { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); height: fit-content; }
.account-nav h4 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 12px; }
.account-nav a { display: block; padding: 10px 12px; font-size: 13px; border-radius: var(--radius); margin-bottom: 4px; color: var(--gray-700); }
.account-nav a:hover, .account-nav a.active { background: var(--gold-light); color: var(--gold-dark); }
.account-content { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Orders Table ── */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); padding: 8px 12px; text-align: left; background: var(--gray-100); }
.orders-table td { padding: 14px 12px; font-size: 13px; border-bottom: 1px solid var(--gray-100); }
.orders-table tr:hover td { background: var(--gray-100); }
.status-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.status-pending   { background: #fef9e7; color: #d4ac0d; }
.status-paid      { background: #eafaf1; color: var(--green); }
.status-shipped   { background: #eaf2fb; color: #2980b9; }
.status-delivered { background: #eafaf1; color: var(--green); }
.status-cancelled { background: #fdedec; color: var(--red); }
.status-processing { background: #fef5e7; color: #e67e22; }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 40px 0 20px; }
.pag-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: 13px; color: var(--gray-700); transition: all var(--transition);
}
.pag-btn:hover { border-color: var(--gold); color: var(--gold); }
.pag-btn.active { background: var(--gold); color: var(--white); border-color: var(--gold); }
.pag-ellipsis { color: var(--gray-500); padding: 0 4px; }

/* ── Footer ── */
.site-footer { background: var(--gray-900); color: #aaa; padding: 60px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { font-size: 1.4rem; font-weight: 300; letter-spacing: .18em; color: var(--white); margin-bottom: 12px; }
.footer-brand .logo-text span { color: var(--gold); }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: #aaa; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #3a3a3a; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; }
.footer-payments { display: flex; gap: 8px; align-items: center; }
.footer-payments span { font-size: 11px; padding: 4px 10px; background: #444; border-radius: 4px; color: #ccc; }

/* ── Breadcrumb ── */
.breadcrumb { padding: 16px 0; font-size: 12px; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ── No Results ── */
.no-results { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.no-results h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 8px; }

/* ── Loading ── */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--gold-light); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-top { flex-wrap: wrap; }
  .header-search { order: 3; width: 100%; max-width: 100%; flex-basis: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 2rem; }

  /* Mobile nav */
  /* site-nav becomes the positioning context for the dropdown */
  .site-nav { position: relative; overflow: visible; }
  /* nav-container must be static so nav-list is relative to site-nav */
  .nav-container { position: static; justify-content: flex-start; padding: 13px 0; }
  .hamburger { display: flex; } /* in-flow: gives site-nav a defined height */
  .nav-list {
    display: none;
    flex-direction: column; align-items: stretch;
    /* positioned from site-nav edges → true full width */
    position: absolute; top: 100%; left: 0; right: 0; z-index: 999;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .nav-list.open { display: flex; }
  .nav-list li { border-bottom: 1px solid var(--gray-100); }
  .nav-list li:last-child { border-bottom: none; }
  .nav-list a { padding: 14px 20px; font-size: 13px; white-space: normal; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Utilities ── */
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; } .text-right { text-align: right; }
.text-gold { color: var(--gold); } .text-gray { color: var(--gray-500); } .text-red { color: var(--red); } .text-green { color: var(--green); }
.font-bold { font-weight: 700; } .font-light { font-weight: 300; }
.w-full { width: 100%; }
.hidden { display: none; }
