/* Benjamin Helper — Ana sayfa premium vitrin */
.store-home .hero {
    display: none;
}

.store-home main {
    padding-top: calc(var(--header-height) + var(--header-content-gap));
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ——— Ana sayfa: reveal taşmasını önle ——— */
.store-home .reveal {
    opacity: 1;
    transform: none;
}

.store-home .reveal.active {
    opacity: 1;
    transform: none;
}

/* ——— Hero slider (overlay, sabit yükseklik) ——— */
.hm-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 16px;
    margin-bottom: 0;
}

.hm-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.hm-slider__viewport {
    position: relative;
    height: clamp(340px, 42vw, 420px);
    min-height: 340px;
    isolation: isolate;
}

.hm-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.55s ease, visibility 0.55s;
    z-index: 0;
}

.hm-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hm-slider__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 7s ease;
}

.hm-slider__slide.is-active .hm-slider__bg {
    transform: scale(1.08);
}

.hm-slider__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.hm-slider__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 40px 48px;
    max-width: 560px;
    color: #fff;
}

.hm-slider__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.hm-slider__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 14px;
    color: #fff;
}

.hm-slider__text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 40ch;
    margin-bottom: 24px;
}

.hm-slider__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hm-slider__btn-ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hm-slider__btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.hm-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hm-slider__arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.hm-slider__prev { left: 16px; }
.hm-slider__next { right: 16px; }

.hm-slider__footer {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: auto;
}

.hm-slider__dots {
    display: flex;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
}

.hm-slider__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hm-slider__dot.is-active {
    width: 24px;
    background: var(--accent);
}

/* Hero altı güven şeridi */
.hm-hero-perks {
    padding: 12px 0 16px;
    margin-top: 0;
}

.hm-hero-perks__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hm-hero-perk {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hm-hero-perk:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.hm-hero-perk i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.hm-hero-perk strong {
    display: block;
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.3;
}

.hm-hero-perk span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ——— Hızlı gezinme + popüler aramalar ——— */
.hm-quick {
    padding: 8px 0 24px;
    background: var(--bg-primary);
}

.hm-quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.hm-quick-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hm-quick-nav__item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: var(--bg-tertiary);
}

.hm-quick-nav__item i {
    font-size: 1.6rem;
    color: var(--accent);
}

.hm-quick-nav__item span {
    font-size: 0.8125rem;
    font-weight: 600;
}

.hm-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.hm-pill {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hm-pill:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ——— Bölümler ——— */
.hm-section {
    position: relative;
    z-index: 2;
    overflow: visible;
    padding: 36px 0;
    clear: both;
}

.hm-section .container {
    display: block;
}

.hm-section--soft {
    background: var(--bg-secondary);
}

.hm-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hm-section__tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.hm-section__head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
    line-height: 1.2;
}

.hm-section__sub {
    margin: 6px 0 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.hm-section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--accent);
    white-space: nowrap;
}

.hm-section__link:hover {
    color: var(--accent-hover);
}

/* ——— Kategoriler ——— */
.hm-cat-scroll {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 4px 2px 10px;
    min-height: 130px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.hm-cat-scroll::-webkit-scrollbar {
    height: 4px;
}

.hm-cat-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.hm-cat-tile {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 118px;
    min-height: 118px;
    padding: 18px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hm-cat-tile:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.hm-cat-tile__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--accent);
    font-size: 1.2rem;
}

.hm-cat-tile__name {
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.hm-cat-tile__count {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* ——— Ürün grid ——— */
.hm-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.hm-grid-4--blog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-scroll-wrap {
    overflow: visible;
    margin: 0;
    padding: 0;
}

.hm-scroll-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 6px 2px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.hm-scroll-row .hm-product-card {
    flex: 0 0 260px;
    width: 260px;
    max-width: 78vw;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.hm-product-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hm-product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.hm-scroll-row .hm-product-card:hover {
    transform: none;
}

.hm-grid-4 .hm-product-card:hover {
    transform: translateY(-4px);
}

.hm-product-card .product-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.hm-product-card .product-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.hm-product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hm-product-card .product-info {
    padding: 16px;
}

.hm-product-card .product-title {
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-product-card__placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-secondary);
}

.hm-product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
}

/* ——— Promo ——— */
.hm-section--promo {
    padding-top: 44px;
    padding-bottom: 44px;
}

.hm-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hm-promo-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hm-promo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-height: 280px;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-promo--featured {
    min-height: clamp(280px, 32vw, 360px);
    aspect-ratio: 16 / 10;
}

.hm-promo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hm-promo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    inset: 0;
    transition: transform 0.45s ease;
}

.hm-promo:hover img {
    transform: scale(1.04);
}

.hm-promo__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.88) 100%);
    z-index: 1;
    pointer-events: none;
}

.hm-promo__body {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: inherit;
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
}

.hm-promo__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.hm-promo__body h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    margin: 0;
    color: #fff;
}

.hm-promo__body p {
    font-size: 0.875rem;
    opacity: 0.92;
    margin: 0 0 8px;
}

.hm-promo__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    width: fit-content;
    transition: background 0.2s ease;
}

.hm-promo:hover .hm-promo__cta {
    background: var(--accent-hover);
}

/* ——— Blog ——— */
.hm-section--blog {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding-top: 52px;
    padding-bottom: 52px;
}

.hm-section--blog .hm-section__head {
    margin-bottom: 32px;
    align-items: flex-start;
}

.hm-section__head--center .hm-section__sub {
    max-width: 42ch;
}

.hm-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hm-blog-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.hm-blog-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.hm-blog-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hm-blog-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hm-blog-card__meta {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hm-blog-card__title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.hm-blog-card__title a:hover {
    color: var(--accent);
}

.hm-blog-card__excerpt {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hm-blog-card__link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Ana sayfa yorumlar + bülten */
.store-home .reviews-wrap {
    margin: 0;
    border-radius: 0;
    padding: 64px 0;
}

.store-home .newsletter {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
}

.store-home .newsletter .nl-form input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.store-home .newsletter .nl-form input::placeholder {
    color: var(--text-secondary);
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
    .hm-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-grid-4--blog,
    .hm-blog-grid {
        grid-template-columns: 1fr;
    }

    .hm-promo-grid,
    .hm-quick-nav,
    .hm-hero-perks__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hm-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hm-slider__viewport {
        height: clamp(300px, 55vw, 360px);
    }

    .hm-slider__content {
        padding: 28px 24px 56px;
    }

    .hm-slider__title {
        font-size: 1.5rem;
    }

    .hm-slider__text {
        font-size: 0.875rem;
        margin-bottom: 16px;
    }

    .hm-slider__arrow {
        width: 34px;
        height: 34px;
    }

    .hm-slider__prev { left: 10px; }
    .hm-slider__next { right: 10px; }

    .hm-grid-4,
    .hm-quick-nav,
    .hm-hero-perks__grid,
    .hm-promo-grid,
    .hm-promo-grid--duo {
        grid-template-columns: 1fr;
    }

    .hm-promo--featured {
        aspect-ratio: 16 / 11;
        min-height: 240px;
    }

    .hm-section {
        padding: 36px 0;
    }
}
