@charset "UTF-8";

/* ==========================================================================
   CSS Custom Properties (Variables)
   Strict adherence to the requested blue palette. No other dominant colors.
   ========================================================================== */
:root {
    /* Core Blue Palette */
    --color-blue-25:  #f8fafc;
    --color-blue-50:  #eff6ff;
    --color-blue-100: #dbeafe;
    --color-blue-200: #bfdbfe;
    --color-blue-300: #93c5fd;
    --color-blue-400: #60a5fa;
    --color-blue-500: #3b82f6;
    --color-blue-600: #2563eb;
    --color-blue-700: #1d4ed8;
    --color-blue-800: #1e40af;
    --color-blue-900: #1e3a8a;
    --color-blue-950: #172554;

    /* Neutrals - Grays harmonized with blue */
    --color-gray-50:  #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    /* Accents within constraints */
    --color-white: #ffffff;
    --color-star: #fbbf24; /* Amber strictly for Amazon stars */
    --color-verified: #c2410c; /* Strictly for Amazon verified text */

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Box Shadows (Multi-layered for depth) */
    --shadow-sm: 0 1px 2px 0 rgba(30, 58, 138, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(30, 58, 138, 0.1), 0 2px 4px -1px rgba(30, 58, 138, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(30, 58, 138, 0.1), 0 4px 6px -2px rgba(30, 58, 138, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(30, 58, 138, 0.1), 0 10px 10px -5px rgba(30, 58, 138, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(30, 58, 138, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(30, 58, 138, 0.06);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.4);
    --shadow-glow-strong: 0 0 30px rgba(37, 99, 235, 0.6);
    --shadow-card: 0 0 0 1px rgba(219, 234, 254, 0.5), 0 10px 30px -10px rgba(30, 58, 138, 0.15);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Spacing Base */
    --spacing-container: 1200px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.page-body {
    font-family: var(--font-primary);
    background-color: var(--color-blue-25);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar matching the palette */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--color-blue-300);
    border-radius: var(--radius-full);
    border: 3px solid var(--color-gray-100);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue-500);
}

/* Selection */
::selection {
    background-color: var(--color-blue-200);
    color: var(--color-blue-950);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

/* ==========================================================================
   Background Decorative Elements (CSS Only)
   ========================================================================== */
.bg-decoration {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-blue-100) 0%, transparent 70%);
}

.shape-2 {
    top: 20%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--color-blue-200) 0%, transparent 70%);
    animation-delay: -5s;
}

.shape-3 {
    bottom: 10%;
    left: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--color-blue-50) 0%, transparent 70%);
    animation-delay: -10s;
}

.shape-4 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 40vh;
    background: linear-gradient(180deg, transparent, var(--color-blue-50), transparent);
    filter: blur(100px);
    opacity: 0.6;
    animation: none;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ==========================================================================
   Header Styles (Glassmorphism & Sticky)
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(219, 234, 254, 0.6);
    box-shadow: 0 4px 30px rgba(30, 58, 138, 0.05);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header-inner {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-blue-900);
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--color-blue-950), var(--color-blue-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--color-blue-200);
    filter: blur(15px);
    opacity: 0;
    border-radius: var(--radius-full);
    z-index: 1;
    transition: opacity var(--transition-base);
}

.logo-container:hover .logo-glow {
    opacity: 0.5;
}

.header-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue-300), var(--color-blue-600), var(--color-blue-300));
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    animation: loadProgress 1.5s ease-out forwards;
}

@keyframes loadProgress {
    0% { transform: scaleX(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
}

/* ==========================================================================
   Main Layout & Wrappers
   ========================================================================== */
.main-content {
    flex: 1;
    width: 100%;
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Hero / Product Section
   ========================================================================== */
.product-section {
    width: 100%;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-blue-400), var(--color-blue-600));
    z-index: 1;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(219,234,254,0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   CSS-Only Interactive Gallery
   ========================================================================== */
.gallery-column {
    position: sticky;
    top: 100px; /* Offset from sticky header */
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hide the radio buttons natively */
.gallery-radio {
    display: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Main Viewport Styling */
.main-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-inner);
}

.image-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--color-white);
}

.slide-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
    transition: transform var(--transition-slow);
}

.main-image-container:hover .slide img {
    transform: scale(1.05);
}

/* Thumbnails Styling */
.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
}

.thumbnail-label {
    cursor: pointer;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 2px solid transparent;
    padding: 0.25rem;
    position: relative;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.thumbnail-label::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px var(--color-gray-200);
    transition: box-shadow var(--transition-base);
    z-index: 2;
    pointer-events: none;
}

.thumb-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--color-gray-50);
    border-radius: calc(var(--radius-lg) - 4px);
    overflow: hidden;
}

.thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform var(--transition-base);
}

.thumbnail-label:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.thumbnail-label:hover::before {
    box-shadow: inset 0 0 0 1px var(--color-blue-300);
}

.thumbnail-label:hover .thumb-frame img {
    transform: scale(1.1);
}

/* ==========================================================================
   CSS Gallery Interactive Logic
   ========================================================================== */
/* Show correct slide based on checked radio */
#thumb-1:checked ~ .main-image-container .slide-1,
#thumb-2:checked ~ .main-image-container .slide-2,
#thumb-3:checked ~ .main-image-container .slide-3,
#thumb-4:checked ~ .main-image-container .slide-4 {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 10;
}

/* Style active thumbnail */
#thumb-1:checked ~ .thumbnails-container .label-1,
#thumb-2:checked ~ .thumbnails-container .label-2,
#thumb-3:checked ~ .thumbnails-container .label-3,
#thumb-4:checked ~ .thumbnails-container .label-4 {
    border-color: var(--color-blue-600);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

#thumb-1:checked ~ .thumbnails-container .label-1::before,
#thumb-2:checked ~ .thumbnails-container .label-2::before,
#thumb-3:checked ~ .thumbnails-container .label-3::before,
#thumb-4:checked ~ .thumbnails-container .label-4::before {
    box-shadow: none; /* Remove inner border when active */
}

/* ==========================================================================
   Product Information Column
   ========================================================================== */
.info-column {
    display: flex;
    flex-direction: column;
}

.info-wrapper {
    display: flex;
    flex-direction: column;
}

.product-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--color-blue-100);
    color: var(--color-blue-800);
    border: 1px solid var(--color-blue-200);
}

.badge-secondary {
    background: var(--color-white);
    color: var(--color-blue-600);
    border: 1px solid var(--color-blue-200);
    box-shadow: var(--shadow-sm);
}

.product-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.title-underline {
    height: 4px;
    width: 60px;
    background: var(--color-blue-500);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    left: 70px;
    top: 0;
    height: 100%;
    width: 12px;
    background: var(--color-blue-300);
    border-radius: 2px;
}

.product-meta-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-100);
    margin-bottom: 2rem;
}

.rating-stars {
    display: flex;
    gap: 0.15rem;
    color: var(--color-star);
}

.star-icon {
    width: 1.25rem;
    height: 1.25rem;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.rating-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-blue-700);
    background: var(--color-blue-50);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
}
.rating-text:hover {
    background: var(--color-blue-100);
}

/* Description List Formatting */
.product-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.desc-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-blue-200);
    background: var(--color-blue-25);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-600);
    margin-top: 0.125rem;
    box-shadow: 0 0 0 4px rgba(219, 234, 254, 0.4);
    transition: transform var(--transition-bounce);
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-blue-600);
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.3);
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-title {
    font-weight: 700;
    color: var(--color-gray-900);
    font-size: 0.95rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Special styling for the last list item */
.highlight-item {
    background: linear-gradient(to right, var(--color-blue-50), var(--color-white));
    border-left: 4px solid var(--color-blue-500);
}

.highlight-icon {
    color: var(--color-blue-600);
}

/* Health Advisory Box */
.health-advisory-box {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-blue-50), var(--color-blue-100));
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-blue-200);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.health-advisory-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--color-blue-200) 0%, transparent 70%);
    opacity: 0.5;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.advisory-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-600);
    box-shadow: var(--shadow-sm);
}

.advisory-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.advisory-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.advisory-title {
    font-weight: 700;
    color: var(--color-blue-900);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.advisory-text {
    font-size: 0.85rem;
    color: var(--color-blue-800);
    line-height: 1.6;
}

/* ==========================================================================
   Large CTA Section
   ========================================================================== */
.cta-section {
    position: relative;
    width: 100%;
    padding: 6rem 2rem;
    background: var(--color-blue-900);
    border-radius: var(--radius-3xl);
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    margin: 2rem 0;
}

.cta-background-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-blob {
    position: absolute;
    filter: blur(60px);
    border-radius: 50%;
    opacity: 0.6;
}

.cta-blob-1 {
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--color-blue-600);
    animation: blobMove 15s infinite alternate ease-in-out;
}

.cta-blob-2 {
    bottom: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--color-blue-400);
    animation: blobMove 12s infinite alternate-reverse ease-in-out;
}

@keyframes blobMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

.cta-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-subheading {
    font-size: 1.125rem;
    color: var(--color-blue-100);
    max-width: 600px;
    margin: 0 auto;
}

.cta-button-wrapper {
    margin-top: 1.5rem;
    position: relative;
}

/* Pulsing background for button */
.cta-button-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--color-blue-300), var(--color-blue-500));
    filter: blur(15px);
    opacity: 0.5;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { opacity: 0.4; transform: scale(0.98); }
    to { opacity: 0.8; transform: scale(1.02); }
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-blue-500) 0%, var(--color-blue-700) 100%);
    color: var(--color-white);
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 20px rgba(29, 78, 216, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-bounce);
    text-decoration: none;
    z-index: 2;
}

.cta-button:hover, .cta-button:focus-visible {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(29, 78, 216, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    outline: none;
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px rgba(29, 78, 216, 0.2);
}

.cta-button-text {
    position: relative;
    z-index: 2;
}

.cta-button-icon {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base);
}

.cta-button:hover .cta-button-icon {
    transform: translateX(5px);
}

.cta-button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    z-index: 1;
    animation: shineEffect 4s infinite;
}

@keyframes shineEffect {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* ==========================================================================
   Reviews Section (Amazon Style + Deep Polish)
   ========================================================================== */
.reviews-section {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
}

.reviews-divider {
    height: 3px;
    width: 80px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--color-blue-400), transparent);
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
    position: relative;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-blue-200);
    border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
    transition: width var(--transition-base), background var(--transition-base);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-blue-100);
}

.review-card:hover::before {
    width: 8px;
    background: var(--color-blue-500);
}

.review-card-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
}

.review-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.review-avatar-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-blue-300), var(--color-blue-600));
    box-shadow: var(--shadow-sm);
}

.review-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-white);
}

.review-author {
    font-weight: 600;
    color: var(--color-gray-900);
    font-size: 1.05rem;
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.review-stars {
    color: var(--color-star);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.review-headline {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-gray-900);
}

.review-meta {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.review-vine {
    color: var(--color-blue-700);
    font-weight: 600;
    display: inline-block;
    padding: 0.1rem 0;
}

.review-verified {
    color: var(--color-verified);
    font-weight: 700;
}

.review-body {
    margin-top: 0.75rem;
    color: var(--color-gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-attachments {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.attachment-thumb {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-gray-200);
    cursor: pointer;
}

.attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.attachment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.2);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.attachment-thumb:hover img {
    transform: scale(1.1);
}
.attachment-thumb:hover .attachment-overlay {
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background: var(--color-blue-950);
    color: var(--color-blue-100);
    padding: 4rem 1.5rem 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue-700), var(--color-blue-400), var(--color-blue-700));
}

.footer-inner {
    max-width: var(--spacing-container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-tagline {
    color: var(--color-blue-300);
    font-size: 0.95rem;
}

.footer-nav {
    width: 100%;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-blue-200);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-blue-400);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.footer-link:hover {
    color: var(--color-white);
}

.footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.copyright {
    font-size: 0.85rem;
    color: var(--color-blue-400);
}

/* ==========================================================================
   Responsive Media Queries (Mobile First Approach Handled via Max-Width)
   ========================================================================== */

/* Very Small Devices (e.g. older phones, 320px) */
@media (max-width: 359px) {
    html { font-size: 14px; }
    .product-card { padding: 1.25rem; }
    .thumbnail-label { width: 50px; height: 50px; }
    .cta-heading { font-size: 1.75rem; }
    .cta-button { padding: 1rem 1.5rem; font-size: 1rem; width: 100%; }
    .review-card { padding: 1.25rem; }
    .footer-links { flex-direction: column; gap: 1rem; align-items: center; }
}

/* Mobile Devices (360px - 767px) */
@media (max-width: 767px) {
    .main-content { padding: 1.5rem 1rem; gap: 3rem; }
    
    .product-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .gallery-column { position: static; }
    
    .product-card { padding: 1.5rem; border-radius: var(--radius-xl); }
    
    .product-title { font-size: 1.75rem; text-align: center; }
    .title-underline { margin: 0 auto 1.5rem auto; }
    
    .product-meta-summary { flex-direction: column; text-align: center; gap: 0.5rem; }
    
    .feature-item { padding: 0.75rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .feature-icon-wrapper { align-self: flex-start; margin-top: 0; }
    
    .cta-section { padding: 4rem 1.5rem; border-radius: var(--radius-2xl); }
    .cta-heading { font-size: 2rem; }
    .cta-button { padding: 1rem 2rem; width: 100%; display: flex; }
    
    .review-card { padding: 1.5rem; border-radius: var(--radius-xl); }
    .review-profile { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    
    .footer-links { flex-direction: column; gap: 1.25rem; }
}

/* Tablet / Small Desktop (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .product-grid { grid-template-columns: 1fr; gap: 3rem; }
    .gallery-column { position: static; max-width: 600px; margin: 0 auto; width: 100%; }
    .thumbnail-label { width: 100px; height: 100px; }
}

/* Desktop Fixes (1024px+) */
@media (min-width: 1024px) {
    .thumbnail-label { width: 80px; height: 80px; }
    /* Enhance hover effects only on non-touch */
    @media (hover: hover) {
        .product-card:hover { transform: translateY(-8px); }
        .feature-item:hover { transform: translateX(10px); }
    }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    html { font-size: 18px; }
    .product-grid { gap: 5rem; }
    .thumbnail-label { width: 90px; height: 90px; }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .bg-decoration, .cta-blob { display: none; }
}