/* ============ LATOM LUX REPS — Dynamic Multi-Theme ============ */
/* Dark Luxury: Bags, Wallets, Electronics */
/* Bold Modern: Shoes, Perfumes, Second Warehouse */
/* ============================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Dark Luxury (default) */
  --bg: #0a0a0a;
  --card: #141414;
  --accent: #c9a050;
  --accent-dim: #a8843f;
  --accent-glow: rgba(201,160,80,.12);
  --text: #e8e8e8;
  --text-light: #bbb;
  --text-muted: #777;
  --border: #222;
  --surface: #1a1a1a;
  --shadow-card: 0 2px 12px rgba(0,0,0,.3);
  --shadow-hover: 0 0 30px rgba(201,160,80,.12), 0 8px 32px rgba(0,0,0,.4);
  --header-h: 70px;
  --cat-h: 52px;
  --radius: 12px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --t: .35s;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* Bold Modern theme variables */
[data-theme="bold"] {
  --bg: #ffffff;
  --card: #ffffff;
  --accent: #ff6b6b;
  --accent-dim: #6c5ce7;
  --accent-glow: rgba(255,107,107,.15);
  --text: #222;
  --text-light: #555;
  --text-muted: #999;
  --border: #eee;
  --surface: #fafafa;
  --shadow-card: 0 2px 16px rgba(0,0,0,.06);
  --shadow-hover: 0 8px 30px rgba(255,107,107,.2);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

/* ============ GRADIENT BAR (bold theme) ============ */
.gradient-bar {
  height: 0; background: linear-gradient(135deg, #ff6b6b, #ee5a24, #6c5ce7);
  transition: height var(--t);
}
[data-theme="bold"] .gradient-bar { height: 4px; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--accent);
  transition: all var(--t) var(--ease);
}
[data-theme="bold"] .site-header {
  border-bottom: none;
  box-shadow: 0 1px 12px rgba(0,0,0,.05);
}

.header-top {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; max-width: 1280px; margin: 0 auto;
}

.menu-btn {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 10px 8px;
}
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; transition: background var(--t); }

.logo {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--accent); text-decoration: none; letter-spacing: 3px;
  transition: all var(--t);
}
[data-theme="bold"] .logo {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem;
  background: linear-gradient(135deg, #ff6b6b, #6c5ce7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo span { color: var(--accent); font-weight: 400; font-size: 1.1rem; letter-spacing: 4px; }
[data-theme="bold"] .logo span { -webkit-text-fill-color: transparent; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.search-toggle, .cart-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); padding: 10px; position: relative;
  border-radius: 50%; transition: all .2s;
}
.search-toggle:hover, .cart-btn:hover { color: var(--accent); background: var(--accent-glow); }

.cart-badge {
  position: absolute; top: 2px; right: 0;
  background: var(--accent); color: #000; font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
[data-theme="bold"] .cart-badge {
  background: linear-gradient(135deg, #ff6b6b, #6c5ce7); color: #fff;
}
.cart-badge.show { transform: scale(1); }

.search-bar {
  height: 0; overflow: hidden; background: var(--surface);
  transition: height var(--t); display: flex; align-items: center; padding: 0 20px;
}
.search-bar.open { height: 52px; }
.search-bar input {
  flex: 1; background: none; border: none; color: var(--text);
  font-size: 15px; outline: none; font-family: inherit;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-close { background: none; border: none; color: var(--text-muted); font-size: 22px; cursor: pointer; padding: 4px 8px; }

/* ============ SIDEBAR ============ */
.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity var(--t);
}
.sidebar-overlay.open { opacity: 1; pointer-events: all; }

.sidebar {
  position: fixed; top: 0; left: -320px; bottom: 0;
  width: 320px; max-width: 85vw; background: var(--surface); z-index: 201;
  transition: left var(--t); overflow-y: auto; display: flex; flex-direction: column;
}
.sidebar.open { left: 0; }

.sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--border); }
.sidebar-header h2 { font-family: var(--font-heading); font-size: 16px; letter-spacing: 2px; color: var(--accent); }
.sidebar-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.sidebar-menu { list-style: none; padding: 12px 0; }
.sidebar-menu li a {
  display: block; padding: 14px 28px; color: var(--text); text-decoration: none;
  font-weight: 500; font-size: 14px; border-left: 3px solid transparent; transition: all .2s;
}
.sidebar-menu li a:hover, .sidebar-menu li a.active { background: var(--accent-glow); color: var(--accent); border-left-color: var(--accent); }

.sidebar-brands { padding: 20px 28px; border-top: 1px solid var(--border); }
.sidebar-brands h3 { font-size: 11px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; letter-spacing: 1.5px; }
.sidebar-brands a {
  display: inline-block; padding: 6px 14px; margin: 3px; background: var(--border); border-radius: 20px;
  color: var(--text-light); text-decoration: none; font-size: 12px; font-weight: 500; transition: all .2s;
}
.sidebar-brands a:hover { background: var(--accent); color: #fff; }

.sidebar-contact { margin-top: auto; padding: 24px 28px; border-top: 1px solid var(--border); }
.sidebar-contact p { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.whatsapp-link {
  display: inline-flex; align-items: center; gap: 8px; color: #25d366;
  text-decoration: none; font-weight: 600; font-size: 13px;
  padding: 8px 16px; background: rgba(37,211,102,.1); border-radius: 8px;
}

/* ============ CATEGORY TABS ============ */
.category-bar {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 90;
  background: var(--surface); border-bottom: 1px solid var(--border);
  transition: all var(--t);
}

.category-tabs {
  display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 16px;
  max-width: 1280px; margin: 0 auto; gap: 4px;
}
.category-tabs::-webkit-scrollbar { display: none; }

/* Dark theme tabs */
.cat-tab {
  flex-shrink: 0; padding: 14px 22px; background: none; border: none;
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--text-muted); cursor: pointer; position: relative;
  transition: all .2s; white-space: nowrap; letter-spacing: 1.5px; text-transform: uppercase;
}
.cat-tab::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--accent); transition: width var(--t);
}
.cat-tab:hover, .cat-tab.active { color: var(--accent); }
.cat-tab.active::after { width: 60%; }

/* Bold theme tabs */
[data-theme="bold"] .cat-tab {
  padding: .55rem 1.4rem; font-size: .8rem; font-weight: 600;
  border-radius: 50px; background: #f3f3f3; letter-spacing: .5px;
}
[data-theme="bold"] .cat-tab::after { display: none; }
[data-theme="bold"] .cat-tab:hover { background: #ede; color: #ff6b6b; }
[data-theme="bold"] .cat-tab.active {
  background: linear-gradient(135deg, #ff6b6b, #6c5ce7); color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,107,.3);
}
[data-theme="bold"] .category-tabs { gap: .6rem; padding: .6rem 1rem; }

/* ============ FILTERS ============ */
.filter-bar {
  margin-top: calc(var(--header-h) + var(--cat-h));
  padding: 16px 20px 10px; background: var(--surface);
  border-bottom: 1px solid var(--border); transition: all var(--t);
}

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.filter-row select {
  padding: 9px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 12px; background: var(--card);
  color: var(--text); cursor: pointer; outline: none; min-width: 130px;
  transition: all var(--t);
}
[data-theme="bold"] .filter-row select { border-radius: 50px; }

.stock-toggle { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); cursor: pointer; margin-left: auto; }
.stock-toggle input { accent-color: var(--accent); }

.results-count { font-size: 11px; color: var(--text-muted); padding: 8px 0 2px; letter-spacing: .5px; text-transform: uppercase; }

/* ============ PRODUCT GRID ============ */
.products-container { padding: 16px; min-height: 60vh; max-width: 1280px; margin: 0 auto; }

.product-grid { display: block; }

.brand-section { margin-bottom: 36px; }
.brand-section-header {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px;
  padding: 12px 0 8px; border-bottom: 2px solid var(--accent);
  position: sticky; top: calc(var(--header-h) + var(--cat-h) + 52px);
  background: var(--bg); z-index: 5; transition: all var(--t);
}
.brand-section-title { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--accent); }
[data-theme="bold"] .brand-section-title {
  background: linear-gradient(135deg, #ff6b6b, #6c5ce7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.brand-section-count { font-size: 12px; color: var(--text-muted); }

.brand-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 540px) { .brand-product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 800px) { .brand-product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .brand-product-grid { grid-template-columns: repeat(5, 1fr); gap: 22px; } }

/* ============ PRODUCT CARD ============ */
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; position: relative;
  transition: all .4s var(--ease);
}

/* Dark theme hover */
.product-card:hover {
  border-color: var(--accent-dim);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Bold theme hover */
[data-theme="bold"] .product-card { border: 1px solid #f0f0f0; border-radius: 20px; }
[data-theme="bold"] .product-card:nth-child(odd):hover { box-shadow: 0 8px 30px rgba(255,107,107,.25); transform: translateY(-6px); }
[data-theme="bold"] .product-card:nth-child(even):hover { box-shadow: 0 8px 30px rgba(108,92,231,.2); transform: translateY(-6px); }

.product-card .card-image {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface);
}
.product-card .card-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease);
}
.product-card:hover .card-image img { transform: scale(1.06); }

.card-badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 6px;
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
}
[data-theme="bold"] .card-badge { border-radius: 50px; }
.card-badge.out-of-stock { background: #e53935; color: #fff; }
.card-badge.brand-badge { background: rgba(0,0,0,.6); color: #fff; }
[data-theme="bold"] .card-badge.brand-badge { background: linear-gradient(135deg, #ff6b6b, #6c5ce7); }

.card-code {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 5px; letter-spacing: .8px; font-family: monospace;
}

.card-info { padding: 14px 14px 16px; }
.card-info .card-brand {
  font-size: 10px; color: var(--accent); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.card-info .card-name {
  font-size: 13px; font-weight: 500; color: var(--text); margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35;
}
.card-info .card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.card-info .card-price { font-size: 17px; font-weight: 700; color: var(--accent); font-family: var(--font-heading); }
[data-theme="bold"] .card-info .card-price { color: var(--text); }

.card-info .card-add-btn {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); border: none; cursor: pointer; color: #000;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: all .2s cubic-bezier(.34,1.56,.64,1);
}
.card-info .card-add-btn:hover { transform: scale(1.15); }
[data-theme="bold"] .card-info .card-add-btn {
  border-radius: 50%; background: linear-gradient(135deg, #ff6b6b, #6c5ce7); color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,107,.3);
}
.card-info .card-add-btn:disabled { background: #333; color: #666; cursor: not-allowed; transform: none; }
[data-theme="bold"] .card-info .card-add-btn:disabled { background: #e0e0e0; color: #aaa; }

.loading { text-align: center; padding: 60px; color: var(--text-muted); font-size: 13px; text-transform: uppercase; }
.no-results { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.no-results p { margin: 16px 0; font-size: 15px; }
.btn-reset { padding: 12px 28px; background: var(--accent); color: #000; border: none; border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; }

/* ============ BRAND NAV ============ */
.brand-nav {
  position: fixed; left: 0; top: calc(var(--header-h) + var(--cat-h) + 60px);
  width: 160px; max-height: calc(100vh - var(--header-h) - var(--cat-h) - 80px);
  overflow-y: auto; z-index: 10; padding: 8px 0; scrollbar-width: none;
}
.brand-nav::-webkit-scrollbar { display: none; }
.brand-nav-header { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); font-weight: 700; padding: 8px 16px; }
.brand-nav-list { display: flex; flex-direction: column; }
.brand-nav-link {
  display: block; padding: 7px 16px; font-size: 12px; color: var(--text-muted);
  text-decoration: none; font-weight: 500; border-left: 2px solid transparent; transition: all .2s;
}
.brand-nav-link:hover, .brand-nav-link.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-glow); }
@media (min-width: 1100px) { .products-container { margin-left: 160px; } }
@media (max-width: 1099px) { .brand-nav { display: none !important; } }

/* ============ PRODUCT MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity var(--t);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-content {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative;
  transform: scale(.92); transition: transform var(--t) cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal-overlay.open .modal-content { transform: scale(1); }
[data-theme="bold"] .modal-content { border-radius: 24px; border: none; }

.modal-close {
  position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.1);
  border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 20px;
  cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: background .2s;
}
.modal-close:hover { background: var(--accent-glow); }

.modal-body { display: flex; flex-direction: column; }
@media (min-width: 600px) { .modal-body { flex-direction: row; } }

.modal-image { flex: 1; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }

.modal-info { flex: 1; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.modal-brand { font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.modal-info h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.modal-code { font-size: 13px; color: var(--text-light); background: var(--surface); display: inline-block; padding: 4px 10px; border-radius: 6px; width: fit-content; }
.modal-code strong { color: var(--accent); font-family: monospace; }
.modal-category, .modal-gender { font-size: 13px; color: var(--text-muted); }
.modal-stock { font-size: 13px; font-weight: 600; }
.modal-stock.in-stock { color: #2ecc71; }
.modal-stock.out-of-stock { color: #e53935; }
.modal-price { font-size: 30px; font-weight: 700; color: var(--accent); margin: 10px 0; font-family: var(--font-heading); }
[data-theme="bold"] .modal-price {
  background: linear-gradient(135deg, #ff6b6b, #6c5ce7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.modal-qty { display: flex; align-items: center; gap: 16px; }
.qty-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--card); color: var(--text); cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
#modalQty { font-size: 18px; font-weight: 700; min-width: 28px; text-align: center; }

.btn-add-cart {
  margin-top: 16px; padding: 15px 28px; background: var(--accent); color: #000;
  border: none; border-radius: 8px; font-family: inherit; font-size: 14px;
  font-weight: 600; cursor: pointer; letter-spacing: 1px; text-transform: uppercase; transition: all .2s;
}
.btn-add-cart:hover { filter: brightness(1.1); transform: translateY(-1px); }
[data-theme="bold"] .btn-add-cart {
  background: linear-gradient(135deg, #ff6b6b, #6c5ce7); color: #fff;
  border-radius: 50px; box-shadow: 0 4px 20px rgba(255,107,107,.3);
}
.btn-add-cart:disabled { background: #333; color: #666; cursor: not-allowed; transform: none; }

/* ============ CART DRAWER ============ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 400; opacity: 0; pointer-events: none; transition: opacity var(--t); }
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: -420px; bottom: 0; width: 420px; max-width: 92vw;
  background: var(--surface); z-index: 401; display: flex; flex-direction: column;
  transition: right var(--t); box-shadow: -8px 0 40px rgba(0,0,0,.3);
}
.cart-drawer.open { right: 0; }

.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.cart-header h2 { font-size: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.cart-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 16px; }
.cart-item { display: flex; gap: 14px; padding: 16px 8px; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--border); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-code { font-size: 11px; color: var(--text-muted); font-family: monospace; }
.cart-item-price { font-size: 15px; font-weight: 700; margin-top: 4px; color: var(--accent); }
.cart-item-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cart-item-actions button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cart-item-actions span { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 18px; padding: 4px; }

.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); gap: 12px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); background: var(--surface); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.cart-total strong { font-size: 24px; color: var(--accent); }

.btn-checkout {
  width: 100%; padding: 16px; background: var(--accent); color: #000;
  border: none; border-radius: 10px; font-family: inherit; font-size: 13px;
  font-weight: 700; cursor: pointer; letter-spacing: 1.5px; text-transform: uppercase; transition: all .2s;
}
[data-theme="bold"] .btn-checkout { background: linear-gradient(135deg, #ff6b6b, #6c5ce7); color: #fff; border-radius: 50px; }

/* ============ CHECKOUT ============ */
.checkout-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); z-index: 500; display: flex; align-items: flex-start; justify-content: center; padding: 20px; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity var(--t); }
.checkout-overlay.open { opacity: 1; pointer-events: all; }
.checkout-modal { background: var(--card); border: 1px solid rgba(201,160,80,0.1); border-radius: 20px; max-width: 540px; width: 100%; padding: 36px; position: relative; margin: 40px auto; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(201,160,80,0.05); }
.checkout-modal h2 { font-family: var(--font-heading); font-size: 26px; margin-bottom: 0; color: var(--text); }

.checkout-summary { background: var(--surface); border-radius: 12px; padding: 4px 0; margin-bottom: 24px; max-height: 220px; overflow-y: auto; border: 1px solid var(--border); }
.checkout-summary .summary-item { display: flex; justify-content: space-between; font-size: 13px; padding: 10px 18px; border-bottom: 1px solid var(--border); align-items: center; }
.checkout-summary .summary-item:last-child { border-bottom: none; }
.checkout-summary .summary-item-name { color: var(--text); font-weight: 500; }
.checkout-summary .summary-item-code { font-family: monospace; color: #c9a050; font-size: 11px; letter-spacing: 0.5px; }
.checkout-summary .summary-item-price { font-family: monospace; color: var(--text); font-weight: 600; }
.summary-item-name { flex: 1; color: var(--text); }
.summary-item-code { color: var(--text-muted); font-family: monospace; margin: 0 10px; font-size: 10px; }
.summary-item-price { font-weight: 700; color: var(--accent); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; color: var(--text); letter-spacing: .5px; text-transform: uppercase; }
.form-group input, .form-group textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px; outline: none; background: var(--card); color: var(--text); transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 72px; }

.checkout-total { background: var(--surface); border-radius: 12px; padding: 18px; margin: 24px 0; border: 1px solid var(--border); }
.total-line { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; color: var(--text-muted); letter-spacing: 0.3px; }
.total-final { font-size: 22px; font-weight: 700; color: var(--text); border-top: 1px solid rgba(201,160,80,0.2); padding-top: 12px; margin-top: 10px; }

.payment-section { margin: 24px 0; }
.payment-section h3 { font-size: 12px; margin-bottom: 14px; letter-spacing: .5px; text-transform: uppercase; font-weight: 600; }
.payment-options { display: flex; gap: 12px; margin-bottom: 18px; }
.payment-option { cursor: pointer; flex: 1; }
.payment-option input { display: none; }
.payment-card { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border: 2px solid var(--border); border-radius: 10px; transition: all .2s; font-weight: 600; font-size: 14px; color: var(--text); }
.payment-option input:checked + .payment-card { border-color: var(--accent); background: var(--accent-glow); }

.payment-info { background: rgba(0,120,255,.06); border-radius: 10px; padding: 16px; font-size: 13px; border: 1px solid rgba(0,120,255,.1); color: var(--text-light); line-height: 1.6; }
.payment-step-info { text-align: center; padding: 16px 0; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.payment-step-name { font-size: 14px; color: var(--text-light); margin: 0; }
.payment-step-total { font-size: 28px; font-weight: 700; margin: 8px 0 0; color: var(--accent); }
.payment-instruction { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 20px; }
#paypal-button-container { min-height: 60px; margin-bottom: 20px; }
.btn-back { display: block; width: 100%; padding: 12px; background: none; border: 1px solid var(--border); color: var(--text-muted); border-radius: 10px; font-family: inherit; font-size: 13px; cursor: pointer; text-align: center; }

.btn-place-order {
  width: 100%; padding: 16px; background: linear-gradient(135deg, #c9a050, #a0884d); color: #0a0a0f; border: none;
  border-radius: 12px; font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; letter-spacing: 2px; text-transform: uppercase; transition: all .2s;
  box-shadow: 0 4px 20px rgba(201,160,80,0.25);
}
.btn-place-order:hover { background: linear-gradient(135deg, #d4ad5e, #b09858); box-shadow: 0 6px 28px rgba(201,160,80,0.35); transform: translateY(-1px); }

/* ============ CONFIRMATION ============ */
.confirmation-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); z-index: 600; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t); }
.confirmation-overlay.open { opacity: 1; pointer-events: all; }
.confirmation-modal { background: var(--card); border-radius: 24px; padding: 52px 36px; text-align: center; max-width: 420px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.confirm-icon { width: 80px; height: 80px; border-radius: 50%; background: #00b365; color: #fff; font-size: 36px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.confirmation-modal h2 { font-family: var(--font-heading); font-size: 26px; margin-bottom: 16px; }
.confirmation-modal p { color: var(--text-muted); margin: 8px 0; font-size: 14px; }
.btn-continue { margin-top: 28px; padding: 14px 36px; background: var(--accent); color: #000; border: none; border-radius: 10px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; letter-spacing: .8px; text-transform: uppercase; }

/* ============ TOAST ============ */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--surface); color: var(--text); padding: 14px 28px; border-radius: 12px; font-size: 13px; font-weight: 500; z-index: 9999; opacity: 0; transition: all .4s cubic-bezier(.34,1.56,.64,1); white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.3); border: 1px solid var(--border); }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--border); padding: 0; margin-top: 60px; background: var(--bg); transition: all var(--t); }
[data-theme="bold"] .site-footer { background: #fafafa; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 48px 28px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 600px) { .footer-content { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand h3 { font-family: var(--font-heading); font-size: 20px; letter-spacing: 2px; margin-bottom: 12px; color: var(--accent); }
.footer-brand p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.footer-links h4, .footer-contact h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
.footer-links a, .footer-contact a { display: block; color: var(--text-muted); text-decoration: none; font-size: 13px; padding: 5px 0; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding: 20px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-muted); }

/* ============ IMAGES ============ */
.product-card .card-image img { opacity: 0; transition: opacity .5s ease, transform .5s var(--ease); }
.product-card .card-image img.loaded { opacity: 1; }
.product-card .card-image img.error { opacity: 1; object-fit: contain; padding: 24px; background: var(--surface); }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::selection { background: var(--accent-glow); }
