
.store-closed-banner { background: #fff7ed; border-bottom: 1px solid #fed7aa; color: #9a3412; padding: 10px 0; }
.store-closed-banner .store-container { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 14px; }
.store-closed-banner strong { font-weight: 900; }

:root {
    --store-primary: #0f766e;
    --store-primary-dark: #115e59;
    --store-primary-soft: color-mix(in srgb, var(--store-primary) 8%, #fff);
    --store-primary-soft-strong: color-mix(in srgb, var(--store-primary) 16%, #fff);
    --store-on-primary: #fff;
    --store-accent: #f59e0b;
    --store-bg: #f8fafc;
    --store-card: #ffffff;
    --store-text: #0f172a;
    --store-muted: #64748b;
    --store-border: #e2e8f0;
    --store-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--store-text);
    background: var(--store-bg);
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.store-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.store-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--store-border); backdrop-filter: blur(12px); }
.store-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.store-brand { display: inline-flex; align-items: center; gap: 12px; }
.store-brand__mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--store-primary); color: var(--store-on-primary); font-weight: 800; font-size: 20px; }
/* Store logo replaces the text fallback without changing header dimensions. */
.store-brand__mark--logo { overflow: hidden; padding: 4px; background: #fff; }
.store-brand__logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.store-brand strong { display: block; font-size: 16px; }
.store-brand small { display: block; color: var(--store-muted); font-size: 12px; margin-top: 2px; }
.store-nav { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.store-nav a { flex: 0 0 auto; }
.store-nav a { color: var(--store-muted); font-weight: 600; }
.store-nav a:hover { color: var(--store-primary); }
.hero { padding: 64px 0 48px; background: linear-gradient(135deg, #ecfeff, #fefce8); border-bottom: 1px solid var(--store-border); }
.hero__grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; color: var(--store-primary); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 0 0 16px; }
.hero p { color: var(--store-muted); font-size: 17px; margin: 0; max-width: 720px; }
.hero__actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { background: var(--store-card); border: 1px solid var(--store-border); border-radius: 24px; box-shadow: var(--store-shadow); padding: 24px; }
.hero-card span { color: var(--store-muted); font-size: 13px; }
.hero-card strong { display: block; font-size: 28px; margin: 6px 0 10px; }
.hero-card p { font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid transparent; border-radius: 12px; padding: 11px 16px; font: inherit; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; appearance: none; transition: .15s ease; }
.btn-primary { background: var(--store-primary); color: var(--store-on-primary); }
.btn-primary:hover { background: var(--store-primary-dark); }
.btn-secondary { background: #fff; color: var(--store-primary); border-color: color-mix(in srgb, var(--store-primary) 22%, transparent); }
.btn-light { background: #f1f5f9; color: var(--store-text); border-color: var(--store-border); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .72; cursor: not-allowed; }
.catalog-section { padding: 40px 0; }
.filter-card { background: var(--store-card); border: 1px solid var(--store-border); border-radius: 20px; padding: 18px; box-shadow: 0 10px 28px rgba(15, 23, 42, .05); margin-bottom: 28px; }
.filter-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 14px; align-items: end; }
.filter-card label span { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.filter-card input, .filter-card select { width: 100%; border: 1px solid var(--store-border); border-radius: 12px; padding: 11px 12px; background: #fff; color: var(--store-text); }
.filter-actions { display: flex; gap: 8px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 28px; }
.section-heading p { margin: 0; color: var(--store-muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { background: var(--store-card); border: 1px solid var(--store-border); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(15, 23, 42, .05); display: flex; flex-direction: column; }
.product-card__media { min-height: 190px; background: linear-gradient(135deg, #ccfbf1, #fef3c7); display: grid; place-items: center; color: var(--store-primary); font-weight: 900; font-size: 54px; }
.product-card__media img { width: 100%; height: 220px; object-fit: cover; }
.product-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-card__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 800; }
.badge--soft { background: #e0f2fe; color: #0369a1; }
.badge--warning { background: #fef3c7; color: #92400e; }
.badge--success { background: #dcfce7; color: #166534; }
.product-card h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; }
.product-card h3 a:hover { color: var(--store-primary); }
.product-card__category, .muted { color: var(--store-muted); }
.product-card__category { margin: 0 0 10px; font-size: 13px; }
.product-card__price { margin: 0 0 10px; color: var(--store-primary); font-weight: 900; font-size: 18px; }
.product-card__desc { color: var(--store-muted); margin: 0 0 16px; flex: 1; font-size: 14px; }
/* Storefront-only pagination: one accessible nav, no Bootstrap dependency. */
.pagination-wrap { margin-top: 24px; }
.pagination-wrap .store-pagination { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.store-pagination__list { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.store-pagination__item { list-style: none; }
.store-pagination__link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; min-height: 38px; padding: 7px 11px; border: 1px solid var(--store-border); border-radius: 10px; background: var(--store-card); color: var(--store-text); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.store-pagination a.store-pagination__link:hover { color: var(--store-primary); border-color: var(--store-primary); background: var(--store-primary-soft); }
.store-pagination a.store-pagination__link:focus-visible { outline: 3px solid var(--store-primary); outline-offset: 2px; }
.store-pagination__link.is-current { background: var(--store-primary); color: var(--store-on-primary); border-color: var(--store-primary); }
.store-pagination__link.is-disabled { color: var(--store-muted); background: var(--store-bg); opacity: .65; cursor: default; }
.store-pagination__link.is-ellipsis { border-color: transparent; background: transparent; color: var(--store-muted); }
.store-pagination__direction-label, .store-pagination__mobile-status { display: none; }
.store-pagination__summary { margin: 0; font-size: 13px; color: var(--store-muted); text-align: center; }
@media (max-width: 575px) {
    .store-pagination__list { width: 100%; justify-content: space-between; flex-wrap: nowrap; gap: 6px; }
    .store-pagination__number { display: none; }
    .store-pagination__mobile-status { display: block; flex: 1 1 auto; min-width: 0; text-align: center; color: var(--store-muted); font-size: 12px; }
    .store-pagination__previous, .store-pagination__next { flex: 0 0 auto; }
    .store-pagination__direction-label { display: inline; }
    .store-pagination__link { min-width: 0; min-height: 40px; padding: 8px 10px; font-size: 12px; }
    .store-pagination__summary { font-size: 12px; }
}
.empty-state { text-align: center; background: var(--store-card); border: 1px dashed var(--store-border); border-radius: 22px; padding: 48px 20px; color: var(--store-muted); }
.product-detail { padding: 36px 0 16px; }
.breadcrumb-lite { display: flex; gap: 8px; flex-wrap: wrap; color: var(--store-muted); font-size: 14px; margin-bottom: 18px; }
.breadcrumb-lite a { color: var(--store-primary); font-weight: 700; }
.product-detail__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.product-detail__media { min-height: 420px; border-radius: 26px; background: linear-gradient(135deg, #ccfbf1, #fef3c7); display: grid; place-items: center; color: var(--store-primary); font-size: 96px; font-weight: 900; box-shadow: var(--store-shadow); overflow: hidden; }
.product-detail__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.product-detail__content { background: var(--store-card); border: 1px solid var(--store-border); border-radius: 26px; padding: 24px; box-shadow: var(--store-shadow); }
.product-detail__content h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.product-detail__price { font-size: 28px; color: var(--store-primary); font-weight: 900; margin: 18px 0; }
.product-detail__desc { color: var(--store-text); margin: 0 0 20px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.info-grid div, .notice-card { background: #f8fafc; border: 1px solid var(--store-border); border-radius: 16px; padding: 14px; }
.info-grid span { display: block; color: var(--store-muted); font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.info-grid strong { font-size: 15px; }
.notice-card { color: #475569; }
.store-footer { border-top: 1px solid var(--store-border); background: #fff; margin-top: 40px; padding: 28px 0; color: var(--store-muted); }
.store-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.store-footer strong { color: var(--store-text); }
.store-footer p { margin: 6px 0 0; }
@media (max-width: 900px) {
    .hero__grid, .product-detail__grid, .filter-grid { grid-template-columns: 1fr; }
    .product-grid, .product-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .store-header__inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
}
@media (max-width: 560px) {
    .store-container { width: min(100% - 24px, 1120px); }
    .hero { padding: 40px 0 32px; }
    .product-grid, .product-grid--compact, .info-grid, .store-footer__grid { grid-template-columns: 1fr; }
    .filter-actions { width: 100%; }
    .store-nav { width: 100%; flex-wrap: nowrap; gap: 10px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
    .store-nav::-webkit-scrollbar { display: none; }
    .store-nav .store-nav__optional { display: none; }
    .btn { width: 100%; }
    .store-nav a { padding: 5px 0; }
    .product-detail__media { min-height: 280px; }
}

.flash-wrap { padding-top: 14px; }
.flash { border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--store-border); font-weight: 600; }
.flash ul { margin: 8px 0 0 18px; padding: 0; font-weight: 500; }
.flash--success { background: #ecfdf5; color: #166534; border-color: #bbf7d0; }
.flash--error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.product-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.product-card__actions form { display: flex; margin: 0; }
.add-cart-panel { margin-top: 20px; border-top: 1px solid var(--store-border); padding-top: 18px; }
.add-cart-panel label span, .qty-form label span, .form-grid label span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.add-cart-panel input, .qty-form input, .form-grid input, .form-grid select, .form-grid textarea, #checkoutVoucherCode { width: 100%; border: 1px solid var(--store-border); border-radius: 12px; padding: 11px 12px; background: #fff; color: var(--store-text); font: inherit; }
.cart-page { padding: 36px 0 16px; }
.cart-grid, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .75fr); gap: 22px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-items--compact { margin-top: 12px; }
.cart-item { background: #fff; border: 1px solid var(--store-border); border-radius: 20px; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.cart-item h3 { margin: 0 0 6px; font-size: 18px; }
.cart-item p { margin: 0; }
.cart-item__actions { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; justify-content: flex-end; }
.qty-form { display: flex; gap: 8px; align-items: end; }
.qty-form input { width: 120px; }
/* CP-UX13: one native top-layer dialog, outside the async-replaced cart panel. */
.cart-variant-dialog { position: fixed; inset: 0; box-sizing: border-box; width: min(540px, calc(100% - 32px)); max-width: none; max-height: min(88vh, 720px); max-height: min(88dvh, 720px); margin: auto; padding: 0; border: 1px solid var(--store-border); border-radius: 20px; background: #fff; color: var(--store-text); box-shadow: 0 28px 90px rgba(15,23,42,.24); overflow: hidden; }
.cart-variant-dialog::backdrop { background: rgba(15,23,42,.65); }
.cart-variant-dialog:not([open]) { display: none; }
.cart-variant-dialog__shell { display: flex; flex-direction: column; max-height: min(88vh, 720px); max-height: min(88dvh, 720px); min-height: 0; }
.cart-variant-dialog__header { padding: 20px 22px 14px; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex: none; }
.cart-variant-dialog__eyebrow { color: var(--store-muted); font-size: 12px; font-weight: 700; }
.cart-variant-dialog__header h2 { margin: 3px 0 0; font-size: 22px; line-height: 1.25; }
.cart-variant-dialog__close { flex: none; border: 1px solid var(--store-border); background: #f8fafc; color: var(--store-text); border-radius: 12px; font: inherit; font-size: 24px; line-height: 1; width: 38px; height: 38px; cursor: pointer; }
.cart-variant-dialog__close:focus-visible, .cart-variant-editor__field select:focus-visible { outline: 3px solid var(--store-primary); outline-offset: 2px; }
.cart-variant-dialog__product { margin: 0; padding: 0 22px 14px; color: var(--store-muted); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.cart-variant-dialog__feedback { flex: none; margin: 0 22px 14px; }
.cart-variant-dialog__loading { padding: 28px 22px 36px; color: var(--store-muted); text-align: center; font-weight: 700; }
.cart-variant-dialog__loading::before { content: ''; display: block; box-sizing: border-box; width: 24px; height: 24px; margin: 0 auto 10px; border: 3px solid var(--store-border); border-top-color: var(--store-primary); border-radius: 50%; animation: cart-variant-spin .85s linear infinite; }
@keyframes cart-variant-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cart-variant-dialog__loading::before { animation: none; } }
.cart-variant-dialog__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 22px; }
.cart-variant-dialog__scroll[hidden], .cart-variant-dialog__loading[hidden], .cart-variant-dialog__feedback[hidden] { display: none !important; }
.cart-variant-editor__content { width: 100%; }
.cart-variant-editor__field span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.cart-variant-editor__field select { box-sizing: border-box; width: 100%; border: 1px solid var(--store-border); border-radius: 12px; padding: 12px; background: #fff; color: var(--store-text); font: inherit; }
.cart-variant-editor__summary { margin: 12px 0 0 !important; font-size: 13px; }
.cart-variant-editor__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.cart-variant-editor__actions .btn { min-height: 44px; }
@media (max-width: 767px) {
    .cart-variant-dialog { inset: auto 0 0; width: 100%; max-height: 90vh; max-height: 90dvh; margin: 0; border-radius: 22px 22px 0 0; border-left: 0; border-right: 0; border-bottom: 0; }
    .cart-variant-dialog__shell { max-height: 90vh; max-height: 90dvh; }
    .cart-variant-dialog__header { padding: 18px 18px 12px; }
    .cart-variant-dialog__product { padding: 0 18px 12px; }
    .cart-variant-dialog__scroll { padding: 4px 18px max(18px, env(safe-area-inset-bottom)); }
    .cart-variant-dialog__feedback { margin: 0 18px 12px; }
    .cart-variant-editor__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cart-variant-editor__actions .btn { width: 100%; }
}
.cart-item__total { text-align: right; min-width: 160px; }
.cart-item__total span, .cart-item__total small { display: block; color: var(--store-muted); font-size: 12px; }
.cart-item__total strong { display: block; color: var(--store-primary); font-size: 18px; margin: 3px 0; }
.summary-card, .checkout-card { background: #fff; border: 1px solid var(--store-border); border-radius: 22px; padding: 20px; box-shadow: var(--store-shadow); }
.summary-card h2, .checkout-card h2 { margin: 0 0 14px; font-size: 20px; }
.summary-card dl { margin: 0 0 16px; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--store-border); }
.summary-card dt { color: var(--store-muted); font-weight: 700; }
.summary-card dd { margin: 0; font-weight: 900; }
.summary-card__grand dt, .summary-card__grand dd { color: var(--store-primary); font-size: 18px; }
.summary-actions { display: grid; gap: 8px; margin-top: 14px; }
.summary-actions form { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.form-grid__full { grid-column: 1 / -1; }
.form-grid b { color: #dc2626; }
.mini-items { display: grid; gap: 8px; margin-bottom: 16px; }
.mini-items div { border: 1px solid var(--store-border); border-radius: 14px; padding: 10px; background: #f8fafc; }
.mini-items span, .mini-items strong, .mini-items small { display: block; }
.mini-items span { font-weight: 800; }
.mini-items strong { color: var(--store-muted); font-size: 13px; }
.mini-items small { color: var(--store-primary); font-weight: 900; margin-top: 4px; }
.order-hero { background: linear-gradient(135deg, #ecfeff, #fefce8); border: 1px solid var(--store-border); border-radius: 26px; padding: 28px; margin-bottom: 22px; box-shadow: var(--store-shadow); }
.order-hero h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); }
.order-hero p { margin: 0; color: var(--store-muted); }
.status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.status-grid div { border: 1px solid var(--store-border); border-radius: 14px; background: #f8fafc; padding: 12px; }
.status-grid span { display: block; color: var(--store-muted); font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.status-grid strong { font-size: 14px; }
@media (max-width: 900px) {
    .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 1fr; }
    .cart-item__actions { justify-content: stretch; }
    .qty-form, .cart-item__actions form, .cart-item__actions .btn { width: 100%; }
    .qty-form input { width: 100%; }
    .cart-item__total { text-align: left; }
    .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .product-card__actions, .form-grid, .status-grid { grid-template-columns: 1fr; }
}

.payment-upload-card { border-top: 1px solid var(--store-border); padding-top: 16px; margin: 16px 0; }
.payment-form { display: grid; gap: 12px; }
.payment-form label span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.payment-form input, .payment-form textarea { width: 100%; border: 1px solid var(--store-border); border-radius: 12px; padding: 11px 12px; background: #fff; color: var(--store-text); font: inherit; }
.payment-form b { color: #dc2626; }
.payment-history { display: grid; gap: 10px; margin-top: 10px; }
.payment-history__item { border: 1px solid var(--store-border); border-radius: 16px; padding: 12px; background: #f8fafc; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.payment-history__item strong, .payment-history__item span, .payment-history__item small { display: block; }
.payment-history__item span, .payment-history__item small { color: var(--store-muted); }
.payment-history__item small { font-size: 12px; }
@media (max-width: 560px) {
    .payment-history__item { align-items: stretch; flex-direction: column; }
}

/* Keep public action buttons and summary spacing visually consistent. */
.product-card__actions .btn,
.fresh-product-card__actions .btn {
    min-height: 44px;
}

.product-card__actions form,
.fresh-product-card__actions form {
    min-width: 0;
}

.summary-actions .btn {
    min-height: 44px;
}


/* Shared storefront card, form, focus, and empty-state polish. */
.product-card__media {
    min-height: 220px;
}

.product-card__media > span {
    min-height: 220px;
    display: grid;
    place-items: center;
}

.product-card h3 a,
.product-card__desc,
.fresh-product-card h3 a,
.fresh-product-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card h3 a,
.fresh-product-card h3 a {
    -webkit-line-clamp: 2;
}

.product-card__desc,
.fresh-product-card__desc {
    -webkit-line-clamp: 3;
}

.filter-card input:focus,
.filter-card select:focus,
.add-cart-panel input:focus,
.qty-form input:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.payment-form input:focus,
.payment-form textarea:focus {
    outline: 3px solid color-mix(in srgb, var(--store-primary) 16%, transparent);
    border-color: color-mix(in srgb, var(--store-primary) 52%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--store-primary) 8%, transparent);
}

.empty-state h3 {
    margin: 0 0 8px;
    color: var(--store-text);
    font-size: 22px;
}

.empty-state p {
    margin: 0 auto;
    max-width: 520px;
}

.empty-state__actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

@media (max-width: 560px) {
    .empty-state__actions {
        display: grid;
    }
}

.shipment-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 10px 0 14px; }
.shipment-info div { border: 1px solid var(--store-border); border-radius: 14px; background: #f8fafc; padding: 12px; }
.shipment-info span { display: block; color: var(--store-muted); font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.shipment-info strong { font-size: 14px; word-break: break-word; }
@media (max-width: 900px) {
    .shipment-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .shipment-info { grid-template-columns: 1fr; }
}


.shipment-timeline { display: grid; gap: 10px; margin: 12px 0 16px; }
.shipment-timeline__item { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; border: 1px solid var(--store-border); border-radius: 14px; background: #fff; padding: 12px; }
.shipment-timeline__item > span { width: 18px; height: 18px; border-radius: 999px; border: 2px solid #cbd5e1; background: #fff; margin-top: 2px; }
.shipment-timeline__item strong { display: block; font-size: 14px; }
.shipment-timeline__item p { margin: 3px 0 0; color: var(--store-muted); font-size: 13px; }
.shipment-timeline__item small { display: block; margin-top: 4px; color: var(--store-muted); font-size: 12px; }
.shipment-timeline__item.is-done { background: #f0fdf4; border-color: #bbf7d0; }
.shipment-timeline__item.is-done > span { background: #16a34a; border-color: #16a34a; }
.shipment-timeline__item.is-active { background: #eff6ff; border-color: #bfdbfe; }
.shipment-timeline__item.is-active > span { background: var(--store-primary); border-color: var(--store-primary); }
.shipment-timeline__item.is-problem { background: #fff7ed; border-color: #fed7aa; }
.shipment-timeline__item.is-problem > span { background: #f97316; border-color: #f97316; }

.payment-instruction-card { margin: 12px 0; }
.payment-instruction-card strong { display: block; margin-bottom: 8px; }
.payment-instruction-card dl { display: grid; gap: 8px; margin: 8px 0 10px; }
.payment-instruction-card dl div { display: block; padding: 0; border: 0; }
.payment-instruction-card dt { color: var(--store-muted); font-size: 12px; font-weight: 900; }
.payment-instruction-card dd { margin: 2px 0 0; font-weight: 900; word-break: break-word; }
.payment-instruction-card p { margin: 8px 0 0; }


.info-page { padding: 36px 0 16px; }
.info-page__hero { background: linear-gradient(135deg, #ecfeff, #fefce8); border: 1px solid var(--store-border); border-radius: 26px; padding: 28px; margin-bottom: 22px; box-shadow: var(--store-shadow); }
.info-page__hero h1 { margin: 4px 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.info-page__hero p { margin: 0; color: var(--store-muted); }
.info-page__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 22px; align-items: start; }
.info-page__content { background: #fff; border: 1px solid var(--store-border); border-radius: 22px; padding: 24px; box-shadow: var(--store-shadow); white-space: normal; line-height: 1.75; }
.info-page__content p:first-child { margin-top: 0; }
.info-page__aside { position: sticky; top: 92px; }
.info-page__aside .btn + .btn { margin-top: 8px; }
.store-footer a { color: var(--store-primary); font-weight: 700; }
@media (max-width: 900px) {
    .info-page__grid { grid-template-columns: 1fr; }
    .info-page__aside { position: static; }
}

/* Customer assistance and floating contact affordances. */
.store-wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 999px;
    color: var(--store-on-primary);
    background: #16a34a;
    box-shadow: 0 16px 32px rgba(22, 163, 74, .28);
    font-weight: 900;
    text-decoration: none;
}
.store-wa-float:hover { color: var(--store-on-primary); transform: translateY(-1px); }
.store-wa-float span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.18);
    font-size: 12px;
}
.store-wa-float strong { font-size: 14px; }
.order-next-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.order-next-step strong { display: block; font-size: 20px; margin: 3px 0 4px; }
.order-next-step p { margin: 0; color: var(--store-muted); }

@media (max-width: 560px) {
    .store-wa-float {
        left: auto;
        right: 14px;
        bottom: 14px;
        padding: 10px;
        gap: 0;
        justify-content: center;
    }
    .store-wa-float span { width: 38px; height: 38px; }
    .store-wa-float strong { display: none; }
    .order-next-step { align-items: stretch; flex-direction: column; }
    body { padding-bottom: 0; }
}

/* Default storefront navigation and interaction polish. */
.store-nav__cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.store-nav__cart span {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--store-primary);
    color: var(--store-on-primary);
    font-size: 12px;
    font-weight: 900;
}
.hero-card__meta {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--store-border);
}
.hero-card__meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--store-muted);
    font-size: 13px;
    font-weight: 700;
}
.hero-card__meta span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--store-primary);
    flex: 0 0 auto;
}
.store-steps {
    margin-top: -22px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.store-steps > div {
    background: #fff;
    border: 1px solid var(--store-border);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.store-steps span,
.flow-hint__item span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 900;
}
.store-steps strong {
    display: block;
    margin: 10px 0 4px;
    font-size: 16px;
}
.store-steps p {
    margin: 0;
    color: var(--store-muted);
    font-size: 14px;
}
.product-card {
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.product-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--store-primary) 24%, transparent);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
}
.product-card__category a:hover { color: var(--store-primary); }
.notice-card--strong {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
    font-weight: 700;
}
.notice-card--warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}
.product-detail__actions .btn { min-width: 170px; }
.flow-hint {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}
.order-flow-hint { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-hint__item {
    background: #fff;
    border: 1px solid var(--store-border);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--store-muted);
    font-size: 13px;
}
.flow-hint__item strong {
    color: var(--store-text);
    font-size: 14px;
}
.flow-hint__item.is-active {
    border-color: color-mix(in srgb, var(--store-primary) 34%, transparent);
    background: var(--store-primary-soft);
}
.flow-hint__item.is-active span,
.flow-hint__item.is-done span {
    background: var(--store-primary);
    color: var(--store-on-primary);
}
.flow-hint__item.is-done {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.form-help {
    margin: -6px 0 14px;
    color: var(--store-muted);
    font-size: 14px;
}
.payment-total-box {
    background: var(--store-primary-soft);
    border: 1px solid color-mix(in srgb, var(--store-primary) 22%, transparent);
    border-radius: 18px;
    padding: 14px;
    margin: 0 0 12px;
}
.payment-total-box span {
    display: block;
    color: var(--store-muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px;
}
.payment-total-box strong {
    color: var(--store-primary);
    display: block;
    font-size: 24px;
    line-height: 1.15;
}
@media (max-width: 900px) {
    .store-steps { grid-template-columns: 1fr; margin-top: 18px; }
    .flow-hint, .order-flow-hint { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .store-nav__cart { width: auto; }
    .store-steps > div { padding: 14px; }
    .flow-hint, .order-flow-hint { grid-template-columns: 1fr; }
    .flow-hint__item { padding: 10px; }
    .payment-total-box strong { font-size: 21px; }
}

/* Checkout fulfillment cards and address-entry flow. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.fulfillment-picker {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    min-width: 0;
}
.fulfillment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.fulfillment-option {
    display: block;
    min-width: 0;
    cursor: pointer;
}
.fulfillment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.fulfillment-option__body {
    min-height: 112px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--store-border);
    border-radius: 18px;
    background: #fff;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fulfillment-option:hover .fulfillment-option__body {
    border-color: color-mix(in srgb, var(--store-primary) 34%, transparent);
    transform: translateY(-1px);
}
.fulfillment-option input:focus-visible + .fulfillment-option__body {
    outline: 3px solid color-mix(in srgb, var(--store-primary) 18%, transparent);
    outline-offset: 2px;
}
.fulfillment-option input:checked + .fulfillment-option__body {
    border-color: var(--store-primary);
    background: var(--store-primary-soft);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--store-primary) 10%, transparent);
}
.fulfillment-option__marker,
.fulfillment-option__check {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-weight: 900;
}
.fulfillment-option__marker {
    background: #f1f5f9;
    color: var(--store-muted);
}
.fulfillment-option__check {
    width: 28px;
    height: 28px;
    background: #e2e8f0;
    color: transparent;
    font-size: 16px;
}
.fulfillment-option input:checked + .fulfillment-option__body .fulfillment-option__marker,
.fulfillment-option input:checked + .fulfillment-option__body .fulfillment-option__check {
    background: var(--store-primary);
    color: var(--store-on-primary);
}
.fulfillment-option__copy {
    min-width: 0;
}
.fulfillment-option__copy strong,
.fulfillment-option__copy small {
    display: block;
}
.fulfillment-option__copy strong {
    color: var(--store-text);
    font-size: 16px;
    line-height: 1.3;
}
.fulfillment-option__copy small {
    margin-top: 4px;
    color: var(--store-muted);
    font-size: 13px;
    line-height: 1.45;
}
.checkout-method-note {
    margin: 0 0 18px;
}
.checkout-method-note strong {
    display: block;
    margin-bottom: 2px;
}
.shipping-address-panel {
    margin: 0 0 20px;
    padding: 18px;
    border: 1px solid var(--store-border);
    border-radius: 18px;
    background: #f8fafc;
}
.shipping-address-panel[hidden],
.checkout-method-note[hidden],
.summary-card .notice-card[hidden] {
    display: none;
}
.shipping-address-panel__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.shipping-address-panel__heading h3 {
    margin: 0 0 4px;
    font-size: 17px;
}
.shipping-address-panel__heading p {
    margin: 0;
    color: var(--store-muted);
    font-size: 13px;
}
.shipping-address-panel__heading > span {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 9px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
}
.shipping-address-panel .form-grid,
.checkout-note-grid {
    margin-bottom: 0;
}
@media (max-width: 700px) {
    .fulfillment-options {
        grid-template-columns: 1fr;
    }
    .fulfillment-option__body {
        min-height: 96px;
    }
    .shipping-address-panel__heading {
        display: block;
    }
    .shipping-address-panel__heading > span {
        display: inline-flex;
        margin-top: 10px;
    }
}
@media (max-width: 420px) {
    .fulfillment-option__body {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 14px;
    }
    .fulfillment-option__check {
        display: none;
    }
    .shipping-address-panel {
        padding: 14px;
    }
}

/* Customer order status emphasizes one clear state and next action. */
.customer-order-hero__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.customer-order-hero__label {
    display: block;
    margin-bottom: 2px;
    color: var(--store-muted);
    font-size: 13px;
    font-weight: 800;
}
.customer-order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 320px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}
.customer-order-status--warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.customer-order-status--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}
.customer-order-status--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}
.customer-order-status--danger {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}
.customer-order-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}
.customer-order-progress__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--store-border);
    border-radius: 16px;
    background: #fff;
}
.customer-order-progress__marker {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--store-muted);
    font-size: 13px;
    font-weight: 900;
}
.customer-order-progress__item div {
    min-width: 0;
}
.customer-order-progress__item strong,
.customer-order-progress__item small {
    display: block;
}
.customer-order-progress__item strong {
    font-size: 13px;
    line-height: 1.3;
}
.customer-order-progress__item small {
    margin-top: 2px;
    color: var(--store-muted);
    font-size: 11px;
}
.customer-order-progress__item.is-done {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.customer-order-progress__item.is-done .customer-order-progress__marker {
    background: #16a34a;
    color: #fff;
}
.customer-order-progress__item.is-active {
    border-color: color-mix(in srgb, var(--store-primary) 34%, transparent);
    background: var(--store-primary-soft);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--store-primary) 8%, transparent);
}
.customer-order-progress__item.is-active .customer-order-progress__marker {
    background: var(--store-primary);
    color: var(--store-on-primary);
}
.customer-order-progress__item.is-problem {
    border-color: #fed7aa;
    background: #fff7ed;
}
.customer-order-progress__item.is-problem .customer-order-progress__marker {
    background: #f97316;
    color: #fff;
}
.order-next-step--warning {
    background: #fffbeb;
    border-color: #fde68a;
}
.order-next-step--info {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.order-next-step--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.order-next-step--danger {
    background: #fff7ed;
    border-color: #fed7aa;
}
.order-next-step__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}
.customer-order-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.customer-order-facts > div {
    padding: 13px;
    border: 1px solid var(--store-border);
    border-radius: 14px;
    background: #f8fafc;
}
.customer-order-facts span,
.customer-order-facts strong {
    display: block;
}
.customer-order-facts span {
    margin-bottom: 3px;
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 800;
}
.customer-order-facts strong {
    font-size: 14px;
}
.customer-order-address {
    margin-bottom: 20px;
}
.customer-order-address > p {
    margin: 6px 0 0;
}
.customer-order-address__shipping {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--store-border);
}
.customer-order-address__shipping span {
    color: var(--store-muted);
    font-size: 13px;
}
.customer-order-address__shipping strong {
    color: var(--store-text);
    font-size: 14px;
}
.order-total-primary {
    margin-bottom: 10px;
}
.order-total-primary small {
    display: block;
    margin-top: 6px;
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.45;
}
.order-total-primary--estimate {
    background: #fffbeb;
    border-color: #fde68a;
}
.order-total-primary--estimate strong {
    color: #92400e;
}
#payment-proof {
    scroll-margin-top: 96px;
}
.customer-order-contact span {
    display: block;
}
.payment-proof-meta {
    display: block;
    margin-top: 6px;
}

@media (max-width: 960px) {
    .customer-order-progress {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .customer-order-hero__heading,
    .customer-order-address__shipping {
        align-items: stretch;
        flex-direction: column;
    }
    .customer-order-status {
        max-width: none;
        align-self: flex-start;
    }
    .customer-order-progress {
        grid-template-columns: 1fr;
    }
    .customer-order-progress__item {
        padding: 10px 12px;
    }
    .order-next-step__actions {
        align-items: stretch;
        flex-direction: column;
    }
    .customer-order-facts {
        grid-template-columns: 1fr;
    }
}

/* Manual payment form with server-owned amount and upload guidance. */
.payment-upload-card--primary {
    border: 1px solid color-mix(in srgb, var(--store-primary) 24%, transparent);
    border-radius: 20px;
    padding: 18px;
    margin: 18px 0;
    background: color-mix(in srgb, var(--store-primary) 3%, #fff);
}
.payment-upload-card--primary > h2 {
    margin: 4px 0 14px;
}
.payment-total-box--locked {
    border-width: 2px;
}
.payment-total-box--locked small {
    display: block;
    margin-top: 7px;
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.45;
}
.payment-steps {
    counter-reset: payment-step;
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 14px 0;
    padding: 0;
}
.payment-steps li {
    counter-increment: payment-step;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 10px;
    padding: 10px;
    border: 1px solid var(--store-border);
    border-radius: 14px;
    background: #fff;
}
.payment-steps li::before {
    content: counter(payment-step);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--store-primary);
    color: var(--store-on-primary);
    font-weight: 900;
    grid-row: 1 / span 2;
}
.payment-steps strong,
.payment-steps span {
    display: block;
}
.payment-steps strong {
    font-size: 14px;
}
.payment-steps span {
    margin-top: 2px;
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.45;
}
.payment-instruction-card--primary {
    border-color: color-mix(in srgb, var(--store-primary) 25%, transparent);
    background: var(--store-primary-soft);
}
.payment-rejection-note {
    margin: 12px 0;
}
.payment-rejection-note p {
    margin: 6px 0 0;
}
.payment-form {
    margin-top: 14px;
}
.payment-form label > span:first-child small {
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 700;
}
.payment-form input[aria-invalid="true"],
.payment-form textarea[aria-invalid="true"] {
    border-color: #dc2626;
}
.payment-form input[type="file"] {
    padding: 8px;
}
.payment-form input[type="file"]::file-selector-button {
    min-height: 38px;
    margin-right: 10px;
    border: 0;
    border-radius: 9px;
    padding: 8px 11px;
    background: #e2e8f0;
    color: var(--store-text);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.payment-form .field-help,
.payment-form .field-error,
.payment-form .selected-file {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
}
.payment-form .field-help {
    color: var(--store-muted);
    font-weight: 600;
}
.payment-form .field-error {
    color: #b91c1c;
    font-weight: 800;
}
.payment-form .selected-file {
    color: var(--store-muted);
    font-weight: 700;
    word-break: break-word;
}
.payment-form .selected-file.is-selected {
    color: var(--store-primary);
}
.payment-form button[disabled] {
    cursor: wait;
    opacity: .72;
}

@media (max-width: 560px) {
    .payment-upload-card--primary {
        border-radius: 16px;
        padding: 14px;
    }
}

/* Multi-image product gallery. */
.product-gallery { min-width: 0; }
.product-gallery__thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.product-gallery__thumbnail { aspect-ratio: 1; border: 2px solid transparent; border-radius: 14px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
.product-gallery__thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery__thumbnail:hover, .product-gallery__thumbnail:focus-visible, .product-gallery__thumbnail.is-active { border-color: var(--store-primary); outline: none; }
.product-gallery__thumbnail--video { position: relative; color: #fff; background: #111827; }
.product-gallery__thumbnail--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .72)); pointer-events: none; }
.product-gallery__thumbnail-play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-size: 24px; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); pointer-events: none; }
.product-gallery__thumbnail-label { position: absolute; left: 6px; right: 6px; bottom: 5px; z-index: 1; font-size: 10px; line-height: 1; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: .04em; pointer-events: none; }
.product-gallery__video-frame { width: 100%; height: 100%; min-height: inherit; border: 0; display: block; background: #000; }
.product-gallery__video-fallback { width: 100%; height: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center; background: #f8fafc; color: #0f172a; }
.product-gallery__video-fallback strong { font-size: 18px; }
.product-gallery__video-fallback span { max-width: 520px; color: #64748b; line-height: 1.6; font-size: 14px; }
.product-gallery__video-fallback-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; border-radius: 999px; background: #111827; color: #fff; font-weight: 800; text-decoration: none; font-size: 14px; }
.product-gallery__video-fallback-link:hover { color: #fff; text-decoration: none; opacity: .9; }
.product-gallery__video-poster { position: relative; width: 100%; height: 100%; min-height: inherit; border: 0; padding: 0; overflow: hidden; background: #000; cursor: pointer; }
.product-gallery__video-poster img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; display: block; }
.product-gallery__video-poster--generic { display: grid; place-items: center; background: linear-gradient(145deg, #111827, #020617); color: #fff; }
.product-gallery__video-provider { font-size: clamp(28px, 6vw, 54px); font-weight: 900; letter-spacing: .02em; opacity: .9; }
.product-gallery__thumbnail-provider { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 18px; font-size: 14px; font-weight: 900; color: #fff; }
.product-gallery__video-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: clamp(42px, 8vw, 76px); text-shadow: 0 4px 18px rgba(0, 0, 0, .65); background: rgba(0, 0, 0, .12); }
@media (max-width: 560px) {
    .product-gallery__thumbnails { display: flex; overflow-x: auto; padding-bottom: 4px; }
    .product-gallery__thumbnail { flex: 0 0 72px; }
}

/* Product variant selector. */
.product-variant-picker { display: grid; gap: 12px; margin-bottom: 14px; }
.product-variant-picker__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.product-variant-picker label { display: grid; gap: 6px; font-weight: 700; }
.product-variant-picker select { width: 100%; min-height: 44px; border: 1px solid var(--store-border, #d7dee8); border-radius: 12px; padding: 9px 12px; background: #fff; color: inherit; }
.product-variant-picker__summary { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--store-border, #d7dee8); border-radius: 14px; background: rgba(248, 250, 252, .85); }
.product-variant-picker__summary span { color: var(--store-muted, #64748b); font-size: .92rem; }

/* Product specifications and lightweight catalog filters. */
.filter-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.product-specifications { margin: 20px 0; }
.product-specifications h2 { margin: 0 0 12px; font-size: 19px; }
.product-specifications dl { margin: 0; border: 1px solid var(--store-border); border-radius: 16px; overflow: hidden; }
.product-specifications dl div { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1.4fr); gap: 14px; padding: 11px 14px; background: #fff; }
.product-specifications dl div + div { border-top: 1px solid var(--store-border); }
.product-specifications dt { color: var(--store-muted); font-size: 13px; font-weight: 800; }
.product-specifications dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 560px) {
    .product-specifications dl div { grid-template-columns: 1fr; gap: 3px; }
}

/* Live shipping area/rate controls used during checkout. */
.live-shipping-field {
    position: relative;
}

.shipping-area-results {
    position: absolute;
    z-index: 30;
    top: calc(100% - 1.1rem);
    left: 0;
    right: 0;
    max-height: 18rem;
    overflow-y: auto;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
}

.shipping-area-result,
.shipping-area-results__empty {
    display: block;
    width: 100%;
    padding: .8rem .9rem;
    border: 0;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
}

.shipping-area-result {
    cursor: pointer;
}

.shipping-area-result:hover,
.shipping-area-result:focus-visible {
    background: color-mix(in srgb, var(--store-primary) 8%, transparent);
    outline: none;
}

.live-shipping-rate-panel {
    padding: .9rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .9rem;
    background: rgba(248, 250, 252, .9);
}

.shipping-location-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    padding: .85rem .9rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .9rem;
    background: rgba(248, 250, 252, .72);
}

.shipping-location-panel > div:first-child,
.shipping-location-panel__actions {
    display: grid;
    gap: .25rem;
}

.shipping-location-panel__actions {
    justify-items: end;
}

.shipping-manual-option {
    margin-top: .7rem;
}

.live-shipping-rate-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}

.live-shipping-rate-panel__heading > div {
    display: grid;
    gap: .15rem;
}

.live-shipping-rate-panel__heading small,
.shipping-rate-status {
    font-size: .82rem;
}

.shipping-rate-status {
    margin-top: .7rem;
}

.shipping-rate-options {
    display: grid;
    gap: .6rem;
    margin-top: .7rem;
}

.shipping-rate-option {
    display: block;
    cursor: pointer;
}

.shipping-rate-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shipping-rate-option__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .25rem .8rem;
    align-items: center;
    padding: .75rem .85rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .75rem;
    background: #fff;
}

.shipping-rate-option__body strong,
.shipping-rate-option__body small {
    min-width: 0;
}

.shipping-rate-option__body small {
    grid-column: 1;
    color: #64748b;
}

.shipping-rate-option__body b {
    grid-column: 2;
    grid-row: 1 / span 2;
    white-space: nowrap;
}

.shipping-rate-option > input:checked + .shipping-rate-option__body {
    border-color: currentColor;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--store-primary) 14%, transparent);
}

.shipping-rate-option > input:focus-visible + .shipping-rate-option__body {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .live-shipping-rate-panel__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .shipping-location-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .shipping-location-panel__actions {
        justify-items: stretch;
    }

    .shipping-rate-option__body {
        grid-template-columns: 1fr;
    }

    .shipping-rate-option__body b,
    .shipping-rate-option__body small {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Verified product review presentation. */
.order-review-section,
.product-reviews-section { margin-top: 24px; }
.order-review-section__heading,
.product-reviews-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 16px; }
.order-review-section__heading h2,
.product-reviews-heading h2 { margin: 4px 0 0; }
.order-review-section__heading p { max-width: 520px; margin: 0; color: var(--store-muted); }
.order-review-list,
.product-review-list { display: grid; gap: 14px; }
.order-review-card,
.product-review-card { padding: 18px; border: 1px solid var(--store-border); border-radius: 18px; background: #fff; }
.order-review-card__product,
.product-review-card__meta { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order-review-card__product > div,
.product-review-card__meta > div { display: grid; gap: 4px; }
.order-review-card__product span,
.product-review-card__meta time,
.product-review-card__variant { color: var(--store-muted); font-size: 13px; }
.verified-purchase-badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 999px; background: rgba(22, 163, 74, .1); color: #166534 !important; font-size: 12px !important; font-weight: 800; }
.review-stars { color: #d97706; letter-spacing: 2px; font-size: 18px; }
.order-review-form { display: grid; gap: 14px; margin-top: 16px; }
.order-review-batch-form { margin-top: 0; }
.order-review-item-fields { display: grid; gap: 14px; margin-top: 16px; }
.order-review-batch-actions { display: grid; gap: 14px; justify-items: start; padding-top: 2px; margin-bottom: 12px;}
.order-review-batch-actions .review-name-consent { width: 100%; }
.order-review-form__grid { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr); gap: 12px; }
.order-review-form label { display: grid; gap: 6px; font-weight: 700; }
.order-review-form select,
.order-review-form textarea,
.order-review-form input[type="file"] { width: 100%; border: 1px solid var(--store-border); border-radius: 12px; padding: 10px 12px; background: #fff; color: inherit; font: inherit; }
.order-review-form__comment { grid-column: 2; }
.order-review-form__photos { grid-column: 1 / -1; }
.order-review-form__photos small { color: var(--store-muted); font-weight: 500; }
.review-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 120px)); gap: 10px; margin-top: 12px; }
.review-photo-grid--compact { grid-template-columns: repeat(3, minmax(0, 92px)); }
.review-photo-grid a { display: block; overflow: hidden; border: 1px solid var(--store-border); border-radius: 12px; background: rgba(248, 250, 252, .9); aspect-ratio: 1; }
.review-photo-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.review-name-consent { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px !important; padding: 12px 14px; border: 1px solid var(--store-border); border-radius: 14px; background: rgba(248, 250, 252, .85); }
.review-name-consent input { margin-top: 4px; }
.review-name-consent span { display: grid; gap: 3px; }
.review-name-consent small { color: var(--store-muted); font-weight: 500; }
.order-review-status { display: grid; gap: 6px; margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(248, 250, 252, .9); }
.order-review-status p { margin: 0; white-space: pre-wrap; }
.order-review-status small { color: var(--store-muted); }
.order-review-status--approved { border-left: 4px solid #16a34a; }
.order-review-status--rejected { border-left: 4px solid #dc2626; }
.order-review-status--pending { border-left: 4px solid #d97706; }
.order-review-errors ul { margin: 8px 0 0; padding-left: 20px; }
.product-review-summary { display: flex; align-items: center; gap: 12px; }
.product-review-summary > strong { font-size: 38px; line-height: 1; }
.product-review-summary > div { display: grid; gap: 2px; }
.product-review-summary small { color: var(--store-muted); }
.product-review-card__meta time { white-space: nowrap; }
.product-review-card p { margin: 10px 0 0; white-space: pre-wrap; }
.product-reviews-empty { margin: 0; }
@media (max-width: 640px) {
    .order-review-section__heading,
    .product-reviews-heading,
    .order-review-card__product,
    .product-review-card__meta { align-items: stretch; flex-direction: column; }
    .order-review-form__grid { grid-template-columns: 1fr; }
    .order-review-form__comment,
    .order-review-form__photos { grid-column: 1; }
    .review-photo-grid,
    .review-photo-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-review-card__meta time { white-space: normal; }
}

/* Shared theme-neutral feedback for quick-add and storefront mutations. */
.storefront-feedback {
    position: fixed;
    right: 18px;
    bottom: 86px;
    z-index: 60;
    width: min(360px, calc(100vw - 36px));
    border: 1px solid var(--store-border);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .16);
    background: #fff;
    font-weight: 800;
}
.storefront-feedback--success { background: #ecfdf5; color: #166534; border-color: #bbf7d0; }
.storefront-feedback--error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
@media (max-width: 560px) {
    .storefront-feedback { left: 12px; right: 12px; bottom: 72px; width: auto; }
}

/* Flash Sale presentation reuses existing promotion data; pricing remains server-authoritative. */
.flash-sale-section {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 24px;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 70%);
}
.flash-sale-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.flash-sale-section__head > div > span {
    display: block;
    margin-bottom: 4px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.flash-sale-section__head h2 { margin: 0; }
.flash-sale-section__head p { margin: 6px 0 0; color: var(--store-muted); }
.flash-sale-section__head > a { flex: 0 0 auto; color: #c2410c; font-weight: 800; text-decoration: none; }

.flash-sale-panel {
    display: grid;
    gap: 10px;
    margin: 14px 0 18px;
    padding: 14px 16px;
    border: 1px solid #fdba74;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
}
.flash-sale-panel[hidden] { display: none !important; }
.flash-sale-panel__headline,
.flash-sale-panel__countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.flash-sale-panel__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ea580c;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
.flash-sale-panel__headline > strong { color: #9a3412; font-size: 14px; }
.flash-sale-panel__countdown { padding-top: 10px; border-top: 1px dashed #fdba74; }
.flash-sale-panel__countdown > span { color: #9a3412; font-size: 12px; font-weight: 700; }
.flash-sale-panel__countdown > strong { color: #c2410c; font-size: 20px; letter-spacing: .03em; }
.flash-sale-panel p { margin: 0; color: #7c2d12; font-size: 12px; line-height: 1.5; }

@media (max-width: 640px) {
    .flash-sale-section__head,
    .flash-sale-panel__headline,
    .flash-sale-panel__countdown { align-items: flex-start; flex-direction: column; }
    .flash-sale-section__head > a { width: 100%; }
}


/* Shared product image viewer + cart photo (CP-UX11). No catalog card interception. */
.cart-item__identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cart-item__details { flex: 1; min-width: 0; }
.cart-item__photo { position: relative; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 12px; border: 1px solid var(--store-border); overflow: hidden; padding: 0; background: #f8fafc; display: grid; place-items: center; color: var(--store-muted); font: inherit; font-size: 27px; font-weight: 800; }
.cart-item__photo[data-image-viewer-open] { cursor: zoom-in; text-decoration: none; }
.cart-item__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-item__photo-zoom { position: absolute; right: 4px; bottom: 4px; border-radius: 50%; width: 23px; height: 23px; display: grid; place-items: center; background: rgba(15,23,42,.78); color: white; font-size: 20px; line-height: 1; }
.cart-item__photo:focus-visible, .product-gallery [data-image-viewer-gallery-main]:focus-visible { outline: 3px solid var(--store-primary); outline-offset: 3px; }
.product-gallery [data-image-viewer-gallery-main] { cursor: zoom-in; }
.storefront-image-viewer { width: min(940px, calc(100% - 20px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 18px; background: #fff; color: #0f172a; box-shadow: 0 25px 85px rgba(0,0,0,.33); overflow: hidden; }
.storefront-image-viewer::backdrop { background: rgba(2,6,23,.8); }
.storefront-image-viewer__shell { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 24px); min-height: 0; }
.storefront-image-viewer__topbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; gap: 12px; }
.storefront-image-viewer__title { font-size: 13px; font-weight: 800; }
.storefront-image-viewer__close { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: none; background: #f1f5f9; color: #0f172a; font: inherit; font-size: 26px; cursor: pointer; }
.storefront-image-viewer__stage { position: relative; display: flex; align-items: center; justify-content: center; height: min(72dvh, 710px); min-height: 160px; overflow: hidden; background: #f8fafc; touch-action: none; cursor: default; user-select: none; }
.storefront-image-viewer__stage.is-zoomed { cursor: grab; }
.storefront-image-viewer__stage.is-dragging { cursor: grabbing; }
.storefront-image-viewer__stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; will-change: transform; pointer-events: none; user-select: none; }
.storefront-image-viewer__toolbar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px 4px; }
.storefront-image-viewer__toolbar button { min-width: 48px; min-height: 42px; border: 1px solid #cbd5e1; border-radius: 12px; background: white; color: #0f172a; font: inherit; font-weight: 800; font-size: 21px; cursor: pointer; }
.storefront-image-viewer__toolbar [data-image-viewer-reset] { min-width: 84px; font-size: 13px; }
.storefront-image-viewer__toolbar button:disabled { opacity: .35; cursor: not-allowed; }
.storefront-image-viewer__toolbar button:focus-visible, .storefront-image-viewer__close:focus-visible { outline: 3px solid var(--store-primary, #2563eb); outline-offset: 2px; }
.storefront-image-viewer__caption { margin: 0; padding: 2px 14px 14px; text-align: center; font-size: 12px; color: #475569; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .cart-item__photo { flex-basis: 66px; width: 66px; height: 66px; }
  .cart-item__identity { align-items: flex-start; gap: 12px; }
  .storefront-image-viewer { width: calc(100% - 12px); max-height: calc(100dvh - 12px); border-radius: 14px; }
  .storefront-image-viewer__shell { max-height: calc(100dvh - 12px); }
  .storefront-image-viewer__stage { height: 65dvh; }
}

/* Cart-only responsive item composition.
   Keep order-history .cart-item layout unchanged and give long product/variant
   names the full width of each card rather than shrinking beside controls. */
[data-storefront-cart-panel] .cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "identity identity" "actions total";
    align-items: start;
    column-gap: 20px;
    row-gap: 14px;
}
[data-storefront-cart-panel] .cart-item__identity { grid-area: identity; align-items: flex-start; }
[data-storefront-cart-panel] .cart-item__details h3 { line-height: 1.4; overflow-wrap: anywhere; }
[data-storefront-cart-panel] .cart-item__details p { line-height: 1.55; overflow-wrap: anywhere; }
[data-storefront-cart-panel] .cart-item__actions { grid-area: actions; justify-content: flex-start; min-width: 0; }
[data-storefront-cart-panel] .cart-item__total { grid-area: total; align-self: end; }
@media (min-width: 681px) and (max-width: 900px) {
    [data-storefront-cart-panel] .cart-item__actions > .qty-form,
    [data-storefront-cart-panel] .cart-item__actions > form:not(.qty-form),
    [data-storefront-cart-panel] .cart-item__actions > .btn { width: auto; }
    [data-storefront-cart-panel] .cart-item__actions .qty-form input { width: 120px; }
    [data-storefront-cart-panel] .cart-item__actions > form:not(.qty-form) .btn { width: auto; }
}
@media (max-width: 680px) {
    [data-storefront-cart-panel] .cart-item {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "identity" "actions" "total";
        gap: 14px;
    }
    [data-storefront-cart-panel] .cart-item__actions { justify-content: flex-start; align-items: stretch; }
    [data-storefront-cart-panel] .cart-item__actions > .qty-form { order: 0; flex: 1 1 100%; width: 100%; }
    [data-storefront-cart-panel] .cart-item__actions > .qty-form label { width: min(100%, 180px); }
    [data-storefront-cart-panel] .cart-item__actions > [data-cart-variant-open],
    [data-storefront-cart-panel] .cart-item__actions > form:not(.qty-form) { order: 1; flex: 1 1 0; width: auto; min-width: 0; }
    [data-storefront-cart-panel] .cart-item__actions > [data-cart-variant-open] { display: inline-flex; justify-content: center; align-items: center; text-align: center; }
    [data-storefront-cart-panel] .cart-item__actions > form:not(.qty-form) .btn { width: 100%; }
    [data-storefront-cart-panel] .cart-item__total { min-width: 0; text-align: left; border-top: 1px solid var(--store-border); padding-top: 12px; }
}

/* CP-UX12: shared, theme-neutral variant guidance and mobile PDP purchase bar.
   Entire enhancement is opt-in; desktop and non-PDP pages retain native layout. */
.product-variant-picker__field > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-variant-picker__field > span small { font-size: 11px; font-weight: 650; color: var(--store-muted, #64748b); }
html .product-variant-picker .product-variant-picker__field select {
    min-height: 48px;
    border: 2px solid color-mix(in srgb, var(--brand-primary, var(--store-primary, #16a34a)) 36%, var(--store-border, #d7dee8));
    background: #fff;
    scroll-margin-top: 110px;
    scroll-margin-bottom: 175px;
}
.product-variant-picker .product-variant-picker__field select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-primary, var(--store-primary, #16a34a)) 25%, transparent);
    outline-offset: 2px;
}
html .product-variant-picker .product-variant-picker__field.is-attention select {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .15);
}
.product-variant-picker__guide { margin: -4px 0 0; font-size: 12px; line-height: 1.5; color: var(--store-muted, #64748b); }
.product-variant-picker__guide.is-error { font-weight: 750; color: #b91c1c; }
.pdp-mobile-actions__count, .pdp-mobile-actions__label--mobile { display: none; }
.pdp-mobile-actions__cart svg, .pdp-mobile-actions__chat svg { display: none; }

@media (max-width: 767px) {
    html.storefront-mobile-pdp body { padding-bottom: calc(var(--pdp-mobile-bar-height, 80px) + 14px) !important; }
    html.storefront-mobile-pdp .store-wa-float { display: none !important; }
    html.storefront-mobile-pdp .storefront-feedback {
        bottom: calc(var(--pdp-mobile-bar-height, 80px) + 12px) !important;
        max-height: min(45vh, 240px);
        overflow-y: auto;
    }
    html.storefront-mobile-pdp .pdp-mobile-actions {
        position: fixed;
        z-index: 45;
        left: 0; right: 0; bottom: 0;
        width: 100%;
        margin: 0;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
        display: grid !important;
        grid-template-columns: 68px minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: stretch;
        border-top: 1px solid var(--store-border, #e2e8f0);
        background: var(--store-card-bg, #fff);
        box-shadow: 0 -7px 24px rgba(15, 23, 42, .1);
    }
    html.storefront-mobile-pdp .pdp-mobile-actions--with-chat {
        grid-template-columns: 56px 68px minmax(0, 1fr) !important;
    }
    html.storefront-mobile-pdp .pdp-mobile-actions > .btn {
        box-sizing: border-box;
        min-width: 0 !important;
        width: 100% !important;
        min-height: 53px;
        height: auto;
        margin: 0;
        padding: 6px 5px;
        font-size: 11px;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
        border-radius: 10px;
    }
    html.storefront-mobile-pdp .pdp-mobile-actions .pdp-mobile-actions__submit {
        grid-column: 2 / 3 !important;
        grid-row: 1;
        padding: 8px;
        font-size: 13px;
        font-weight: 800;
    }
    html.storefront-mobile-pdp .pdp-mobile-actions--with-chat .pdp-mobile-actions__submit { grid-column: 3 / 4 !important; }
    html.storefront-mobile-pdp .pdp-mobile-actions .pdp-mobile-actions__cart {
        grid-column: 1;
        grid-row: 1;
    }
    html.storefront-mobile-pdp .pdp-mobile-actions--with-chat .pdp-mobile-actions__cart { grid-column: 2; }
    html.storefront-mobile-pdp .pdp-mobile-actions .pdp-mobile-actions__chat {
        grid-column: 1;
        grid-row: 1;
    }
    html.storefront-mobile-pdp .pdp-mobile-actions__label--desktop { display: none; }
    html.storefront-mobile-pdp .pdp-mobile-actions__label--mobile { display: inline; }
    html.storefront-mobile-pdp .pdp-mobile-actions__cart,
    html.storefront-mobile-pdp .pdp-mobile-actions__chat {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        gap: 2px;
        background: transparent;
        color: var(--store-text, #0f172a);
        border: 1px solid transparent;
        box-shadow: none;
    }
    html.storefront-mobile-pdp .pdp-mobile-actions__cart svg,
    html.storefront-mobile-pdp .pdp-mobile-actions__chat svg { display: block; }
    html.storefront-mobile-pdp .pdp-mobile-actions__count {
        display: inline-block;
        position: absolute;
        top: 0; right: 0;
        min-width: 17px; height: 17px;
        padding: 1px 3px;
        border-radius: 10px;
        background: var(--brand-primary, var(--store-primary, #16a34a));
        color: var(--brand-on-primary, var(--store-on-primary, #fff));
        font-size: 10px; line-height: 15px;
        font-weight: 800;
    }
}
