/* ==============================================
   Telas Araguaney - Premium Fabric Store
   Main Stylesheet
   ============================================== */

/* ---------- CSS Variables ---------- */
:root {
  --gold: #c8974b;
  --gold-light: #e4b97b;
  --gold-dark: #a07030;
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --brown-dark: #2c1a0e;
  --brown-mid: #4a2e15;
  --white: #ffffff;
  --gray-100: #f8f8f8;
  --gray-200: #eeeeee;
  --gray-400: #aaaaaa;
  --gray-600: #666666;
  --gray-800: #333333;
  --red: #e74c3c;
  --green: #27ae60;
  --wa-green: #25d366;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --shadow-gold: 0 4px 20px rgba(200,151,75,.3);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --header-height: 130px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { line-height: 1.3; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ---------- Container ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.bg-light { background: var(--cream); }
.bg-dark-section { background: var(--brown-dark); color: var(--white); padding: 60px 0; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-subtitle { color: rgba(255,255,255,.75); }
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,151,75,.1);
  padding: .3rem 1rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--brown-dark);
  margin-bottom: .6rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity .2s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 6px 28px rgba(200,151,75,.45); transform: translateY(-1px); }
.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-wa {
  background: var(--wa-green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-sm { padding: .42rem 1rem; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ==========================================
   PAGE LOADER
   ========================================== */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s, visibility .5s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  justify-content: center;
}
.loader-logo i { font-size: 2.2rem; }
.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  animation: loadFill 1.5s ease-in-out forwards;
}
@keyframes loadFill { to { width: 100%; } }

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */
#toast-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 8888;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  pointer-events: none;
}
.toast {
  background: var(--white);
  border-radius: var(--radius);
  padding: .8rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .88rem;
  font-weight: 500;
  min-width: 260px;
  max-width: 340px;
  border-left: 4px solid var(--gold);
  animation: toastIn .35s ease, toastOut .35s ease 2.65s forwards;
  pointer-events: auto;
}
.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }
.toast.success i { color: var(--green); }
.toast.error i { color: var(--red); }
.toast i { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; }
@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastOut { to { transform: translateX(110%); opacity: 0; } }

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
#wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: var(--transition);
}
#wa-float:hover {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
#wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--brown-dark);
  color: var(--white);
  padding: .35rem .9rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--brown-dark);
}

/* ==========================================
   HEADER
   ========================================== */
#main-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition);
}
#main-header.scrolled { box-shadow: var(--shadow-md); }

/* Header Top Bar */
.header-top {
  background: var(--brown-dark);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  padding: .4rem 0;
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.header-top-inner span { display: flex; align-items: center; gap: .4rem; }
.header-top-inner i { color: var(--gold); }

/* Header Main */
.header-main { padding: .7rem 0; background: var(--white); }
.header-main-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-gold);
}
.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1;
}
.logo-slogan {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 600;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-left: auto;
}
.desktop-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: .45rem .8rem;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--gold);
  background: rgba(200,151,75,.08);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
  font-size: .95rem;
  position: relative;
}
.icon-btn:hover { background: var(--cream); color: var(--gold); }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge.empty { display: none; }

/* Currency Switcher */
.currency-switcher {
  display: flex;
  background: var(--cream);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--cream-dark);
}
.curr-btn {
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.curr-btn.active {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(200,151,75,.35);
}
.bs-symbol { font-size: .72rem; }

/* Auth Area */
.auth-area { display: flex; gap: .5rem; }

/* User Menu */
.user-menu { position: relative; }
.user-menu-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .8rem;
  border-radius: 50px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  font-size: .85rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--brown-dark);
}
.user-menu-btn:hover { background: var(--cream-dark); }
.user-menu-btn i:first-child { color: var(--gold); font-size: 1rem; }
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-width: 180px;
  padding: .5rem;
  display: none;
  z-index: 200;
}
.user-dropdown.open { display: block; animation: fadeDown .2s ease; }
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .8rem;
  border-radius: 8px;
  font-size: .85rem;
  color: var(--gray-800);
  transition: var(--transition);
}
.user-dropdown a:hover { background: var(--cream); color: var(--gold); }
.user-dropdown hr { border: none; border-top: 1px solid var(--gray-200); margin: .4rem 0; }
.logout-link { color: var(--red) !important; }
.logout-link:hover { background: #fef2f2 !important; color: var(--red) !important; }
.admin-gear { color: var(--gold) !important; }

/* Search Bar */
.header-search {
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  padding: .9rem 0;
  display: none;
}
.header-search.open { display: block; animation: fadeDown .2s ease; }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: 50px;
  padding: .6rem 1.2rem;
  transition: border-color .2s;
}
.search-input-wrap:focus-within { border-color: var(--gold); }
.search-input-wrap i { color: var(--gold); font-size: .9rem; flex-shrink: 0; }
.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .9rem;
  background: transparent;
}
#search-close { color: var(--gray-400); font-size: .8rem; transition: color .2s; }
#search-close:hover { color: var(--red); }
.search-results { margin-top: .8rem; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .8rem;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: .4rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.search-result-item:hover { background: var(--cream); }
.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}
.search-result-info { flex: 1; }
.search-result-info strong { font-size: .88rem; color: var(--brown-dark); display: block; }
.search-result-info span { font-size: .78rem; color: var(--gray-600); }

/* Mobile Nav */
.hamburger {
  width: 38px;
  height: 38px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  transition: var(--transition);
}
.hamburger:hover { background: var(--cream); }
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: .5rem 1rem 1rem;
  display: none;
  flex-direction: column;
  gap: .2rem;
}
.mobile-nav.open { display: flex; animation: fadeDown .25s ease; }
.mobile-nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-800);
  padding: .6rem .8rem;
  border-radius: 8px;
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--cream); color: var(--gold); }

@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ==========================================
   HERO SECTION
   ========================================== */
#hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brown-dark) 0%, #3d1f08 40%, #5a3015 70%, rgba(90,48,21,.85) 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,151,75,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200,151,75,.08) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8974b' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(200,151,75,.2);
  border: 1px solid rgba(200,151,75,.4);
  color: var(--gold-light);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.hero-title em {
  color: var(--gold-light);
  font-style: normal;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 700;
  line-height: 1;
}
.hero-stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  margin-top: .2rem;
  display: block;
}

/* Hero Visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-fabric-showcase {
  position: relative;
  width: 380px;
  height: 380px;
}
.fabric-swatch {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.fabric-swatch.s1 {
  width: 180px; height: 220px;
  background: linear-gradient(135deg, #f5e6d0, #e8c9a0, #d4a66b);
  top: 0; left: 0;
  transform: rotate(-6deg);
}
.fabric-swatch.s2 {
  width: 160px; height: 200px;
  background: linear-gradient(135deg, #2c1a0e, #4a2e15, #6b4020);
  top: 20px; right: 20px;
  transform: rotate(5deg);
}
.fabric-swatch.s3 {
  width: 140px; height: 180px;
  background: linear-gradient(135deg, #e8e0d5, #d5c9ba, #c4b097);
  bottom: 30px; left: 40px;
  transform: rotate(4deg);
}
.fabric-swatch.s4 {
  width: 120px; height: 150px;
  background: linear-gradient(135deg, #8b5e3c, #c8974b, #e4b97b);
  bottom: 0; right: 40px;
  transform: rotate(-3deg);
}
.fabric-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 130px;
  z-index: 5;
}
.fabric-card i { font-size: 2rem; color: var(--gold); margin-bottom: .4rem; }
.fabric-card strong { display: block; font-size: .85rem; color: var(--brown-dark); }
.fabric-card span { font-size: .78rem; color: var(--gold); font-weight: 600; }

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ==========================================
   CATEGORIES
   ========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}
.category-card {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
}
.category-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.category-card:hover::before { opacity: 1; }
.category-card:hover .cat-icon,
.category-card:hover .cat-name,
.category-card:hover .cat-count { color: var(--white); }
.cat-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: .7rem;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}
.cat-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--brown-dark);
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}
.cat-count {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: .2rem;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

/* ==========================================
   PRODUCTS
   ========================================== */
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filters-left { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-btn {
  padding: .42rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.sort-select {
  padding: .42rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-800);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}
.sort-select:focus { border-color: var(--gold); }

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.6rem;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card.hidden { display: none; }

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.product-image-inner {
  width: 100%;
  height: 100%;
  transition: transform .5s ease;
}
.product-card:hover .product-image-inner { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.product-badge.outofstock { background: var(--gray-600); }
.product-badge.featured { background: linear-gradient(135deg, #d4af37, #b8860b); }

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--gray-400);
  transition: var(--transition);
  font-size: .85rem;
}
.product-wishlist:hover { color: var(--red); transform: scale(1.1); }

.product-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-material-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  background: rgba(200,151,75,.1);
  padding: .2rem .6rem;
  border-radius: 50px;
  margin-bottom: .6rem;
  width: fit-content;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: .4rem;
  line-height: 1.3;
}
.product-desc {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: .8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-area { margin-top: auto; margin-bottom: .9rem; }
.price-locked {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--gray-600);
  cursor: pointer;
}
.price-locked i { color: var(--gold); }
.price-locked a { color: var(--gold); font-weight: 600; }
.price-usd {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1;
}
.price-ves {
  font-size: .82rem;
  color: var(--gray-600);
  margin-top: .15rem;
}
.price-per { font-size: .75rem; color: var(--gray-400); font-weight: 400; }

.product-stock {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 500;
  margin-bottom: .8rem;
}
.stock-in { color: var(--green); }
.stock-out { color: var(--red); }
.product-stock i { font-size: .7rem; }

.product-actions { display: flex; gap: .6rem; margin-top: auto; }
.product-actions .btn { flex: 1; justify-content: center; font-size: .8rem; padding: .55rem .8rem; }

.no-results {
  text-align: center;
  padding: 4rem;
  color: var(--gray-600);
  grid-column: 1/-1;
}
.no-results i { font-size: 3rem; color: var(--gray-200); margin-bottom: 1rem; display: block; }
.no-results p { margin-bottom: 1.5rem; }

/* ==========================================
   ABOUT
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-block { position: relative; padding: 1.5rem; }
.about-img-main {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #f5e6d0 0%, #dbb882 40%, #c8974b 70%, #8b5e3c 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-img-main::before {
  content: '🧵';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  opacity: .25;
}
.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-lg);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-badge-exp {
  position: absolute;
  bottom: 30px;
  left: 0;
  background: var(--brown-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
}
.about-badge-exp strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-light); line-height: 1; }
.about-badge-exp span { font-size: .72rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.about-content .section-title { text-align: left; }
.about-content p { color: var(--gray-600); margin-bottom: 1rem; font-size: .95rem; }
.about-values { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.about-value {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .8rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}
.about-value > i { font-size: 1.2rem; color: var(--gold); margin-top: .1rem; flex-shrink: 0; }
.about-value strong { display: block; font-size: .9rem; color: var(--brown-dark); margin-bottom: .15rem; }
.about-value span { font-size: .82rem; color: var(--gray-600); }

/* ==========================================
   PAYMENTS
   ========================================== */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.payment-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: var(--transition);
}
.payment-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.payment-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(200,151,75,.15), rgba(200,151,75,.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 auto .9rem;
  border: 1.5px solid rgba(200,151,75,.2);
}
.payment-card h4 { font-size: .92rem; font-weight: 700; color: var(--brown-dark); margin-bottom: .4rem; }
.payment-card p { font-size: .8rem; color: var(--gray-600); line-height: 1.5; margin-bottom: .8rem; }
.payment-currency {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.currency-usd { background: #e8f5e9; color: #2e7d32; }
.currency-bs { background: #fff3e0; color: #e65100; }
.currency-dual { background: #e3f2fd; color: #1565c0; }
.payments-note {
  text-align: center;
  font-size: .84rem;
  color: var(--gray-600);
  background: var(--cream-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.payments-note i { color: var(--gold); margin-right: .4rem; }

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
  background: linear-gradient(135deg, var(--brown-dark), #3d1f08);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c8974b' fill-opacity='0.04'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-9.5zm-2 4.5v5H2v-5h16zm-16-4h16v2H2v-2zm18-2h2v16h-2V19z'/%3E%3C/g%3E%3C/svg%3E");
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
}
.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(200,151,75,.2);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition);
}
.testimonial-card:hover { background: rgba(200,151,75,.1); border-color: var(--gold); }
.testimonial-card.featured {
  background: rgba(200,151,75,.15);
  border-color: rgba(200,151,75,.5);
}
.test-stars { color: var(--gold); font-size: .85rem; margin-bottom: .9rem; }
.testimonial-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-style: italic;
}
.test-author { display: flex; align-items: center; gap: .8rem; }
.test-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--white);
  flex-shrink: 0;
}
.test-author strong { display: block; font-size: .88rem; color: var(--white); }
.test-author span { font-size: .75rem; color: rgba(255,255,255,.55); }

/* ==========================================
   FAQ
   ========================================== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--brown-dark);
  transition: color .2s;
  gap: 1rem;
}
.faq-question:hover { color: var(--gold); }
.faq-question i { color: var(--gold); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 1.4rem 1.2rem; }

/* ==========================================
   NEWSLETTER
   ========================================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}
.newsletter-content { color: var(--white); max-width: 480px; }
.newsletter-icon { font-size: 2.5rem; margin-bottom: .8rem; display: block; }
.newsletter-content h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .4rem; }
.newsletter-content p { font-size: .9rem; opacity: .9; }
.newsletter-form { display: flex; gap: .6rem; flex: 1; max-width: 460px; min-width: 280px; }
.newsletter-form input {
  flex: 1;
  padding: .75rem 1.2rem;
  border: none;
  border-radius: 50px;
  font-size: .9rem;
  outline: none;
  background: rgba(255,255,255,.95);
  color: var(--brown-dark);
}
.newsletter-form input::placeholder { color: var(--gray-400); }

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}
.contact-info h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.contact-info p { font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.6; }
.social-links { display: flex; gap: .7rem; margin-top: .5rem; }
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .9rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--gold); transform: translateY(-2px); }

/* ==========================================
   FOOTER
   ========================================== */
#footer {
  background: #1a0f06;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
}
.footer-brand { max-width: 280px; }
.footer-brand p { font-size: .83rem; color: rgba(255,255,255,.55); line-height: 1.65; margin-top: .8rem; }
.footer-links h4 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-light); margin-bottom: .9rem; }
.footer-links a { display: block; color: rgba(255,255,255,.6); padding: .25rem 0; font-size: .83rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }

/* ==========================================
   MODALS
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  overflow-y: auto;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2rem;
  animation: modalIn .3s ease;
  margin: auto;
}
.modal-large .modal { max-width: 860px; }
.modal-product-inner { padding: 1.5rem; }
.modal-cart-inner { max-width: 500px; }
.modal-admin-inner { max-width: 900px; max-height: 90vh; overflow-y: auto; }
@keyframes modalIn { from { transform: scale(.94) translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .8rem;
  transition: var(--transition);
  z-index: 5;
}
.modal-close:hover { background: var(--red); color: var(--white); }
.modal-header { text-align: center; margin-bottom: 1.5rem; }
.modal-icon { font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: .6rem; }
.modal-header h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--brown-dark); margin-bottom: .2rem; }
.modal-header p { font-size: .88rem; color: var(--gray-600); }
.modal-switch { text-align: center; margin-top: 1rem; font-size: .85rem; color: var(--gray-600); }
.modal-switch a { color: var(--gold); font-weight: 600; }

/* Form Styles */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--gray-800); margin-bottom: .4rem; }
.input-icon-wrap { position: relative; display: flex; align-items: center; }
.input-icon-wrap > i:first-child {
  position: absolute;
  left: .9rem;
  color: var(--gray-400);
  font-size: .85rem;
  pointer-events: none;
  z-index: 1;
}
.input-icon-wrap input, .input-icon-wrap textarea {
  width: 100%;
  padding: .7rem .9rem .7rem 2.4rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  background: var(--white);
  color: var(--gray-800);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  transition: border-color .2s;
  outline: none;
  background: var(--white);
  color: var(--gray-800);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.input-icon-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,151,75,.12); }
.toggle-pass {
  position: absolute;
  right: .8rem;
  color: var(--gray-400);
  font-size: .85rem;
  transition: color .2s;
  z-index: 1;
}
.toggle-pass:hover { color: var(--gold); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

/* ==========================================
   PRODUCT MODAL
   ========================================== */
.product-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; align-items: start; }
.product-modal-gallery { position: sticky; top: 0; }
.product-modal-main-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: .7rem;
}
.product-modal-thumb-row { display: flex; gap: .5rem; }
.product-modal-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  flex-shrink: 0;
}
.product-modal-thumb.active { border-color: var(--gold); }
.product-modal-info .product-material-tag { font-size: .75rem; }
.product-modal-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brown-dark);
  margin: .5rem 0 .3rem;
}
.product-modal-price-usd { font-size: 1.8rem; font-weight: 700; color: var(--brown-dark); font-family: var(--font-display); }
.product-modal-price-ves { font-size: .9rem; color: var(--gray-600); margin-bottom: 1rem; }
.product-modal-details { margin: 1rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 1rem 0; }
.product-modal-detail-row { display: flex; gap: .5rem; align-items: baseline; margin-bottom: .35rem; font-size: .85rem; }
.product-modal-detail-row strong { color: var(--brown-dark); min-width: 100px; flex-shrink: 0; font-size: .82rem; }
.product-modal-detail-row span { color: var(--gray-600); }
.product-modal-colors { display: flex; gap: .5rem; margin: .8rem 0; }
.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,.6);
  box-shadow: 0 0 0 2px var(--gray-200);
  transition: var(--transition);
}
.color-dot:hover, .color-dot.selected { box-shadow: 0 0 0 2px var(--gold); }
.qty-control {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1rem 0;
}
.qty-control label { font-size: .82rem; font-weight: 600; color: var(--gray-800); }
.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--brown-dark);
  transition: var(--transition);
  cursor: pointer;
}
.qty-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.qty-display {
  font-size: 1rem;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
  color: var(--brown-dark);
}
.care-instructions { margin-top: .8rem; }
.care-instructions h4 { font-size: .82rem; font-weight: 700; color: var(--gray-800); margin-bottom: .5rem; }
.care-icons { display: flex; gap: .5rem; flex-wrap: wrap; }
.care-icon {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: var(--cream);
  padding: .3rem .7rem;
  border-radius: 6px;
  font-size: .76rem;
  color: var(--gray-600);
}
.product-modal-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ==========================================
   CART
   ========================================== */
.cart-empty { text-align: center; padding: 2.5rem; color: var(--gray-400); }
.cart-empty i { font-size: 3rem; margin-bottom: .8rem; display: block; }
.cart-items-list { display: flex; flex-direction: column; gap: .7rem; max-height: 360px; overflow-y: auto; padding-right: .3rem; }
.cart-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: .75rem;
}
.cart-item-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: .85rem; color: var(--brown-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-meta { font-size: .75rem; color: var(--gray-600); }
.cart-item-price { font-weight: 700; font-size: .9rem; color: var(--brown-dark); white-space: nowrap; }
.cart-item-remove { color: var(--gray-400); font-size: .8rem; transition: color .2s; padding: .2rem; }
.cart-item-remove:hover { color: var(--red); }
.cart-summary {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
  margin-top: .8rem;
}
.cart-summary-row { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .4rem; }
.cart-summary-row.total { font-weight: 700; font-size: 1rem; color: var(--brown-dark); border-top: 1px solid var(--gray-200); padding-top: .5rem; margin-top: .3rem; }
.cart-footer { margin-top: 1rem; }

/* ==========================================
   CHECKOUT
   ========================================== */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.checkout-section-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--brown-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 1.2rem 0 .8rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.payment-methods-select { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .8rem; }
.pm-option {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .7rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  font-size: .8rem;
  transition: var(--transition);
}
.pm-option:hover { border-color: var(--gold); background: rgba(200,151,75,.05); }
.pm-option input[type="radio"] { accent-color: var(--gold); }
.pm-option i { color: var(--gold); font-size: .85rem; }
.checkout-summary {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: 1rem;
}
.checkout-summary h4 { font-size: .95rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 1rem; }
.checkout-item { display: flex; justify-content: space-between; gap: .5rem; font-size: .84rem; margin-bottom: .5rem; color: var(--gray-600); }
.checkout-item span:last-child { font-weight: 600; color: var(--brown-dark); white-space: nowrap; }
.checkout-total { border-top: 1.5px solid var(--cream-dark); padding-top: .7rem; margin-top: .7rem; display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; color: var(--brown-dark); }

/* ==========================================
   ADMIN
   ========================================== */
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.admin-stat-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  border: 1px solid var(--cream-dark);
}
.admin-stat-card i { font-size: 1.5rem; color: var(--gold); }
.admin-stat-card strong { font-size: 1.4rem; font-family: var(--font-display); color: var(--brown-dark); display: block; line-height: 1; }
.admin-stat-card span { font-size: .76rem; color: var(--gray-600); }
.admin-tabs { display: flex; gap: .5rem; margin-bottom: 1.2rem; border-bottom: 1.5px solid var(--gray-200); padding-bottom: .5rem; }
.admin-tab {
  padding: .5rem 1.1rem;
  border-radius: 8px 8px 0 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: var(--transition);
  border: 1.5px solid transparent;
  border-bottom: none;
}
.admin-tab:hover { color: var(--gold); }
.admin-tab.active { background: var(--white); border-color: var(--gray-200); color: var(--gold); border-bottom-color: var(--white); margin-bottom: -1.5px; }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }
.admin-setting-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--cream-dark);
}
.admin-setting-card h4 { font-size: .88rem; font-weight: 700; color: var(--brown-dark); margin-bottom: .8rem; display: flex; align-items: center; gap: .4rem; }
.setting-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}
.setting-row.align-start { align-items: flex-start; }
.admin-input {
  padding: .5rem .8rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: .88rem;
  outline: none;
  background: var(--white);
  transition: border-color .2s;
  min-width: 100px;
}
.admin-input:focus { border-color: var(--gold); }
.setting-hint { font-size: .78rem; color: var(--gray-600); margin-top: .5rem; }

/* Toggle Switch */
.toggle-group { display: flex; align-items: center; gap: .7rem; }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform .2s;
  box-shadow: var(--shadow-sm);
}
.toggle-switch input:checked + .toggle-slider { background: var(--gold); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
#admin-prices-label { font-size: .88rem; font-weight: 500; color: var(--gray-800); }

/* Admin Products List */
.admin-products-list { display: flex; flex-direction: column; gap: .6rem; max-height: 400px; overflow-y: auto; }
.admin-product-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  border: 1px solid var(--cream-dark);
}
.admin-product-thumb { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.admin-product-info { flex: 1; min-width: 0; }
.admin-product-info strong { font-size: .85rem; color: var(--brown-dark); display: block; }
.admin-product-info span { font-size: .75rem; color: var(--gray-600); }
.admin-product-actions { display: flex; gap: .4rem; flex-shrink: 0; }
.admin-btn-edit, .admin-btn-del {
  padding: .3rem .65rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
}
.admin-btn-edit { background: rgba(200,151,75,.15); color: var(--gold); }
.admin-btn-edit:hover { background: var(--gold); color: var(--white); }
.admin-btn-del { background: rgba(231,76,60,.12); color: var(--red); }
.admin-btn-del:hover { background: var(--red); color: var(--white); }

/* Admin Product Form */
.admin-product-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1.5px solid var(--gold);
}
.admin-product-form h4 { font-size: .9rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 1rem; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.admin-form-grid .form-group { margin-bottom: 0; }
.admin-form-grid .span-2 { grid-column: span 2; }

/* Admin Users */
.admin-users-list { display: flex; flex-direction: column; gap: .5rem; max-height: 400px; overflow-y: auto; }
.admin-user-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  border: 1px solid var(--cream-dark);
}
.admin-user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.admin-user-info { flex: 1; }
.admin-user-info strong { display: block; font-size: .85rem; color: var(--brown-dark); }
.admin-user-info span { font-size: .75rem; color: var(--gray-600); }
.admin-user-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 50px;
  text-transform: uppercase;
}
.badge-admin { background: rgba(200,151,75,.2); color: var(--gold-dark); }
.badge-user { background: var(--gray-100); color: var(--gray-600); }

/* SUCCESS */
.success-animation { margin: 1rem 0; }
.success-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--green), #1a8a4a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: popIn .4s cubic-bezier(.175,.885,.32,1.275);
  box-shadow: 0 4px 20px rgba(39,174,96,.35);
}
.success-circle i { font-size: 2rem; color: var(--white); }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  #hero { min-height: auto; padding: 80px 0 50px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .checkout-grid { grid-template-columns: 1fr; }
  .product-modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 55px 0; }
  .header-top-inner span:nth-child(2) { display: none; }
  .auth-area .btn-outline-gold { display: none; }
  .currency-switcher { scale: .9; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .span-2 { grid-column: auto; }
  .payment-methods-select { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { width: 100%; max-width: 100%; }
  .filters-left { overflow-x: auto; flex-wrap: nowrap; }
  .filter-btn { flex-shrink: 0; }
}

@media (max-width: 480px) {
  .modal { padding: 1.5rem 1.2rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-btns { gap: .6rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  #toast-container { left: 10px; right: 10px; }
  .toast { min-width: auto; max-width: 100%; }
}

/* ==========================================
   FABRIC SWATCH TEXTURES (product cards)
   ========================================== */
.fabric-silk { background: linear-gradient(135deg, #fce4ec, #f8bbd9, #e91e8c, #ad1457); }
.fabric-cotton { background: linear-gradient(135deg, #e8f5e9, #c8e6c9, #66bb6a, #388e3c); }
.fabric-lace { background: linear-gradient(135deg, #fafafa, #eeeeee, #bdbdbd, #757575); }
.fabric-satin { background: linear-gradient(135deg, #e3f2fd, #90caf9, #1976d2, #0d47a1); }
.fabric-denim { background: linear-gradient(135deg, #e3f2fd, #7986cb, #3949ab, #1a237e); }
.fabric-linen { background: linear-gradient(135deg, #fff8e1, #ffe082, #ffb300, #e65100); }
.fabric-velvet { background: linear-gradient(135deg, #f3e5f5, #ce93d8, #7b1fa2, #4a148c); }
.fabric-chiffon { background: linear-gradient(135deg, #fff9c4, #fff176, #f9a825, #f57f17); }
.fabric-tweed { background: linear-gradient(135deg, #efebe9, #bcaaa4, #795548, #4e342e); }
.fabric-brocade { background: linear-gradient(135deg, #fff3e0, #ffcc02, #ff8f00, #e65100); }
.fabric-jersey { background: linear-gradient(135deg, #e0f2f1, #80cbc4, #00897b, #004d40); }
.fabric-organza { background: linear-gradient(135deg, #fce4ec, #f48fb1, #e91e63, #880e4f); }

/* ==========================================
   ADMIN DRAWER (fullscreen side panel)
   ========================================== */
.admin-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.admin-backdrop.open { opacity: 1; visibility: visible; }

.admin-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.admin-drawer.open { transform: none; pointer-events: auto; }

/* ── Sidebar ── */
.adm-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--brown-dark);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,.3);
}
.adm-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.4rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
  flex-shrink: 0;
}
.adm-brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.adm-brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.adm-brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}
.adm-brand-sub {
  display: block;
  font-size: .65rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.adm-nav {
  flex: 1;
  padding: .8rem 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.adm-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.2rem;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-align: left;
  border-radius: 0;
}
.adm-nav-item i { font-size: .95rem; width: 18px; flex-shrink: 0; }
.adm-nav-item:hover { background: rgba(255,255,255,.06); color: var(--white); }
.adm-nav-item.active {
  background: rgba(200,151,75,.15);
  color: var(--gold-light);
  border-left-color: var(--gold);
}

.adm-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  border-top: 1px solid rgba(255,255,255,.08);
  transition: color .2s, background .2s;
  flex-shrink: 0;
}
.adm-close-btn:hover { color: var(--red); background: rgba(231,76,60,.1); }

/* ── Main ── */
.adm-main {
  flex: 1;
  background: #f4f0eb;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Auth screen */
.adm-auth-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--brown-dark), #3d1f08);
}
.adm-auth-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.adm-auth-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-gold);
}
.adm-auth-box h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--brown-dark); margin-bottom: .3rem; }
.adm-auth-box p { font-size: .88rem; color: var(--gray-600); }

/* Sections */
.adm-section { display: none; padding: 2rem; animation: fadeIn .25s ease; }
.adm-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.adm-section-header { margin-bottom: 1.8rem; }
.adm-section-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .25rem;
}
.adm-section-header h2 i { color: var(--gold); font-size: 1.2rem; }
.adm-section-header p { font-size: .88rem; color: var(--gray-600); }

/* KPI cards */
.adm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.adm-kpi {
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.adm-kpi i { font-size: 1.8rem; opacity: .85; }
.adm-kpi strong { display: block; font-size: 1.6rem; font-family: var(--font-display); line-height: 1; }
.adm-kpi span { font-size: .75rem; opacity: .8; margin-top: .15rem; display: block; }
.adm-kpi-gold { background: linear-gradient(135deg, #c8974b, #a07030); color: var(--white); }
.adm-kpi-blue { background: linear-gradient(135deg, #2980b9, #1a5276); color: var(--white); }
.adm-kpi-green { background: linear-gradient(135deg, #27ae60, #1a7a42); color: var(--white); }
.adm-kpi-brown { background: linear-gradient(135deg, #2c1a0e, #4a2e15); color: var(--white); }

/* Dashboard grid */
.adm-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.adm-dash-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.adm-dash-card h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.adm-dash-card h4 i { color: var(--gold); }
.dash-mini-list { display: flex; flex-direction: column; gap: .5rem; }
.dash-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--gray-800);
  padding: .4rem .6rem;
  background: var(--cream);
  border-radius: 6px;
}
.dash-mini-item span { color: var(--gray-600); font-size: .76rem; }
.dash-mini-badge {
  font-size: .68rem;
  padding: .18rem .55rem;
  border-radius: 50px;
  font-weight: 600;
}
.dash-badge-low { background: #fee; color: var(--red); }
.dash-badge-ok { background: #e8f5e9; color: var(--green); }

/* Cards grid */
.adm-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.adm-cards-grid .span-full { grid-column: 1 / -1; }
.adm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.adm-card-head {
  font-size: .9rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.adm-card-head i { color: var(--gold); }
.adm-card-desc { font-size: .82rem; color: var(--gray-600); margin-bottom: .8rem; line-height: 1.5; }

/* Identity section */
.adm-identity-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  margin-top: .8rem;
}
.adm-logo-editor {}
.logo-preview-box {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--brown-dark);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin-bottom: 1rem;
}
.logo-preview-box i {
  font-size: 1.6rem;
  color: var(--gold);
  width: 40px;
  height: 40px;
  background: rgba(200,151,75,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-preview-box span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.logo-preview-box img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.field-label { font-size: .8rem; font-weight: 600; color: var(--gray-800); margin-bottom: .5rem; display: block; }
.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .35rem;
  max-height: 120px;
  overflow-y: auto;
  padding: .3rem;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.icon-option {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: .95rem;
  color: var(--gray-600);
  transition: var(--transition);
  border: 2px solid transparent;
}
.icon-option:hover { background: rgba(200,151,75,.15); color: var(--gold); }
.icon-option.selected { background: var(--gold); color: var(--white); border-color: var(--gold-dark); }

.logo-upload-area { margin-top: .8rem; }
.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.1rem;
  background: var(--cream);
  border: 1.5px dashed var(--gold);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  transition: var(--transition);
}
.upload-btn:hover { background: rgba(200,151,75,.1); }
.upload-hint { font-size: .72rem; color: var(--gray-400); margin-top: .3rem; display: block; }

.adm-input-lg {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: .88rem;
  outline: none;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color .2s;
  font-family: var(--font-body);
}
.adm-input-lg:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,151,75,.1); }
textarea.adm-input-lg { resize: vertical; }

/* Theme presets */
.theme-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.theme-preset-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.theme-preset-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.theme-preset-card.active { border-color: var(--gray-800); }
.tpc-preview {
  height: 55px;
  display: flex;
}
.tpc-p1 { flex: 2; }
.tpc-p2 { flex: 1; }
.tpc-p3 { flex: 1; }
.tpc-name {
  background: var(--white);
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem;
  color: var(--gray-800);
  border-top: 1px solid var(--gray-200);
}

/* Custom colors */
.theme-custom { border-top: 1.5px solid var(--gray-200); padding-top: 1.2rem; }
.color-pickers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-bottom: 1.2rem;
}
.color-picker-item label { font-size: .76rem; font-weight: 600; color: var(--gray-800); display: block; margin-bottom: .4rem; }
.color-input-wrap { display: flex; align-items: center; gap: .4rem; }
.color-input-wrap input[type="color"] {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 2px;
  border: 1.5px solid var(--gray-200);
}
.color-input-wrap input[type="text"] {
  flex: 1;
  padding: .35rem .5rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  font-size: .78rem;
  font-family: monospace;
  outline: none;
}
.color-input-wrap input[type="text"]:focus { border-color: var(--gold); }

.theme-preview-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  padding: .7rem 1rem;
  background: var(--cream);
  border-radius: 8px;
  font-size: .8rem;
  flex-wrap: wrap;
}
.theme-preview-bar span { font-weight: 600; color: var(--gray-600); }
.tpb-primary, .tpb-dark, .tpb-bg {
  width: 40px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.1);
}
.tpb-btn {
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--white);
  border: none;
  cursor: default;
}

/* Rate info */
.rate-label { font-size: .88rem; font-weight: 600; color: var(--gray-800); white-space: nowrap; }
.rate-info {
  margin-top: .8rem;
  padding: .6rem .9rem;
  background: var(--cream);
  border-radius: 8px;
  font-size: .82rem;
  color: var(--gray-600);
  border-left: 3px solid var(--gold);
}

/* Visibility toggle box */
.visibility-toggle-box {
  display: flex;
  align-items: stretch;
  gap: .5rem;
  margin: .8rem 0;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.vtb-option {
  flex: 1;
  padding: 1rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.vtb-option i { font-size: 1.4rem; color: var(--gray-400); transition: color .2s; }
.vtb-option strong { font-size: .82rem; color: var(--gray-800); display: block; }
.vtb-option span { font-size: .72rem; color: var(--gray-400); line-height: 1.4; }
.vtb-option.active { background: rgba(200,151,75,.12); border-bottom: 3px solid var(--gold); }
.vtb-option.active i { color: var(--gold); }
.vtb-option.active strong { color: var(--brown-dark); }
.vtb-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .3rem;
  color: var(--gray-400);
  font-size: .8rem;
  flex-shrink: 0;
}
.visibility-status {
  padding: .5rem .8rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  background: var(--cream);
  color: var(--gray-600);
}

/* Toolbar */
.adm-toolbar {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.adm-search-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  padding: .45rem 1rem;
  flex: 1;
  max-width: 300px;
}
.adm-search-box i { color: var(--gray-400); font-size: .85rem; }
.adm-search-box input { border: none; outline: none; font-size: .85rem; background: transparent; flex: 1; }
.adm-count-badge {
  background: var(--brown-dark);
  color: var(--gold-light);
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}

/* Categories list */
.adm-categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .8rem;
}
.adm-category-row {
  background: var(--white);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}
.adm-category-row:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.adm-category-row.disabled { opacity: .5; background: var(--gray-100); }
.adm-cat-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(200,151,75,.2), rgba(200,151,75,.08));
  border: 1px solid rgba(200,151,75,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.adm-cat-info { flex: 1; }
.adm-cat-info strong { display: block; font-size: .88rem; color: var(--brown-dark); }
.adm-cat-info span { font-size: .75rem; color: var(--gray-600); }
.adm-cat-actions { display: flex; gap: .35rem; align-items: center; }
.adm-cat-toggle {
  position: relative;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}
.adm-cat-toggle input { opacity: 0; width: 0; height: 0; }
.adm-cat-toggle .slider {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s;
}
.adm-cat-toggle .slider::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform .2s;
  box-shadow: var(--shadow-sm);
}
.adm-cat-toggle input:checked + .slider { background: var(--gold); }
.adm-cat-toggle input:checked + .slider::before { transform: translateX(16px); }

/* Inline form */
.adm-inline-form {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  animation: fadeIn .2s ease;
}
.adm-inline-form-inner h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.adm-inline-form-inner h4 i { color: var(--gold); }
.adm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.adm-form-actions { display: flex; gap: .7rem; margin-top: 1rem; }

/* Category icon picker */
.cat-icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .5rem;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  max-height: 90px;
  overflow-y: auto;
}

/* Products admin list */
.admin-products-list { display: flex; flex-direction: column; gap: .6rem; }
.admin-product-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.admin-product-row:hover { border-color: var(--gold-light); box-shadow: var(--shadow-sm); }
.admin-product-thumb { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.admin-product-info { flex: 1; min-width: 0; }
.admin-product-info strong { font-size: .85rem; color: var(--brown-dark); display: block; }
.admin-product-info span { font-size: .75rem; color: var(--gray-600); }
.admin-product-actions { display: flex; gap: .4rem; flex-shrink: 0; }
.admin-btn-edit, .admin-btn-del {
  padding: .3rem .65rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
}
.admin-btn-edit { background: rgba(200,151,75,.15); color: var(--gold); }
.admin-btn-edit:hover { background: var(--gold); color: var(--white); }
.admin-btn-del { background: rgba(231,76,60,.12); color: var(--red); }
.admin-btn-del:hover { background: var(--red); color: var(--white); }

/* Product form */
.admin-product-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 2px solid var(--gold);
  animation: fadeIn .2s ease;
}
.admin-product-form h4 { font-size: .9rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 1rem; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.admin-form-grid .form-group { margin-bottom: 0; }
.admin-form-grid .span-2 { grid-column: span 2; }

/* Users list */
.admin-users-list { display: flex; flex-direction: column; gap: .6rem; }
.admin-user-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  border: 1px solid var(--gray-200);
  transition: border-color .2s;
}
.admin-user-row:hover { border-color: var(--gold-light); }
.admin-user-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.admin-user-info { flex: 1; }
.admin-user-info strong { display: block; font-size: .85rem; color: var(--brown-dark); }
.admin-user-info span { font-size: .75rem; color: var(--gray-600); }
.admin-user-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 50px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-admin { background: rgba(200,151,75,.2); color: var(--gold-dark); }
.badge-user { background: var(--gray-100); color: var(--gray-600); }

/* Responsive Admin */
@media (max-width: 900px) {
  .adm-sidebar { width: 200px; }
  .adm-cards-grid { grid-template-columns: 1fr; }
  .adm-identity-row { grid-template-columns: 1fr; }
  .color-pickers-grid { grid-template-columns: 1fr 1fr; }
  .adm-form-row { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .span-2 { grid-column: auto; }
}
@media (max-width: 640px) {
  .admin-drawer { flex-direction: column; }
  .adm-sidebar { width: 100%; flex-direction: row; padding: 0; height: auto; overflow-x: auto; flex-wrap: nowrap; overflow-y: visible; }
  .adm-brand { padding: .8rem; border-bottom: none; border-right: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
  .adm-nav { flex-direction: row; padding: 0; flex-shrink: 0; overflow-x: auto; }
  .adm-nav-item { padding: .7rem .9rem; font-size: .78rem; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .adm-nav-item.active { border-bottom-color: var(--gold); border-left: none; }
  .adm-nav-item span { display: none; }
  .adm-close-btn { padding: .7rem; border-top: none; border-left: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
  .adm-main { flex: 1; min-height: 0; }
  .adm-section { padding: 1rem; }
  .adm-kpi-grid { grid-template-columns: 1fr 1fr; }
  .color-pickers-grid { grid-template-columns: 1fr 1fr; }
}
