/* ============================================================
   MIKE'S SKINS — Complete Stylesheet
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --fire:      #FF4D00;
  --ember:     #FF9A00;
  --crisp:     #FFF3E0;
  --char:      #111008;
  --smoke:     #1e1b14;
  --gold:      #E8C84A;
  --white:     #FAFAF7;
  --font-head: 'Bebas Neue', cursive;
  --font-body: 'DM Sans', sans-serif;
  --header-h:  80px;
  --max-w:     1300px;
  --gap:       2rem;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--char);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.35;
}
a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--fire); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  letter-spacing: 3px; line-height: 1.1;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ── */
.btn-primary,
button.btn-primary,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-block;
  background: var(--fire); color: #fff; border: none;
  padding: 0.85rem 2.25rem;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.15s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--ember); color: #fff; transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block; background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.85rem 2.25rem;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }

/* ── NAVIGATION ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: var(--header-h);
  background: linear-gradient(to bottom, rgba(17,16,8,0.96), rgba(17,16,8,0));
  backdrop-filter: blur(6px);
  transition: background 0.3s;
}
.site-header.scrolled { background: rgba(17,16,8,0.97); }

.site-branding a {
  font-family: var(--font-head); font-size: 1.9rem;
  color: var(--gold); letter-spacing: 4px; text-decoration: none;
}
.site-branding a:hover { opacity: 0.8; color: var(--gold); }

/* Desktop nav */
#primary-navigation { display: flex; align-items: center; }
#primary-menu {
  display: flex; gap: 2.5rem; padding: 0; margin: 0;
}
#primary-menu li a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(250,243,224,0.72);
  transition: color 0.2s; white-space: nowrap;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a { color: var(--ember); }

/* Cart + shop btn (desktop) */
.header-cart { display: flex; align-items: center; gap: 1.25rem; }
.header-cart .cart-link {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--white);
  display: flex; align-items: center; gap: 0.45rem;
  opacity: 0.78; transition: opacity 0.2s, color 0.2s;
}
.header-cart .cart-link:hover { opacity: 1; color: var(--ember); }
.cart-count {
  background: var(--fire); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Mobile menu overlay - hidden by default on desktop */
#ms-mobile-nav {
  display: none;
}

.nav-shop-btn {
  background: var(--fire); color: #fff; border: none;
  padding: 0.55rem 1.4rem;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  clip-path: polygon(7px 0%, 100% 0%, calc(100% - 7px) 100%, 0% 100%);
  transition: background 0.2s; text-decoration: none; display: inline-block;
}
.nav-shop-btn:hover { background: var(--ember); color: #fff; }

/* Hamburger button — hidden on desktop */
.menu-toggle {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; padding: 0;
}

/* Mobile menu overlay */
.ms-nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.menu-open .ms-nav-overlay {
  display: block;
  opacity: 1;
}

/* Ensure mobile menu is above overlay and clickable */
#ms-mobile-nav {
  pointer-events: none;
}
#ms-mobile-nav.open {
  pointer-events: auto;
}
.toggle-bar {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-open .menu-toggle .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle .toggle-bar:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile cart icon — hidden on desktop */
.mobile-cart-btn {
  display: none;
  align-items: center; justify-content: center;
  position: relative; color: var(--white);
  width: 44px; height: 44px;
  text-decoration: none;
}
.mobile-cart-btn .cart-count {
  position: absolute; top: 4px; right: 4px;
  width: 15px; height: 15px; font-size: 0.55rem;
}

/* Close button inside mobile nav — hidden on desktop */
.menu-close-button { display: none; }

/* ── TICKER ── */
.ticker-wrap { width: 100%; overflow: hidden; background: var(--fire); padding: 0.6rem 0; }
.ticker {
  display: flex; animation: ticker 24s linear infinite;
  white-space: nowrap; width: max-content;
}
.ticker span {
  font-family: var(--font-head); font-size: 0.95rem;
  letter-spacing: 3px; color: #fff; padding: 0 2rem;
}
.ticker span.dot { color: var(--gold); padding: 0; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 8rem 2rem 4rem; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,77,0,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(232,200,74,0.08) 0%, transparent 60%),
    var(--char);
}
.hero-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase; color: var(--ember);
  border: 1px solid rgba(255,154,0,0.35); padding: 0.4rem 1.2rem;
  margin-bottom: 2rem; position: relative; z-index: 1;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-size: clamp(4.5rem, 13vw, 11rem); line-height: 0.92;
  letter-spacing: 6px; position: relative; z-index: 1;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 span { color: var(--fire); display: block; }
.hero-sub {
  font-size: 1rem; font-weight: 300; color: rgba(250,250,247,0.58);
  max-width: 460px; line-height: 1.75; margin: 1.5rem auto 2.5rem;
  position: relative; z-index: 1; animation: fadeUp 0.7s 0.2s ease both;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1; animation: fadeUp 0.7s 0.3s ease both;
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; color: var(--ember);
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
}
.section-label::after {
  content: ''; display: block; height: 1px; width: 50px;
  background: var(--ember); opacity: 0.5;
}
.section-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem); letter-spacing: 4px; line-height: 1;
  margin-bottom: 0.5rem;
}

/* ── HOME PRODUCT SECTIONS ── */
.product-section { padding: 7rem 4rem 0; position: relative; overflow: hidden; }
.pork-section    { background: var(--smoke); }
.chicken-section { background: #16130c; }
.chips-section   { background: var(--smoke); }
.pork-section::before {
  content: ''; position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  background: radial-gradient(ellipse 80% 70% at 80% 50%, rgba(255,77,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.chicken-section::before {
  content: ''; position: absolute; top: 0; left: 0; width: 55%; height: 100%;
  background: radial-gradient(ellipse 80% 70% at 20% 50%, rgba(232,200,74,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.chips-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,154,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1;
}
.product-layout.reverse { direction: rtl; }
.product-layout.reverse > * { direction: ltr; }

.product-number { font-size: 8rem; color: rgba(255,255,255,0.04); line-height: 1; margin-bottom: -2.5rem; }
.product-name { font-size: clamp(2.2rem, 3.5vw, 3.8rem); letter-spacing: 4px; line-height: 1; margin: 0.5rem 0 1rem; }
.product-desc { font-size: 0.95rem; font-weight: 300; color: rgba(250,250,247,0.58); line-height: 1.8; max-width: 420px; margin-bottom: 2rem; }
.flavor-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 2rem; }
.flavor-tag {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.58);
  transition: border-color 0.2s, color 0.2s; cursor: default;
}
.flavor-tag:hover { border-color: var(--ember); color: var(--ember); }
.flavor-tag.hot  { border-color: rgba(255,77,0,0.4);   color: var(--fire); }
.flavor-tag.gold { border-color: rgba(232,200,74,0.4); color: var(--gold); }

/* Home product cards */
.product-visual { display: flex; justify-content: center; align-items: center; }
.product-card-big {
  width: 100%; max-width: 420px; aspect-ratio: 3/4;
  border-radius: 4px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2.25rem;
  cursor: pointer; transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
}
.product-card-big:hover { transform: scale(1.02) translateY(-5px); }
.card-bg { position: absolute; inset: 0; z-index: 0; }
.card-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,8,4,0.88) 0%, rgba(10,8,4,0.08) 60%);
}
.card-emoji {
  font-size: 7.5rem; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -65%); z-index: 2;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.5));
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
}
.product-card-big:hover .card-emoji { transform: translate(-50%, -70%) scale(1.07) rotate(-3deg); }
.card-info { position: relative; z-index: 3; }
.card-title { font-size: 2rem; letter-spacing: 3px; margin-bottom: 0.2rem; }
.card-subtitle { font-size: 0.72rem; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.48); }
.card-price {
  position: absolute; top: 1.25rem; right: 1.25rem; z-index: 3;
  background: var(--fire); color: #fff;
  font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 2px;
  padding: 0.3rem 0.8rem;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}
.pork-card .card-bg    { background: linear-gradient(135deg, #2a1509 0%, #3d1a0a 50%, #1a0d04 100%); }
.chicken-card .card-bg { background: linear-gradient(135deg, #1a1505 0%, #2d2208 50%, #120f03 100%); }
.chips-card .card-bg   { background: linear-gradient(135deg, #1a0a00 0%, #2d1500 50%, #0d0800 100%); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--fire); padding: 2.5rem 4rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.8rem; letter-spacing: 3px; color: #fff; }
.stat-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 0.25rem; }

/* ── CTA ── */
.cta-section {
  padding: 8rem 2rem; text-align: center;
  background: var(--char); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,77,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: 6px; line-height: 1; margin-bottom: 1.25rem; }
.cta-section p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.5); max-width: 400px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--smoke);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 5rem 4rem 2.5rem;
}
.footer-container { max-width: var(--max-w); margin: 0 auto; }

.footer-widgets {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Brand col */
.footer-logo {
  font-family: var(--font-head); font-size: 1.75rem; letter-spacing: 4px;
  color: var(--gold); text-decoration: none; display: block; margin-bottom: 0.85rem;
}
.footer-logo:hover { opacity: 0.78; color: var(--gold); }
.footer-tagline {
  font-size: 0.84rem; font-weight: 300; color: rgba(255,255,255,0.38);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 3px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social-link:hover { color: var(--ember); border-color: rgba(255,154,0,0.4); background: rgba(255,154,0,0.07); }

/* Widget headers */
.footer-widget-title {
  font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem;
}

/* Menu links */
.footer-menu { padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 0.6rem; }
.footer-menu a {
  font-size: 0.84rem; font-weight: 300; color: rgba(255,255,255,0.42);
  text-decoration: none; transition: color 0.2s;
}
.footer-menu a:hover { color: var(--ember); }
/* WP outputs nav > ul, style the ul */
.footer-nav ul { padding: 0; margin: 0; list-style: none; }
.footer-nav ul li { margin-bottom: 0.6rem; }
.footer-nav ul li a {
  font-size: 0.84rem; font-weight: 300; color: rgba(255,255,255,0.42);
  text-decoration: none; transition: color 0.2s;
}
.footer-nav ul li a:hover { color: var(--ember); }

/* Newsletter col */
.footer-newsletter-desc {
  font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.38);
  line-height: 1.65; margin-bottom: 1rem;
}
.footer-newsletter { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-newsletter input[type="email"] {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12); color: var(--white);
  padding: 0.7rem 1rem; font-family: var(--font-body); font-size: 0.85rem;
  outline: none; transition: border-color 0.2s; border-radius: 2px;
}
.footer-newsletter input[type="email"]:focus { border-color: var(--ember); background: rgba(255,255,255,0.07); }
.footer-newsletter input[type="email"]::placeholder { color: rgba(255,255,255,0.28); }
.footer-newsletter button {
  width: 100%; background: var(--fire); color: #fff; border: none;
  padding: 0.7rem 1rem; font-family: var(--font-body); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; border-radius: 2px;
}
.footer-newsletter button:hover { background: var(--ember); }
.footer-newsletter-note { font-size: 0.7rem; color: rgba(255,255,255,0.22); margin-top: 0.4rem; }

/* Bottom bar */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-legal a:hover { color: var(--ember); }

/* ============================================================
   INNER PAGE WRAPPER
   ============================================================ */
.site-main { padding-top: var(--header-h); min-height: 60vh; }

/* WooCommerce pages — body class based */
body.woocommerce .site-main,
body.woocommerce-page .site-main,
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main {
  background: var(--smoke);
  padding-top: var(--header-h);
}

/* Admin bar adjustment for WooCommerce pages */
.admin-bar body.woocommerce-page .site-main,
.admin-bar .woocommerce-cart .site-main,
.admin-bar .woocommerce-checkout .site-main,
.admin-bar .woocommerce-account .site-main {
  padding-top: calc(var(--header-h) + 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar body.woocommerce-page .site-main,
  .admin-bar .woocommerce-cart .site-main,
  .admin-bar .woocommerce-checkout .site-main,
  .admin-bar .woocommerce-account .site-main {
    padding-top: calc(var(--header-h) + 46px);
  }
}

.woocommerce-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
  width: 100%;
}

/* Static page */
.page-main { background: var(--smoke); }
.page-article {
  max-width: 860px; margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.page-header { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.page-heading { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: 4px; color: var(--white); }
.page-content { color: rgba(250,250,247,0.7); line-height: 1.85; font-size: 1rem; }
.page-content h2, .page-content h3 { color: var(--white); margin: 2rem 0 1rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content a { color: var(--ember); }
.page-content a:hover { color: var(--fire); }
/* entry-content alias */
.entry-content { color: rgba(250,250,247,0.7); line-height: 1.85; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content h2, .entry-content h3 { color: var(--white); margin: 2rem 0 1rem; }
.entry-content a { color: var(--ember); }
.entry-title {
  font-size: clamp(2rem, 5vw, 4rem); letter-spacing: 4px;
  color: var(--white); margin-bottom: 2rem;
}

/* ============================================================
   WOOCOMMERCE — SHOP / ARCHIVE
   ============================================================ */

/* Page title header */
.woocommerce-products-header {
  text-align: center; padding: 1.5rem 0 1.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.woocommerce-products-header__title,
.woocommerce h1.page-title {
  font-family: var(--font-head); color: var(--white);
  letter-spacing: 4px; font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 0.5rem;
}
.woocommerce-archive-description p {
  font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.5);
  max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* Breadcrumb */
.woocommerce-breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.38); margin-bottom: 1.5rem; }
.woocommerce-breadcrumb a { color: var(--ember); }
.woocommerce-breadcrumb a:hover { color: var(--fire); }

/* Ordering + result count row */
.woocommerce-notices-wrapper { margin-bottom: 1rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: rgba(255,77,0,0.08); border: 1px solid rgba(255,77,0,0.25);
  color: var(--white); padding: 0.9rem 1.25rem; margin-bottom: 1.25rem; list-style: none;
}
.woocommerce-ordering select {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); padding: 0.5rem 1rem; font-family: var(--font-body);
  cursor: pointer; outline: none;
}
.woocommerce-result-count { font-size: 0.82rem; color: rgba(255,255,255,0.42); margin-bottom: 1rem; }

/* Product grid */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0; margin: 1.5rem 0 2rem;
}

/* Override WooCommerce default percentage widths that conflict with CSS Grid */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce-page ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce-page ul.products.columns-5 li.product,
.woocommerce ul.products.columns-6 li.product,
.woocommerce-page ul.products.columns-6 li.product,
.woocommerce ul.products li.product.first,
.woocommerce-page ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product.last {
  width: auto !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  float: none !important;
  clear: none !important;
}

.woocommerce ul.products li.product {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px; padding: 1.25rem;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
  float: none; width: 100%; margin: 0;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px); border-color: rgba(255,77,0,0.3);
}
.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 2px; margin-bottom: 0.85rem; display: block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 2px;
  color: var(--white); margin: 0.4rem 0 0.3rem;
}
.woocommerce ul.products li.product .price {
  font-size: 1.05rem; font-weight: 700; color: var(--ember); margin: 0.3rem 0 1rem;
}
.woocommerce ul.products li.product .price del {
  color: rgba(255,255,255,0.35); font-size: 0.88rem; margin-right: 0.35rem;
}
.woocommerce ul.products li.product .button { margin-top: auto; width: 100%; text-align: center; }

/* Pagination */
.woocommerce-pagination { margin-top: 2.5rem; text-align: center; }
.woocommerce-pagination ul { display: inline-flex; gap: 0.4rem; padding: 0; list-style: none; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 0.75rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); text-decoration: none; border-radius: 2px; font-size: 0.85rem;
}
.woocommerce-pagination ul li .current { background: var(--fire); border-color: var(--fire); }
.woocommerce-pagination ul li a:hover { background: rgba(255,77,0,0.2); border-color: var(--fire); }

/* ── SINGLE PRODUCT HERO BAND ── */
.single-product-hero {
  background: linear-gradient(to bottom, rgba(30,27,20,0.95), rgba(17,16,8,0.7));
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 0 2rem;
  margin-bottom: 0;
}
.single-product-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.single-product-hero__meta {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--ember);
  margin-bottom: 0.5rem;
}
.single-product-hero__meta a { color: var(--ember); }
.single-product-hero__meta a:hover { color: var(--fire); }
.single-product-hero__title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: 5px; color: var(--white); line-height: 1;
}

/* Hide WooCommerce's own title output since hero shows it */
.woocommerce div.product .product_title { display: none; }

/* ============================================================
   WOOCOMMERCE — SINGLE PRODUCT
   ============================================================ */

/* Two-column layout: gallery left, summary right */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  row-gap: 3rem;
  align-items: start;
  padding-top: 1.5rem;
}

/* ── BREADCRUMB (re-enabled on single product) ── */
.single-product .woocommerce-breadcrumb {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
}
.single-product .woocommerce-breadcrumb a { color: var(--ember); }
.single-product .woocommerce-breadcrumb a:hover { color: var(--fire); }
.single-product .woocommerce-breadcrumb .breadcrumb-separator { margin: 0 0.4rem; opacity: 0.4; }

/* ── GALLERY (col 1) ── */
.woocommerce div.product .woocommerce-product-gallery {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  max-width: 420px;
}

/* Main image */
.woocommerce div.product .woocommerce-product-gallery__image {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.woocommerce div.product .woocommerce-product-gallery__image img {
  width: 100%; display: block;
  max-height: 420px;
  object-fit: contain;
  transition: opacity 0.3s;
}
/* Kill zoom */
.woocommerce div.product .woocommerce-product-gallery__image a {
  cursor: default; pointer-events: none; display: block;
}
.woocommerce-product-gallery--with-images .woocommerce-product-gallery__wrapper { cursor: default; }
.zoomImg { display: none !important; }

/* Sale badge on image */
.woocommerce div.product .onsale {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--fire); color: #fff;
  font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 2px;
  padding: 0.3rem 0.75rem;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  z-index: 2;
}

/* Thumbnail strip */
.woocommerce div.product .flex-control-nav.flex-control-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0; list-style: none;
}
.woocommerce div.product .flex-control-thumbs li {
  flex: 0 0 calc(25% - 0.4rem);
}
.woocommerce div.product .flex-control-thumbs li img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 2px; display: block; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s;
}
.woocommerce div.product .flex-control-thumbs li img.flex-active,
.woocommerce div.product .flex-control-thumbs li img:hover {
  border-color: var(--fire);
}

/* ── SUMMARY (col 2) ── */
.woocommerce div.product .summary.entry-summary {
  grid-column: 2;
  grid-row: 1;
}

/* Product title */
.woocommerce div.product .product_title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 3px; color: var(--white);
  margin-bottom: 0.75rem; line-height: 1.05;
}

/* Star rating */
.woocommerce-product-rating {
  display: flex; align-items: center; gap: 0.65rem;
  margin-bottom: 1rem;
}
.woocommerce-product-rating .star-rating {
  display: inline-flex; align-items: center; overflow: hidden;
  font-family: var(--font-body); font-size: 0.85rem;
  width: 5.4em; height: 1em; position: relative;
}
.woocommerce-product-rating .star-rating::before {
  content: "sssss";
  font-family: WooCommerce;
  color: rgba(255,255,255,0.2);
  float: left; top: 0; left: 0; position: absolute;
  letter-spacing: 0.2em;
}
.woocommerce-product-rating .star-rating span {
  overflow: hidden; float: left; top: 0; left: 0;
  position: absolute; padding-top: 1.5em;
}
.woocommerce-product-rating .star-rating span::before {
  content: "SSSSS";
  font-family: WooCommerce;
  color: var(--gold);
  top: 0; position: absolute; left: 0;
  letter-spacing: 0.2em;
}
.woocommerce-product-rating .woocommerce-review-link {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}
.woocommerce-product-rating .woocommerce-review-link:hover { color: var(--ember); }

/* Price */
.woocommerce div.product .price {
  display: block;
  font-size: 1.75rem; font-weight: 700; color: var(--ember);
  margin-bottom: 1.25rem; line-height: 1;
}
.woocommerce div.product .price del {
  color: rgba(255,255,255,0.32); font-size: 1.1rem; margin-right: 0.5rem;
}
.woocommerce div.product .price ins { text-decoration: none; }

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 0.95rem; font-weight: 300; color: rgba(250,250,247,0.6);
  line-height: 1.85; margin-bottom: 1.75rem;
  padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.woocommerce div.product .woocommerce-product-details__short-description p { margin-bottom: 0.75rem; }
.woocommerce div.product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

/* Variable product — variation form */
.woocommerce div.product .variations {
  width: 100%; border-collapse: collapse;
  margin-bottom: 1.25rem;
}
.woocommerce div.product .variations tr { display: flex; flex-direction: column; margin-bottom: 1rem; }
.woocommerce div.product .variations .label label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.52); margin-bottom: 0.4rem; display: block;
}
.woocommerce div.product .variations .value { display: block; }
.woocommerce div.product .variations select {
  width: 100%; padding: 0.72rem 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); font-family: var(--font-body); font-size: 0.95rem;
  outline: none; border-radius: 2px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.woocommerce div.product .variations select:focus { border-color: var(--fire); }
.woocommerce div.product .reset_variations {
  font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 0.35rem; display: inline-block;
}
.woocommerce div.product .reset_variations:hover { color: var(--ember); }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 1rem; }
.woocommerce div.product .woocommerce-variation-availability { margin-bottom: 1rem; }

/* Stock */
.woocommerce div.product .stock {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.woocommerce div.product .in-stock  { color: #5ec97a; }
.woocommerce div.product .out-of-stock { color: rgba(255,255,255,0.4); }

/* Quantity + add to cart */
.woocommerce div.product form.cart {
  display: flex; align-items: stretch; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.woocommerce div.product .quantity {
  display: flex; align-items: center;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 2px;
  overflow: hidden;
}
.woocommerce div.product .quantity .qty {
  width: 64px; height: 48px; text-align: center;
  background: rgba(255,255,255,0.05); border: none;
  color: var(--white); font-family: var(--font-body); font-size: 1rem;
  outline: none;
}
.woocommerce div.product .quantity .qty:focus { background: rgba(255,255,255,0.08); }
.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1; min-width: 150px; text-align: center;
  height: 48px; padding: 0 2rem;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  border-radius: 0;
}

/* Product meta (SKU, categories, tags) */
.woocommerce div.product .product_meta {
  font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.9;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.07);
}
.woocommerce div.product .product_meta .sku_wrapper,
.woocommerce div.product .product_meta .posted_in,
.woocommerce div.product .product_meta .tagged_as { display: block; }
.woocommerce div.product .product_meta .sku_wrapper { margin-bottom: 0.25rem; }
.woocommerce div.product .product_meta a { color: var(--ember); }
.woocommerce div.product .product_meta a:hover { color: var(--fire); }

/* ── TABS (row 2, full width) ── */
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex; gap: 0; padding: 0; margin: 0; list-style: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 0 -1px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block; padding: 0.85rem 1.75rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.42); border: 1px solid transparent; border-bottom: none;
  transition: color 0.2s; text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: rgba(255,255,255,0.03);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--white); border-color: rgba(255,255,255,0.1); border-bottom-color: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--ember); }

/* Tab panel content */
.woocommerce div.product .woocommerce-tabs .panel {
  padding: 2.5rem 0;
  color: rgba(250,250,247,0.65); line-height: 1.85; font-size: 0.95rem;
  display: none;
}
.woocommerce div.product .woocommerce-tabs .panel.active,
.woocommerce div.product .woocommerce-tabs #tab-description,
.woocommerce div.product .woocommerce-tabs #tab-reviews,
.woocommerce div.product .woocommerce-tabs #tab-additional_information { display: block; }
.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-size: 1.4rem; letter-spacing: 2px; color: var(--white); margin-bottom: 1.25rem;
}
.woocommerce div.product .woocommerce-tabs .panel p { margin-bottom: 1rem; }
.woocommerce div.product .woocommerce-tabs .panel a { color: var(--ember); }
.woocommerce div.product .woocommerce-tabs .panel a:hover { color: var(--fire); }

/* Additional information tab — attributes table */
.woocommerce div.product .woocommerce-product-attributes {
  width: 100%; border-collapse: collapse;
}
.woocommerce div.product .woocommerce-product-attributes th,
.woocommerce div.product .woocommerce-product-attributes td {
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.88rem; text-align: left; vertical-align: top;
}
.woocommerce div.product .woocommerce-product-attributes th {
  font-family: var(--font-head); letter-spacing: 2px; font-size: 0.78rem;
  color: rgba(255,255,255,0.42); font-weight: 400;
  width: 30%; padding-right: 1.5rem;
}
.woocommerce div.product .woocommerce-product-attributes td { color: rgba(255,255,255,0.72); }

/* Reviews tab */
#reviews { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* Prevent page titles from being covered by fixed header */
.page-heading,
.entry-title,
.woocommerce-products-header__title.page-title,
h1.woocommerce-products-header__title {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  padding-top: 0.5rem;
}
#reviews #comments { margin-bottom: 2.5rem; }
#reviews #comments .woocommerce-Reviews-title {
  font-size: 1.2rem; letter-spacing: 2px; color: var(--white); margin-bottom: 1.5rem;
}
#reviews .woocommerce-comment-meta time { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* Individual review */
.woocommerce-Reviews .comment { padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.woocommerce-Reviews .comment:last-child { border-bottom: none; }
.woocommerce-Reviews .comment .meta {
  font-size: 0.82rem; color: rgba(255,255,255,0.42); margin-bottom: 0.5rem;
}
.woocommerce-Reviews .comment .meta strong { color: var(--white); margin-right: 0.5rem; }
.woocommerce-Reviews .comment .description p {
  font-size: 0.9rem; color: rgba(250,250,247,0.62); line-height: 1.75;
}
.woocommerce-Reviews .comment .star-rating { margin-bottom: 0.5rem; }

/* Review form */
#review_form_wrapper { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.07); }
#review_form_wrapper #reply-title {
  font-size: 1.15rem; letter-spacing: 2px; color: var(--white); margin-bottom: 1.25rem;
}
.woocommerce-Reviews #review_form .comment-form-rating { margin-bottom: 1.1rem; }
.woocommerce-Reviews #review_form .comment-form-rating label {
  font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.52); display: block; margin-bottom: 0.35rem;
}
.woocommerce-Reviews #review_form .stars a {
  color: rgba(255,255,255,0.25); font-size: 1.2rem; transition: color 0.2s;
}
.woocommerce-Reviews #review_form .stars:hover a,
.woocommerce-Reviews #review_form .stars a:hover,
.woocommerce-Reviews #review_form .stars a.active { color: var(--gold); }
.woocommerce-Reviews #review_form .comment-form-comment label,
.woocommerce-Reviews #review_form .comment-form-author label,
.woocommerce-Reviews #review_form .comment-form-email label {
  font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.52); display: block; margin-bottom: 0.35rem;
}
.woocommerce-Reviews #review_form input[type="text"],
.woocommerce-Reviews #review_form input[type="email"],
.woocommerce-Reviews #review_form textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); padding: 0.72rem 0.9rem;
  font-family: var(--font-body); font-size: 1rem; outline: none; border-radius: 2px;
  transition: border-color 0.2s; margin-bottom: 1.1rem;
}
.woocommerce-Reviews #review_form input:focus,
.woocommerce-Reviews #review_form textarea:focus { border-color: var(--fire); }
.woocommerce-Reviews #review_form textarea { min-height: 120px; resize: vertical; }
.woocommerce-Reviews #review_form input::placeholder,
.woocommerce-Reviews #review_form textarea::placeholder { color: rgba(255,255,255,0.28); }

/* ── UPSELLS (row 3, full width) ── */
.woocommerce div.product .upsells.products,
.woocommerce div.product .related.products,
.related-products-section {
  grid-column: 1 / -1;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.woocommerce div.product .upsells.products > h2,
.woocommerce div.product .related.products > h2,
.related-products-section .section-label {
  font-size: 1.4rem; letter-spacing: 3px; color: var(--white); margin-bottom: 1.5rem;
}
/* Limit related/upsells to 4 columns */
.woocommerce div.product .upsells ul.products,
.woocommerce div.product .related ul.products {
  grid-template-columns: repeat(4, 1fr);
}

/* ── NOTICES on single product ── */
.woocommerce-page div.product ~ .woocommerce-message { margin-bottom: 1.5rem; }

/* ============================================================
/* ============================================================
   WOOCOMMERCE — CART PAGE
   ============================================================ */
.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}
.woocommerce-cart .woocommerce-cart-form { grid-column: 1; }
.woocommerce-cart .cart-collaterals      { grid-column: 2; }

/* Cart table */
.woocommerce-cart .shop_table.cart {
  width: 100%; border-collapse: collapse; color: var(--white);
}
.woocommerce-cart .shop_table.cart th {
  font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 2px;
  font-weight: 400; color: rgba(255,255,255,0.45);
  padding: 0 0.75rem 1rem; text-transform: uppercase; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.woocommerce-cart .shop_table.cart td {
  padding: 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  vertical-align: middle; font-size: 0.9rem;
}
.woocommerce-cart .shop_table.cart .product-thumbnail img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 2px;
}
.woocommerce-cart .shop_table.cart .product-name a {
  color: var(--white); font-weight: 500; font-size: 0.95rem;
}
.woocommerce-cart .shop_table.cart .product-name a:hover { color: var(--ember); }
.woocommerce-cart .shop_table.cart .product-price { color: rgba(255,255,255,0.55); }
.woocommerce-cart .shop_table.cart .product-subtotal { font-weight: 600; color: var(--ember); }
.woocommerce-cart .shop_table.cart .product-remove a {
  color: rgba(255,255,255,0.3); font-size: 1.1rem;
  transition: color 0.2s;
}
.woocommerce-cart .shop_table.cart .product-remove a:hover { color: var(--fire); }
.woocommerce-cart .shop_table.cart .qty {
  width: 60px; height: 40px; text-align: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); font-size: 0.95rem; border-radius: 2px;
}

/* Cart actions */
.woocommerce-cart .actions {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; flex-wrap: wrap; gap: 0.75rem;
}
.woocommerce-cart .coupon { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.woocommerce-cart .coupon input[type="text"] {
  width: 200px; padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); font-family: var(--font-body); font-size: 0.88rem;
  outline: none; border-radius: 2px; transition: border-color 0.2s;
}
.woocommerce-cart .coupon input[type="text"]:focus { border-color: var(--ember); }
.woocommerce-cart .coupon input[type="text"]::placeholder { color: rgba(255,255,255,0.3); }

/* Cart totals */
.cart_totals {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem; border-radius: 3px;
}
.cart_totals h2 {
  font-size: 1.4rem; letter-spacing: 3px; color: var(--white); margin-bottom: 1.25rem;
}
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th,
.cart_totals table td {
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem; color: rgba(255,255,255,0.75);
}
.cart_totals table th { font-weight: 500; color: rgba(255,255,255,0.45); }
.cart_totals .order-total th,
.cart_totals .order-total td { font-size: 1.1rem; font-weight: 700; color: var(--white); border-bottom: none; padding-top: 1rem; }
.cart_totals .order-total td { color: var(--ember); }
.wc-proceed-to-checkout { margin-top: 1.5rem; }
.wc-proceed-to-checkout .checkout-button {
  display: block; width: 100%; text-align: center;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

/* ============================================================
   WOOCOMMERCE — CHECKOUT
   ============================================================ */
.woocommerce-checkout .woocommerce > form.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 4rem;
  row-gap: 0;
  align-items: start;
}

/* Customer details (billing + shipping) — left column */
.woocommerce-checkout #customer_details {
  grid-column: 1; grid-row: 1 / 3;
}
/* The col2-set within customer_details stacks billing & shipping vertically */
.woocommerce-checkout .col2-set { display: block; }
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 { width: 100%; margin-bottom: 2rem; }

/* Order review heading — right column top */
#order_review_heading {
  grid-column: 2; grid-row: 1;
  font-size: 1.4rem; letter-spacing: 3px; color: var(--white);
  padding-top: 0.25rem; margin-bottom: 1.25rem;
}
/* Order review — right column */
#order_review {
  grid-column: 2; grid-row: 2;
}
.woocommerce-checkout-review-order {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem; border-radius: 3px;
}
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.88rem; color: rgba(255,255,255,0.72); text-align: left;
}
.woocommerce-checkout-review-order-table th { color: rgba(255,255,255,0.42); font-weight: 500; }
.woocommerce-checkout-review-order-table .product-total { text-align: right; }
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .order-total td { text-align: right; }
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.05rem; font-weight: 700; color: var(--white); border-bottom: none;
}
.woocommerce-checkout-review-order-table .order-total td { color: var(--ember); }

/* Payment section */
#payment {
  margin-top: 1.5rem; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem; border-radius: 3px;
}
#payment ul.payment_methods { padding: 0; margin: 0 0 1.25rem; }
#payment ul.payment_methods li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 0.9rem;
}
#payment ul.payment_methods li:last-child { border-bottom: none; }
#payment ul.payment_methods li label {
  display: flex; align-items: center; gap: 0.6rem;
  cursor: pointer; color: var(--white); font-weight: 500;
}
#payment ul.payment_methods li img {
  max-height: 24px; border-radius: 2px; margin-left: 0.5rem;
}
.payment_box {
  padding: 0.85rem 0 0;
  font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.6;
}

/* Gateway iframe/form container — dark theme */
.payment_box fieldset,
.payment_box .form-row,
.wc-credit-card-form,
.wc-square-credit-card-form,
.wc-stripe-elements-field,
#wc-stripe-card-element,
#wc-square-card-element,
.wc-braintree-hosted-fields-container,
[id*="wc-"][id*="card-element"] {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 3px !important;
  padding: 0.75rem !important;
  color: var(--white) !important;
}

/* Generic iframe wrapper for any payment gateway */
.payment_box iframe {
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.04) !important;
  width: 100% !important;
}
#place_order {
  display: block; width: 100%; margin-top: 1.25rem;
  text-align: center; clip-path: none; border-radius: 2px;
  padding: 1rem; font-size: 0.9rem;
}

/* Checkout form fields */
.woocommerce-checkout .form-row { margin-bottom: 1.1rem; }
.woocommerce-checkout .form-row label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.75rem; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.52);
}
.woocommerce-checkout .form-row .required { color: var(--fire); margin-left: 2px; }
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); padding: 0.72rem 0.9rem;
  font-family: var(--font-body); font-size: 1rem;
  outline: none; border-radius: 2px; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--fire); box-shadow: 0 0 0 2px rgba(255,77,0,0.12);
}
.woocommerce-checkout .form-row input::placeholder,
.woocommerce-checkout .form-row textarea::placeholder { color: rgba(255,255,255,0.28); }
/* Half-width fields */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  display: inline-block; width: calc(50% - 0.5rem); vertical-align: top;
}
.woocommerce-checkout .form-row-first { margin-right: 1rem; }
.woocommerce-checkout .form-row-wide { display: block; width: 100%; }

/* Checkout notices */
.woocommerce-checkout h3 {
  font-size: 1.1rem; letter-spacing: 2px; color: var(--white); margin-bottom: 1rem;
}
.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.6; margin-bottom: 1rem;
}

/* ============================================================
   WOOCOMMERCE — ACCOUNT PAGE
   ============================================================ */
.woocommerce-account .woocommerce {
  display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem; border-radius: 3px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin-bottom: 0.25rem; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block; padding: 0.6rem 0.75rem; color: rgba(255,255,255,0.55);
  font-size: 0.85rem; border-radius: 2px; transition: background 0.2s, color 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(255,77,0,0.12); color: var(--ember);
}

/* ============================================================
   WC — SHARED FORM INPUTS (applies to all WC pages)
   ============================================================ */
.woocommerce .form-row label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.75rem; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.52);
}
.woocommerce .form-row input[type="text"],
.woocommerce .form-row input[type="email"],
.woocommerce .form-row input[type="tel"],
.woocommerce .form-row input[type="password"],
.woocommerce .form-row select,
.woocommerce .form-row textarea {
  width: 100%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); padding: 0.72rem 0.9rem;
  font-family: var(--font-body); font-size: 1rem;
  outline: none; border-radius: 2px; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.woocommerce .form-row input:focus,
.woocommerce .form-row select:focus { border-color: var(--fire); }
.woocommerce .form-row input::placeholder { color: rgba(255,255,255,0.28); }

/* ── SELECT2 — Country & State dropdowns ── */
/* WooCommerce replaces country/state selects with Select2 widgets */
.select2-container { width: 100% !important; }

.select2-container .select2-selection--single {
  width: 100%;
  height: auto;
  padding: 0.72rem 2.5rem 0.72rem 0.9rem;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 2px !important;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s;
  outline: none;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--white);
  line-height: 1.5;
  padding: 0;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(255,255,255,0.28);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%; top: 0; right: 0.75rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgba(255,255,255,0.4) transparent transparent transparent;
}
.select2-container--open .select2-selection--single {
  border-color: var(--fire) !important;
}
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--fire) !important;
  box-shadow: 0 0 0 2px rgba(255,77,0,0.12) !important;
}

/* Dropdown panel */
.select2-dropdown {
  background: #1e1b12 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 2px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
  z-index: 99999 !important;
}
.select2-search--dropdown {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.select2-search--dropdown .select2-search__field {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  width: 100%;
}
.select2-search--dropdown .select2-search__field:focus {
  border-color: var(--fire);
}
.select2-results__options {
  max-height: 240px;
  overflow-y: auto;
}
.select2-results__options::-webkit-scrollbar { width: 4px; }
.select2-results__options::-webkit-scrollbar-track { background: transparent; }
.select2-results__options::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.select2-results__option {
  padding: 0.6rem 0.9rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.select2-results__option--highlighted,
.select2-results__option[aria-selected="true"] {
  background: rgba(255,77,0,0.15) !important;
  color: var(--white) !important;
}
.select2-results__option[aria-selected="true"] {
  color: var(--ember) !important;
}
/* Grouping headers */
.select2-results__group {
  font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.28); padding: 0.6rem 0.9rem 0.3rem;
}

/* ── CF7 FORMS ── */
.wpcf7-form label {
  display: block; font-size: 0.75rem; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.52); margin-bottom: 0.35rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12); color: var(--white);
  padding: 0.72rem 0.9rem; font-family: var(--font-body); font-size: 1rem;
  margin-bottom: 1.1rem; outline: none; transition: border-color 0.2s; border-radius: 2px;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--fire); }
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  border-radius: 0;
}

/* Admin bar */
.admin-bar .site-header { top: 32px; }
.admin-bar .site-main { padding-top: calc(var(--header-h) + 32px); }
@media screen and (max-width: 782px) { 
  .admin-bar .site-header { top: 46px; }
  .admin-bar .site-main { padding-top: calc(var(--header-h) + 46px); }
}

/* iOS Safari height */
@supports (-webkit-touch-callout: none) { 
  .hero { min-height: -webkit-fill-available; }
  
  /* Safe area insets for iOS devices with notch */
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .site-main,
  body.woocommerce-page .site-main,
  .woocommerce-cart .site-main,
  .woocommerce-checkout .site-main,
  .woocommerce-account .site-main {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }
  .admin-bar .site-main,
  .admin-bar body.woocommerce-page .site-main,
  .admin-bar .woocommerce-cart .site-main,
  .admin-bar .woocommerce-checkout .site-main,
  .admin-bar .woocommerce-account .site-main {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px);
  }
  @media screen and (max-width: 782px) {
    .admin-bar .site-main,
    .admin-bar body.woocommerce-page .site-main,
    .admin-bar .woocommerce-cart .site-main,
    .admin-bar .woocommerce-checkout .site-main,
    .admin-bar .woocommerce-account .site-main {
      padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 46px);
    }
  }
}

/* Print */
@media print {
  .site-header, .ticker-wrap, .hero-btns, .cta-btns, .site-footer,
  .menu-toggle, .header-cart { display: none !important; }
  body { background: white !important; color: black !important; }
  a { color: black !important; text-decoration: underline !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── 1200px ── */
@media (max-width: 1200px) {
  :root { --max-w: 100%; }
  .site-header { padding: 0 2.5rem; }
  .product-section { padding: 6rem 2.5rem; }
  .stats-bar { padding: 2.5rem 2.5rem; }
  .cta-section { padding: 6rem 2.5rem; }
  .site-footer { padding: 4rem 2.5rem 2rem; }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .woocommerce div.product { column-gap: 3rem; }
  .woocommerce-cart .woocommerce { grid-template-columns: 1fr 320px; gap: 2rem; }
  .woocommerce-checkout .woocommerce > form.woocommerce-checkout { column-gap: 3rem; }
  .footer-widgets { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem 2.5rem; }
}

/* ── 900px — hamburger menu ── */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .header-cart { display: none; }
  .mobile-cart-btn { display: flex; }

  /* Reduce header height on mobile */
  :root {
    --header-h: 70px;
  }

  /* Header: logo | spacer | cart icon | hamburger */
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 0 1.25rem;
    gap: 0.25rem;
    height: var(--header-h);
  }

  /* Full page overlay nav — lives outside header so backdrop-filter can't trap it */
  #ms-mobile-nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: #0e0c07;
    display: none;
    flex-direction: column;
    justify-content: center; align-items: center;
    padding: env(safe-area-inset-top, 2rem) 2rem 2rem;
    z-index: 10001;
    overflow-y: auto;
  }
  #ms-mobile-nav.open { display: flex; }

  #ms-primary-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 0;
  }
  #ms-primary-menu li a {
    font-size: 1.5rem; letter-spacing: 4px; text-transform: uppercase;
    padding: 0.9rem 2rem; display: block;
    color: var(--white); text-decoration: none;
    transition: color 0.2s;
  }
  #ms-primary-menu li a:hover { color: var(--fire); }

  .ms-nav-close {
    position: absolute; top: 1.25rem; right: 1.25rem;
    width: 44px; height: 44px; font-size: 1.2rem;
    background: rgba(255,77,0,0.15); border: 1px solid rgba(255,77,0,0.35);
    color: var(--white); border-radius: 4px; cursor: pointer;
  }

  /* Reduce WooCommerce header padding on mobile */
  .woocommerce-products-header {
    padding: 1rem 0 1rem;
    margin-bottom: 1rem;
  }
  .woocommerce-products-header__title,
  .woocommerce h1.page-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
    color: var(--white); border-radius: 3px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .ms-nav-close:hover { background: rgba(255,77,0,0.3); }

  /* Keep desktop nav hidden on mobile */
  #primary-navigation { display: none !important; }

  .woocommerce ul.products { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ── 768px ── */
@media (max-width: 768px) {
  .site-header { padding: 0 1.25rem; }

  /* Hero */
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero h1 { font-size: clamp(4.5rem, 18vw, 7rem); }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width: 100%; max-width: 280px; text-align: center; }

  /* Home sections */
  .product-section { padding: 4rem 1.25rem; }
  .product-layout, .product-layout.reverse {
    grid-template-columns: 1fr; direction: ltr; gap: 2rem;
  }
  .product-layout.reverse > * { direction: ltr; }
  .product-card-big { max-width: 100%; aspect-ratio: 4/3; }
  .product-number { font-size: 4.5rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.25rem; }
  .cta-section { padding: 4rem 1.25rem; }
  .site-footer { padding: 3rem 1.25rem 1.5rem; }

  /* WooCommerce base */
  .woocommerce-container { padding: 1.5rem 1.25rem 4rem; }
  .woocommerce ul.products { grid-template-columns: 1fr; gap: 1rem; }

  /* Single product — stack */
  .single-product-hero { padding: 1.75rem 0 1.25rem; }
  .woocommerce div.product {
    grid-template-columns: 1fr; column-gap: 0; row-gap: 2rem;
  }
  .woocommerce div.product .woocommerce-product-gallery {
    grid-column: 1; grid-row: 1; position: static;
  }
  .woocommerce div.product .summary.entry-summary { grid-column: 1; grid-row: 2; }
  .woocommerce div.product .woocommerce-tabs { grid-column: 1; }
  .woocommerce div.product .upsells.products,
  .woocommerce div.product .related.products,
  .related-products-section { grid-column: 1; }
  .woocommerce div.product .upsells ul.products,
  .woocommerce div.product .related ul.products { grid-template-columns: 1fr; }
  .woocommerce div.product form.cart { flex-wrap: wrap; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap: wrap; }

  /* Cart — stack */
  .woocommerce-cart .woocommerce { grid-template-columns: 1fr; gap: 2rem; }
  .woocommerce-cart .woocommerce-cart-form { grid-column: 1; }
  .woocommerce-cart .cart-collaterals { grid-column: 1; }

  /* Cart table — responsive rows */
  .woocommerce-cart .shop_table.cart thead { display: none; }
  .woocommerce-cart .shop_table.cart,
  .woocommerce-cart .shop_table.cart tbody,
  .woocommerce-cart .shop_table.cart tr { display: block; }
  .woocommerce-cart .shop_table.cart tr {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.35rem 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    align-items: center;
  }
  .woocommerce-cart .shop_table.cart td { padding: 0; border: none; font-size: 0.85rem; }
  .woocommerce-cart .shop_table.cart .product-remove { grid-column: 3; grid-row: 1; text-align: right; }
  .woocommerce-cart .shop_table.cart .product-thumbnail { grid-column: 1; grid-row: 1 / 3; }
  .woocommerce-cart .shop_table.cart .product-name { grid-column: 2; grid-row: 1; font-size: 0.9rem; }
  .woocommerce-cart .shop_table.cart .product-price { grid-column: 2; grid-row: 2; color: rgba(255,255,255,0.45); }
  .woocommerce-cart .shop_table.cart .product-quantity { grid-column: 3; grid-row: 2; }
  .woocommerce-cart .shop_table.cart .product-subtotal { display: none; }

  /* Checkout — stack */
  .woocommerce-checkout .woocommerce > form.woocommerce-checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout #customer_details { grid-column: 1; grid-row: auto; }
  #order_review_heading { grid-column: 1; grid-row: auto; margin-top: 2rem; }
  #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last { display: block; width: 100%; margin-right: 0; }
  
  /* Fix shipping dropdowns on mobile */
  .woocommerce-checkout .shipping-method__options,
  .woocommerce-shipping-methods {
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .woocommerce-checkout select {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    min-height: 44px; /* Better touch target */
  }
  .woocommerce-checkout .woocommerce-shipping-methods li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .woocommerce-checkout .woocommerce-shipping-methods li:last-child {
    border-bottom: none;
  }
  .woocommerce-checkout input[type="radio"] + label {
    display: block;
    padding: 12px;
    margin: -12px;
    cursor: pointer;
  }

  /* Account — stack */
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }

  /* Footer */
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(3.8rem, 20vw, 5.5rem); }
  .stats-bar { padding: 1.5rem 1rem; }
  .stat-number { font-size: 2.2rem; }
  .card-emoji { font-size: 5rem; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; gap: 2rem; }

  /* Prevent iOS zoom on input focus */
  input, select, textarea { font-size: 16px !important; }
  .woocommerce .quantity .qty { font-size: 16px !important; min-height: 44px !important; }

  .woocommerce-cart .coupon input[type="text"] { width: 100%; }
  .woocommerce-cart .actions { flex-direction: column; align-items: stretch; }
  .woocommerce-cart .coupon { flex-direction: column; }
}



/* ── SINGLE PRODUCT: Scrolling fix (targeted) ── */
/* Restore proper positioning for grid layout while fixing scroll issues */

.single-product .woocommerce div.product {
    position: relative !important;
    z-index: 1;
}
.single-product .woocommerce div.product div.images {
    position: relative !important;
}
.single-product .woocommerce-product-gallery {
    position: relative !important;
}
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .flex-viewport {
    position: relative !important;
    background-attachment: scroll !important;
}
.single-product .summary.entry-summary,
.single-product .woocommerce-tabs,
.single-product .related.products {
    position: relative !important;
    z-index: 1;
}
/* Kill any fixed background overlay on single product */
.single-product body::before {
    background-attachment: scroll !important;
}
/* Lightbox overlays should remain fixed */
.single-product .pswp,
.single-product .fancybox-container {
    position: fixed !important;
}
/* Zoom container: absolute, not fixed */
.single-product .zoomContainer { position: absolute !important; }
.zoomImg { display: none !important; }

/* 🎯 FIX: Center Product Category Term Descriptions */
/* Fixes .term-description not being centered */

/* Target WooCommerce category/term descriptions */
.term-description,
.woocommerce-term-description,
.taxonomy-description,
.woocommerce-taxonomy-description,
.woocommerce .term-description,
.woocommerce .woocommerce-term-description,
.woocommerce .taxonomy-description,
.woocommerce .woocommerce-taxonomy-description,
.product-category .term-description,
.product_cat .term-description {
    text-align: center !important;
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 1rem;
}

/* Center within the archive header */
.woocommerce-products-header .term-description,
.woocommerce-products-header .woocommerce-term-description,
.woocommerce-products-header .taxonomy-description {
    text-align: center;
    margin: 1rem auto 2rem;
}

/* Ensure proper spacing */
.woocommerce .term-description p,
.woocommerce .woocommerce-term-description p,
.woocommerce .taxonomy-description p {
    text-align: center;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .term-description,
    .woocommerce-term-description,
    .taxonomy-description {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

/* Fix for archive description hook output */
.woocommerce-archive-description,
.woocommerce .woocommerce-archive-description {
    text-align: center;
    width: 100%;
}

.woocommerce-archive-description .term-description,
.woocommerce .woocommerce-archive-description .term-description {
    margin: 0 auto;
}

/* Ensure category pages have centered descriptions */
.woocommerce-page .term-description,
.tax-product_cat .term-description,
.archive .term-description {
    text-align: center !important;
    display: block;
    margin: 2rem auto;
}
/* 🎯 ENHANCED FIX: Center ALL WooCommerce Term Descriptions */
/* More specific targeting to override any existing styles */

/* ============================================
   TARGET 1: WooCommerce Archive Descriptions
   ============================================ */

/* The main archive description container */
.woocommerce .woocommerce-products-header + .woocommerce-archive-description,
.woocommerce-page .woocommerce-products-header + .woocommerce-archive-description {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

/* Term description inside archive description */
.woocommerce .woocommerce-archive-description .term-description,
.woocommerce-page .woocommerce-archive-description .term-description,
.woocommerce .woocommerce-archive-description .woocommerce-term-description,
.woocommerce-page .woocommerce-archive-description .woocommerce-term-description {
    text-align: center !important;
    max-width: 800px !important;
    margin: 1.5rem auto 2.5rem !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

/* Paragraphs inside term descriptions */
.woocommerce .woocommerce-archive-description .term-description p,
.woocommerce-page .woocommerce-archive-description .term-description p,
.woocommerce .woocommerce-archive-description .woocommerce-term-description p,
.woocommerce-page .woocommerce-archive-description .woocommerce-term-description p {
    text-align: center !important;
    margin: 0 auto 1rem !important;
    line-height: 1.7 !important;
    font-size: 1.1rem !important;
    color: var(--crisp, #FFF3E0) !important;
}

/* ============================================
   TARGET 2: Direct term description output
   ============================================ */

/* When term description is output directly by WooCommerce */
.woocommerce .term-description,
.woocommerce-page .term-description,
.tax-product_cat .term-description,
.tax-product_tag .term-description {
    text-align: center !important;
    max-width: 800px !important;
    margin: 2rem auto 3rem !important;
    padding: 0 2rem !important;
    display: block !important;
}

/* ============================================
   TARGET 3: Category/Tag archive pages specifically
   ============================================ */

/* Product category pages */
.tax-product_cat .woocommerce-archive-description,
.tax-product_cat .woocommerce-products-header ~ .woocommerce-archive-description {
    text-align: center !important;
}

.tax-product_cat .woocommerce-archive-description .term-description {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Product tag pages */
.tax-product_tag .woocommerce-archive-description .term-description {
    text-align: center !important;
}

/* ============================================
   OVERRIDE ANY EXISTING STYLES
   ============================================ */

/* Override any existing text-align rules */
.woocommerce-archive-description p[style*="text-align"],
.term-description[style*="text-align"],
.woocommerce-term-description[style*="text-align"] {
    text-align: center !important;
}

/* Force center alignment with !important */
.woocommerce-archive-description,
.woocommerce-archive-description *,
.term-description,
.term-description *,
.woocommerce-term-description,
.woocommerce-term-description * {
    text-align: center !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .woocommerce .woocommerce-archive-description .term-description,
    .woocommerce-page .woocommerce-archive-description .term-description,
    .woocommerce .term-description,
    .woocommerce-page .term-description {
        max-width: 100% !important;
        padding: 0 1.5rem !important;
        margin: 1rem auto 2rem !important;
    }
    
    .woocommerce .woocommerce-archive-description .term-description p,
    .woocommerce-page .woocommerce-archive-description .term-description p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 480px) {
    .woocommerce .woocommerce-archive-description .term-description,
    .woocommerce-page .woocommerce-archive-description .term-description {
        padding: 0 1rem !important;
    }
}


/*
.term-description,
.woocommerce-term-description {
    border: 2px dashed rgba(255, 77, 0, 0.3) !important;
    background: rgba(255, 77, 0, 0.05) !important;
}
*/
/* 🎯 FIX: Cart Table Thumbnail Images Not Visible */
/* Makes .woocommerce-cart .shop_table.cart .product-thumbnail img visible */

/* ============================================
   TARGET 1: Cart table thumbnail images
   ============================================ */

/* Ensure cart thumbnail container is visible */
.woocommerce-cart .shop_table.cart .product-thumbnail,
.woocommerce-page .woocommerce-cart .shop_table.cart .product-thumbnail {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: none !important;
}

/* Make cart thumbnail images visible and properly sized */
.woocommerce-cart .shop_table.cart .product-thumbnail img,
.woocommerce-page .woocommerce-cart .shop_table.cart .product-thumbnail img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 60px !important; /* Reasonable thumbnail size */
    height: auto !important;
    max-width: 100% !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 2px !important;
}

/* Hover effect for cart thumbnails */
.woocommerce-cart .shop_table.cart .product-thumbnail img:hover {
    border-color: var(--ember, #FF9A00) !important;
    transform: scale(1.05) !important;
    transition: all 0.2s ease !important;
}

/* ============================================
   TARGET 2: Mobile responsive cart thumbnails
   ============================================ */

@media (max-width: 768px) {
    /* On mobile, make thumbnails slightly smaller */
    .woocommerce-cart .shop_table.cart .product-thumbnail img,
    .woocommerce-page .woocommerce-cart .shop_table.cart .product-thumbnail img {
        width: 50px !important;
        max-width: 50px !important;
    }
    
    /* Ensure mobile cart layout shows thumbnails */
    .woocommerce-cart .shop_table.cart .product-thumbnail {
        grid-column: 1 !important;
        grid-row: 1 !important;
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    /* On very small screens, smaller thumbnails */
    .woocommerce-cart .shop_table.cart .product-thumbnail img,
    .woocommerce-page .woocommerce-cart .shop_table.cart .product-thumbnail img {
        width: 40px !important;
        max-width: 40px !important;
    }
}

/* ============================================
   TARGET 3: Override any hiding styles
   ============================================ */

/* Override any display: none or visibility: hidden */
.woocommerce-cart .shop_table.cart .product-thumbnail[style*="display: none"],
.woocommerce-cart .shop_table.cart .product-thumbnail[style*="visibility: hidden"],
.woocommerce-cart .shop_table.cart .product-thumbnail img[style*="display: none"],
.woocommerce-cart .shop_table.cart .product-thumbnail img[style*="visibility: hidden"] {
    display: block !important;
    visibility: visible !important;
}

/* Override any width/height restrictions */
.woocommerce-cart .shop_table.cart .product-thumbnail[style*="width: 0"],
.woocommerce-cart .shop_table.cart .product-thumbnail[style*="max-width: 0"],
.woocommerce-cart .shop_table.cart .product-thumbnail img[style*="width: 0"],
.woocommerce-cart .shop_table.cart .product-thumbnail img[style*="max-width: 0"] {
    width: 60px !important;
    max-width: 60px !important;
}

/* Override any opacity issues */
.woocommerce-cart .shop_table.cart .product-thumbnail[style*="opacity: 0"],
.woocommerce-cart .shop_table.cart .product-thumbnail img[style*="opacity: 0"] {
    opacity: 1 !important;
}

/* ============================================
   TARGET 4: Ensure proper table cell layout
   ============================================ */

/* Make sure table cells have proper spacing */
.woocommerce-cart .shop_table.cart td.product-thumbnail,
.woocommerce-page .woocommerce-cart .shop_table.cart td.product-thumbnail {
    padding: 10px !important;
    vertical-align: middle !important;
    text-align: center !important;
}

/* Add some spacing between thumbnail and product name */
.woocommerce-cart .shop_table.cart .product-thumbnail + .product-name,
.woocommerce-page .woocommerce-cart .shop_table.cart .product-thumbnail + .product-name {
    padding-left: 15px !important;
}

/* ============================================
   DEBUG: Add visual indicator (remove after testing)
   ============================================ */

/*
.woocommerce-cart .shop_table.cart .product-thumbnail img {
    border: 2px solid #00ff00 !important;
    background: rgba(0, 255, 0, 0.1) !important;
}
*/
/* 🎯 TARGETED OVERRIDE: Fix existing cart thumbnail rule */
/* This overrides the rule at line 1004 specifically */

.woocommerce-cart .shop_table.cart .product-thumbnail img {
    /* OVERRIDE existing rule - ensure visibility */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 60px !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 2px !important;
    margin: 0 auto !important;
}

/* Also fix the container */
.woocommerce-cart .shop_table.cart .product-thumbnail {
    width: auto !important;
    min-width: 60px !important;
    text-align: center !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .woocommerce-cart .shop_table.cart .product-thumbnail img {
        width: 50px !important;
        max-width: 50px !important;
    }
    
    .woocommerce-cart .shop_table.cart .product-thumbnail {
        min-width: 50px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-cart .shop_table.cart .product-thumbnail img {
        width: 40px !important;
        max-width: 40px !important;
    }
    
    .woocommerce-cart .shop_table.cart .product-thumbnail {
        min-width: 40px !important;
    }
}
/* ── Cart thumbnail ── */
.woocommerce-cart .shop_table.cart td.product-thumbnail {
    width: 80px;
    padding: 10px;
}
.woocommerce-cart .shop_table.cart .product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}
.woocommerce-cart .shop_table.cart .product-quantity {
    text-align: center;
}
.woocommerce-cart .shop_table.cart .quantity .qty {
    width: 64px;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════
   CUSTOM SINGLE PRODUCT + CART DRAWER
   ═══════════════════════════════════════════════════════════ */

/* ── Container ── */
.ms-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* ── Breadcrumb ── */
.ms-breadcrumb {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.75rem;
}
.ms-breadcrumb a { color: var(--ember); text-decoration: none; }
.ms-breadcrumb a:hover { color: var(--fire); }
.ms-breadcrumb .sep { margin: 0 0.4rem; opacity: 0.4; }

/* ── Product grid: image | summary | tabs ── */
.ms-product-grid {
    display: grid !important;
    grid-template-columns: 420px 1fr;
    grid-template-rows: auto auto;
    column-gap: 4rem;
    row-gap: 2.5rem;
    align-items: start;
    margin-bottom: 5rem;
}

/* ── Gallery ── */
.ms-product-gallery {
    grid-column: 1;
    grid-row: 1;
}
.ms-gallery-main {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}
.ms-gallery-main__img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
}
.ms-badge--sale {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--fire); color: #fff;
    font-family: var(--font-head); font-size: 0.9rem;
    letter-spacing: 2px; padding: 0.3rem 0.75rem;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.ms-gallery-thumbs {
    display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap;
}
.ms-gallery-thumb {
    flex: 0 0 calc(25% - 0.4rem);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 3px; overflow: hidden;
    background: none; padding: 0; cursor: pointer;
    transition: border-color 0.2s;
}
.ms-gallery-thumb.active,
.ms-gallery-thumb:hover { border-color: var(--fire); }
.ms-gallery-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

/* ── Summary ── */
.ms-product-summary {
    grid-column: 2;
    grid-row: 1;
}
.ms-product-category {
    font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--ember); margin-bottom: 0.5rem;
}
.ms-product-category a { color: var(--ember); }
.ms-product-category a:hover { color: var(--fire); }
.ms-product-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 4px; color: var(--white); line-height: 1;
    margin-bottom: 1rem;
}
.ms-product-price {
    font-size: 2rem; font-weight: 700; color: var(--ember);
    margin-bottom: 1.25rem;
}
.ms-product-short-desc {
    font-size: 0.95rem; color: rgba(250,250,247,0.6);
    line-height: 1.85; margin-bottom: 1.5rem;
    padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ms-product-stock {
    font-size: 0.82rem; font-weight: 500; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 1.25rem;
}
.ms-product-stock--in  { color: #5ec97a; }
.ms-product-stock--out { color: rgba(255,255,255,0.38); }

/* ── Add to cart row ── */
.ms-atc-row { display: flex; align-items: stretch; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.ms-qty-control {
    display: flex; align-items: center;
    border: 1px solid rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden;
}
.ms-qty-btn {
    width: 40px; height: 48px; background: rgba(255,255,255,0.05);
    border: none; color: var(--white); font-size: 1.2rem; cursor: pointer;
    transition: background 0.2s; display: flex; align-items: center; justify-content: center;
}
.ms-qty-btn:hover { background: rgba(255,255,255,0.12); }
.ms-qty-input {
    width: 56px; height: 48px; text-align: center;
    background: rgba(255,255,255,0.04); border: none;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    color: var(--white); font-family: var(--font-body); font-size: 1rem;
    outline: none; -moz-appearance: textfield;
}
.ms-qty-input::-webkit-inner-spin-button,
.ms-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.ms-atc-btn {
    flex: 1; min-width: 160px; height: 48px;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    border-radius: 0; font-size: 0.88rem; letter-spacing: 2px;
    transition: background 0.2s, transform 0.15s;
}
.ms-atc-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Meta ── */
.ms-product-meta {
    font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 2;
    padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; flex-direction: column; gap: 0.1rem;
}
.ms-product-meta a { color: var(--ember); }
.ms-product-meta a:hover { color: var(--fire); }

/* ── Tabs ── */
.ms-product-tabs { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid rgba(255,255,255,0.07); }
.ms-tabs-nav {
    display: flex; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ms-tab-btn {
    padding: 0.85rem 1.75rem; background: none; border: none;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.42); cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.ms-tab-btn.active,
.ms-tab-btn:hover { color: var(--white); }
.ms-tab-btn.active { border-bottom-color: var(--fire); }
.ms-tab-panel {
    padding: 2.5rem 0;
    color: rgba(250,250,247,0.65); font-size: 0.95rem; line-height: 1.85;
}
.ms-tab-panel p { margin-bottom: 1rem; }
.ms-tab-panel h2 { font-size: 1.4rem; letter-spacing: 2px; color: var(--white); margin-bottom: 1.25rem; }
.ms-tab-empty { color: rgba(255,255,255,0.3); font-style: italic; }
.ms-attrs-table { width: 100%; border-collapse: collapse; }
.ms-attrs-table th, .ms-attrs-table td {
    padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.88rem; text-align: left; vertical-align: top;
}
.ms-attrs-table th {
    font-family: var(--font-head); letter-spacing: 2px; font-size: 0.78rem;
    color: rgba(255,255,255,0.4); font-weight: 400; width: 30%; padding-right: 1.5rem;
}

/* ── Related Products ── */
.ms-related { margin-top: 2rem; }
.ms-related__title {
    font-family: var(--font-head); font-size: 1.8rem;
    letter-spacing: 4px; color: var(--white);
    margin-bottom: 2rem; text-transform: uppercase;
}
.ms-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.ms-related-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px; overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    display: flex; flex-direction: column;
}
.ms-related-card:hover {
    border-color: rgba(255,77,0,0.3);
    transform: translateY(-4px);
}
.ms-related-card__img-wrap img {
    width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
    background: rgba(255,255,255,0.04);
}
.ms-related-card__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.ms-related-card__name { font-size: 0.82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.ms-related-card__name a { color: var(--white); text-decoration: none; }
.ms-related-card__name a:hover { color: var(--ember); }
.ms-related-card__price { color: var(--ember); font-size: 1rem; font-weight: 700; }
.btn--sm { font-size: 0.75rem; padding: 0.55rem 1.2rem; margin-top: auto; text-align: center; display: block; }

/* ── CART DRAWER ── */
.ms-cart-drawer {
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none; visibility: hidden;
}
.ms-cart-drawer--open {
    pointer-events: auto; visibility: visible;
}
.ms-cart-drawer__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.7);
    opacity: 0; transition: opacity 0.3s;
}
.ms-cart-drawer--open .ms-cart-drawer__overlay { opacity: 1; }
.ms-cart-drawer__panel {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: min(420px, 95vw);
    background: var(--smoke);
    border-left: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ms-cart-drawer--open .ms-cart-drawer__panel { transform: translateX(0); }
.ms-cart-drawer__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ms-cart-drawer__header h2 {
    font-family: var(--font-head); font-size: 1.5rem;
    letter-spacing: 3px; color: var(--white); margin: 0;
}
.ms-cart-drawer__close {
    background: none; border: none; color: rgba(255,255,255,0.4);
    font-size: 1.1rem; cursor: pointer; padding: 0.4rem;
    transition: color 0.2s;
}
.ms-cart-drawer__close:hover { color: var(--white); }
.ms-cart-drawer__items {
    flex: 1; overflow-y: auto; padding: 1rem 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
}
.ms-cart-empty { color: rgba(255,255,255,0.35); text-align: center; padding: 2rem 0; font-size: 0.9rem; }
.ms-cart-item {
    display: flex; gap: 0.85rem; align-items: flex-start;
    padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ms-cart-item__img { flex: 0 0 64px; }
.ms-cart-item__img img { width: 64px; height: 64px; object-fit: cover; border-radius: 3px; display: block; }
.ms-cart-item__info { flex: 1; min-width: 0; }
.ms-cart-item__name { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; color: var(--white); margin-bottom: 0.25rem; }
.ms-cart-item__price { font-size: 0.9rem; color: var(--ember); margin-bottom: 0.5rem; }
.ms-cart-item__qty {
    display: flex; align-items: center; gap: 0.5rem;
}
.ms-cart-qty-btn {
    width: 26px; height: 26px; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04); color: var(--white);
    font-size: 1rem; cursor: pointer; border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.ms-cart-qty-btn:hover { background: rgba(255,255,255,0.12); }
.ms-cart-item__qty span { font-size: 0.88rem; min-width: 1.5rem; text-align: center; }
.ms-cart-item__remove {
    flex: 0 0 auto; background: none; border: none;
    color: rgba(255,255,255,0.25); font-size: 0.8rem; cursor: pointer;
    padding: 0.2rem; margin-top: 0.1rem; transition: color 0.2s;
}
.ms-cart-item__remove:hover { color: var(--fire); }
.ms-cart-drawer__footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; gap: 0.75rem;
}
.ms-cart-subtotal {
    display: flex; justify-content: space-between;
    font-size: 0.95rem; font-weight: 600; color: var(--white);
    padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ms-cart-checkout-btn { text-align: center; display: block; }
.ms-cart-checkout-btn--primary { background: var(--fire); }
.ms-cart-checkout-btn--primary:hover { background: var(--ember); }

/* Prevent body scroll when drawer open */
body.ms-drawer-open { overflow: hidden; }

/* ── TOAST ── */
.ms-toast {
    position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(1rem);
    background: rgba(30,27,20,0.96); border: 1px solid rgba(255,255,255,0.12);
    color: var(--white); font-size: 0.88rem; letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem; border-radius: 3px; z-index: 10000;
    opacity: 0; transition: opacity 0.25s, transform 0.25s;
    pointer-events: none; white-space: nowrap;
}
.ms-toast--visible {
    opacity: 1; transform: translateX(-50%) translateY(0);
}
.ms-toast--error { border-color: var(--fire); }
.ms-toast--success { border-color: var(--ember); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .ms-product-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .ms-product-gallery {
        grid-column: 1;
        grid-row: 1;
        max-width: 380px;
        margin: 0 auto;
    }
    .ms-product-summary {
        grid-column: 1;
        grid-row: 2;
    }
    .ms-product-tabs {
        grid-column: 1;
        grid-row: 3;
    }
    .ms-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ms-container { padding: 1.25rem 1rem 3rem; }
    .ms-atc-row { flex-direction: column; }
    .ms-qty-control { width: 100%; justify-content: center; }
    .ms-atc-btn { width: 100%; clip-path: none; border-radius: 3px; }
    .ms-related__grid { grid-template-columns: 1fr; }
    .ms-product-title { font-size: 2.2rem; }
    .ms-tab-btn { padding: 0.75rem 1rem; font-size: 0.7rem; }
}


/* ═══════════════════════════════════════════════════════════
   PRODUCT CAROUSEL — Homepage category sections
   ═══════════════════════════════════════════════════════════ */

.ms-carousel-section {
    padding: 0 4rem 4rem;
    position: relative; z-index: 1;
    background: var(--smoke); /* default */
}
.pork-section    + .ms-carousel-section { background: var(--smoke); }
.chicken-section + .ms-carousel-section { background: #16130c; }
.chips-section   + .ms-carousel-section { background: var(--smoke); }

.ms-carousel-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
}
.ms-carousel-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ms-carousel-label {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.ms-carousel-nav { display: flex; gap: 0.5rem; }
.ms-carousel-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white); border-radius: 2px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: background 0.2s, border-color 0.2s;
    user-select: none;
}
.ms-carousel-btn:hover { background: rgba(255,77,0,0.15); border-color: var(--fire); }
.ms-carousel-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.ms-carousel-track-wrap {
    overflow: hidden;
    cursor: grab;
}
.ms-carousel-track-wrap:active { cursor: grabbing; }
.ms-carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Carousel product cards */
.ms-carousel-card {
    flex: 0 0 calc(25% - 1rem);
    min-width: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px; overflow: hidden;
    transition: border-color 0.2s, transform 0.25s;
    display: flex; flex-direction: column;
}
.ms-carousel-card:hover {
    border-color: rgba(255,77,0,0.3);
    transform: translateY(-3px);
}
.ms-carousel-card__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}
.ms-carousel-card__img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.ms-carousel-card:hover .ms-carousel-card__img img {
    transform: scale(1.04);
}
.ms-carousel-card__body {
    padding: 0.9rem 1rem 1rem;
    display: flex; flex-direction: column; gap: 0.35rem; flex: 1;
}
.ms-carousel-card__name {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; line-height: 1.3;
}
.ms-carousel-card__name a {
    color: var(--white); text-decoration: none;
}
.ms-carousel-card__name a:hover { color: var(--ember); }
.ms-carousel-card__price {
    font-size: 1rem; font-weight: 700; color: var(--ember);
}
.ms-carousel-card__btn {
    margin-top: auto;
    display: block; text-align: center;
    padding: 0.5rem 1rem;
    background: var(--fire); color: #fff;
    font-family: var(--font-body); font-size: 0.72rem;
    font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; border-radius: 2px;
    transition: background 0.2s;
}
.ms-carousel-card__btn:hover { background: var(--ember); color: #fff; }

/* Dots */
.ms-carousel-dots {
    display: flex; justify-content: center; gap: 0.4rem;
    margin-top: 1.25rem;
}
.ms-carousel-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none; padding: 0; cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.ms-carousel-dot.active {
    background: var(--fire);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 900px) {
    .ms-carousel-section { padding: 0 1.25rem 3rem; }
    .ms-carousel-card { flex: 0 0 calc(50% - 0.65rem); }
}
@media (max-width: 480px) {
    .ms-carousel-section {
        padding: 0 0 2.5rem;
        overflow: hidden; /* contain cards inside section */
    }
    .ms-carousel-wrap { padding: 0 1rem; }
    .ms-carousel-track-wrap {
        overflow: hidden; /* always clip — never let cards escape */
        cursor: grab;
    }
    .ms-carousel-card { flex: 0 0 calc(80vw - 2rem); }
}


/* ── Flavor tag filter — active state ── */
.ms-flavor-tag {
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ms-flavor-tag.active {
    background: rgba(255,77,0,0.15);
    border-color: var(--fire) !important;
    color: var(--white) !important;
}


/* ═══════════════════════════════════════════════════════════
   SHIPPING METHOD DROPDOWN
   ═══════════════════════════════════════════════════════════ */

.ms-shipping-select-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.ms-shipping-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.4;
}

.ms-shipping-select:focus {
    border-color: var(--fire);
    box-shadow: 0 0 0 2px rgba(255,77,0,0.15);
}

.ms-shipping-select option {
    background: #1e1b12;
    color: var(--white);
    padding: 0.5rem;
}

.ms-shipping-select-arrow {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    color: rgba(255,255,255,0.4);
    font-size: 1.2rem;
    pointer-events: none;
    line-height: 1;
}

.ms-shipping-single {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.ms-shipping-package-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .ms-shipping-select { font-size: 16px; } /* prevent iOS zoom */
}



/* ── Cart +/- quantity buttons ── */
.ms-cart-qty-row {
    display: flex;
    align-items: center;
    gap: 0;
}
.ms-cq-btn {
    width: 40px;
    height: 44px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ms-cq-btn:hover:not(:disabled) { background: rgba(255,77,0,0.2); border-color: var(--fire); }
.ms-cq-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.ms-cq-minus { border-radius: 2px 0 0 2px; }
.ms-cq-plus  { border-radius: 0 2px 2px 0; }
.ms-cq-num {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 1rem;
    font-weight: 500;
}
/* ============================================================
   MIKE'S SKINS - CORRECTED CSS FIXES (Safe for home page)
   ============================================================ */

/* FIX 1: Mobile menu showing on desktop - KEEP THIS */
#ms-mobile-nav { 
  display: none; 
}

/* FIX 2: Mobile shipping dropdown visibility - KEEP THIS */
@media (max-width: 768px) {
  .woocommerce-shipping-calculator .shipping-calculator-form {
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent iOS zoom on input focus */
  select, input[type="text"], input[type="number"] {
    font-size: 16px; /* Prevents iOS zoom */
  }
  
  /* Better touch targets */
  .woocommerce .button, 
  .woocommerce button.button,
  .woocommerce input.button {
    min-height: 44px;
    padding: 12px 24px;
  }
}

/* FIX 3: Page titles covered by header on mobile - CORRECTED VERSION */
/* DO NOT change --header-h globally! Instead adjust specific elements */
@media (max-width: 900px) {
  /* Keep original --header-h: 80px for everything else */
  /* Only adjust page titles and headings */
  .page-heading,
  .entry-title,
  .woocommerce-products-header__title.page-title,
  h1.woocommerce-products-header__title {
    /* Use original --header-h (80px) + 1rem for scroll margin */
    scroll-margin-top: calc(80px + 1rem);
    /* Add a little extra padding for mobile */
    padding-top: 0.5rem;
  }
  
  /* For the actual header height reduction, target ONLY the header */
  .site-header {
    height: 70px; /* Reduced from 80px, but DON'T change --header-h variable */
  }
  
  /* Adjust mobile nav to match reduced header */
  #ms-mobile-nav {
    padding-top: max(2rem, env(safe-area-inset-top));
  }
}

/* FIX 4: Mobile menu overlay - KEEP THIS */
.ms-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 12, 7, 0.85);
  z-index: 10000;
  display: none;
}

body.menu-open .ms-nav-overlay {
  display: block;
}

#ms-mobile-nav.open {
  pointer-events: auto;
}

/* FIX 5: Shop header too high - CORRECTED VERSION */
/* Target ONLY shop pages, not home page */
.woocommerce-archive .woocommerce-products-header,
.woocommerce-shop .woocommerce-products-header,
.post-type-archive-product .woocommerce-products-header {
  padding: 1.5rem 0 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .woocommerce-archive .woocommerce-products-header,
  .woocommerce-shop .woocommerce-products-header,
  .post-type-archive-product .woocommerce-products-header {
    padding: 1rem 0 1rem;
    margin-bottom: 1rem;
  }
  
  .woocommerce-products-header__title,
  .woocommerce h1.page-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

/* FIX 6: Admin bar adjustment - KEEP THIS */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { 
  .admin-bar .site-header { top: 46px; } 
}

/* Add iOS safe area support for mobile - KEEP THIS */
@supports (padding: max(0px)) {
  .site-header,
  #ms-mobile-nav {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
  
  #ms-mobile-nav {
    padding-top: max(2rem, env(safe-area-inset-top));
  }
}

/* NEW FIX: Ensure home page product sections are not affected */
/* Make sure .site-main padding-top stays consistent */
@media (max-width: 900px) {
  .site-main {
    /* Keep original padding-top: var(--header-h) which is 80px */
    /* Don't let my mobile header height reduction affect this */
    padding-top: 80px !important; /* Force 80px on mobile */
  }
  
  /* Ensure product sections maintain their layout */
  .product-section {
    /* These should already be correct in the original CSS */
    /* Just making sure they're not affected by my changes */
  }
}/* ============================================================
   PROPER RESPONSIVE FIX - Standard breakpoints
   ============================================================ */

/* DESKTOP: min-width: 1024px (standard desktop) */
@media (min-width: 1024px) {
  /* Hide mobile menu completely on desktop */
  #ms-mobile-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    top: -9999px !important;
    left: -9999px !important;
    z-index: -9999 !important;
  }
  
  /* Hide hamburger toggle on desktop */
  .menu-toggle {
    display: none !important;
  }
  
  /* Ensure desktop menu is visible */
  #primary-navigation,
  .desktop-menu,
  .site-header nav:not(#ms-mobile-nav) {
    display: block !important;
    visibility: visible !important;
  }
}

/* TABLET: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet view - could show mobile menu or desktop menu */
  /* For now, hide mobile menu by default on tablet */
  #ms-mobile-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  #ms-mobile-nav.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* Show hamburger on tablet */
  .menu-toggle {
    display: flex !important;
  }
}

/* MOBILE: max-width: 767px (standard mobile) */
@media (max-width: 767px) {
  /* Mobile view - use mobile menu */
  #ms-mobile-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  #ms-mobile-nav.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .menu-toggle {
    display: flex !important;
  }
}

/* BACKWARD COMPATIBILITY: Keep original 900px breakpoint but fix it */
/* The theme uses max-width: 900px in many places */
/* We need to ensure mobile menu is hidden when it shouldn't show */
@media (max-width: 900px) {
  /* This is the theme's original breakpoint */
  /* Mobile menu should be controllable here */
}

@media (min-width: 901px) {
  /* Desktop in theme's terms */
  /* Force hide mobile menu */
  #ms-mobile-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    top: -9999px !important;
    left: -9999px !important;
    z-index: -9999 !important;
  }
}

/* DEBUG: Add visual indicator of current breakpoint */
body::after {
  content: "XS: <480px | SM: <768px | MD: <1024px | LG: ≥1024px";
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  z-index: 99999;
  border-radius: 3px;
  opacity: 0.8;
}

/* Current viewport indicator */
@media (max-width: 480px) {
  body::after { content: "XS: <480px (Mobile)"; background: #f00; }
}

@media (min-width: 481px) and (max-width: 767px) {
  body::after { content: "SM: 481-767px (Mobile)"; background: #f90; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body::after { content: "MD: 768-1023px (Tablet)"; background: #09f; }
}

@media (min-width: 1024px) {
  body::after { content: "LG: ≥1024px (Desktop)"; background: #0a0; }
}