/* Be Vietnam Pro: see /assets/fonts/be-vietnam-pro-OFL.txt */
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-400-vietnamese.dc085e2fba3414e5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-400-latin-ext.f7a2811e471c2973.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-400-latin.03d1b589cff172e1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-500-vietnamese.86341610cbe907ee.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-500-latin-ext.947d592eb7676914.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-500-latin.b621f77d35f77702.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-600-vietnamese.97658c6f9a384f29.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-600-latin-ext.20cc75daeaaaa0fa.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-600-latin.9503dec2a7c532c8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-700-vietnamese.4f58af2d1c3e28a9.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-700-latin-ext.33d57e5bd840b039.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-700-latin.a193dd87699bd2e1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Customer purchase typography. Be Vietnam Pro is served locally under OFL.
   No viewport, scroller or action-bar positioning is owned by this file. */
:root{font-size:100%;--purchase-font:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;--purchase-scale:1}
:root.large-text{--purchase-scale:1.125}
body{
 --ui-font:var(--purchase-font);
 --type-text:calc(1rem * var(--purchase-scale));
 --type-caption:calc(.8125rem * var(--purchase-scale));
 --type-code:calc(.75rem * var(--purchase-scale));
 --type-label:calc(.875rem * var(--purchase-scale));
 --type-control:calc(1rem * var(--purchase-scale));
 --type-card-name:calc(1rem * var(--purchase-scale));
 --type-card-price:calc(1.375rem * var(--purchase-scale));
 --type-product-name:calc(1.75rem * var(--purchase-scale));
 --type-price:calc(1.875rem * var(--purchase-scale));
 --type-line-total:calc(1.375rem * var(--purchase-scale));
 --type-total:calc(1.875rem * var(--purchase-scale));
 --type-footer-total:calc(1.5rem * var(--purchase-scale));
 --type-page-title:calc(2rem * var(--purchase-scale));
 --type-section-title:calc(1.375rem * var(--purchase-scale));
 --type-nav:calc(.75rem * var(--purchase-scale));
 --ui-text:var(--type-text);--ui-small:var(--type-caption);--ui-control:var(--type-control);--ui-input:var(--type-text);--ui-label:var(--type-label);--ui-price:var(--type-price);--ui-product-title:var(--type-product-name);
 --purchase-ink:var(--tdf-text,#17221c);--purchase-muted:var(--tdf-text-muted,#526057);
}
html body{font-family:var(--purchase-font)!important;font-size:var(--type-text);font-weight:400;line-height:1.5}
html body :where(*){font-family:var(--purchase-font)!important;font-weight:inherit!important}
html body :is(h1,h2,h3,h4,h5,h6,strong,b){font-weight:600!important}
html body :is(h1,h2,h3,h4,h5,h6){letter-spacing:normal;line-height:1.3}
html body :is(h1,.customer-page-heading h1){font-size:var(--type-page-title)}
html body h2{font-size:var(--type-section-title)}
html body h3{font-size:var(--type-card-name)}
html body :is(p,li,dd){line-height:1.5}
html body :is(button,.btn,summary){font-weight:600!important}
html body :is(input,textarea,select){font-family:var(--purchase-font)!important;font-size:var(--type-text)!important;font-weight:400!important;line-height:1.4!important}
html body :is(label,legend){font-weight:500!important}
html body :is(button,.btn){font-size:var(--type-control)!important}

/* Catalog and featured cards: names read first, prices stand out, units stay clear. */
html body.storefront-v9.sf-enhanced #cards .product-info h3,
html body.storefront-v9.sf-enhanced #cards .product-info .product-title,
html body.web-order .v9-featured h3{font-size:var(--type-card-name)!important;font-weight:600!important;line-height:1.4!important;letter-spacing:normal}
html body.storefront-v9.sf-enhanced #cards .product-price{font-size:var(--type-card-price)!important;font-weight:700!important;line-height:1.2!important;font-variant-numeric:tabular-nums;letter-spacing:normal}
html body.storefront-v9.sf-enhanced #cards .product-price :is(strong,b,span){font-weight:inherit!important}
html body.storefront-v9.sf-enhanced #cards .product-price small{font-size:var(--type-label)!important;line-height:1.4!important;font-weight:500!important;color:var(--purchase-ink)!important;white-space:nowrap}
html body.storefront-v9.sf-enhanced #cards .product-info>:is(.product-sub,.case-badge,.quantity-price-badge,.v17-private-badge,.v15-new-pill,.availability-badge){font-size:var(--type-caption)!important;line-height:1.4!important;font-weight:400!important;color:var(--purchase-muted)}
html body.storefront-v9.sf-enhanced #cards .product-code{font-size:var(--type-code)!important;font-weight:400!important;line-height:1.4!important}
html body.storefront-v9.sf-enhanced #cards .sf-card-action{font-size:var(--type-label)!important;font-weight:600!important;line-height:1.35!important}
html body.web-order :is(.realm-segments button,.catalog-filter-disclosure>summary,.catalog-sort,.catalog-sort select){font-size:var(--type-label)!important;font-weight:500!important}
html body.web-order .realm-segments button[aria-pressed=true]{font-weight:600!important}
html body.web-order #search{font-size:var(--type-text)!important;font-weight:400!important}

/* Product page and Quick Order share roles while keeping their existing grids. */
html body.purchase-refined.web-order #product-page .product-heading h1{font-size:var(--type-product-name)!important;font-weight:600!important;line-height:1.3!important;letter-spacing:normal}
html body.purchase-refined.web-order #product-page :is(#product-name-meta,#variant-unit,.product-quote-note,.product-name-meta){font-size:var(--type-caption)!important;font-weight:400!important;line-height:1.45!important;color:var(--purchase-muted)}
html body.purchase-refined.web-order #product-page #product-display-price{font-size:var(--type-price)!important;font-weight:700!important;line-height:1.25!important;font-variant-numeric:tabular-nums}
html body.purchase-refined.web-order #product-page .variant-submit-meta strong{font-size:var(--type-footer-total)!important;font-weight:700!important;line-height:1.25!important;font-variant-numeric:tabular-nums}
html body.purchase-refined.web-order #product-page :is(.variant-submit-meta span,.quote-line,.quote-line b,.product-price-panel p){font-size:var(--type-caption)!important;line-height:1.45!important}
html body.purchase-refined.web-order #product-page :is(label,legend,.quantity-control>label){font-size:var(--type-label)!important;font-weight:500!important;line-height:1.45!important}
html body.purchase-refined.web-order #product-page :is(#quantity-input,.quantity-field input){font-size:var(--type-text)!important;font-weight:600!important;line-height:1.4!important}
html body.purchase-refined.web-order #product-page :is(#variant-add,#variant-buy,#cart-add-view){font-size:var(--type-control)!important;font-weight:600!important;line-height:1.35!important}
html body.purchase-refined.web-order #product-page .cut-grid button{font-size:var(--type-label)!important;font-weight:500!important;line-height:1.4!important}
html body.purchase-refined.web-order #product-page .cut-grid button[aria-pressed=true]{font-weight:600!important}
html body.purchase-refined.web-order #product-page :is(.product-specifications summary,.product-price-details summary){font-size:var(--type-label)!important;line-height:1.4!important}

/* Cart and checkout: supporting buying information remains readable. */
html body.purchase-refined.web-order #cart-panel #cart-title{font-size:var(--type-section-title)!important;font-weight:600!important;line-height:1.3!important}
html body.purchase-refined.web-order #cart-panel .cart-item-title strong{font-size:var(--type-card-name)!important;font-weight:600!important;line-height:1.4!important}
html body.purchase-refined.web-order #cart-panel :is(.cart-product-meta,.cart-spec,.cart-weight-hint,.cart-price-context,.purchase-cart-count,.customer-fee-details summary,.customer-fee-details p,#cart-tax-summary){font-size:var(--type-caption)!important;line-height:1.45!important;font-weight:400!important}
html body.purchase-refined.web-order #cart-panel .cart-spec{color:var(--purchase-ink)}
html body.purchase-refined.web-order #cart-panel .cart-line-total{font-size:var(--type-line-total)!important;font-weight:700!important;line-height:1.25!important;font-variant-numeric:tabular-nums}
html body.purchase-refined.web-order #cart-panel .cart-quantity-edit input{font-size:var(--type-text)!important;font-weight:600!important;line-height:1.4!important}
html body.purchase-refined.web-order #cart-panel .cart-quantity-edit>span:last-child{font-size:var(--type-label)!important;font-weight:500!important;color:var(--purchase-ink)}
html body.purchase-refined.web-order #cart-panel :is(#cart-total-value,#shopping-total){font-size:var(--type-total)!important;font-weight:700!important;line-height:1.25!important;font-variant-numeric:tabular-nums;letter-spacing:normal}
html body.purchase-refined.web-order #cart-panel .cart-panel__footer>.cart-total>span{font-size:var(--type-caption)!important;line-height:1.4!important;font-weight:400!important}
html body.purchase-refined.web-order #cart-panel :is(#cart-checkout-trigger,#submit-order,#shopping-gift-checkout){font-size:var(--type-control)!important;font-weight:600!important;line-height:1.35!important}
html body.purchase-refined.web-order #cart-panel[data-cart-view=checkout] #submit-order{font-size:var(--type-control)!important;font-weight:600!important;line-height:1.35!important}
html body.purchase-refined.web-order #cart-panel #order-form :is(label,.checkout-address-current>strong,.checkout-extra>summary,.checkout-profile>summary,.crm-verify>h3){font-size:var(--type-label)!important;line-height:1.45!important}
html body.purchase-refined.web-order #cart-panel #order-form :is(input:not([type=hidden]),textarea,select){font-size:var(--type-text)!important;line-height:1.4!important;font-weight:400!important}
html body.purchase-refined.web-order #cart-panel #order-form :is(#customer-verify-status,.checkout-steps,.checkout-address-current>p,.crm-verify>p:first-child>a){font-size:var(--type-caption)!important;line-height:1.45!important}
html body.purchase-refined.web-order #cart-panel :is(#cart-products-label,.cart-actions button){font-size:var(--type-label)!important;line-height:1.4!important}
html body.purchase-refined.web-order #cart-panel .cart-actions button{font-weight:500!important}

/* Login, registration, customer account and order history. */
html body :is(.customer-brand>span,.brand>span){font-size:var(--type-text)!important;font-weight:600!important;line-height:1.4!important}
html body :is(.customer-brand small,.brand small){font-size:var(--type-code)!important;font-weight:400!important;line-height:1.4!important}
html body.customer-login-page .customer-login-card :is(h1,h2){font-size:calc(1.875rem * var(--purchase-scale))!important;line-height:1.3!important;font-weight:600!important;letter-spacing:normal}
html body.customer-login-page .customer-login-intro :is(h1,h2){font-size:calc(2rem * var(--purchase-scale))!important;line-height:1.3!important;font-weight:600!important;letter-spacing:normal}
html body.customer-login-page :is(.customer-login-card label,.login-switch,.login-realm){font-size:var(--type-label)!important;line-height:1.45!important}
html body.customer-login-page :is(.customer-muted,.customer-auth-status,.customer-demo-note,.login-help p,.login-registration p){font-size:var(--type-caption)!important;line-height:1.5!important}
html body.customer-login-page .customer-login-intro p{font-size:var(--type-text)!important;line-height:1.5!important}
html body.customer-login-page .customer-login-card :is(input,select,textarea){font-size:var(--type-text)!important;line-height:1.4!important}
html body.customer-login-page :is(.login-password-field button,.font-size-toggle,.login-help summary,.login-registration summary){font-size:var(--type-label)!important;line-height:1.4!important}
html body.customer-portal :is(.customer-page-heading h1,.customer-main>h1){font-size:var(--type-page-title)!important;line-height:1.3!important}
html body.customer-portal :is(.customer-card h2,.customer-section-heading h2){font-size:var(--type-section-title)!important;line-height:1.3!important}
html body.customer-portal :is(label,.customer-order-table th,.customer-line-meta,.customer-profile dt,.customer-profile dd,.customer-note){font-size:var(--type-label)!important;line-height:1.5!important}
html body.customer-portal :is(.customer-order-table td,.customer-line-title h3){font-size:var(--type-card-name)!important;line-height:1.5!important}
html body.customer-portal :is(.customer-order-table small,.customer-muted,.customer-state,.customer-result-count,.customer-timeline time,.customer-footer){font-size:var(--type-caption)!important;line-height:1.45!important}
html body.customer-portal :is(.customer-stats strong,.customer-order-summary>strong){font-size:var(--type-total)!important;font-weight:700!important;line-height:1.25!important;font-variant-numeric:tabular-nums}
html body.customer-portal :is(.customer-money,.customer-line-title>strong){font-size:var(--type-line-total)!important;font-weight:700!important;font-variant-numeric:tabular-nums}

/* Gift builder and the entry/event screens are part of the same customer flow. */
body[data-gift-realm]{--purchase-ink:var(--ink);--purchase-muted:var(--muted);--display-font:var(--purchase-font)}
html body[data-gift-realm] :is(.hero-copy h2,.page-top h1,#main>h1){font-size:var(--type-page-title)!important;line-height:1.3!important}
html body[data-gift-realm] :is(.products .product-info h3,.product-title-button,.cart-design h2,.preview-line h3,.size-grid .size-name){font-size:var(--type-card-name)!important;font-weight:600!important;line-height:1.4!important}
html body[data-gift-realm] :is(.product-info .price strong,.box-info .price,.product-detail .price,.size-grid .size-price,.quantity-line strong,.dock strong,.cart-design .design-price strong,.total-value,.summary-line.total strong,.catalog-next .summary-line strong,.catalog-continue-price strong){font-size:var(--type-card-price)!important;font-weight:700!important;line-height:1.25!important;font-variant-numeric:tabular-nums}
html body[data-gift-realm] .product-info .price small{font-size:var(--type-label)!important;font-weight:500!important;line-height:1.4!important;color:var(--purchase-ink)}
html body[data-gift-realm] :is(.product-spec,.card-selection,.size-grid .size-method,.size-grid .size-weight){font-size:var(--type-caption)!important;line-height:1.45!important}
html body[data-gift-realm] :is(.field-help,.budget-note,.range-label,.mini-features,.product-meta,.gift-save-status,.steps button,.chip){font-size:var(--type-caption)!important;line-height:1.45!important}
html body[data-gift-realm] #budget-input{font-size:var(--type-total)!important;font-weight:700!important;font-variant-numeric:tabular-nums;letter-spacing:normal}
html body[data-gift-realm] :is(.dock .btn,.dock button,.modal-actions .btn){font-size:var(--type-control)!important;font-weight:600!important;line-height:1.35!important}
html body[data-gift-realm] :is(.brand small,.preview){font-size:var(--type-code)!important;line-height:1.4!important}
html body.entry-surface :is(.entry-intro h1,.entry-card h2){font-size:var(--type-page-title)!important;line-height:1.3!important}
html body.entry-surface :is(.entry-card p,.entry-intro p){font-size:var(--type-text)!important;line-height:1.5!important}
html body.entry-surface :is(.entry-eyebrow,.entry-card-label,.entry-greeting){font-size:var(--type-caption)!important;line-height:1.45!important}
html body.entry-surface :is(.entry-brand small,.entry-card button){font-family:var(--purchase-font)!important}
html body.entry-surface .entry-brand small{font-size:var(--type-code)!important;line-height:1.4!important;font-weight:400!important}
html body.entry-surface .entry-card button{font-size:var(--type-control)!important;font-weight:600!important}
html body.entry-surface footer{font-size:var(--type-code)!important;line-height:1.45!important}

/* Icon glyphs and compact navigation keep their own size, independently of hit areas. */
html body :is(.quantity-field button,.cart-quantity-edit button,#quantity-minus,#quantity-plus,#photo-zoom-in,#photo-zoom-out){font-size:calc(1.25rem * var(--purchase-scale))!important;font-weight:500!important}
html body :is(#cart-close,#quick-order-close,#photo-close,#photo-prev,#photo-next){font-size:calc(1.5rem * var(--purchase-scale))!important;font-weight:500!important;line-height:1!important}
html body :is(.v9-bottom-nav>.v9-cart-shortcut,.v9-bottom-nav>a,.v9-bottom-nav>.sf-bottom-category,.v9-bottom-nav>.sf-bottom-dishes,.customer-bottom-nav>a){font-size:var(--type-nav)!important;font-weight:500!important;line-height:1.4!important}
html body :is(.v9-bottom-nav [aria-current=page],.customer-bottom-nav [aria-current=page]){font-weight:600!important}
html body :is(.v9-cart-shortcut__label,.customer-bottom-nav__label){font-size:var(--type-nav)!important;font-weight:inherit!important}
html body #photo-viewer :is(#photo-caption,#photo-counter,#photo-zoom-value,.photo-instruction){font-size:var(--type-caption)!important;line-height:1.45!important}

@media (max-width:700px),(max-width:1000px) and (max-height:500px){
 body{
  --type-control:calc(.9375rem * var(--purchase-scale));
  --type-card-name:calc(.9375rem * var(--purchase-scale));
  --type-card-price:calc(1.25rem * var(--purchase-scale));
  --type-product-name:calc(1.25rem * var(--purchase-scale));
  --type-price:calc(1.5rem * var(--purchase-scale));
  --type-line-total:calc(1.25rem * var(--purchase-scale));
  --type-total:calc(1.5rem * var(--purchase-scale));
  --type-footer-total:calc(1.375rem * var(--purchase-scale));
  --type-page-title:calc(1.5rem * var(--purchase-scale));
  --type-section-title:calc(1.25rem * var(--purchase-scale));
 }
 html body.storefront-v9.sf-enhanced #cards .product-info h3{-webkit-line-clamp:2}
 html body.storefront-v9.sf-enhanced #cards .product-info>.product-origin{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
 html body.web-order .realm-segments button{font-size:var(--type-caption)!important}
 html body.customer-login-page .customer-login-card :is(h1,h2){font-size:calc(1.75rem * var(--purchase-scale))!important}
 html body.customer-login-page .customer-login-intro :is(h1,h2){font-size:var(--type-page-title)!important}
 html body.purchase-refined.web-order #cart-panel .cart-panel__footer #cart-tax-summary{font-size:var(--type-caption)!important}
 html body[data-gift-realm] .presets{flex-wrap:wrap}
 html body[data-gift-realm] .dock-copy{flex:1 1 0;min-width:min-content}
 html body[data-gift-realm] .dock-actions{flex:1 1 auto;min-width:0}
 html body[data-gift-realm] .dock .btn{white-space:normal;width:100%;max-width:100%}
 html body[data-gift-realm] .dock-cart{min-width:44px;min-height:44px}
}
@media(min-width:480px) and (max-width:1000px) and (max-height:360px){
 body{--type-footer-total:calc(1.25rem * var(--purchase-scale));--type-total:calc(1.375rem * var(--purchase-scale));--type-control:calc(.875rem * var(--purchase-scale))}
 html body.purchase-refined.web-order #cart-panel #cart-title{font-size:var(--type-section-title)!important}
 html body.purchase-refined.web-order #cart-panel .cart-panel__footer{padding-block:6px max(6px,env(safe-area-inset-bottom))}
 html body.purchase-refined.web-order[data-has-gift-cart="true"] #cart-panel .cart-panel__footer{padding-block:4px max(4px,env(safe-area-inset-bottom));row-gap:2px}
 html.large-text body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel #cart-tax-summary{grid-column:1/-1;grid-row:2}
 html.large-text body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel :is(#cart-checkout-trigger,#submit-order){grid-row:1}
}
@media(max-width:360px){
 html body.customer-login-page .customer-brand small{display:none}
}

/* Compact catalog rhythm after the Be Vietnam Pro migration.
   Names and origin can expand in product details; buying units and pack sizes
   must reflow without truncation. The card link remains the purchase target. */
#cards .card-copy-compact{display:none}
@media (max-width:700px),(max-width:1000px) and (max-height:500px){
 html body.storefront-v9.sf-enhanced #cards{gap:8px}
 html body.storefront-v9.sf-enhanced #cards .product-card .product-info{gap:4px;padding:8px 8px 6px;min-width:0}
 html body.storefront-v9.sf-enhanced #cards .product-info h3,
 html body.storefront-v9.sf-enhanced #cards .product-info .product-title{line-height:1.35!important;overflow-wrap:anywhere;word-break:normal}
 html body.storefront-v9.sf-enhanced #cards .product-info h3{min-height:2.7em;margin:0;text-wrap:pretty}
 html body.storefront-v9.sf-enhanced[data-commerce-realm="personal"] #cards .product-code{display:none}
 html body.storefront-v9.sf-enhanced #cards .product-price{margin:0;gap:0 3px;min-width:0}
 html body.storefront-v9.sf-enhanced #cards .product-price-amount{white-space:nowrap}
 html body.storefront-v9.sf-enhanced #cards .product-price small{white-space:normal;overflow-wrap:anywhere;min-width:0}
 html body.storefront-v9.sf-enhanced #cards .product-info>.product-sub:not(.product-origin){display:block;overflow:visible;-webkit-line-clamp:unset}
 html body.storefront-v9.sf-enhanced #cards .product-info>.product-sub[hidden]{display:none!important}
 html body.storefront-v9.sf-enhanced #cards .product-info>.product-origin-specified{display:block!important;overflow:visible!important;-webkit-line-clamp:unset}
 html body.storefront-v9.sf-enhanced #cards .card-origin-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
 html body.storefront-v9.sf-enhanced #cards .card-origin-separator{display:none}
 html body.storefront-v9.sf-enhanced #cards .card-pack-summary{display:block;font-weight:500!important;overflow-wrap:anywhere}
 html body.storefront-v9.sf-enhanced #cards :is(.case-badge,.quantity-price-badge,.v17-private-badge,.availability-badge){padding:2px 4px;border-radius:4px}
 html body.storefront-v9.sf-enhanced #cards .card-copy-full{display:none}
 html body.storefront-v9.sf-enhanced #cards .card-copy-compact{display:inline}
 html body.storefront-v9.sf-enhanced #cards .sf-card-action{margin:0 8px 6px;min-height:44px;padding:4px}
 html body.storefront-v9.sf-enhanced #cards .sf-sku-dish-entry{font-size:var(--type-caption)!important;padding:6px 8px;line-height:1.4!important}
}
/* Larger text gets a third name line, retaining the user's readable type scale. */
@media (max-width:700px),(max-width:1000px) and (max-height:500px){
 html.large-text body.storefront-v9.sf-enhanced #cards .product-info h3{-webkit-line-clamp:3}
}

/* Compact desktop catalog: square photos, close-set names/prices and full-card links. */
@media (min-width:701px) and (min-height:501px),(min-width:1001px){
 html body.storefront-v9.sf-enhanced #cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
 html body.storefront-v9.sf-enhanced #cards>.sku-share-card{border:1px solid var(--tdf-border,#d8e1db);border-radius:6px;overflow:hidden;background:var(--tdf-surface,#fff);transition:border-color 150ms ease,box-shadow 150ms ease}
 html body.storefront-v9.sf-enhanced #cards .product-card{border-radius:6px;background:var(--tdf-surface,#fff);box-shadow:none;overflow:hidden;transform:none;min-width:0}
 html body.storefront-v9.sf-enhanced #cards>.sku-share-card>.product-card{border:0;border-radius:0}
 html body.storefront-v9.sf-enhanced #cards>.sku-share-card:is(:hover,:focus-within){border-color:var(--tdf-primary,#175943);box-shadow:0 2px 8px #17221c12}
 html body.storefront-v9.sf-enhanced #cards .product-card .product-art{flex:none;width:100%;height:auto;min-height:0;aspect-ratio:1;background:var(--tdf-page,#f4f7f5)}
 html body.storefront-v9.sf-enhanced #cards .product-art img{display:block;width:100%;height:100%;object-fit:contain}
 html body.storefront-v9.sf-enhanced #cards .product-card .product-info{display:flex;flex-direction:column;gap:4px;padding:10px 10px 12px;min-width:0;min-height:0}
 html body.storefront-v9.sf-enhanced #cards .product-caption{display:none}
 html body.storefront-v9.sf-enhanced[data-commerce-realm=personal] #cards .product-code{display:none}
 html body.storefront-v9.sf-enhanced #cards .product-code{order:5;min-height:0;margin:0;font-size:calc(.75rem * var(--purchase-scale))!important;line-height:1.4!important;color:var(--purchase-muted)}
 html body.storefront-v9.sf-enhanced #cards .product-info h3{order:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;height:auto;min-height:0;max-height:none;margin:0;padding:0;overflow:hidden;font-size:calc(.9375rem * var(--purchase-scale))!important;font-weight:500!important;line-height:1.4!important;text-wrap:pretty}
 html body.storefront-v9.sf-enhanced #cards .product-info .product-title{font:inherit!important;line-height:inherit!important;overflow-wrap:anywhere}
 html body.storefront-v9.sf-enhanced #cards .product-price{order:2;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 4px;min-height:0;margin:2px 0 0;padding:0;font-size:calc(1.375rem * var(--purchase-scale))!important;font-weight:600!important;line-height:1.25!important;color:var(--tdf-primary,#175943)}
 html body.storefront-v9.sf-enhanced #cards .product-price-amount{white-space:nowrap}
 html body.storefront-v9.sf-enhanced #cards .product-price small{font-size:calc(.8125rem * var(--purchase-scale))!important;line-height:1.4!important;font-weight:400!important;color:var(--purchase-muted)!important;white-space:normal;overflow-wrap:anywhere}
 html body.storefront-v9.sf-enhanced #cards .product-info>.product-sub{order:3;min-height:0;margin:0;padding:0;font-size:calc(.75rem * var(--purchase-scale))!important;line-height:1.4!important;overflow-wrap:anywhere}
 html body.storefront-v9.sf-enhanced #cards .product-info>.product-origin{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 html body.storefront-v9.sf-enhanced #cards .product-info>.product-origin-specified{display:block;-webkit-line-clamp:unset;overflow:visible}
 html body.storefront-v9.sf-enhanced #cards .card-origin-separator{display:none}
 html body.storefront-v9.sf-enhanced #cards .card-origin-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 html body.storefront-v9.sf-enhanced #cards .card-pack-summary{display:block}
 html body.storefront-v9.sf-enhanced #cards .product-info>:is(.case-badge,.quantity-price-badge,.v17-private-badge,.v15-new-pill,.availability-badge){order:4;align-self:flex-start;max-width:100%;min-height:0;margin:0;padding:2px 5px;border-radius:3px;font-size:calc(.75rem * var(--purchase-scale))!important;line-height:1.4!important;overflow-wrap:anywhere}
 html body.storefront-v9.sf-enhanced #cards .product-info>.case-badge{padding:0;background:transparent;color:var(--purchase-muted)}
 html body.storefront-v9.sf-enhanced #cards .card-copy-full{display:none}
 html body.storefront-v9.sf-enhanced #cards .card-copy-compact{display:inline}
 html body.storefront-v9.sf-enhanced #cards .sf-sku-dish-entry{flex:none;min-height:44px;padding:6px 10px;border-top:1px solid var(--tdf-border,#d8e1db);border-radius:0;font-size:calc(.75rem * var(--purchase-scale))!important;font-weight:500!important;line-height:1.4!important}
 html body.storefront-v9.sf-enhanced #cards a.product-card:focus-visible{outline:3px solid var(--tdf-focus,#175cd3)!important;outline-offset:-3px!important}
}
@media (min-width:701px) and (max-width:1000px) and (min-height:501px){
 html body.storefront-v9.sf-enhanced #cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1280px){
 html body.storefront-v9.sf-enhanced #cards{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
 html body.storefront-v9.sf-enhanced #cards>.sku-share-card{transition:none}
}
