/* ==========================================================================
   Inside Joyy - Component Styles
   ========================================================================== */

/* ========== Buttons ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    text-align: center;
    border-radius: var(--radius-full);
    transition: var(--transition-all);
    cursor: pointer;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--color-soft-brown), var(--color-soft-brown-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-soft-brown-light), var(--color-soft-brown));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--color-soft-brown);
    border: 2px solid var(--color-soft-brown);
}

.btn-secondary:hover {
    background: var(--color-soft-brown);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Gold Button */
.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 98, 0.4);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2BE06F, var(--color-whatsapp));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--color-soft-brown);
}

.btn-ghost:hover {
    background: var(--color-cream-dark);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-full {
    width: 100%;
}

/* ========== Cards ========== */

.card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-all);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-soft-brown-dark);
    margin-bottom: var(--space-2);
}

.card-text {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    margin-bottom: var(--space-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-gold-dark);
    margin-top: auto;
}

.card-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background: var(--color-gold);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.card-badge.new {
    background: var(--color-sage);
}

.card-badge.sale {
    background: var(--color-muted-pink-dark);
}

/* Product Card */
.product-card {
    box-shadow: var(--shadow-sm);
}

.product-card .card-actions {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.product-card .card-actions .btn {
    flex: 1;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    min-width: 0;
}

.product-card .card-actions .btn svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* Mobile: Stack buttons vertically for better touch targets */
@media (max-width: 767px) {
    .product-card .card-actions {
        flex-direction: column;
    }

    .product-card .card-actions .btn {
        width: 100%;
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
        justify-content: center;
    }

    .product-card .card-actions .btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Feature Card */
.feature-card {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-cream-dark);
}

.feature-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-cream-dark), var(--color-cream));
    border-radius: var(--radius-xl);
    color: var(--color-gold);
}

.feature-card-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

/* Collection Card */
.collection-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    color: var(--color-white);
}

.collection-card-overlay h3 {
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.collection-card-overlay p {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

/* ========== Navigation ========== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-cream-dark);
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 var(--space-4);
    max-width: var(--container-xl);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .navbar-container {
        padding: 0 var(--space-6);
    }
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.navbar-logo img {
    height: 40px;
    width: auto;
}

.navbar-logo span {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-soft-brown-dark);
}

.navbar-menu {
    display: none;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
    }
}

.navbar-menu a {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--color-soft-brown);
    position: relative;
    transition: var(--transition-colors);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-gold);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.navbar-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-soft-brown);
    transition: var(--transition-base);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    padding: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-modal);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    padding: var(--space-4) 0;
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    color: var(--color-soft-brown);
    border-bottom: 1px solid var(--color-cream-dark);
    transition: var(--transition-colors);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--color-gold);
}

/* ========== Footer ========== */

.footer {
    background: var(--color-soft-brown-dark);
    color: var(--color-cream);
    padding: var(--space-12) 0 var(--space-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand p {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    opacity: 0.8;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-gold);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.footer-links a {
    display: block;
    font-size: var(--text-sm);
    padding: var(--space-2) 0;
    opacity: 0.8;
    transition: var(--transition-colors);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: var(--transition-all);
}

.footer-social a:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: var(--text-sm);
    opacity: 0.6;
}

/* ========== Floating WhatsApp Button ========== */

.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: var(--z-fixed);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-all);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float-text {
    background: var(--color-white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-soft-brown-dark);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-base);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-text {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: var(--space-4);
        right: var(--space-4);
    }

    .whatsapp-float-btn {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float-text {
        display: none;
    }
}

/* ========== Hero Section ========== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(253, 248, 243, 0.95) 0%,
            rgba(253, 248, 243, 0.8) 50%,
            rgba(253, 248, 243, 0.95) 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--color-gold);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.hero h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    color: var(--color-soft-brown-dark);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: var(--text-5xl);
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: var(--text-6xl);
    }
}

.hero p {
    font-size: var(--text-lg);
    color: var(--color-gray-700);
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* ========== Seasonal Banner ========== */

.seasonal-banner {
    position: relative;
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--color-soft-brown-dark), var(--color-soft-brown));
    color: var(--color-white);
    overflow: hidden;
}

.seasonal-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.seasonal-banner-content {
    position: relative;
    text-align: center;
}

.seasonal-banner h2 {
    color: var(--color-cream);
    margin-bottom: var(--space-4);
}

.seasonal-banner p {
    max-width: 500px;
    margin: 0 auto var(--space-6);
    opacity: 0.9;
}

/* ========== Filter Tabs ========== */

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-8);
}

.filter-tab {
    padding: var(--space-2) var(--space-5);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-soft-brown);
    background: var(--color-white);
    border: 2px solid var(--color-cream-dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-all);
}

.filter-tab:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.filter-tab.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

/* ========== Form Elements ========== */

.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-soft-brown-dark);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    background: var(--color-white);
    border: 2px solid var(--color-cream-dark);
    border-radius: var(--radius-lg);
    transition: var(--transition-colors);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========== Breadcrumb ========== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    margin-bottom: var(--space-6);
    padding-top: var(--space-4);
}

.breadcrumb a {
    color: var(--color-soft-brown);
    transition: var(--transition-colors);
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

.breadcrumb-separator {
    color: var(--color-gray-400);
}

/* ========== Tags ========== */

.tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    background: var(--color-cream-dark);
    color: var(--color-soft-brown);
    border-radius: var(--radius-full);
    margin-right: var(--space-2);
    margin-bottom: var(--space-2);
}

.tag-gold {
    background: rgba(201, 169, 98, 0.15);
    color: var(--color-gold-dark);
}

.tag-sage {
    background: rgba(156, 175, 136, 0.15);
    color: var(--color-sage-dark);
}

.tag-pink {
    background: rgba(232, 213, 213, 0.5);
    color: var(--color-soft-brown);
}

/* ========== Loading Spinner ========== */

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-cream-dark);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(253, 248, 243, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-max);
}

/* ========== Image Slider (Product Cards) ========== */

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    transition: var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.slider-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--color-soft-brown-dark);
}

.slider-prev {
    left: var(--space-2);
}

.slider-next {
    right: var(--space-2);
}

.image-slider:hover .slider-arrow,
.card:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.slider-dots {
    position: absolute;
    bottom: var(--space-3);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--color-white);
    transform: scale(1.2);
}

/* Single image (no slider) */
.slider-image {
    width: 100%;
    height: 100%;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Product Gallery (Detail Page) ========== */

.product-gallery {
    position: relative;
}

.product-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.product-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-all);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
    color: var(--color-soft-brown-dark);
}

.gallery-prev {
    left: var(--space-4);
}

.gallery-next {
    right: var(--space-4);
}

.gallery-nav:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.product-gallery-thumbs {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    padding: var(--space-1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-all);
    padding: 0;
    background: none;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover {
    border-color: var(--color-gold-light);
}

.gallery-thumb.active {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

/* Video thumbnail styles */
.gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.video-thumb-overlay svg {
    width: 24px;
    height: 24px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.gallery-thumb[data-type="video"] {
    position: relative;
}

/* Main gallery video styles */
.product-gallery-main video {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: var(--radius-xl);
    background: var(--color-gray-100);
}

@media (min-width: 768px) {
    .gallery-thumb {
        width: 80px;
        height: 80px;
    }
}

/* Mobile: hide arrows, rely on swipe */
@media (max-width: 767px) {
    .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .gallery-nav svg {
        width: 20px;
        height: 20px;
    }

    .gallery-prev {
        left: var(--space-2);
    }

    .gallery-next {
        right: var(--space-2);
    }
}