/* Shop Page Styles */

.container {
    position: relative;
    z-index: 1;
}

/* Shop Hero Section */
.shop-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 80px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(232, 200, 114, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--cream);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Quiz CTA Banner */
.quiz-cta-banner {
    padding: 24px 40px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(232, 200, 114, 0.12) 100%);
    border-top: 1px solid rgba(255, 107, 107, 0.2);
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
}

.quiz-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.quiz-banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.quiz-banner-text {
    flex: 1;
    font-size: 16px;
    color: var(--text);
    line-height: 1.5;
}

.quiz-banner-text strong {
    color: var(--cream);
    font-weight: 600;
}

.quiz-banner-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--coral), var(--rose));
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.quiz-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Shop Section */
.shop-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.shop-section:last-of-type {
    border-bottom: none;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Filters */
.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text);
}

.filter-btn.active {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--bg-deep);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
    pointer-events: none;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.product-icon {
    font-size: 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--cream);
    line-height: 1.4;
}

.product-brand {
    font-size: 13px;
    color: var(--text-muted);
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
}

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

.product-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(232, 200, 114, 0.1);
    color: var(--gold);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.product-tag.budget {
    background: rgba(107, 182, 140, 0.1);
    color: var(--green);
}

.btn-product {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--coral), var(--rose));
    border: none;
    border-radius: 8px;
    color: var(--bg-deep);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    margin-top: auto;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.product-card:hover .btn-product {
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

/* Bundles Grid */
.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.bundle-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 107, 107, 0.2);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.bundle-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    transition: all 0.6s;
}

.bundle-card:hover::before {
    top: -30%;
    right: -30%;
    width: 300px;
    height: 300px;
}

.bundle-card:hover {
    border-color: rgba(255, 107, 107, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.15);
}

.bundle-header {
    position: relative;
    z-index: 1;
}

.bundle-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--coral), var(--rose));
    color: var(--bg-deep);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.bundle-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 8px;
}

.bundle-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.bundle-products {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bundle-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.bundle-product-item::before {
    content: '✓';
    color: var(--coral);
    font-weight: 700;
    min-width: 20px;
}

.bundle-price-section {
    position: relative;
    z-index: 1;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bundle-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bundle-price-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.bundle-price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.btn-bundle {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--coral), var(--rose));
    border: none;
    border-radius: 8px;
    color: var(--bg-deep);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-bundle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.3);
}

/* Build Your Own Routine */
.build-routine-container {
    max-width: 900px;
}

.build-section {
    margin-bottom: 48px;
}

.build-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.skin-type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.skin-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
}

.skin-option:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.skin-option.active {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(232, 200, 114, 0.1));
    border-color: var(--coral);
    color: var(--cream);
}

.skin-icon {
    font-size: 32px;
    line-height: 1;
}

.skin-name {
    font-size: 14px;
    font-weight: 600;
}

.budget-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.budget-option {
    padding: 20px 16px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    text-align: left;
}

.budget-option:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.budget-option.active {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(232, 200, 114, 0.1));
    border-color: var(--coral);
}

.budget-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 6px;
}

.budget-price {
    font-size: 12px;
    color: var(--text-muted);
}

.routine-builder {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.routine-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.routine-step-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.routine-step-select {
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.routine-step-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.routine-step-select:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.routine-step-select option {
    background: var(--bg-card);
    color: var(--text);
}

.build-summary {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(232, 200, 114, 0.05));
    border: 2px solid rgba(255, 107, 107, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.summary-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item span:first-child {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.summary-cost {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
}

.summary-products {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    flex-basis: 100%;
}

.summary-product-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-shop-routine {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--coral), var(--rose));
    border: none;
    border-radius: 8px;
    color: var(--bg-deep);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.btn-shop-routine:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255, 107, 107, 0.3);
}

.btn-shop-routine:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Shop Footer */
.shop-footer {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(232, 200, 114, 0.05));
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-cta {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--coral), var(--rose));
    color: var(--bg-deep);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255, 107, 107, 0.3);
}

/* Shop Email Banner */
.shop-email-banner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
}

.banner-content {
    background: linear-gradient(135deg, rgba(232, 200, 114, 0.08), rgba(255, 107, 107, 0.05));
    border: 1px solid rgba(232, 200, 114, 0.15);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
    min-width: 250px;
}

.banner-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px;
}

.banner-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.banner-form {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.banner-form input {
    flex: 1;
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
}

.banner-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-subtle);
}

.banner-form input::placeholder {
    color: var(--text-dim);
}

.banner-form button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold), var(--coral));
    color: var(--bg-deep);
    border: none;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.banner-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(232, 200, 114, 0.3);
}

.banner-message {
    flex-basis: 100%;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 6px;
    margin-top: 8px;
}

.banner-message.success {
    background: rgba(107, 182, 140, 0.1);
    border: 1px solid rgba(107, 182, 140, 0.3);
    color: var(--green);
}

.banner-message.error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: var(--coral);
}

.banner-message.info {
    background: rgba(232, 200, 114, 0.1);
    border: 1px solid rgba(232, 200, 114, 0.3);
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-hero {
        padding: 100px 24px 60px;
        min-height: 30vh;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .quiz-cta-banner {
        padding: 20px 24px;
    }

    .quiz-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .quiz-banner-text {
        font-size: 15px;
    }

    .quiz-banner-btn {
        width: 100%;
        padding: 14px 28px;
    }

    .shop-section {
        padding: 60px 24px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .filters-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .product-card {
        padding: 16px;
    }

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

    .bundle-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .btn-bundle {
        width: 100%;
    }

    .skin-type-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .budget-options {
        grid-template-columns: 1fr;
    }

    .build-summary {
        flex-direction: column;
    }

    .summary-content {
        flex-direction: column;
    }

    .btn-shop-routine {
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    /* Email banner mobile */
    .shop-email-banner {
        padding: 0 20px 40px 20px;
    }

    .banner-content {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
    }

    .banner-icon {
        font-size: 28px;
    }

    .banner-text {
        text-align: center;
        min-width: auto;
    }

    .banner-form {
        flex-direction: column;
        width: 100%;
        min-width: auto;
        max-width: none;
    }

    .banner-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        padding: 12px;
    }

    .product-icon {
        font-size: 24px;
        height: 48px;
    }

    .product-name {
        font-size: 14px;
    }

    .bundle-name {
        font-size: 18px;
    }

    .skin-type-options {
        grid-template-columns: 1fr;
    }

    .build-summary {
        padding: 20px;
    }

    .summary-cost {
        font-size: 24px;
    }
}
