.fs-home {
    --fs-vitrin-max: 1200px;
    --fs-vitrin-pad: 12px;
    --fs-hero-copy-pad: 18px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    max-width: none;
}

.fs-home__slider {
    width: 100%;
    box-sizing: border-box;
}

.fs-home__tabs {
    margin-top: 0;
}

.fs-cat-tabs-sentinel {
    display: block;
    width: 100%;
    height: 1px;
    margin: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Vitrin kolonu — Tüm ürünler, filtre, ürün grid */
.fs-home .fs-cat-tabs-wrap,
.fs-home #fs-vitrin-swap {
    width: 100%;
    max-width: var(--fs-vitrin-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--fs-vitrin-pad);
    padding-right: var(--fs-vitrin-pad);
    box-sizing: border-box;
}

.fs-home .fs-hero__shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Masaüstü: slider dar — başlangıç/bitiş Tüm ürünler + ürün grid ile aynı */
@media (min-width: 768px) {
    .fs-home {
        --fs-hero-copy-pad: 16px;
    }
    .fs-home .fs-home__slider {
        max-width: var(--fs-vitrin-max);
        margin-left: auto;
        margin-right: auto;
        padding-left: var(--fs-vitrin-pad);
        padding-right: var(--fs-vitrin-pad);
    }

    .fs-home .fs-hero__shell {
        padding-top: 8px;
    }
}

.fs-home .fs-home-count,
.fs-home .fs-home-empty,
.fs-home .fs-home-shop-title {
    max-width: var(--fs-vitrin-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--fs-vitrin-pad);
    padding-right: var(--fs-vitrin-pad);
    box-sizing: border-box;
}

.fs-hero {
    position: relative;
    width: 100%;
    background: #f3f4f6;
    margin-bottom: 4px;
}

.fs-hero__frame {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .fs-hero__frame {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgb(15 23 42 / 0.08);
    }
}

.fs-hero__track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    max-height: 420px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .fs-hero__track {
        aspect-ratio: 4 / 5;
        max-height: 380px;
    }
}

.fs-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.fs-hero__slide.is-active {
    z-index: 2;
}

.fs-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fs-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgb(15 23 42 / 0.72) 0%,
        rgb(15 23 42 / 0.38) 42%,
        rgb(15 23 42 / 0.08) 100%
    );
    pointer-events: none;
}

.fs-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 1.25rem 0 2.75rem;
    pointer-events: none;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .fs-hero__content {
        align-items: center;
        padding: 1.5rem 0 2.75rem;
    }
}

.fs-hero__grid {
    width: 100%;
    padding-left: var(--fs-hero-copy-pad);
    padding-right: var(--fs-hero-copy-pad);
    box-sizing: border-box;
    pointer-events: none;
}

@media (min-width: 768px) {
    .fs-hero--has-nav .fs-hero__grid {
        padding-left: calc(var(--fs-hero-copy-pad) + 1.75rem);
        padding-right: calc(var(--fs-hero-copy-pad) + 1.75rem);
    }
}

.fs-hero__copy {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 34rem;
    pointer-events: auto;
    text-align: left;
}

.fs-hero__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.78);
}

.fs-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 7vw, 3.25rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 14px rgb(0 0 0 / 0.4);
}

.fs-hero__lead {
    margin: 0 0 0.35rem;
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    font-weight: 600;
    line-height: 1.35;
    color: rgb(255 255 255 / 0.92);
    text-shadow: 0 1px 8px rgb(0 0 0 / 0.35);
}

.fs-hero__desc {
    margin: 0 0 0.85rem;
    font-size: clamp(0.75rem, 2vw, 0.9375rem);
    line-height: 1.45;
    color: rgb(255 255 255 / 0.82);
    text-shadow: 0 1px 6px rgb(0 0 0 / 0.3);
}

.fs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fs-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fs-hero__btn .ui-icon svg {
    width: 12px;
    height: 12px;
}

.fs-hero__btn--primary {
    background: #fff;
    color: #111827;
    border: 1px solid #fff;
}

.fs-hero__btn--primary:hover {
    background: #f3f4f6;
}

.fs-hero__btn--secondary {
    background: rgb(255 255 255 / 0.12);
    color: #fff;
    border: 1px solid rgb(255 255 255 / 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.fs-hero__btn--secondary:hover {
    background: rgb(255 255 255 / 0.2);
    border-color: rgb(255 255 255 / 0.5);
}

@media (max-width: 639px) {
    .fs-hero__btn--secondary {
        display: none;
    }
}

.fs-hero__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border: 1px solid rgb(255 255 255 / 0.35);
    border-radius: 999px;
    background: rgb(15 23 42 / 0.35);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.fs-hero__nav:hover {
    background: rgb(15 23 42 / 0.55);
}

.fs-hero__nav .ui-icon svg {
    width: 16px;
    height: 16px;
}

.fs-hero__nav--prev {
    left: 10px;
}

.fs-hero__nav--next {
    right: 10px;
}

@media (min-width: 768px) {
    .fs-hero__nav {
        display: inline-flex;
    }

    .fs-hero__nav--prev {
        left: 12px;
    }

    .fs-hero__nav--next {
        right: 12px;
    }
}

.fs-hero__bg picture,
.fs-hero__bg img,
.fs-hero__bg .storefront-hero-bg-img,
.fs-hero__slide picture,
.fs-hero__slide img,
.fs-hero__slide .storefront-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 7s var(--fs-ease-out, ease-out);
}

.fs-hero__slide.is-active .fs-hero__bg picture,
.fs-hero__slide.is-active .fs-hero__bg img,
.fs-hero__slide.is-active .fs-hero__bg .storefront-hero-bg-img,
.fs-hero__slide.is-active picture,
.fs-hero__slide.is-active img,
.fs-hero__slide.is-active .storefront-hero-bg-img {
    transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
    .fs-hero__slide picture,
    .fs-hero__slide img,
    .fs-hero__slide .storefront-hero-bg-img {
        transition: none;
        transform: none;
    }
}

/* UI ölçeği aktifken slider taşma / boşluk kayması (shell hariç — vitrin kolonu bozulmasın) */
html[data-ui-scale] .fs-hero,
html[data-ui-scale] .fs-hero__frame,
html[data-ui-scale] .fs-hero__track,
html[data-ui-scale] .fs-hero__slide {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    html[data-ui-scale] .fs-home .fs-home__slider {
        max-width: var(--fs-vitrin-max);
        margin-left: auto;
        margin-right: auto;
        padding-left: var(--fs-vitrin-pad);
        padding-right: var(--fs-vitrin-pad);
        box-sizing: border-box;
    }
}

html[data-ui-scale] .fs-hero__track {
    overflow: hidden;
}

html[data-ui-scale] .fs-hero__slide picture {
    width: 100%;
    height: 100%;
}

html[data-ui-scale] .fs-hero__slide img,
html[data-ui-scale] .fs-hero__slide .storefront-hero-bg-img {
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transform-origin: center center;
}

.fs-hero__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    box-sizing: border-box;
    pointer-events: none;
}

@media (min-width: 768px) {
    .fs-hero__dots {
        justify-content: flex-start;
    }

    .fs-hero--has-nav .fs-hero__dots {
        padding-left: calc(var(--fs-hero-copy-pad) + 1.75rem);
        padding-right: calc(var(--fs-hero-copy-pad) + 1.75rem);
    }
}

.fs-hero__dot {
    pointer-events: auto;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    padding: 0;
    cursor: pointer;
}

.fs-hero__dot.is-active {
    background: #fff;
    width: 18px;
}

.fs-home-tabs-placeholder {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.fs-home .fs-cat-tabs-wrap {
    position: relative;
    margin-top: 8px;
    margin-bottom: 10px;
    background: #fff;
    border-bottom: 1px solid var(--fs-border, #e5e7eb);
}

@media (prefers-reduced-motion: reduce) {
    .fs-site-top .fs-cat-tabs-wrap.is-docked {
        transition: none;
    }
}

.fs-cat-tabs-wrap {
    margin-top: 8px;
    margin-bottom: 10px;
    background: #fff;
    border-bottom: 1px solid var(--fs-border, #e5e7eb);
}

.fs-cat-tabs {
    margin: 0;
}

.fs-cat-tabs__scroll {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    min-height: 44px;
    padding: 0;
    touch-action: pan-x;
}

.fs-cat-tabs__tab {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.fs-cat-tabs__tab::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: #111827;
    border-radius: 2px 2px 0 0;
}

.fs-cat-tabs__tab.is-active {
    color: #111827;
}

.fs-cat-tabs--sub {
    border-top: 1px solid #f3f4f6;
}

.fs-cat-tabs__scroll--sub {
    min-height: 44px;
    padding: 0;
    gap: 2px;
}

.fs-home-shop-title {
    margin: 8px auto 4px;
    min-height: 26px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
    line-height: 1.25;
}

.fs-home-count {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 10px;
    font-weight: 600;
}

.fs-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 640px) {
    .fs-home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .fs-home-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

.fs-product-card {
    border: 0;
    border-radius: var(--fs-radius, 12px);
    overflow: hidden;
    background: #fff;
}

.fs-product-card__media-wrap {
    position: relative;
}

.fs-product-card__media {
    display: block;
    aspect-ratio: 3 / 4;
    background: #f9fafb;
    border-radius: var(--fs-radius, 12px);
    overflow: hidden;
}

.fs-product-card__badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100% - 16px);
    pointer-events: none;
}

.fs-product-card__pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: #111827;
    line-height: 1.2;
}

.fs-product-card__pill--new {
    background: #374151;
}

.fs-product-card__pill--sale {
    background: #dc2626;
}

.fs-product-card__colors {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.94);
    border: 1px solid rgb(229 231 235 / 0.95);
    pointer-events: none;
    max-width: calc(100% - 16px);
}

.fs-product-card__color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgb(0 0 0 / 0.12);
    flex-shrink: 0;
}

.fs-product-card__color-dot.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111827;
}

.fs-product-card__color-more {
    font-size: 9px;
    font-weight: 800;
    color: #4b5563;
    white-space: nowrap;
    line-height: 1;
}

.fs-product-card__status {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    pointer-events: none;
    max-width: calc(100% - 72px);
}

.fs-product-card__colors ~ .fs-product-card__status {
    max-width: calc(100% - 120px);
}

.fs-product-card__status-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111827;
    background: rgb(255 255 255 / 0.94);
    border: 1px solid rgb(229 231 235 / 0.95);
    line-height: 1.2;
}

.fs-product-card__status-pill--stock {
    color: #fff;
    background: rgb(17 24 39 / 0.82);
    border-color: transparent;
}

.fs-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fs-product-card__body {
    padding: 8px 2px 10px;
}

.fs-product-card__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    text-decoration: none;
    margin-bottom: 2px;
    min-height: auto;
}

.fs-product-card__meta {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
    line-height: 1.3;
}

.fs-product-card__meta--color {
    color: #374151;
}

.fs-vitrin-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 28px 0 8px;
    padding: 0 var(--fs-vitrin-pad, 12px);
}

.fs-vitrin-more__btn {
    min-width: 220px;
}

.fs-vitrin-more__btn.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.fs-vitrin-more__meta {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
}

.fs-product-card__price-current {
    font-size: 14px;
    font-weight: 800;
}

.fs-product-card__price-old {
    margin-left: 6px;
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Vitrin tab geçişi — spinner & ürün girişi */
.fs-vitrin-stage {
    position: relative;
    min-height: 180px;
}

.fs-vitrin-loading {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 4;
    align-items: flex-start;
    justify-content: center;
    padding-top: 48px;
    pointer-events: none;
}

.fs-vitrin-stage.is-loading .fs-vitrin-loading {
    display: flex;
}

.fs-vitrin-stage.is-loading #fs-vitrin-swap {
    opacity: 0.28;
    filter: blur(1px);
    transition: opacity 0.18s ease, filter 0.18s ease;
    pointer-events: none;
}

#fs-vitrin-swap {
    transition: opacity 0.22s ease, filter 0.22s ease;
}

.fs-vitrin-loading__spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #e5e7eb;
    border-top-color: #111827;
    border-radius: 50%;
    animation: fs-vitrin-spin 0.62s linear infinite;
}

@keyframes fs-vitrin-spin {
    to {
        transform: rotate(360deg);
    }
}

.fs-vitrin-grid--enter .fs-product-card {
    animation: fs-vitrin-card-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fs-vitrin-grid--enter .fs-product-card:nth-child(2) { animation-delay: 0.03s; }
.fs-vitrin-grid--enter .fs-product-card:nth-child(3) { animation-delay: 0.06s; }
.fs-vitrin-grid--enter .fs-product-card:nth-child(4) { animation-delay: 0.09s; }
.fs-vitrin-grid--enter .fs-product-card:nth-child(5) { animation-delay: 0.12s; }
.fs-vitrin-grid--enter .fs-product-card:nth-child(6) { animation-delay: 0.15s; }
.fs-vitrin-grid--enter .fs-product-card:nth-child(7) { animation-delay: 0.18s; }
.fs-vitrin-grid--enter .fs-product-card:nth-child(8) { animation-delay: 0.21s; }

@keyframes fs-vitrin-card-in {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fs-vitrin-loading__spinner,
    .fs-vitrin-grid--enter .fs-product-card {
        animation: none !important;
    }

    .fs-vitrin-stage.is-loading #fs-vitrin-swap {
        filter: none;
    }
}

.fs-home-empty.fs-page-empty {
    margin-top: 4px;
    padding: 44px 20px 40px;
}

.fs-home-empty .fs-page-empty__icon .ui-icon,
.fs-home-empty .fs-page-empty__icon svg.ui-icon {
    width: 26px;
    height: 26px;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
