* { margin: 0; padding: 0; box-sizing: border-box; }
       
        :root {
            --dark-bg: #1a1c1e;
            --darker-bg: #151719;
            --card-dark: #23262a;
            --gold: #d4a574;
            --grey: #a0a0a0;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
            background: var(--dark-bg);
            color: white;
            line-height: 1.6;
        }

        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(26, 28, 30, 0.3);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .header-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-section img {
            height: 48px;
            width: auto;
        }

        .logo-text {
            color: var(--gold);
            font-weight: 600;
            letter-spacing: 0.1em;
            font-size: 0.875rem;
            text-transform: uppercase;
        }

        nav {
            display: flex;
            gap: 2rem;
        }

        nav button {
            background: none;
            border: none;
            color: var(--grey);
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            padding-bottom: 8px;
        }

        nav button:hover { 
            color: var(--gold);
        }

        nav button.active-nav {
            color: var(--gold);
        }

        nav button.active-nav::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--gold);
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from { width: 0; left: 50%; }
            to { width: 100%; left: 0; }
        }

        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 80px;
            /* Task 7B: Default hero image set in CSS — no JS delay for first paint */
            background-image: url('https://alvesandsons.co.uk/uploads/homepage/hero_background_1771912767.jpg');
            background-size: cover;
            background-position: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
            z-index: 0;
        }

        .hero .container {
            position: relative;
            z-index: 1;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
            width: 100%;
        }

        .hero-content {
            max-width: 620px;
            text-align: left;
            margin-bottom: 6px;
        }

        .hero h1 {
            font-size: clamp(2rem, 6vw, 3.75rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 0 2px 4px rgba(0,0,0,0.45);
        }

        .hero p {
            font-size: clamp(1rem, 2vw, 1.25rem);
            opacity: 0.9;
            margin-bottom: 2rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.45);
            line-height: 1.5;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1.5rem 2rem;
            font-size: 1.125rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border-radius: 9999px;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
        }

        .btn-primary {
            background: transparent;
            color: var(--gold);
            border: 2px solid var(--gold);
        }

        .btn-primary.active {
            background: var(--gold);
            color: var(--dark-bg);
        }

        .btn-secondary {
            background: transparent;
            color: var(--gold);
            border: 2px solid var(--gold);
        }

        .btn-secondary.active {
            background: var(--gold);
            color: var(--dark-bg);
        }

        .btn-primary:hover,
        .btn-secondary:hover {
            transform: scale(1.02);
            background: var(--gold);
            color: var(--dark-bg);
        }

        .section {
            padding: 1rem 1rem;
        }

        .section-grey {
            background: #2a2c30;
            position: relative;
        }

        .section-grey::before {
            content: '';
            position: absolute;
            inset: 0;
            opacity: 0.05;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
            z-index: 1;
        }

        .section-header h2 {
            font-size: clamp(2rem, 5vw, 3rem);
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .section-header p {
            font-size: clamp(1rem, 2vw, 1.25rem);
            color: var(--grey);
            max-width: 48rem;
            margin: 0 auto;
        }

        .grid {
            display: grid;
            gap: 2rem;
        }

        .grid-3 {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }

        .grid-5 {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}
        .card {
            background: var(--card-dark);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 0.75rem;
            overflow: hidden;
            transition: all 0.5s;
        }

        .card:hover {
            border-color: rgba(212,165,116,0.3);
            transform: translateY(-5px);
        }

        .card-image {
            aspect-ratio: 4/3;
            background: #555;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            overflow: hidden;
            cursor: pointer;
            position: relative;
        }

        .card-image::after {
            content: 'Click to view';
            position: absolute;
            inset: 0;
            background: rgba(212, 165, 116, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--dark-bg);
        }

        .card-image:hover::after {
            opacity: 1;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s;
        }

        .card:hover .card-image img {
            transform: scale(1.1);
        }

        .card-content {
            padding: 1.5rem;
        }

        .card-content h3 {
            font-size: clamp(1.25rem, 3vw, 1.5rem);
            color: var(--gold);
            margin-bottom: 0.75rem;
            font-weight: 600;
            cursor: pointer;
        }

        .card-content p {
            color: var(--grey);
            font-size: clamp(0.875rem, 2vw, 0.9375rem);
            line-height: 1.6;
        }

        /* Botão View Catalogue nas categorias */
        .card-category-btn {
            background: transparent;
            border: 2px solid var(--gold);
            color: var(--gold);
            padding: 0.75rem 1.5rem;
            border-radius: 9999px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            font-size: 0.875rem;
            margin-top: 1rem;
            display: inline-block;
        }

        .card-category-btn:hover {
            background: var(--gold);
            color: var(--dark-bg);
            transform: scale(1.05);
        }

        .why-choose-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
            align-items: center;
        }

        .pills-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        .pill-card {
            background: #23262a;
            border: 1px solid rgba(163, 158, 158, 0.233);
            border-radius: 9999px;
            padding: 1rem 1.5rem;
            text-align: center;
            transition: all 0.3s;
            position: relative;
            z-index: 2;
        }

        .pill-card:hover {
            border-color: rgba(212,165,116,0.4);
            transform: scale(1.05);
        }

        .pill-card p {
            color: var(--grey);
            font-size: 0.875rem;
        }

        .why-image {
            width: 100%;
            border-radius: 1rem;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 2;
            cursor: pointer;
        }

        .why-image::after {
            content: 'Click to zoom';
            position: absolute;
            inset: 0;
            background: rgba(212, 165, 116, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--dark-bg);
            z-index: 3;
        }

        .why-image:hover::after {
            opacity: 1;
        }

        .why-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s;
        }

        .why-image:hover img {
            transform: scale(1.05);
        }

        .process-card {
            padding: 1.5rem;
            text-align: center;
        }

        .icon-wrapper {
            width: 56px;
            height: 56px;
            background: rgba(212,165,116,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            transition: all 0.3s;
        }

        .card:hover .icon-wrapper {
            background: rgba(212,165,116,0.2);
            transform: rotate(360deg);
        }

        .icon-wrapper svg {
            width: 28px;
            height: 28px;
            color: var(--gold);
        }

        .step-label {
            color: var(--gold);
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }

        .process-card h3 {
            font-size: 1.125rem;
            color: white;
            margin-bottom: 0.75rem;
            font-weight: 600;
            transition: color 0.3s;
        }

        .card:hover .process-card h3 {
            color: var(--gold);
        }

        .process-card p {
            font-size: 0.875rem;
            color: var(--grey);
            line-height: 1.6;
        }

        .quotes-grid {
            background: var(--card-dark);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 0.75rem;
            overflow: hidden;
        }

        .quotes-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            padding: 2rem;
        }

        .quotes-text {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .quotes-text p {
            color: var(--grey);
            line-height: 1.6;
        }

        .quotes-text ul {
            list-style: none;
            padding: 0;
        }

        .quotes-text li {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            color: var(--grey);
            font-size: 0.875rem;
            margin-bottom: 0.75rem;
        }

        .quotes-text li svg {
            width: 20px;
            height: 20px;
            color: var(--gold);
            flex-shrink: 0;
            margin-top: 2px;
        }

        .quote-highlight {
            color: var(--gold);
            font-size: 0.875rem;
            font-weight: 500;
        }

        .quotes-image {
            background: rgba(255,255,255,0.05);
            border-radius: 0.75rem;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            position: relative;
        }

        .quotes-image::after {
            content: 'Click to zoom';
            position: absolute;
            inset: 0;
            background: rgba(212, 165, 116, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--dark-bg);
        }

        .quotes-image:hover::after {
            opacity: 1;
        }

        .quotes-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s;
        }

        .quotes-image:hover img {
            transform: scale(1.05);
        }

        .social-grid {
            background: var(--card-dark);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 0.75rem;
            overflow: hidden;
        }

        .social-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            padding: 2rem;
            align-items: center;
        }

        .social-text-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1.5rem;
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gold);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 600;
            transition: all 0.3s;
            padding: 0.5rem 1rem;
            border: 1px solid rgba(212,165,116,0.3);
            border-radius: 9999px;
        }

        .social-link:hover {
            color: var(--dark-bg);
            background: var(--gold);
            transform: translateY(-2px);
        }

        .social-link svg {
            width: 24px;
            height: 24px;
        }

        .social-image {
            aspect-ratio: 9/16;
            max-width: 400px;
            background: rgba(255,255,255,0.05);
            border-radius: 0.75rem;
            overflow: hidden;
            margin: 0 auto;
            cursor: pointer;
            position: relative;
        }

        .social-image::after {
            content: 'Click to zoom';
            position: absolute;
            inset: 0;
            background: rgba(212, 165, 116, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--dark-bg);
        }

        .social-image:hover::after {
            opacity: 1;
        }

        .social-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .social-image:hover img {
            transform: scale(1.05);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-left {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-image {
            max-width: 400px;
            border-radius: 0.75rem;
            overflow: hidden;
            cursor: pointer;
            position: relative;
        }

        .contact-image::after {
            content: 'Click to zoom';
            position: absolute;
            inset: 0;
            background: rgba(212, 165, 116, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--dark-bg);
        }

        .contact-image:hover::after {
            opacity: 1;
        }

        .contact-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s;
        }

        .contact-image:hover img {
            transform: scale(1.05);
        }

        .contact-info h3 {
            font-size: 1.5rem;
            color: white;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .contact-info p {
            color: var(--grey);
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .contact-items {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s;
            padding: 1rem;
            border-radius: 0.5rem;
        }

        .contact-item:hover {
            background: rgba(212,165,116,0.1);
        }

        .contact-icon {
            width: 48px;
            height: 48px;
            background: rgba(212,165,116,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s;
        }

        .contact-item:hover .contact-icon {
            background: rgba(212,165,116,0.2);
            transform: scale(1.1);
        }

        .contact-icon svg {
            width: 20px;
            height: 20px;
            color: var(--gold);
        }

        .contact-label {
            font-size: 0.875rem;
            color: var(--grey);
            margin-bottom: 0.25rem;
        }

        .contact-value {
            font-weight: 600;
            font-size: 1rem;
            color: white;
            transition: color 0.3s;
        }

        .contact-item:hover .contact-value {
            color: var(--gold);
        }

        .contact-form {
            background: var(--card-dark);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 0.75rem;
            padding: 2rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            font-size: 0.875rem;
            color: var(--grey);
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-input, .form-select, .form-textarea {
            width: 100%;
            padding: 0.75rem;
            background: var(--dark-bg);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 0.375rem;
            color: white;
            font-size: 0.875rem;
            font-family: inherit;
            transition: all 0.3s;
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: rgba(160,160,160,0.5);
        }

        .form-textarea {
            resize: none;
            min-height: 100px;
        }

        .form-input:focus, .form-select:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--gold);
            background: rgba(212,165,116,0.05);
            box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
        }

        footer {
            background: var(--darker-bg);
            border-top: 1px solid rgba(255,255,255,0.05);
            padding: 1rem 0.1rem;
        }

        .footer-content {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .footer-logo img {
            height: 48px;
            width: auto;
        }

        .footer-text {
            text-align: center;
            color: var(--grey);
            font-size: 0.875rem;
        }

        .footer-text p {
            margin-bottom: 0.5rem;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--gold);
            font-size: 1.5rem;
            cursor: pointer;
        }

        nav.mobile-active {
            display: flex !important;
            position: fixed;
            top: 60px;
            left: 0;
            right: 0;
            background: var(--darker-bg);
            flex-direction: column;
            padding: 2rem;
            gap: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .image-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            animation: fadeIn 0.3s ease;
        }

        .image-modal.active {
            display: flex;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            animation: zoomIn 0.3s ease;
        }

        @keyframes zoomIn {
            from { transform: scale(0.8); }
            to { transform: scale(1); }
        }

        .modal-content img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 0.5rem;
        }

        .modal-close {
            position: absolute;
            top: -3rem;
            right: 0;
            background: var(--gold);
            color: var(--dark-bg);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .modal-close:hover {
            transform: rotate(90deg);
            background: rgba(212, 165, 116, 0.8);
        }

        .toast {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--card-dark);
            border: 2px solid var(--gold);
            border-radius: 0.75rem;
            padding: 1.5rem 2rem;
            color: white;
            z-index: 10000;
            display: flex;
            align-items: center;
            gap: 1rem;
            transform: translateX(400px);
            transition: transform 0.3s ease;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        }

        .toast.show {
            transform: translateX(0);
        }

        .toast-icon {
            width: 24px;
            height: 24px;
            color: var(--gold);
        }

        .toast-text {
            font-size: 0.9375rem;
            font-weight: 500;
        }

        .btn-loading {
            position: relative;
            pointer-events: none;
        }

        .btn-loading::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            top: 50%;
            left: 50%;
            margin-left: -8px;
            margin-top: -8px;
            border: 2px solid var(--dark-bg);
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .scroll-fade {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .scroll-fade.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 1024px) {
            .why-choose-grid,
            .quotes-content,
            .social-content,
            .contact-grid {
                grid-template-columns: 1fr;
            }

            .why-image,
            .social-image {
                max-width: 100%;
            }
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }
           
            nav {
                display: none;
            }
           
            .header-container {
                height: 70px;
            }

            .hero {
                padding-top: 70px;
                min-height: 80vh;
            }

            .section {
                padding: 4rem 1.5rem;
            }

            .pills-container {
                grid-template-columns: 1fr;
            }

            .grid-3,
            .grid-5 {
                grid-template-columns: 1fr;
            }

            .btn {
                padding: 1rem 1.5rem;
                font-size: 1rem;
            }

            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }

            .hero-buttons .btn {
                width: 100%;
            }

            .social-links {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .header-container {
                padding: 0 1rem;
                height: 60px;
            }

            .logo-text {
                font-size: 0.65rem;
            }
            
            .hero {
                padding-top: 60px;
            }

            .section {
                padding: 1rem 1rem;
            }

            .contact-form {
                padding: 1.5rem;
            }

            .toast {
                bottom: 1rem;
                right: 1rem;
                left: 1rem;
                padding: 1rem;
            }
        }
        
        
        /* ===== BOTÃO DO CARRINHO NO HEADER ===== */
.cart-button-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid rgba(212, 165, 116, 0.3);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.cart-button-header:hover {
    background: var(--gold);
    color: var(--dark-bg);
    border-color: var(--gold);
    transform: scale(1.05);
}

.cart-button-header svg {
    width: 20px;
    height: 20px;
}

.cart-count-header {
    display: none; /* Escondido por padrão */
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark-bg);
    animation: cartBounce 0.5s ease;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mobile - Ajustes do carrinho */
@media (max-width: 768px) {
    .cart-button-header {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .cart-button-header svg {
        width: 18px;
        height: 18px;
    }
    
    .cart-count-header {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -6px;
        right: -6px;
    }
}

@media (max-width: 480px) {
    .cart-button-header {
        padding: 0.5rem 0.7rem;
    }
    
    .cart-count-header {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
    background: var(--darker-bg);
    padding: 4rem 1.5rem;
}

.video-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.22);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold, #c9a84c);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-overlay:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.6);
}

.play-btn svg {
    color: #1a1a1a;
    margin-left: 4px;
}

.video-caption {
    text-align: center;
    margin-top: 1.25rem;
    color: var(--grey, #888);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

/* ── PERFORMANCE: content-visibility for below-fold sections ──
   Tells the browser to skip layout/paint for off-screen sections,
   dramatically reducing initial render work on mobile (TBT/FCP improvement).
   contain-intrinsic-size provides a size estimate to prevent layout shifts. */
#why, #process, #finance, #social, #contact,
.video-section, #videos {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}