@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@600;700&family=Cairo:wght@600;700;800&family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=Work+Sans:wght@400;500;600&display=swap');

:root{
  --paper: #FFFFFF;
  --paper-deep: #F0F0F0;
  --ink: #0A0A0A;
  --grey: #7A7A7A;
  --line: rgba(10,10,10,0.14);
  --font-display: 'Archivo Expanded', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

html[lang="ar"]{
  --font-display: 'Cairo', 'Archivo Expanded', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Work Sans', sans-serif;
  direction: rtl;
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
html, body{
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ---------- ARABIC / RTL ADJUSTMENTS ---------- */
html[lang="ar"] body{
  text-align: right;
}
html[lang="ar"] .card{
  text-align: right;
}
html[lang="ar"] .card .frame .ig-link{
  right: auto;
  left: 10px;
}
html[lang="ar"] .wizard-ig-link{
  margin-left: 0;
  margin-right: 8px;
}
html[lang="ar"] .hero .tag,
html[lang="ar"] .hero-tags{
  justify-self: start;
  align-items: flex-start;
}

/* ---------- NAV ---------- */
nav{
  display:flex; justify-content: space-between; align-items:center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.wordmark{ font-family: var(--font-display); font-size: 1.15rem; }
.nav-links{ display:flex; align-items:center; gap: 16px; font-size: 0.92rem; }
.nav-links a{ color: var(--ink); text-decoration:none; opacity: 0.75; }
.nav-links a:hover{ opacity: 1; }

.lang-btn,
.cart-btn{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--paper-deep, #F0F0F0);
  border: 1px solid var(--line, rgba(10,10,10,0.18));
  color: var(--ink, #0A0A0A);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1;
  text-decoration: none;
  outline: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  position: relative;
}
.lang-btn:hover,
.cart-btn:hover{
  background: var(--ink, #0A0A0A);
  color: var(--paper, #FFFFFF);
  border-color: var(--ink, #0A0A0A);
}
.cart-btn:hover .cart-badge{
  background: var(--paper, #FFFFFF);
  color: var(--ink, #0A0A0A);
}
.cart-badge{
  background: var(--ink, #0A0A0A);
  color: var(--paper, #FFFFFF);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

/* ---------- HERO ---------- */
.hero{
  padding: 64px 28px 40px;
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}
.hero h1{
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero .sub{
  max-width: 34ch;
  font-size: 1.05rem;
  margin-top: 18px;
  color: rgba(10,10,10,0.75);
}
.hero-tags{
  align-self: start;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-top: 6px;
}
.hero .tag{
  align-self: start;
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 6px;
  font-weight: 500;
}
.hero-tags .tag{
  margin-top: 0;
}
.hero .tag.tag-secondary,
.hero-tags .tag-secondary{
  background: var(--paper-deep);
  color: var(--ink);
  border: 1px solid var(--line);
}

/* ---------- WHY BAND ---------- */
.why-band{
  background: var(--ink);
  color: var(--paper);
  padding: 72px 28px 64px;
}
.why-band .wrap{ max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.why-band .eyebrow{
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 12px;
}
.why-item{
  padding: 24px 32px;
  border-inline-start: 1px solid rgba(255,255,255,0.16);
}
.why-item:first-child{
  border-inline-start: none;
  padding-inline-start: 0;
}
.why-item:last-child{
  padding-inline-end: 0;
}
.why-item h3{
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.05;
  margin-bottom: 12px;
}
.why-item p{
  color: rgba(255,255,255,0.65);
  font-size: 0.94rem;
  max-width: 30ch;
}



/* ---------- PRODUCTS ---------- */
.shop-header{
  margin-bottom: 24px;
}
.section-label{
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(10,10,10,0.55);
}
/* ---------- DEALS BANNER ---------- */
.deals-banner{
  margin-top: 10px;
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 16px 20px;
}
.deals-banner-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.deals-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.deals-delivery-tag{
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.deals-cards-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.deal-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  user-select: none;
}
.deal-card:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.deal-card:active{
  transform: translateY(0);
}
.deal-card:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.deal-card-cta{
  margin-top: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}
.deal-card:hover .deal-card-cta{
  opacity: 0.7;
}
.deal-card-name{
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(10,10,10,0.55);
  letter-spacing: 0.02em;
}
.deal-card-offer{
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.deal-card-save{
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  margin-top: 2px;
  width: fit-content;
}
.deal-card-plus{
  background: var(--paper);
  border: 1.5px dashed rgba(10,10,10,0.3);
}
.deal-card-plus .deal-card-save{
  background: transparent;
  color: rgba(10,10,10,0.65);
  padding: 0;
}

.products{ padding: 20px 28px 60px; max-width: 1080px; margin: 0 auto; }
.product-group-header{
  margin: 36px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 8px;
}
.product-group-header:first-child{
  margin-top: 14px;
}
.product-group-badge{
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.product-group-title{
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.product-group-count{
  margin-inline-start: auto;
  font-size: 0.8rem;
  color: rgba(10,10,10,0.5);
  font-weight: 600;
}
html[lang="ar"] .product-group-header{
  text-align: right;
}
.grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.card{
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.card .frame{
  aspect-ratio: 3/4;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: border-color 0.15s ease;
}
.card:hover .frame{ border-color: var(--ink); }
.card .frame iframe,
.card .frame blockquote,
.card .frame video{ position:absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; }
.card .frame .ig-fallback{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  color: rgba(10,10,10,0.35);
  font-size: 0.8rem;
  text-align:center; padding: 12px;
}
.card .name{ margin-top: 12px; font-weight: 600; font-size: 0.98rem; }
.card .material{ color: rgba(10,10,10,0.5); font-size: 0.8rem; margin-top: 2px; font-weight: 450; line-height: 1.35; }
.card .price{ color: var(--ink); font-size: 1rem; font-weight: 700; margin-top: 3px; line-height: 1.25; }
.card-actions{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  align-items: stretch;
}
.card-offer-badge{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--paper-deep);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 6px 10px;
  border-radius: 3px;
  box-sizing: border-box;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.card-offer-badge .badge-pill{
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.card-offer-badge .badge-text{
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.card:hover .card-offer-badge{
  background: var(--paper);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.card .order-btn{
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  text-align: center;
  box-sizing: border-box;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.card:hover .order-btn{
  opacity: 0.9;
}

/* ---------- IMAGE SLIDESHOW (Bears Cut) ---------- */
.card .frame .slideshow{
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
}
.card .frame .slideshow img{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.card .frame .slideshow img.contain{
  object-fit: contain;
  background: #d6d7d9;
}
.card .frame .slideshow img.active{
  opacity: 1;
}
.card .frame .slide-dots{
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.card .frame .slide-dots span{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.3s;
  cursor: pointer;
}
.card .frame .slide-dots span.active{
  background: #fff;
}

/* ---------- HOW ORDERING WORKS (COMPACT) ---------- */
.how-band{
  padding: 34px 24px 30px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-band .wrap{
  max-width: 1080px;
  margin: 0 auto;
}
.how-header{
  text-align: center;
  max-width: 600px;
  margin: 0 auto 18px;
}
.how-header .eyebrow{
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  font-weight: 700;
  margin-bottom: 4px;
}
.how-header h2{
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 4px;
}
.how-header p{
  font-size: 0.85rem;
  color: rgba(10,10,10,0.6);
  margin: 0;
}
.how-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 960px) and (min-width: 641px){
  .how-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.how-step{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.how-step:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.how-step-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.how-step-icon{
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-step-icon svg{
  width: 16px;
  height: 16px;
}
.how-step-num{
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(10,10,10,0.25);
  letter-spacing: 0.04em;
}
.how-step h3{
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 4px;
}
.how-step p{
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(10,10,10,0.65);
  margin: 0;
}
html[lang="ar"] .how-step{
  text-align: right;
}

/* ---------- REAL CUSTOMERS REVIEWS BAND ---------- */
.reviews-band{
  padding: 68px 24px 60px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.reviews-band .wrap{
  max-width: 1120px;
  margin: 0 auto;
}
.reviews-header-wrap{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.reviews-header{
  max-width: 600px;
}
.reviews-header .eyebrow{
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  font-weight: 600;
  margin-bottom: 8px;
}
.reviews-header h2{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 8px;
}
.reviews-header p{
  font-size: 0.94rem;
  color: rgba(10,10,10,0.65);
  margin: 0;
}
.reviews-controls{
  display: flex;
  align-items: center;
  gap: 8px;
}
.reviews-nav-btn{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.15s ease;
}
.reviews-nav-btn:hover{
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.reviews-track-container{
  position: relative;
  overflow: hidden;
}
.reviews-track{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.reviews-track::-webkit-scrollbar{
  height: 6px;
}
.reviews-track::-webkit-scrollbar-track{
  background: transparent;
}
.reviews-track::-webkit-scrollbar-thumb{
  background: var(--line);
  border-radius: 999px;
}
.review-card{
  flex: 0 0 290px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.review-card:hover{
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.review-frame{
  aspect-ratio: 4/3;
  background: #0d0d0f;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.review-frame img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.review-card:hover .review-frame img{
  transform: scale(1.03);
}
.review-zoom-badge{
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(10,10,10,0.75);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
html[lang="ar"] .review-zoom-badge{
  right: auto;
  left: 8px;
}
.review-info{
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.review-product-tag{
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 3px;
  align-self: flex-start;
  margin-bottom: 8px;
}
html[lang="ar"] .review-product-tag{
  align-self: flex-start;
}
.review-quote{
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(10,10,10,0.8);
  font-style: italic;
  margin: 0;
}
html[lang="ar"] .review-quote,
html[dir="rtl"] .review-quote,
html[lang="ar"] .lightbox-quote,
html[dir="rtl"] .lightbox-quote{
  font-style: normal;
}
html[lang="ar"] .review-info{
  text-align: right;
}
.reviews-social-invite{
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.reviews-social-invite p{
  margin: 0;
  font-size: 0.9rem;
  color: rgba(10,10,10,0.75);
}
.reviews-social-badges{
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviews-social-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.reviews-social-link:hover{
  opacity: 0.9;
}

/* Lightbox Modal */
.lightbox-dialog{
  background: var(--paper);
  border-radius: 12px;
  max-width: 520px;
  width: 92%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-close{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(10,10,10,0.7);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
html[lang="ar"] .lightbox-close{
  right: auto;
  left: 12px;
}
.lightbox-body{
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 65vh;
  max-height: 65dvh;
  overflow: hidden;
}
.lightbox-body img{
  max-width: 100%;
  max-height: 65vh;
  max-height: 65dvh;
  object-fit: contain;
}
.lightbox-caption{
  padding: 14px 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
html[lang="ar"] .lightbox-caption{
  text-align: right;
}
.lightbox-tag{
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 6px;
}
.lightbox-quote{
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
}
.lightbox-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}
.lightbox-btn{
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lightbox-btn:hover{
  border-color: var(--ink);
}

/* Footer & Nav Socials */
.nav-social-link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.nav-social-link:hover{
  background: var(--paper-deep);
}
.footer-social-links{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.footer-social-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--paper-deep);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.footer-social-pill:hover{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------- CTA BAND ---------- */
.cta-band{
  background: var(--ink);
  color: var(--paper);
  padding: 56px 28px;
  text-align: center;
}
.cta-band h2{ font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 10px; }
.cta-band p{ color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.cta-band button{
  background: var(--paper);
  color: var(--ink);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 3px;
  cursor: pointer;
}
/* ---------- DELIVERY & EXCHANGES BAND ---------- */
.delivery-band{
  padding: 52px 24px 48px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.delivery-band .wrap{
  max-width: 1080px;
  margin: 0 auto;
}
.delivery-card{
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 26px 24px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.delivery-title{
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: -0.01em;
}
.delivery-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.delivery-item{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  height: 100%;
  box-sizing: border-box;
}
.delivery-item:hover{
  border-color: var(--ink);
  background: var(--paper);
}
.delivery-item-icon{
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.delivery-item-text{
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(10,10,10,0.85);
}
.delivery-item-text strong{
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}
.delivery-fine-print{
  font-size: 0.78rem;
  color: rgba(10,10,10,0.55);
  font-weight: 500;
  letter-spacing: 0.01em;
}
html[lang="ar"] .delivery-item{
  text-align: right;
}

footer{ text-align:center; padding: 26px; font-size: 0.82rem; color: rgba(10,10,10,0.5); }

/* ---------- MODAL WIZARD ---------- */
.modal-overlay{
  display:none;
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.modal-overlay.open{ display:flex; }
.modal{
  background: var(--paper);
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 16px;
  padding: 24px 22px 28px;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  box-sizing: border-box;
  animation: modalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 640px){
  .modal{ border-radius: 16px; padding: 26px 28px 32px; }
}
@keyframes modalIn{
  from{ transform: translateY(12px) scale(0.98); opacity:0; }
  to{ transform: translateY(0) scale(1); opacity:1; }
}

.modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.modal-header .progress-dots{
  flex: 1;
  display: flex;
  gap: 6px;
  margin-bottom: 0;
}
.modal-header .progress-dots span{
  height: 5px;
  flex: 1;
  background: var(--line);
  border-radius: 3px;
  transition: background 0.2s ease;
}
.modal-header .progress-dots span.done{
  background: var(--ink);
}

.modal-close{
  background: var(--paper-deep);
  border: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(10,10,10,0.6);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.modal-close:hover{
  background: rgba(10,10,10,0.15);
  color: var(--ink);
}

.card .frame .ig-link{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.card .frame .ig-link:hover{
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.card .frame .ig-link svg{
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.wizard-ig-link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: underline;
  opacity: 0.7;
}
.wizard-ig-link:hover{
  opacity: 1;
}

.step-title{ font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; }
.step-sub{ color: rgba(10,10,10,0.6); font-size: 0.92rem; margin-bottom: 22px; }

.choice-row{ display:flex; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.choice-btn{
  flex: 1; min-width: 100px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}
.choice-btn.selected{ border-color: var(--ink); background: var(--ink); color: var(--paper); }

.field{ display:flex; flex-direction:column; gap: 6px; margin-bottom: 16px; }
.field label{ font-size: 0.85rem; color: rgba(10,10,10,0.6); }
.field input{
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus{ outline: 2px solid var(--ink); outline-offset: 1px; }
.field input.has-error{
  border-color: #B3271A;
  background: #FFF8F7;
}
.field input.has-error:focus{
  outline-color: #B3271A;
}
.field-error{
  font-size: 0.8rem;
  color: #B3271A;
  margin-top: 2px;
  display: none;
  font-weight: 500;
  line-height: 1.3;
}
.field-error.visible{
  display: block;
}
.field-hint{
  font-size: 0.78rem;
  color: rgba(10,10,10,0.45);
  margin-top: -2px;
}
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.wizard-actions{ display:flex; gap: 10px; margin-top: 8px; }
button,
.btn,
.btn-primary,
.btn-ghost,
.btn-outline,
.choice-btn,
.deal-piece-product-btn,
.modal-close,
.qty-btn,
.cart-item-del,
.callout-btn,
.lang-btn,
.cart-btn,
.welcome-offer-bar,
.floating-cart-bar{
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.btn{
  flex:1;
  padding: 15px 18px;
  border-radius: 6px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
}
.btn-primary{ background: var(--ink); color: var(--paper); }
.btn-primary:disabled,
.btn-outline:disabled,
.btn:disabled{ opacity: 0.45; cursor: not-allowed; }
.btn-ghost{ background: var(--paper-deep); color: var(--ink); flex: 0 0 90px; }

.review-box{
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
}
.review-row{
  display:flex; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.review-row:last-child{ border-bottom:none; }
.review-row .k{ color: rgba(10,10,10,0.55); }
.review-row .v{ font-weight: 600; }
.review-row .v.size{ font-family: var(--font-display); font-size: 1.05rem; }

.note{ font-size: 0.82rem; color: rgba(10,10,10,0.55); margin-top: 12px; text-align:center; }

/* ---------- CART DRAWER & CART ITEMS ---------- */
.cart-items-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  max-height: 50vh;
  overflow-y: auto;
  padding-inline-end: 4px;
}
.cart-item-card{
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
}
.cart-item-thumb{
  width: 52px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  background: #E5E5E5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-thumb img,
.cart-item-thumb video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info{
  flex: 1;
  min-width: 0;
}
.cart-item-title{
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-meta{
  font-size: 0.82rem;
  color: rgba(10,10,10,0.6);
  margin-top: 2px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-item-size{
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
}
.cart-item-price{
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 4px;
}
.cart-item-controls{
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-stepper{
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  overflow: hidden;
}
.qty-btn{
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease;
}
.qty-btn:hover{
  background: var(--paper-deep);
}
.qty-val{
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 22px;
  text-align: center;
  user-select: none;
}
.cart-item-del{
  background: none;
  border: none;
  color: rgba(10,10,10,0.4);
  cursor: pointer;
  padding: 6px;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.cart-item-del:hover{
  color: #B3271A;
  background: rgba(179,39,26,0.08);
}
.cart-empty{
  text-align: center;
  padding: 36px 16px;
  color: rgba(10,10,10,0.5);
}
.cart-empty-icon{
  font-size: 2.2rem;
  margin-bottom: 8px;
  opacity: 0.6;
}
.cart-summary-box{
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.cart-summary-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.cart-summary-row:last-child{
  margin-bottom: 0;
}
.cart-summary-row.discount{
  color: var(--ink);
  font-weight: 600;
}
.cart-summary-row.delivery{
  color: rgba(10,10,10,0.68);
  font-size: 0.88rem;
}
.cart-summary-row.total{
  font-size: 1.1rem;
  font-weight: 700;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  margin-top: 10px;
  color: var(--ink);
}

/* Floating cart bar on mobile */
.floating-cart-bar{
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  z-index: 90;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
}
.floating-cart-bar.visible{
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.floating-cart-bar .cart-badge{
  background: var(--paper);
  color: var(--ink);
}

/* Modal sizing tweak for size selection */
.calculated-size-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.calculated-size-badge strong{
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* Secondary ghost action button */
.btn-outline{
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 13px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-outline:hover{
  background: var(--paper-deep);
  border-color: var(--ink);
}

/* ---------- UPSELL MODAL & CART CALLOUT ---------- */
.upsell-modal{
  max-width: 440px;
  width: 90%;
  border-radius: 4px;
  text-align: center;
}
.upsell-modal-body{
  padding: 8px 4px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.upsell-icon{
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.upsell-title{
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 6px;
  line-height: 1.25;
}
.upsell-desc{
  font-size: 0.9rem;
  color: rgba(10,10,10,0.7);
  max-width: 36ch;
  margin: 0 auto 16px;
  line-height: 1.45;
}
.upsell-color-section{
  width: 100%;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 16px;
  text-align: inherit;
}
.upsell-color-label{
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(10,10,10,0.75);
}
.upsell-color-section .choice-row{
  margin-bottom: 0;
}
.upsell-actions{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[lang="ar"] .upsell-modal{
  text-align: center;
}
.cart-upsell-callout{
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cart-upsell-callout .callout-text{
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--ink);
  text-align: start;
}
.cart-upsell-callout .callout-text strong{
  font-size: 0.88rem;
  font-family: var(--font-display);
}
.cart-upsell-callout .callout-btn{
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.cart-upsell-callout .callout-btn:hover{
  opacity: 0.85;
}

/* ---------- FOOTER WA LINK & NUMBERS ---------- */
.footer-wa-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity 0.15s ease;
  flex-wrap: wrap;
}
.footer-wa-link:hover{ opacity: 0.7; }
.wa-num{
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: var(--font-display, inherit);
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

input[type="tel"]{
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

/* =======================================================
   RESPONSIVE LAYOUT & MOBILE OPTIMIZATIONS
   ======================================================= */

@media (max-width: 768px){
  .wrap{
    padding: 0 16px;
  }
  nav{
    padding: 14px 16px;
  }
  .wordmark{
    font-size: 1.05rem;
  }
  .nav-links{
    gap: 8px;
  }
  .nav-links a{
    display: none;
  }
  .lang-btn,
  .cart-btn{
    padding: 6px 12px;
    font-size: 0.8rem;
    min-height: 32px;
  }
  .cart-badge{
    font-size: 0.68rem;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
  }

  /* Hero */
  .hero{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 16px 24px;
  }
  .hero h1{
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
    line-height: 1.05;
  }
  .hero .sub{
    font-size: 0.95rem;
    margin-top: 10px;
    max-width: 28ch;
  }
  .hero-tags{
    justify-self: start;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
  }
  .hero .tag,
  .hero-tags .tag{
    justify-self: start;
    font-size: 0.74rem;
    padding: 6px 12px;
    margin-top: 0;
  }

  /* Why Band */
  .why-band{
    padding: 44px 16px 36px;
  }
  .why-band .wrap{
    padding: 0;
  }
  .why-grid{
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 8px;
  }
  .why-item{
    border-inline-start: none;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }
  .why-item:first-child{
    padding: 0 0 18px;
  }
  .why-item:last-child{
    border-bottom: none;
    padding-bottom: 0;
  }
  .why-item h3{
    font-size: 1.45rem;
    line-height: 1.1;
    margin-bottom: 8px;
  }
  .why-item p{
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 100%;
  }

  /* Deals Banner */
  .deals-banner{
    padding: 14px 12px;
    margin-top: 8px;
  }
  .deals-banner-top{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .deals-delivery-tag{
    font-size: 0.8rem;
    gap: 5px;
    width: 100%;
  }
  .deals-cards-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .deal-card{
    padding: 10px 10px;
    gap: 3px;
    min-height: 98px;
    box-sizing: border-box;
  }
  .deal-card-name{
    font-size: 0.72rem;
    line-height: 1.25;
  }
  .deal-card-offer{
    font-size: 1rem;
    line-height: 1.15;
  }
  .deal-card-save{
    font-size: 0.68rem;
    padding: 2px 6px;
  }
  .deal-card-cta{
    font-size: 0.72rem;
    margin-top: 4px;
  }

  /* Products & Grid */
  .products{
    padding: 10px 16px 44px;
  }
  .grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }
  .card .name{
    font-size: 0.88rem;
    margin-top: 8px;
    line-height: 1.25;
  }
  .card .material{
    font-size: 0.74rem;
    margin-top: 2px;
    line-height: 1.3;
  }
  .card .price{
    font-size: 0.94rem;
    margin-top: 3px;
  }
  .card-actions{
    gap: 6px;
    margin-top: 8px;
  }
  .card-offer-badge{
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 5px 6px;
    text-align: center;
  }
  .card-offer-badge .badge-pill{
    font-size: 0.62rem;
    padding: 2px 5px;
  }
  .card-offer-badge .badge-text{
    font-size: 0.74rem;
    white-space: normal;
    text-align: center;
  }
  .card .order-btn{
    padding: 9px 10px;
    font-size: 0.82rem;
    min-height: 40px;
  }
  .card .frame .ig-link{
    padding: 4px 8px;
    font-size: 0.68rem;
    top: 6px;
    right: 6px;
  }
  html[lang="ar"] .card .frame .ig-link{
    right: auto;
    left: 6px;
  }
  /* How ordering works (compact mobile) */
  .how-band{
    padding: 24px 16px 20px;
  }
  .how-header{
    margin-bottom: 12px;
  }
  .how-header h2{
    font-size: 1.25rem;
  }
  .how-header p{
    font-size: 0.78rem;
  }
  .how-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .how-step{
    padding: 10px 10px 12px;
  }
  .how-step-top{
    margin-bottom: 6px;
  }
  .how-step-icon{
    width: 26px;
    height: 26px;
  }
  .how-step-icon svg{
    width: 14px;
    height: 14px;
  }
  .how-step-num{
    font-size: 0.8rem;
  }
  .how-step h3{
    font-size: 0.82rem;
  }
  .how-step p{
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Real customers */
  .reviews-band{
    padding: 44px 16px 36px;
  }
  .reviews-header-wrap{
    margin-bottom: 18px;
  }
  .reviews-header h2{
    font-size: 1.65rem;
    line-height: 1.1;
  }
  .reviews-header p{
    font-size: 0.88rem;
  }
  .reviews-controls{
    display: none;
  }
  .review-card{
    flex: 0 0 250px;
  }
  .reviews-social-invite{
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 14px;
    gap: 10px;
  }
  .reviews-social-badges{
    width: 100%;
  }
  .reviews-social-link{
    flex: 1;
    justify-content: center;
  }
  .nav-social-link{
    display: none;
  }

  /* CTA Band */
  .cta-band{
    padding: 36px 16px;
  }
  .cta-band h2{
    font-size: 1.65rem;
    line-height: 1.1;
  }
  .cta-band p{
    font-size: 0.88rem;
    margin-bottom: 18px;
  }
  .cta-band button{
    width: 100%;
    max-width: 300px;
    min-height: 46px;
  }
  /* Delivery & Exchanges */
  .delivery-band{
    padding: 30px 16px;
  }
  .delivery-card{
    padding: 18px 14px 16px;
  }
  .delivery-title{
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  .delivery-list{
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .delivery-list::-webkit-scrollbar{
    display: none;
  }
  .delivery-item{
    flex: 0 0 85%;
    min-width: 250px;
    scroll-snap-align: start;
    padding: 12px 14px;
    gap: 10px;
  }
  .delivery-item-icon{
    width: 26px;
    height: 26px;
  }
  .delivery-item-icon svg{
    width: 15px;
    height: 15px;
  }
  .delivery-item-text{
    font-size: 0.82rem;
    line-height: 1.4;
  }

  /* Footer */
  footer{
    padding: 32px 16px 28px !important;
  }
  .footer-wa-link{
    font-size: 0.86rem;
    gap: 6px;
  }
}

/* Modals & Dialogs on Mobile (Screens <= 640px) */
@media (max-width: 640px){
  .modal-overlay{
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .modal{
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px 18px calc(24px + env(safe-area-inset-bottom, 0px));
    max-height: 90dvh;
    max-height: 90vh;
    box-sizing: border-box;
    overscroll-behavior: contain;
    animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes modalSlideUp{
    from{ transform: translateY(100%); opacity: 0.8; }
    to{ transform: translateY(0); opacity: 1; }
  }
  .modal-header{
    margin-bottom: 16px;
  }
  .step-title{
    font-size: 1.22rem;
    line-height: 1.2;
  }
  .step-sub{
    font-size: 0.86rem;
    margin-bottom: 16px;
  }
  .field{
    margin-bottom: 14px;
  }
  .field label{
    font-size: 0.82rem;
  }
  .field input{
    font-size: 16px !important; /* 16px strictly prevents iOS Safari viewport auto-zoom */
    padding: 12px 12px;
  }
  .field-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .choice-row{
    gap: 8px;
    margin-bottom: 8px;
  }
  .choice-btn{
    min-width: 72px;
    min-height: 44px;
    padding: 12px 8px;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .wizard-actions{
    gap: 8px;
    margin-top: 6px;
  }
  .btn{
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.96rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn-outline{
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.94rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal-close{
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .upsell-modal{
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .upsell-title{
    font-size: 1.15rem;
  }
  .upsell-desc{
    font-size: 0.85rem;
    margin-bottom: 14px;
  }
  .upsell-color-section{
    padding: 10px;
    margin-bottom: 14px;
  }
  .cart-upsell-callout{
    padding: 10px 12px;
    gap: 8px;
  }
  .cart-upsell-callout .callout-text{
    font-size: 0.78rem;
  }
  .cart-upsell-callout .callout-text strong{
    font-size: 0.84rem;
  }
  .cart-upsell-callout .callout-btn{
    padding: 6px 12px;
    font-size: 0.76rem;
  }
  .floating-cart-bar{
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    padding: 10px 18px;
    font-size: 0.88rem;
    max-width: calc(100% - 32px);
  }
}

/* Very compact phones (<= 360px) */
@media (max-width: 360px){
  .deals-cards-grid{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .deal-card{
    padding: 10px 12px;
  }
  .grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .card .frame{
    aspect-ratio: 4/5;
  }
  .card .name{
    font-size: 0.96rem;
  }
  .card .material{
    font-size: 0.78rem;
  }
  .card .price{
    font-size: 1rem;
  }
  .card .order-btn{
    min-height: 44px;
    font-size: 0.88rem;
  }
}

/* Deal dual-color selection */
.deal-color-section{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.deal-color-group{
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.deal-color-label{
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.deal-color-label .badge-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}
.deal-piece-product-row{
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.deal-piece-product-btn{
  flex: 1;
  min-width: 80px;
  padding: 8px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.deal-piece-product-btn.selected{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.deal-piece-tag{
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(10,10,10,0.08);
  padding: 2px 7px;
  border-radius: 4px;
  margin-inline-start: auto;
}

/* Custom Location Notice */
.location-custom-notice{
  background: #F4F6F8;
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink);
}
.location-custom-notice svg{
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.75;
}

/* ---------- WELCOME OFFER BAR ---------- */
.welcome-offer-bar{
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  flex-wrap: wrap;
  cursor: pointer;
  transition: background 0.15s ease;
}
.welcome-offer-bar:hover{
  background: #222;
}
.welcome-offer-bar .welcome-cta{
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  font-weight: 700;
}
.welcome-offer-bar.used{
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: default;
  pointer-events: none;
}

/* ---------- WELCOME BUNDLE DEAL CARD ---------- */
.deal-card.deal-card-welcome{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  grid-column: span 2;
}
.deal-card.deal-card-welcome .deal-card-name{
  color: rgba(255,255,255,0.7);
}
.deal-card.deal-card-welcome .deal-card-offer{
  color: var(--paper);
  font-size: 1.2rem;
}
.deal-card.deal-card-welcome .deal-card-save{
  background: var(--paper);
  color: var(--ink);
}
.deal-card.deal-card-welcome .deal-card-cta{
  color: rgba(255,255,255,0.85);
}
.deal-card.deal-card-welcome:hover{
  background: #1a1a1a;
  border-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ---------- REVIEW STEP THUMBNAILS ---------- */
.review-item-row{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.review-item-row:last-of-type{
  border-bottom: none;
}
.review-item-thumb{
  width: 42px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-deep);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-item-thumb img,
.review-item-thumb video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-item-details{
  flex: 1;
  min-width: 0;
}
.review-item-name{
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-item-meta{
  font-size: 0.8rem;
  color: rgba(10,10,10,0.55);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1px;
}
.review-item-meta .size-tag{
  font-weight: 700;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 5px;
  font-size: 0.76rem;
}
.review-item-price{
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-inline-start: auto;
  align-self: center;
  flex-shrink: 0;
}

/* ---------- WELCOME SAVINGS CALLOUT IN CART / REVIEW ---------- */
.welcome-savings-banner{
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}
.welcome-savings-banner .savings-icon{
  font-size: 1.2rem;
  flex-shrink: 0;
}
.welcome-savings-banner .savings-text{
  flex: 1;
}
.welcome-savings-banner .savings-amount{
  font-family: var(--font-display);
  font-size: 1rem;
}
.welcome-savings-tag{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Upsell product selection */
.upsell-product-section{
  width: 100%;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 10px;
  text-align: inherit;
}
.upsell-product-section .choice-row{
  margin-bottom: 0;
}

@media (max-width: 640px){
  .welcome-offer-bar{
    font-size: 0.84rem;
    padding: 11px 16px;
    gap: 8px;
  }
  .review-item-thumb{
    width: 36px;
    height: 44px;
    border-radius: 5px;
  }
  .review-item-name{
    font-size: 0.84rem;
  }
  .review-item-meta{
    font-size: 0.76rem;
  }
  .review-item-price{
    font-size: 0.84rem;
  }
}

