@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

:root {
  --brand: #29B9E8;
  --brand-dark: #0F9CD8;
  --brand-deep: #0B7FB5;
  --navy: #0E2A3A;
  --ink: #22384a;
  --muted: #5b7286;
  --bg: #F4FAFD;
  --card: #ffffff;
  --line: #dceaf2;
  --green: #22b573;
  --red: #e94b4b;
  --gold: #f5a623;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(14, 42, 58, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  direction: rtl;
  text-align: right;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    max-width: 740px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1060px;
  }
}

/* ==========================================================================
   1. MARQUEE / TOP COUNTDOWN BAR
   ========================================================================== */
.nosee-mq {
  --ncd-bg1: #A3105A;
  --ncd-bg2: #E9318C;
  --ncd-fg: #FFFFFF;
  position: relative;
  overflow: hidden;
  direction: rtl;
  color: var(--ncd-fg);
  background: linear-gradient(100deg, var(--ncd-bg1) 0%, var(--ncd-bg2) 50%, var(--ncd-bg1) 100%);
  background-size: 220% 100%;
  animation: ncd-bg 12s ease-in-out infinite alternate;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .18);
  z-index: 60;
}

.nosee-mq::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .16) 50%, transparent 60%);
  background-size: 260% 100%;
  animation: ncd-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.ncd__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
  padding: 8px 16px;
  min-height: 56px;
  color: #fff;
  cursor: pointer;
}

.ncd__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ncd__title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(40, 0, 20, .3);
}

.ncd__offer {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 22px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 6px;
  background: rgba(40, 0, 20, .18);
}

.ncd__msg {
  display: block;
  height: 22px;
  line-height: 21px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s ease;
}

.ncd__timer {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}

.ncd__box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  border-radius: 8px;
  background: rgba(40, 0, 20, .28);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 6px rgba(40, 0, 20, .25);
  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ncd__colon {
  font-size: 16px;
  font-weight: 900;
  line-height: 30px;
  opacity: .85;
  animation: ncd-blink 2s ease-in-out infinite;
}

.ncd__lbl {
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  margin-top: 2px;
  opacity: .9;
}

.ncd__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  animation: ncd-nudge 3.2s ease-in-out infinite;
}

@keyframes ncd-bg { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes ncd-sheen { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
@keyframes ncd-blink { 0%, 100% { opacity: .85; } 50% { opacity: .35; } }
@keyframes ncd-nudge { 0%, 70%, 100% { transform: translate(0, 0); } 80% { transform: translate(-3px, -3px); } 90% { transform: translate(0, 0); } }

/* ==========================================================================
   2. SECONDARY TOPBAR
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 12px;
  letter-spacing: .2px;
}

/* ==========================================================================
   3. STICKY HEADER
   ========================================================================== */
header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header-logo-text .ar {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}

.header-logo-text .en {
  font-size: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 2.5px;
  line-height: 1;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jfda-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eaf7fd;
  border: 1px solid #c8e9f8;
  padding: 5px 10px;
  border-radius: 999px;
}

.jfda-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(34, 181, 115, 0.6);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.header-cta-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.header-cta-btn:hover {
  background: var(--brand-dark);
}

.header-cta-btn:active {
  transform: scale(.97);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: #fff;
  padding: 30px 0 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-section .contour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.trustline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 16px;
}

.hero-title {
  font-size: 32px;
  text-align: center;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.hero-sub {
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 600;
  max-width: 460px;
  margin: 0 auto 20px;
}

.pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 24px;
}

.pill-item {
  background: #eaf7fd;
  border: 1px solid #c8e9f8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.pill-item .ic {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  padding: 16px 20px;
  box-shadow: 0 10px 22px rgba(41, 185, 232, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 0 12px 26px rgba(41, 185, 232, 0.45);
}

.btn-primary:active {
  transform: scale(.98);
}

.under-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  flex-wrap: wrap;
}

.under-cta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-img {
  margin-top: 26px;
  position: relative;
}

.hero-img img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(14, 42, 58, 0.12);
}

@media (min-width: 1024px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .hero-copy .trustline {
    justify-content: flex-start;
  }
  .hero-title {
    font-size: 42px;
    text-align: right;
  }
  .hero-sub {
    text-align: right;
    margin-right: 0;
    max-width: none;
  }
  .pills-grid {
    margin-right: 0;
    max-width: none;
  }
  .btn-primary {
    max-width: 360px;
  }
  .under-cta {
    justify-content: flex-start;
  }
  .hero-img {
    margin-top: 0;
  }
}

/* ==========================================================================
   5. QUICK FEATURES GRID (4 ICONS)
   ========================================================================== */
.features-section {
  background: #fff;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.feat2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}

@media (min-width: 768px) {
  .feat2-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feat2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.feat2 .ic2 {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

/* ==========================================================================
   6. INTERACTIVE PRODUCT GALLERY & COLOR CHOOSER
   ========================================================================== */
.product-preview-section {
  padding: 40px 0;
  background: var(--bg);
}

.sec-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 900;
  color: var(--navy);
}

.sec-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

.preview-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 24px 20px;
  margin-bottom: 24px;
}

.preview-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 320px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fcfe;
  border-radius: 14px;
  overflow: hidden;
}

.preview-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: opacity .3s ease, transform .3s ease;
}

.color-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.color-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  transition: all .2s;
}

.color-btn .swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
}

.color-btn.active {
  border-color: var(--brand);
  background: #eaf7fd;
  color: var(--brand-deep);
  box-shadow: 0 4px 12px rgba(41, 185, 232, 0.25);
}

/* ==========================================================================
   7. SPORTS SECTION
   ========================================================================== */
.sport-section {
  position: relative;
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.sport-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .sport-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

.sport-img img {
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   8. COMPARISON TABLE
   ========================================================================== */
.vs-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 30px auto;
  max-width: 620px;
}

.vs-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  background: #eaf7fd;
  border-bottom: 1px solid var(--line);
}

.vs-head div {
  padding: 12px 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 900;
  color: var(--navy);
}

.vs-head .nosee-col {
  color: var(--brand);
  background: rgba(41, 185, 232, 0.1);
}

.vs-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.vs-row:last-child {
  border-bottom: none;
}

.vs-row div {
  padding: 11px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.vs-row .label {
  text-align: right;
  padding-right: 14px;
  color: var(--navy);
  font-weight: 800;
}

.vs-row .nosee-col {
  background: rgba(41, 185, 232, 0.05);
}

.yes {
  color: var(--green);
  font-size: 17px;
  font-weight: 900;
}

.no {
  color: var(--red);
  font-size: 17px;
  font-weight: 900;
}

/* ==========================================================================
   9. REVIEWS SECTION
   ========================================================================== */
.reviews-section {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.rating-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -10px 0 24px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(14, 42, 58, 0.06);
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card img.rev-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card .who {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.review-card .verified {
  color: var(--brand);
  font-size: 14px;
}

.review-card .when {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.review-card p {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

/* ==========================================================================
   10. ORDER / CHECKOUT SECTION (COD)
   ========================================================================== */
.order-section {
  background: linear-gradient(180deg, #fff 0%, #eaf7fd 100%);
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .order-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    align-items: start;
  }
}

.divider-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--navy);
  font-weight: 900;
  font-size: 19px;
  justify-content: center;
}

.divider-title::before,
.divider-title::after {
  content: "";
  height: 2px;
  background: var(--brand);
  flex: 1;
  max-width: 70px;
  border-radius: 2px;
}

/* Offers Selection Cards */
.offer-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  margin-bottom: 14px;
  transition: all .2s ease;
}

.offer-card.selected {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(41, 185, 232, 0.22);
  background: #fbfdff;
}

.offer-badge {
  position: absolute;
  top: -11px;
  right: 16px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 14px;
  white-space: nowrap;
}

.offer-badge.badge-popular {
  background: #A3105A;
}

.offer-badge.badge-discount {
  background: var(--gold);
}

.offer-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offer-radio {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #c3d8e4;
  position: relative;
  transition: border-color .2s;
}

.offer-card.selected .offer-radio {
  border-color: var(--brand);
}

.offer-card.selected .offer-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand);
}

.offer-info {
  flex: 1;
  min-width: 0;
}

.offer-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 2px;
}

.offer-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.offer-price {
  text-align: left;
  min-width: 80px;
}

.offer-price .now {
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-deep);
  line-height: 1.1;
}

.offer-price .was {
  font-size: 12.5px;
  color: #a9bcc9;
  text-decoration: line-through;
  font-weight: 700;
}

/* Color Selection in Form */
.color-select-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.color-select-label {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.color-options-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.color-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  transition: border-color .15s;
}

.color-choice.selected {
  border-color: var(--brand);
  background: #eaf7fd;
  box-shadow: 0 4px 12px rgba(41, 185, 232, 0.2);
}

.color-choice .sw {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
}

/* Order Bump */
.bump-card {
  border: 2px dashed var(--gold);
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: #fffdf6;
  transition: background .2s;
}

.bump-card:hover {
  background: #fff9e6;
}

.bump-card input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--brand);
  cursor: pointer;
  flex: none;
}

.bump-img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--line);
}

.bump-info {
  flex: 1;
  min-width: 0;
}

.bump-title {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--navy);
}

.bump-desc {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.bump-price {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--brand-deep);
  white-space: nowrap;
}

/* COD Form Card */
.form-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}

.form-head {
  background: linear-gradient(90deg, #eaf7fd, #fff);
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--navy);
  font-size: 16px;
}

.form-body {
  padding: 20px;
}

.field {
  position: relative;
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid #dceaf2;
  border-radius: 14px;
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  padding: 13px 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(41, 185, 232, 0.18);
}

.field .f-ic {
  position: absolute;
  left: 14px;
  top: 40px;
  color: var(--brand);
  font-size: 18px;
  pointer-events: none;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eaf7fd;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 18px 0;
  font-weight: 900;
  color: var(--navy);
  font-size: 15.5px;
}

.total-row .val {
  color: var(--brand-deep);
  font-size: 22px;
}

.total-row .ship-note {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 700;
}

.form-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ==========================================================================
   11. FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 40px 0;
  background: var(--bg);
}

.faq-container {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open {
  border-color: var(--brand);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  text-align: right;
}

.faq-q .arrow {
  transition: transform .25s ease;
  color: var(--brand);
  flex: none;
  font-size: 18px;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  padding: 0 20px;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 20px 18px;
}

/* ==========================================================================
   12. TRUST BADGES GRID & CONTACT CARD
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 18px 14px;
  text-align: center;
}

.trust-item .circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf7fd;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.trust-item h4 {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 800;
}

.trust-item p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.contact-card {
  background: var(--brand);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  color: #fff;
  margin: 30px 0;
  box-shadow: 0 8px 24px rgba(41, 185, 232, 0.25);
}

.contact-card h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14.5px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 18px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  padding: 12px 28px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform .15s;
}

.wa-btn:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
footer.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 30px 16px 90px;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--brand-dark);
  font-size: 13.5px;
  font-weight: 800;
}

.footer-links .sep {
  color: #c7d4df;
  font-weight: 900;
}

.copyright {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
}

/* ==========================================================================
   14. STICKY MOBILE CTA
   ========================================================================== */
.sticky-bottom-cta {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.sticky-bottom-cta .inner {
  max-width: 520px;
  margin: 0 auto;
}

.sticky-bottom-cta .btn-primary {
  padding: 13px;
  font-size: 16px;
}

/* ==========================================================================
   15. ORDER CONFIRMATION MODAL (POPUP)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 58, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 28px 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalPop .25s ease;
  text-align: center;
}

@keyframes modalPop {
  0% { transform: scale(.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f5f8;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  font-weight: 900;
}

.modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e8f9f0;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
}

.modal-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}

.order-receipt {
  background: #f4fafd;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  text-align: right;
  font-size: 13.5px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-weight: 700;
  color: var(--navy);
}

.receipt-row.total {
  border-top: 1px dashed var(--line);
  margin-top: 8px;
  padding-top: 10px;
  font-size: 16px;
  font-weight: 900;
}

.receipt-row.total span:last-child {
  color: var(--brand-deep);
}
/* ==========================================================================
   إضافات خاصة بالألوان ومعاينة كل لون للمنتج (زهري، أزرق، أسود، تشكيلة)
   ========================================================================== */

/* شبكة بطاقات الألوان في قسم المعاينة */
.color-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .color-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-color-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-color-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14, 42, 58, 0.12);
}

.product-color-card.active-color {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(41, 185, 232, 0.25);
}

.color-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(14, 42, 58, 0.85);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.color-card-badge.pink-badge {
  background: #e91e63;
}

.color-card-badge.blue-badge {
  background: #0F9CD8;
}

.color-card-badge.black-badge {
  background: #212121;
}

.color-card-img-wrap {
  width: 100%;
  height: 220px;
  background: #f8fcfe;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.color-card-img-wrap img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  transition: transform .3s ease;
}

.product-color-card:hover .color-card-img-wrap img {
  transform: scale(1.05);
}

.color-card-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.color-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.color-card-name {
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.color-dot-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}

.color-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.color-card-btn {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-choose-pink {
  background: #fce4ec;
  color: #c2185b;
}

.btn-choose-pink:hover {
  background: #e91e63;
  color: #fff;
}

.btn-choose-blue {
  background: #e1f5fe;
  color: #0288d1;
}

.btn-choose-blue:hover {
  background: #0288d1;
  color: #fff;
}

.btn-choose-black {
  background: #eceff1;
  color: #263238;
}

.btn-choose-black:hover {
  background: #212121;
  color: #fff;
}

/* صورة مصغرة داخل كرت كل عرض */
.offer-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #f4fafd;
  border: 1px solid var(--line);
  padding: 4px;
  object-fit: contain;
  flex: none;
  transition: transform .2s ease;
}

.offer-card:hover .offer-thumb {
  transform: scale(1.05);
}

/* صندوق المعاينة الحية للون المختار داخل الفورم */
.form-color-preview-box {
  background: linear-gradient(135deg, #f8fcfe 0%, #eaf7fd 100%);
  border: 1.5px solid var(--brand);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(41, 185, 232, 0.12);
}

.form-color-preview-img {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  object-fit: contain;
  flex: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-color-preview-info {
  flex: 1;
}

.form-color-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-deep);
  background: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.form-color-preview-name {
  font-size: 15.5px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 2px;
}

.form-color-preview-note {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

/* أزرار اختيار الألوان المرئية في الفورم مع الصور المصغرة */
.color-visual-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 480px) {
  .color-visual-options {
    grid-template-columns: repeat(4, 1fr);
  }
}

.color-visual-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: all .2s;
  position: relative;
}

.color-visual-card:hover {
  border-color: #bcd7e5;
  background: #fbfdff;
}

.color-visual-card.selected {
  border-color: var(--brand);
  background: #eaf7fd;
  box-shadow: 0 4px 14px rgba(41, 185, 232, 0.25);
}

.color-visual-card.selected::after {
  content: "✔";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 18px;
  height: 18px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-visual-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #f8fcfe;
  border-radius: 8px;
  padding: 2px;
}

.color-visual-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

/* تفصيل ألوان العبوات لعرض 3 عبوات وعرض عبوتين */
.custom-bundle-colors {
  background: #fff;
  border: 1px dashed var(--brand);
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0;
  display: none;
}

.custom-bundle-colors.show {
  display: block;
}

.custom-bundle-title {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pack-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.pack-color-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pack-color-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.pack-color-select {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  outline: none;
  background: #f8fcfe;
}
/* ==========================================================================
   تنسيقات صفحة جميع المنتجات (collections/all) والمتجر الكامل
   ========================================================================== */

.collection-hero {
  background: linear-gradient(180deg, #fff 0%, #f4fafd 100%);
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: var(--brand-dark);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .sep {
  color: #c7d4df;
}

.collection-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.collection-desc {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.6;
}

/* شريط التصفية والفرز */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  transition: all .2s;
}

.filter-pill:hover {
  border-color: var(--brand);
}

.filter-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(41, 185, 232, 0.3);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.sort-select {
  padding: 7px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  outline: none;
  cursor: pointer;
}

/* شبكة المنتجات في المتجر */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 20px;
  margin-bottom: 50px;
}

@media (min-width: 580px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* كرت المنتج */
.catalog-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(14, 42, 58, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.catalog-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 12px 30px rgba(14, 42, 58, 0.12);
}

.catalog-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.catalog-card-badge.badge-popular {
  background: #A3105A;
}

.catalog-card-badge.badge-discount {
  background: var(--gold);
}

.catalog-card-badge.badge-neutral {
  background: var(--green);
}

.catalog-img-wrap {
  width: 100%;
  height: 250px;
  background: #f8fcfe;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.catalog-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform .3s ease;
}

.catalog-card:hover .catalog-img-wrap img {
  transform: scale(1.06);
}

.catalog-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 6px;
}

.catalog-title {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}

.catalog-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

/* دوائر اختيار الألوان على كرت المنتج */
.catalog-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.catalog-swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--line);
  transition: transform .15s, box-shadow .15s;
}

.catalog-swatch-dot:hover {
  transform: scale(1.15);
}

.catalog-swatch-dot.active {
  box-shadow: 0 0 0 2px var(--brand);
  transform: scale(1.15);
}

.catalog-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.catalog-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.catalog-price .now {
  font-size: 21px;
  font-weight: 900;
  color: var(--brand-deep);
}

.catalog-price .was {
  font-size: 13px;
  color: #a9bcc9;
  text-decoration: line-through;
  font-weight: 700;
}

.catalog-shipping-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  background: #e8f9f0;
  padding: 3px 8px;
  border-radius: 999px;
}

.btn-catalog-order {
  width: 100%;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(41, 185, 232, 0.3);
  transition: all .2s;
}

.btn-catalog-order:hover {
  box-shadow: 0 8px 20px rgba(41, 185, 232, 0.45);
  transform: translateY(-2px);
}

.btn-catalog-order:active {
  transform: scale(0.98);
}

/* نافذة الدفع السريع المنبثقة لكل منتج (Quick Order Modal) */
.quick-order-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 58, 0.65);
  backdrop-filter: blur(5px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.quick-order-overlay.show {
  display: flex;
}

.quick-order-box {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  animation: modalPop .25s ease;
}

.quick-order-header {
  background: linear-gradient(90deg, #eaf7fd, #fff);
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quick-order-header h3 {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--navy);
}

.quick-order-close {
  background: #f0f5f8;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  color: var(--muted);
}

.quick-order-product-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fbfdff;
  border-bottom: 1px solid var(--line);
}

.quick-order-prod-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px;
  flex: none;
}

.quick-order-prod-info {
  flex: 1;
}

.quick-order-prod-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}

.quick-order-prod-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-deep);
}

.quick-order-form {
  padding: 20px;
}

/* ==========================================================================
   Header Cart Button & Slide-Over Cart Drawer
   ========================================================================== */
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4fafd;
  border: 1.5px solid var(--brand);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  user-select: none;
}

.header-cart-btn:hover {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(41, 185, 232, 0.35);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: var(--brand-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(236, 52, 138, 0.4);
}

/* Cart Drawer Overlay */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 58, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  background: #fff;
  width: 100%;
  max-width: 420px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.show .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFCFD;
}

.cart-items-total-pill {
  font-size: 11px;
  font-weight: 800;
  background: #E0F2FE;
  color: #0369A1;
  padding: 2px 8px;
  border-radius: 12px;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.cart-drawer-close:hover {
  color: var(--navy);
}

/* Free Shipping Meter */
.free-shipping-meter {
  background: #F0FDF4;
  border-bottom: 1px solid #DCFCE7;
  padding: 12px 20px;
}

.meter-text {
  font-size: 12px;
  font-weight: 800;
  color: #15803D;
  margin-bottom: 6px;
  text-align: center;
}

.meter-bar-track {
  height: 6px;
  background: #DCFCE7;
  border-radius: 10px;
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #059669);
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* Items List */
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-card {
  display: flex;
  gap: 12px;
  background: #FAFCFD;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  align-items: center;
  position: relative;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 2px;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.cart-item-color {
  font-size: 11.5px;
  color: var(--brand-deep);
  font-weight: 700;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.cart-qty-ctrls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.cart-qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cart-qty-btn:hover {
  background: #f1f5f9;
}

.cart-qty-num {
  font-size: 12.5px;
  font-weight: 800;
  width: 24px;
  text-align: center;
  color: var(--navy);
}

.cart-item-price {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--brand-deep);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: #EF4444;
}

/* Empty State */
.cart-empty-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.cart-empty-icon {
  font-size: 48px;
  opacity: 0.6;
}

/* Footer */
.cart-drawer-footer {
  border-top: 1px solid var(--line);
  padding: 16px 20px 20px;
  background: #FAFCFD;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.cart-summary-row.total-row {
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  margin-top: 4px;
}

.cart-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-checkout-cod {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(41, 185, 232, 0.3);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-checkout-cod:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(41, 185, 232, 0.4);
}

.btn-checkout-online {
  width: 100%;
  height: 44px;
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-checkout-online:hover {
  background: var(--navy);
  color: #fff;
}
