@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; }
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{
  justify-self: 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{
  -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: 5px;
  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);
}
.lang-btn:hover{
  background: var(--ink, #0A0A0A);
  color: var(--paper, #FFFFFF);
  border-color: var(--ink, #0A0A0A);
}

/* ---------- 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 .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;
}

/* ---------- 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;
}

@media (max-width: 720px){
  .why-band{ padding: 52px 20px 48px; }
  .why-grid{ grid-template-columns: 1fr; gap: 24px; }
  .why-item{
    border-inline-start: none;
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(255,255,255,0.16);
  }
  .why-item:first-child{
    padding: 0 0 22px;
  }
  .why-item:last-child{
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ---------- PRODUCTS ---------- */
.section-label{
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(10,10,10,0.55);
  margin-bottom: 22px;
}
.products{ padding: 20px 28px 60px; max-width: 1080px; margin: 0 auto; }
.grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.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 .price{ color: rgba(10,10,10,0.6); font-size: 0.92rem; margin-top: 2px; }
.card .order-btn{
  margin-top: 10px;
  display:inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
}

/* ---------- 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;
}

/* ---------- 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;
}

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.55);
  z-index: 100;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.open{ display:flex; }
.modal{
  background: var(--paper);
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  padding: 24px 28px 32px;
  position: relative;
  animation: slideUp 0.22s ease;
}
@media (min-width: 640px){
  .modal-overlay{ align-items: center; }
  .modal{ border-radius: 14px; }
}
@keyframes slideUp{ from{ transform: translateY(24px); opacity:0; } to{ transform: translateY(0); 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; }
.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{ opacity: 0.35; 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; }

/* ---------- 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;
}

@media (max-width: 720px){
  .hero{ grid-template-columns: 1fr; gap: 20px; padding: 40px 20px 28px; }
  .hero .tag{ justify-self: start; }
  .trust-bar{ padding: 20px 20px 0; }
  .products{ padding: 12px 20px 48px; }
  .grid{ grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .cta-band{ padding: 44px 20px; }
  .nav-links a{ display:none; }
  .field-row{ grid-template-columns: 1fr; gap: 0; }
}
