.mug-page { padding-bottom: 60px; }
.mug-top-hero { padding-top: 18px; margin-bottom: 0; }
.mug-gallery { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 16px; background: #fcfaf7; }
.mug-gallery::-webkit-scrollbar { display: none; }
.mug-gallery:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mug-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; }
.mug-slide img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.mug-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; scrollbar-width: thin; }
.mug-thumbnails button { flex: 0 0 52px; width: 52px; height: 52px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fcfaf7; }
.mug-thumbnails button[aria-current="true"] { border: 2px solid var(--strawberry-coral); }
.mug-thumbnails img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.mug-page button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mug-example-note { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--soft-ink); }
.mug-page .product-heading { margin-top: 22px; }
.mug-intro { font-size: 15px; color: var(--soft-ink); }
.mug-page .hero-price { font-size: 17px; }
.mug-page .price-card { margin-top: 0; }
.flow-progress { display: none; }
.flow-progress > span { display: grid; gap: 5px; color: var(--soft-ink); font-size: 11px; font-weight: 800; text-align: center; }
.flow-progress > span::before { counter-increment: step; content: ""; display: grid; place-items: center; width: 13px; height: 13px; margin: 6px auto; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--soft-ink); }
.flow-progress > span[aria-current="step"] { color: var(--blue); }
.flow-progress > span[aria-current="step"]::before { border-color: var(--strawberry-coral); background: var(--strawberry-coral); color: #fff; }
.mug-page .illustration-card { grid-template-columns: 48px minmax(0,1fr); }
.mug-style-swatch { display: grid; place-items: center; width: 44px; height: 54px; background: white; border: 1px solid #dfd9d0; border-radius: 3px 3px 12px 12px; color: #d47c69; font-size: 27px; }
.mug-style-swatch.with-background { background: repeating-linear-gradient(90deg,#fff6de 0 8px,#e9b8b1 8px 10px,#fff6de 10px 17px,#b9d4d9 17px 19px); }
.mug-style-swatch.storybook-background { background: repeating-linear-gradient(90deg,#fff6de 0 7px,#e9b8b1 7px 9px,#fff6de 9px 15px,#b9d4d9 15px 17px); }
.mug-page .illustration-copy > span { font-size: 11px; line-height: 1.4; }
.mug-page .value-point { padding-left: 0; }
.mug-page .faq-section { margin-top: 34px; }
.mug-review-card { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,#fff9ef,#fff); }
.mug-review-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.mug-review-heading h3, .mug-form-section h3, .mug-payment-section h3 { margin: 0; color: var(--blue); font-size: 20px; line-height: 1.2; }
.mug-review-heading .secondary-cta { min-height: 0; padding: 7px 12px; font-size: 12px; }
.mug-review { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 10px; margin: 0; font-size: 14px; }
.mug-review dt { color: var(--soft-ink); }
.mug-review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.mug-delivery { display: grid; gap: 18px; margin: 20px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.mug-delivery legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mug-form-section { display: grid; gap: 12px; }
.mug-form-section + .mug-form-section { padding-top: 18px; border-top: 1px solid rgba(232,216,196,.75); }
.mug-checkout-total { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,249,240,.66); }
.mug-checkout-total .selection-total { margin: 0; padding: 0; border: 0; }
.mug-payment-section { display: grid; gap: 12px; margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.mug-payment-section .mug-example-note { margin: 0; }
.mug-order-status { padding: 14px; background: var(--cream); border-radius: 12px; font-size: 14px; }
.mug-footer { margin-top: 32px; text-align: center; font-family: var(--hand); color: var(--blue); font-size: 22px; }
.mug-photo { position: relative; width: 72px; }
.mug-photo img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.mug-photo button { display: block; width: 100%; margin-top: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 5px; color: var(--blue); background: #fff; font-size: 11px; }
@media (max-width: 380px) { .mug-page .illustration-card { grid-template-columns: 1fr; } .mug-style-swatch { justify-self: center; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.mug-page .hero-price strong { font-size: 17px; color: var(--soft-ink); }
.mug-page .mug-gallery-groups { display: none; }
.mug-page [hidden] { display: none !important; }
.market-language-toggle { width: 38px; min-width: 38px; height: 38px; min-height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fffaf4; color: var(--blue); font: 800 12px/1 inherit; cursor: pointer; }
.mug-quantity-saving { display: block; min-height: 1.35em; margin-top: 5px; color: var(--strawberry-coral); font-weight: 800; }

.mug-page .mug-price-display { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.mug-page .mug-price-display del { color:var(--blue); font-size:18px; font-weight:750; text-decoration-thickness:2px; }
.mug-page .mug-price-display strong { font-size:32px; color:var(--ink); }
.mug-page .mug-price-display span { padding:5px 9px; border-radius:6px; background:#d8423d; color:#fff; font-size:12px; font-weight:900; line-height:1.2; }
.mug-deal-card { position:relative; display:grid; gap:5px; margin:10px 0 18px; padding:14px 16px; overflow:hidden; border:2px solid #ef5a52; border-radius:14px; background:linear-gradient(120deg,#fff7f2,#fff 70%); box-shadow:0 8px 22px rgba(207,64,58,.12); }
.mug-deal-card::after { position:absolute; top:-32px; right:-28px; width:92px; height:92px; border-radius:50%; background:#ffe0d3; content:""; }
.mug-deal-label { position:relative; z-index:1; width:max-content; padding:4px 8px; border-radius:5px; background:#d8423d; color:#fff; font-size:12px; font-weight:900; letter-spacing:.02em; }
.mug-deal-prices { position:relative; z-index:1; display:flex; align-items:baseline; gap:10px; margin:2px 0 0; }
.mug-deal-prices del { color:var(--blue); font-size:16px; font-weight:750; text-decoration-thickness:2px; }
.mug-deal-prices strong { color:var(--ink); font-size:28px; line-height:1; }
.mug-deal-message { position:relative; z-index:1; margin:0; color:#b8332e; font-size:14px; font-weight:900; }
.mug-keepsake-link { font-size: 13px; line-height: 1.6; color: var(--soft-ink); margin-top: 28px; }
.mug-keepsake-link a { color: var(--blue); }
.story-set-offer { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin: 24px 0; padding: 18px; border: 1px solid rgba(238,117,109,.36); border-radius: 18px; background: linear-gradient(135deg,#fff3e6,#eaf5f5); color: var(--ink); text-decoration: none; box-shadow: 0 10px 24px rgba(65,83,85,.08); }
.story-set-offer span { display: grid; gap: 4px; }.story-set-offer small { color: var(--strawberry-coral); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }.story-set-offer strong { color: var(--blue); font-size: 18px; }.story-set-offer em { color: var(--soft-ink); font-size: 14px; font-style: normal; line-height: 1.45; }.story-set-offer > b { flex: 0 0 auto; color: var(--blue); text-align: right; }.story-set-offer i { color: var(--strawberry-coral); font-style: normal; }
@media (max-width: 460px) { .story-set-offer { align-items: flex-start; flex-direction: column; }.story-set-offer > b { text-align: left; } }

.mug-gallery-groups { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.mug-gallery-groups button { border: 1px solid var(--line); border-radius: 20px; padding: 8px 12px; background: #fff; color: var(--blue); cursor: pointer; }
.limited-label { color: var(--coral) !important; font-weight: 850; }
.mug-delivery { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.mug-delivery legend { color: var(--blue); font-size: 22px; font-weight: 800; padding: 0; margin-bottom: 16px; }
.mug-paypal { margin-top: 16px; }
.mug-page button:disabled { opacity: .6; cursor: wait; }
.character-details-section { margin-top: 24px; }
.character-details-section h3 { margin: 0 0 10px; color: var(--blue); font-size: 18px; }
.character-details { display: grid; gap: 10px; }
.character-detail-card { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf4; }
.character-detail-card > strong { color: var(--blue); font-size: 15px; }
.character-detail-card label { display: grid; gap: 5px; color: var(--soft-ink); font-size: 13px; font-weight: 700; }
.character-detail-card input, .character-detail-card select, .character-detail-card textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; background: #fff; color: var(--ink); font: inherit; }
.add-character-button { display: flex; justify-content: center; align-items: center; gap: 7px; width: 100%; min-height: 48px; margin-top: 12px; border: 1px dashed var(--strawberry-coral); border-radius: 12px; background: #fff8f3; color: var(--blue); font: inherit; font-weight: 800; cursor: pointer; }
.add-character-button > span { color: var(--strawberry-coral); font-size: 22px; line-height: 1; }
.add-character-button small { color: var(--soft-ink); font-size: 12px; }
.add-character-button:disabled { border-style: solid; border-color: var(--line); background: #f8f5f0; }
.mug-page .mug-photo-empty { width: 104px; min-height: 104px; padding: 20px; place-items: center; }
.mug-photo-empty svg { width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mug-page .mug-photo-tile { position: relative; width: 140px; margin: 0; }
.mug-page .mug-photo-tile .mug-photo-change { display: block; position: relative; width: 140px; height: 140px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; cursor: pointer; }
.mug-page .mug-photo-tile img { width: 100%; height: 100%; object-fit: contain; }
.mug-photo-change > span { position: absolute; bottom: 6px; right: 6px; display: grid; place-items: center; width: 30px; height: 30px; background: white; border-radius: 50%; color: var(--blue); }
.mug-page .mug-photo-tile .mug-photo-remove { position: absolute; right: -10px; top: -10px; display: grid; place-items: center; width: 36px; height: 36px; min-height: 36px; padding: 7px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--blue); cursor: pointer; }
.mug-photo-tile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mug-photo-tile button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.character-outfit { display: flex; gap: 8px; border: 0; padding: 0; margin: 4px 0; min-width: 0; }
.character-outfit legend { padding: 0; margin-bottom: 8px; color: var(--soft-ink); font-size: 13px; font-weight: 700; }
.character-outfit label { flex: 1; position: relative; }
.character-outfit input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.character-outfit label > span { display: grid; place-items: center; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.character-outfit input:checked + span { border-color: var(--blue); background: #eaf3f4; color: var(--blue); }
.character-outfit input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.character-extra-details summary { display: flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; color: var(--blue); font-size: 14px; list-style: none; }
.character-extra-details summary::-webkit-details-marker { display: none; }
.character-extra-details summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.character-extra-details[open] summary svg { transform: rotate(45deg); }
.character-extra-details summary small { color: var(--soft-ink); font-weight: 400; }
.mug-page .illustration-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mug-page .theme-image-card { position: relative; display: block; min-height: 104px; padding: 6px; overflow: hidden; }
.mug-page .theme-image-card > img,
.mug-page .theme-white-card > span[aria-hidden="true"] { display: block; width: 100%; height: 90px; border-radius: 9px; object-fit: cover; }
.mug-page .theme-image-card > img { object-position: center; }
.mug-page .theme-white-card > span[aria-hidden="true"] { border: 1px solid #e8ded3; background: #fff; }
.mug-page .theme-image-card input { position: absolute; top: 11px; right: 11px; z-index: 2; width: 20px; height: 20px; margin: 0; accent-color: var(--strawberry-coral); filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)); }
.mug-page .theme-image-card:has(input:checked) { border-color: var(--strawberry-coral); box-shadow: 0 0 0 2px rgba(238,117,109,.16); }
@media (max-width: 430px) { .mug-page .theme-image-card { min-height: 88px; }.mug-page .theme-image-card > img, .mug-page .theme-white-card > span[aria-hidden="true"] { height: 74px; } }
.mug-page .mug-delivery { display: grid; gap: 18px; margin: 20px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.mug-page .mug-delivery legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; padding: 0; border: 0; }
.mug-page .personalization-panel, .mug-page [data-step="3"] { text-align: left; }
.mug-page .starter-field, .mug-page .character-detail-card label { text-align: left; }
.mug-page .starter-field > span { text-align: left; }
.mug-page .starter-field input, .mug-page .starter-field select, .mug-page .starter-field textarea { font-size: 16px; }
.mug-page [data-step="1"] > .starter-field + .starter-field { margin-top: 18px; }
.mug-page .character-detail-card { gap: 12px; padding: 16px; background: #fffcf8; }
.mug-page .story-print-choice { display:grid; grid-template-columns:20px 76px minmax(0,1fr) auto; align-items:center; gap:10px; margin-top:4px; padding:10px 12px; border:1px solid #eadcca; border-radius:12px; background:#fff; color:var(--blue); cursor:pointer; }
.mug-page .story-print-choice:has(input:checked) { border-color:var(--strawberry-coral); background:#fff6f1; box-shadow:0 0 0 2px rgba(238,117,109,.1); }
.mug-page .story-print-choice input { width:20px; min-height:20px; padding:0; accent-color:var(--strawberry-coral); }
.mug-page .story-print-example { position:relative; display:block; width:76px; height:66px; }
.mug-page .story-print-example img { position:absolute; display:block; object-fit:contain; background:#fff; filter:drop-shadow(0 3px 4px rgba(75,57,40,.16)); }
.mug-page .story-print-example img:first-child { left:0; top:0; width:42px; height:58px; z-index:2; }
.mug-page .story-print-example img:last-child { right:0; bottom:0; width:49px; height:49px; z-index:1; }
.mug-page .story-print-copy { display:grid; gap:3px; min-width:0; }
.mug-page .story-print-copy strong { font-size:14px; font-weight:850; line-height:1.25; }
.mug-page .story-print-copy small { color:var(--soft-ink); font-size:11px; font-weight:500; line-height:1.35; }
.mug-page .story-print-choice b { color:var(--strawberry-coral); font-size:13px; white-space:nowrap; }
.mug-page .story-print-choice.is-unavailable { opacity:.5; cursor:not-allowed; }
.mug-personalise-total { margin-top:18px; }
.after-payment-note { display:grid; gap:4px; margin:18px 0; padding:14px 16px; border:1px solid #eadcca; border-radius:14px; background:#fff8ed; color:var(--soft-ink); font-size:13px; line-height:1.45; }
.after-payment-note strong { color:var(--blue); font-size:15px; }
.prepay-status { min-height:1.4em; margin:10px 0 0; color:var(--strawberry-coral); }
.mug-page .theme-image-card input { filter: none; }
.mug-page .character-detail-card input, .mug-page .character-detail-card select, .mug-page .character-detail-card textarea { font-size: 16px; min-height: 44px; }
.mug-page [data-step="3"] > .story-set-offer { padding: 14px; box-shadow: none; background: #fffaf4; margin-block: 18px; }
.mug-page [data-step="3"] > .story-set-offer strong { font-size: 16px; }
.mug-page [data-step="3"] > .story-set-offer em { font-size: 13px; }
@media (max-width: 520px) {
  .mug-slide img { height: clamp(240px, 72vw, 300px); aspect-ratio: auto; }
  .mug-page .product-heading { margin-top: 16px; margin-bottom: 18px; }
  .mug-page .character-details-section { margin-top: 12px; }
  .mug-page .story-print-choice { grid-template-columns:20px 68px minmax(0,1fr); }
  .mug-page .story-print-example { width:68px; }
  .mug-page .story-print-choice b { grid-column:3; margin-top:-8px; }
}

.mug-set-upgrade .story-set-offer { display:grid; grid-template-columns:140px minmax(0,1fr); gap:20px; padding:20px; background:#fffaf4; box-shadow:none; border-color:#eadcca; }
.mug-set-upgrade .story-set-visual { position:relative; display:block; min-height:126px; }
.mug-set-upgrade .story-set-visual img { position:absolute; width:76px; height:104px; object-fit:cover; border-radius:6px; background:#fff; box-shadow:0 5px 14px #624f3830; }
.mug-set-upgrade .story-set-visual img:first-child { top:0; left:0; }
.mug-set-upgrade .story-set-visual img:last-child { right:0; bottom:0; z-index:1; height:auto; aspect-ratio:1; }
.mug-set-upgrade .story-set-offer strong { font-size:21px; line-height:1.2; }
.mug-set-upgrade .story-set-offer b { color:var(--blue); font-size:14px; margin-top:4px; }
.mug-set-upgrade .set-upgrade-action { display:flex; align-items:center; gap:8px; color:var(--strawberry-coral); font-size:14px; font-weight:800; margin-top:8px; }
.set-upgrade-action svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; }
@media(max-width:460px) { .mug-set-upgrade .story-set-offer { grid-template-columns:112px minmax(0,1fr); padding:16px; gap:14px; } .mug-set-upgrade .story-set-offer strong { font-size:19px; } .mug-set-upgrade .story-set-visual { min-height:112px; }.mug-set-upgrade .story-set-visual img { width:68px; height:94px; } }
