/* =====================================================================
   Vkusno Kulinariya — design system
   ===================================================================== */
:root {
  --pink: #E3175E; --pink-dark: #B30F49; --pink-light: #FDE2EB; --pink-soft: #F7B8CE;
  --berry: #6E0B30; --berry-2: #8E1240; --peach: #FFD9C7; --mint: #D8F0E4; --butter: #FFF0C2;
  --cream: #FFEFE8; --ivory: #FFF7F3; --white: #fff; --sand: #F4E9E2;
  --text: #2A1720; --muted: #7A6570; --line: #F2D5DF; --gold: #D9A441;
  --ok: #2E8B57; --err: #C0392B;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: Manrope, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Great Vibes", cursive;
  --r-sm: 10px; --r: 18px; --r-lg: 28px; --r-xl: 40px;
  --sh-1: 0 1px 2px rgba(80, 30, 50, .05), 0 4px 14px rgba(80, 30, 50, .05);
  --sh-2: 0 12px 40px rgba(110, 11, 48, .14);
  --sh-3: 0 24px 60px rgba(120, 40, 70, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; } .left { text-align: left; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .error { color: var(--err); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--pink-dark); font-weight: 700; margin-bottom: .9em; }
.lead { font-size: 1.12rem; color: #5b5058; max-width: 60ch; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .82em 1.5em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; line-height: 1.2; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 8px 22px rgba(227, 23, 94, .28); }
.btn-primary:hover:not(:disabled) { background: var(--pink-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(197, 30, 98, .32); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-ghost { background: var(--pink-light); color: var(--pink-dark); }
.btn-ghost:hover { background: var(--pink-soft); color: var(--pink-dark); }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-sm { padding: .5em 1em; font-size: .85rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--pink-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { font-weight: 600; color: var(--pink-dark); white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------------------------------------------------------------- header */
.demo-bar { background: var(--berry); color: #ffd9e6; text-align: center; font-size: .8rem; padding: 6px 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); border-top: 4px solid var(--pink); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px rgba(120, 40, 70, .06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; flex-direction: column; line-height: .9; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-mark { font-family: var(--script); font-size: 2.15rem; color: var(--pink); }
.logo-sub { font-size: .58rem; letter-spacing: .42em; text-transform: uppercase; font-weight: 700; color: var(--text); margin: 3px 0 0 30px; }
.logo-light .logo-sub { color: #f2e4ea; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.main-nav a.is-active { background: var(--pink-light); color: var(--pink-dark); }
.main-nav a[data-accent] { color: var(--pink-dark); font-weight: 700; }
.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.lang-switch { display: flex; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-right: 6px; }
.lang-switch a { font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.lang-switch a.is-active { background: #fff; color: var(--pink-dark); box-shadow: var(--sh-1); }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--pink-light); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; }
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: currentColor; margin: 2px 0; transition: .3s; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-tight { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.section-cream { background: linear-gradient(180deg, #FFE7DE, #FFF1EB); }
.section-pink { background: linear-gradient(135deg, #FBC6D7, #FDE2EB 55%, #FFE3D6); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head h2 { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.page-hero { padding: clamp(36px, 6vw, 76px) 0 clamp(20px, 3vw, 36px); background: linear-gradient(120deg, #FCD0DE, #FFE6DB); }
.page-hero h1 { color: var(--berry); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--pink-dark); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(30px, 5vw, 70px) 0 clamp(56px, 7vw, 100px); overflow: hidden;
  background: radial-gradient(900px 560px at 85% 25%, #F9B9D0 0%, transparent 62%), radial-gradient(700px 520px at 0% 100%, #FFD3C2 0%, transparent 60%), linear-gradient(180deg, #FFE9F0, #FFF3EE); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; background: var(--ivory); clip-path: ellipse(60% 100% at 50% 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; color: var(--berry); }
.hero h1::after { content: ""; display: block; width: 74px; height: 2px; background: var(--gold); margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-ctas.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .9rem; }
.hero-points li::before { content: "✦ "; color: var(--gold); }
.hero-visual { position: relative; }
.hero-arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: linear-gradient(180deg, #fbe3eb, #fff4ef); box-shadow: 0 0 0 10px rgba(255,255,255,.7), 0 30px 70px rgba(110, 11, 48, .25); aspect-ratio: 9 / 10; }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; left: -18px; bottom: 34px; background: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--sh-2); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(227, 23, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(227, 23, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 23, 94, 0); } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.product-media { position: relative; display: block; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--pink); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.3rem; margin: 0 0 2px; }
.product-body .muted { margin-bottom: 12px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; font-size: 1.1rem; color: var(--pink-dark); }
.price s, .pd-price s { color: var(--muted); font-weight: 400; margin-right: 6px; }

/* ---------------------------------------------------------------- builder promo */
.builder-promo { background: linear-gradient(135deg, var(--berry), var(--berry-2) 55%, #C3165A); color: #fff3f7; position: relative; overflow: hidden; }
.builder-promo::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 170, 200, .35), transparent 65%); }
.builder-promo .eyebrow { color: #FFC2D7; } .builder-promo .lead { color: #F6DCE6; }
.builder-promo .btn-primary { background: #fff; color: var(--pink-dark); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.builder-promo .btn-primary:hover { background: var(--butter); color: var(--berry); }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
.promo-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #fbeff2; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.promo-badge { position: absolute; top: 20px; right: 20px; background: var(--pink); color: #fff; font-weight: 800; padding: 8px 14px; border-radius: 999px; letter-spacing: .08em; }
.steps-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 16px; }
.steps-list li { display: flex; gap: 16px; align-items: flex-start; }
.steps-list span { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; }
.steps-list p { margin: 0; color: #F2CFDC; font-size: .92rem; }

/* ---------------------------------------------------------------- categories / features */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; display: block; background: #fff; box-shadow: var(--sh-1); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.category-card:hover img { transform: scale(1.06); }
.category-card span { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; background: rgba(179, 15, 73, .88); backdrop-filter: blur(8px); border-radius: 999px; padding: 10px 16px; text-align: center; font-weight: 600; font-size: .92rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); border-top: 4px solid var(--pink); }
.feature:nth-child(2) { border-top-color: var(--gold); } .feature:nth-child(3) { border-top-color: #E86A92; } .feature:nth-child(4) { border-top-color: var(--berry); }
.feature-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-light); color: var(--pink-dark); margin-bottom: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; padding: 28px; border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.review blockquote { margin: 10px 0 16px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; }
.review figcaption { color: var(--muted); font-size: .9rem; }
.stars { color: var(--gold); letter-spacing: 2px; }
.review-empty { text-align: center; max-width: 560px; margin: 0 auto; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-item { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.insta-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.delivery-strip { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 28px; align-items: center; }
.delivery-strip h3 { margin-bottom: 6px; } .delivery-strip p { margin: 0; color: var(--muted); font-size: .95rem; }
.newsletter-box { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, var(--pink), #F0558A); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); }
.newsletter-box h2 { margin-bottom: .3em; color: #fff; }
.newsletter-box .btn-primary { background: var(--berry); box-shadow: none; }
.newsletter-box .form-note.ok, .newsletter-box .form-note.error { color: #fff; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input { flex: 1 1 220px; }
.form-note { flex-basis: 100%; margin: 0; font-size: .9rem; } .form-note.ok { color: var(--ok); } .form-note.error { color: var(--err); }

/* ---------------------------------------------------------------- forms */
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=password], input[type=url], select, textarea {
  width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(227, 23, 94, .12); }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { color: var(--err); font-size: .85rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 14px 0; }
.check input { margin-top: 4px; accent-color: var(--pink); width: 18px; height: 18px; }
.check a { color: var(--pink-dark); text-decoration: underline; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: 14px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: .6em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; transition: .2s; }
.seg input:checked + span { border-color: var(--pink); background: var(--pink-light); color: var(--pink-dark); }
.seg input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.seg-lg span { padding: .85em 1.5em; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--pink-dark); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty input, .qty output { width: 44px; text-align: center; border: 0; padding: 0; min-height: 0; -moz-appearance: textfield; font-weight: 700; box-shadow: none !important; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 32px; height: 34px; } .qty-sm output { width: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); margin-bottom: 20px; }
.alert { padding: 14px 18px; border-radius: var(--r); margin: 0 0 18px; font-size: .95rem; }
.alert-error { background: #FDECEC; color: #8E2A22; }
.alert-success { background: #E9F6EE; color: #1F6B42; }

/* ---------------------------------------------------------------- catalog */
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: .88rem; }
.chip.is-active, .chip:hover { border-color: var(--pink); color: var(--pink-dark); background: var(--pink-light); }
.catalog-filters { display: flex; gap: 10px; }
.catalog-filters input { width: 220px; } .catalog-filters select { width: auto; }
.builder-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border-radius: var(--r-lg); background: linear-gradient(110deg, var(--pink-light), #fff4ee); margin-bottom: 28px; }
.builder-banner strong { display: block; font-family: var(--serif); font-size: 1.5rem; }
.builder-banner span { color: var(--muted); }
.empty-state { text-align: center; padding: 60px 20px; background: var(--cream); border-radius: var(--r-lg); }

/* ---------------------------------------------------------------- product detail */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main { border-radius: var(--r-xl); overflow: hidden; background: var(--cream); aspect-ratio: 1; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden; padding: 0; border: 2px solid transparent; cursor: pointer; }
.pd-thumbs button.is-active { border-color: var(--pink); }
.pd-price { font-size: 1.7rem; font-weight: 700; color: var(--pink-dark); margin-bottom: .6em; }
.pd-facts { display: flex; gap: 28px; margin: 0 0 24px; }
.pd-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.pd-facts dd { margin: 0; font-weight: 600; }
.opt-group { margin-bottom: 18px; } .opt-group legend { font-family: var(--sans); font-size: .9rem; margin-bottom: 8px; }
.pd-buy { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 12px; }
.pd-details { border-top: 1px solid var(--line); padding: 16px 0; }
.pd-details summary { cursor: pointer; font-weight: 600; }
.pd-details p { margin: 10px 0 0; color: var(--muted); }

/* ---------------------------------------------------------------- cart / checkout */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 18px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 14px; }
.cart-line img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r); background: var(--cream); }
.cart-line h3 { font-size: 1.25rem; margin: 0 0 2px; }
.cart-line p { margin: 0; }
.cl-total { min-width: 84px; text-align: right; }
.cl-remove button { font-size: 1rem; text-decoration: none; color: var(--muted); }
.cl-break summary { cursor: pointer; font-size: .85rem; color: var(--pink-dark); }
.cl-break ul { list-style: none; padding: 0; margin: 6px 0; font-size: .82rem; color: var(--muted); }
.cl-break li { display: flex; justify-content: space-between; gap: 12px; }
.summary-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1); }
.summary-card h2 { font-size: 1.6rem; }
.summary-card .btn { margin-top: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sum-total { border: 0; font-size: 1.15rem; padding-top: 14px; }
.sum-total strong { color: var(--pink-dark); font-size: 1.4rem; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.co-line img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.co-line strong, .co-line span { display: block; }
.progress { display: flex; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.progress li::before { content: "○ "; } .progress li.done::before { content: "✓ "; color: var(--ok); }
.progress li.current { color: var(--pink-dark); font-weight: 700; } .progress li.current::before { content: "● "; }

/* ---------------------------------------------------------------- success / tracking */
.success-icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--pink-light); color: var(--pink-dark); display: grid; place-items: center; font-size: 2rem; }
.order-no { display: inline-flex; flex-direction: column; background: #fff; border: 1.5px dashed var(--pink); border-radius: var(--r); padding: 14px 28px; margin: 8px 0 24px; cursor: copy; }
.order-no strong { font-size: 1.6rem; letter-spacing: .06em; color: var(--pink-dark); }
.success-preview { margin: 0 auto 24px; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.track-form .field { margin: 0; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.track-head h2 { margin: 0; }
.status-pill { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .82rem; background: var(--pink-light); color: var(--pink-dark); }
.status-completed { background: #E9F6EE; color: #1F6B42; } .status-cancelled { background: #FDECEC; color: #8E2A22; }
.timeline { list-style: none; padding: 0; margin: 0 0 20px; }
.timeline li { position: relative; display: flex; gap: 14px; padding: 0 0 18px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: #fff; margin-top: 3px; }
.timeline li.done { color: var(--text); } .timeline li.done .dot { background: var(--pink); border-color: var(--pink); }
.timeline li.done::before { background: var(--pink-soft); }
.timeline li.current strong { color: var(--pink-dark); }
.timeline strong, .timeline span { display: block; }
.track-meta { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- content pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: start; }
.prose { font-size: 1.05rem; } .prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.rounded-img { border-radius: var(--r-xl); box-shadow: var(--sh-2); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-grid .card { margin: 0; } .info-grid p { margin: 0; color: var(--muted); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::after { content: "+"; color: var(--pink); font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 12px 0 0; color: var(--muted); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; margin: 0; transition: border-color .2s; }
.contact-card span:first-child { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-card strong { font-size: 1.15rem; }
a.contact-card:hover { border-color: var(--pink); }
.map-embed iframe { width: 100%; height: 280px; border: 0; border-radius: var(--r-lg); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: linear-gradient(180deg, var(--berry), #4A0820); color: #F4D3DF; padding: 70px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 16px 0; max-width: 34ch; font-size: .95rem; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.socials a { color: #f5a9c7; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(245,169,199,.3); border-radius: 999px; font-size: .85rem; }
.socials a:hover { color: #fff; border-color: #f5a9c7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 46px; padding-top: 22px; font-size: .82rem; color: #a8949e; flex-wrap: wrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .25s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

.toast { position: fixed; left: 50%; top: 88px; transform: translateX(-50%); z-index: 300; background: var(--text); color: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: var(--sh-3); font-weight: 600; font-size: .92rem; animation: toast-in .4s var(--ease); max-width: calc(100% - 30px); text-align: center; }
.toast-error { background: var(--err); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -12px); } }

/* =====================================================================
   CAKE BUILDER
   ===================================================================== */
.is-builder .wa-float { display: none; }
.builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr) 320px; max-width: 100%; overflow-x: clip; gap: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); min-height: 620px; background: var(--cream); }
.b-stage { position: relative; background: radial-gradient(circle at 50% 38%, #fff 0%, #FCE1EA 45%, #F6C4D5 100%); overflow: hidden; }
.b-canvas { position: absolute; inset: 0; }
.b-canvas canvas { display: block; outline: none; }
.b-loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); font-weight: 600; }
.spinner { width: 42px; height: 42px; border: 3px solid var(--pink-soft); border-top-color: var(--pink); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.b-fallback { max-width: 360px; text-align: center; padding: 20px; }
.b-tools { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.b-tool-group { display: flex; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); border-radius: 999px; padding: 4px; box-shadow: var(--sh-1); pointer-events: auto; }
.b-tool-group button { border: 0; background: none; padding: 7px 12px; min-width: 36px; border-radius: 999px; font-size: .8rem; font-weight: 700; cursor: pointer; color: var(--text); }
.b-tool-group button.is-active { background: var(--pink); color: #fff; }
.b-tool-group button:hover:not(.is-active) { background: var(--pink-light); }
.b-hint { position: absolute; bottom: 12px; left: 16px; right: 16px; text-align: center; font-size: .78rem; color: var(--muted); margin: 0; pointer-events: none; }
.b-select-bar { position: absolute; bottom: auto; top: 70px; z-index: 4; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 999px; padding: 6px 8px 6px 18px; display: flex; align-items: center; gap: 8px; box-shadow: var(--sh-2); font-size: .88rem; font-weight: 600; white-space: nowrap; }
.b-select-bar[hidden] { display: none; }
.b-panel { display: flex; flex-direction: column; background: var(--ivory); border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 0; }
.b-panel-head { padding: 22px 24px 0; }
.b-panel-head h1 { font-size: 1.8rem; margin-bottom: 14px; }
.b-steps { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.b-steps::-webkit-scrollbar { display: none; }
.b-steps button { flex: none; display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid transparent; background: none; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--muted); }
.b-steps button span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: .75rem; }
.b-steps button em { font-style: normal; }
.b-steps button.is-done span { background: var(--pink-light); border-color: var(--pink-soft); color: var(--pink-dark); }
.b-steps button.is-active { background: #fff; border-color: var(--line); color: var(--text); box-shadow: var(--sh-1); }
.b-steps button.is-active span { background: var(--pink); border-color: var(--pink); color: #fff; }
.b-step-body { flex: 1; overflow-y: auto; padding: 22px 24px; min-height: 0; overscroll-behavior: contain; }
.b-step-body h2 { font-size: 1.7rem; margin-bottom: 14px; }
.b-sub { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.b-panel-foot { display: flex; justify-content: space-between; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); background: #fff; }
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-card { position: relative; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s, transform .15s; min-height: 64px; }
.opt-card:hover:not(.is-disabled) { border-color: var(--pink-soft); box-shadow: var(--sh-1); }
.opt-card:active:not(.is-disabled) { transform: scale(.98); }
.opt-card.is-active { border-color: var(--pink); background: linear-gradient(180deg, #fff, var(--pink-light)); box-shadow: 0 0 0 3px rgba(227, 23, 94, .12); }
.opt-card.is-disabled { opacity: .5; cursor: not-allowed; }
.opt-grid-3 .opt-card { flex-direction: column; align-items: flex-start; gap: 4px; }
.opt-icon { color: var(--pink-dark); flex: none; }
.opt-swatch { flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.opt-text { display: flex; flex-direction: column; min-width: 0; }
.opt-text strong { font-size: .95rem; overflow-wrap: anywhere; }
.opt-text span { font-size: .78rem; color: var(--muted); }
.opt-price { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--pink-dark); white-space: nowrap; }
.opt-grid-3 .opt-price { margin-left: 0; }
.opt-badge { position: absolute; top: -9px; right: 10px; background: var(--gold); color: #fff; font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .03em; }
.opt-badge.muted { background: #8a7f86; }
.preset-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.preset { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .82rem; cursor: pointer; }
.preset:hover { border-color: var(--pink); }
.preset span { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 0 2px #fff, 0 0 0 3px var(--gold); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches.is-dim { opacity: .4; pointer-events: none; }
.swatch { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); position: relative; transition: transform .15s; display: grid; place-items: center; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 0 3px #fff, 0 0 0 5px var(--pink); }
.swatch-sm { width: 32px; height: 32px; }
.swatch-custom { background: conic-gradient(#f66, #fd5, #6d6, #6cf, #a7f, #f6c, #f66); overflow: hidden; }
.swatch-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.swatch-custom span { color: #fff; font-weight: 800; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); pointer-events: none; }
.deco-list { display: grid; gap: 8px; }
.deco { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; }
.deco.is-active { border-color: var(--pink-soft); background: #FFF7FA; }
.deco-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--pink-light); display: grid; place-items: center; font-size: 1.2rem; }
.deco-text strong { display: block; font-size: .93rem; } .deco-text span { font-size: .78rem; color: var(--muted); }
.deco-input { grid-column: 1 / -1; min-height: 40px !important; padding: .5em .9em !important; }
.toggle { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .8rem; cursor: pointer; }
.toggle.is-on { background: var(--pink); border-color: var(--pink); color: #fff; }
.tstyle-script { font-family: var(--script); font-size: 1.15rem; font-weight: 400; } .tstyle-serif { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.upload-box { border: 1.5px dashed var(--pink-soft); border-radius: var(--r); padding: 14px; background: #fff; }
.upload-box strong { display: block; font-size: .92rem; } .upload-box p { margin: 4px 0 10px; }
.upload-preview { display: flex; align-items: center; gap: 10px; }
.photo-ctl { border: 1.5px solid var(--pink-soft); background: #fff; border-radius: var(--r); padding: 14px; margin: -4px 0 16px; display: grid; gap: 10px; }
.photo-ctl p { margin: 0; }
.range { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.range span { display: flex; justify-content: space-between; }
.range input { width: 100%; accent-color: var(--pink); }
.upload-preview img { width: 72px; height: 56px; object-fit: contain; background: var(--cream); border-radius: 10px; }
.review-list { margin: 0 0 16px; }
.review-list div { display: grid; grid-template-columns: 130px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.review-list dt { color: var(--muted); } .review-list dd { margin: 0; font-weight: 600; }
.b-summary { padding: 22px; overflow-y: auto; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.b-summary h2 { font-size: 1.5rem; margin-bottom: 4px; }
.b-summary-list dl { margin: 0; }
.b-summary-list div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #F6EEF1; font-size: .84rem; }
.b-summary-list dt { color: var(--muted); flex: none; } .b-summary-list dd { margin: 0; text-align: right; font-weight: 600; }
.b-price { background: var(--cream); border-radius: var(--r); padding: 14px; margin: 8px 0 4px; }
.b-price ul { list-style: none; padding: 0; margin: 0 0 8px; font-size: .8rem; color: var(--muted); }
.b-price li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.b-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; }
.b-total strong { font-size: 1.7rem; color: var(--pink-dark); font-family: var(--serif); }
.b-price { border: 1px solid var(--line); }
.demo-note { font-size: .74rem; color: #8a6d00; background: #FFF6D8; border-radius: 10px; padding: 8px 10px; margin: 0; }
.b-alerts:empty { display: none; }
.b-alerts { background: #FDECEC; color: #8E2A22; border-radius: 10px; padding: 10px 12px; font-size: .84rem; }
.b-alerts p { margin: 0; }
.b-mobile-bar { display: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .builder { grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: 1fr auto; height: auto; min-height: 0; }
  .b-stage { grid-row: 1; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); position: sticky; top: var(--header-h); }
  .b-panel { grid-row: 1; max-height: calc(100dvh - var(--header-h)); position: sticky; top: var(--header-h); }
  .b-summary { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; border-top: 1px solid var(--line); }
  .b-summary h2 { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); transform: translateY(-120%); transition: transform .4s var(--ease); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; z-index: 49; }
  body.nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; padding: 14px 20px 22px; }
  .main-nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a.is-active { background: none; }
  .nav-mobile-only { display: block; }
  .nav-toggle { display: grid; place-content: center; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .hero-grid, .promo-grid, .product-detail, .split, .newsletter-box { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .pd-gallery { position: static; }
  .features, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .delivery-strip { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }

  /* builder: 3D on top, steps below, sticky price bar */
  .builder { display: flex; flex-direction: column; height: auto; padding-bottom: 76px; }
  .b-stage { position: sticky; top: var(--header-h); height: 46vh; height: 46dvh; min-height: 300px; z-index: 5; border-bottom: 1px solid var(--line); }
  .b-panel { position: static; max-height: none; border: 0; }
  .b-panel-head { position: sticky; top: calc(var(--header-h) + 46dvh); z-index: 4; background: var(--ivory); padding: 12px 16px 0; }
  .b-panel-head h1 { display: none; }
  .b-steps { padding-bottom: 10px; }
  .b-step-body { overflow: visible; padding: 18px 16px; }
  .b-panel-foot { display: none; }
  .b-summary { display: flex; padding: 18px 16px 26px; }
  .b-tools { top: 10px; left: 10px; right: 10px; gap: 6px; }
  .b-tool-group button { padding: 6px 9px; font-size: .74rem; }
  .b-hint { display: none; }
  .b-select-bar { bottom: 12px; }
  .b-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(120, 40, 70, .08); }
  .b-mobile-bar strong { display: block; font-size: 1.35rem; color: var(--pink-dark); font-family: var(--serif); line-height: 1; }
  .b-mobile-bar .btn { flex: 1; max-width: 240px; }
  .is-builder .site-footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .container { width: calc(100% - 28px); }
  .logo-mark { font-size: 1.8rem; }
  .logo-img { height: 32px; }
  .logo-sub { margin-left: 24px; font-size: .5rem; }
  .lang-switch a { padding: 4px 6px; }
  .icon-btn { width: 38px; height: 38px; }
  .header-actions > a.icon-btn:not(.cart-btn) { display: none; }
  .product-grid, .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px; }
  .product-body h3 { font-size: 1.08rem; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .product-foot .btn { width: 100%; }
  .hero-chip { left: 8px; }
  .field-row, .info-grid, .track-form, .upload-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr auto; grid-template-areas: "img info rm" "img qty total"; gap: 8px 12px; padding: 14px; }
  .cart-line img { grid-area: img; width: 72px; height: 72px; }
  .cl-info { grid-area: info; } .cl-qty { grid-area: qty; } .cl-total { grid-area: total; align-self: center; } .cl-remove { grid-area: rm; align-self: start; }
  .catalog-filters { width: 100%; } .catalog-filters input { width: 100%; }
  .builder-banner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .opt-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-card { flex-wrap: wrap; padding: 12px; gap: 8px 10px; }
  .opt-card .opt-price { margin-left: 0; width: 100%; }
  .b-panel, .b-step-body, .b-summary { min-width: 0; max-width: 100vw; }
  .b-tool-group button { padding: 5px 8px; }
  .review-list div { grid-template-columns: 1fr auto; } .review-list dd { grid-column: 1; }
  .newsletter-form .btn { width: 100%; }
}
@media (max-width: 640px) {
  .m-hide { display: none !important; }
  .hero { padding: 22px 0 40px; }
  .hero-grid { gap: 18px; }
  .hero h1 { font-size: 2.35rem; }
  .hero h1::after { margin-top: 14px; }
  .hero-ctas { margin: 18px 0 0; }
  .hero-ctas .btn { flex: 1 1 140px; }
  .hero-points, .hero-chip { display: none; }
  .hero-visual { order: -1; max-width: 300px; }
  .hero-arch { aspect-ratio: 1; }
  .home-products { padding-top: 28px; }
  .site-footer { padding: 40px 0 90px; }
  .footer-grid { gap: 22px; }
  .footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .wa-float, .demo-bar { display: none !important; } }

/* =====================================================================
   v3 — brand header, black footer, slider, shop grid
   ===================================================================== */
.demo-bar { background: #111; color: #f5c3d5; }
.site-header { background: var(--pink); border-top: 0; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { border-color: transparent; box-shadow: 0 6px 24px rgba(110, 11, 48, .3); }
.site-header .logo-img, .site-footer .logo-img { filter: brightness(0) invert(1); }
.site-header .logo-sub, .site-footer .logo-sub { color: #fff; }
.site-header .main-nav a { color: #fff; }
.site-header .main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.site-header .main-nav a.is-active { background: #fff; color: var(--pink-dark); }
.site-header .main-nav a[data-accent] { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.site-header .main-nav a[data-accent].is-active { color: var(--pink-dark); text-decoration: none; }
.site-header .lang-switch { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); }
.site-header .lang-switch a { color: rgba(255, 255, 255, .8); }
.site-header .lang-switch a.is-active { background: #fff; color: var(--pink-dark); }
.site-header .icon-btn { color: #fff; }
.site-header .icon-btn:hover { background: rgba(255, 255, 255, .16); }
.site-header .cart-count { background: #fff; color: var(--pink-dark); }

.site-footer { background: #0f0f10; color: #b9b3b6; }
.site-footer h3 { color: #fff; }
.site-footer a:hover { color: #fff; }
.socials a { color: #fff; border-color: rgba(255, 255, 255, .25); }
.socials a:hover { border-color: var(--pink); background: var(--pink); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .1); color: #8a8387; }

.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: var(--pink-light); color: var(--pink-dark); }

/* slider */
.hero-slider { position: relative; height: clamp(460px, 72vh, 660px); overflow: hidden; background: #1b1316; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.is-active img.slide-media { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, calc(var(--shade) + .2)) 0%, rgba(0, 0, 0, var(--shade)) 45%, rgba(0, 0, 0, calc(var(--shade) * .35)) 100%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.slide-title { color: #fff; font-family: var(--sans); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4.1rem); line-height: 1.05; max-width: 15ch; letter-spacing: -.02em; margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.slide-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 48ch; color: rgba(255, 255, 255, .92); margin-bottom: 22px; }
.slide-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-ctas .btn { border-radius: 12px; }
.slide-ctas .btn-primary { box-shadow: 0 10px 30px rgba(227, 23, 94, .45); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.slider-arrow:hover { background: var(--pink); }
.slider-arrow.prev { left: 18px; } .slider-arrow.next { right: 18px; }
.slider-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; padding: 0; transition: width .3s; }
.slider-dots button.is-active { width: 28px; background: #fff; }

/* shop */
.shop { padding: 34px 0 70px; }
.shop-inner { max-width: 1120px; }
.shop-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.shop-head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.shop-head h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); margin-right: 10px; vertical-align: middle; }
.shop-search { width: 100%; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 1rem; min-height: 52px; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.shop-chips button { padding: 9px 18px; border-radius: 999px; border: 1.5px solid #E7DDE1; background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--text); }
.shop-chips button:hover { border-color: var(--pink); color: var(--pink-dark); }
.shop-chips button.is-active { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* product card (shop style) */
.product-card { border-radius: 14px; border: 1px solid #EFE3E7; box-shadow: 0 2px 10px rgba(40, 10, 20, .05); }
.product-card .product-media { aspect-ratio: 1; }
.badge { top: 10px; left: 10px; background: var(--pink); color: #fff; border-radius: 4px; padding: 3px 8px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
.product-body { padding: 12px 14px 14px; }
.product-cat { font-size: .74rem; color: var(--muted); margin-bottom: 2px; }
.product-body h3 { font-family: var(--sans); font-size: .98rem; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }
.product-foot { flex-direction: row !important; align-items: center !important; }
.price { font-size: 1rem; }
.btn-add { border: 0; background: #1a1a1a; color: #fff; font-weight: 700; font-size: .8rem; padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.btn-add:hover { background: var(--pink); }
.btn-add:disabled { opacity: .5; }

@media (max-width: 980px) {
  .main-nav { background: var(--pink); }
  .main-nav a { border-bottom-color: rgba(255, 255, 255, .2) !important; }
  .site-header .main-nav a.is-active { background: rgba(255, 255, 255, .16); color: #fff; }
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-slider { height: 74vh; min-height: 440px; max-height: 620px; }
  .slide-shade { background: linear-gradient(180deg, rgba(0, 0, 0, calc(var(--shade) * .4)) 0%, rgba(0, 0, 0, calc(var(--shade) + .2)) 100%); }
  .slide-content { justify-content: flex-end; padding-bottom: 60px; }
  .slide-title { font-size: 2.1rem; }
  .slide-ctas .btn { flex: 1 1 150px; padding: .9em 1em; font-size: .95rem; }
  .slider-arrow { display: none; }
  .shop { padding: 24px 0 50px; }
  .shop-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -14px; padding-right: 14px; scrollbar-width: none; }
  .shop-chips::-webkit-scrollbar { display: none; }
  .shop-chips button { flex: none; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { padding: 10px; }
  .product-body h3 { font-size: .9rem; }
  .product-foot { gap: 6px; }
  .btn-add { padding: 7px 9px; font-size: .74rem; }
  .price { font-size: .92rem; }
}

.b-photo-bar { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: var(--sh-2); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.b-photo-bar button { border: 0; background: var(--pink-light); color: var(--pink-dark); border-radius: 999px; min-width: 36px; height: 34px; padding: 0 12px; font-weight: 800; font-size: .9rem; cursor: pointer; }
.b-photo-bar button:hover { background: var(--pink); color: #fff; }
@media (max-width: 980px) { .b-photo-bar { bottom: 12px; font-size: .78rem; padding-left: 12px; } .b-photo-bar span { display: none; } }
