@font-face {
  font-family: 'Janna LT';
  src: url('fonts/JannaLT-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Janna LT';
  src: url('fonts/JannaLT-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

:root {
  --primary: #EA272C;

  --primary-hover: #d42126;
  --bg-dark: #000000;
  --bg-card: #141414;
  --text-main: #ffffff;
  --text-muted: #888888;
  --border-color: #2a2a2a;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font-tajawal: 'Janna LT', sans-serif;
  --font-cairo: 'Janna LT', sans-serif;
  --spacing: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent double-tap zoom on buttons and interactive elements */
button, a, input, select, .tint-chip, .order-chip, .product-btn, .product-card, .tab-btn, .bs-method-tab {
  touch-action: manipulation;
}

html {
  background-color: #000;
  overflow-x: clip;
}

body {
  font-family: var(--font-tajawal);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-cairo);
  font-weight: 700;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}


/* ========== TOP BAR (Brand Red) ========== */
.top-bar {
  background-color: var(--primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 14px;
}

.top-bar__content {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.top-bar__percent {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.top-bar__text {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar__copy {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 30px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
}

.top-bar__copy:hover { background: #f0f0f0; }
.top-bar__copy:active { transform: scale(0.96); }
.top-bar__copy-icon { opacity: 0.4; flex-shrink: 0; }
.top-bar__copy.is-copied { background: #fff; }
.top-bar__copy.is-copied .top-bar__copy-icon { display: none; }

@media (max-width: 374px) {
  .top-bar { padding: 6px 10px; }
  .top-bar__percent { font-size: 22px; }
  .top-bar__text { font-size: 10px; }
  .top-bar__copy { padding: 4px 10px; font-size: 11px; }
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 600;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 56px;
  min-height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  overflow: visible;
  box-sizing: border-box;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  height: 100%;
  min-width: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 100%;
  min-width: 0;
}

.header-right > a,
.header-left > a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.header-logo {
  height: 30px;
  width: auto;
  max-height: 30px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  align-self: center;
}

.btn-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .7);
  background: transparent;
  transition: all .25s;
}
.btn-menu:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn-menu svg { width: 22px; height: 22px; fill: currentColor; }

.btn-outline {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px 18px;
  height: 34px;
  min-height: 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .25s, transform .15s;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.btn-outline:hover { background: #2a2a2a; }
.btn-outline:active { transform: scale(.97); }

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 28px;
  height: 28px;
}

.cart-svg {
  width: 20px;
  height: auto;
}
.cart-svg-icon { width: 18px; height: 18px; }

/* ========== SIDE DRAWER (Brimax Style) ========== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 950;
  transition: right .35s cubic-bezier(.25, .8, .25, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0, 0, 0, .12);
  overflow-y: auto;
}
.drawer.open { right: 0; }

.drawer-header {
  display: flex;
  justify-content: flex-start;
  padding: 16px 16px 8px;
}

.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.drawer-close:hover { background: #eee; color: #333; }
.drawer-close svg { width: 18px; height: 18px; fill: currentColor; }

.drawer-label {
  padding: 4px 20px 10px;
  font-size: .68rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  margin: 0 10px;
  border-radius: 12px;
  color: #444;
  text-decoration: none;
  transition: all .2s;
  font-size: .82rem;
  font-weight: 600;
}
.drawer-item:hover { background: #f7f7f7; color: #222; }
.drawer-item.active { background: rgba(229, 57, 53, .06); color: #E53935; }

.drawer-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f5f5f5;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer-item.active .drawer-item-icon { background: rgba(229, 57, 53, .08); border-color: rgba(229, 57, 53, .15); }
.drawer-item-icon svg { width: 20px; height: 20px; }

.drawer-item-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.drawer-item-name { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.drawer-item-desc { font-size: .6rem; font-weight: 400; color: #aaa; }
.drawer-item.active .drawer-item-desc { color: rgba(229, 57, 53, .6); }

.drawer-divider { height: 1px; background: #f0f0f0; margin: 10px 20px; }

.drawer-footer {
  margin-top: auto;
  padding: 20px;
  text-align: center;
}
.drawer-footer-txt { font-size: .65rem; color: #bbb; font-weight: 300; }

.cart-icon .badge {
  position: absolute;
  top: -5px;
  right: -6px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  height: 16px;
  width: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  line-height: 1;
}


.hero-section {
  position: relative;
  margin: 8px 10.5px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-container {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.media-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  z-index: 10;
  box-shadow: inset 0 0 0 5px #000, inset 0 0 0 6px rgba(255,255,255,.08);
}

#hero-img,
.main-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

#hero-transition,
.transition-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
}


.sticky-filters {
  position: sticky;
  top: 56px;
  z-index: 400;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.categories-section {
  position: sticky;
  top: 56px;
  z-index: 400;
  padding: 12px 16px;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 6px 14px rgba(0,0,0,.45);
}

.tabs-container {
  display: flex;
  gap: 3px;
  direction: rtl;
  position: relative;
  justify-content: center;
  padding: 0;
}

.nav-indicator {
  display: none;
}

.tab-btn {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  font-family: var(--font-tajawal);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.tab-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: bold;
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}


.products-section {
  padding: 20px 12px;
}

.section-title {
  font-size: 20px;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.section-title.no-line::after {
  display: none;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 40%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.products-grid-3 {
  display: flex !important;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
  

  margin-left: -20px;

}

.products-grid-3::-webkit-scrollbar {
  display: none;
}

.products-grid-3 .product-card {
  flex: 0 0 185px;
  scroll-snap-align: start;
}

.products-grid-3 .product-image {
  height: 140px;
  transform: none;
}
.products-grid-3 .product-info-content {
  padding: 10px;
}
.products-grid-3 .product-name {
  font-size: 12px;
}
.products-grid-3 .product-btn {
  padding: 8px;
  font-size: 11px;
}

@media (min-width: 768px) {
  .products-grid-3 {
    display: grid !important;
    overflow-x: visible;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .products-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid .product-card,
  .products-grid-3 .product-card {
    flex: auto;
  }
}


.latest-products-section {
  background: transparent;
  padding: 16px 12px 24px;
}

.latest-scroll-track {
  display: flex;
  gap: 10px;
  padding: 0 16px 6px;
  scrollbar-width: none;
}

.latest-scroll-track::-webkit-scrollbar {
  display: none;
}

.latest-card {
  flex: 1 1 0;
  min-width: 0;
  background: #1D1D1D;
  border-radius: 14px;
  border: 1px solid #1D1D1D;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.latest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.latest-card-img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background: url('assets/pat.png') center/cover, #1D1D1D;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-card-img img {
  width: 101%;
  height: 101%;
  object-fit: cover;
  object-position: center;
}

.latest-card-info {
  padding: 10px 12px 14px;
  text-align: right;
}

.latest-card-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.latest-card-info p {
  font-size: 11px;
  color: #888;
}




.product-card {
  background: #1a1a1a;
  border-radius: 14px;
  position: relative;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.sales-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  right: auto;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  color: #ddd;
  z-index: 2;
}

.product-image {
  height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
}

.product-info-content {
  padding: 10px 10px 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: right;
}

.product-info {
  padding: 10px 10px 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-family: var(--font-tajawal);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-desc {
  font-family: var(--font-tajawal);
  font-size: 10px;
  color: rgba(255,255,255,.5);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 3px;
  justify-content: flex-start;
}

.current-price {
  font-weight: 800;
  font-size: 18px;
  color: white;
  line-height: 1;
  letter-spacing: 0;
}

.old-price {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  position: relative;
  display: inline-block;
  text-decoration: none;
  line-height: 1;
}


.old-price::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -2px;
  right: -2px;
  height: 2px;
  background-color: var(--primary);
  transform: translateY(-50%);
  z-index: 1;
}

.currency-svg {
  height: 10px;
  margin-right: 0px;
  margin-left: 2px;
  margin-top: -2px;
  vertical-align: middle;
}

.current-price .currency-svg {
  height: 12px;
}

.installment-info {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  font-weight: 300;
  line-height: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
}

.install-logos {
  display: flex;
  align-items: center;
  gap: 3px;
}

.install-logos img {
  height: 16px;
  vertical-align: middle;
  border-radius: 3px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  margin-top: auto;
  transition: 0.3s;
  border: none;
}

.product-btn {
  border-radius: 0 0 14px 14px;
  padding: 9px;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-hover);
}


.horizontal-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 15px;
  scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.category-card {
  min-width: 140px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.category-card .cat-image {
  height: 80px;
  background: #2a2a2a;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.category-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.category-card p {
  font-size: 11px;
  color: var(--text-muted);
}


.map-section {
  position: relative;
  background-color: #000;
  margin-top: 20px;
}

.map-content {
  padding: 40px 25px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  z-index: 2;
  position: relative;
}

.location-icon {
  width: 40px;
  height: auto;
  margin-bottom: 15px;
}

.map-title {
  font-size: 22px;
  margin-bottom: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
}

.view-locations {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.view-locations i {
  font-size: 14px;
  transition: transform 0.3s;
}

.view-locations:hover i {
  transform: translateX(-5px);
}

.map-image-container {
  width: 100%;
}

.map-image-container img {
  width: 100%;
  height: auto;
  display: block;
}


.testimonials-section {
  padding: 30px 20px;
  background-color: #000;
  
  border-top: 1px solid var(--border-color);
  
}

.testimo-header {
  margin-bottom: 25px;
}

.video-review-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  border: none;
}

.video-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.play-icon {
  font-size: 50px;
  color: white;
  z-index: 3;
}

.reviewer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px 20px;
  background: transparent;
  z-index: 20;
  text-align: right;
  pointer-events: none;
}

.reviewer-info h4 {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: bold;
}

.reviewer-info .stars {
  color: var(--primary);
  display: flex;
  gap: 3px;
  justify-content: flex-end;
  
  font-size: 14px;
  margin-bottom: 6px;
}


.reviewer-info .stars {
  display: block;
}

.reviewer-info p {
  font-size: 13px;
  color: #fff;
  line-height: 1.6;
}

.text-reviews-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.text-reviews-scroll::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 240px;
  background: #181818;
  border-radius: 12px;
  padding: 20px;
  text-align: right;
  border: none;
}

.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #252525;
  color: var(--primary);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.quote-icon {
  font-size: 45px;
  color: #2a2a2a;
  line-height: 1;
}

.review-card h5 {
  margin-bottom: 5px;
  font-size: 14px;
}

.review-card .stars {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 12px;
  color: #ccc;
  line-height: 1.6;
}


/* ========== FOOTER (Brimax Style) ========== */
.site-footer {
  background: #0D0D0F;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
}
.footer-back:hover { background: rgba(255, 255, 255, .1); }
.footer-back svg { width: 14px; height: 14px; fill: currentColor; }

.footer-socials { display: flex; gap: 12px; align-items: center; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  transition: opacity .25s;
}
.footer-socials a:hover { opacity: .7; }
.footer-socials .social-icon {
  width: 28px;
  height: 22px;
  object-fit: contain;
}

.footer-brand {
  padding: 24px 16px 20px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.footer-brand-logo { height: 24px; margin-bottom: 10px; }
.footer-brand-desc { font-size: .75rem; color: #fff; font-weight: 400; line-height: 1.6; margin-bottom: 2px; }
.footer-brand-slogan { font-size: .7rem; color: rgba(255,255,255,.5); font-weight: 300; line-height: 1.6; }

.footer-links {
  padding: 24px 16px 20px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.footer-links-title { font-size: .78rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; letter-spacing: .3px; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-links-list a { font-size: .72rem; color: rgba(255,255,255,.7); font-weight: 400; text-decoration: none; transition: color .2s; }
.footer-links-list a:hover { color: #fff; }

.footer-support {
  padding: 24px 16px 20px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.footer-support-title { font-size: .78rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; letter-spacing: .3px; }
.footer-support-desc { font-size: .7rem; color: rgba(255,255,255,.5); font-weight: 300; line-height: 1.8; margin-bottom: 14px; }
.footer-support-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-support-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 9999px;
  font-size: .72rem; font-weight: 500; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04); color: #fff;
  transition: all .25s;
}
.footer-support-btn:hover { background: rgba(255, 255, 255, .08); }
.footer-support-btn svg { width: 15px; height: 15px; fill: currentColor; }

.footer-badges {
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.footer-badge-row { display: flex; align-items: center; gap: 10px; }
.footer-badge-icon { width: 32px; height: 32px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.footer-badge-icon img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.footer-badge-text { text-align: right; display: flex; flex-direction: column; gap: 1px; }
.footer-badge-label { font-size: .65rem; color: rgba(255,255,255,.5); font-weight: 300; }
.footer-badge-value { font-size: .68rem; color: #fff; font-weight: 600; direction: ltr; text-align: right; }

.footer-copy { padding: 12px 16px; text-align: center; }
.footer-copy p { font-size: .62rem; color: rgba(255,255,255,.3); font-weight: 300; }

/* Legacy footer classes - keep for backward compat */
.footer { display: none; }

.back-to-top:hover {
  background: #f0f0f0;
}

.back-to-top i {
  transition: transform 0.3s ease;
}

.back-to-top:hover i {
  transform: translateY(-4px);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 28px;
  height: 22px;
  object-fit: contain;
}

.footer-content {
  padding: 24px 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 12px;
}

.footer-logo p {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.footer-links h4,
.footer-support h4 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-main);
  font-size: 13px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-support p {
  font-size: 12px;
  margin-bottom: 12px;
}

.support-btns {
  display: flex;
  gap: 8px;
}

.btn-dark {
  background: #2a2a2a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-dark:hover {
  background: #333;
}

.footer-badges {
  display: flex;

  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.tax-info,
.maroof {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom {
  padding: 16px 12px;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border-color);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pay-box {
  width: 44px;
  height: 26px;
  background-color: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-img {
  width: 40px;
  height: 20px;
  object-fit: contain;
}


.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 380px;
  max-width: 90%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  -ms-overflow-style: none;

  scrollbar-width: none;

  color: #000;
  padding: 14px 18px 18px;
}

.sidebar-menu::-webkit-scrollbar {
  display: none;
}

.sidebar-menu.open {
  right: 0;
}

.sidebar-close {
  position: absolute;
  top: 25px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #D9D9D8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  cursor: pointer;
}

.sidebar-close i {
  font-size: 18px;
  color: #333;
}

/* Top bar with X and action buttons */
.sidebar-top-bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 8px;
  direction: ltr;
}

.sidebar-top-right {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
}

/* Hide notifications bell until login is implemented */
.sidebar-top-right .sidebar-top-btn[aria-label="الإشعارات"] {
  display: none !important;
}

.sidebar-top-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: all .2s;
}
.sidebar-top-btn:hover { background: #fff; transform: scale(1.05); }
.sidebar-top-btn i { font-size: 14px; color: #111; }

.sidebar-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}
.sidebar-close i { font-size: 15px; color: #111; }

.sidebar-user-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  padding: 14px 18px;
  margin: 14px 0 16px;
}

.sidebar-section-title {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 0 0 6px;
  text-align: right;
}

.sidebar-business-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 16px 20px;
  padding: 14px 18px;
  background: #f5f5f5;
  border-radius: 12px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}
.sidebar-business-btn:hover { background: #eee; }
.sidebar-business-btn i { font-size: 11px; color: #999; }

.sidebar-scrollable-content {
  position: relative;
  z-index: 2;
}

.sidebar-user {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 0;
}

.user-info {
  text-align: right;
}

.user-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
  color: #111;
}

.user-info p {
  font-size: 12px;
  color: #666;
}

.user-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
}

.sidebar-shipping {
  text-align: center;
  padding-top: 4px;
}

.shipping-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 6px;
  height: 16px;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.shipping-line {
  flex: 1;
  height: 2px;
  background: var(--primary);
  position: relative;
  border-radius: 2px;
}

.truck-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  position: absolute;
  left: -5px;
  z-index: 2;
}

.shipping-progress::before {
  content: '';
  position: absolute;
  right: -3px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.sidebar-shipping p {
  font-size: 11px;
  color: #333;
  font-weight: 500;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.sidebar-links a {
  padding: 9px 0 !important;
}

.sidebar-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f2f2f2;
  color: #111;
  transition: 0.2s;
  text-decoration: none;
  direction: rtl;
}

.sidebar-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: #111;
  transition: color .2s ease;
}
.sidebar-link-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.sidebar-links a:hover .sidebar-link-icon {
  color: var(--primary, #ef233c);
}

.sidebar-link-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  text-align: right;
  min-width: 0;
}

.sidebar-link-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.sidebar-link-desc {
  display: block;
  font-size: 10px;
  font-weight: 300;
  color: #999;
  line-height: 1.3;
  margin-top: 3px;
}

.sidebar-links a:hover {
  padding-right: 10px;
}
.sidebar-links a:hover .sidebar-link-name {
  color: var(--primary);
}

.sidebar-links a i {
  font-size: 11px;
  color: #ccc;
  flex-shrink: 0;
  margin-right: 8px;
}

.sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 2;
  padding: 4px 0 16px;
  margin-top: 20px;
  direction: rtl;
}

.grid-item {
  background: #f5f5f5;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  color: #111;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 104px;
  -webkit-tap-highlight-color: transparent;
  direction: rtl;
}

.grid-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  align-self: flex-start; /* start of cross-axis in RTL = visual RIGHT */
}

.grid-item span {
  display: block;
  width: 100%;
  text-align: right;
  word-wrap: break-word;
  margin-top: auto;
  align-self: stretch;
}

/* Thin horizontal contact pills (WhatsApp / Unified number) */
.grid-item.grid-item-thin {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  padding: 12px 16px;
  gap: 10px;
  border-radius: 14px;
}
.grid-item.grid-item-thin img {
  width: 22px;
  height: 22px;
  align-self: center;
}
.grid-item.grid-item-thin span {
  font-size: 13px;
  margin-top: 0;
  flex: 1;
  text-align: right;
  width: auto;
}

.grid-item:hover,
.grid-item:active {
  background: #f0f0f0;
  border-color: #ddd;
  transform: translateY(-1px);
}

.grid-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.grid-item span {
  display: block;
  word-wrap: break-word;
}

.sidebar-section-title--secondary {
  padding: 2px 0 4px;
  margin-top: 4px;
}

/* Legacy — keep for backward compat, but not used */
.sidebar-business-btn { display: none; }
.grid-item-vertical,
.grid-item-horizontal {
  background: #f8f8f8;
  border-radius: 12px;
  color: #111;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #eaeaea;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}


/* Small phones (iPhone SE, etc) */
@media (max-width: 375px) {
  .top-bar {
    padding: 6px 10px;
  }
  .promo-percent {
    font-size: 24px;
  }
  .promo-percent span.pct {
    font-size: 14px;
  }
  .promo-text p {
    font-size: 10px;
  }
  .copy-btn {
    padding: 5px 10px;
    font-size: 11px;
    gap: 4px;
  }
  .copy-btn img {
    width: 14px !important;
    height: 14px !important;
  }
  .navbar {
    padding: 8px 10px;
  }
  .logo img {
    height: 24px;
  }
  .btn-outline {
    padding: 7px 15px;
    height: 32px;
    min-height: 32px;
    font-size: 12px;
  }
  .tab-btn {
    font-size: 11px;
    padding: 5px 10px;
  }
  .product-name {
    font-size: 12px;
  }
}


.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.faq-item {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.faq-question i.indicator {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i.indicator {
  transform: rotate(180deg);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

.faq-answer p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.faq-answer ul {
  list-style: none;
  padding-right: 15px;
  margin-bottom: 10px;
}

.faq-answer ul li {
  position: relative;
  padding-right: 15px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #ccc;
}

.faq-answer ul li:last-child {
  margin-bottom: 0px;
}

.faq-answer ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}


/* Removed - base styles now handle mobile sizing */




.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

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


.cart-drawer {
  position: fixed;
  bottom: -100%;
  
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  
  height: 95vh;
  
  background: #ffffff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  color: #111 !important;
  font-family: var(--font-cairo), sans-serif;
}

.cart-drawer.open {
  bottom: 0;
}


.cart-drawer .cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: #fff;
  flex-direction: row-reverse;
  
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.cart-drawer .cart-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.cart-drawer .cart-count {
  font-weight: normal;
  color: #555;
}

.cart-drawer .cart-close-btn {
  background: #f5f5f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #333;
  transition: 0.3s;
}

.cart-drawer .cart-close-btn:hover {
  background: #e0e0e0;
}


.cart-drawer .cart-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 20px 0;
  background: #fbfbfb;
}

.cart-drawer .cart-body::-webkit-scrollbar {
  width: 5px;
}

.cart-drawer .cart-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}


.cart-drawer .cart-items {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-drawer .cart-item-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
}

.cart-drawer .cart-item-img {
  width: 80px;
  height: 80px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-drawer .cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer .cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-drawer .item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
}

.cart-drawer .item-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #222;
  line-height: 1.3;
  max-width: 65%;
}

.cart-drawer .item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-drawer .current-price {
  font-size: 15px;
  font-weight: 800;
  color: #111;
}

.cart-drawer .current-price .currency {
  font-size: 11px;
}

.cart-drawer .old-price {
  font-size: 12px;
  color: #d32f2f;
  text-decoration: line-through;
  font-weight: 600;
}

.cart-drawer .item-options {
  list-style: none;
  padding: 0;
  margin: 5px 0 10px 0;
}

.cart-drawer .item-options li {
  font-size: 10px;
  color: #666;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
}

.cart-drawer .item-options li::before {
  content: '-';
  margin-left: 4px;
  color: #999;
}

.cart-drawer .item-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.cart-drawer .edit-btn {
  background: #f2f2f2;
  color: #333;
  border: none;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.cart-drawer .edit-btn:hover {
  background: #e0e0e0;
}

.cart-drawer .qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 20px;
  overflow: hidden;
  height: 28px;
}

.cart-drawer .qty-btn {
  background: transparent;
  border: none;
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #444;
  font-size: 12px;
}

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

.cart-drawer .qty-number {
  font-size: 13px;
  font-weight: 700;
  width: 25px;
  text-align: center;
}


.cart-drawer .upsell-section {
  padding: 20px 0;
  border-top: 1px solid #eee;
  background: #fff;
  margin-top: 5px;
}

.cart-drawer .upsell-title {
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  margin: 0 15px 15px 15px;
  color: #222;
}

.cart-drawer .upsell-scroll {
  display: flex;
  gap: 12px;
  padding: 0 15px;
  overflow-x: auto;
}

.cart-drawer .upsell-scroll::-webkit-scrollbar {
  display: none;
}

.cart-drawer .upsell-card {
  min-width: 140px;
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-drawer .upsell-img-wrapper {
  position: relative;
  height: 90px;
  background: #eee;
}

.cart-drawer .upsell-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer .upsell-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.cart-drawer .upsell-info {
  padding: 10px;
  text-align: right;
}

.cart-drawer .upsell-name {
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-drawer .upsell-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cart-drawer .upsell-current {
  font-size: 12px;
  font-weight: 800;
  color: #111;
}

.cart-drawer .upsell-old {
  font-size: 10px;
  color: #d32f2f;
  text-decoration: line-through;
}

.cart-drawer .upsell-add-btn {
  width: 100%;
  background: #e53935;
  color: #fff;
  border: none;
  padding: 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}


.cart-drawer .shipping-progress-container {
  padding: 20px 15px;
  background: #fff;
  text-align: center;
  margin-top: auto;
}

.cart-drawer .shipping-bar-bg {
  height: 4px;
  background: #eee;
  border-radius: 4px;
  position: relative;
  margin-bottom: 12px;
  margin-top: 20px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.cart-drawer .shipping-bar-fill {
  height: 100%;
  background: #e53935;
  border-radius: 4px;
  position: absolute;
  top: 0;
  right: 0;
  
  transition: width 0.5s ease;
}

.cart-drawer .shipping-icon-circle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  
  width: 24px;
  height: 24px;
  background: #e53935;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  box-shadow: 0 0 0 3px #fff;
}

.cart-drawer .shipping-msg {
  font-size: 12px;
  color: #444;
  margin: 0;
}


.cart-drawer .cart-footer {
  padding: 20px;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.03);
  position: relative;
}

.cart-drawer .cart-totals {
  margin-bottom: 15px;
}

.cart-drawer .total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer .main-total h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.cart-drawer .total-label-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
}

.cart-drawer .toggle-details-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: #888;
  font-size: 12px;
  margin-top: 4px;
  text-decoration: underline;
}


.cart-drawer .total-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}

.cart-drawer .detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.cart-drawer .detail-row:last-child {
  margin-bottom: 0;
}

.cart-drawer .checkout-btn {
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  display: block;
  text-align: center;
  transition: 0.3s;
}

.cart-drawer .checkout-btn:hover {
  background: #222;
}


.cart-drawer .ios-indicator {
  width: 40%;
  height: 5px;
  background: #000;
  border-radius: 5px;
  margin: 15px auto 0 auto;
}


.cart-drawer.light-style { background: #FFFFFF !important; }
.light-style .cart-header { display: flex !important; flex-direction: row !important; background: #FFFFFF !important; padding: 25px 20px 20px 20px !important; border-bottom: none !important; justify-content: space-between !important;}
.light-style .cart-title { color: #1C2A3A !important; font-size: 18px; font-weight: 800; }
.light-style .cart-close-btn { background: #F3F4F6 !important; border-radius: 50% !important; color: #1C2A3A; }
.light-style .cart-body { background: #F3F4F6 !important; padding: 20px 0 0 0 !important; }


.cart-items-wrapper { padding: 0 20px 10px 20px; }
.light-item {
  background: #F9FAFB !important; 
  border: none !important;
  border-radius: 16px !important;
  padding: 15px !important;
  display: flex !important;
  flex-direction: row !important; 
  align-items: stretch; 
  gap: 15px;
  margin-bottom: 12px;
}
.light-item .cart-item-right {
    display: flex;
    align-items: center;
}
.light-item-img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; }
.light-item .cart-item-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  align-items: flex-start; 
  padding: 2px 0;
}
.light-item .item-title { color: #1C2A3A !important; font-size: 16px; font-weight: 800; margin-bottom: 5px; }
.light-item .item-options {
  list-style: none; padding: 0; margin: 0; color: #9CA3AF; font-size: 13px; font-weight: 600;
}
.opt-item { display: flex; align-items: center; margin-bottom: 4px; }
.edit-btn-wrapper { margin-top: 8px; }
.edit-pill-btn {
  background: #E5E7EB;
  color: #000;
  border-radius: 50px;
  padding: 4px 18px;
  font-weight: 800;
  font-size: 13px;
  border: none;
  cursor: pointer;
}
.light-item .cart-item-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end; 
  justify-content: space-between; 
  padding: 2px 0;
}
.light-item .item-price { display: flex; flex-direction: column; align-items: flex-end; }
.light-item .current-price {
    display: flex; flex-direction: row-reverse; align-items: center; gap: 4px;
    font-size: 20px; font-weight: 900; color: #000;
}
.light-item .old-price {
    display: flex; flex-direction: row-reverse; align-items: center; gap: 4px;
    font-size: 14px; font-weight: 500; color: #000;
    text-decoration: line-through; text-decoration-color: #ef233c; text-decoration-thickness: 1.5px;
    margin-top: -2px;
}
.light-item .riyal-icon-current { width: 16px; filter: brightness(0); }
.light-item .riyal-icon-old { width: 12px; filter: brightness(0); }


.light-qty-pill {
  background: transparent;
  border: 1.5px solid #000;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px;
}
.light-qty-pill .qty-btn { background: transparent !important; color: #000 !important; border: none; font-weight: 900; font-size: 15px; padding: 0; cursor: pointer; display: flex; align-items: center;}
.light-qty-pill .delete-btn i { font-size: 14px; }
.light-qty-pill .qty-number { font-weight: 900; font-size: 16px; min-width: 14px; text-align: center; color: #000; }


.upsell-scroll { padding-bottom: 20px; display: flex; gap: 15px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;}
.upsell-scroll::-webkit-scrollbar { display: none; }
.upsell-section .upsell-title { color: #1C2A3A; font-weight: 800; font-size: 16px; margin-bottom: 15px; }

.light-upsell {
  background: #F3F4F6 !important;
  border-radius: 16px !important;
  padding: 0 !important; 
  display: flex !important;
  flex-direction: column !important;
  border: none;
  width: 150px;
  min-width: 150px;
  overflow: hidden; 
}

.light-upsell .upsell-img-wrapper {
    position: relative;
    width: 100%;
}
.light-upsell .upsell-badge {
    position: absolute;
    top: 5px !important; 
    left: 5px !important; 
    right: auto !important;
    background: #AFAFAF !important;
    color: #fff !important;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
}
.light-upsell .upsell-img-wrapper img { 
    width: 100%; 
    height: 100px; 
    border-top-left-radius: 16px; 
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    object-fit: cover; 
    cursor: pointer;
}

.light-upsell .upsell-info {
    padding: 8px 10px 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch; 
    justify-content: flex-start;
    flex: 1;
}

.light-upsell .upsell-name { 
    font-size: 13px; font-weight: 900; color: #000; text-align: right; margin-bottom: 2px; line-height: 1.3;
}

.light-upsell .upsell-price-row { 
    display: flex; justify-content: flex-start; gap: 8px; align-items: center; width: 100%; flex-direction: row;
}
.light-upsell .upsell-current { font-weight: 900; font-size: 18px; color: #000; display:flex; align-items:center; gap:2px;}
.light-upsell .upsell-current .riyal-icon-current { width: 14px; filter: brightness(0); }

.light-upsell .upsell-old { font-weight: 500; font-size: 14px; color: #000; text-decoration: line-through; text-decoration-color: #ef233c; text-decoration-thickness:1.5px; display:flex; align-items:center; gap:2px;}
.light-upsell .upsell-old .riyal-icon-old { width: 10px; filter: brightness(0); }

.light-upsell .red-btn { 
    background: #EF233C !important; 
    color: #fff !important; 
    border-radius: 0 0 16px 16px !important; 
    padding: 10px !important; 
    font-weight: 800; 
    font-size: 14px; 
    width: 100%; 
    border: none;
    cursor: pointer;
}


.shipping-progress-container { margin-bottom: 10px; }
.light-shipping { padding: 0 5px !important; background: transparent !important; }

.shipping-bar-wrap { 
    height: 4px; 
    border-radius: 4px; 
    background: #E5E7EB; 
    position: relative; 
    margin-bottom: 18px; 
    display: flex; 
    align-items: center; 
    width: 100%; 
}
.shipping-bar-fill { 
    background: #EF233C; 
    height: 100%; 
    border-radius: 4px; 
    position: absolute; 
    right: 0; 
    top: 0;
    transition: width 0.3s ease-in-out; 
    min-width: 0%;
}
.shipping-icon-circle {
  position: absolute;
  left: 0; 
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  background: #EF233C; color: #fff;
  border-radius: 50%; display: flex; justify-content: center; align-items: center;
  font-size: 10px;
  box-shadow: 0 0 0 4px #FFFFFF;
}
.shipping-msg { text-align: center; font-size: 13px; font-weight: 800; color: #000; margin: 0; }


.light-footer { background: #FFFFFF !important; padding: 20px !important; border-top: none !important; }
.sleek-coupon { display: flex; gap: 10px; flex-direction: row; align-items: stretch; background: #fff; padding: 8px; border-radius: 16px; border: 1px solid #E5E7EB; }
.sleek-coupon input { flex: 1; border: none; background: transparent; padding: 0 12px; outline: none; font-size: 14px; font-weight: 600; font-family: inherit; color: #000; }
.sleek-coupon button { border: none; background: #fff; border: 1px solid #E5E7EB; color: #000; border-radius: 12px; padding: 0 20px; font-weight: 800; cursor: pointer; font-size: 14px; font-family: inherit; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }

.main-total { flex-direction: row; margin-top: 15px !important; padding-top: 0 !important; border-top: none !important;}
.main-total .total-label-col h4 { font-size: 16px; font-weight: 800; color: #1C2A3A; margin:0;}
.main-total .toggle-details-btn { font-size: 11px; margin-top: 5px; color: #6B7280; text-decoration: underline; background: transparent; border: none; padding: 0;}
.main-total .total-price { display: flex; flex-direction: column; align-items: flex-end; }
.main-total .current-price { font-size: 18px !important; font-weight: 900 !important; color: #1C2A3A !important;}
.main-total .old-price { color: #000 !important; text-decoration: line-through; text-decoration-color: #ef233c !important; text-decoration-thickness: 1.5px !important; }
.solid-black { background: #000000 !important; border-radius: 12px !important; padding: 16px !important; font-size: 16px !important; margin-top: 15px; }


.cart-toast {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  max-width: 90%;
  background: #e53935;
  color: #fff;
  padding: 8px 24px 8px 8px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
  transition: bottom 0.5s ease-in-out;
  flex-direction: row-reverse;
  cursor: pointer;
}

.cart-toast.show { bottom: 70px; }
@media (max-width: 768px) { .cart-toast.show { bottom: 110px; } }
.cart-toast-text { text-align: right; display: flex; flex-direction: column; justify-content: center; }
.cart-toast-title { font-size: 16px; font-weight: 800; line-height: 1.2; }
.cart-toast-subtitle { font-size: 12px; opacity: 0.9; }
.cart-toast-img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }

/* Mobile Fixes for Lightweight Cart Item Layout */
@media (max-width: 480px) {
  .light-item {
    flex-wrap: wrap !important;
    padding: 12px !important;
    gap: 10px !important;
  }
  .light-item .cart-item-right {
    flex: 0 0 75px !important; 
    width: 75px !important;
  }
  .light-item-img {
    width: 75px !important;
    height: 75px !important;
  }
  .light-item .cart-item-middle {
    flex: 1 1 calc(100% - 100px) !important;
    min-width: 140px;
  }
  .light-item .item-title {
    font-size: 14px !important;
    margin-bottom: 3px !important;
  }
  .light-item .item-options {
    font-size: 11px !important;
  }
  .light-item .cart-item-left {
    flex: 0 0 100% !important; /* Force to new line taking whole width */
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px solid #E5E7EB;
    padding-top: 12px !important;
    margin-top: 5px !important;
  }
  .light-item .item-price {
    align-items: flex-start !important; /* Left aligned relative to row layout */
  }
}