/* Storefront roles: one scale for each purpose, independent of the page. */
:root {
 --font-ui:Manrope,Arial,sans-serif;
 --font-heading:Oswald,Arial,sans-serif;
 --text-body:14px; --text-small:12px; --text-caption:11px; --text-label:12px; --text-control:12px; --text-input:14px;
 --text-page-title:clamp(30px,3.1vw,44px); --text-section-title:clamp(26px,2.6vw,34px); --text-block-title:22px; --text-subhead:16px;
 --text-product-title:clamp(26px,2.4vw,36px); --text-card-title:14px; --text-card-price:14px; --text-price:20px; --text-total:24px; --text-status:12px; --text-card-status:11px;
 --line-body:1.6; --line-heading:1.15;
 --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:20px; --space-6:24px; --space-8:32px; --space-10:40px; --space-12:48px;
 --page-top:32px; --page-bottom:64px; --section-gap:24px; --panel-padding:24px; --card-padding:12px; --card-gap:8px; --form-gap:16px;
}
@media(max-width:720px) { :root {
 --text-body:13px; --text-label:11px; --text-control:11px; --text-input:16px;
 --text-page-title:clamp(27px,7.5vw,32px); --text-section-title:clamp(24px,6.5vw,28px); --text-block-title:20px; --text-subhead:15px;
 --text-product-title:clamp(20px,5.7vw,24px); --text-card-title:13px; --text-card-price:13px; --text-price:18px; --text-total:22px; --text-card-status:10px;
 --page-top:24px; --page-bottom:40px; --section-gap:20px; --panel-padding:20px; --card-padding:10px;
} }
body { font-family:var(--font-ui); font-size:var(--text-body); }
.page { --page-section-gap:var(--section-gap); padding-top:var(--page-top); padding-bottom:var(--page-bottom); }
.page .page-title { font-family:var(--font-heading); font-size:var(--text-page-title); font-weight:700; line-height:var(--line-heading); letter-spacing:.02em; }
.page-intro,.certificate-heading .page-intro { font-family:var(--font-ui); font-size:var(--text-body); font-weight:500; line-height:var(--line-body); }
.page-heading-row { gap:var(--space-3); }
.page-count { font-size:var(--text-small); }
.page .panel { padding:var(--panel-padding); }
.page :is(.step-title,.summary-title,.certificate-editor__title,.certificate-panel-heading h2,.product-detail__description h2,.legal-page h2),
.legal-page h2 { font-family:var(--font-heading); font-size:var(--text-block-title); font-weight:600; line-height:var(--line-heading); letter-spacing:.015em; text-transform:uppercase; }
.page :is(.empty-state h2,.reviews-cta h2,.order-done h1),.home-section-heading h2,.home-gift h2 { font-family:var(--font-heading); font-size:var(--text-section-title); font-weight:700; line-height:var(--line-heading); letter-spacing:.02em; }
.page :is(.empty-state p,.review-card p,.reviews-cta p,.care-item p,.order-done p,.checkout-notice,.payment-result-message),
.legal-page :is(p,li) { font-family:var(--font-ui); font-size:var(--text-body); line-height:var(--line-body); }
.page :is(.button,.product-button,.catalog-secondary-button,.certificate-primary,.certificate-next,.checkout-small-button,.chip,.catalog-filter__trigger,.catalog-filter__option,.catalog-filter__apply),
.home-view-all,.home-gift__button { font-family:var(--font-ui); font-size:var(--text-control); line-height:1.4; }
.page :is(.field,.certificate-field,.checkout-promo label) { font-size:var(--text-label); line-height:1.5; gap:var(--space-2); }
.page :is(.field input,.field textarea,.certificate-field input,.certificate-field textarea,.checkout-promo input,.catalog-price-input input) { font-family:var(--font-ui); font-size:var(--text-input); line-height:1.5; }
.page :is(.field-error,.certificate-error,.checkout-feedback,.checkout-payment-status,.delivery-error) { font-size:var(--text-small); line-height:1.5; }
.page :is(.field-grid,.certificate-contact-fields) { gap:var(--form-gap); }
.page .checkout-form { gap:var(--section-gap); }
.page .checkout-form .panel { gap:var(--space-4); }
.page .summary { font-size:var(--text-body); line-height:var(--line-body); }
.page .summary-title { margin-bottom:var(--space-2); }
.page .summary-row { gap:var(--space-3); }
.page .summary-row--total { font-size:var(--text-total); }
.page .summary-row:not(.summary-row--total) :is(span,strong) { font-size:var(--text-body); }
.page .checkout-layout .summary { gap:var(--space-3); }
.page :is(.cart-layout,.checkout-layout,.reviews-grid,.care-accordion) { margin-top:var(--section-gap); }
.page .reviews-cta { margin-top:var(--space-8); padding:var(--panel-padding); gap:var(--space-4); }
.page .care-item { padding-block:var(--space-5); gap:var(--space-4); }
.page .care-item__number { font-size:var(--text-block-title); }
.page .review-card { padding:var(--panel-padding); gap:var(--space-2); }
.page .review-card time,.page .cart-item__category { font-size:var(--text-caption); }
.page .cart-item__info { font-size:var(--text-card-title); line-height:1.45; }
.legal-page h2 { margin:var(--space-6) 0 var(--space-3); }
.legal-page p { margin:0 0 var(--space-3); }
.legal-page ul,.legal-page ol { margin-block:var(--space-3); }
.legal-page li+li { margin-top:var(--space-2); }
.legal-page .page-title { margin-bottom:var(--section-gap); }
.page .certificate-heading { margin-bottom:var(--section-gap); }
.page .certificate-heading .page-title { margin-bottom:var(--space-3); }
.page .certificate-panel-heading { margin-bottom:var(--space-4); }
.page .certificate-panel-heading h2 { margin:0 0 var(--space-2); }
.page .certificate-panel-heading p { font-size:var(--text-small); line-height:var(--line-body); }
.page .certificate-editor { padding:var(--panel-padding); }
.page .certificate-action { margin-top:var(--space-5); padding-top:var(--space-5); gap:var(--space-4); }
.page .certificate-action strong { font-size:var(--text-price); }
.page .certificate-steps button { font-size:var(--text-label); }
/* The certificate artwork keeps its own proportional typography and PDF layout. */
.catalog-page .product-name,.home-product__caption>strong { font-family:var(--font-ui); font-size:var(--text-card-title); line-height:1.4; font-weight:650; letter-spacing:0; }
.catalog-page .product-price,.home-product__bottom { font-family:var(--font-ui); font-size:var(--text-card-price); line-height:1.4; font-weight:750; }
.product-card__body { padding:var(--card-padding); gap:var(--card-gap); }
.home-product__caption { padding:var(--space-2) var(--card-padding) var(--card-padding); gap:var(--space-1); }
.home-product__arrow { width:24px; height:24px; }
.catalog-page .product-meta { font-size:var(--text-caption); line-height:1.4; letter-spacing:.04em; }
.product-card__status { font-size:var(--text-card-status); padding:4px 8px; }
.page.product-page { padding-top:16px; padding-bottom:var(--space-6); }
.product-detail .page-title { font-size:var(--text-product-title); line-height:1.15; }
.product-detail__price { font-size:var(--text-price); margin:var(--space-3) 0 var(--space-2); line-height:1.3; }
.product-detail__status { font-size:var(--text-status); padding:5px 10px; }
.product-variants { margin:var(--space-3) 0; }
.product-detail__description { margin-top:var(--space-4); padding:var(--space-4) 0 var(--space-5); }
.product-detail__description h2 { margin:0 0 var(--space-2); }
.product-detail__description p { font-size:var(--text-body); line-height:var(--line-body); }
.product-detail .product-detail__purchase>button { height:44px; min-height:44px; font-size:var(--text-control); letter-spacing:.04em; }
.product-detail__status+.product-detail__purchase { margin-top:var(--space-4); }
@media(max-width:720px) {
 .page.product-page { --product-photo-height:var(--product-mobile-photo-height,38svh); padding-top:var(--space-3); padding-bottom:calc(var(--product-actions-height,72px) + var(--space-4)); min-height:calc(100svh - 64px); }
 .product-detail { gap:var(--space-3); }
 .product-gallery { width:min(100%,calc(var(--product-photo-height)*.75)); }
 .product-gallery__stage { border-radius:16px; }
 .product-gallery__thumbs { gap:var(--space-2); margin-top:var(--space-2); padding:2px; scrollbar-width:none; }
 .product-gallery__thumbs::-webkit-scrollbar { display:none; }
 .product-gallery__thumb { width:30px; height:40px; border-radius:7px; }
 .product-detail__price { margin-top:var(--space-2); }
 .product-variants { margin:var(--space-2) 0; }
 .product-variants__item { width:48px; flex-basis:48px; padding:2px; border-radius:8px; }
 .product-variants__item img { border-radius:4px; }
 .product-variants__track { gap:var(--space-2); }
 .product-detail .product-detail__purchase { position:fixed; z-index:40; inset:auto 0 0; margin:0; padding:10px max(16px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); background:#fff7fc; border-top:1px solid #e8127e18; box-shadow:0 -5px 24px #b8286a0b; gap:10px; }
 .product-detail .product-detail__purchase>button { height:42px; min-height:42px; border-radius:11px; padding:9px 6px; }
 .product-detail__purchase .product-detail__action-icon svg { width:16px; height:16px; }
 .product-detail__description { margin-top:var(--space-4); }
}
@media(hover:none),(pointer:coarse) {
 .catalog-page .product-card:hover { transform:none; filter:none; box-shadow:var(--surface-shadow); }
 .home-product:hover { transform:none; box-shadow:0 5px 24px #ba668614; }
 .home-product:hover img,.home-product:hover .home-product__arrow { transform:none; }
}

.cart-layout .summary { display:flex; flex-direction:column; gap:var(--space-3); }
.cart-layout .summary-row { display:flex; align-items:baseline; justify-content:space-between; margin:0; }
.cart-layout .summary-row--total { margin-top:var(--space-1); padding-top:var(--space-4); border-top:1px solid #e8127e18; }
.cart-layout .summary-row--total strong { font-family:var(--font-ui); font-size:var(--text-total); }
.page :is(.catalog-added-dialog h2,.certificate-dialog h2) { font-family:var(--font-heading); font-size:var(--text-block-title); }
.cart-added-dialog h2 { font-family:var(--font-heading); font-size:var(--text-block-title); }
.cart-added-dialog p,.certificate-dialog p { font-family:var(--font-ui); font-size:var(--text-body); line-height:var(--line-body); }
.home-section-heading { margin-bottom:var(--section-gap); }
.home-selection { margin-bottom:var(--space-10); }
.home-section-heading p,.home-gift p { font-size:var(--text-caption); line-height:1.5; }

.page .summary-row--total strong { font-family:var(--font-ui); font-size:var(--text-total); line-height:1.3; }
.page :is(.field input,.field textarea,.certificate-field input,.certificate-field textarea) { font-weight:500; }
.home-product__arrow { width:20px; height:20px; }
.home-product__arrow svg { width:16px; height:16px; }
/* Share each catalogue row's title/status/buy tracks, without truncating names. */
@supports(grid-template-rows:subgrid) {
 .catalog-page .product-card { display:grid; grid-template-rows:subgrid; grid-row:span 4; row-gap:0; }
 .catalog-page .product-card__media { grid-row:1; }
 .catalog-page .product-card__body { display:grid; grid-template-rows:subgrid; grid-row:2 / span 3; row-gap:var(--card-gap); }
 .catalog-page .product-info { align-self:start; }
 .catalog-page .product-card__status { align-self:start; justify-self:start; }
 .catalog-page .product-buy { align-self:end; }
}
