/* ==========================================================================
   Ultra-Premium E-commerce Custom Styles
   Theme: Deep Ocean Blue & Vibrant Coral
   ========================================================================== */

:root {
    /* Color Palette */
    --c-bg: #f8fafc;
    --c-surface: #ffffff;
    
    --c-primary: #082f49;     /* Deep Sky / Ocean */
    --c-primary-light: #0ea5e9;
    
    --c-cta: #ff3366;         /* Vibrant Coral/Pink - Extreme Contrast */
    --c-cta-hover: #e11d48;
    --c-cta-glow: rgba(255, 51, 102, 0.4);
    
    --c-text: #0f172a;
    --c-text-muted: #475569;
    --c-text-light: #94a3b8;
    
    --c-star: #fbbf24;
    --c-border: #e2e8f0;
    
    /* Shadows */
    --shadow-premium: 0 20px 40px -15px rgba(8, 47, 73, 0.15);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.04);
    --shadow-cta: 0 15px 35px -5px var(--c-cta-glow);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--c-primary-light);
    color: var(--c-surface);
}

/* ==========================================================================
   Background & Header
   ========================================================================== */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55vh;
    background: linear-gradient(145deg, #0f172a 0%, var(--c-primary) 100%);
    z-index: -1;
}

.bg-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.site-header {
    padding: 2.5rem 0 4rem 0;
    text-align: center;
}

.header-title {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--c-surface);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Product Section
   ========================================================================== */
.product-layout {
    margin-bottom: 4rem;
}

.shadow-premium {
    box-shadow: var(--shadow-premium);
}

.product-name {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--c-primary);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.highlight-banner {
    display: inline-flex;
    align-items: flex-start;
    background: rgba(14, 165, 233, 0.1);
    color: var(--c-primary);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--c-primary-light);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.highlight-icon {
    color: var(--c-primary-light);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.feature-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    color: var(--c-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    padding-left: 2rem;
}

.feature-item strong {
    color: var(--c-text);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--c-primary-light);
    border-radius: 50%;
}

/* ==========================================================================
   CSS-Only Interactive Gallery
   ========================================================================== */
.gallery-section {
    border-right: 1px solid var(--c-border);
}

.css-gallery {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.css-gallery input[type="radio"] {
    display: none;
}

.main-image-display {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--c-surface);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--c-border);
}

.shadow-inner-soft {
    box-shadow: var(--shadow-inner);
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumb-label {
    cursor: pointer;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid transparent;
    aspect-ratio: 1 / 1;
    background: var(--c-surface);
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.thumb-label img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.thumb-label:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.3);
}

/* Gallery Logic (No JS) */
#pic1:checked ~ .main-image-display .pic-1,
#pic2:checked ~ .main-image-display .pic-2,
#pic3:checked ~ .main-image-display .pic-3,
#pic4:checked ~ .main-image-display .pic-4 {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

#pic1:checked ~ .thumbnails-grid label[for="pic1"],
#pic2:checked ~ .thumbnails-grid label[for="pic2"],
#pic3:checked ~ .thumbnails-grid label[for="pic3"],
#pic4:checked ~ .thumbnails-grid label[for="pic4"] {
    border-color: var(--c-primary-light);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

/* ==========================================================================
   Ultra CTA Section
   ========================================================================== */
.cta-wrapper {
    display: flex;
    justify-content: center;
    margin: 2rem 0 6rem 0;
    padding: 0 1rem;
}

.ultra-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, var(--c-cta), var(--c-cta-hover));
    color: var(--c-surface);
    padding: 1.5rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: var(--shadow-cta);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.ultra-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.ultra-cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px -5px var(--c-cta-glow);
}

.ultra-cta-button:hover::before {
    left: 100%;
}

.ultra-cta-button:active {
    transform: translateY(0) scale(0.98);
}

.cta-text {
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.ultra-cta-button:hover .cta-arrow {
    transform: translateX(8px);
}

/* ==========================================================================
   Comments Section
   ========================================================================== */
.reviews-section {
    max-width: 900px;
    margin: 0 auto;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--c-border);
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--c-primary);
    margin: 0;
}

.reviews-badge {
    background: #ecfdf5;
    color: #059669;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-box {
    background: var(--c-surface);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.review-box::before {
    content: '“';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 6rem;
    color: var(--c-bg);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.r-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 3px solid var(--c-surface);
}

.r-info {
    flex: 1;
}

.r-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-primary);
    display: block;
}

.r-stars {
    color: var(--c-star);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin: 0.25rem 0;
}

.r-title {
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--c-text);
    margin: 0;
}

.r-meta {
    font-size: 0.9rem;
    color: var(--c-text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.r-specs {
    margin-top: 0.25rem;
}

.r-body {
    color: var(--c-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.r-body p {
    margin-bottom: 1rem;
}

.r-body p:last-child {
    margin-bottom: 0;
}

.r-photos {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.r-photo-item {
    width: 100px;
    height: 100px;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 2px solid var(--c-border);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.r-photo-item:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--c-primary);
    color: var(--c-surface);
    padding: 5rem 0 3rem 0;
    margin-top: 6rem;
}

.footer-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.f-brand {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.f-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.f-links a {
    color: var(--c-text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.f-links a:hover {
    color: var(--c-surface);
}

.f-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .gallery-section {
        border-right: none;
        border-bottom: 1px solid var(--c-border);
    }
}
@media (max-width: 640px) {
    .thumbnails-grid {
        gap: 0.5rem;
    }
    .thumb-label {
        border-radius: 0.5rem;
    }
    .ultra-cta-button {
        padding: 1.25rem 1rem;
    }
    .cta-text {
        font-size: 1.15rem;
    }
    .review-box {
        padding: 1.5rem;
    }
    .review-box::before {
        font-size: 4rem;
        right: 1rem;
        top: 0.5rem;
    }
}