@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&family=Baloo+2:wght@600;700;800&display=swap');

:root{
  --bg:#fffaf3;
  --surface:#ffffff;
  --surface-2:#fff2dc;
  --text:#35142c;
  --muted:#725d6c;
  --brand:#a02b66;
  --brand-2:#e64f86;
  --yellow:#ffd83d;
  --mint:#83d7c7;
  --orange:#f39b29;
  --line:rgba(98,36,73,.12);
  --shadow:0 22px 60px rgba(80,24,56,.12);
  --shadow-sm:0 10px 28px rgba(80,24,56,.09);
  --radius:28px;
  --radius-sm:18px;
  --header-h:84px;
  --ease:cubic-bezier(.2,.8,.2,1);
}

html[data-theme="berry"]{
  --bg:#3b1735;
  --surface:#4a2141;
  --surface-2:#5a294d;
  --text:#fff8ec;
  --muted:#e0bfd0;
  --brand:#ff7cae;
  --brand-2:#ff9fc2;
  --yellow:#ffd85c;
  --mint:#8ddfd0;
  --orange:#ffb34b;
  --line:rgba(255,240,247,.12);
  --shadow:0 24px 70px rgba(37,10,30,.34);
  --shadow-sm:0 10px 28px rgba(37,10,30,.26);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Alexandria',system-ui,sans-serif;
  direction:rtl;
  overflow-x:hidden;
  transition:background .35s var(--ease),color .35s var(--ease);
}
body::selection{background:var(--yellow);color:#4c1a37}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.section{padding:88px 0}
.section-tight{padding:56px 0}
.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.12em;color:var(--brand);text-transform:uppercase;margin-bottom:14px}
.section-title{font-size:clamp(2rem,4.8vw,4.35rem);line-height:1.32;letter-spacing:-.04em;margin:0 0 18px;font-weight:800}
.section-sub{max-width:720px;color:var(--muted);font-size:1.02rem;line-height:2;margin:0}

/* Header */
.top-strip{
  background:var(--brand);
  color:#fff;
  text-align:center;
  padding:9px 12px;
  font-size:.82rem;
  font-weight:600;
  position:relative;
  z-index:60;
}
.site-header{
  position:sticky;top:12px;z-index:50;
  width:min(1180px,calc(100% - 28px));
  margin:12px auto 0;
}
.header-shell{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;
  min-height:var(--header-h);padding:10px 14px 10px 18px;
  border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 90%, transparent);
  backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
  box-shadow:var(--shadow-sm);border-radius:26px;
}
.logo-link{display:flex;align-items:center;min-width:170px}
.logo-link img{width:165px;height:58px;object-fit:contain;object-position:center}
.main-nav{display:flex;align-items:center;justify-content:center;gap:3px}
.main-nav a{padding:12px 13px;border-radius:14px;font-size:.9rem;font-weight:700;color:var(--muted);transition:.22s}
.main-nav a:hover,.main-nav a.active{background:var(--surface-2);color:var(--brand)}
.header-actions{display:flex;align-items:center;gap:8px;direction:ltr}
.icon-btn{
  width:46px;height:46px;border:1px solid var(--line);background:var(--surface);color:var(--text);
  border-radius:15px;display:grid;place-items:center;position:relative;transition:.2s var(--ease);
}
.icon-btn:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--brand) 36%, var(--line));color:var(--brand)}
.badge{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;border-radius:999px;padding:0 5px;background:var(--brand);color:#fff;font-size:.68rem;display:grid;place-items:center;font-weight:800;border:2px solid var(--surface)}
.mobile-menu-btn{display:none}

/* Hero */
.hero{padding:42px 0 64px;position:relative}
.hero::before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:var(--yellow);filter:blur(0);opacity:.18;top:-120px;left:-260px;z-index:-1}
.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:34px;align-items:stretch}
.hero-copy{
  background:var(--brand);color:white;border-radius:44px 44px 44px 14px;padding:clamp(34px,5vw,68px);
  min-height:590px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;box-shadow:var(--shadow)
}
.hero-copy::after{content:"";position:absolute;width:240px;height:240px;background:var(--yellow);border-radius:50%;left:-90px;bottom:-110px;opacity:.95}
.hero-copy::before{content:"";position:absolute;width:160px;height:160px;border:3px solid rgba(255,255,255,.25);border-radius:50%;left:110px;bottom:40px}
.hero-kicker{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;font-weight:700;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);padding:9px 13px;border-radius:999px;width:max-content;margin-bottom:20px}
.hero h1{font-size:clamp(3rem,6.8vw,6.7rem);line-height:1.18;letter-spacing:-.055em;margin:0 0 24px;max-width:690px;position:relative;z-index:2}
.hero p{font-size:1.05rem;line-height:2;color:#fff4f8;max-width:590px;margin:0 0 30px;position:relative;z-index:2}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;position:relative;z-index:2}
.btn{border:none;border-radius:16px;padding:14px 20px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.22s var(--ease)}
.btn-primary{background:var(--yellow);color:#4c1a37;box-shadow:0 12px 30px rgba(255,216,61,.2)}
.btn-primary:hover{transform:translateY(-3px) scale(1.01)}
.btn-light{background:#fff;color:#5f1747}
.btn-soft{background:var(--surface-2);color:var(--brand);border:1px solid var(--line)}
.btn-ghost{background:transparent;color:inherit;border:1px solid currentColor;opacity:.9}
.hero-visual{display:grid;grid-template-rows:1.2fr .8fr;gap:18px;min-height:590px}
.photo-card{position:relative;overflow:hidden;border-radius:42px 14px 42px 42px;box-shadow:var(--shadow);background:var(--surface)}
.photo-card img{width:100%;height:100%;object-fit:cover;transition:transform .75s var(--ease)}
.photo-card:hover img{transform:scale(1.06)}
.photo-label{position:absolute;bottom:18px;right:18px;background:color-mix(in srgb,var(--surface) 90%,transparent);backdrop-filter:blur(14px);color:var(--text);padding:13px 16px;border-radius:16px;font-size:.84rem;font-weight:800;border:1px solid var(--line)}
.hero-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mini-card{border-radius:28px;overflow:hidden;position:relative;background:var(--surface);box-shadow:var(--shadow-sm);min-height:180px}
.mini-card img{width:100%;height:100%;object-fit:cover}
.mini-card.brand-tile{background:var(--yellow);display:flex;align-items:center;justify-content:center;padding:24px}
.mini-card.brand-tile img{object-fit:contain;width:82%;height:auto}

/* Category chips */
.category-row{display:flex;gap:10px;overflow:auto;padding:4px 2px 14px;scrollbar-width:none}
.category-row::-webkit-scrollbar{display:none}
.category-chip{white-space:nowrap;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:11px 15px;border-radius:999px;font-weight:700;font-size:.87rem;transition:.2s}
.category-chip.active,.category-chip:hover{background:var(--brand);color:#fff;border-color:var(--brand)}

/* Product cards */
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}
.product-card{background:var(--surface);border:1px solid var(--line);border-radius:25px;padding:12px;box-shadow:var(--shadow-sm);transition:.28s var(--ease);position:relative;overflow:hidden}
.product-card:hover{transform:translateY(-7px);box-shadow:var(--shadow)}
.product-image{aspect-ratio:1/1;border-radius:19px;overflow:hidden;background:var(--surface-2);position:relative}
.product-image img{width:100%;height:100%;object-fit:cover;transition:.5s var(--ease)}
.product-card:hover .product-image img{transform:scale(1.055)}
.wish-btn{position:absolute;top:12px;left:12px;width:40px;height:40px;border-radius:13px;border:none;background:rgba(255,255,255,.9);display:grid;place-items:center;color:#5e3450;box-shadow:0 5px 18px rgba(0,0,0,.08);z-index:2}
.wish-btn.active{background:var(--brand);color:#fff}
.product-tag{position:absolute;bottom:10px;right:10px;background:rgba(255,255,255,.9);color:#5d2147;padding:7px 9px;border-radius:10px;font-size:.69rem;font-weight:800}
.product-body{padding:16px 7px 7px}
.product-title{font-size:1rem;line-height:1.6;margin:0 0 6px;font-weight:800}
.product-desc{font-size:.78rem;line-height:1.7;color:var(--muted);height:2.7em;overflow:hidden;margin:0 0 12px}
.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}
.price{font-weight:900;color:var(--brand);font-size:1.06rem;direction:ltr}
.add-btn{width:42px;height:42px;border-radius:13px;border:none;background:var(--brand);color:#fff;display:grid;place-items:center;transition:.2s}
.add-btn:hover{transform:scale(1.06);background:var(--brand-2)}

/* Feature band */
.feature-band{display:grid;grid-template-columns:1.3fr .7fr;background:var(--yellow);color:#4b1937;border-radius:40px;overflow:hidden;min-height:380px}
.feature-content{padding:50px;display:flex;flex-direction:column;justify-content:center}
.feature-content h2{font-size:clamp(2.2rem,4.5vw,4.7rem);line-height:1.32;margin:0 0 18px;letter-spacing:-.05em}
.feature-content p{line-height:2;margin:0 0 24px;max-width:660px;color:#6c3653}
.feature-photo img{width:100%;height:100%;object-fit:cover}

/* Branches */
.branches-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:30px}
.branch-card{border:1px solid var(--line);background:var(--surface);border-radius:28px;padding:26px;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.branch-card::before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:var(--yellow);opacity:.16;left:-35px;top:-45px}
.branch-city{display:inline-flex;padding:7px 10px;border-radius:999px;background:var(--surface-2);color:var(--brand);font-weight:800;font-size:.75rem;margin-bottom:15px}
.branch-card h3{font-size:1.35rem;line-height:1.6;margin:0 0 10px}
.branch-card p{color:var(--muted);line-height:1.9;margin:0 0 18px;font-size:.9rem}
.branch-actions{display:flex;gap:8px;flex-wrap:wrap}

/* Editorial/Story */
.story-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:26px;align-items:center}
.story-image{border-radius:42px;overflow:hidden;min-height:520px;box-shadow:var(--shadow)}
.story-image img{width:100%;height:100%;object-fit:cover}
.story-copy{padding:24px}
.story-points{display:grid;gap:12px;margin-top:28px}
.story-point{display:flex;gap:13px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);padding:17px;border-radius:18px}
.story-icon{flex:0 0 42px;height:42px;border-radius:13px;background:var(--yellow);display:grid;place-items:center;color:#59203e}
.story-point h4{margin:0 0 5px;font-size:.95rem}.story-point p{margin:0;color:var(--muted);line-height:1.8;font-size:.84rem}

/* Search bar */
.shop-toolbar{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;margin:30px 0 8px}
.search-box{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);padding:0 15px;border-radius:17px;height:52px}
.search-box input{width:100%;border:0;outline:none;background:transparent;color:var(--text)}
.sort-select{height:52px;border-radius:17px;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:0 15px;outline:none}

/* Page hero */
.page-hero{padding:52px 0 28px}
.page-hero-shell{background:var(--surface-2);border-radius:36px;padding:48px;display:grid;grid-template-columns:1fr auto;align-items:end;gap:20px;border:1px solid var(--line)}
.page-hero h1{font-size:clamp(2.6rem,6vw,5.6rem);line-height:1.3;margin:0 0 12px;letter-spacing:-.05em}.page-hero p{color:var(--muted);line-height:2;margin:0;max-width:700px}

/* Product detail */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}
.product-detail-media{background:var(--surface);border:1px solid var(--line);border-radius:36px;padding:14px;position:sticky;top:120px;box-shadow:var(--shadow-sm)}
.product-detail-media img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:27px}
.product-info{padding:20px 10px}.product-info h1{font-size:clamp(2.4rem,5vw,4.8rem);line-height:1.3;margin:0 0 14px}.product-info>p{color:var(--muted);line-height:2}
.size-options{display:flex;gap:10px;margin:22px 0}.size-option{flex:1;border:1px solid var(--line);background:var(--surface);padding:14px;border-radius:16px;color:var(--text);font-weight:800}.size-option.active{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 12%,transparent);color:var(--brand)}
.qty-row{display:flex;gap:12px;align-items:center;margin:18px 0}.qty-control{display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:15px;overflow:hidden}.qty-control button{border:0;background:transparent;color:var(--text);width:42px;height:46px}.qty-control span{min-width:36px;text-align:center;font-weight:800}

/* Cart Drawer */
.overlay{position:fixed;inset:0;background:rgba(36,11,29,.36);backdrop-filter:blur(4px);z-index:90;opacity:0;visibility:hidden;transition:.25s}
.overlay.open{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;bottom:0;left:0;width:min(430px,94vw);background:var(--bg);z-index:100;transform:translateX(-102%);transition:.35s var(--ease);box-shadow:30px 0 70px rgba(30,5,23,.22);display:flex;flex-direction:column}
.drawer.open{transform:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--line)}
.drawer-head h3{margin:0;font-size:1.25rem}.drawer-items{padding:16px;overflow:auto;flex:1}.cart-item{display:grid;grid-template-columns:74px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.cart-item img{width:74px;height:74px;object-fit:cover;border-radius:15px}.cart-item h4{margin:0 0 6px;font-size:.9rem}.cart-item p{margin:0;color:var(--muted);font-size:.75rem}.remove-item{border:0;background:transparent;color:var(--brand);font-size:1.1rem}.drawer-foot{padding:18px;border-top:1px solid var(--line);background:var(--surface)}.cart-total{display:flex;justify-content:space-between;font-weight:900;margin-bottom:13px}.drawer-foot .btn{width:100%}
.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}
.empty-state svg{width:54px;height:54px;margin:0 auto 14px;color:var(--brand)}

/* Checkout */
.checkout-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:26px;align-items:start}.form-card,.summary-card{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:26px;box-shadow:var(--shadow-sm)}.form-card h2,.summary-card h2{margin:0 0 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:.8rem;font-weight:700;color:var(--muted)}.field input,.field select,.field textarea{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:14px;padding:13px;outline:none}.field textarea{min-height:100px;resize:vertical}.summary-card{position:sticky;top:118px}.summary-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.88rem}.summary-total{font-size:1.15rem;font-weight:900;color:var(--brand)}

/* Footer */
.footer{padding:26px 0 104px}.footer-shell{background:#f3d9e4;color:#4f1738;border-radius:42px 42px 14px 42px;padding:48px;position:relative;overflow:hidden}.footer-shell::after{content:"";position:absolute;width:260px;height:260px;background:var(--yellow);border-radius:50%;left:-100px;bottom:-150px}.footer-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr .8fr;gap:28px;position:relative;z-index:2}.footer-brand img{width:190px;margin-bottom:13px}.footer-brand p{line-height:1.9;color:#6d3655;font-size:.86rem;max-width:350px}.footer h4{margin:8px 0 14px}.footer-links{display:grid;gap:10px;font-size:.85rem;color:#6d3655}.social-row{display:flex;gap:9px;margin-top:16px}.social-row a{width:42px;height:42px;border-radius:13px;background:#fff;display:grid;place-items:center;color:#8f285d;box-shadow:0 6px 20px rgba(90,25,60,.08)}.powered{margin-top:32px;padding-top:18px;border-top:1px solid rgba(80,23,54,.15);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.78rem;color:#75465f;position:relative;z-index:2}.powered a{font-weight:800;color:#8f285d}
html[data-theme="berry"] .footer-shell{background:#5f2a4f;color:#fff8ec}.footer-shell .logo-light{display:none}html[data-theme="berry"] .footer-shell .logo-light{display:block}html[data-theme="berry"] .footer-shell .logo-default{filter:brightness(0) invert(1);opacity:.95}html[data-theme="berry"] .footer-brand p,html[data-theme="berry"] .footer-links,html[data-theme="berry"] .powered{color:#e4c7d6}html[data-theme="berry"] .powered a{color:#ffd85c}

/* utilities */
.reveal{opacity:0;transform:translateY(22px);transition:.7s var(--ease)}.reveal.visible{opacity:1;transform:none}
.back-top{position:fixed;right:20px;bottom:22px;width:48px;height:48px;border:none;border-radius:16px;background:var(--brand);color:#fff;display:grid;place-items:center;z-index:45;box-shadow:var(--shadow-sm);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s}.back-top.show{opacity:1;visibility:visible;transform:none}
.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);background:var(--text);color:var(--bg);padding:12px 17px;border-radius:14px;font-size:.82rem;font-weight:700;z-index:130;opacity:0;visibility:hidden;transition:.25s}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
.mobile-bottom-nav{display:none}

@media(max-width:1024px){
  .main-nav{display:none}.mobile-menu-btn{display:grid}.header-shell{grid-template-columns:auto 1fr auto}.logo-link{min-width:0}.hero-grid{grid-template-columns:1fr}.hero-copy{min-height:500px}.hero-visual{min-height:500px;grid-template-columns:1.2fr .8fr;grid-template-rows:1fr}.hero-mini-grid{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.products-grid{grid-template-columns:repeat(3,1fr)}.feature-band{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1.4fr 1fr 1fr}.footer-grid>div:last-child{grid-column:1/-1}.story-grid{grid-template-columns:1fr 1fr}.checkout-grid{grid-template-columns:1fr}.summary-card{position:relative;top:auto}
}
@media(max-width:760px){
  :root{--header-h:68px}.top-strip{font-size:.72rem}.site-header{top:8px;width:calc(100% - 18px);margin-top:8px}.header-shell{padding:7px 9px;gap:7px;border-radius:21px}.logo-link img{width:116px;height:48px}.header-actions{gap:5px}.icon-btn{width:42px;height:42px;border-radius:13px}.header-actions .desktop-only{display:none}.container{width:min(100% - 24px,1180px)}.section{padding:62px 0}.section-tight{padding:42px 0}.section-title{font-size:clamp(2.2rem,10vw,3.45rem);line-height:1.42}.hero{padding-top:26px}.hero-grid{gap:14px}.hero-copy{border-radius:30px 30px 30px 12px;padding:34px 24px;min-height:520px}.hero h1{font-size:clamp(3.2rem,15vw,5.3rem);line-height:1.25}.hero p{font-size:.93rem}.hero-visual{min-height:410px;grid-template-columns:1fr;grid-template-rows:1fr}.hero-mini-grid{display:none}.photo-card{border-radius:30px 12px 30px 30px}.products-grid{grid-template-columns:repeat(2,1fr);gap:11px}.product-card{border-radius:20px;padding:8px}.product-image{border-radius:15px}.product-body{padding:12px 4px 4px}.product-title{font-size:.88rem}.product-desc{display:none}.price{font-size:.89rem}.add-btn{width:38px;height:38px}.feature-band{grid-template-columns:1fr;border-radius:30px}.feature-content{padding:32px 24px}.feature-photo{height:290px}.branches-grid{grid-template-columns:1fr}.story-grid{grid-template-columns:1fr}.story-image{min-height:400px}.story-copy{padding:10px 0}.page-hero{padding-top:34px}.page-hero-shell{padding:30px 22px;border-radius:28px;grid-template-columns:1fr}.page-hero h1{font-size:clamp(2.7rem,13vw,4.5rem);line-height:1.42}.shop-toolbar{grid-template-columns:1fr}.product-detail{grid-template-columns:1fr}.product-detail-media{position:relative;top:auto}.product-info{padding:10px 0}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.footer{padding-bottom:110px}.footer-shell{padding:32px 22px;border-radius:30px 30px 12px 30px}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-grid>div:last-child{grid-column:auto}.mobile-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:10px;right:10px;bottom:10px;z-index:48;background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid var(--line);border-radius:22px;padding:7px;box-shadow:var(--shadow);backdrop-filter:blur(18px)}.mobile-bottom-nav a,.mobile-bottom-nav button{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px;font-size:.62rem;font-weight:700}.mobile-bottom-nav svg{width:20px;height:20px}.mobile-bottom-nav .active{color:var(--brand)}.back-top{right:14px;bottom:92px}.toast{bottom:92px;white-space:nowrap;max-width:calc(100% - 24px)}
}
@media(max-width:420px){.products-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:3.3rem}.hero-copy{min-height:500px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:last-child{grid-column:auto}.product-title{font-size:.82rem}}

/* =========================================================
   Mobile-first hardening — responsive viewport safety
   ========================================================= */
html{
  width:100%;
  max-width:100%;
  overflow-x:clip;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:clip;
}
main,section,header,footer,nav,aside,
.container,.header-shell,.hero-grid,.hero-copy,.hero-visual,
.products-grid,.product-card,.product-body,.product-bottom,
.feature-band,.branches-grid,.branch-card,.story-grid,.story-copy,
.shop-toolbar,.page-hero-shell,.product-detail,.product-info,
.checkout-grid,.form-card,.summary-card,.footer-shell,.footer-grid,
.footer-grid>div,.footer-brand,.footer-links,.powered,.cart-item{
  min-width:0;
  max-width:100%;
}
svg{max-width:100%}
.icon-btn svg,.add-btn svg,.wish-btn svg,.social-row svg{width:22px;height:22px;display:block}
input,select,textarea{max-width:100%;min-width:0}
.footer-links a,.footer-links span,.powered span,.powered a,.branch-card p,.summary-row span{
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media(max-width:760px){
  :root{--header-h:64px}
  .top-strip{padding:8px 10px;line-height:1.55}
  .site-header{width:calc(100% - 16px);top:6px;margin-top:7px}
  .header-shell{
    grid-template-columns:minmax(0,1fr) auto;
    min-height:64px;
    padding:7px 8px 7px 10px;
    gap:8px;
  }
  .main-nav{display:none}
  .logo-link{min-width:0;overflow:hidden}
  .logo-link img{width:clamp(106px,31vw,126px);height:46px;max-width:100%;object-fit:contain}
  .header-actions{gap:6px;flex:0 0 auto}
  .header-actions>[data-cart-open]{display:none}
  .header-actions .desktop-only{display:none}
  .icon-btn{width:44px;height:44px;min-width:44px;min-height:44px}
  .mobile-menu-btn{display:grid}

  .container{width:calc(100% - 24px);max-width:1180px}
  .section{padding:54px 0}
  .section-tight{padding:38px 0}
  .section-title{font-size:clamp(1.9rem,9.4vw,3.15rem);line-height:1.48;letter-spacing:-.025em}
  .section-sub{font-size:.94rem;line-height:1.9}

  .hero{padding:22px 0 46px}
  .hero-grid{gap:14px}
  .hero-copy{
    min-height:0;
    padding:clamp(30px,9vw,42px) clamp(19px,6vw,28px);
    border-radius:28px 28px 28px 12px;
  }
  .hero-kicker{max-width:100%;white-space:normal;line-height:1.6}
  .hero h1{
    font-size:clamp(2.55rem,13vw,4.3rem);
    line-height:1.32;
    letter-spacing:-.035em;
    overflow-wrap:anywhere;
    margin-bottom:18px;
  }
  .hero p{font-size:.92rem;line-height:1.9;margin-bottom:24px}
  .hero-ctas{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:9px}
  .hero-ctas .btn{width:100%;min-width:0;padding-inline:12px}
  .hero-visual{min-height:0;display:block}
  .photo-card{aspect-ratio:4/5;min-height:0}
  .photo-label{right:12px;bottom:12px;max-width:calc(100% - 24px);font-size:.76rem;padding:10px 12px}
  .hero-mini-grid{display:none}

  .category-row{margin-inline:-12px;padding-inline:12px;scroll-padding-inline:12px;overscroll-behavior-inline:contain}
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}
  .product-card{padding:8px;border-radius:19px}
  .product-title{font-size:.86rem;line-height:1.55;overflow-wrap:anywhere}
  .product-bottom{gap:6px;align-items:center}
  .price{font-size:.82rem;white-space:normal;line-height:1.45;min-width:0}
  .add-btn{width:40px;height:40px;min-width:40px;min-height:40px}
  .wish-btn{width:40px;height:40px;top:8px;left:8px}
  .product-tag{font-size:.62rem;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

  .feature-band{min-height:0;border-radius:28px}
  .feature-content{padding:30px 22px}
  .feature-content h2{font-size:clamp(2rem,10vw,3.35rem);line-height:1.45}
  .feature-photo{height:auto;aspect-ratio:4/3}
  .feature-photo img{height:100%}

  .branches-grid{grid-template-columns:minmax(0,1fr)}
  .branch-card{padding:22px 18px;border-radius:22px}
  .branch-actions .btn{flex:1 1 140px;min-width:0;padding-inline:12px}

  .story-grid{grid-template-columns:minmax(0,1fr)}
  .story-image{min-height:0;aspect-ratio:4/5;border-radius:28px}
  .story-copy{padding:8px 0}
  .story-point{min-width:0}
  .story-point>div:last-child{min-width:0}

  .page-hero{padding:30px 0 18px}
  .page-hero-shell{grid-template-columns:minmax(0,1fr);padding:26px 20px;border-radius:25px;gap:16px}
  .page-hero h1{font-size:clamp(2.35rem,12vw,3.8rem);line-height:1.48;letter-spacing:-.03em;overflow-wrap:anywhere}
  .page-hero p{font-size:.92rem;line-height:1.9}
  .page-hero-shell>.btn{width:100%}
  .page-hero-shell>div+div{min-width:0}

  .shop-toolbar{grid-template-columns:minmax(0,1fr);gap:10px}
  .search-box,.sort-select{width:100%;min-width:0}
  .search-box input{font-size:16px}

  .product-detail{grid-template-columns:minmax(0,1fr);gap:22px}
  .product-detail-media{position:relative;top:auto;padding:10px;border-radius:26px}
  .product-detail-media img{border-radius:19px}
  .product-info{padding:4px 0}
  .product-info h1{font-size:clamp(2.2rem,11vw,3.5rem);line-height:1.45;overflow-wrap:anywhere}
  .size-options{gap:8px}
  .size-option{min-width:0;padding:12px 8px}
  .qty-row{display:flex;flex-wrap:wrap;align-items:stretch;gap:9px}
  .qty-control{flex:0 0 auto;min-height:46px}
  .qty-row>.btn{flex:1 1 180px;min-height:46px;min-width:0;padding-inline:12px}
  .qty-row>.icon-btn{flex:0 0 46px;width:46px;height:46px}

  .drawer{width:100%;max-width:430px}
  .drawer-head{padding:16px}
  .drawer-items{padding:12px}
  .cart-item{grid-template-columns:64px minmax(0,1fr) 34px;gap:10px}
  .cart-item img{width:64px;height:64px}
  .cart-item h4,.cart-item p{overflow-wrap:anywhere}
  .drawer-foot{padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px))}

  .form-card,.summary-card{padding:20px 16px;border-radius:23px}
  .form-grid{grid-template-columns:minmax(0,1fr)}
  .field input,.field select,.field textarea{width:100%;font-size:16px}
  .summary-row{align-items:flex-start;flex-wrap:wrap}
  .summary-row>*{min-width:0}

  .footer{padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))}
  .footer-shell{padding:30px 20px;border-radius:28px 28px 12px 28px}
  .footer-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .footer-brand,.footer-grid>div:last-child{grid-column:auto}
  .footer-brand img{width:min(180px,70%)}
  .powered{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}

  .mobile-bottom-nav{
    left:8px;right:8px;
    bottom:max(8px,env(safe-area-inset-bottom,0px));
    grid-template-columns:repeat(5,minmax(0,1fr));
    padding:6px;
    border-radius:20px;
    min-width:0;
  }
  .mobile-bottom-nav a,.mobile-bottom-nav button{
    min-width:0;
    min-height:48px;
    justify-content:center;
    padding:4px 1px;
    font-size:clamp(.54rem,2.25vw,.64rem);
    line-height:1.3;
  }
  .mobile-bottom-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .back-top{right:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px));width:46px;height:46px}
  .toast{bottom:calc(88px + env(safe-area-inset-bottom,0px));width:max-content;max-width:calc(100% - 24px);white-space:normal;text-align:center;line-height:1.6}
}

@media(max-width:520px){
  .footer-grid{grid-template-columns:minmax(0,1fr)}
  .footer-grid>div{min-width:0}
}

@media(max-width:360px){
  .site-header{width:calc(100% - 12px)}
  .header-shell{padding-inline:7px;gap:5px}
  .logo-link img{width:102px}
  .header-actions{gap:4px}
  .icon-btn{width:42px;height:42px;min-width:42px;min-height:42px}
  .container{width:calc(100% - 18px)}
  .hero h1{font-size:clamp(2.25rem,12.5vw,3rem);line-height:1.38}
  .hero-ctas{grid-template-columns:1fr}
  .products-grid{grid-template-columns:minmax(0,1fr)}
  .product-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:9px;align-items:center}
  .product-image{width:112px;aspect-ratio:1}
  .product-body{padding:4px 2px}
  .product-desc{display:none}
  .product-tag{display:none}
  .product-title{font-size:.92rem}
  .price{font-size:.88rem}
  .page-hero-shell{padding:23px 17px}
  .page-hero h1{font-size:2.25rem}
  .size-options{flex-direction:column}
  .qty-control{width:100%;justify-content:space-between}
  .qty-control span{flex:1}
  .qty-row>.btn{flex-basis:calc(100% - 55px)}
  .cart-item{grid-template-columns:56px minmax(0,1fr) 30px}
  .cart-item img{width:56px;height:56px}
  .mobile-bottom-nav{left:5px;right:5px;padding:5px 3px}
  .mobile-bottom-nav svg{width:19px;height:19px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .reveal{opacity:1;transform:none}
}

/* final narrow-screen text/button guard */
.btn{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
@media(max-width:760px){
  .eyebrow{line-height:1.7;overflow-wrap:anywhere}
  .footer-links{min-width:0}
  .footer-links a,.footer-links span{max-width:100%}
}
