/* ============================================
   SIRATIM - PRODUCTS PAGE STYLES
   ============================================ */

/* Section 1: Hero */
.products-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(to bottom, var(--bg-white) 0%, #FAFAFA 100%);
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--divider), transparent);
}

.products-hero-grid {
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    gap: 2rem;
}

.products-hero-content {
    opacity: 1;
    transform: translateY(0);
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
}

.products-hero-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--brand-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 1;
    transform: translateX(0);
    will-change: transform, opacity;
    text-align: center;
}

.products-hero-subline {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 500;
    background: linear-gradient(135deg, var(--brand-red) 0%, #C4121F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
    opacity: 1;
    transform: translateX(0);
    will-change: transform, opacity;
    text-align: center;
}

.products-hero-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.products-3d-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
}

#products-threejs-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.products-video-fallback {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    border-radius: var(--radius-lg);
}

.products-video-fallback.active {
    display: block;
}

/* Section 2: Product Showcase */
.products-showcase {
    background: var(--bg-white);
}

.product-block {
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    border-bottom: 1px solid var(--divider);
}

.product-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-block-grid {
    align-items: center;
    gap: var(--spacing-xl);
}

.product-block-reverse {
    flex-direction: row-reverse;
}

.product-content {
    opacity: 0;
    transform: translateX(-30px);
}

.product-block-reverse .product-content {
    transform: translateX(30px);
}

.product-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--brand-red);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.product-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-text);
}

.product-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-md);
}

.product-ideal {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: #FAFAFA;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.product-ideal strong {
    color: var(--primary-text);
}

.product-label-options {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

.label-option-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--divider);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--secondary-text);
}

.label-separator {
    color: var(--muted-text);
}

.product-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
}

.product-benefits li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--secondary-text);
    opacity: 0;
    transform: translateX(-20px);
}

.product-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: bold;
}

.product-visual {
    opacity: 0;
    transform: translateX(30px);
}

.product-block-reverse .product-visual {
    transform: translateX(-30px);
}

.product-mockup {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px var(--shadow);
    transition: var(--transition-base);
}

.product-mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--hover-shadow);
}

.mockup-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.bottle-mockup-icon {
    font-size: 8rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.mockup-size {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-text);
}

/* Section 3: Label Customization */
.products-labels {
    background: var(--bg-white);
}

.labels-grid {
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.label-type-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px var(--shadow);
    transition: var(--transition-base);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.label-type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px var(--hover-shadow);
}

.label-card-preview {
    width: 100%;
    height: 200px;
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--divider);
}

.label-preview-minimal {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
    position: relative;
}

.label-preview-minimal::after {
    content: 'Minimal';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--muted-text);
    opacity: 0.3;
}

.label-preview-full {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-red) 0%, #8B1115 100%);
    position: relative;
}

.label-preview-full::after {
    content: 'Full Custom';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bg-white);
    opacity: 0.8;
}

.label-preview-matte {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #E8E8E8 0%, #D9D9D9 100%);
    position: relative;
}

.label-preview-matte::after {
    content: 'Matte';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-text);
    opacity: 0.5;
}

.label-type-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-text);
}

.label-type-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-text);
    margin: 0;
}

/* Section 4: Bulk & Reorder */
.products-reorder {
    background: var(--bg-white);
}

.reorder-grid {
    align-items: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.reorder-content {
    opacity: 0;
    transform: translateX(-30px);
}

.reorder-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-lg);
}

.reorder-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reorder-benefits li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--secondary-text);
}

.reorder-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: bold;
}

.reorder-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
}

.flow-graphic {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 120px;
}

.flow-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-red);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(164, 22, 26, 0.3);
}

.flow-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--primary-text);
    text-align: center;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--brand-red);
    font-weight: 300;
}

/* Section 5: CTA */
.products-cta {
    background: var(--bg-white);
}

.products-cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.products-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-text);
}

.products-cta-text {
    font-size: 1.125rem;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
    .products-hero {
        padding: 3rem 0 2rem;
    }
    
    .products-hero-grid {
        gap: 2rem;
    }
    
    .products-hero-content {
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .products-hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .products-hero-subline {
        font-size: clamp(1.25rem, 3.5vw, 1.625rem);
    }
    
    .products-hero-3d {
        display: none;
    }
}

@media (max-width: 767px) {
    .products-hero {
        padding: calc(var(--header-height) + 2rem) 0 3rem;
    }
    
    .products-hero-grid {
        min-height: auto;
        gap: 2rem;
        justify-content: center;
        align-items: center;
        display: flex !important;
        flex-direction: column;
    }
    
    .products-hero-grid .col-12 {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .products-hero-content {
        text-align: center !important;
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .products-hero-title {
        font-size: clamp(3.5rem, 14vw, 5rem);
        margin-bottom: 1.25rem;
        line-height: 1.1;
        letter-spacing: -0.03em;
        text-align: center !important;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .products-hero-subline {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        margin-bottom: 1.25rem;
        text-align: center !important;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .products-hero-3d {
        display: none;
    }
    
    .products-3d-container {
        display: none;
    }
    
    .product-block-grid {
        gap: var(--spacing-lg);
    }
    
    .product-block-reverse {
        flex-direction: column;
    }
    
    .product-content,
    .product-visual {
        transform: translateY(20px);
    }
    
    .product-mockup {
        height: 350px;
        margin-top: var(--spacing-lg);
    }
    
    .bottle-mockup-icon {
        font-size: 6rem;
    }
    
    .flow-graphic {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .products-hero {
        padding: calc(var(--header-height) + 1.5rem) 0 2.5rem;
    }
    
    .products-hero-grid {
        gap: 1.5rem;
        justify-content: center;
        align-items: center;
        display: flex !important;
        flex-direction: column;
    }
    
    .products-hero-grid .col-12 {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .products-hero-content {
        padding: 0 1rem;
        text-align: center !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .products-hero-title {
        font-size: clamp(3rem, 15vw, 4.5rem);
        margin-bottom: 1rem;
        text-align: center !important;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .products-hero-subline {
        font-size: clamp(1.125rem, 5vw, 1.375rem);
        margin-bottom: 1rem;
        text-align: center !important;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .products-hero-3d {
        display: none;
    }
    
    .products-3d-container {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .product-mockup,
    .label-type-card {
        transition: none;
    }
    
    .product-mockup:hover {
        transform: none;
    }
}






