/* Fire Fireworks commerce surfaces — loaded only for search, account and checkout routes. */
.commerce-page { background: #f4efec; color: #171217; }
.commerce-page .site-shell { background: #f4efec; }
.commerce-page-shell { min-height: 72vh; background: #f4efec; }
.commerce-frame { width: min(1600px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 110px; }
.commerce-columns { display: flex; gap: 32px; }
.commerce-columns > #column-left, .commerce-columns > #column-right { flex: 0 0 260px; }
.commerce-content { min-width: 0; flex: 1; }
.commerce-breadcrumb { min-height: 68px; padding: 0 max(24px, calc((100vw - 1600px) / 2)); display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(23,18,23,.12); background: #faf7f5; overflow-x: auto; color: #7a7076; font-size: 14px; font-weight: 650; white-space: nowrap; }
.commerce-breadcrumb a { color: #7a7076; text-decoration: none; transition: color .2s ease; }
.commerce-breadcrumb a:hover, .commerce-breadcrumb a:last-of-type { color: #171217; }
.commerce-breadcrumb span { color: var(--live-red); }
.commerce-heading { margin: 0 0 42px; padding: 0 0 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; border-bottom: 1px solid rgba(23,18,23,.15); }
.commerce-heading h1, .checkout-heading h1 { max-width: 14ch; margin: 0; color: #171217; font: 500 clamp(52px, 6vw, 88px)/.92 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.commerce-heading p, .checkout-heading p { max-width: 62ch; margin: 16px 0 0; color: #776d73; font-size: 16px; line-height: 1.7; }
.commerce-heading > .material-symbols-rounded { color: var(--live-red); font-size: clamp(46px, 5vw, 76px); font-weight: 300; }
.commerce-button { min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid rgba(23,18,23,.16); border-radius: 0; cursor: pointer; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.commerce-button:hover { transform: translateY(-2px); }
.commerce-button.is-primary { border-color: var(--live-red); background: var(--live-red); color: #fff; }
.commerce-button.is-primary:hover { border-color: #af1014; background: #af1014; color: #fff; }
.commerce-button.is-secondary { background: transparent; color: #171217; }
.commerce-button.is-secondary:hover { border-color: #171217; background: #171217; color: #fff; }
.commerce-button.is-wide { width: 100%; }
.commerce-button .material-symbols-rounded { font-size: 19px; }
.commerce-text-action { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; color: #171217; font-size: 14px; font-weight: 750; text-decoration: none; }
.commerce-text-action:hover { color: var(--live-red); }
.commerce-text-action .material-symbols-rounded { color: var(--live-red); font-size: 19px; }
.commerce-text-action.is-centered { justify-content: center; margin-top: 14px; }
.commerce-action-row { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.commerce-action-row.is-end { justify-content: flex-end; }
.commerce-alert { margin: 0 0 24px; padding: 16px 18px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid rgba(23,18,23,.14); background: #fff; color: #3c3439; font-size: 14px; line-height: 1.55; }
.commerce-alert .material-symbols-rounded { font-size: 21px; }
.commerce-alert.is-success { border-color: rgba(42,129,79,.35); color: #24643e; }
.commerce-alert.is-error { border-color: rgba(213,19,23,.38); color: #a00d11; }
.commerce-alert.is-info { border-color: rgba(41,94,138,.34); color: #275b85; }
.commerce-empty { min-height: 380px; padding: 70px 24px; display: flex; align-items: center; justify-content: center; flex-direction: column; border-top: 1px solid rgba(23,18,23,.14); border-bottom: 1px solid rgba(23,18,23,.14); text-align: center; }
.commerce-empty > .material-symbols-rounded { margin-bottom: 22px; color: var(--live-red); font-size: 56px; font-weight: 300; }
.commerce-empty h2 { max-width: 20ch; margin: 0; font: 500 clamp(32px, 4vw, 54px)/1 var(--display); }
.commerce-empty p { max-width: 54ch; margin: 18px 0 28px; color: #776d73; font-size: 15px; line-height: 1.7; }
.commerce-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .commerce-page select, .commerce-page textarea { min-height: 52px; padding: 12px 14px; border: 1px solid rgba(23,18,23,.2); border-radius: 0; outline: 0; background: rgba(255,255,255,.7); color: #171217; font-family: var(--sans); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.commerce-page input:focus, .commerce-page select:focus, .commerce-page textarea:focus { border-color: var(--live-red); background: #fff; box-shadow: 0 0 0 3px rgba(213,19,23,.1); }
.commerce-page label { color: #4e454b; font-size: 14px; font-weight: 750; }
.commerce-page input[type="checkbox"], .commerce-page input[type="radio"] { accent-color: var(--live-red); }
.commerce-page ::placeholder { color: #938a90; opacity: 1; }
.commerce-page :focus-visible { outline: 2px solid var(--live-red); outline-offset: 3px; }

/* Search */
.search-workbench { margin-bottom: 48px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 28px; background: #171217; color: #fff; }
.search-workbench label { color: #f5edef; }
.search-workbench-main { display: grid; align-content: start; gap: 10px; }
.commerce-search-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.commerce-search-field input { height: 62px; border-color: transparent !important; background: #fff !important; }
.commerce-search-field button { min-width: 150px; padding: 0 22px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; background: var(--live-red); color: #fff; cursor: pointer; font-size: 14px; font-weight: 800; }
.commerce-search-field button:hover { background: #af1014; }
.search-workbench-filters { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px 18px; }
.search-workbench-filters > label:first-child, .search-workbench-filters > select { grid-column: 1 / -1; }
.search-workbench-filters select { width: 100%; background: #292229 !important; color: #fff !important; }
.commerce-check { display: flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 600 !important; }
.commerce-check input { width: 18px; height: 18px; }
.commerce-catalog-toolbar { margin-bottom: 28px; padding: 15px 0; display: grid; grid-template-columns: auto auto 1fr auto; align-items: end; gap: 18px; border-top: 1px solid rgba(23,18,23,.14); border-bottom: 1px solid rgba(23,18,23,.14); }
.commerce-catalog-toolbar > label { display: grid; grid-template-columns: auto minmax(180px, 1fr); align-items: center; gap: 10px; justify-self: end; }
.commerce-catalog-toolbar select { min-height: 44px; padding-block: 8px; }
.commerce-view-switch { display: flex; }
.commerce-view-switch button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(23,18,23,.15); background: transparent; color: #776d73; cursor: pointer; }
.commerce-view-switch button + button { border-left: 0; }
.commerce-view-switch button:hover, .commerce-view-switch button.is-active { background: #171217; color: #fff; }
.commerce-search #product-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; margin: 0; }
.commerce-search #product-list > .commerce-product-cell { width: 100%; max-width: none; min-width: 0; padding: 0; flex: none; }
.commerce-product-cell .product-card { height: 100%; }
.commerce-search #product-list.is-list { grid-template-columns: 1fr; }
.commerce-search #product-list.is-list .product-card { display: grid; grid-template-columns: minmax(230px, 31%) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 30px; padding: 0 26px 0 0; }
.commerce-search #product-list.is-list .product-media { grid-column: 1; grid-row: 1 / 4; aspect-ratio: 4 / 3; margin: 0; }
.commerce-search #product-list.is-list .product-meta { grid-column: 2; margin-top: 24px; }
.commerce-search #product-list.is-list .product-name { grid-column: 2; min-height: 0; font-size: clamp(22px, 2vw, 31px); -webkit-line-clamp: 2; }
.commerce-search #product-list.is-list .product-buy { grid-column: 2; margin-top: 22px; }
.commerce-pagination { margin-top: 52px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(23,18,23,.14); }
.commerce-pagination p { margin: 0; color: #776d73; font-size: 14px; }
.commerce-pagination .pagination { margin: 0; gap: 5px; }
.commerce-pagination .page-link { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(23,18,23,.15); border-radius: 0; background: transparent; color: #171217; }
.commerce-pagination .active > .page-link { border-color: var(--live-red); background: var(--live-red); color: #fff; }

/* Authentication and account */
.auth-layout { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; background: #171217; color: #fff; }
.auth-intro, .auth-panel { padding: clamp(42px, 6vw, 88px); }
.auth-intro { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; border-right: 1px solid rgba(255,255,255,.12); background: #0b090c; }
.auth-intro > .material-symbols-rounded, .auth-single > .material-symbols-rounded { color: var(--live-red); font-size: 48px; font-weight: 300; }
.auth-intro h1 { max-width: 9ch; margin: 25px 0 18px; color: #fff; font: 500 clamp(48px, 5vw, 78px)/.94 var(--display); letter-spacing: -.035em; }
.auth-intro > p { max-width: 48ch; color: #aaa1a7; font-size: 16px; line-height: 1.75; }
.auth-intro ul { margin: 24px 0 34px; padding: 0; display: grid; gap: 13px; list-style: none; color: #ded6da; font-size: 14px; }
.auth-intro li { padding-left: 22px; position: relative; }
.auth-intro li::before { content: ''; position: absolute; top: .55em; left: 0; width: 7px; height: 7px; background: var(--live-red); transform: rotate(45deg); }
.auth-intro .commerce-button.is-secondary { border-color: rgba(255,255,255,.2); color: #fff; }
.auth-panel { display: grid; align-items: center; background: #f9f5f2; color: #171217; }
.auth-panel form { width: min(100%, 520px); margin: 0 auto; display: grid; gap: 12px; }
.auth-panel h2 { margin: 0; font: 500 clamp(38px, 4vw, 58px)/1 var(--display); }
.auth-panel form > p { margin: 0 0 20px; color: #776d73; font-size: 15px; line-height: 1.65; }
.auth-panel input { width: 100%; }
.auth-panel .commerce-button { margin-top: 14px; }
.auth-password-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-password-label a { color: var(--live-red); font-size: 14px; font-weight: 700; }
.auth-single { width: min(680px, 100%); margin: 20px auto; padding: clamp(38px, 6vw, 72px); border-top: 1px solid rgba(23,18,23,.15); border-bottom: 1px solid rgba(23,18,23,.15); }
.auth-single h1 { margin: 22px 0 16px; font: 500 clamp(46px, 5vw, 70px)/.96 var(--display); }
.auth-single > p { margin-bottom: 34px; color: #776d73; font-size: 16px; line-height: 1.7; }
.auth-single form { display: grid; gap: 12px; }
.account-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; row-gap: 52px; }
.account-ledger section { min-width: 0; }
.account-ledger h2 { margin: 0 0 16px; font: 500 clamp(29px, 3vw, 42px)/1 var(--display); }
.account-ledger nav { border-top: 1px solid rgba(23,18,23,.16); }
.account-ledger a { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(23,18,23,.12); color: #463d42; font-size: 15px; font-weight: 650; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.account-ledger a:hover { color: var(--live-red); transform: translateX(8px); }
.account-ledger a span { color: var(--live-red); font-size: 19px; }

/* Wishlist */
.wishlist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(23,18,23,.14); border: 1px solid rgba(23,18,23,.14); }
.wishlist-item { min-width: 0; min-height: 310px; display: grid; grid-template-columns: minmax(190px, 42%) 1fr; background: #f8f4f1; }
.wishlist-item-image { min-height: 100%; padding: 24px; display: grid; place-items: center; overflow: hidden; background: #e9e2de; }
.wishlist-item-image img { width: 100%; height: 100%; max-height: 290px; object-fit: contain; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.wishlist-item:hover .wishlist-item-image img { transform: scale(1.035); }
.wishlist-item-copy { min-width: 0; padding: 28px 24px; display: flex; align-items: flex-start; flex-direction: column; }
.wishlist-item-copy > p { margin: 0 0 12px; color: var(--live-red); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.wishlist-item h2 { margin: 0 0 12px; font: 500 27px/1.08 var(--display); overflow-wrap: anywhere; }
.wishlist-item h2 a { color: #171217; }
.wishlist-stock { color: #776d73; font-size: 14px; }
.wishlist-price { margin: 20px 0; display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 800; }
.wishlist-price s { color: #8d848a; font-size: 14px; font-weight: 500; }
.wishlist-item-actions { width: 100%; margin-top: auto; display: grid; grid-template-columns: 1fr 54px; gap: 8px; }
.wishlist-item-actions > a { width: 54px; min-height: 54px; display: grid; place-items: center; border: 1px solid rgba(23,18,23,.16); color: #776d73; }
.wishlist-item-actions > a:hover { border-color: var(--live-red); color: var(--live-red); }

/* Cart */
.cart-workspace { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(340px, .62fr); gap: 38px; align-items: start; }
.cart-lines { border-top: 1px solid rgba(23,18,23,.16); }
.cart-line-item { padding: 24px 0; display: grid; grid-template-columns: 132px minmax(190px, 1fr) 105px 150px 105px; align-items: center; gap: 22px; border-bottom: 1px solid rgba(23,18,23,.14); }
.cart-line-image { width: 132px; height: 132px; padding: 12px; display: grid; place-items: center; background: #e9e2de; }
.cart-line-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-line-copy { min-width: 0; }
.cart-line-copy h2 { margin: 0 0 10px; font: 500 25px/1.08 var(--display); overflow-wrap: anywhere; }
.cart-line-copy h2 a { color: #171217; }
.cart-line-copy p, .cart-line-copy small { margin: 4px 0 0; display: block; color: #81777d; font-size: 14px; line-height: 1.45; }
.cart-stock-warning { color: var(--live-red); }
.cart-line-price span, .cart-line-total span { display: block; margin-bottom: 8px; color: #81777d; font-size: 14px; }
.cart-line-price b, .cart-line-total strong { font-size: 16px; }
.cart-quantity { display: grid; grid-template-columns: minmax(65px, 1fr) 42px 42px; gap: 5px; }
.cart-quantity label { grid-row: 1 / 2; display: grid; gap: 7px; }
.cart-quantity input { width: 100%; min-height: 44px !important; text-align: center; }
.cart-quantity button, .cart-quantity a { align-self: end; width: 42px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(23,18,23,.17); background: transparent; color: #171217; cursor: pointer; }
.cart-quantity button:hover, .cart-quantity a:hover { border-color: var(--live-red); color: var(--live-red); }
.cart-quantity .material-symbols-rounded { font-size: 19px; }
.cart-quantity .invalid-feedback { grid-column: 1 / -1; font-size: 14px; }
.cart-summary { position: sticky; top: 150px; padding: 30px; background: #171217; color: #fff; }
.cart-summary > h2 { margin: 0 0 22px; color: #fff; font: 500 36px/1 var(--display); }
#checkout-total { border-top: 1px solid rgba(255,255,255,.14); }
#checkout-total p { margin: 0; padding: 14px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.1); color: #b5acb1; font-size: 14px; }
#checkout-total p:last-child { color: #fff; font-size: 17px; }
#checkout-total strong { color: #fff; }
.cart-options { margin: 26px 0; }
.cart-options h3 { margin: 0 0 8px; color: #fff; font-size: 16px; }
.cart-options > p { color: #a69ca2; font-size: 14px; line-height: 1.55; }
.cart-summary .accordion-item { border-color: rgba(255,255,255,.12); border-radius: 0; background: transparent; color: #fff; }
.cart-summary .accordion-button { border-radius: 0; background: #252025; color: #fff; font-size: 14px; }
.cart-summary .accordion-button::after { filter: invert(1); }
.cart-summary .accordion-body { background: #f8f4f1; color: #171217; }

/* Checkout */
.checkout-heading { margin-bottom: 38px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.checkout-progress { min-width: 380px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 12px; color: #8a8086; font-size: 14px; }
.checkout-progress span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.checkout-progress span.is-active { color: var(--live-red); }
.checkout-progress span b { color: #4d4449; font-weight: 700; }
.checkout-progress i { height: 1px; background: rgba(23,18,23,.16); }
.checkout-workspace { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr); gap: 30px; align-items: start; }
.checkout-details, .checkout-order { display: grid; gap: 18px; }
.checkout-order { position: sticky; top: 150px; }
.checkout-panel { padding: 28px; border: 1px solid rgba(23,18,23,.14); background: #faf7f5; }
.checkout-panel:empty { display: none; }
.checkout-panel h2, .checkout-panel legend { margin: 0 0 22px; color: #171217; font: 500 30px/1 var(--display); }
.checkout-panel .row { --bs-gutter-x: 18px; }
.checkout-panel .card { border: 0; border-radius: 0; background: transparent; }
.checkout-panel .card-header { padding: 0 0 18px; border-bottom: 1px solid rgba(23,18,23,.14); background: transparent; color: #171217; font: 500 28px/1 var(--display); }
.checkout-panel .card-body { padding: 22px 0 0; }
.commerce-page #checkout-checkout .checkout-panel h2, .commerce-page #checkout-checkout .checkout-panel legend, .commerce-page #checkout-checkout .checkout-panel .card-header { width: 100%; margin: 0 0 24px; padding: 0 0 14px; border-bottom: 1px solid rgba(23,18,23,.16); background: transparent; line-height: 1.12; }
.checkout-panel .form-control, .checkout-panel .form-select { width: 100%; }
.checkout-panel .btn-primary { min-height: 50px; border-color: var(--live-red); border-radius: 0; background: var(--live-red); font-size: 14px; font-weight: 750; }
#modal-shipping .modal-body .form-check, #modal-payment .modal-body .form-check { min-width: 0; padding-left: 0; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; }
#modal-shipping .modal-body .form-check input[type="radio"], #modal-payment .modal-body .form-check input[type="radio"] { width: 16px; height: 16px; margin: 4px 0 0; float: none; }
#modal-shipping .modal-body .form-check label, #modal-payment .modal-body .form-check label { min-width: 0; margin: 0; color: #3e353a; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.ff-auto-checkout #button-register[hidden] { display: none !important; }
.ff-checkout-auto-status { margin-top: 22px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid rgba(23,18,23,.14); background: #fff; color: #665c62; font-size: 14px; line-height: 1.55; }
.ff-checkout-auto-status__mark { width: 9px; height: 9px; margin-top: .42em; flex: 0 0 auto; border-radius: 50%; background: #91878d; box-shadow: 0 0 0 4px rgba(145,135,141,.12); }
.ff-checkout-auto-status.is-checking .ff-checkout-auto-status__mark { background: var(--live-red); box-shadow: 0 0 0 4px rgba(213,19,23,.12); animation: ffCheckoutPulse 1.1s ease-in-out infinite; }
.ff-checkout-auto-status.is-success { border-color: rgba(22,133,72,.25); color: #176638; }
.ff-checkout-auto-status.is-success .ff-checkout-auto-status__mark { background: #168548; box-shadow: 0 0 0 4px rgba(22,133,72,.12); }
.ff-checkout-auto-status.is-invalid, .ff-checkout-auto-status.is-network { border-color: rgba(213,19,23,.28); color: #8f171a; }
.ff-checkout-auto-status.is-invalid .ff-checkout-auto-status__mark, .ff-checkout-auto-status.is-network .ff-checkout-auto-status__mark { background: var(--live-red); box-shadow: 0 0 0 4px rgba(213,19,23,.12); }
@keyframes ffCheckoutPulse { 50% { opacity: .4; transform: scale(.72); } }
.checkout-panel .form-check.form-check-reverse:has(.ff-checkout-consent-copy) { margin-top: 24px !important; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: start; gap: 18px; border: 1px solid rgba(213,19,23,.28); background: #fff; text-align: left; }
.checkout-panel .form-check.form-check-reverse:has(.ff-checkout-consent-copy) .form-check-label { grid-column: 1; color: #171217; cursor: pointer; }
.checkout-panel #input-checkout-agree { grid-column: 2; width: 28px; height: 28px; margin: 1px 0 0; border: 1px solid rgba(23,18,23,.38); border-radius: 0; box-shadow: none; cursor: pointer; }
.checkout-panel #input-checkout-agree:checked { border-color: var(--live-red); background-color: var(--live-red); }
.checkout-panel #input-checkout-agree:focus-visible { outline: 3px solid rgba(213,19,23,.22); outline-offset: 3px; }
.ff-checkout-consent-copy { display: grid; gap: 8px; }
.ff-checkout-consent-copy > strong { color: var(--live-red); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ff-checkout-consent-copy > span { max-width: 62ch; color: #3e353a; font-size: 15px; line-height: 1.65; }
.ff-checkout-consent-copy > a { width: fit-content; color: #171217; font-size: 14px; font-weight: 800; text-decoration: underline; text-decoration-color: var(--live-red); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ff-checkout-consent-copy > a:hover { color: var(--live-red); }
.ff-checkout-consent-copy > small { color: #776d73; font-size: 14px; line-height: 1.5; }
.checkout-confirm { background: #171217; color: #fff; }
.checkout-confirm h2, .checkout-confirm legend, .checkout-confirm .card-header { color: #fff; }
.checkout-confirm .table { --bs-table-bg: transparent; --bs-table-color: #fff; --bs-table-border-color: rgba(255,255,255,.12); margin-bottom: 22px; color: #fff; font-size: 14px; }
.checkout-confirm .table a { color: #fff; }

/* Native account pages which keep their native controller template. */
.commerce-page .site-shell > .container:not(.commerce-page-shell) { width: min(1180px, calc(100% - 48px)); max-width: none; margin: 0 auto; padding: 64px 0 100px; color: #171217; }
.commerce-page .site-shell > .container:not(.commerce-page-shell) > .breadcrumb { margin: -64px calc(50% - 50vw) 56px; padding: 22px max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(23,18,23,.12); border-radius: 0; background: #faf7f5; font-size: 14px; }
.commerce-page .site-shell > .container:not(.commerce-page-shell) #content > h1 { margin: 0 0 40px; color: #171217; font: 500 clamp(48px, 6vw, 76px)/.94 var(--display); letter-spacing: -.035em; }
.commerce-page .site-shell > .container:not(.commerce-page-shell) #content > p { max-width: 72ch; color: #70666c; font-size: 15px; line-height: 1.7; }
.commerce-page #content fieldset { margin: 0 0 35px; padding: 28px; border: 1px solid rgba(23,18,23,.14); background: #faf7f5; }
.commerce-page #content legend { width: auto; margin: 0; padding: 0 12px; color: #171217; font: 500 28px/1 var(--display); }
.commerce-page #content .btn-primary { min-height: 50px; padding-inline: 22px; border-color: var(--live-red); border-radius: 0; background: var(--live-red); font-size: 14px; font-weight: 750; }
.commerce-page #content .btn-light { min-height: 50px; padding-inline: 22px; border: 1px solid rgba(23,18,23,.15); border-radius: 0; background: transparent; color: #171217; font-size: 14px; font-weight: 700; }
.commerce-page #content .table { --bs-table-bg: transparent; --bs-table-border-color: rgba(23,18,23,.14); font-size: 14px; }
.commerce-page #content .list-group-item { border-color: rgba(23,18,23,.12); border-radius: 0; background: transparent; color: #171217; font-size: 14px; }

/* Success */
.success-panel { min-height: 600px; padding: 80px 24px; display: flex; align-items: center; justify-content: center; flex-direction: column; border-top: 1px solid rgba(23,18,23,.14); border-bottom: 1px solid rgba(23,18,23,.14); text-align: center; }
.success-mark { width: 90px; height: 90px; display: grid; place-items: center; border: 1px solid var(--live-red); color: var(--live-red); transform: rotate(45deg); }
.success-mark span { font-size: 42px; transform: rotate(-45deg); }
.success-panel h1 { max-width: 13ch; margin: 42px 0 20px; color: #171217; font: 500 clamp(52px, 7vw, 92px)/.92 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.success-message { max-width: 67ch; margin-bottom: 32px; color: #6f656b; font-size: 16px; line-height: 1.75; }
.success-message a { color: var(--live-red); font-weight: 700; }

@media (max-width: 1240px) {
  .commerce-search #product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-line-item { grid-template-columns: 110px minmax(180px, 1fr) 135px 95px; }
  .cart-line-image { width: 110px; height: 110px; }
  .cart-line-price { display: none; }
}
@media (max-width: 1020px) {
  .commerce-frame { width: min(100% - 36px, 900px); padding-top: 54px; }
  .commerce-columns { display: block; }
  .commerce-columns > #column-left, .commerce-columns > #column-right { width: 100%; margin-bottom: 28px; }
  .search-workbench { grid-template-columns: 1fr; }
  .commerce-catalog-toolbar { grid-template-columns: auto 1fr; }
  .commerce-catalog-toolbar > label { justify-self: stretch; grid-template-columns: 90px 1fr; }
  .commerce-search #product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wishlist-grid { grid-template-columns: 1fr; }
  .cart-workspace, .checkout-workspace { grid-template-columns: 1fr; }
  .cart-summary, .checkout-order { position: static; }
  .checkout-heading { align-items: flex-start; flex-direction: column; }
  .checkout-progress { width: 100%; min-width: 0; }
}
@media (max-width: 560px) {
  .checkout-panel .form-check.form-check-reverse:has(.ff-checkout-consent-copy) { padding: 18px 16px; grid-template-columns: minmax(0, 1fr) 26px; gap: 14px; }
  .checkout-panel #input-checkout-agree { width: 26px; height: 26px; }
}
@media (max-width: 760px) {
  .commerce-frame { width: calc(100% - 32px); padding: 42px 0 78px; }
  .commerce-breadcrumb { min-height: 58px; padding-inline: 18px; }
  .commerce-heading { margin-bottom: 30px; padding-bottom: 24px; align-items: flex-start; }
  .commerce-heading h1, .checkout-heading h1 { font-size: clamp(44px, 14vw, 62px); }
  .commerce-heading > .material-symbols-rounded { font-size: 46px; }
  .search-workbench { padding: 20px; }
  .commerce-search-field { grid-template-columns: 1fr; gap: 8px; }
  .commerce-search-field button { min-height: 54px; }
  .search-workbench-filters { grid-template-columns: 1fr; }
  .search-workbench-filters > label:first-child, .search-workbench-filters > select { grid-column: auto; }
  .commerce-catalog-toolbar { grid-template-columns: 1fr; }
  .commerce-catalog-toolbar > label { grid-template-columns: 1fr; justify-self: stretch; }
  .commerce-view-switch { display: none; }
  .commerce-search #product-list { grid-template-columns: 1fr; }
  .commerce-search #product-list.is-list .product-card { display: flex; padding: 0 13px 17px; }
  .commerce-search #product-list.is-list .product-media { aspect-ratio: 1; margin: 0 -13px; }
  .commerce-search #product-list.is-list .product-meta { margin-top: 18px; }
  .commerce-search #product-list.is-list .product-name { min-height: 3.66em; font-size: 18px; -webkit-line-clamp: 3; }
  .commerce-search #product-list.is-list .product-buy { margin-top: auto; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-intro { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .auth-intro, .auth-panel { padding: 42px 24px; }
  .auth-intro h1 { font-size: 52px; }
  .account-ledger { grid-template-columns: 1fr; gap: 40px; }
  .wishlist-item { min-height: 0; grid-template-columns: 1fr; }
  .wishlist-item-image { min-height: 260px; }
  .cart-line-item { grid-template-columns: 92px minmax(0, 1fr); gap: 15px; }
  .cart-line-image { width: 92px; height: 92px; }
  .cart-line-price { display: none; }
  .cart-quantity { grid-column: 1 / -1; grid-template-columns: minmax(90px, 1fr) 48px 48px; }
  .cart-line-total { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; }
  .cart-line-total span { margin: 0; }
  .cart-summary, .checkout-panel { padding: 22px 18px; }
  .checkout-progress { grid-template-columns: auto 1fr auto 1fr auto; gap: 7px; }
  .checkout-progress span b { display: none; }
  .commerce-action-row { align-items: stretch; flex-direction: column-reverse; }
  .commerce-action-row .commerce-button { width: 100%; }
  .commerce-page .site-shell > .container:not(.commerce-page-shell) { width: calc(100% - 32px); padding-top: 42px; }
  .commerce-page .site-shell > .container:not(.commerce-page-shell) > .breadcrumb { margin-top: -42px; }
  .commerce-page #content fieldset { padding: 22px 16px; }
  .commerce-page #content .row > .col-sm-2, .commerce-page #content .row > .col-sm-10 { width: 100%; }
  .success-panel { min-height: 520px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .commerce-page *, .commerce-page *::before, .commerce-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
