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

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(0, 0, 0, 0.08);
    --accent-primary: #0071E3;
    --accent-secondary: #2997FF;
    --accent-glow: rgba(0, 113, 227, 0.2);
    --success: #34C759;
    --warning: #FF9F0A;
    --destructive: #FF3B30;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-muted: #767680;
    --border: #D2D2D7;
    --border-color: #D2D2D7;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
    --bg-primary: #1C1C1E;
    --bg-secondary: #2C2C2E;
    --glass-bg: rgba(44, 44, 46, 0.82);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-primary: #2997FF;
    --accent-secondary: #40A9FF;
    --accent-glow: rgba(41, 151, 255, 0.25);
    --success: #30D158;
    --text-primary: #F5F5F7;
    --text-secondary: #98989D;
    --text-muted: #636366;
    --border: #38383A;
    --border-color: #38383A;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--accent-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 600px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 16px 20px;
    z-index: 99999;
    display: none;
    animation: fadeInUp 0.4s ease;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner-content p {
    flex: 1;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    min-width: 200px;
}

.cookie-banner-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 18px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.cookie-btn-outline {
    padding: 8px 18px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-outline:hover {
    border-color: var(--text-secondary);
}

@media (max-width: 480px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

body {
    font-family: -apple-system, 'Inter', BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1240px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    z-index: 1000;
    transition: var(--transition);
    pointer-events: auto;
}

[data-theme="dark"] .nav {
    background: var(--glass-bg);
}

.nav-logo svg path,
.footer-logo svg path {
    fill: var(--text-primary);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
    position: relative;
    z-index: 1002;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.theme-icon-light,
.theme-icon-dark {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-theme="light"] .theme-icon-light,
.theme-icon-light {
    display: block;
}

[data-theme="light"] .theme-icon-dark,
.theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block;
}

.nav-cart {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    transition: var(--transition);
    pointer-events: auto;
    z-index: 1001;
}

.nav-cart svg {
    pointer-events: none;
}

.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 1003;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .nav-burger { display: flex; }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--bg-primary);
    padding: 24px;
    animation: slideInFromRight 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

@media (max-width: 480px) {
    .mobile-menu-panel {
        width: 100%;
    }
}

.nav-cart:hover {
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero {
    padding: 100px 0 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .hero {
    background: var(--bg-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

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

.gallery-main {
    width: 100%;
    aspect-ratio: 4/5;
    max-height: 480px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 16px;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.thumb {
    flex-shrink: 0;
    width: 80px;
    height: 93px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

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

.thumb:hover {
    border-color: var(--border);
    transform: translateY(-2px);
}

.thumb.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.hero-info {
    padding: 20px 0;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.badge svg {
    flex-shrink: 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.rating-text {
    font-weight: 600;
    font-size: 16px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 14px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.price-old {
    font-size: 24px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-save {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.meta-item.hot svg {
    color: #EF4444;
}

.stock-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.product-options {
    margin-bottom: 24px;
}

.option-group {
    margin-bottom: 28px;
}

.option-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.model-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s var(--spring);
    text-align: center;
}

.model-card:hover {
    border-color: var(--accent-primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.model-card.active {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.06) 0%, rgba(41, 151, 255, 0.06) 100%);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.model-card-image {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
}

.model-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.model-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.model-card-price {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.model-card.active .model-card-name {
    color: var(--accent-primary);
}

.model-card.active .model-card-price {
    color: var(--accent-secondary);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.storage-grid {
    grid-template-columns: repeat(4, 1fr);
}

.option-card {
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.35s var(--spring);
    text-align: center;
}

.option-card:hover {
    border-color: var(--accent-primary);
    transform: scale(1.02);
}

.option-card.active {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color);
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--accent-primary);
}

.color-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.color-swatch.active .color-ring {
    opacity: 1;
}

.color-name {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-buy,
.btn-cart {
    width: 100%;
    padding: 18px 32px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-buy {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 2px 8px var(--accent-glow);
    border-radius: 14px;
}

.btn-buy:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-cart {
    background: var(--bg-primary);
    color: var(--accent-primary);
    border: 1.5px solid var(--accent-primary);
    border-radius: 14px;
}

.btn-cart:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.trust-bar {
    padding: 24px 0;
    background: var(--bg-secondary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--bg-primary);
    padding: 32px 24px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s var(--spring);
    border: 1px solid var(--glass-border);
}

.trust-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.trust-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.trust-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.trust-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    transition: all 0.4s var(--spring);
}

.feature-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    padding: 40px 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.about-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.about-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

[data-theme="dark"] .about-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .about-card:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .about-icon-wrap {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
}

.stats {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-plus {
    font-size: 40px;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

.reviews {
    padding: 100px 0;
    background: var(--bg-primary);
}

.reviews-carousel {
    position: relative;
}

.reviews-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 32px;
    transition: all 0.4s var(--spring);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-2px) scale(1.01);
}

.review-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--avatar-bg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    flex-shrink: 0;
}

.review-meta h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.review-country {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--success);
    font-weight: 500;
}

.review-stars {
    display: flex;
    gap: 2px;
    color: #FBBF24;
    font-size: 18px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.review-photos {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.review-photo-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
    cursor: pointer;
    transition: all 0.3s var(--spring);
    border: 2px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.review-photo-thumb:hover {
    transform: scale(1.08);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.review-photo-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.review-photo-thumb:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

.review-expand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-primary);
    cursor: pointer;
    transition: all 0.3s var(--spring);
    font-family: inherit;
}

.review-expand:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: scale(1.03);
}

.review-expand svg {
    flex-shrink: 0;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.carousel-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 4px;
}

.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.faq-item {
    background: var(--bg-primary);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.checkout {
    padding: 100px 0;
    background: var(--bg-primary);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}

.checkout-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.checkout-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delivery-option {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.delivery-option:hover {
    border-color: var(--accent-secondary);
    background: var(--bg-secondary);
}

.delivery-option input {
    position: absolute;
    opacity: 0;
}

.delivery-option input:checked ~ .delivery-content {
    color: var(--accent-primary);
}

.delivery-option input:checked ~ .delivery-check {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.delivery-option input:checked ~ .delivery-check::after {
    opacity: 1;
}

.delivery-option:has(input:checked) {
    border-color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.02);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.delivery-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.delivery-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.delivery-name {
    font-size: 15px;
    font-weight: 600;
}

.delivery-eta {
    font-size: 13px;
    color: var(--text-muted);
}

.delivery-price {
    font-size: 16px;
    font-weight: 600;
}

.delivery-price.free {
    color: var(--success);
}

.delivery-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin-right: 16px;
    transition: var(--transition);
    position: relative;
}

.delivery-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input {
    width: 100%;
    padding: 16px 18px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .form-group input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
    background: var(--bg-primary);
    padding: 0 4px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: var(--accent-primary);
}

.form-group input.error {
    border-color: #EF4444;
}

.form-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #EF4444;
    min-height: 18px;
}

.order-summary {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.summary-product {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.summary-product-img {
    width: 80px;
    height: 93px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

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

.summary-product-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.summary-product-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.summary-line.discount {
    color: var(--success);
}

.summary-line.total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
}

.btn-purchase {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.btn-purchase:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-purchase:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-loader {
    display: none;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.btn-purchase.loading .btn-text {
    opacity: 0;
}

.btn-purchase.loading .btn-loader {
    display: flex;
    position: absolute;
    inset: 0;
}

.btn-loader span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.btn-loader span:nth-child(1) {
    animation-delay: -0.32s;
}

.btn-loader span:nth-child(2) {
    animation-delay: -0.16s;
}

.summary-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.summary-payment-methods {
    text-align: center;
    padding: 12px 0;
}

.summary-payment-methods span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.summary-payment-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all 0.35s var(--spring);
}

.footer-social a:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-legal {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.footer-newsletter {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
    max-width: 480px;
}

.footer-newsletter h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-newsletter p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
}

.footer-newsletter-input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1.5px solid var(--glass-border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.footer-newsletter-btn {
    padding: 10px 20px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-newsletter-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.footer-newsletter-msg {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--success);
    font-weight: 500;
}

.privacy-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 100000;
    display: none;
}

.privacy-modal.active {
    display: block;
}

.privacy-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.privacy-modal-content {
    position: relative;
    max-width: 600px;
    margin: 80px auto;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

.privacy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-modal-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.privacy-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.privacy-modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.privacy-modal-body {
    padding: 28px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.privacy-modal-body p + p {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .privacy-modal-content {
        margin: 40px 16px;
        max-width: calc(100vw - 32px);
    }
    .privacy-modal-header {
        padding: 20px;
    }
    .privacy-modal-body {
        padding: 20px;
    }
}

.footer-legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.footer-legal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 0;
}

.footer-legal-item svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 20px 24px;
    transform: translateX(500px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    z-index: 9999;
    max-width: 400px;
    min-width: 300px;
    border: 1px solid var(--border-color);
    pointer-events: none;
}

[data-theme="dark"] .toast {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-color);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
}

.cart-modal.active {
    display: block;
}

.cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

[data-theme="dark"] .cart-modal-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.cart-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: var(--bg-primary);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    animation: slideInFromRight 0.3s ease;
}

[data-theme="dark"] .cart-modal-content {
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.cart-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.cart-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-muted);
    transition: var(--transition);
}

.cart-modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 20px;
    font-size: 16px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    position: relative;
}

.cart-item-image {
    width: 80px;
    height: 93px;
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-item-details {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: auto;
}

.cart-item-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted);
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #EF4444;
    transform: scale(1.1);
}

.cart-modal-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.btn-checkout {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    overflow-y: auto;
}

.order-modal.active {
    display: block;
}

.order-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.order-modal-content {
    position: relative;
    max-width: 560px;
    margin: 60px auto;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.order-modal-header {
    text-align: center;
    padding: 40px 32px 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
}

.order-modal-success {
    margin-bottom: 16px;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.order-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.order-modal-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
}

.order-modal-body {
    padding: 24px 32px;
    max-height: 50vh;
    overflow-y: auto;
}

.order-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.order-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-primary);
}

.order-detail-row span:first-child {
    color: var(--text-muted);
}

.order-detail-row.discount {
    color: var(--success);
}

.order-detail-row.total-row {
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--border-color);
}

.order-detail-row.total-row span:first-child {
    color: var(--text-primary);
}

.order-info-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.order-info-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-primary);
}

.order-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.order-modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-close-order {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-pay-now {
    display: flex;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #22C55E 0%, #10B981 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.btn-pay-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.live-chat-btn {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: #FF3B30;
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.live-chat-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: var(--success);
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: scaleIn 0.3s ease;
}

.live-chat-modal {
    position: fixed;
    bottom: 104px;
    right: 32px;
    width: 380px;
    height: 520px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    padding: 12px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.35s var(--spring);
}

.sticky-cta.visible {
    display: flex;
    transform: translateY(0);
}

.sticky-cta-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sticky-cta-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-cta-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: -0.02em;
}

.sticky-cta-btn {
    padding: 10px 24px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sticky-cta-btn:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

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

[data-theme="dark"] .sticky-cta {
    background: var(--glass-bg);
}
    z-index: 999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.live-chat-modal.active {
    display: flex !important;
    animation: chatSlideUp 0.3s ease;
}

@keyframes chatSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.live-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    flex-shrink: 0;
}

.live-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.live-chat-header-info {
    flex: 1;
    min-width: 0;
}

.live-chat-header-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.live-chat-online {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.9;
}

.live-chat-status {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.live-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.live-chat-minimize,
.live-chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    transition: var(--transition);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.live-chat-minimize:hover,
.live-chat-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.live-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: var(--bg-secondary);
}

.live-chat-date-divider {
    text-align: center;
    margin-bottom: 16px;
}

.live-chat-date-divider span {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 4px 12px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.live-chat-msg {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    max-width: 100%;
}

.live-chat-msg.user {
    justify-content: flex-end;
}

.live-chat-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 4px;
}

.live-chat-sender {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    padding-left: 2px;
}

.live-chat-bubble {
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}

.live-chat-bubble p {
    margin: 0;
}

.live-chat-bubble p + p {
    margin-top: 8px;
}

.live-chat-msg.bot .live-chat-bubble {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 2px 14px 14px 14px;
    color: var(--text-primary);
}

.live-chat-msg.user .live-chat-bubble {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border-radius: 14px 2px 14px 14px;
}

.live-chat-time {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    padding-left: 2px;
}

.live-chat-msg.user .live-chat-time {
    text-align: right;
    padding-right: 2px;
}

.live-chat-options {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
}

.live-chat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.live-chat-quick {
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-chat-quick:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
}

.live-chat-typing {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.live-chat-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.live-chat-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.live-chat-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.live-chat-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    flex-shrink: 0;
}

.live-chat-input {
    flex: 1;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-primary);
    transition: var(--transition);
}

.live-chat-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.live-chat-input::placeholder {
    color: var(--text-muted);
}

.live-chat-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.live-chat-send:hover {
    transform: scale(1.1);
}

.live-chat-disclaimer {
    text-align: center;
    padding: 8px 16px;
    font-size: 10px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
}

.toast-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.toast-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.toast-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

[data-theme="dark"] .badge {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .hero-meta {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .option-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .option-card:hover {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

[data-theme="dark"] .option-card.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

[data-theme="dark"] .model-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .model-card:hover {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

[data-theme="dark"] .model-card.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .model-card-image {
    background: var(--bg-primary);
}

[data-theme="dark"] .trust-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .trust-card:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .trust-icon {
    background: var(--bg-primary);
}

[data-theme="dark"] .feature-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .feature-card:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .feature-icon-wrap {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
}

[data-theme="dark"] .stats {
    background: var(--bg-secondary);
}

[data-theme="dark"] .review-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .review-card:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .review-avatar {
    background: var(--bg-primary);
}

[data-theme="dark"] .carousel-btn {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .carousel-btn:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .faq-item {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .faq-item:hover {
    border-color: var(--accent-primary);
}

[data-theme="dark"] .faq-question {
    color: var(--text-primary);
}

[data-theme="dark"] .faq-answer p {
    color: var(--text-secondary);
}

[data-theme="dark"] .checkout-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .delivery-option {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .delivery-option:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

[data-theme="dark"] .delivery-option:has(input:checked) {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .order-summary {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .summary-product-img {
    background: var(--bg-primary);
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .footer-links a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--accent-primary);
}

[data-theme="dark"] .btn-cart {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-cart:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .cart-item {
    background: var(--bg-secondary);
}

[data-theme="dark"] .cart-item-image {
    background: var(--bg-primary);
}

[data-theme="dark"] .cart-modal-header {
    border-color: var(--border-color);
}

[data-theme="dark"] .cart-modal-footer {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .gallery-thumbs {
    background: var(--bg-secondary);
}

[data-theme="dark"] .thumb {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .thumb:hover {
    border-color: var(--accent-primary);
}

[data-theme="dark"] .thumb.active {
    border-color: var(--accent-primary);
}

[data-theme="dark"] .section-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
}

[data-theme="dark"] .price-save {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

[data-theme="dark"] .stock-dot {
    background: var(--success);
}

[data-theme="dark"] .summary-divider {
    border-color: var(--border-color);
}

[data-theme="dark"] .summary-security {
    color: var(--text-muted);
}

[data-theme="dark"] .color-swatch {
    border-color: var(--border-color);
}

[data-theme="dark"] .color-swatch:hover {
    border-color: var(--accent-primary);
}

[data-theme="dark"] .color-swatch.active {
    border-color: var(--accent-primary);
}

[data-theme="dark"] .order-modal-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

[data-theme="dark"] .live-chat-modal {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .live-chat-body {
    background: var(--bg-secondary);
}

[data-theme="dark"] .live-chat-bubble {
    background: var(--bg-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .live-chat-msg.bot .live-chat-bubble {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .live-chat-quick {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .live-chat-quick:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .live-chat-footer {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .live-chat-input {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .live-chat-disclaimer {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .review-modal-content {
    background: var(--bg-primary);
}

[data-theme="dark"] .review-modal-close-btn {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .review-modal-close-btn:hover {
    background: var(--accent-primary);
    color: white;
}

[data-theme="dark"] .review-expand {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .review-photo-thumb {
    border-color: var(--border-color);
    background-color: var(--bg-secondary);
}

:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.review-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 100001;
    display: none;
}

.review-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.review-modal-content {
    position: relative;
    display: flex;
    max-width: 900px;
    width: calc(100% - 48px);
    max-height: calc(100vh - 80px);
    background: var(--bg-primary);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: reviewModalIn 0.35s var(--spring);
}

@keyframes reviewModalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.review-modal-gallery {
    flex: 1;
    min-width: 0;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.review-modal-gallery-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
}

.review-modal-gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-modal-gallery-dot.active {
    background: white;
    width: 20px;
    border-radius: 3px;
}

.review-modal-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.review-modal-gallery-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.review-modal-gallery-btn.prev { left: 12px; }
.review-modal-gallery-btn.next { right: 12px; }

.review-modal-info {
    flex: 0 0 380px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.review-modal-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.review-modal-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.review-modal-meta h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.review-modal-country {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.review-modal-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--success);
    font-weight: 500;
}

.review-modal-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.review-modal-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    flex: 1;
}

.review-modal-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.review-modal-close-btn {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.review-modal-close-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.review-modal-close-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.review-modal-close-x:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.review-modal-content:not(.has-photos) .review-modal-info {
    flex: 1 1 auto;
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 36px;
}

.review-modal-content:not(.has-photos) .review-modal-close-x {
    top: 16px;
    right: 16px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.review-modal-content:not(.has-photos) .review-modal-close-x:hover {
    background: var(--border);
    color: var(--text-primary);
}

.review-modal-content:not(.has-photos) {
    max-width: 560px;
}

@media (max-width: 768px) {
    .review-modal-content {
        flex-direction: column;
        max-height: calc(100vh - 40px);
        width: calc(100% - 32px);
    }
    .review-modal-gallery {
        height: 240px;
        flex: none;
    }
    .review-modal-info {
        flex: 1;
        padding: 24px 20px;
    }
    .review-modal-gallery-btn {
        width: 32px;
        height: 32px;
    }
    .review-modal-content:not(.has-photos) .review-modal-info {
        padding: 32px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
