/* Ishado home page: mirrors the mobile app design. Theme colours come from :root
   (--ish-primary / --ish-secondary / --ish-accent / --ish-font) set by admin Theme Settings. */

/* Fallbacks only: this file loads before the layout's inline :root theme block, which wins. */
:root {
    --ish-primary: #6366F1;
    --ish-secondary: #8B5CF6;
    --ish-accent: #06B6D4;
    --ish-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.ish-home {
    --ish-primary-ink: color-mix(in srgb, var(--ish-primary) 78%, #000);
    --ish-primary-pressed: color-mix(in srgb, var(--ish-primary) 85%, #000);
    --ish-primary-soft: color-mix(in srgb, var(--ish-primary) 9%, #fff);
    --ish-secondary-soft: color-mix(in srgb, var(--ish-secondary) 12%, #fff);
    --ish-accent-ink: color-mix(in srgb, var(--ish-accent) 60%, #000);

    --ish-heading: #111827;
    --ish-body: #374151;
    --ish-muted: #6B7280;
    --ish-subtle: #F1F5F9;
    --ish-border: #E2E8F0;
    --ish-bg: #F8FAFC;
    --ish-highlight: #FDE68A;
    --ish-rating: #F59E0B;
    --ish-error: #F43F5E;

    --ish-r-sm: 8px;
    --ish-r-md: 12px;
    --ish-r-lg: 16px;
    --ish-r-xl: 20px;
    --ish-r-2xl: 28px;

    --ish-shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
    --ish-shadow-card: 0 8px 24px rgba(15, 23, 42, .06);
    --ish-shadow-elevated: 0 12px 32px rgba(15, 23, 42, .10);
    --ish-shadow-primary: 0 8px 20px color-mix(in srgb, var(--ish-primary) 32%, transparent);

    --ish-gutter: 16px;

    font-family: var(--ish-font);
    color: var(--ish-body);
    background: var(--ish-bg);
    padding: 8px 0 48px;
    -webkit-font-smoothing: antialiased;
}

.ish-home h1,
.ish-home h2,
.ish-home h3,
.ish-home strong,
.ish-home b {
    font-family: var(--ish-font);
}

.ish-home h1,
.ish-home h2,
.ish-home h3,
.ish-home p,
.ish-home ul,
.ish-home figure,
.ish-home blockquote {
    margin: 0;
}

.ish-home ul {
    padding: 0;
    list-style: none;
}

.ish-home a {
    color: inherit;
    text-decoration: none;
}

.ish-home img {
    max-width: 100%;
}

.ish-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--ish-gutter);
}

.ish-section {
    padding: 16px 0;
}

.ish-section--hero {
    padding-top: 8px;
}

.ish-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.ish-section__title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: var(--ish-heading);
    letter-spacing: -.01em;
}

.ish-section__aside {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ish-section__link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ish-primary-ink) !important;
    white-space: nowrap;
}

.ish-section__link:hover {
    color: var(--ish-primary) !important;
}

.ish-section__spacer {
    height: 16px;
}

/* Horizontal scroller (phones/tablets); becomes a grid on desktop where noted. */
.ish-scroller {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--ish-gutter);
    margin: 0 calc(var(--ish-gutter) * -1);
    padding: 4px var(--ish-gutter) 12px;
    scrollbar-width: none;
}

.ish-scroller::-webkit-scrollbar {
    display: none;
}

.ish-scroller > * {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

/* Buttons */
.ish-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 0;
    transition: transform .15s ease, box-shadow .15s ease;
}

.ish-btn--white {
    background: #fff;
    color: var(--ish-heading) !important;
    box-shadow: var(--ish-shadow-sm);
}

.ish-btn--white:hover {
    transform: translateY(-1px);
    box-shadow: var(--ish-shadow-card);
}

.ish-btn--sm {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
}

.ish-go {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    font-size: 12px;
    font-weight: 600;
    color: var(--ish-heading);
    box-shadow: var(--ish-shadow-sm);
}

/* Hero carousel */
.ish-carousel {
    position: relative;
}

.ish-carousel__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: var(--ish-r-2xl);
    scrollbar-width: none;
}

.ish-carousel__track::-webkit-scrollbar {
    display: none;
}

.ish-carousel__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.ish-carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.ish-carousel__dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    transition: width .2s ease, background .2s ease;
}

.ish-carousel__dot.active {
    width: 20px;
    background: #fff;
}

.ish-hero {
    position: relative;
    display: block;
    min-height: 196px;
    height: 100%;
    padding: 20px 20px 36px;
    overflow: hidden;
    border-radius: var(--ish-r-2xl);
    color: #fff;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--ish-primary) 88%, #000) 0%,
            var(--ish-secondary) 55%,
            color-mix(in srgb, var(--ish-secondary) 35%, #EC4899) 100%);
}

.ish-hero__glow {
    position: absolute;
    right: -15%;
    top: -45%;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    pointer-events: none;
}

.ish-hero__content {
    position: relative;
    z-index: 1;
    max-width: 58%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.ish-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .56);
    background: rgba(255, 255, 255, .14);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.ish-hero__title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

.ish-hero__title span {
    color: var(--ish-highlight);
}

.ish-hero__subtitle {
    font-size: 13px;
    line-height: 18px;
    opacity: .92;
}

.ish-hero .ish-btn {
    margin-top: 8px;
    height: 40px;
}

.ish-hero__art {
    position: absolute;
    right: 0;
    bottom: 26px;
    width: 46%;
    max-width: 188px;
    object-fit: contain;
    pointer-events: none;
}

.ish-hero__discount {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--ish-heading);
    box-shadow: var(--ish-shadow-elevated);
    line-height: 1;
}

.ish-hero__discount small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
}

.ish-hero__discount strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--ish-primary-ink);
    margin: 2px 0;
}

.ish-hero--image {
    padding: 0;
    background: var(--ish-subtle);
}

.ish-hero--image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category discs */
.ish-cats {
    gap: 8px;
}

.ish-cat {
    width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ish-cat__disc {
    --tone-disc: #DDD6FE;
    --tone-ink: #6D28D9;
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--tone-disc);
    color: var(--tone-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--ish-shadow-sm);
    transition: transform .2s ease;
}

.ish-cat__disc::before {
    content: '';
    position: absolute;
    left: -6px;
    top: -10px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}

.ish-cat__disc img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.ish-cat__disc i {
    position: relative;
    font-size: 30px;
}

.ish-cat:hover .ish-cat__disc {
    transform: translateY(-2px);
}

.ish-cat__name {
    max-width: 100%;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--ish-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ish-tone--pink { --tone-disc: #FBCFE8; --tone-ink: #BE185D; }
.ish-tone--rose { --tone-disc: #FECDD3; --tone-ink: #BE123C; }
.ish-tone--cream { --tone-disc: #FDE68A; --tone-ink: #B45309; }
.ish-tone--gold { --tone-disc: #FDE68A; --tone-ink: #B45309; }
.ish-tone--lavender { --tone-disc: #DDD6FE; --tone-ink: #6D28D9; }
.ish-tone--mint { --tone-disc: #A7F3D0; --tone-ink: #047857; }
.ish-tone--green { --tone-disc: #BBF7D0; --tone-ink: #047857; }
.ish-tone--blue { --tone-disc: #BAE6FD; --tone-ink: #0369A1; }

/* Flash deal strip */
.ish-deal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 12px 16px;
    border-radius: var(--ish-r-xl);
    border: 1px solid #FFF7ED;
    background: linear-gradient(90deg, #FFF7ED 0%, #FFF1F2 55%, var(--ish-primary-soft) 100%);
}

.ish-deal__text {
    flex: 1;
    min-width: 0;
}

.ish-deal__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: var(--ish-heading);
}

.ish-deal__title i {
    color: #F59E0B;
    font-size: 20px;
}

.ish-deal__subtitle {
    font-size: 12px;
    line-height: 16px;
    color: var(--ish-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ish-deal__go {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    background: linear-gradient(135deg, #F97316, #F43F5E);
    box-shadow: 0 6px 16px rgba(244, 63, 94, .3);
}

.ish-countdown {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.ish-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.ish-countdown__unit b {
    min-width: 34px;
    height: 32px;
    padding: 0 4px;
    border-radius: var(--ish-r-sm);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--ish-heading);
    font-variant-numeric: tabular-nums;
    box-shadow: var(--ish-shadow-sm);
}

.ish-countdown__unit small {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ish-muted);
}

.ish-countdown__colon {
    font-size: 16px;
    line-height: 32px;
    font-weight: 800;
    color: var(--ish-heading);
}

.ish-chip-countdown {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #FFF1F2;
    color: #BE123C;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ish-chip-countdown i {
    font-size: 14px;
    margin-right: 2px;
}

/* Product card */
.ish-rail__item {
    width: 168px;
}

.ish-rail--compact .ish-rail__item {
    width: 144px;
}

.ish-pcard {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ish-border);
    border-radius: var(--ish-r-lg);
    box-shadow: var(--ish-shadow-card);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ish-pcard:hover {
    transform: translateY(-2px);
    box-shadow: var(--ish-shadow-elevated);
}

.ish-pcard__media {
    position: relative;
}

.ish-pcard__image {
    display: block;
    aspect-ratio: 1;
    background: var(--ish-subtle);
}

.ish-pcard__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ish-pcard__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    background: #C2410C;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ish-pcard__badge--best {
    background: var(--ish-primary-ink);
}

.ish-pcard__wish {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .56);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(8px);
    color: var(--ish-heading);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ish-pcard__wish .las {
    display: none;
}

.ish-pcard__wish.active {
    color: var(--ish-error);
}

.ish-pcard__wish.active .las {
    display: inline;
}

.ish-pcard__wish.active .lar {
    display: none;
}

.ish-pcard__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
}

.ish-pcard__title {
    font-size: 14px;
    line-height: 20px;
    min-height: 40px;
    font-weight: 500;
    color: var(--ish-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ish-pcard__title a:hover {
    color: var(--ish-primary-ink);
}

.ish-pcard__footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.ish-pcard__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ish-pcard__price {
    font-size: 17px;
    line-height: 24px;
    font-weight: 700;
    color: var(--ish-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ish-pcard__price del {
    display: block;
    margin: 0;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 400;
    color: var(--ish-muted);
}

.ish-pcard__add-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ish-primary);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ish-shadow-primary);
    transition: transform .15s ease, background .15s ease;
}

.ish-pcard__add-btn:hover {
    background: var(--ish-primary-pressed);
}

.ish-pcard__add-btn:active {
    transform: scale(.92);
}

.ish-pcard--compact {
    border-radius: var(--ish-r-md);
    box-shadow: var(--ish-shadow-sm);
}

.ish-pcard--compact .ish-pcard__badge {
    top: 8px;
    left: 8px;
    height: 20px;
    padding: 0 6px;
    font-size: 10px;
}

.ish-pcard--compact .ish-pcard__wish {
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
    font-size: 16px;
}

.ish-pcard--compact .ish-pcard__body {
    padding: 8px 10px 10px;
    gap: 4px;
}

.ish-pcard--compact .ish-pcard__title {
    font-size: 13px;
    line-height: 18px;
    min-height: 18px;
    -webkit-line-clamp: 1;
}

.ish-pcard--compact .ish-pcard__price {
    font-size: 15px;
    line-height: 20px;
}

.ish-pcard--compact .ish-pcard__price del {
    display: none;
}

.ish-pcard--compact .ish-pcard__add-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
    box-shadow: none;
}

.ish-stars {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1px;
}

.ish-stars__track {
    color: #E5E7EB;
}

.ish-stars__fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--ish-rating);
}

.ish-stars__count {
    letter-spacing: 0;
    font-weight: 500;
    color: var(--ish-muted);
}

/* New In tiles + shared pastel tones */
.ish-tile--lilac { --tile-bg: linear-gradient(135deg, var(--ish-secondary-soft), var(--ish-primary-soft)); --tile-ink: var(--ish-primary-ink); }
.ish-tile--gold { --tile-bg: linear-gradient(135deg, #FEF3C7, #FDE68A); --tile-ink: #B45309; }
.ish-tile--sky { --tile-bg: linear-gradient(135deg, #E0F2FE, var(--ish-primary-soft)); --tile-ink: var(--ish-accent-ink); }
.ish-tile--blush { --tile-bg: linear-gradient(135deg, #FFF1F2, #FBCFE8); --tile-ink: #BE185D; }

.ish-tile {
    position: relative;
    width: 172px;
    height: 136px;
    padding: 12px 8px 12px 16px;
    border-radius: var(--ish-r-lg);
    overflow: hidden;
    background: var(--tile-bg);
    display: flex;
    transition: transform .2s ease;
}

.ish-tile:hover {
    transform: translateY(-2px);
}

.ish-tile__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ish-tile__title {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: var(--tile-ink);
}

.ish-tile__subtitle {
    max-width: 96px;
    font-size: 12px;
    line-height: 16px;
    color: var(--ish-body);
}

.ish-tile .ish-go {
    margin-top: auto;
    align-self: flex-start;
}

.ish-tile__art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 57%;
    max-height: 72%;
    object-fit: contain;
    object-position: right bottom;
}

/* Rewards */
.ish-rewards {
    position: relative;
    min-height: 172px;
    margin-top: 12px;
    border-radius: var(--ish-r-lg);
    background: linear-gradient(135deg, #0F172A 0%, var(--ish-primary-pressed) 48%, var(--ish-secondary) 100%);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--ish-primary) 30%, transparent);
    color: #fff;
}

.ish-rewards__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ish-rewards__glow--a {
    right: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    border-radius: 0 var(--ish-r-lg) var(--ish-r-lg) 0;
    background: radial-gradient(circle 120px at 120px 90px, color-mix(in srgb, var(--ish-secondary) 35%, transparent) 99%, transparent 100%);
}

.ish-rewards__glow--b {
    left: 30%;
    bottom: 0;
    width: 200px;
    height: 70px;
    background: rgba(236, 72, 153, .18);
    filter: blur(20px);
}

.ish-rewards__content {
    position: relative;
    z-index: 2;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 60%;
}

.ish-rewards__title {
    font-size: 17px;
    line-height: 22px;
    font-weight: 800;
    color: #fff;
}

.ish-rewards__subtitle {
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    opacity: .85;
}

.ish-rewards__perks {
    margin-top: 8px !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ish-rewards__perks li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 15px;
    font-weight: 500;
}

.ish-rewards__perks i {
    color: var(--ish-highlight);
    font-size: 14px;
}

.ish-rewards .ish-btn {
    margin-top: 10px;
    height: 32px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ish-primary-pressed) !important;
}

.ish-rewards__art {
    position: absolute;
    right: -6px;
    top: -14px;
    z-index: 1;
    width: 40%;
    max-width: 200px;
    object-fit: contain;
    pointer-events: none;
}

/* Brands */
.ish-brands {
    gap: 10px;
}

.ish-brand {
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ish-brand__logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--ish-border);
    box-shadow: var(--ish-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .2s ease;
}

.ish-brand:hover .ish-brand__logo {
    transform: translateY(-2px);
}

.ish-brand__logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.ish-brand__logo b {
    font-size: 18px;
    font-weight: 800;
    color: var(--ish-heading);
}

.ish-brand__name {
    max-width: 100%;
    font-size: 11px;
    line-height: 14px;
    font-weight: 500;
    color: var(--ish-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pay your way */
.ish-pay {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px 20px 20px;
    border-radius: var(--ish-r-xl);
    border: 1px solid #ECFDF5;
    background: linear-gradient(135deg, #ECFDF5 0%, #ECFDF5 45%, #C8F7E1 100%);
    box-shadow: var(--ish-shadow-card);
    overflow: hidden;
}

.ish-pay__glow {
    position: absolute;
    right: -30px;
    top: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}

.ish-pay__art {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 80px;
    object-fit: contain;
}

.ish-pay__text {
    position: relative;
    padding-right: 88px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ish-pay__title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #047857;
}

.ish-pay__subtitle {
    font-size: 13px;
    line-height: 18px;
    color: var(--ish-body);
}

.ish-pay__methods {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ish-pay__methods li {
    height: 32px;
    padding: 0 8px;
    border-radius: var(--ish-r-sm);
    background: #fff;
    box-shadow: var(--ish-shadow-sm);
    display: flex;
    align-items: center;
}

.ish-pay__methods img {
    height: 18px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

/* Best deals */
.ish-deals {
    display: grid;
    gap: 8px;
}

.ish-mega {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 140px;
    padding: 16px 20px;
    border-radius: var(--ish-r-lg);
    overflow: hidden;
    color: #fff !important;
    box-shadow: var(--ish-shadow-card);
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--ish-primary) 88%, #000) 0%,
            var(--ish-secondary) 55%,
            color-mix(in srgb, var(--ish-secondary) 35%, #EC4899) 100%);
}

.ish-mega__glow {
    position: absolute;
    right: -40px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.ish-mega__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    max-width: 60%;
}

.ish-mega__eyebrow {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    opacity: .92;
}

.ish-mega__title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

.ish-mega__subtitle {
    font-size: 13px;
    line-height: 18px;
    opacity: .9;
}

.ish-mega .ish-btn {
    margin-top: 8px;
}

.ish-mega__art {
    position: absolute;
    right: -4px;
    bottom: 4px;
    width: 46%;
    max-width: 178px;
    object-fit: contain;
}

.ish-deals__tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ish-dtile {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 0 12px;
    border-radius: var(--ish-r-md);
    overflow: hidden;
    background: var(--tile-bg);
    box-shadow: var(--ish-shadow-sm);
}

.ish-dtile__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: 62%;
}

.ish-dtile__title {
    font-size: 14px;
    line-height: 17px;
    font-weight: 800;
    color: var(--tile-ink);
    margin-bottom: 4px;
}

.ish-dtile small {
    font-size: 11px;
    line-height: 14px;
    color: var(--ish-muted);
}

.ish-dtile__discount {
    font-size: 15px;
    line-height: 18px;
    font-weight: 800;
    color: var(--tile-ink);
}

.ish-dtile__art {
    position: absolute;
    right: 2px;
    bottom: 6px;
    width: 46%;
    max-height: 80%;
    object-fit: contain;
    object-position: right bottom;
}

/* Collections / offers with a banner */
.ish-collection {
    display: grid;
    gap: 12px;
}

.ish-collection__banner {
    display: block;
    border-radius: var(--ish-r-lg);
    overflow: hidden;
    background: var(--ish-subtle);
}

.ish-collection__banner img {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
}

.ish-collection__products {
    min-width: 0;
}

/* Promo banners */
.ish-promos {
    display: grid;
    gap: 12px;
}

.ish-promo {
    display: block;
    border-radius: var(--ish-r-lg);
    overflow: hidden;
    background: var(--ish-subtle);
    transition: transform .2s ease;
}

.ish-promo:hover {
    transform: translateY(-2px);
}

.ish-promo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Customer love */
.ish-review {
    width: 280px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--ish-border);
    border-radius: var(--ish-r-lg);
    box-shadow: var(--ish-shadow-card);
}

.ish-review__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ish-review__head > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ish-review__avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    background: var(--ish-secondary-soft);
    border: 2px solid var(--ish-accent);
    color: var(--ish-primary-ink);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ish-review__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ish-heading);
}

.ish-review__quote {
    font-size: 13px;
    line-height: 18px;
    color: var(--ish-body);
    padding: 0;
    border: 0;
}

.ish-review__product {
    font-size: 12px;
    line-height: 16px;
    color: var(--ish-muted);
}

/* Small tablets */
@media (min-width: 576px) {
    .ish-rail__item {
        width: 196px;
    }

    .ish-rail--compact .ish-rail__item {
        width: 164px;
    }

    .ish-tiles {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    .ish-tile {
        width: auto;
        height: 150px;
    }

    .ish-promos--2,
    .ish-promos--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablets */
@media (min-width: 768px) {
    .ish-home {
        --ish-gutter: 24px;
        padding-top: 16px;
    }

    .ish-section {
        padding: 20px 0;
    }

    .ish-section__title {
        font-size: 24px;
        line-height: 32px;
    }

    .ish-hero {
        min-height: 300px;
        padding: 40px 40px 48px;
    }

    .ish-hero__content {
        max-width: 55%;
        gap: 12px;
    }

    .ish-hero__title {
        font-size: 36px;
        line-height: 44px;
    }

    .ish-hero__subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .ish-hero .ish-btn {
        height: 48px;
        font-size: 15px;
    }

    .ish-hero__art {
        width: 40%;
        max-width: 360px;
        right: 4%;
        bottom: 24px;
    }

    .ish-hero__discount {
        top: 24px;
        right: 24px;
        width: 88px;
        height: 88px;
    }

    .ish-hero__discount strong {
        font-size: 26px;
    }

    .ish-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ish-tile {
        height: 168px;
        padding: 20px 12px 20px 20px;
    }

    .ish-tile__title {
        font-size: 17px;
        line-height: 24px;
    }

    .ish-tile__subtitle {
        max-width: 140px;
        font-size: 13px;
        line-height: 18px;
    }

    .ish-rewards {
        min-height: 220px;
    }

    .ish-rewards__content {
        padding: 28px 32px;
    }

    .ish-rewards__title {
        font-size: 26px;
        line-height: 32px;
    }

    .ish-rewards__subtitle {
        font-size: 15px;
        line-height: 22px;
    }

    .ish-rewards__perks {
        margin-top: 14px !important;
        gap: 6px;
    }

    .ish-rewards__perks li {
        font-size: 14px;
        line-height: 20px;
    }

    .ish-rewards .ish-btn {
        margin-top: 16px;
        height: 40px;
        font-size: 14px;
    }

    .ish-rewards__art {
        top: -24px;
        bottom: 0;
        right: 2%;
        width: auto;
        height: calc(100% + 24px);
        max-width: 40%;
        object-position: right bottom;
    }

    .ish-pay {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 28px 140px 28px 32px;
    }

    .ish-pay__text {
        padding-right: 0;
    }

    .ish-pay__art {
        top: 50%;
        right: 24px;
        transform: translateY(-50%);
        width: 96px;
    }

    .ish-pay__methods {
        justify-content: flex-end;
        max-width: 55%;
    }

    .ish-deals {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 12px;
    }

    .ish-deals--single {
        grid-template-columns: 1fr;
    }

    .ish-mega {
        min-height: 220px;
        padding: 28px 32px;
    }

    .ish-mega__title {
        font-size: 32px;
        line-height: 40px;
    }

    .ish-mega__art {
        max-width: 320px;
    }

    .ish-deals__tiles {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ish-deals--single .ish-deals__tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ish-dtile {
        min-height: 104px;
        padding: 0 20px;
    }

    .ish-dtile__title {
        font-size: 16px;
        line-height: 20px;
    }

    .ish-promos--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ish-review {
        width: 320px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .ish-home {
        --ish-gutter: 32px;
    }

    .ish-section {
        padding: 24px 0;
    }

    .ish-hero {
        min-height: 380px;
        padding: 56px 56px 64px;
    }

    .ish-hero__title {
        font-size: 48px;
        line-height: 56px;
    }

    .ish-hero__subtitle {
        font-size: 17px;
        line-height: 26px;
        max-width: 440px;
    }

    .ish-hero__art {
        max-width: 440px;
        right: 6%;
    }

    .ish-carousel__dots {
        bottom: 20px;
    }

    /* Rails become grids of at most two rows. */
    .ish-rail {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    .ish-rail__item,
    .ish-rail--compact .ish-rail__item {
        width: auto;
    }

    .ish-rail > .ish-rail__item:nth-child(n + 11) {
        display: none;
    }

    .ish-rail--compact {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .ish-rail--compact > .ish-rail__item:nth-child(n + 11) {
        display: block;
    }

    .ish-rail--compact > .ish-rail__item:nth-child(n + 13) {
        display: none;
    }

    .ish-collection {
        grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
        gap: 16px;
        align-items: stretch;
    }

    .ish-collection--right .ish-collection__banner {
        order: 2;
    }

    .ish-collection__banner img {
        max-height: none;
    }

    .ish-collection .ish-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ish-collection .ish-rail > .ish-rail__item:nth-child(n + 9) {
        display: none;
    }

    .ish-cats {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
        gap: 20px 12px;
        overflow: visible;
        margin: 0;
        padding: 4px 0 0;
    }

    .ish-cat {
        width: auto;
    }

    .ish-cat__disc {
        width: 88px;
        height: 88px;
    }

    .ish-cat__name {
        font-size: 14px;
    }

    .ish-brands {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
        gap: 20px 12px;
        overflow: visible;
        margin: 0;
        padding: 4px 0 0;
    }

    .ish-brand {
        width: auto;
    }

    .ish-brand__logo {
        width: 72px;
        height: 72px;
    }

    .ish-brand__logo img {
        width: 48px;
        height: 48px;
    }

    .ish-brand__name {
        font-size: 13px;
        line-height: 18px;
    }

    .ish-reviews {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        overflow: visible;
        margin: 0;
        padding: 4px 0 0;
    }

    .ish-review {
        width: auto;
        padding: 20px;
    }

    .ish-review__quote {
        font-size: 14px;
        line-height: 22px;
    }

    .ish-deal {
        padding: 16px 16px 16px 24px;
        gap: 24px;
    }

    .ish-deal__title {
        font-size: 20px;
        line-height: 28px;
    }

    .ish-deal__subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .ish-countdown__unit b {
        min-width: 44px;
        height: 40px;
        font-size: 20px;
    }

    .ish-countdown__colon {
        line-height: 40px;
        font-size: 20px;
    }

    .ish-deal__go {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
}

@media (min-width: 1200px) {
    .ish-rail {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .ish-rail > .ish-rail__item:nth-child(n + 11) {
        display: block;
    }

    .ish-rail > .ish-rail__item:nth-child(n + 13) {
        display: none;
    }

    .ish-collection .ish-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .ish-collection .ish-rail > .ish-rail__item:nth-child(n + 9) {
        display: block;
    }

    .ish-collection .ish-rail > .ish-rail__item:nth-child(n + 11) {
        display: none;
    }
}

/* Desktop grids drop an incomplete trailing row (once at least one full row exists). */
@media (min-width: 992px) {
    .ish-rail--compact > .ish-rail__item:nth-child(6n + 1):nth-last-child(-n + 5):not(:first-child),
    .ish-rail--compact > .ish-rail__item:nth-child(6n + 1):nth-last-child(-n + 5):not(:first-child) ~ .ish-rail__item {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .ish-rail:not(.ish-rail--compact):not(.ish-rail--side) > .ish-rail__item:nth-child(5n + 1):nth-last-child(-n + 4):not(:first-child),
    .ish-rail:not(.ish-rail--compact):not(.ish-rail--side) > .ish-rail__item:nth-child(5n + 1):nth-last-child(-n + 4):not(:first-child) ~ .ish-rail__item,
    .ish-rail--side > .ish-rail__item:nth-child(4n + 1):nth-last-child(-n + 3):not(:first-child),
    .ish-rail--side > .ish-rail__item:nth-child(4n + 1):nth-last-child(-n + 3):not(:first-child) ~ .ish-rail__item {
        display: none;
    }
}

@media (min-width: 1200px) {
    .ish-rail:not(.ish-rail--side) > .ish-rail__item:nth-child(6n + 1):nth-last-child(-n + 5):not(:first-child),
    .ish-rail:not(.ish-rail--side) > .ish-rail__item:nth-child(6n + 1):nth-last-child(-n + 5):not(:first-child) ~ .ish-rail__item,
    .ish-rail--side > .ish-rail__item:nth-child(5n + 1):nth-last-child(-n + 4):not(:first-child),
    .ish-rail--side > .ish-rail__item:nth-child(5n + 1):nth-last-child(-n + 4):not(:first-child) ~ .ish-rail__item {
        display: none;
    }
}

@media (max-width: 380px) {
    .ish-deal {
        flex-wrap: wrap;
    }

    .ish-deal__text {
        flex-basis: 100%;
    }

    .ish-deal__go {
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ish-home *,
    .ish-carousel__track {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
