/* =============================================================
   YVES SOFER - HOME PAGE (v20260521-2)
   Inspiration marketplace: slider promo haut de page, rayons,
   deals horizontaux et grille catalogue.
   ============================================================= */

.ys-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(245, 158, 11, 0.95);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ys-home-kicker::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.7;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
   BARRE SERVICE
--------------------------------------------------------------- */
.ys-home-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ys-home-strip a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #111827;
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ys-home-strip a:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.ys-home-strip i {
    color: #ef4444;
    width: 18px;
    text-align: center;
}

/* ---------------------------------------------------------------
   HERO PROMO SLIDER
--------------------------------------------------------------- */
.ys-home-stage {
    position: relative;
    overflow: hidden;
    margin-top: -32px;
    border-radius: 0;
    background: linear-gradient(125deg, #ff1744 0%, #ff7a18 42%, #ffd166 100%);
    box-shadow: none;
    border: 0;
}

.ys-hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
    background: linear-gradient(125deg, #ff1744 0%, #ff7a18 42%, #ffd166 100%);
    transition: background 0.55s ease;
}

.ys-stage-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    min-width: 100%;
    visibility: hidden;
    pointer-events: none;
    will-change: transform;
    background: var(--ys-slide-bg, linear-gradient(125deg, #ff1744 0%, #ff7a18 42%, #ffd166 100%));
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.ys-stage-slide.is-active {
    visibility: visible;
    pointer-events: auto;
}

.ys-stage-slide:nth-child(1) { --ys-slide-bg: linear-gradient(125deg, #ff1744 0%, #ff7a18 42%, #ffd166 100%); }
.ys-stage-slide:nth-child(2) { --ys-slide-bg: linear-gradient(125deg, #7c3aed 0%, #ec4899 48%, #f97316 100%); }
.ys-stage-slide:nth-child(3) { --ys-slide-bg: linear-gradient(125deg, #0f172a 0%, #2563eb 48%, #22d3ee 100%); }
.ys-stage-slide:nth-child(4) { --ys-slide-bg: linear-gradient(125deg, #065f46 0%, #10b981 46%, #bef264 100%); }
.ys-stage-slide:nth-child(5) { --ys-slide-bg: linear-gradient(125deg, #be123c 0%, #f43f5e 46%, #fb7185 100%); }
.ys-stage-slide:nth-child(6) { --ys-slide-bg: linear-gradient(125deg, #4c1d95 0%, #8b5cf6 44%, #06b6d4 100%); }

.ys-stage-slide__content {
    position: relative;
    z-index: 2;
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 44px 44px 96px 96px;
    color: #ffffff;
    background: transparent;
}

.ys-slide-deal-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f59e0b;
    color: #111827;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ys-stage-slide__content h1 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-display, "Fraunces", serif);
    max-width: 12ch;
    font-size: clamp(2.2rem, 3.75vw, 3.95rem);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: 0;
    text-shadow: 0 3px 18px rgba(15, 23, 42, 0.22);
}

.ys-stage-slide__content p {
    margin: 0;
    color: rgba(248, 250, 252, 0.76);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 34rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ys-stage-slide__media {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
    padding: 28px 48px 78px 24px;
    background: transparent;
    text-decoration: none;
}

.ys-stage-slide__media::before {
    content: none;
}

.ys-stage-slide__visual {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.ys-stage-slide__visual img {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.45s ease;
    filter: drop-shadow(0 28px 36px rgba(15, 23, 42, 0.22));
}

.ys-stage-slide.is-active .ys-stage-slide__media:hover .ys-stage-slide__visual img {
    transform: scale(1.025);
}

.ys-stage-slide__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: min(420px, 70vw);
    aspect-ratio: 1 / 1;
    font-family: var(--font-display, "Fraunces", serif);
    font-size: 5rem;
    font-weight: 950;
    color: rgba(15, 23, 42, 0.18);
}

.ys-stage-slide__pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
}

.ys-stage-slide__pricing strong {
    font-family: var(--font-display, "Fraunces", serif);
    font-size: 2rem;
    font-weight: 950;
    color: #ffffff;
}

.ys-stage-slide__pricing span {
    color: rgba(248, 250, 252, 0.48);
    text-decoration: line-through;
    font-size: 1rem;
    font-weight: 800;
}

.ys-stage-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ys-stage-slide__cta,
.ys-stage-slide__add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ys-stage-slide__cta {
    background: #f59e0b;
    color: #111827;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.32);
}

.ys-stage-slide__add-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: var(--font-sans, sans-serif);
}

.ys-stage-slide__cta:hover,
.ys-stage-slide__add-btn:hover {
    transform: translateY(-2px);
}

.ys-stage-slide__cta:hover {
    background: #fbbf24;
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.42);
}

.ys-stage-slide__add-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.ys-stage-slide__add-form {
    display: flex;
    margin: 0;
    padding: 0;
}

.ys-stage-slide__promo-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.ys-slide-sale-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    gap: 5px;
    align-items: flex-start;
    pointer-events: none;
}

.ys-slide-sale-tags span {
    --tag-color: #2563eb;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 58px;
    padding-top: 9px;
    color: #ffffff;
    font-family: var(--font-display, "Fraunces", serif);
    font-size: 2.05rem;
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 2px 0 rgba(15, 23, 42, 0.14);
    background: var(--tag-color);
    border-radius: 8px 8px 7px 7px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    transform: rotate(calc((-9deg + (var(--tag-index) * 5deg))));
    clip-path: polygon(50% 0%, 100% 18%, 100% 100%, 0 100%, 0 18%);
}

.ys-slide-sale-tags span::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    transform: translateX(-50%);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.18);
}

.ys-slide-sale-tags span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% - 6px);
    width: 1px;
    height: 46px;
    background: rgba(15, 23, 42, 0.75);
    transform: translateX(-50%);
    transform-origin: bottom center;
}

.ys-slide-sale-tags span:nth-child(1) { --tag-color: #2563eb; }
.ys-slide-sale-tags span:nth-child(2) { --tag-color: #f97316; }
.ys-slide-sale-tags span:nth-child(3) { --tag-color: #fbbf24; }
.ys-slide-sale-tags span:nth-child(4) { --tag-color: #f06292; }
.ys-slide-sale-tags span:nth-child(5) { --tag-color: #16a34a; }

.ys-slide-badges {
    position: absolute;
    top: 80px;
    left: 10px;
    right: auto;
    z-index: 3;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    pointer-events: none;
}

.ys-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ys-slide-badge--flash {
    /* Override parent pill → starburst explosion */
    padding: 0;
    border-radius: 0;
    border: none;
    min-height: unset;
    backdrop-filter: unset;
    -webkit-backdrop-filter: unset;
    width: 78px;
    height: 78px;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    background: linear-gradient(135deg, #ff2d2d 0%, #dc2626 52%, #991b1b 100%);
    box-shadow: none;
    clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%);
    font-size: 0.88rem;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    filter: drop-shadow(0 8px 20px rgba(153, 27, 27, 0.48));
    animation: burst-pulse 2.8s ease-in-out infinite;
}

.ys-slide-badge--last {
    background: #047857;
    box-shadow: 0 8px 22px rgba(4, 120, 87, 0.28);
}

.ys-slide-badge--countdown {
    background: rgba(17, 24, 39, 0.78);
    font-variant-numeric: tabular-nums;
}

.ys-hero-slider__controls {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
    padding: 0 20px 92px;
}

.ys-hero-slider__controls > * {
    pointer-events: auto;
}

.ys-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.ys-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    border: 0;
    cursor: pointer;
    appearance: none;
    padding: 0;
    transition: width 0.2s ease, background 0.2s ease;
}

.ys-hero-dot.is-active {
    width: 26px;
    background: #ffffff;
}

.ys-hero-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 86px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    cursor: pointer;
    appearance: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.ys-hero-arrow:hover {
    background: rgba(17, 24, 39, 0.2);
    transform: none;
}

/* ---------------------------------------------------------------
   RAYONS
--------------------------------------------------------------- */
.ys-aisles {
    position: relative;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: -82px;
    padding-inline: 0;
}

.ys-aisle-card {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 255px;
    padding: 24px;
    overflow: hidden;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #111827;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.13);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ys-aisle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.ys-aisle-card span,
.ys-aisle-card strong,
.ys-aisle-card i {
    position: relative;
    z-index: 2;
}

.ys-aisle-card span {
    max-width: 75%;
    font-family: var(--font-display, "Fraunces", serif);
    font-size: clamp(1.25rem, 1.9vw, 1.9rem);
    font-weight: 900;
    line-height: 1.12;
}

.ys-aisle-card strong {
    align-self: end;
    margin-top: auto;
    color: #0b5cab;
    font-size: 0.95rem;
    font-weight: 900;
}

.ys-aisle-card img {
    position: absolute;
    right: 8px;
    bottom: 42px;
    width: 62%;
    height: 58%;
    object-fit: contain;
    opacity: 0.92;
    z-index: 1;
}

.ys-aisle-card--plain {
    background: #f8fafc;
}

.ys-aisle-card--plain i {
    margin-top: 24px;
    color: #047857;
}

/* ---------------------------------------------------------------
   DEALS HORIZONTAUX
--------------------------------------------------------------- */
.ys-deal-rail {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.ys-deal-rail .section-heading {
    margin-bottom: 0;
}

.ys-deal-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 184px;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
}

.ys-mini-deal {
    display: grid;
    gap: 10px;
    min-width: 0;
    color: #111827;
    text-decoration: none;
    scroll-snap-align: start;
}

.ys-mini-deal__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.ys-mini-deal__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.22s ease;
}

.ys-mini-deal:hover .ys-mini-deal__media img {
    transform: scale(1.04);
}

.ys-mini-deal__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    color: rgba(15, 23, 42, 0.24);
    font-family: var(--font-display, "Fraunces", serif);
    font-size: 2rem;
    font-weight: 950;
}

.ys-mini-deal em {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #fcd34d 0%, #fb923c 50%, #ef4444 100%);
    color: #fff;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 950;
    clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%);
    filter: drop-shadow(0 4px 10px rgba(249, 115, 22, 0.5));
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    animation: burst-pulse 2.8s ease-in-out infinite;
}

.ys-mini-deal strong {
    display: -webkit-box;
    min-height: 2.8em;
    color: #111827;
    font-size: 0.9rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ys-mini-deal > span:last-child {
    color: #b91c1c;
    font-size: 0.92rem;
    font-weight: 950;
}

/* ---------------------------------------------------------------
   DISCOVERY
--------------------------------------------------------------- */
.ys-discovery {
    display: grid;
    gap: 22px;
    padding: 26px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.ys-discovery .section-heading {
    margin-bottom: 0;
}

.ys-discovery-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.ys-discovery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ys-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    color: #111827;
    font-size: 0.8rem;
    font-weight: 850;
    cursor: pointer;
    appearance: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ys-filter-chip:hover {
    transform: translateY(-2px);
    background: #f8fafc;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.ys-filter-chip.is-active {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
    transform: translateY(-2px);
}

.ys-discovery-sort {
    display: grid;
    gap: 4px;
    min-width: 180px;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 850;
}

.ys-discovery-sort select {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 0.84rem;
    font-weight: 750;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ys-discovery-sort select:focus {
    outline: 0;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.ys-discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ys-discovery-item[hidden] {
    display: none !important;
}

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1280px) {
    .ys-discovery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1060px) {
    .ys-home-strip,
    .ys-aisles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ys-stage-slide__content {
        flex-basis: 48%;
        padding: 34px 30px 72px 76px;
    }

    .ys-stage-slide__content h1 {
        font-size: 2.1rem;
    }

    .ys-aisle-card {
        min-height: 220px;
    }

    .ys-discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ys-home-stage {
        margin-top: -24px;
    }

    .ys-hero-slider {
        height: 600px;
    }

    .ys-stage-slide {
        flex-direction: column-reverse;
    }

    .ys-stage-slide__media {
        flex: 0 0 240px;
        padding: 16px 16px 24px;
    }

    .ys-stage-slide__content {
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: 12px;
        padding: 20px 18px 72px;
    }

    .ys-stage-slide__content h1 {
        max-width: none;
        font-size: 1.88rem;
    }

    .ys-stage-slide__content p {
        font-size: 0.92rem;
        -webkit-line-clamp: 2;
    }

    .ys-stage-slide__pricing strong {
        font-size: 1.5rem;
    }

    .ys-stage-slide__cta,
    .ys-stage-slide__add-btn {
        min-height: 50px;
    }

    .ys-hero-slider__controls {
        padding: 0 10px 68px;
    }

    .ys-hero-dots {
        bottom: 74px;
    }

    .ys-slide-sale-tags {
        top: 8px;
        left: 8px;
    }

    .ys-slide-sale-tags span {
        width: 34px;
        height: 46px;
        font-size: 1.45rem;
        border-radius: 7px;
    }

    .ys-slide-sale-tags span::after {
        height: 30px;
    }

    .ys-slide-badges {
        top: 62px;
        left: 8px;
        right: auto;
        align-items: flex-start;
    }

    .ys-slide-badge--flash {
        width: 66px;
        height: 66px;
        font-size: 0.78rem;
    }

    .ys-aisles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -52px;
        gap: 10px;
    }

    .ys-aisle-card {
        min-height: 180px;
        padding: 16px;
    }

    .ys-aisle-card span {
        font-size: 1.1rem;
    }

    .ys-deal-rail,
    .ys-discovery {
        padding: 16px;
    }

    .ys-discovery-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .ys-discovery-sort {
        min-width: 100%;
    }

    .ys-filter-chip {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.76rem;
    }
}

@media (max-width: 540px) {
    .ys-home-strip {
        grid-template-columns: 1fr;
    }

    .ys-aisles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -44px;
        gap: 8px;
    }

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

    .ys-home-strip a {
        min-height: 48px;
    }

    .ys-hero-slider {
        height: 560px;
    }

    .ys-stage-slide__media {
        flex: 0 0 190px;
        padding: 12px 12px 18px;
    }

    .ys-stage-slide__content {
        padding: 18px 16px 68px;
        gap: 10px;
    }

    .ys-stage-slide__content h1 {
        font-size: 1.55rem;
    }

    .ys-stage-slide__content p {
        -webkit-line-clamp: 2;
        font-size: 0.88rem;
    }

    .ys-aisle-card {
        min-height: 140px;
        padding: 12px;
    }

    .ys-aisle-card span {
        font-size: 1rem;
    }

    .ys-aisle-card strong {
        font-size: 0.82rem;
    }

    .ys-stage-slide__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ys-stage-slide__cta,
    .ys-stage-slide__add-btn,
    .ys-stage-slide__add-form {
        width: 100%;
    }

    .ys-stage-slide__add-btn {
        justify-content: center;
    }

    .ys-deal-scroller {
        grid-auto-columns: 154px;
    }

    .ys-filter-chip {
        min-height: 30px;
        padding: 0 10px;
        font-size: 0.74rem;
    }

    .ys-discovery-sort {
        display: none;
    }
}

@media (max-width: 400px) {
    .ys-hero-slider {
        height: 530px;
    }

    .ys-stage-slide__content {
        padding: 14px 14px 64px;
        gap: 8px;
    }

    .ys-stage-slide__content h1 {
        font-size: 1.38rem;
    }

    .ys-stage-slide__content p {
        display: none;
    }

    .ys-stage-slide__media {
        flex: 0 0 165px;
        padding: 10px 10px 16px;
    }

    .ys-aisles {
        margin-top: -36px;
        gap: 6px;
    }

    .ys-aisle-card {
        min-height: 120px;
        padding: 10px;
    }

    .ys-aisle-card span {
        font-size: 0.9rem;
    }

    .ys-aisle-card strong {
        font-size: 0.76rem;
    }

    .ys-deal-rail,
    .ys-discovery {
        padding: 12px;
    }

    .ys-deal-scroller {
        grid-auto-columns: 138px;
    }

    .ys-hero-arrow {
        width: 32px;
        height: 52px;
    }
}
