/* Shared sizing prevents intrinsic content from widening mobile layouts. */
html { overflow-x: clip; }
body { min-width: 0; overflow-x: clip; }
.fx-hero-content .fx-eyebrow { color: #fff; }
main, section, aside, .fx-container, .fx-checkout-main, .fx-summary-card { min-width: 0; }
img, video, canvas, swiper-container { max-width: 100%; }
.footer-bottom__payments { flex-wrap: wrap; }
.footer-bottom__payments .footer-payment-method { display: inline-flex; align-items: center; justify-content: center; width: 116px; height: 44px; padding: 8px; background: #fff; border-radius: 4px; color: #05070a; }
.footer-payment-method img { width: 100%; height: 28px; object-fit: contain; }
.footer-bottom__payments .footer-payment-method > i { font-size: 24px; }
.home-curated-products { grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); justify-content: start; }
.home-products-section, .home-collection-section { padding-block: 56px; }
.home-collection-section { border-top: 1px solid #dfe5ed; }
.home-collection-section .fx-title { font-size: 30px; }
.home-category-grid--1 .home-category-card { height: 260px; }
.home-concierge { padding: 64px 0; background: #e8edf2; border-top: 1px solid #d8e0e8; }
.home-concierge__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.home-concierge h2 { font-size: 34px; line-height: 1.15; margin: 12px 0 16px; color: #05070a; }
.home-concierge p { max-width: 420px; line-height: 1.7; color: #4b5563; }
.home-concierge__links a { display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid #cbd4df; color: #05070a; text-decoration: none; }
.home-concierge__links a:hover { border-color: #05070a; }
.home-concierge__links strong, .home-concierge__links small { display: block; }
.home-concierge__links strong { font-size: 16px; margin-bottom: 5px; }
.home-concierge__links small { font-size: 13px; color: #4b5563; }
@media (max-width: 600px) {
    .home-curated-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-products-section, .home-collection-section { padding-block: 32px; }
    .home-concierge { padding: 36px 0; }
    .home-concierge__layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .home-concierge h2, .home-collection-section .fx-title { font-size: 26px; }
    .footer-bottom__payments .footer-payment-method { width: 94px; height: 40px; }
}
.home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-category-grid--1 { grid-template-columns: minmax(0, 1fr); }
.home-category-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-category-grid .home-category-card { min-height: 0; height: 380px; grid-column: auto; }
.home-category-card img { position: absolute; inset: 0; object-position: center; }
.home-category-card__content strong { font-size: 28px; overflow-wrap: anywhere; }
.home-category-card__content > span { font-size: 12px; opacity: .86; }
.home-category-card__content { color: #fff; }
.home-category-card__shade { background: linear-gradient(transparent 45%, rgba(0, 0, 0, .65)); }
.catalog-category-explorer { padding: 34px 0 4px; background: var(--fx-bg); }
.catalog-category-explorer__head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 18px; }
.catalog-category-explorer__head span { display: block; margin-bottom: 5px; color: var(--fx-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.catalog-category-explorer__head h2 { margin: 0; color: var(--fx-ink); font-size: 25px; font-weight: 800; }
.catalog-category-explorer__head a { color: var(--fx-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.catalog-category-scroll { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 12px; }
.catalog-category-tile { display: grid; grid-template-columns: 54px minmax(0, 1fr) 18px; gap: 12px; align-items: center; min-width: 0; padding: 10px; border: 1px solid #dce2e9; border-radius: 7px; background: #fff; color: #05070a; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.catalog-category-tile:hover { border-color: #05070a; box-shadow: 0 10px 28px rgba(5, 7, 10, .08); transform: translateY(-2px); }
.catalog-category-tile.is-active { border-color: #05070a; box-shadow: inset 0 0 0 1px #05070a; }
.catalog-category-tile__media { display: grid; place-items: center; width: 54px; height: 54px; overflow: hidden; border-radius: 5px; background: #eef2f6; }
.catalog-category-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.catalog-category-tile__body { min-width: 0; }
.catalog-category-tile__body strong, .catalog-category-tile__body small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-category-tile__body strong { font-size: 14px; }
.catalog-category-tile__body small { margin-top: 3px; color: #697386; font-size: 11px; }
.category-list--catalog { display: grid; gap: 5px; }
.category-filter-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 42px; margin: 0; padding: 9px 10px; border-radius: 5px; cursor: pointer; color: #303846; transition: background .2s, color .2s; }
.category-filter-option:hover { background: #f1f4f7; color: #05070a; }
.category-filter-option.is-active { background: #05070a; color: #fff; }
.category-filter-option__label { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0; }
.category-filter-option .form-check-input { flex: 0 0 auto; margin: 0; }
.category-filter-option small { flex: 0 0 auto; color: inherit; opacity: .65; font-size: 11px; }
.category-list--children { margin: 3px 0 7px 14px; padding-left: 9px; border-left: 1px solid #dce2e9; }
.category-filter-option--child { min-height: 36px; padding-block: 7px; font-size: 13px; }
.fx-checkout-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 32px; align-items: start; }
.fx-checkout-main { display: grid; gap: 24px; }
.fx-checkout-main .checkout-panel { margin: 0; padding: 28px; border-radius: 8px; }
.buyer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.buyer-fields > div { width: auto; min-width: 0; }
.buyer-fields > .col-12 { grid-column: 1 / -1; }
.buyer-fields .form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--fx-ink); }
.buyer-fields :is(input:not([type=checkbox]), select, textarea) { width: 100%; min-width: 0; max-width: 100%; min-height: 46px; border: 1px solid #d6dce4; border-radius: 6px; padding: 11px 12px; color: var(--fx-ink); background-color: #fff; }
.buyer-fields select { padding-right: 36px; }
.buyer-fields :is(input, select, textarea):focus { border-color: var(--fx-ink); box-shadow: 0 0 0 3px #05070a12; }
.payment-selector { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.payment-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.payment-choice { display: flex; align-items: center; gap: 9px; min-height: 64px; padding: 12px; border: 1px solid #d6dce4; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; }
.payment-choice:has(input:checked) { border-color: var(--fx-ink); background: #f0f3f6; box-shadow: inset 0 0 0 1px var(--fx-ink); }
.payment-choice:focus-within { outline: 2px solid var(--fx-ink); outline-offset: 3px; }
.payment-choice input { accent-color: #05070a; flex: 0 0 auto; }
.payment-details { display: flex; flex-wrap: wrap; align-items: start; gap: 20px; padding-top: 24px; }
.payment-details[hidden] { display: none; }
.payment-qr { width: 208px; max-width: 100%; text-align: center; flex-shrink: 0; }
.payment-qr img { width: 208px; height: 208px; object-fit: contain; background: #fff; padding: 8px; border: 1px solid #e3e7ed; border-radius: 6px; }
.payment-qr a { display: inline-block; margin-top: 12px; text-decoration: underline; font-size: 13px; color: var(--fx-ink); }
.payment-instructions { flex: 1 1 190px; min-width: 0; overflow-wrap: anywhere; }
.payment-instructions h3 { font-size: 18px; margin: 0 0 16px; }
.payment-instructions p { white-space: pre-line; margin: 16px 0; }
.payment-instructions small { display: block; color: var(--fx-muted); line-height: 1.6; }
.payment-datum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 10px 0; border-bottom: 1px solid #e3e7ed; }
.payment-datum > span { grid-column: 1 / -1; font-size: 12px; color: var(--fx-muted); }
.payment-datum strong { font-size: 14px; user-select: text; }
.payment-datum button { border: 0; background: none; text-decoration: underline; font-size: 12px; color: var(--fx-ink); }
.fx-summary-card { padding: 24px; border-radius: 8px; position: sticky; top: 110px; }
.fx-summary-head { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: baseline; padding-bottom: 16px; }
.fx-summary-head h2 { font-size: 20px; margin: 0; }
.fx-summary-head > span { font-size: 12px; color: var(--fx-muted); }
.fx-summary-card .checkout-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid #e3e7ed; }
.fx-summary-card .checkout-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 4px; grid-row: span 2; }
.fx-summary-card .checkout-item__body { min-width: 0; overflow-wrap: anywhere; }
.fx-summary-card .checkout-item__body strong { font-size: 14px; line-height: 1.4; }
.fx-summary-card .checkout-item > strong { grid-column: 2; text-align: left; font-size: 15px; }
.fx-summary-card .checkout-total-row { gap: 16px; padding: 8px 0; font-size: 14px; }
.fx-summary-card .checkout-total-final { font-size: 21px; }
.fx-summary-card .coupon-form { display: flex !important; flex-direction: row; gap: 8px; }
.fx-summary-card .coupon-form input { min-width: 0; flex: 1; width: 0; }
.fx-summary-card .coupon-form button { width: auto; flex: 0 0 auto; padding: 10px 14px; }
#checkoutSubmitButton { position: static; }
@media (max-width: 991px) {
    .fx-checkout-layout { grid-template-columns: minmax(0, 1fr); }
    .fx-summary-card { position: static; }
    .home-category-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-category-grid .home-category-card { height: 320px; }
}
@media (max-width: 600px) {
    .buyer-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .fx-checkout-main .checkout-panel, .fx-summary-card { padding: 18px; }
    .fx-checkout-layout { gap: 24px; }
    .home-category-grid, .home-category-grid--3 { grid-template-columns: minmax(0, 1fr); }
    .home-category-grid .home-category-card { height: 300px; }
    .fx-section-head { flex-wrap: wrap; gap: 14px; }
    .fx-title { font-size: 28px; overflow-wrap: anywhere; }
    .payment-qr { margin-inline: auto; }
    .catalog-category-explorer { padding-top: 24px; }
    .catalog-category-explorer__head { align-items: center; }
    .catalog-category-explorer__head h2 { font-size: 21px; }
    .catalog-category-scroll { display: flex; gap: 10px; margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.5); padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
    .catalog-category-scroll::-webkit-scrollbar { display: none; }
    .catalog-category-tile { flex: 0 0 210px; scroll-snap-align: start; }
    input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
}
@media (display-mode: standalone) {
    body { overscroll-behavior-x: none; }
}
