:root {
    --store-navy: #08284a;
    --store-navy-dark: #061f38;
    --store-navy-soft: #0f3d6b;
    --store-accent: #c9a227;
    --store-max: 1280px;
}

.home-page {
    background: #fff;
}

body.page-home .app-main {
    padding: 0;
}

body.page-home .home-page {
    padding-bottom: 8px;
}






body.page-home .home-product-card,
body.page-home .new-arrival-card {
    position: relative;
}

body.page-home .home-product-card-link,
body.page-home .new-arrival-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
    min-height: 0;
}

body.page-home .home-product-media,
body.page-home .new-arrival-media {
    position: relative;
}

body.page-home .home-product-media-link,
body.page-home .new-arrival-media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

body.page-home .home-product-media-link img,
body.page-home .new-arrival-media-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-home .new-arrival-media-link img {
    object-fit: contain;
    padding: 10px;
}

body.page-home .home-quick-actions {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.page-home .cart-widget--quick {
    position: static;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    display: block;
}

body.page-home .home-quick-actions .cart-widget-wishlist {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(8, 40, 74, 0.18);
}

body.page-home .home-quick-add {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: var(--primary, #08284a);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(8, 40, 74, 0.28);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

body.page-home .home-quick-add:hover,
body.page-home .home-quick-add:focus-visible {
    transform: scale(1.06);
    background: var(--store-navy-soft, #0f3d6b);
    outline: none;
}

body.page-home .home-quick-add:disabled {
    opacity: 0.7;
    cursor: wait;
}

body.page-home .home-quick-add.is-added {
    background: #0f766e;
}

body.page-home .cart-widget--quick .cart-widget-message {
    display: none;
}

body.page-home .brand-strip {
    margin-bottom: 18px;
}


body.page-home .brand-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: var(--store-max);
    margin: 0 auto;
    padding: 12px 16px 10px;
}

body.page-home .brand-strip-head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--primary);
}

body.page-home .brand-strip-hint {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.02em;
}

body.page-home .brand-strip-more {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

body.page-home .brand-strip-more:hover,
body.page-home .brand-strip-more:focus-visible {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.page-home .brand-strip-hint--desktop {
    display: none;
}

@media (min-width: 900px) {
    body.page-home .brand-strip-hint--mobile {
        display: none;
    }

    body.page-home .brand-strip-hint--desktop.brand-strip-more {
        display: inline;
    }
}

body.page-home .brand-strip-track {
    display: flex;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 16px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    cursor: grab;
    max-width: 100%;
}

body.page-home .brand-strip-track::-webkit-scrollbar {
    display: none;
}

body.page-home .brand-strip-track.is-dragging,
body.page-home .brand-strip-track.is-wheeling {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

body.page-home .brand-strip-track.is-dragging {
    user-select: none;
}

body.page-home .brand-strip-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 124px;
    min-height: 108px;
    height: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

body.page-home .brand-strip-item:hover,
body.page-home .brand-strip-item:focus-visible {
    transform: translateY(-2px);
    border-color: #b8c9d9;
    outline: none;
}

body.page-home .brand-strip-logo {
    width: 100%;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.page-home .brand-strip-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

body.page-home .brand-strip-name {
    width: 100%;
    margin: 0;
    padding: 0 2px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    color: var(--text, #1e293b);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 900px) {
    body.page-home .brand-strip {
        max-width: var(--store-max);
        margin-left: auto;
        margin-right: auto;
        padding: 0 24px 8px;
    }

    body.page-home .brand-strip-head {
        padding: 8px 0 12px;
    }

    body.page-home .brand-strip-head h2 {
        font-size: 1.25rem;
    }

    body.page-home .brand-strip-track {
        gap: 18px;
        padding: 8px 0 16px;
    }

    body.page-home .brand-strip-item {
        width: 148px;
        min-height: 124px;
        padding: 12px 12px 14px;
        gap: 10px;
    }

    body.page-home .brand-strip-logo {
        height: 60px;
    }

    body.page-home .brand-strip-name {
        font-size: 0.84rem;
    }
}




.banner-container {
    position: relative;
    width: 100%;
    background: #e8edf3;
    margin-bottom: 0;
}

.home-offers-marquee {
    position: relative;
    padding: 10px 16px 12px;
    background: #fff;
    border-top: 3px solid #90b2d6;
}

.home-offers-marquee-viewport {
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 50%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-offers-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 0;
    padding: 11px 0;
    animation: home-offers-marquee 38s linear infinite;
    will-change: transform;
}

.home-offers-marquee:hover .home-offers-marquee-track {
    animation-play-state: paused;
}

.home-offers-marquee-item {
    flex: 0 0 auto;
    padding: 0 28px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.home-offers-marquee-item:hover,
.home-offers-marquee-item:focus-visible {
    color: #065f46;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-offers-marquee-sep {
    flex: 0 0 auto;
    color: #16a34a;
    font-size: 0.55rem;
    opacity: 0.75;
    user-select: none;
}

@keyframes home-offers-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 900px) {
    .home-offers-marquee {
        max-width: var(--store-max, 1280px);
        margin: 0 auto;
        padding: 12px 24px 14px;
    }

    .home-offers-marquee-item {
        font-size: 0.92rem;
        padding: 0 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-offers-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 8px 16px;
        padding: 12px 16px;
    }

    .home-offers-marquee-sep {
        display: none;
    }

    .banner-slider .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}

.banner-slider {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    min-height: 210px;
}

.banner-slider .swiper-wrapper {
    align-items: stretch;
}

.banner-link,
.banner-slider .swiper-slide {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    visibility: visible;
    z-index: 1;
    text-decoration: none;
}

.banner-slide {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 0;
    background: #e8edf3;
}

.banner-link picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.banner-container.is-single-slide .banner-nav,
.banner-container.is-single-slide .banner-controls {
    display: none;
}

.banner-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--store-navy);
    box-shadow: 0 4px 18px rgba(8, 40, 74, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.banner-nav.prev {
    left: 12px;
}

.banner-nav.next {
    right: 12px;
}

.banner-nav:hover,
.banner-nav:focus-visible {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.banner-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.banner-controls {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 6;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(8, 40, 74, 0.55);
    backdrop-filter: blur(8px);
}

.control-btn.play-pause {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.control-btn .play-icon {
    display: block;
}

.control-btn .pause-icon {
    display: none;
}

.control-btn.playing .play-icon {
    display: none;
}

.control-btn.playing .pause-icon {
    display: block;
}

.banner-dots {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    bottom: auto;
    left: auto;
    transform: none;
}

.banner-dots.swiper-pagination-horizontal {
    width: auto;
    bottom: auto;
    left: auto;
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.banner-dots .dot.active {
    width: 22px;
    background: #fff;
}

@media (min-width: 900px) {
    .banner-nav {
        width: 48px;
        height: 48px;
    }

    .banner-nav.prev {
        left: 20px;
    }

    .banner-nav.next {
        right: 20px;
    }

    .banner-controls {
        bottom: 18px;
    }
}

@media (max-width: 899px) {
    .banner-nav {
        width: 38px;
        height: 38px;
    }

    .banner-nav.prev {
        left: 8px;
    }

    .banner-nav.next {
        right: 8px;
    }

    .banner-controls {
        bottom: 10px;
        gap: 10px;
        padding: 6px 12px;
    }
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    right: 18px;
    bottom: calc(var(--bottom-nav-height, 72px) + 16px);
    z-index: 40;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--store-navy, #08284a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(8, 40, 74, 0.28);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}

.scroll-to-top[hidden] {
    display: none !important;
}

.scroll-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
    background: var(--store-navy-soft, #0f3d6b);
    outline: none;
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 900px) {
    .scroll-to-top {
        right: 28px;
        bottom: 28px;
    }
}
