/* ═══════════════════════════════════════════════════════════════
   SITE FOOTER — shared across all public pages.
   Uses the CSS variables (--red/--gold, --black, --white, --gray-*,
   --font-display, --font-body, --transition) defined by whichever
   page's own index.css loads before this file.
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand { display: flex; flex-direction: column; }
.footer-logo-link { display: block; margin-bottom: 22px; }
.footer-brand-logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.5);
}

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
  font-size: 14px; font-weight: 700;
}
.social-link:hover { background: var(--red); border-color: var(--red); color: #fff; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--red);
}
[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition), padding-inline-start var(--transition);
}
.footer-col a:hover { color: var(--white); padding-inline-start: 4px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}
.site-footer .form-input {
  height: 46px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  color: var(--white);
  font-size: 13.5px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.28); }
.site-footer .form-input:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.07);
}
.site-footer .form-textarea { padding: 14px 16px; height: 96px; resize: vertical; }
.btn-send {
  height: 48px;
  background: var(--red);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-send:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-send:disabled { opacity: 0.6; pointer-events: none; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2px;
}

/* ─── ABOUT / SHIPPING / RETURNS MODALS ──────────────────────── */
.about-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.7);
  z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.about-overlay.open { opacity: 1; visibility: visible; }
.about-modal {
  background: var(--white);
  width: 100%; max-width: 540px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s;
  max-height: 90vh;
  overflow-y: auto;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.about-overlay.open .about-modal { transform: translateY(0); }
.about-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none; cursor: pointer;
  font-size: 15px; color: #fff;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  transition: background var(--transition);
}
.about-close:hover { background: rgba(255, 255, 255, 0.28); }
[dir="rtl"] .about-close { right: auto; left: 16px; }
.about-header {
  background: var(--black);
  padding: 38px 30px;
  text-align: center;
  color: #fff;
  position: relative;
}
.about-header::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.about-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2.1rem;
  letter-spacing: 0.3px;
}
.about-brand span { color: var(--red); font-style: normal; }
.about-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  text-transform: uppercase;
}
.about-body { padding: 26px; }
.about-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  margin-bottom: 12px;
  transition: border-color 0.2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.about-card:hover { border-color: var(--gray-200); }
.about-card-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.about-card-text h4 {
  font-size: 12.5px; font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.about-card-text p { font-size: 13px; color: var(--gray-600); line-height: 1.65; margin: 0; }
.about-cta-wrap { padding: 0 26px 26px; }
.about-cta {
  display: flex; align-items: center; justify-content: center;
  height: 48px; width: 100%;
  background: var(--gold);
  color: #fff;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  transition: background var(--transition);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.about-cta:hover { background: var(--gold-hover); }

.footer-brand { display: flex; flex-direction: column; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-right .theme-btn { display: none; }
}

/* ── Dark Mode Variables ──────────────────────────────────── */
/* Specificity (0,1,1) beats :root (0,1,0) so these always win */
html[data-theme="dark"] {
  --white: #121212;
  --off-white: #181818;
  --gray-50: #1f1f1f;
  --gray-100: #2a2a2a;
  --gray-200: #3d3d3d;
  --gray-400: #6b6b6b;
  --gray-600: #a8a8a8;
  --gray-800: #e0e0e0;
  --black: #f0f0f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
}

/* Keep footer dark in both modes */
html[data-theme="dark"] .site-footer { background: #0a0a0a; color: rgba(255,255,255,0.65); }
html[data-theme="dark"] .footer-col h4 { color: #ffffff; }
html[data-theme="dark"] .footer-col a { color: rgba(255,255,255,0.65); }
html[data-theme="dark"] .footer-bottom { color: rgba(255,255,255,0.65); }
html[data-theme="dark"] .site-footer .form-input { background: #111; border-color: rgba(255,255,255,0.1); color: #ffffff; }
html[data-theme="dark"] .site-footer .form-input::placeholder { color: rgba(255,255,255,0.25); }

/* Marquee bar always white text on red */
html[data-theme="dark"] .marquee-bar { color: #ffffff; }

/* Data spinner */
html[data-theme="dark"] #dataSpinner { background: rgba(18,18,18,0.95); }

/* Modals */
html[data-theme="dark"] .about-modal { background: #1a1a1a; }
html[data-theme="dark"] .about-card { background: #242424; border-color: #333; }
html[data-theme="dark"] .about-card-text h4 { color: #f0f0f0; }
html[data-theme="dark"] .about-card-text p { color: #a0a0a0; }
html[data-theme="dark"] .about-close { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); }
html[data-theme="dark"] .about-close:hover { background: rgba(255,255,255,0.15); }

/* ── ATC Modal (Add to Cart quick-select popup) ───────────── */
html[data-theme="dark"] .atc-modal { background: #1a1a1a; }
html[data-theme="dark"] .atc-modal-name { color: #f0f0f0; }
html[data-theme="dark"] .atc-qty-btn { background: #2a2a2a; border-color: #3d3d3d; color: #f0f0f0; }
html[data-theme="dark"] .atc-qty-btn:hover { border-color: #f0f0f0; }
html[data-theme="dark"] .atc-option { background: #2a2a2a; border-color: #3d3d3d; color: #a8a8a8; }
html[data-theme="dark"] .atc-option.active { background: var(--red-light); border-color: var(--red); color: var(--red); }
html[data-theme="dark"] .atc-close { background: #2a2a2a; color: #e0e0e0; }

/* ── Toast ────────────────────────────────────────────────── */
html[data-theme="dark"] .toast { background: #2a2a2a; color: #f0f0f0; }

/* ── Cart Drawer ──────────────────────────────────────────── */
html[data-theme="dark"] .cart-drawer { background: #1a1a1a; box-shadow: -8px 0 40px rgba(0,0,0,0.5); }
html[data-theme="dark"] .cart-drawer-hd { border-bottom-color: #2a2a2a; }
html[data-theme="dark"] .cart-drawer-x { background: #2a2a2a; color: #e0e0e0; }
html[data-theme="dark"] .cart-drawer-x:hover { background: #3d3d3d; }
html[data-theme="dark"] .cart-row { border-bottom-color: #2a2a2a; }
html[data-theme="dark"] .ciq-btn { background: #2a2a2a; border-color: #3d3d3d; color: #f0f0f0; }
html[data-theme="dark"] .ciq-btn:hover { border-color: #f0f0f0; }
html[data-theme="dark"] .cart-drawer-ft { border-top-color: #2a2a2a; }

/* ── Theme Toggle Button ──────────────────────────────────── */
.theme-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--gray-600);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.theme-btn:hover { background: var(--gray-50); color: var(--black); }
.theme-btn .icon-sun { display: none; }
.theme-btn .icon-moon { display: block; }
html[data-theme="dark"] .theme-btn .icon-sun { display: block; }
html[data-theme="dark"] .theme-btn .icon-moon { display: none; }

/* ── Announcement Bar ─────────────────────────────────────── */
.announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  height: 38px;
  background: var(--error, #C0392B);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.announcement-track {
  display: flex;
  width: max-content;
  animation: announceScroll 22s linear infinite;
}
[dir="rtl"] .announcement-track { animation-direction: reverse; }
.announcement-bar:hover .announcement-track { animation-play-state: paused; }
@keyframes announceScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.announcement-text {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding-inline-end: 72px;
}
.announcement-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  margin-inline-start: 6px;
}
.announcement-close {
  flex-shrink: 0;
  width: 34px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.announcement-close:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

@media (max-width: 600px) {
  .announcement-bar { height: 34px; }
  .announcement-text { font-size: 11.5px; padding-inline-end: 48px; }
}
