html {
    position: relative;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.products-section {
    padding-bottom: 5rem;
}

.site-footer {
    padding: 1.5rem 1.5rem;
}

.banner-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://picsum.photos/1920/600?image=1018');
    background-size: cover;
    background-position: center;
}

.banner-hero .hero-body {
    padding-top: 2.1rem;
    padding-bottom: 2.1rem;
}

.banner-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.banner-text .subtitle {
    margin-bottom: 0;
}

.garsonix-logo {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.product-carousel {
    position: relative;
}

@media screen and (min-width: 1024px) {
    .product-carousel {
        margin-left: 6rem;
        margin-right: 6rem;
    }
}

.product-scroller {
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.product-scroller-track {
    display: flex;
    gap: 0;
}

.product-slide {
    flex: 0 0 50%;
    padding: 0 1.5rem;
    scroll-snap-align: start;
}

@media screen and (max-width: 768px) {
    .product-slide {
        flex-basis: 100%;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background: white;
    color: #333;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.carousel-btn:hover:not([disabled]) {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn[disabled] {
    opacity: 0.35;
    cursor: default;
}

.carousel-prev {
    left: 0.25rem;
}

.carousel-next {
    right: 0.25rem;
}

@media screen and (min-width: 1024px) {
    .carousel-prev {
        left: -4.5rem;
    }

    .carousel-next {
        right: -4.5rem;
    }
}

@media screen and (max-width: 768px) {
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #aaa;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.carousel-dot.is-active {
    background: #aaa;
}

.product-card {
    display: flex;
    flex-direction: column;
    aspect-ratio: 10 / 9;
    color: inherit;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: inherit;
}

.product-screenshot {
    flex: 0 0 55%;
    overflow: hidden;
    margin: 0;
}

.product-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.product-text {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 1rem 1.25rem;
}

.product-text .title {
    margin-bottom: 0.25rem;
}

.product-text .subtitle {
    margin-bottom: 0.5rem;
}

.archive-card {
    display: block;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: inherit;
}
