/* =====================================================
   KODASS MAROC — STYLESHEET
   Colors: Black (#0a0a0a), Light Green (#7ccf3b), Red (#e53935)
===================================================== */

/* ============ RESET & TOKENS ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --primary: #7ccf3b;
  --primary-dark: #5ca82e;
  --primary-light: #9ae05a;
  --red: #e53935;
  --red-light: #ef6c6c;
  --black: #0a0a0a;
  --black-card: #141414;
  --black-surface: #1a1a1a;
  --black-border: #2a2a2a;
  --white: #f0f0f0;
  --text-muted: #9aa3af;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-h: 64px;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Jost', sans-serif;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

html[lang="ar"] body,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] button {
  font-family: 'Tajawal', 'Jost', sans-serif
}

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

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

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

ul {
  list-style: none
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto
}

.section {
  padding: clamp(56px, 8vw, 96px) 0
}

.eyebrow {
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--primary);
  font-weight: 500
}

.center {
  text-align: center
}

h1,
h2,
h3,
.serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600
}

.section-title {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  min-height: 48px;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 4px;
  transition: .3s;
  white-space: nowrap
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 6px 18px rgba(124, 207, 59, 0.4)
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(124, 207, 59, 0.5)
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 57, 53, 0.4)
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(229, 57, 53, 0.5)
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary)
}
.btn-outline:hover {
  background: var(--primary);
  color: #000
}

.btn-outline-light {
  border: 1px solid var(--primary);
  color: var(--primary)
}
.btn-outline-light:hover {
  background: var(--primary);
  color: #000
}

.btn-wa {
  background: #25d366;
  color: #000;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35)
}
.btn-wa:hover {
  transform: translateY(-2px);
  filter: brightness(1.05)
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--black-border);
  transition: box-shadow .3s
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5)
}

.header-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  transition: .3s;
  position: relative
}
.icon-btn:hover {
  color: var(--primary)
}
.icon-btn svg {
  width: 24px;
  height: 24px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: .35em;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase
}
.logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

.header-right {
  display: flex;
  justify-content: flex-end
}
.header-left {
  display: flex;
  align-items: center;
  gap: 6px
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform .3s cubic-bezier(.68, -.55, .27, 1.55)
}
.cart-count.show {
  transform: scale(1)
}

.desktop-nav {
  display: none;
  gap: clamp(14px, 2.2vw, 28px);
  margin-left: 8px
}
.desktop-nav a {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 300;
  position: relative;
  padding: 6px 0
}
.desktop-nav a:hover {
  color: var(--primary)
}
.desktop-nav a.active {
  color: var(--primary)
}
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--primary)
}

@media(min-width:900px) {
  .desktop-nav {
    display: none
  }
  #menuBtn {
    display: flex
  }
}

/* ============ DRAWER ============ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: .35s;
  z-index: 200
}
.overlay.open {
  opacity: 1;
  pointer-events: auto
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 84vw);
  z-index: 210;
  background: var(--black);
  color: #fff;
  padding: 24px;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid var(--black-border)
}
.drawer.open {
  transform: none
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px
}
.drawer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: .3em;
  color: var(--primary)
}
.drawer nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font-size: 1.02rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 300;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: .3s
}
.drawer nav a:hover,
.drawer nav a.active {
  color: var(--primary);
  padding-left: 12px
}
.drawer .btn-wa {
  margin-top: auto;
  justify-content: center
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%)
}
.hero-content {
  padding: 0 0 clamp(56px, 9vw, 110px);
  max-width: 640px
}
.hero h1 {
  font-size: clamp(2.3rem, 7.5vw, 4.4rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6)
}
.hero p {
  margin: 18px 0 30px;
  font-weight: 300;
  font-size: clamp(.95rem, 2.5vw, 1.1rem);
  max-width: 440px;
  color: #ddd
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* ============ PAGE HERO ============ */
.page-hero {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: clamp(52px, 8vw, 84px) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--black-border)
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(rgba(124, 207, 59, 0.08), transparent 70%);
  top: -120px;
  right: -80px
}
.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  position: relative
}
.page-hero p {
  margin-top: 10px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  margin-inline: auto;
  position: relative
}

/* ============ COLLECTIONS ============ */
.collections {
  background: var(--black-surface)
}
.coll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
  margin-top: 44px
}
@media(max-width:640px) {
  .coll-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin-inline: -4%;
    padding-inline: 4%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
  }
  .coll-grid::-webkit-scrollbar {
    display: none
  }
}
.coll-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  scroll-snap-align: center;
  border: 1px solid var(--black-border)
}
.coll-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
  background: #1a1a1a
}
.coll-card:hover img {
  transform: scale(1.07)
}
.coll-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.7))
}
.coll-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px;
  text-align: center;
  color: var(--primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: .12em;
  text-transform: uppercase
}
.coll-tagline {
  text-align: center;
  margin-top: 34px;
  letter-spacing: .28em;
  font-size: clamp(.7rem, 2vw, .85rem);
  text-transform: uppercase;
  color: var(--text-muted)
}

/* ============ PRODUCTS / CAROUSEL ============ */
.carousel-wrap {
  position: relative;
  margin-top: 44px
}
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(230px, 26vw, 290px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab
}
.carousel::-webkit-scrollbar {
  display: none
}
.carousel.dragging {
  cursor: grabbing;
  scroll-snap-type: none
}

.product {
  scroll-snap-align: center;
  background: var(--black-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--black-border);
  transition: .35s;
  display: flex;
  flex-direction: column
}
.product:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--primary)
}
.product-img {
  position: relative;
  aspect-ratio: 3/4;
  background: #111;
  overflow: hidden;
  display: block
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s
}
.product:hover .product-img img {
  transform: scale(1.06)
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 3px
}
.product-body {
  padding: 16px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1
}
.product-body h3 {
  font-size: 1.12rem;
  letter-spacing: .03em;
  color: var(--white)
}
.product-name {
  color: inherit;
  transition: .3s
}
.product-name:hover {
  color: var(--primary)
}
.cat {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500
}
.price {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .05em
}
.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px
}
.product-actions .btn {
  flex: 1;
  padding: 11px 8px;
  min-height: 44px;
  font-size: .66rem;
  letter-spacing: .12em
}
.btn-cart {
  background: var(--primary);
  color: #000
}
.btn-cart:hover {
  background: var(--primary-dark)
}
.btn-wa-sm {
  background: #25d366;
  color: #000
}
.btn-wa-sm:hover {
  filter: brightness(1.06)
}
.car-btn {
  position: absolute;
  top: 38%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black-card);
  color: var(--primary);
  border: 1px solid var(--black-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s
}
.car-btn:hover {
  background: var(--primary);
  color: #000
}
.car-btn svg {
  width: 20px;
  height: 20px
}
.car-prev {
  left: -8px
}
.car-next {
  right: -8px
}
@media(max-width:640px) {
  .car-btn {
    display: none
  }
}

/* ============ SHOP PAGE ============ */
.shop-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 34px 0 26px
}
.chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}
.chip {
  padding: 7px 15px;
  border: 1px solid var(--black-border);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--black-surface);
  transition: .3s
}
.chip:hover {
  border-color: var(--primary);
  color: var(--white)
}
.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #000
}
.shop-tools {
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}
.shop-tools input,
.shop-tools select {
  padding: 11px 14px;
  min-height: 44px;
  border: 1px solid var(--black-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .9rem;
  background: var(--black-surface);
  color: var(--white)
}
.shop-tools input:focus,
.shop-tools select:focus {
  outline: none;
  border-color: var(--primary)
}
.shop-tools input::placeholder {
  color: var(--text-muted)
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 22px
}
.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-weight: 300
}

/* ============ PRODUCT DETAIL ============ */
.breadcrumb {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 8px
}
.breadcrumb a:hover {
  color: var(--primary)
}
.breadcrumb span {
  margin: 0 8px;
  color: var(--primary)
}
.breadcrumb .current {
  color: var(--primary);
  margin: 0
}

/* ============ PRODUCT DETAIL LAYOUT ============ */
.detail-grid {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  margin-top: 26px;
}

/* Mobile: single column, image is 3/4 */
.detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #111;
  position: relative;
  border: 1px solid var(--black-border);
  width: 100%;
  max-width: 100%;
  /* No min-height, no max-height – keep pure ratio */
}

/* Desktop: two columns, wider image column */
@media(min-width: 800px) {
  .detail-grid {
    grid-template-columns: 1.5fr 0.8fr;
    align-items: start;
    gap: clamp(40px, 6vw, 90px);
  }
  /* .detail-img stays 3/4, column width increases */
}

.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info .cat {
  display: block;
  margin-bottom: 6px
}
.detail-info h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: .03em;
  margin-bottom: 8px;
  color: var(--white)
}
.detail-info .price1 {
  color: var(--primary);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: .05em
}
.detail-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 16px 0 22px
}
.qty-lg {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px
}
.qty-lg button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--black-border);
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--primary);
  background: var(--black-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s
}
.qty-lg button:hover {
  border-color: var(--primary)
}
.qty-lg span {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white)
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}
.detail-actions .btn {
  flex: 1;
  min-width: 180px
}
.detail-meta {
  margin-top: 26px;
  border-top: 1px solid var(--black-border)
}
.detail-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--black-border);
  font-size: .88rem;
  color: var(--text-muted)
}
.detail-meta b {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 500
}
.detail-meta span {
  text-align: right;
  font-weight: 300;
  color: var(--white)
}

/* ============ PRODUCT DETAIL CAROUSEL ============ */
.detail-carousel {
  width: 100%;
}

.detail-carousel-main {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;          /* force 3:4 ratio */
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}

.detail-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.detail-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.detail-carousel-slide.active {
  opacity: 1;
  position: relative;
}

.detail-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-carousel-main .car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.detail-carousel-main .car-btn:hover {
  background: var(--primary);
  color: #000;
}

.detail-carousel-main .car-prev {
  left: 12px;
}

.detail-carousel-main .car-next {
  right: 12px;
}

.detail-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  justify-content: center;
}

.detail-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.detail-thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.detail-thumb {
  flex: 0 0 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
  background: #111;
}

.detail-thumb.active {
  border-color: var(--primary);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumb:hover {
  border-color: var(--gold);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
  .detail-thumb {
    flex: 0 0 50px;
    height: 50px;
  }
  .detail-carousel-main .car-btn {
    width: 32px;
    height: 32px;
  }
}

/* ============ CRAFT ============ */
.craft {
  background: var(--black-surface)
}
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 22px);
  margin-top: 44px
}
@media(max-width:640px) {
  .craft-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -4%;
    padding-inline: 4%;
    padding-bottom: 12px;
    scrollbar-width: none
  }
  .craft-grid::-webkit-scrollbar {
    display: none
  }
}
.craft-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  scroll-snap-align: center;
  border: 1px solid var(--black-border)
}
.craft-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1a1a1a
}
.craft-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--primary);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center
}

/* ============ ABOUT ============ */
.story-grid {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center
}
@media(min-width:860px) {
  .story-grid {
    grid-template-columns: 1fr 1fr
  }
}
.story-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  border: 1px solid var(--black-border)
}
.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.story-grid h2 {
  color: var(--white)
}
.story-grid p {
  color: var(--text-muted)
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px
}
.value-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: .3s
}
.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--primary)
}
.value-card i {
  font-style: normal;
  font-size: 1.7rem
}
.value-card h3 {
  margin: 10px 0 6px;
  font-size: 1.25rem;
  color: var(--white)
}
.value-card p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: .9rem;
  line-height: 1.6
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 44px 0;
  text-align: center
}
.stats b {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--primary);
  display: block
}
.stats span {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted)
}
.cta-band {
  background: var(--primary);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(36px, 5vw, 60px)
}
.cta-band h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #000;
  letter-spacing: .04em
}
.cta-band .btn {
  background: var(--black);
  color: var(--primary)
}
.cta-band .btn:hover {
  background: #1a1a1a
}

/* ============ TESTIMONIALS ============ */
.testi-box {
  max-width: 640px;
  margin: 40px auto 0;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
  min-height: 170px
}
@media(max-width:560px) {
  .testi-box {
    flex-direction: column;
    text-align: center
  }
}
.testi-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary)
}
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.stars {
  color: var(--primary);
  letter-spacing: 3px;
  margin-bottom: 8px
}
.testi-text {
  font-weight: 300;
  font-size: .98rem;
  line-height: 1.6;
  min-height: 3.2em;
  transition: opacity .3s;
  color: var(--white)
}
.testi-name {
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  font-size: .85rem;
  color: var(--primary)
}
.testi-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px
}
.testi-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black-border);
  transition: .3s
}
.testi-dots button.active {
  background: var(--primary);
  transform: scale(1.3)
}

/* ============ WHATSAPP ORDER ============ */
.wa-section {
  background: var(--black-surface);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border)
}
.wa-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(rgba(124, 207, 59, 0.06), transparent 70%);
  top: -140px;
  right: -140px
}
.wa-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative
}
@media(max-width:860px) {
  .wa-grid {
    grid-template-columns: 1fr
  }
}
.wa-section h2 {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  margin: 10px 0 16px
}
.wa-section .lead {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 460px
}
.wa-steps {
  margin-top: 30px;
  display: grid;
  gap: 18px
}
.wa-step {
  display: flex;
  gap: 16px;
  align-items: flex-start
}
.wa-step i {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 600;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem
}
.wa-step b {
  display: block;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  font-weight: 500;
  color: var(--primary)
}
.wa-step p {
  font-weight: 300;
  color: var(--text-muted);
  font-size: .92rem
}
.wa-card {
  background: var(--black-card);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 34px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  border: 1px solid var(--black-border)
}
.wa-card h3 {
  font-size: 1.4rem;
  letter-spacing: .04em;
  margin-bottom: 4px;
  color: var(--white)
}
.wa-card .sub {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 20px
}
.field {
  margin-bottom: 14px
}
.field label {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  min-height: 48px;
  border: 1px solid var(--black-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--black-surface);
  transition: .3s;
  color: var(--white)
}
.field textarea {
  min-height: 80px;
  resize: vertical
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 207, 59, 0.15)
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px
}
@media(max-width:400px) {
  .field-row {
    grid-template-columns: 1fr
  }
}
.wa-card .btn-wa {
  width: 100%;
  justify-content: center;
  margin-top: 6px
}
.wa-note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 12px
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 0
}
@media(min-width:860px) {
  .contact-grid {
    grid-template-columns: .9fr 1.1fr;
    align-items: start
  }
}
.contact-card {
  background: var(--black-card);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--black-border)
}
.contact-card .btn-wa {
  width: 100%;
  justify-content: center
}
.info-list {
  margin: 24px 0 0;
  display: grid;
  gap: 16px
}
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 300;
  color: var(--text-muted);
  font-size: .95rem
}
.info-list b {
  color: var(--primary);
  font-weight: 500;
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 2px
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px
}
.faq-item {
  border: 1px solid var(--black-border);
  border-radius: 12px;
  background: var(--black-card);
  overflow: hidden
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--white)
}
.faq-q i {
  font-style: normal;
  color: var(--primary);
  transition: transform .3s;
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0
}
.faq-item.open .faq-q i {
  transform: rotate(45deg)
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease
}
.faq-a p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7
}
.faq-item.open .faq-a {
  max-height: 320px
}

/* ============ NEWSLETTER ============ */
.newsletter {
  background: var(--black);
  color: #fff;
  border-top: 1px solid var(--black-border)
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center
}
@media(max-width:760px) {
  .news-grid {
    grid-template-columns: 1fr
  }
}
.news-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  border: 1px solid var(--black-border)
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111
}
.newsletter h2 {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px
}
.newsletter p {
  color: var(--text-muted);
  font-weight: 300;
  max-width: 420px
}
.news-form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap
}
.news-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  min-height: 50px;
  border: 1px solid var(--black-border);
  border-radius: 4px;
  background: var(--black-surface);
  color: #fff;
  font-family: inherit;
  font-size: .95rem
}
.news-form input::placeholder {
  color: var(--text-muted)
}
.news-form input:focus {
  outline: none;
  border-color: var(--primary)
}
.news-msg {
  margin-top: 12px;
  font-size: .85rem;
  color: var(--primary);
  min-height: 1.2em
}

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  color: var(--text-muted);
  border-top: 1px solid var(--black-border);
  padding: 34px 0 26px;
  margin-top: 0
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: .3em;
  color: var(--primary);
  text-transform: uppercase
}
.footer nav {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap
}
.footer nav a {
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 300;
  transition: .3s;
  color: var(--text-muted)
}
.footer nav a:hover {
  color: var(--primary)
}
.socials {
  display: flex;
  gap: 10px
}
.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--black-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
  color: var(--text-muted)
}
.socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #000
}
.socials svg {
  width: 17px;
  height: 17px
}
.footer-bottom {
  text-align: center;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--black-border);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted)
}

/* ============ FLOATING WHATSAPP ============ */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: .3s
}
.wa-float:hover {
  transform: scale(1.1)
}
.wa-float svg {
  width: 30px;
  height: 30px
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: pulse 2s infinite;
  z-index: -1
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .6
  }
  100% {
    transform: scale(1.65);
    opacity: 0
  }
}
.wa-float .tip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--black-card);
  color: #fff;
  font-size: .75rem;
  letter-spacing: .08em;
  padding: 8px 14px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  border: 1px solid var(--black-border)
}
.wa-float:hover .tip {
  opacity: 1
}

/* ============ CART DRAWER ============ */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 90vw);
  z-index: 210;
  background: var(--black-card);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .5);
  border-left: 1px solid var(--black-border)
}
.cart-drawer.open {
  transform: none
}
.cart-head {
  padding: 20px 22px;
  background: var(--black);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid var(--black-border)
}
.cart-head h3 {
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: 1rem;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  color: var(--primary)
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px
}
.cart-empty {
  text-align: center;
  color: var(--text-muted);
  margin-top: 40px;
  font-weight: 300
}
.cart-item {
  display: flex;
  gap: 14px;
  border-bottom: 1px solid var(--black-border);
  padding-bottom: 16px
}
.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #111
}
.cart-item-info {
  flex: 1
}
.cart-item-info b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.02rem;
  font-weight: 600;
  display: block;
  color: var(--white)
}
.cart-item-info .price {
  font-size: .9rem
}
.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px
}
.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--black-border);
  border-radius: 6px;
  font-size: 1rem;
  color: var(--primary);
  background: var(--black-surface);
  display: flex;
  align-items: center;
  justify-content: center
}
.qty span {
  min-width: 20px;
  text-align: center;
  font-weight: 500;
  color: var(--white)
}
.rm {
  color: var(--red);
  font-size: .75rem;
  letter-spacing: .08em;
  margin-top: 6px;
  display: inline-block;
  cursor: pointer
}
.cart-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--black-border);
  max-height: 62vh;
  overflow-y: auto;
  flex-shrink: 0
}
.chk-title {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px
}
.chk-input {
  width: 100%;
  padding: 11px 12px;
  min-height: 44px;
  margin-bottom: 8px;
  border: 1px solid var(--black-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .92rem;
  background: var(--black-surface);
  color: var(--white);
  resize: none
}
.chk-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 207, 59, 0.15)
}
.chk-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15)
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  letter-spacing: .08em;
  margin: 6px 0 14px;
  color: var(--white)
}
.cart-total span:last-child {
  color: var(--primary)
}
.cart-foot .btn-wa {
  width: 100%;
  justify-content: center
}

/* ============ TOAST & REVEAL ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 20px);
  z-index: 300;
  background: var(--black-card);
  color: #fff;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: .85rem;
  letter-spacing: .06em;
  opacity: 0;
  pointer-events: none;
  transition: .35s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  max-width: 88vw;
  text-align: center;
  border: 1px solid var(--black-border)
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0)
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease
}
.reveal.visible {
  opacity: 1;
  transform: none
}
@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
  .reveal {
    opacity: 1;
    transform: none
  }
}

/* =====================================================
   LANGUAGE SWITCHER
===================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--black-border);
  white-space: nowrap
}
.lang-switch a {
  padding: 4px 10px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: .25s;
  line-height: 1.4
}
.lang-switch a:hover {
  color: var(--white)
}
.lang-switch a.active {
  background: var(--primary);
  color: #000
}
.lang-switch .sep {
  color: var(--text-muted);
  padding: 0 2px;
  font-size: .7rem
}
.header-right .lang-switch {
  margin-inline-end: 6px
}
.drawer .lang-switch {
  margin: 18px 0 14px;
  align-self: flex-start
}
.drawer .lang-switch a {
  color: var(--text-muted)
}
.drawer .lang-switch a.active {
  color: #000
}

/* =====================================================
   RTL OVERRIDES (Arabic)
   Only flip arrows, do NOT reorder breadcrumb
===================================================== */
/* Side drawer and cart mirroring */
html[lang="ar"] .drawer {
  left: auto;
  right: 0;
  transform: translateX(100%)
}
html[lang="ar"] .drawer.open {
  transform: none
}
html[lang="ar"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 10px 0 40px rgba(0, 0, 0, .5);
  border-left: none;
  border-right: 1px solid var(--black-border)
}
html[lang="ar"] .cart-drawer.open {
  transform: none
}
html[lang="ar"] .cart-count {
  right: auto;
  left: 2px
}
html[lang="ar"] .wa-float {
  right: auto;
  left: max(16px, env(safe-area-inset-left))
}
html[lang="ar"] .wa-float .tip {
  right: auto;
  left: 70px
}
html[lang="ar"] .drawer nav a:hover,
html[lang="ar"] .drawer nav a.active {
  padding-left: 4px;
  padding-right: 12px
}

/* Flip only the separator arrow in breadcrumb, not the whole order */
html[lang="ar"] .breadcrumb span {
  transform: scaleX(-1) !important;
  display: inline-block;
}

/* Flip carousel arrows in RTL */
html[lang="ar"] .car-prev svg,
html[lang="ar"] #detailPrev svg,
html[lang="ar"] #relPrev svg,
html[lang="ar"] .car-btn.car-prev svg {
  transform: scaleX(-1) !important;
}
html[lang="ar"] .car-next svg,
html[lang="ar"] #detailNext svg,
html[lang="ar"] #relNext svg,
html[lang="ar"] .car-btn.car-next svg {
  transform: scaleX(-1) !important;
}

/* RTL text alignment for hero and page hero */
html[lang="ar"] .hero-content {
  text-align: right
}
html[lang="ar"] .page-hero .container {
  text-align: right
}

/* Newsletter direction in RTL */
@media(min-width:900px) {
  html[lang="ar"] .news-grid {
    direction: rtl
  }
}