/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   Strictly maintaining the blue palette with extensive tints, shades, 
   gradients, and shadow variables to create a deep, layered, modern UI.
   ========================================================================== */
   :root {
    /* Main Blue Palette */
    --blue-50:  #f0f9ff;
    --blue-100: #e0f2fe;
    --blue-200: #bae6fd;
    --blue-300: #7dd3fc;
    --blue-400: #38bdf8;
    --blue-500: #0ea5e9;
    --blue-600: #0284c7;
    --blue-700: #0369a1;
    --blue-800: #075985;
    --blue-900: #0c4a6e;
    --blue-950: #082f49;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
    --gradient-soft: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
    --gradient-card: linear-gradient(to bottom right, var(--white), var(--blue-50));
    --gradient-btn: linear-gradient(90deg, var(--blue-600), var(--blue-500), var(--blue-600));
    --gradient-hover: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-950) 100%);

    /* Shadows (Multi-layered for depth) */
    --shadow-sm: 0 1px 2px 0 rgba(12, 74, 110, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(12, 74, 110, 0.1), 0 2px 4px -1px rgba(12, 74, 110, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(12, 74, 110, 0.1), 0 4px 6px -2px rgba(12, 74, 110, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(12, 74, 110, 0.15), 0 10px 10px -5px rgba(12, 74, 110, 0.04);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(12, 74, 110, 0.06);
    --shadow-btn: 0 8px 20px rgba(2, 132, 199, 0.4);

    /* Borders */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;

    /* 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.68, -0.55, 0.265, 1.55);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.page-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::selection {
    background-color: var(--blue-200);
    color: var(--blue-900);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   GLOBAL ANIMATIONS
   ========================================================================== */
@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 0.4; transform: scale(1); }
}

@keyframes shineEffect {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

@keyframes blobPan {
    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); }
}

@keyframes borderDance {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   PAGE BACKGROUND DECORATIONS
   ========================================================================== */
.page-bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--gray-50);
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: blobPan 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--blue-100);
    animation-delay: 0s;
}

.blob-2 {
    top: 40%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--blue-50);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -15%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: var(--blue-100);
    animation-delay: -10s;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */
.custom-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-glass-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

.header-container {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.header-logo-wrapper {
    position: relative;
    text-align: center;
}

.header-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-900);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.header-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    z-index: 1;
    filter: blur(8px);
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--blue-500);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue-400);
    animation: pulseGlow 2s infinite;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-700);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-300), transparent);
}

.header-bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-200), transparent);
    z-index: 2;
}

/* ==========================================================================
   HERO / MAIN PRODUCT SECTION
   ========================================================================== */
.hero-section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.product-card-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    perspective: 1000px;
}

.card-glow-layer {
    position: absolute;
    border-radius: var(--border-radius-xl);
    z-index: -1;
    transition: var(--transition-slow);
}

.card-glow-layer.layer-1 {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background: var(--blue-100);
    filter: blur(20px);
    opacity: 0.7;
}

.card-glow-layer.layer-2 {
    top: -5px;
    left: -5px;
    right: 5px;
    bottom: 5px;
    background: var(--blue-50);
    filter: blur(15px);
    opacity: 0.9;
}

.product-card-inner {
    background: var(--gradient-card);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 3rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Decorative corner subtle gradients inside card */
.product-card-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--blue-100) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   CSS-ONLY GALLERY MAGIC (No JS)
   ========================================================================== */
.gallery-section {
    width: 100%;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

/* Hide inputs */
input[name="product-gallery"] {
    display: none;
}

/* Main Display Area */
.main-image-display {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-lg);
    background-color: var(--white);
    box-shadow: var(--shadow-md), var(--shadow-inner);
    overflow: hidden;
    border: 1px solid var(--blue-100);
}

.main-image-frame {
    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;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.main-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.4) 25%, transparent 30%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

/* Frame Accents */
.frame-accent {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--blue-300);
    z-index: 5;
    pointer-events: none;
    opacity: 0.5;
    transition: var(--transition-normal);
}

.frame-accent.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.frame-accent.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.main-image-display:hover .frame-accent {
    width: 60px;
    height: 60px;
    opacity: 1;
    border-color: var(--blue-500);
}

/* Logic for showing main image based on checked radio */
#photo-1:checked ~ .main-image-display .img-view-1,
#photo-2:checked ~ .main-image-display .img-view-2,
#photo-3:checked ~ .main-image-display .img-view-3,
#photo-4:checked ~ .main-image-display .img-view-4 {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

#photo-1:checked ~ .main-image-display .img-view-1 .image-overlay-shine,
#photo-2:checked ~ .main-image-display .img-view-2 .image-overlay-shine,
#photo-3:checked ~ .main-image-display .img-view-3 .image-overlay-shine,
#photo-4:checked ~ .main-image-display .img-view-4 .image-overlay-shine {
    animation: shineEffect 1.5s ease-out forwards;
}

/* Thumbnails */
.thumbnails-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumb-label {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    transform: translateY(0);
}

.thumb-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
    opacity: 0.7;
}

.thumb-inner-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    z-index: 2;
    pointer-events: none;
    transition: var(--transition-fast);
}

.thumb-label:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.thumb-label:hover img {
    opacity: 0.9;
}

/* Logic for active thumbnail styling */
#photo-1:checked ~ .thumbnails-container .thumb-1 img,
#photo-2:checked ~ .thumbnails-container .thumb-2 img,
#photo-3:checked ~ .thumbnails-container .thumb-3 img,
#photo-4:checked ~ .thumbnails-container .thumb-4 img {
    opacity: 1;
    transform: scale(1.1);
}

#photo-1:checked ~ .thumbnails-container .thumb-1 .thumb-inner-border,
#photo-2:checked ~ .thumbnails-container .thumb-2 .thumb-inner-border,
#photo-3:checked ~ .thumbnails-container .thumb-3 .thumb-inner-border,
#photo-4:checked ~ .thumbnails-container .thumb-4 .thumb-inner-border {
    border-color: var(--blue-600);
    box-shadow: inset 0 0 0 2px var(--white);
}

/* ==========================================================================
   PRODUCT INFO (RIGHT COLUMN)
   ========================================================================== */
.info-section {
    display: flex;
    flex-direction: column;
}

.info-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.info-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-badge.outline-badge {
    border: 1px solid var(--blue-400);
    color: var(--blue-600);
    background: transparent;
}

.info-badge.solid-badge {
    background: var(--blue-100);
    color: var(--blue-800);
}

.title-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.product-h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-btn);
    border-radius: 2px;
}

.desc-intro {
    background: var(--white);
    padding: 1.25rem;
    border-left: 4px solid var(--blue-500);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.05rem;
    color: var(--blue-900);
    font-weight: 500;
    line-height: 1.6;
}

.desc-section-title {
    margin-bottom: 1.25rem;
}

.desc-section-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    display: inline-block;
    position: relative;
}

.desc-section-title h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue-200);
}

/* Custom Feature List */
.custom-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 4px rgba(12, 74, 110, 0.02);
    border: 1px solid var(--blue-50);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateX(5px);
    border-color: var(--blue-200);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--blue-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.icon-inner {
    width: 10px;
    height: 10px;
    background: var(--blue-600);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--blue-400);
}

.feature-content {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-bold {
    font-weight: 700;
    color: var(--gray-900);
    display: block;
    margin-bottom: 0.25rem;
}

/* Benefits Box */
.benefits-box {
    position: relative;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--white);
    border: 1px solid var(--blue-100);
    overflow: hidden;
}

.benefits-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--blue-50) 0%, transparent 70%);
    opacity: 0.8;
    z-index: 0;
}

.benefits-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.benefits-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    position: relative;
    z-index: 1;
}

.benefits-grid li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.check-mark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background-color: var(--blue-500);
    border-radius: 50%;
    position: relative;
}

.check-mark::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 6rem 0;
    margin-top: 2rem;
    overflow: hidden;
}

.cta-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-circle-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, var(--blue-100) 0%, transparent 60%);
    opacity: 0.5;
    z-index: 1;
}

.cta-circle-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vw;
    max-width: 1200px;
    max-height: 1200px;
    border: 1px dashed var(--blue-200);
    border-radius: 50%;
    z-index: 1;
    animation: blobPan 30s linear infinite;
}

.cta-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-300), transparent);
    z-index: 1;
}

.cta-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    border: 1px solid var(--white);
    box-shadow: var(--shadow-xl);
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.amazon-cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--gradient-btn);
    background-size: 200% auto;
    color: var(--white);
    border-radius: var(--border-radius-lg);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: var(--shadow-btn);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.btn-glow {
    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);
    animation: shineEffect 3s infinite;
    z-index: 1;
}

.btn-text, .btn-icon {
    position: relative;
    z-index: 2;
}

.btn-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.amazon-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.5);
    background-position: right center;
}

.amazon-cta-btn:hover .btn-icon svg {
    transform: translateX(5px);
}

.amazon-cta-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--blue-200), var(--shadow-btn);
}

.amazon-cta-btn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.4);
}

/* ==========================================================================
   REVIEWS SECTION (AMAZON-STYLE, BEAUTIFIED)
   ========================================================================== */
.reviews-section {
    padding: 4rem 0 6rem;
    position: relative;
    z-index: 10;
}

.reviews-header {
    margin-bottom: 4rem;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-950);
    margin-bottom: 1rem;
}

.reviews-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sep-line {
    width: 40px;
    height: 2px;
    background: var(--blue-200);
}

.sep-dot {
    width: 8px;
    height: 8px;
    background: var(--blue-500);
    border-radius: 50%;
    transform: rotate(45deg);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-block {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
}

.review-block-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--blue-50) 0%, transparent 100%);
    opacity: 0;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
    z-index: 0;
}

.review-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-100);
}

.review-block:hover .review-block-bg {
    opacity: 0.5;
}

.review-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Avatar Column */
.review-left-col {
    flex-shrink: 0;
}

.avatar-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
}

.avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--blue-200);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.review-block:hover .avatar-ring {
    opacity: 1;
    transform: scale(1);
}

.reviewer-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

/* Content Column */
.review-right-col {
    flex-grow: 1;
}

.review-header-info {
    margin-bottom: 0.5rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

/* STRICT PALETTE ADHERENCE: Stars are Blue, not yellow/amber */
.blue-stars {
    color: var(--blue-500);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.rating-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-800);
}

.review-headline {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
    line-height: 1.4;
}

.review-meta-data {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.review-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-700);
    background: var(--blue-50);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid var(--blue-100);
}

.verified-icon {
    color: var(--blue-500);
}

.review-body-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.review-attached-photo {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gray-200);
}

.photo-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.attached-img-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.attached-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 74, 110, 0.2);
    opacity: 0;
    transition: var(--transition-fast);
}

.attached-img-wrapper:hover .img-hover-overlay {
    opacity: 1;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.custom-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    position: relative;
    margin-top: auto;
}

.footer-gradient-top {
    height: 4px;
    width: 100%;
    background: var(--gradient-btn);
}

.footer-content-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-brand {
    position: relative;
    display: inline-block;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.brand-underline {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--blue-500);
}

.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    position: relative;
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--white);
}

.link-hover-line {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--blue-400);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-link:hover .link-hover-line {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-divider {
    width: 4px;
    height: 4px;
    background: var(--gray-600);
    border-radius: 50%;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-800);
    padding-top: 1.5rem;
    width: 100%;
    max-width: 400px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST ADAPTATIONS)
   ========================================================================== */

/* Breakpoint: Tablets and smaller (max-width: 1024px) */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-card-inner {
        padding: 2rem;
    }

    /* Keep gallery images smaller on tablet */
    .main-image-display {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Breakpoint: Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .product-card-inner {
        padding: 1.5rem;
        border-radius: var(--border-radius-lg);
    }
    
    .product-h1 {
        font-size: 1.75rem;
    }
    
    .desc-intro {
        padding: 1rem;
    }

    /* Benefits grid into 2 columns on tablet, 1 on mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* CTA Section adjustments */
    .cta-card {
        padding: 2rem 1.5rem;
        border-radius: var(--border-radius-lg);
    }
    
    .amazon-cta-btn {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    
    .cta-section {
        padding: 4rem 0;
    }

    /* Review section adjustments */
    .review-content-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .review-left-col {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .reviewer-name {
        margin-bottom: 0;
    }
    
    .review-header-info {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .footer-links-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-divider {
        display: none;
    }
}

/* Breakpoint: Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .header-logo-text {
        font-size: 1.25rem;
    }
    
    .main-image-display {
        border-radius: var(--border-radius-md);
    }
    
    .thumb-label {
        width: 60px;
        height: 60px;
    }
    
    .product-h1 {
        font-size: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .benefits-box {
        padding: 1.5rem;
    }
}

/* Breakpoint: Very Small Mobile (320px check) */
@media (max-width: 320px) {
    .thumb-label {
        width: 50px;
        height: 50px;
    }
    
    .amazon-cta-btn {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .product-card-inner {
        padding: 1rem;
    }
}