:root {
    --bg-color: #ffffff;
    --bg-subtle: #fafafa;
    --bg-card: #ffffff;
    --text-primary: #171717;
    --text-secondary: #737373;
    --border-color: #e5e5e5;
    --border-subtle: #f0f0f0;
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --font-sans: 'Inter Tight', system-ui, sans-serif;
    --transition: all 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    display: flex;
}

a {
    text-decoration: none !important;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 64px;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--bg-color);
    border-right: 1px solid var(--border-color);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}

.sidebar-top {
    margin-bottom: auto;
}

.sidebar-bottom {
    display: flex;
    flex-direction: column;
}

/* Sidebar Campfire */
.sidebar-campfire {
    width: 64px;
    height: 64px;
    margin-bottom: 64px;
}

.sidebar-campfire img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-links a:hover,
.sidebar-links a.active {
    color: var(--text-primary);
}

/* Removed version text styles */

/* Main Content Area */
.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    display: flex;
    flex-direction: column;
}

/* Header */
.top-header {
    height: 80px;
    /* Reduced from 100px */
    display: flex;
    align-items: center;
    width: 100%;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.back-btn i {
    font-size: 18px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-brand {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    gap: 32px;
    align-items: center;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-secondary:hover {
    color: var(--text-secondary);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-primary:hover {
    background: #333;
}

/* Hero Section */
.hero-section {
    padding: 24px 0 48px;
    /* Reduced vertical padding */
    width: 100%;
}

.hero-section h1 {
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.05;
    max-width: 1100px;
    /* Increased to reduce number of lines */
    margin-bottom: 24px;
}

.hero-section p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 650px;
    /* Increased width to reduce height */
    line-height: 1.6;
}

/* Showcase Carousel Section */
.carousel-section {
    width: 100%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    overflow: hidden;
    background-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.carousel-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    /* Progressive fade blur on both ends */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    width: max-content;
    padding: 30px 0;
    /* Anti-clip padding for hovered zoom */
    animation: scroll-carousel 80s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-group {
    display: flex;
    gap: 32px;
    padding-right: 32px;
}

.carousel-group img {
    height: 180px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, filter 0.4s ease;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Dim all items slightly when the track is hovered */
.carousel-track:hover .carousel-group img {
    opacity: 0.5;
    filter: grayscale(30%);
}

/* Make only the currently hovered item pop up, scale, and gain full focus */
.carousel-track .carousel-group img:hover {
    opacity: 1;
    filter: grayscale(0%) drop-shadow(0 15px 20px rgba(0, 0, 0, 0.15));
    transform: scale(1.15) translateY(-8px);
    z-index: 10;
    position: relative;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Collections Title */
.collections-title {
    text-align: left;
    padding: 60px 0 40px;
    /* Reduced space from 120px to 60px */
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Grid layout for products */
.products-wrapper {
    padding-bottom: 80px;
}

.products-grid {
    display: grid;
    /* Force exactly 2 columns on desktop so cards are large and uncompressed */
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    display: block;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #cccccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.product-info-top {
    margin-bottom: 24px;
}

.product-title {
    font-size: 18px;
    /* Slightly larger text for bigger cards */
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-image-container {
    aspect-ratio: 16/9;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: auto;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.03);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-badges {
    display: flex;
    gap: 8px;
}

.product-badge {
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    background: var(--bg-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.product-btn {
    padding: 10px 20px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: 4px;
    /* Distinct box/pill shape */
    transition: var(--transition);
}

.product-card:hover .product-btn {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.price-tag {
    color: #fff !important;
    font-weight: 600 !important;
    background: var(--text-primary) !important;
    border: none !important;
}

/* Bundle Section */
.bundle-section {
    border-top: 1px solid var(--border-color);
    width: 100%;
    max-width: 1725px;
    height: 518px;
    margin: 80px auto;
    background: url('assets/media__1772625534484.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bundle-container {
    width: 100%;
}

.bundle-box {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    padding: 64px 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    color: var(--text-primary);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.bundle-info {
    text-align: left;
    max-width: 600px;
}

.bundle-info h3 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.bundle-info p {
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.bundle-checkout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
}

.bundle-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.price-strike {
    font-size: 18px;
    text-decoration: line-through !important;
    color: var(--text-secondary);
    opacity: 0.6;
}

.price-highlight {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.price-savings {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bg-color);
    background: var(--text-primary);
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 4px;
    align-self: center;
}

.btn-purchase {
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    border-radius: 0px;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.btn-purchase i {
    font-size: 20px;
}

.btn-purchase:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Footer Section */
footer {
    text-align: center;
    padding: 40px 0 80px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 900px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 24px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .sidebar-top,
    .sidebar-campfire {
        display: none;
    }

    .sidebar-bottom {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE and Edge */
        padding-bottom: 4px;
    }

    .sidebar-bottom::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .sidebar-links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 24px;
        width: max-content;
    }

    .sidebar-links a {
        white-space: nowrap;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .container {
        padding: 0 24px;
    }

    .hero-section {
        padding: 40px 0 40px;
    }

    .carousel-section {
        padding: 40px 0;
    }

    .carousel-group img {
        height: 160px;
    }

    .collections-title {
        padding: 40px 0 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .product-btn {
        width: 100%;
        text-align: center;
    }

    .bundle-section {
        padding: 60px 0;
    }

    .bundle-box {
        padding: 40px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .bundle-checkout {
        align-items: stretch;
        width: 100%;
    }

    .bundle-pricing {
        flex-wrap: wrap;
    }

    .btn-purchase {
        width: 100%;
        justify-content: center;
    }
}

/* Image Protection Overlay */
.img-protection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: transparent;
}