/**
 * Product Page Styles - Premium Edition
 * High-end, conversion-focused product page design
 * Adalya Point E-cigarette Webshop
 */

/* ========== GLOBAL RESET (CRITICAL!) ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FFFFFF;
    color: #1a1c1e;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    width: 100%;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
}

/* ========== CSS VARIABLES ========== */
:root {
    /* Brand Colors */
    --primary-navy: #0f172a;
    --primary-light: #1e293b;
    --accent-red: #dc2626;
    --accent-gold: #C0A050;
    --gold-light: #FFDD88;
    
    /* Neutrals */
    --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;
    
    /* Semantic */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Borders & Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== BASE TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary, #0f172a);
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    outline: none;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== PRODUCT PAGE LAYOUT ========== */
.product-page {
    min-height: 100vh;
    background: #FFFFFF;
    padding-top: 80px; /* Header height (fixed at top: 0) */
}

/* Wanneer announcement bar zichtbaar is:
   - Announcement bar: 40px hoog op top: 0
   - Header: 80px hoog op top: 40px
   - Content moet onder header beginnen: 40px + 80px = 120px
*/
body.has-announcement .product-page {
    padding-top: 120px; /* Announcement (40px) + Header (80px) */
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-xl);
    position: relative;
    z-index: 2;
}

/* ========== BREADCRUMB NAVIGATION ========== */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-lg);
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--gray-500);
    height: auto;
    min-height: 20px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.breadcrumb-link {
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumb-link:hover {
    color: var(--accent-gold);
}

.breadcrumb-separator {
    color: var(--gray-300);
    flex-shrink: 0;
    margin: 0 0.25rem;
    font-size: 0.7rem;
}

.breadcrumb-current {
    color: var(--gray-900);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    flex: 1;
    min-width: 0;
}

/* ========== PRODUCT GRID ========== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

/* ========== PRODUCT GALLERY (LEFT COLUMN) ========== */
.product-gallery {
    position: sticky;
    top: 100px; /* 80px header + 20px spacing (zonder announcement) */
    height: fit-content;
}

/* Met announcement bar moet gallery lager plakken */
body.has-announcement .product-gallery {
    top: 140px; /* 40px announcement + 80px header + 20px spacing */
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--gray-200);
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform var(--transition-slow);
}

.gallery-main-image:hover {
    transform: scale(1.05);
}

.gallery-badge {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--accent-red);
    color: #FFFFFF;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
}

.gallery-badge.new {
    background: var(--success);
}

.gallery-badge.sale {
    background: var(--accent-red);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(218, 165, 32, 0.5);
    font-size: 1.125rem;
}

/* Thumbnail Gallery */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--spacing-md);
}

.thumbnail-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    background: var(--gray-50);
}

.thumbnail-item:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(192, 160, 80, 0.15);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== PRODUCT INFO (RIGHT COLUMN) ========== */
.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Trustpilot Review */
.trustpilot-review {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
    padding-bottom: 0;
}

.trustpilot-stars {
    width: 120px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.trustpilot-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    letter-spacing: 0.01em;
}

/* Product Title */
.product-title {
    font-family: var(--font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Product Meta (SKU, Stock, etc.) */
.product-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.product-sku {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.product-sku strong {
    color: var(--gray-700);
    font-weight: 600;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
}

.product-stock.in-stock {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
}

.product-stock.low-stock {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning);
}

.product-stock.out-of-stock {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger);
}

.stock-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Price Section - ELEGANT BAR DESIGN */
.product-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    flex-wrap: wrap;
    line-height: 1.2;
    margin: var(--spacing-sm) 0;
}

.price-values {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    flex-wrap: wrap;
    order: 1; /* Zet prijs als eerste element */
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: var(--font-primary);
}

.product-price-compare {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: line-through;
    line-height: 1.1;
    position: relative;
    opacity: 0.7;
}

.price-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
    order: 2; /* Zet badge als tweede element */
}

/* ========== PRODUCT HIGHLIGHTS - CLEAN DESIGN WITH CHECKMARKS ========== */
.product-highlights {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: visible;
    margin: 0.5rem 0 0.5rem 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    background: rgba(248, 250, 252, 0.5);
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    transition: all 180ms ease;
}

.highlight-item:hover {
    background: rgba(248, 250, 252, 0.8);
    border-color: var(--gray-200);
    transform: translateY(-1px);
}

.highlight-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #DAA520 0%, #FFD700 100%);
    color: #0a0a0a;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(218, 165, 32, 0.4);
}

.highlight-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.3;
    letter-spacing: 0.025em;
}

/* ========== FLAVOR SELECTION - HIGH-END LUXURY DESIGN ========== */
.product-flavors {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    flex-wrap: wrap;
}

.flavors-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.25rem;
    position: relative;
}

.flavor-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.flavors-label::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: var(--gray-300);
}

.flavors-header {
    display: none;
}

.flavors-title,
.flavors-badge {
    display: none;
}

.flavors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.flavor-option {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.flavor-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.flavor-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    cursor: pointer;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gray-600);
    white-space: nowrap;
    line-height: 1.2;
    min-height: 28px;
    box-shadow: none;
    position: relative;
    letter-spacing: 0.025em;
}

.flavor-label:hover {
    border-color: rgba(218, 165, 32, 0.5);
    color: var(--gray-900);
    background: rgba(218, 165, 32, 0.1);
}

.flavor-input:checked + .flavor-label {
    background: linear-gradient(135deg, #DAA520 0%, #FFD700 100%);
    border-color: #DAA520;
    color: #0a0a0a;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}

.flavor-input:checked + .flavor-label::after {
    display: none;
}

.flavor-icon {
    display: none;
}

.flavor-name {
    font-size: 0.8125rem;
    font-weight: inherit;
    line-height: 1.2;
}

.flavor-checkmark {
    display: none;
}

.flavor-description {
    display: none;
}

/* ========== QUANTITY & CART - COMBINED SECTION ========== */
.product-cart-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
}

.product-cart-section > .cart-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    width: 100%;
}

.cart-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.quantity-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: #FFFFFF;
    overflow: hidden;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: var(--gray-50);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-700);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(255, 215, 0, 0.12) 100%);
    color: #DAA520;
    transform: scale(1.1);
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    background: #FFFFFF;
}

.quantity-input:focus {
    outline: none;
}

/* ========== ADD TO CART BUTTON - GOUden DESIGN ========== */
.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem var(--spacing-lg);
    background: linear-gradient(135deg, #DAA520 0%, #FFD700 100%);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.5);
}

.btn-add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}

.btn-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    background: var(--gray-400);
    color: #FFFFFF;
}

.btn-add-to-cart i {
    font-size: 1rem;
}

/* ========== TRUST BADGES IMAGE ========== */
.trust-badges-image {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-badges-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

/* ========== PRODUCT DESCRIPTION TABS - CLEAN MODERN DESIGN ========== */
.product-details {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 3rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.details-tabs {
    display: flex;
    border: none;
    background: rgba(26, 26, 26, 0.8);
    padding: 0;
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
}

.tab-button {
    flex: 1;
    padding: 1.125rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 180ms ease;
    position: relative;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tab-button:hover {
    color: #FFD700;
    background: rgba(218, 165, 32, 0.1);
}

.tab-button.active {
    color: #FFD700;
    background: rgba(26, 26, 26, 0.6);
    font-weight: 700;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #DAA520 0%, #FFD700 100%);
}

.tab-content {
    padding: 2rem;
    background: rgba(26, 26, 26, 0.4);
}

.tab-pane {
    display: none;
    opacity: 0;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.product-description p {
    margin: 0 0 1rem 0;
    padding: 0;
}

.product-description p:last-child {
    margin-bottom: 0;
}

.product-description p:empty {
    display: none;
}

.product-description h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: #e8e8e8;
    font-size: 1.125rem;
    font-weight: 600;
}

.product-description h3:first-child {
    margin-top: 0;
}

.product-description ul {
    margin-left: var(--spacing-lg);
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.product-description li {
    margin-bottom: var(--spacing-xs);
}

/* Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th,
.specs-table td {
    padding: var(--spacing-sm) 0;
    text-align: left;
    font-size: 0.9375rem;
}

.specs-table th {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    width: 40%;
}

.specs-table td {
    color: rgba(255, 255, 255, 0.7);
}

/* ========== FULL WIDTH PRODUCT IMAGE ========== */
.product-full-width-image {
    width: 100%;
    margin-top: 3rem;
    padding: 0;
    overflow: hidden;
}

.full-width-product-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.full-width-product-img:not(:first-child) {
    margin-top: 0;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(218, 165, 32, 0.2);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background: transparent;
    border-radius: var(--radius-sm);
    border: none;
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    color: var(--success, #059669);
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.trust-badge-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .product-container {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .product-grid {
        gap: var(--spacing-lg);
    }
    
    .product-gallery {
        top: 100px; /* Blijft hetzelfde op tablet */
    }
    
    body.has-announcement .product-gallery {
        top: 140px;
    }
    
    .product-title {
        font-size: 1.625rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-price-compare {
        font-size: 0.9375rem;
    }
    
    .flavors-grid {
        gap: 0.2rem;
    }
    
    .flavor-label {
        padding: 0.2rem 0.625rem;
        font-size: 0.75rem;
        min-height: 24px;
        border-radius: 1px;
    }
    
    .flavors-label {
        font-size: 0.6875rem;
        letter-spacing: 0.12em;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .product-page {
        padding-top: 70px; /* Mobile header height */
    }
    
    .product-full-width-image {
        margin-top: 2rem;
    }
    
    /* Mobile: announcement 36px + header 70px = 106px */
    body.has-announcement .product-page {
        padding-top: 106px;
    }
    
    .product-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .product-gallery {
        position: static; /* Geen sticky op mobile */
    }
    
    /* Reset sticky positioning op mobile */
    body.has-announcement .product-gallery {
        position: static;
        top: auto;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .trustpilot-review {
        margin-bottom: var(--spacing-xs);
    }
    
    .trustpilot-stars {
        width: 100px;
    }
    
    .trustpilot-text {
        font-size: 0.8125rem;
    }
    
    .product-title {
        font-size: 1.75rem;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .product-price-section {
        gap: 0.75rem;
    }
    
    .product-price {
        font-size: 1.75rem;
    }
    
    .product-price-compare {
        font-size: 1rem;
    }
    
    .price-discount {
        font-size: 0.8125rem;
        padding: 0.45rem 0.75rem;
    }
    
    .flavors-grid {
        gap: 0.2rem;
    }
    
    .flavor-label {
        padding: 0.2rem 0.625rem;
        font-size: 0.75rem;
        min-height: 24px;
        border-radius: 1px;
    }
    
    .flavors-label {
        font-size: 0.6875rem;
        letter-spacing: 0.12em;
    }
    
    .product-cart-section {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .cart-quantity-wrapper {
        justify-content: space-between;
        width: 100%;
    }
    
    .btn-add-to-cart {
        width: 100%;
        padding: 0.875rem var(--spacing-lg);
        font-size: 0.9375rem;
    }
    
    .trust-badges-image {
        margin-top: var(--spacing-xs);
    }
    
    .trust-badges-img {
        max-width: 240px;
    }
    
    .details-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.875rem;
    }
    
    .tab-content {
        padding: var(--spacing-md);
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-lg);
    }
    
    .trust-badge {
        padding: var(--spacing-sm);
    }
    
    .trust-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .trust-badge-text {
        font-size: 0.75rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .product-page {
        padding-top: 65px; /* Small mobile header height */
    }
    
    /* Small mobile: announcement 32px + header 65px = 97px */
    body.has-announcement .product-page {
        padding-top: 97px;
    }
    
    .product-container {
        padding: var(--spacing-sm) var(--spacing-sm);
    }
    
    .product-breadcrumb {
        font-size: 0.7rem;
        margin-bottom: var(--spacing-sm);
        gap: 0.375rem;
        line-height: 1.1;
        min-height: 18px;
    }
    
    .breadcrumb-separator {
        margin: 0 0.2rem;
        font-size: 0.65rem;
    }
    
    .gallery-main {
        border-radius: var(--radius-md);
    }
    
    .gallery-badge {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.75rem;
    }
    
    .product-title {
        font-size: 1.375rem;
    }
    
    .product-price-section {
        gap: 0.625rem;
        flex-direction: row;
        align-items: center;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-price-compare {
        font-size: 0.9375rem;
    }
    
    .price-discount {
        font-size: 0.75rem;
        padding: 0.4rem 0.625rem;
    }
    
    .flavors-grid {
        gap: 0.15rem;
    }
    
    .flavor-label {
        padding: 0.2rem 0.5rem;
        font-size: 0.6875rem;
        min-height: 22px;
        border-radius: 1px;
    }
    
    .flavors-label {
        font-size: 0.625rem;
        letter-spacing: 0.1em;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
    }
    
    .quantity-input {
        width: 50px;
        height: 40px;
    }
    
    .product-cart-section {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .cart-quantity-wrapper {
        justify-content: space-between;
        width: 100%;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
    }
    
    .quantity-input {
        width: 45px;
        height: 32px;
    }
    
    .btn-add-to-cart {
        width: 100%;
        padding: 0.75rem var(--spacing-md);
        font-size: 0.875rem;
    }
    
    .trust-badges-image {
        margin-top: 0.5rem;
    }
    
    .trust-badges-img {
        max-width: 200px;
    }
    
    .specs-table th {
        width: 50%;
        font-size: 0.875rem;
    }
    
    .specs-table td {
        font-size: 0.875rem;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }
    
    .trust-badge {
        padding: var(--spacing-xs);
    }
    
    .trust-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    .trust-badge-text {
        font-size: 0.7rem;
    }
}

/* ========== LOADING STATES ========== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

button:focus-visible,
.flavor-label:focus-within {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* ========== NOTIFICATION TOAST ========== */
.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    min-width: 280px;
    max-width: 360px;
    padding: 0.875rem 1.125rem;
    background: #FFFFFF;
    border: 2px solid rgba(218, 165, 32, 0.2);
    border-left: 4px solid #DAA520;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(218, 165, 32, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: right center;
}

.notification-success {
    border-left-color: #DAA520;
}

.notification-error {
    border-left-color: #dc2626;
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.9375rem;
}

.notification-success .notification-icon {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(255, 215, 0, 0.12) 100%);
    color: #DAA520;
}

.notification-error .notification-icon {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.notification-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    margin: 0;
}

.notification-message {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-700);
    line-height: 1.4;
    margin: 0;
}

.notification-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: transparent;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition-fast);
    font-size: 0.75rem;
    padding: 0;
    flex-shrink: 0;
}

.notification-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
    .notification {
        top: 80px;
        right: 1rem;
        left: 1rem;
        min-width: auto;
        max-width: none;
        padding: 0.75rem 1rem;
    }
    
    .notification-icon {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .notification-title {
        font-size: 0.75rem;
    }
    
    .notification-message {
        font-size: 0.6875rem;
    }
}
