/* ============================================
   DESIGN TOKENS - Authority Review Site Theme
   ============================================ */
:root {
    /* Colors - Trust & Authority */
    --color-primary: #1B2A4A;              /* Deep navy - authority */
    --color-primary-light: #2C3E6B;        /* Lighter navy for hover */
    --color-accent: #D4A853;               /* Warm amber/gold - premium */
    --color-accent-hover: #C49A48;         /* Darker gold on hover */
    --color-success: #2D7D46;              /* Forest green - stock/positive */
    --color-danger: #B12704;               /* Red - out of stock, errors */
    --color-text-primary: #1A1A1A;         /* Dark charcoal */
    --color-text-secondary: #6B7280;       /* Medium gray */
    --color-text-link: #1B2A4A;            /* Navy links */
    --color-text-link-hover: #D4A853;      /* Gold hover */
    --color-bg-white: #FFFFFF;
    --color-bg-section: #F5F5F0;           /* Warm gray sections */
    --color-bg-card: #FFFFFF;
    --color-border: #E2E2E0;               /* Subtle warm borders */
    --color-border-hover: #D4A853;         /* Gold highlight on hover */

    /* Spacing Scale (4px base unit) */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-7: 28px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 80px;

    /* Type Scale */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-md: 1.125rem;    /* 18px */
    --text-lg: 1.25rem;     /* 20px */
    --text-xl: 1.5rem;      /* 24px */
    --text-2xl: 1.75rem;    /* 28px */
    --text-3xl: 2rem;       /* 32px */
    --text-4xl: 2.5rem;     /* 40px */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(27, 42, 74, 0.04);
    --shadow-md: 0 2px 8px rgba(27, 42, 74, 0.08);
    --shadow-lg: 0 4px 16px rgba(27, 42, 74, 0.12);
    --shadow-xl: 0 8px 32px rgba(27, 42, 74, 0.16);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--color-text-primary);
    line-height: var(--line-height-normal);
    background: var(--color-bg-section);
    font-size: var(--text-sm);
}

a {
    color: var(--color-text-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-text-link-hover);
    text-decoration: none;
}

img { max-width: 100%; height: auto; }

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--sp-5);
}

.section {
    padding: var(--sp-10) 0;
}

.center { text-align: center; margin: var(--sp-5) 0; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--color-primary);
    padding: var(--sp-4) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: var(--text-lg);
    font-weight: 700;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
}

.logo:hover { text-decoration: none; }

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--sp-5);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    transition: color var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--sp-2);
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        padding: var(--sp-4);
        flex-direction: column;
        gap: var(--sp-3);
    }
    .nav-links.mobile-open { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    border: none;
    font-size: var(--text-sm);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-primary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-amazon {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-md);
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--text-xs);
}

.btn-amazon:hover {
    background: var(--color-primary-light);
    text-decoration: none;
}

/* ============================================
   CARDS
   ============================================ */
.product-card {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--sp-5);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--color-border-hover);
}

.product-card > a:first-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card a { text-decoration: none; }

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-3);
}

.product-card .short-desc {
    flex: 1;
}

.product-card .btn-amazon {
    margin-top: auto;
}

.product-card h3 {
    font-size: var(--text-sm);
    margin-bottom: var(--sp-2);
    color: var(--color-text-primary);
    line-height: 1.4;
}

/* ============================================
   PRODUCT CARD V2 - Fixed size grid cards
   ============================================ */
.product-card-v2 {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    max-height: 380px;
}

.product-card-v2:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--color-border-hover);
}

.product-card-v2 .card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-v2 .card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #FAFAF8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-v2 .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    padding: var(--sp-3);
}

.product-card-v2:hover .card-img-wrap img {
    transform: scale(1.06);
}

.product-card-v2 .card-body {
    padding: var(--sp-3) var(--sp-4) var(--sp-2);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-v2 .card-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin: 0 0 var(--sp-2) 0;

    /* Truncate long titles */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    /* Fallback for non-webkit */
    max-height: 2.8em;
}

.product-card-v2 .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    margin-top: auto;
}

.product-card-v2 .card-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    font-weight: 600;
}

.product-card-v2 .card-rating svg {
    flex-shrink: 0;
}

.product-card-v2 .card-price {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-danger);
}

.product-card-v2 .card-reviews {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.product-card-v2 .card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: var(--sp-2) var(--sp-4) var(--sp-4);
    padding: 8px 0;
    background: var(--color-primary);
    color: #fff !important;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background var(--transition-base);
    letter-spacing: 0.3px;
}

.product-card-v2 .card-cta:hover {
    background: var(--color-primary-light);
}

.blog-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: var(--sp-5);
}

.blog-card h2,
.blog-card h3 {
    font-size: var(--text-md);
    margin: var(--sp-2) 0;
    color: var(--color-text-primary);
}

.blog-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.blog-card time {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.blog-category {
    background: rgba(212, 168, 83, 0.15);
    color: var(--color-primary);
    padding: var(--sp-1) var(--sp-2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    display: inline-block;
    margin-bottom: var(--sp-2);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    padding: var(--sp-16) var(--sp-5);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-radius: var(--radius-lg);
    margin: var(--sp-10) 0;
}

.hero h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--sp-3);
    font-weight: 700;
}

.hero p {
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--sp-6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--sp-6);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-6);
}

/* ============================================
   PRICE & RATING
   ============================================ */
.price {
    color: var(--color-danger);
    font-weight: 700;
    font-size: var(--text-sm);
}

.rating {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin: var(--sp-2) 0;
    flex-wrap: wrap;
}

.stars {
    color: var(--color-accent);
    font-weight: 600;
    font-size: var(--text-base);
    letter-spacing: 0.5px;
}

.count {
    color: var(--color-text-link);
    font-size: var(--text-xs);
}

.count:hover { color: var(--color-accent); }

/* ============================================
   SHORT DESC
   ============================================ */
.short-desc {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-2);
    line-height: 1.4;
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-heading {
    font-size: var(--text-2xl);
    margin-bottom: var(--sp-8);
    color: var(--color-text-primary);
    font-weight: 700;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: var(--sp-2) 0;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.breadcrumb a {
    color: var(--color-text-link);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.breadcrumb li + li::before {
    content: "›";
    margin: 0 var(--sp-2);
    color: var(--color-text-secondary);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
    max-width: 1500px;
    margin: 0 auto;
    background: transparent;
}

.product-main-layout {
    display: grid;
    grid-template-columns: 540px 1fr 300px;
    gap: var(--sp-5);
    align-items: start;
    padding: 0;
    background: transparent;
}

/* Left Column: Images */
.product-left {
    padding: 0;
    background: transparent;
    border-radius: 0;
    position: relative;
}

.image-gallery-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    position: relative;
}

/* Zoom Lens */
.zoom-lens {
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid rgba(212, 168, 83, 0.5);
    background: rgba(255, 255, 255, 0.05);
    cursor: crosshair;
    display: none;
    pointer-events: none;
    z-index: 5;
    will-change: transform;
}

.zoom-lens.active { display: block; }

.zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    opacity: 1;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

/* Zoom Result Panel */
.zoom-result {
    display: none;
    width: min(60vw, 720px);
    height: min(60vh, 720px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: var(--sp-3);
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.zoom-result.active { display: block; }

.zoom-result img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    will-change: transform;
    transition: none;
}

/* ============================================
   GALLERY — Vertical thumbs (left) + preview (right)
   ============================================ */
.gallery {
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 100%;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 60px;
    flex-shrink: 0;
}.thumbs-scroll {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-height: calc(56px * 6 + 6px * 5);
    min-height: 0;
}
.thumbs-scroll::-webkit-scrollbar { display: none; }
.thumbs-scroll::-webkit-scrollbar { width: 3px; }
.thumbs-scroll::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

.gallery-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.thumb-item {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: #FAFAF8;
    transition: border-color var(--transition-base);
    position: relative;
}
.thumb-item:hover { border-color: var(--color-text-secondary); }
.thumb-item.active { border-color: var(--color-accent); }
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Video play overlay on thumbnail */
.thumb-item.thumb-video .thumb-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    transition: background 0.2s;
}
.thumb-item.thumb-video:hover .thumb-play-icon { background: rgba(0,0,0,0.55); }

/* Video Modal — fixed size popup */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
}
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}
.video-modal-box {
    position: relative;
    width: 800px;
    height: 450px;
    max-width: 92vw;
    max-height: 80vh;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.video-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.video-modal-close:hover { background: rgba(0,0,0,0.85); }
.video-modal-box video {
    width: 100%;
    display: block;
    max-height: 70vh;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base) ease, visibility var(--transition-base);
    cursor: zoom-out;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    width: 95vw;
    height: 95vh;
    padding: var(--sp-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    cursor: default;
    user-select: none;
    transition: opacity var(--transition-base) ease;
}

.lightbox-close {
    position: fixed;
    top: var(--sp-4);
    right: var(--sp-5);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10;
    backdrop-filter: blur(8px);
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.lightbox-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: var(--sp-4); }
.lightbox-next { right: var(--sp-5); }

.lightbox-counter {
    position: fixed;
    bottom: var(--sp-5);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.4);
    padding: var(--sp-1) var(--sp-4);
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
}

/* Vertical Thumbnails */
.image-thumbs-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    width: 60px;
    flex-shrink: 0;
    padding: var(--sp-1);
    height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.image-thumbs-vertical::-webkit-scrollbar { display: none; }

.image-thumbs-vertical img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-sm);
    opacity: 0.85;
    transition: all var(--transition-base) ease;
    flex-shrink: 0;
    display: block;
}

.image-thumbs-vertical img:hover {
    opacity: 1;
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.image-thumbs-vertical img.active {
    border: 2px solid var(--color-accent);
    opacity: 1;
    box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.3), var(--shadow-md);
}

/* Video thumbnail */
.image-thumbs-vertical img.video-thumb {
    position: relative;
    overflow: hidden;
}

.image-thumbs-vertical img.video-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
    border-radius: var(--radius-sm);
    z-index: 1;
}

.image-thumbs-vertical img.video-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    color: #000;
    font-size: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    font-weight: bold;
    padding-left: 1px;
}

/* Preview Area */
.preview-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 420px;
}

.main-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 420px;
    height: auto;
    padding: 0;
    position: relative;
    overflow: visible;
    cursor: zoom-in;
}

.main-image-wrapper > img#main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
    background: transparent;
    pointer-events: none;
}

/* Center Column: Product Info */
.product-center {
    padding: 0 var(--sp-3);
    min-width: 0;
}

.brand-category {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--color-border);
}

.brand-label {
    font-weight: 600;
    color: var(--color-text-primary);
}

.brand-value { color: var(--color-text-link); }
.category-sep { margin: 0 var(--sp-2); color: var(--color-border); }
.category-link { color: var(--color-text-link); }

.product-desc-text {
    color: var(--color-text-primary);
    line-height: 1.5;
    font-size: var(--text-sm);
}

/* Right Column: Buy Box */
.product-right { padding: 0; }

.buy-box {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4) var(--sp-5);
    position: sticky;
    top: 80px;
    box-shadow: var(--shadow-md);
}

.buy-box .buy-price-section { margin-bottom: var(--sp-2); }

.buy-box .price-large {
    font-size: var(--text-2xl);
    color: var(--color-danger);
    font-weight: 700;
}

.buy-box .stock-status { margin: var(--sp-2) 0; }

.buy-box .delivery-info {
    margin: var(--sp-2) 0;
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.buy-box-cta { margin: var(--sp-3) 0; }

.buy-box .btn-amazon-large {
    padding: var(--sp-4) var(--sp-8);
    font-size: var(--text-base);
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: all var(--transition-base);
    width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
}

.buy-box .btn-amazon-large:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.buy-box-sales {
    text-align: center;
    margin-top: var(--sp-2);
    justify-content: center;
}

.buy-box .trust-badges {
    margin-top: var(--sp-3);
    padding: var(--sp-3) 0 0 0;
    border-top: 1px solid var(--color-border);
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-xs);
    color: var(--color-success);
    font-weight: 600;
}

.buy-box .amazon-button-note {
    margin-top: var(--sp-3);
    margin-bottom: 0;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    justify-content: center;
}

/* Rating Row */
.rating-row {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) 0 var(--sp-3) 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--sp-4);
    flex-wrap: wrap;
}

.rating-row .stars {
    display: inline-flex;
    align-items: center;
}

.rating-row .rating-value {
    font-size: var(--text-sm);
    color: var(--color-text-link);
    font-weight: 600;
}

.rating-row .count {
    font-size: var(--text-sm);
    color: var(--color-text-link);
}

.rating-row .count:hover { color: var(--color-accent); text-decoration: underline; }

.rating-sep {
    color: var(--color-border);
    font-size: var(--text-sm);
}

.sales-badge {
    font-size: var(--text-xs);
    color: var(--color-success);
    font-weight: 600;
}

/* Product Title */
.product-title {
    font-size: var(--text-xl);
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: var(--sp-2);
    font-weight: 600;
}

/* About Section */
.about-section {
    margin-top: var(--sp-4);
    padding: 0;
}

.about-section.amazon-style {
    background: transparent;
    border: none;
    padding: 0;
}

.about-section h2 {
    font-size: var(--text-base);
    margin-bottom: var(--sp-2);
    color: var(--color-text-primary);
    font-weight: 700;
}

.amazon-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amazon-bullets li {
    padding: var(--sp-1) 0 var(--sp-1) var(--sp-4);
    position: relative;
    color: var(--color-text-primary);
    line-height: 1.4;
    font-size: var(--text-sm);
    margin-bottom: var(--sp-1);
}

.amazon-bullets li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-text-primary);
    font-size: var(--text-base);
    font-weight: bold;
}

/* Specs Section */
.specs-section {
    margin-top: var(--sp-4);
    padding: 0;
}

.specs-section h2 {
    font-size: var(--text-base);
    margin-bottom: var(--sp-2);
    color: var(--color-text-primary);
    font-weight: 700;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    background: var(--color-bg-section);
}

.specs-table td {
    padding: var(--sp-2) var(--sp-3);
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 35%;
    color: var(--color-text-secondary);
    background: var(--color-bg-section);
}

.specs-table td:last-child {
    color: var(--color-text-primary);
    background: #fff;
}

/* FAQ Section */
.faq-section {
    margin-top: var(--sp-4);
    padding: var(--sp-4);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-section h2 {
    font-size: var(--text-base);
    margin-bottom: var(--sp-3);
    color: var(--color-text-primary);
    font-weight: 700;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question { margin: 0; padding: 0; }

.faq-toggle {
    width: 100%;
    padding: var(--sp-2) 0;
    background: none;
    border: none;
    text-align: left;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle:hover { color: var(--color-accent); }

.faq-toggle:after {
    content: "+";
    font-size: var(--text-md);
    color: var(--color-text-secondary);
    font-weight: 400;
}

.faq-toggle[aria-expanded="true"]:after { content: "−"; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow) ease, padding var(--transition-slow) ease;
    padding: 0 0 0 0;
    color: var(--color-text-secondary);
    line-height: 1.4;
    font-size: var(--text-sm);
}

.faq-toggle[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 0 var(--sp-2) 0;
    display: block;
}

/* Related Products */
.related-section {
    margin-top: var(--sp-4);
    padding: var(--sp-4);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.related-section h2 {
    font-size: var(--text-base);
    margin-bottom: var(--sp-4);
    color: var(--color-text-primary);
    font-weight: 700;
}

/* Star Rating Component */
.star-rating {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 16px;
    font-size: 16px;
    vertical-align: middle;
}

.star-rating::before {
    content: "★★★★★";
    color: var(--color-border);
    position: absolute;
    top: 0;
    left: 0;
    letter-spacing: 1px;
    line-height: 16px;
}

.star-rating-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.star-rating-fill::before {
    content: "★★★★★";
    color: var(--color-accent);
    position: absolute;
    top: 0;
    left: 0;
    letter-spacing: 1px;
    line-height: 16px;
}

.star-rating-sm {
    width: 60px;
    height: 12px;
    font-size: 12px;
}

.star-rating-sm::before,
.star-rating-fill::before {
    line-height: inherit;
}

.star-rating-sm::before { line-height: 12px; }
.star-rating-sm .star-rating-fill::before { line-height: 12px; }

/* Video Section */
.video-play-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 420px;
    height: 420px;
    padding: 0;
}

.video-play-btn {
    width: 420px;
    height: 420px;
    background: #000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-play-btn img {
    width: 420px;
    height: 420px;
    object-fit: cover;
    opacity: 0.65;
}

.play-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid #000;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 4px;
}

.video-play-btn:hover .play-icon {
    background: #fff;
    transform: scale(1.1);
}

.video-play-btn:hover img { opacity: 0.8; }

.video-section {
    display: none;
    width: 420px;
}

.video-section.active { display: block; }

.video-section video {
    width: 420px;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: var(--sp-8) 0;
    margin-top: var(--sp-10);
    font-size: var(--text-sm);
    border-top: 1px solid rgba(212, 168, 83, 0.3);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--sp-6);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* ============================================
   BLOG ARTICLE TYPOGRAPHY
   ============================================ */
.article-content {
    max-width: 720px;
    font-size: var(--text-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-primary);
}

.article-content h2 {
    font-size: var(--text-xl);
    margin-top: var(--sp-10);
    padding-bottom: var(--sp-2);
    border-bottom: 2px solid var(--color-accent);
    font-weight: 700;
}

.article-content h3 {
    font-size: var(--text-md);
    margin-top: var(--sp-6);
    font-weight: 600;
}

.article-content p {
    margin-bottom: var(--sp-4);
}

.article-content ul,
.article-content ol {
    padding-left: var(--sp-6);
    margin-bottom: var(--sp-4);
}

.article-content li {
    margin-bottom: var(--sp-1);
}

.article-content code {
    background: var(--color-bg-section);
    color: var(--color-primary);
    padding: var(--sp-1) var(--sp-2);
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

.article-content pre {
    background: var(--color-bg-section);
    padding: var(--sp-3);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.article-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: var(--sp-3) var(--sp-5);
    background: var(--color-bg-section);
    margin: var(--sp-5) 0;
    color: var(--color-text-secondary);
}

.article-content img {
    border-radius: var(--radius-md);
    margin: var(--sp-6) 0;
}

.article-content table {
    border-collapse: collapse;
    width: 100%;
    margin: var(--sp-5) 0;
}

.article-content th,
.article-content td {
    border: 1px solid var(--color-border);
    padding: var(--sp-2);
    text-align: left;
}

.article-header h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: var(--line-height-tight);
}

.article-meta {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-top: var(--sp-2);
}

.article-hero {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin: var(--sp-6) 0;
}

.article-products {
    margin: var(--sp-10) 0;
}

.inline-product {
    display: flex;
    gap: var(--sp-4);
    margin-bottom: var(--sp-4);
    padding: var(--sp-4);
    background: var(--color-bg-section);
    border-radius: var(--radius-md);
}

.inline-product img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.inline-product h3 {
    font-size: var(--text-base);
    margin-bottom: var(--sp-2);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-6);
}

.tag {
    background: rgba(27, 42, 74, 0.08);
    color: var(--color-primary);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
    max-width: 800px;
}

.about-page h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--sp-6);
}

.about-page h2 {
    font-size: var(--text-xl);
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: var(--sp-2);
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-4);
}

.about-page ul {
    padding-left: var(--sp-5);
}

.about-page li {
    margin-bottom: var(--sp-2);
}

.about-page a {
    color: var(--color-text-link);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large desktop: 3-column */
@media (max-width: 1200px) {
    .product-main-layout {
        grid-template-columns: 460px 1fr 260px;
        gap: var(--sp-4);
    }

    .zoom-result {
        width: min(50vw, 480px);
        height: min(50vh, 480px);
    }
}

/* Tablet landscape: 2-column, buy box spans full width */
@media (max-width: 1024px) {
    .product-main-layout {
        grid-template-columns: 420px 1fr;
        gap: var(--sp-4);
    }

    .product-right {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .buy-box {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: var(--sp-3) var(--sp-5);
        align-items: center;
        position: static;
    }

    .buy-box .buy-price-section { grid-column: 1; }
    .buy-box .stock-status { grid-column: 1; margin: 0; }
    .buy-box .delivery-info { grid-column: 1; margin: 0; padding: 0; border: none; }
    .buy-box .buy-box-cta { grid-column: 3; grid-row: 1 / 4; margin: 0; }
    .buy-box .btn-amazon-large { padding: var(--sp-3) var(--sp-6); font-size: var(--text-sm); white-space: nowrap; }
    .buy-box .trust-badges { grid-column: 1 / -1; margin-top: var(--sp-2); padding: var(--sp-2) 0 0 0; }
    .buy-box .amazon-button-note { grid-column: 1 / -1; margin-top: var(--sp-2); }

    .main-image-wrapper { width: 100%; max-width: 360px; min-height: 200px; }
    .preview-area { min-width: auto; width: 100%; }
    .zoom-result { width: min(50vw, 360px); height: min(50vh, 360px); }

    .video-play-section,
    .video-play-btn,
    .video-play-btn img,
    .video-section,
    .video-section video {
        width: 100%;
        max-width: 360px;
        height: auto;
    }

    .video-play-btn { height: 300px; }
    .image-thumbs-vertical { height: 360px; }
}

/* Tablet portrait: single column */
@media (max-width: 768px) {
    .product-main-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .product-left {
        position: relative;
        padding: 0;
        order: 1;
    }

    .product-right {
        grid-column: 1;
        order: 2;
        padding: 0 var(--sp-3);
        margin-bottom: var(--sp-3);
    }

    .product-center { order: 3; padding: 0 var(--sp-3); }

    .buy-box {
        display: block;
        position: static;
        padding: var(--sp-4) var(--sp-4);
    }

    .buy-box .price-large { font-size: var(--text-xl); }
    .buy-box .stock-status { margin: var(--sp-1) 0; }
    .buy-box .delivery-info { margin: var(--sp-2) 0 var(--sp-3) 0; padding-bottom: var(--sp-3); }
    .buy-box-cta { margin: var(--sp-2) 0; }
    .buy-box .trust-badges { margin-top: var(--sp-2); padding: var(--sp-2) 0 0 0; }

    .image-gallery-wrapper { flex-direction: column-reverse; }

    /* Hide zoom result panel on mobile */
    .zoom-result { display: none !important; }
    .zoom-lens { display: none !important; }

    .image-thumbs-vertical {
        flex-direction: row;
        width: 100%;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        padding: var(--sp-1) 0;
    }

    .image-thumbs-vertical img {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .preview-area { min-width: 100%; }

    .main-image-wrapper,
    .main-image-wrapper > img#main-image {
        width: 100%;
        max-width: 85vw;
        height: auto;
    }

    .video-play-section,
    .video-play-btn,
    .video-play-btn img {
        width: 100%;
        max-width: 85vw;
        height: auto;
    }

    .video-play-btn { height: auto; min-height: 240px; }
    .video-section,
    .video-section video {
        width: 100%;
        max-width: 100%;
    }

    .product-title { font-size: var(--text-md); padding: 0 var(--sp-3); }
    .rating-row { padding: var(--sp-2) var(--sp-3) var(--sp-3) var(--sp-3); margin-bottom: var(--sp-3); }

    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--sp-3); }
    .blog-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-4); }
    .breadcrumb ol { flex-wrap: wrap; }

    /* Lightbox mobile */
    .lightbox-img { max-width: 95vw; max-height: 95vh; width: auto; height: auto; }
    .lightbox-prev { left: var(--sp-2); }
    .lightbox-next { right: var(--sp-2); }
    .lightbox-nav button { width: 42px; height: 42px; font-size: 18px; background: rgba(0, 0, 0, 0.5); }
    .lightbox-close { top: var(--sp-3); right: var(--sp-3); width: 36px; height: 36px; font-size: 22px; }
    .lightbox-counter { bottom: var(--sp-4); font-size: var(--text-xs); }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--sp-2); }

    .product-title { font-size: var(--text-base); padding: 0 var(--sp-2); }
    .rating-row { padding: var(--sp-2) var(--sp-2) var(--sp-3) var(--sp-2); }

    .price-large { font-size: var(--text-lg); }
    .main-image-wrapper > img#main-image { min-height: auto; }

    .product-right { padding: 0 var(--sp-2); }
    .product-center { padding: 0 var(--sp-2); }
    .product-center .about-section.amazon-style { padding: 0 var(--sp-2); }

    .buy-box { padding: var(--sp-3) var(--sp-4); }
    .buy-box .price-large { font-size: var(--text-xl); }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
    .product-card { padding: var(--sp-3); }
    .product-card h3 { font-size: var(--text-xs); }

    .trust-badges { flex-direction: column; gap: var(--sp-2); }
    .btn-amazon-large { padding: var(--sp-3) var(--sp-4); font-size: var(--text-sm); }

    .hero { padding: var(--sp-10) var(--sp-2); }
    .hero h1 { font-size: var(--text-2xl); }
    .hero p { font-size: var(--text-sm); }
}
