:root {
    --primary: #2d2d2d;
    --secondary: #8b7355;
    --accent: #c9a87c;
    --light: #f8f6f3;
    --white: #ffffff;
    --text: #333333;
    --text-light: #777777;
    --shadow: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-hover: 0 30px 80px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 30px rgba(0,0,0,0.05);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icon {
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.nav-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--light) 0%, #e8e4df 100%);
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c9a87c" stroke-width="0.5" opacity="0.3"/></svg>') repeat;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero h1 span {
    color: var(--secondary);
    font-style: italic;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139,115,85,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero 3D Model */
.hero-3d-container {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,246,243,0.9) 100%);
    box-shadow: var(--shadow);
    position: relative;
}

.hero-3d-container model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
}

.hero-3d-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hero-3d-badge svg {
    width: 18px;
    height: 18px;
}

.hero-3d-hint {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-3d-hint svg {
    width: 16px;
    height: 16px;
    animation: rotateHint 3s ease-in-out infinite;
}

@keyframes rotateHint {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 5%;
    background: white;
}

.feature {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Section Title */
.section-title {
    text-align: center;
    padding: 5rem 5% 3rem;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Categories */
.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 5% 5rem;
}

.category {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.category p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Products */
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 5% 5rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.product-badge.sale {
    background: #e74c3c;
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

.original-price {
    font-size: 0.95rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    color: #f5c518;
    font-size: 0.85rem;
}

.rating-count {
    color: var(--text-light);
    margin-left: 0.5rem;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a1a 100%);
    color: white;
    padding: 5rem;
    margin: 3rem 5%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: var(--secondary);
    opacity: 0.1;
    border-radius: 50%;
}

.promo-content {
    max-width: 500px;
    z-index: 1;
}

.promo-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.promo-content p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.promo-discount {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent);
    z-index: 1;
}

/* Testimonials */
.testimonials {
    background: white;
    padding: 5rem 5%;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Newsletter */
.newsletter {
    background: var(--light);
    padding: 5rem;
    margin: 5rem 5%;
    border-radius: 30px;
    text-align: center;
}

.newsletter h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 2rem 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    opacity: 0.6;
    font-size: 0.85rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    height: 100vh;
    background: white;
    box-shadow: -20px 0 60px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--secondary);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--light);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cart-total span:first-child {
    font-size: 1.1rem;
}

.cart-total span:last-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--secondary);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.open {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 3000;
}

.toast.show {
    display: block;
}

/* 3D Viewer Badge */
.badge-3d {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.badge-3d:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.badge-3d svg {
    width: 14px;
    height: 14px;
}

/* View in 3D Button */
.view-3d-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.view-3d-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.view-3d-btn svg {
    width: 18px;
    height: 18px;
}

/* 3D Viewer Modal */
.viewer-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.viewer-modal.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.viewer-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: white;
    border-radius: 20px;
    overflow: visible;
    display: flex;
    transform: scale(0.9);
    transition: var(--transition);
}

.viewer-modal.open .viewer-container {
    transform: scale(1);
}

.viewer-main {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
    border-radius: 20px 0 0 20px;
}

.viewer-main model-viewer {
    width: 100%;
    height: 100%;
}

.viewer-main model-viewer::part(default-progress-bar) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 3D Model Loading Spinner */
.model-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.model-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.viewer-sidebar {
    width: 350px;
    padding: 2rem;
    background: white;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-radius: 0 20px 20px 0;
}

.viewer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.viewer-close:hover {
    transform: rotate(90deg);
    background: var(--secondary);
    color: white;
}

.viewer-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.viewer-product-price {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.viewer-dimensions {
    background: var(--light);
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.viewer-dimensions h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dimension-item {
    text-align: center;
}

.dimension-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.dimension-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
}

/* AR Section */
.ar-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    margin-bottom: 1.5rem;
}

.ar-section h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ar-section p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* QR Code for Desktop */
.qr-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.qr-container img {
    width: 150px;
    height: 150px;
    margin-bottom: 0.5rem;
}

.qr-container p {
    font-size: 0.75rem;
    color: var(--primary);
    opacity: 1;
}

/* AR Button for Mobile */
.ar-button {
    display: none;
    width: 100%;
    padding: 1rem;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.ar-button:hover {
    transform: scale(1.02);
}

.ar-button svg {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Show AR button on mobile */
@media (max-width: 768px) {
    .ar-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .qr-container {
        display: none;
    }
}

/* Hide AR button on desktop */
@media (min-width: 769px) {
    .ar-button {
        display: none;
    }
    .qr-container {
        display: block;
    }
}

.viewer-controls {
    margin-top: auto;
}

.viewer-controls p {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
}

.add-to-cart-viewer {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-viewer:hover {
    background: var(--secondary);
}

/* Viewer Responsive */
@media (max-width: 992px) {
    .viewer-container {
        flex-direction: column;
        width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
    }

    .viewer-main {
        height: 280px;
        min-height: 280px;
        flex-shrink: 0;
        border-radius: 0;
    }

    .viewer-sidebar {
        width: 100%;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
        padding-bottom: 2rem;
    }

    /* Close button inside modal */
    .viewer-close {
        position: fixed;
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.95);
        font-size: 1.5rem;
        z-index: 100;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
}

@media (max-width: 768px) {
    .viewer-modal {
        padding: 0;
    }

    .viewer-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .viewer-main {
        height: 260px;
        min-height: 260px;
    }

    .viewer-sidebar {
        padding: 1.25rem;
    }

    .viewer-product-name {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .viewer-product-price {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .viewer-dimensions {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .viewer-dimensions h4 {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .dimensions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .dimension-value {
        font-size: 1rem;
    }

    .dimension-label {
        font-size: 0.65rem;
    }

    .ar-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .ar-section h4 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .ar-section > p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    /* Hide QR on mobile - not useful */
    .qr-container {
        display: none !important;
    }

    /* AR button full width on mobile */
    #mobileArButton {
        width: 100%;
        padding: 0.9rem;
        font-size: 0.9rem;
    }

    .viewer-controls {
        margin-top: auto;
        padding-top: 0.5rem;
    }

    .viewer-controls p {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }

    .add-to-cart-viewer {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .viewer-main {
        height: 220px;
        min-height: 220px;
    }

    .viewer-sidebar {
        padding: 1rem;
    }

    .viewer-product-name {
        font-size: 1.2rem;
    }

    .viewer-product-price {
        font-size: 1.1rem;
    }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .viewer-container {
        flex-direction: row;
    }

    .viewer-main {
        width: 50%;
        height: 100%;
        min-height: unset;
    }

    .viewer-sidebar {
        width: 50%;
        height: 100%;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 2rem;
    }

    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 120px;
        padding-bottom: 3rem;
    }

    .hero-3d-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        display: block;
    }

    .hero-3d-container {
        height: 280px;
    }

    .hero-3d-badge,
    .hero-3d-hint {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .logo {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    nav {
        padding: 0.8rem 4%;
    }

    .nav-icons {
        gap: 1rem;
    }

    .nav-icon svg {
        width: 20px;
        height: 20px;
    }

    .hero {
        padding: 0 4%;
        padding-top: 80px;
        min-height: 100vh;
        height: auto;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.8rem;
    }

    .hero-3d-container {
        height: 250px;
        margin-top: 1.5rem;
    }

    .hero-3d-badge,
    .hero-3d-hint {
        padding: 0.4rem 0.7rem;
        font-size: 0.65rem;
    }

    .hero-3d-badge {
        bottom: 1rem;
        left: 1rem;
    }

    .hero-3d-hint {
        bottom: 1rem;
        right: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    section {
        padding: 3rem 4%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .products {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .categories {
        gap: 1rem;
    }

    .category {
        height: 180px;
    }

    .category-content h3 {
        font-size: 1.3rem;
    }

    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        margin: 0 4%;
    }

    .promo-content h2 {
        font-size: 1.5rem;
    }

    .promo-discount {
        margin-top: 1.5rem;
    }

    .promo-discount span:first-child {
        font-size: 2.5rem;
    }

    .testimonial-grid {
        gap: 1.5rem;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .newsletter {
        padding: 3rem 1.5rem;
        margin: 0 4%;
    }

    .newsletter h2 {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input {
        width: 100%;
        padding: 1rem;
    }

    .newsletter-form button {
        width: 100%;
        padding: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    footer {
        padding: 3rem 4% 1.5rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-header {
        padding: 1rem;
    }

    .cart-items {
        padding: 1rem;
    }

    .cart-footer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-3d-container {
        height: 220px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .product-card {
        border-radius: 12px;
    }

    .mobile-menu a {
        font-size: 1.5rem;
    }
}

/* ===== 3D/AR VIEW MODE TOGGLE ===== */

/* Floating Toggle Button */
#mode-toggle-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px 12px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    user-select: none;
    font-family: 'Inter', sans-serif;
}

#mode-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.5);
}

#mode-toggle-btn:active {
    transform: translateY(-1px);
}

#mode-toggle-icon {
    font-size: 18px;
    line-height: 1;
}

/* Classic Mode Button Appearance */
body.classic-mode #mode-toggle-btn {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

body.classic-mode #mode-toggle-btn:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Hide 3D/AR elements in Classic Mode */
body.classic-mode .badge-3d,
body.classic-mode .view-3d-btn,
body.classic-mode .hero-3d-container,
body.classic-mode .hero-3d-badge,
body.classic-mode .hero-3d-hint,
body.classic-mode .ar-section,
body.classic-mode .qr-container,
body.classic-mode .viewer-modal,
body.classic-mode #arButtonSlot,
body.classic-mode #mobileArButton {
    display: none !important;
}

/* Show fallback hero image in Classic Mode */
body.classic-mode #heroFallbackImage {
    display: block !important;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Smooth transitions for 3D elements */
.badge-3d,
.view-3d-btn,
.hero-3d-container,
.hero-3d-badge,
.hero-3d-hint {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mobile adjustments for toggle button */
@media (max-width: 768px) {
    #mode-toggle-btn {
        bottom: 20px;
        left: 20px;
        padding: 10px 16px 10px 12px;
        font-size: 12px;
    }

    #mode-toggle-icon {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #mode-toggle-btn {
        bottom: 16px;
        left: 16px;
        padding: 10px 14px 10px 10px;
    }
}

/* ===== IMAGE VIEWER MODAL (Classic Mode) ===== */

.image-viewer-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-viewer-modal.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.image-viewer-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    transform: scale(0.92) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.image-viewer-modal.open .image-viewer-container {
    transform: scale(1) translateY(0);
}

/* Close Button */
.image-viewer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #333;
}

.image-viewer-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--secondary);
    color: white;
}

/* Main Image Area */
.image-viewer-main {
    flex: 1;
    position: relative;
    background: linear-gradient(145deg, #f8f9fc 0%, #e8ecf4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-viewer-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.image-viewer-gallery img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-viewer-gallery img:hover {
    transform: scale(1.02);
}

.image-viewer-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-viewer-badge svg {
    width: 14px;
    height: 14px;
}

/* Sidebar */
.image-viewer-sidebar {
    width: 380px;
    padding: 2rem;
    background: #fff;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.image-viewer-header {
    margin-bottom: 1rem;
}

.image-viewer-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 4px 12px;
    border-radius: 20px;
}

.image-viewer-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.image-viewer-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-viewer-rating .stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
}

.image-viewer-rating .count {
    font-size: 0.85rem;
    color: #888;
}

.image-viewer-product-price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* Dimensions */
.image-viewer-dimensions {
    background: linear-gradient(145deg, #f8f9fc 0%, #f0f2f8 100%);
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.image-viewer-dimensions h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.image-viewer-dimensions h4 svg {
    color: #667eea;
}

/* Features */
.image-viewer-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #444;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

/* Controls */
.image-viewer-controls {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.add-to-cart-image-viewer {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.add-to-cart-image-viewer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.add-to-cart-image-viewer:active {
    transform: translateY(0);
}

.add-to-cart-image-viewer svg {
    width: 20px;
    height: 20px;
}

.switch-to-3d-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.switch-to-3d-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.switch-to-3d-btn svg {
    width: 18px;
    height: 18px;
}

/* ===== IMAGE VIEWER MOBILE RESPONSIVE (Premium UX) ===== */

@media (max-width: 992px) {
    .image-viewer-container {
        flex-direction: column;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .image-viewer-main {
        height: 45vh;
        min-height: 280px;
        flex-shrink: 0;
    }

    .image-viewer-sidebar {
        width: 100%;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding: 1.5rem;
    }

    .image-viewer-close {
        position: fixed;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 768px) {
    .image-viewer-modal {
        padding: 0;
    }

    .image-viewer-main {
        height: 40vh;
        min-height: 260px;
        background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
    }

    .image-viewer-gallery {
        padding: 1rem;
    }

    .image-viewer-gallery img {
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .image-viewer-badge {
        bottom: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .image-viewer-sidebar {
        padding: 1.5rem 1.25rem 2rem;
        border-radius: 24px 24px 0 0;
        margin-top: -20px;
        position: relative;
        background: #fff;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
    }

    /* Swipe indicator */
    .image-viewer-sidebar::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #ddd;
        border-radius: 4px;
    }

    .image-viewer-header {
        margin-top: 0.5rem;
    }

    .image-viewer-category {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .image-viewer-product-name {
        font-size: 1.5rem;
    }

    .image-viewer-product-price {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .image-viewer-dimensions {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .image-viewer-dimensions h4 {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }

    .dimensions-grid {
        gap: 0.5rem;
    }

    .dimension-value {
        font-size: 1rem;
    }

    .dimension-label {
        font-size: 0.65rem;
    }

    .image-viewer-features {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
        gap: 10px;
    }

    .feature-item {
        font-size: 0.8rem;
        gap: 10px;
    }

    .feature-item svg {
        width: 18px;
        height: 18px;
    }

    .image-viewer-controls {
        gap: 10px;
    }

    .add-to-cart-image-viewer {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .switch-to-3d-btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .image-viewer-main {
        height: 38vh;
        min-height: 220px;
    }

    .image-viewer-sidebar {
        padding: 1.25rem 1rem 1.5rem;
        border-radius: 20px 20px 0 0;
    }

    .image-viewer-product-name {
        font-size: 1.35rem;
    }

    .image-viewer-product-price {
        font-size: 1.4rem;
    }

    .image-viewer-dimensions {
        padding: 0.85rem;
    }

    .add-to-cart-image-viewer,
    .switch-to-3d-btn {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
}

/* Classic Mode: Show view button on product cards */
body.classic-mode .product-card .view-classic-btn {
    display: flex !important;
}

body.classic-mode .product-card .view-3d-btn {
    display: none !important;
}

/* View Classic Button (replaces 3D button in classic mode) */
.view-classic-btn {
    display: none;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.75rem;
}

.view-classic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
}

.view-classic-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== SHOWCASE DISCLAIMER ===== */
.showcase-disclaimer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 87, 34, 0.15) 100%);
    border: 2px dashed rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    margin: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.disclaimer-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.showcase-disclaimer strong {
    color: #ffc107;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .showcase-disclaimer {
        padding: 1.5rem 1rem;
        margin: 1rem;
        font-size: 0.8rem;
    }

    .disclaimer-icon {
        font-size: 2rem;
    }

    .showcase-disclaimer strong {
        font-size: 1rem;
    }
}

/* ===== ENHANCED UX POLISH ===== */

/* Smooth page transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Better button feedback */
button, .action-btn, .add-to-cart {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Product card hover enhancements */
.product-card {
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-8px);
}

/* Smooth image loading */
.product-image img {
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Mobile touch feedback */
@media (hover: none) {
    .product-card:active {
        transform: scale(0.98);
    }

    .product-card:hover {
        transform: none;
    }

    .product-card:hover .product-image img {
        transform: none;
    }

    .add-to-cart-image-viewer:active,
    .switch-to-3d-btn:active,
    .add-to-cart-viewer:active {
        transform: scale(0.97);
    }
}

/* Premium scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
}

/* Hide scrollbar on mobile for cleaner look */
@media (max-width: 768px) {
    .image-viewer-sidebar::-webkit-scrollbar,
    .viewer-sidebar::-webkit-scrollbar {
        width: 0;
        display: none;
    }
}

/* Haptic-like feedback animations */
@keyframes pulse-success {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.toast {
    animation: pulse-success 0.3s ease;
}

/* Enhanced focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth modal backdrop */
.image-viewer-modal,
.viewer-modal {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Glass morphism effects */
.image-viewer-close,
.viewer-close {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
