/* Font loaded via <link> in header.php for best performance */

/* ============================================================
   RANGSHINE – DESIGN SYSTEM
   Brand: Gold #C9A227 · Dark #1A1A1A · Silver #E0D5BC
   ============================================================ */

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --gold:          #D4AF40;
  --gold-light:    #E8C96A;
  --gold-dark:     #A8841E;
  --gold-pale:     #1E1A0A;
  --gold-glow:     rgba(212,175,64,.2);
  --bg:            #0D0D0D;
  --bg-card:       #1A1A1A;
  --white:         #1A1A1A;
  --border:        #2A2A2A;
  --border-light:  #222222;
  --text:          #E8E8E8;
  --text-mid:      #AAAAAA;
  --text-light:    #777777;
  --dark-900:      #F5F5F5;
  --dark-800:      #EEEEEE;
  --dark-700:      #E0E0E0;
  --dark-600:      #CCCCCC;
  --dark-500:      #AAAAAA;
  --dark-400:      #888888;
}
[data-theme="dark"] body { background: #0D0D0D; color: #E8E8E8; }
[data-theme="dark"] .site-header { background: #141414; border-color: #2A2A2A; }
[data-theme="dark"] .topbar { background: #0A0A0A; }
[data-theme="dark"] .main-nav { background: #0A0A0A; }
[data-theme="dark"] .dropdown { background: #1A1A1A; border-color: #2A2A2A; }
[data-theme="dark"] .dropdown a { color: #CCCCCC; border-color: #2A2A2A; }
[data-theme="dark"] .dropdown a:hover { background: #222; }
[data-theme="dark"] .header-search input { background: #222; border-color: #333; color: #EEE; }
[data-theme="dark"] .header-action-btn { color: #CCC; }
[data-theme="dark"] .header-action-btn:hover { background: #222; }
[data-theme="dark"] .product-card { background: #1c1c1c; border-color: #2e2e2e; }
[data-theme="dark"] .product-card:hover { border-color: rgba(201,162,39,.4); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
[data-theme="dark"] .product-body { background: transparent; }
[data-theme="dark"] .product-price-row { border-top-color: #2e2e2e; }
[data-theme="dark"] .product-name { color: #e8e8e8; }
[data-theme="dark"] .product-cat { color: var(--gold); }
[data-theme="dark"] .product-price { background: linear-gradient(135deg, #D4AF40, #E8C96A); -webkit-background-clip: text; background-clip: text; }
[data-theme="dark"] .placeholder-img { background: linear-gradient(160deg, #252010 0%, #1e1a08 50%, #191508 100%); }
[data-theme="dark"] .btn-add-cart { color: #1a1200; }
[data-theme="dark"] .post-card { background: #1A1A1A; border-color: #2A2A2A; }
[data-theme="dark"] .post-title { color: #E8E8E8; }
[data-theme="dark"] .features-grid { background: #141414; border-top-color: var(--gold); }
[data-theme="dark"] .feature-item { border-color: #2A2A2A; }
[data-theme="dark"] .feature-item:hover { background: #222; }
[data-theme="dark"] .feature-text h4 { color: #E8E8E8; }
[data-theme="dark"] .section-white { background: #111 !important; }
[data-theme="dark"] .section-gold  { background: #1A1408 !important; }
[data-theme="dark"] .filter-sidebar { background: #1A1A1A; border-color: #2A2A2A; }
[data-theme="dark"] .filter-link { color: #CCC; }
[data-theme="dark"] .filter-link.active, [data-theme="dark"] .filter-link:hover { background: #1E1A0A; color: #D4AF40; }
[data-theme="dark"] .filter-check-item { color: #AAA; }
[data-theme="dark"] .filter-check-item:hover { background: #1E1A0A; color: #DDD; }
[data-theme="dark"] .filter-check-item:has(input:checked) { background: #1E1A0A; border-color: rgba(212,175,64,.35); color: #D4AF40; }
[data-theme="dark"] .filter-check-item input[type=checkbox] { background: #222; border-color: #444; }
[data-theme="dark"] .filter-reset-btn { color: #666; border-color: #333; }
[data-theme="dark"] .filter-reset-btn:hover { color: #f87171; border-color: #f87171; background: rgba(248,113,113,.08); }
[data-theme="dark"] .products-toolbar { background: #1A1A1A; border-color: #2A2A2A; }
[data-theme="dark"] .toolbar-search input { background: #222; border-color: #333; color: #EEE; }
[data-theme="dark"] .form-card { background: #1A1A1A; border-color: #2A2A2A; }
[data-theme="dark"] .form-control { background: #222; border-color: #333; color: #EEE; }
[data-theme="dark"] .info-card { background: #0A0A0A; }
[data-theme="dark"] .stat-card { background: #1A1A1A; border-color: #2A2A2A; }
[data-theme="dark"] .stat-num { color: var(--gold); }
[data-theme="dark"] .breadcrumb-section { background: #141414; border-color: #2A2A2A; }
[data-theme="dark"] .page-btn              { background: #1A1A1A; border-color: #2A2A2A; color: #CCC; }
[data-theme="dark"] .page-btn:hover        { background: #1E1A0A; border-color: var(--gold); color: #D4AF40; }
[data-theme="dark"] .page-btn.active       { background: linear-gradient(135deg, #E8C96A, #C9A227); color: #1a1200; border-color: #A8841E; }
[data-theme="dark"] .page-btn-ellipsis     { background: transparent; border-color: transparent; color: #555; }
[data-theme="dark"] .page-btn-disabled     { opacity: .25; }
[data-theme="dark"] .category-no-img .category-overlay { background: linear-gradient(135deg,#1E1A0A,#141008); }
[data-theme="dark"] .product-gallery .main-img { background: #222; border-color: #333; }
[data-theme="dark"] .product-guarantees { background: #1E1A0A; border-color: rgba(212,175,64,.2); }
[data-theme="dark"] .mobile-menu { background: #1A1A1A; }
[data-theme="dark"] .mobile-nav-link { border-color: #2A2A2A; color: #CCC; }
[data-theme="dark"] .mobile-nav-link:hover { background: #222; }
[data-theme="dark"] .mobile-menu-header { background: #0A0A0A; }

/* Dark mode theme toggle button */
.theme-toggle-btn {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--border);
  position: relative;
  cursor: pointer;
  border: none;
  transition: background .3s ease;
  flex-shrink: 0;
}
.theme-toggle-btn::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  right: 3px;
  transition: all .3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
[data-theme="dark"] .theme-toggle-btn { background: var(--gold); }
[data-theme="dark"] .theme-toggle-btn::after { right: auto; left: 3px; background: var(--dark-900); }

/* ===== RICH CONTENT (Quill output on frontend) ===== */
.rich-content {
  font-family: var(--font);
  line-height: 1.9;
  color: var(--text);
  font-size: .96rem;
}
.rich-content p { margin-bottom: .7em; }
.rich-content h1 { font-size: 1.9em; font-weight: 900; color: var(--dark-700); margin: .8em 0 .4em; line-height: 1.3; }
.rich-content h2 { font-size: 1.55em; font-weight: 800; color: var(--dark-700); margin: .7em 0 .35em; }
.rich-content h3 { font-size: 1.25em; font-weight: 700; color: var(--dark-700); margin: .6em 0 .3em; }
.rich-content h4 { font-size: 1.05em; font-weight: 700; color: var(--gold-dark); margin: .5em 0 .25em; }
/* Bullet list */
.rich-content ul {
  padding-right: 1.6em;
  padding-left: 0;
  margin: .5em 0 .8em;
  list-style: none;
}
.rich-content ul li { position: relative; padding-right: .4em; margin-bottom: .35em; }
.rich-content ul li::before {
  content: '◆';
  color: var(--gold);
  font-size: .7em;
  position: absolute;
  right: -1.4em;
  top: .35em;
}
/* Nested bullets */
.rich-content ul li ul li::before { content: '◇'; color: var(--gold-dark); }
.rich-content ul li ul li ul li::before { content: '▸'; color: var(--gold); }
/* Ordered list */
.rich-content ol {
  padding-right: 1.8em;
  padding-left: 0;
  margin: .5em 0 .8em;
}
.rich-content ol li { margin-bottom: .35em; padding-right: .3em; }
.rich-content ol li::marker { color: var(--gold); font-weight: 800; }
/* Blockquote */
.rich-content blockquote {
  border-right: 4px solid var(--gold);
  border-left: none;
  background: var(--gold-pale);
  padding: 12px 18px 12px 12px;
  margin: 14px 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-mid);
  font-style: italic;
}
/* Code */
.rich-content pre {
  background: var(--dark-800);
  color: var(--gold-light);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Courier New', monospace;
  font-size: .88em;
  direction: ltr;
  text-align: left;
  overflow-x: auto;
  margin: 12px 0;
}
.rich-content code {
  background: var(--gold-pale);
  color: var(--gold-dark);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: .88em;
}
.rich-content a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.rich-content a:hover { color: var(--gold); }
.rich-content strong { font-weight: 800; color: var(--dark-700); }
.rich-content em { font-style: italic; }
.rich-content u  { text-underline-offset: 3px; }
.rich-content s  { opacity: .65; }
/* Font classes from Quill */
.rich-content .ql-font-noto-kufi  { font-family: 'Noto Kufi Arabic', Tahoma, sans-serif; }
.rich-content .ql-font-tahoma     { font-family: Tahoma, sans-serif; }
.rich-content .ql-font-arial      { font-family: Arial, sans-serif; }
.rich-content .ql-font-times      { font-family: 'Times New Roman', serif; }
.rich-content .ql-font-georgia    { font-family: Georgia, serif; }
.rich-content .ql-font-courier    { font-family: 'Courier New', monospace; }
/* Alignment */
.rich-content .ql-align-center { text-align: center !important; }
.rich-content .ql-align-left   { text-align: left !important; }
.rich-content .ql-align-right  { text-align: right !important; }
.rich-content .ql-align-justify{ text-align: justify !important; }
/* Indent */
.rich-content .ql-indent-1 { padding-right: 2em; }
.rich-content .ql-indent-2 { padding-right: 4em; }
.rich-content .ql-indent-3 { padding-right: 6em; }
/* Dark mode rich content */
[data-theme="dark"] .rich-content { color: #CCCCCC; }
[data-theme="dark"] .rich-content h1,
[data-theme="dark"] .rich-content h2,
[data-theme="dark"] .rich-content h3 { color: #E8E8E8; }
[data-theme="dark"] .rich-content strong { color: #F0F0F0; }
[data-theme="dark"] .rich-content blockquote { background: #1E1A0A; color: #AAA; }
:root {
  /* Gold palette */
  --gold:         #C9A227;
  --gold-light:   #E4C45E;
  --gold-dark:    #9A7A1A;
  --gold-pale:    #FBF5E4;
  --gold-glow:    rgba(201,162,39,.18);

  /* Dark palette */
  --dark-900:     #0A0A0A;
  --dark-800:     #141414;
  --dark-700:     #1A1A1A;
  --dark-600:     #252525;
  --dark-500:     #343434;
  --dark-400:     #505050;

  /* Light palette */
  --white:        #FFFFFF;
  --bg:           #F8F6F1;
  --bg-card:      #FFFFFF;
  --border:       #E8E0CC;
  --border-light: #F0EAD8;

  /* Text */
  --text:         #222222;
  --text-mid:     #555555;
  --text-light:   #888888;

  /* Semantic */
  --success:  #2E7D32;
  --danger:   #C62828;
  --info:     #1565C0;

  /* Misc */
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow:     0 6px 28px rgba(0,0,0,.09);
  --shadow-lg:  0 12px 50px rgba(0,0,0,.14);
  --shadow-gold: 0 6px 28px rgba(201,162,39,.22);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font:       'Noto Kufi Arabic', 'Tahoma', Arial, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
input, textarea, select { font-family: var(--font); }

/* ===== LAYOUT ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-white { background: var(--white); }
.section-dark  { background: var(--dark-700); }
.section-gold  { background: var(--gold-pale); }

/* ===== TYPOGRAPHY ===== */
.section-header { text-align: center; margin-bottom: 52px; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark-700);
  letter-spacing: -.3px;
  line-height: 1.3;
}
.section-title .gold  { color: var(--gold); }
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-top: 12px;
}
.section-header .section-title::after { margin: 12px auto 0; }
.section-subtitle { color: var(--text-light); font-size: .92rem; margin-top: 12px; font-weight: 400; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: .93rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: .2px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--dark-800);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,162,39,.35);
}
.btn-dark {
  background: var(--dark-700);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark-800);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.85);
}
.btn-white {
  background: var(--white);
  color: var(--dark-700);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-sm  { padding: 8px 18px; font-size: .82rem; border-radius: 8px; }
.btn-lg  { padding: 15px 38px; font-size: 1rem; border-radius: 12px; }
.btn-xl  { padding: 18px 46px; font-size: 1.05rem; border-radius: 14px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--dark-800);
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201,162,39,.2);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item i { color: var(--gold); font-size: .82rem; }
.topbar a { color: rgba(255,255,255,.65); transition: var(--transition); }
.topbar a:hover { color: var(--gold); }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.10); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}
.site-logo { flex-shrink: 0; }
.site-logo img { height: 54px; width: auto; }

.header-search { flex: 1; max-width: 500px; position: relative; }
.header-search input {
  width: 100%;
  padding: 11px 22px;
  padding-left: 48px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: .88rem;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
}
.header-search input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--gold-glow);
}
.header-search input::placeholder { color: var(--text-light); }
.header-search button {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--text-light);
  font-size: .95rem;
  transition: var(--transition);
}
.header-search button:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-right: auto; }
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-mid);
  font-size: .74rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: var(--transition);
  font-family: var(--font);
}
.header-action-btn i { font-size: 1.15rem; }
.header-action-btn:hover { background: var(--gold-pale); color: var(--gold-dark); }
.hamburger {
  display: none;
  background: none;
  font-size: 1.35rem;
  color: var(--dark-700);
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.hamburger:hover { background: var(--gold-pale); color: var(--gold); }

/* ===== MAIN NAV ===== */
.main-nav {
  background: var(--dark-700);
  border-bottom: 2px solid var(--gold-dark);
}
.main-nav .container { display: flex; align-items: stretch; }
.nav-list { display: flex; align-items: stretch; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  font-weight: 600;
  padding: 0 20px;
  height: 48px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(201,162,39,.1);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link .fa-chevron-down { font-size: .65rem; opacity: .6; }

/* Dropdown */
.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: 2px solid var(--gold);
  z-index: 999;
  overflow: hidden;
}
.dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: .87rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
  padding-right: 26px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-700) 55%, #1E1810 100%);
}
/* Decorative grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .07;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,.18) 0%, transparent 65%);
  top: -150px;
  left: -100px;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,162,39,.1) 0%, transparent 65%);
  bottom: -100px;
  right: 10%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 640px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,.15);
  border: 1px solid rgba(201,162,39,.4);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: .3px;
  animation: labelPulse 3s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero-title .gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: .98rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 34px;
  line-height: 1.9;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

/* ===== FEATURES ===== */
.features { padding: 0; margin: 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  border-left: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform .35s ease;
}
.feature-item:hover::before { transform: scaleX(1); }
.feature-item:last-child { border-left: none; }
.feature-item:hover { background: var(--gold-pale); }
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark-800);
  box-shadow: var(--shadow-gold);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-item:hover .feature-icon { transform: scale(1.12) rotate(-4deg); box-shadow: 0 8px 24px rgba(201,162,39,.4); }
.feature-text h4 { font-size: .9rem; font-weight: 800; color: var(--dark-700); margin-bottom: 2px; }
.feature-text p  { font-size: .77rem; color: var(--text-light); }

/* ===== SECTION DIVIDER ===== */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0;
  opacity: .4;
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--dark-600);
  border: 1px solid rgba(201,162,39,.15);
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(201,162,39,.2);
  border-color: var(--gold);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.1); }
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.85) 0%, rgba(10,10,10,.2) 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 10px;
  transition: var(--transition);
}
.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(10,10,10,.9) 0%, rgba(201,162,39,.15) 100%);
}
.category-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(201,162,39,.5));
  transition: var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.15); }
.category-name {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
.category-count { color: rgba(255,255,255,.55); font-size: .72rem; margin-top: 2px; }

/* When no image */
.category-no-img .category-overlay {
  background: linear-gradient(135deg, var(--dark-600) 0%, var(--dark-500) 100%);
  justify-content: center;
  padding: 20px;
}
.category-no-img:hover .category-overlay {
  background: linear-gradient(135deg, #2D2010 0%, #1A1408 100%);
}

/* ── Category accent colours (icon glow + tinted dark bg per position) ── */
.category-no-img:nth-child(6n+1) .category-overlay { background: linear-gradient(135deg, #2D2010 0%, #1A1408 100%); }
.category-no-img:nth-child(6n+2) .category-overlay { background: linear-gradient(135deg, #0A1628 0%, #060F1C 100%); }
.category-no-img:nth-child(6n+3) .category-overlay { background: linear-gradient(135deg, #091C12 0%, #050F0A 100%); }
.category-no-img:nth-child(6n+4) .category-overlay { background: linear-gradient(135deg, #1C0A0A 0%, #110505 100%); }
.category-no-img:nth-child(6n+5) .category-overlay { background: linear-gradient(135deg, #130826 0%, #0B0617 100%); }
.category-no-img:nth-child(6n+6) .category-overlay { background: linear-gradient(135deg, #081C1A 0%, #050E0D 100%); }

.category-no-img:nth-child(6n+1) .category-icon { color: var(--gold);  filter: drop-shadow(0 0 10px rgba(201,162,39,.65)); }
.category-no-img:nth-child(6n+2) .category-icon { color: #60A5FA; filter: drop-shadow(0 0 10px rgba(96,165,250,.65)); }
.category-no-img:nth-child(6n+3) .category-icon { color: #4ADE80; filter: drop-shadow(0 0 10px rgba(74,222,128,.65)); }
.category-no-img:nth-child(6n+4) .category-icon { color: #F87171; filter: drop-shadow(0 0 10px rgba(248,113,113,.65)); }
.category-no-img:nth-child(6n+5) .category-icon { color: #C084FC; filter: drop-shadow(0 0 10px rgba(192,132,252,.65)); }
.category-no-img:nth-child(6n+6) .category-icon { color: #22D3EE; filter: drop-shadow(0 0 10px rgba(34,211,238,.65)); }

.category-no-img:nth-child(6n+2) { border-color: rgba(96,165,250,.2); }
.category-no-img:nth-child(6n+3) { border-color: rgba(74,222,128,.2); }
.category-no-img:nth-child(6n+4) { border-color: rgba(248,113,113,.2); }
.category-no-img:nth-child(6n+5) { border-color: rgba(192,132,252,.2); }
.category-no-img:nth-child(6n+6) { border-color: rgba(34,211,238,.2); }

.category-no-img:nth-child(6n+2):hover { border-color: rgba(96,165,250,.55);  box-shadow: 0 12px 40px rgba(96,165,250,.14); }
.category-no-img:nth-child(6n+3):hover { border-color: rgba(74,222,128,.55);  box-shadow: 0 12px 40px rgba(74,222,128,.14); }
.category-no-img:nth-child(6n+4):hover { border-color: rgba(248,113,113,.55); box-shadow: 0 12px 40px rgba(248,113,113,.14); }
.category-no-img:nth-child(6n+5):hover { border-color: rgba(192,132,252,.55); box-shadow: 0 12px 40px rgba(192,132,252,.14); }
.category-no-img:nth-child(6n+6):hover { border-color: rgba(34,211,238,.55);  box-shadow: 0 12px 40px rgba(34,211,238,.14); }

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* ── Card shell — equal height every row ── */
.product-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.055);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, border-color .3s;
  position: relative;
  border: 1.5px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  padding: 0;
  margin: 0;
}
.product-card:hover {
  box-shadow: 0 16px 48px rgba(201,162,39,.18), 0 4px 16px rgba(0,0,0,.07);
  transform: translateY(-6px);
  border-color: rgba(201,162,39,.5);
}

/* gold top stripe handled by Tailwind card HTML element */
.product-card::before { content: none; }
.product-card:hover::before { content: none; }

/* ── Image area — fixed height, identical on every card ── */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #faf8f2, #f2ead5);
  width: 100%;
  height: 200px;
  min-height: 200px;
  flex-shrink: 0;
  display: block;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

/* Image bottom gradient */
.product-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,.18) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .3s;
}
.product-card:hover .product-img-wrap::after { opacity: 1; }

/* Quick-action overlay — slides up from bottom */
.product-actions-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  z-index: 4;
}
.product-card:hover .product-actions-overlay { transform: translateY(0); }

.product-action-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--dark-700);
  box-shadow: 0 3px 14px rgba(0,0,0,.22);
  transition: all .2s;
  border: none; cursor: pointer;
  text-decoration: none;
}
.product-action-btn:hover {
  background: var(--gold);
  color: var(--dark-800);
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(201,162,39,.4);
}

/* ── Badge ── */
.product-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: .68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 5;
  letter-spacing: .4px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.product-badge.disc     { background: #ef4444; color: #fff; }
.product-badge.new      { background: #18181b; color: var(--gold); border: 1px solid rgba(201,162,39,.5); }
.product-badge.featured { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #2a1e00; }

/* ── Out-of-stock badge ── */
.product-badge.out-stock { background: rgba(0,0,0,.6); color: #eee; backdrop-filter: blur(4px); }

/* ── Card body ── */
.product-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: .68rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}
.product-cat::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.product-name {
  font-size: .93rem;
  font-weight: 700;
  color: var(--dark-700);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
  margin-bottom: 0;
  min-height: calc(1.5 * .93rem * 2); /* always reserve 2-line height so spacer is uniform */
}
.product-card:hover .product-name { color: var(--gold-dark); }

.product-spacer { flex: 1; min-height: 10px; }

.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-price small {
  font-size: .69rem;
  font-weight: 600;
  -webkit-text-fill-color: var(--text-light);
  background: none;
  margin-right: 2px;
}
.product-old-price {
  font-size: .77rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-top: 3px;
  display: block;
}
.product-discount { font-size: .75rem; color: var(--danger); font-weight: 700; }

/* ── Add-to-cart button ── */
.btn-add-cart {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: var(--dark-800);
  border-radius: 10px;
  padding: 10px 10px;
  font-size: .8rem;
  font-weight: 800;
  font-family: var(--font);
  transition: all .22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(201,162,39,.3);
  letter-spacing: .2px;
}
.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,.45);
}
.btn-add-cart:active { transform: scale(.98); }

/* ── Placeholder image ── */
.placeholder-img {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(160deg, #f5f0e4 0%, #ede3c4 50%, #e4d5a0 100%);
  position: relative;
  overflow: hidden;
}
.placeholder-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.placeholder-img::after {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.placeholder-img i {
  position: relative;
  z-index: 1;
  font-size: 2.2rem;
  color: var(--gold-dark);
  opacity: .7;
}
.placeholder-img span {
  position: relative;
  z-index: 1;
  font-size: .68rem;
  font-weight: 700;
  color: var(--gold-dark);
  opacity: .6;
  letter-spacing: .4px;
}

/* ===== OFFER BANNER ===== */
.offer-banner {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-700) 60%, #1E1810 100%);
  border-radius: var(--radius-xl);
  padding: 56px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(201,162,39,.2);
}
.offer-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.offer-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,162,39,.15) 0%, transparent 65%);
  left: -100px; top: -100px;
}
.offer-content { position: relative; z-index: 2; }
.offer-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.offer-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.3;
}
.offer-title .gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.offer-desc { color: rgba(255,255,255,.72); margin-bottom: 28px; line-height: 1.8; }
.offer-img { position: relative; z-index: 2; max-width: 300px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.offer-img img { width: 100%; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(201,162,39,.3);
}
.post-img { width: 100%; height: 195px; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-img { transform: scale(1.04); }
.post-img-placeholder {
  width: 100%;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold);
  background: linear-gradient(135deg, #FAF3DC 0%, #F0E4A8 45%, #E8D470 100%);
  position: relative;
}
.post-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.post-img-placeholder i { position: relative; z-index: 1; }
.post-body { padding: 22px 20px; }
.post-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.post-date {
  font-size: .78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-date i { color: var(--gold); font-size: .75rem; }
.post-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-700);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: var(--transition);
}
.post-card:hover .post-title { color: var(--gold-dark); }
.post-excerpt {
  font-size: .86rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--gold-dark);
  font-weight: 700;
}
.post-read-more:hover { color: var(--gold); }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark-900); color: rgba(255,255,255,.65); }
.footer-top {
  padding: 64px 0 44px;
  border-bottom: 1px solid rgba(201,162,39,.15);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 44px; }
.footer-logo { height: 48px; margin-bottom: 18px; }
.footer-about { font-size: .88rem; line-height: 1.9; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.05);
}
.social-btn:hover {
  background: var(--gold);
  color: var(--dark-800);
  transform: translateY(-3px);
  border-color: var(--gold);
}
.footer-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a i { color: var(--gold); font-size: .78rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-right: 4px; }
.footer-links a:hover i { transform: translateX(-3px); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .86rem;
}
.footer-contact-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(201,162,39,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  border: 1px solid rgba(201,162,39,.2);
}
.footer-contact-text small { color: rgba(255,255,255,.4); font-size: .75rem; display: block; margin-bottom: 1px; }
.footer-contact-text a, .footer-contact-text span { color: rgba(255,255,255,.78); font-weight: 500; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom span i { color: var(--gold); }

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 13px 0;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.breadcrumb a { color: var(--gold-dark); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-light); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 6px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 700;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.page-btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-1px);
}
.page-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark-800);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 14px rgba(201,162,39,.35);
  transform: translateY(-1px);
}
/* Prev / Next arrow buttons */
.page-btn-nav {
  font-size: .78rem;
  color: var(--text-mid);
}
.page-btn-nav:hover {
  background: var(--gold);
  border-color: var(--gold-dark);
  color: var(--dark-800);
}
/* Disabled state */
.page-btn-disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
/* Ellipsis */
.page-btn-ellipsis {
  border-color: transparent;
  background: transparent;
  color: var(--text-light);
  cursor: default;
  font-size: 1rem;
  font-weight: 400;
  min-width: 28px;
  pointer-events: none;
}

/* ===== FORM ===== */
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 8px; color: var(--dark-700); }
.form-control {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: .9rem;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}
textarea.form-control { resize: vertical; min-height: 135px; }

/* ===== ALERT ===== */
.alert {
  padding: 13px 18px;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.alert-danger  { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: var(--gold-pale); color: var(--gold-dark); border: 1px solid rgba(201,162,39,.4); }
.alert i { font-size: 1rem; }

/* ===== PRODUCT DETAIL ===== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
/* Badge in info area is inline, not overlay */
.product-detail-grid .product-badge { position: static; display: inline-flex; vertical-align: middle; margin-bottom: 6px; }
.product-gallery .main-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info-title { font-size: 1.75rem; font-weight: 900; color: var(--dark-700); margin-bottom: 14px; line-height: 1.3; }
.product-info-price {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--gold-dark);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.product-info-price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  -webkit-text-fill-color: var(--text-light);
  background: none;
}
.product-info-desc { color: var(--text-mid); line-height: 1.95; margin-bottom: 26px; font-size: .95rem; }

/* Product detail guarantees */
.product-guarantees {
  background: var(--gold-pale);
  border: 1px solid rgba(201,162,39,.25);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.guarantee-item { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--text-mid); }
.guarantee-item i { color: var(--gold); font-size: .95rem; }

/* ===== ABOUT ===== */
.about-hero {
  background: linear-gradient(135deg, var(--dark-900), var(--dark-700));
  color: var(--white);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-gold); border-color: rgba(201,162,39,.3); transform: translateY(-3px); }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--gold); }
.stat-label { font-size: .82rem; color: var(--text-light); margin-top: 5px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; }
.info-card {
  background: var(--dark-700);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 38px;
  border: 1px solid rgba(201,162,39,.2);
}
.info-card-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 28px; color: var(--white); }
.info-card-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.info-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(201,162,39,.15);
  border: 1px solid rgba(201,162,39,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1rem;
}
.info-text small { color: rgba(255,255,255,.45); font-size: .75rem; display: block; margin-bottom: 2px; }
.info-text a, .info-text span { color: rgba(255,255,255,.85); font-weight: 500; font-size: .9rem; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: -100%;
  width: 310px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 2000;
  box-shadow: -6px 0 40px rgba(0,0,0,.25);
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1999;
  backdrop-filter: blur(3px);
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu-header {
  background: var(--dark-700);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold-dark);
}
.mobile-menu-header img { height: 38px; }
.mobile-menu-close { background: none; color: rgba(255,255,255,.7); font-size: 1.3rem; transition: var(--transition); }
.mobile-menu-close:hover { color: var(--gold); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--gold-pale); color: var(--gold-dark); }
.mobile-nav-link i { color: var(--gold); width: 18px; text-align: center; }

/* ===== VIEW ALL ===== */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--gold-dark);
  border: 1.5px solid rgba(201,162,39,.4);
  padding: 8px 18px;
  border-radius: 50px;
  transition: var(--transition);
}
.view-all:hover {
  background: var(--gold);
  color: var(--dark-800);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* ===== SIDEBAR FILTER ===== */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: sticky;
  top: 90px;
}
.filter-title {
  font-size: .92rem;
  font-weight: 800;
  color: var(--dark-700);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-title i { color: var(--gold); }
.filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .88rem;
  color: var(--text-mid);
  transition: var(--transition);
  margin-bottom: 3px;
}
.filter-link:hover, .filter-link.active {
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-weight: 600;
}

/* ── Checkbox filter items ── */
.filter-check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .88rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 3px;
  border: 1.5px solid transparent;
  user-select: none;
}
.filter-check-item:hover { background: var(--gold-pale); color: var(--text); }
.filter-check-item:has(input:checked) {
  background: var(--gold-pale);
  border-color: rgba(201,162,39,.35);
  color: var(--gold-dark);
  font-weight: 700;
}
.filter-check-item span { flex: 1; }
.filter-check-item input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all .18s;
  position: relative;
  background: var(--white);
}
.filter-check-item input[type=checkbox]:checked {
  background: var(--gold);
  border-color: var(--gold-dark);
}
.filter-check-item input[type=checkbox]:checked::after {
  content: '';
  display: block;
  position: absolute;
  top: 2px; left: 4px;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* ── Filter reset / clear button ── */
.filter-reset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
  text-decoration: none;
}
.filter-reset-btn:hover { color: var(--danger); border-color: var(--danger); background: #fef2f2; }

/* ===== SEARCH BAR (products page) ===== */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.toolbar-count { font-size: .88rem; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.toolbar-count strong {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 800;
}
.toolbar-search { display: flex; gap: 10px; align-items: center; }
.toolbar-search input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .86rem;
  font-family: var(--font);
  width: 220px;
  transition: var(--transition);
}
.toolbar-search input:focus { outline: none; border-color: var(--gold); }
.toolbar-search button {
  background: var(--dark-700);
  color: var(--gold);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition);
}
.toolbar-search button:hover { background: var(--gold); color: var(--dark-800); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-light);
}
.empty-state i { font-size: 3.5rem; color: var(--border); margin-bottom: 14px; display: block; }
.empty-state h3 { font-size: 1rem; font-weight: 700; color: var(--text-light); }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.fw-800 { font-weight: 800; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ===== QUANTITY SELECTOR (product detail page) ===== */
.product-add-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.qty-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  height: 48px;
}
.qty-wrapper button {
  background: var(--bg);
  border: none;
  width: 40px;
  height: 100%;
  font-size: .85rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.qty-wrapper button:hover { background: var(--gold); color: var(--dark-800); }
.qty-input {
  width: 56px;
  height: 100%;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
}
.qty-input:focus { outline: none; }
[data-theme="dark"] .qty-wrapper { border-color: #333; }
[data-theme="dark"] .qty-wrapper button { background: #222; color: #CCC; }
[data-theme="dark"] .qty-input { background: #1A1A1A; border-color: #333; color: #EEE; }

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
  position: fixed;
  top: 0; right: -100%;
  width: min(400px, 96vw);
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 3000;
  box-shadow: -8px 0 48px rgba(0,0,0,.22);
  transition: right .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-sidebar.open { right: 0; }

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 2999;
  backdrop-filter: blur(3px);
}
.cart-overlay.open { display: block; }

.cart-header {
  background: var(--dark-700);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold-dark);
  flex-shrink: 0;
}
.cart-header h3 {
  color: var(--white);
  font-size: .98rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cart-header h3 i { color: var(--gold); }
.cart-header-close {
  background: none;
  color: rgba(255,255,255,.55);
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}
.cart-header-close:hover { color: var(--gold); background: rgba(255,255,255,.08); }

#cartItems {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cart-empty i { font-size: 3rem; color: var(--border); margin-bottom: 14px; }
.cart-empty p  { font-size: .9rem; margin-bottom: 4px; }

.cart-item {
  display: flex;
  gap: 11px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px;
  border: 1px solid var(--border-light);
  transition: border-color .2s;
  align-items: flex-start;
}
.cart-item:hover { border-color: rgba(201,162,39,.3); }

.cart-item-img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #FAF3DC, #E8D470);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-ph { color: var(--gold); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

.cart-item-main { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: .86rem;
  font-weight: 700;
  color: var(--dark-700);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: .92rem;
  font-weight: 900;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.cart-item-price small { font-size: .7rem; font-weight: 500; color: var(--text-light); }

.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  width: fit-content;
  margin-bottom: 8px;
}
.cart-qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .18s;
}
.cart-qty-btn:hover { background: var(--gold); color: var(--dark-800); }
.cart-qty-val {
  min-width: 30px;
  text-align: center;
  font-size: .86rem;
  font-weight: 800;
  color: var(--dark-700);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 4px;
  line-height: 26px;
}
.cart-note-input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .78rem;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  transition: border-color .2s;
}
.cart-note-input:focus { outline: none; border-color: var(--gold); }

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: .88rem;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 5px;
  transition: all .2s;
  flex-shrink: 0;
}
.cart-remove-btn:hover { color: #fff; background: var(--danger); }

#cartFooter {
  padding: 14px 16px;
  border-top: 1px solid var(--border-light);
  background: var(--white);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .86rem;
  color: var(--text-mid);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.cart-total-row strong { font-size: 1.15rem; font-weight: 900; color: var(--gold-dark); }
.cart-total-row strong small { font-size: .7rem; font-weight: 500; color: var(--text-light); }

.cart-name-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: .88rem;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s;
}
.cart-name-input:focus { outline: none; border-color: var(--gold); }

.cart-wa-btn {
  width: 100%;
  background: #22C55E;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: .9rem;
  font-weight: 800;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: all .25s;
  box-shadow: 0 3px 14px rgba(34,197,94,.3);
}
.cart-wa-btn i { font-size: 1.15rem; }
.cart-wa-btn:hover { background: #16a34a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,197,94,.4); }

.cart-clear-btn {
  width: 100%;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-light);
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all .2s;
}
.cart-clear-btn:hover { border-color: var(--danger); color: var(--danger); background: #fef2f2; }

.cart-footer-close-btn {
  display: none;
  width: 100%;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  font-family: var(--font);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all .2s;
}
.cart-footer-close-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
@media (max-width: 576px) {
  .cart-footer-close-btn { display: flex; }
}

/* Cart icon badge */
.cart-toggle-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--danger);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: .6rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  display: none;
  border: 2px solid var(--white);
  line-height: 1;
  z-index: 2;
}

/* Dark mode cart */
[data-theme="dark"] .cart-sidebar        { background: #141414; }
[data-theme="dark"] .cart-item           { background: #1E1E1E; border-color: #2A2A2A; }
[data-theme="dark"] .cart-item-name      { color: #EEE; }
[data-theme="dark"] .cart-qty-row        { background: #222; border-color: #333; }
[data-theme="dark"] .cart-qty-val        { color: #EEE; border-color: #333; }
[data-theme="dark"] .cart-note-input     { background: #222; border-color: #333; color: #EEE; }
[data-theme="dark"] #cartFooter          { background: #141414; border-color: #2A2A2A; }
[data-theme="dark"] .cart-name-input     { background: #222; border-color: #333; color: #EEE; }
[data-theme="dark"] .cart-total-row      { border-color: #2A2A2A; color: #AAA; }
[data-theme="dark"] .cart-clear-btn           { border-color: #333; color: #777; }
[data-theme="dark"] .cart-footer-close-btn    { border-color: #333; color: #666; }
[data-theme="dark"] .cart-clear-btn:hover{ background: #1a0a0a; }
[data-theme="dark"] .cart-badge          { border-color: #141414; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes imgShimmer {
  0%   { left: -80%; }
  100% { left: 130%; }
}
@keyframes labelPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,.3); }
  50%       { box-shadow: 0 0 0 6px rgba(201,162,39,.0); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.animate-up { animation: fadeInUp .6s cubic-bezier(.4,0,.2,1) both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ===== RESPONSIVE ===== */
/* ════════════════════════════════════════════════
   RESPONSIVE — mobile-first breakpoints
   1200 → 992 → 768 → 576 → 480 → 360
   ════════════════════════════════════════════════ */

/* ── Products page layout ── */
.products-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
/* Sidebar reduces available width → 3 columns fits better than 4 */
.products-layout .products-grid { grid-template-columns: repeat(3, 1fr); }

/* ── Mobile filter toggle (hidden on desktop) ── */
.filter-toggle-btn {
  display: none;
  width: 100%;
  padding: 12px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.filter-toggle-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-toggle-btn i { color: var(--gold); }
/* Sidebar overlay on mobile — above header (1000) + bottom nav (1500), below cart (2999) */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1800;
  backdrop-filter: blur(2px);
}
.filter-overlay.open { display: block; }
.filter-sidebar-mobile-open {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  width: min(85vw, 300px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  z-index: 1801 !important;
  border-radius: 0 !important;
  box-shadow: var(--shadow-lg) !important;
  display: block !important;
  padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
}
/* Make inner content visible when sidebar slides open on mobile */
.filter-sidebar-mobile-open .filter-sidebar {
  display: block !important;
}
/* Category chips for mobile (horizontal scroll) */
.cat-chips-mobile {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
  gap: 8px;
}
.cat-chips-mobile::-webkit-scrollbar { display: none; }
.cat-chip {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
  background: var(--white);
}
.cat-chip:hover, .cat-chip.active {
  background: var(--gold);
  color: var(--dark-800);
  border-color: var(--gold);
}

/* ── 1200px ── */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-grid     { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
}

/* ── 992px ── */
@media (max-width: 992px) {
  .features-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 30px; }
  .blog-grid           { grid-template-columns: repeat(2, 1fr); }
  .products-grid       { grid-template-columns: repeat(2, 1fr); }
  .about-grid          { grid-template-columns: 1fr; }
  .contact-grid        { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .offer-banner        { padding: 40px 36px; }
  .products-layout     { grid-template-columns: 200px 1fr; gap: 20px; }
  .products-layout .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px ── */
@media (max-width: 768px) {
  /* Global */
  .container    { padding: 0 16px; }
  .section      { padding: 44px 0; }
  .section-title{ font-size: 1.6rem; }

  /* Topbar */
  .topbar-right         { display: none; }
  .topbar-social        { display: none; }
  .topbar-left          { gap: 10px !important; }
  .topbar #themeLabel,
  .topbar #themeLabelMob{ display: none; }           /* Show only icon */
  .topbar .topbar-item  { display: none; }

  /* Header */
  .main-nav     { display: none; }
  .hamburger    { display: block; }
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .site-logo    { flex: 1; }
  .header-search{
    order: 10;
    width: 100%;
    flex: none;
    max-width: 100%;
    margin-top: 2px;
  }
  .header-search input { padding: 9px 18px; padding-left: 42px; font-size: .84rem; }
  .header-actions .header-action-btn span { display: none; } /* icon only on mobile */
  .header-action-btn    { padding: 8px; }

  /* Hero */
  .hero         { min-height: 360px; }
  .hero-title   { font-size: 1.75rem; }
  .hero-desc    { font-size: .88rem; }
  .hero-stats   { gap: 20px; padding-top: 22px; margin-top: 26px; }
  .hero-stat-num{ font-size: 1.4rem; }
  .hero-glow, .hero-glow-2 { display: none; }

  /* Features */
  .features-grid{ border-top: none; }
  .feature-item { padding: 18px 16px; }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  /* Products layout — hide sidebar, show chips + toggle */
  .products-layout      { grid-template-columns: 1fr; gap: 0; }
  /* Sidebar is hidden here — full-width single column is better than narrow 2-col */
  .products-layout .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .filter-sidebar       { display: none; position: static; }
  .filter-toggle-btn    { display: flex; }
  .cat-chips-mobile     { display: flex; }
  .products-toolbar     { flex-direction: column; gap: 12px; align-items: stretch; }
  .toolbar-search       { flex-direction: row; width: 100%; }
  .toolbar-search input { flex: 1; width: unset; min-width: 0; }
  .toolbar-search button{ flex-shrink: 0; }
  .toolbar-count        { font-size: .82rem; }

  /* Offer */
  .offer-banner  { flex-direction: column; text-align: center; padding: 32px 24px; }
  .offer-img     { max-width: 220px; margin: 0 auto; }
  .offer-title   { font-size: 1.6rem; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-top    { padding: 40px 0 30px; }

  /* Mobile menu */
  .mobile-menu   { display: block; width: min(88vw, 320px); }

  /* Section header row */
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Product detail */
  .product-gallery .main-img { aspect-ratio: 4/3; }
  .product-info-title  { font-size: 1.4rem; }
  .product-info-price  { font-size: 1.7rem; }
  .product-guarantees  { flex-direction: column; gap: 12px; }
  .product-add-form    { flex-direction: column; align-items: stretch; gap: 10px; }
  .qty-wrapper         { width: 100%; justify-content: center; }
  .product-add-form .btn { width: 100%; justify-content: center; }
}

/* ── 576px ── */
@media (max-width: 576px) {
  /* Container */
  .container    { padding: 0 14px; }
  .section      { padding: 36px 0; }

  /* Hero */
  .hero         { min-height: 320px; }
  .hero-title   { font-size: 1.5rem; letter-spacing: -.2px; }
  .hero-btns    { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
  .hero-stats   { flex-wrap: wrap; gap: 14px; }
  .hero-label   { font-size: .75rem; padding: 5px 12px; }
  .hero-desc    { font-size: .83rem; margin-bottom: 22px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-item  { padding: 14px 12px; border-left: none; border-bottom: 1px solid var(--border-light); }
  .feature-item:nth-child(odd) { border-left: 1px solid var(--border-light); }
  .feature-icon  { width: 40px; height: 40px; font-size: 1rem; border-radius: 10px; }
  .feature-text h4 { font-size: .82rem; }
  .feature-text p  { font-size: .72rem; }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-name   { font-size: .78rem; }

  /* ── Products: portrait card, 1 column, image always on top ── */
  .products-grid,
  .products-layout .products-grid       { grid-template-columns: 1fr; gap: 12px; }

  .product-card                         { border-radius: 14px; height: auto; }
  .product-card:hover                   { transform: none; box-shadow: 0 4px 18px rgba(201,162,39,.14); }

  /* Portrait — column direction for EVERY card (reset any horizontal layout) */
  .product-card > a,
  .products-layout .product-card > a    { flex-direction: column !important; }

  /* Image — same fixed height on every card */
  .product-img-wrap,
  .products-layout .product-img-wrap    { width: 100% !important;
                                          min-width: unset !important;
                                          height: 180px !important;
                                          min-height: 180px !important;
                                          display: block !important;
                                          flex-shrink: 0;
                                          border-radius: 0; }

  .product-actions-overlay              { display: none !important; }

  /* Body — vertical column, spacer pushes button to bottom */
  .product-body,
  .products-layout .product-body        { padding: 12px 14px 14px;
                                          border-right: none !important;
                                          flex-direction: column; }
  .product-spacer,
  .products-layout .product-spacer      { flex: 1; display: block; min-height: 8px; }
  .product-cat                          { font-size: .65rem; }
  .product-name                         { font-size: .85rem; line-height: 1.45; }
  .product-price,
  .products-layout .product-price       { font-size: 1rem; }
  .product-price small                  { font-size: .66rem; }
  .product-old-price                    { font-size: .72rem; }
  .product-price-row,
  .products-layout .product-price-row   { margin-top: 8px; padding-top: 8px;
                                          flex-direction: row; justify-content: space-between; align-items: center; }
  .product-badge                        { font-size: .63rem; padding: 2px 8px; top: 7px; right: 7px; }

  /* Button — full width, always at bottom */
  .btn-add-cart,
  .products-layout .btn-add-cart        { width: 100% !important;
                                          margin-top: 10px !important;
                                          padding: 11px 8px;
                                          font-size: .8rem;
                                          border-radius: 9px;
                                          box-shadow: none;
                                          gap: 6px; }

  /* Blog */
  .blog-grid     { grid-template-columns: 1fr; gap: 14px; }
  .post-img, .post-img-placeholder { height: 170px; }

  /* Section */
  .section-title    { font-size: 1.4rem; }
  .section-subtitle { font-size: .82rem; }

  /* Offer */
  .offer-banner  { padding: 24px 18px; border-radius: var(--radius-lg); }
  .offer-title   { font-size: 1.4rem; }
  .offer-img     { display: none; }   /* hide image to save space */
  .offer-glow    { display: none; }

  /* Stats */
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card     { padding: 20px 14px; }
  .stat-num      { font-size: 2rem; }

  /* About */
  .about-hero    { padding: 52px 0; }

  /* Contact */
  .info-card, .form-card { padding: 24px 18px; }

  /* Footer */
  .footer-title  { font-size: .9rem; }
  .footer-links a{ font-size: .82rem; }
  .footer-about  { font-size: .83rem; }
  .footer-logo   { height: 40px; }

  /* Pagination */
  .pagination    { gap: 4px; margin-top: 36px; }
  .page-btn      { min-width: 36px; height: 36px; font-size: .82rem; border-radius: 8px; }

  /* Breadcrumb */
  .breadcrumb    { font-size: .78rem; gap: 5px; }

  /* View all button */
  .view-all      { font-size: .8rem; padding: 6px 14px; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .container     { padding: 0 12px; }

  /* Header */
  .site-logo img { height: 44px; }
  .header-inner  { gap: 12px; padding: 10px 0; }
  .header-search input { padding: 9px 14px; padding-left: 38px; font-size: .82rem; }

  /* Hero */
  .hero          { min-height: 300px; }
  .hero-title    { font-size: 1.35rem; }
  .hero-stats    { display: none; }  /* too cramped */
  .hero-content  { max-width: 100%; }

  /* Mobile menu */
  .mobile-menu   { width: 90vw; }

  .products-grid { gap: 10px; }
  .product-img-wrap,
  .products-layout .product-img-wrap { height: 160px !important; min-height: 160px !important; }
  .product-name  { font-size: .82rem; }

  /* Features: stack 1 col */
  .features-grid { grid-template-columns: 1fr; }
  .feature-item  { border-left: none; border-bottom: 1px solid var(--border-light); }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .category-icon   { font-size: 1.3rem; }

  /* Topbar */
  .topbar        { padding: 6px 0; }

  /* Buttons */
  .btn-lg        { padding: 12px 22px; font-size: .88rem; }
  .btn-xl        { padding: 13px 22px; font-size: .9rem; }

  /* Offer banner */
  .offer-banner  { padding: 20px 16px; }

  /* Post card */
  .post-title    { font-size: .92rem; }
}

/* ── 360px ── */
@media (max-width: 360px) {
  .container     { padding: 0 10px; }
  .hero-title    { font-size: 1.2rem; }
  .products-grid { gap: 8px; }
  .product-img-wrap,
  .products-layout .product-img-wrap { height: 140px !important; min-height: 140px !important; }
  .product-name  { font-size: .78rem; }
  .product-body  { padding: 10px 12px 12px; }
  .categories-grid{ grid-template-columns: repeat(2, 1fr); gap: 5px; }
  .section-title { font-size: 1.25rem; }
  .site-logo img { height: 38px; }
  .topbar        { font-size: .72rem; }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */
.mobile-bottom-nav {
  display: none;
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  left: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark-800);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(201,162,39,.45);
  z-index: 1400;
  cursor: pointer;
  transition: all .25s;
  opacity: 0;
  transform: translateY(10px);
}
.scroll-top-btn.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201,162,39,.55);
}

/* ============================================================
   MOBILE ENHANCEMENTS  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {

  /* ── Body: space for bottom nav + iOS home indicator ── */
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }

  /* ── Bottom navigation bar ── */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    min-height: 62px;
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    background: var(--dark-700);
    border-top: 1px solid rgba(201,162,39,.22);
    z-index: 1500;
    box-shadow: 0 -4px 20px rgba(0,0,0,.18);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    align-items: flex-start;
  }

  .mobile-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255,255,255,.45);
    font-size: .6rem;
    font-weight: 600;
    font-family: var(--font);
    background: none;
    border: none;
    cursor: pointer;
    transition: color .2s, background .2s;
    position: relative;
    padding: 8px 4px 6px;
    text-decoration: none;
    letter-spacing: .3px;
    min-height: 44px;
  }

  .mobile-bnav-item i {
    font-size: 1.2rem;
    transition: transform .2s, color .2s;
  }

  .mobile-bnav-item:hover,
  .mobile-bnav-item.active {
    color: var(--gold);
  }

  .mobile-bnav-item:hover i,
  .mobile-bnav-item.active i {
    transform: translateY(-2px);
  }

  .mobile-bnav-item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 25%; right: 25%;
    height: 2px;
    background: var(--gold);
    border-radius: 0 0 3px 3px;
  }

  .mobile-bnav-badge {
    position: absolute;
    top: 5px;
    left: calc(50% + 4px);
    background: var(--danger);
    color: #fff;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    font-size: .55rem;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 1.5px solid var(--dark-700);
  }

  /* ── Scroll-to-top: shift above bottom nav ── */
  .scroll-top-btn { bottom: 76px; }

  /* ── Topbar: more compact ── */
  .topbar { padding: 5px 0; font-size: .76rem; }

  /* ── Header: tighter, cleaner ── */
  .header-inner { gap: 10px; padding: 10px 0; }
  .site-logo img { height: 46px; }
  /* Hide cart + contact in header — covered by bottom nav */
  .header-actions .cart-toggle-btn { display: none; }

  /* ── Search bar ── */
  .header-search input {
    padding: 9px 16px;
    padding-left: 40px;
    font-size: .85rem;
    border-radius: 40px;
  }

  /* ── Category cards: taller tap targets ── */
  .category-card { min-height: 90px; }

  /* ── Touch targets: all interactive min 44px ── */
  .cart-qty-btn     { width: 36px; height: 36px; }
  .page-btn:not(.page-btn-ellipsis) { min-height: 44px; min-width: 40px; }
  .cat-chip         { padding: 9px 18px; min-height: 38px; }
  .mobile-nav-link  { padding: 15px 20px; }
}

/* ============================================================
   MOBILE ENHANCEMENTS  ≤ 576px  — Cart bottom sheet
   ============================================================ */
@media (max-width: 576px) {

  /* ── Cart: bottom sheet ── */
  .cart-sidebar {
    top: auto !important;
    right: 0 !important;
    bottom: -100% !important;
    width: 100% !important;
    height: 88vh !important;
    border-radius: 22px 22px 0 0 !important;
    box-shadow: 0 -8px 48px rgba(0,0,0,.28) !important;
    transition: bottom .4s cubic-bezier(.4,0,.2,1) !important;
  }
  .cart-sidebar.open {
    bottom: 0 !important;
  }

  /* Drag handle */
  .cart-sidebar::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 4px;
    background: rgba(255,255,255,.22);
    border-radius: 2px;
    z-index: 1;
  }

  /* ── Cart header padding for handle ── */
  .cart-header { padding-top: 22px; }

  /* ── Cart footer: extra bottom safe area ── */
  #cartFooter { padding-bottom: max(14px, env(safe-area-inset-bottom, 14px)); }

  /* ── Product horizontal card: refinements ── */
  .product-card {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
  }
  .product-img-wrap {
    border-radius: 12px 0 0 12px;
  }
  .product-body { padding: 12px 14px 10px; }
  .product-name { font-size: .88rem; line-height: 1.4; }
  .btn-add-cart {
    font-size: .74rem;
    padding: 9px 10px;
    gap: 5px;
    border-radius: 8px;
    margin-top: 10px;
  }

  /* ── Category cards: 2 col polish ── */
  .category-card { border-radius: 14px; }
  .category-name { font-size: .76rem; font-weight: 700; }

  /* ── Features: tighter ── */
  .feature-icon { margin-bottom: 6px; }

  /* ── Hero: compact ── */
  .hero { padding: 32px 0 28px; }
  .hero-label { font-size: .7rem; padding: 4px 12px; margin-bottom: 14px; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 32px; }

  /* ── Footer: compact ── */
  .footer-title { margin-bottom: 10px; }
  .footer-links li + li { margin-top: 4px; }
}

/* ============================================================
   DARK MODE — bottom nav + scroll btn
   ============================================================ */
[data-theme="dark"] .mobile-bottom-nav {
  background: #141414;
  border-top-color: rgba(212,175,64,.18);
}
[data-theme="dark"] .scroll-top-btn {
  box-shadow: 0 4px 16px rgba(212,175,64,.35);
}

/* ============================================================
   ADMIN FLOATING TOOLBAR + EDIT MODE
   ============================================================ */
.rs-admin-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #18181b;
  border: 1px solid rgba(212,175,64,.35);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  direction: rtl;
}

.rs-admin-link,
.rs-admin-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 9px;
  text-decoration: none;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.rs-admin-link:hover,
.rs-admin-btn:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.rs-admin-btn.active {
  background: var(--gold);
  color: #111;
}
#editSaveStatus {
  display: none;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.07);
}

/* ── Editable elements in edit mode ── */
body.rs-edit-active [data-setting] {
  outline: 2px dashed rgba(212,175,64,.6);
  outline-offset: 2px;
  border-radius: 4px;
  cursor: text;
  min-width: 40px;
  display: inline-block;
  transition: outline-color .2s, background .2s;
}
body.rs-edit-active [data-setting]:hover,
body.rs-edit-active [data-setting]:focus {
  outline-color: var(--gold);
  background: rgba(212,175,64,.08);
}
.rs-edit-saved {
  outline-color: #22c55e !important;
  background: rgba(34,197,94,.1) !important;
}

/* ── Hidden sections ── */
.rs-section-hidden { display: none; }
body.rs-edit-active .rs-section-hidden {
  display: block;
  opacity: .38;
  position: relative;
}
body.rs-edit-active .rs-section-hidden::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 2px dashed rgba(212,175,64,.4);
  border-radius: 8px;
}

/* ── Section visibility buttons (admin only) ── */
.section-vis-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
body.rs-edit-active .section-vis-btn { display: inline-flex; }
.section-vis-btn:hover {
  background: rgba(212,175,64,.85);
  color: #111;
  border-color: transparent;
}

/* ============================================================
   CLEAN / MODERN DESIGN POLISH
   ============================================================ */

/* ── Global tweaks ── */
:root {
  --transition: all .22s cubic-bezier(.4,0,.2,1);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
}

/* ── Section headers ── */
.section-title {
  letter-spacing: -.4px;
}
.section-title::after {
  width: 40px;
  height: 2px;
  border-radius: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.section-header { margin-bottom: 44px; }
.section-subtitle { margin-top: 10px; }
[data-theme="dark"] .section-title { color: #e8e8e8; }

/* ── Buttons ── */
.btn {
  letter-spacing: 0;
  font-weight: 700;
}
.btn-gold {
  background: linear-gradient(135deg, #e4c45e 0%, #c9a227 55%, #a8841e 100%);
  box-shadow: 0 2px 10px rgba(201,162,39,.25);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d9ae35 0%, #a8841e 100%);
  box-shadow: 0 6px 22px rgba(201,162,39,.38);
  transform: translateY(-1px);
}
.btn-outline-gold:hover {
  box-shadow: 0 4px 14px rgba(201,162,39,.25);
}

/* ── Header ── */
.site-header { box-shadow: 0 1px 0 var(--border-light); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--border-light), 0 4px 20px rgba(0,0,0,.06); }
.header-search input { border-radius: 40px; }
.header-search input:focus { box-shadow: 0 0 0 3px rgba(201,162,39,.12); }

/* ── Main nav ── */
.nav-link { font-weight: 500; letter-spacing: .1px; }
.dropdown { border-radius: 0 0 14px 14px; }
.dropdown a { font-size: .85rem; }

/* ── Hero ── */
.hero { min-height: 560px; }
.hero-desc { line-height: 2; }
.hero-label { font-size: .8rem; letter-spacing: .2px; }
.hero-stat-num { font-size: 1.65rem; letter-spacing: -.5px; }
.hero-stat-label { font-size: .75rem; letter-spacing: .2px; }
.hero-stats { gap: 28px; margin-top: 40px; }
.hero-stats > div {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.hero-stats > div:first-child { padding-left: 0; border-left: none; }
.hero-btns { gap: 12px; }
.hero-btns .btn-xl { padding: 15px 36px; font-size: 1rem; }

/* ── Features strip ── */
.features-grid { border-top-width: 2px; }
.feature-icon {
  border-radius: 12px;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
}
.feature-text h4 { font-size: .88rem; font-weight: 700; }
.feature-text p  { font-size: .75rem; }

/* ── Category cards ── */
.category-card { border-radius: 16px; }
.category-name { font-size: .82rem; font-weight: 600; }
.categories-grid { gap: 14px; }

/* ── Product card old CSS harmony ── */
.product-card {
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  border-color: #f0ede8;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  transform: translateY(-4px);
  border-color: rgba(201,162,39,.3);
}

/* ── Products toolbar ── */
.products-toolbar { border-radius: 14px; padding: 12px 18px; }
.toolbar-count { font-size: .85rem; }
.toolbar-search input { border-radius: 10px; font-size: .84rem; }

/* ── Filter sidebar ── */
.filter-sidebar { border-radius: 14px; }
.filter-link { font-size: .86rem; border-radius: 9px; }
.filter-check-item { font-size: .86rem; border-radius: 9px; }
.filter-title { font-size: .88rem; letter-spacing: .1px; }

/* ── Post / blog cards ── */
.post-card { border-radius: 16px; }
.post-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  transform: translateY(-3px);
}
.post-img, .post-img-placeholder { height: 185px; }
.post-title { font-size: .96rem; font-weight: 700; }
.blog-grid { gap: 22px; }

/* ── Offer banner ── */
.offer-banner { border-radius: 20px; }
.offer-title { line-height: 1.25; }

/* ── Breadcrumb ── */
.breadcrumb-section { padding: 12px 0; }
.breadcrumb { font-size: .83rem; gap: 6px; }
.breadcrumb span { color: var(--text-mid); }

/* ── Pagination ── */
.page-btn { border-radius: 9px; font-size: .85rem; }
.page-btn.active { box-shadow: 0 4px 14px rgba(201,162,39,.35); }

/* ── Forms ── */
.form-control { border-radius: 10px; border-width: 1.5px; }
.form-control:focus { box-shadow: 0 0 0 3px rgba(201,162,39,.1); }
.form-label { font-size: .85rem; color: var(--dark-600); }

/* ── Contact page ── */
.info-card  { border-radius: 18px; }
.form-card  { border-radius: 18px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.info-icon  { border-radius: 10px; }

/* ── About page ── */
.stat-card { border-radius: 16px; }
.stat-num  { font-size: 2.2rem; letter-spacing: -.5px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid rgba(201,162,39,.12); }
.social-btn  { border-radius: 9px; }

/* ── Cart sidebar ── */
.cart-sidebar { border-left: 1px solid var(--border-light); }
.cart-item    { border-radius: 10px; }
.cart-wa-btn  { border-radius: 11px; font-size: .88rem; }

/* ── Mobile bottom nav ── */
.mobile-bnav-item { font-size: .58rem; letter-spacing: .2px; }

/* ── Scroll-to-top ── */
.scroll-top-btn { border-radius: 12px; width: 40px; height: 40px; font-size: .88rem; }

/* ── Section header row view-all ── */
.view-all { font-size: .84rem; border-radius: 40px; }

/* ── Product detail page ── */
.product-detail-grid { gap: 48px; }
.product-gallery .main-img {
  border-radius: 18px;
  border-color: var(--border-light);
}
.product-info-title { font-size: 1.6rem; letter-spacing: -.3px; }
.product-info-price { font-size: 1.9rem; letter-spacing: -.4px; }
.product-guarantees { border-radius: 12px; }
.guarantee-item { font-size: .85rem; }

/* ── Dark mode polish ── */
[data-theme="dark"] .breadcrumb-section { background: #0f0f0f; }
[data-theme="dark"] .products-toolbar   { background: #111; border-color: #222; }
[data-theme="dark"] .filter-sidebar     { background: #111; border-color: #222; }
[data-theme="dark"] .toolbar-search input { background: #1a1a1a; }
[data-theme="dark"] .form-card          { background: #111; border-color: #222; }
[data-theme="dark"] .stat-card          { background: #111; border-color: #222; }
[data-theme="dark"] .post-card          { background: #111; border-color: #222; }

/* ── Dark mode: sections with hardcoded dark-palette gradients that invert ── */
[data-theme="dark"] .offer-banner {
  background: linear-gradient(135deg, #1a1408 0%, #0d0b06 60%, #1e1810 100%);
}
[data-theme="dark"] .about-hero {
  background: linear-gradient(135deg, #1a1408, #0d0b06);
}

/* ── Dark mode: post image placeholder ── */
[data-theme="dark"] .post-img-placeholder {
  background: linear-gradient(135deg, #1e1a0a 0%, #141008 45%, #0d0b05 100%);
}
[data-theme="dark"] .post-img-placeholder::before {
  background-image:
    linear-gradient(rgba(212,175,64,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,64,.07) 1px, transparent 1px);
}

/* ── Responsive polish ≤ 768px ── */
@media (max-width: 768px) {
  .section-header { margin-bottom: 32px; }
  .section-title  { letter-spacing: -.2px; }
  .blog-grid      { gap: 14px; }
  .categories-grid{ gap: 10px; }
  .products-toolbar{ padding: 10px 14px; }
}

/* ── Cat chips dark mode ── */
[data-theme="dark"] .cat-chip          { background: #1a1a1a; border-color: #333; color: #aaa; }
[data-theme="dark"] .cat-chip.active,
[data-theme="dark"] .cat-chip:hover    { background: var(--gold); color: var(--dark-800); border-color: var(--gold); }
[data-theme="dark"] .filter-toggle-btn { background: #1a1a1a; border-color: #333; color: #ccc; }

/* ============================================================
   SWEETALERT2 — z-index + mobile position fix
   Default Swal z-index (1060) is below bottom nav (1500)
   ============================================================ */
.swal2-container {
  z-index: 99999 !important;
}
/* On mobile: shift dialog up so bottom nav doesn't cover it */
@media (max-width: 768px) {
  .swal2-container {
    align-items: flex-start !important;
    padding-top: max(72px, env(safe-area-inset-top, 72px)) !important;
    padding-bottom: 72px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .swal2-popup {
    width: 100% !important;
    max-width: 360px !important;
    border-radius: 18px !important;
  }
}
