﻿*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--font-arabic);
  color: var(--color-text);
  background: var(--color-page);
  min-height: 100vh;
  line-height: 1.7;
}

/* Top store announcement (admin → إعدادات) */
.site-announcement {
  background: linear-gradient(90deg, #0d1b2a 0%, #1b3a4b 55%, #0d1b2a 100%);
  color: #fff8e1;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(212, 175, 55, 0.55);
}
.site-announcement-inner,
a.site-announcement-inner {
  display: block;
  padding: 0.6rem 1.1rem;
  color: #fff8e1 !important;
  max-width: 1100px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
a.site-announcement-inner:hover {
  color: #ffffff !important;
}
[data-theme="light"] .site-announcement {
  background: linear-gradient(90deg, #0d1b2a 0%, #243b53 100%);
  color: #fff8e1;
}
[data-theme="light"] .site-announcement-inner,
[data-theme="light"] a.site-announcement-inner,
[data-theme="dark"] .site-announcement-inner,
[data-theme="dark"] a.site-announcement-inner {
  color: #fff8e1 !important;
}

/* -------------------------------------------------------------------------
   Links vs buttons â€” NEVER let theme link colors paint over CTAs.
   Contrast pairs are locked to brand hex so light/dark both stay readable.
   ------------------------------------------------------------------------- */
a {
  text-decoration: none;
}

/* Text/content links only (exclude every button / chrome control) */
a:not(.btn):not(.btn-outline):not(.btn-navy):not(.btn-danger):not(.tool-chip):not(.nav-icon-btn):not(.footer-pref):not(.brand-mark):not(.product-card-media):not(.shop-card-media):not(.social-link):not(.site-announcement-inner) {
  color: var(--color-navy);
}

a:not(.btn):not(.btn-outline):not(.btn-navy):not(.btn-danger):not(.tool-chip):not(.nav-icon-btn):not(.footer-pref):not(.brand-mark):not(.product-card-media):not(.shop-card-media):not(.social-link):not(.site-announcement-inner):hover {
  color: var(--color-gold);
}

[data-theme="dark"] a:not(.btn):not(.btn-outline):not(.btn-navy):not(.btn-danger):not(.tool-chip):not(.nav-icon-btn):not(.footer-pref):not(.brand-mark):not(.product-card-media):not(.shop-card-media):not(.social-link):not(.site-announcement-inner) {
  color: var(--color-gold);
}

[data-theme="dark"] a:not(.btn):not(.btn-outline):not(.btn-navy):not(.btn-danger):not(.tool-chip):not(.nav-icon-btn):not(.footer-pref):not(.brand-mark):not(.product-card-media):not(.shop-card-media):not(.social-link):not(.site-announcement-inner):hover {
  color: #e0c15a;
}

img {
  max-width: 100%;
  display: block;
}

/* Header â€” dark by default; light theme flips chrome + logo */
.site-header {
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  color: var(--color-header-fg);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 3px 14px rgba(13, 27, 42, 0.06);
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

/*
  Logo is first in DOM. With dir=rtl, flex main-start is the right edge â†’
  logo is the rightmost header element; hamburger + nav sit to its left.
  With dir=ltr, logo is the leftmost element; hamburger + nav sit to its right.
*/
.hamburger {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-sm);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

[data-theme="light"] .hamburger {
  border-color: rgba(13, 27, 42, 0.2);
}

[data-theme="light"] .hamburger span {
  background: var(--color-navy);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  order: 0;
  position: relative;
}

.brand-logo {
  height: 84px;
  width: auto;
  max-width: none;
  object-fit: contain;
  image-rendering: auto;
}

/* Dark chrome (navy header) uses logo-dark; light chrome uses logo-light */
.brand-logo--on-light {
  display: none;
}

[data-theme="light"] .brand-logo--on-dark {
  display: none;
}

[data-theme="light"] .brand-logo--on-light {
  display: block;
}

@media (max-width: 600px) {
  .brand-logo {
    height: 60px;
  }

  .site-header .inner {
    padding: 0.3rem 0.85rem;
    gap: 0.55rem;
  }

  .hamburger {
    width: 36px;
    height: 36px;
  }

  .tool-chip {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 400px) {
  .brand-logo {
    height: 52px;
  }
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.1rem;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
  min-width: 0;
  margin-inline-end: auto;
}

/* Header chrome is always on navy â€” never inherit content-link navy/gold wars */
.site-header .nav-links a {
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.site-header .nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.15rem;
  height: 1px;
  background: #d4af37;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.site-header .nav-links a:hover {
  color: #d4af37 !important;
}

.site-header .nav-links a:hover::after {
  transform: scaleX(1);
}

[data-theme="light"] .site-header .nav-links a {
  color: #0d1b2a !important;
}

[data-theme="light"] .site-header .nav-links a:hover {
  color: #d4af37 !important;
}

.site-header .header-tools .nav-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff !important;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.18s ease;
}

.site-header .header-tools .nav-icon-btn:hover {
  color: #d4af37 !important;
}

[data-theme="light"] .site-header .header-tools .nav-icon-btn {
  color: #0d1b2a !important;
}

[data-theme="light"] .site-header .header-tools .nav-icon-btn:hover {
  color: #d4af37 !important;
}

.site-header .nav-icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.nav-cart-badge {
  position: absolute;
  top: -0.15rem;
  inset-inline-end: -0.2rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #d4af37;
  color: #0d1b2a;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.05rem;
  text-align: center;
  font-family: var(--font-latin);
}

.header-tools {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  align-items: center;
  flex: 0 0 auto;
  margin-inline-start: auto;
  z-index: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-search-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 0.85rem;
}

.site-search-panel[hidden] {
  display: none !important;
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .site-search-form {
  background: rgba(13, 27, 42, 0.03);
  border-color: rgba(13, 27, 42, 0.14);
}

.site-search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.35rem 0.25rem;
  outline: none;
}

.site-search-form input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .site-search-form input[type="search"]::placeholder {
  color: rgba(13, 27, 42, 0.45);
}

.site-search-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.site-search-close:hover {
  color: var(--color-gold);
  opacity: 1;
}

.search-page-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1.25rem;
  max-width: 640px;
}

.search-page-form input[type="search"] {
  flex: 1 1 220px;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  color: var(--color-text);
  font: inherit;
}

.search-meta {
  margin: 0 0 1rem;
}

.tool-chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #d4af37 !important;
  font-size: 0.72rem;
  font-family: var(--font-latin), system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  user-select: none;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.tool-chip:hover {
  background: #d4af37;
  color: #0d1b2a !important;
}

.tool-chip--theme {
  /* keep glyph color inherited from .tool-chip */
}

.theme-glyph {
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.theme-glyph svg {
  display: block;
  pointer-events: none;
}

/* Show icon for current preference (default auto) */
[data-theme-cycle] .theme-glyph--auto {
  display: inline-flex;
}

html[data-theme-pref="light"] [data-theme-cycle] .theme-glyph--auto,
html[data-theme-pref="dark"] [data-theme-cycle] .theme-glyph--auto {
  display: none;
}

html[data-theme-pref="light"] [data-theme-cycle] .theme-glyph--light {
  display: inline-flex;
}

html[data-theme-pref="dark"] [data-theme-cycle] .theme-glyph--dark {
  display: inline-flex;
}

[data-theme="light"] .tool-chip {
  border-color: rgba(13, 27, 42, 0.22);
  color: #0d1b2a !important;
}

[data-theme="light"] .tool-chip:hover {
  background: #0d1b2a;
  color: #ffffff !important;
  border-color: #0d1b2a;
}

[data-theme="light"] .site-header .btn-outline {
  border-color: #0d1b2a !important;
  color: #0d1b2a !important;
}

[data-theme="light"] .site-header .btn-outline:hover {
  background: #0d1b2a !important;
  color: #ffffff !important;
}

.btn-tiny {
  padding: 0.3rem 0.6rem !important;
  font-size: 0.85rem !important;
}

/* Category drawer */
.cat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.45);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cat-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cat-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--color-card);
  color: var(--color-text);
  z-index: 80;
  transform: translateX(110%);
  transition: transform 0.28s ease;
  border-inline-start: 3px solid var(--color-gold);
  box-shadow: var(--shadow-card-hover);
  padding: 1rem 1.1rem;
}

html[dir="rtl"] .cat-drawer {
  right: 0;
  left: auto;
  transform: translateX(110%);
  border-radius: var(--radius) 0 0 var(--radius);
}

html[dir="ltr"] .cat-drawer {
  left: 0;
  right: auto;
  transform: translateX(-110%);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.cat-drawer.is-open {
  transform: translateX(0) !important;
}

.cat-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--color-navy);
}

[data-theme="dark"] .cat-drawer-head {
  color: var(--color-gold);
}

.icon-btn {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-muted);
}

.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-list a {
  display: block;
  padding: 0.65rem 0.2rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.cat-list a:hover {
  color: var(--color-gold);
}

.cat-list--pages {
  margin-bottom: 1rem;
}

.cat-list--pages a {
  font-weight: 600;
}

.cat-drawer-sub {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: auto;
  max-width: 100%;
  margin: 0.85rem 0 1rem;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  border: none;
  background: transparent;
}

.auth-remember input[type="checkbox"] {
  width: 1.1rem !important;
  height: 1.1rem;
  min-width: 1.1rem;
  margin: 0;
  padding: 0;
  accent-color: #d4af37;
  flex-shrink: 0;
}

.auth-remember span {
  line-height: 1.2;
}

.otp-input {
  letter-spacing: 0.35em;
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
}

.auth-resend {
  margin: 0.85rem 0 0;
  text-align: center;
}

.auth-resend-btn {
  width: 100%;
}

.nav-welcome {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-gold);
  white-space: nowrap;
}

.nav-logout-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.cat-welcome {
  padding: 0.55rem 0.2rem 0.35rem;
  font-weight: 700;
  color: var(--color-gold);
  list-style: none;
}

.account-page-head {
  margin-bottom: 1.25rem;
}

.account-page-head h1 {
  margin: 0;
}

/* Hero slider â€” pattern used ONLY as slide background when no cover; no logo in hero */
.hero-slider {
  position: relative;
  min-height: min(82vh, 680px);
  overflow: hidden;
  background: var(--color-navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: ken 14s ease alternate infinite;
}

.hero-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 27, 42, 0.96) 0%,
    rgba(13, 27, 42, 0.78) 42%,
    rgba(13, 27, 42, 0.42) 100%
  );
  pointer-events: none;
}

.hero-slide-bg--pattern {
  background-image: url("/static/brand/urplanner-pattern-dark.png");
  animation: none;
  transform: none;
}

.hero-slide-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: none;
  margin: 0;
  min-height: inherit;
  padding: clamp(3.5rem, 10vh, 6rem) 1.25rem 4.75rem;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.hero-slide-inner .hero-glass,
.hero-slide-inner .hero-actions,
.hero-slide-inner a {
  pointer-events: auto;
}

.hero-tagline-script {
  font-family: "Caveat", "Segoe Script", "Comic Sans MS", cursive;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: #d4af37;
  margin: 0 0 0.75rem;
  max-width: none;
  width: 100%;
  letter-spacing: 0.02em;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
  animation: fadeUp 0.9s ease 0.15s both;
}

.hero-kicker {
  font-family: var(--font-latin);
  color: var(--color-gold);
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-dest {
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  margin: 0 0 0.65rem;
  max-width: min(36rem, 94%);
  line-height: 1.45;
  text-shadow: none;
  position: relative;
  z-index: 3;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  animation: fadeUp 0.9s ease 0.28s both;
}

.hero-price {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  animation: fadeUp 0.9s ease 0.36s both;
}

.hero-motto {
  max-width: 36ch;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: fadeUp 0.9s ease 0.45s both;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: var(--color-gold);
}

/* Smooth hero â†’ content transition */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--color-page) 100%);
}

.band {
  padding: 3.5rem 1.25rem;
}

.band-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.band-head {
  margin-bottom: 1.85rem;
  max-width: 38rem;
}

.band-head--light {
  max-width: 40rem;
}

.band-title {
  margin: 0 0 0.55rem;
  color: var(--color-navy);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
}

.band-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 2.75rem;
  height: 2px;
  background: var(--color-gold);
}

[data-theme="dark"] .band-title {
  color: var(--color-gold);
}

.band-lead {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.services-band {
  background: var(--color-page);
  padding-top: 2.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem 1.4rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212, 175, 55, 0.45);
}

.service-icon {
  color: var(--color-gold);
  margin-bottom: 0.85rem;
  display: block;
  line-height: 0;
}

.service-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--color-navy);
  line-height: 1.35;
}

[data-theme="dark"] .service-card h3 {
  color: var(--color-text);
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.catalog-band {
  background: var(--color-page);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.product-card-media {
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 280px;
  overflow: hidden;
  background: var(--color-navy);
  position: relative;
  border-radius: var(--radius-lg);
}

.product-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(13, 27, 42, 0.35));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-card-media::after {
  opacity: 1;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  border-top: 2px solid transparent;
  transition: border-color 0.25s ease;
}

.product-card:hover .product-card-body {
  border-top-color: var(--color-gold);
}

.product-card-body h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--color-navy);
  line-height: 1.4;
}

[data-theme="dark"] .product-card-body h3,
[data-theme="dark"] .product-card-body h3 a {
  color: var(--color-text);
}

.product-card-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.product-card--oos {
  opacity: 0.92;
}

.product-card--oos .product-card-media img {
  filter: saturate(0.72);
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stock-badge--oos {
  background: rgba(155, 44, 62, 0.12);
  color: var(--color-danger, #9b2c3e);
  border: 1px solid rgba(155, 44, 62, 0.35);
}

.stock-badge--on-media {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: 0.75rem;
  z-index: 2;
  background: rgba(13, 27, 42, 0.88);
  color: #fff;
  border-color: rgba(212, 175, 55, 0.55);
  backdrop-filter: blur(6px);
}

.oos-panel {
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem 1.15rem;
  border: 1px dashed rgba(155, 44, 62, 0.35);
  border-radius: var(--radius);
  background: rgba(155, 44, 62, 0.05);
  max-width: 560px;
}

.oos-panel h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--color-danger, #9b2c3e);
}

.price {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

[data-theme="dark"] .price {
  color: var(--color-gold);
}

.sar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95em;
  height: 0.95em;
  line-height: 1;
  vertical-align: -0.08em;
  color: currentColor;
  flex-shrink: 0;
}

.sar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.money {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.hero-price .sar,
.hero-price .money {
  color: inherit;
}

.reviews-band {
  background: var(--color-page);
}

/* Locked CTA contrast â€” identical in light and dark (no theme token bleed) */
.btn,
a.btn,
button.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: #d4af37 !important;
  color: #0d1b2a !important;
  padding: 0.72rem 1.45rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
a.btn:hover,
button.btn:hover {
  transform: translateY(-1px);
  background: #e0c15a !important;
  color: #0d1b2a !important;
}

.btn-outline,
a.btn-outline,
button.btn-outline {
  background: transparent !important;
  border: 1px solid #d4af37 !important;
  color: #d4af37 !important;
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover {
  background: #d4af37 !important;
  color: #0d1b2a !important;
}

.btn-navy,
a.btn-navy,
button.btn-navy {
  background: #0d1b2a !important;
  color: #ffffff !important;
  border: 1px solid #d4af37 !important;
}

.btn-navy:hover,
a.btn-navy:hover,
button.btn-navy:hover {
  background: #152536 !important;
  color: #ffffff !important;
}

.btn-danger,
a.btn-danger,
button.btn-danger {
  background: #9b2c3e !important;
  color: #ffffff !important;
}

/* Hero CTAs on navy â€” same locked pairs (gold fill / gold outline) */
.hero-actions .btn,
.hero-actions a.btn {
  background: #d4af37 !important;
  color: #0d1b2a !important;
}

.hero-actions .btn-outline,
.hero-actions a.btn-outline {
  background: transparent !important;
  border-color: #d4af37 !important;
  color: #d4af37 !important;
}

.hero-actions .btn-outline:hover,
.hero-actions a.btn-outline:hover {
  background: #d4af37 !important;
  color: #0d1b2a !important;
}

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 4rem;
}

.layout.single {
  grid-template-columns: 1fr;
}

.section {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.section h1,
.section h2 {
  color: var(--color-navy);
  margin-top: 0;
}

[data-theme="dark"] .section h1,
[data-theme="dark"] .section h2 {
  color: var(--color-gold);
}

.empty-state {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.empty-state .btn {
  margin-top: 0.75rem;
}

.flash {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-inline-start: 4px solid var(--color-gold);
  border-radius: var(--radius-sm);
  background: var(--color-card);
}

.flash.success { border-color: var(--color-success); }
.flash.danger { border-color: var(--color-danger); }
.flash.warning { border-color: var(--color-gold); }

.form-stack label {
  display: block;
  margin: 0.85rem 0 0.3rem;
  color: var(--color-navy);
  font-weight: 500;
}

[data-theme="dark"] .form-stack label {
  color: var(--color-text);
}

.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

.form-stack .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Custom calendar picker (native type=date reverses Arabic Chrome placeholders) */
.date-fields {
  align-items: start;
}

.form-stack .date-cal {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  font-weight: 400;
}

.date-cal-caption {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 500;
}

.up-datepicker {
  position: relative;
  width: 100%;
}

.up-datepicker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-latin, inherit);
  font-size: 1rem;
  direction: ltr;
  text-align: left;
}

.up-datepicker-trigger:hover,
.up-datepicker.is-open .up-datepicker-trigger {
  border-color: var(--color-gold);
}

.up-datepicker.is-invalid .up-datepicker-trigger {
  border-color: var(--color-danger, #b42318);
}

.up-datepicker-value {
  font-variant-numeric: lining-nums;
  letter-spacing: 0.02em;
}

.up-datepicker-value.is-placeholder {
  color: var(--color-muted);
}

.up-datepicker-icon {
  display: inline-flex;
  color: var(--color-navy);
  opacity: 0.75;
}

[data-theme="dark"] .up-datepicker-icon {
  color: var(--color-gold);
}

.up-datepicker-pop {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.35rem);
  inset-inline-start: 0;
  width: min(100%, 288px);
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: 0 12px 32px rgba(13, 27, 42, 0.14);
}

.up-datepicker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.up-datepicker-title {
  flex: 1;
  text-align: center;
  font-weight: 600;
  color: var(--color-navy);
  font-family: var(--font-arabic, inherit);
  unicode-bidi: isolate;
}

[data-theme="dark"] .up-datepicker-title {
  color: var(--color-text);
}

.up-datepicker-nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.up-datepicker-nav:hover {
  border-color: var(--color-gold);
  color: var(--color-navy);
}

.up-datepicker-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  color: var(--color-muted);
  text-align: center;
  font-family: var(--font-arabic, inherit);
}

.up-datepicker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  direction: ltr;
}

.up-datepicker-empty {
  min-height: 2rem;
}

.up-datepicker-day {
  min-height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-latin, inherit);
  font-variant-numeric: lining-nums;
  font-size: 0.92rem;
}

.up-datepicker-day:hover {
  background: rgba(212, 175, 55, 0.18);
}

.up-datepicker-day.is-today {
  box-shadow: inset 0 0 0 1px var(--color-gold);
}

.up-datepicker-day.is-selected {
  background: var(--color-navy);
  color: #fff;
}

[data-theme="dark"] .up-datepicker-day.is-selected {
  background: var(--color-gold);
  color: var(--color-navy);
}

@media (max-width: 600px) {
  .form-stack .row-2 {
    grid-template-columns: 1fr;
  }
}

.product-hero-media {
  position: relative;
  margin: 0 0 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--color-navy);
}

.product-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-badge {
  z-index: 2;
}

.reviews-grid,
.reviews-list {
  display: grid;
  gap: 1rem;
}

.reviews-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.review-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border-top: 2px solid var(--color-gold);
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.review-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.stars {
  color: var(--color-gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.badge-verified {
  display: inline-block;
  margin-inline-start: 0.4rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  background: rgba(212, 175, 55, 0.18);
  color: var(--color-navy);
  border: 1px solid var(--color-gold);
  border-radius: 999px;
}

[data-theme="dark"] .badge-verified {
  color: var(--color-gold);
}

/* Delivery-app style star rater — stars light up on hover/selection */
.star-rater {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
  direction: ltr;
  unicode-bidi: isolate;
}

.star-rater input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.star-rater-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.1rem 0.12rem;
  font-size: 2rem;
  line-height: 1;
  color: rgba(13, 27, 42, 0.22);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  user-select: none;
}

[data-theme="dark"] .star-rater-label {
  color: rgba(255, 255, 255, 0.22);
}

.star-rater-label:hover,
.star-rater-label:hover ~ .star-rater-label,
.star-rater input:checked ~ .star-rater-label {
  color: #d4af37;
}

.star-rater-label:hover {
  transform: scale(1.08);
}

.star-rater input:focus-visible + .star-rater-label {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.partners-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 1.25rem 1.15rem;
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

[data-theme="light"] .site-footer {
  background: var(--color-page);
  color: rgba(13, 27, 42, 0.78);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem 4rem;
  text-align: start;
}

.footer-grid > div {
  flex: 0 1 11rem;
  min-width: 9rem;
}

@media (max-width: 480px) {
  .footer-grid {
    gap: 1.75rem 2rem;
  }

  .footer-grid > div {
    flex: 1 1 100%;
    text-align: center;
  }
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.footer-signature {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

[data-theme="light"] .footer-signature {
  border-top-color: rgba(13, 27, 42, 0.12);
}

.footer-motto-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  max-width: 100%;
}

[data-theme="light"] .footer-motto-line {
  color: #0d1b2a;
}

@media (max-width: 560px) {
  .footer-motto-line {
    white-space: normal;
    text-wrap: balance;
  }
}

.footer-star {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  filter: drop-shadow(0 0 0.5px rgba(212, 175, 55, 0.4));
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .footer-copy {
  color: rgba(13, 27, 42, 0.8);
}

.footer-copy-brand {
  unicode-bidi: isolate;
  font-family: var(--font-latin);
  font-weight: 600;
}

.footer-copy-sep {
  opacity: 0.55;
}

.site-footer h3 {
  color: var(--color-gold);
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
}

[data-theme="light"] .site-footer h3 {
  color: #0d1b2a;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.site-footer a:hover {
  color: #d4af37 !important;
}

[data-theme="light"] .site-footer a {
  color: rgba(13, 27, 42, 0.88) !important;
}

[data-theme="light"] .site-footer a:hover {
  color: #d4af37 !important;
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
}

.social-link:hover {
  color: #d4af37 !important;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: #d4af37;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link:hover .social-icon {
  transform: translateY(-1px);
}

[data-theme="light"] .social-icon {
  border-color: rgba(13, 27, 42, 0.25);
  color: #0d1b2a;
}

[data-theme="light"] .social-link:hover .social-icon {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.55);
}

.social-icon svg {
  display: block;
}

.footer-trust {
  position: relative;
  max-width: 1200px;
  margin: 0.85rem auto 0;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 4.25rem;
}

[data-theme="light"] .footer-trust {
  border-top-color: rgba(13, 27, 42, 0.12);
}

/* Right cluster: freelance doc + Maroof badge */
.footer-compliance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  z-index: 2;
}

.footer-freelance {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  text-align: start;
}

[data-theme="light"] .footer-freelance {
  background: rgba(13, 27, 42, 0.03);
  border-color: rgba(13, 27, 42, 0.12);
}

.footer-freelance-label {
  font-size: 0.68rem;
  opacity: 0.85;
  line-height: 1.25;
}

.footer-freelance-id {
  font-family: var(--font-latin);
  font-variant-numeric: lining-nums;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  unicode-bidi: isolate;
  color: #d4af37;
}

[data-theme="light"] .footer-freelance-id {
  color: #0d1b2a;
}

/* Centered: payment methods, then Moyasar gateway mark slightly apart */
.footer-trust-main {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: max-content;
  max-width: calc(100% - 14rem);
  z-index: 1;
}

.footer-pay-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
}

.footer-pay-icons li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.25rem 0.4rem;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(13, 27, 42, 0.08);
}

.footer-pay-icons img {
  display: block;
  height: 18px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
}

.footer-moyasar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 0.25rem;
  padding: 0.2rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.footer-moyasar img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-maroof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  border: 0;
  text-decoration: none;
  line-height: 0;
}

.footer-maroof img {
  display: block;
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.footer-moyasar:hover,
.footer-maroof:hover {
  opacity: 0.9;
}

@media (max-width: 860px) {
  .footer-trust {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    min-height: 0;
  }

  .footer-compliance {
    order: 2;
    justify-content: center;
  }

  .footer-trust-main {
    position: static;
    left: auto;
    transform: none;
    order: 1;
    max-width: 100%;
    flex-wrap: wrap;
  }
}

.footer-licensing {
  max-width: 1200px;
  margin: 0 auto 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .footer-licensing {
  border-top-color: rgba(13, 27, 42, 0.12);
  color: rgba(13, 27, 42, 0.78);
}

/* Chat widget â€” matches site glass / pill system */
.chat-widget {
  position: fixed;
  bottom: 1.15rem;
  inset-inline-start: 1.15rem;
  z-index: 50;
  font-family: var(--font-arabic);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat-panel {
  display: none;
  width: min(360px, calc(100vw - 2rem));
  height: min(460px, calc(100vh - 7rem));
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(13, 27, 42, 0.22);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

[data-theme="dark"] .chat-panel {
  background: rgba(16, 27, 40, 0.96);
  border-color: rgba(212, 175, 55, 0.3);
}

.chat-toggle {
  position: relative;
  box-sizing: border-box;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #d4af37;
  background: #0d1b2a !important;
  color: #d4af37 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.chat-toggle:hover {
  transform: translateY(-2px);
  background: #152536 !important;
  box-shadow: 0 16px 34px rgba(13, 27, 42, 0.36);
}

.chat-toggle:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 3px;
}

.chat-toggle-icon {
  display: inline-flex;
  color: #d4af37;
  line-height: 0;
}

.chat-toggle-icon svg {
  display: block;
}

.chat-toggle-icon--close {
  display: none;
}

.chat-toggle.is-open .chat-toggle-icon--open {
  display: none;
}

.chat-toggle.is-open .chat-toggle-icon--close {
  display: inline-flex;
}

.chat-toggle-star {
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  width: 18px;
  height: 18px;
  object-fit: contain;
  background: #0d1b2a;
  border: 1.5px solid #d4af37;
  border-radius: 50%;
  padding: 2px;
  box-sizing: border-box;
  pointer-events: none;
}

.chat-panel.open {
  display: flex;
  animation: rise 0.25s ease both;
}

.chat-panel-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #0d1b2a;
  color: #ffffff;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.chat-panel-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  padding: 3px;
}

.chat-panel-titles {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.chat-panel-titles strong {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.chat-panel-titles span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 0.85rem;
  background: var(--color-page);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.chat-msg {
  margin: 0;
  padding: 0.65rem 0.8rem;
  max-width: 88%;
  font-size: 0.9rem;
  line-height: 1.55;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.06);
}

.chat-msg.visitor {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-inline-start: 2px solid #d4af37;
  margin-inline-end: auto;
  border-start-start-radius: 6px;
}

.chat-msg.admin {
  background: #0d1b2a;
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  margin-inline-start: auto;
  border-start-end-radius: 6px;
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 0.8rem 0.85rem;
  border-top: 1px solid var(--color-border);
  margin: 0;
  background: var(--color-card);
}

.chat-email-field input {
  font-size: 0.88rem !important;
  padding-block: 0.6rem !important;
}

.chat-compose {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
}

.chat-compose input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.65rem 0.95rem;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--color-page);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-compose input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.chat-send {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem !important;
  border-radius: var(--radius-pill) !important;
}

.chat-send svg {
  display: block;
  transform: scaleX(-1);
}

[dir="ltr"] .chat-send svg {
  transform: none;
}

@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.muted { color: var(--color-muted); }
.gold { color: var(--color-gold); }

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: start;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.delivery-panel .delivery-summary {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
}

.delivery-block {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface, var(--color-card));
}

.delivery-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
}

.delivery-codes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.delivery-codes code {
  font-family: var(--font-latin);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.7rem;
  display: inline-block;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-navy);
}

[data-theme="dark"] .delivery-codes code {
  color: var(--color-gold);
}

.delivery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.delivery-order-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--shadow-card);
}

.delivery-order-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.stock-badge--ok {
  background: rgba(47, 93, 69, 0.12);
  color: var(--color-success, #2f5d45);
  border: 1px solid rgba(47, 93, 69, 0.3);
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* â€”â€” Approved copy sections (content update) â€”â€” */
.header-cta {
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .header-cta {
    display: none;
  }
}

.hero-dest--brand {
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  font-weight: 700;
  color: #ffffff;
  max-width: min(42rem, 96%);
  line-height: 1.3;
}

.hero-motto--wide {
  max-width: min(42rem, 94%);
  line-height: 1.7;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
}

.hero-glass {
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: rgba(13, 27, 42, 0.52);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 18px 48px rgba(13, 27, 42, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-glass .hero-tagline-script {
  margin: 0 0 0.85rem;
}

.hero-glass .hero-dest--brand {
  margin: 0 0 0.75rem;
  max-width: 100%;
}

.hero-glass .hero-motto {
  margin: 0 auto 1.35rem;
  max-width: 38rem;
}

.hero-glass .hero-actions {
  width: 100%;
  justify-content: center;
}

@media (max-width: 420px) {
  .hero-tagline-script {
    font-size: 0.92rem;
    letter-spacing: 0.01em;
  }

  .hero-glass {
    padding: 1.25rem 0.9rem 1.4rem;
  }
}

.tool-chip {
  border-radius: var(--radius-pill);
}

/* Book-cover showcase carousel */
.glance-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 3.25rem;
}

.glance-stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 5 / 6;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px 14px 14px 4px;
  background: rgba(13, 27, 42, 0.06);
}

.glance-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.glance-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.glance-slide img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  border: 1px solid rgba(13, 27, 42, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    10px 14px 28px rgba(13, 27, 42, 0.22);
  user-select: none;
}

.glance-book {
  display: none;
}

.glance-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-card);
  color: var(--color-navy);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(13, 27, 42, 0.1);
}

[data-theme="dark"] .glance-nav {
  color: var(--color-gold);
}

.glance-nav:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.glance-nav--prev {
  inset-inline-start: 0;
}

.glance-nav--next {
  inset-inline-end: 0;
}

.glance-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.glance-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.22);
  cursor: pointer;
}

[data-theme="dark"] .glance-dot {
  background: rgba(255, 255, 255, 0.28);
}

.glance-dot.is-active {
  background: var(--color-gold);
  width: 1.15rem;
}

@media (max-width: 640px) {
  .glance-carousel {
    padding: 0 2.6rem;
  }

  .glance-nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.35rem;
  }
}

.service-card,
.section,
.activation-box,
.faq-item,
.check-list li,
.collection-list li,
.process-list li,
.timeline-list li {
  border-radius: var(--radius);
}

/* Compact trust strip (not a tall section) */
.trust-strip {
  padding: 1.15rem 1.25rem;
  background: rgba(13, 27, 42, 0.04);
  border-block: 1px solid var(--color-border);
}

[data-theme="dark"] .trust-strip {
  background: rgba(212, 175, 55, 0.06);
}

.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.75rem;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.45;
}

.trust-strip-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.trust-strip-inner > span > span {
  color: var(--color-gold);
  font-size: 1.15em;
  line-height: 1;
}

/* Storefront glass product cards */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.shop-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.shop-card-media {
  position: relative;
  display: block;
  min-height: 340px;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.shop-card-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 27, 42, 0.08) 0%, rgba(13, 27, 42, 0.55) 55%, rgba(13, 27, 42, 0.82) 100%),
    var(--shop-img) center / cover no-repeat;
  transition: transform 0.55s ease;
}

.shop-card:hover .shop-card-photo {
  transform: scale(1.05);
}

.shop-badge {
  position: absolute;
  z-index: 2;
  top: 0.9rem;
  inset-inline-end: 0.9rem;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(13, 27, 42, 0.55);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  box-shadow: 0 8px 20px rgba(13, 27, 42, 0.25);
}

.shop-badge .money,
.shop-badge .sar {
  color: inherit;
}

.shop-card-glass {
  position: absolute;
  z-index: 2;
  inset-inline: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: var(--radius);
  background: rgba(13, 27, 42, 0.52);
  border: 1px solid rgba(212, 175, 55, 0.28);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.28);
}

.shop-card-glass h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.shop-card-glass p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card-cta {
  align-self: flex-start;
  margin-top: 0.35rem;
  pointer-events: none;
}

.shop-card--oos {
  opacity: 0.92;
}

.shop-card--oos .shop-card-photo {
  filter: saturate(0.75);
}

.story-block {
  margin-top: 1.15rem;
}

.story-block .band-title {
  margin-bottom: 1.15rem;
}

.editorial-page h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.3;
}

.editorial-quote--cinema {
  margin-top: 0.25rem;
}

.catalog-band {
  padding-top: 2.25rem;
}

.glance-band {
  padding-bottom: 2rem;
  padding-top: 2.5rem;
}

.glance-band .band-head {
  margin-bottom: 1.35rem;
}

.glance-empty {
  min-height: 10rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  background: rgba(13, 27, 42, 0.03);
}

.btn-tiny {
  border-radius: var(--radius-pill) !important;
}

.check-list,
.collection-list,
.process-list,
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list {
  grid-template-columns: repeat(2, 1fr);
}

.check-list li,
.collection-list li,
.process-list li,
.timeline-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-inline-start: 2px solid var(--color-gold);
  line-height: 1.6;
  color: var(--color-text);
}

.check-list li span:first-child,
.collection-list li span:first-child,
.process-mark,
.timeline-num {
  color: var(--color-gold);
  flex-shrink: 0;
  font-weight: 700;
}

.list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.list-icon svg {
  display: block;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d1b2a;
  background: #d4af37;
  line-height: 1;
}

@media (max-width: 700px) {
  .check-list {
    grid-template-columns: 1fr;
  }
}
.catalog-cta-wrap {
  margin: 1.75rem 0 0;
  text-align: center;
}

.prefooter-band {
  background: rgba(13, 27, 42, 0.04);
}

[data-theme="dark"] .prefooter-band {
  background: rgba(212, 175, 55, 0.05);
}

.prefooter-inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.prefooter-inner .band-title {
  display: inline-block;
}

.prefooter-lead {
  margin: 0.85rem 0 1.35rem;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.footer-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.footer-social {
  margin: 0;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.footer-social li {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
}

.footer-legal-links span {
  opacity: 0.45;
}

.footer-prefs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
}

.footer-pref {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.85rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.72rem;
  font-family: var(--font-latin), system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-pref:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .footer-pref {
  border-color: rgba(13, 27, 42, 0.18);
  color: rgba(13, 27, 42, 0.62) !important;
}

[data-theme="light"] .footer-pref:hover {
  color: #0d1b2a !important;
  border-color: rgba(13, 27, 42, 0.35);
  background: rgba(13, 27, 42, 0.05);
}

.footer-charity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.7rem;
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  line-height: 1.55;
  max-width: 44rem;
  margin-inline: auto;
  text-align: start;
}

[data-theme="light"] .footer-charity {
  color: rgba(13, 27, 42, 0.78);
}

.footer-ehsan {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.footer-ehsan-logo {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.editorial-page h1 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.4;
}

.editorial-body {
  display: grid;
  gap: 1rem;
}

.editorial-body p {
  margin: 0;
  line-height: 1.8;
  color: var(--color-text);
}

.editorial-quote {
  margin: 0.5rem 0;
  padding: 1rem 1.15rem;
  border-inline-start: 3px solid var(--color-gold);
  background: rgba(212, 175, 55, 0.08);
}

.editorial-quote p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
}

.editorial-sign {
  margin: 1.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.activation-box {
  margin-top: 1.75rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-top: 2px solid var(--color-gold);
  background: var(--color-page);
}

.activation-box h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.activation-box > p {
  margin: 0 0 0.75rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.activation-note {
  margin: 0 0 0.85rem !important;
  font-size: 0.88rem;
  color: var(--color-text) !important;
  line-height: 1.55 !important;
}

.activation-cta {
  margin: 0 !important;
}

.activation-cta.companion-cta {
  margin-top: 2.25rem !important;
  padding-top: 0.25rem;
}

.timeline-list--page {
  margin: 1.25rem 0 1.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.faq-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-inline-start: 2px solid var(--color-gold);
  background: var(--color-page);
}

.faq-item h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--color-navy);
}

[data-theme="dark"] .faq-item h2 {
  color: var(--color-gold);
}

.faq-item p {
  margin: 0;
  line-height: 1.7;
  color: var(--color-muted);
}

/* Auth / login polish */
.auth-card {
  max-width: 460px;
  margin: 0.5rem auto 0;
  padding: 1.75rem 1.45rem 1.6rem;
}

.auth-head {
  margin-bottom: 1.35rem;
}

.auth-head h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 700;
}

.auth-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-form label {
  margin-top: 1.05rem;
}

.auth-form label:first-of-type {
  margin-top: 0;
}

.field-with-icon {
  position: relative;
  display: block;
}

.field-with-icon .field-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  color: var(--color-gold);
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  pointer-events: none;
}

.field-with-icon .field-icon svg {
  display: block;
}

.field-with-icon input {
  padding-inline-start: 2.55rem !important;
  padding-block: 0.78rem !important;
  border-radius: var(--radius) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-with-icon input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.auth-submit {
  width: 100%;
  margin-top: 1.65rem;
  padding: 0.85rem 1.25rem !important;
  text-align: center;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  margin: 1.35rem 0 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.companion-cta {
  margin-top: 2.25rem !important;
  padding-top: 0.35rem;
}

.auth-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem !important;
  font-weight: 400 !important;
  line-height: 1.55;
  color: var(--color-muted);
  cursor: pointer;
}

.auth-check input[type="checkbox"] {
  width: auto !important;
  margin-top: 0.2rem;
  accent-color: #d4af37;
  flex-shrink: 0;
}

.auth-check a {
  font-weight: 600;
}

.contact-card {
  max-width: 560px;
}

.field-with-icon--area .field-icon {
  top: 1rem;
  transform: none;
}

.field-with-icon--area textarea {
  width: 100%;
  min-height: 150px;
  padding: 0.85rem 0.9rem;
  padding-inline-start: 2.55rem !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius) !important;
  background: var(--color-card);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-with-icon--area textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.privacy-card {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-blocks {
  display: grid;
  gap: 1rem;
  margin-top: 0.35rem;
}

.privacy-block {
  padding: 1.2rem 1.15rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-top: 2px solid var(--color-gold);
  background: var(--color-page);
}

.privacy-block h2 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.1rem;
  color: var(--color-navy);
}

[data-theme="dark"] .privacy-block h2 {
  color: var(--color-gold);
}

.privacy-block p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.privacy-back {
  margin-top: 1.75rem !important;
}

.policy-page {
  max-width: 820px;
}

.policy-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.55rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.policy-toc span {
  opacity: 0.45;
}

.policy-section {
  margin-bottom: 2.25rem;
  padding-bottom: 0.5rem;
}

.policy-section > h2.band-title {
  margin-bottom: 1rem;
}

.policy-section > h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.08rem;
  color: var(--color-navy);
}

[data-theme="dark"] .policy-section > h3 {
  color: var(--color-gold);
}

.policy-section > p {
  margin: 0 0 0.85rem;
  line-height: 1.8;
  color: var(--color-text);
}

.policy-list {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.45rem;
  color: var(--color-text);
  line-height: 1.7;
}

.policy-list--ordered {
  list-style: decimal;
}

.privacy-block ul {
  margin: 0.35rem 0 0;
  padding-inline-start: 1.15rem;
  display: grid;
  gap: 0.35rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.privacy-block h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--color-navy);
}

[data-theme="dark"] .privacy-block h3 {
  color: var(--color-gold);
}

.policy-note {
  margin-top: 1rem !important;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border-inline-start: 3px solid var(--color-gold);
  background: rgba(212, 175, 55, 0.08);
  color: var(--color-muted) !important;
}


/* --- HTTPS security seal --- */
.https-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(47, 93, 69, 0.18);
  border: 1px solid rgba(74, 155, 110, 0.45);
  color: #c8e6d4;
  line-height: 1.15;
  flex-shrink: 0;
}

[data-theme="light"] .https-seal {
  background: rgba(47, 93, 69, 0.08);
  border-color: rgba(47, 93, 69, 0.35);
  color: #2f5d45;
}

.https-seal-icon {
  display: inline-flex;
  color: #4a9b6e;
}

[data-theme="light"] .https-seal-icon {
  color: #2f5d45;
}

.https-seal-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-size: 0.68rem;
}

.https-seal-copy strong {
  font-weight: 700;
  font-size: 0.72rem;
  color: inherit;
}

.https-seal-copy span {
  opacity: 0.85;
  font-family: var(--font-latin);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.https-seal--hero {
  margin-top: 2rem;
  padding: 0.65rem 0.9rem;
  gap: 0.65rem;
  animation: coming-soon-rise 0.9s ease 0.35s both;
}

.https-seal--hero .https-seal-copy {
  font-size: 0.78rem;
}

.https-seal--hero .https-seal-copy strong {
  font-size: 0.88rem;
}

.https-seal--hero .https-seal-copy span {
  font-size: 0.7rem;
}

/* --- Coming soon landing --- */
.coming-soon-body {
  margin: 0;
  min-height: 100vh;
  background: #0d1b2a;
  color: #f2f5f8;
  font-family: var(--font-arabic);
  overflow-x: hidden;
}

.coming-soon-atmosphere {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% 15%, rgba(212, 175, 55, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 85%, rgba(21, 37, 54, 0.95), transparent 60%),
    linear-gradient(165deg, #0a121c 0%, #0d1b2a 45%, #152536 100%);
  pointer-events: none;
  z-index: 0;
}

.coming-soon-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.35;
  animation: coming-soon-scan 12s linear infinite;
}

.coming-soon {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  gap: 0.35rem;
}

.coming-soon-logo {
  width: min(320px, 78vw);
  height: auto;
  margin-bottom: 0.35rem;
  animation: coming-soon-rise 0.75s ease both;
}

.coming-soon .coming-soon-slogan,
.coming-soon .hero-tagline-script {
  margin: 0.15rem 0 1.35rem;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  white-space: normal;
  animation: coming-soon-rise 0.8s ease 0.06s both;
}

.coming-soon-title {
  margin: 0;
  max-width: 22em;
  font-size: clamp(1.35rem, 3.6vw, 2.05rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  color: #ffffff;
  animation: coming-soon-rise 0.8s ease 0.12s both;
}

.coming-soon-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin: 0.95rem auto 0;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  animation: coming-soon-glow 2.4s ease-in-out infinite;
}

.coming-soon-lead {
  margin: 0.95rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  line-height: 1.85;
  color: rgba(242, 245, 248, 0.78);
  animation: coming-soon-rise 0.85s ease 0.18s both;
}

.coming-soon-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  list-style: none;
  margin: 1.85rem 0 0;
  padding: 0;
  animation: coming-soon-rise 0.9s ease 0.28s both;
}

.coming-soon-social .social-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-color: rgba(212, 175, 55, 0.45);
  color: #d4af37;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.coming-soon-social .social-link:hover .social-icon {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.coming-soon-cta {
  margin: 1.5rem 0 0;
  animation: coming-soon-rise 0.85s ease 0.24s both;
}

.coming-soon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: #d4af37;
  color: #0d1b2a !important;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.25);
}

.coming-soon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35);
}

@keyframes coming-soon-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes coming-soon-glow {
  0%, 100% { opacity: 0.55; width: 3.2rem; }
  50% { opacity: 1; width: 4.4rem; }
}

@keyframes coming-soon-scan {
  from { transform: translateY(0); }
  to { transform: translateY(4px); }
}

@media (max-width: 860px) {
  .footer-compliance {
    flex-wrap: wrap;
  }
}
