/*==========================================================================
  PaceX — Shopify-style storefront layer
  Sits on top of main.css. Keeps the existing brand palette:
  black / white, #717fe0 accent, #ff5a36 sale accent.
==========================================================================*/

:root {
    --px-black: #000;
    --px-white: #fff;
    --px-ink: #121212;
    --px-muted: #6f6f6f;
    --px-line: #e6e6e6;
    --px-soft: #f5f5f5;
    --px-accent: #717fe0;
    --px-sale: #ff5a36;
    --px-radius: 12px;
    --px-radius-lg: 18px;
}

/*--------------------------------------------------------------------------
  1. Typography & section rhythm
--------------------------------------------------------------------------*/
.px-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.px-section-head h3,
.px-section-title {
    margin: 0;
    color: var(--px-ink);
    font-size: clamp(1.35rem, 4.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

.px-section-sub {
    margin: 6px 0 0;
    color: var(--px-muted);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.px-section-link {
    flex: none;
    color: var(--px-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: underline;
    text-transform: uppercase;
    white-space: nowrap;
}

.px-section-link:hover {
    color: var(--px-accent);
}

/*--------------------------------------------------------------------------
  2. Product cards — uniform tiles, 2-up on mobile
--------------------------------------------------------------------------*/
.isotope-grid {
    margin-left: -6px;
    margin-right: -6px;
}

@media (max-width: 767px) {
    .isotope-grid > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
        padding-bottom: 22px !important;
    }
}

.block2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.block2-pic {
    display: block !important;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--px-soft);
    border-radius: var(--px-radius);
}

/* Square-ish tile keeps every card the same height, like a Shopify grid. */
.block2-pic::before {
    content: "";
    display: block;
    padding-top: 125%;
}

.block2-pic > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.block2-pic:hover > img {
    transform: scale(1.05);
}

/* Sale badge as a flat pill in the brand accent */
.label-onsale::after {
    top: 10px !important;
    left: 10px !important;
    padding: 5px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    background-color: var(--px-sale) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    z-index: 3;
}

/* Quick-view / quick-add button: hover reveal on desktop, always-on bar on touch */
.block2-btn {
    z-index: 4;
    height: 42px;
    min-width: 150px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background-color: var(--px-white) !important;
    border: 1px solid var(--px-black) !important;
    color: var(--px-ink) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    transition: bottom 0.35s ease, background-color 0.25s ease, color 0.25s ease;
}

.block2-btn:hover {
    background-color: var(--px-black) !important;
    color: var(--px-white) !important;
}

.block2-txt {
    padding-top: 12px !important;
}

.block2-txt .js-name-b2 {
    display: block;
    color: var(--px-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.block2-txt .stext-105 {
    font-size: 14px;
    font-weight: 700;
    color: var(--px-ink);
}

.block2-txt .text-decoration-line-through {
    font-size: 12px;
    font-weight: 500;
    color: var(--px-muted) !important;
    opacity: 0.9;
}

.block2-txt .text-success {
    color: var(--px-sale) !important;
}

/* Price line reads as one row: was-price then now-price */
.px-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

@media (max-width: 767px) {
    .block2-pic {
        border-radius: 10px;
    }

    /* Touch devices get a permanent add affordance instead of hover-reveal. */
    .block2-btn {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto;
        min-width: 0;
        transform: none !important;
        height: 38px;
        font-size: 10px;
        letter-spacing: 0.1em;
        opacity: 1 !important;
        background-color: rgba(255, 255, 255, 0.94) !important;
    }

    .block2-txt .js-name-b2 {
        font-size: 12px;
    }

    .block2-txt .stext-105 {
        font-size: 13px;
    }

    .block2-txt-child2 {
        width: 18px;
    }

    .block2-txt-child1 {
        width: calc(100% - 18px);
    }
}

/* Category banner tiles */
.block1 {
    overflow: hidden;
    border-radius: var(--px-radius-lg);
}

.block1 img {
    transition: transform 0.6s ease;
}

.block1:hover img {
    transform: scale(1.04);
}

/*--------------------------------------------------------------------------
  3. Trust strip
--------------------------------------------------------------------------*/
.px-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    background-color: var(--px-line);
    border-top: 1px solid var(--px-line);
    border-bottom: 1px solid var(--px-line);
    list-style: none;
}

.px-trust li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 10px;
    background-color: var(--px-white);
    text-align: center;
}

.px-trust i {
    font-size: 20px;
    color: var(--px-ink);
}

.px-trust strong {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--px-ink);
}

.px-trust span {
    font-size: 11px;
    color: var(--px-muted);
    line-height: 1.4;
}

@media (max-width: 575px) {
    .px-trust li {
        padding: 16px 6px;
    }

    .px-trust strong {
        font-size: 10px;
        letter-spacing: 0.05em;
    }

    .px-trust span {
        display: none;
    }
}

/*--------------------------------------------------------------------------
  4. Cart drawer — the Shopify slide-out
--------------------------------------------------------------------------*/
.header-cart {
    padding-left: 28px !important;
    padding-right: 28px !important;
}

@media (max-width: 575px) {
    .header-cart {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.header-cart-title {
    align-items: center;
    padding-top: 26px;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--px-line);
}

.header-cart-title .mtext-103 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.px-drawer-count {
    display: inline-block;
    margin-left: 8px;
    color: var(--px-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.header-cart-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--px-line);
}

.header-cart-item-img {
    border-radius: 8px;
    overflow: hidden;
}

.header-cart-item-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px !important;
    color: var(--px-ink);
}

.header-cart-item-info {
    font-size: 12px;
    color: var(--px-muted);
}

.header-cart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 22px 0 6px !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    border-top: 1px solid var(--px-line);
}

.px-drawer-note {
    margin: 0 0 16px;
    color: var(--px-muted);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.px-drawer-empty {
    padding: 40px 0;
    color: var(--px-muted);
    font-size: 13px;
    text-align: center;
}

/* Primary drawer CTA — the whole point of the drawer */
.px-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--px-black);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.px-btn-primary {
    color: var(--px-white);
    background-color: var(--px-black);
}

.px-btn-primary:hover,
.px-btn-primary:focus {
    color: var(--px-black);
    background-color: var(--px-white);
    text-decoration: none;
}

.px-btn-ghost {
    margin-top: 10px;
    color: var(--px-ink);
    background-color: transparent;
    border-color: transparent;
    text-decoration: underline;
    letter-spacing: 0.1em;
    min-height: 44px;
}

.px-btn-ghost:hover {
    color: var(--px-accent);
    text-decoration: underline;
}

.header-cart-buttons {
    display: block !important;
    padding-bottom: 30px;
}

/*--------------------------------------------------------------------------
  5. Toast + sticky mobile checkout bar
--------------------------------------------------------------------------*/
.px-toast {
    position: fixed;
    left: 50%;
    bottom: 96px;
    z-index: 100001;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    color: var(--px-white);
    font-size: 13px;
    font-weight: 600;
    background-color: var(--px-black);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.px-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.px-toast i {
    font-size: 16px;
}

.px-sticky-cart {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1098;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background-color: var(--px-white);
    border-top: 1px solid var(--px-line);
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.1);
    transform: translateY(120%);
    transition: transform 0.3s ease;
}

.px-sticky-cart.is-visible {
    transform: translateY(0);
}

.px-sticky-cart__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.px-sticky-cart__label {
    color: var(--px-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.px-sticky-cart__total {
    color: var(--px-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
}

.px-sticky-cart .px-btn {
    width: auto;
    flex: 1;
    min-height: 48px;
    font-size: 11px;
    letter-spacing: 0.14em;
}

/* Keep the WhatsApp bubble clear of the sticky bar */
body.px-has-sticky-cart .btn-whatsapp-chat {
    bottom: 88px;
}

@media (min-width: 992px) {
    .px-sticky-cart {
        display: none;
    }
}

/*--------------------------------------------------------------------------
  6. Checkout page
--------------------------------------------------------------------------*/
.px-checkout {
    padding: 26px 0 40px;
}

.px-checkout-head {
    margin-bottom: 22px;
    text-align: center;
}

.px-checkout-head h1 {
    margin: 0;
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.px-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--px-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.px-steps span.is-active {
    color: var(--px-ink);
    text-decoration: underline;
}

.px-card {
    padding: 24px;
    background-color: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: var(--px-radius-lg);
}

.px-card + .px-card {
    margin-top: 18px;
}

.px-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--px-ink);
}

.px-card__title .px-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: none;
    color: var(--px-white);
    font-size: 11px;
    background-color: var(--px-black);
    border-radius: 50%;
    letter-spacing: 0;
}

/* Order summary — collapsible on mobile, always open on desktop */
.px-summary {
    background-color: var(--px-soft);
    border: 1px solid var(--px-line);
    border-radius: var(--px-radius-lg);
    overflow: hidden;
}

.px-summary__toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    color: var(--px-ink);
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.px-summary__toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.06em;
}

.px-summary__toggle .zmdi-chevron-down {
    transition: transform 0.25s ease;
}

.px-summary.is-open .px-summary__toggle .zmdi-chevron-down {
    transform: rotate(180deg);
}

.px-summary__body {
    padding: 18px;
}

.px-line-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--px-line);
}

.px-line-item:first-child {
    padding-top: 0;
}

.px-line-item__media {
    position: relative;
    flex: none;
    width: 64px;
    height: 64px;
    background-color: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: 10px;
    overflow: hidden;
}

.px-line-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.px-line-item__info {
    flex: 1;
    min-width: 0;
}

.px-line-item__name {
    display: block;
    color: var(--px-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.px-line-item__unit {
    display: block;
    margin-top: 2px;
    color: var(--px-muted);
    font-size: 12px;
}

.px-line-item__total {
    flex: none;
    color: var(--px-ink);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.px-qty {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    background-color: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: 999px;
    overflow: hidden;
}

.px-qty .btn-num-product-down1,
.px-qty .btn-num-product-up1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--px-ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.px-qty .btn-num-product-down1:hover,
.px-qty .btn-num-product-up1:hover {
    background-color: var(--px-soft);
}

.px-qty input {
    width: 36px;
    height: 34px;
    padding: 0;
    color: var(--px-ink);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    background: transparent;
    border: 0;
    outline: none;
}

.px-line-remove {
    margin-left: 10px;
    padding: 0;
    color: var(--px-muted);
    font-size: 12px;
    background: none;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
}

.px-line-remove:hover {
    color: var(--px-sale);
}

.px-totals {
    padding-top: 14px;
}

.px-totals__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    color: var(--px-muted);
    font-size: 13px;
}

.px-totals__row strong {
    color: var(--px-ink);
    font-weight: 600;
}

.px-totals__row--grand {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--px-line);
    color: var(--px-ink);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.px-totals__row--grand span:last-child {
    font-size: 20px;
}

/* Promo code row */
.px-promo {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.px-promo input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 16px;
    color: var(--px-ink);
    font-size: 13px;
    background-color: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: 999px;
    outline: none;
}

.px-promo input[type="text"]:focus {
    border-color: var(--px-ink);
}

.px-promo button {
    flex: none;
    height: 46px;
    padding: 0 20px;
    color: var(--px-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: transparent;
    border: 1px solid var(--px-ink);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.px-promo button:hover:not(:disabled) {
    color: var(--px-white);
    background-color: var(--px-ink);
}

.px-promo button:disabled {
    opacity: 0.45;
    cursor: default;
}

#promo_error {
    margin-top: 8px;
    font-size: 12px;
}

/* Form fields */
.px-field {
    margin-bottom: 14px;
}

.px-field > label,
.px-label {
    display: block;
    margin-bottom: 6px;
    color: var(--px-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.px-input,
#checkout .form-control {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    color: var(--px-ink);
    font-size: 15px;
    background-color: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.px-input:focus,
#checkout .form-control:focus {
    border-color: var(--px-ink);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

#checkout textarea.form-control {
    min-height: 92px !important;
    resize: vertical;
}

.px-help {
    display: block;
    margin-top: 5px;
    color: var(--px-muted);
    font-size: 11px;
}

.px-field .text-danger,
#checkout .text-danger {
    display: block;
    margin: 4px 0 0;
    font-size: 12px;
}

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

@media (max-width: 480px) {
    .px-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* select2 needs to match the plain field styling */
#checkout .rs1-select2 {
    border: 1px solid var(--px-line) !important;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--px-white);
}

#checkout .rs1-select2 .select2-container {
    width: 100% !important;
}

#checkout .select2-container .select2-selection--single {
    height: 50px !important;
    border: 0 !important;
    background: transparent !important;
}

#checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 16px !important;
    line-height: 50px !important;
    font-size: 15px;
    color: var(--px-ink);
}

#checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0 !important;
    height: 50px !important;
    right: 10px;
}

/* Optional map, folded away by default so it never blocks the order */
.px-optional {
    margin-bottom: 14px;
    border: 1px solid var(--px-line);
    border-radius: 10px;
    overflow: hidden;
}

.px-optional__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    color: var(--px-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    background-color: var(--px-white);
    border: 0;
    cursor: pointer;
}

.px-optional__toggle small {
    color: var(--px-muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
}

.px-optional__body {
    display: none;
    padding: 0 16px 16px;
}

.px-optional.is-open .px-optional__body {
    display: block;
}

.px-optional.is-open .px-optional__toggle .zmdi-chevron-down {
    transform: rotate(180deg);
}

.px-optional__toggle .zmdi-chevron-down {
    transition: transform 0.25s ease;
}

/* Add-ons as tappable cards */
.px-addon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 10px 12px;
    background-color: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.px-addon:hover {
    border-color: var(--px-ink);
}

.px-addon.is-checked {
    background-color: var(--px-soft);
    border-color: var(--px-ink);
}

.px-addon input[type="checkbox"] {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--px-black);
}

.px-addon__img {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--px-line);
}

.px-addon__text {
    flex: 1;
    min-width: 0;
    color: var(--px-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.px-addon__price {
    flex: none;
    color: var(--px-ink);
    font-size: 13px;
    font-weight: 700;
}

/* Payment note */
.px-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--px-soft);
    border: 1px solid var(--px-line);
    border-radius: 12px;
}

.px-payment i {
    font-size: 22px;
    color: var(--px-ink);
}

.px-payment strong {
    display: block;
    color: var(--px-ink);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.px-payment span {
    color: var(--px-muted);
    font-size: 12px;
}

.px-reassure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.px-reassure li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--px-muted);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.px-reassure i {
    color: var(--px-ink);
}

.px-submit {
    margin-top: 20px;
    min-height: 58px;
    font-size: 13px;
}

.px-empty-cart {
    max-width: 460px;
    margin: 40px auto;
    padding: 44px 26px;
    text-align: center;
    border: 1px solid var(--px-line);
    border-radius: var(--px-radius-lg);
}

.px-empty-cart i {
    font-size: 46px;
    color: var(--px-line);
}

.px-empty-cart h3 {
    margin: 14px 0 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.px-empty-cart p {
    margin: 0 0 22px;
    color: var(--px-muted);
    font-size: 14px;
}

/* Mobile: summary collapses, checkout button sticks to the bottom */
@media (max-width: 991px) {
    .px-summary__toggle {
        display: flex;
    }

    .px-summary__body {
        display: none;
    }

    .px-summary.is-open .px-summary__body {
        display: block;
    }

    .px-summary {
        margin-bottom: 18px;
    }

    .px-card {
        padding: 18px 16px;
    }

    .px-checkout {
        padding-bottom: 110px;
    }
}

@media (min-width: 992px) {
    .px-checkout-cols {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 32px;
        align-items: start;
    }

    /* Summary is first in the DOM so mobile sees it up top; on desktop it
       moves to the right-hand rail, Shopify-style. */
    .px-checkout-main {
        order: 1;
    }

    .px-checkout-aside {
        order: 2;
        position: sticky;
        top: 110px;
    }
}

/* Sticky submit bar on the checkout page (mobile only) */
.px-checkout-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1099;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background-color: var(--px-white);
    border-top: 1px solid var(--px-line);
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.1);
}

.px-checkout-bar__meta {
    display: flex;
    flex-direction: column;
}

.px-checkout-bar__label {
    color: var(--px-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.px-checkout-bar__total {
    color: var(--px-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.px-checkout-bar .px-btn {
    flex: 1;
    width: auto;
    min-height: 50px;
}

@media (min-width: 992px) {
    .px-checkout-bar {
        display: none;
    }
}

/*--------------------------------------------------------------------------
  7. Collection page spacing — the desktop rhythm is far too airy on a phone
--------------------------------------------------------------------------*/
@media (max-width: 991px) {
    .px-collection {
        margin-top: 30px !important;
        padding-bottom: 60px !important;
    }

    .px-collection-head {
        padding-bottom: 18px !important;
    }
}

/*--------------------------------------------------------------------------
  8. Collection rail — a slow, always-moving marquee of categories
     Every card carries a permanently visible "Shop now" button; the theme's
     original block1 hid it behind :hover, which never fires on touch.
--------------------------------------------------------------------------*/
.px-cat-section {
    padding: 54px 0 46px;
}

.px-cat-marquee {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}
.px-cat-marquee:active { cursor: grabbing; }
/* Soft edges so cards drift in and out rather than being chopped off */
.px-cat-marquee::before,
.px-cat-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 90px;
    pointer-events: none;
}

.px-cat-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--px-white), rgba(255, 255, 255, 0));
}

.px-cat-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--px-white), rgba(255, 255, 255, 0));
}

.px-cat-track {
    display: flex;
    width: max-content;
    animation: none;
}

.px-cat-card {
    position: relative;
    flex: none;
    /* margin (not gap) on every card, so the two halves are exactly equal
       and translating by 50% lands on an identical frame */
    /* Square, matching the 1:1 collection artwork, so object-fit: cover
       never crops the branding baked into the image. */
    width: 340px;
    height: 340px;
    margin-right: 20px;
    overflow: hidden;
    background-color: var(--px-soft);
    border-radius: var(--px-radius-lg);
    text-decoration: none;
}

.px-cat-card:hover,
.px-cat-card:focus {
    text-decoration: none;
}

.px-cat-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.px-cat-card:hover .px-cat-card__img {
    transform: scale(1.05);
}

.px-cat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.16) 38%, rgba(0, 0, 0, 0) 62%);
}

.px-cat-card__body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 24px;
}

.px-cat-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 28px;
    color: var(--px-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background-color: var(--px-white);
    border: 1px solid var(--px-white);
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.px-cat-card:hover .px-cat-card__cta {
    color: var(--px-white);
    background-color: transparent;
}

@media (max-width: 767px) {
    .px-cat-section {
        padding: 34px 0 30px;
    }

    .px-cat-marquee::before,
    .px-cat-marquee::after {
        width: 40px;
    }

    .px-cat-card {
        width: 250px;
        height: 250px;
        margin-right: 14px;
    }

    .px-cat-card__body {
        padding: 18px;
    }

    .px-cat-card__cta {
        min-height: 40px;
        padding: 0 22px;
        font-size: 10px;
    }
}

/* Motion-sensitive visitors get a normal swipeable row instead */
@media (prefers-reduced-motion: reduce) {
    .px-cat-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .px-cat-track {
        animation: none;
    }
}

/*--------------------------------------------------------------------------
  9. Hero CTA — the slider's "Shop Now", doubling as a scroll cue
--------------------------------------------------------------------------*/
/* Sit the button low in the hero: clear of the artwork's own baked-in
   wordmark, and reading as an invitation to scroll. The slide is taller than
   the viewport on desktop (height: 100vh - 40px, pushed down by the header),
   so the bottom padding is scaled in vh to keep the CTA above the fold at any
   window height rather than hanging off the bottom of the slide. */
.px-hero-cta-layer {
    margin-top: auto;
    padding-bottom: 5vh;
}

/* On desktop the slide runs past the fold by exactly (header height - 40px),
   a constant, so a fixed px pad cancels that overflow at every window height
   and parks the CTA just above the fold - clear of the wordmark baked into
   the artwork, which sits around the middle of the slide. */
@media (min-width: 992px) {
    .px-hero-cta-layer {
        padding-bottom: 150px;
    }
}

.px-hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 60px;
    padding: 0 8px 0 32px;
    color: var(--px-hero-cta-fg, #000);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    background-color: var(--px-hero-cta-bg, #fff);
    border: 1px solid var(--px-hero-cta-bg, #fff);
    border-radius: 999px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Pulsing halo, so the CTA reads as live against a still hero image */
.px-hero-cta::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid var(--px-hero-cta-bg, #fff);
    border-radius: 999px;
    animation: px-hero-ring 2.8s ease-out infinite;
    pointer-events: none;
}

@keyframes px-hero-ring {
    0%        { opacity: 0.8; transform: scale(1); }
    70%, 100% { opacity: 0;   transform: scale(1.24); }
}

.px-hero-cta__label {
    line-height: 1;
    white-space: nowrap;
}

.px-hero-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 42px;
    height: 42px;
    color: var(--px-hero-cta-bg, #fff);
    font-size: 18px;
    background-color: var(--px-hero-cta-fg, #000);
    border-radius: 50%;
    animation: px-hero-bob 1.9s ease-in-out infinite;
}

@keyframes px-hero-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(5px); }
}

/* Hover/focus: invert to the outlined state and settle the motion */
.px-hero-cta:hover,
.px-hero-cta:focus {
    color: var(--px-hero-cta-bg, #fff);
    text-decoration: none;
    background-color: transparent;
    transform: translateY(-2px);
}

.px-hero-cta:hover .px-hero-cta__icon,
.px-hero-cta:focus .px-hero-cta__icon {
    color: var(--px-hero-cta-fg, #000);
    background-color: var(--px-hero-cta-bg, #fff);
    animation-play-state: paused;
}

.px-hero-cta:hover::after,
.px-hero-cta:focus::after {
    animation: none;
    opacity: 0;
}

@media (max-width: 575px) {
    .px-hero-cta-layer {
        padding-bottom: 4vh;
    }

    .px-hero-cta {
        min-height: 54px;
        padding: 0 7px 0 24px;
        gap: 12px;
        font-size: 11px;
        letter-spacing: 0.16em;
    }

    .px-hero-cta__icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .px-hero-cta::after,
    .px-hero-cta__icon {
        animation: none;
    }

    .px-hero-cta::after {
        opacity: 0;
    }
}

.px-drawer-controls { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.px-drawer-controls button { width: 32px; height: 32px; border: 1px solid #ddd; border-radius: 50%; background: #fff; }
.px-drawer-controls .px-drawer-remove { width: auto; border: 0; border-radius: 0; font-size: 12px; text-decoration: underline; margin-left: 8px; }
.px-drawer-controls button:disabled, .px-qty button:disabled { opacity: .4; cursor: wait; }
.px-cart-feedback { margin: 12px 0; font-size: 12px; color: #9f2525; }

/* =====================================================================
   Limited offer — "The Fast Break Sale" landing section
   Black stage, lime accent, marquee ribbons, live countdown and the
   01 + 02 = $40 equation that mirrors the two slots inside the dialog.
   ===================================================================== */
.px-limited-offer { --fb-lime: #dff296; --fb-lime-dark: #b9d65a; position: relative; margin-bottom: 56px; padding: 0; background: #0b0b0b; color: #fff; overflow: hidden; }
.px-limited-offer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 30%, rgba(223, 242, 150, .22), transparent 60%), radial-gradient(40% 40% at 5% 90%, rgba(223, 242, 150, .10), transparent 65%); pointer-events: none; }
.px-limited-offer .container { position: relative; }
.px-offer-marquee { position: relative; z-index: 1; overflow: hidden; background: var(--fb-lime); color: #111; padding: 9px 0; font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; white-space: nowrap; }
.px-offer-marquee--bottom { transform: rotate(-1.2deg) scale(1.03); transform-origin: center; margin-top: 6px; }
.px-offer-marquee-track { display: inline-flex; align-items: center; gap: 18px; padding-left: 18px; animation: px-offer-marquee 32s linear infinite; }
.px-offer-marquee-track i { font-style: normal; font-size: 12px; opacity: .55; }
.px-offer-marquee:hover .px-offer-marquee-track { animation-play-state: paused; }
@keyframes px-offer-marquee { to { transform: translateX(-50%); } }
.px-offer-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 36px 48px; padding: 56px 0 48px; }
.px-limited-offer .px-offer-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--fb-lime); font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.px-offer-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fb-lime); animation: px-offer-pulse 1.8s ease-out infinite; }
@keyframes px-offer-pulse { 0% { box-shadow: 0 0 0 0 rgba(223, 242, 150, .7); } 70% { box-shadow: 0 0 0 10px rgba(223, 242, 150, 0); } 100% { box-shadow: 0 0 0 0 rgba(223, 242, 150, 0); } }
.px-offer-title { font-size: clamp(38px, 5.6vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -2.5px; color: #fff; margin: 0; }
.px-offer-title em { font-style: normal; color: var(--fb-lime); position: relative; display: inline-block; }
.px-offer-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--fb-lime); opacity: .3; border-radius: 4px; transform: skewX(-12deg); }
.px-limited-offer .px-offer-description { margin-top: 20px; max-width: 460px; line-height: 1.75; color: rgba(255, 255, 255, .78); font-size: 14px; }
.px-offer-countdown { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 16px 10px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.px-offer-countdown-label { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.px-offer-countdown-time { display: inline-flex; align-items: baseline; gap: 3px; font-variant-numeric: tabular-nums; }
.px-offer-countdown-time b { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: #fff; min-width: 2ch; text-align: center; }
.px-offer-countdown-time small { font-size: 10px; font-weight: 700; color: var(--fb-lime); margin-right: 8px; }
.px-offer-countdown-time small:last-child { margin-right: 0; }
.px-limited-offer .px-offer-open { width: auto; min-width: 260px; margin: 26px 0 14px; background: var(--fb-lime) !important; border-color: var(--fb-lime) !important; color: #111 !important; box-shadow: 0 12px 30px rgba(223, 242, 150, .25); }
.px-limited-offer .px-offer-open:hover, .px-limited-offer .px-offer-open:focus { background: #fff !important; border-color: #fff !important; }
.px-limited-offer .px-offer-footnote { text-align: left; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, .5); max-width: 420px; }
.px-limited-offer .px-offer-open:focus-visible, .px-offer-equation:focus-visible { outline: 3px solid var(--fb-lime); outline-offset: 6px; }

/* The 01 + 02 = $40 equation */
.px-offer-visual { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.px-offer-equation { display: grid; grid-template-columns: 1fr auto 1fr auto auto; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; }
.px-offer-slot-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 16px 14px; border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: 18px; background: rgba(255, 255, 255, .04); transition: border-color .3s ease, background-color .3s ease, transform .3s ease; }
.px-offer-slot-card:nth-of-type(1) { transform: rotate(-2deg); }
.px-offer-slot-card:nth-of-type(2) { transform: rotate(2deg); }
.px-offer-equation:hover .px-offer-slot-card { border-color: var(--fb-lime); background: rgba(223, 242, 150, .08); transform: rotate(0) translateY(-4px); }
.px-offer-slot-num { position: absolute; top: 12px; left: 14px; font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--fb-lime); }
.px-offer-slot-plus { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); font-size: 26px; line-height: 1; font-weight: 300; color: #fff; }
.px-offer-equation:hover .px-offer-slot-plus { background: var(--fb-lime); border-color: var(--fb-lime); color: #111; }
.px-offer-slot-text { font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: -.2px; }
.px-offer-op { font-size: 30px; font-weight: 300; color: rgba(255, 255, 255, .55); }
.px-limited-offer .px-offer-price { flex-shrink: 0; display: flex; align-items: center; flex-direction: column; padding: 18px 22px; background: var(--fb-lime); border-radius: 20px 20px 20px 4px; transform: rotate(3deg); color: #192014; box-shadow: 0 18px 40px rgba(223, 242, 150, .25); animation: px-offer-float 4.5s ease-in-out infinite; }
.px-limited-offer .px-offer-price > span:first-child { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.px-limited-offer .px-offer-price strong { font-size: 58px; line-height: 1.1; letter-spacing: -3.5px; font-weight: 800; }
.px-limited-offer .px-offer-price small { font-size: 26px; vertical-align: top; letter-spacing: -1px; }
.px-limited-offer .px-offer-delivery { font-size: 11px; font-weight: 700; }
@keyframes px-offer-float { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-6px); } }
.px-offer-stamp { position: absolute; top: -34px; right: -14px; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--fb-lime); color: var(--fb-lime); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; text-align: center; line-height: 1.25; transform: rotate(-14deg); animation: px-offer-stamp 6s ease-in-out infinite; pointer-events: none; }
.px-offer-stamp::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(223, 242, 150, .6); }
@keyframes px-offer-stamp { 0%, 100% { transform: rotate(-14deg) scale(1); } 50% { transform: rotate(-8deg) scale(1.06); } }

@media (max-width: 991px) {
    .px-offer-grid { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 40px; }
    .px-offer-visual { justify-self: stretch; max-width: none; }
    .px-offer-stamp { top: -26px; right: 0; }
}
@media (max-width: 575px) {
    .px-limited-offer { margin-bottom: 40px; }
    .px-offer-grid { padding: 36px 0 34px; gap: 28px; }
    .px-offer-title { font-size: 38px; letter-spacing: -1.5px; }
    .px-limited-offer .px-offer-description { font-size: 13px; }
    .px-offer-countdown { gap: 10px; padding: 8px 12px; }
    .px-offer-countdown-time b { font-size: 18px; }
    .px-limited-offer .px-offer-open { width: 100%; }
    .px-offer-equation { grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; gap: 8px; }
    .px-offer-slot-card { min-height: 150px; padding: 14px 12px; }
    .px-offer-slot-text { font-size: 13px; }
    .px-offer-op--equals { display: none; }
    .px-limited-offer .px-offer-price { grid-column: 1 / -1; justify-self: center; margin-top: 18px; padding: 14px 26px; flex-direction: row; gap: 14px; }
    .px-limited-offer .px-offer-price strong { font-size: 44px; }
    .px-offer-stamp { width: 78px; height: 78px; font-size: 9px; top: -22px; }
    .px-offer-marquee { font-size: 10px; letter-spacing: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    .px-offer-marquee-track, .px-offer-live-dot, .px-limited-offer .px-offer-price, .px-offer-stamp { animation: none; }
}

.px-offer-single-price { font-size: 12px; color: #74796e; }
.px-offer-card-note { font-size: 12px; font-weight: 700; color: #425320; margin-bottom: 5px; }
.px-offer-how { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 16px 0; margin-bottom: 28px; border-top: 1px solid #dce0d3; border-bottom: 1px solid #dce0d3; font-size: 12px; font-weight: 600; color: #48503c; }

/* =====================================================================
   Fast Break dialog — two empty set slots → picker → "offer complete"
   ===================================================================== */
.fb-dialog { --fb-lime: #dff296; position: fixed; inset: 0; margin: auto; padding: 0; width: min(880px, calc(100% - 32px)); max-width: none; max-height: 92dvh; border: 0; border-radius: 20px; background: #fff; color: #171a14; overflow: auto; }
.fb-dialog::backdrop { background: rgba(0,0,0,.7); }
.fb-dialog [hidden] { display: none !important; }
.fb-header { display: flex; justify-content: space-between; gap: 20px; padding: 24px 28px; background: #0b0b0b; color: #fff; }
.fb-header .px-offer-eyebrow { color: var(--fb-lime); display: block; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.fb-header h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -1px; color: #fff; }
.fb-header p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.7); }
.fb-close { flex: 0 0 36px; height: 36px; background: #fff; color: #111; border: 0; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.fb-progress { height: 4px; background: #ececec; }
.fb-progress span { display: block; height: 100%; width: 0; background: var(--fb-lime); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.fb-body { display: block; }
.fb-sets, .fb-chooser, .fb-checkout { min-width: 0; padding: 24px 28px; }
.fb-chooser { background: #f6f7f3; border-top: 1px solid #e6e8e0; border-bottom: 1px solid #e6e8e0; }
.fb-dialog h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.fb-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#fb-count { font-size: 12px; font-weight: 700; color: #465826; }
.fb-link { background: none; border: 0; padding: 0; font-size: 12px; font-weight: 700; text-decoration: underline; color: #465826; cursor: pointer; }

/* The two slots */
.fb-pair { display: grid; grid-template-columns: 1fr auto 1fr auto auto; align-items: center; gap: 10px; }
.fb-pair-op { font-size: 26px; font-weight: 300; color: #9aa08d; }
.fb-pair-total { display: flex; flex-direction: column; align-items: center; padding: 12px 16px; background: var(--fb-lime); border-radius: 16px 16px 16px 4px; transform: rotate(3deg); color: #192014; text-align: center; }
.fb-pair-total small { font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.fb-pair-total strong { font-size: 34px; line-height: 1.1; letter-spacing: -2px; font-weight: 800; }
.fb-slot { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 14px; border: 1.5px dashed #c9cfbd; border-radius: 16px; background: #fafbf7; color: #232a19; text-align: left; cursor: pointer; transition: border-color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.fb-slot:hover { border-color: #6b7c32; background: #f4f8e8; }
.fb-slot.is-next { border-color: #6b7c32; animation: fb-slot-nudge 1.8s ease-in-out infinite; }
.fb-slot.is-active { border-style: solid; border-color: #111; background: #fff; box-shadow: 0 0 0 4px rgba(223, 242, 150, .7); }
.fb-slot.is-filled { border-style: solid; border-color: #b9d65a; background: #f0f6e1; }
.fb-slot:disabled { cursor: not-allowed; opacity: .7; }
@keyframes fb-slot-nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(107, 124, 50, .35); } 50% { box-shadow: 0 0 0 8px rgba(107, 124, 50, 0); } }
.fb-slot-num { position: absolute; top: 12px; left: 14px; font-size: 11px; font-weight: 800; letter-spacing: 2px; color: #6b7c32; }
.fb-slot-empty { display: flex; flex-direction: column; }
.fb-slot-plus { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 50%; border: 1.5px solid #6b7c32; color: #6b7c32; font-size: 26px; line-height: 1; font-weight: 300; transition: background-color .25s ease, color .25s ease; }
.fb-slot:hover .fb-slot-plus, .fb-slot.is-active .fb-slot-plus { background: #111; border-color: #111; color: var(--fb-lime); }
.fb-slot-label { font-size: 14px; font-weight: 700; line-height: 1.3; }
.fb-slot-hint { font-size: 11px; color: #626a56; margin-top: 4px; }
.fb-slot-filled { display: flex; align-items: flex-end; gap: 12px; }
.fb-slot-filled img { width: 64px; height: 84px; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.fb-slot-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fb-slot-meta b { font-size: 13px; font-weight: 700; line-height: 1.3; }
.fb-slot-meta small { font-size: 12px; color: #465826; font-weight: 600; }
.fb-slot-meta em { font-size: 11px; font-style: normal; color: #626a56; text-decoration: underline; margin-top: 4px; }
.fb-slot-check { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #111; color: var(--fb-lime); font-size: 13px; font-weight: 800; transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.fb-slot.is-filled .fb-slot-check { transform: scale(1); }
.fb-slot-actions { margin-top: 12px; }
.fb-selection-note { font-size: 12px; margin: 12px 0 0; line-height: 1.6; color: #465826; }

/* Product picker */
.fb-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; }
.fb-product img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.fb-product h4 { font-size: 13px; font-weight: 600; margin: 9px 0; }
.fb-size-label { font-size: 11px; margin: 0 0 3px; }
.fb-size { width: 100%; font-size: 13px; padding: 8px 5px; border: 1px solid #d8ddcf; border-radius: 6px; background: #fff; }
.fb-add { display: flex; justify-content: space-between; width: 100%; padding: 9px 10px; margin-top: 7px; background: #111; color: var(--fb-lime); border: 0; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; }
.fb-add:disabled { background: #e9ebe4; color: #888; cursor: not-allowed; }

/* Offer complete */
.fb-complete { position: relative; margin: 8px 28px 0; padding: 30px 24px 28px; border-radius: 18px; background: #0b0b0b; color: #fff; text-align: center; overflow: hidden; outline: none; }
.fb-complete::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 0%, rgba(223, 242, 150, .28), transparent 65%); pointer-events: none; }
.fb-complete > * { position: relative; }
.fb-complete.is-in { animation: fb-complete-in .55s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes fb-complete-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.fb-complete-badge { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 50%; background: var(--fb-lime); color: #111; font-size: 30px; font-weight: 800; }
.fb-complete.is-in .fb-complete-badge { animation: fb-badge-pop .6s cubic-bezier(.3,1.7,.5,1) .15s both; }
@keyframes fb-badge-pop { from { transform: scale(0) rotate(-30deg); } to { transform: scale(1) rotate(0); } }
.fb-complete .px-offer-eyebrow { display: block; color: var(--fb-lime); font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px; }
.fb-complete h3 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -1px; color: #fff; margin-bottom: 10px; }
.fb-complete p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.fb-complete p strong { color: var(--fb-lime); }
.fb-complete-cta { width: auto; min-width: 240px; margin: 0 auto; background: var(--fb-lime) !important; border-color: var(--fb-lime) !important; color: #111 !important; }
.fb-complete-cta:hover, .fb-complete-cta:focus { background: #fff !important; border-color: #fff !important; }
.fb-complete-confetti { position: absolute; inset: 0; pointer-events: none; }
.fb-complete-confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 12px; border-radius: 2px; opacity: 0; animation: fb-confetti var(--d) ease-out var(--delay) both; }
@keyframes fb-confetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(240px) rotate(var(--r)); } }

/* Delivery */
.fb-checkout { border-top: 1px solid #e6e8e0; background: #fcfcfa; margin-top: 20px; }
.fb-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fb-fields .px-field:nth-child(5), .fb-fields .px-field:nth-child(6) { grid-column: 1 / -1; }
.fb-checkout .px-field { margin-bottom: 12px; }
.fb-payment { font-size: 12px; line-height: 1.7; }
.fb-footer { position: sticky; bottom: 0; z-index: 2; background: #fff; border-top: 1px solid #e6e8e0; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb-footer > div { display: flex; flex-direction: column; flex: 0 0 auto; }
.fb-footer span { font-size: 12px; }
.fb-footer strong { font-size: 24px; white-space: nowrap; }
.fb-footer small { font-size: 12px; font-weight: 400; }
.fb-footer .px-btn { width: auto; min-width: 220px; }
.fb-footer button:disabled { opacity: .45; cursor: not-allowed; }
.fb-errors { margin: 16px 24px; padding: 12px; background: #fff1ef; color: #8a291d; border-radius: 8px; font-size: 13px; }
.fb-success { padding: 44px 24px; text-align: center; }
.fb-success p { margin-bottom: 20px; line-height: 1.8; }
.fb-success-check { display: inline-grid; place-items: center; width: 64px; height: 64px; background: var(--fb-lime); border-radius: 50%; font-size: 32px; margin-bottom: 22px; }
@media (max-width: 767px) {
    .fb-dialog { width: calc(100% - 16px); max-height: 94dvh; border-radius: 14px; }
    .fb-header { padding: 20px 16px; }
    .fb-sets, .fb-chooser, .fb-checkout { padding: 20px 16px; }
    .fb-pair { grid-template-columns: 1fr auto 1fr; }
    .fb-pair-op--equals { display: none; }
    .fb-pair-total { grid-column: 1 / -1; flex-direction: row; gap: 10px; justify-self: center; margin-top: 8px; padding: 10px 18px; }
    .fb-pair-total strong { font-size: 28px; }
    .fb-slot { min-height: 150px; padding: 12px; }
    .fb-slot-label { font-size: 13px; }
    .fb-slot-filled { flex-direction: column; align-items: flex-start; gap: 8px; }
    .fb-slot-filled img { width: 48px; height: 62px; }
    .fb-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fb-complete { margin: 8px 16px 0; padding: 26px 16px 24px; }
    .fb-complete-cta { width: 100%; }
    .fb-fields { grid-template-columns: 1fr; }
    .fb-footer { padding: 12px 16px; }
    .fb-footer > div { max-width: 135px; }
    .fb-footer .px-btn { min-width: 0; flex: 1; padding: 12px; font-size: 11px; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) {
    .fb-slot.is-next, .fb-complete.is-in, .fb-complete.is-in .fb-complete-badge, .fb-complete-confetti i { animation: none; }
    .fb-progress span, .fb-slot-check { transition: none; }
}
/* Override the theme's generic display:block reset for closed dialogs. */
dialog.fb-dialog:not([open]) { display: none; }

/* /fast-break-sale: the chooser rendered on the page instead of a popup. */
.fb-page { padding-bottom: 80px; }
.fb-dialog.fb-inline { position: static; width: 100%; max-width: 980px; max-height: none; margin: -24px auto 0; overflow: visible; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .14); scroll-margin-top: 100px; }
.fb-dialog.fb-inline .fb-header { border-radius: 22px 22px 0 0; }
.fb-dialog.fb-inline .fb-footer { border-radius: 0 0 22px 22px; }
.fb-dialog.fb-inline .fb-success { border-radius: 0 0 22px 22px; }
.fb-dialog.fb-inline .fb-success .px-btn { width: auto; min-width: 240px; margin: 0 auto; }
/* Scrolled-to steps clear the fixed daily-offer bar at the top of the page. */
.fb-dialog.fb-inline .fb-sets, .fb-dialog.fb-inline .fb-chooser, .fb-dialog.fb-inline .fb-complete, .fb-dialog.fb-inline .fb-checkout { scroll-margin-top: 150px; }
@media (max-width: 767px) {
    .fb-dialog.fb-inline { margin-top: -12px; border-radius: 16px; scroll-margin-top: 80px; }
    .fb-dialog.fb-inline .fb-header, .fb-dialog.fb-inline .fb-footer, .fb-dialog.fb-inline .fb-success { border-radius: 16px 16px 0 0; }
    .fb-dialog.fb-inline .fb-footer, .fb-dialog.fb-inline .fb-success { border-radius: 0 0 16px 16px; }
}
