:root {
  --ink: #333333;
  --ink-light: #4a4a4a;
  --brand: #f4a261;
  --brand-dark: #e76f51;
  --sand: #f8f9fa;
  --sand-dark: #dee2e6;
  --danger: #e63946;
  --ivory: #fafafa;
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --card-shadow-hover: 0 20px 40px rgba(31, 38, 135, 0.15);

  --radius-card: 16px;
  --grid-unit: 8px;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

#bottom-nav {
  bottom: calc(1rem + env(safe-area-inset-bottom));
}
#gov-sheet {
  padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 640px) {
  #checkout-name,
  #checkout-phone {
    font-size: 16px;
  }
}

body {
  background-color: var(--ivory);
  background-image: url('split-bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Tajawal', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

.font-display {
  font-family: 'Cairo', sans-serif;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

#splash-screen {
  background:
    radial-gradient(ellipse at center, rgba(255, 178, 92, 0.55) 0%, transparent 62%),
    radial-gradient(circle at 50% 115%, rgba(255, 200, 130, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, #d9711c 0%, #a84f14 46%, #4a2409 82%, #241206 100%);
  transition: opacity 500ms ease;
}

.font-splash-en {
  font-family: 'Poppins', 'Cairo', sans-serif;
}
.font-splash-ar {
  font-family: 'Tajawal', 'Cairo', sans-serif;
}

#splash-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(15, 8, 3, 0.55) 100%);
  pointer-events: none;
}

#splash-goo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#splash-content {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "typewriter typewriter"
    "name icon";
  align-items: center;
  justify-content: center;
  column-gap: 6px;
  transition: transform 700ms cubic-bezier(0.6, 0, 0.85, 0.35), opacity 700ms ease-in 100ms;
}
#splash-typewriter-wrap { grid-area: typewriter; }
#splash-icon-wrap { grid-area: icon; }
#splash-text { grid-area: name; }

#splash-icon-wrap {
  animation: splash-icon-drop-settle 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes splash-icon-drop-settle {
  0%   { transform: translate(0, -180px) scale(0.7); opacity: 0; }
  60%  { transform: translate(0, 12px) scale(1.06); opacity: 1; }
  80%  { transform: translate(0, -4px) scale(0.99); }
  100% { transform: translate(0, 0) scale(1); }
}

.splash-push-left {
  animation: splash-icon-push-left 550ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes splash-icon-push-left {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-14px, 0) scale(1); }
}

#splash-text {
  text-align: right;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateX(46px);
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}
#splash-text.splash-name-in {
  width: auto;
  overflow: visible;
  animation: splash-name-slide-in 550ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes splash-name-slide-in {
  0%   { transform: translateX(46px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.splash-shine-sweep {
  --shine-base: #fff5e6;
  position: relative;
  color: transparent;
  background-image: linear-gradient(
    120deg,
    var(--shine-base) 0%,
    var(--shine-base) 42%,
    #ffffff 50%,
    var(--shine-base) 58%,
    var(--shine-base) 100%
  );
  background-size: 260% 100%;
  background-position: 150% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: splash-shine-sweep-move 1.1s ease-out 1 both;
}
@keyframes splash-shine-sweep-move {
  0% { background-position: 150% 0; }
  100% { background-position: -110% 0; }
}

.splash-breathing-glow {
  position: relative;
}
.splash-breathing-glow::before {
  content: '';
  position: absolute;
  inset: -30%;
  z-index: -1;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 205, 130, 0.55) 0%, rgba(255, 160, 60, 0.22) 45%, transparent 75%);
  filter: blur(14px);
  animation: splash-breathing-glow-pulse 3.4s ease-in-out infinite;
}
@keyframes splash-breathing-glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}

#splash-logo {
  animation: splash-pulse-glow-heavy 2.6s ease-in-out infinite;
}
@keyframes splash-pulse-glow-heavy {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 205, 130, 0.55)) drop-shadow(0 0 28px rgba(255, 160, 60, 0.35)); }
  50% { filter: drop-shadow(0 0 26px rgba(255, 210, 140, 1)) drop-shadow(0 0 60px rgba(255, 160, 60, 0.65)); }
}

#splash-typewriter-text,
#splash-text-en,
#splash-text-ar {
  animation: splash-text-glow-soft 2.6s ease-in-out infinite;
}
@keyframes splash-text-glow-soft {
  0%, 100% { text-shadow: 0 0 6px rgba(255, 210, 140, 0.45), 0 0 16px rgba(255, 160, 60, 0.25); }
  50% { text-shadow: 0 0 14px rgba(255, 215, 150, 0.85), 0 0 32px rgba(255, 160, 60, 0.5); }
}

#splash-typewriter-wrap {
  min-height: 1.15em;
  line-height: 1.15;
  margin-bottom: 2px;
}
#splash-typewriter-text {
  font-size: 1.2em;
  letter-spacing: 0.01em;
}
#splash-typewriter-cursor {
  display: none;
}

@keyframes splash-shake {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  20% { transform: translate3d(-2px, 1px, 0) rotate(-1.2deg); }
  40% { transform: translate3d(2px, -1px, 0) rotate(1.2deg); }
  60% { transform: translate3d(-1.5px, 1px, 0) rotate(-0.8deg); }
  80% { transform: translate3d(1.5px, -1px, 0) rotate(0.8deg); }
}
.splash-shake {
  animation: splash-shake 380ms ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  #splash-logo,
  #splash-text,
  #splash-icon-wrap,
  #splash-typewriter-text,
  #splash-typewriter-cursor,
  #splash-text-en,
  #splash-text-ar,
  .splash-shake,
  .splash-push-left,
  .splash-shine-sweep,
  .splash-breathing-glow::before,
  #splash-text.splash-name-in,
  #splash-content,
  #splash-screen {
    animation: none !important;
    transition: opacity 300ms ease !important;
  }
  #splash-icon-wrap,
  #splash-text {
    transform: none !important;
    opacity: 1 !important;
  }
  .splash-shine-sweep {
    color: inherit !important;
    background: none !important;
  }
}

.brand-logo {
  object-fit: contain;
}

.feather-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--sand-dark) 15%, var(--sand-dark) 85%, transparent);
  margin: 0 auto;
  width: 100%;
  max-width: 42rem;
}
.feather-divider::before {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  transform: translateX(50%) rotate(45deg);
  background: var(--brand);
  border-radius: 3px 0;
}

.ah-hero {
  --ah-ink: var(--ink, #241b13);
  --ah-ink-2: #35281a;
  --ah-brand: var(--brand, #f7941d);
  --ah-brand-dark: var(--brand-dark, #e08316);
  --ah-sand: var(--sand, #e9c48f);
  --ah-ivory: var(--ivory, #fbf8f1);

  padding: clamp(16px, 3vw, 32px) clamp(12px, 4vw, 24px);
  background: transparent;
}

.ah-hero__shell {
  direction: ltr;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.ah-hero__grid {
  display: grid;
  grid-template-columns: 34% 34% 32%;
  min-height: 460px;
  position: relative;
}

.ah-hero__content {
  direction: rtl;
  text-align: right;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 48px 44px 48px 96px;
  color: var(--ah-ivory);
  background:
    radial-gradient(120% 140% at 15% 15%, rgba(247, 148, 29, 0.16), transparent 55%),
    linear-gradient(155deg, var(--ah-ink) 0%, var(--ah-ink-2) 55%, #2c2015 100%);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  margin-inline-end: -70px;
}

.ah-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  color: var(--ah-ink);
  background: var(--ah-sand);
}

.ah-hero__title {
  font-family: "Cairo", sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.28;
  color: #fff;
  max-width: 15ch;
}

.ah-hero__title em {
  font-style: normal;
  color: var(--ah-brand);
}

.ah-hero__desc {
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(251, 248, 241, 0.72);
  max-width: 34ch;
}

.ah-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.ah-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--ah-ink);
  background: var(--ah-brand);
  padding: 13px 30px;
  border-radius: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ah-hero__cta:hover {
  background: var(--ah-brand-dark);
  transform: translateY(-1px);
}

.ah-hero__cta-secondary {
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: rgba(251, 248, 241, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 248, 241, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ah-hero__cta-secondary:hover {
  color: #fff;
  border-color: rgba(251, 248, 241, 0.7);
}

.hero-swiper {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: visible !important;
}

.hero-swiper .swiper-slide {
  will-change: transform, filter;
  transition: filter 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: brightness(0.5) blur(1px);
  transform: scale(0.85);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  -webkit-mask-image: -webkit-radial-gradient(circle, #fff 100%, #000 100%);
  -webkit-transform: translate3d(0, 0, 0) scale(0.85);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-swiper .swiper-slide-active {
  filter: brightness(1) blur(0);
  transform: scale(1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-swiper .swiper-pagination-bullet {
  background: var(--brand);
  opacity: 0.3;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}

.ah-hero__brand {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 32px 48px 96px;
  text-align: center;
  color: var(--ah-ink);
  background: linear-gradient(160deg, var(--ah-brand) 0%, var(--ah-brand-dark) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  margin-inline-start: -70px;
}

.ah-hero__brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  box-shadow: 0 12px 24px -10px rgba(36, 27, 19, 0.4);
}

.ah-hero__brand-en {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.3px;
  color: var(--ah-ink);
}

.ah-hero__brand-ar {
  direction: rtl;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  color: rgba(36, 27, 19, 0.75);
}

@media (max-width: 1024px) {
  .ah-hero__content {
    padding: 40px 36px 40px 76px;
  }
  .ah-hero__brand {
    padding: 40px 24px 40px 76px;
  }
}

@media (max-width: 768px) {
  .ah-hero {
    padding: 10px;
  }

  .ah-hero__grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .ah-hero__content {
    clip-path: none;
    margin-inline-end: 0;
    padding: 40px 24px 32px;
    text-align: center;
    align-items: center;
    order: 1;
  }

  .ah-hero__title,
  .ah-hero__desc {
    max-width: none;
  }

  .ah-hero__cta-row {
    justify-content: center;
  }

  .ah-hero__gallery {
    order: 2;
    height: auto;
    padding: 14px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    aspect-ratio: 4 / 3;
  }

  .ah-hero__photo {
    position: static;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 16px;
    border-width: 0;
  }

  .ah-hero__brand {
    clip-path: none;
    margin-inline-start: 0;
    padding: 26px 24px;
    flex-direction: row;
    justify-content: center;
    order: 3;
  }

  .ah-hero__brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .ah-hero__brand-en {
    font-size: 18px;
  }

  .ah-hero__brand-ar {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .ah-hero__title {
    font-size: 22px;
  }
  .ah-hero__desc {
    font-size: 13.5px;
  }
  .ah-hero__gallery {
    aspect-ratio: 5 / 4;
    gap: 8px;
    padding: 10px;
  }
}

@property --lg-angle {
  syntax: '<angle>';
  initial-value: 315deg;
  inherits: false;
}

:root {
  --lg-blur: 18px;
  --lg-saturate: 150%;
  --lg-bg: rgba(255, 255, 255, 0.16);
  --lg-bg-hover: rgba(255, 255, 255, 0.22);
  --lg-edge: 1.25px;
  --lg-glow-white: rgba(255, 255, 255, 0.55);
  --lg-glow-brand: rgba(244, 162, 97, 0.32);
  --lg-glow-soft: rgba(255, 235, 210, 0.28);
  --lg-shadow:
    0 8px 28px rgba(36, 27, 19, 0.10),
    0 1px 4px rgba(244, 162, 97, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  --lg-shadow-hover:
    0 14px 38px rgba(36, 27, 19, 0.13),
    0 2px 10px rgba(244, 162, 97, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

#product-grid > .product-card {
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

.liquid-glass,
.product-card {
  position: relative;
  isolation: isolate;
  background: var(--lg-bg) !important;
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--lg-shadow);
  overflow: visible;
}

.liquid-glass::before,
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: var(--lg-edge);
  background: conic-gradient(
    from var(--lg-angle),
    transparent 0deg,
    transparent 300deg,
    var(--lg-glow-soft) 330deg,
    var(--lg-glow-white) 345deg,
    var(--lg-glow-brand) 352deg,
    var(--lg-glow-white) 358deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.liquid-glass::after,
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.04) 38%,
      rgba(255, 255, 255, 0.01) 55%,
      rgba(255, 255, 255, 0.10) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.liquid-glass > *,
.product-card > * {
  position: relative;
  z-index: 1;
}

.liquid-glass--header {
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.ah-hero__shell.liquid-glass {
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    var(--lg-shadow),
    0 40px 70px -32px rgba(36, 27, 19, 0.28);
}

.ah-hero__shell.liquid-glass::before,
.ah-hero__shell.liquid-glass::after {
  z-index: 4;
  pointer-events: none;
}

.ah-hero__shell.liquid-glass .ah-hero__grid {
  position: relative;
  z-index: 1;
}

.product-card {
  transition:
    transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    background 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  border-radius: var(--radius-card);
  box-shadow: var(--lg-shadow), 0 0 0 1px rgba(109, 91, 208, 0.12), 0 0 26px 4px rgba(109, 91, 208, 0.20);
}

.product-card:hover {
  transform: scale(1.04) translateY(-4px);
  background: var(--lg-bg-hover) !important;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: var(--lg-shadow-hover), 0 0 0 1px rgba(109, 91, 208, 0.18), 0 0 34px 6px rgba(109, 91, 208, 0.28);
}

@keyframes liquid-glass-spin {
  to { --lg-angle: 360deg; }
}

/* حقول لوحة التحكم (admin.html): نفس روح liquid glass لكن بدون
   العناصر الزائفة ::before/::after، لأن المتصفحات لا تدعمها بشكل
   موثوق على عناصر input/select/textarea. النتيجة خلفية زجاجية شفافة
   مع ضبابية وحدود ناعمة وتوهج عند التركيز. */
.admin-field {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    0 4px 14px rgba(36, 27, 19, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-field::placeholder {
  color: rgba(51, 51, 51, 0.45);
}

.admin-field:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(244, 162, 97, 0.6);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    0 0 0 3px rgba(244, 162, 97, 0.18),
    0 6px 18px rgba(36, 27, 19, 0.1);
}

select.admin-field {
  cursor: pointer;
}

@keyframes pulse-soft {
  0% { box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(244, 162, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 162, 97, 0); }
}

.add-to-cart-btn {
  min-height: 44px;
  min-width: 44px;
  animation: pulse-soft 2s infinite;
}

#product-modal {
  transition: opacity 0.3s ease;
}
#product-modal-panel {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-header {
  position: relative;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  height: 190px;
  padding: 18px 20px 0;
}
.pdp-header-title {
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.95;
}
.pdp-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.pdp-image-card {
  width: calc(100% - 48px);
  max-height: 70vh;
  margin: -100px auto 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(36, 27, 19, 0.18);
  background: linear-gradient(160deg, var(--sand) 0%, #f0e4d3 100%);
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-image-card img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.pdp-body {
  padding: 24px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pdp-stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2f8a52;
}
.pdp-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f8a52;
}

.pdp-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}

.pdp-price-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pdp-price {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--ink);
}

.price-old {
  color: #dc143c;
  text-decoration: line-through;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
}

.price-new-glow {
  color: #15803d;
  text-shadow: 0 0 6px rgba(21, 128, 61, 0.6), 0 0 14px rgba(21, 128, 61, 0.35);
  animation: price-glow-pulse 2s ease-in-out infinite;
}

@keyframes price-glow-pulse {
  0%, 100% {
    text-shadow: 0 0 6px rgba(21, 128, 61, 0.6), 0 0 14px rgba(21, 128, 61, 0.35);
  }
  50% {
    text-shadow: 0 0 10px rgba(21, 128, 61, 0.9), 0 0 22px rgba(21, 128, 61, 0.55);
  }
}

.inquiry-btn-glow {
  color: #6d5bd0;
  border: none;
  background: radial-gradient(ellipse at center, rgba(124, 108, 240, 0.24) 0%, rgba(124, 108, 240, 0.12) 55%, rgba(124, 108, 240, 0) 100%);
}

.inquiry-btn-glow:hover {
  background: radial-gradient(ellipse at center, rgba(124, 108, 240, 0.34) 0%, rgba(124, 108, 240, 0.16) 55%, rgba(124, 108, 240, 0) 100%);
}

.pdp-section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 8px;
}
.pdp-desc {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(36, 27, 19, 0.7);
}

.pdp-qty-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(36, 27, 19, 0.06);
  border-radius: 12px;
  padding: 8px 14px;
  flex-shrink: 0;
}
.pdp-qty-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
}
.pdp-qty-value {
  min-width: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.pdp-add-btn {
  margin-top: 6px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 16px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(244, 162, 97, 0.35);
  border: none;
  cursor: pointer;
}

.chip {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.chip[data-active='true'] {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-color: var(--brand-dark);
  border-width: 1px;
  border-style: solid;
  box-shadow: 0 8px 20px -6px rgba(247, 148, 29, 0.5);
  transform: translateY(-2px);
}

.chip[data-active='false'] {
  background-color: transparent !important;
  color: var(--ink);
  opacity: 0.75;
  border-color: var(--sand-dark);
}

.chip[data-active='false']:hover {
  opacity: 1;
  background-color: rgba(247, 148, 29, 0.1);
  border-color: var(--brand);
}

#cart-drawer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#cart-overlay {
  transition: opacity 0.35s ease;
}

#menu-drawer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#menu-overlay {
  transition: opacity 0.35s ease;
}

#gov-sheet {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#gov-sheet-overlay {
  transition: opacity 0.3s ease;
}
.gov-option {
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.gov-option:active {
  transform: scale(0.96);
}

.bottom-nav-item {
  color: rgba(36, 27, 19, 0.55);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.bottom-nav-item:hover {
  color: var(--brand-dark);
  background-color: rgba(36, 27, 19, 0.05);
}
.bottom-nav-item[data-active='true'] {
  color: var(--brand-dark);
}
.bottom-nav-label {
  transition: color 0.2s ease;
}
.bottom-nav-item:active {
  transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .liquid-glass::before,
  .product-card::before {
    animation: none !important;
    --lg-angle: 45deg;
  }
  .product-card,
  #cart-drawer,
  #cart-overlay,
  #menu-drawer,
  #menu-overlay,
  #product-modal,
  #product-modal-panel,
  #gov-sheet,
  #gov-sheet-overlay,
  .gov-option,
  .bottom-nav-item,
  .chip {
    transition: none !important;
  }
}

.footer-social-icon-inactive {
  opacity: 0.4;
  cursor: default;
}

@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.bump {
  animation: bump 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .bump { animation: none; }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(36, 27, 19, 0.08);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(36, 27, 19, 0.16);
}

.video-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-btn svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 2;
}

.video-btn:hover,
.video-btn:focus-visible {
  transform: scale(1.12);
}

.video-btn:active {
  transform: scale(0.96);
}

.video-btn::after {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: 1;
  border-radius: 50%;
  opacity: 0.85;
  box-shadow: 0 0 10px 2px currentColor;
  pointer-events: none;
}

.video-btn--instagram {
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
}

.video-btn--instagram svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.video-btn--instagram::after {
  background: transparent;
  box-shadow: 0 0 10px 2px rgba(214, 36, 159, 0.55), 0 0 18px 4px rgba(189, 34, 154, 0.35);
}

.video-btn--instagram:hover::after {
  box-shadow: 0 0 14px 4px rgba(214, 36, 159, 0.8), 0 0 26px 8px rgba(253, 89, 73, 0.5);
}

.video-btn--tiktok {
  background: #000000;
  color: #00f2fe;
}

.video-btn--tiktok svg {
  filter: drop-shadow(-1px 0 0 #ff0050) drop-shadow(1px 0 0 #00f2fe);
}

.video-btn--tiktok::after {
  background: transparent;
  box-shadow:
    -3px 0 12px 2px rgba(255, 0, 80, 0.6),
    3px 0 12px 2px rgba(0, 242, 254, 0.6);
}

.video-btn--tiktok:hover::after {
  box-shadow:
    -4px 0 16px 3px rgba(255, 0, 80, 0.9),
    4px 0 16px 3px rgba(0, 242, 254, 0.9);
}

.video-btn--youtube {
  background: #FF0000;
  color: #fff;
}

.video-btn--youtube::after {
  background: transparent;
  box-shadow: 0 0 12px 3px rgba(255, 0, 0, 0.7);
}

.video-btn--youtube:hover::after {
  box-shadow: 0 0 22px 6px rgba(255, 0, 0, 1);
}

@media (prefers-reduced-motion: reduce) {
  .video-btn::after { animation: none; }
}

.pdp-video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 9999px;
  background: var(--ivory, #faf3e7);
  border: 1px solid rgba(36, 27, 19, 0.08);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pdp-video-link:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 27, 19, 0.1);
}

.pdp-video-link .video-btn {
  pointer-events: none;
}

.pdp-video-link-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #241b13);
}

/* بنر تنبيه/معلومات المنتج داخل صفحة المنتج (Liquid Glass بلمسة برتقالية) */
.pdp-alert-banner {
  --lg-bg: rgba(244, 162, 97, 0.14);
  --lg-bg-hover: rgba(244, 162, 97, 0.14);
  --lg-glow-brand: rgba(244, 162, 97, 0.55);
  border-radius: 16px;
  border-color: rgba(244, 162, 97, 0.35);
  overflow: hidden;
  animation: pdp-alert-banner-in 0.4s ease both;
}

.pdp-alert-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

@keyframes pdp-alert-banner-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
   لوحة التحكم (admin.html) — نظام التبويبات
   ============================================================================ */
.admin-tabs-bar {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    0 4px 14px rgba(36, 27, 19, 0.06);
}

.admin-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 15px;
  border: none;
  background: transparent;
  color: var(--ink);
  opacity: 0.62;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    transform 0.15s ease;
}

.admin-tab-btn:hover {
  opacity: 0.95;
  background-color: rgba(244, 162, 97, 0.1);
}

.admin-tab-btn:active {
  transform: scale(0.97);
}

.admin-tab-btn[data-active='true'] {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  opacity: 1;
  box-shadow: 0 8px 20px -6px rgba(247, 148, 29, 0.5);
}

.admin-tab-badge {
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  padding: 1px 7px;
  border-radius: 9999px;
  background: rgba(36, 27, 19, 0.08);
  color: inherit;
}

.admin-tab-btn[data-active='true'] .admin-tab-badge {
  background: rgba(255, 255, 255, 0.28);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel[data-active='true'] {
  display: block;
  animation: admin-tab-fade-in 0.35s ease both;
}

@keyframes admin-tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-tab-panel[data-active='true'] {
    animation: none;
  }
  .admin-tab-btn {
    transition: none;
  }
}
