/* ══════════════════════════════════════════════════════════════════════════
   The shop's listing, product card and product page laid out like the sample storefront (raboteb.co):
   light surfaces with soft green borders, a filter column beside a three-column grid, large white cards with a
   brand line and a square green add button, and a product page with the details on the right, the photos on the
   left and the information in tabs. Loaded after store.css, theme.css and shop-extras.css; scoped to .rb-site.
   ══════════════════════════════════════════════════════════════════════════ */

.rb-site {
    /* Follows the store colour set in ERP (فروشگاه‌ها › رنگ برند), which drives --primary; RaboTeb green by default. */
    --sx-ink: color-mix(in srgb, var(--primary, #208d44) 40%, #0a1f17);
    --sx-text: #203c2d;
    --sx-muted: #66786b;
    --sx-faint: #819084;
    --sx-line: #e1e8dc;
    --sx-line-2: #edf0e9;
    --sx-soft: color-mix(in srgb, var(--primary, #208d44) 9%, #fff);
    --sx-soft-line: color-mix(in srgb, var(--primary, #208d44) 22%, #fff);
    --sx-green: var(--primary);
}

/* ── Breadcrumb ── */
.rb-site .sx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 1.7rem; font-size: 12px; color: var(--sx-muted); }
.rb-site .sx-crumbs a { color: var(--sx-muted); }
.rb-site .sx-crumbs a:hover { color: var(--sx-green); }
.rb-site .sx-crumbs .ti { font-size: 13px; opacity: .7; }
.rb-site .sx-crumbs [aria-current] { color: var(--sx-text); }

/* ── Listing: heading ── */
.rb-site .sx-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 36px 0 29px; }
.rb-site .sx-eyebrow { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--sx-muted); }
.rb-site .sx-heading h1 { margin: 0; font-size: 34px; line-height: 1.6; color: var(--sx-ink); font-family: font-extra-bold, tahoma, serif; }
.rb-site .sx-heading p { max-width: 650px; margin: 10px 0 0; font-size: 14px; line-height: 2; color: var(--sx-muted); }
.rb-site .sx-brand-site { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-size: 13px; color: var(--sx-green); }
.rb-site .sx-heading-logo { flex: 0 0 160px; height: 120px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--sx-line); display: grid; place-items: center; }
.rb-site .sx-heading-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ── Listing: result bar and chips ── */
.rb-site .sx-toolbar { display: flex; align-items: center; gap: 18px; min-height: 64px; margin-bottom: 22px; border-top: 1px solid #dfe6db; border-bottom: 1px solid #dfe6db; }
.rb-site .sx-count { font-size: 13px; color: #637466; }
.rb-site .sx-count strong { color: #173d2c; font-weight: 700; }
.rb-site .sx-count span { font-size: 12px; color: #7a887e; }
.rb-site .sx-sort { margin-inline-start: auto; }
.rb-site .sx-sort label { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 12px; color: var(--sx-muted); }
.rb-site .sx-sort .form-select { min-height: 40px; width: auto; padding-block: .35rem; font-size: 13px; border-radius: 10px; border-color: var(--sx-line); }
.rb-site .sx-clear-all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 12px; color: #6b7b70; }
.rb-site .sx-clear-all:hover { color: var(--rb-hot, #c0392b); }
.rb-site .sx-filter-toggle { display: none; }
.rb-site .sx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.rb-site .sx-chips a { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 9px 12px; border-radius: 8px; font-size: 12px; color: #275c38; background: var(--sx-soft); border: 1px solid var(--sx-soft-line); }
.rb-site .sx-chips a:hover { border-color: var(--sx-green); }

/* ── Listing: filter column ── */
.rb-site .sx-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 28px; align-items: start; }
.rb-site .sx-filters { position: sticky; top: calc(var(--st-header-h, 130px) + 18px); padding: 0 17px 10px; background: #fff; border: 1px solid var(--sx-line); border-radius: 14px; box-shadow: 0 5px 15px rgba(20, 57, 45, .01); }
.rb-site .sx-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid #e8ede4; }
.rb-site .sx-filters-head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; font-weight: 700; color: var(--sx-ink); }
.rb-site .sx-filters-close { display: none; }
.rb-site .sx-filters-done { display: none !important; } /* .btn's own display is !important */
.rb-site .sx-group { padding: 0 0 14px; border-bottom: 1px solid #e8ede4; }
.rb-site .sx-group:last-of-type { border-bottom: 0; }
.rb-site .sx-group > summary { display: flex; align-items: center; justify-content: space-between; padding: 17px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--sx-text); }
.rb-site .sx-group > summary::-webkit-details-marker { display: none; }
.rb-site .sx-group > summary .ti { transition: transform .2s; }
.rb-site .sx-group:not([open]) > summary .ti { transform: rotate(90deg); }
.rb-site .sx-find { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 0 9px; border: 1px solid #e2e8dc; border-radius: 8px; color: #7b8a7c; }
.rb-site .sx-find[hidden] { display: none; }
.rb-site .sx-find input { flex: 1; min-width: 0; min-height: 38px; padding: 7px 0; border: 0; background: none; outline: 0; font-size: 12px; }
.rb-site .sx-options { max-height: 294px; overflow: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.rb-site .sx-brands { max-height: 260px; }
.rb-site .sx-opt { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 5px; padding-inline-start: calc(5px + var(--d, 0) * 14px); border-radius: 6px; font-size: 12px; line-height: 1.85; color: var(--sx-text); }
.rb-site .sx-opt:hover { background: #f5f9f3; color: var(--sx-text); }
.rb-site .sx-opt.is-on { background: var(--sx-soft); color: #215d36; font-weight: 600; }
.rb-site .sx-opt[hidden] { display: none; }
.rb-site .sx-radio { flex: 0 0 16px; width: 16px; height: 16px; border: 1px solid #cbd6c5; border-radius: 5px; background: #fff; }
.rb-site .sx-opt.is-on .sx-radio { border: 4px solid var(--sx-green); }
.rb-site .sx-opt-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-site .sx-brand-logo, .rb-site .sx-monogram { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; order: 3; margin-inline-start: auto; }
.rb-site .sx-brand-logo { object-fit: contain; background: #fff; border: 1px solid var(--sx-line-2); }
.rb-site .sx-monogram { display: grid; place-items: center; background: #e1ebd8; color: var(--sx-ink); font-weight: 700; }
.rb-site .sx-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .6rem; }
.rb-site .sx-price label { display: flex; flex-direction: column; gap: .25rem; font-size: 12px; color: var(--sx-muted); }
.rb-site .sx-price .form-control { min-height: 38px; font-size: 13px; border-radius: 8px; }
.rb-site .sx-check { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; font-size: 12px; color: var(--sx-text); }

/* ── Listing: search and grid ── */
.rb-site .sx-main { min-width: 0; }
.rb-site .sx-search { display: flex; align-items: center; gap: .5rem; min-height: 51px; margin-bottom: 22px; padding: 0 15px; background: #fff; border: 1px solid #dfe7d8; border-radius: 11px; }
.rb-site .sx-search:focus-within { border-color: var(--sx-green); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--sx-green) 14%, transparent); }
.rb-site .sx-search input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; outline: 0; font-size: 14px; color: var(--sx-text); }
.rb-site .sx-search button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 .25rem; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--sx-green); }
.rb-site .sx-grid.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rb-site .sx-empty { padding: 3rem 1rem; text-align: center; background: #fff; border: 1px solid var(--sx-line); border-radius: 16px; color: var(--sx-muted); }
.rb-site .sx-empty > .ti { font-size: 2.5rem; color: #b9c8bd; }
.rb-site .sx-empty h2 { margin: .5rem 0; font-size: 1.1rem; color: var(--sx-ink); }
.rb-site .sx-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 32px 0; }
.rb-site .sx-pages a { display: grid; place-items: center; width: 42px; min-width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--sx-line); color: var(--sx-text); font-size: 13px; }
.rb-site .sx-pages a:hover { border-color: var(--sx-green); color: var(--sx-green); }
.rb-site .sx-pages a.is-on { color: #fff; background: var(--sx-green); border-color: var(--sx-green); }
.rb-site .sx-gap { color: var(--sx-faint); }

/* ── Product card ── */
.rb-site .product-card.sx-card { display: flex; flex-direction: column; gap: 0; min-width: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid #e4e9df; border-radius: 16px;
    box-shadow: 0 3px 6px rgba(20, 57, 45, .012), 0 11px 25px rgba(20, 57, 45, .016); }
.rb-site .product-card.sx-card:hover { transform: translateY(-3px); border-color: #d4e2d2; box-shadow: 0 18px 36px -22px rgba(20, 57, 45, .35); }
.rb-site .sx-card .sx-card-image { position: relative; aspect-ratio: 1.05; padding: 22px; border-radius: 0; background: #fff; }
.rb-site .sx-card .sx-card-image img { width: 100%; height: 100%; padding: 0; object-fit: contain; mix-blend-mode: normal; }
.rb-site .sx-card-nophoto { font-size: 12px; color: var(--sx-faint); text-align: center; }
.rb-site .sx-card-state { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 4px 9px; border-radius: 6px; font-size: 12px; color: #627167; background: rgba(248, 250, 245, .9); border: 1px solid #e2e7de; }
.rb-site .sx-card .tile-fav { inset: 12px auto auto 12px; } /* top left, as in the sample; «ناموجود» takes the top right */
.rb-site .sx-card .tile-fav .fav-btn { width: 32px; height: 32px; border-radius: 9px; background: #fff; border: 1px solid #e4e9df; box-shadow: none; color: #5d6f63; }
/* Percent off at the photo's bottom right, the deal's name at its bottom left (the heart and «ناموجود» sit on top). */
.rb-site .sx-card .rb-badge-off { inset: auto 12px 12px auto; }
.rb-site .sx-card .rb-badge-deal { inset: auto auto 12px 12px; max-width: calc(100% - 5.5rem); }
.rb-site .sx-card-body { display: flex; flex: 1; flex-direction: column; padding: 17px 18px 18px; }
.rb-site .sx-card-brand { margin-bottom: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #718075; }
.rb-site .sx-card .sx-card-name { display: -webkit-box; height: 54px; min-height: 54px; margin: 0; padding: 0; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    font-size: 14px; line-height: 1.9; font-weight: 600; color: var(--sx-text); font-family: inherit; }
.rb-site .sx-card .sx-card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 17px; padding: 14px 0 0; border-top: 1px solid var(--sx-line-2); }
.rb-site .sx-card .sx-card-price { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-family: inherit; }
.rb-site .sx-card .sx-card-price del, .rb-site .sx-card-context { min-height: 19px; font-size: 12px; line-height: 1.6; color: var(--sx-faint); font-weight: 400; }
.rb-site .sx-card .sx-card-price strong { font-size: 15px; font-weight: 700; line-height: 1.8; color: #173d2c; white-space: normal; font-family: font-bold, tahoma, serif; }
.rb-site .sx-card.is-deal .sx-card-price strong { color: var(--rb-hot, #c0392b); }
.rb-site .sx-card .sx-quick-add { width: 40px; min-width: 40px; height: 40px; border-radius: 11px; color: var(--sx-green); font-size: 1.2rem;
    background: linear-gradient(150deg, #f8fcf5, #e9f2e5); border: 1px solid #dce8d9; box-shadow: inset 0 1px 0 #fff; }
.rb-site .sx-card .sx-quick-add:hover { color: #fff; background: var(--sx-green); border-color: var(--sx-green); }
/* In the cart: «+ ۲ −» in place of the add button (ProductTile, js/store.js). */
.rb-site .sx-qty-box { flex: none; }
.rb-site .sx-qty-box form { margin: 0; }
.rb-site .sx-qty-box [hidden] { display: none !important; }
.rb-site .sx-stepper { display: inline-flex; align-items: center; height: 40px; padding: 3px; border-radius: 11px; background: #fff; border: 1px solid var(--sx-green);
    box-shadow: 0 6px 14px -10px rgba(20, 57, 45, .55); }
.rb-site .sx-step { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; font-size: 1.05rem; color: var(--sx-green);
    background: transparent; cursor: pointer; transition: background .15s, color .15s; }
.rb-site .sx-step:hover:not(:disabled) { background: #e9f2e5; }
.rb-site .sx-step:disabled { opacity: .35; cursor: default; }
.rb-site .sx-step.is-remove { color: var(--rb-hot, #c0392b); }
.rb-site .sx-step.is-remove:hover:not(:disabled) { background: #fdecea; }
.rb-site .sx-qty { min-width: 26px; text-align: center; font-weight: 800; font-size: 15px; color: #173d2c; font-family: font-bold, tahoma, serif; }
.rb-site .sx-qty-box[aria-busy="true"] .sx-qty { opacity: .45; }
/* A narrow card (phones, three-column grids beside the filters): the counter takes the full width under the price,
   so the price keeps one line. Wide cards keep them side by side. */
.rb-site .sx-card .sx-card-bottom { flex-wrap: wrap; container-type: inline-size; }
@container (max-width: 270px) {
    .rb-site .sx-qty-box:has(.sx-stepper:not([hidden])) { flex: 1 1 100%; }
    .rb-site .sx-qty-box .sx-stepper { width: 100%; justify-content: space-between; }
}
.rb-site .sx-card.is-out .sx-card-image img { opacity: .55; filter: grayscale(.6); }

/* ── Product page ── */
.rb-site .pd-crumbs { margin: 1.2rem 0 1.4rem; }
.rb-site .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.2vw, 3.5rem); }
.rb-site .pd > .pd-main { order: 1; gap: .75rem; }
.rb-site .pd > .pd-gallery { order: 2; }
.rb-site .pd-cat { padding: 0; background: none; border-radius: 0; font-size: .78rem; font-weight: 400; color: #526e60; }
.rb-site .pd-cat a { color: #526e60; }
.rb-site .pd-cat a:hover { color: var(--sx-green); }
.rb-site .pd-title { font-size: clamp(1.4rem, 2.2vw, 2.15rem); line-height: 1.55; color: #174537; }
.rb-site .pd-fav .fav-btn { width: 42px; height: 42px; border-radius: 12px; }
.rb-site .pd-keyspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .35rem; }
.rb-site .pd-keyspecs li { position: relative; display: block; min-height: 2.75rem; padding: .5rem .75rem; padding-inline-start: 1.6rem; border-radius: 10px;
    background: #f9fcf9; border: 1px solid #cadbcf; font-size: .88rem; line-height: 1.75; color: #344f43; overflow-wrap: anywhere; }
.rb-site .pd-keyspecs li::before { content: ""; position: absolute; inset-inline-start: .73rem; top: calc(50% - .18rem); width: .36rem; height: .36rem; border-radius: 50%; background: #4c805f; }
.rb-site .pd-keyspecs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rb-site .pd-keyspecs span, .rb-site .pd-keyspecs strong { display: inline; font-size: inherit; color: inherit; }
.rb-site .pd-keyspecs span::after { content: ": "; }
.rb-site .pd-keyspecs strong { font-weight: 600; }
.rb-site .pd-more { font-size: .82rem; color: var(--sx-green); }
.rb-site .pd-image { border-radius: 20px; border: 1px solid #dce8df; background: #fff; }
.rb-site .pd-thumbs .pd-thumb { border-radius: 12px; border: 1px solid #dce8df; background: #fff; }
.rb-site .pd-thumbs .pd-thumb.is-on { border-color: var(--sx-green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--sx-green) 20%, transparent); }
.rb-site .pd-buy { margin-top: 1.15rem; padding: clamp(1rem, 1.9vw, 1.65rem); border: 1px solid #d8e5da; border-radius: 18px; box-shadow: none; background: #fff; }
.rb-site .pd-price-row { align-items: center; padding-bottom: .85rem; }
.rb-site .pd-price { font-size: clamp(1.35rem, 2vw, 1.7rem); color: #173d2c; }
.rb-site .pd-stock { padding: 0; background: none; font-size: .78rem; font-weight: 500; }
.rb-site .pd-stock .ti { display: none; }
.rb-site .pd-stock::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.rb-site .pd-stock.in { color: #2f7a46; }
.rb-site .pd-stock.low { color: #b45309; }
.rb-site .pd-stock.out { color: #b91c1c; }
.rb-site .pd-buy-form { gap: .65rem; }
.rb-site .pd-qty { border-radius: 12px; border-color: #d4e0d6; }
.rb-site .pd-buy .pd-qty { flex-direction: row-reverse; } /* «−» on the right and «+» on the left, as in the sample */
.rb-site .pd-qty .form-control { height: 52px; }
.rb-site .pd-qty-btn { height: 52px; }
.rb-site .pd-add { min-height: 52px; border-radius: 12px; font-size: 1rem; white-space: nowrap; }
.rb-site .pd-trust { border-top: 1px solid #e8efe9; }

/* Product information in tabs */
.rb-site .pd-info { margin-top: clamp(1rem, 2vw, 1.65rem); padding: 0 clamp(.85rem, 2vw, 1.6rem) 1.1rem; background: #fff; border: 1px solid #d6e2d8; border-radius: 18px; }
.rb-site .pd-info .pd-tabs { position: static; flex-wrap: wrap; gap: .4rem 1rem; margin: 0 0 1rem; padding: .5rem 0; border: 0; border-bottom: 1px solid #e8efe9; border-radius: 0; background: none; box-shadow: none; }
.rb-site .pd-info .pd-tabs a { min-height: 42px; padding: .5rem .8rem; border-radius: .6rem; border: 1px solid transparent; font-size: .9rem; font-weight: 600; color: #3c5a4a; }
.rb-site .pd-info .pd-tabs a:hover { color: var(--sx-green); background: #f3f8f3; }
.rb-site .pd-info .pd-tabs a[aria-selected="true"] { color: #245d37; background: #eaf4ed; border-color: #c7decb; }
.rb-site .pd-info .pd-section { padding: .25rem 0 0; border: 0; border-radius: 0; background: none; }
.rb-site .pd-info .pd-section + .pd-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e8efe9; }
.rb-site .pd-info.is-tabbed .pd-section + .pd-section { margin-top: 0; padding-top: .25rem; border-top: 0; }
.rb-site .pd-info.is-tabbed .pd-section > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rb-site .pd-info .pd-section[hidden] { display: none; }
.rb-site .pd-info .pd-prose { font-size: .95rem; line-height: 1.85; color: #304b40; }

/* ── Phones and tablets ── */
@media (max-width: 991.98px) {
    .rb-site .sx-heading { padding: 25px 0 22px; align-items: flex-start; }
    .rb-site .sx-heading h1 { font-size: 27px; line-height: 1.65; }
    .rb-site .sx-heading p { font-size: 13px; }
    .rb-site .sx-heading-logo { display: none; }
    .rb-site .sx-toolbar { flex-wrap: wrap; gap: 12px; }
    .rb-site .sx-filter-toggle { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: 0 .9rem; border-radius: 10px; border: 1px solid var(--sx-line);
        background: #fff; font-size: 13px; font-weight: 600; color: var(--sx-text); }
    .rb-site .sx-filter-toggle b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--sx-green); color: #fff; font-size: 11px; }
    .rb-site .sx-count span { display: none; }
    .rb-site .sx-layout { display: block; }
    /* The filter column becomes a panel over the page; a plain link opens it (#sx-filters) and closes it (#). */
    .rb-site .sx-filters { position: fixed; inset: 0 0 0 auto; z-index: 1080; width: min(360px, 88vw); max-height: none; overflow: auto; border-radius: 0; transform: translateX(105%);
        transition: transform .25s ease; box-shadow: -20px 0 40px rgba(0, 0, 0, .18); }
    .rb-site .sx-filters:target, .rb-site .sx-filters.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(11, 16, 14, .4); }
    .rb-site .sx-filters-close { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--sx-text); }
    .rb-site .sx-filters-done { display: flex !important; justify-content: center; align-items: center; gap: .4rem; position: sticky; bottom: .75rem; margin: 1rem 0 .25rem; }
    .rb-site .sx-opt { font-size: 13px; min-height: 45px; }
    .rb-site .sx-find input { font-size: 16px; }
    .rb-site .sx-grid.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .rb-site .pd { grid-template-columns: 1fr; }
    .rb-site .pd > .pd-gallery { order: 0; }
}
@media (max-width: 767.98px) {
    .rb-site .sx-grid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rb-site .sx-search input { font-size: 16px; }
    .rb-site .sx-search button .ti { display: none; }
    .rb-site .sx-sort .form-select { min-height: 38px; }
    .rb-site .sx-card .sx-card-image { aspect-ratio: 1; padding: 15px; }
    .rb-site .sx-card-body { padding: 12px; }
    .rb-site .sx-card .sx-card-name { height: 50px; min-height: 50px; font-size: 13px; }
    .rb-site .sx-card .sx-card-bottom { gap: 6px; margin-top: 12px; padding-top: 12px; }
    .rb-site .sx-card .sx-card-price strong { font-size: 13px; }
    .rb-site .sx-card .sx-quick-add { width: 35px; min-width: 35px; height: 38px; border-radius: 9px; }
    .rb-site .pd-info .pd-tabs { gap: .2rem; }
    .rb-site .pd-info .pd-tabs a { padding: .4rem; font-size: .8rem; }
}
@media (max-width: 420px) {
    .rb-site .pd-keyspecs { grid-template-columns: 1fr; }
}

/* ── Cart and checkout, as in the sample: path and heading, numbered steps, clear cart, address book ── */
.rb-site .co-heading { display: block; padding: 24px 0 8px; margin-bottom: .75rem; }
.rb-site .co-heading h1 { margin: .35rem 0 0; }
.rb-site .co-heading-note { margin: .25rem 0 0; color: var(--sx-muted); font-size: .9rem; }
.rb-site .co-steps { justify-content: flex-start; margin: .25rem 0 1.25rem; }
.rb-site .co-steps li { background: #fff; color: var(--sx-muted); border: 1px solid var(--sx-line); box-shadow: none; padding: .4rem .85rem; }
.rb-site .co-steps li > span, .rb-site .co-steps li > a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.rb-site .co-steps li i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sx-soft); color: var(--sx-ink); font-style: normal; font-size: .78rem; font-weight: 800; }
.rb-site .co-steps li.current { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.rb-site .co-steps li.current i { background: #fff; color: var(--sx-ink); }
.rb-site .co-steps li.done { color: var(--sx-ink); }
.rb-site .co-steps li + li::before { width: 18px; background: #c9d6c3; }

.rb-site .cart-items-head { flex-wrap: wrap; }
.rb-site .cart-items-head h2 { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--sx-ink); }
.rb-site .cart-items-head h2 small { margin-inline-start: .4rem; color: var(--sx-muted); font-size: .85rem; font-weight: 500; }
.rb-site .cart-items-head .cart-continue { margin-inline-start: auto; }
.rb-site .cart-clear { margin: 0; }
.rb-site .ci-clear { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: none; color: #b42318; font-size: .85rem; font-weight: 600; padding: .25rem .4rem; border-radius: .5rem; }
.rb-site .ci-clear:hover { background: #fdecea; }
.rb-site .ci-model { display: block; color: var(--sx-muted); font-size: .8rem; margin-top: .15rem; }
.rb-site .ci-unit del, .rb-site .co-item-price del { color: #8a968f; font-size: .85em; margin-inline-end: .25rem; }
.rb-site .co-item-name small { display: block; color: var(--sx-muted); font-size: .78rem; }
.rb-site .co-item-price del { display: block; }

.rb-site .co-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.rb-site .co-card-head h2 { margin: 0; }
.rb-site .co-card-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--sx-ink); }
.rb-site .co-saved { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; font-size: .875rem; font-weight: 600; color: var(--sx-ink); }
.rb-site .co-save-address { display: inline-flex; align-items: center; gap: .35rem; margin-top: .85rem; border: 0; background: none; padding: .3rem 0; color: var(--sx-ink); font-size: .875rem; font-weight: 700; }
.rb-site .co-save-address:hover { text-decoration: underline; }
.rb-site .ad-fields select[hidden], .rb-site .ad-fields input[hidden] { display: none !important; }
.rb-site .ad-fields select + input:not([hidden]) { margin-top: .4rem; }

.rb-site .co-delivery { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.rb-site .pay-card.is-off { opacity: .45; cursor: not-allowed; }
.rb-site .pay-card .co-area { color: #8a5a00; }

.rb-site .co-coupon { margin: .85rem 0 .5rem; padding-top: .85rem; border-top: 1px dashed #d5dfd0; }
.rb-site .co-coupon label { display: block; margin-bottom: .35rem; font-size: .875rem; font-weight: 700; color: var(--sx-ink); }
.rb-site .co-terms { display: flex; align-items: flex-start; gap: .55rem; margin: .5rem 0 1rem; padding: .75rem .85rem; border-radius: .85rem; background: var(--sx-soft); font-size: .875rem; line-height: 1.9; color: var(--sx-ink); }
.rb-site .co-terms input { flex: none; margin-top: .35rem; }
.rb-site .co-terms a { font-weight: 700; color: var(--sx-ink); text-decoration: underline; }

/* «نشانی‌های من» */
.rb-site .ab-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .35rem; }
.rb-site .ab-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.rb-site .ab-item { display: flex; gap: .9rem; padding: 1.1rem; background: #fff; border: 1px solid var(--sx-line); border-radius: 16px; }
.rb-site .ab-item.is-default { border-color: var(--sx-ink); box-shadow: 0 0 0 1px var(--sx-ink) inset; }
.rb-site .ab-icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--sx-soft); color: var(--sx-ink); font-size: 1.35rem; }
.rb-site .ab-body { min-width: 0; flex: 1; }
.rb-site .ab-body h2 { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 0 0 .35rem; font-size: 1rem; font-weight: 800; color: var(--sx-ink); }
.rb-site .ab-body p { margin: 0 0 .5rem; color: #33413a; line-height: 1.9; }
.rb-site .ab-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--sx-muted); font-size: .85rem; }
.rb-site .ab-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.rb-site .ab-actions form { margin: 0; }
.rb-site .ab-form { max-width: 820px; }

@media (max-width: 767.98px) {
    .rb-site .co-steps { gap: .35rem; }
    .rb-site .co-steps li + li::before { width: 8px; margin-inline-end: .25rem; }
    .rb-site .cart-items-head .cart-continue { margin-inline-start: 0; }
    .rb-site .ab-list { grid-template-columns: 1fr; }
}

/* Campaign bar before the sale opens: when it opens, beside the countdown to it. */
.rb-site .rb-bar-opens { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #ffd36b; font-size: .82rem; font-weight: 700; white-space: nowrap; }

/* ── Header search: live results under the box, as in the sample (white panel, products then categories and brands) ── */
.rb-site .st-suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 1050; max-height: min(70vh, 560px); overflow-y: auto;
    padding: 6px 18px 0; background: #fff; border: 1px solid var(--sx-line); border-radius: 14px; box-shadow: 0 22px 50px rgba(20, 57, 45, .16); color: var(--sx-text); text-align: start; }
.rb-site .st-suggest[hidden] { display: none; }
.rb-site .st-suggest.is-busy { opacity: .7; }
.rb-site .st-suggest-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 12px; color: var(--sx-muted); }
.rb-site .st-suggest-head strong { font-weight: 600; }
.rb-site .st-suggest-close { border: 0; background: none; color: var(--sx-muted); font-size: 1.05rem; padding: 4px; border-radius: 8px; }
.rb-site .st-suggest-close:hover { background: var(--sx-soft); color: var(--sx-ink); }
.rb-site .st-suggest-products > a { display: flex; align-items: center; gap: 13px; min-height: 72px; padding: 10px 6px; border-top: 1px solid var(--sx-line-2); color: inherit; text-decoration: none; border-radius: 10px; }
.rb-site .st-suggest-img { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: #f6f8f3; overflow: hidden; color: var(--sx-faint); font-size: 1.3rem; }
.rb-site .st-suggest-img img { width: 100%; height: 100%; object-fit: contain; }
.rb-site .st-suggest-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.7; }
.rb-site .st-suggest-brand { color: var(--sx-faint); font-size: 11px; }
.rb-site .st-suggest-name { font-size: 13px; font-weight: 600; color: var(--sx-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rb-site .st-suggest-price { font-size: 12px; font-weight: 700; color: var(--primary); }
.rb-site .st-suggest-price del { color: var(--sx-faint); font-weight: 400; margin-inline-end: 6px; }
.rb-site .st-suggest-price em { font-style: normal; color: #b42318; font-weight: 600; }
.rb-site .st-suggest a > .ti-chevron-left { color: var(--sx-faint); font-size: 14px; }
.rb-site .st-suggest-empty { margin: 0; padding: 18px 0; font-size: 13px; line-height: 1.9; color: var(--sx-muted); border-top: 1px solid var(--sx-line-2); }
.rb-site .st-suggest-groups { display: flex; gap: 18px; border-top: 1px solid var(--sx-line-2); padding: 12px 0 6px; }
.rb-site .st-suggest-group { flex: 1; min-width: 0; }
.rb-site .st-suggest-group h3 { margin: 0 0 4px; font-size: 12px; font-weight: 500; color: var(--sx-faint); }
.rb-site .st-suggest-group a { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 4px 8px; border-radius: 8px; font-size: 13px; color: var(--sx-ink); text-decoration: none; }
.rb-site .st-suggest-group a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-site .st-suggest-group img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; background: #fff; }
.rb-site .st-suggest-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 14px 6px; border-top: 1px solid var(--sx-line-2);
    color: var(--primary); font-size: 13px; font-weight: 700; text-decoration: none; }
.rb-site .st-suggest a:hover, .rb-site .st-suggest a.is-active { background: var(--sx-soft); }
@media (max-width: 767.98px) {
    .rb-site .st-suggest { max-height: 65vh; padding-inline: 12px; }
    .rb-site .st-suggest-groups { flex-direction: column; gap: 8px; }
}

/* ══ Home page laid out like the sample store ══ */
.rb-site .hm { display: flex; flex-direction: column; gap: 60px; padding: 14px 0 24px; }
.rb-site .hm-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.rb-site .hm-head h2 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.7; letter-spacing: -.4px; color: var(--sx-ink); }
.rb-site .hm-head p { margin: 4px 0 0; font-size: 13px; color: var(--sx-muted); }
.rb-site .hm-more { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 12px; font-weight: 700; color: var(--sx-ink); text-decoration: none; }
.rb-site .hm-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--sx-muted); }

/* Opening: hero + two entry cards */
.rb-site .hm-opening { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1fr); gap: 18px; }
.rb-site .hm-hero { min-height: 376px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; overflow: hidden;
    background: color-mix(in srgb, var(--primary) 10%, #f4f7f1); border: 1px solid var(--sx-line); border-radius: 24px; box-shadow: inset 0 1px 0 #fff, 0 14px 30px rgba(23, 60, 40, .06); }
.rb-site .hm-hero-copy { padding: 34px 30px 34px 16px; }
.rb-site .hm-hero-copy h1 { margin: 6px 0 0; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.65; font-weight: 800; letter-spacing: -1px; color: var(--sx-ink); }
.rb-site .hm-hero-copy p { max-width: 360px; margin: 16px 0 22px; font-size: 14px; line-height: 2.1; color: #48614f; }
.rb-site .hm-hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rb-site .hm-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 190px; min-height: 48px; padding: 0 20px;
    border-radius: 14px; font-size: 13px; font-weight: 700; text-decoration: none; }
.rb-site .hm-btn-dark { background: var(--sx-ink); color: #fff; box-shadow: 0 10px 22px rgba(20, 57, 45, .22); }
.rb-site .hm-btn-light { background: #fff; color: var(--sx-ink); border: 1px solid var(--sx-line); }
.rb-site .hm-hero-photo { height: 100%; display: grid; place-items: center; padding: 20px; color: var(--sx-faint); font-size: 4rem; }
.rb-site .hm-hero-photo img { max-width: 100%; max-height: 330px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(20, 57, 45, .18)); }
.rb-site .hm-hero-timer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -6px 0 20px; padding: 8px 14px; border-radius: 12px; background: var(--sx-ink); color: #fff; font-size: 13px; }
.rb-site .hm-hero-timer small { color: #ffd36b; font-weight: 700; }
.rb-site .hm-hero-timer b { font-variant-numeric: tabular-nums; }
.rb-site .hm-hero.is-bf { background: linear-gradient(135deg, #0f1a15, #173d2c); border-color: #173d2c; }
.rb-site .hm-hero.is-bf h1, .rb-site .hm-hero.is-bf .hm-kicker { color: #fff; }
.rb-site .hm-hero.is-bf p { color: #c9d8cf; }
.rb-site .hm-hero.is-bf .hm-hero-timer { background: rgba(255, 255, 255, .1); }
.rb-site .hm-hero.is-bf .hm-btn-dark { background: var(--primary); }

.rb-site .hm-entries { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.rb-site .hm-entry { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 0; overflow: hidden; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(24, 61, 42, .04); color: #173a2b; text-decoration: none; }
.rb-site .hm-entry-copy { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 18px 0; }
.rb-site .hm-entry-copy strong { font-size: 19px; font-weight: 800; line-height: 1.8; }
.rb-site .hm-entry-copy small { font-size: 12px; color: #5b665a; }
.rb-site .hm-entry-action { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11px; font-weight: 700; }
.rb-site .hm-entry-photo { height: 140px; margin: 8px 2px 8px 8px; display: grid; place-items: center; background: #fff; border-radius: 16px; padding: 8px; color: var(--sx-faint); font-size: 2.6rem; }
.rb-site .hm-entry-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .22s; }
.rb-site .hm-entry:hover img { transform: scale(1.04); }
.rb-site .hm-theme-rose { background: #f7e8e4; }
.rb-site .hm-theme-mauve { background: #efe6ee; }
.rb-site .hm-theme-sand { background: #f4eedc; }
.rb-site .hm-theme-sage { background: #eaf1e7; }

/* «از کجا شروع کنیم؟» */
.rb-site .hm-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.rb-site .hm-cat { display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--sx-text); text-decoration: none; font-size: 12px; font-weight: 600; }
.rb-site .hm-cat-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 24px; font-size: 1.9rem; transition: transform .2s, box-shadow .2s; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.rb-site .hm-cat:hover .hm-cat-icon { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(20, 57, 45, .1); }
.rb-site .hm-tone-0 .hm-cat-icon, .rb-site .hm-brand.hm-tone-0 { background: #e2f3ec; color: #1f7a57; }
.rb-site .hm-tone-1 .hm-cat-icon, .rb-site .hm-brand.hm-tone-1 { background: #fdf3cf; color: #a87b00; }
.rb-site .hm-tone-2 .hm-cat-icon, .rb-site .hm-brand.hm-tone-2 { background: #ece6fb; color: #6c4fc2; }
.rb-site .hm-tone-3 .hm-cat-icon, .rb-site .hm-brand.hm-tone-3 { background: #fbe4ea; color: #c0395c; }
.rb-site .hm-tone-4 .hm-cat-icon, .rb-site .hm-brand.hm-tone-4 { background: #fde9dc; color: #c25a1d; }
.rb-site .hm-tone-5 .hm-cat-icon, .rb-site .hm-brand.hm-tone-5 { background: #e6f3dc; color: #4a8a24; }
.rb-site .hm-tone-6 .hm-cat-icon, .rb-site .hm-brand.hm-tone-6 { background: #e5e8fb; color: #4b57c2; }
.rb-site .hm-tone-7 .hm-cat-icon, .rb-site .hm-brand.hm-tone-7 { background: #dff0f7; color: #1f7290; }

/* «ویترین انتخاب تو» */
.rb-site .hm-showcase { padding: 18px; background: #f3f5f8; border: 1px solid #e3e8ee; border-radius: 22px; }
.rb-site .hm-tabs { display: flex; gap: 7px; padding: 6px; overflow-x: auto; scrollbar-width: none; background: #e9edf4; border-radius: 14px; }
.rb-site .hm-tabs a { padding: 10px 22px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 11px; white-space: nowrap; color: #596f5f; font-size: 14px; font-weight: 500; text-decoration: none; }
.rb-site .hm-tabs a[aria-selected="true"] { background: #fff; color: var(--sx-ink); font-weight: 800; box-shadow: 0 2px 8px rgba(20, 57, 45, .08); }
.rb-site .hm-showcase:not(.is-tabbed) .hm-panel + .hm-panel { margin-top: 18px; }
.rb-site .hm-panel-note { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 14px 4px 16px; margin: 0; font-size: 12px; color: var(--sx-muted); }
.rb-site .hm-panel-note a { color: var(--sx-ink); font-weight: 700; }
.rb-site .hm-showcase .st-rail > *, .rb-site .hm-equipment .st-rail > *, .rb-site .hm-promotions .st-rail > * { flex: 0 0 236px; }

/* Routine guide */
.rb-site .hm-routine { position: relative; display: grid; grid-template-columns: minmax(240px, .9fr) 2fr; gap: 24px; align-items: center; padding: 30px;
    background: #fbf1e6; border: 1px solid #f1e2d0; border-radius: 26px; }
.rb-site .hm-routine > input { position: absolute; opacity: 0; pointer-events: none; }
.rb-site .hm-routine-intro h2 { margin: 6px 0 10px; font-size: 30px; font-weight: 800; line-height: 1.7; color: var(--sx-ink); }
.rb-site .hm-routine-intro p { margin: 0 0 16px; font-size: 13px; line-height: 2; color: #6b5f52; }
.rb-site .hm-routine-toggle { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border-radius: 12px; border: 1px solid #efdfcc; }
.rb-site .hm-routine-toggle label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 700; color: #7a6a58; }
.rb-site #hm-morning:checked ~ .hm-routine-intro label[for="hm-morning"], .rb-site #hm-night:checked ~ .hm-routine-intro label[for="hm-night"] { background: var(--sx-ink); color: #fff; }
.rb-site .hm-routine-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rb-site #hm-morning:checked ~ .hm-routine-night, .rb-site #hm-night:checked ~ .hm-routine-morning { display: none; }
.rb-site .hm-routine-steps a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 18px; background: #fff; border-radius: 18px; text-decoration: none; color: var(--sx-text); box-shadow: 0 6px 18px rgba(80, 50, 20, .05); }
.rb-site .hm-step-no { position: absolute; top: 14px; inset-inline-end: 16px; color: #c2ab92; font-size: 12px; font-weight: 700; }
.rb-site .hm-step-icon { font-size: 2rem; color: var(--primary); }
.rb-site .hm-routine-steps strong { font-size: 16px; font-weight: 800; color: var(--sx-ink); }
.rb-site .hm-routine-steps small { font-size: 12px; color: var(--sx-muted); }
.rb-site .hm-step-link { display: inline-flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 700; color: var(--sx-ink); }

/* Equipment band */
.rb-site .hm-equipment { padding: 30px; background: var(--sx-ink); border-radius: 26px; }
.rb-site .hm-equipment .hm-head h2, .rb-site .hm-equipment .hm-more { color: #fff; }
.rb-site .hm-equipment .hm-head p { color: #b8cdbf; }

/* Brands */
.rb-site .hm-brands { padding: 26px; background: #eef3f7; border: 1px solid #e0e8ef; border-radius: 26px; }
.rb-site .hm-brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rb-site .hm-brand { position: relative; display: grid; place-items: center; min-height: 120px; padding: 18px 16px 34px; border-radius: 18px; text-decoration: none; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff; }
.rb-site .hm-brand img { max-width: 70%; max-height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.rb-site .hm-brand-name { font-size: 18px; font-weight: 800; color: var(--sx-ink); }
.rb-site .hm-brand-action { position: absolute; bottom: 10px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--sx-muted); }

/* Reading (courses), discounts, packages, closing banners */
.rb-site .hm-reading { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rb-site .hm-article { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--sx-text); }
.rb-site .hm-article-photo { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: #eef2ec; color: var(--sx-faint); font-size: 2.4rem; }
.rb-site .hm-article-photo img { width: 100%; height: 100%; object-fit: cover; }
.rb-site .hm-article-copy { display: flex; flex-direction: column; gap: 6px; }
.rb-site .hm-article-copy small { color: var(--sx-faint); font-size: 12px; }
.rb-site .hm-article-copy strong { font-size: 16px; font-weight: 800; line-height: 1.8; color: var(--sx-ink); }
.rb-site .hm-article-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--sx-ink); }
.rb-site .hm-promotions { padding: 26px; background: #fff; border: 1px solid var(--sx-line); border-radius: 26px; }
.rb-site .hm-bundles { padding: 26px; background: #fbeef0; border: 1px solid #f3dce1; border-radius: 26px; }
.rb-site .hm-bundle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rb-site .hm-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rb-site .hm-partner { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 26px 28px; border-radius: 24px; text-decoration: none; color: var(--sx-ink); }
.rb-site .hm-partner small { color: var(--sx-muted); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.rb-site .hm-partner strong { font-size: 22px; font-weight: 800; }
.rb-site .hm-partner span { max-width: 70%; font-size: 13px; line-height: 2; color: #5b665a; }
.rb-site .hm-partner em { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-style: normal; font-size: 12px; font-weight: 700; }
.rb-site .hm-partner-art { position: absolute; inset-inline-end: -10px; bottom: -18px; font-size: 140px; opacity: .1; }

@media (max-width: 991.98px) {
    .rb-site .hm-opening { grid-template-columns: 1fr; }
    .rb-site .hm-entries { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .rb-site .hm-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rb-site .hm-routine { grid-template-columns: 1fr; }
    .rb-site .hm-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rb-site .hm-reading, .rb-site .hm-bundle-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
    .rb-site .hm { gap: 40px; }
    .rb-site .hm-hero { grid-template-columns: 1fr; min-height: 0; }
    .rb-site .hm-hero-photo { order: -1; height: 220px; overflow: hidden; }
    .rb-site .hm-hero-photo img { max-height: 100%; }
    .rb-site .hm-hero-copy { padding: 8px 20px 24px; }
    .rb-site .hm-entries { grid-template-columns: 1fr; }
    .rb-site .hm-head h2 { font-size: 21px; }
    .rb-site .hm-cats { gap: 10px; }
    .rb-site .hm-cat-icon { width: 62px; height: 62px; border-radius: 20px; font-size: 1.5rem; }
    .rb-site .hm-routine, .rb-site .hm-equipment, .rb-site .hm-brands, .rb-site .hm-promotions, .rb-site .hm-bundles { padding: 18px; border-radius: 20px; }
    .rb-site .hm-routine-steps, .rb-site .hm-reading, .rb-site .hm-bundle-grid, .rb-site .hm-partners { grid-template-columns: 1fr; }
    .rb-site .hm-showcase .st-rail > *, .rb-site .hm-equipment .st-rail > *, .rb-site .hm-promotions .st-rail > * { flex-basis: 190px; }
}
