/* RasBazar live-audit fixes — hover, chrome clutter, product cards, hero */

:root,
body {
    /* Logo RAS orange samples ~#FD7602 — keep UI one step deeper for contrast */
    --rb-logo: #FD7602;
    --rb-brand: #EA580C;
    --rb-action: #EA580C;
    --rb-action-hover: #C2410C;
    --rb-trust: #006A4E;
    --rb-trust-soft: #E2F3EB;
    --rb-sale: #B42318;
    --rb-ink: #10171E;
    --rb-muted: #4B5563;
    --rb-surface: #FFFFFF;
    --rb-border: #E5E7EB;
    --rb-warm: #FFF7ED;
    --rb-warm-border: #FDBA74;
    --color-1st: var(--rb-brand);
}

.ps-shop-heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 12px 0 16px;
    color: var(--rb-ink);
}

.ps-google-map iframe {
    min-height: 320px;
    width: 100%;
    border: 0;
}

.ps-product__actions a,
.ps-product__actions button,
.header__extra,
.ps-rb-mobile-nav a,
.ps-floating-contact__item {
    min-width: 44px;
    min-height: 44px;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

/* ------------------------------------------------------------------ */
/* Kill clutter that still leaks on desktop                            */
/* ------------------------------------------------------------------ */
.ps-theme-toggle,
.ps-recently-viewed {
    display: none !important;
}

/* Floating cart tab: desktop only (mobile uses bottom nav). Hidden until
   items exist so an empty tab does not sit on the page. */
#ps-floating-cart {
    display: none !important;
}

@media (min-width: 992px) {
    #ps-floating-cart.has-items {
        display: flex !important;
    }
}

/* ------------------------------------------------------------------ */
/* Day-mode contrast: never brand-orange/red text on orange fills.     */
/* Global `a:hover { color: var(--color-1st) }` paints CTAs illegible. */
/* Theme also sets `.ps-btn { color: var(--button-text-color=#fff) }`  */
/* AFTER `.ps-btn--outline`, which blanks outline labels on white bg.  */
/* ------------------------------------------------------------------ */
.ps-btn.ps-btn--outline,
a.ps-btn.ps-btn--outline,
button.ps-btn.ps-btn--outline,
.ps-btn.ps-btn--white,
a.ps-btn.ps-btn--white,
button.ps-btn.ps-btn--white,
.ps-btn.ps-btn--black.ps-btn--outline,
a.ps-btn.ps-btn--black.ps-btn--outline {
    color: var(--rb-action) !important;
    background-color: transparent !important;
}

.ps-btn.ps-btn--outline i,
a.ps-btn.ps-btn--outline i,
.ps-btn.ps-btn--white i {
    color: inherit !important;
}

a.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):hover,
a.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):focus-visible,
button.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):hover,
button.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):focus-visible,
.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):hover,
.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):focus-visible,
a.btn.primary:hover,
a.btn.primary:focus-visible,
.rb-about .btn.primary:hover,
.rb-about .btn.primary:focus-visible,
.rb-about a.btn.primary:hover,
.rb-about a.btn.primary:focus-visible,
.header .ps-form--quick-search button:hover,
.ps-form--quick-search button:hover,
.menu--product-categories .menu--product-categories__toggle:hover,
.rb-mobile-hero__cta:hover,
.ps-order-now__buy:hover,
.ps-product .add-to-cart-button:hover,
.ps-product .ps-product__actions a:hover,
.ps-product .ps-product__actions button:hover {
    color: #FFFFFF !important;
}

a.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):hover i,
.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):hover i,
.ps-product .add-to-cart-button:hover i,
.ps-product .ps-product__actions a:hover i,
.ps-product .ps-product__actions button:hover i,
.header .ps-form--quick-search button:hover i,
.ps-form--quick-search button:hover i {
    color: #FFFFFF !important;
}

/* Solid orange fills keep white ink on hover */
.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):hover,
.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):focus-visible,
button.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):hover,
button.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):focus-visible,
a.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):hover,
a.ps-btn:not(.ps-btn--outline):not(.ps-btn--white):not(.ps-btn--black):focus-visible {
    background-color: var(--rb-action-hover) !important;
    border-color: var(--rb-action-hover) !important;
    color: #FFFFFF !important;
}

/* Light / outline / white buttons: NEVER white text on white fill */
.ps-btn--outline:hover,
.ps-btn--outline:focus-visible,
button.ps-btn--outline:hover,
a.ps-btn--outline:hover,
.ps-btn--white:hover,
.ps-btn--white:focus-visible,
.ps-btn--black:hover,
.ps-btn--black:focus-visible,
.ps-btn.ps-btn--black:hover,
.ps-btn.ps-btn--black.ps-btn--outline:hover,
.ps-product__add-to-cart:hover,
.ps-product__add-to-cart:focus-visible,
.navigation--mobile-product .ps-btn--black:hover,
.js-add-to-wishlist-button:hover,
.js-add-to-wishlist-button:focus-visible,
.ps-product .js-add-to-wishlist-button:hover,
.ps-banner .ps-btn:hover,
.ps-banner a.ps-btn:hover,
.ps-carousel--nav .owl-prev:hover,
.ps-carousel--nav .owl-next:hover,
.owl-nav .owl-prev:hover,
.owl-nav .owl-next:hover {
    background-color: #FFF4EC !important;
    border-color: var(--rb-action) !important;
    color: var(--rb-action) !important;
}

.ps-btn--outline:hover i,
.ps-btn--white:hover i,
.ps-btn--black:hover i,
.ps-product__add-to-cart:hover i,
.ps-btn.ps-btn--black.ps-btn--outline:hover i,
.js-add-to-wishlist-button:hover i,
.owl-nav .owl-prev:hover i,
.owl-nav .owl-next:hover i {
    color: var(--rb-action) !important;
}

/* Solid orange cart / CTA icons stay white-on-orange on hover */
.ps-product .add-to-cart-button:hover,
.ps-product .add-to-cart-button:focus-visible,
.ps-product .ps-product__actions .add-to-cart-button:hover {
    background-color: var(--rb-action-hover) !important;
    border-color: var(--rb-action-hover) !important;
    color: #FFFFFF !important;
}

.ps-product .add-to-cart-button:hover i {
    color: #FFFFFF !important;
}

/* Cookie / black-outline controls */
.bb-cookie-consent .btn:hover,
.bb-cookie-consent button:hover,
.js-cookie-consent-agree:hover,
[class*="cookie"] .btn:hover,
[class*="cookie"] button:hover {
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: #111827 !important;
}

/* Solid orange CTAs stay white-on-orange */
.rb-mobile-hero__cta:hover,
.rb-mobile-hero__cta:focus-visible,
.ps-order-now__buy:hover,
.menu--product-categories .menu--product-categories__toggle:hover,
.header .ps-form--quick-search button:hover,
.ps-form--quick-search button:hover {
    background-color: var(--rb-action-hover) !important;
    border-color: var(--rb-action-hover) !important;
    color: #FFFFFF !important;
}

.header .ps-form--quick-search button:hover i,
.ps-form--quick-search button:hover i {
    color: #FFFFFF !important;
}

.rb-whatsapp-cta__btn:hover,
.rb-btn-whatsapp:hover {
    background-color: #0E6F31 !important;
    border-color: #0E6F31 !important;
    color: #FFFFFF !important;
}

/* ------------------------------------------------------------------ */
/* Product cards — promised readable price + clear cart action         */
/* ------------------------------------------------------------------ */
.ps-product {
    background: var(--rb-surface);
    border: 1px solid var(--rb-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 23, 30, 0.04);
}

.ps-product .ps-product__thumbnail {
    background: #F9FAFB;
}

.ps-product .ps-product__thumbnail > a {
    padding: 14px !important;
}

.ps-product .ps-product__container,
.ps-product .ps-product__content {
    padding: 14px 14px 16px !important;
    gap: 6px;
}

.ps-shopping-product .ps-product .ps-product__container,
.ps-shopping-product .ps-product .ps-product__content,
.ps-product-list .ps-product .ps-product__container,
.ps-product-list .ps-product .ps-product__content,
.ps-infinite-products .ps-product .ps-product__container,
.ps-infinite-products .ps-product .ps-product__content,
#homepage-1 .ps-product .ps-product__container,
#homepage-1 .ps-product .ps-product__content,
#homepage-1 .ps-carousel--nav .ps-product .ps-product__container,
#homepage-1 .ps-carousel--nav .ps-product .ps-product__content,
#homepage-1 .ps-infinite-products .ps-product .ps-product__container,
#homepage-1 .ps-infinite-products .ps-product .ps-product__content,
#homepage-1 .ps-product-list .ps-product .ps-product__container,
#homepage-1 .ps-product-list .ps-product .ps-product__content {
    padding: 14px 14px 16px !important;
}

.ps-shopping-product .ps-product,
.ps-product-list .ps-product,
.ps-infinite-products .ps-product,
#homepage-1 .ps-product {
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(16, 23, 30, 0.04) !important;
}

.ps-product .ps-product__title,
.ps-product .ps-product__title a {
    color: var(--rb-ink) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

/* Beat style.css `#homepage-1 .ps-product-list .ps-product .ps-product__price`
   (var(--rb-deal) !important) and the inherit !important on __price-sale */
.ps-product .ps-product__price,
.ps-product .ps-product__price-sale,
.ps-product .ps-product__price span,
.ps-product-list .ps-product .ps-product__price,
.ps-product-list .ps-product .ps-product__price .ps-product__price-sale,
.ps-product-list .ps-product .ps-product__price span,
#homepage-1 .ps-product .ps-product__price,
#homepage-1 .ps-product .ps-product__price span,
#homepage-1 .ps-product-list .ps-product .ps-product__price,
#homepage-1 .ps-product-list .ps-product .ps-product__price .ps-product__price-sale,
#homepage-1 .ps-product-list .ps-product .ps-product__price span,
#homepage-1 .ps-carousel--nav .ps-product .ps-product__price,
#homepage-1 .ps-carousel--nav .ps-product .ps-product__price-sale,
#homepage-1 .ps-carousel--nav .ps-product .ps-product__price span,
#homepage-1 .ps-infinite-products .ps-product .ps-product__price,
#homepage-1 .ps-infinite-products .ps-product .ps-product__price-sale,
#homepage-1 .ps-infinite-products .ps-product .ps-product__price span {
    color: var(--rb-ink) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.ps-product .ps-product__price del {
    color: var(--rb-muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.ps-product .ps-product__badge,
.ps-product .ps-product__badge.sale {
    background-color: var(--rb-sale) !important;
    color: #FFFFFF !important;
}

.ps-product .ps-product__actions {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.ps-product .ps-product__actions a,
.ps-product .ps-product__actions button {
    background-color: var(--rb-action) !important;
    border: 1px solid var(--rb-action) !important;
    color: #FFFFFF !important;
}

.ps-product .ps-product__actions a:hover,
.ps-product .ps-product__actions button:hover,
.ps-product .ps-product__actions a:hover i,
.ps-product .ps-product__actions button:hover i {
    background-color: var(--rb-action-hover) !important;
    border-color: var(--rb-action-hover) !important;
    color: #FFFFFF !important;
}

.ps-product .ps-product__weight,
.ps-product .product-weight,
.ps-product [class*="weight"] {
    display: none !important;
}

/* ------------------------------------------------------------------ */
/* Optional text banner (Theme options › Homepage banner).             */
/* Off by default — image slider stays. When enabled, it replaces it.  */
/* ------------------------------------------------------------------ */
.rb-mobile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    align-items: center;
    margin: 12px 16px 4px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF4EC 0%, #FFFFFF 70%);
    border: 1px solid #F6D2BC;
}

.rb-mobile-hero__media,
.rb-mobile-hero__media img {
    max-width: 100%;
}

.rb-mobile-hero__media img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    border-radius: 12px;
    background: #FFFFFF;
}

@media (min-width: 768px) {
    .rb-mobile-hero {
        grid-template-columns: minmax(0, 1fr) 280px;
        column-gap: 40px;
        margin: 20px 30px 8px;
        padding: 36px 48px;
        border-radius: 20px;
    }

    .rb-mobile-hero__media img {
        width: 280px;
        height: 280px;
    }
}

/* Only when the optional banner is rendered does it hide the slider */
#homepage-1 .rb-mobile-hero ~ div .ps-home-banner {
    display: none !important;
}

/* Always prefer the image slider unless that optional banner is on */
#homepage-1 .ps-home-banner {
    display: block;
}

/* Calm category tiles */
.ps-top-categories .ps-block--category {
    background: var(--rb-surface) !important;
    border: 1px solid var(--rb-border) !important;
    box-shadow: none !important;
    padding: 18px 14px 16px !important;
    border-radius: 14px !important;
}

.ps-top-categories .ps-block--category .ps-block__image,
.ps-top-categories .ps-block--category .ps-block__image img {
    margin-left: auto;
    margin-right: auto;
}

.ps-top-categories .ps-block--category .ps-block__image {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 10px !important;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 88px;
    }

    .js-site-notice {
        bottom: 64px !important;
    }

    .ps-deal-of-day .ps-countdown:not([data-time]),
    .ps-deal-of-day .ps-countdown[data-time=""] {
        display: none;
    }

    /* Duplicate theme dock under our primary mobile nav */
    .navigation--list {
        display: none !important;
    }

    /* Header: warm strip that sits under the logo orange */
    .header--mobile,
    .header--mobile .navigation--mobile,
    .header--mobile .ps-search--mobile {
        background: var(--rb-warm) !important;
    }

    .header--mobile {
        border-bottom: 2px solid var(--rb-logo) !important;
        box-shadow: 0 6px 16px rgba(253, 118, 2, 0.1) !important;
    }

    .header--mobile .ps-logo img {
        max-height: 40px !important;
    }

    .header--mobile .header__actions a,
    .header--mobile .header__actions i,
    .header--mobile .ps-block--user-header i {
        color: var(--rb-ink) !important;
    }

    .header--mobile .header__actions a:hover i,
    .header--mobile .ps-block--user-header a:hover i {
        color: var(--rb-logo) !important;
    }

    /* Search as one pill that uses logo orange */
    .header--mobile .ps-search--mobile {
        padding: 0 12px 12px !important;
    }

    .header--mobile .ps-search--mobile .form-group--nest {
        display: flex !important;
        align-items: stretch !important;
        overflow: hidden;
        border: 1.5px solid var(--rb-warm-border) !important;
        border-radius: 12px !important;
        background: #FFFFFF !important;
        box-shadow: 0 1px 2px rgba(16, 23, 30, 0.04);
    }

    .header--mobile .ps-search--mobile .form-control {
        flex: 1 1 auto !important;
        height: 44px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #FFFFFF !important;
        color: var(--rb-ink) !important;
        box-shadow: none !important;
    }

    .header--mobile .ps-search--mobile button,
    .header--mobile .ps-form--search-mobile button {
        flex: 0 0 48px !important;
        width: 48px !important;
        height: 44px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: var(--rb-logo) !important;
        color: #FFFFFF !important;
    }

    .header--mobile .ps-search--mobile button i,
    .header--mobile .ps-form--search-mobile button i {
        color: #FFFFFF !important;
    }

    /* Bottom nav: same orange as logo when active */
    .ps-rb-mobile-nav {
        background: #FFFFFF !important;
        border-top: 1px solid var(--rb-warm-border) !important;
        box-shadow: 0 -4px 14px rgba(16, 23, 30, 0.06);
    }

    .ps-rb-mobile-nav__item {
        color: #6B7280 !important;
    }

    .ps-rb-mobile-nav__item.is-active,
    .ps-rb-mobile-nav__item.is-active i {
        color: var(--rb-logo) !important;
    }

    .ps-rb-mobile-nav__count {
        background: var(--rb-logo) !important;
    }
}

/* ------------------------------------------------------------------ */
/* Auth pages — login / register redesign                              */
/* Bottom spacing lives on last-child, not on random wrappers.         */
/* ------------------------------------------------------------------ */
body:has(.ps-my-account) .ps-breadcrumb {
    display: none !important;
}

.ps-my-account {
    position: relative;
    padding: 56px 16px 72px !important;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(253, 118, 2, 0.14), transparent 60%),
        #FFF8F1 !important;
}

.ps-my-account > .container {
    position: relative;
    z-index: 1;
    max-width: 480px !important;
}

.ps-my-account .row.justify-content-center {
    margin: 0 !important;
}

.ps-my-account .col-xl-6,
.ps-my-account .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

.ps-my-account .auth-card.card,
.ps-my-account .auth-card,
.ps-form--account.auth-card,
.auth-card.card {
    max-width: 440px;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 1px solid #F0DCC8 !important;
    border-radius: 18px !important;
    background: #FFFFFF !important;
    box-shadow: 0 12px 40px rgba(124, 45, 18, 0.08) !important;
    overflow: hidden;
}

/* Header — brand signal + title */
.auth-card__header {
    padding: 36px 28px 20px !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #F5E6D8 !important;
    text-align: center !important;
}

.auth-card__header .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
}

.auth-card__header-icon {
    width: 52px !important;
    height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--rb-warm) !important;
    border: 1px solid var(--rb-warm-border) !important;
    border-radius: 14px !important;
    color: var(--rb-logo) !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.auth-card__header-icon svg,
.auth-card__header-icon .icon {
    width: 24px !important;
    height: 24px !important;
    color: var(--rb-logo) !important;
    stroke: var(--rb-logo) !important;
}

.auth-card__header-title {
    margin: 0 !important;
    color: var(--rb-ink) !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.auth-card__header-description {
    max-width: 34ch;
    margin: 8px auto 0 !important;
    color: var(--rb-muted) !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
}

/* Body — top + sides only. Bottom padding is on last-child below. */
.auth-card__body {
    padding: 24px 28px 0 !important;
    background: #FFFFFF !important;
}

.auth-card .form-label,
.auth-card label.form-label,
.ps-form--account .form-label {
    margin-bottom: 6px !important;
    color: var(--rb-ink) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}

.auth-card .form-control,
.ps-form--account .form-control {
    min-height: 46px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-radius: 10px !important;
    border: 1px solid #E5DED6 !important;
    background: #FFFFFF !important;
    color: var(--rb-ink) !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-card .form-control:focus,
.ps-form--account .form-control:focus {
    border-color: var(--rb-logo) !important;
    box-shadow: 0 0 0 3px rgba(253, 118, 2, 0.16) !important;
    background: #FFFFFF !important;
}

.auth-card .auth-input-icon {
    color: #9CA3AF !important;
    background: transparent !important;
    border: 0 !important;
}

.auth-card .mb-3 {
    margin-bottom: 16px !important;
}

.auth-card .ps-btn,
.ps-form--account .ps-btn,
.auth-card button[type="submit"],
.auth-card .d-grid .ps-btn {
    width: 100% !important;
    min-height: 48px !important;
    margin-top: 6px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--rb-logo) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 18px rgba(253, 118, 2, 0.25) !important;
}

.auth-card .ps-btn:hover,
.ps-form--account .ps-btn:hover,
.auth-card button[type="submit"]:hover,
.auth-card .d-grid .ps-btn:hover {
    background: var(--rb-action-hover) !important;
    color: #FFFFFF !important;
}

.auth-card .form-forgot,
.auth-card .ps-checkbox,
.auth-card .row.align-items-center {
    margin-top: 2px !important;
    margin-bottom: 10px !important;
}

.auth-card .form-check-label,
.auth-card .ps-checkbox label {
    color: var(--rb-muted) !important;
    font-size: 0.88rem !important;
}

.auth-card a {
    color: var(--rb-action) !important;
    font-weight: 600;
    text-decoration: none;
}

.auth-card a:hover {
    color: var(--rb-action-hover) !important;
    text-decoration: underline;
}

/* REQUIRED: card bottom breathing room lives HERE — not on body/card */
.auth-card .auth-card__body > *:last-child,
.auth-card form > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 32px !important;
}

/* Switch link (login ↔ register) as last form child */
.auth-card form > .mt-3.text-center,
.auth-card form > .text-center:last-child {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #F5E6D8;
    color: var(--rb-muted) !important;
    font-size: 0.9rem !important;
}

/* Trust strip under the form card */
.ps-my-account > .container::after {
    content: "ক্যাশ অন ডেলিভারি  ·  ঢাকায় ৳70  ·  বাইরে ৳130";
    display: block;
    max-width: 440px;
    margin: 20px auto 0;
    padding: 10px 14px;
    border: 1px solid #F0DCC8;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: #9A3412;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
}

@media (max-width: 575px) {
    .ps-my-account {
        padding: 28px 12px 48px !important;
    }

    .auth-card__header {
        padding: 28px 20px 16px !important;
    }

    .auth-card__body {
        padding: 20px 20px 0 !important;
    }

    .auth-card .auth-card__body > *:last-child,
    .auth-card form > *:last-child,
    .auth-card form > .mt-3.text-center,
    .auth-card form > .text-center:last-child {
        padding-bottom: 28px !important;
    }

    .ps-my-account > .container::after {
        font-size: 0.76rem;
        padding: 9px 10px;
    }
}

/* Generic content cards that were flush to edges */
.ps-card,
.ps-block--vendor-status,
.ps-section--account-setting .ps-section__content,
.customer-profile .card,
.dashboard-content .card {
    padding: 20px 24px !important;
    border-radius: 14px !important;
}

/* Cart drawer polish on desktop */
/* Transforms and aria-hidden alone do not remove descendant tab stops. */
#ps-cart-drawer[hidden] {
    display: none !important;
}

.ps-cart-drawer {
    box-shadow: -12px 0 40px rgba(16, 23, 30, 0.18);
}

.ps-cart-drawer__header {
    padding: 18px 20px !important;
    border-bottom: 1px solid var(--rb-border);
}

.ps-cart-drawer__body {
    padding: 16px 18px 24px !important;
}

/* Shared drawer controls also render in the mobile cart panel. */
.rb-cart-line-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--rb-border);
    border-radius: 10px;
    margin: 8px 0;
    overflow: hidden;
}

.rb-cart-line-quantity button,
.rb-cart-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: var(--rb-surface);
    color: var(--rb-ink);
    cursor: pointer;
}

.rb-cart-line-quantity output {
    min-width: 36px;
    text-align: center;
    font-weight: 700;
}

.rb-cart-line-quantity button:disabled,
.rb-cart-remove:disabled {
    opacity: .45;
    cursor: wait;
}

.rb-cart-line-quantity button:focus-visible,
.rb-cart-remove:focus-visible,
.rb-product-cart-status:focus-visible {
    outline: 2px solid var(--rb-brand);
    outline-offset: -3px;
}

.rb-product-cart-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

.rb-product-cart-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--rb-warm-border);
    border-radius: 10px;
    background: var(--rb-warm);
    color: var(--rb-ink);
    overflow: hidden;
    max-width: 100%;
}

.rb-product-cart-stepper button {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.rb-product-cart-adjust {
    min-width: 44px;
    padding: 4px 12px;
    font-size: 20px;
}

.rb-product-cart-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-inline: 1px solid var(--rb-warm-border) !important;
}

.rb-product-cart-adjust:disabled {
    opacity: .45;
    cursor: wait;
}

.rb-product-cart-stepper button:focus-visible {
    outline: 2px solid var(--rb-brand);
    outline-offset: -3px;
}

.rb-product-cart-options {
    display: block;
    margin-bottom: 5px;
    color: var(--rb-muted);
}

.rb-product-cart-options[hidden] {
    display: none;
}

.rb-product-cart-status[hidden] {
    display: none;
}

.header--mobile-product .header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header--product .ps-product__shopping .ps-header-cart {
    flex: 0 0 44px;
    margin-left: 16px;
}

/* bust 2026-09-27T23:00:00+06:00 auth last-child padding v2 */


/* contrast-bust 2026-09-30e */


/* outline-contrast-bust 2026-09-30f */

/* ------------------------------------------------------------------ */
/* Search / shop layout polish + Ras AI panel                          */
/* ------------------------------------------------------------------ */
html,
body {
    overflow-x: hidden !important;
    max-width: 100%;
}

.ps-page--shop,
.ps-shopping,
.ps-shopping-product,
.ps-products-listing,
.ps-tabs.ps-products-listing {
    max-width: 100% !important;
    overflow-x: visible !important;
}

/*
 * Shop listing: sidebar + product grid must share one row.
 * Previously .ps-layout__right was max-width:100% of the viewport *beside*
 * the filter column, so column 4 was clipped (~14% visible) and looked like
 * the card continued on the next row.
 */
.ps-layout--shop {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: flex-start;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow-x: visible !important;
}

.ps-layout--shop > * {
    width: auto !important; /* beat theme `> * { width: 100% }` */
}

.ps-layout--shop > .ps-layout__left {
    flex: 0 0 300px !important;
    width: 300px !important;
    min-width: 0 !important;
    max-width: 300px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
}

.ps-layout--shop > .ps-layout__right {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 300px) !important;
    overflow-x: visible !important;
    box-sizing: border-box;
}

/* Theme forces .container { min-width: 1230px } which overflows shop pages. */
.ps-page--shop .ps-container,
.ps-page--shop .container,
body.ps-page--shop .container,
.ps-layout--shop {
    min-width: 0 !important;
}

/*
 * With the filter sidebar, 4×25% cards still feel cramped under ~1500px.
 * Use 3 full columns until there is real room for 4.
 */
.ps-layout--shop .ps-shopping-product .row,
.ps-layout--shop .ps-products-listing .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
}

.ps-layout--shop .ps-shopping-product .row > [class*="col-"],
.ps-layout--shop .ps-products-listing .row > [class*="col-"] {
    display: flex !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-bottom: 12px !important;
}

.ps-layout--shop .ps-shopping-product .row > [class*="col-"] > .ps-product,
.ps-layout--shop .ps-products-listing .row > [class*="col-"] > .ps-product {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .ps-layout--shop .ps-shopping-product .row > [class*="col-"],
    .ps-layout--shop .ps-products-listing .row > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .ps-layout--shop .ps-shopping-product .row > [class*="col-"],
    .ps-layout--shop .ps-products-listing .row > [class*="col-"] {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

@media (min-width: 1200px) {
    .ps-layout--shop .ps-shopping-product .row > [class*="col-"],
    .ps-layout--shop .ps-products-listing .row > [class*="col-"] {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

@media (min-width: 1500px) {
    .ps-layout--shop .ps-shopping-product .row > [class*="col-"],
    .ps-layout--shop .ps-products-listing .row > [class*="col-"] {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}

@media (max-width: 1199px) {
    .ps-layout--shop {
        flex-flow: column-reverse wrap !important;
    }

    .ps-layout--shop > .ps-layout__left,
    .ps-layout--shop > .ps-layout__right {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
    }
}

/* Kill the sticky sidebar vertical scrollbar the shop filters grew. */
.ps-layout--shop > .ps-layout__left,
.ps-layout--shop > .ps-layout__left-container,
.ps-layout--shop .ps-layout__left-content {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.ps-layout--shop > .ps-layout__left::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.ps-page--shop {
    padding-bottom: 28px !important;
}

.ps-page--shop .ps-shop-heading {
    margin: 8px 0 10px !important;
}

.ps-page--shop .ps-shopping > .bg-light {
    margin-bottom: 10px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.ps-page--shop .ps-shopping-product {
    min-height: 0 !important;
    margin-bottom: 8px !important;
}

.ps-page--shop .ps-pagination {
    margin: 8px 0 12px !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.ps-page--shop .ps-pagination:empty,
.ps-page--shop .ps-pagination:has(ul:empty),
.ps-page--shop .ps-pagination:not(:has(li)) {
    display: none !important;
}

.ps-page--shop .ps-block--shop-features {
    margin-top: 28px !important;
    padding-top: 8px;
}

.ps-page--shop .ps-block--shop-features .ps-block__header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--rb-ui-line, #e5e9ee);
    background: transparent !important;
}

.ps-page--shop .ps-block--shop-features .ps-block__header h3 {
    margin: 0 !important;
    color: var(--rb-ui-ink, #19202b) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

.ps-page--shop .ps-block--shop-features .ps-block__navigation {
    display: inline-flex;
    gap: 8px;
}

.ps-page--shop .ps-block--shop-features .ps-block__navigation a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--rb-ui-line, #e5e9ee);
    border-radius: 8px;
    background: #fff;
    color: var(--rb-ui-ink, #19202b);
    text-decoration: none;
}

.ps-page--shop .ps-block--shop-features .ps-block__navigation a:hover {
    border-color: var(--rb-ui-accent, #ed6b00);
    color: var(--rb-ui-accent, #ed6b00);
}

.ps-page--shop .ps-shop-heading {
    margin: 4px 0 12px !important;
    color: var(--rb-ui-ink, #19202b) !important;
    font-size: 22px !important;
    font-weight: 750 !important;
    line-height: 1.25;
}

.ps-page--shop .ps-shop-brand {
    margin: 8px 0 16px !important;
}

/* Product rails: equal-height cards, no stair-step, arrows over dots. */
.ps-carousel--responsive.owl-carousel .owl-stage,
.ps-carousel--nav.owl-carousel .owl-stage,
.ps-product-list .owl-stage,
#recommended-products.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.ps-carousel--responsive.owl-carousel .owl-item,
.ps-carousel--nav.owl-carousel .owl-item,
.ps-product-list .owl-item,
#recommended-products.owl-carousel .owl-item {
    display: flex !important;
    float: none !important;
    height: auto !important;
}

.ps-carousel--responsive.owl-carousel .owl-item > .ps-product,
.ps-carousel--nav.owl-carousel .owl-item > .ps-product,
.ps-product-list .owl-item > .ps-product,
#recommended-products.owl-carousel .owl-item > .ps-product {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-bottom: 0 !important;
}

.ps-carousel--responsive .owl-dots,
.ps-block--shop-features .owl-dots,
#recommended-products .owl-dots {
    display: none !important;
}

.ps-page--shop .widget_shop {
    margin-bottom: 18px !important;
}

.ps-page--shop .widget_shop .widget-title {
    margin-bottom: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Ras AI — search strip */
.ras-ai-panel {
    margin: 0 0 14px;
    padding: 14px 16px 16px;
    border: 1px solid #fdba74;
    border-radius: 16px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(253, 186, 116, 0.28), transparent 55%),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 70%);
    box-shadow: 0 10px 28px rgba(194, 65, 12, 0.06);
    overflow: visible !important;
    max-height: none !important;
}

.ras-ai-panel__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.ras-ai-panel__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ea580c;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ras-ai-panel__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ras-ai-panel__copy strong {
    color: #9a3412;
    font-size: 16px;
    line-height: 1.3;
}

.ras-ai-panel__copy span {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
}

.ras-ai-panel__assist {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #fed7aa;
}

.ras-ai-panel__assist-msg {
    margin: 0 0 8px;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.ras-ai-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ras-ai-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #fdba74;
    background: #fff;
    color: #c2410c !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ras-ai-chip:hover,
.ras-ai-chip:focus-visible {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #fff !important;
}

.ras-ai-ask__label {
    display: block;
    margin: 0 0 8px;
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
}

.ras-ai-ask__row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ras-ai-ask__input {
    flex: 1 1 220px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
}

.ras-ai-ask__input:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.ras-ai-ask__btn {
    min-height: 46px !important;
    padding-inline: 18px !important;
    border-radius: 12px !important;
}

.ras-ai-ask__summary {
    margin: 10px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.ras-ai-ask__summary[hidden] {
    display: none !important;
}

.ras-ai-product {
    height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ras-ai-product:hover {
    border-color: #fdba74;
    box-shadow: 0 10px 24px rgba(194, 65, 12, 0.08);
}

.ras-ai-product__link {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
}

.ras-ai-product__thumb {
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    display: grid;
    place-items: center;
    position: relative;
}

.ras-ai-product__stock-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.ras-ai-product__meta {
    margin: 6px 0 4px;
}

.ps-product__stock-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.ps-product__stock-pill.is-in {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.ps-product__stock-pill.is-out {
    background: #111827;
    color: #fff;
    border: 1px solid #111827;
}

.ps-product--search-result.is-out-of-stock,
.ps-product.is-out-of-stock,
.ras-ai-product.is-out-of-stock {
    opacity: 0.92;
}

.ps-product--search-result .ps-product__search-meta {
    margin: 4px 0 6px;
}

.ps-product--search-result.is-out-of-stock .ps-product__title {
    color: #6b7280;
}

/* search-stock-bust 2026-09-30i */

.ras-ai-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ras-ai-product__body {
    padding: 12px 12px 14px;
}

.ras-ai-product__badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-bottom: 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ras-ai-product__title {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.ras-ai-product__price {
    margin-top: 8px;
    color: #ea580c;
    font-weight: 800;
    font-size: 16px;
}

.ras-ai-panel {
    margin: 0 0 12px;
    padding: 12px 14px 14px;
    overflow: visible !important;
    max-height: none !important;
}

.ps-page--shop .ps-shopping > .bg-light {
    margin-bottom: 8px !important;
}

/* search-examples-bust 2026-09-30j */

.ras-ai-ask__results {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.ras-ai-ask__hit {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit !important;
    background: #fff;
}

.ras-ai-ask__hit img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
}

.ras-ai-ask__hit strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    color: #111827;
}

.ras-ai-ask__hit em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    color: #ea580c;
    font-weight: 700;
    font-size: 13px;
}

.ras-ai-ask__empty,
.ras-ai-recover__msg {
    color: #6b7280;
    font-size: 14px;
}

.ras-ai-recover {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
}

.ps-rb-empty-listing {
    margin: 12px 0 20px !important;
}

/* search-ai-bust 2026-09-30g */

/* Accessible carousel targets retain the small visual dots. */
.owl-carousel .owl-dots .owl-dot { min-width: 24px; min-height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.owl-carousel .owl-dots .owl-dot span { margin: 0; }
.ps-countdown li span { background-color: #c2410c !important; }
.ps-product .ps-product__price del { color: #6b7280 !important; }

/* ------------------------------------------------------------------ */
/* Mobile bottom navigation — line icons, readable cart badge          */
/* The old rule ".ps-rb-mobile-nav__item i { font-size: 22px }" also   */
/* hit the <i> count bubble, so the number was clipped inside a 16px   */
/* circle. The count is now a <span> sized here.                       */
/* ------------------------------------------------------------------ */
@media (max-width: 991px) {
    .ps-rb-mobile-nav {
        align-items: stretch;
        height: auto;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom)) !important;
        background: rgba(255, 255, 255, 0.96) !important;
        -webkit-backdrop-filter: saturate(180%) blur(14px);
        backdrop-filter: saturate(180%) blur(14px);
        border-top: 1px solid rgba(17, 24, 39, 0.06) !important;
        box-shadow: 0 -6px 24px rgba(17, 24, 39, 0.08) !important;
    }

    .ps-rb-mobile-nav__item {
        gap: 3px !important;
        padding: 4px 2px !important;
        min-height: 52px;
        border-radius: 14px;
        color: #6B7280 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: 0;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.15s ease;
    }

    .ps-rb-mobile-nav__icon {
        position: relative;
        display: grid;
        place-items: center;
        width: 46px;
        height: 30px;
        border-radius: 999px;
        transition: background-color 0.2s ease;
    }

    .ps-rb-mobile-nav__icon svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ps-rb-mobile-nav__label {
        line-height: 1.2;
        white-space: nowrap;
    }

    .ps-rb-mobile-nav__item.is-active {
        color: var(--rb-logo, #FD7602) !important;
    }

    .ps-rb-mobile-nav__item.is-active .ps-rb-mobile-nav__icon {
        background: rgba(253, 118, 2, 0.12);
    }

    .ps-rb-mobile-nav__item.is-active .ps-rb-mobile-nav__icon svg {
        stroke-width: 2.1;
    }

    .ps-rb-mobile-nav__item:active .ps-rb-mobile-nav__icon {
        background: rgba(17, 24, 39, 0.06);
    }

    .ps-rb-mobile-nav .ps-rb-mobile-nav__count {
        position: absolute;
        top: -5px;
        left: 26px;
        right: auto;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border-radius: 999px;
        background: #E11D48 !important;
        box-shadow: 0 0 0 2px #FFFFFF, 0 2px 6px rgba(225, 29, 72, 0.35);
        color: #FFFFFF;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
        font-size: 11.5px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px;
        text-align: center;
        font-variant-numeric: tabular-nums;
    }

    .ps-rb-mobile-nav .ps-rb-mobile-nav__count.is-bump {
        animation: rb-count-bump 0.35s ease;
    }

    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom)) !important;
    }

    /* Cookie notice: a compact card above the bar instead of a black slab. */
    .js-site-notice.site-notice {
        left: 10px !important;
        right: 10px !important;
        bottom: calc(76px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        padding: 12px 14px !important;
        border-radius: 16px !important;
        background: #1F2937 !important;
        box-shadow: 0 12px 32px rgba(17, 24, 39, 0.28) !important;
    }

    .js-site-notice .site-notice__inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 0 !important;
    }

    .js-site-notice .site-notice__message {
        flex: 1;
        margin: 0 !important;
        color: #E5E7EB !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }

    .js-site-notice .site-notice__message a {
        color: #FDBA74 !important;
        font-weight: 600;
    }

    .js-site-notice .site-notice__actions {
        flex: none;
        margin: 0 !important;
    }

    .js-site-notice .site-notice__agree {
        width: auto !important;
        min-height: 40px;
        padding: 0 16px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: var(--rb-logo, #FD7602) !important;
        color: #FFFFFF !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        white-space: nowrap;
    }
}

@keyframes rb-count-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Mobile cart panel: dark product names instead of default blue links, clearer rows. */
@media (max-width: 991px) {
    .ps-panel--sidebar .ps-panel__header h3,
    .ps-cart-drawer .ps-cart-drawer__header h3 {
        font-size: 17px !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .ps-cart--mobile .ps-product--cart-mobile {
        align-items: flex-start;
        padding: 14px 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #F1F2F4;
    }

    .ps-cart--mobile .ps-product--cart-mobile .ps-product__thumbnail img {
        border: 1px solid #EEF0F2;
        border-radius: 12px;
        background: #FFFFFF;
    }

    .ps-cart--mobile .ps-product--cart-mobile .ps-product__content > a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        padding-right: 26px;
        color: #111827 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }

    .ps-cart--mobile .ps-product--cart-mobile .ps-product__content > p:first-of-type small {
        color: #6B7280;
        font-size: 13px;
    }

    .ps-cart--mobile .ps-product--cart-mobile .cart-price {
        color: #111827;
        font-weight: 700;
    }

    .ps-cart--mobile .ps-product--cart-mobile .sold-by small {
        color: #9CA3AF;
        font-size: 12px;
    }

    .ps-cart--mobile .ps-product--cart-mobile .ps-product__remove {
        color: #9CA3AF !important;
    }
}

/* Product page (phone): the sticky Add to cart / Buy now bar wrapped "কার্টে যোগ করুন"
   onto two lines (45px side padding in a half-width button), and the header cart
   count was a bare 22px digit. Two equal rounded buttons and a real badge. */
@media (max-width: 991px) {
    .navigation--mobile-product {
        gap: 10px !important;
        height: auto !important;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
        background: rgba(255, 255, 255, 0.97) !important;
        border-top: 1px solid rgba(17, 24, 39, 0.06) !important;
        box-shadow: 0 -6px 24px rgba(17, 24, 39, 0.08) !important;
    }

    .navigation--mobile-product .ps-btn {
        flex: 1 1 0 !important;
        min-width: 0;
        height: 50px !important;
        padding: 0 10px !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        white-space: nowrap !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    .navigation--mobile-product .ps-btn--black {
        border-width: 1.5px !important;
    }

    .header--mobile .header__extra > span {
        top: 3px !important;
        right: 1px !important;
        left: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 999px;
        background: #E11D48 !important;
        box-shadow: 0 0 0 2px #FFFFFF;
    }

    .header--mobile .navigation--mobile .header__actions .header__extra > span > i {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        font-size: 11px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        color: #FFFFFF !important;
    }

    .header--mobile .header__extra > span:has(> i.is-empty) {
        display: none !important;
    }
}

/* Phones: cart success messages (Toastify) slid up from the bottom, out from under
   the bottom nav / sticky buy bar, and sat right against them. Show them at the top
   instead: a card that drops in and fades, clear of both bars (tap × to close). */
@media (max-width: 991px) {
    .toastify {
        top: calc(10px + env(safe-area-inset-top)) !important;
        bottom: auto !important;
        left: 12px !important;
        right: 12px !important;
        margin: 0 !important;
        max-width: none !important;
        z-index: 10060 !important;
        border-radius: 14px !important;
        box-shadow: 0 12px 30px rgba(17, 24, 39, 0.28) !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
        transform: translateY(-14px);
        transition: opacity 0.25s ease, transform 0.25s ease !important;
    }

    .toastify.on {
        transform: none;
    }

    .navigation--mobile-product .ps-btn--black.rb-added {
        background: #ECFDF3 !important;
        border-color: #16A34A !important;
        color: #15803D !important;
        gap: 6px;
    }
}

/* ------------------------------------------------------------------ */
/* Product page delivery box: charge, arrival dates, COD, returns      */
/* ------------------------------------------------------------------ */
.rb-delivery-box {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #FDE2CC;
    border-radius: 14px;
    background: #FFF8F2;
}

.rb-delivery-box__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rb-delivery-box__icon {
    flex: none;
    margin-top: 1px;
    color: var(--rb-logo, #FD7602);
}

.rb-delivery-box__lines {
    display: grid;
    gap: 3px;
}

.rb-delivery-box p {
    margin: 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.45;
}

.rb-delivery-box strong {
    margin-right: 4px;
    color: #111827;
    font-weight: 700;
}

.rb-delivery-box [data-rb-eta] {
    color: #15803D;
    font-weight: 600;
}

/* Phones: price, stock and the delivery promise first; the sticky bar already
   carries Add to cart / Buy now, so the in-page copies are hidden. */
@media (max-width: 991px) {
    .ps-page--product .ps-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .ps-product--detail .ps-product__thumbnail {
        margin-bottom: 16px !important;
    }

    .ps-product--detail .ps-product__info > * {
        order: 20 !important;
    }

    .ps-product--detail .ps-product__info > h1 {
        order: 0 !important;
        margin: 0 0 6px !important;
        font-size: 20px !important;
        line-height: 1.35 !important;
    }

    .ps-product--detail .ps-product__info > .ps-product__meta {
        order: 1 !important;
        margin: 0 0 2px !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .ps-product--detail .ps-product__info > .ps-product__price {
        order: 2 !important;
        margin: 4px 0 2px !important;
        font-size: 26px !important;
    }

    .ps-product--detail .ps-product__info > .add-to-cart-form {
        display: contents;
    }

    .ps-product--detail .ps-product__info > .add-to-cart-form > * {
        order: 6 !important;
    }

    .ps-product--detail .ps-product__info > .add-to-cart-form > .number-items-available {
        order: 3 !important;
        margin: 0 0 12px !important;
        font-weight: 600;
    }

    .ps-product--detail .ps-product__info > .ps-product__countdown {
        order: 4 !important;
    }

    .ps-product--detail .ps-product__info > .rb-delivery-box {
        order: 5 !important;
    }

    .ps-product--detail .ps-product__info > .add-to-cart-form > .rb-product-cart-status {
        order: 7 !important;
        margin-bottom: 12px;
    }

    .ps-product--detail .ps-product__info > .add-to-cart-form > .ps-product__shopping {
        order: 8 !important;
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: center !important;
        gap: 12px;
        margin: 0 0 12px !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .ps-product--detail .ps-product__info .ps-product__shopping > figure {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        gap: 12px;
        margin: 0 !important;
    }

    .ps-product--detail .ps-product__info .ps-product__shopping > figure > figcaption {
        margin: 0 !important;
        color: #374151;
        font-weight: 600;
    }

    .ps-product--detail .ps-product__info .ps-product__shopping .product__qty {
        width: 132px !important;
        margin: 0 !important;
    }

    .ps-product--detail .ps-product__info .ps-product__shopping > .ps-product__add-to-cart,
    .ps-product--detail .ps-product__info .ps-product__order-now .ps-order-now__buy {
        display: none !important;
    }

    .ps-product--detail .ps-product__info > .add-to-cart-form > .ps-product__order-now {
        order: 9 !important;
        gap: 8px !important;
        margin: 0 0 18px !important;
    }

    .ps-product--detail .ps-product__info .ps-order-now__whatsapp,
    .ps-product--detail .ps-product__info .ps-order-now__messenger {
        min-height: 44px;
        padding: 8px 12px !important;
        border-radius: 12px !important;
        font-size: 14px !important;
    }

    .ps-product--detail .ps-product__info > .ps-product__key-info {
        order: 10 !important;
    }

    .ps-product--detail .ps-product__info > .ps-product__desc {
        order: 11 !important;
    }

    .ps-product--detail .ps-product__info > .ps-product__specification {
        order: 12 !important;
    }

    .ps-product--detail .ps-product__info > .ps-product__specification > p:first-child {
        display: none !important;
    }

    .ps-product--detail .ps-product__info > .ps-product__sharing {
        order: 13 !important;
    }
}

/* Phones: when the product is already in the cart, its cart counter is the one quantity
   control (the "Quantity" picker would add more on top), and stock is not repeated. */
@media (max-width: 991px) {
    .ps-product--detail .ps-product__info .rb-product-cart-status:not([hidden]) ~ .ps-product__shopping {
        display: none !important;
    }

    .ps-product--detail .ps-product__info .ps-product__key-info-row:has(> .text-success),
    .ps-product--detail .ps-product__info .ps-product__key-info-row:has(> .text-danger) {
        display: none !important;
    }

    .ps-product--detail .ps-product__info .ps-product__shopping .product__qty {
        overflow: hidden;
        border: 1px solid #E5E7EB !important;
        border-radius: 12px !important;
        background: #FFFFFF;
    }
}

/* ------------------------------------------------------------------ */
/* Home on phones: products in the first screens. Categories become    */
/* one swipe row and the generic ad banners move below the products.   */
/* ------------------------------------------------------------------ */
@media (max-width: 991px) {
    #homepage-1 > #app > .ck-content {
        display: flex;
        flex-direction: column;
    }

    #homepage-1 > #app > .ck-content > * {
        order: 5;
    }

    #homepage-1 > #app > .ck-content > .ps-home-banner {
        order: 0;
    }

    #homepage-1 > #app > .ck-content > .ps-top-categories {
        order: 1;
        margin: 18px 0 4px !important;
    }

    #homepage-1 > #app > .ck-content > .ps-product-list {
        order: 2;
        margin-top: 14px !important;
    }

    #homepage-1 > #app > .ck-content > .ps-home-ads {
        order: 6;
    }

    #homepage-1 .ps-top-categories h3 {
        margin: 0 0 12px !important;
        font-size: 18px !important;
    }

    #homepage-1 .ps-top-categories__strip {
        display: flex !important;
        gap: 6px !important;
        margin: 0 -15px !important;
        padding: 2px 15px 8px !important;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #homepage-1 .ps-top-categories__strip::-webkit-scrollbar {
        display: none;
    }

    #homepage-1 .ps-top-categories__strip > .ps-block--category {
        position: relative;
        flex: 0 0 78px;
        width: 78px !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        scroll-snap-align: start;
    }

    #homepage-1 .ps-top-categories__strip .ps-block__image {
        width: 64px !important;
        height: 64px !important;
        margin: 0 auto 6px !important;
        overflow: hidden;
        border: 1px solid #F1E3D6;
        border-radius: 18px !important;
        background: #FFF7F0;
    }

    #homepage-1 .ps-top-categories__strip .ps-block__image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    #homepage-1 .ps-top-categories__strip .ps-block--category p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        margin: 0 !important;
        padding: 0 !important;
        color: #1F2937;
        font-size: 12px !important;
        font-weight: 600;
        line-height: 1.3 !important;
        text-align: center;
    }
}

/* Home banner on phones: the slides are 800x273 images, but the frame was 768:500,
   so each banner sat letterboxed in empty space. Match the frame to the images. */
@media (max-width: 767px) {
    #homepage-1 .ps-home-banner .ps-section__left {
        aspect-ratio: 800 / 273 !important;
        margin-bottom: 12px !important;
    }

    #homepage-1 > #app > .ck-content > .ps-home-banner {
        margin-bottom: 4px !important;
    }
}

/* Product list on phones: Filter and Sort share one row and the Ras AI search becomes a
   single line (its placeholder already explains it), so products start near the top. */
@media (max-width: 767px) {
    #homepage-1 .ps-top-categories__strip {
        scroll-padding-left: 15px;
    }

    .ps-shopping > .bg-light {
        margin-bottom: 10px !important;
        padding: 8px 0 !important;
        border-radius: 12px;
    }

    .ps-shopping > .bg-light .row {
        flex-wrap: nowrap;
        align-items: center;
    }

    .ps-shopping > .bg-light .row > div:not(.d-none) {
        flex: 1 1 50%;
        max-width: 50%;
    }

    .ps-shopping > .bg-light .header__filter {
        margin: 0 !important;
    }

    .ps-shopping > .bg-light .header__filter button {
        width: 100%;
        height: 40px;
        border-radius: 10px;
    }

    .ps-shopping > .bg-light .select2-container {
        width: 100% !important;
        max-width: 100%;
    }

    .ras-ai-panel {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 10px;
        margin-bottom: 12px !important;
        padding: 10px 12px !important;
    }

    .ras-ai-panel > .ras-ai-panel__head {
        flex: none;
        margin: 0 !important;
    }

    .ras-ai-panel .ras-ai-panel__copy,
    .ras-ai-panel .ras-ai-ask__label {
        display: none !important;
    }

    .ras-ai-panel > .ras-ai-panel__assist {
        order: 3;
        flex: 1 1 100%;
    }

    .ras-ai-panel > .ras-ai-ask {
        flex: 1 1 0;
        min-width: 0;
        margin: 0 !important;
    }
}

/* Phones: Sort fills its half of the toolbar like the Filter button; the grid/list
   switch is dropped (two-column grid is the phone layout). */
@media (max-width: 767px) {
    .ps-shopping > .bg-light .ps-shopping__view {
        display: none !important;
    }

    .ps-shopping > .bg-light .row > div:not(.d-none) > .d-flex {
        width: 100%;
    }

    .ps-shopping > .bg-light .select2-container .select2-selection--single {
        display: flex;
        align-items: center;
        height: 40px !important;
        border: 1px solid #E5E7EB !important;
        border-radius: 10px !important;
        background: #FFFFFF;
    }

    .ps-shopping > .bg-light .select2-container .select2-selection__rendered {
        padding-left: 12px !important;
        line-height: 40px !important;
    }

    .ps-shopping > .bg-light .select2-container .select2-selection__arrow {
        top: 10px !important;
        right: 8px !important;
    }
}
