:root{
  --bg:#ffffff;--surface:#ffffff;--surface-2:#f7faff;--text:#2e2e2e;--muted:#6f7481;--line:#dbe6f6;
  --primary:#ff4fa0;--primary-deep:#e9368a;--secondary:#4b8fe8;--accent:#ff4fa0;--support:#eef5ff;--plum:#2f5fa8;
  --shadow:0 18px 45px rgba(75,143,232,.10);--shadow-soft:0 10px 28px rgba(46,46,46,.08);--radius:22px;--radius-sm:14px;
  --container:min(1180px,calc(100% - 2rem));
}
*,:before,:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tahoma,Arial,'Segoe UI',sans-serif;background:linear-gradient(180deg,#f7fbff 0%,var(--bg) 34%,#ffffff 100%);color:var(--text);line-height:1.6}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{background:#fff;color:var(--text)}
.container,.order-page-container{width:var(--container);margin-inline:auto}.menu-shell{padding:24px 0 40px}.menu-topbar,.order-page-header,.refined-page-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:18px 22px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border:1px solid rgba(255,214,201,.8);border-radius:28px;box-shadow:var(--shadow-soft);position:sticky;top:12px;z-index:30}.menu-brand,.order-brand-lockup{display:flex;align-items:center;gap:12px}.brand-single-title,.order-product-title,.dashboard-title{margin:0;font-size:clamp(1.35rem,2.6vw,2.3rem);line-height:1.2;color:var(--text)}.brand-single-title{font-weight:800}.header-brand-row{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;font-weight:800;font-size:1.4rem}.brand-blue{color:var(--secondary)}.brand-pink{color:var(--primary)}.header-brand-caption,.cart-header-caption,.dashboard-subtitle,.cart-page-subtitle{color:var(--muted)}
.search-box{position:relative;display:flex;align-items:center;gap:10px;flex:1 1 340px;min-width:260px;padding:10px 14px;background:var(--surface-2);border:1px solid var(--line);border-radius:18px}.search-box input{flex:1;border:0;outline:0;background:transparent;padding:4px 2px}.search-icon-badge,.clear-search,.topbar-context-icon,.cart-link-icon-wrap,.mobile-section-trigger-icon,.input-icon-box,.cart-section-heading-icon,.cart-empty-icon,.summary-badge,.order-type-icon,.cart-insight-card strong+span{display:grid;place-items:center}.clear-search,.topbar-context-chip,.cart-link-button,.secondary-link-button,.order-button,.cart-button,.like-button,.rating-trigger-button,.primary-submit-button,.mobile-section-trigger,.filter-pill,.size-chip,.size-option-card,.social-link{transition:.22s ease}
.topbar-actions,.redesign-actions,.cart-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.topbar-context-chip,.cart-link-button{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:18px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-soft)}.topbar-context-chip{max-width:280px}.topbar-context-label,.cart-link-label{font-weight:800}.topbar-context-meta,.cart-link-meta{display:block;color:var(--muted);font-size:.84rem}.cart-link-button{position:relative}.cart-link-button:hover,.secondary-link-button:hover,.order-button:hover,.cart-button:hover,.primary-submit-button:hover,.filter-pill:hover,.like-button:hover,.rating-trigger-button:hover,.mobile-section-trigger:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(255,111,97,.14)}.cart-count-badge{min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:var(--primary);color:#fff;font-size:.78rem;font-weight:700;display:grid;place-items:center}.cart-count-badge.is-hidden{display:none}
.mobile-section-launcher{display:none}.announcement-strip,.quick-actions-bar,.menu-controls,.hero-product-wrap,.catalog-section,.cart-page-intro,.order-layout,.footer-card{margin-top:22px}.announcement-strip-track,.quick-actions-group,.category-filters,.mobile-panel-actions,.mobile-panel-sections{display:flex;gap:12px;flex-wrap:wrap}.announcement-chip,.filter-pill,.secondary-link-button,.quick-action-button{border-radius:999px;padding:11px 16px;border:1px solid var(--line);background:#fff}.announcement-chip{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#fff6f2,#fff)}.quick-actions-bar{display:flex;justify-content:flex-start}.secondary-link-button,.order-button,.cart-button,.primary-submit-button,.mobile-section-trigger{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;font-weight:700}.secondary-link-button{background:var(--support);color:var(--plum)}.filter-pill{font-weight:700;color:var(--text)}.filter-pill.active{background:var(--primary);border-color:var(--primary);color:#fff}
.product-card,.summary-card,.order-form-card,.feedback-modal-dialog,.footer-card,.cart-insight-card,.selection-panel,.request-panel,.cart-panel-card,.cart-item-card{background:rgba(255,255,255,.95);border:1px solid rgba(255,214,201,.85);border-radius:28px;box-shadow:var(--shadow);overflow:hidden}.hero-product-card{display:grid;grid-template-columns:minmax(280px,1fr) minmax(340px,1.15fr)}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.catalog-product-card{display:flex;flex-direction:column;min-height:100%}.product-image-container{background:linear-gradient(145deg,#fff1ec,#fff);padding:18px;min-height:240px;display:flex;align-items:center;justify-content:center}.hero-image-container{min-height:100%;padding:26px}.product-image,.order-hero-image{width:100%;height:100%;max-height:360px;object-fit:cover;border-radius:22px;background:#fff}.product-info,.summary-content,.feedback-form,.cart-checkout-shell{padding:22px}.product-headline-row,.product-footer,.pricing-row,.order-form-actions,.cart-summary-note,.summary-badges,.footer-address,.footer-social,.cart-items-toolbar,.cart-item-actions{display:flex;gap:12px}.product-headline-row,.pricing-row,.cart-items-toolbar{align-items:flex-start;justify-content:space-between}.product-heading-block{display:grid;gap:8px}.product-status-badge,.summary-badge,.size-chip{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:6px 12px;font-size:.83rem;font-weight:800}.product-status-badge,.summary-badge.section{background:#fff0eb;color:var(--primary)}.summary-badge.type,.product-status-badge.is-seasonal{background:#eef5ff;color:var(--secondary)}.product-status-badge.is-soon{background:#ffe8f4;color:var(--primary)}.product-name{margin:0;font-size:1.3rem}.product-price-block{text-align:left;display:grid;gap:3px}.price-prefix,.product-description,.product-ingredients,.footer-branch-card p,.feedback-modal-copy,.empty-state-text,.form-helper-text,.summary-description{color:var(--muted)}.price-value{font-size:1.2rem;color:var(--primary)}.product-sizes-list,.size-options-grid{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.size-chip{background:#fff7f5;border:1px solid var(--line)}.size-chip.is-highlighted,.size-option-card.is-selected{background:linear-gradient(135deg,var(--primary),#ff8a7f);color:#fff;border-color:transparent}.size-option-card{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border:1px solid var(--line);background:#fff;cursor:pointer;min-width:160px}.size-option-card input{position:absolute;opacity:0;pointer-events:none}.product-footer{margin-top:auto;flex-wrap:wrap}.order-button,.primary-submit-button{background:linear-gradient(135deg,var(--primary),var(--primary-deep));color:#fff;padding:13px 18px;border-radius:16px;box-shadow:0 12px 22px rgba(255,111,97,.24)}.cart-button{background:#fff4ef;color:var(--plum);padding:13px 18px;border:1px solid var(--line);border-radius:16px}.like-button,.rating-trigger-button{padding:13px 16px;border:1px solid var(--line);background:#fff;border-radius:16px;color:var(--text)}.like-button.liked{background:#fff0eb;color:var(--primary)}.like-metric,.cart-link-copy,.topbar-context-copy{display:grid}
.order-hero-media{margin-top:20px}.order-layout,.cart-page-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:22px;align-items:start}.sticky-card{position:sticky;top:118px}.summary-pricing,.order-pricing-box{display:grid;gap:12px}.pricing-row{padding:12px 0;border-bottom:1px solid #f2e5df}.pricing-row:last-child{border-bottom:0}.pricing-row.total strong{font-size:1.25rem;color:var(--primary)}.form-card-header{padding:24px 24px 0}.form-card-header h2,.feedback-modal-dialog h2,.section-header h2{margin:0 0 8px}.order-form,.feedback-form{display:grid;gap:18px;padding:24px}.order-form-grid,.design-grid,.cart-contact-grid,.cart-branch-grid,.stats-grid,.dashboard-panels,.alerts-grid{display:grid;gap:16px}.design-grid,.cart-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-order-grid{grid-template-columns:1fr}.form-field{display:grid;gap:8px}.form-field span{font-weight:700}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid var(--line);border-radius:16px;padding:14px 16px;outline:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:rgba(75,143,232,.75);box-shadow:0 0 0 4px rgba(75,143,232,.12)}.input-icon-wrap{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.input-icon-wrap input,.input-icon-wrap textarea,.input-icon-wrap select{border:0;border-radius:0}.input-icon-box{height:100%;background:#fff6f2;color:var(--primary)}.inline-quantity-field{max-width:180px}.request-panel,.selection-panel,.cart-panel-card{padding:18px}.request-panel h3,.selection-panel h3,.cart-panel-card h3{margin-top:0}
.cart-page-intro{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:20px;align-items:stretch}.cart-page-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;background:#fff0eb;color:var(--primary);border-radius:999px;font-weight:800}.cart-page-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cart-insight-card{padding:18px}.cart-insight-card.wide{grid-column:span 1}.cart-insight-label{color:var(--muted);font-size:.86rem}.cart-insight-value{display:block;font-size:1.35rem;color:var(--plum);margin:.35rem 0}.cart-main-column{display:grid;gap:22px}.cart-items-list{display:grid;gap:14px;padding:0 24px 24px}.cart-empty-state{display:grid;justify-items:center;text-align:center;padding:34px 20px}.cart-empty-icon{width:74px;height:74px;border-radius:50%;background:#fff0eb;color:var(--primary);font-size:1.5rem;margin-bottom:12px}.cart-summary-note{align-items:flex-start;padding:14px 16px;border-radius:18px;background:#fff7f5;color:var(--plum)}
.footer-card{padding:24px;display:grid;gap:18px}.footer-social{flex-wrap:wrap}.social-link{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:var(--primary)}.footer-address{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.footer-branch-card{padding:18px;border-radius:18px;background:#fff7f5;border:1px solid var(--line)}.footer-branch-label{display:inline-block;color:var(--primary);font-size:.85rem;font-weight:800;margin-bottom:6px}
.feedback-modal[hidden],.mobile-quick-panel[hidden]{display:none !important}.feedback-modal,.mobile-quick-panel{position:fixed;inset:0;z-index:80}.feedback-modal-backdrop,.mobile-quick-panel-backdrop{position:absolute;inset:0;background:rgba(46,46,46,.38);backdrop-filter:blur(4px)}.feedback-modal-dialog,.mobile-quick-panel-sheet{position:relative;z-index:1;width:min(580px,calc(100% - 1.5rem));margin:6vh auto;background:#fff}.feedback-modal-close,.mobile-panel-close{position:absolute;top:14px;left:14px;width:40px;height:40px;border-radius:50%;border:0;background:#fff0eb;color:var(--primary)}.mobile-quick-panel-sheet{width:min(420px,92vw);height:100%;margin:0 0 0 auto;padding:18px 16px;border-radius:28px 0 0 28px}.mobile-panel-header{display:flex;align-items:center;justify-content:space-between;padding-inline-start:8px;margin-bottom:18px}.mobile-panel-title{margin:0}.mobile-panel-sections{display:grid;grid-template-columns:1fr}.mobile-panel-filter,.mobile-panel-action{justify-content:flex-start}
.toast-container{position:fixed;left:16px;bottom:16px;z-index:90;display:grid;gap:12px}.toast{min-width:240px;max-width:360px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:14px 16px;display:flex;align-items:center;gap:10px;animation:toastIn .22s ease}.toast-success{border-inline-start:5px solid var(--accent)}.toast-error{border-inline-start:5px solid var(--primary)}.toast-close{margin-inline-start:auto;border:0;background:transparent;color:var(--muted)}.toast-out{animation:toastOut .2s ease forwards}.error-message,.admin-alert,.order-flash,.alert{padding:14px 16px;border-radius:16px;border:1px solid var(--line);background:#fff7f5}.error-message,.order-flash.error,.alert.error{color:#a9463b;background:#fff1ee}.order-flash.success,.alert.success,.alert.info{background:#edf9f2;color:#1d7142}
@keyframes toastIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes toastOut{to{opacity:0;transform:translateY(8px)}}
@media (max-width:991px){.hero-product-card,.order-layout,.cart-page-layout,.cart-page-intro,.design-grid,.cart-contact-grid,.footer-address{grid-template-columns:1fr}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sticky-card{position:static}.menu-topbar,.order-page-header{top:8px}.cart-page-insights{grid-template-columns:1fr 1fr}.product-image{max-height:300px}}
@media (max-width:767px){body{font-size:15px}.container,.order-page-container{width:min(100% - 1rem,1180px)}.menu-topbar,.order-page-header{padding:16px;border-radius:22px}.search-box{order:3;min-width:100%}.topbar-actions,.cart-header-actions{width:100%;justify-content:space-between}.mobile-section-launcher{display:block}.menu-controls{display:none}.catalog-grid{grid-template-columns:1fr}.product-info,.summary-content,.feedback-form,.order-form{padding:18px}.form-card-header{padding:18px 18px 0}.cart-items-list{padding:0 18px 18px}.product-footer,.order-form-actions,.footer-social{flex-direction:column}.order-button,.cart-button,.like-button,.rating-trigger-button,.secondary-link-button,.primary-submit-button{width:100%}.cart-page-insights{grid-template-columns:1fr}.mobile-section-trigger{display:inline-flex;background:#fff4ef;color:var(--plum);padding:12px 16px;border-radius:16px;border:1px solid var(--line)}.header-brand-row{font-size:1.1rem}.cart-link-copy,.topbar-context-copy{display:none}}
.cart-item-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;padding:18px}.cart-item-media img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px;background:#fff7f5}.cart-item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.cart-item-title{margin:.35rem 0 0;font-size:1.2rem}.cart-item-subtitle,.cart-item-status{color:var(--muted);font-size:.92rem}.cart-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.cart-remove-button{width:42px;height:42px;border-radius:14px;border:1px solid var(--line);background:#fff0eb;color:var(--primary)}.cart-item-footer{display:flex;gap:12px;flex-wrap:wrap}.cart-price-chip{display:inline-flex;gap:8px;align-items:center;padding:10px 14px;border-radius:999px;background:#fff7f5;border:1px solid var(--line)}.cart-price-chip.total{background:#fff0eb;color:var(--primary)}.cart-item-row.is-unavailable{border-color:#f4c5ba;background:#fff8f6}.is-success{background:#edf9f2 !important;color:#1d7142 !important;border-color:#ccefd9 !important}
@media (max-width:767px){.cart-item-row{grid-template-columns:1fr}.cart-item-grid{grid-template-columns:1fr}}


/* ===== Phase 2 page-by-page refinements ===== */
html{overflow-x:hidden}body{overflow-x:hidden}
.menu-topbar,.order-page-header,.refined-page-header,.summary-card,.order-form-card,.product-card,.footer-card,.cart-insight-card,.selection-panel,.request-panel,.cart-panel-card,.cart-item-card{overflow:clip}
.product-name,.order-product-title,.brand-single-title{word-break:break-word}
.product-description,.summary-description,.product-ingredients,.form-helper-text,.cart-item-subtitle{max-width:70ch}
.catalog-grid{align-items:stretch}
.product-card{height:100%}
.product-footer > *{flex:1 1 160px}
.order-button,.cart-button,.primary-submit-button,.secondary-link-button{min-height:48px}
.filter-pill{min-height:44px}
.cart-page-insights .cart-insight-card,.summary-card,.order-form-card{min-width:0}
.order-layout,.cart-page-layout,.cart-page-intro,.hero-product-card,.product-headline-row,.cart-item-head,.cart-item-footer,.order-form-actions{min-width:0}
.price-value,.cart-insight-value,.qty-number{font-variant-numeric:tabular-nums}
.order-form-grid > *, .design-grid > *, .cart-contact-grid > *, .cart-branch-grid > *{min-width:0}
.form-field textarea{min-height:128px;resize:vertical}
.input-icon-wrap textarea{min-height:128px}
.cart-items-list{display:grid;gap:18px}
.cart-summary-card,.sticky-card{scroll-margin-top:110px}
.footer-card{position:relative}
.footer-card::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--primary),var(--support),transparent)}

@media (max-width:991px){
  .menu-topbar,.order-page-header,.refined-page-header{position:static}
  .sticky-card{position:static}
  .hero-product-card,.order-layout,.cart-page-layout,.cart-page-intro{grid-template-columns:1fr}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .search-box{flex:1 1 100%;order:3}
  .topbar-actions,.redesign-actions,.cart-header-actions,.page-header-side{width:100%;justify-content:space-between}
  .topbar-context-chip,.cart-link-button,.secondary-link-button{flex:1 1 auto}
  .summary-card{order:-1}
}

@media (max-width:767px){
  :root{--container:min(100% - 1rem,100%)}
  .menu-shell{padding:12px 0 28px}
  .menu-topbar,.order-page-header,.refined-page-header{padding:14px 14px;border-radius:22px;gap:12px}
  .header-brand-row{font-size:1.15rem}
  .header-brand-caption,.cart-header-caption,.topbar-context-meta,.cart-link-meta{font-size:.82rem}
  .catalog-grid,.cart-page-insights,.design-grid,.cart-contact-grid{grid-template-columns:1fr}
  .product-image-container{min-height:200px;padding:14px}
  .product-image{max-height:260px}
  .product-info,.summary-content,.feedback-form,.cart-checkout-shell,.order-form{padding:18px}
  .form-card-header{padding:18px 18px 0}
  .product-footer > *, .topbar-context-chip, .cart-link-button, .secondary-link-button, .order-button, .cart-button, .primary-submit-button{width:100%}
  .product-footer,.topbar-actions,.redesign-actions,.cart-header-actions,.cart-item-footer,.order-form-actions{flex-direction:column}
  .cart-item-row{padding:16px}
  .cart-item-media img{aspect-ratio:4/3}
  .cart-item-grid{gap:10px}
  .size-option-card{min-width:100%}
  .search-box{min-width:0}
  .quick-actions-group,.category-filters,.announcement-strip-track{flex-wrap:nowrap;overflow:auto;padding-bottom:4px;scrollbar-width:none}
  .quick-actions-group::-webkit-scrollbar,.category-filters::-webkit-scrollbar,.announcement-strip-track::-webkit-scrollbar{display:none}
}
.store-credit-line{width:100%;margin:14px 0 0;color:var(--muted);font-size:.9rem;text-align:center}

@media (max-width:480px){
  .brand-single-title,.order-product-title{font-size:1.18rem}
  .product-name{font-size:1.08rem}
  .menu-topbar,.order-page-header,.refined-page-header,.summary-card,.order-form-card,.product-card,.footer-card,.cart-insight-card,.selection-panel,.request-panel,.cart-panel-card,.cart-item-card{border-radius:20px}
  .product-info,.summary-content,.feedback-form,.cart-checkout-shell,.order-form{padding:16px}
  .input-icon-wrap{grid-template-columns:42px minmax(0,1fr)}
  .input-icon-box{font-size:.95rem}
  .cart-count-badge{min-width:22px;height:22px;font-size:.72rem}
  .price-value{font-size:1.05rem}
  .cart-page-kicker{width:100%;justify-content:center}
}


/* ===== Mobile-only premium refinements ===== */
.mobile-bottom-nav{display:none}
.mobile-bottom-nav-item,.mobile-bottom-nav-copy,.mobile-bottom-nav-icon{display:flex}

@media (max-width:767px){
  body.menu-page-body{padding-bottom:104px}
  .menu-topbar{align-items:flex-start}
  .topbar-actions .cart-link-button,
  .topbar-actions .topbar-section-trigger,
  .mobile-section-launcher{display:none !important}
  .search-box{order:2}
  .menu-brand{width:100%;justify-content:center;text-align:center}
  .menu-brand-copy{width:100%}
  .menu-topbar{padding:14px 12px 16px}
  .brand-single-title{font-size:1.22rem}
  .header-brand-caption{display:none}
  .quick-actions-bar{margin-top:16px}
  .quick-actions-group{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
  .quick-action-button{justify-content:center;padding:10px 12px;min-height:44px;font-size:.92rem}
  .hero-product-wrap,.catalog-section,.announcement-strip,.menu-controls{margin-top:16px}
  .product-card,.summary-card,.order-form-card,.cart-item-card{border-radius:22px}
  .catalog-grid{gap:14px}
  .catalog-product-card{position:relative;border-color:rgba(245,66,145,.14);box-shadow:0 16px 34px rgba(245,66,145,.12)}
  .catalog-product-card .product-image-container{padding:12px 12px 0;min-height:auto;background:transparent}
  .catalog-product-card .product-image{aspect-ratio:1/1;max-height:none;border-radius:18px}
  .catalog-product-card .product-info{padding:14px}
  .catalog-product-card .product-headline-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
  .catalog-product-card .product-name{font-size:1rem;line-height:1.4}
  .catalog-product-card .price-value{font-size:1rem}
  .catalog-product-card .product-description{font-size:.9rem;line-height:1.55;margin:8px 0 10px}
  .catalog-product-card .product-sizes-list{margin:10px 0 12px;gap:8px}
  .catalog-product-card .size-chip{padding:5px 10px;font-size:.76rem}
  .product-footer{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;align-items:stretch}
  .product-footer > *{width:auto !important;min-width:0}
  .order-button{grid-column:1 / -1;min-height:42px;padding:11px 14px;border-radius:14px;font-size:.94rem}
  .cart-button,.rating-trigger-button,.like-button{min-height:40px;padding:10px 12px;border-radius:14px;font-size:.88rem;box-shadow:none}
  .rating-trigger-button,.like-button,.cart-button{background:#fff;border-color:rgba(236,196,214,.95)}
  .like-button .like-metric{display:flex;align-items:center;justify-content:center;gap:6px}
  .like-button .likes-label{display:none}
  .mobile-bottom-nav{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:85;padding:10px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border:1px solid rgba(245,66,145,.14);border-radius:24px;box-shadow:0 20px 40px rgba(46,46,46,.14)}
  .mobile-bottom-nav-item{position:relative;align-items:center;gap:10px;justify-content:flex-start;padding:12px 14px;border:1px solid rgba(245,66,145,.12);border-radius:18px;background:linear-gradient(180deg,#fff,#fff8fb);color:var(--text)}
  .mobile-bottom-nav-sections{border:0}
  .mobile-bottom-nav-cart{background:linear-gradient(135deg,var(--primary),var(--primary-deep));color:#fff}
  .mobile-bottom-nav-cart .mobile-bottom-nav-meta{color:rgba(255,255,255,.86)}
  .mobile-bottom-nav-cart .cart-count-badge{background:#fff;color:var(--primary)}
  .mobile-bottom-nav-copy{flex-direction:column;align-items:flex-start;line-height:1.2}
  .mobile-bottom-nav-label{font-weight:800;font-size:.92rem}
  .mobile-bottom-nav-meta{font-size:.76rem;color:var(--muted)}
  .mobile-bottom-nav-icon{width:38px;height:38px;align-items:center;justify-content:center;border-radius:14px;background:rgba(245,66,145,.10)}
  .mobile-bottom-nav-cart .mobile-bottom-nav-icon{background:rgba(255,255,255,.18)}
  .mobile-bottom-nav .cart-count-badge{position:absolute;top:8px;left:8px}
  .mobile-quick-panel-sheet{border-radius:28px 28px 0 0;width:100%;max-width:none;height:auto;max-height:85vh;margin:auto 0 0;padding:18px 14px 20px}
  .mobile-panel-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .mobile-panel-action{width:100%;justify-content:center}
  .mobile-panel-sections{gap:10px}
  .mobile-panel-filter{width:100%;justify-content:flex-start}
  .order-page-body{background:linear-gradient(180deg,#fff8fb 0%,var(--bg) 28%,#fff 100%)}
  .order-page-header{padding:14px 14px 12px}
  .order-layout{gap:16px}
  .summary-card{order:2}
  .order-form-card{order:1}
  .order-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .order-form-actions .primary-submit-button{grid-column:1 / -1;order:-1}
  .order-form-actions .cart-button,.order-form-actions .secondary-link-button{min-height:44px;padding:11px 14px}
}

@media (max-width:480px){
  .product-footer{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .order-button{font-size:.9rem}
  .cart-button,.rating-trigger-button,.like-button{padding:9px 10px;font-size:.82rem}
  .mobile-bottom-nav{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));padding:8px;gap:8px}
  .mobile-bottom-nav-item{padding:11px 12px;border-radius:16px}
  .mobile-bottom-nav-icon{width:34px;height:34px}
}


/* ===== Mobile-first app-like round 3 ===== */
.mobile-app-intro,.catalog-mobile-header{display:none}

@media (max-width:767px){
  .menu-shell{padding-top:10px}
  .menu-topbar{background:linear-gradient(180deg,#fff 0%,#fff7fb 100%);border-color:rgba(245,66,145,.14);box-shadow:0 18px 42px rgba(245,66,145,.12)}
  .menu-brand{justify-content:flex-start;align-items:flex-start}
  .brand-badge{margin-inline:auto}
  .header-brand-row{justify-content:center}
  .mobile-app-intro{display:block;margin-top:14px}
  .mobile-app-intro-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;border-radius:24px;background:linear-gradient(145deg,#fff7fb 0%,#fff 65%,#fff3eb 100%);border:1px solid rgba(245,66,145,.12);box-shadow:0 18px 36px rgba(245,66,145,.10)}
  .mobile-app-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgba(245,66,145,.10);color:var(--primary);font-size:.78rem;font-weight:800;margin-bottom:8px}
  .mobile-app-title{margin:0;font-size:1.02rem;line-height:1.6;color:var(--text)}
  .mobile-app-text{margin:6px 0 0;color:var(--muted);font-size:.88rem;line-height:1.7}
  .mobile-app-stats{display:grid;gap:10px;min-width:92px}
  .mobile-app-stat{display:grid;gap:2px;place-items:center;padding:12px 10px;border-radius:18px;background:#fff;border:1px solid rgba(245,66,145,.10)}
  .mobile-app-stat strong{font-size:1.02rem;color:var(--primary-deep)}
  .mobile-app-stat span{font-size:.76rem;color:var(--muted)}
  .quick-actions-group{grid-template-columns:1fr 1fr}
  .quick-action-button{border-radius:18px;min-height:50px;font-weight:800}
  .hero-product-wrap{margin-top:18px}
  .hero-product-card{position:relative;overflow:hidden;border-radius:26px;background:linear-gradient(145deg,#fff 0%,#fff7fb 58%,#fff4ed 100%);border-color:rgba(245,66,145,.14);box-shadow:0 22px 48px rgba(245,66,145,.12)}
  .hero-product-card::after{content:"المنتج المميز";position:absolute;top:14px;right:14px;padding:7px 12px;border-radius:999px;background:rgba(245,66,145,.12);color:var(--primary-deep);font-size:.75rem;font-weight:900;letter-spacing:.01em}
  .hero-product-card .product-info{padding-top:10px}
  .menu-controls--compact{position:sticky;top:10px;z-index:40;padding:10px;border-radius:22px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border:1px solid rgba(245,66,145,.12);box-shadow:0 14px 30px rgba(46,46,46,.08)}
  .category-filters{gap:8px;flex-wrap:nowrap;overflow:auto;padding-bottom:2px}
  .filter-pill{padding:10px 14px;border-radius:999px;white-space:nowrap;font-size:.86rem;font-weight:800;background:#fff}
  .filter-pill.active{box-shadow:0 10px 18px rgba(245,66,145,.18)}
  .catalog-section{margin-top:18px}
  .catalog-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:0 2px}
  .catalog-mobile-kicker{display:block;color:var(--primary);font-size:.78rem;font-weight:800;margin-bottom:4px}
  .catalog-mobile-title{margin:0;font-size:1.02rem;color:var(--text)}
  .catalog-mobile-count{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:999px;background:#fff4ef;border:1px solid rgba(245,66,145,.10);font-size:.8rem;font-weight:800;color:var(--primary-deep);white-space:nowrap}
  .catalog-grid{grid-template-columns:1fr;gap:16px}
  .catalog-product-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:start;padding:12px;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fffafd 100%);box-shadow:0 18px 36px rgba(46,46,46,.08)}
  .catalog-product-card .product-image-container{padding:0;min-height:96px}
  .catalog-product-card .product-image{width:96px;height:96px;aspect-ratio:1/1;border-radius:20px;object-fit:cover;box-shadow:0 12px 22px rgba(46,46,46,.10)}
  .catalog-product-card .product-info{padding:0}
  .catalog-product-card .product-headline-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:4px}
  .catalog-product-card .product-price-block{align-items:flex-end}
  .catalog-product-card .price-prefix{font-size:.7rem}
  .catalog-product-card .product-description{font-size:.84rem;line-height:1.6;margin-bottom:10px}
  .catalog-product-card .product-sizes-list{margin:8px 0 12px}
  .catalog-product-card .product-footer{grid-template-columns:1fr 42px 42px;gap:8px}
  .catalog-product-card .order-button{grid-column:1 / 2;grid-row:1 / 2;min-height:40px;padding:10px 12px;border-radius:14px;justify-content:center}
  .catalog-product-card .cart-button{grid-column:1 / 2;grid-row:2 / 3;min-height:40px;padding:10px 12px;border-radius:14px;justify-content:center;background:#fff7f8}
  .catalog-product-card .rating-trigger-button,.catalog-product-card .like-button{padding:0;min-height:40px;min-width:42px;display:flex;align-items:center;justify-content:center;border-radius:14px}
  .catalog-product-card .rating-trigger-button{grid-column:2 / 3;grid-row:1 / 3}
  .catalog-product-card .like-button{grid-column:3 / 4;grid-row:1 / 3}
  .catalog-product-card .rating-trigger-button span:last-child,.catalog-product-card .like-button .like-metric{display:none !important}
  .catalog-product-card .rating-trigger-button .like-icon-shell,.catalog-product-card .like-button .like-icon-shell{margin:0}
  .catalog-product-card .product-ingredients{font-size:.78rem;margin-top:8px}
  .mobile-featured-duplicate{display:none !important}
  .mobile-bottom-nav{grid-template-columns:1.15fr .85fr}
}

@media (max-width:480px){
  .mobile-app-intro-card{grid-template-columns:1fr;align-items:stretch}
  .mobile-app-stats{grid-template-columns:1fr 1fr}
  .catalog-product-card{grid-template-columns:82px minmax(0,1fr);padding:11px}
  .catalog-product-card .product-image{width:82px;height:82px;border-radius:18px}
  .catalog-product-card .product-footer{grid-template-columns:1fr 38px 38px}
  .catalog-product-card .rating-trigger-button,.catalog-product-card .like-button{min-height:38px;min-width:38px}
  .menu-controls--compact{top:8px}
}


/* ===== April 2026 audit refinements ===== */
.footer-social{flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap}
.social-link{width:46px;height:46px;border-radius:16px;border:1px solid var(--line);background:#fff;color:var(--secondary)}
.social-link:hover{background:linear-gradient(135deg,var(--secondary),var(--primary));color:#fff}
.social-link.facebook,.social-link.instagram,.social-link.tiktok{color:var(--secondary)}
@media (max-width: 767px){
  body.menu-page-body{padding-bottom:110px}
  .quick-actions-bar,.mobile-app-intro,.hero-product-wrap{display:none !important}
  .menu-controls--compact{position:sticky;top:10px;z-index:40;padding:10px;border-radius:22px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border:1px solid rgba(75,143,232,.12);box-shadow:0 14px 30px rgba(46,46,46,.08)}
  .menu-topbar{background:linear-gradient(180deg,#ffffff 0%,#f6fbff 100%);border-color:rgba(75,143,232,.14);box-shadow:0 18px 42px rgba(75,143,232,.10)}
  .filter-pill{background:#fff;border-color:rgba(75,143,232,.12)}
  .filter-pill.active{background:linear-gradient(135deg,var(--secondary),var(--primary));border-color:transparent;color:#fff;box-shadow:0 12px 24px rgba(75,143,232,.18)}
  .catalog-mobile-kicker{color:var(--secondary)}
  .catalog-mobile-count{background:#f4f8ff;border-color:rgba(75,143,232,.12);color:var(--secondary)}
  .catalog-grid{grid-template-columns:1fr;gap:14px}
  .catalog-product-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:start;padding:12px;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#f9fbff 100%);border:1px solid rgba(75,143,232,.10);box-shadow:0 16px 32px rgba(46,46,46,.07)}
  .catalog-product-card .product-image-container{padding:0;min-height:88px;width:88px;height:88px;background:transparent}
  .catalog-product-card .product-image{width:88px;height:88px;aspect-ratio:1/1;border-radius:18px;box-shadow:none}
  .catalog-product-card .product-info{padding:0}
  .catalog-product-card .product-name{font-size:.98rem;line-height:1.45}
  .catalog-product-card .product-description{font-size:.83rem;line-height:1.6;margin:6px 0 10px}
  .catalog-product-card .product-sizes-list{margin:6px 0 10px;gap:6px}
  .catalog-product-card .size-chip{background:#f7fbff;border-color:rgba(75,143,232,.10)}
  .catalog-product-card .product-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px;gap:8px;align-items:stretch}
  .catalog-product-card .order-button,.catalog-product-card .cart-button{min-height:40px;border-radius:14px;padding:10px 12px;font-size:.84rem;white-space:nowrap}
  .catalog-product-card .order-button{grid-column:1 / 2;grid-row:1 / 2;background:linear-gradient(135deg,var(--primary),var(--primary-deep))}
  .catalog-product-card .cart-button{grid-column:2 / 3;grid-row:1 / 2;background:#f4f8ff;border:1px solid rgba(75,143,232,.12);color:var(--secondary)}
  .catalog-product-card .rating-trigger-button,.catalog-product-card .like-button{grid-row:1 / 2;padding:0;min-height:40px;min-width:40px;border-radius:14px;background:#fff;border:1px solid rgba(75,143,232,.12)}
  .catalog-product-card .rating-trigger-button{grid-column:3 / 4}
  .catalog-product-card .like-button{grid-column:4 / 5}
  .catalog-product-card .rating-trigger-button .like-metric,.catalog-product-card .like-button .like-metric{display:none !important}
  .mobile-bottom-nav{background:rgba(255,255,255,.96);border:1px solid rgba(75,143,232,.14);box-shadow:0 20px 40px rgba(46,46,46,.12)}
  .mobile-bottom-nav-item{border:1px solid rgba(75,143,232,.12);background:linear-gradient(180deg,#ffffff,#f8fbff)}
  .mobile-bottom-nav-cart{background:linear-gradient(135deg,var(--secondary),var(--primary));color:#fff}
  .mobile-bottom-nav-icon{background:rgba(75,143,232,.10)}
  .mobile-bottom-nav-cart .mobile-bottom-nav-icon{background:rgba(255,255,255,.18)}
  .mobile-panel-sections{display:grid;grid-template-columns:1fr;gap:10px}
  .mobile-panel-filter{justify-content:center;min-height:46px}
}


/* ===== April 2026 reference-card update ===== */
:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f7f9ff;
  --text:#2e2e2e;
  --muted:#7b7b7b;
  --line:#eadfe7;
  --primary:#f54291;
  --primary-deep:#e22e81;
  --secondary:#4f8ee8;
  --accent:#f54291;
  --support:#f6f8ff;
  --plum:#3f4f83;
  --shadow:0 18px 42px rgba(245,66,145,.10);
  --shadow-soft:0 10px 24px rgba(46,46,46,.08);
}
body.menu-page-body{
  background:linear-gradient(180deg,#fff7fb 0%,#ffffff 26%,#ffffff 100%);
}
.footer-social{
  flex-direction:row;
  justify-content:flex-start;
}
.social-link{
  border-radius:16px;
  color:var(--primary);
}
.social-link:hover{
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
}
.catalog-grid{
  grid-template-columns:1fr;
  gap:24px;
}
.catalog-product-card{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(280px,390px);
  align-items:stretch;
  border-radius:30px;
  border:1px solid rgba(245,66,145,.16);
  background:linear-gradient(180deg,#ffffff 0%,#fff8fb 100%);
  box-shadow:0 22px 46px rgba(245,66,145,.08);
  overflow:hidden;
}
.catalog-product-card .product-image-container{
  order:2;
  padding:20px 20px 20px 0;
  min-height:100%;
  background:transparent;
}
.catalog-product-card .product-image{
  width:100%;
  max-height:none;
  height:100%;
  min-height:280px;
  border-radius:26px;
  box-shadow:none;
}
.catalog-product-card .product-info{
  order:1;
  padding:22px 24px 18px;
  display:flex;
  flex-direction:column;
}
.catalog-product-card .product-headline-row{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:18px;
}
.catalog-product-card .product-price-block{
  order:1;
  text-align:right;
  min-width:100px;
}
.catalog-product-card .product-heading-block{
  order:2;
  justify-items:start;
}
.catalog-product-card .product-name{
  font-size:2rem;
  line-height:1.2;
  font-weight:800;
}
.catalog-product-card .price-prefix{
  font-size:.95rem;
}
.catalog-product-card .price-value{
  font-size:2rem;
  line-height:1;
}
.catalog-product-card .product-description{
  margin:12px 0 8px;
  font-size:1rem;
}
.catalog-product-card .product-sizes-list{
  margin:12px 0 16px;
  gap:10px;
}
.catalog-product-card .size-chip{
  min-height:42px;
  padding:8px 14px;
  background:#fff;
  border:1px solid rgba(234,223,231,.95);
  font-size:.95rem;
}
.catalog-product-card .size-chip.is-highlighted{
  background:linear-gradient(135deg,var(--primary),#ff739f);
}
.catalog-product-card .product-footer{
  margin-top:auto;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  grid-template-areas:
    "rating cart order"
    "like like like";
  gap:12px;
  align-items:stretch;
}
.catalog-product-card .order-button,
.catalog-product-card .cart-button,
.catalog-product-card .rating-trigger-button,
.catalog-product-card .like-button{
  width:100%;
  min-height:58px;
  border-radius:18px;
  font-weight:800;
  box-shadow:none;
}
.catalog-product-card .order-button{
  grid-area:order;
  background:linear-gradient(135deg,var(--primary),var(--primary-deep));
}
.catalog-product-card .cart-button{
  grid-area:cart;
  background:#fff6f2;
  color:var(--plum);
  border:1px solid rgba(234,223,231,.95);
}
.catalog-product-card .rating-trigger-button{
  grid-area:rating;
  background:#ffffff;
  border:1px solid rgba(234,223,231,.95);
}
.catalog-product-card .rating-trigger-button .like-metric{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.catalog-product-card .like-button{
  grid-area:like;
  background:#fdf0f4;
  border:1px solid rgba(234,223,231,.95);
  justify-content:center;
}
.catalog-product-card .like-button .like-metric{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  line-height:1.1;
}
.catalog-product-card .like-button .likes-label{
  display:block;
  font-size:.92rem;
  color:var(--primary);
}
.mobile-bottom-nav{
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:14px;
  border-radius:30px 30px 0 0;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(245,66,145,.12);
  box-shadow:0 -10px 32px rgba(46,46,46,.10);
}
.mobile-bottom-nav-item{
  min-height:74px;
  border-radius:24px;
}
.mobile-bottom-nav-cart{
  background:linear-gradient(135deg,var(--primary),var(--primary-deep));
}
.mobile-bottom-nav-sections{
  background:#fff;
}
@media (max-width:991px){
  .catalog-product-card{
    grid-template-columns:1fr;
  }
  .catalog-product-card .product-image-container{
    order:1;
    padding:16px 16px 0;
  }
  .catalog-product-card .product-image{
    min-height:240px;
    aspect-ratio:16/10;
  }
  .catalog-product-card .product-info{
    order:2;
    padding:18px 18px 16px;
  }
}
@media (max-width:767px){
  body.menu-page-body{
    padding-bottom:118px;
  }
  .quick-actions-bar,
  .mobile-app-intro,
  .hero-product-wrap,
  .mobile-section-launcher,
  .topbar-section-trigger{
    display:none !important;
  }
  .menu-topbar{
    background:linear-gradient(180deg,#ffffff 0%,#fff7fb 100%);
    border-color:rgba(245,66,145,.12);
    box-shadow:0 16px 36px rgba(245,66,145,.08);
  }
  .menu-controls--compact{
    top:8px;
    border-radius:20px;
    background:rgba(255,255,255,.97);
    border:1px solid rgba(245,66,145,.10);
    box-shadow:0 14px 26px rgba(46,46,46,.06);
  }
  .catalog-grid{
    gap:18px;
  }
  .catalog-product-card{
    grid-template-columns:1fr !important;
    border-radius:26px;
    background:linear-gradient(180deg,#ffffff 0%,#fff9fb 100%);
  }
  .catalog-product-card .product-image-container{
    order:1;
    padding:16px 16px 0;
    width:auto;
    height:auto;
    min-height:auto;
  }
  .catalog-product-card .product-image{
    width:100%;
    height:auto;
    min-height:unset;
    aspect-ratio:16/10;
    border-radius:24px;
  }
  .catalog-product-card .product-info{
    order:2;
    padding:16px 16px 18px;
  }
  .catalog-product-card .product-headline-row{
    grid-template-columns:1fr auto;
    gap:16px;
    margin-bottom:8px;
  }
  .catalog-product-card .product-name{
    font-size:1.9rem;
  }
  .catalog-product-card .price-prefix{
    font-size:.9rem;
  }
  .catalog-product-card .price-value{
    font-size:1.7rem;
  }
  .catalog-product-card .product-description{
    margin:6px 0 10px;
    font-size:.95rem;
  }
  .catalog-product-card .product-sizes-list{
    gap:10px;
    margin:14px 0 16px;
  }
  .catalog-product-card .size-chip{
    min-height:48px;
    padding:9px 16px;
    border-radius:999px;
    font-size:1rem;
  }
  .catalog-product-card .product-footer{
    grid-template-columns:1fr 1fr 1fr;
    grid-template-areas:
      "order order order"
      "like rating cart";
    gap:10px;
  }
  .catalog-product-card .order-button,
  .catalog-product-card .cart-button,
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .like-button{
    min-height:56px;
    border-radius:18px;
    font-size:1rem;
  }
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .like-button,
  .catalog-product-card .cart-button{
    background:#fff;
  }
  .catalog-product-card .like-button .like-metric,
  .catalog-product-card .rating-trigger-button .like-metric{
    display:flex !important;
    gap:4px;
  }
  .catalog-product-card .rating-trigger-button .like-metric{
    flex-direction:column;
  }
  .catalog-product-card .like-button .like-metric{
    flex-direction:column;
  }
  .catalog-product-card .likes-label{
    display:block !important;
    font-size:.88rem;
  }
  .mobile-bottom-nav{
    inset-inline:12px;
    bottom:12px;
    border-radius:28px;
    padding:12px;
    gap:12px;
    grid-template-columns:.92fr 1.08fr;
  }
  .mobile-bottom-nav-item{
    min-height:82px;
    border-radius:22px;
  }
  .mobile-bottom-nav-copy{
    gap:2px;
  }
  .mobile-bottom-nav-label{
    font-size:1.35rem;
    font-weight:900;
  }
  .mobile-bottom-nav-meta{
    font-size:.95rem;
  }
  .mobile-bottom-nav-icon{
    width:48px;
    height:48px;
    border-radius:16px;
  }
}
@media (max-width:480px){
  .catalog-product-card .product-name{
    font-size:1.6rem;
  }
  .catalog-product-card .price-value{
    font-size:1.45rem;
  }
  .catalog-product-card .size-chip{
    min-height:44px;
    padding:8px 14px;
    font-size:.94rem;
  }
  .catalog-product-card .order-button,
  .catalog-product-card .cart-button,
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .like-button{
    min-height:52px;
    font-size:.95rem;
  }
  .mobile-bottom-nav-label{
    font-size:1.15rem;
  }
  .mobile-bottom-nav-meta{
    font-size:.88rem;
  }
}

/* Round 2 – closer reference-card match, focused on mobile catalog cards */
@media (max-width:767px){
  .catalog-grid{
    gap:22px;
  }

  .catalog-product-card{
    border-radius:30px;
    background:linear-gradient(180deg,#fffefe 0%,#fff7fa 100%) !important;
    border:1px solid rgba(245,66,145,.14);
    box-shadow:0 20px 40px rgba(245,66,145,.08);
  }

  .catalog-product-card .product-image-container{
    padding:18px 18px 0;
  }

  .catalog-product-card .product-image{
    aspect-ratio:1.46 / 1;
    border-radius:26px;
    object-fit:cover;
    background:#fff;
  }

  .catalog-product-card .product-info{
    padding:18px 18px 18px;
  }

  .catalog-product-card .product-headline-row{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:14px;
    margin-bottom:10px;
  }

  .catalog-product-card .product-heading-block{
    order:1;
    gap:6px;
  }

  .catalog-product-card .product-price-block{
    order:2;
    text-align:right;
    min-width:92px;
    gap:4px;
  }

  .catalog-product-card .product-name{
    font-size:1.75rem;
    line-height:1.22;
    font-weight:800;
    color:var(--text);
  }

  .catalog-product-card .price-prefix{
    font-size:.88rem;
    color:var(--muted);
  }

  .catalog-product-card .price-value{
    font-size:1.55rem;
    color:var(--primary);
    font-weight:900;
  }

  .catalog-product-card .product-description{
    margin:8px 0 12px;
    font-size:.95rem;
    color:var(--muted);
    min-height:1.6em;
  }

  .catalog-product-card .product-sizes-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:14px 0 18px;
  }

  .catalog-product-card .size-chip{
    min-height:48px;
    padding:9px 15px;
    border-radius:999px;
    font-size:1rem;
    font-weight:800;
    background:#fff;
    border:1px solid rgba(230,215,223,.95);
    color:var(--text);
  }

  .catalog-product-card .size-chip.is-highlighted{
    background:linear-gradient(135deg,var(--primary),#ff6da1);
    color:#fff;
    border-color:transparent;
    box-shadow:0 10px 22px rgba(245,66,145,.22);
  }

  .catalog-product-card .product-footer{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-areas:
      "order order order"
      "cart rating like";
    gap:12px;
    margin-top:6px;
  }

  .catalog-product-card .order-button,
  .catalog-product-card .cart-button,
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .like-button{
    min-height:58px;
    border-radius:20px;
    font-size:1rem;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
  }

  .catalog-product-card .order-button{
    grid-area:order;
    background:linear-gradient(135deg,var(--primary),var(--primary-deep));
    box-shadow:0 16px 28px rgba(245,66,145,.20);
  }

  .catalog-product-card .cart-button{
    grid-area:cart;
    background:#fff;
    border:1px solid rgba(230,215,223,.95);
    color:#6f4b3c;
  }

  .catalog-product-card .rating-trigger-button{
    grid-area:rating;
    background:#fff;
    border:1px solid rgba(230,215,223,.95);
    color:var(--text);
  }

  .catalog-product-card .like-button{
    grid-area:like;
    background:#fff7f9;
    border:1px solid rgba(230,215,223,.95);
    color:var(--primary);
  }

  .catalog-product-card .rating-trigger-button .like-metric,
  .catalog-product-card .like-button .like-metric{
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    line-height:1.1;
  }

  .catalog-product-card .rating-trigger-button .likes-label,
  .catalog-product-card .like-button .likes-label{
    display:block !important;
    font-size:.86rem;
  }

  .catalog-product-card .like-button .like-count{
    font-size:1rem;
    font-weight:900;
  }

  .catalog-product-card .product-ingredients{
    display:none;
  }

  .mobile-bottom-nav{
    inset-inline:10px;
    bottom:10px;
    grid-template-columns:1.06fr .94fr;
    gap:12px;
    padding:12px;
    border-radius:30px;
    background:rgba(255,255,255,.98);
    border:1px solid rgba(245,66,145,.12);
    box-shadow:0 -12px 30px rgba(46,46,46,.10);
  }

  .mobile-bottom-nav-item{
    min-height:86px;
    border-radius:24px;
    padding:12px 14px;
    gap:12px;
    align-items:center;
    justify-content:space-between;
  }

  .mobile-bottom-nav-cart{
    background:linear-gradient(135deg,var(--primary),var(--primary-deep));
  }

  .mobile-bottom-nav-sections{
    background:#fff;
    border:1px solid rgba(230,215,223,.9);
  }

  .mobile-bottom-nav-label{
    font-size:1.3rem;
    font-weight:900;
  }

  .mobile-bottom-nav-meta{
    font-size:.92rem;
  }

  .mobile-bottom-nav-icon{
    width:48px;
    height:48px;
    border-radius:17px;
  }
}

@media (max-width:520px){
  .catalog-product-card .product-image{
    aspect-ratio:1.34 / 1;
  }

  .catalog-product-card .product-name{
    font-size:1.45rem;
  }

  .catalog-product-card .price-value{
    font-size:1.36rem;
  }

  .catalog-product-card .product-footer{
    gap:10px;
  }

  .catalog-product-card .order-button,
  .catalog-product-card .cart-button,
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .like-button{
    min-height:54px;
    font-size:.95rem;
  }

  .catalog-product-card .like-button,
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .cart-button{
    padding-inline:10px;
  }

  .mobile-bottom-nav-item{
    min-height:80px;
  }

  .mobile-bottom-nav-label{
    font-size:1.14rem;
  }
}


/* === 2026-04-20 high-priority UI fixes === */
.catalog-product-card{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
}

.catalog-product-card .product-image-container{
  padding:16px 16px 0;
  min-height:auto;
  background:linear-gradient(180deg,#fff7fb 0%,#fff 100%);
}

.catalog-product-card .product-image{
  display:block;
  width:100%;
  aspect-ratio:1.42 / 1;
  max-height:none;
  object-fit:cover;
  border-radius:24px;
}

.catalog-product-card .product-info{
  display:grid;
  gap:14px;
  padding:20px;
}

.catalog-product-card .product-headline-row{
  align-items:flex-start;
  gap:18px;
}

.catalog-product-card .product-heading-block{
  flex:1 1 auto;
  min-width:0;
}

.catalog-product-card .product-name{
  font-size:clamp(1.45rem,2.8vw,2rem);
  line-height:1.2;
}

.catalog-product-card .product-price-block{
  flex:0 0 auto;
  min-width:96px;
  text-align:left;
}

.catalog-product-card .price-prefix{
  font-size:1rem;
}

.catalog-product-card .price-value{
  font-size:clamp(1.5rem,2.8vw,2rem);
  line-height:1;
}

.catalog-product-card .product-description{
  margin:0;
}

.catalog-product-card .product-sizes-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
}

.catalog-product-card .size-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:10px 18px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(232,218,225,.96);
  font-size:1rem;
  font-weight:800;
}

.catalog-product-card .size-chip .size-name,
.catalog-product-card .size-chip .size-price{
  display:inline-block;
}

.catalog-product-card .product-footer{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-areas:
    "order order order"
    "cart rating like";
  gap:12px;
  align-items:stretch;
  margin-top:2px;
}

.catalog-product-card .order-button,
.catalog-product-card .cart-button,
.catalog-product-card .rating-trigger-button,
.catalog-product-card .like-button{
  width:100%;
  min-width:0;
  min-height:58px;
  padding:12px 14px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.catalog-product-card .order-button{grid-area:order;}
.catalog-product-card .cart-button{grid-area:cart;}
.catalog-product-card .rating-trigger-button{grid-area:rating;}
.catalog-product-card .like-button{grid-area:like;}

.catalog-product-card .rating-trigger-button .like-icon-shell,
.catalog-product-card .like-button .like-icon-shell{
  flex:0 0 auto;
}

.catalog-product-card .rating-trigger-button .like-metric,
.catalog-product-card .like-button .like-metric{
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  line-height:1.1;
}

.catalog-product-card .like-button .likes-label,
.catalog-product-card .rating-trigger-button .likes-label{
  display:block !important;
}

.feedback-modal-dialog{
  overflow:visible;
}

@media (max-width: 767px){
  .catalog-product-card{
    border-radius:28px;
  }

  .catalog-product-card .product-image-container{
    padding:18px 18px 0;
  }

  .catalog-product-card .product-info{
    padding:18px 18px 20px;
    gap:16px;
  }

  .catalog-product-card .product-headline-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:16px;
    align-items:start;
  }

  .catalog-product-card .product-name{
    font-size:2rem;
  }

  .catalog-product-card .product-description{
    font-size:1rem;
    line-height:1.6;
  }

  .catalog-product-card .product-sizes-list{
    justify-content:flex-start;
    gap:12px;
  }

  .catalog-product-card .size-chip{
    flex:0 1 calc(50% - 6px);
    min-width:0;
    min-height:56px;
    padding:10px 12px;
    text-align:center;
  }

  .catalog-product-card .product-footer{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:
      "order order order"
      "cart rating like";
    gap:10px;
  }

  .catalog-product-card .order-button,
  .catalog-product-card .cart-button,
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .like-button{
    min-height:56px;
    padding:10px 12px;
    font-size:.95rem;
  }

  .catalog-product-card .cart-button,
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .like-button{
    box-shadow:none;
    background:#fff;
  }

  .catalog-product-card .like-button .like-metric,
  .catalog-product-card .rating-trigger-button .like-metric{
    gap:1px;
  }

  .feedback-modal{
    padding:14px 10px;
  }

  .feedback-modal-dialog{
    width:min(100%, 100%);
    max-height:calc(100vh - 28px);
    margin:0 auto;
    border-radius:26px;
    overflow:hidden;
  }

  .feedback-modal-dialog h2{
    padding-inline-end:40px;
    font-size:1.35rem;
  }

  .feedback-form{
    gap:14px;
    padding:18px 16px 20px;
  }

  .feedback-modal-copy{
    margin:0 0 4px;
    font-size:.95rem;
    line-height:1.7;
  }

  .feedback-form .form-field{
    gap:7px;
  }

  .feedback-form .form-field input,
  .feedback-form .form-field textarea,
  .feedback-form .form-field select{
    min-height:50px;
    padding:13px 14px;
    border-radius:14px;
    font-size:16px;
  }

  .feedback-form textarea{
    min-height:128px;
    resize:vertical;
  }

  .feedback-modal-close{
    top:12px;
    left:12px;
    width:38px;
    height:38px;
  }
}

@media (max-width: 520px){
  .catalog-product-card .product-name{
    font-size:1.75rem;
  }

  .catalog-product-card .product-headline-row{
    grid-template-columns:1fr;
    gap:10px;
  }

  .catalog-product-card .product-price-block{
    text-align:right;
  }

  .catalog-product-card .size-chip{
    flex:1 1 calc(50% - 6px);
    font-size:.95rem;
  }

  .catalog-product-card .product-footer{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
  }

  .catalog-product-card .order-button,
  .catalog-product-card .cart-button,
  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .like-button{
    min-height:52px;
    font-size:.9rem;
    border-radius:16px;
  }

  .catalog-product-card .cart-button span,
  .catalog-product-card .rating-trigger-button .likes-label,
  .catalog-product-card .like-button .likes-label{
    font-size:.84rem;
  }

  .feedback-modal{
    padding:10px 8px;
  }

  .feedback-form{
    padding:16px 14px 18px;
  }
}

/* Stability and performance layer */
[hidden],
.is-hidden,
.catalog-product-card[hidden],
.catalog-grid[hidden],
.catalog-section[hidden],
.empty-results[hidden]{
  display:none !important;
}

.catalog-product-card[data-visible-by-filter="0"]{
  display:none !important;
}

.catalog-section{
  contain:layout paint;
}

.catalog-product-card{
  content-visibility:auto;
  contain-intrinsic-size:340px 520px;
}

.catalog-product-card .product-image-container{
  aspect-ratio:1 / 1;
}

.catalog-product-card .product-image{
  display:block;
  aspect-ratio:1 / 1;
}

.catalog-mobile-title,
.catalog-mobile-count,
.filter-pill,
.order-button,
.cart-button,
.rating-trigger-button,
.like-button{
  overflow-wrap:anywhere;
}

.catalog-grid{
  min-height:0;
}

.empty-results{
  margin-top:14px;
}

@media (min-width: 992px){
  .catalog-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 991px) and (min-width: 768px){
  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .catalog-product-card{
    grid-template-columns:1fr;
  }

  .catalog-product-card .product-image-container{
    order:0;
    padding:16px;
  }
}

@media (max-width: 767px){
  .menu-controls.menu-controls--compact{
    display:block !important;
    margin-top:12px;
    padding:0;
  }

  .menu-controls--compact .category-filters{
    display:flex;
    flex-wrap:nowrap;
    gap:8px;
    overflow-x:auto;
    padding:8px 2px 10px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }

  .menu-controls--compact .category-filters::-webkit-scrollbar{
    display:none;
  }

  .menu-controls--compact .filter-pill{
    flex:0 0 auto;
    min-height:42px;
    scroll-snap-align:start;
    box-shadow:0 8px 18px rgba(46,46,46,.06);
  }

  .menu-page-body{
    padding-bottom:calc(108px + env(safe-area-inset-bottom));
  }

  .catalog-product-card{
    contain-intrinsic-size:210px 100%;
  }

  .catalog-product-card .product-image-container{
    aspect-ratio:1 / 1;
  }

  .catalog-product-card .product-description{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .catalog-product-card .product-footer{
    min-width:0;
  }

  .catalog-product-card .order-button,
  .catalog-product-card .cart-button{
    min-width:0;
  }
}

@media (max-width: 390px){
  .catalog-product-card{
    grid-template-columns:76px minmax(0,1fr);
    gap:10px;
    padding:10px;
  }

  .catalog-product-card .product-image-container,
  .catalog-product-card .product-image{
    width:76px;
    height:76px;
  }

  .catalog-product-card .product-footer{
    grid-template-columns:1fr 38px 38px;
  }

  .catalog-product-card .cart-button{
    grid-column:1 / 2;
    grid-row:2 / 3;
  }

  .catalog-product-card .rating-trigger-button{
    grid-row:1 / 3;
    grid-column:2 / 3;
  }

  .catalog-product-card .like-button{
    grid-row:1 / 3;
    grid-column:3 / 4;
  }
}

/* Final mobile product-card lock: prevents old duplicated rules from breaking the card. */
@media (max-width: 767px){
  .catalog-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .catalog-product-card{
    display:grid !important;
    grid-template-columns:92px minmax(0,1fr) !important;
    gap:12px !important;
    align-items:start !important;
    padding:12px !important;
    border-radius:22px !important;
    min-height:0 !important;
    overflow:hidden !important;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%) !important;
  }

  .catalog-product-card .product-image-container{
    grid-column:1 / 2 !important;
    grid-row:1 / 2 !important;
    order:0 !important;
    width:92px !important;
    height:92px !important;
    min-width:92px !important;
    min-height:92px !important;
    max-width:92px !important;
    max-height:92px !important;
    padding:0 !important;
    aspect-ratio:1 / 1 !important;
    background:#fff7fb !important;
    border-radius:18px !important;
    overflow:hidden !important;
  }

  .catalog-product-card .product-image{
    width:92px !important;
    height:92px !important;
    min-width:92px !important;
    min-height:92px !important;
    max-width:92px !important;
    max-height:92px !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    border-radius:18px !important;
    display:block !important;
  }

  .catalog-product-card .product-info{
    grid-column:2 / 3 !important;
    grid-row:1 / 2 !important;
    order:0 !important;
    min-width:0 !important;
    padding:0 !important;
    display:grid !important;
    gap:8px !important;
  }

  .catalog-product-card .product-headline-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:8px !important;
    align-items:start !important;
    margin:0 !important;
  }

  .catalog-product-card .product-heading-block{
    min-width:0 !important;
    gap:4px !important;
  }

  .catalog-product-card .product-name{
    font-size:1rem !important;
    line-height:1.35 !important;
    margin:0 !important;
  }

  .catalog-product-card .product-price-block{
    min-width:58px !important;
    text-align:left !important;
    gap:0 !important;
  }

  .catalog-product-card .price-prefix{
    font-size:.68rem !important;
    line-height:1.2 !important;
  }

  .catalog-product-card .price-value{
    font-size:1rem !important;
    line-height:1.2 !important;
  }

  .catalog-product-card .product-description,
  .catalog-product-card .product-ingredients{
    font-size:.8rem !important;
    line-height:1.45 !important;
    margin:0 !important;
  }

  .catalog-product-card .product-description{
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .catalog-product-card .product-sizes-list{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:6px !important;
    margin:0 !important;
  }

  .catalog-product-card .size-chip{
    min-height:30px !important;
    padding:4px 8px !important;
    font-size:.72rem !important;
    flex:0 1 auto !important;
  }

  .catalog-product-card .product-footer{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 38px 38px 38px !important;
    grid-template-rows:38px 38px !important;
    grid-template-areas:
      "order rating complaint like"
      "cart rating complaint like" !important;
    gap:7px !important;
    align-items:stretch !important;
    margin-top:2px !important;
    min-width:0 !important;
  }

  .catalog-product-card .order-button{
    grid-area:order !important;
  }

  .catalog-product-card .cart-button{
    grid-area:cart !important;
  }

  .catalog-product-card .rating-trigger-button{
    grid-area:rating !important;
  }

  .catalog-product-card .complaint-trigger-button{
    grid-area:complaint !important;
  }

  .catalog-product-card .like-button{
    grid-area:like !important;
  }

  .catalog-product-card .order-button,
  .catalog-product-card .cart-button{
    width:100% !important;
    min-width:0 !important;
    min-height:38px !important;
    height:38px !important;
    padding:0 10px !important;
    border-radius:13px !important;
    font-size:.78rem !important;
    white-space:nowrap !important;
  }

  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .complaint-trigger-button,
  .catalog-product-card .like-button{
    width:38px !important;
    min-width:38px !important;
    height:83px !important;
    min-height:83px !important;
    padding:0 !important;
    border-radius:14px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#fff !important;
  }

  .catalog-product-card .rating-trigger-button .like-metric,
  .catalog-product-card .complaint-trigger-button .like-metric,
  .catalog-product-card .like-button .like-metric,
  .catalog-product-card .rating-trigger-button .likes-label,
  .catalog-product-card .complaint-trigger-button .likes-label,
  .catalog-product-card .like-button .likes-label{
    display:none !important;
  }

  .catalog-product-card .like-icon-shell{
    margin:0 !important;
  }
}

@media (max-width: 390px){
  .catalog-product-card{
    grid-template-columns:78px minmax(0,1fr) !important;
    gap:10px !important;
    padding:10px !important;
  }

  .catalog-product-card .product-image-container,
  .catalog-product-card .product-image{
    width:78px !important;
    height:78px !important;
    min-width:78px !important;
    min-height:78px !important;
    max-width:78px !important;
    max-height:78px !important;
  }

  .catalog-product-card .product-footer{
    grid-template-columns:minmax(0,1fr) 34px 34px 34px !important;
    grid-template-rows:36px 36px !important;
    gap:6px !important;
  }

  .catalog-product-card .order-button,
  .catalog-product-card .cart-button{
    min-height:36px !important;
    height:36px !important;
    font-size:.74rem !important;
  }

  .catalog-product-card .rating-trigger-button,
  .catalog-product-card .complaint-trigger-button,
  .catalog-product-card .like-button{
    width:34px !important;
    min-width:34px !important;
    height:78px !important;
    min-height:78px !important;
  }
}

/* Production stability and mobile checkout refinements */
.product-image-container,
.order-hero-media,
.cart-item-media {
  contain: paint;
}

.catalog-product-card {
  content-visibility: auto;
  contain-intrinsic-size: 420px 620px;
}

.product-image,
.order-hero-image,
.cart-item-media img {
  background-color: #fff7f5;
}

button:disabled,
.primary-submit-button:disabled,
.order-button:disabled,
.cart-button:disabled {
  cursor: progress;
  opacity: .72;
  transform: none !important;
}

.cart-mobile-summary-bar {
  display: none;
}

@media (max-width:767px) {
  .product-order-page,
  .cart-page-body {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .product-order-page .order-hero-image {
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
  }

  .cart-mobile-summary-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 85;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(245,66,145,.14);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 42px rgba(46,46,46,.16);
    backdrop-filter: blur(18px);
  }

  .cart-mobile-summary-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .cart-mobile-summary-label {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
  }

  .cart-mobile-summary-copy strong {
    color: var(--primary);
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .cart-mobile-checkout-button {
    width: auto !important;
    min-width: 138px;
    min-height: 50px;
    white-space: nowrap;
  }
}

@media (max-width:380px) {
  .cart-mobile-summary-bar {
    grid-template-columns: 1fr;
  }

  .cart-mobile-checkout-button {
    width: 100% !important;
  }
}

body.modal-open {
  overflow: hidden;
}

.feedback-modal {
  z-index: 130;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.feedback-modal-dialog {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  margin: max(16px, env(safe-area-inset-top)) auto;
  overflow: hidden;
}

.feedback-modal-dialog h2 {
  padding: 28px 24px 0;
}

.feedback-modal-copy {
  margin: 0;
  padding: 0 24px 10px;
}

.feedback-form {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-top: 4px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.feedback-modal-close {
  z-index: 2;
}

.feedback-form .primary-submit-button {
  margin-top: 6px;
}

@media (max-width: 767px) {
  .feedback-modal {
    padding: 12px 10px 96px;
  }

  .feedback-modal-dialog {
    max-height: calc(100vh - 24px);
  }

  .feedback-modal-dialog h2 {
    padding: 22px 18px 0;
    padding-inline-end: 52px;
  }

  .feedback-modal-copy {
    padding: 0 18px 8px;
  }

  .feedback-form {
    padding: 4px 16px calc(20px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 520px) {
  .feedback-modal {
    padding: 8px 8px 96px;
  }

  .feedback-form {
    padding: 4px 14px calc(18px + env(safe-area-inset-bottom));
  }
}

/* Checkout fulfillment refinements */
.order-panel-grid{
  display:grid;
  gap:18px;
}

.order-type-toggle{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.order-type-card{
  position:relative;
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  align-items:center;
  gap:12px;
  min-width:0;
  min-height:84px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow-soft);
  cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background-color .18s ease;
}

.order-type-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.order-type-card strong,
.order-type-card small{
  display:block;
}

.order-type-card small{
  margin-top:2px;
  color:var(--muted);
  font-size:.82rem;
  line-height:1.5;
}

.order-type-card.is-selected{
  border-color:rgba(75,143,232,.48);
  background:linear-gradient(135deg,#f7fbff,#fff);
  box-shadow:0 14px 30px rgba(75,143,232,.12);
}

.order-type-card.is-selected .order-type-icon{
  color:#fff;
  background:linear-gradient(135deg,var(--secondary),var(--primary));
}

.order-type-card:hover{
  transform:translateY(-1px);
  border-color:rgba(255,111,97,.38);
}

.order-type-icon{
  width:44px;
  height:44px;
  border-radius:15px;
  color:var(--primary);
  background:#fff0eb;
}

.form-field[hidden],
.cart-form-field[hidden]{
  display:none!important;
}

.pricing-row strong,
.cart-count-badge,
.cart-insight-value,
.cart-price-chip strong,
.summary-badge,
.size-chip,
.size-option-card strong,
.inline-quantity-field input,
[data-cart-count-text],
[data-cart-items-count],
[data-cart-subtotal],
[data-cart-total],
[data-cart-mobile-total],
[data-cart-quantity],
#quantityDisplay,
#unitPriceDisplay,
#totalPriceDisplay{
  font-variant-numeric:tabular-nums;
}

@media (max-width:767px){
  .order-type-toggle{
    grid-template-columns:1fr;
  }

  .order-type-card{
    min-height:76px;
  }
}
