.replica-float > .replica-float-cart { display: none !important; }

a.salux-floating-cart {
    background: #142237;
    border: 1px solid #fff;
    border-radius: 999px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px) + var(--salux-banner-offset, 0px));
    box-shadow: 0 4px 15px #0c22473d;
    color: #fff;
    display: grid;
    height: 52px;
    right: max(18px, env(safe-area-inset-right));
    outline: 2px solid #e08239;
    outline-offset: 2px;
    padding: 0;
    place-items: center;
    position: fixed;
    text-decoration: none;
    width: 52px;
    z-index: 90;
}

[data-cart-open] [data-cart-count],
.salux-floating-cart .salux-live-count {
    background: #e08239 !important;
    color: #fff;
}

a.salux-floating-cart[hidden] { display: none; }
a.salux-floating-cart:is(:hover, :focus-visible) { background: #c4edaa; color: #152330; }
.salux-floating-cart .salux-live-count {
    border-radius: 999px;
    font: 700 .75rem/1.25rem system-ui, sans-serif;
    min-width: 1.25rem;
    padding: 0 .2rem;
    position: absolute;
    right: -.3rem;
    text-align: center;
    top: -.25rem;
}
.salux-refresh .quantity input.qty { min-height: 44px; width: 4.6rem; }
.salux-refresh [data-salux-form] button:disabled { cursor: not-allowed; opacity: .55; }
.salux-cart-row > div { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }

.woocommerce-cart .wc-block-cart__submit-container.wc-block-cart__submit-container--sticky {
    display: block !important;
    position: static !important;
}

@media (max-width: 420px) {
    .wc-block-checkout__payment-method {
        min-inline-size: 0;
    }

    .wc-block-checkout__payment-method .wc-block-components-radio-control__label-group,
    .wc-block-checkout__payment-method .wc-block-components-radio-control__label > div {
        flex-wrap: wrap;
        min-inline-size: 0;
    }
}

/* Keep the supported Google Pay wallet with the payment methods. */
.woocommerce-checkout .salux-page .wc-block-components-express-payment.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container,
.woocommerce-checkout .salux-page .wc-block-components-express-payment-continue-rule--checkout,
.woocommerce-checkout .salux-page .wc-block-components-express-payment.wc-block-components-express-payment--checkout .wc-block-components-express-payment__event-buttons > :not(#express-payment-method-ppcp-googlepay),
.woocommerce-checkout .salux-page .wc-block-components-express-payment.wc-block-components-express-payment--checkout:not(:has(#express-payment-method-ppcp-googlepay button)) {
    display: none;
}

.woocommerce-checkout .salux-page .wc-block-components-express-payment.wc-block-components-express-payment--checkout,
.woocommerce-checkout .salux-page .wc-block-components-express-payment.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

.woocommerce-checkout .salux-page .wc-block-components-express-payment.wc-block-components-express-payment--checkout .wc-block-components-express-payment__event-buttons {
    display: block;
}

.woocommerce-checkout .salux-page .wc-block-components-express-payment.wc-block-components-express-payment--checkout {
    margin: 0 0 1rem;
}

.salux-return-note {
    font-size: .9rem;
    line-height: 1.5;
    margin: 1rem 0;
}

/* The cart and help share the same right-side column as WhatsApp. */
[data-cart-count][hidden], .salux-live-count[hidden], #SaluxCart [hidden], .salux-ai [hidden] { display: none !important; }
.replica-float:has(> a[aria-label="WhatsApp"]) {
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px) + var(--salux-banner-offset, 0px));
}
.replica-float > a[aria-label="WhatsApp"] { width: 52px; height: 52px; }

#SaluxCart {
    position: fixed;
    --salux-cart-inset: 20px;
    inset: var(--salux-cart-inset) var(--salux-cart-inset) var(--salux-cart-inset) auto;
    width: min(980px, calc(100% - 2 * var(--salux-cart-inset)));
    height: calc(100dvh - 2 * var(--salux-cart-inset));
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: #fff;
    color: #202020;
    overflow: auto;
    overscroll-behavior: contain;
}
#SaluxCart::backdrop { background: #0009; }

@media (prefers-reduced-motion: no-preference) {
    #SaluxCart[open] { animation: salux-cart-enter 500ms ease both; }

    @keyframes salux-cart-enter {
        from { transform: translateX(calc(100% + var(--salux-cart-inset))); }
        to { transform: translateX(0); }
    }
}
.salux-cart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.salux-cart-main, .salux-cart-suggestions { min-width: 0; padding: 26px; }
.salux-cart-suggestions { border-right: 1px solid #e5e5e5; }
#SaluxCart h2 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 700; line-height: 1.2; }
.salux-cart-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.salux-cart-heading button { background: #f4f4f4; border-radius: 50%; width: 38px; height: 38px; font-size: 1.2rem; }
.salux-cart-suggestion, .salux-cart-item { display: grid; align-items: center; grid-template-columns: 108px minmax(0, 1fr) auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid #e5e5e5; }
.salux-cart-suggestion:first-of-type { margin-top: 14px; }
.salux-cart-suggestion img, .salux-cart-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.salux-cart-suggestion p { margin-top: 8px; }
.salux-cart-suggestion [data-salux-suggest] {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 12px;
}

.salux-cart-suggestion [data-salux-suggest]::before {
    content: "+" / "";
    position: absolute;
    inset: 0 0 auto;
    color: #556331;
    font-size: 23px;
    font-weight: 900;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
    visibility: hidden;
}

.salux-cart-suggestion [data-salux-suggest]:not(:disabled):is(:hover, :focus-visible, :active) {
    outline: 2px solid #b38b45;
    outline-offset: 2px;
}

.salux-cart-suggestion [data-salux-suggest]:not(:disabled):is(:hover, :focus-visible, :active)::before {
    visibility: visible;
}

.salux-cart-suggestion [data-salux-suggest]:not(:disabled):is(:hover, :focus-visible, :active) > svg {
    transform: translateY(5px);
}
.salux-cart-shipping { margin-top: 25px; }
.salux-cart-shipping progress { display: block; width: 100%; height: 6px; margin: 14px 0 17px; accent-color: #369d29; }
.salux-cart-shipping-info { padding: 16px 18px; border: 1px solid #eae3d9; border-radius: 13px; background: #faf5ed; color: #26364b; }
.salux-cart-shipping-info p { margin-top: 8px; color: #61666c; }
.salux-cart-item { grid-template-columns: 108px minmax(0, 1fr); }
.salux-cart-item-details { display: grid; gap: 10px; min-width: 0; }
.salux-cart-item-details > div:first-child, .salux-cart-item-details > div:nth-child(2), .salux-cart-totals > div { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.salux-cart-item-details > div:nth-child(2) span { color: #5f6267; }
.salux-cart-remove { color: #b8232f; text-decoration: underline; }
.salux-cart-stepper { display: grid; grid-template-columns: repeat(3, 36px); justify-items: center; align-items: center; width: max-content; border: 1px solid #e5e5e5; border-radius: 9px; background: #f6f6f6; }
.salux-cart-stepper button { width: 36px; height: 40px; }
#SaluxCart button:disabled { opacity: .5; cursor: not-allowed; }
[data-salux-lines] > p, #SaluxCart [data-salux-cart-status]:not(:empty) { padding: 14px 0; }
.salux-cart-tools { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e5e5e5; }
.salux-cart-tools :is(a, button):hover { text-decoration: underline; }
.salux-cart-coupon { padding: 12px 0 4px; }
.salux-cart-coupon > div { display: flex; gap: 8px; margin-top: 5px; }
.salux-cart-coupon input { width: 100%; min-width: 0; border: 1px solid #999; border-radius: 7px; padding: 8px; }
.salux-cart-totals { display: grid; gap: 10px; margin: 20px 0; }
.salux-cart-totals strong { font-size: clamp(1.05rem, 1.8vw, 1.45rem); }
.salux-cart-totals > div > :last-child { text-align: right; }
.salux-cart-links { display: grid; gap: 8px; margin-top: 14px; text-align: center; }
.salux-cart-links a { padding: 10px 14px; border: 1px solid #102033; border-radius: 8px; }
.salux-cart-links .salux-cart-checkout { background: #102033; color: #fff; }
@media (max-width: 720px) {
    #SaluxCart { --salux-cart-inset: 10px; border-radius: 18px; }
    .salux-cart-grid { grid-template-columns: minmax(0, 1fr); }
    .salux-cart-main { grid-row: 1; }
    .salux-cart-main, .salux-cart-suggestions { padding: 18px; }
    .salux-cart-suggestions { border-right: 0; border-top: 1px solid #e5e5e5; }
    .salux-cart-suggestion { grid-template-columns: 66px minmax(0, 1fr) auto; }
    .salux-cart-item { grid-template-columns: 60px minmax(0, 1fr); }
}

.salux-ai { position: fixed; z-index: 91; right: max(18px, env(safe-area-inset-right)); bottom: calc(148px + env(safe-area-inset-bottom, 0px) + var(--salux-banner-offset, 0px)); color: #0c2247; }
.salux-ai .ai-launcher { display: flex; align-items: center; gap: 9px; min-height: 48px; margin-left: auto; padding: 10px 17px; background: #0c2247; color: #fff; border: 1px solid #ad8854; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 24px #0b23413d; }
.salux-ai .ai-launcher span { color: #f1cc8c; font-size: 1.3rem; line-height: 1; }
.salux-ai .ai-launcher:hover { background: #193d68; }
.salux-ai .ai-window { width: min(392px, calc(100vw - 36px)); height: min(500px, calc(100dvh - 220px - var(--salux-banner-offset, 0px))); min-height: 160px; margin-bottom: 10px; border: 1px solid #dce0e8; border-radius: 19px; background: #fff; box-shadow: 0 16px 52px #0b234148; overflow: hidden; display: flex; flex-direction: column; }
.salux-ai .ai-header { display: flex; align-items: center; gap: 11px; padding: 13px 15px; background: linear-gradient(115deg,#0c2247,#1a3c66); color: #fff; border-bottom: 2px solid #e2b978; }
.salux-ai .ai-symbol { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #e2b97880; border-radius: 12px; background: #ffffff15; color: #f1cc8c; font-size: 1.35rem; }
.salux-ai .ai-header h2 { font-size: 1rem; font-weight: 750; }
.salux-ai .ai-close { margin-left: auto; width: 40px; height: 40px; border-radius: 10px; background: #ffffff15; color: #fff; font-size: 1.4rem; }
.salux-ai .ai-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.salux-ai h3 { font: 1.6rem/1.15 Georgia, serif; margin-bottom: 7px; }
.salux-ai .ai-prompts { display: grid; justify-items: start; gap: 7px; margin-top: 13px; }
.salux-ai .ai-prompts button { padding: 7px 10px; border: 1px solid #bcc9d9; border-radius: 9px; font-size: .88rem; text-align: left; }
.salux-ai .ai-prompts button:hover { background: #edf1f7; }
.salux-ai .ai-log { display: grid; gap: 10px; margin-top: 14px; }
.salux-ai .ai-user, .salux-ai .ai-reply { padding: 10px 12px; border-radius: 12px; max-width: 94%; overflow-wrap: anywhere; }
.salux-ai .ai-user { justify-self: end; background: #e8eef7; }
.salux-ai .ai-reply { background: #f6f4ef; border: 1px solid #ebe3d7; }
.salux-ai .ai-reply a, .salux-ai .ai-footer a { display: inline-block; margin-top: 6px; text-decoration: underline; font-size: .85rem; }
.salux-ai .ai-footer { padding: 10px 13px; border-top: 1px solid #e0e6ee; background: #fff; }
.salux-ai .ai-footer form { display: flex; align-items: center; gap: 6px; }
.salux-ai .ai-footer input { flex: 1; min-width: 0; border: 1px solid #aabbd2; border-radius: 9px; min-height: 42px; padding: 7px 9px; font-size: 1rem; }
.salux-ai .ai-footer form button { width: 42px; height: 42px; border-radius: 9px; background: #0c2247; color: #fff; font-size: 1.3rem; }

.salux-packs .salux-pack-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.salux-packs .salux-pack-meta .salux-pack-price { margin: 0; }

.salux-pack-meta {
    --salux-pack-blue: #68b7d4;
    --salux-pack-pink: #e599b5;
    --salux-pack-yellow: #eadb49;
}

.salux-pack-blue-swatch,
.salux-pack-mixed-swatch {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid #10203333;
    border-radius: 50%;
}

.salux-pack-blue-swatch { background: var(--salux-pack-blue); }

.salux-pack-mixed-swatch {
    background: conic-gradient(var(--salux-pack-blue) 0deg 120deg, var(--salux-pack-pink) 120deg 240deg, var(--salux-pack-yellow) 240deg 360deg);
}

.salux-pack-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.salux-pack-actions .salux-outline { border: 1px solid #102033; color: #102033; }
.salux-pack-form .salux-cart-feedback:empty { display: none; }

body :is(button, input:is([type="button"], [type="submit"], [type="reset"]), [role="button"], a.button, a.button-main, a.wc-block-components-button, a.salux-floating-cart, .salux-cart-links a, .salux-cart-tools a, .catalog-actions a, .replica-amazon):not(:disabled, [aria-disabled="true"], .header-main [data-search-open], .header-main [data-cart-open], .salux-cart-suggestion [data-salux-suggest]):is(:hover, :active, :focus-visible) {
    background: #c4edaa !important;
    border-color: #102033 !important;
    color: #102033 !important;
}

/* Delivery estimate and free-shipping feedback. */
.salux-delivery-estimate { margin: 22px 0; padding: 16px; border: 1px solid #eae3d9; border-radius: 13px; background: #faf5ed; color: #102033; }
.salux-delivery-estimate[hidden], .salux-delivery-status:empty { display: none; }
.salux-delivery-estimate label { display: grid; gap: 8px; }
.salux-delivery-estimate select { width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid #aab1b9; border-radius: 6px; background: #fff; color: inherit; font: inherit; }
.salux-delivery-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.salux-delivery-row strong { text-align: end; }
.salux-delivery-status { margin: 8px 0 0; font-size: .875rem; }
.salux-delivery-row.is-free-shipping, #SaluxCart .is-free-shipping { color: #218000; font-weight: 700; }
.salux-shipping-confetti { position: fixed; inset: 0; z-index: 1000; pointer-events: none; overflow: hidden; contain: paint; isolation: isolate; }
.salux-shipping-confetti[hidden] { display: none; }
.salux-shipping-confetti span { position: absolute; width: 7px; height: 12px; border-radius: 1px; }
.salux-shipping-confetti span:nth-child(3n) { width: 5px; height: 8px; }
.header-main :is([data-search-open], [data-cart-open]):not(:disabled):is(:hover, :active, :focus-visible) { background: #c4edaa; color: #102033; }
