/* ═══════════════════════════════════════════════
   WOLFSTEAD SUPPLY CO. — MAIN STYLESHEET
   Exact match to Figma design
═══════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --bg-main:     #162019;
  --bg-dark:     #141E17;
  --bg-darker:   #0E1511;
  --bg-darkest:  #131B16;
  --card-bg:     #373C29;
  --gold:        #C89B52;
  --gold-light:  #ECDA75;
  --gold-bright: #FEEA61;
  --red:         #720E02;
  --green-badge: #00A63E;
  --star:        #FDC700;
  --border:      rgba(255,255,255,0.4);
  --border-light:rgba(255,255,255,0.2);
  --border-card: #4D5536;
  --text-white:  #FFFFFF;
  --text-muted:  rgba(255,255,255,0.8);
  --text-faint:  rgba(255,255,255,0.5);
  --text-olive:  #B0B176;
  --text-gray:   #6A7282;
  --shadow-card: 0px 1px 12.3px rgba(82,91,65,0.54);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-white);
  min-width: 320px;
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }
ul, ol { list-style: none; }
input, textarea, select { font-family: 'Inter', sans-serif; }
p { line-height: 1.6; }

/* ── UTILITY ── */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.container-fluid { max-width: 1440px; margin: 0 auto; padding: 0 40px; width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.text-olive { color: var(--text-olive); }
.section-label {
  font-size: 15px;
  color: var(--text-olive);
  font-weight: 400;
  margin-bottom: 6px;
  display: block;
}
.section-title {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; outline: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .2s; }
.btn-primary {
  background: var(--gold);
  color: #151E18;
  border-radius: var(--radius-pill);
  padding: 0 36px;
  height: 44px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.btn-primary:hover { background: #d4a85c; transform: translateY(-1px); }
.btn-secondary {
  background: var(--gold-light);
  color: #3D3400;
  border: .667px solid rgba(255,255,255,.6);
  border-radius: var(--radius-pill);
  padding: 0 32px;
  height: 44px;
  font-weight: 600;
  font-size: 13px;
}
.btn-secondary:hover { background: #f5e882; transform: translateY(-1px); }
.btn-red {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.btn-red:hover { background: #8f1102; }
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  border: .667px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-view-all:hover { background: #d4a85c; }
.btn-view-all svg { width: 14px; height: 14px; }
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
}
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-gold-border {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
}
.btn-gold-border:hover { background: var(--gold); color: #151E18; }

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
.site-header {
  background: var(--bg-dark);
  border-bottom: .667px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
.header-top {
  display: flex;
  align-items: center;
  padding: 10px 40px;
  gap: 24px;
  height: 80px;
  max-width: 1440px;
  margin: 0 auto;
}
.header-logo-wrap { display: flex; align-items: center; flex: 1; }
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo .custom-logo-link { display: flex; align-items: center; gap: 10px; }
.header-logo img.custom-logo { height: 56px; width: auto; object-fit: contain; }
.logo-fallback { display: flex; align-items: center; gap: 10px; }
.logo-circle {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #8B6B2A;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-circle svg { width: 34px; height: 34px; }
.logo-text .brand-name {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-white);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
}
.logo-text .brand-sub {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.14);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  gap: 10px;
  width: 440px;
  height: 41px;
  flex-shrink: 0;
  transition: background .2s;
}
.header-search:focus-within { background: rgba(255,255,255,.2); }
.header-search svg { color: var(--gold); flex-shrink: 0; }
.header-search input {
  background: none; border: none; outline: none;
  color: var(--text-white);
  font-size: 15px; width: 100%;
}
.header-search input::placeholder { color: rgba(255,255,255,.45); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: none; border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-white); position: relative;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  transition: transform .2s;
}
.cart-count.bump { animation: bump .3s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Site Nav */
.site-nav {
  border-top: .667px solid var(--border);
  padding: 0 40px;
  height: 48px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
}
.site-nav a, .site-nav .nav-link {
  font-weight: 500; font-size: 15px;
  color: var(--text-white);
  transition: color .2s;
  white-space: nowrap;
  position: relative;
}
.site-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .2s;
}
.site-nav a:hover::after, .site-nav a.current-menu-item::after { transform: scaleX(1); }
.site-nav a:hover, .site-nav a.current-menu-item { color: var(--gold); }

/* Nav with sub-menus */
.site-nav .menu-item-has-children { position: relative; }
.site-nav .sub-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--bg-dark);
  border: .667px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
  z-index: 100;
}
.site-nav .menu-item-has-children:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .sub-menu li a { display: block; padding: 8px 20px; font-size: 14px; }
.site-nav .sub-menu li a:hover { background: rgba(255,255,255,.05); color: var(--gold); }
.site-nav .sub-menu li a::after { display: none; }

/* ═══════════════════════════════════
   CART DRAWER
═══════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9000;
  opacity: 0; visibility: hidden;
  transition: opacity .3s;
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100vw;
  background: var(--bg-dark);
  border-left: .667px solid var(--border);
  z-index: 9001;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,.5);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px;
  border-bottom: .667px solid var(--border-light);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: 'Merriweather', serif;
  font-size: 20px; font-weight: 700;
  color: var(--text-white);
}
.cart-drawer-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1); border: none;
  border-radius: var(--radius-sm);
  color: var(--text-white);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.cart-drawer-close:hover { background: rgba(255,255,255,.2); }

.cart-drawer-body {
  flex: 1; overflow-y: auto;
  padding: 16px;
}
.cart-drawer-body::-webkit-scrollbar { width: 4px; }
.cart-drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

.cart-empty-msg {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; gap: 16px;
  color: var(--text-muted); text-align: center; padding: 40px;
}
.cart-empty-msg svg { opacity: .4; }
.cart-empty-msg p { font-size: 16px; }
.cart-empty-msg a { color: var(--gold); text-decoration: underline; }

/* Cart Item */
.cart-drawer-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: .667px solid var(--border-light);
}
.cart-drawer-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  background: var(--card-bg); object-fit: cover; flex-shrink: 0;
}
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--text-white); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px;
}
.qty-btn {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.1); border: none;
  border-radius: 6px; color: var(--text-white);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.qty-btn:hover { background: rgba(255,255,255,.2); }
.cart-item-qty-val { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove {
  background: none; border: none; color: var(--text-gray);
  font-size: 18px; padding: 4px;
  transition: color .2s;
  align-self: flex-start;
}
.cart-item-remove:hover { color: var(--red); }

.cart-loader {
  display: flex; justify-content: center; align-items: center;
  padding: 40px;
}
.cart-loader .spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Cart Footer */
.cart-drawer-footer {
  border-top: .667px solid var(--border-light);
  padding: 20px 24px;
  flex-shrink: 0;
  background: var(--bg-darker);
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.cart-subtotal-label { font-size: 15px; color: var(--text-muted); }
.cart-subtotal-amount { font-size: 20px; font-weight: 700; color: var(--text-white); }
.cart-drawer-btns { display: flex; flex-direction: column; gap: 10px; }
.cart-drawer-btns a {
  display: block; text-align: center;
  padding: 13px;
  font-weight: 600; font-size: 14px;
  border-radius: var(--radius-sm);
  letter-spacing: .3px;
  transition: all .2s;
}
.btn-view-cart {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-view-cart:hover { background: var(--gold); color: #151E18; }
.btn-checkout-drawer {
  background: var(--gold);
  color: #151E18;
}
.btn-checkout-drawer:hover { background: #d4a85c; }

/* Add to cart notification */
.wc-toast {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  background: var(--bg-dark); border: .667px solid var(--green-badge);
  border-radius: var(--radius-sm); padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  transform: translateX(120%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-width: 300px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.wc-toast.show { transform: translateX(0); }
.wc-toast-icon { color: var(--green-badge); flex-shrink: 0; }

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero-section { padding: 32px 40px; }
.hero-inner {
  width: 100%; max-width: 1360px; margin: 0 auto;
  height: 580px; border-radius: var(--radius-xl);
  overflow: hidden; position: relative;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #2a4a2e;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.22) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 48px;
  height: 100%;
  display: flex; align-items: center;
}
.hero-text { max-width: 580px; }
.hero-title {
  font-family: 'Merriweather', serif;
  font-weight: 400; font-size: 56px; line-height: 1.05;
  color: #fff; margin-bottom: 20px;
}
.hero-title .highlight { color: var(--gold); font-weight: 700; font-style: italic; }
.hero-desc {
  font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,.88); margin-bottom: 32px; max-width: 540px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-logo-badge {
  position: absolute; bottom: -36px; left: 50%;
  transform: translateX(-50%); z-index: 10;
}
.hero-logo-circle {
  width: 80px; height: 80px; background: var(--gold);
  border-radius: 50%; border: 3px solid #8B6B2A;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  overflow: hidden;
}
.hero-logo-circle img { width: 100%; height: 100%; object-fit: contain; }

/* ═══════════════════════════════════
   FEATURES
═══════════════════════════════════ */
.features-section { padding: 80px 40px 40px; }
.features-header { text-align: center; margin-bottom: 48px; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 1280px; margin: 0 auto;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  padding: 24px 16px 32px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(82,91,65,.4); }
.feature-icon-wrap {
  width: 64px; height: 64px; background: var(--gold-bright);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-bottom: 4px;
}
.feature-icon-wrap svg { width: 30px; height: 30px; }
.feature-title {
  font-family: 'Merriweather', serif;
  font-weight: 700; font-size: 22px; color: #fff;
  position: relative; display: inline-block;
  padding-bottom: 6px; line-height: 1.2;
}
.feature-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  width: 100%;
  max-width: 160px;
  height: 22px;
  background: url('https://demo.danuminnovations.com/wp-content/uploads/2026/05/Vector-1.png') center/contain no-repeat;
  opacity: 1;
  pointer-events: none;
}
.feature-desc {
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.55); max-width: 180px;
  margin-top: 10px;
}
.feature-card::after {
  display: none;
}

/* ═══════════════════════════════════
   SECTION HEADER (shared)
═══════════════════════════════════ */
.products-section { padding: 32px 0 48px; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; max-width: 1360px; margin-left: auto; margin-right: auto;
  padding: 0 40px;
}
.section-header-text .section-label { text-align: left; }
.section-header-text .section-title { text-align: left; font-size: 28px; }

/* ═══════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════ */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 1360px; margin: 0 auto; padding: 0 40px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid #4D5536;
  border-radius: 12px;
  overflow: visible;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0px 1px 12px rgba(82,91,65,.54);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.5); }

/* Image wrapper — image overflows top like Figma */
.product-img-wrap {
  position: relative;
  background: var(--card-bg);
  border-radius: 12px 12px 0 0;
  height: 260px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-img-wrap img {
  width: 115%;
  height: 115%;
  object-fit: contain;
  object-position: center;
  transform: translateY(-8px);
  transition: transform .35s ease;
  filter: drop-shadow(0px 4px 16px rgba(0,0,0,.35));
}
.product-card:hover .product-img-wrap img {
  transform: translateY(-14px) scale(1.04);
}

/* Badge — New / Sale */
.product-badge {
  position: absolute; top: 10px; right: 10px;
  border-radius: 8px; padding: 3px 10px;
  font-size: 11px; font-weight: 600; color: #fff; letter-spacing: .3px;
  z-index: 2;
}
.badge-new  { background: var(--red); }
.badge-sale { background: var(--green-badge); }

/* Info section */
.product-info {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
  background: var(--card-bg);
  border-radius: 0 0 12px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.product-category {
  font-size: 11px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.product-name {
  font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: .2px; line-height: 1.3;
  text-transform: uppercase;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--gold); }
.product-stars { display: flex; align-items: center; gap: 1px; }
.star { color: var(--star); font-size: 12px; }
.product-reviews { font-size: 11px; color: var(--text-gray); margin-left: 5px; }
.product-bottom {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 2px;
}
.product-price { font-size: 17px; font-weight: 700; color: #fff; }
.price-old {
  font-size: 13px; color: var(--text-gray);
  text-decoration: line-through; font-weight: 400; margin-left: 6px;
}
.btn-add-cart {
  background: var(--red); color: #fff; border: none;
  border-radius: 8px; padding: 7px 13px;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
  transition: background .2s, transform .15s;
  white-space: nowrap; cursor: pointer;
}
.btn-add-cart:hover { background: #8f1102; transform: scale(1.04); }
.btn-add-cart.added { background: var(--green-badge); }
.btn-add-cart .loading-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .6s linear infinite;
  display: none;
}
.btn-add-cart.loading .loading-spinner { display: block; }
.btn-add-cart.loading .btn-text { display: none; }

/* Quick view */
.product-img-wrap .quick-view-btn {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.75);
  color: #fff; border: none; padding: 10px;
  font-size: 13px; font-weight: 500;
  transform: translateY(100%); transition: transform .25s;
  text-align: center; cursor: pointer;
}
.product-card:hover .quick-view-btn { transform: translateY(0); }

/* ═══════════════════════════════════
   CATEGORY BANNERS
═══════════════════════════════════ */
.category-section { padding: 0 40px 48px; }
.category-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; max-width: 1360px; margin: 0 auto;
}
.cat-card {
  border-radius: var(--radius-md); overflow: hidden;
  position: relative; height: 380px; cursor: pointer;
  transition: transform .2s;
}
.cat-card:hover { transform: scale(1.01); }
.cat-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.05) 100%);
}
.cat-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; }
.cat-title { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cat-desc { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 20px; }
.cat-btn {
  display: inline-block; background: var(--red); color: #fff;
  border-radius: var(--radius-sm); padding: 10px 24px;
  font-size: 13px; font-weight: 600; transition: background .2s;
}
.cat-card:hover .cat-btn { background: #8f1102; }

/* ═══════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════ */
.testimonials-section {
  background: var(--bg-darker); padding: 72px 40px;
}
.testimonials-inner { max-width: 1360px; margin: 0 auto; }
.testimonials-title {
  font-family: 'Merriweather', serif;
  font-size: 28px; font-weight: 700;
  text-align: center; color: #fff; margin-bottom: 48px;
}
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--bg-darkest); border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.2), 0 2px 4px -2px rgba(0,0,0,.15);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s;
}
.review-card:hover { transform: translateY(-2px); }
.review-stars { font-size: 18px; color: var(--star); letter-spacing: 2px; }
.review-text { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.55); flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0;
  overflow: hidden;
}
.reviewer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.reviewer-avatar.avatar-initials { background: var(--red); }
.reviewer-name { font-size: 15px; font-weight: 600; color: var(--text-olive); }
.reviewer-role { font-size: 13px; color: var(--text-gray); margin-top: 2px; }

/* ═══════════════════════════════════
   NEWSLETTER
═══════════════════════════════════ */
.newsletter-section { background: var(--bg-darker); padding: 72px 40px; text-align: center; }
.newsletter-inner { max-width: 640px; margin: 0 auto; }
.newsletter-title {
  font-family: 'Merriweather', serif;
  font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.newsletter-desc { font-size: 18px; color: rgba(255,255,255,.88); margin-bottom: 32px; line-height: 1.5; }
.newsletter-form {
  display: flex; gap: 10px;
  justify-content: center; max-width: 460px; margin: 0 auto;
}
.newsletter-input {
  flex: 1; background: #fff;
  border: .667px solid #D4CDB0; border-radius: 10px;
  padding: 0 20px; height: 48px;
  font-size: 15px; color: #101828; outline: none;
  transition: border-color .2s;
}
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-input::placeholder { color: rgba(16,24,40,.45); }
.btn-subscribe {
  background: var(--gold); color: #151E18; border: none;
  border-radius: var(--radius-pill); padding: 0 32px; height: 44px;
  font-size: 13px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  transition: background .2s; white-space: nowrap; align-self: center;
}
.btn-subscribe:hover { background: #d4a85c; }
.newsletter-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.newsletter-msg.success { color: var(--green-badge); }
.newsletter-msg.error { color: #ff6b6b; }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.site-footer { background: var(--bg-darker); padding: 56px 40px 40px; }
.footer-inner { max-width: 1360px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 32px;
  border-bottom: .667px solid var(--border-light); margin-bottom: 24px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-circle {
  width: 48px; height: 48px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid #8B6B2A; overflow: hidden;
}
.footer-logo-circle img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-name { font-family: 'Merriweather', serif; font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.footer-brand-sub { font-size: 9px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.footer-desc { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 32px; height: 32px; background: rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .2s;
}
.social-btn:hover { background: rgba(255,255,255,.2); }
.social-btn svg { width: 15px; height: 15px; }
.footer-col-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a { font-size: 13px; color: var(--text-muted); transition: color .2s; }
.footer-links li a:hover { color: var(--gold); }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-muted); }
.contact-item svg { flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: var(--text-muted); transition: color .2s; }
.contact-item a:hover { color: var(--gold); }
.footer-bottom { text-align: center; font-size: 13px; color: var(--text-muted); padding-top: 24px; }
.footer-bottom a { color: var(--text-muted); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════
   WOOCOMMERCE — SHOP PAGE
═══════════════════════════════════ */
.wc-shop-page { padding: 48px 40px; max-width: 1440px; margin: 0 auto; }
.wc-page-header { margin-bottom: 40px; }
.wc-page-title { font-family: 'Merriweather', serif; font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.wc-breadcrumb { font-size: 13px; color: var(--text-gray); }
.wc-breadcrumb a { color: var(--text-muted); }
.wc-breadcrumb a:hover { color: var(--gold); }
.wc-breadcrumb .sep { margin: 0 6px; }

.wc-shop-layout { display: flex; gap: 40px; }
.wc-sidebar { width: 260px; flex-shrink: 0; }
.wc-main { flex: 1; min-width: 0; }

/* Filters sidebar */
.filter-widget { margin-bottom: 32px; }
.filter-widget-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: .667px solid var(--border-light); }
.filter-list { display: flex; flex-direction: column; gap: 10px; }
.filter-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.filter-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.filter-item label { font-size: 13px; color: var(--text-muted); cursor: pointer; }
.filter-item label:hover { color: var(--text-white); }
.price-range { padding: 8px 0; }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-input { flex: 1; background: rgba(255,255,255,.08); border: .667px solid var(--border-light); border-radius: var(--radius-sm); padding: 8px 12px; color: #fff; font-size: 13px; outline: none; }
.price-input:focus { border-color: var(--gold); }
.price-sep { color: var(--text-gray); }

/* Shop toolbar */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.results-count { font-size: 14px; color: var(--text-gray); }
.sort-select { background: rgba(255,255,255,.08); border: .667px solid var(--border-light); border-radius: var(--radius-sm); padding: 8px 12px; color: #fff; font-size: 13px; outline: none; cursor: pointer; }
.sort-select option { background: var(--bg-dark); }

/* Pagination */
.wc-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-numbers {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.08); color: var(--text-muted);
  transition: all .2s;
}
.page-numbers:hover, .page-numbers.current { background: var(--gold); color: #151E18; }
.page-numbers.dots { background: none; cursor: default; }

/* ═══════════════════════════════════
   WOOCOMMERCE — SINGLE PRODUCT
═══════════════════════════════════ */
.single-product-page {     padding: 2px 5px; max-width: 1360px; margin: 0 auto; }
.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

/* Gallery */
.product-gallery { position: sticky; top: 120px; }
.gallery-main {
  background: var(--card-bg); border-radius: var(--radius-lg);
  overflow: hidden; height: 480px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img { width: 100%; height: 100%;     object-fit: contain;
    padding: 20px; }
    
@media (max-width: 768px) {
    
    
    .product-gallery {
        position: static;
        top: auto;
    }
     .product-gallery {
        position: relative; /* sticky disable on mobile */
        top: auto;
    }

    .gallery-main {
        height: 260px;  /* mobile optimized */
        border-radius: 12px;
    }
    
    .sp-main-slide img,
    .product-gallery img {
        height: 100%;
        max-height: 260px;   /* control mobile height */
        object-fit: contain; /* image cut nahi hogi */
    }
    
        h1.product-title {
        font-size: 14px;
    }
    
   span.product-price-main {
    font-size: 18px;
}

.product-meta-row{
    display: flow !important;
}
.tab-panel p{
    font-size: 13px;
}
h2.woocommerce-Reviews-title,h2.section-title {
    font-size: 20px;
}
  .newsletter-input{
      
    padding:15px 20px;
    
  }  
  .single-product-page{
      padding: 5px !important; 
  }
  
  
}






.sp-gallery,
.product-gallery {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}


/*.sp-main-slide img,*/
/*.product-gallery img {*/
/*    width: 100%;*/
/*    height: auto;*/
/*    object-fit: contain;*/
/*    display: block;*/
/*}*/

@media (max-width: 576px) {
    .gallery-thumbs {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 5px;
    }

    .gallery-thumb {
        flex: 0 0 70px;
        height: 70px;
    }
}





.gallery-thumbs { display: flex; gap: 12px; }
.gallery-thumb {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  background: var(--card-bg); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color .2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-details { }
.product-category-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-olive); margin-bottom: 10px; }
.product-title { font-family: 'Merriweather', serif; font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.product-rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-stars-lg { font-size: 18px; color: var(--star); }
.product-rating-count { font-size: 14px; color: var(--text-gray); }
.product-price-row { margin-bottom: 24px; }
.product-price-main { font-size: 32px; font-weight: 700; color: var(--gold); }
.product-price-old { font-size: 18px; color: var(--text-gray); text-decoration: line-through; margin-left: 10px; }
.product-excerpt { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }

/* Qty + Add to Cart */
.product-add-form { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.qty-control {
  display: flex; align-items: center;
  background: rgba(255,255,255,.08); border-radius: var(--radius-sm);
  overflow: hidden; border: .667px solid var(--border-light);
}
.qty-control button { width: 40px; height: 48px; background: none; border: none; color: #fff; font-size: 20px; transition: background .2s; }
.qty-control button:hover { background: rgba(255,255,255,.1); }
.qty-control input {
  width: 56px; height: 48px; background: none; border: none;
  color: #fff; text-align: center; font-size: 16px; font-weight: 600; outline: none;
}
.btn-single-add-cart { flex: 1; min-width: 200px; height: 52px; font-size: 15px; letter-spacing: .5px; }

.product-meta { border-top: .667px solid var(--border-light); padding-top: 24px; }
.product-meta-row { display: flex; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.product-meta-label { color: var(--text-gray); min-width: 80px; }
.product-meta-val { color: var(--text-muted); }
.product-meta-val a { color: var(--gold); }

/* Product tabs */
.product-tabs { margin-top: 60px; max-width: 1360px; margin-left: auto; margin-right: auto; padding: 0 40px; }
.tabs-nav { display: flex; gap: 0; border-bottom: .667px solid var(--border-light); margin-bottom: 32px; }
.tab-btn {
  padding: 12px 24px; background: none; border: none;
  color: var(--text-gray); font-size: 15px; font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .2s; cursor: pointer;
}
.tab-btn:hover { color: var(--text-white); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.tab-panel h3 { font-family: 'Merriweather', serif; font-size: 18px; color: #fff; margin-bottom: 12px; margin-top: 24px; }
.tab-panel table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.tab-panel table th, .tab-panel table td { padding: 12px 16px; border: .667px solid var(--border-light); font-size: 14px; }
.tab-panel table th { background: rgba(255,255,255,.05); color: var(--text-white); font-weight: 600; text-align: left; }
.tab-panel table td { color: var(--text-muted); }

/* Related products */
.related-products { padding: 48px 40px; max-width: 1440px; margin: 0 auto; }

/* ═══════════════════════════════════
   CART PAGE
═══════════════════════════════════ */
.cart-page { padding: 48px 40px; max-width: 1360px; margin: 0 auto; }
.cart-page-title { font-family: 'Merriweather', serif; font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 40px; }
.cart-page-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }

/* Cart table */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  padding: 12px 16px; text-align: left;
  font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  color: var(--text-gray); border-bottom: .667px solid var(--border-light);
}
.cart-table td { padding: 16px; border-bottom: .667px solid rgba(255,255,255,.05); vertical-align: middle; }
.cart-product-row { }
.cart-product-img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; background: var(--card-bg); }
.cart-product-info { display: flex; align-items: center; gap: 16px; }
.cart-product-name { font-size: 15px; font-weight: 600; color: #fff; }
.cart-product-name a:hover { color: var(--gold); }
.cart-product-meta { font-size: 13px; color: var(--text-gray); margin-top: 4px; }
.cart-price { font-size: 15px; font-weight: 600; color: var(--gold); }
.cart-qty-input {
  width: 64px; height: 36px; background: rgba(255,255,255,.08);
  border: .667px solid var(--border-light); border-radius: var(--radius-sm);
  color: #fff; text-align: center; font-size: 14px; outline: none;
}
.cart-item-total { font-size: 15px; font-weight: 700; color: #fff; }
.cart-remove { background: none; border: none; color: var(--text-gray); font-size: 20px; cursor: pointer; transition: color .2s; }
.cart-remove:hover { color: var(--red); }
.cart-update-btn { margin-top: 20px; }
.cart-coupon { display: flex; gap: 10px; margin-bottom: 20px; }
.coupon-input {
  flex: 1; background: rgba(255,255,255,.08); border: .667px solid var(--border-light);
  border-radius: var(--radius-sm); padding: 10px 16px; color: #fff; outline: none;
}
.coupon-input:focus { border-color: var(--gold); }
.coupon-input::placeholder { color: rgba(255,255,255,.3); }

/* Cart totals sidebar */
.cart-totals {
  background: var(--bg-darkest); border-radius: var(--radius-lg);
  padding: 28px; position: sticky; top: 120px;
}
.cart-totals-title { font-family: 'Merriweather', serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.cart-totals-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: .667px solid rgba(255,255,255,.05); }
.cart-totals-row:last-of-type { border-bottom: none; }
.totals-label { font-size: 14px; color: var(--text-muted); }
.totals-value { font-size: 15px; font-weight: 600; color: #fff; }
.totals-value.total { font-size: 22px; color: var(--gold); }
.checkout-btn { width: 100%; padding: 15px; font-size: 15px; margin-top: 20px; }

/* ═══════════════════════════════════
   CHECKOUT PAGE
═══════════════════════════════════ */
.checkout-page { padding: 48px 40px; max-width: 1360px; margin: 0 auto; }
.checkout-page-title { font-family: 'Merriweather', serif; font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 40px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }

/* Form fields */
.checkout-section { margin-bottom: 40px; }
.checkout-section-title { font-family: 'Merriweather', serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 24px; padding-bottom: 12px; border-bottom: .667px solid var(--border-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.form-label .required { color: var(--red); }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,.08); border: .667px solid var(--border-light);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: #fff; font-size: 14px; outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); background: rgba(255,255,255,.1); }
.form-input::placeholder { color: rgba(255,255,255,.25); }
.form-select option { background: var(--bg-dark); }
.form-textarea { min-height: 100px; resize: vertical; }

/* Payment methods */
.payment-methods { }
.payment-method { margin-bottom: 12px; }
.payment-method-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); cursor: pointer;
  border: .667px solid transparent; transition: all .2s;
}
.payment-method-header:hover, .payment-method.active .payment-method-header {
  border-color: var(--gold); background: rgba(200,155,82,.08);
}
.payment-radio { width: 18px; height: 18px; accent-color: var(--gold); }
.payment-label { font-size: 14px; font-weight: 500; }
.payment-body { padding: 16px; background: rgba(255,255,255,.03); border-radius: 0 0 var(--radius-sm) var(--radius-sm); display: none; }
.payment-method.active .payment-body { display: block; }
.payment-body p { font-size: 13px; color: var(--text-muted); }

/* Order review */
.order-review { background: var(--bg-darkest); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 120px; }
.order-review-title { font-family: 'Merriweather', serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.order-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: .667px solid rgba(255,255,255,.05); }
.order-item:last-of-type { border-bottom: none; }
.order-item-img { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--card-bg); object-fit: cover; flex-shrink: 0; }
.order-item-name { font-size: 13px; font-weight: 600; color: #fff; flex: 1; }
.order-item-qty { font-size: 12px; color: var(--text-gray); }
.order-item-price { font-size: 14px; font-weight: 700; color: var(--gold); white-space: nowrap; }
.order-totals { margin-top: 16px; padding-top: 16px; border-top: .667px solid var(--border-light); }
.place-order-btn { width: 100%; padding: 16px; font-size: 15px; margin-top: 20px; letter-spacing: .5px; }

/* ═══════════════════════════════════
   MY ACCOUNT
═══════════════════════════════════ */
.my-account-page { padding: 48px 40px; max-width: 1360px; margin: 0 auto; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.account-sidebar { background: var(--bg-darkest); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 120px; }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: all .2s;
}
.account-nav-item:hover, .account-nav-item.active { background: rgba(200,155,82,.12); color: var(--gold); }
.account-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.account-content { }
.account-content-title { font-family: 'Merriweather', serif; font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 32px; }

/* Orders table */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--text-gray); border-bottom: .667px solid var(--border-light); }
.orders-table td { padding: 16px; border-bottom: .667px solid rgba(255,255,255,.05); font-size: 14px; color: var(--text-muted); vertical-align: middle; }
.order-status { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.status-completed { background: rgba(0,166,62,.15); color: var(--green-badge); }
.status-processing { background: rgba(200,155,82,.15); color: var(--gold); }
.status-pending { background: rgba(255,255,255,.08); color: var(--text-gray); }
.status-cancelled { background: rgba(114,14,2,.15); color: #ff6b6b; }

/* Login / Register forms */
.login-register-page { padding: 64px 40px; max-width: 1440px; margin: 0 auto; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 960px; margin: 0 auto; }
.auth-form {
  background: var(--bg-darkest); border-radius: var(--radius-lg);
  padding: 40px; border: .667px solid var(--border-light);
}
.auth-title { font-family: 'Merriweather', serif; font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 28px; }
.auth-form .form-group { margin-bottom: 20px; }
.auth-submit { width: 100%; padding: 14px; font-size: 15px; margin-top: 8px; }
.auth-extra { margin-top: 16px; text-align: center; font-size: 13px; color: var(--text-gray); }
.auth-extra a { color: var(--gold); }
.lost-password { font-size: 13px; color: var(--text-gray); margin-top: 12px; text-align: right; display: block; }
.lost-password:hover { color: var(--gold); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider span { font-size: 12px; color: var(--text-gray); white-space: nowrap; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: .667px; background: var(--border-light); }

/* Messages / Notices */
.woocommerce-notices-wrapper { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  padding: 14px 20px; border-radius: var(--radius-sm);
  margin: 16px 0; display: flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.woocommerce-message { background: rgba(0,166,62,.1); border: 1px solid rgba(0,166,62,.3); color: var(--green-badge); }
.woocommerce-error { background: rgba(114,14,2,.1); border: 1px solid rgba(114,14,2,.3); color: #ff6b6b; }
.woocommerce-info { background: rgba(200,155,82,.1); border: 1px solid rgba(200,155,82,.3); color: var(--gold); }
.woocommerce-error li, .woocommerce-message li { list-style: none; }

/* ═══════════════════════════════════
   PAGES — GENERAL
═══════════════════════════════════ */
.page-hero {
  background: var(--bg-dark); border-bottom: .667px solid var(--border);
  padding: 56px 40px; text-align: center;
}
.page-hero-title { font-family: 'Merriweather', serif; font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.page-hero-sub { font-size: 18px; color: var(--text-muted); }
.page-content { padding: 56px 40px; max-width: 1360px; margin: 0 auto; }
.page-content h1, .page-content h2, .page-content h3 { font-family: 'Merriweather', serif; color: #fff; margin-bottom: 16px; margin-top: 32px; }
.page-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.page-content a { color: var(--gold); }

/* 404 */
.error-404 { text-align: center; padding: 100px 40px; }
.error-404 .error-code { font-size: 120px; font-weight: 900; color: var(--gold); opacity: .3; line-height: 1; margin-bottom: -20px; font-family: 'Merriweather', serif; }
.error-404 h1 { font-family: 'Merriweather', serif; font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.error-404 p { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }

/* ═══════════════════════════════════
   MOBILE MENU
═══════════════════════════════════ */
.mobile-menu-toggle { display: none; background: none; border: none; color: #fff; padding: 4px; }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  z-index: 8000; opacity: 0; visibility: hidden; transition: opacity .3s;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 300px; background: var(--bg-dark);
  z-index: 8001; padding: 24px;
  transform: translateX(-100%); transition: transform .35s;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--text-white); border-bottom: .667px solid rgba(255,255,255,.06); transition: color .2s; }
.mobile-nav-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .cart-page-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .wc-shop-layout { flex-direction: column; }
  .wc-sidebar { width: 100%; }
  .auth-grid { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-top { padding: 10px 20px; }
  .header-search { display: none; }
  .site-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero-section { padding: 16px 20px; }
  .hero-inner { height: 440px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .features-section { padding: 48px 20px 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .section-header { flex-direction: column; gap: 16px; align-items: flex-start; padding: 0 20px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 20px; }
  .category-section { padding: 0 20px 32px; }
  .category-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 40px 20px 32px; }
  .newsletter-form { flex-direction: column; }
  .cart-drawer { width: 100vw; }
  .form-row { grid-template-columns: 1fr; }
  .product-add-form { flex-direction: column; align-items: stretch; }
  .hero-btns { flex-direction: column; }
  .page-hero { padding: 40px 20px; }
  .page-hero-title { font-size: 32px; }
  .wc-shop-page, .single-product-page, .cart-page, .checkout-page, .my-account-page, .login-register-page { padding: 20px 10px; }
  .container, .container-fluid { padding: 0 20px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
}

/* ── FOOTER LOGO (dynamic uploaded) ── */
.footer-logo-wrap {
    margin-bottom: 16px;
}
.footer-logo-wrap img {
    max-width: 150px;
    height: auto;
    display: block;
    filter: brightness(1);
    transition: opacity .2s;
}
.footer-logo-wrap img:hover { opacity: .85; }
.footer-logo-wrap svg { display: block; }




/* ═══════════════════════════════════
   QUICK VIEW MODAL
═══════════════════════════════════ */

/* Quick view */
.product-img-wrap .quick-view-btn {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.75);
  color: #fff; border: none; padding: 10px;
  font-size: 13px; font-weight: 500;
  transform: translateY(100%); transition: transform .25s;
  text-align: center; cursor: pointer;
}

.qv-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9500;
  opacity: 0; visibility: hidden;
  transition: opacity .3s;
}
.qv-overlay.active { opacity: 1; visibility: visible; }

.qv-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(.96);
  width: 90%; max-width: 900px;
  max-height: 90vh;
  background: var(--bg-dark);
  border: .667px solid var(--border-light);
  border-radius: 20px;
  z-index: 9501;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.qv-modal.open {
  opacity: 1; visibility: visible;
  transform: translate(-50%,-50%) scale(1);
}

/* Close btn */
.qv-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1); border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.qv-close:hover { background: rgba(255,255,255,.2); }

/* Loading spinner */
.qv-loading {
  display: flex; align-items: center; justify-content: center;
  height: 300px;
}
.qv-loading.hidden { display: none; }
.qv-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

/* Inner layout */
.qv-content { overflow-y: auto; max-height: 90vh; }
.qv-content::-webkit-scrollbar { width: 4px; }
.qv-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

.qv-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

/* Gallery side */
.qv-gallery {
  background: var(--card-bg);
  padding: 32px 24px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.qv-main-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-darkest);
  height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.qv-main-img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .4s ease;qu
}
.qv-main-img:hover { transform: scale(1.04); }

.qv-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.qv-thumb {
  width: 64px; height: 64px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer; transition: border-color .2s;
  background: var(--bg-darkest);
  flex-shrink: 0;
}
.qv-thumb:hover, .qv-thumb.active { border-color: var(--gold); }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info side */
.qv-info {
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}
.qv-cat {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-olive);
}
.qv-title {
  font-family: 'Merriweather', serif;
  font-size: 22px; font-weight: 700; color: #fff;
  line-height: 1.3;
}
.qv-title a { color: inherit; }
.qv-title a:hover { color: var(--gold); }

.qv-rating { display: flex; align-items: center; gap: 8px; }
.qv-stars { font-size: 16px; color: var(--star); letter-spacing: 2px; }
.qv-rev-count { font-size: 12px; color: var(--text-gray); }

.qv-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.qv-price-main { font-size: 28px; font-weight: 800; color: var(--gold); }
.qv-price-old { font-size: 16px; color: var(--text-gray); text-decoration: line-through; }
.qv-save-badge {
  background: rgba(0,166,62,.15); color: var(--green-badge);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px;
}

.qv-excerpt {
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,.65);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 0;
  max-height: 80px; overflow: hidden;
}

.qv-stock-in, .qv-out-stock {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
}
.qv-stock-in { color: var(--green-badge); }
.qv-out-stock { color: #ff6b6b; }
.qv-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* Qty + Add btn */
.qv-add-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qv-qty {
  display: flex; align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; overflow: hidden;
  height: 48px;
}
.qv-qty button {
  width: 40px; height: 48px; background: none; border: none;
  color: #fff; font-size: 20px; cursor: pointer;
  transition: background .2s; display: flex; align-items: center; justify-content: center;
}
.qv-qty button:hover { background: rgba(255,255,255,.1); }
.qv-qty-input {
  width: 48px; height: 48px; background: none; border: none;
  color: #fff; text-align: center; font-size: 16px; font-weight: 700;
  outline: none; font-family: 'Inter',sans-serif;
}
.qv-add-btn {
  flex: 1; min-width: 150px; height: 48px;
  background: var(--red); color: #fff;
  border: none; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; letter-spacing: .4px;
  transition: background .2s, transform .15s;
  font-family: 'Inter',sans-serif;
}
.qv-add-btn:hover { background: #8f1102; transform: translateY(-1px); }
.qv-add-btn.added { background: var(--green-badge); }
.qv-btn-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .6s linear infinite; display: none;
}
.qv-add-btn.loading .qv-btn-spinner { display: block; }
.qv-add-btn.loading .qv-btn-label { display: none; }

.qv-view-full {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gold); font-weight: 500;
  border-bottom: 1px solid rgba(200,155,82,.3);
  padding-bottom: 2px; transition: color .2s;
  align-self: flex-start; margin-top: auto;
}
.qv-view-full:hover { color: #d4a85c; }

/* Responsive */
@media (max-width: 700px) {
  .qv-inner { grid-template-columns: 1fr; }
  .qv-gallery { padding: 48px 20px 16px; }
  .qv-main-img-wrap { height: 240px; }
  .qv-info { padding: 20px; }
  .qv-modal { width: 95%; max-height: 95vh; }
  .qv-title { font-size: 18px; }
  .qv-price-main { font-size: 24px; }
}



