/* ==========================================================================
   GreenMarket — Homepage v3
   Figma 307:4151 (desktop 1440) · 307:5222 (mobile 390)
   Scoped to .gm-home--v3 so it wins over the legacy home sheets.
   ========================================================================== */

.gm-home--v3 {
    --h-green: #00b274;
    --h-green-600: #008e5d;
    --h-teal: #16ab88;
    --h-red: #f25f63;
    --h-red-bg: #feeff0;
    --h-gold: #cfae78;
    --h-gold-bg: #f3eadb;
    --h-ink: #3e3e3e;
    --h-ink-2: #454545;
    --h-line: #e7e7e7;
    --h-gap: 64px;
    --h-ease: cubic-bezier(.2, .7, .2, 1);
    padding-top: 0 !important;
    padding-bottom: 0;
    color: var(--h-ink);
    overflow-x: clip;
}

.gm-home--v3 > .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.gm-home--v3 .gm-home-section,
.gm-home--v3 .gm-rail,
.gm-home--v3 .gm-categories,
.gm-home--v3 .gm-brands,
.gm-home--v3 .gm-viewed,
.gm-home--v3 .gm-stats,
.gm-home--v3 .gm-faq {
    margin: var(--h-gap) 0 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}

/* Section headings — 28 / DemiBold */
.gm-home--v3 :is(.gm-categories__title, .gm-brands__title, .gm-viewed__title, .gm-faq__title) {
    display: block !important;
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 44px !important;
    color: var(--h-ink) !important;
    letter-spacing: 0;
}

.gm-home--v3 .gm-categories__title {
    color: #232323 !important;
}

/* ---------- Hero ---------------------------------------------------------- */
.gm-home--v3 .gm-hero {
    margin: 24px 0 0 !important;
}

.gm-home--v3 .gm-hero__grid {
    display: block;
}

.gm-home--v3 .gm-hero__grid--with-side {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 305px !important;
    gap: 20px !important;
    align-items: stretch;
}

.gm-home--v3 .gm-hero__slider-col,
.gm-home--v3 .gm-hero__side-col {
    min-width: 0;
    min-height: 0 !important;
}

.gm-home--v3 .gm-hero__slider {
    position: relative;
    aspect-ratio: 899 / 382;
    min-height: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #eef6f2;
    isolation: isolate;
}

.gm-home--v3 .gm-hero__slider .main-page-slider,
.gm-home--v3 .gm-hero__slider .swiper-wrapper,
.gm-home--v3 .gm-hero__slider .swiper-slide,
.gm-home--v3 .gm-hero__slide-link,
.gm-home--v3 .gm-hero__slide-link picture {
    display: block;
    width: 100%;
    height: 100% !important;
}

.gm-home--v3 .gm-hero__slider img {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover;
    display: block;
}

.gm-home--v3 .gm-hero .swiper-button-next,
.gm-home--v3 .gm-hero .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #3e3e3e;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    opacity: 0;
    transition: opacity .2s ease, background .2s ease;
}

.gm-home--v3 .gm-hero__slider:hover .swiper-button-next,
.gm-home--v3 .gm-hero__slider:hover .swiper-button-prev,
.gm-home--v3 .gm-hero .swiper-button-next:focus-visible,
.gm-home--v3 .gm-hero .swiper-button-prev:focus-visible {
    opacity: 1;
}

.gm-home--v3 .gm-hero .swiper-button-next:after,
.gm-home--v3 .gm-hero .swiper-button-prev:after {
    font-size: 14px;
    font-weight: 700;
}

.gm-home--v3 .gm-hero .swiper-pagination {
    bottom: 14px !important;
}

.gm-home--v3 .gm-hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .65);
    opacity: 1;
    transition: width .25s ease, background .25s ease;
}

.gm-home--v3 .gm-hero .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 8px;
    background: #fff;
}

.gm-home--v3 .gm-hero__side {
    height: 100%;
    min-height: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #cfae78;
}

.gm-home--v3 .gm-hero__side-link {
    display: block;
    height: 100%;
}

.gm-home--v3 .gm-hero__side-img {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--h-ease);
}

.gm-home--v3 .gm-hero__side-link:hover .gm-hero__side-img {
    transform: scale(1.025);
}

/* horizontal strip banner — mobile only */
.gm-home--v3 .gm-hero__strip {
    display: none;
}

/* ---------- Categories ----------------------------------------------------- */
.gm-home--v3 .gm-categories {
    position: relative;
}

.gm-home--v3 .gm-categories__head {
    display: block;
    margin: 0 0 43px !important;
    padding: 0;
}

.gm-home--v3 .gm-categories__viewport {
    position: relative;
    /* bleed to the left viewport edge, keep the right edge on the content column */
    margin: -20px 0 -20px calc((100% - 100vw) / 2);
}

.gm-home--v3 .gm-categories__slider {
    overflow: hidden;
    padding: 20px 0 !important;
    margin: 0 !important;
}

.gm-home--v3 .gm-categories__slider .swiper-wrapper {
    align-items: flex-start;
}

.gm-home--v3 .gm-categories__slider .swiper-slide {
    width: auto;
    min-width: 112px;
    height: auto;
}

.gm-home--v3 .gm-category-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px !important;
    width: auto !important;
    min-width: 112px;
    padding: 0 !important;
    color: var(--h-ink) !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.gm-home--v3 .gm-category-card__icon-wrap {
    width: 112px !important;
    height: 116px !important;
    padding: 5.86px;
    border-radius: 17.6px !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 1.47px 18.3px rgba(67, 80, 88, .15) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .25s var(--h-ease), box-shadow .25s ease;
}

.gm-home--v3 .gm-category-card__icon-wrap--tone-1 { background: #fffcde !important; }
.gm-home--v3 .gm-category-card__icon-wrap--tone-2 { background: #dcf5ff !important; }
.gm-home--v3 .gm-category-card__icon-wrap--tone-3 { background: #e1fff3 !important; }

.gm-home--v3 .gm-category-card__icon {
    width: 82px !important;
    height: 82px !important;
    object-fit: contain;
    transition: transform .3s var(--h-ease);
}

.gm-home--v3 .gm-category-card__fallback {
    font-size: 32px;
    font-weight: 700;
    color: var(--h-green-600);
}

.gm-home--v3 .gm-category-card__label {
    display: block;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 25px !important;
    color: var(--h-ink) !important;
    text-align: center;
    white-space: nowrap !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    transition: color .2s ease;
}

.gm-home--v3 .gm-category-card:hover .gm-category-card__icon-wrap,
.gm-home--v3 .gm-category-card:focus-visible .gm-category-card__icon-wrap {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(67, 80, 88, .18) !important;
}

.gm-home--v3 .gm-category-card:hover .gm-category-card__icon {
    transform: scale(1.06);
}

.gm-home--v3 .gm-category-card:hover .gm-category-card__label {
    color: var(--h-green-600) !important;
}

.gm-home--v3 .gm-categories__nav {
    position: absolute;
    top: 78px;
    z-index: 3;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(245, 245, 245, .62);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 4px 12px rgba(0, 0, 0, .08);
    color: #3e3e3e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, background .2s ease;
}

.gm-home--v3 .gm-categories__nav[hidden] { display: none; }
.gm-home--v3 .gm-categories__nav--prev { right: 4px; }
.gm-home--v3 .gm-categories__nav--next { left: max(16px, calc((100vw - 1224px) / 2 - 20px)); }
.gm-home--v3 .gm-categories__viewport:hover .gm-categories__nav,
.gm-home--v3 .gm-categories__nav:focus-visible { opacity: 1; }
.gm-home--v3 .gm-categories__nav:hover { background: #fff; }
.gm-home--v3 .gm-categories__nav.swiper-button-disabled { opacity: 0 !important; pointer-events: none; }

/* ---------- Showcase rails (sale / season) -------------------------------- */
.gm-home--v3 .gm-rail__panel {
    display: block !important;
    padding: 32px 24px !important;
    border-radius: 20px !important;
    background: var(--h-red-bg) !important;
    overflow: hidden;
}

.gm-home--v3 .gm-rail--season .gm-rail__panel {
    background: var(--h-gold-bg) !important;
}

.gm-home--v3 .gm-rail__head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

.gm-home--v3 .gm-rail__title {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 36px !important;
    color: var(--h-red) !important;
}

.gm-home--v3 .gm-rail--season .gm-rail__title,
.gm-home--v3 .gm-rail--season .gm-rail__more {
    color: var(--h-gold) !important;
}

.gm-home--v3 .gm-rail__more {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 25px;
    color: var(--h-red) !important;
    text-decoration: none !important;
}

.gm-home--v3 .gm-rail__more img {
    width: 24px !important;
    height: 24px !important;
    transition: transform .2s var(--h-ease);
}

.gm-home--v3 .gm-rail__more:hover img,
.gm-home--v3 .gm-viewed__more:hover img {
    transform: translateX(-4px);
}

.gm-home--v3 .gm-rail__row {
    display: flex !important;
    align-items: stretch;
    gap: 12px !important;
    height: 320px;
    min-width: 0;
}

.gm-home--v3 .gm-rail__promo {
    flex: 0 0 246px !important;
    width: 246px !important;
    max-width: none !important;
    height: 320px;
    margin: 0 !important;
}

.gm-home--v3 .gm-rail--season .gm-rail__promo {
    flex-basis: 234px !important;
    width: 234px !important;
}

.gm-home--v3 .gm-rail__viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 320px;
    margin: 0 !important;
}

.gm-home--v3 .gm-rail__slider {
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.gm-home--v3 .gm-rail__slider .swiper-slide {
    width: 241px !important;
    height: 320px !important;
}

.gm-home--v3 .gm-rail__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(245, 245, 245, .62) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .8), 0 2px 10px rgba(0, 0, 0, .08);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.gm-home--v3 .gm-rail__nav img {
    width: 40px;
    height: 40px;
}

.gm-home--v3 .gm-rail__nav--prev { right: 8px !important; left: auto !important; }
.gm-home--v3 .gm-rail__nav--next { left: 8px !important; right: auto !important; }
.gm-home--v3 .gm-rail__nav:hover { background: #fff !important; transform: scale(1.06); }
.gm-home--v3 .gm-rail__nav.swiper-button-disabled { opacity: 0 !important; pointer-events: none; }
.gm-home--v3 .gm-rail__nav.swiper-button-lock { display: none !important; }

/* Promo block */
.gm-home--v3 .gm-promo {
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    height: 100%;
    margin: 0;
    padding: 0 !important;
    background: transparent !important;
}

.gm-home--v3 .gm-promo__body {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 0;
    padding: 24px 16px 20px !important;
    border-radius: 20px !important;
    background: var(--h-red) !important;
    overflow: hidden;
    text-align: center;
}

.gm-home--v3 .gm-promo--season .gm-promo__body {
    background: var(--h-gold) !important;
    justify-content: flex-start;
    gap: 40px;
}

.gm-home--v3 .gm-promo__title {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 36px !important;
    color: #fff !important;
}

.gm-home--v3 .gm-promo__title-short { display: none !important; }
.gm-home--v3 .gm-promo__title-full { display: inline !important; }

.gm-home--v3 .gm-promo__art {
    width: auto !important;
    max-width: 100%;
    height: auto;
    max-height: 158px;
    object-fit: contain;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .12));
    transition: transform .4s var(--h-ease);
}

.gm-home--v3 .gm-promo--season .gm-promo__art {
    max-height: 153px;
}

.gm-home--v3 .gm-rail__promo:hover .gm-promo__art {
    transform: translateY(-4px) rotate(-2deg);
}

/* Countdown — reads like a digital clock (hh : mm : ss, left → right) */
.gm-home--v3 .gm-promo__timer {
    direction: ltr;
    flex: 0 0 59px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px !important;
    height: 59px;
    padding: 7px 12px !important;
    border-radius: 16px !important;
    background: var(--h-red) !important;
    color: #fff !important;
}

.gm-home--v3 .gm-promo__unit {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 45px;
    gap: 0;
}

.gm-home--v3 .gm-promo__unit b {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
    color: #fff !important;
    font-variant-numeric: tabular-nums;
}

.gm-home--v3 .gm-promo__unit span {
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    color: rgba(255, 255, 255, .92) !important;
}

.gm-home--v3 .gm-promo__timer > i {
    font-style: normal;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    transform: translateY(-6px);
    animation: gm-colon 1s steps(1) infinite;
}

@keyframes gm-colon { 50% { opacity: .35; } }

.gm-home--v3 .gm-promo__timer.is-ended {
    opacity: .7;
}

.gm-home--v3 .gm-promo__timer.is-ended > i {
    animation: none;
}

/* ---------- Product cards ------------------------------------------------- */
.gm-home--v3 .gm-rcard {
    position: relative;
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    width: 100%;
    height: 100%;
    padding: 8px !important;
    border: 1px solid var(--h-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--h-ink-2) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--h-ease);
}

.gm-home--v3 .gm-rcard:hover {
    border-color: #d2ece2 !important;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .08) !important;
}

.gm-home--v3 .gm-rcard__media {
    position: relative;
    display: block !important;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    flex: 0 0 auto;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.gm-home--v3 .gm-rcard__media > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    transition: transform .45s var(--h-ease);
}

.gm-home--v3 .gm-rcard:hover .gm-rcard__media > img {
    transform: scale(1.05);
}

.gm-home--v3 .gm-rcard__credit {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 1;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 8px !important;
    border-radius: 24px !important;
    background: #2cc18d !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
}

.gm-home--v3 .gm-rcard__credit img {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
}

.gm-home--v3 .gm-rcard__name {
    display: block;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 25px !important;
    color: var(--h-ink-2) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gm-home--v3 .gm-rcard--sale .gm-rcard__prices {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-top: auto;
}

.gm-home--v3 .gm-rcard__off {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.gm-home--v3 .gm-rcard__pct {
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 8px;
    border-radius: 16px;
    background: #ffe7e8;
    color: var(--h-red) !important;
    font-size: 10px !important;
    font-weight: 700;
}

.gm-home--v3 .gm-rcard__off del {
    font-size: 11px !important;
    color: #9e9e9e !important;
    text-decoration-color: #9e9e9e;
}

.gm-home--v3 .gm-rcard__now {
    display: inline-flex !important;
    align-items: baseline;
    gap: 3px;
}

.gm-home--v3 .gm-rcard__now b {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 30px;
    color: var(--h-ink-2) !important;
}

.gm-home--v3 .gm-rcard__now small {
    font-size: 10px !important;
    font-weight: 400;
    color: #6e6e6e !important;
}

.gm-home--v3 .gm-rcard__now b.is-muted {
    font-size: 15px !important;
    color: #a0a0a0 !important;
}

.gm-home--v3 .gm-rcard.is-unavailable .gm-rcard__media > img {
    filter: grayscale(.85);
    opacity: .7;
}

/* view card (most viewed) — Figma 216×300 */
.gm-home--v3 .gm-rcard--view {
    gap: 12px !important;
    padding: 15px !important;
    border-radius: 12px !important;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__media {
    border-radius: 6px;
    background: #f7f7f7;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__media > img {
    object-fit: cover;
}

.gm-home--v3 .gm-rcard__body {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
    min-height: 0;
}

.gm-home--v3 .gm-rcard__line {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__name {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    color: #3e3e3e !important;
}

.gm-home--v3 .gm-rcard__rate {
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.gm-home--v3 .gm-rcard__rate b {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #6e6e6e !important;
}

.gm-home--v3 .gm-rcard__seller {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    font-size: 10px !important;
    line-height: 16px;
    color: #888 !important;
}

.gm-home--v3 .gm-rcard__seller img,
.gm-home--v3 .gm-rcard__seller-fallback {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__foot {
    display: flex !important;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__city {
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    margin: 0 0 4px !important;
    font-size: 11px !important;
    line-height: 16px;
    color: #6e6e6e !important;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__prices {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0 !important;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__now b {
    font-size: 16px !important;
    line-height: 24px;
}

/* ---------- Acceptors (پذیرندگان) ---------------------------------------- */
.gm-home--v3 .gm-brands {
    margin-top: 76px !important;
}

.gm-home--v3 .gm-brands__head {
    display: block !important;
    margin: 0 0 44px !important;
    padding: 0 !important;
}

.gm-home--v3 .gm-brands__body {
    display: block !important;
}

.gm-home--v3 .gm-brand-tabs {
    display: flex !important;
    align-items: center;
    gap: 16px !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gm-home--v3 .gm-brand-tabs::-webkit-scrollbar { display: none; }

.gm-home--v3 .gm-brand-tabs__item {
    flex: 0 0 auto;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 50px !important;
    background: #fff !important;
    color: #525252 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 25px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.gm-home--v3 .gm-brand-tabs__item:hover {
    border-color: #b8e3d2 !important;
    color: var(--h-green-600) !important;
}

.gm-home--v3 .gm-brand-tabs__item.is-active {
    border-color: #008e5d !important;
    background: #008e5d !important;
    color: #fff !important;
    min-width: 90px;
}

.gm-home--v3 .gm-brands__track {
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
}

.gm-home--v3 .gm-brands__slider {
    overflow: hidden;
    padding: 0 !important;
    margin: 0 0 0 calc((100% - 100vw) / 2) !important;
}

.gm-home--v3 .gm-brands__slider .swiper-slide {
    width: 158px;
}

.gm-home--v3 .gm-seller-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 16px !important;
    color: #6d6e71 !important;
    text-decoration: none !important;
}

.gm-home--v3 .gm-seller-card__box {
    width: 158px !important;
    height: 158px !important;
    padding: 22px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 25px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--h-ease);
}

.gm-home--v3 .gm-seller-card__box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.gm-home--v3 .gm-seller-card__fallback {
    font-size: 40px;
    font-weight: 700;
    color: var(--h-green-600);
}

.gm-home--v3 .gm-seller-card__name {
    max-width: 158px;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 19px;
    color: #6d6e71 !important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s ease;
}

.gm-home--v3 .gm-seller-card:hover .gm-seller-card__box,
.gm-home--v3 .gm-seller-card:focus-visible .gm-seller-card__box {
    border-color: #00b274 !important;
    box-shadow: 0 8px 22px rgba(0, 178, 116, .12);
    transform: translateY(-3px);
}

.gm-home--v3 .gm-seller-card:hover .gm-seller-card__name {
    color: #00b274 !important;
}

.gm-home--v3 .gm-brands__empty {
    margin: 8px 0 0;
    padding: 32px 16px;
    border: 1px dashed #d8d8d8;
    border-radius: 16px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* pagination dots — 8px #ccc, active 24×8 #16ab88 */
.gm-home--v3 :is(.gm-brands__pagination, .gm-viewed__pagination) {
    position: static !important;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px !important;
    line-height: 0;
}

.gm-home--v3 .gm-viewed__pagination {
    margin-top: 32px !important;
}

.gm-home--v3 :is(.gm-brands__pagination, .gm-viewed__pagination) .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    border-radius: 8px;
    background: #ccc !important;
    opacity: 1 !important;
    transition: width .25s ease, background .25s ease;
}

.gm-home--v3 :is(.gm-brands__pagination, .gm-viewed__pagination) .swiper-pagination-bullet-active {
    width: 24px !important;
    background: var(--h-teal) !important;
}

.gm-home--v3 .swiper-pagination-lock {
    display: none !important;
}

/* ---------- Most viewed ---------------------------------------------------- */
.gm-home--v3 .gm-viewed__head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 45px !important;
    padding: 0 !important;
}

.gm-home--v3 .gm-viewed__more {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--h-teal) !important;
    text-decoration: none !important;
}

.gm-home--v3 .gm-viewed__more img {
    width: 24px !important;
    height: 24px !important;
    transition: transform .2s var(--h-ease);
}

.gm-home--v3 .gm-viewed__viewport {
    margin: 0 0 0 calc((100% - 100vw) / 2) !important;
}

.gm-home--v3 .gm-viewed__slider {
    overflow: hidden;
    padding: 0 !important;
}

.gm-home--v3 .gm-viewed__slider .swiper-slide {
    width: 216px !important;
    height: 300px !important;
}

/* ---------- Stats ----------------------------------------------------------- */
.gm-home--v3 .gm-stats {
    display: flex !important;
    justify-content: center;
    gap: 50px !important;
    padding: 44px 0 32px !important;
    border: 0 !important;
    background: transparent !important;
}

.gm-home--v3 .gm-stat {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px !important;
    width: 209px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.gm-home--v3 .gm-stat__icon {
    width: 110px !important;
    height: 108px !important;
    margin: 0 0 4px !important;
    border-radius: 14px !important;
    background: #edf9f5 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.gm-home--v3 .gm-stat__value {
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 50px !important;
    color: var(--h-green) !important;
    font-variant-numeric: tabular-nums;
}

.gm-home--v3 .gm-stat__label {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
    color: #888 !important;
}

/* ---------- FAQ ---------------------------------------------------------- */
.gm-home--v3 .gm-faq {
    padding: 78px 0 217px !important;
}

.gm-home--v3 .gm-faq__title {
    text-align: center;
    color: #454440 !important;
    margin-bottom: 48px !important;
}

.gm-home--v3 .gm-faq__body {
    position: relative;
    max-width: 1140px;
    margin: 0 auto !important;
}

.gm-home--v3 .gm-faq__list {
    display: flex !important;
    flex-direction: column;
    gap: 17px !important;
}

.gm-home--v3 .gm-faq__item {
    border: 1px solid #ddd !important;
    border-radius: 16px !important;
    background: #fff !important;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .25s ease;
}

.gm-home--v3 .gm-faq__item:hover {
    border-color: #c9e9dc !important;
}

.gm-home--v3 .gm-faq__item.is-open {
    border-color: #b8e3d2 !important;
    box-shadow: 0 8px 24px rgba(0, 142, 93, .06);
}

.gm-home--v3 .gm-faq__trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 75px;
    padding: 23px 24px !important;
    border: 0 !important;
    background: transparent !important;
    text-align: right;
    cursor: pointer;
}

.gm-home--v3 .gm-faq__question {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 29px !important;
    color: #000 !important;
}

.gm-home--v3 .gm-faq__item.is-open .gm-faq__question {
    color: var(--h-green-600) !important;
}

.gm-home--v3 .gm-faq__plus {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #000;
    transition: transform .3s var(--h-ease), color .2s ease;
}

.gm-home--v3 .gm-faq__plus svg {
    width: 20px;
    height: 20px;
}

.gm-home--v3 .gm-faq__item.is-open .gm-faq__plus {
    transform: rotate(45deg);
    color: var(--h-green-600);
}

.gm-home--v3 .gm-faq__panel {
    display: grid !important;
    grid-template-rows: 0fr;
    max-height: none !important;
    height: auto !important;
    transition: grid-template-rows .3s var(--h-ease);
}

.gm-home--v3 .gm-faq__item.is-open .gm-faq__panel {
    grid-template-rows: 1fr;
}

.gm-home--v3 .gm-faq__panel-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 24px !important;
}

.gm-home--v3 .gm-faq__panel-inner p {
    margin: 0 0 24px !important;
    font-size: 16px;
    line-height: 30px;
    color: #5a5a5a;
}

/* last items fade under a white veil, like Figma — removed once a question opens */
.gm-home--v3 .gm-faq__foot {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 0 !important;
    padding: 48px 0 0 !important;
}

.gm-home--v3 .gm-faq__fade {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 150px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 92%) !important;
    pointer-events: none;
    transition: opacity .3s ease;
}

.gm-home--v3 .gm-faq__body.is-expanded .gm-faq__fade {
    opacity: 0;
}

.gm-home--v3 .gm-faq__foot-title {
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 44px !important;
    color: #3e3e3e !important;
}

.gm-home--v3 .gm-faq__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 337px;
    max-width: 100%;
    height: 56px !important;
    padding: 0 16px !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #3e3e3e !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.gm-home--v3 .gm-faq__btn:hover {
    border-color: var(--h-green) !important;
    color: var(--h-green-600) !important;
    box-shadow: 0 6px 18px rgba(0, 178, 116, .1);
}

.gm-home--v3 .gm-faq__btn-icon {
    order: -1;
    transition: transform .2s var(--h-ease);
}

.gm-home--v3 .gm-faq__btn:hover .gm-faq__btn-icon {
    transform: translate(-2px, -2px);
}

/* ==========================================================================
   Tablet (768–1199)
   ========================================================================== */
@media (max-width: 1199.98px) {
    .gm-home--v3 .gm-hero__grid--with-side {
        grid-template-columns: minmax(0, 1fr) 260px !important;
        gap: 16px !important;
    }

    .gm-home--v3 .gm-stats {
        gap: 24px !important;
    }

    .gm-home--v3 .gm-faq__question {
        font-size: 18px !important;
    }
}

@media (max-width: 991.98px) {
    .gm-home--v3 {
        --h-gap: 48px;
    }

    .gm-home--v3 .gm-hero__grid--with-side {
        grid-template-columns: minmax(0, 1fr) 220px !important;
    }

    .gm-home--v3 .gm-stats {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px !important;
    }

    .gm-home--v3 .gm-stat {
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gm-home--v3 *,
    .gm-home--v3 *::before,
    .gm-home--v3 *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- card rhythm fix (Figma: 8 · 225 · name · off · price · 8) ---------- */
.gm-home--v3 .gm-rcard--sale {
    gap: 6px !important;
}

.gm-home--v3 .gm-rcard > *,
.gm-home--v3 .gm-rcard__body > * {
    flex-shrink: 0;
}

.gm-home--v3 .gm-rcard--sale .gm-rcard__name {
    line-height: 22px !important;
    margin-top: 2px !important;
}

.gm-home--v3 .gm-rcard--sale .gm-rcard__prices {
    gap: 0;
}

.gm-home--v3 .gm-rcard__now b {
    line-height: 26px;
}

.gm-home--v3 .gm-rcard__off del {
    order: 1;
}

.gm-home--v3 .gm-rcard__pct {
    order: 2;
}

.gm-home--v3 .gm-rcard__credit {
    left: auto !important;
    width: auto !important;
}

/* view card rhythm (Figma 216×300: 15 · 186 · name · seller · off · price · 13) */
.gm-home--v3 .gm-rcard--view {
    gap: 10px !important;
    padding: 15px 15px 12px !important;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__body {
    gap: 2px;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__name {
    line-height: 20px !important;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__seller {
    line-height: 14px;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__now b {
    line-height: 22px;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__off {
    height: 14px;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__foot {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
}

.gm-home--v3 .gm-rcard--view .gm-rcard__prices {
    width: auto !important;
    flex: 0 0 auto !important;
}

.gm-home--v3 .gm-viewed__viewport {
    margin: 0 !important;
}

.gm-home--v3 .gm-rcard__now {
    flex-direction: row !important;
    justify-content: flex-start;
}

.gm-home--v3 .gm-faq__fade {
    display: block !important;
    z-index: 2;
}

.gm-home--v3 .gm-faq__fade {
    top: auto !important;
    bottom: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    margin: 0 !important;
    height: 140px !important;
    transform: none !important;
}

.gm-home--v3 .gm-faq__fade {
    height: 96px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 60%, #fff 100%) !important;
}

.gm-home--v3 .gm-hero {
    padding: 0 !important;
}

@media (min-width: 768px) {
    .gm-home--v3 .gm-category-card__label {
        width: auto !important;
        min-width: 0 !important;
    }
}

@media (min-width: 768px) {
    .gm-home--v3 .gm-categories__slider .swiper-slide,
    .gm-home--v3 .gm-category-card {
        max-width: none !important;
    }
}

/* ==========================================================================
   Mobile — Figma 307:5222 / 307:5546 (390)
   Section rhythm: hero 20 · categories 20/20 · bands 16 · blocks 32/32
   ========================================================================== */
@media (max-width: 767.98px) {
    .gm-home--v3 {
        --h-gap: 0px;
        --m-pad: 16px;
    }

    .gm-home--v3 > .container {
        padding-left: var(--m-pad) !important;
        padding-right: var(--m-pad) !important;
    }

    .gm-home--v3 .gm-home-section,
    .gm-home--v3 .gm-rail,
    .gm-home--v3 .gm-categories,
    .gm-home--v3 .gm-brands,
    .gm-home--v3 .gm-viewed,
    .gm-home--v3 .gm-stats,
    .gm-home--v3 .gm-faq {
        margin-top: 0 !important;
    }

    /* full-bleed helper for the coloured bands */
    .gm-home--v3 .gm-rail,
    .gm-home--v3 .gm-stats {
        margin-left: calc(var(--m-pad) * -1) !important;
        margin-right: calc(var(--m-pad) * -1) !important;
    }

    .gm-home--v3 :is(.gm-categories__title, .gm-brands__title, .gm-viewed__title, .gm-faq__title) {
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 27px !important;
        color: #3d3d3d !important;
    }

    .gm-home--v3 .gm-categories__title {
        color: #232323 !important;
    }

    /* ---------- hero: banner 362×204 r15 · strip 361×86 r15 ---------- */
    .gm-home--v3 .gm-hero {
        margin: 20px 0 0 !important;
        padding: 0 0 8px !important;
    }

    .gm-home--v3 .gm-hero__grid--with-side {
        display: block !important;
    }

    .gm-home--v3 .gm-hero__side-col {
        display: none !important;
    }

    .gm-home--v3 .gm-hero__slider {
        aspect-ratio: 362 / 204;
        border-radius: 15px !important;
    }

    .gm-home--v3 .gm-hero .swiper-button-next,
    .gm-home--v3 .gm-hero .swiper-button-prev {
        display: none !important;
    }

    .gm-home--v3 .gm-hero .swiper-pagination {
        bottom: 8px !important;
    }

    .gm-home--v3 .gm-hero .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    .gm-home--v3 .gm-hero .swiper-pagination-bullet-active {
        width: 16px;
    }

    .gm-home--v3 .gm-hero__strip {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        height: 86px;
        margin-top: 8px;
        padding: 0 16px 0 8px;
        border-radius: 15px;
        background: #cfae78;
        overflow: hidden;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent;
        transition: transform .15s ease;
    }

    .gm-home--v3 .gm-hero__strip:active {
        transform: scale(.985);
    }

    .gm-home--v3 .gm-hero__strip-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .gm-home--v3 .gm-hero__strip-text strong {
        font-size: 13px;
        font-weight: 700;
        line-height: 20px;
        color: #fff;
        white-space: nowrap;
    }

    .gm-home--v3 .gm-hero__strip-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        padding: 0 24px;
        border-radius: 30px;
        background: #fff;
        color: #a17d45;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(120, 90, 40, .15);
    }

    .gm-home--v3 .gm-hero__strip-art {
        width: 112px;
        height: 75px;
        object-fit: contain;
        flex-shrink: 0;
    }

    /* ---------- categories: 64×66 tiles, 10px labels ---------- */
    .gm-home--v3 .gm-categories {
        padding: 20px 0 20px !important;
    }

    .gm-home--v3 .gm-categories__head {
        margin: 0 0 16px !important;
    }

    .gm-home--v3 .gm-categories__viewport {
        margin: -12px calc(var(--m-pad) * -1) -12px !important;
    }

    .gm-home--v3 .gm-categories__slider {
        padding: 12px var(--m-pad) !important;
    }

    .gm-home--v3 .gm-categories__slider .swiper-slide {
        width: 64px !important;
        min-width: 64px;
        max-width: 64px !important;
    }

    .gm-home--v3 .gm-category-card {
        min-width: 64px;
        gap: 6px !important;
    }

    .gm-home--v3 .gm-category-card__icon-wrap {
        width: 64px !important;
        height: 66px !important;
        padding: 3.35px;
        border: .42px solid #f0f0f0 !important;
        border-radius: 10px !important;
        box-shadow: 0 .84px 10.47px rgba(67, 80, 88, .15) !important;
    }

    .gm-home--v3 .gm-category-card__icon {
        width: 47px !important;
        height: 47px !important;
    }

    .gm-home--v3 .gm-category-card:hover .gm-category-card__icon-wrap {
        transform: none;
    }

    .gm-home--v3 .gm-category-card:active .gm-category-card__icon-wrap {
        transform: scale(.94);
    }

    .gm-home--v3 .gm-category-card__label {
        width: 72px !important;
        margin: 0 -4px !important;
        font-size: 10px !important;
        line-height: 15px !important;
        color: #3d3d3d !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
    }

    .gm-home--v3 .gm-categories__nav {
        display: none !important;
    }

    /* ---------- sale / season bands (272px) ---------- */
    .gm-home--v3 .gm-rail__panel {
        padding: 16px 0 !important;
        border-radius: 0 !important;
    }

    .gm-home--v3 .gm-rail--sale .gm-rail__panel {
        background: #fff0f0 !important;
    }

    .gm-home--v3 .gm-rail__head {
        height: 24px;
        margin: 0 var(--m-pad) 8px !important;
    }

    .gm-home--v3 .gm-rail__title {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .gm-home--v3 :is(.gm-rail__more, .gm-viewed__more) {
        gap: 2px;
        font-size: 12px !important;
        line-height: 18px;
    }

    .gm-home--v3 :is(.gm-rail__more, .gm-viewed__more) img {
        width: 20px !important;
        height: 20px !important;
    }

    .gm-home--v3 .gm-rail__row {
        display: flex !important;
        height: auto;
        gap: 8px !important;
        padding: 0 var(--m-pad);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--m-pad);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .gm-home--v3 .gm-rail__row::-webkit-scrollbar { display: none; }

    .gm-home--v3 .gm-rail__promo,
    .gm-home--v3 .gm-rail--season .gm-rail__promo {
        flex: 0 0 96px !important;
        width: 96px !important;
        height: 208px;
        scroll-snap-align: start;
    }

    .gm-home--v3 .gm-promo {
        gap: 5px !important;
    }

    .gm-home--v3 .gm-promo__body {
        justify-content: space-between;
        gap: 0;
        padding: 12px 4px 0 !important;
        border-radius: 8.25px !important;
    }

    .gm-home--v3 .gm-promo--season .gm-promo__body {
        justify-content: flex-start;
        gap: 30px;
        padding-bottom: 0 !important;
    }

    .gm-home--v3 .gm-promo__title {
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 18px !important;
    }

    .gm-home--v3 .gm-promo__art {
        width: 94px !important;
        max-height: 104px;
        margin-bottom: -6px;
    }

    .gm-home--v3 .gm-promo--season .gm-promo__art {
        width: 98px !important;
        max-height: 81px;
        margin: 0;
    }

    .gm-home--v3 .gm-promo__timer {
        flex: 0 0 37px;
        height: 37px;
        gap: 2px !important;
        padding: 3px 4px !important;
        border-radius: 8.25px !important;
    }

    .gm-home--v3 .gm-promo__unit {
        width: 22px;
        height: 30px;
    }

    .gm-home--v3 .gm-promo__unit b {
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 18px !important;
    }

    .gm-home--v3 .gm-promo__unit span {
        font-size: 7px !important;
        line-height: 10px !important;
    }

    .gm-home--v3 .gm-promo__timer > i {
        font-size: 12px;
        transform: translateY(-5px);
    }

    .gm-home--v3 .gm-rail__viewport {
        flex: 0 0 auto;
        height: auto;
        overflow: visible;
    }

    .gm-home--v3 .gm-rail__nav {
        display: none !important;
    }

    .gm-home--v3 .gm-rail__slider {
        overflow: visible;
        border-radius: 0;
    }

    .gm-home--v3 .gm-rail__slider .swiper-wrapper {
        display: flex;
        gap: 8px;
        transform: none !important;
    }

    .gm-home--v3 .gm-rail__slider .swiper-slide {
        flex: 0 0 auto;
        width: 140px !important;
        height: 208px !important;
        margin: 0 !important;
        scroll-snap-align: start;
    }

    /* sale card 140×208 */
    .gm-home--v3 .gm-rcard--sale {
        gap: 4px !important;
        padding: 8px !important;
        border-radius: 8px !important;
    }

    .gm-home--v3 .gm-rcard--sale .gm-rcard__media {
        border-radius: 7px;
    }

    .gm-home--v3 .gm-rcard:active {
        transform: scale(.98);
    }

    .gm-home--v3 .gm-rcard__credit {
        top: 4px;
        right: 4px;
        height: 16px;
        gap: 4px;
        padding: 0 4px !important;
        font-size: 8px !important;
        line-height: 16px;
    }

    .gm-home--v3 .gm-rcard__credit img {
        width: 10px;
        height: 10px;
    }

    .gm-home--v3 .gm-rcard--sale .gm-rcard__name {
        margin-top: 0 !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }

    .gm-home--v3 .gm-rcard__off {
        height: 18px;
        gap: 3px;
    }

    .gm-home--v3 .gm-rcard__pct {
        height: 14px;
        padding: 0 5px;
        font-size: 8px !important;
    }

    .gm-home--v3 .gm-rcard__off del {
        font-size: 9px !important;
    }

    .gm-home--v3 .gm-rcard__now {
        gap: 2px;
    }

    .gm-home--v3 .gm-rcard__now b {
        font-size: 14px !important;
        line-height: 21px !important;
    }

    .gm-home--v3 .gm-rcard__now small {
        font-size: 8px !important;
        font-weight: 500 !important;
        color: #454545 !important;
    }

    /* ---------- acceptors ---------- */
    .gm-home--v3 .gm-brands {
        padding: 32px 0 32px !important;
    }

    .gm-home--v3 .gm-brands__head {
        margin-bottom: 16px !important;
    }

    .gm-home--v3 .gm-brand-tabs {
        gap: 10px !important;
        margin: 0 calc(var(--m-pad) * -1) 6px !important;
        padding: 0 var(--m-pad) !important;
        scroll-snap-type: x proximity;
        scroll-padding-inline: var(--m-pad);
    }

    .gm-home--v3 .gm-brand-tabs__item {
        height: 34px !important;
        padding: 0 17.4px !important;
        border: .58px solid #d9d9d9 !important;
        border-radius: 19.2px !important;
        color: #6e6e70 !important;
        font-size: 11.6px !important;
        font-weight: 500 !important;
        scroll-snap-align: start;
    }

    .gm-home--v3 .gm-brand-tabs__item.is-active {
        min-width: 55px;
        border-color: #00b274 !important;
        background: #00b274 !important;
        color: #fff !important;
    }

    .gm-home--v3 .gm-brands__slider {
        margin: 0 calc(var(--m-pad) * -1) !important;
        padding: 10px var(--m-pad) !important;
    }

    .gm-home--v3 .gm-brands__slider .swiper-slide {
        width: 92px !important;
    }

    .gm-home--v3 .gm-seller-card {
        gap: 4px !important;
    }

    .gm-home--v3 .gm-seller-card__box {
        width: 92px !important;
        height: 92px !important;
        padding: 17px !important;
        border: .58px solid #d9d9d9 !important;
        border-radius: 14.5px !important;
    }

    .gm-home--v3 .gm-seller-card:hover .gm-seller-card__box {
        transform: none;
        box-shadow: none;
    }

    .gm-home--v3 .gm-seller-card:active .gm-seller-card__box {
        border-color: #00b274 !important;
    }

    .gm-home--v3 .gm-seller-card__name {
        max-width: 92px;
        font-size: 10px !important;
        line-height: 15px;
        color: #6e6e70 !important;
    }

    .gm-home--v3 .gm-brands__pagination,
    .gm-home--v3 .gm-viewed__pagination {
        display: none !important;
    }

    .gm-home--v3 .gm-brands__empty {
        padding: 20px 12px;
        font-size: 12px;
    }

    /* ---------- most viewed: title + mint band with 200×280 cards ---------- */
    .gm-home--v3 .gm-viewed {
        padding: 32px 0 24px !important;
    }

    .gm-home--v3 .gm-viewed__head {
        margin: 0 0 16px !important;
    }

    .gm-home--v3 .gm-viewed__viewport {
        margin: 0 calc(var(--m-pad) * -1) !important;
        padding: 16px 0 24px !important;
        background: #edf8f2;
    }

    .gm-home--v3 .gm-viewed__slider {
        overflow: hidden;
        padding: 0 var(--m-pad) !important;
    }

    .gm-home--v3 .gm-viewed__slider .swiper-slide {
        width: 200px !important;
        height: 280px !important;
    }

    .gm-home--v3 .gm-rcard--view {
        gap: 8px !important;
        padding: 12px 16px !important;
        border-radius: 12px !important;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__media {
        flex: 0 0 168px;
        aspect-ratio: auto;
        height: 168px !important;
        border-radius: 8px;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__body {
        gap: 4px;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__name {
        font-size: 12px !important;
        line-height: 18px !important;
    }

    .gm-home--v3 .gm-rcard__rate b {
        font-size: 10px !important;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__seller {
        font-size: 10px !important;
        line-height: 16px;
        color: #878787 !important;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__foot {
        align-items: flex-start !important;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__city {
        margin: 0 !important;
        font-size: 10px !important;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__off {
        height: 17px;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__now b {
        font-size: 14px !important;
        line-height: 21px !important;
    }

    .gm-home--v3 .gm-rcard--view .gm-rcard__now small {
        font-size: 10px !important;
    }

    /* ---------- stats: #FAFAFA band, 2×2 grid ---------- */
    .gm-home--v3 .gm-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 91px);
        justify-content: center;
        column-gap: 64px !important;
        row-gap: 30px !important;
        padding: 32px var(--m-pad) !important;
        border-top: 1px solid #eee !important;
        border-bottom: 1px solid #eee !important;
        background: #fafafa !important;
    }

    .gm-home--v3 .gm-stat {
        width: 91px;
        gap: 6px !important;
    }

    .gm-home--v3 .gm-stat__icon {
        width: 63px !important;
        height: 62px !important;
        margin: 0 !important;
        padding: 12px;
        border-radius: 8px !important;
    }

    .gm-home--v3 .gm-stat__icon svg {
        width: 37px;
        height: 37px;
    }

    .gm-home--v3 .gm-stat__value {
        font-size: 22px !important;
        line-height: 27px !important;
    }

    .gm-home--v3 .gm-stat__label {
        font-size: 12px !important;
        line-height: 18px !important;
        color: #878787 !important;
        white-space: nowrap;
    }

    /* ---------- FAQ: two teasers + CTA ---------- */
    .gm-home--v3 .gm-faq {
        padding: 32px 0 32px !important;
    }

    .gm-home--v3 .gm-faq__title {
        margin-bottom: 16px !important;
        text-align: center;
    }

    .gm-home--v3 .gm-faq__list {
        gap: 12px !important;
    }

    .gm-home--v3 .gm-faq__item:nth-child(n+3) {
        display: none !important;
    }

    .gm-home--v3 .gm-faq__item {
        border-color: #dedede !important;
        border-radius: 8px !important;
    }

    .gm-home--v3 .gm-faq__trigger {
        min-height: 42px;
        gap: 8px;
        padding: 12px 8px !important;
    }

    .gm-home--v3 .gm-faq__question {
        font-size: 13px !important;
        line-height: 20px !important;
        color: #3d3d3d !important;
    }

    .gm-home--v3 .gm-faq__plus,
    .gm-home--v3 .gm-faq__plus svg {
        flex-basis: 12px;
        width: 12px;
        height: 12px;
    }

    .gm-home--v3 .gm-faq__panel-inner {
        padding: 0 8px !important;
    }

    .gm-home--v3 .gm-faq__panel-inner p {
        margin-bottom: 12px !important;
        font-size: 13px;
        line-height: 24px;
    }

    .gm-home--v3 .gm-faq__fade {
        display: none !important;
    }

    .gm-home--v3 .gm-faq__foot {
        gap: 16px;
        padding: 24px 0 0 !important;
    }

    .gm-home--v3 .gm-faq__foot-title {
        font-size: 18px !important;
        font-weight: 500 !important;
        line-height: 27px !important;
    }

    .gm-home--v3 .gm-faq__btn {
        width: auto;
        height: 32px !important;
        gap: 8px;
        padding: 0 16px !important;
        border-color: #e3e3e3 !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .gm-home--v3 .gm-faq__btn-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
}

/* ---------- Mobile promo card (Figma 307:5222) — hardened ----------------
   home-redesign.css ships older mobile rules with higher specificity
   (.gm-rail--sale .gm-promo--sale …: 205px card, 162px body, timer margin,
   flex-start units) that pushed the timer past the 208px row and clipped
   its rounded bottom. Grid rows make the split exact: body + 5px + 37px. */
@media (max-width: 767.98px) {
    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo {
        display: grid !important;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 5px !important;
        width: 100% !important;
        height: 208px !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo--season {
        grid-template-rows: minmax(0, 1fr);
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo__body {
        position: relative;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex: none !important;
        padding: 12px 4px 0 !important;
        border-radius: 8.25px !important;
        overflow: hidden !important;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo__art {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        bottom: -4px !important;
        top: auto !important;
        width: 92px !important;
        height: auto !important;
        max-width: 100%;
        max-height: 108px !important;
        margin: 0 !important;
        transform: translateX(-50%) !important;
        object-fit: contain;
        object-position: center bottom;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo--season .gm-promo__art {
        width: 98px !important;
        max-height: 90px !important;
        bottom: 6px !important;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo__title {
        position: relative;
        z-index: 1;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo__timer {
        position: relative;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1px !important;
        width: 100% !important;
        height: 37px !important;
        min-height: 37px;
        margin: 0 !important;
        padding: 0 3px !important;
        border-radius: 8.25px !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo__unit {
        flex: 0 0 24px !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 24px !important;
        min-width: 0;
        height: auto !important;
        gap: 1px !important;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo__unit b {
        display: block;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 15px !important;
        height: 15px;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo__unit span {
        display: block;
        margin: 0 !important;
        font-size: 7px !important;
        line-height: 9px !important;
        white-space: nowrap;
    }

    .gm-home--v3 .gm-rail .gm-rail__promo .gm-promo__timer > i {
        flex: 0 0 auto;
        padding: 0 !important;
        font-size: 12px !important;
        line-height: 15px !important;
        transform: translateY(-5px) !important;
    }
}


/* ==========================================================================
   Tablet / desktop: categories + acceptors sit exactly on the content column
   (no bleed to the viewport edge, no half-cut items). Swiper sets an equal
   slide width per breakpoint (see home-v3.js), cards stretch to that width.
   ========================================================================== */
@media (min-width: 768px) {
    /* categories */
    .gm-home--v3 .gm-categories__viewport {
        margin: -20px 0 !important;
    }

    .gm-home--v3 .gm-categories__slider {
        padding: 20px 0 24px !important;
    }

    .gm-home--v3 .gm-categories__slider .swiper-slide {
        min-width: 0;
        display: flex;
        justify-content: center;
    }

    .gm-home--v3 .gm-category-card {
        width: 100% !important;
        min-width: 0;
    }

    .gm-home--v3 .gm-category-card__label {
        width: 100%;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        font-size: 15px !important;
        line-height: 24px !important;
    }

    .gm-home--v3 .gm-categories__nav {
        top: 76px;
        opacity: 1;
        background: #fff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    }

    .gm-home--v3 .gm-categories__nav--prev { right: -12px; left: auto; }
    .gm-home--v3 .gm-categories__nav--next { left: -12px; right: auto; }

    /* acceptors */
    .gm-home--v3 .gm-brands__slider {
        margin: 0 !important;
        padding: 6px 0 4px !important;
    }

    .gm-home--v3 .gm-brands__slider .swiper-slide {
        display: flex;
        justify-content: center;
    }

    .gm-home--v3 .gm-seller-card {
        width: 100%;
    }

    .gm-home--v3 .gm-seller-card__box {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        padding: 14% !important;
    }

    .gm-home--v3 .gm-seller-card__name {
        max-width: 100%;
    }
}

@media (min-width: 1340px) {
    /* enough gutter: arrows sit just outside the content column */
    .gm-home--v3 .gm-categories__nav--prev { right: -56px; }
    .gm-home--v3 .gm-categories__nav--next { left: -56px; }
    .gm-home--v3 .gm-categories__nav { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
}

@media (max-width: 767.98px) {
    /* swipe strip spans the full screen width (same as categories); first card aligns with content padding */
    .gm-home--v3 .gm-brands__slider {
        width: auto !important;
    }
}
