/*
Theme Name: Sowdambiga Jewellers
Theme URI: https://sowdambigajewellers.com
Author: ZAPTR
Author URI: https://sowdambigajewellers.com
Description: A luxury WooCommerce theme for Sowdambiga Jewellers, Salem. PHP 8.3 compatible, Indian law compliant.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://sowdambigajewellers.com
Text Domain: sowdambiga
WC requires at least: 8.0
WC tested up to: 9.0
*/

/* === IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* === CSS VARIABLES === */
:root {
  --gold: #b8973a;
  --gold-light: #d4af5a;
  --gold-dark: #8c6f20;
  --navy: #0e1c2f;
  --navy-light: #1a2d47;
  --cream: #faf6ef;
  --cream-dark: #f0e8d8;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --border: #e0d8cc;
  --success: #2e7d32;
  --error: #c62828;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 2px 16px rgba(14,28,47,0.08);
  --shadow-lg: 0 8px 40px rgba(14,28,47,0.14);
  --transition: all 0.25s ease;
  --max-width: 1320px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* === TOP BAR === */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 9px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--gold-light); }
.top-bar__shipping {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar__shipping span::before {
  content: '•';
  margin-right: 20px;
  opacity: 0.4;
}
.top-bar__shipping span:first-child::before { display: none; }
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* === HEADER === */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-logo {
  display: flex;
  justify-content: center;
}
.header-logo img { max-height: 64px; width: auto; }
.header-logo .site-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.header-logo .site-tagline {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
}
.header-action-btn:hover { background: var(--cream); color: var(--gold); }
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rate Cards */
.rate-cards {
  display: flex;
  gap: 12px;
}
.rate-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 14px;
  text-align: center;
}
.rate-card .label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
}
.rate-card .value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.rate-card.gold-rate .value { color: var(--gold-dark); }

/* === NAVIGATION === */
.main-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: block;
  padding: 14px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a,
.main-nav ul li.current_page_item > a {
  color: var(--gold);
}
.main-nav ul li.current-menu-item > a::after,
.main-nav ul li.current_page_item > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--gold);
  margin-top: -2px;
}

/* Dropdown */
.main-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  flex-direction: column;
  gap: 0;
}
.main-nav ul li:hover > ul { display: flex; }
.main-nav ul li ul li a {
  padding: 10px 20px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.main-nav ul li ul li:last-child a { border-bottom: none; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  font-size: 1.4rem;
}

/* === HERO BANNER === */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,28,47,0.9) 0%, rgba(14,28,47,0.5) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-style: italic;
}
.hero__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  font-weight: 300;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__badge {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  color: white;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  box-shadow: 0 4px 20px rgba(184,151,58,0.4);
}

/* === ANNOUNCEMENT STRIP === */
.announce-strip {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* === FEATURE ICONS === */
.features-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-text .title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.feature-text .sub {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* === SECTION TITLE === */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p {
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gold);
}
.section-divider .diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* === CATEGORY CARDS === */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  cursor: pointer;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,28,47,0.85) 0%, transparent 50%);
}
.category-card__content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
}
.category-card__content h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.category-card__content span {
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.category-card__link {
  position: absolute;
  inset: 0;
}

/* === PRODUCT CARDS === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.product-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.06); }
.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge {
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}
.badge--new { background: var(--navy); color: white; }
.badge--sale { background: var(--error); color: white; }
.badge--bis { background: var(--gold); color: white; }
.product-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-card__wishlist:hover { color: var(--error); }
.product-card__body { padding: 16px; }
.product-card__meta {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.product-card__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card__weight {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.price-current {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.price-original {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.price-gst {
  font-size: 0.68rem;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}
.product-card__footer {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
}
.add-to-cart-btn {
  width: 100%;
  text-align: center;
  padding: 10px;
  background: var(--navy);
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.add-to-cart-btn:hover { background: var(--gold); }

/* === WooCommerce Overrides === */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products li.product {
  margin: 0;
  float: none;
  width: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.woocommerce ul.products li.product a img {
  margin: 0;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--navy);
  padding: 16px 16px 4px;
}
.woocommerce ul.products li.product .price {
  padding: 0 16px 12px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.woocommerce ul.products li.product .price del { color: var(--text-light); font-size: 0.85rem; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--navy) !important;
  color: white !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: var(--radius) !important;
  border: none !important;
  padding: 10px 20px !important;
  transition: var(--transition) !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--gold) !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit {
  background: var(--gold) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--gold-dark) !important;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 16px 0;
  margin-bottom: 24px;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--text-light); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--gold); }

/* Single Product */
.woocommerce div.product div.images { margin-bottom: 0; }
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.woocommerce div.product .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.woocommerce #reviews #comments ol.commentlist li .comment_container {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}

/* Cart & Checkout */
.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-collapse: collapse;
}
.woocommerce table.shop_table th {
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.woocommerce table.shop_table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  width: 100%;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184,151,58,0.1);
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--navy);
  font-size: 0.9rem;
}
.woocommerce-error {
  background: #fff5f5;
  border-top: 3px solid var(--error);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--error);
}

/* === GST NOTICE (Indian Law Compliance) === */
.gst-notice {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
}
.gst-breakdown {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.82rem;
  margin-top: 12px;
}
.gst-breakdown table { width: 100%; }
.gst-breakdown td { padding: 3px 0; }
.gst-breakdown td:last-child { text-align: right; font-weight: 500; }

/* === HALLMARK BADGE === */
.hallmark-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #faf6ef, #f0e8d8);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 12px 0;
}
.hallmark-info .icon { font-size: 1.2rem; }
.hallmark-info .text { font-size: 0.8rem; color: var(--navy); }
.hallmark-info .text strong { display: block; font-size: 0.82rem; color: var(--gold-dark); }

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}
.testimonial-card .stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; }
.testimonial-card .text { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; font-style: italic; }
.testimonial-card .author { font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.testimonial-card .location { font-size: 0.75rem; color: var(--text-light); }

/* === FOOTER === */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .site-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand .tagline {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.footer-contact-item .icon { color: var(--gold-light); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--gold-light); }

/* Legal compliance footer */
.footer-legal {
  background: rgba(0,0,0,0.3);
  padding: 20px 0;
  margin-top: 0;
}
.footer-legal .container {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-legal-info { flex: 1; min-width: 200px; }
.footer-legal-info h5 {
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-legal-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}
.footer-bottom {
  background: rgba(0,0,0,0.4);
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* Social Links */
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: white; }

/* Payment badges */
.payment-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: center;
}
.payment-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* === SEARCH OVERLAY === */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,28,47,0.95);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-overlay.active { display: flex; }
.search-overlay form { width: 100%; max-width: 600px; position: relative; }
.search-overlay input {
  width: 100%;
  padding: 18px 60px 18px 24px;
  font-size: 1.2rem;
  font-family: var(--font-body);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gold);
  color: white;
  outline: none;
}
.search-overlay input::placeholder { color: rgba(255,255,255,0.4); }
.search-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
}
.search-close:hover { opacity: 1; }

/* === PAGE BANNER === */
.page-banner {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8973a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner .container { position: relative; }
.page-banner h1 { color: white; margin-bottom: 8px; }
.page-banner .woocommerce-breadcrumb { margin-bottom: 0; padding: 0; }

/* === SIDEBAR === */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.sidebar { position: sticky; top: 120px; }
.widget {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.widget:last-child { border-bottom: none; }
.widget-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.widget ul li { margin-bottom: 8px; }
.widget ul li a {
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
}
.widget ul li a:hover { color: var(--gold); }

/* Price filter */
.price-filter-range { margin-top: 12px; }

/* === STICKY CART === */
.sticky-cart-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--navy);
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 500;
  text-decoration: none;
}
.sticky-cart-bar:hover { background: var(--gold); color: white; }
.sticky-cart-bar .count {
  background: var(--gold);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
  z-index: 500;
  border: none;
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; }
.back-to-top:hover { background: var(--gold); }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .products-grid,
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .rate-cards { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav .main-menu { display: none; flex-direction: column; width: 100%; }
  .main-nav .main-menu.open { display: flex; }
  .main-nav ul { flex-direction: column; width: 100%; }
  .main-nav ul li a { padding: 12px 24px; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: flex; }
  .products-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 420px; }
  .hero__badge { display: none; }
  .top-bar__right { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .hero { min-height: 340px; padding: 40px 0; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════
   MOBILE APP UI — COMPLETE SYSTEM
   Breakpoint: ≤ 768px = mobile-only
               > 768px = desktop-only
═══════════════════════════════════════════════ */

.mobile-only { display: none !important; }
.desktop-only { display: block; }

/* Explicitly hide ALL mobile fixed elements on desktop — belt and braces */
.mobile-header,
.mob-rate-ticker,
.mob-drawer,
.mob-drawer-overlay,
.mob-bottom-nav,
.mob-search-sheet,
.mob-wa-fab {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

@media (max-width: 768px) {
  .mobile-only  { display: flex !important; }
  .desktop-only { display: none !important; }

  /* Re-enable all mobile fixed elements */
  .mobile-header,
  .mob-rate-ticker,
  .mob-bottom-nav {
    display: flex !important;
    visibility: visible !important;
    pointer-events: all !important;
    opacity: 1 !important;
  }
  .mob-drawer,
  .mob-drawer-overlay,
  .mob-search-sheet,
  .mob-wa-fab {
    /* These start hidden but CAN be shown — reset the forced hide */
    visibility: visible !important;
    pointer-events: auto;
  }
  /* When these are actually open/active they get proper display */
  .mob-drawer-overlay.open { opacity: 1 !important; pointer-events: all !important; }
  .mob-drawer.open { transform: translateX(0) !important; }
  .mob-search-sheet.open { display: flex !important; opacity: 1 !important; pointer-events: all !important; }
  .mob-wa-fab { display: flex !important; opacity: 1 !important; pointer-events: all !important; }
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* body padding for mobile chrome: top header + rate ticker + bottom nav */
  body { padding-top: 56px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  /* ── Mobile Header ── */
  .mobile-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 1px 8px rgba(14,28,47,0.08);
  }

  /* Hamburger button */
  .mob-menu-btn {
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    padding: 8px; border-radius: 8px;
    transition: background 0.2s;
  }
  .mob-menu-btn:active { background: var(--cream); }
  .mob-menu-btn span {
    display: block; width: 20px; height: 2px;
    background: var(--navy); border-radius: 2px;
    transition: all 0.3s ease;
  }
  .mob-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mob-menu-btn.open span:nth-child(2) { opacity: 0; }
  .mob-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile Logo */
  .mob-logo {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center;
  }
  .mob-logo img { max-height: 36px; width: auto; }
  .mob-logo .mob-site-name,
  .mob-logo a {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700;
    color: var(--navy); text-decoration: none;
    white-space: nowrap;
  }

  /* Mobile Header Action Buttons */
  .mob-header-actions { display: flex; align-items: center; gap: 4px; }
  .mob-icon-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    color: var(--navy); border-radius: 8px;
    transition: background 0.2s; position: relative;
  }
  .mob-icon-btn:active { background: var(--cream); }
  .mob-cart-badge {
    position: absolute; top: 4px; right: 4px;
    background: var(--gold); color: white;
    font-size: 0.6rem; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }

  /* ── Rate Ticker ── */
  .mob-rate-ticker {
    position: fixed; top: 56px; left: 0; right: 0;
    height: 28px; background: var(--navy);
    overflow: hidden; z-index: 999;
    display: flex !important;
    align-items: center;
  }
  body.has-ticker { padding-top: 84px; }
  .mob-rate-ticker__inner {
    display: flex; align-items: center; gap: 16px;
    white-space: nowrap;
    animation: ticker-scroll 20s linear infinite;
    padding-left: 100%;
  }
  @keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .ticker-item {
    font-size: 0.72rem; color: rgba(255,255,255,0.9);
    letter-spacing: 0.03em;
  }
  .ticker-sep { color: var(--gold-light); font-size: 0.6rem; }

  /* ── Drawer Overlay ── */
  .mob-drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(14,28,47,0.6);
    z-index: 1099;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
  }
  .mob-drawer-overlay.open { opacity: 1; pointer-events: all; }

  /* ── Slide-in Drawer ── */
  .mob-drawer {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(85vw, 320px);
    background: var(--white);
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .mob-drawer.open { transform: translateX(0); }

  /* Drawer Header */
  .mob-drawer__header {
    background: var(--navy);
    padding: 48px 20px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-shrink: 0;
  }
  .mob-drawer__brand { display: flex; flex-direction: column; gap: 4px; }
  .mob-drawer__brand img { max-height: 40px; filter: brightness(10); }
  .mob-drawer__name {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700;
    color: white;
  }
  .mob-drawer__tagline {
    font-size: 0.7rem; color: var(--gold-light);
    letter-spacing: 0.12em; text-transform: uppercase;
  }
  .mob-drawer__close {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border: none; border-radius: 50%;
    color: white; font-size: 1rem;
    cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .mob-drawer__close:active { background: rgba(255,255,255,0.2); }

  /* Drawer Rate Cards */
  .mob-drawer__rates {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .mob-drawer__rate-item {
    padding: 14px 20px;
    border-right: 1px solid var(--border);
  }
  .mob-drawer__rate-item:last-child { border-right: none; }
  .mob-drawer__rate-item .lbl {
    display: block; font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-light); margin-bottom: 4px;
  }
  .mob-drawer__rate-item .val {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 600;
  }
  .mob-drawer__rate-item.gold .val { color: var(--gold-dark); }
  .mob-drawer__rate-item.silver .val { color: #666; }

  /* Drawer Account Links */
  .mob-drawer__account {
    display: grid; grid-template-columns: repeat(3,1fr);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .mob-drawer__account-btn {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px; padding: 14px 8px;
    font-size: 0.7rem; font-weight: 500;
    color: var(--navy); text-decoration: none;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
    position: relative;
  }
  .mob-drawer__account-btn:last-child { border-right: none; }
  .mob-drawer__account-btn:active { background: var(--cream); }
  .mob-drawer__badge {
    position: absolute; top: 8px; right: 8px;
    background: var(--gold); color: white;
    font-size: 0.6rem; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }

  /* Drawer Navigation */
  .mob-drawer__nav { flex: 1; padding: 8px 0; }
  .mob-drawer__nav-label {
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-light); padding: 12px 20px 6px;
  }
  .mob-nav-menu { list-style: none; }
  .mob-nav-item { border-bottom: 1px solid var(--border); }
  .mob-nav-link {
    display: flex; align-items: center;
    padding: 14px 20px; font-size: 0.95rem;
    color: var(--navy); text-decoration: none;
    transition: background 0.2s;
  }
  .mob-nav-link:active { background: var(--cream); }
  .mob-nav-item.active > .mob-nav-link { color: var(--gold); font-weight: 600; }
  .mob-nav-parent {
    display: flex; align-items: center;
    justify-content: space-between;
  }
  .mob-nav-parent > a {
    flex: 1; padding: 14px 20px;
    font-size: 0.95rem; color: var(--navy);
    text-decoration: none;
  }
  .mob-nav-toggle {
    width: 44px; height: 48px;
    background: none; border: none; cursor: pointer;
    color: var(--text-light); font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }
  .mob-nav-item.expanded > .mob-nav-parent .mob-nav-toggle {
    transform: rotate(90deg);
  }
  .mob-nav-sub {
    display: none; background: var(--cream);
    list-style: none; border-top: 1px solid var(--border);
  }
  .mob-nav-item.expanded > .mob-nav-sub { display: block; }
  .mob-nav-sub .mob-nav-item { border-bottom: 1px solid var(--border); }
  .mob-nav-sub .mob-nav-link {
    padding: 12px 20px 12px 36px;
    font-size: 0.88rem; color: var(--text-light);
  }
  .mob-nav-sub .mob-nav-link::before {
    content: '—'; margin-right: 8px;
    color: var(--gold); font-size: 0.7rem;
  }

  /* Drawer Contact */
  .mob-drawer__contact {
    border-top: 1px solid var(--border);
    padding: 16px 0; flex-shrink: 0;
  }
  .mob-drawer__contact-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 20px; font-size: 0.85rem;
    color: var(--text); text-decoration: none;
    transition: background 0.2s;
  }
  .mob-drawer__contact-item:active { background: var(--cream); }
  .mob-drawer__contact-item svg { color: var(--gold); flex-shrink: 0; }
  .mob-drawer__wa { color: #25D366 !important; }
  .mob-drawer__wa svg { color: #25D366; }

  /* ── Bottom Navigation Bar ── */
  .mob-bottom-nav {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border);
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    z-index: 998;
    box-shadow: 0 -4px 20px rgba(14,28,47,0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mob-bottom-nav__item {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 4px; padding: 8px 4px;
    font-size: 0.62rem; font-weight: 500;
    color: var(--text-light); text-decoration: none;
    background: none; border: none; cursor: pointer;
    transition: color 0.2s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-bottom-nav__item:active { background: var(--cream); }
  .mob-bottom-nav__item.active { color: var(--gold); }
  .mob-bottom-nav__item.active .mob-nav-icon { stroke: var(--gold); }
  .mob-nav-icon {
    width: 22px !important; height: 22px !important;
    min-width: 22px; min-height: 22px;
    max-width: 22px; max-height: 22px;
    stroke: currentColor; flex-shrink: 0;
    display: block;
    transition: stroke 0.2s;
  }
  .mob-bottom-nav__item.active::before {
    content: '';
    position: absolute; top: 0; left: 25%; right: 25%;
    height: 2px; background: var(--gold);
    border-radius: 0 0 2px 2px;
  }
  .mob-bottom-nav__badge {
    position: absolute; top: 6px; right: calc(50% - 18px);
    background: var(--gold); color: white;
    font-size: 0.58rem; font-weight: 700;
    min-width: 16px; height: 16px; border-radius: 8px;
    padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
  }
  .mob-bottom-nav__search { color: var(--text-light); }

  /* Force hide desktop search on mobile */
  .search-overlay { display: none !important; }

  /* ── Mobile Search Sheet (slides up from bottom) ── */
  .mob-search-sheet {
    position: fixed; inset: 0;
    background: rgba(14,28,47,0.5);
    z-index: 1200;
    display: none;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .mob-search-sheet.open {
    display: flex;
    opacity: 1;
    pointer-events: all;
  }
  .mob-search-sheet__inner {
    width: 100%; background: var(--white);
    border-radius: 20px 20px 0 0;
    padding: 8px 0 calc(80px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80vh; overflow-y: auto;
  }
  .mob-search-sheet.open .mob-search-sheet__inner {
    transform: translateY(0);
  }
  /* Drag handle */
  .mob-search-sheet__inner::before {
    content: '';
    display: block; width: 40px; height: 4px;
    background: var(--border); border-radius: 2px;
    margin: 8px auto 16px;
  }
  .mob-search-sheet__header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 0 20px 12px;
    border-bottom: 1px solid var(--border);
  }
  .mob-search-sheet__header span {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 600; color: var(--navy);
  }
  .mob-search-sheet__header button {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--cream); border: none;
    font-size: 0.9rem; cursor: pointer; color: var(--text-light);
    display: flex; align-items: center; justify-content: center;
  }
  /* Search form inside sheet */
  .mob-search-sheet .search-form {
    display: flex; align-items: center; gap: 0;
    margin: 16px 20px;
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 12px; overflow: hidden;
  }
  .mob-search-sheet .search-field {
    flex: 1; border: none; background: transparent;
    padding: 14px 16px; font-size: 1rem;
    font-family: var(--font-body); outline: none;
    color: var(--text);
  }
  .mob-search-sheet .search-submit {
    background: var(--navy); color: white;
    border: none; padding: 14px 20px; cursor: pointer;
    font-size: 0.85rem; font-weight: 500;
  }

  /* Category chips inside search */
  .mob-search-chips { padding: 16px 20px; }
  .mob-search-chips__label {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-light); margin-bottom: 10px;
  }
  .mob-search-chips__list {
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .mob-chip {
    padding: 7px 14px; border-radius: 20px;
    background: var(--cream); border: 1px solid var(--border);
    font-size: 0.82rem; color: var(--navy);
    text-decoration: none; transition: all 0.2s;
    white-space: nowrap;
  }
  .mob-chip:active { background: var(--gold); color: white; border-color: var(--gold); }

  /* ── Mobile WooCommerce Adjustments ── */
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.85rem !important; padding: 10px 10px 4px !important; }
  .woocommerce ul.products li.product .price { padding: 0 10px 8px !important; font-size: 0.88rem !important; }
  .woocommerce ul.products li.product .button { padding: 8px !important; font-size: 0.7rem !important; }

  /* Price breakup table — scrollable on mobile */
  .zaptr-pricing-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.78rem !important;
  }
  .zaptr-pricing-table thead,
  .zaptr-pricing-table tbody,
  .zaptr-pricing-table tr { display: table; width: 100%; table-layout: fixed; }
  .zaptr-pricing-table th,
  .zaptr-pricing-table td { padding: 8px 10px !important; font-size: 0.78rem !important; }
  /* Wrap table in scrollable container */
  .woocommerce-Tabs-panel--description { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .zaptr-pricing-table-wrap { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; }

  /* Single product mobile */
  .woocommerce div.product { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Cart/checkout mobile */
  .woocommerce-checkout #customer_details { grid-template-columns: 1fr !important; }

  /* Shop sidebar hidden on mobile (use filter button instead) */
  .shop-layout { grid-template-columns: 1fr !important; }
  .sidebar { display: none; }

  /* Section padding mobile */
  .section { padding: 32px 0 !important; }
  .container { padding: 0 14px !important; }

  /* Hero mobile */
  .hero { min-height: 300px !important; padding: 40px 0 !important; }
  .hero h1 { font-size: 1.6rem !important; }
  .hero__badge { display: none !important; }
  .hero__subtitle { font-size: 0.9rem !important; }
  .hero__actions { flex-direction: column !important; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Category grid mobile */
  .grid-4 { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
  .grid-3 { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
  .grid-2 { grid-template-columns: 1fr !important; }

  /* Features bar mobile */
  .features-grid { grid-template-columns: repeat(2,1fr) !important; gap: 16px !important; }

  /* Footer simplified on mobile */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-legal .container { flex-direction: column !important; gap: 16px !important; }
  .footer-bottom .container { flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .footer-legal-info { min-width: unset !important; }

  /* Page banner mobile */
  .page-banner { padding: 32px 0 !important; }
  .page-banner h1 { font-size: 1.4rem !important; }

  /* Hide sticky cart bar on mobile (bottom nav handles it) */
  .sticky-cart-bar { display: none !important; }

  /* Back to top position (above bottom nav) */
  .back-to-top { bottom: calc(76px + env(safe-area-inset-bottom)) !important; right: 16px !important; left: auto !important; }

  /* WhatsApp float btn on mobile */
  .mob-wa-fab {
    position: fixed;
    bottom: calc(76px + env(safe-area-inset-bottom));
    left: 16px;
    width: 48px; height: 48px;
    background: #25D366; color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 500; font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.2s;
  }
  .mob-wa-fab:active { transform: scale(0.9); }
}

/* Tablet: 769–1024px — hybrid layout */
@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-only { display: none !important; }
  .products-grid,
  .woocommerce ul.products { grid-template-columns: repeat(3,1fr) !important; }
  .grid-4 { grid-template-columns: repeat(2,1fr) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
