/* ==========================================================================
   CSS VARIABLES - STRICT PURPLE PALETTE & EXTENDED DESIGN TOKENS
   ========================================================================== */
   :root {
    /* Primary Colors (Strictly Purple Variations) */
    --clr-purple-50: #f5f3ff;
    --clr-purple-100: #ede9fe;
    --clr-purple-200: #ddd6fe;
    --clr-purple-300: #c4b5fd;
    --clr-purple-400: #a78bfa;
    --clr-purple-500: #8b5cf6;
    --clr-purple-600: #7c3aed; /* Primary Brand */
    --clr-purple-700: #6d28d9;
    --clr-purple-800: #5b21b6;
    --clr-purple-900: #4c1d95;
    --clr-purple-950: #2e1065;
    
    /* Neutrals for contrast and readability */
    --clr-white: #ffffff;
    --clr-gray-50: #f9fafb;
    --clr-gray-100: #f3f4f6;
    --clr-gray-400: #9ca3af;
    --clr-gray-600: #4b5563;
    --clr-gray-800: #1f2937;
    --clr-gray-900: #111827;

    /* Semantic & Effects */
    --clr-text-main: var(--clr-gray-900);
    --clr-text-muted: var(--clr-gray-600);
    --clr-star-rating: #fbbf24; /* Yellow strictly for Amazon stars */
    --clr-verified: var(--clr-purple-600);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--clr-purple-600) 0%, var(--clr-purple-800) 100%);
    --gradient-glow: linear-gradient(90deg, rgba(124,58,237,0) 0%, rgba(124,58,237,0.4) 50%, rgba(124,58,237,0) 100%);
    --gradient-bg-soft: linear-gradient(to bottom right, var(--clr-purple-50), var(--clr-white));
    
    /* Shadows - Layered & Deep */
    --shadow-sm: 0 1px 2px 0 rgba(76, 29, 149, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(76, 29, 149, 0.1), 0 2px 4px -1px rgba(76, 29, 149, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(76, 29, 149, 0.1), 0 4px 6px -2px rgba(76, 29, 149, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(76, 29, 149, 0.15), 0 10px 10px -5px rgba(76, 29, 149, 0.04);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
    --shadow-card: 0 24px 50px -12px rgba(76, 29, 149, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.26, 1.55);
}

/* ==========================================================================
   GLOBAL RESET & BASE UTILITIES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-purple-50);
    background-image: var(--gradient-bg-soft);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--clr-purple-300);
    color: var(--clr-purple-950);
}

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--clr-purple-50);
}
::-webkit-scrollbar-thumb {
    background: var(--clr-purple-300);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-purple-500);
}

/* ==========================================================================
   DECORATIVE BACKGROUND ELEMENTS
   ========================================================================== */
.bg-decorative-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--clr-purple-200);
    top: -100px;
    left: -200px;
    animation-duration: 25s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--clr-purple-300);
    bottom: -150px;
    right: -100px;
    animation-duration: 22s;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--clr-purple-100);
    top: 40%;
    left: 60%;
    animation-duration: 18s;
    animation-delay: -10s;
}

.glass-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.4);
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ==========================================================================
   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 var(--clr-purple-100);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 1.5rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: var(--clr-purple-100);
    color: var(--clr-purple-800);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--clr-purple-600);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(124,58,237,0.2);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(124,58,237,0.4); }
    70% { box-shadow: 0 0 0 6px rgba(124,58,237,0); }
    100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
}

.header-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--clr-purple-950);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 50%;
}

.header-secure {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--clr-purple-700);
    font-size: 0.875rem;
    font-weight: 600;
}

.secure-icon {
    width: 18px;
    height: 18px;
}

.header-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--gradient-primary);
    opacity: 0.8;
}

/* ==========================================================================
   MAIN LAYOUT & PRODUCT CARD CONTAINER
   ========================================================================== */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.product-section {
    position: relative;
    z-index: 10;
    perspective: 1000px;
}

.product-card {
    background: var(--clr-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-card);
    position: relative;
    isolation: isolate;
    border: 1px solid var(--clr-purple-100);
    overflow: visible;
}

/* Layered depth for the card */
.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-2xl) + 2px);
    background: linear-gradient(135deg, var(--clr-purple-300), var(--clr-white), var(--clr-purple-200));
    z-index: -1;
    opacity: 0.5;
}

.product-card-inner {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
    background: var(--clr-white);
    border-radius: var(--radius-2xl);
}

/* ==========================================================================
   CSS-ONLY GALLERY LOGIC & STYLING
   ========================================================================== */
.product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hide inputs completely */
.gallery-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xl);
    background: var(--clr-purple-50);
    box-shadow: inset 0 2px 10px rgba(76,29,149,0.05);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--clr-white);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-white);
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

/* Gallery Core Logic */
#img-1:checked ~ .main-image-wrapper .slide-1,
#img-2:checked ~ .main-image-wrapper .slide-2,
#img-3:checked ~ .main-image-wrapper .slide-3,
#img-4:checked ~ .main-image-wrapper .slide-4 {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

/* Main Image Hover Zoom Effect */
.image-slide:hover img {
    transform: scale(1.05);
}

/* Decorative Accents on Image Wrapper */
.corner-accent {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--clr-purple-300);
    z-index: 10;
    pointer-events: none;
}
.corner-accent.top-left {
    top: 1rem;
    left: 1rem;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 8px;
}
.corner-accent.bottom-right {
    bottom: 1rem;
    right: 1rem;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 8px;
}

/* Thumbnails Styles */
.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumb-label {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    background: var(--clr-white);
}

.thumb-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: var(--clr-purple-900);
    opacity: 0.15;
    transition: var(--transition-fast);
    z-index: 1;
}

.thumb-label:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.thumb-label:hover .thumb-overlay {
    opacity: 0;
}

.thumb-label:hover img {
    transform: scale(1.1);
}

/* Thumbnail Active States Logic based on Radio Inputs */
#img-1:checked ~ .thumbnail-container .label-1,
#img-2:checked ~ .thumbnail-container .label-2,
#img-3:checked ~ .thumbnail-container .label-3,
#img-4:checked ~ .thumbnail-container .label-4 {
    border-color: var(--clr-purple-600);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
    transform: translateY(-3px);
}

#img-1:checked ~ .thumbnail-container .label-1 .thumb-overlay,
#img-2:checked ~ .thumbnail-container .label-2 .thumb-overlay,
#img-3:checked ~ .thumbnail-container .label-3 .thumb-overlay,
#img-4:checked ~ .thumbnail-container .label-4 .thumb-overlay {
    opacity: 0;
}

/* ==========================================================================
   PRODUCT DESCRIPTION & TYPOGRAPHY
   ========================================================================== */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.title-wrapper {
    position: relative;
}

.category-tag {
    display: inline-block;
    color: var(--clr-purple-600);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    background: var(--clr-purple-100);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.product-h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--clr-gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.title-underline {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 40%;
    height: 12px;
    background: var(--clr-purple-200);
    z-index: 1;
    opacity: 0.6;
    border-radius: 10px;
}

.seo-intro-box {
    background: linear-gradient(to right, var(--clr-purple-50), transparent);
    border-left: 4px solid var(--clr-purple-500);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.seo-intro-text {
    font-size: 1.05rem;
    color: var(--clr-gray-800);
    font-weight: 500;
    line-height: 1.6;
}

.seo-intro-text strong {
    color: var(--clr-purple-700);
}

.description-block {
    background: var(--clr-white);
    position: relative;
}

.description-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-purple-950);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.description-heading::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-purple-500);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--clr-white);
    border: 1px solid var(--clr-purple-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.feature-item:hover {
    transform: translateX(5px);
    border-color: var(--clr-purple-300);
    box-shadow: var(--shadow-md);
    background: var(--clr-purple-50);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--clr-purple-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-icon-inner {
    width: 10px;
    height: 10px;
    background: var(--clr-purple-600);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.feature-text {
    font-size: 0.95rem;
    color: var(--clr-gray-700);
    line-height: 1.6;
}

.feature-text strong {
    color: var(--clr-gray-900);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

/* ==========================================================================
   CTA SECTION & ANIMATIONS
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.cta-background {
    position: absolute;
    inset: 0;
    background: var(--clr-purple-950);
    z-index: 0;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.cta-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--clr-purple-600);
    top: -100px;
    left: -100px;
    opacity: 0.6;
}

.cta-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--clr-purple-800);
    bottom: -150px;
    right: -100px;
    opacity: 0.7;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--clr-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--clr-purple-200);
    margin-bottom: 2.5rem;
}

.cta-button-wrapper {
    position: relative;
    display: inline-block;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3.5rem;
    background: var(--gradient-primary);
    color: var(--clr-white);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4), inset 0 -3px 0 rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-text {
    position: relative;
    z-index: 2;
}

/* Button Hover states */
.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(124, 58, 237, 0.5), inset 0 -3px 0 rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--clr-purple-500) 0%, var(--clr-purple-700) 100%);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(124, 58, 237, 0.4), inset 0 3px 0 rgba(0,0,0,0.2);
}

.cta-button:focus-visible {
    outline: 4px solid var(--clr-purple-300);
    outline-offset: 4px;
}

/* Shine Animation inside Button */
.cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    z-index: 1;
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Pulse animation behind button */
.cta-button-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--clr-purple-500);
    border-radius: 100px;
    z-index: -1;
    opacity: 0;
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    70% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.cta-trust-indicators {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    color: var(--clr-purple-200);
    font-size: 0.875rem;
}

.dot-separator {
    color: var(--clr-purple-500);
}

/* ==========================================================================
   REVIEWS SECTION (Enhanced Amazon Style)
   ========================================================================== */
.reviews-section {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-purple-950);
    margin-bottom: 0.5rem;
}

.reviews-rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stars-large {
    font-size: 1.75rem;
    color: var(--clr-star-rating);
    letter-spacing: 2px;
}

.reviews-subtitle {
    color: var(--clr-gray-600);
    font-size: 1rem;
}

.reviews-decorative-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-card {
    display: flex;
    gap: 1.5rem;
    background: var(--clr-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-purple-100);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--clr-purple-500);
    transition: height 0.3s ease;
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.review-card:hover::before {
    height: 100%;
}

.review-left {
    flex-shrink: 0;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--clr-purple-100);
    border: 2px solid var(--clr-purple-200);
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-right {
    flex-grow: 1;
}

.review-meta-top {
    margin-bottom: 0.25rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-gray-900);
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.review-stars {
    color: var(--clr-star-rating);
    font-size: 1rem;
    letter-spacing: 1px;
}

.review-title {
    font-weight: 700;
    color: var(--clr-gray-900);
    font-size: 1rem;
}

.review-meta-data {
    font-size: 0.85rem;
    color: var(--clr-gray-500);
    margin-bottom: 0.25rem;
}

.review-badges {
    margin-bottom: 1rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--clr-verified);
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--clr-purple-50);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.verified-icon {
    font-weight: 900;
}

.review-body {
    color: var(--clr-gray-800);
    font-size: 0.95rem;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-attached-image {
    margin-top: 1.25rem;
}

.attached-img-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--clr-purple-200);
    cursor: pointer;
}

.attached-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.attached-img-wrapper:hover img {
    transform: scale(1.1);
}

.attached-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(76, 29, 149, 0.8);
    color: white;
    font-size: 0.65rem;
    text-align: center;
    padding: 0.2rem 0;
    font-weight: 600;
}

.review-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--clr-purple-100), transparent);
}


/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.site-footer {
    background: var(--clr-white);
    position: relative;
    margin-top: 4rem;
    border-top: 1px solid var(--clr-purple-100);
    overflow: hidden;
}

.footer-background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--clr-purple-950);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--clr-gray-600);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-gray-900);
    margin-bottom: 1.25rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--clr-gray-600);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--clr-purple-600);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.footer-link:hover {
    color: var(--clr-purple-700);
}

.footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-bottom {
    background: var(--clr-purple-50);
    padding: 1.5rem;
    text-align: center;
    color: var(--clr-gray-500);
    font-size: 0.85rem;
    border-top: 1px solid var(--clr-purple-100);
}

/* ==========================================================================
   MEDIA QUERIES (Mobile First approach adaptations & Responsive)
   ========================================================================== */

/* Very Small Mobile (320px) */
@media (max-width: 374px) {
    .header-title {
        font-size: 0.9rem;
    }
    .product-h1 {
        font-size: 1.75rem;
    }
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    .review-card {
        padding: 1.25rem;
        flex-direction: column;
        gap: 1rem;
    }
    .thumbnail-container {
        gap: 0.5rem;
    }
}

/* Standard Mobile (up to 767px) */
@media (max-width: 767px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .header-badge {
        display: none; /* Hide badge on mobile to save space */
    }

    .header-title {
        max-width: 70%;
        font-size: 1rem;
    }

    .main-content {
        padding: 2rem 1rem;
        gap: 3rem;
    }

    .product-card-inner {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }

    .product-gallery {
        /* Mobile: Images on top */
        order: -1; 
    }

    .product-h1 {
        font-size: 2rem;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .review-card {
        flex-direction: column; /* Stack avatar and content vertically on mobile */
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
    }

    .review-rating-row {
        flex-wrap: wrap;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }
}

/* Tablet (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .product-card-inner {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
    
    .product-gallery {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Desktop & Large Desktop (1024px+) relies on base styles written above */
@media (min-width: 1024px) {
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 60px -15px rgba(76, 29, 149, 0.3);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
}