:root{
  --bg: #F6F1EA;
  --surface: rgba(255,255,255,.80);
  --surface-strong: #FFFFFF;
  --text: #1B1B1B;
  --muted: #6B6B6B;
  --line: rgba(27,27,27,.10);

  --accent: #B79A62;
  --accent2: #1F2A2E;

  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.10);
  --shadowSoft: 0 10px 30px rgba(0,0,0,.08);

  --container: 1120px;
  --transition-smooth: all .18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(900px 550px at 85% 10%, #ffffff 0%, var(--bg) 65%),
    radial-gradient(700px 450px at 10% 85%, #F2F6F7 0%, transparent 60%),
    var(--bg);
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--accent); }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.rtl{ direction: rtl; }
.row{ display:flex; gap: 22px; flex-wrap: wrap; }
.hidden{ display:none; }

::selection{ background: rgba(183,154,98,.35); }
:focus-visible{
  outline: 3px solid rgba(183,154,98,.55);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 10px;
}
.brand{ display:flex; align-items:center; gap: 12px; flex-shrink: 0; }
.brand img{ height: 75px; width:auto; display:block; }
@media (max-width: 560px){ .brand img{ height: 54px; } }

.nav{ display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.nav a{
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--accent2);
  transition: .2s ease;
}
.nav a:hover{ background: rgba(183,154,98,.12); }
.nav a.active{ background: rgba(31,42,46,.08); }

.actions{ display:flex; gap: 10px; align-items:center; flex-shrink: 0; }
.pill{
  display:inline-flex; align-items:center; gap:10px;
  border: 1px solid rgba(183,154,98,.45);
  background: rgba(255,255,255,.7);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadowSoft);
  white-space: nowrap;
}
.pill small{ font-weight: 700; color: var(--muted); }

/* Hero */
.hero{ padding: 34px 0 10px; }
.hero-card{
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 0; }
.hero-media{ min-height: 360px; background: #fff; display:flex; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-content{
  padding: 34px;
  display:flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.kicker{ color: var(--accent); font-weight: 900; letter-spacing: .3px; }
.h1{
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.2;
  color: var(--accent2);
  font-weight: 900;
  letter-spacing: -0.3px;
}
.lead{ margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; letter-spacing: -0.2px; }

/* Buttons (single source of truth) */
.cta-row{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; align-items: center; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  height:44px;
  padding:0 18px;

  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.72);

  font-family: inherit;
  font-size:16px;
  font-weight:900;
  line-height:1;
  color: var(--accent2);

  text-decoration:none;
  cursor:pointer;
  user-select:none;

  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  min-width:140px;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  color: inherit; 
}
.btn:active{ transform: translateY(0px); box-shadow: none; }

.btn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px rgba(183,154,98,.28);
}

.btn.primary{
  border-color: rgba(183,154,98,.55);
  background: rgba(183,154,98,.92);
  color: #111;
}
.btn.primary:hover{ background: rgba(183,154,98,1); color: #111; }

.btn.wa{
  border-color: rgba(183,154,98,.55);
  background: rgba(183,154,98,.92);
  color:#111;
}
.btn.wa:hover{ color:#111; }

/* disabled */
.btn.disabled,
.btn:disabled{
  opacity:.58;
  pointer-events:none;
  filter: grayscale(.1);
}

@media (max-width:620px){
  .btn{ min-width:0; font-size: 15px; padding: 0 14px; height: 44px; }
  .cta-row{ flex-direction: column; }
  .cta-row .btn{ width: 100%; justify-content: center; }
  /* Hero: show only primary CTA on mobile */
  .hero .cta-row .btn:not(.primary){ display: none; }
}
@media (max-width:520px){
  .section{ padding: 36px 0; }
}

/* Trust chips */
.trust{ display:flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.trust .chip{
  display:inline-flex; gap:10px; align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.55);
  color: var(--accent2);
  font-weight: 900;
}

/* Sections */
.section{ padding: 66px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px;
}
@media (max-width: 620px){
  .section-head{
    flex-direction: column;
    align-items: stretch;
  }
  .section-head .cta-row{
    flex-direction: row;
  }
  .section-head .cta-row .btn{
    flex: 1 1 0%;
    width: auto;
  }
}
.h2{ margin: 0; color: var(--accent2); font-size: 26px; font-weight: 900; letter-spacing: -0.3px; }
.sub{ margin: 0; color: var(--muted); max-width: 720px; line-height: 1.85; font-size: 15px; }

/* Inputs (global) */
.select, .input{
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.86);
  padding: 12px 14px;
  outline: none;
  min-height: 44px;
}
.select:focus-visible, .input:focus-visible{
  outline: 3px solid rgba(183,154,98,.55);
  outline-offset: 2px;
}
.input{ min-width: 220px; }

/* Grid */
.grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media{ min-height: 240px; max-height: 340px; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .product-wrap{ gap: 16px; }
}
@media (max-width: 768px){
  .section{ padding: 44px 0; }
  .h1{ font-size: clamp(22px, 5vw, 32px); }
}
@media (max-width: 620px){
  .container{ width: min(var(--container), calc(100% - 24px)); }
  .hero-content{ padding: 18px; gap: 12px; }
  .hero-media{ min-height: 200px; max-height: 280px; }
  .grid{ grid-template-columns: 1fr; }
  .h2{ font-size: 22px; }
  .sub{ font-size: 14px; }
  .lead{ font-size: 14px; }
}
@media (max-width: 420px){
  .hero-media{ min-height: 180px; max-height: 240px; }
  .hero-content{ padding: 16px; gap: 10px; }
  .container{ width: min(var(--container), calc(100% - 20px)); }
}

/* Cards */
.card{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadowSoft);
  transition: .18s ease;
}
.card:hover{ transform: translateY(-2px); }
.card .media{
  aspect-ratio: 4 / 5;
  background: #fff;
  position: relative;
}
.card .media img{ width: 100%; height: 100%; object-fit: cover; display:block; }
.card .body{
  padding: 16px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.card .row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  flex-wrap:nowrap;
}
.title{ margin: 0; font-weight: 1000; color: var(--accent2); line-height: 1.3; font-size: 17px; }
.meta{
  display:flex;
  justify-content: space-between;
  align-items:center;
  color: var(--muted);
  font-weight: 800;
  gap: 10px;
}
.badge{
  display:inline-flex; align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(183,154,98,.40);
  background: rgba(183,154,98,.12);
  color: var(--accent2);
  font-weight: 900;
  white-space: nowrap;
}
.price-strong{ font-weight: 1000; color: var(--accent2); }

/* SOLD state */
.card.sold{ opacity: .92; }
.card.sold .media img{ filter: saturate(.9) contrast(.98); }
.sold-tag{
  position:absolute;
  top:12px;
  right:12px;
  background: rgba(31,42,46,.90);
  color:#fff;
  font-weight:1000;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .2px;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* Product page */
.product-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 980px){ .product-wrap{ grid-template-columns: 1fr; } }

.panel{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.80);
  box-shadow: var(--shadowSoft);
  padding: 20px;
}

.product-img{
  /* product image wrapper */
  background: transparent;
  border: 0;
}

/* main image frame */
.product-main{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  aspect-ratio: 4 / 5;
}

/* main product image */
.product-main-img{
  width:100%;
  height:100%;
  object-fit: contain;
  display:block;
}

/* Mobile: free aspect ratio so each cover displays at its natural proportions
   (cover images are inconsistent: 4:5, 4:3, 1:1, 3:4 — uniform letterbox is impossible).
   No frame, no fixed height: image takes full width, height follows nature. */
@media (max-width: 680px){
  .product-main{
    aspect-ratio: auto;
    background: transparent;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
  }
  .product-main-img{
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 18px;
  }
}

.hr{ height:1px; background: rgba(0,0,0,.10); margin: 14px 0; border:0; }
.price{ font-size: 18px; font-weight: 1000; color: var(--accent2); letter-spacing: -0.3px; }
.note{ color: var(--muted); line-height: 1.6; font-size: 15px; }

.size-row{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.size-btn{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,.13);
  background: #fff;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  min-width: 90px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.size-btn__dim{
  font-weight: 900;
  font-size: 15px;
  color: var(--accent2);
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.size-btn__price{
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.2;
}
.size-btn:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.10); border-color: rgba(183,154,98,.50); }
.size-btn.active{
  border-color: rgba(183,154,98,.85);
  background: rgba(183,154,98,.12);
  box-shadow: 0 2px 8px rgba(183,154,98,.20);
}
.size-btn.active .size-btn__dim{ color: #8a6a2a; }
.size-btn.active .size-btn__price{ color: #a07c38; }

/* Size buttons: ensure they always fit inside the panel on small screens
   (the original min-width:90px + padding:18px easily overflowed at <380px).
   At <=520px: 3 per row. At <=360px: 2 per row. Never cut off. */
@media (max-width: 520px){
  .size-row{ gap: 8px; }
  .size-btn{
    min-width: 0;
    padding: 9px 12px;
    flex: 1 1 calc(33.333% - 6px);
    box-sizing: border-box;
  }
  .size-btn__dim{ font-size: 14px; }
  .size-btn__price{ font-size: 11.5px; }
}
@media (max-width: 360px){
  .size-btn{ flex-basis: calc(50% - 4px); padding: 8px 10px; }
}

/* Thumbnails */
.thumbs{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 520px){
  .thumbs{ grid-template-columns: repeat(4, 1fr); }
}
.thumb{
  border:1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  padding: 0;
  overflow:hidden;
  cursor:pointer;
  transition: .18s ease;
}
.thumb img{ width:100%; height:78px; object-fit:cover; display:block; }
.thumb.active{
  border-color: rgba(183,154,98,.75);
  box-shadow: 0 10px 20px rgba(0,0,0,.10);
}

/* Footer */
.footer{
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}


.product-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.product-actions .btn{ flex: 1 1 auto; }
@media (max-width: 680px){
  .product-actions{
    position: sticky;
    bottom: 10px;
    background: rgba(246,241,234,.82);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: var(--shadowSoft);
    z-index: 3;
  }
  .product-actions .btn{
    flex: 1 1 100%;
    justify-content: center;
  }
  .product-actions .btn.primary{ order: 1; }
  .product-actions [data-ask-wa]{ order: 2; }
}
@media (max-width: 420px){
  .thumbs{
    grid-auto-flow: column;
    grid-template-columns: unset;
    grid-auto-columns: 84px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 6px;
  }
  .thumb{ min-width: 84px; }
  .thumb img{ height: 70px; }
}

/* Customer home photos section on product page */
.home-photos-section{
  margin-top:48px;
  border-top:1px solid rgba(183,154,98,.2);
  padding-top:32px;
}
.home-photos-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:18px;
}
.home-photo{
  margin:0;
  overflow:hidden;
  border-radius:12px;
  background:rgba(255,255,255,.6);
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.home-photo:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.home-photo img{
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
  display:block;
  border-radius:12px;
}
@media (max-width:680px){
  .home-photos-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .home-photos-section{
    margin-top:32px;
    padding-top:24px;
  }
}
@media (max-width:420px){
  .home-photos-grid{
    grid-template-columns:1fr;
  }
}

/* Lift floating WhatsApp button when sticky buy bar is visible */
body.dnj-buybar-on .wa-float{
  bottom:90px;
}
@media (max-width:520px){
  body.dnj-buybar-on .wa-float{
    bottom:84px;
  }
}

/* Swipe hint label for gallery on touch devices */
.gallery-swipe-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  opacity: .75;
}
@media (max-width: 680px) {
  .gallery-swipe-hint { display: block; }
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav{
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-nav a{
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-nav a:hover{
  color: var(--accent);
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent2);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(183,154,98,.12);
  border: 1px solid rgba(183,154,98,.30);
  transition: var(--transition-smooth);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.footer-email:hover {
  background: rgba(183,154,98,.22);
  border-color: rgba(183,154,98,.60);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183,154,98,.15);
}

.footer-email svg {
  opacity: 0.9;
}

/* Social Icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(183,154,98,.12);
  border: 1px solid rgba(183,154,98,.30);
  color: var(--accent2);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: rgba(183,154,98,.22);
  border-color: rgba(183,154,98,.60);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183,154,98,.15);
  color: var(--accent);
}

.social-icon svg {
  opacity: 0.9;
}

.footer-copy{
  font-size: 13px;
  opacity: .8;
  white-space: nowrap;
  font-weight: 600;
}

/* mobile footer */
@media (max-width: 820px){
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }
  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-copy{
    white-space: normal;
  }
}
@media (max-width: 480px){
  .footer-nav{
    flex-direction: column;
    gap: 6px;
  }
  .footer-contact{
    flex-direction: column;
    gap: 10px;
  }
}

/* Mobile nav toggle */
.burger{
  display:none;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.8);
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 1000;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 860px){
  .burger{ display:inline-flex; }
  .header-inner{
    flex-wrap: wrap;
    position: relative;
  }
  .nav{
    display:none;
    width: 100%;
    order: 10;
  }
  .nav.open{
    display:flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: var(--shadowSoft);
    padding: 8px;
    margin-top: 4px;
    gap: 2px;
  }
  .nav.open a{
    padding: 12px 16px;
    border-radius: 12px;
    text-align: right;
    font-size: 15px;
  }
  .nav.open a:hover,
  .nav.open a.active{
    background: rgba(183,154,98,.12);
  }
}

.hidden { 
  display: none !important; 
}

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 150%);
  background: var(--accent2);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  z-index: 1100;
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  white-space: nowrap;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

/* On mobile, lift toast above sticky buy bar */
@media (max-width: 680px) {
  .toast { bottom: 76px; }
}


/* =========================
   Trustbar (Home) - Fix giant SVGs + responsive layout
   ========================= */
.trustbar{ padding: 18px 0; }
.trustbar-inner{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.trustitem{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.55);
  color: var(--accent2);
  font-weight: 900;
  line-height: 1.2;
}
.trusticon{
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display:block;
}
@media (max-width: 720px){
  .trustbar-inner{ justify-content: center; }
  .trustitem{ font-size: 13px; padding: 10px 12px; }
}
@media (max-width: 480px){
  .trustbar-inner{ flex-direction: column; align-items: stretch; }
  .trustitem{ justify-content: center; font-size: 13px; }
}

/* =========================
   Cart (cart.js markup) - Missing styles + mobile UX
   ========================= */
.cart-layout{
  display:grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  align-items: start;
}
.cart-items{ display:flex; flex-direction:column; gap: 14px; }

.panel.cart-item{
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item__body{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cart-item__header{ display:flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }

@media (max-width: 560px){
  .cart-item__image-wrap{
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    flex: none;
  }
  .cart-item__body{ flex-direction: column; }
}

.cart-item__image-wrap{
  width: 112px;
  flex: 0 0 112px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.55);
}
.cart-item__image{ width:100%; height:auto; display:block; }

.cart-item__details{ flex:1; min-width: 0; }
.cart-item__title{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--accent2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item__size,
.cart-item__unit-price{ color: var(--muted); }

.cart-item__actions{
  display:flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.input.cart-item__qty-input{
  width: 92px;
  max-width: 100%;
  text-align:center;
}
@media (max-width: 560px){
  .input.cart-item__qty-input{ width: 100%; }
}

.cart-summary{ position: sticky; top: 86px; }
.cart-summary__row{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.cart-summary__total{ font-weight: 900; font-size: 18px; }

.cart-summary__form{ display:grid; gap: 10px; margin-top: 12px; }
.cart-summary__form-group{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.input.cart-summary__textarea{ min-height: 92px; resize: vertical; }

@media (max-width: 960px){
  .cart-layout{ grid-template-columns: 1fr; }
  .cart-summary{ position: static; top: auto; }
}

@media (max-width: 560px){
  .cart-summary__form-group{ grid-template-columns: 1fr; }
  .cta-row.cart-summary__actions{ flex-direction: column; }
  .cta-row.cart-summary__actions .btn{ width: 100%; justify-content:center; }
}



/* =========================
   Save-cart abandoned cart panel
   ========================= */
.save-cart-panel {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px dashed rgba(183,154,98,.45);
  background: rgba(183,154,98,.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.save-cart-title {
  font-weight: 900;
  font-size: 15px;
  color: var(--accent2);
}
.save-cart-desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.save-cart-tabs {
  display: flex;
  gap: 8px;
}
.save-cart-tab {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s ease;
  color: var(--accent2);
}
.save-cart-tab.active {
  background: rgba(183,154,98,.20);
  border-color: rgba(183,154,98,.55);
}
.save-cart-input {
  width: 100%;
  min-width: 0;
  border-radius: 12px !important;
  font-size: 15px;
}
.save-cart-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}
.save-cart-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.save-cart-submit { width: 100%; justify-content: center; }
.save-cart-msg {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
}
.save-cart-msg--ok  { background: #d4edda; color: #155724; }
.save-cart-msg--err { background: #f8d7da; color: #721c24; }
.save-cart-success {
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #155724;
  padding: 12px;
  background: #d4edda;
  border-radius: 10px;
}

/* =========================
   Contact page improvements
   ========================= */
.contact-layout{
  align-items: start;
}
.contact-layout .panel{
  min-width: 0;
}
.contact-layout form > div[style*="grid-template-columns: 1fr 1fr"]{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}
.contact-email-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.contact-email-link:hover{ color: var(--accent); }
textarea.input{
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  resize: vertical;
}
.contact-layout .btn{
  min-width: 0;
}
@media (max-width: 720px){
  .contact-layout form > div[style*="grid-template-columns: 1fr 1fr"]{
    grid-template-columns: 1fr !important;
  }
  .contact-layout .panel{
    padding: 16px;
  }
  .contact-layout .note,
  .contact-layout .small,
  .contact-layout .sub{
    overflow-wrap: anywhere;
  }
  .contact-layout [style*="display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;"]{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .contact-layout [style*="display:flex; gap:10px; flex-wrap:wrap;"]{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* =========================
   Shop gallery rendering stability
   ========================= */
@media (max-width: 720px){
  .panel [data-filter-kind],
  .panel select.input{
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   Utility classes
   ========================= */
.flex-1{ flex: 1 1 0%; }
.min-w-280{ min-width: 280px; }
.align-stretch{ align-items: stretch; }
.pt-0{ padding-top: 0 !important; }
.font-size-20{ font-size: 20px !important; }
.mb-10{ margin-bottom: 10px !important; }
.mt-12{ margin-top: 12px !important; }
.m-0{ margin: 0 !important; }

@media (max-width: 620px){
  .row.align-stretch{
    flex-direction: column;
  }
  .min-w-280{
    min-width: 0;
  }
  .flex-1{
    flex: none;
    width: 100%;
  }
}

/* Testimonial Slider */
.testimonial-slider-wrap{
  position: relative;
  padding: 0 8px;
}
.testimonial-slider{
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0;
  scrollbar-width: none;
  outline: none;
  border-radius: 20px;
}
.testimonial-slider::-webkit-scrollbar{ display: none; }
.testimonial-slider:focus-visible{ box-shadow: 0 0 0 3px rgba(183,154,98,.35); }

.testimonial-slide{
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-slide img{
  width: 100%;
  max-width: 620px;
  max-height: 380px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f5efe6;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  display: block;
}
.testimonial-caption{
  margin-top: 16px;
  padding: 0 14px;
  max-width: 640px;
  text-align: center;
}
.testimonial-caption p{
  margin: 0;
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: #2b2b2b;
}
.testimonial-caption .neutral{
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .2px;
}

.slider-nav{
  position: absolute;
  top: 32%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  color: var(--accent2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .15s ease;
  z-index: 2;
}
.slider-nav:hover,
.slider-nav:focus-visible{
  background: #fff;
  transform: translateY(-50%) scale(1.06);
  outline: none;
}
.slider-prev{ right: 6px; }
.slider-next{ left: 6px; }

.slider-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.slider-dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.18);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.slider-dot:hover{ background: rgba(0,0,0,.35); }
.slider-dot.active{
  background: var(--accent);
  transform: scale(1.25);
}
.slider-dot:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 620px){
  .testimonial-slide img{ aspect-ratio: 4 / 3; max-height: 260px; border-radius: 14px; }
  .slider-nav{ display: none; }
  .testimonial-caption p{ font-size: 16px; }
  .testimonial-slider-wrap{ padding: 0; }
}

/* =========================
   Related products + related articles grid (was inline 3-col)
   ========================= */
.related-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 760px){
  .related-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 420px){
  .related-grid{ grid-template-columns: 1fr; gap: 14px; }
}

/* =========================
   Mobile overflow safety net — fixes the "tilted left" perception
   ========================= */
@media (max-width: 620px){
  img, video, iframe{ max-width: 100%; height: auto; }
  .panel, .card, .note, .product-trust, .faq-a, .h2, .h1, .lead{
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .container{ width: min(var(--container), calc(100% - 20px)); }
}

/* =========================
   Mobile polish
   ========================= */
@media (max-width: 620px){
  .product-wrap{ gap: 14px; }
  /* Force consistent button alignment, even when inline overrides exist */
  .btn{
    min-height: 44px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .nav a{ min-height: 44px; display: inline-flex; align-items: center; }
  .product-actions{
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
  /* Symmetric inner padding so RTL text doesn't feel glued to the right edge */
  .panel{ padding: 18px 16px; }
  .product-trust{ gap: 8px 14px; }
  .product-trust > *{ font-size: 12.5px; }
  .h1, h1.h1{ line-height: 1.3; }
}
@media (max-width: 520px){
  .wa-float{ bottom: 18px; }
}

/* =========================
   Bulletproof mobile containment — prevents the "tilted left" overflow.
   Without min-width:0 on flex/grid children, long content forces them
   wider than the container regardless of overflow-x:hidden on body.
   ========================= */
@media (max-width: 620px){
  .product-wrap > *,
  .product-actions > *,
  .product-trust > *,
  .cta-row > *,
  .row > *,
  .grid > *,
  .related-grid > *,
  .home-photos-grid > *,
  .panel > *,
  .card > *,
  .footer-inner > *{
    min-width: 0;
    max-width: 100%;
  }
  .input{ min-width: 0; }
  /* SVG icons inside text spans must not push the row wider */
  span > svg, a > svg, button > svg{ flex-shrink: 0; }

  /* Panels and cards: hard cap to viewport, allow Hebrew/URL break */
  .panel,
  .card{
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .panel img,
  .panel video,
  .panel iframe{ max-width: 100% !important; height: auto; }

  /* Product trust line: clean wrap, no orphan svg */
  .product-trust{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: flex-start;
  }
  .product-trust > *{
    flex: 0 1 auto;
    font-size: 12.5px;
    white-space: nowrap;
  }
}
@media (max-width: 380px){
  .product-trust > *{ font-size: 12px; }
}

/* Catch all inline 2-column grids in blog/article pages — collapse to 1 col on mobile */
@media (max-width: 540px){
  div[style*="grid-template-columns:repeat(2,"]{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Print */
@media print {
  .header, .footer, .burger, .toast, .actions,
  .cta-row, .trustbar, [data-cart-count] { display: none !important; }
  body { background: #fff; color: #000; }
  .container { width: 100%; max-width: 100%; }
}
