/* ============================================
   E5 ENCLAVE — BLACK DRAGON STORE
   Wireframe Stylesheet
   ============================================ */

/* ============================================
   CART ICON (Navbar)
   ============================================ */

.nav-cart {
    position: relative;
    font-size: 1.1rem;
    cursor: pointer;
}

.nav-cart .snipcart-items-count {
    background: var(--gold);
    color: var(--black);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -6px;
    margin-left: -2px;
}

/* ============================================
   STORE HERO
   ============================================ */

.store-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--black);
    overflow: hidden;
    padding-top: 80px;
}

.store-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(139, 0, 0, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.03) 0%, transparent 40%);
    z-index: 1;
}

.store-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.1) 50%, rgba(10,10,10,0.6) 100%);
    z-index: 2;
}

.store-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 4rem 2rem;
}

.store-hero-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    padding: 0.4rem 1.5rem;
    margin-bottom: 2rem;
}

.store-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.store-hero-title .dragon-text {
    color: var(--gold);
}

.store-hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--gray-light);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.impact-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.impact-counter .counter-icon {
    font-size: 1.2rem;
}

.impact-counter .counter-amount {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================
   CATEGORY FILTERS
   ============================================ */

.store-filters {
    background: var(--black);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    padding: 0;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filter-tab {
    padding: 1.2rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    color: var(--gold-light);
}

.filter-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ============================================
   PRODUCT GRID
   ============================================ */

.store-products {
    background: var(--black);
    padding: 4rem 0 6rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--black-light);
    border: 1px solid rgba(201, 168, 76, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #111;
}

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

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.product-impact {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-muted);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 0.3rem 0.8rem;
    margin-bottom: 1.2rem;
}

.btn-add-cart {
    display: block;
    width: 100%;
    padding: 0.8rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--black);
    background: var(--gold);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* ============================================
   BUNDLES SECTION
   ============================================ */

.store-bundles {
    background: var(--black-light);
    padding: 6rem 0;
    border-top: 2px solid var(--gold);
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.bundle-card {
    background: var(--black);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bundle-card:hover {
    border-color: rgba(201, 168, 76, 0.5);
    transform: translateY(-4px);
}

.bundle-save-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 0.35rem 0.8rem;
    z-index: 3;
}

.bundle-image {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    position: relative;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    overflow: hidden;
}

.bundle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bundle-card:hover .bundle-image img {
    transform: scale(1.05);
}

.bundle-info {
    padding: 2rem;
}

.bundle-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.bundle-contents {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.bundle-pricing {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bundle-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
}

.bundle-original {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
}

.btn-add-bundle {
    display: block;
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--black);
    background: var(--gold);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-bundle:hover {
    background: var(--gold-light);
}

/* ============================================
   STORE MISSION FOOTER
   ============================================ */

.store-mission {
    background: var(--black);
    padding: 5rem 0;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-statement {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 3rem;
}

.mission-statement em {
    color: var(--gold);
    font-style: normal;
    font-weight: 700;
}

.mission-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    margin-bottom: 3rem;
}

.mission-stat {
    text-align: center;
}

.mission-stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.mission-stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    display: block;
    margin-bottom: 0.3rem;
}

.mission-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
}

.mission-cta {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.7;
}

.mission-cta a {
    color: var(--gold);
    font-weight: 600;
}

/* ============================================
   STORE RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .filter-tab {
        padding: 1rem 1.8rem;
    }
}

@media (max-width: 768px) {
    .store-hero {
        min-height: 50vh;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .filter-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        padding: 1rem 1.5rem;
        font-size: 0.7rem;
    }

    .bundles-grid {
        grid-template-columns: 1fr;
    }

    .mission-breakdown {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .store-filters {
        top: 56px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-image {
        aspect-ratio: 1;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-impact {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
    }

    .btn-add-cart {
        font-size: 0.65rem;
        padding: 0.7rem;
    }

    .store-hero-title {
        font-size: 2.2rem;
    }
}
