/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Color Palette: Purple Domain (Maintained from primary prompt) */
    --purple-25:  #fcfbfe;
    --purple-50:  #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #581c87;
    --purple-950: #3b0764;
    
    /* Semantic Colors */
    --bg-main: var(--purple-25);
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --accent: var(--purple-600);
    --accent-hover: var(--purple-700);
    --accent-glow: rgba(168, 85, 247, 0.4);
    --card-bg: #ffffff;
    --amazon-star: #fbbf24;
    --amazon-star-dark: #f59e0b;
    
    /* Shadows - Multi-layered for depth */
    --shadow-sm: 0 1px 2px 0 rgba(107, 33, 168, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(107, 33, 168, 0.08), 0 2px 4px -1px rgba(107, 33, 168, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(107, 33, 168, 0.1), 0 4px 6px -2px rgba(107, 33, 168, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(107, 33, 168, 0.12), 0 10px 10px -5px rgba(107, 33, 168, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(107, 33, 168, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(107, 33, 168, 0.06);
    --shadow-glow: 0 0 20px var(--accent-glow);
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Layout */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1.25rem;
    --border-radius-xl: 2rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.theme-purple {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--purple-300);
    color: var(--purple-950);
}

/* ==========================================================================
   KEYFRAMES & ANIMATIONS
   ========================================================================== */
@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes shine-sweep {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

@keyframes slide-up-fade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   DECORATIVE BACKGROUNDS
   ========================================================================== */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: blob-float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--purple-200) 0%, rgba(233, 213, 255, 0) 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--purple-300) 0%, rgba(216, 180, 254, 0) 70%);
    animation-delay: -5s;
    opacity: 0.3;
}

.blob-3 {
    top: 40%;
    left: 50%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--purple-100) 0%, rgba(243, 232, 255, 0) 70%);
    animation-delay: -10s;
    transform: translateX(-50%);
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: multiply;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-normal);
}

.header-container {
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--purple-800);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, var(--purple-100), var(--purple-300));
    border-radius: 0.5rem;
    color: var(--purple-700);
    box-shadow: var(--shadow-sm);
}

.logo-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, var(--purple-900), var(--purple-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--purple-950);
    opacity: 0.8;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.875rem;
    background: var(--purple-50);
    border: 1px solid var(--purple-200);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.5);
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--purple-500);
    border-radius: 50%;
    position: relative;
}

.badge-pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background-color: var(--purple-400);
    opacity: 0.5;
    animation: pulse-soft 2s infinite;
}

.header-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--purple-400), transparent);
    opacity: 0.5;
}

/* ==========================================================================
   PRODUCT HERO SECTION (GLASSMORPHIC CARD)
   ========================================================================== */
.hero-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
    animation: slide-up-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.product-card-premium {
    position: relative;
    border-radius: var(--border-radius-xl);
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 
        0 0 0 1px rgba(168, 85, 247, 0.05),
        var(--shadow-2xl),
        0 40px 80px -20px rgba(107, 33, 168, 0.15);
    z-index: 10;
}

.product-card-premium::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(168, 85, 247, 0.2), rgba(255,255,255,0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.product-card-inner {
    padding: 2.5rem;
    position: relative;
    border-radius: inherit;
    overflow: hidden;
}

/* Decorative Card Corners */
.corner-accent {
    position: absolute;
    width: 60px;
    height: 60px;
    pointer-events: none;
    opacity: 0.3;
}
.corner-accent::before, .corner-accent::after {
    content: '';
    position: absolute;
    background: var(--purple-300);
}
.top-left { top: 0; left: 0; }
.top-left::before { top: 1.5rem; left: 1.5rem; width: 20px; height: 1px; }
.top-left::after { top: 1.5rem; left: 1.5rem; width: 1px; height: 20px; }

.top-right { top: 0; right: 0; }
.top-right::before { top: 1.5rem; right: 1.5rem; width: 20px; height: 1px; }
.top-right::after { top: 1.5rem; right: 1.5rem; width: 1px; height: 20px; }

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   CSS-ONLY INTERACTIVE GALLERY
   ========================================================================== */
.product-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-main-display {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--border-radius-lg);
    background: var(--purple-50);
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.1);
}

.gallery-inner-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--border-radius-lg) - 0.5rem);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.image-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: scale(1.05);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.image-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.gallery-glow {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(168, 85, 247, 0.05);
    pointer-events: none;
    z-index: 10;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail-label {
    cursor: pointer;
    display: block;
    position: relative;
}

.thumbnail-inner {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #fff;
    border: 2px solid transparent;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-sm);
}

.thumbnail-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(107, 33, 168, 0.4);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

/* Hover States for Thumbnails */
.thumbnail-label:hover .thumbnail-inner {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.thumbnail-label:hover .thumbnail-inner img {
    transform: scale(1.1);
}

/* 
   CSS GALLERY LOGIC (NO JS) 
   Connecting inputs to main images and thumbnail states
*/
#gallery-img-1:checked ~ .gallery-main-display .img-layer-1,
#gallery-img-2:checked ~ .gallery-main-display .img-layer-2,
#gallery-img-3:checked ~ .gallery-main-display .img-layer-3,
#gallery-img-4:checked ~ .gallery-main-display .img-layer-4 {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 5;
}

#gallery-img-1:checked ~ .gallery-thumbnails label[for="gallery-img-1"] .thumbnail-inner,
#gallery-img-2:checked ~ .gallery-thumbnails label[for="gallery-img-2"] .thumbnail-inner,
#gallery-img-3:checked ~ .gallery-thumbnails label[for="gallery-img-3"] .thumbnail-inner,
#gallery-img-4:checked ~ .gallery-thumbnails label[for="gallery-img-4"] .thumbnail-inner {
    border-color: var(--purple-500);
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2), var(--shadow-md);
    transform: translateY(-4px);
}

/* ==========================================================================
   PRODUCT INFORMATION (RIGHT SIDE)
   ========================================================================== */
.product-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-header-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tag-group {
    display: flex;
    gap: 0.5rem;
}

.premium-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
}

.product-main-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    line-height: 1.1;
    color: var(--purple-950);
    font-weight: 700;
    position: relative;
}

.title-highlight {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--purple-600);
    margin-top: 0.5rem;
}

.amazon-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.stars {
    display: flex;
    gap: 0.125rem;
    color: var(--amazon-star);
}

.stars svg {
    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(--purple-700);
}

.product-intro-box {
    background: linear-gradient(to right, var(--purple-50), rgba(255,255,255,0.5));
    border-left: 4px solid var(--purple-400);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-size: 0.95rem;
    color: var(--purple-900);
    line-height: 1.6;
    font-weight: 500;
}

/* Feature List */
.product-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    background: transparent;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--purple-50);
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--purple-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-600);
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.2);
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-item:hover .feature-icon-wrapper {
    background: var(--purple-600);
    color: white;
    transform: scale(1.1);
    transition: all var(--transition-bounce);
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

.feature-text strong {
    color: var(--purple-900);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   CALL TO ACTION SECTION
   ========================================================================== */
.cta-section {
    padding: 5rem 0;
    position: relative;
    z-index: 20;
}

.cta-container {
    position: relative;
    max-w: 3xl;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--purple-800), var(--purple-950));
    border-radius: var(--border-radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 
        var(--shadow-xl),
        0 0 0 1px rgba(255,255,255,0.1) inset,
        0 20px 40px rgba(88, 28, 135, 0.4);
    overflow: hidden;
}

.cta-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--purple-500) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0.2;
    pointer-events: none;
    animation: pulse-soft 4s infinite alternate;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a855f7' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-title {
    font-family: var(--font-serif);
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-subtitle {
    color: var(--purple-200);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.cta-button-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(to bottom, #fbbf24, #f59e0b);
    color: #78350f;
    font-weight: 800;
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
    border-radius: 3rem;
    text-decoration: none;
    box-shadow: 
        0 10px 15px -3px rgba(245, 158, 11, 0.4),
        0 4px 6px -2px rgba(245, 158, 11, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    transition: all var(--transition-bounce);
    overflow: hidden;
}

.cta-button-premium:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 25px -5px rgba(245, 158, 11, 0.5),
        0 10px 10px -5px rgba(245, 158, 11, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.cta-button-premium:active {
    transform: translateY(1px);
    box-shadow: 
        0 5px 10px -3px rgba(245, 158, 11, 0.4),
        inset 0 3px 5px rgba(0, 0, 0, 0.2);
}

.cta-button-premium:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.5), var(--shadow-lg);
}

.btn-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform var(--transition-normal);
}

.cta-button-premium:hover .btn-icon svg {
    transform: translateX(4px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
}

.cta-button-premium:hover .btn-shine {
    animation: shine-sweep 1.5s infinite;
}

/* ==========================================================================
   REVIEWS SECTION (AMAZON STYLE, BEAUTIFIED)
   ========================================================================== */
.reviews-section {
    padding: 3rem 0 6rem;
    position: relative;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-title-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.reviews-main-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple-950);
}

.reviews-decoration-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-300), var(--purple-600));
    border-radius: 2px;
}

.reviews-subtitle {
    margin-top: 1rem;
    color: var(--purple-700);
    font-weight: 500;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(168, 85, 247, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--purple-200);
    transition: background var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-card:hover::before {
    background: var(--purple-500);
}

.review-avatar-col {
    flex-shrink: 0;
}

.avatar-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--purple-200), var(--purple-400));
}

.review-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.review-content-col {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.reviewer-profile {
    display: flex;
    align-items: center;
}

.reviewer-name {
    font-weight: 700;
    color: var(--purple-900);
    font-size: 1rem;
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.amazon-stars {
    color: var(--amazon-star-dark);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-headline {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.review-meta-row {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-verified-row {
    margin-top: 0.25rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple-700);
    background: var(--purple-50);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--purple-200);
}

.review-body {
    margin-top: 0.75rem;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--purple-950);
    color: var(--purple-200);
    position: relative;
}

.footer-top-border {
    height: 4px;
    background: linear-gradient(90deg, var(--purple-400), var(--purple-600), var(--purple-800));
}

.footer-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-link {
    color: var(--purple-200);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: white;
}

.link-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--purple-400);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.footer-link:hover .link-hover-line {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */

/* Tablet & Desktop Layout for Hero Section */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    
    .product-info-wrapper {
        padding-top: 1rem;
    }

    .cta-title {
        font-size: 3rem;
    }
}

/* Specific adjustments for smaller mobile devices */
@media (max-width: 640px) {
    .product-card-inner {
        padding: 1.5rem;
    }
    
    .product-main-title {
        font-size: 1.75rem;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
    }
    
    .cta-container {
        padding: 3rem 1.5rem;
        border-radius: var(--border-radius-lg);
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .review-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Extreme small devices (320px) */
@media (max-width: 350px) {
    .product-main-title {
        font-size: 1.5rem;
    }
    .cta-button-premium {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Large desktop tweaks */
@media (min-width: 1024px) {
    .product-card-inner {
        padding: 3.5rem;
    }
    .product-grid {
        gap: 4rem;
    }
    .gallery-main-display {
        padding: 1.5rem;
    }
}