/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --bg: #eaeded;
  --bg-alt: #f7f8fa;
  --text: #0f1111;
  --text-secondary: #565959;
  --text-tertiary: #888;
  --card-bg: #fff;
  --card-border: #e0e0e0;
  --input-bg: #fff;
  --modal-bg: #fff;
  --overlay: rgba(0,0,0,0.6);
  --shadow-card: none;
  --border-btn: #ddd;
  --hero-start: #1a1a2e;
  --hero-mid: #16213e;
  --hero-end: #0f3460;
  --brand-text: #007185;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.5;
  -webkit-font-smoothing: antialiased; transition: background 0.3s, color 0.3s;
}
a { color: #007185; text-decoration: none; }
a:hover { color: #c7511f; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Header ── */
.top-header {
  background: #131921; color: #fff; padding: 10px 20px; position: sticky; top: 0; z-index: 100;
}
.top-header-inner {
  max-width: 1500px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
}
.logo { font-size: 1.5rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; }
.logo span { color: #ff9900; }
.logo:hover { text-decoration: none; color: #fff; }

.search-bar { flex: 1; display: flex; max-width: 480px; min-width: 140px; }
.search-bar input {
  flex: 1; padding: 9px 12px; border: 2px solid transparent; border-radius: 6px 0 0 6px;
  font-size: 0.9rem; outline: none; background: #fff; color: #000; min-width: 0;
}
.search-bar input:focus { border-color: #ff9900; }
.search-bar button {
  padding: 9px 14px; background: #febd69; border: none; border-radius: 0 6px 6px 0;
  color: #131921; display: flex; align-items: center;
}
.search-bar button:hover { background: #f3a847; }

.header-links { display: flex; gap: 4px; flex-shrink: 0; }
.header-links a {
  color: #ddd; padding: 6px 10px; border-radius: 4px; font-size: 0.82rem; font-weight: 500; white-space: nowrap;
}
.header-links a:hover { color: #fff; outline: 1px solid #fff; text-decoration: none; }
.header-links a.active { color: #ff9900; font-weight: 700; }

.header-right { display: flex; align-items: center; flex-shrink: 0; }
.cart-btn {
  position: relative; background: none; border: none; color: #fff; padding: 6px 8px; border-radius: 4px;
}
.cart-btn:hover { outline: 1px solid #fff; }
#cart-count {
  position: absolute; top: -4px; right: -6px; background: #ff9900; color: #131921; font-size: 0.7rem; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%; display: none; align-items: center; justify-content: center;
}

/* ── Category Nav ── */
.nav-bar { background: #232f3e; padding: 0 20px; position: sticky; top: 56px; z-index: 99; }
.nav-inner {
  max-width: 1500px; margin: 0 auto; display: flex; gap: 4px; padding: 6px 0; overflow-x: auto; flex-wrap: nowrap;
}
.brand-row { padding: 0 0 6px; gap: 3px; }
.cat-btn, .brand-btn {
  padding: 6px 14px; background: none; border: 1px solid transparent; border-radius: 4px;
  color: #bbb; font-size: 0.82rem; font-weight: 500; white-space: nowrap; transition: all 0.15s; flex-shrink: 0;
}
.cat-btn:hover, .brand-btn:hover { border-color: #fff; color: #fff; }
.cat-btn.active { background: #ff9900; color: #131921; font-weight: 700; border-color: #ff9900; }
.brand-btn.active { background: #007185; color: #fff; font-weight: 700; border-color: #007185; }

/* ── Mobile selects ── */
.nav-selects { display: none; gap: 8px; padding: 6px 0; }
.nav-select {
  flex: 1; padding: 10px 12px; border: 1px solid #555; border-radius: 6px;
  background: #fff; color: #0f1111; font-size: 0.88rem; font-weight: 500;
  cursor: pointer; min-width: 0;
}
@media (max-width: 640px) {
  .nav-inner { display: none; }
  .nav-selects { display: flex; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff; padding: 50px 20px 40px; text-align: center;
}
.hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; }
.hero p { font-size: clamp(0.9rem, 1.8vw, 1.1rem); color: #ccc; max-width: 600px; margin: 0 auto 20px; }
.hero .hero-tag {
  display: inline-block; background: rgba(255,153,0,0.15); color: #ff9900;
  padding: 5px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 14px;
}

/* ── Content ── */
.content { max-width: 1500px; margin: 0 auto; padding: 24px 20px 60px; }
.content.no-hero { padding-top: 40px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.section-header h2 { font-size: 1.3rem; font-weight: 700; color: #0f1111; }
.result-count { color: #565959; font-size: 0.85rem; }

/* ── Sections visibility ── */
.page-section { display: none; }
.page-section.active { display: block; }

/* ── Page content (Sell, Custom, Contact) ── */
.page-content { max-width: 900px; }
.page-card {
  background: #fff; border-radius: 12px; padding: 40px; border: 1px solid #e0e0e0;
}
.page-card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.page-card h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.page-subtitle { color: #565959; font-size: 1rem; margin-bottom: 30px; line-height: 1.6; }

/* ── Benefits / Services Grid ── */
.benefits-grid, .services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 36px;
}
.benefit-item, .service-item {
  background: #f7f8fa; border-radius: 10px; padding: 22px; border: 1px solid #eaeaea;
}
.benefit-icon { font-size: 1.8rem; margin-bottom: 8px; }
.benefit-item h3, .service-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.benefit-item p, .service-item p { font-size: 0.85rem; color: #565959; line-height: 1.5; }

/* ── Process Steps ── */
.process-steps { margin-bottom: 36px; }
.process-steps h3 { font-size: 1.1rem; margin-bottom: 16px; }
.steps {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  background: #f7f8fa; padding: 16px 20px; border-radius: 10px; border: 1px solid #eaeaea;
}
.step { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: #ff9900; color: #131921;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.step-arrow { color: #999; font-size: 1.1rem; }

/* ── Forms ── */
.page-form { margin-top: 10px; }
.page-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-row input, .form-row select { flex: 1; }
.page-form input, .page-form select, .page-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 0.9rem; font-family: inherit; background: #fff; transition: border-color 0.15s;
}
.page-form input:focus, .page-form select:focus, .page-form textarea:focus { outline: none; border-color: #ff9900; }
.page-form textarea { resize: vertical; margin-bottom: 12px; }
.form-note { font-size: 0.8rem; color: #888; margin-bottom: 14px; }
.btn-submit {
  padding: 14px 32px; background: #ff9900; color: #fff; border: none; border-radius: 8px;
  font-size: 1rem; font-weight: 600; transition: background 0.15s;
}
.btn-submit:hover { background: #e88b00; }
.btn-submit:disabled { background: #ccc; cursor: default; }

/* ── Contact Grid ── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 36px;
}
.contact-item {
  background: #f7f8fa; border-radius: 10px; padding: 22px; text-align: center; border: 1px solid #eaeaea;
}
.contact-icon { font-size: 1.8rem; margin-bottom: 6px; }
.contact-item h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.85rem; color: #565959; }
.contact-item a { color: #007185; font-weight: 500; }

/* ── Product Grid ── */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px;
}
.product-card {
  background: #fff; border-radius: 8px; overflow: hidden; transition: all 0.2s;
  cursor: pointer; border: 1px solid #e0e0e0; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); border-color: #ff9900; }

.product-card-img {
  position: relative; background: #f7f7f7; aspect-ratio: 4/3; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.product-card-img img { max-height: 100%; object-fit: contain; transition: transform 0.3s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }

.badge-free, .badge-sale {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.badge-free { background: #067d62; color: #fff; }
.badge-sale { background: #b12704; color: #fff; }

.product-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.product-card-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }
.product-card-brand { font-size: 0.75rem; color: #007185; font-weight: 600; }
.product-card-formats { font-size: 0.72rem; color: #888; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.product-card-title {
  font-size: 0.92rem; font-weight: 600; line-height: 1.3; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-price { font-size: 1.15rem; font-weight: 700; color: #b12704; margin-bottom: auto; padding-bottom: 10px; }
.product-card-price .old-price { font-size: 0.85rem; color: #565959; font-weight: 400; text-decoration: line-through; margin-right: 6px; }

.btn-add-cart {
  width: 100%; padding: 10px; background: #ffd814; border: none; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; color: #0f1111; transition: background 0.15s; display: block; text-align: center;
}
.btn-add-cart:hover { background: #f7ca00; }
.btn-add-cart:disabled { cursor: default; color: #fff; }
.btn-large { padding: 14px; font-size: 1rem; }

/* ── Modal (Product Detail) ── */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6);
  z-index: 200; display: none; justify-content: center; align-items: center; padding: 20px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: #fff; border-radius: 12px; max-width: 1000px; width: 100%; max-height: 90vh;
  overflow-y: auto; position: relative; animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 14px; right: 14px; background: #f0f0f0; border: none; border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #333; z-index: 10; transition: background 0.15s;
}
.modal-close:hover { background: #ddd; }
.modal-body { padding: 30px; }
.modal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.modal-main-img { background: #f7f7f7; border-radius: 8px; padding: 20px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; margin-bottom: 12px; }
.modal-main-img img { max-height: 100%; object-fit: contain; }
.modal-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-thumbs .thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 2px solid #ddd; cursor: pointer; transition: border-color 0.15s; background: #f7f7f7; }
.modal-thumbs .thumb.active { border-color: #ff9900; }
.modal-thumbs .thumb:hover { border-color: #007185; }

.modal-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.modal-brand { font-size: 0.8rem; color: #007185; font-weight: 600; }
.modal-formats { font-size: 0.78rem; color: #888; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.modal-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.modal-price { font-size: 1.5rem; font-weight: 700; color: #b12704; margin-bottom: 12px; }
.modal-price .old-price { font-size: 1rem; color: #565959; font-weight: 400; text-decoration: line-through; margin-right: 8px; }
.modal-price .price-free { color: #067d62; }
.modal-desc { color: #565959; font-size: 0.9rem; margin-bottom: 16px; line-height: 1.6; }
.modal-features { margin-bottom: 20px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; margin-bottom: 6px; color: #0f1111; }
.modal-note { font-size: 0.78rem; color: #888; margin-top: 12px; }

/* ── Cart Sidebar ── */
.cart-overlay {
  position: fixed; top: 0; right: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5);
  z-index: 300; display: none; justify-content: flex-end;
}
.cart-overlay.open { display: flex; }
.cart-sidebar {
  background: #fff; width: 100%; max-width: 420px; height: 100%; display: flex; flex-direction: column;
  animation: slideIn 0.25s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid #e0e0e0; }
.cart-header h2 { font-size: 1.2rem; font-weight: 700; }
.cart-close-btn { background: none; border: none; font-size: 1.2rem; color: #666; padding: 4px; }
.cart-close-btn:hover { color: #0f1111; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; padding: 40px 0; color: #888; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; align-items: flex-start; }
.cart-item img { width: 64px; height: 64px; object-fit: contain; border-radius: 6px; background: #f7f7f7; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { font-size: 0.9rem; color: #b12704; font-weight: 700; margin-bottom: 6px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border: 1px solid #ddd; border-radius: 4px; background: #f7f7f7; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.qty-btn:hover { background: #e0e0e0; }
.cart-item-qty span { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: #999; padding: 4px; }
.cart-item-remove:hover { color: #b12704; }
.cart-footer { padding: 16px 20px; border-top: 1px solid #e0e0e0; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.btn-checkout { width: 100%; padding: 14px; background: #ffd814; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; }
.btn-checkout:hover { background: #f7ca00; }

/* ── Checkout ── */
.checkout-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6);
  z-index: 400; display: none; justify-content: center; align-items: center; padding: 20px;
}
.checkout-overlay.open { display: flex; }
.checkout-box {
  background: #fff; border-radius: 12px; max-width: 520px; width: 100%; padding: 30px;
  animation: modalIn 0.25s ease; max-height: 90vh; overflow-y: auto;
}
.checkout-box h2 { font-size: 1.3rem; margin-bottom: 20px; }
.checkout-lines { margin-bottom: 16px; }
.checkout-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; }
.checkout-total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; padding-top: 12px; border-top: 2px solid #0f1111; margin-bottom: 20px; }
.payment-section { text-align: center; }
.payment-section h3 { font-size: 1rem; margin-bottom: 16px; color: #565959; }
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-btn { padding: 14px; border: 2px solid #ddd; border-radius: 8px; background: #fff; font-size: 0.95rem; font-weight: 600; transition: all 0.15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pay-btn:hover { border-color: #ff9900; background: #fff8f0; }
.pay-btn-primary { background: #ff9900; color: #fff; border-color: #ff9900; }
.pay-btn-primary:hover { background: #e88b00; border-color: #e88b00; }
.pay-btn-crypto { color: #0f1111; }
.payment-processing { display: none; text-align: center; padding: 30px 0; }
.spinner { width: 40px; height: 40px; border: 3px solid #e0e0e0; border-top-color: #ff9900; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.payment-success { display: none; text-align: center; padding: 20px 0; }
.payment-success .check-icon { font-size: 3rem; margin-bottom: 12px; }
.payment-success h3 { color: #067d62; margin-bottom: 8px; }
.btn-download { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: #067d62; color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; margin-top: 16px; }
.btn-download:hover { background: #055a46; color: #fff; text-decoration: none; }
.btn-cancel { margin-top: 12px; padding: 10px; background: none; border: none; color: #888; font-size: 0.9rem; }
.btn-cancel:hover { color: #0f1111; }

/* ── Toast ── */
#toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #232f3e; color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 0.9rem;
  font-weight: 500; opacity: 0; transition: all 0.3s; z-index: 500; pointer-events: none; white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Footer ── */
.site-footer { background: #232f3e; color: #ddd; padding: 40px 20px 20px; margin-top: 40px; }
.footer-inner { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 12px; }
.footer-col a { display: block; color: #ddd; font-size: 0.82rem; margin-bottom: 6px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 20px; margin-top: 30px; border-top: 1px solid #3a4553; color: #888; font-size: 0.78rem; }

/* ── No Results ── */
.no-results { text-align: center; padding: 60px 20px; color: #888; grid-column: 1 / -1; }
.no-results h3 { font-size: 1.2rem; margin-bottom: 8px; color: #0f1111; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 900px) {
  .modal-layout { grid-template-columns: 1fr; }
  .header-links { gap: 2px; }
  .header-links a { font-size: 0.75rem; padding: 5px 7px; }
  .benefits-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-header-inner { gap: 8px; flex-wrap: wrap; }
  .search-bar { order: 3; flex-basis: 100%; max-width: 100%; }
  .header-links { order: 2; }
  .nav-bar { top: 98px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
  .hero { padding: 36px 16px 28px; }
  .page-card { padding: 24px; }
  .steps { gap: 6px; }
  .step { font-size: 0.78rem; }
  .step-arrow { font-size: 0.9rem; }
  .form-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .top-header { padding: 8px 12px; }
  .nav-bar { padding: 0 12px; top: 96px; }
  .nav-inner { padding: 4px 0; gap: 3px; }
  .cat-btn, .brand-btn { padding: 5px 10px; font-size: 0.75rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-title { font-size: 0.82rem; }
  .product-card-body { padding: 10px 12px 12px; }
  .product-card-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .modal-body { padding: 20px; }
  .checkout-box { padding: 20px; }
  .content { padding: 14px 12px 40px; }
  .benefits-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .header-links a { font-size: 0.7rem; padding: 4px 5px; }
  .logo { font-size: 1.2rem; }
  .page-card { padding: 16px; }
  .page-card h1 { font-size: 1.4rem; }
}

/* ── Dark Mode ── */
body.dark-mode {
  --bg: #0a0b0f;
  --bg-alt: #14161a;
  --text: #e5e5e5;
  --text-secondary: #999;
  --text-tertiary: #666;
  --card-bg: #14161a;
  --card-border: #1e2028;
  --input-bg: #1a1c23;
  --modal-bg: #14161a;
  --overlay: rgba(0,0,0,0.75);
  --hero-start: #050510;
  --hero-mid: #0a0a20;
  --hero-end: #0f172a;
  --brand-text: #4db8e0;
  color-scheme: dark;
}
body.dark-mode .top-header { background: #06070a; }
body.dark-mode .nav-bar { background: #0e0f14; }
body.dark-mode .search-bar input { background: #1a1c23; color: #e5e5e5; border-color: #2a2a2a; }
body.dark-mode .search-bar input:focus { border-color: #ff9900; }
body.dark-mode .cat-btn:not(.active), body.dark-mode .brand-btn:not(.active) { color: #777; }
body.dark-mode .cat-btn:hover, body.dark-mode .brand-btn:hover { color: #fff; }
body.dark-mode .cat-btn.active { background: #ff9900; color: #0f1111; }
body.dark-mode .brand-btn.active { background: #007185; color: #fff; }
body.dark-mode .site-footer { background: #06070a; }
body.dark-mode .step-num { color: #0f1111; }
body.dark-mode .btn-checkout, body.dark-mode .btn-add-cart { color: #0f1111; }
body.dark-mode .btn-add-cart:disabled { color: #999; }
body.dark-mode .feature-item svg { fill: #22c55e !important; }
body.dark-mode .copyright-bar { color: #555; }
body.dark-mode .product-card:hover { border-color: #ff9900; }

/* ── Theme Toggle ── */
.theme-btn {
  background: none; border: 1px solid transparent; color: #ddd; padding: 6px 8px;
  display: flex; align-items: center; border-radius: 4px; margin-right: 4px;
}
.theme-btn:hover { outline: 1px solid #fff; }
.theme-icon-dark { display: none; }
.theme-icon-light { display: block; }
body.dark-mode .theme-icon-dark { display: block; }
body.dark-mode .theme-icon-light { display: none; }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.product-card { transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s; }
.product-card.reveal { opacity: 0; transform: translateY(20px); }
.product-card.reveal.visible { opacity: 1; transform: translateY(0); }
