/* PRODUCT: responsive transfer from the approved phone and desktop frames. */
.product-page { background:radial-gradient(ellipse 900px 660px at 88% 12%,rgba(255,222,201,.52),transparent 70%),var(--canvas); }
.product-page .mobile-dock a { color:#fff; }
.product-content { width:min(1200px,calc(100% - 48px)); margin:0 auto 70px; padding-top:13px; }
.product-page a { color:#333; }
.crumbs { margin:0 0 11px; color:#6B605B; font-size:13px; line-height:15px; }
.crumbs span { margin:0 10px; color:var(--border); }
.product-layout { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); column-gap:clamp(24px,4.17vw,60px); align-items:start; }
.gallery,.configuration { min-width:0; }
.hero { position:relative; height:554px; overflow:hidden; border-radius:8px; background:#F3E3D6; }
.hero-blur { position:absolute; inset:-22px; width:calc(100% + 44px); height:calc(100% + 44px); object-fit:cover; filter:blur(17px); opacity:.92; }
.hero-cake { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center; mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%); }
.gallery-empty { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px; color:#6B605B; background:#F3E3D6; font-size:13px; line-height:1.3; }
.gallery-empty .vo-icon { font-size:24px; color:#9A8B83; }
.photo-note { position:absolute; right:12px; bottom:12px; }
.photo-pin { position:absolute; }
.thumbs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; height:142px; margin-top:14px; }
.thumb { min-width:0; height:142px; padding:0; overflow:hidden; border:1px solid var(--border); border-radius:7px; background:#F3E3D6; }
.thumb.active { border:1.5px solid var(--pink-line); }
@media (min-width:851px) { .thumb-extra-mobile { display:block; } }
.thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.desktop-chat { margin-top:40px; }
.product-heading { display:block; }
.product-heading h1 { margin:0; color:var(--ink); font:300 64px/1.12 var(--font-heading); letter-spacing:-.025em; white-space:nowrap; }
.product-heading h1 em { color:var(--accent); font-style:normal; }
.full-name { margin:8px 0 0; color:#6B605B; font-size:15px; line-height:1.3; }
.desktop-term { display:inline; }
.price { display:none; }
.meta { display:none; }
.meta .vo-icon { font-size:16px; }
.steps { margin:0 0 18px; }
.size-field { height:44px; }
.size-field .vo-icon { font-size:19px; }
.phone-only,.mobile-only { display:none; }
.desktop-size { margin-top:16px; }
.desktop-size h2,.desktop-postcard h2 { margin:0; }
.size-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; margin-top:7px; }
.size-options button { width:100%; }
.size-note-content { margin-top:13px; }
.size-note-content a { display:block; color:#333; font-size:13px; line-height:18px; text-decoration:underline; text-underline-offset:3px; }
.size-note-content p { margin:3px 0 0; color:#6B605B; font-size:13px; line-height:16px; }
.section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:24px 0 6px; }
.section-heading h2,.addons-title { margin:0; }
.fills { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.fill { min-width:0; min-height:155px; }
.more-fill { display:block; margin:11px 0 18px; color:var(--accent); font-size:13px; }
.more-fill>summary { display:flex; align-items:center; justify-content:space-between; gap:8px; list-style:none; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.more-fill>summary::-webkit-details-marker { display:none; }
.more-fill>summary .vo-icon { font-size:16px; flex:none; }
.extra-fills { display:none; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:10px; }
.more-fill[open] .extra-fills { display:grid; }
.filling-slot { width:calc(100% + 18px); height:94px; margin:0 -9px 6px; display:grid; place-items:center; background:#F4ECE6; color:#6B605B; font-size:12px; }
.summary { min-height:111px; display:grid; grid-template-columns:86px minmax(0,1fr); grid-template-rows:20px auto; gap:2px 12px; }
.summary-title { grid-column:1/-1; grid-row:1; margin:0; }
.summary-image { grid-column:1; grid-row:2; }
.summary-lines { min-width:0; }
.addons-title { margin:18px 0 10px; }
.desktop-only { display:block; }
.desktop-postcard { margin-top:20px; }
.postcard-choice { width:100%; }
.wish-field { position:relative; display:block; height:74px; margin-top:8px; border:1px solid var(--border); border-radius:7px; background:rgba(255,255,255,.45); }
.wish-field textarea { width:100%; height:100%; padding:10px 12px 24px; resize:none; border:0; outline:0; background:transparent; color:var(--ink); font:400 13px/1.4 var(--font-body); }
.wish-field textarea::placeholder { color:#9B918C; }
.wish-field span { position:absolute; right:10px; bottom:7px; color:#6B605B; font-size:12px; }
.addons { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.addons article { min-width:0; }
.mobile-chat { display:none; }
.design-link { display:none; align-items:center; gap:6px; margin:13px 0 15px 8px; color:#333; font-size:14px; }
.design-link a { color:var(--accent); text-decoration:none; }
.design-link .vo-icon { font-size:16px; color:#8A7D77; }
.purchase-total { margin-top:21px; padding:0; border-top:1px solid var(--border); }
.desktop-buy { display:inline-flex; }
.mobile-continue { display:none; }

@media (max-width:1200px) and (min-width:851px) {
  .product-content { width:calc(100% - 48px); }
  .product-layout { column-gap:clamp(24px,4vw,48px); }
  .hero { height:auto; aspect-ratio:1.085/1; }
  .thumbs { height:auto; }
  .thumb { height:auto; aspect-ratio:.77/1; }
  .product-heading h1 { font-size:clamp(44px,5.3vw,64px); }
  .addons { gap:6px; }
}

@media (max-width:850px) {
  .product-content { position:relative; z-index:1; width:auto; margin:0 15px 75px; padding-top:0; }
  .crumbs { display:none; }
  .product-layout { display:flex; flex-direction:column; gap:6px; }
  .gallery { width:100%; }
  .hero { height:162px; border-radius:7px; }
  .hero-blur { inset:-20px; width:calc(100% + 40px); height:calc(100% + 40px); filter:blur(14px); }
  .hero-cake { object-fit:contain; }
  .photo-note { right:5px; bottom:5px; }
  .thumbs { grid-template-columns:repeat(var(--thumbs,5),minmax(0,1fr)); height:44px; gap:8.7px; margin-top:6px; }
  .thumb { height:44px; border-radius:5px; }
  .configuration { width:100%; margin-top:3px; }
  .product-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:8px; }
  .product-heading h1 { font-size:20px; line-height:1.16; }
  .full-name { margin:4px 0 0; color:#6B605B; font-size:11px; line-height:1.25; }
  .desktop-term { display:none; }
  .price { display:block; grid-column:2; grid-row:1/3; align-self:center; padding:0; color:#191919; font:300 20px/1.1 var(--font-body); white-space:nowrap; }
  .meta { display:flex; align-items:center; gap:5px; margin:5px 0 10px; color:#6B605B; font-size:11px; }
  .meta .vo-icon { font-size:13px; }
  .desktop-size,.desktop-postcard,.desktop-only { display:none; }
  .phone-only { display:flex; }
  .summary.phone-only { display:grid; }
  .mobile-only { display:block; }
  .design-link { display:flex; }
  .purchase-total { margin-top:0; }
  .mobile-continue { display:inline-flex; }
  .desktop-buy { display:none; }
  .purchase-total.phone-only { display:flex; margin:0; border:0; }
  .purchase-total.desktop-only { display:none; }
  .steps { margin-bottom:8px; }
  .size-field { height:36px; padding:0 11px; }
  .size-field .vo-icon { font-size:16px; }
  .section-heading { margin:13px 0 7px; }
  .fills { gap:8px; }
  .fill { min-height:181px; }
  .fill-price { margin-top:4px; }
  .more-fill { margin:7px 0 9px; font-size:10px; }
  .more-fill>summary .vo-icon { font-size:13px; }
  .extra-fills { gap:8px; margin-top:7px; }
  .filling-slot { width:calc(100% + 12px); height:68px; margin:0 -6px 5px; font-size:11px; }
  .summary { min-height:111px; grid-template-columns:86px minmax(0,1fr); grid-template-rows:18px auto; gap:2px 8px; }
  .summary-title { white-space:nowrap; }
  .addons-title { margin:11px 0 5px; }
  .addons { gap:7px; }
  .desktop-chat { display:none; }
  .mobile-chat { min-height:47px; display:flex; align-items:center; gap:10px; margin-top:9px; padding:6px 11px; }
  .mobile-chat>.vo-icon { font-size:22px; flex:none; color:var(--accent); }
  .mobile-chat .arrow { font-size:14px; color:#fff; }
  .mobile-chat>div { flex:1; font-size:12px; line-height:1.2; }
  .mobile-chat small { display:block; margin-top:3px; }
  .design-link { gap:4px; margin:7px 0 8px 8px; font-size:11px; }
  .design-link .vo-icon { font-size:13px; }
}

@media (min-width:851px) {
  .photo-note { display:none; }
  .steps,.size-field,.summary.phone-only,.mobile-chat { display:none; }
  .purchase-total.phone-only { display:none; }
  .purchase-total.desktop-only { display:grid; }
  .meta,.price { display:none; }
  .design-link,.mobile-only { display:none; }
  .desktop-only { display:block; }
  .product-heading h1 { margin-top:6px; line-height:.9; }
  .full-name { margin-top:11px; font-size:13px; line-height:1; }
  .desktop-size { margin-top:27px; }
  .purchase-total.desktop-only { display:grid; }
  .desktop-postcard { margin-top:21px; }
  .postcard-choice { margin-top:7px; }
  .addons-title.desktop-only { margin-top:22px; margin-bottom:10px; line-height:20px; }
  .purchase-total.desktop-only { margin-top:20px; }
  .fill { min-height:155px; }
}
@media(max-width:767px){.state-notice{margin:6px 15px;padding:8px 10px;display:block}.state-notice span{display:block;margin-top:2px}}
.state-spinner{width:16px;height:16px;border:2px solid #F7D4DF;border-top-color:#EE1263;border-radius:50%;animation:state-spin .8s linear infinite;flex:none}@keyframes state-spin{to{transform:rotate(360deg)}}.state-zoom{position:fixed;z-index:300;inset:0;background:rgba(20,16,14,.92);display:flex;align-items:center;justify-content:center;padding:6vw}.state-zoom img{max-width:min(88vw,1100px);max-height:82vh;object-fit:contain;border-radius:8px}.state-zoom button{position:absolute;right:24px;top:24px;min-height:40px;padding:0 16px;border:1px solid #fff;border-radius:20px;background:#fff;color:#191919;font:500 14px Manrope,Arial,sans-serif}.state-toast{position:fixed;z-index:250;right:20px;bottom:20px;max-width:min(480px,calc(100vw - 32px));display:flex;align-items:center;gap:18px;padding:14px 18px;border-radius:8px;background:#0E0E0E;color:#fff;box-shadow:0 8px 30px #0003;font:14px Manrope,Arial,sans-serif}.state-toast a{color:#fff;text-decoration:underline;white-space:nowrap}
.product-heading,.heading-copy{min-width:0}.product-heading h1.long-title{font-size:clamp(34px,3.75vw,52px);line-height:1.08;overflow-wrap:anywhere}
@media(max-width:850px){.product-heading h1.long-title{font-size:20px;line-height:1.16;overflow-wrap:anywhere}}
.product-heading h1.long-title{white-space:normal}

/* Family layouts select shared kit controls but keep each product type's own content. */
[hidden] { display:none !important; }
.family-options { display:grid; gap:12px; margin:22px 0 18px; }
.family-options h2 { margin:0; }
.family-choices { display:flex; flex-wrap:wrap; gap:8px; }
.family-choices .vo-chip { min-height:42px; }
.family-field-label { display:block; margin-top:4px; color:var(--ink); font-size:13px; }
.family-options .vo-field:not(.family-upload) { min-height:74px; align-items:flex-start; padding:9px 12px; }
.family-options .vo-field textarea { min-height:52px; resize:vertical; }
.family-options .vo-field > span { align-self:flex-end; color:var(--muted); font-size:12px; white-space:nowrap; }
.family-composition { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.family-composition .vo-choice { min-height:92px; display:flex; flex-direction:column; justify-content:center; gap:7px; }
.family-composition--error .vo-choice { border-color:var(--accent); }
.family-composition--filled .vo-choice--active { border-color:var(--green); background:#F0F8F2; }
.family-upload { min-height:58px; justify-content:flex-start; color:var(--accent); cursor:pointer; }
.family-upload input { position:absolute; width:1px; height:1px; opacity:0; }
.family-addon { width:100%; }
.family-buybar[hidden] { display:none !important; }
.product-page[data-product-type]:not(.is-configurator) .desktop-chat { display:none !important; }
.product-page[data-product-type]:not(.is-configurator) .product-heading h1 { white-space:normal; line-height:1.12; }
.product-page[data-product-type]:not(.is-configurator) .full-name { display:none; }
.product-page[data-product-type]:not(.is-configurator) .price { display:block; margin-top:10px; color:var(--ink); font:500 24px/1.2 var(--font-body); }
.product-page[data-product-type]:not(.is-configurator) .meta { display:flex; align-items:center; gap:9px; margin:18px 0 24px; color:var(--ink); font-size:14px; }
.product-page[data-product-type]:not(.is-configurator) .family-buybar { display:grid; margin-top:18px; padding-top:12px; border-top:1px solid var(--border); }
.product-page[data-product-type]:not(.is-configurator) .purchase-total { display:none !important; }
.product-page[data-product-type="bento"]:not(.is-configurator) .thumbs { display:none !important; }
@media (min-width:851px) {
  .product-page.is-configurator .vo-choice--media .vo-choice__copy { display:block; }
}
@media (max-width:850px) {
  .family-options { gap:9px; margin:13px 0; }
  .product-page .vo-choice.vo-choice--addon.desktop-only { display:none; }
  .family-field-label { font-size:11px; }
  .family-composition { gap:7px; }
  .family-composition .vo-choice { min-height:75px; padding:10px; }
  .family-buybar { position:fixed; z-index:120; right:15px; bottom:76px; left:15px; display:flex !important; margin:0 !important; padding:6px 8px !important; border:1px solid var(--border); border-radius:12px; background:#FFFCFA; box-shadow:0 4px 16px rgba(55,31,23,.12); }
  .family-buybar > div { align-self:center; }
  .family-buybar .vo-btn { min-width:110px; }
  .product-page[data-product-type]:not(.is-configurator) .product-layout { display:flex; flex-direction:column; gap:10px; }
  .product-page[data-product-type]:not(.is-configurator) .configuration { order:1; }
  .product-page[data-product-type]:not(.is-configurator) .gallery { order:2; }
  .product-page[data-product-type]:not(.is-configurator) .desktop-size { order:3; }
  .product-page[data-product-type]:not(.is-configurator) .family-options { order:4; }
  .product-page[data-product-type]:not(.is-configurator) .product-heading { display:block; }
  .product-page[data-product-type]:not(.is-configurator) .product-heading h1 { font-size:26px; line-height:1.15; }
  .product-page[data-product-type]:not(.is-configurator) .price { margin-top:8px; font-size:24px; }
  .product-page[data-product-type]:not(.is-configurator) .meta { margin:20px 0 20px; font-size:12px; }
  .product-page[data-product-type]:not(.is-configurator) .hero { height:auto; aspect-ratio:1/1; }
  .product-page[data-product-type]:not(.is-configurator) .hero-cake { object-fit:cover; }
  .product-page[data-product-type="bento"]:not(.is-configurator) .desktop-size { display:block !important; }
  .product-page[data-product-type="bento"]:not(.is-configurator) .desktop-size h2 { font-size:12px; }
  .product-page[data-product-type]:not(.is-configurator) .purchase-total.phone-only,
  .product-page[data-product-type]:not(.is-configurator) .purchase-total.desktop-only { display:none !important; }
}
.state-zoom { position:fixed; z-index:300; inset:0; display:flex; align-items:center; justify-content:center; padding:6vw; background:rgba(20,16,14,.92); } .state-zoom img { max-width:min(88vw,1100px); max-height:82vh; object-fit:contain; border-radius:8px; } .state-zoom button { position:absolute; top:24px; right:24px; }

/* R2 PC: match the approved filling-card image/caption proportions. */
@media (min-width:851px) {
  .product-page.is-configurator .vo-choice--media > img { height:120px; }
  .product-page.is-configurator .vo-choice--media .vo-choice__price { display:block; }
}

@media (min-width:851px) and (max-width:1100px) {
  .product-page .product-heading h1 { font-size:clamp(36px,4.2vw,44px); line-height:1.1; white-space:normal; }
}

/* Hide the duplicated postcard add-on on desktop despite kit component specificity. */
@media (min-width:851px) {
  .product-page .vo-choice.vo-choice--addon.mobile-only { display:none; }
}

@media (min-width:1360px) {
  .product-page .product-content { margin-left:calc((100vw - 1200px)/2); margin-right:auto; }
  .product-page .product-heading h1 { font-size:60px; }
}

@media (min-width:1201px) and (max-width:1359px) {
  .product-page .product-heading h1 { font-size:clamp(44px,4.8vw,60px); }
}

/* R4: approved gallery caption and proportional thumbnails. */
.thumb-caption { margin:10px 0 0; color:#8B8582; font-size:13px; line-height:16px; }
.product-page[data-product-type]:not(.is-configurator) .thumb-caption { display:none; }
@media (min-width:851px) {
  .product-page.is-configurator .thumbs { grid-template-columns:repeat(var(--thumbs,5),minmax(0,1fr)); gap:14px; height:142px; }
  .product-page.is-configurator .thumb { height:142px; }
  .desktop-chat { margin-top:15px; }
  .product-page .vo-title-product-section { line-height:1; }
  .product-page[data-product-type]:not(.is-configurator) .desktop-chat { display:block !important; }
  .product-page[data-product-type]:not(.is-configurator) .product-heading h1 { font-size:clamp(40px,4.17vw,60px); line-height:1; max-width:100%; }
  .product-page[data-product-type="berries"] .product-heading h1,
  .product-page[data-product-type="custom"] .product-heading h1 { font-size:44px; }
  .product-page[data-product-type]:not(.is-configurator) .price { display:none; }
  .product-page[data-product-type]:not(.is-configurator) .purchase-total.desktop-only { display:grid !important; }
  .product-page .product-heading h1 { line-height:.95; }
  .product-page .full-name { margin-top:12px; }
  .product-page .section-heading { margin-top:28px; margin-bottom:7px; }
  .product-page .fill { height:155px; }
  .product-page .more-fill { line-height:18px; }
  .product-page .purchase-total.desktop-only > div { min-height:37px; }
  .product-page .purchase-total.desktop-only > button { margin-top:4px; }
  .product-page .purchase-total.desktop-only .buy-note { line-height:16px; }

  /* R4-D: desktop component geometry follows the approved PRODUCT frame. */
  .product-page .vo-title-product-section { font-family:var(--font-body); font-size:20px; font-weight:400; line-height:22px; }
  .product-page .desktop-chat.vo-black-banner--with-art { min-height:216px; height:216px; padding:24px 28px; }
  .product-page .desktop-chat .vo-black-banner__copy { flex-basis:auto; max-width:none; }
  .product-page .desktop-chat .vo-black-banner__copy h2 { margin:0; font-size:22px; font-weight:300; }
  .product-page .desktop-chat .vo-black-banner__copy p { margin:5px 0 0; font-size:13px; white-space:nowrap; }
  .product-page .desktop-chat .vo-btn--action { width:215px; min-height:43px; height:43px; margin-top:27px; padding:0 14px; border-radius:8px; font-size:14px; }
  .product-page .desktop-chat .vo-black-banner__copy small { margin-top:7px; font-size:13px; }
  .product-page .size-options button { position:relative; min-height:42px; height:42px; border-color:#D2C9C5; font-size:16px; }
  .product-page .size-options button .vo-icon { position:absolute; right:11px; }
  .product-page .postcard-choice { align-items:flex-start; gap:0; margin-top:12px; padding:0; border:0; background:transparent; }
  .product-page .postcard-choice input { margin-top:0; flex:0 0 28px; width:28px; height:28px; }
  .product-page .postcard-choice img { width:108px; height:64px; margin-left:22px; object-fit:cover; }
  .product-page .postcard-choice > span { margin:4px 0 0 21px; color:var(--ink); font-size:14px; }
  .product-page .postcard-choice > span small { margin-top:5px; color:var(--ink); font-size:16px; }
  .product-page .wish-field { border-color:#D2C9C5; }
  .product-page .addons .vo-choice--addon { min-height:89px; padding:0; border:0; background:transparent; grid-template-columns:70px minmax(0,1fr); grid-template-rows:auto; column-gap:13px; }
  .product-page .addons .vo-choice--addon > img { grid-column:1; grid-row:1/4; width:70px; height:89px; border-radius:6px; object-fit:cover; }
  .product-page .addons .vo-choice--addon .addon-copy { grid-column:2; grid-row:1; padding:3px 0 0; }
  .product-page .addons .vo-choice--addon .addon-copy b { font-size:13px; }
  .product-page .addons .vo-choice--addon .addon-copy small { margin-top:4px; color:var(--ink); font-size:14px; }
  .product-page .addons .vo-choice--addon .vo-btn { position:static; grid-column:2; grid-row:2; justify-self:start; width:28px; min-width:28px; height:28px; min-height:28px; margin-top:4px; padding:0; }
  .product-page .addons-title.desktop-only { margin-bottom:13px; }
  .product-page .purchase-total.desktop-only { margin-top:21px; border-top:2px solid #D2C9C5; }
  .product-page .purchase-total.desktop-only > div span { font-size:22px; }
  .product-page .purchase-total.desktop-only > div b { font-size:36px; }
  .product-page .vo-btn--product-buy { min-height:48px; height:48px; }
  .product-page .purchase-total.desktop-only .buy-note { font-size:15px; }
  .product-page .size-note-content a { color:var(--ink); text-decoration:underline; text-decoration-color:currentColor; }
  .product-page .size-note-content a .vo-icon { display:none; }
}
@media (max-width:850px) {
  .thumb-caption { display:none; }
  .hero-cake { mask-image:linear-gradient(90deg,transparent 26%,#000 35%,#000 65%,transparent 74%); }
  .product-page[data-product-type]:not(.is-configurator) .hero-cake { mask-image:none; }
  .product-page[data-product-type]:not(.is-configurator) .hero-blur { opacity:0; }
  .product-page[data-product-type]:not(.is-configurator) .gallery { order:0; }
  .product-page[data-product-type]:not(.is-configurator) .configuration { order:1; }
  .product-page[data-product-type]:not(.is-configurator) .product-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; }
  .product-page[data-product-type]:not(.is-configurator) .product-heading h1 { font-size:20px; line-height:1.16; }
  .product-page[data-product-type]:not(.is-configurator) .price { grid-column:2; grid-row:1/3; margin:0; font-size:20px; }
  .product-page[data-product-type]:not(.is-configurator) .meta { margin:5px 0 10px; font-size:11px; }
  .product-page[data-product-type]:not(.is-configurator) .purchase-total.phone-only { display:flex !important; }
  .product-page[data-product-type]:not(.is-configurator) .family-buybar { display:none !important; }
}
.product-page[data-product-type]:not(.is-configurator) .full-name { display:block; }
.family-options { min-width:0; }
.family-options .vo-field { width:100%; min-width:0; }
.family-ingredients { margin:15px 0; border-bottom:1px solid var(--border); }
.family-ingredients summary { display:flex; align-items:center; justify-content:space-between; min-height:36px; cursor:pointer; font-size:13px; }
.family-ingredients p { margin:0 0 10px; color:var(--muted); font-size:12px; line-height:1.4; }
.family-upload { display:flex; align-items:center; gap:8px; }
.family-upload > .vo-icon { flex:none; }
.state-cart-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:12px; }
.state-cart-actions .vo-btn { min-height:40px; padding:0 16px; color:#fff; }
.state-cart-actions > a:last-child { color:var(--ink); font-size:13px; }
.vo-state--cart { border:1px solid var(--border); background:#FFFDFB; color:var(--ink); }
.vo-state--cart .vo-state__copy { color:var(--muted); }
.gallery-empty span { display:none; }
.product-page.is-price-on-request .price { font-size:14px; line-height:1.25; white-space:normal; }
.product-page.is-price-on-request .purchase-total b { font-size:14px; white-space:normal; }
@media (max-width:850px) {
  .product-page.is-price-on-request .price { grid-column:1/-1; grid-row:3; margin-top:5px; }
}
@media (min-width:851px) and (max-width:1199px) {
  .product-page .thumbs { grid-template-columns:repeat(var(--thumbs,5),minmax(0,1fr)); gap:8px; }
  .product-page .thumb { min-width:0; width:auto; }
  .product-page .addons { grid-template-columns:1fr; }
  .product-page .addons .vo-choice--addon .addon-copy b { overflow-wrap:normal; word-break:normal; }
}
@media (min-width:851px) and (max-width:1100px) { .product-page .desktop-term { white-space:nowrap; } }
@media (min-width:768px) and (max-width:850px) { .product-page .hero { height:350px; } }
@media (max-width:850px) {
}
@media (min-width:851px) {
}
@media(min-width:1200px){.product-page .postcard-choice{margin-top:6px}.product-page .addons-title.desktop-only{margin-bottom:8px}.product-page .addons .vo-choice--addon .addon-copy b{line-height:16px}.product-page .purchase-total.desktop-only{margin-top:19px}.product-page .purchase-total.desktop-only>button{margin-top:17px}}
@media(min-width:1200px){.product-page .addons .vo-choice--addon>img{grid-row:1/3}.product-page .addons .vo-choice--addon .addon-copy{padding-top:0}.product-page .addons .vo-choice--addon .addon-copy small{line-height:18px}}

@media(min-width:851px){.product-page[data-kalka="1"]{--thumbs:5;--vo-banner-art:url("../../О2 покупка/PRODUCT/assets/kalka/banner-art.png")}}

.product-heading h1 .full-name{display:block;font-family:var(--font-body);font-weight:400;letter-spacing:normal;white-space:normal}.product-page[data-product-type] .product-heading h1 .full-name{display:block}


.product-page .family-upload{padding:12px 14px;min-height:58px}.product-page .family-upload>span{min-width:0;line-height:1.4}
@media(max-width:850px){.product-page.is-price-on-request .purchase-total.phone-only{flex-direction:column;align-items:stretch;gap:12px;padding:12px 14px}.product-page.is-price-on-request .purchase-total.phone-only>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.product-page.is-price-on-request .purchase-total.phone-only b{font-size:16px;white-space:normal}.product-page.is-price-on-request .purchase-total.phone-only>button{width:100%}}.product-page .extra-fills img{width:auto;max-width:100%;object-fit:contain;margin-left:auto;margin-right:auto}

.thumb img[src$="bags.webp"]{object-fit:contain;object-position:center}
.product-heading .desktop-term{white-space:nowrap}

/* О2-v2: flexible variation count and cake steps. */
.product-page.is-configurator .size-options{display:flex;flex-wrap:wrap;gap:10px}
.product-page.is-configurator .size-options button{flex:1 1 90px;width:auto}
.product-page.is-configurator .fill{height:auto;min-height:155px}
@media(max-width:850px){.product-page.is-configurator .summary{display:grid;margin:18px 0;grid-template-rows:auto auto}}
@media(min-width:851px){.product-page.is-configurator .summary,.product-page.is-configurator .fill .vo-choice__copy,.product-page.is-configurator .fill .vo-choice__price{display:none}}
.cake-detail-fields{display:grid;gap:8px}.cake-detail-fields[hidden]{display:none!important}
.product-page.is-configurator .summary .vo-summary__row b{overflow-wrap:anywhere;white-space:normal}
.product-page.is-configurator .family-options .family-field-label input{width:auto}
@media(max-width:850px){
.product-page.is-configurator [data-family-panel="cake"],.product-page.is-configurator .desktop-postcard{display:none}
.product-page[data-product-step="details"] [data-family-panel="cake"]{display:grid}
.product-page[data-product-step="postcard"] .desktop-postcard{display:block}
.product-page[data-product-step="details"] .section-heading,.product-page[data-product-step="details"] .fills,.product-page[data-product-step="details"] .more-fill,
.product-page[data-product-step="postcard"] .section-heading,.product-page[data-product-step="postcard"] .fills,.product-page[data-product-step="postcard"] .more-fill{display:none}
.product-page[data-product-step="size"] .desktop-size{display:block}
.product-page.is-configurator .addons{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-page.is-configurator .addons .vo-choice--addon{grid-template-columns:minmax(0,1fr) 28px;min-height:100px}
.product-page.is-configurator .addons .vo-choice--addon .addon-copy b{font-size:10px;line-height:1.3;overflow-wrap:normal;word-break:normal}
.product-page.is-configurator .addons .vo-choice--addon>img{width:28px;height:58px}
.product-page.is-configurator .postcard-choice{display:flex}
}
.fills-details-row{display:contents}
/* The row retains the old margin to the postcard; the collapsed checkbox uses the existing row. */
@media(min-width:851px){
.product-page.is-configurator .fills-details-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start;margin-bottom:18px}
.product-page.is-configurator .fills-details-row>.more-fill{grid-column:1;grid-row:1;margin-bottom:0}
.product-page.is-configurator .fills-details-row>[data-family-panel="cake"]{grid-column:2;grid-row:1;margin:10px 0 0;padding:0;border:0;background:none}
.product-page.is-configurator .fills-details-row [data-family-panel="cake"]>h2{display:none}
.product-page.is-configurator .fills-details-row [data-family-panel="cake"]>.family-field-label{display:flex;align-items:center;gap:6px;margin:0;font-size:14px;line-height:20px;white-space:nowrap}
.product-page.is-configurator .fills-details-row #cake-without-inscription{margin:0;width:16px;height:16px}
.product-page[data-details-open="true"] .fills-details-row{grid-template-columns:1fr}
.product-page[data-details-open="true"] .fills-details-row>[data-family-panel="cake"]{grid-column:1;grid-row:2;margin-top:30px}
.product-page[data-details-open="true"] .fills-details-row [data-family-panel="cake"]>h2{display:block;margin-bottom:12px}
}

/* Кадр 04/02: три миниатюры в окне, остальные доступны горизонтальной прокруткой. */
@media(min-width:851px){.product-page .thumbs{display:flex;overflow-x:auto;scrollbar-width:none;gap:14px}.product-page .thumb{flex:0 0 calc((100% - 28px)/3)}}

.product-page input[type=checkbox]{accent-color:var(--accent)}

/* Ф10-3: короткие имена над широкими вырезками свечей 501/502. */
.product-page.is-configurator .addons .vo-choice--addon-bundle{grid-template-columns:minmax(0,1fr) 57px;align-items:start}
.product-page.is-configurator .addons .vo-choice--addon-bundle .addon-copy{grid-column:1/-1;grid-row:1}
.product-page.is-configurator .addons .vo-choice--addon-bundle>img{grid-column:2;grid-row:2/4;width:57px;height:62px;object-fit:contain;align-self:end}
.product-page.is-configurator .addons .vo-choice--addon-bundle>button{grid-column:1;grid-row:2;align-self:end;justify-self:start}

/* Ф11-4: simple add-on product501; shared kit field and purchase controls. */
.is-addon .family-options--addon{display:block;margin:20px 0 24px;max-width:220px}
.is-addon .family-options--addon .vo-field{width:100px}
.is-addon .family-options--addon input{width:100%;min-height:44px}
.is-addon .family-options--addon p{margin:6px 0 0;font-size:12px}
.is-addon .purchase-total.phone-only{margin:20px 0 36px}
.is-addon .hero-cake{object-fit:contain}

.is-addon .family-options--addon .vo-field{height:44px;min-height:44px;padding:0;display:flex;align-items:center}
.is-addon .family-options--addon input{height:44px;min-height:44px;padding:8px 12px;border:0;background:transparent;box-sizing:border-box}
.is-addon [data-full-name]{font-size:11px;line-height:16px}
