/* ============================================
   SONIQUE - Premium E-Commerce Product Page
   Color Palette: Charcoal, Warm Stone, Terracotta Accent
   ============================================ */

:root {
    /* Primary Colors */
    --color-charcoal: #1a1a1a;
    --color-graphite: #2d2d2d;
    --color-slate: #4a4a4a;
    
    /* Neutral Tones */
    --color-stone: #8b8378;
    --color-warm-gray: #b5ada3;
    --color-sand: #e8e4de;
    --color-cream: #f7f5f2;
    --color-white: #ffffff;
    
    /* Accent Colors */
    --color-terracotta: #c4704f;
    --color-terracotta-dark: #a85d3f;
    --color-terracotta-light: #d68b6a;
    --color-moss: #5a6f5a;
    
    /* Functional */
    --color-success: #4a7c59;
    --color-warning: #d4a03a;
    --color-error: #c75050;
    
    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Sizing */
    --container-max: 1280px;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --border-radius-xl: 16px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-cream);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

input {
    font-family: inherit;
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: var(--space-xl);
    color: var(--color-charcoal);
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-sand);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--color-charcoal);
}

.nav {
    display: flex;
    gap: var(--space-xl);
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-slate);
    transition: color var(--transition-fast);
}

.nav a:hover {
    color: var(--color-charcoal);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-charcoal);
    transition: background-color var(--transition-fast);
}

.icon-btn:hover {
    background-color: var(--color-sand);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
    padding: var(--space-md) 0;
    background: var(--color-white);
    font-size: 0.85rem;
    color: var(--color-stone);
}

.breadcrumb a {
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-charcoal);
}

.breadcrumb .separator {
    margin: 0 var(--space-sm);
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--color-charcoal);
}

/* ============================================
   PRODUCT SECTION
   ============================================ */

.product-section {
    padding: var(--space-2xl) 0 var(--space-4xl);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* ============================================
   PRODUCT GALLERY
   ============================================ */

.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    position: relative;
    background: var(--color-sand);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform var(--transition-base);
}

.gallery-slide img:hover {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-charcoal);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-main:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.gallery-nav.prev {
    left: var(--space-md);
}

.gallery-nav.next {
    right: var(--space-md);
}

.gallery-dots {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-white);
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.dot.active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

.gallery-thumbs {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.thumb {
    flex: 1;
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.thumb:hover,
.thumb.active {
    opacity: 1;
}

.thumb.active {
    border-color: var(--color-charcoal);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .product-gallery {
        position: static;
    }
}

/* ============================================
   PRODUCT INFO
   ============================================ */

.product-info {
    padding-top: var(--space-md);
}

.product-badges {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius);
}

.badge.bestseller {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.badge.new {
    background: var(--color-moss);
    color: var(--color-white);
}

.product-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--color-stone);
    margin-bottom: var(--space-lg);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    fill: var(--color-sand);
    stroke: none;
}

.star.filled {
    fill: var(--color-warning);
}

.star.half {
    fill: url(#half-star-gradient);
}

.rating-text {
    font-size: 0.9rem;
    color: var(--color-stone);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-sand);
}

.price-current {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-charcoal);
}

.price-original {
    font-size: 1.1rem;
    color: var(--color-stone);
    text-decoration: line-through;
}

.price-save {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-terracotta);
    background: rgba(196, 112, 79, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
}

/* Benefits */
.product-benefits {
    margin-bottom: var(--space-xl);
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    font-size: 0.95rem;
    color: var(--color-slate);
}

.benefit svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

/* Options */
.product-options {
    margin-bottom: var(--space-xl);
}

.option-group {
    margin-bottom: var(--space-lg);
}

.option-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.option-label span {
    color: var(--color-stone);
}

.color-options {
    display: flex;
    gap: var(--space-md);
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    position: relative;
    transition: all var(--transition-fast);
}

.color-option::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: border-color var(--transition-fast);
}

.color-option.active::after,
.color-option:hover::after {
    border-color: var(--color-charcoal);
}

/* Actions */
.product-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-sand);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--color-white);
}

.qty-btn {
    width: 44px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-slate);
    transition: background-color var(--transition-fast);
}

.qty-btn:hover {
    background: var(--color-sand);
}

.qty-input {
    width: 50px;
    height: 52px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    background: transparent;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    height: 52px;
    background: var(--color-charcoal);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius-lg);
    transition: background-color var(--transition-fast);
}

.btn-add-cart:hover {
    background: var(--color-graphite);
}

.btn-buy-now {
    width: 100%;
    height: 52px;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius-lg);
    transition: background-color var(--transition-fast);
    margin-bottom: var(--space-xl);
}

.btn-buy-now:hover {
    background: var(--color-terracotta-dark);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-sand);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
}

.trust-item svg {
    color: var(--color-stone);
}

.trust-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--color-charcoal);
}

.trust-item span {
    font-size: 0.75rem;
    color: var(--color-stone);
}

@media (max-width: 640px) {
    .trust-badges {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .trust-item {
        flex-direction: row;
        text-align: left;
    }
}

/* ============================================
   SPECS SECTION
   ============================================ */

.specs-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.spec-card {
    background: var(--color-cream);
    padding: var(--space-xl);
    border-radius: var(--border-radius-xl);
    text-align: center;
}

.spec-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-terracotta);
}

.spec-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.spec-card p {
    font-size: 0.9rem;
    color: var(--color-stone);
}

.specs-table {
    max-width: 800px;
    margin: 0 auto;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-sand);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: var(--color-charcoal);
}

.spec-value {
    color: var(--color-stone);
    text-align: right;
}

@media (max-width: 1024px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-row {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .spec-value {
        text-align: left;
    }
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews-section {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
    overflow: hidden;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2xl);
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.big-rating {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-charcoal);
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.summary-details span {
    font-size: 0.85rem;
    color: var(--color-stone);
}

.review-nav-controls {
    display: flex;
    gap: var(--space-sm);
}

.review-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-charcoal);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.review-nav-btn:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
    border-color: var(--color-charcoal);
}

.reviews-slider {
    overflow: hidden;
    margin: 0 calc(-1 * var(--space-lg));
    padding: 0 var(--space-lg);
}

.reviews-track {
    display: flex;
    gap: var(--space-lg);
    transition: transform var(--transition-slow);
}

.review-card {
    flex: 0 0 calc(33.333% - var(--space-lg));
    min-width: 300px;
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-xl);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    background: var(--color-sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-slate);
}

.reviewer strong {
    display: block;
    font-size: 0.95rem;
}

.verified {
    font-size: 0.75rem;
    color: var(--color-success);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-card h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.review-card p {
    font-size: 0.9rem;
    color: var(--color-slate);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.review-date {
    font-size: 0.8rem;
    color: var(--color-stone);
}

@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc(50% - var(--space-md));
    }
}

@media (max-width: 640px) {
    .reviews-header {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .review-card {
        flex: 0 0 calc(100% - var(--space-md));
    }
}

/* ============================================
   CROSS-SELL SECTION
   ============================================ */

.cross-sell-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: var(--color-cream);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-info {
    padding: var(--space-lg);
}

.product-card-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

.product-card-info p {
    font-size: 0.85rem;
    color: var(--color-stone);
    margin-bottom: var(--space-md);
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.product-card-price .current {
    font-weight: 600;
    color: var(--color-charcoal);
}

.product-card-price .original {
    font-size: 0.85rem;
    color: var(--color-stone);
    text-decoration: line-through;
}

@media (max-width: 1024px) {
    .cross-sell-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cross-sell-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    transition: background-color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--color-cream);
}

.faq-item summary span {
    flex: 1;
    padding-right: var(--space-md);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--color-stone);
    transition: transform var(--transition-base);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 var(--space-xl) var(--space-xl);
}

.faq-content p {
    color: var(--color-slate);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-charcoal);
    color: var(--color-warm-gray);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
    color: var(--color-white);
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-graphite);
    border-radius: 50%;
    color: var(--color-warm-gray);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-graphite);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-xl);
}

.footer-legal a:hover {
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* ============================================
   STICKY CART (MOBILE)
   ============================================ */

.sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-white);
    border-top: 1px solid var(--color-sand);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.sticky-cart.visible {
    display: flex;
}

.sticky-cart-info {
    display: flex;
    flex-direction: column;
}

.sticky-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-charcoal);
}

.sticky-name {
    font-size: 0.8rem;
    color: var(--color-stone);
}

.sticky-cart-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-terracotta);
    color: var(--color-white);
    font-weight: 500;
    border-radius: var(--border-radius-lg);
}

@media (min-width: 769px) {
    .sticky-cart {
        display: none !important;
    }
}

/* ============================================
   ZOOM MODAL
   ============================================ */

.zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

.zoom-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background-color var(--transition-fast);
}

.zoom-close:hover {
    background: rgba(255,255,255,0.2);
}

.zoom-modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* ============================================
   TOUCH SUPPORT
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    .gallery-nav {
        opacity: 1;
    }
    
    .gallery-slide img:hover {
        transform: none;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

