 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        :root {
            --primary-color: rgb(14, 83, 54);
            --secondary-color: rgb(21, 58, 42);
            --accent-color: rgb(46, 104, 80);
            --text-color: #2C3E50;
            --linght-gray: #F8F9FA;
            --border-color: #E9ECEF;
            --success-color: #0b5027;
            --error-color: rgb(13, 61, 41);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-color);
            background-color: var(--linght-gray);
            line-height: 1.6;
        }

        body.no-scroll {
            overflow: hidden;
        }

        /* --- ESTILOS DA LOJA (HEADER, PRODUTOS, ETC) --- */
        header {
            background-color: #000000;
            position: sticky;
            top: 0;
            z-index: 990;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .carousel {
    position: relative;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.color-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    background-size: cover;
    background-position: center;
    transition: 0.2s;
}

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

.color-dot.selected {
    border: 3px solid #0e5336;
    transform: scale(1.1);
}

.color-dot.color-out {
    opacity: 0.35;
    position: relative;
}

.color-dot.color-out::after {
    content: "";
    position: absolute;
    width: 130%;
    height: 2px;
    background: red;
    top: 50%;
    left: -15%;
    transform: rotate(-35deg);
}

.carousel img {
    width: 100%;
    border-radius: 10px;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.carousel .prev {
    left: 5px;
}

.carousel .next {
    right: 5px;
}     


        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }


        .logo img {
            position: relative;
            width: 4rem;
        }

        .categories-container {
            background-color: var(--secondary-color);
            display: flex;
            overflow-x: auto;
        }

        .categories-bar {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            padding: 0.5rem 1rem;
            gap: 0.5rem;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .category-btn {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            border: none;
            color: #fff;
            border-radius: 1.5rem;
            padding: 0.5rem 1rem;
            cursor: pointer;
            background: none;
            white-space: nowrap;
            font-size: 0.9rem;
        }

        .category-btn.active {
            background-color: var(--primary-color);
        }

        .hero-section {
            background: black;
            color: #fff;
            text-align: center;
            padding: 2rem 1rem;
        }

        .hero-section h2 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .hero-section p {
            font-size: 1.1rem;
        }

        footer {
            background-color: var(--secondary-color);
            color: #fff;
            text-align: center;
            padding: 2rem;
        }

        .products {
            width: 100%;
            max-width: 1200px;
            padding: 1rem;
            margin: 0 auto;
        }

        .products-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        }

        .product-card {
            background-color: #fff;
            border-radius: 1rem;
            overflow: hidden;
            cursor: pointer;
            transition: 0.3s;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .product-card:hover {
            transform: translateY(-0.5rem);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

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

        .product-info {
            padding: 1rem;
        }

        .product-name {
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }

        .product-description {
            font-size: 0.9rem;
            margin-bottom: 1rem;
            color: #6c757d;
        }

        .product-price {
            font-size: 1.4rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .product-button {
            width: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            ;
            color: #fff;
            border: none;
            padding: 0.7rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 0.3rem;
            cursor: pointer;
            transition: 0.3s;
        }

        .product-button:hover {
            background-color: #3aa9f3;
        }

        .customize-button {
    width: 100%;
    background: linear-gradient(135deg, #0e5336, #2e6850);
    color: #fff;
    border: none;
    padding: 0.7rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.3rem;
    cursor: pointer;
}

        /* --- ESTILOS DO CARRINHO --- */
        .cart-icon {
            position: relative;
            cursor: pointer;
            padding: 0.5rem;
            order: 2;
        }

        .cart-icon i {
            font-size: 1.8rem;
            color: var(--secondary-color);
        }

        .cart-badge {
            position: absolute;
            top: 0;
            right: 0;
            background-color: var(--primary-color);
            color: #fff;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 0.8rem;
            font-weight: bold;
            transform: translate(25%, -25%);
        }

        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .cart-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            max-width: 420px;
            height: 100%;
            background-color: #fff;
            box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .cart-sidebar.show {
            transform: translateX(0);
        }

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

        .cart-header h3 {
            font-size: 1.5rem;
            color: var(--secondary-color);
        }

        .close-cart-btn {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: var(--text-color);
        }

        .cart-body {
            padding: 1.5rem;
            overflow-y: auto;
            flex-shrink: 1;
        }

        .cart-footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--border-color);
            background-color: var(--linght-gray);
            overflow-y: auto;
            flex-grow: 1;
        }

        .finish-order-btn-container {
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--border-color);
            background-color: #fff;
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
        }

        .cart-body::-webkit-scrollbar,
        .cart-footer::-webkit-scrollbar {
            width: 6px;
        }

        .cart-body::-webkit-scrollbar-track,
        .cart-footer::-webkit-scrollbar-track {
            background: var(--linght-gray);
        }

        .cart-body::-webkit-scrollbar-thumb,
        .cart-footer::-webkit-scrollbar-thumb {
            background-color: #ccc;
            border-radius: 10px;
            border: 2px solid var(--linght-gray);
        }

        .cart-empty {
            text-align: center;
            padding-top: 4rem;
            color: #999;
        }

        .cart-empty i {
            font-size: 4rem;
            margin-bottom: 1rem;
            color: var(--border-color);
        }

        .cart-empty p {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .cart-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .cart-item-img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 0.5rem;
            border: 1px solid var(--border-color);
        }

        .cart-item-info {
            flex-grow: 1;
        }

        .cart-item-name {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .cart-item-price {
            font-size: 0.9rem;
            color: var(--primary-color);
            font-weight: bold;
        }

        .cart-item-controls {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .product-stock {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 5px 0;
}

.product-stock.esgotado {
    color: red;
}

.product-stock.ultimo {
    color: orange;
}

.product-stock.baixo {
    color: #c99700;
}

.product-stock.normal {
    color: green;
}

.product-button.disabled {
    background: #ccc;
    cursor: not-allowed;
    color: #666;
}

        .quantity-btn {
            background-color: var(--linght-gray);
            border: 1px solid var(--border-color);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.2s;
        }

        .quantity-btn:hover {
            background-color: #ddd;
        }

        .remove-item-btn {
            background: none;
            border: none;
            color: #f44336;
            font-size: 1.8rem;
            cursor: pointer;
            margin-left: auto;
            transition: color 0.2s;
        }

        .remove-item-btn:hover {
            color: #c23126;
        }

        .product-image-fly {
            position: fixed;
            z-index: 1001;
            border-radius: 50%;
            transition: all 0.7s cubic-bezier(0.55, 0.055, 0.675, 0.19);
            object-fit: cover;
        }

        .options-toggle {
            display: flex;
            border: 1px solid var(--border-color);
            border-radius: 1.5rem;
            overflow: hidden;
            margin-bottom: 1.5rem;
        }

        .delivery-btn {
            flex: 1;
            padding: 0.75rem;
            border: none;
            background-color: #fff;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-color);
            transition: background-color 0.3s;
        }

        .delivery-btn.active {
            background-color: var(--secondary-color);
            color: #fff;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            font-size: 1rem;
            font-family: inherit;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
            outline: none;
        }

        .form-group input.error,
        .form-group textarea.error,
        .form-group select.error {
            border-color: var(--error-color) !important;
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
        }

        .form-group input:read-only {
            background-color: #eee;
            cursor: not-allowed;
            opacity: 0.8;
        }

        .payment-options-container {
            border-top: 1px solid var(--border-color);
            margin-top: 1.5rem;
            padding-top: 1.5rem;
        }

        .payment-options-container h4 {
            font-size: 1rem;
            margin-top: 0;
            margin-bottom: 1rem;
        }

        .payment-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            margin-bottom: 0.5rem;
            cursor: pointer;
            transition: border-color 0.2s, background-color 0.2s;
        }

        .payment-option:hover {
            background-color: #fff;
        }

        .payment-option input[type="radio"] {
            width: auto;
        }

        .payment-option.selected {
            border-color: var(--primary-color);
            background-color: #fff5f0;
        }

        #troco-container {
            display: none;
            margin-top: 1rem;
            padding: 1rem;
            background-color: #fff;
            border-radius: 0.5rem;
            border: 1px solid var(--border-color);
        }

        .delivery-fee-notice {
            font-size: 0.8rem;
            text-align: center;
            color: #777;
            background-color: #fff;
            padding: 0.5rem;
            border-radius: 0.5rem;
            margin: 1.5rem 0;
        }

        .date-time-row {
            display: flex;
            gap: 1rem;
        }

        .cart-summary {
            margin: 1.5rem 0;
            border-top: 1px solid var(--border-color);
            padding-top: 1.5rem;
        }

        .summary-line {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .summary-line.total {
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--primary-color);
            margin-top: 1rem;
        }

        .coupon-container {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        #coupon-input {
            flex-grow: 1;
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            padding: 0.75rem;
            font-size: 1rem;
        }

        #apply-coupon-btn {
            border: none;
            background-color: var(--secondary-color);
            color: #fff;
            padding: 0 1.5rem;
            border-radius: 0.5rem;
            cursor: pointer;
            font-weight: 600;
            transition: background-color 0.2s;
        }

        #apply-coupon-btn:hover {
            background-color: #3e5771;
        }

        .coupon-feedback {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
            height: 1em;
        }

        .coupon-feedback.success {
            color: var(--success-color);
        }

        .coupon-feedback.error {
            color: var(--error-color);
        }

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

        .promo-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: clamp(12px, 3vw, 34px);
            min-height: 38px;
            padding: 0.55rem 1rem;
            background: #10251b;
            color: #fff;
            font-size: 0.88rem;
            font-weight: 800;
            text-align: center;
        }

        .promo-bar span {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }

        .promo-bar span::before {
            content: "🎉";
        }

        .discount-feedback {
            display: none;
            margin: 1rem 0 0;
            padding: 0.78rem 0.9rem;
            border: 1px solid #d9e6df;
            border-radius: 0.65rem;
            background: #f7faf8;
            color: #415046;
            font-size: 0.88rem;
            font-weight: 700;
        }

        .discount-feedback.show {
            display: block;
        }

        .discount-feedback.success {
            border-color: #b9dfc6;
            background: #edf8f0;
            color: #0e6b35;
        }

        .delivery-location-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 88px;
            gap: 0.75rem;
        }

        .shipping-manual-notice {
            display: grid;
            gap: 0.25rem;
            margin: 1.1rem 0;
            padding: 1rem;
            border: 1px solid #d9e6df;
            border-radius: 0.85rem;
            background: #f7faf8;
            color: #415046;
        }

        .shipping-manual-notice strong {
            color: #10251b;
            font-size: 0.95rem;
        }

        .shipping-manual-notice span {
            font-size: 0.88rem;
            font-weight: 700;
        }

        .financial-summary {
            padding: 1rem;
            border: 1px solid #e5ebe7;
            border-radius: 0.85rem;
            background: #fff;
        }

        .financial-summary .summary-line {
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.7rem;
            color: #405247;
        }

        .financial-summary .summary-line span:first-child {
            font-weight: 700;
        }

        .financial-summary .summary-line span:last-child {
            margin-left: auto;
            font-weight: 800;
            font-variant-numeric: tabular-nums;
            text-align: right;
        }

        .financial-summary .discount-line {
            color: #6b756e;
        }

        .financial-summary .discount-line.discount-active {
            color: #0e6b35;
        }

        .financial-summary .total {
            margin-top: 0.9rem;
            padding-top: 0.9rem;
            border-top: 1px solid #e5ebe7;
            color: #10251b;
            font-size: 1.18rem;
        }

        @media (max-width: 680px) {
            .promo-bar {
                flex-direction: column;
                gap: 4px;
                padding: 0.65rem 0.9rem;
                font-size: 0.8rem;
            }

            .delivery-location-grid {
                grid-template-columns: 1fr;
            }
        }

        .finish-order-btn {
            width: 100%;
            padding: 1rem;
            font-size: 1.2rem;
            font-weight: bold;
            color: #fff;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            ;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .finish-order-btn:hover:not(:disabled) {
            background-color: #27ae60;
        }

        .finish-order-btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .finish-order-btn .fa-whatsapp {
            margin-right: 0.5rem;
        }

        /* --- BARRA INFERIOR "VER CARRINHO" (RESTAURADA) --- */
        .view-cart-banner {
            position: fixed;
            bottom: -100px;
            /* Começa escondida */
            left: 0;
            width: 100%;
            background-color: var(--secondary-color);
            color: #fff;
            z-index: 980;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
            transition: bottom 0.4s ease-in-out;
        }

        .view-cart-banner.show {
            bottom: 0;
        }

        .view-cart-banner p {
            margin: 0;
            font-weight: 600;
        }

        .view-cart-banner-btn {
            background-color: var(--primary-color);
            color: #fff;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 1.5rem;
            font-weight: bold;
            cursor: pointer;
        }

        #add-to-cart {
    position: relative;
}

.btn-loading {
    display: none;
}

#add-to-cart.loading .btn-text {
    display: none;
}

#add-to-cart.loading .btn-loading {
    display: inline;
}

        .cart-personalizacao {
    font-size: 0.8rem;
    color: #555;
    background: #f8f8f8;
    padding: 0.5rem;
    border-radius: 0.4rem;
    margin: 0.5rem 0;
}

.edit-cart-item-btn {
    margin-top: 0.5rem;
    background: #111;
    color: white;
    border: none;
    padding: 0.4rem 0.7rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 0.8rem;
}



        #view-cart {
    background: #000;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

        .back-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.back-btn {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.back-btn:hover {
    background: white;
    color: black;
}

.custom-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.custom-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
}

.custom-info h1 {
    margin-bottom: 1rem;
}

.custom-info p {
    margin-bottom: 1rem;
    color: #666;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.custom-form input,
.custom-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.custom-form textarea {
    min-height: 120px;
    resize: vertical;
}

#send-custom-order {
    background: linear-gradient(135deg, #0e5336, #2e6850);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 0.5rem;
    cursor: pointer;
}

.toast-message {
    position: fixed;
    top: 90px;
    right: 20px;
    background: #0e5336;
    color: white;
    padding: 1rem 1.2rem;
    border-radius: 0.6rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: 0.3s;
    z-index: 2000;
}

.toast-message[data-type="success"] {
    background: #0e5336;
}

.toast-message[data-type="warning"] {
    background: #9a5a00;
}

.toast-message[data-type="error"] {
    background: #b00020;
}

.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

.primary-btn {
    width: 100%;
    background: linear-gradient(135deg, #0e5336, #2e6850);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: 0.2s;
}

.primary-btn:hover {
    opacity: 0.9;
}

.primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

.primary-btn.loading .btn-text {
    display: none;
}

.primary-btn.loading .btn-loading {
    display: inline;
}

#custom-model {
    padding: 0.7rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}

#custom-colors {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.admin-section {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.admin-product-card {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 0.7rem;
    margin-bottom: 0.8rem;
}

#admin-product-form {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

#admin-product-form input,
#admin-product-form select,
#admin-product-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 0.6rem;
    font-size: 1rem;
}

.admin-upload-box {
    border: 2px dashed #0e5336;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    cursor: pointer;
    background: #f8f9fa;
    font-weight: 600;
    color: #0e5336;
}

.admin-upload-box input {
    display: none;
}

.admin-image-preview {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid #ddd;
}

.admin-stock-model {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.admin-stock-model h3 {
    color: #0e5336;
    margin-bottom: 1rem;
}

.admin-stock-model label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.admin-stock-model input {
    width: 90px;
    padding: 0.5rem;
}

.stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 0.7rem;
    margin-bottom: 0.6rem;
}

.stock-row.stock-zero {
    background: #ffe8e8;
    color: #b00020;
}

.stock-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stock-actions button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #0e5336;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.stock-actions input {
    width: 70px;
    text-align: center;
    padding: 0.4rem;
}

.admin-feedback {
    margin-top: 1rem;
    color: #0e5336;
    font-weight: 700;
    opacity: 0;
    transition: 0.3s;
}

.admin-feedback.show {
    opacity: 1;
}

.admin-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f4f7f5;
    padding: 24px;
}

.admin-login-card {
    width: min(100%, 380px);
    background: #fff;
    border: 1px solid #e4e8e5;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    padding: 28px;
    display: grid;
    gap: 14px;
}

.admin-login-card h2 {
    color: #0e5336;
    margin-bottom: 6px;
}

.admin-login-form {
    display: grid;
    gap: 14px;
}

.admin-login-card input {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #d7ddd9;
    border-radius: 6px;
}

.admin-login-card input:focus {
    border-color: #0e5336;
    box-shadow: 0 0 0 3px rgba(14, 83, 54, 0.12);
    outline: none;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stock-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.admin-stock-model {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.admin-stock-model h3 {
    color: #0e5336;
    margin-bottom: 1rem;
}

.stock-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stock-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 0.7rem;
    border: 1px solid #ddd;
}

.stock-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stock-actions input {
    width: 70px;
    padding: 0.5rem;
    text-align: center;
}

.add-color-box {
    margin-top: 1rem;
    padding: 1rem;
    background: #eef5f1;
    border-radius: 0.8rem;
    display: grid;
    gap: 0.7rem;
}

.delete-color-btn {
    background: #b00020;
    color: white;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.admin-custom-product {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    display: grid;
    gap: 0.8rem;
}

.admin-custom-product strong {
    font-size: 1.05rem;
    color: #0e5336;
}

.admin-custom-product label {
    display: grid;
    gap: 0.3rem;
    font-weight: 600;
}

.admin-custom-product input[type="number"] {
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 0.6rem;
}

.admin-common-header {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-common-header .admin-image-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
}

.admin-common-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}

.admin-common-fields label,
.admin-stock-model label {
    display: grid;
    gap: 0.3rem;
    font-weight: 600;
}

.admin-common-fields input,
.admin-common-fields textarea,
.color-name-input {
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.admin-stock-model h4 {
    margin: 1rem 0 0.7rem;
    color: #0e5336;
}

.delete-common-tie-btn {
    margin-top: 1rem;
    background: #8f0018;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    cursor: pointer;
}

/* Admin dashboard */
.admin-dashboard {
    background: #f4f6f5;
    color: #1f2a24;
    min-height: 100vh;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #10251b;
    color: #fff;
    padding: 16px clamp(16px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #e9f2ed;
    color: #0e5336;
    font-weight: 800;
}

.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand small {
    color: #b8c8bf;
    margin-top: 2px;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.secondary-btn {
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    font-weight: 700;
}

.admin-topbar .back-btn {
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
}

.admin-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #dce3df;
    overflow-x: auto;
    margin-bottom: 22px;
}

.admin-tab {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #526058;
    cursor: pointer;
    font-weight: 800;
    padding: 14px 16px;
    white-space: nowrap;
}

.admin-tab.active {
    color: #0e5336;
    border-color: #0e5336;
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.admin-panel-heading h1 {
    color: #10251b;
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.admin-panel-heading p,
.admin-card p {
    color: #657169;
}

.admin-panel-heading .primary-btn {
    width: auto;
    white-space: nowrap;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 18px;
    align-items: start;
}

.admin-card {
    background: #fff;
    border: 1px solid #dfe6e2;
    border-radius: 8px;
    padding: 18px;
}

.admin-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.admin-card h2 {
    color: #10251b;
    font-size: 1.1rem;
}

.admin-form-card {
    position: sticky;
    top: 92px;
}

.admin-list {
    display: grid;
    gap: 14px;
}

.admin-tie-card {
    border: 1px solid #e1e7e3;
    border-radius: 8px;
    padding: 14px;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px;
    background: #fbfcfb;
}

.admin-tie-image {
    width: 150px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dfe6e2;
}

.admin-tie-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 10px;
}

.admin-tie-fields label,
.admin-select-label,
.stock-color-fields label {
    display: grid;
    gap: 5px;
    font-weight: 700;
    color: #2f3a34;
}

.admin-tie-fields input,
.admin-tie-fields textarea,
.admin-select-label select,
.stock-color-fields input,
.custom-form input,
.custom-form textarea {
    border-radius: 6px;
    border: 1px solid #d8e0dc;
}

.wide-field {
    grid-column: 1 / -1;
}

.compact-btn {
    width: auto;
    padding: 0.72rem 1rem;
}

.admin-empty {
    background: #f4f7f5;
    border: 1px dashed #c8d5ce;
    border-radius: 8px;
    color: #657169;
    padding: 18px;
    text-align: center;
}

.stock-detail {
    margin-top: 18px;
}

.stock-selected-header {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e1e7e3;
}

.stock-selected-img {
    width: 84px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.stock-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.stock-color-card {
    border: 1px solid #e1e7e3;
    border-radius: 8px;
    padding: 12px;
    background: #fbfcfb;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
}

.stock-color-card.stock-zero {
    border-color: #e8b8b8;
    background: #fff6f6;
}

.stock-color-img {
    width: 86px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.stock-color-fields {
    display: grid;
    gap: 9px;
}

.stock-stepper {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    gap: 6px;
}

.stock-stepper button {
    border: none;
    border-radius: 6px;
    background: #0e5336;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.admin-add-color {
    margin-top: 18px;
    background: #f2f6f4;
    border: 1px solid #dfe6e2;
}

.kits-admin-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.kits-admin-summary .primary-btn {
    width: auto;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 860px) {
    .admin-topbar,
    .admin-panel-heading,
    .kits-admin-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-grid,
    .admin-tie-card,
    .stock-color-card {
        grid-template-columns: 1fr;
    }

    .admin-form-card {
        position: static;
    }

    .admin-tie-image,
    .stock-color-img {
        width: 100%;
        max-height: 220px;
    }

    .admin-tie-fields {
        grid-template-columns: 1fr;
    }
}

.admin-custom-product.inactive {
    opacity: 0.55;
    background: #f1f1f1;
}

.admin-switch {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem !important;
}

#ties-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

#ties-list .admin-custom-product {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

#ties-list .admin-image-preview {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
}

#ties-list label {
    display: grid;
    gap: 0.3rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

#ties-list input {
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 0.6rem;
}

/* Admin UI normalization */
.admin-dashboard,
.admin-dashboard * {
    box-sizing: border-box;
}

.admin-dashboard {
    font-size: 15px;
    line-height: 1.45;
}

.admin-dashboard input,
.admin-dashboard select,
.admin-dashboard textarea,
.admin-dashboard button,
.admin-dashboard a {
    font: inherit;
}

.admin-dashboard input,
.admin-dashboard select,
.admin-dashboard textarea {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0.62rem 0.75rem;
    border: 1px solid #d8e0dc;
    border-radius: 6px;
    background: #fff;
    color: #1f2a24;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-dashboard textarea {
    min-height: 92px;
    resize: vertical;
}

.admin-dashboard input:focus,
.admin-dashboard select:focus,
.admin-dashboard textarea:focus {
    border-color: #0e5336;
    box-shadow: 0 0 0 3px rgba(14, 83, 54, 0.12);
}

.admin-dashboard label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #34443a;
}

.admin-dashboard .primary-btn,
.admin-dashboard .secondary-btn,
.admin-dashboard .back-btn,
.admin-dashboard .remove-item-btn {
    min-height: 40px;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 6px;
    padding: 0.58rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.admin-dashboard .primary-btn {
    background: #0e5336;
    color: #fff;
    border: 1px solid #0e5336;
}

.admin-dashboard .primary-btn:hover {
    opacity: 1;
    background: #0a432b;
    border-color: #0a432b;
}

.admin-dashboard .secondary-btn,
.admin-dashboard .back-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.32);
}

.admin-dashboard .secondary-btn:hover,
.admin-dashboard .back-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.admin-dashboard .remove-item-btn {
    background: #fff;
    color: #a0182d;
    border: 1px solid #efc9cf;
}

.admin-dashboard .remove-item-btn:hover {
    background: #fff3f5;
    border-color: #e6a9b3;
}

.admin-dashboard .custom-form,
.admin-dashboard .admin-form-card {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.admin-dashboard .admin-card {
    border-radius: 8px;
    padding: 16px;
    box-shadow: none;
}

.admin-dashboard .admin-card-heading {
    margin-bottom: 12px;
}

.admin-dashboard .admin-card-heading h2,
.admin-dashboard .admin-form-card h2 {
    font-size: 1rem;
    line-height: 1.2;
}

.admin-dashboard .admin-upload-box {
    min-height: 42px;
    padding: 0.75rem;
    border: 1px dashed #9cb2a6;
    border-radius: 6px;
    background: #f8faf9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0e5336;
}

.admin-dashboard .small-upload {
    min-height: 36px;
    padding: 0.52rem 0.7rem;
    font-size: 0.84rem;
    margin: 0;
}

.admin-dashboard .admin-image-preview {
    width: 112px;
    height: 112px;
    border-radius: 8px;
}

.admin-dashboard .admin-shell {
    width: min(1180px, calc(100% - 32px));
}

.admin-dashboard .admin-grid {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    gap: 16px;
}

.admin-dashboard .admin-tie-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
}

.admin-dashboard .admin-tie-image {
    width: 112px;
    border-radius: 7px;
}

.admin-dashboard .admin-tie-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.admin-dashboard .admin-switch {
    min-height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem !important;
    margin: 0;
}

.admin-dashboard .admin-switch input {
    width: 18px;
    min-height: 18px;
}

.admin-dashboard .stock-color-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.admin-dashboard .stock-color-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
}

.admin-dashboard .stock-color-img {
    width: 82px;
    border-radius: 7px;
}

.admin-dashboard .stock-color-fields {
    gap: 8px;
}

.admin-dashboard .stock-stepper {
    grid-template-columns: 34px minmax(64px, 1fr) 34px;
}

.admin-dashboard .stock-stepper button {
    min-height: 38px;
    padding: 0;
}

.admin-dashboard .stock-stepper input {
    text-align: center;
}

.admin-dashboard .admin-add-color {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    padding: 14px;
}

.admin-dashboard .admin-add-color h3 {
    grid-column: 1 / -1;
    font-size: 1rem;
    color: #10251b;
}

.admin-dashboard .admin-add-color .primary-btn {
    min-width: 130px;
}

.admin-dashboard #ties-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.admin-dashboard #ties-list .admin-custom-product {
    box-shadow: none;
    border-radius: 8px;
    padding: 12px;
    margin: 0;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
}

.admin-dashboard #ties-list .admin-image-preview {
    width: 112px;
    height: 112px;
    margin: 0;
    grid-row: span 6;
}

.admin-dashboard #ties-list label {
    margin: 0;
}

.admin-dashboard #ties-list input,
.admin-dashboard #ties-list textarea {
    width: 100%;
}

.admin-dashboard #ties-list .delete-tie-btn {
    justify-self: start;
}

.admin-dashboard .admin-kit-gallery {
    grid-column: 2 / -1;
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e1e7e3;
    border-radius: 8px;
    background: #f8faf9;
}

.admin-dashboard .admin-kit-gallery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-dashboard .admin-kit-gallery-heading span {
    color: #10251b;
    font-weight: 800;
}

.admin-dashboard .admin-kit-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 10px;
}

.admin-dashboard .admin-kit-thumb {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.admin-dashboard .admin-kit-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
}

.admin-dashboard .admin-kit-thumb.active img {
    border-color: #0e5336;
    box-shadow: 0 0 0 3px rgba(14, 83, 54, 0.12);
}

.admin-dashboard .admin-kit-thumb-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.admin-dashboard .admin-kit-thumb-actions .secondary-btn {
    border-color: #cbd8d1;
    color: #0e5336;
}

.admin-dashboard .admin-kit-thumb-actions .secondary-btn:hover {
    background: #eef5f1;
    color: #0e5336;
}

.admin-dashboard .admin-kit-thumb-actions button {
    min-height: 34px;
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
}

.admin-dashboard .admin-kit-thumb-actions button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 760px) {
    .admin-dashboard .admin-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .admin-dashboard .admin-topbar-actions {
        width: 100%;
    }

    .admin-dashboard .admin-topbar-actions > * {
        flex: 1;
    }

    .admin-dashboard .admin-panel-heading .primary-btn,
    .admin-dashboard .compact-btn,
    .admin-dashboard .kits-admin-summary .primary-btn {
        width: 100%;
    }

    .admin-dashboard .admin-grid,
    .admin-dashboard .admin-tie-card,
    .admin-dashboard .stock-color-card,
    .admin-dashboard #ties-list .admin-custom-product {
        grid-template-columns: 1fr;
    }

    .admin-dashboard .admin-tie-image,
    .admin-dashboard .stock-color-img,
    .admin-dashboard #ties-list .admin-image-preview {
        width: 100%;
        height: auto;
        max-height: 220px;
        grid-row: auto;
    }

    .admin-dashboard .admin-tie-fields,
    .admin-dashboard .admin-add-color {
        grid-template-columns: 1fr;
    }

    .admin-dashboard .admin-card-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-dashboard .admin-kit-gallery {
        grid-column: 1 / -1;
    }

    .admin-dashboard .admin-kit-gallery-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-dashboard .admin-kit-thumb-actions {
        grid-template-columns: 1fr;
    }
}

.small-upload {
    padding: 0.8rem;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.delete-tie-btn {
    background: #b00020;
    color: #fff;
    border-radius: 0.6rem;
    padding: 0.7rem;
    font-size: 0.9rem;
}

.tie-type {
    display: inline-block;
    background: #0e5336;
    color: white;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .custom-product {
        grid-template-columns: 1fr;
    }
}

        /* --- MEDIA QUERIES PARA RESPONSIVIDADE --- */
        @media (min-width: 768px) {
            .cart-icon {
                order: 3;
            }

            .categories-bar {
                justify-content: center;
            }

            .category-btn {
                padding: 0.75rem 1.5rem;
                font-size: 1rem;
            }

            .products {
                padding: 2rem;
            }

            .products-container {
                gap: 2rem;
            }

            .product-img {
                height: 250px;
            }

            .product-info {
                padding: 1.5rem;
            }

            .product-name {
                font-size: 1.2rem;
            }

            .hero-section {
                padding: 3rem 2rem;
            }

            .hero-section h2 {
                font-size: 2.5rem;
            }
        }

        /* Esconde a barra "Ver Carrinho" em telas maiores */
        @media (min-width: 769px) {
            .view-cart-banner {
                display: none;
            }
        }

/* --- HOME PREMIUM: Armazem das Gravatas --- */
.home-page {
    --lux-bg: #f8f6f2;
    --lux-black: #111111;
    --lux-ink: #2a2926;
    --lux-muted: #777067;
    --lux-aqua: #2fb7a3;
    --lux-gold: #c7a86d;
    --lux-line: rgba(17, 17, 17, 0.1);
    --lux-card: rgba(255, 255, 255, 0.74);
    background: var(--lux-bg);
    color: var(--lux-black);
    font-family: "DM Sans", Arial, sans-serif;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    letter-spacing: 0;
}

.home-page a {
    color: inherit;
}

.home-page .premium-header {
    position: sticky;
    top: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 82px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(248, 246, 242, 0.9);
    border-bottom: 1px solid var(--lux-line);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.05);
    backdrop-filter: blur(18px);
}

.home-page .premium-logo {
    width: 74px;
    height: 54px;
    border-radius: 0;
    overflow: hidden;
    background: var(--lux-black);
    display: grid;
    place-items: center;
}

.home-page .premium-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .premium-nav {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 2.4vw, 34px);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-page .premium-nav a {
    text-decoration: none;
    color: rgba(17, 17, 17, 0.72);
    transition: color 180ms ease;
}

.home-page .premium-nav a:hover {
    color: var(--lux-aqua);
}

.home-page .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.home-page .social-action,
.home-page .cart-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--lux-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--lux-black);
    display: grid;
    place-items: center;
    padding: 0;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.home-page .social-action:hover,
.home-page .cart-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 183, 163, 0.44);
    color: var(--lux-aqua);
}

.home-page .cart-icon {
    position: relative;
    cursor: pointer;
}

.home-page .cart-icon i {
    font-size: 1rem;
}

.home-page .cart-badge {
    top: -6px;
    right: -5px;
    background: var(--lux-aqua);
    color: #ffffff;
}

.home-page .premium-hero {
    position: relative;
    min-height: clamp(620px, 92vh, 860px);
    display: flex;
    align-items: flex-end;
    padding: 0 clamp(20px, 7vw, 96px) clamp(64px, 10vw, 110px);
    overflow: hidden;
    background: var(--lux-black);
    color: #ffffff;
}

.home-page .hero-video,
.home-page .premium-hero::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-page .hero-video {
    object-fit: cover;
    transform: scale(1.02);
}

.home-page .premium-hero::before {
    content: "";
    background-image: url("../assets/img/hero/hero-kit-bodas-azul-emocional.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.home-page .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.36) 48%, rgba(17, 17, 17, 0.18)),
        linear-gradient(0deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.12));
}

.home-page .hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
}

.home-page .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lux-aqua);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.home-page .section-kicker::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
}

.home-page .hero-content h1 {
    margin: 18px 0;
    font-size: clamp(3.2rem, 8vw, 7rem);
    line-height: 0.86;
}

.home-page .hero-content p {
    width: min(620px, 100%);
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.7;
}

.home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-page .premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.home-page .premium-btn:hover {
    transform: translateY(-2px);
}

.home-page .premium-btn.primary {
    background: var(--lux-aqua);
    color: #ffffff;
}

.home-page .premium-btn.secondary {
    background: #ffffff;
    color: var(--lux-black);
    border-color: rgba(255, 255, 255, 0.6);
}

.home-page .premium-btn.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
}

.home-page .trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: 1180px;
    margin: -34px auto 0;
    position: relative;
    z-index: 5;
    padding: 0 clamp(16px, 4vw, 24px);
}

.home-page .trust-bar div {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--lux-line);
    color: var(--lux-ink);
    font-weight: 800;
}

.home-page .trust-bar i {
    color: var(--lux-aqua);
}

.home-page .premium-section {
    padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.home-page .section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.home-page .section-heading .section-kicker {
    justify-content: center;
}

.home-page .section-heading h2,
.home-page .emotion-copy h2,
.home-page .vip-section h2 {
    margin: 12px 0;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.95;
    color: var(--lux-black);
}

.home-page .section-heading p,
.home-page .emotion-copy p,
.home-page .vip-section p {
    color: var(--lux-muted);
    line-height: 1.75;
}

.home-page .kit-showcase {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}

.home-page .feature-card {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lux-black);
    color: #ffffff;
}

.home-page .feature-card.large {
    grid-row: span 2;
    min-height: 700px;
}

.home-page .feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 700ms ease, opacity 200ms ease;
}

.home-page .feature-card:hover img {
    transform: scale(1.04);
    opacity: 0.72;
}

.home-page .feature-card div {
    position: absolute;
    inset: auto 0 0;
    padding: 22px;
    background: linear-gradient(0deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0));
}

.home-page .feature-card span {
    font-weight: 900;
    text-transform: uppercase;
}

.home-page .feature-card h3 {
    max-width: 520px;
    margin: 10px 0 12px;
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 1;
}

.home-page .text-link {
    color: var(--lux-aqua);
    font-weight: 900;
    text-decoration: none;
}

.home-page .products-stage {
    background: #ffffff;
    border-block: 1px solid var(--lux-line);
}

.home-page .categories-container {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 28px;
}

.home-page .categories-bar {
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
}

.home-page .category-btn {
    min-height: 44px;
    border: 1px solid var(--lux-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--lux-black);
    font-family: "DM Sans", Arial, sans-serif;
    font-weight: 900;
    box-shadow: none;
}

.home-page .category-btn.active {
    background: var(--lux-black);
    color: #ffffff;
    border-color: var(--lux-black);
}

.home-page .products {
    padding: 0;
}

.home-page .products-container {
    max-width: 1180px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 0;
}

.home-page .product-card {
    border-radius: 8px;
    border: 1px solid rgba(17, 17, 17, 0.09);
    box-shadow: 0 24px 50px rgba(17, 17, 17, 0.07);
    background: #ffffff;
    overflow: hidden;
}

.home-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(17, 17, 17, 0.12);
}

.home-page .product-img,
.home-page .carousel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: 310px;
    object-fit: cover;
    background: #f2efe9;
}

.home-page .product-info {
    padding: 20px;
}

.home-page .product-name {
    font-size: 1.45rem;
    color: var(--lux-black);
}

.home-page .product-description {
    color: var(--lux-muted);
}

.home-page .product-price {
    color: var(--lux-black);
    font-weight: 900;
}

.home-page .product-button,
.home-page .customize-button {
    border-radius: 999px;
    background: var(--lux-black);
    color: #ffffff;
    font-family: "DM Sans", Arial, sans-serif;
    font-weight: 900;
}

.home-page .customize-button {
    background: var(--lux-aqua);
}

.home-page .color-dot {
    border-color: rgba(17, 17, 17, 0.12);
}

.home-page .color-dot.selected {
    outline: 2px solid var(--lux-gold);
    border-color: #ffffff;
}

.home-page .process-section {
    background: var(--lux-bg);
}

.home-page .process-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-page .process-step {
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--lux-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
}

.home-page .process-step span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--lux-black);
    color: #ffffff;
    font-weight: 900;
}

.home-page .process-step i {
    display: block;
    margin: 28px 0 16px;
    color: var(--lux-aqua);
    font-size: 1.8rem;
}

.home-page .process-step h3 {
    margin: 0 0 10px;
    font-size: 1.55rem;
}

.home-page .process-step p {
    color: var(--lux-muted);
    line-height: 1.7;
}

.home-page .emotional-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(28px, 6vw, 84px);
    align-items: center;
    padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
    background: #ffffff;
}

.home-page .emotion-media {
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: 14px;
}

.home-page .emotion-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.home-page .emotion-media img:first-child {
    grid-row: span 2;
    min-height: 640px;
}

.home-page .emotion-copy {
    max-width: 560px;
}

.home-page .emotion-copy .premium-btn {
    margin-top: 12px;
}

.home-page .video-section {
    background: var(--lux-black);
    color: #ffffff;
}

.home-page .video-section .section-heading h2 {
    color: #ffffff;
}

.home-page .video-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-page .video-grid video {
    width: 100%;
    aspect-ratio: 9 / 14;
    object-fit: cover;
    border-radius: 8px;
    background: #000000;
}

@media (max-width: 768px) {
    .home-page .video-section {
        display: none;
    }
}

.home-page .instagram-section {
    background: var(--lux-bg);
}

.home-page .instagram-gallery {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.home-page .instagram-gallery img,
.home-page .instagram-gallery video {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-page .instagram-gallery img:hover,
.home-page .instagram-gallery video:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16);
}

@media (max-width: 600px) {
    .home-page .instagram-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.home-page .vip-section {
    max-width: 1180px;
    margin: 0 auto clamp(72px, 9vw, 120px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(30px, 6vw, 58px);
    border-radius: 8px;
    background: var(--lux-black);
    color: #ffffff;
}

.home-page .vip-section h2 {
    color: #ffffff;
}

.home-page .vip-section p {
    color: rgba(255, 255, 255, 0.72);
}

.home-page .reviews-section {
    padding-top: 0;
}

.home-page .reviews-carousel {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-page .reviews-carousel article {
    padding: 26px;
    border: 1px solid var(--lux-line);
    border-radius: 8px;
    background: #ffffff;
}

.home-page .reviews-carousel p {
    margin: 0 0 18px;
    color: var(--lux-ink);
    line-height: 1.75;
}

.home-page .reviews-carousel span {
    color: var(--lux-aqua);
    font-weight: 900;
}

.home-page .premium-footer {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 30px;
    align-items: start;
    padding: clamp(38px, 7vw, 72px) clamp(18px, 5vw, 72px);
    background: #0f0f0f;
    color: #ffffff;
}

.home-page .premium-footer img {
    width: 88px;
    height: 64px;
    object-fit: cover;
}

.home-page .premium-footer p {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

.home-page .premium-footer nav,
.home-page .footer-social {
    display: grid;
    gap: 12px;
}

.home-page .premium-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.home-page .premium-footer a:hover {
    color: var(--lux-aqua);
}

.home-page .premium-footer small {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.44);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
}

.home-page .fade-up {
    animation: homeFadeUp 700ms ease both;
}

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

@media (max-width: 1080px) {
    .home-page .premium-header {
        grid-template-columns: auto auto;
    }

    .home-page .premium-nav {
        grid-column: 1 / -1;
        order: 3;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .home-page .header-actions {
        justify-content: flex-end;
    }

    .home-page .kit-showcase,
    .home-page .process-grid,
    .home-page .video-grid,
    .home-page .instagram-gallery,
    .home-page .reviews-carousel {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-page .feature-card.large {
        grid-row: span 1;
        grid-column: span 2;
        min-height: 540px;
    }

    .home-page .emotional-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .home-page .premium-header {
        min-height: auto;
        gap: 12px;
        padding: 12px 14px;
    }

    .home-page .premium-logo {
        width: 60px;
        height: 46px;
    }

    .home-page .premium-nav {
        font-size: 0.78rem;
        gap: 16px;
    }

    .home-page .social-action {
        display: none;
    }

    .home-page .premium-hero {
        min-height: 720px;
        padding: 0 18px 56px;
    }

    .home-page .hero-overlay {
        background: linear-gradient(0deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.28));
    }

    .home-page .hero-content h1 {
        font-size: clamp(3rem, 16vw, 4.5rem);
    }

    .home-page .hero-actions,
    .home-page .vip-section {
        align-items: stretch;
        flex-direction: column;
    }

    .home-page .premium-btn {
        width: 100%;
    }

    .home-page .trust-bar,
    .home-page .kit-showcase,
    .home-page .process-grid,
    .home-page .video-grid,
    .home-page .reviews-carousel,
    .home-page .premium-footer {
        grid-template-columns: 1fr;
    }

    .home-page .trust-bar {
        margin-top: 0;
        padding: 0;
    }

    .home-page .feature-card,
    .home-page .feature-card.large {
        grid-column: auto;
        min-height: 430px;
    }

    .home-page .products-container {
        grid-template-columns: 1fr;
    }

    .home-page .product-img,
    .home-page .carousel img {
        height: 330px;
    }

    .home-page .emotion-media {
        grid-template-columns: 1fr;
    }

    .home-page .emotion-media img:first-child,
    .home-page .emotion-media img {
        min-height: 330px;
    }
}

/* --- HERO EDITORIAL COM CARROSSEL DE IMAGENS --- */
.home-page .premium-hero {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
    align-items: center;
    gap: clamp(30px, 6vw, 84px);
    padding: clamp(72px, 9vw, 116px) clamp(18px, 6vw, 86px) clamp(58px, 8vw, 92px);
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(199, 168, 109, 0.14), transparent 28%),
        linear-gradient(135deg, #f8f6f2 0%, #f4f0e9 100%);
    color: var(--lux-black);
}

.home-page .premium-hero::before,
.home-page .hero-video,
.home-page .hero-overlay {
    display: none;
}

.home-page .premium-hero::after {
    content: "";
    position: absolute;
    right: -8vw;
    bottom: -12vw;
    width: min(42vw, 560px);
    aspect-ratio: 1;
    border: 1px solid rgba(199, 168, 109, 0.26);
    border-radius: 50%;
    pointer-events: none;
}

.home-page .hero-content {
    z-index: 2;
    width: 100%;
    max-width: 640px;
    padding-top: clamp(16px, 4vw, 46px);
}

.home-page .hero-content h1 {
    margin: 18px 0;
    color: var(--lux-black);
    font-size: clamp(3.4rem, 6.9vw, 6.6rem);
    line-height: 0.88;
}

.home-page .hero-content p {
    width: min(560px, 100%);
    margin: 0 0 30px;
    color: var(--lux-muted);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.75;
}

.home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-page .hero-actions .premium-btn.secondary {
    border-color: rgba(17, 17, 17, 0.12);
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.06);
}

.home-page .hero-actions .premium-btn.ghost {
    background: transparent;
    color: var(--lux-black);
    border-color: rgba(17, 17, 17, 0.16);
}

.home-page .hero-carousel {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: clamp(520px, 64vw, 720px);
}

.home-page .hero-carousel::before {
    content: "";
    position: absolute;
    inset: 26px -18px -18px 30px;
    border: 1px solid rgba(199, 168, 109, 0.42);
    border-radius: 16px;
}

.home-page .hero-carousel::after {
    content: "Presentes com historia";
    position: absolute;
    top: 24px;
    right: 22px;
    z-index: 5;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.24);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.home-page .hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #ded7cc;
    box-shadow: 0 38px 90px rgba(17, 17, 17, 0.18);
    opacity: 0;
    animation: heroSlideFade 18s infinite;
}

.home-page .hero-slide-2 {
    animation-delay: 6s;
}

.home-page .hero-slide-3 {
    animation-delay: 12s;
}

.home-page .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    animation: heroImageZoom 18s infinite;
}

.home-page .hero-slide-2 img {
    animation-delay: 6s;
    object-position: 46% center;
}

.home-page .hero-slide-3 img {
    animation-delay: 12s;
    object-position: center 44%;
}

.home-page .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(17, 17, 17, 0.52), rgba(17, 17, 17, 0.03) 62%);
}

.home-page .hero-slide figcaption {
    position: absolute;
    left: clamp(18px, 4vw, 38px);
    right: clamp(18px, 4vw, 38px);
    bottom: clamp(18px, 4vw, 34px);
    z-index: 2;
    color: #ffffff;
}

.home-page .hero-slide figcaption span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-page .hero-slide figcaption strong {
    display: block;
    max-width: 520px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1;
}

.home-page .hero-carousel-dots {
    position: absolute;
    left: clamp(18px, 4vw, 38px);
    bottom: 14px;
    z-index: 6;
    display: flex;
    gap: 8px;
    transform: translateY(36px);
}

.home-page .hero-carousel-dots span {
    display: block;
    width: 34px;
    height: 2px;
    background: rgba(17, 17, 17, 0.22);
    overflow: hidden;
}

.home-page .hero-carousel-dots span::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--lux-aqua);
    transform-origin: left;
    transform: scaleX(0);
    animation: heroDot 18s infinite;
}

.home-page .hero-carousel-dots span:nth-child(2)::before {
    animation-delay: 6s;
}

.home-page .hero-carousel-dots span:nth-child(3)::before {
    animation-delay: 12s;
}

@keyframes heroSlideFade {
    0%, 100% {
        opacity: 0;
    }
    5%, 30% {
        opacity: 1;
    }
    36% {
        opacity: 0;
    }
}

@keyframes heroImageZoom {
    0% {
        transform: scale(1);
    }
    32% {
        transform: scale(1.045);
    }
    100% {
        transform: scale(1.045);
    }
}

@keyframes heroDot {
    0%, 33%, 100% {
        transform: scaleX(0);
    }
    5%, 30% {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .hero-slide,
    .home-page .hero-slide img,
    .home-page .hero-carousel-dots span::before {
        animation: none;
    }

    .home-page .hero-slide-1 {
        opacity: 1;
    }
}

/* --- OVERRIDE FINAL: HEADER ESCURO E INSTAGRAM COMPACTO --- */
.home-page .premium-header,
.home-page .premium-header.scrolled,
.custom-product-page .custom-premium-header,
.custom-product-page .custom-premium-header.scrolled {
    background: rgba(15, 15, 15, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px);
}

.home-page .premium-nav a,
.custom-product-page .custom-premium-nav a {
    color: rgba(255, 255, 255, 0.76);
}

.home-page .premium-nav a:hover,
.custom-product-page .custom-premium-nav a:hover {
    color: #ffffff;
}

.home-page .social-action,
.home-page .cart-icon,
.custom-product-page .cart-icon,
.home-page .mobile-menu-toggle,
.custom-product-page .custom-mobile-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.home-page .instagram-gallery {
    width: min(100%, 820px);
    max-width: 820px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-page .instagram-item,
.home-page .instagram-gallery img,
.home-page .instagram-gallery video {
    border-radius: 12px;
}

@media (max-width: 720px) {
    .home-page .instagram-gallery {
        width: min(100%, 520px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
}

/* --- CORRECAO FINAL: IMAGENS DO INSTAGRAM SEM CORTE E SEM SUMIR --- */
.home-page .instagram-gallery .instagram-item {
    aspect-ratio: 4 / 3;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    background: #f2efe9;
}

.home-page .instagram-gallery .instagram-item img,
.home-page .instagram-gallery .instagram-item video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 720px) {
    .home-page .instagram-gallery .instagram-item {
        aspect-ratio: 1 / 0.82;
    }
}

/* --- AJUSTE FINAL: INSTAGRAM MAIS BAIXO E CARROSSEL SEM SCROLL VERTICAL --- */
.home-page .instagram-gallery {
    width: min(100%, 720px);
    max-width: 720px;
}

.home-page .instagram-item,
.home-page .instagram-gallery img,
.home-page .instagram-gallery video {
    aspect-ratio: 4 / 3;
}

.home-page .instagram-gallery img,
.home-page .instagram-gallery video {
    object-fit: contain;
    object-position: center;
    background: #f2efe9;
}

.home-page .kit-carousel-track {
    overflow-x: auto;
    overflow-y: hidden;
    align-items: stretch;
}

@media (max-width: 720px) {
    .home-page .instagram-gallery {
        width: min(100%, 440px);
        gap: 8px;
    }

    .home-page .instagram-item,
    .home-page .instagram-gallery img,
    .home-page .instagram-gallery video {
        aspect-ratio: 1 / 0.82;
    }
}

/* --- AJUSTE FINAL: HEADER ESCURO E INSTAGRAM COMPACTO --- */
.home-page .premium-header,
.home-page .premium-header.scrolled,
.custom-product-page .custom-premium-header,
.custom-product-page .custom-premium-header.scrolled {
    background: rgba(15, 15, 15, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px);
}

.home-page .premium-nav a,
.custom-product-page .custom-premium-nav a {
    color: rgba(255, 255, 255, 0.76);
}

.home-page .premium-nav a:hover,
.custom-product-page .custom-premium-nav a:hover {
    color: #ffffff;
}

.home-page .social-action,
.home-page .cart-icon,
.custom-product-page .cart-icon,
.home-page .mobile-menu-toggle,
.custom-product-page .custom-mobile-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.home-page .social-action:hover,
.home-page .cart-icon:hover,
.custom-product-page .cart-icon:hover,
.home-page .mobile-menu-toggle:hover,
.custom-product-page .custom-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(47, 183, 163, 0.5);
    color: #ffffff;
}

.home-page .instagram-gallery {
    width: min(100%, 820px);
    max-width: 820px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-page .instagram-item,
.home-page .instagram-gallery img,
.home-page .instagram-gallery video {
    border-radius: 12px;
}

@media (max-width: 720px) {
    .home-page .instagram-gallery {
        width: min(100%, 520px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 1080px) {
    .home-page .premium-hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 54px;
    }

    .home-page .hero-content {
        max-width: 820px;
        padding-top: 0;
    }

    .home-page .hero-carousel {
        min-height: clamp(440px, 68vw, 650px);
    }
}

@media (max-width: 720px) {
    .home-page .premium-hero {
        min-height: auto;
        padding: 38px 16px 48px;
    }

    .home-page .hero-content h1 {
        font-size: clamp(3rem, 15vw, 4.25rem);
    }

    .home-page .hero-content p {
        font-size: 1rem;
    }

    .home-page .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-page .hero-carousel {
        min-height: 460px;
    }

    .home-page .hero-carousel::before {
        inset: 16px -8px -10px 14px;
        border-radius: 12px;
    }

    .home-page .hero-slide {
        border-radius: 12px;
    }

    .home-page .hero-slide img {
        object-position: center;
    }

    .home-page .hero-slide-1 img {
        object-position: 48% center;
    }

    .home-page .hero-slide-2 img {
        object-position: 48% center;
    }

    .home-page .hero-slide-3 img {
        object-position: center 42%;
    }

    .home-page .hero-carousel::after {
        top: 14px;
        right: 14px;
        font-size: 0.66rem;
    }

    .home-page .hero-slide figcaption {
        bottom: 24px;
    }

    .home-page .hero-carousel-dots {
        bottom: 8px;
        transform: translateY(30px);
    }
}

/* --- LIMPEZA E CONSISTENCIA DOS CARDS --- */
.home-page .header-actions {
    min-width: max-content;
}

.home-page .featured-kits .kit-showcase {
    align-items: stretch;
}

.home-page .featured-kits .feature-card {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: #ffffff;
    color: var(--lux-black);
    box-shadow: 0 22px 54px rgba(17, 17, 17, 0.08);
}

.home-page .featured-kits .feature-card.large {
    min-height: 520px;
}

.home-page .featured-kits .feature-card img {
    flex: 0 0 58%;
    height: 58%;
    min-height: 290px;
    opacity: 1;
    object-fit: cover;
}

.home-page .featured-kits .feature-card:hover img {
    opacity: 0.92;
}

.home-page .featured-kits .feature-card::after {
    content: none;
}

.home-page .featured-kits .feature-card .feature-card-content {
    position: static;
    inset: auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    min-height: 230px;
    padding: 20px;
    background: #ffffff;
}

.home-page .featured-kits .feature-card span {
    color: var(--lux-aqua);
    font-size: 0.72rem;
}

.home-page .featured-kits .feature-card h3 {
    min-height: 58px;
    margin: 0;
    color: var(--lux-black);
    font-size: clamp(1.55rem, 2.1vw, 2.15rem);
    line-height: 0.98;
}

.home-page .featured-kits .feature-card p {
    min-height: 48px;
    margin: 0;
    color: var(--lux-muted);
    line-height: 1.55;
}

.home-page .featured-kits .feature-card strong {
    display: block;
    margin-top: auto;
    color: var(--lux-black);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.home-page .featured-kits .feature-card .text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 4px;
    border-radius: 999px;
    background: var(--lux-black);
    color: #ffffff;
    font-weight: 900;
    transition: transform 180ms ease, background 180ms ease;
}

.home-page .featured-kits .feature-card .text-link:hover {
    transform: translateY(-2px);
    background: var(--lux-aqua);
}

.home-page .product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.home-page .product-card .carousel,
.home-page .product-card > .product-img {
    flex: 0 0 auto;
}

.home-page .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
}

.home-page .product-description {
    min-height: 44px;
}

.home-page .product-price {
    margin-top: auto;
}

.home-page .product-button,
.home-page .customize-button {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
}

.home-page .product-img,
.home-page .carousel img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 1080px) {
    .home-page .featured-kits .feature-card.large {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    .home-page .header-actions {
        gap: 8px;
    }

    .home-page .featured-kits .feature-card,
    .home-page .featured-kits .feature-card.large {
        min-height: auto;
    }

    .home-page .featured-kits .feature-card img {
        height: auto;
        min-height: 300px;
        aspect-ratio: 4 / 5;
    }

    .home-page .featured-kits .feature-card .feature-card-content {
        min-height: 0;
    }

    .home-page .featured-kits .feature-card h3,
    .home-page .featured-kits .feature-card p,
    .home-page .product-description {
        min-height: 0;
    }
}

/* --- VITRINE PREMIUM DOS KITS --- */
.home-page .featured-kits .kit-showcase {
    align-items: stretch;
    grid-auto-rows: minmax(420px, 1fr);
}

.home-page .featured-kits .feature-card,
.home-page .featured-kits .feature-card.large {
    position: relative;
    display: block;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    background: var(--lux-black);
    color: #ffffff;
    box-shadow: 0 24px 62px rgba(17, 17, 17, 0.12);
}

.home-page .featured-kits .feature-card.large {
    grid-row: span 2;
    min-height: 700px;
}

.home-page .featured-kits .feature-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    opacity: 0.98;
    transform: scale(1);
    transition: transform 700ms ease, opacity 240ms ease;
}

.home-page .featured-kits .feature-card:hover img {
    opacity: 0.9;
    transform: scale(1.045);
}

.home-page .featured-kits .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg, rgba(17, 17, 17, 0.68), rgba(17, 17, 17, 0.08) 58%),
        linear-gradient(90deg, rgba(17, 17, 17, 0.22), transparent 55%);
    pointer-events: none;
}

.home-page .featured-kits .feature-card .feature-card-content {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    min-height: 188px;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: clamp(20px, 3vw, 30px);
    background: linear-gradient(0deg, rgba(17, 17, 17, 0.76), rgba(17, 17, 17, 0));
}

.home-page .featured-kits .feature-card span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-page .featured-kits .feature-card h3 {
    min-height: 0;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.75rem, 2.6vw, 2.8rem);
    line-height: 0.96;
}

.home-page .featured-kits .feature-card .text-link {
    width: fit-content;
    min-height: 42px;
    margin-top: 2px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--lux-black);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(10px);
}

.home-page .featured-kits .feature-card .text-link:hover {
    background: var(--lux-aqua);
    color: #ffffff;
    border-color: var(--lux-aqua);
    transform: translateY(-2px);
}

.home-page .featured-kits .feature-card p,
.home-page .featured-kits .feature-card strong {
    display: none;
}

@media (max-width: 1080px) {
    .home-page .featured-kits .kit-showcase {
        grid-auto-rows: auto;
    }

    .home-page .featured-kits .feature-card.large {
        grid-column: span 2;
        grid-row: auto;
        min-height: 560px;
    }
}

@media (max-width: 720px) {
    .home-page .featured-kits .feature-card,
    .home-page .featured-kits .feature-card.large {
        grid-column: auto;
        min-height: 430px;
    }

    .home-page .featured-kits .feature-card img {
        aspect-ratio: auto;
    }

    .home-page .featured-kits .feature-card .feature-card-content {
        min-height: 160px;
        padding: 20px;
    }

    .home-page .featured-kits .feature-card .text-link {
        width: 100%;
    }
}

/* --- LOGO E IDENTIDADE PREMIUM --- */
.home-page .premium-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 92px;
    padding: 10px clamp(18px, 4vw, 58px);
    background: rgba(15, 15, 15, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.home-page .premium-logo {
    width: auto;
    height: 70px;
    min-width: 150px;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.home-page .premium-logo img {
    display: block;
    width: auto;
    height: 70px;
    max-width: min(230px, 32vw);
    object-fit: contain;
    object-position: center;
}

.home-page .premium-nav {
    align-items: center;
}

.home-page .premium-nav a {
    color: rgba(255, 255, 255, 0.76);
}

.home-page .premium-nav a:hover {
    color: var(--lux-aqua);
}

.home-page .header-actions {
    align-items: center;
    gap: 12px;
}

.home-page .social-action,
.home-page .cart-icon {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.home-page .social-action:hover,
.home-page .cart-icon:hover {
    border-color: rgba(47, 183, 163, 0.56);
    background: rgba(47, 183, 163, 0.12);
    color: var(--lux-aqua);
}

.home-page .premium-footer {
    background: #0f0f0f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .footer-brand {
    display: grid;
    gap: 16px;
    align-content: start;
}

.home-page .premium-footer .footer-brand img,
.home-page .premium-footer img {
    width: auto;
    height: 86px;
    max-width: 240px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 1080px) {
    .home-page .premium-header {
        grid-template-columns: auto auto;
        gap: 14px 22px;
    }

    .home-page .premium-logo {
        height: 64px;
        min-width: 132px;
    }

    .home-page .premium-logo img {
        height: 64px;
        max-width: 210px;
    }
}

@media (max-width: 720px) {
    .home-page .premium-header {
        grid-template-columns: auto auto;
        min-height: 76px;
        padding: 8px 14px;
    }

    .home-page .premium-logo {
        height: 52px;
        min-width: 108px;
    }

    .home-page .premium-logo img {
        height: 52px;
        max-width: 156px;
    }

    .home-page .premium-nav {
        grid-column: 1 / -1;
        width: 100%;
        padding-top: 2px;
    }

    .home-page .header-actions {
        justify-self: end;
    }

    .home-page .premium-footer .footer-brand img,
    .home-page .premium-footer img {
        height: 72px;
        max-width: 210px;
        object-position: left center;
    }
}

/* --- EDITORIAL SHOWCASE DE KITS PERSONALIZADOS --- */
.home-page .featured-kits .kit-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr);
    gap: clamp(22px, 3vw, 34px);
    max-width: 1180px;
    margin: 0 auto;
    align-items: stretch;
}

.home-page .kit-editorial-main {
    position: relative;
    min-height: clamp(560px, 60vw, 760px);
    overflow: hidden;
    border-radius: 12px;
    background: var(--lux-black);
    box-shadow: 0 28px 70px rgba(17, 17, 17, 0.13);
    isolation: isolate;
}

.home-page .kit-editorial-main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.08) 62%),
        linear-gradient(90deg, rgba(17, 17, 17, 0.46), rgba(17, 17, 17, 0.04) 58%);
    pointer-events: none;
}

.home-page .kit-editorial-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 800ms ease, opacity 240ms ease;
}

.home-page .kit-editorial-main:hover img {
    transform: scale(1.045);
    opacity: 0.94;
}

.home-page .kit-editorial-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: inherit;
    width: min(620px, 100%);
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
    padding: clamp(28px, 5vw, 58px);
    color: #ffffff;
}

.home-page .kit-editorial-copy span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-page .kit-editorial-copy h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.2rem, 6.2vw, 6.2rem);
    line-height: 0.86;
}

.home-page .kit-editorial-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.75;
}

.home-page .kit-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: #ffffff;
    color: var(--lux-black);
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.home-page .kit-primary-button:hover {
    transform: translateY(-2px);
    border-color: var(--lux-aqua);
    background: var(--lux-aqua);
    color: #ffffff;
}

.home-page .kit-carousel {
    position: relative;
    display: grid;
    min-width: 0;
    align-content: center;
    padding: 54px 0 56px;
}

.home-page .kit-carousel-track {
    display: flex;
    gap: 14px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(47, 183, 163, 0.55) transparent;
}

.home-page .kit-carousel-track::-webkit-scrollbar {
    height: 6px;
}

.home-page .kit-carousel-track::-webkit-scrollbar-track {
    background: rgba(17, 17, 17, 0.06);
    border-radius: 999px;
}

.home-page .kit-carousel-track::-webkit-scrollbar-thumb {
    background: rgba(47, 183, 163, 0.55);
    border-radius: 999px;
}

.home-page .kit-carousel-btn {
    position: absolute;
    z-index: 2;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: var(--lux-black);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.home-page .kit-carousel-btn:hover {
    transform: translateY(-2px);
    border-color: var(--lux-aqua);
    background: var(--lux-aqua);
    color: #ffffff;
}

.home-page .kit-carousel-btn.prev {
    right: 54px;
}

.home-page .kit-carousel-btn.next {
    right: 0;
}

.home-page .kit-mini-card {
    display: grid;
    flex: 0 0 min(86%, 330px);
    grid-template-rows: 190px auto;
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(17, 17, 17, 0.055);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-page .kit-mini-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 168, 109, 0.42);
    background: #ffffff;
}

.home-page .kit-mini-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #eee7dd;
}

.home-page .kit-mini-card div {
    padding: 16px;
}

.home-page .kit-mini-card h3 {
    margin: 0 0 5px;
    color: var(--lux-black);
    font-size: clamp(1.16rem, 1.6vw, 1.42rem);
    line-height: 1;
}

.home-page .kit-mini-card p {
    margin: 0;
    color: var(--lux-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

@media (max-width: 1080px) {
    .home-page .featured-kits .kit-showcase {
        grid-template-columns: 1fr;
    }

    .home-page .kit-carousel {
        padding-top: 0;
    }

    .home-page .kit-mini-card {
        flex-basis: min(44vw, 330px);
    }
}

@media (max-width: 640px) {
    .home-page .kit-editorial-main {
        min-height: 560px;
        border-radius: 10px;
    }

    .home-page .kit-editorial-copy {
        padding: 24px;
    }

    .home-page .kit-editorial-copy h3 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    .home-page .kit-primary-button {
        width: 100%;
    }

    .home-page .kit-carousel {
        padding: 4px 0 56px;
    }

    .home-page .kit-mini-card {
        flex-basis: 82%;
        grid-template-rows: 176px auto;
    }

    .home-page .kit-carousel-btn {
        top: auto;
        bottom: 0;
    }

    .home-page .kit-carousel-btn.prev {
        left: 0;
        right: auto;
    }

    .home-page .kit-carousel-btn.next {
        left: 54px;
        right: auto;
    }
}

/* --- MENU MOBILE PREMIUM --- */
.home-page .mobile-menu-toggle,
.home-page .mobile-menu,
.home-page .mobile-menu-overlay {
    display: none;
}

.home-page .mobile-menu-toggle,
.home-page .mobile-menu-close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.home-page .mobile-menu-toggle:hover,
.home-page .mobile-menu-close:hover,
.home-page .mobile-menu-toggle:focus-visible,
.home-page .mobile-menu-close:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(47, 183, 163, 0.6);
    background: rgba(47, 183, 163, 0.14);
    color: var(--lux-aqua);
    outline: none;
}

.home-page.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .home-page .premium-header {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }

    .home-page .premium-nav,
    .home-page .header-actions .social-action {
        display: none;
    }

    .home-page .header-actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    .home-page .mobile-menu-toggle {
        display: inline-grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .home-page .cart-icon {
        flex: 0 0 auto;
    }

    .home-page .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 950;
        display: block;
        background: rgba(0, 0, 0, 0.44);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease;
    }

    .home-page .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 960;
        display: flex;
        width: min(85vw, 360px);
        height: 100vh;
        flex-direction: column;
        gap: 4px;
        padding: 26px 22px;
        background: #111111;
        color: #ffffff;
        box-shadow: -28px 0 70px rgba(0, 0, 0, 0.32);
        transform: translateX(100%);
        transition: transform 260ms ease;
    }

    .home-page .mobile-menu::before {
        content: "Armazém das Gravatas";
        margin: 58px 0 18px;
        color: rgba(255, 255, 255, 0.58);
        font-size: 0.72rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .home-page .mobile-menu a {
        display: flex;
        align-items: center;
        min-height: 48px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.86);
        font-weight: 800;
        text-decoration: none;
        transition: color 180ms ease, transform 180ms ease;
    }

    .home-page .mobile-menu a:hover,
    .home-page .mobile-menu a:focus-visible {
        color: var(--lux-aqua);
        transform: translateX(4px);
        outline: none;
    }

    .home-page .mobile-menu-close {
        position: absolute;
        top: 18px;
        right: 18px;
        display: inline-grid;
        place-items: center;
    }

    .home-page.mobile-menu-open .mobile-menu {
        transform: translateX(0);
    }

    .home-page.mobile-menu-open .mobile-menu-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

/* --- PAGINA PREMIUM DE PRODUTO PERSONALIZADO --- */
.custom-product-page {
    --custom-bg: #f8f6f2;
    --custom-black: #111111;
    --custom-aqua: #2fb7a3;
    --custom-gold: #c7a86d;
    --custom-muted: rgba(17, 17, 17, 0.62);
    --custom-line: rgba(17, 17, 17, 0.1);
    margin: 0;
    background: var(--custom-bg);
    color: var(--custom-black);
    font-family: "DM Sans", Arial, sans-serif;
}

.custom-product-page h1,
.custom-product-page h2,
.custom-product-page h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: 0;
}

.custom-product-page .custom-premium-header {
    position: sticky;
    top: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 92px;
    padding: 10px clamp(18px, 4vw, 58px);
    background: rgba(15, 15, 15, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.custom-product-page .custom-header-logo {
    display: inline-flex;
    height: 70px;
    min-width: 150px;
    align-items: center;
}

.custom-product-page .custom-header-logo img {
    width: auto;
    height: 70px;
    max-width: min(230px, 32vw);
    object-fit: contain;
}

.custom-product-page .custom-header-nav {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 2vw, 30px);
}

.custom-product-page .custom-header-nav a,
.custom-product-page .custom-mobile-menu a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.custom-product-page .custom-header-nav a:hover,
.custom-product-page .custom-mobile-menu a:hover {
    color: var(--custom-aqua);
}

.custom-product-page .custom-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.custom-product-page .back-btn,
.custom-product-page .cart-icon,
.custom-product-page .custom-mobile-toggle,
.custom-product-page .custom-mobile-close {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.custom-product-page .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    font-weight: 900;
}

.custom-product-page .cart-icon,
.custom-product-page .custom-mobile-toggle,
.custom-product-page .custom-mobile-close {
    display: inline-grid;
    width: 44px;
    place-items: center;
}

.custom-product-page .back-btn:hover,
.custom-product-page .cart-icon:hover,
.custom-product-page .custom-mobile-toggle:hover,
.custom-product-page .custom-mobile-close:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 183, 163, 0.6);
    background: rgba(47, 183, 163, 0.14);
    color: var(--custom-aqua);
}

.custom-product-page .cart-icon {
    position: relative;
}

.custom-product-page .cart-badge {
    top: -6px;
    right: -5px;
    background: var(--custom-aqua);
    color: #ffffff;
}

.custom-product-page .custom-mobile-toggle,
.custom-product-page .custom-mobile-menu,
.custom-product-page .custom-mobile-overlay {
    display: none;
}

.custom-product-page.custom-menu-open {
    overflow: hidden;
}

.custom-product-page .custom-page {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(34px, 6vw, 74px) 0;
}

.custom-product-page .custom-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.custom-product-page .custom-gallery {
    display: grid;
    gap: 16px;
}

.custom-product-page .custom-main-media {
    position: sticky;
    top: 116px;
    overflow: hidden;
    min-height: clamp(520px, 58vw, 680px);
    border-radius: 12px;
    background: #e9e1d6;
    box-shadow: 0 28px 76px rgba(17, 17, 17, 0.12);
}

.custom-product-page .custom-main-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 17, 17, 0.34), rgba(17, 17, 17, 0) 54%);
    pointer-events: none;
}

.custom-product-page .custom-main-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    transition: transform 800ms ease;
}

.custom-product-page .custom-main-media:hover img {
    transform: scale(1.035);
}

.custom-product-page .custom-main-media span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.custom-product-page .custom-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.custom-product-page .custom-thumbs button {
    overflow: hidden;
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #e8e0d5;
    cursor: pointer;
    transition: border-color 180ms ease, transform 180ms ease;
}

.custom-product-page .custom-thumbs button:hover,
.custom-product-page .custom-thumbs button.active {
    transform: translateY(-2px);
    border-color: var(--custom-aqua);
}

.custom-product-page .custom-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-product-page .custom-info {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 58px rgba(17, 17, 17, 0.07);
}

.custom-product-page .custom-kicker,
.custom-product-page .custom-section-heading span,
.custom-product-page .custom-emotion-copy span {
    color: var(--custom-aqua);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.custom-product-page #custom-product-name {
    min-height: 64px;
    margin: 0;
    font-size: clamp(3rem, 5.6vw, 5.8rem);
    line-height: 0.86;
}

.custom-product-page #custom-product-description,
.custom-product-page .custom-emotional-copy {
    margin: 0;
    color: var(--custom-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.custom-product-page .custom-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 8px;
}

.custom-product-page #custom-product-price {
    margin: 0;
    color: var(--custom-black);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 1.45rem;
}

.custom-product-page .custom-trust-list,
.custom-product-page .custom-confidence-bar {
    display: grid;
    gap: 10px;
}

.custom-product-page .custom-trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.custom-product-page .custom-trust-list span,
.custom-product-page .custom-confidence-bar div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--custom-line);
    border-radius: 8px;
    background: rgba(248, 246, 242, 0.76);
    color: rgba(17, 17, 17, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
}

.custom-product-page .custom-trust-list i,
.custom-product-page .custom-confidence-bar i {
    color: var(--custom-aqua);
}

.custom-product-page .custom-form {
    display: grid;
    gap: 14px;
    margin-top: 6px;
}

.custom-product-page .custom-form label,
.custom-product-page .custom-field-group {
    display: grid;
    gap: 8px;
}

.custom-product-page .custom-form label > span,
.custom-product-page .custom-field-group > span {
    color: rgba(17, 17, 17, 0.76);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.custom-product-page .custom-form input,
.custom-product-page .custom-form select,
.custom-product-page .custom-form textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: var(--custom-black);
    font: inherit;
    padding: 0 14px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.custom-product-page .custom-form textarea {
    min-height: 118px;
    padding-block: 14px;
    resize: vertical;
}

.custom-product-page .custom-form input:focus,
.custom-product-page .custom-form select:focus,
.custom-product-page .custom-form textarea:focus {
    border-color: rgba(47, 183, 163, 0.72);
    box-shadow: 0 0 0 4px rgba(47, 183, 163, 0.12);
}

.custom-product-page #custom-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 52px;
    align-items: center;
}

.custom-product-page .color-dot {
    width: 48px;
    height: 48px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.14);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.custom-product-page .color-dot:hover,
.custom-product-page .color-dot.selected {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px var(--custom-aqua);
}

.custom-product-page .color-dot.color-out {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.38;
}

.custom-product-page .custom-add-btn {
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    border: none;
    border-radius: 999px;
    background: var(--custom-aqua);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.custom-product-page .custom-add-btn:hover {
    transform: translateY(-2px);
    background: #249f8d;
    box-shadow: 0 18px 36px rgba(47, 183, 163, 0.22);
}

.custom-product-page .custom-confidence-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: clamp(34px, 6vw, 70px) 0;
}

.custom-product-page .custom-confidence-bar div {
    justify-content: center;
    min-height: 64px;
    background: #ffffff;
}

.custom-product-page .custom-process-section,
.custom-product-page .custom-emotion-section {
    padding: clamp(36px, 6vw, 70px) 0;
}

.custom-product-page .custom-section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.custom-product-page .custom-section-heading h2,
.custom-product-page .custom-emotion-copy h2 {
    margin: 10px 0 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.92;
}

.custom-product-page .custom-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.custom-product-page .custom-process-grid article {
    min-height: 230px;
    padding: 24px;
    border: 1px solid var(--custom-line);
    border-radius: 10px;
    background: #ffffff;
}

.custom-product-page .custom-process-grid article > span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 999px;
    background: var(--custom-black);
    color: #ffffff;
    font-weight: 900;
}

.custom-product-page .custom-process-grid i {
    display: block;
    margin-bottom: 18px;
    color: var(--custom-aqua);
    font-size: 1.4rem;
}

.custom-product-page .custom-process-grid h3 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    line-height: 1;
}

.custom-product-page .custom-process-grid p,
.custom-product-page .custom-emotion-copy p {
    margin: 0;
    color: var(--custom-muted);
    line-height: 1.65;
}

.custom-product-page .custom-emotion-section {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
}

.custom-product-page .custom-emotion-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.custom-product-page .custom-emotion-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.custom-product-page .custom-emotion-gallery img:first-child {
    grid-row: span 2;
    height: 574px;
}

.custom-product-page .custom-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(0, 0, 0, 0.44);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.custom-product-page .custom-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 960;
    width: min(85vw, 360px);
    height: 100vh;
    flex-direction: column;
    gap: 4px;
    padding: 88px 22px 26px;
    background: #111111;
    box-shadow: -28px 0 70px rgba(0, 0, 0, 0.32);
    transform: translateX(100%);
    transition: transform 260ms ease;
}

.custom-product-page .custom-mobile-menu a {
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
}

.custom-product-page .custom-mobile-close {
    position: absolute;
    top: 18px;
    right: 18px;
}

.custom-product-page.custom-menu-open .custom-mobile-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.custom-product-page.custom-menu-open .custom-mobile-menu {
    transform: translateX(0);
}

@media (max-width: 1080px) {
    .custom-product-page .custom-header-nav {
        display: none;
    }

    .custom-product-page .custom-mobile-toggle {
        display: inline-grid;
    }

    .custom-product-page .custom-mobile-menu {
        display: flex;
    }

    .custom-product-page .custom-hero,
    .custom-product-page .custom-emotion-section {
        grid-template-columns: 1fr;
    }

    .custom-product-page .custom-main-media {
        position: relative;
        top: auto;
    }

    .custom-product-page .custom-process-grid,
    .custom-product-page .custom-confidence-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .custom-product-page .custom-premium-header {
        grid-template-columns: auto auto;
        min-height: 76px;
        padding: 8px 14px;
    }

    .custom-product-page .custom-header-logo {
        height: 52px;
        min-width: 108px;
    }

    .custom-product-page .custom-header-logo img {
        height: 52px;
        max-width: 156px;
    }

    .custom-product-page .custom-header-actions {
        gap: 8px;
    }

    .custom-product-page .back-btn {
        display: none;
    }

    .custom-product-page .custom-page {
        width: min(100% - 28px, 1180px);
        padding-top: 28px;
    }

    .custom-product-page .custom-main-media {
        min-height: 430px;
    }

    .custom-product-page .custom-info {
        padding: 20px;
    }

    .custom-product-page #custom-product-name {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .custom-product-page .custom-trust-list,
    .custom-product-page .custom-confidence-bar,
    .custom-product-page .custom-process-grid {
        grid-template-columns: 1fr;
    }

    .custom-product-page .custom-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .custom-product-page .custom-emotion-gallery {
        grid-template-columns: 1fr;
    }

    .custom-product-page .custom-emotion-gallery img,
    .custom-product-page .custom-emotion-gallery img:first-child {
        height: 320px;
    }
}

/* --- CORRECOES DE LAYOUT DA PAGINA PERSONALIZADA --- */
.custom-product-page .custom-product {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.custom-product-page .custom-main-media {
    position: relative;
    top: auto;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 420px;
    max-height: 620px;
    overflow: hidden;
    border-radius: 24px;
    background: #f8f6f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-product-page .custom-main-media img {
    transition: transform 320ms ease, opacity 180ms ease;
}

.custom-product-page .custom-main-media::after {
    content: none;
}

.custom-product-page #custom-product-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: #f8f6f2;
}

.custom-product-page .custom-main-media:hover #custom-product-img {
    transform: scale(1.025);
}

.custom-product-page .custom-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.custom-product-page .custom-thumbs button {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.custom-product-page .custom-thumbs button:hover,
.custom-product-page .custom-thumbs button.active {
    transform: translateY(-2px);
    border-color: var(--custom-aqua);
    box-shadow: 0 0 0 3px rgba(47, 183, 163, 0.14);
}

.custom-product-page .custom-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.custom-product-page .primary-btn,
.custom-product-page .custom-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    text-align: center;
    line-height: 1;
}

.custom-product-page .primary-btn .btn-text,
.custom-product-page .primary-btn .btn-loading,
.custom-product-page .custom-add-btn .btn-text,
.custom-product-page .custom-add-btn .btn-loading {
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.custom-product-page .primary-btn .btn-text,
.custom-product-page .custom-add-btn .btn-text {
    display: inline-flex;
}

.custom-product-page .primary-btn .btn-loading,
.custom-product-page .custom-add-btn .btn-loading {
    display: none;
}

.custom-product-page .primary-btn.loading .btn-text,
.custom-product-page .custom-add-btn.loading .btn-text {
    display: none;
}

.custom-product-page .primary-btn.loading .btn-loading,
.custom-product-page .custom-add-btn.loading .btn-loading {
    display: inline-flex;
}

.custom-product-page #custom-colors .color-dot {
    display: inline-block;
    flex: 0 0 auto;
    padding: 0;
    border-radius: 999px;
    background-color: #f1eee8;
    background-size: cover;
    background-position: center;
}

@media (min-width: 1081px) {
    .custom-product-page .custom-hero {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
    }
}

@media (max-width: 1080px) {
    .custom-product-page .custom-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .custom-product-page .custom-main-media {
        aspect-ratio: 1 / 1;
        min-height: 280px;
        max-height: 420px;
        border-radius: 18px;
    }

    .custom-product-page .custom-thumbs {
        gap: 8px;
    }

    .custom-product-page .primary-btn,
    .custom-product-page .custom-add-btn {
        width: 100%;
    }
}

/* --- AJUSTE DOS SELOS DE CONFIANCA DO PRODUTO --- */
.custom-product-page .custom-info .custom-trust-list {
    grid-template-columns: 1fr;
    gap: 8px;
}

.custom-product-page .custom-info .custom-trust-list span {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    min-height: 50px;
    padding: 8px 12px;
    text-align: left;
    line-height: 1.25;
}

.custom-product-page .custom-info .custom-trust-list i {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: rgba(47, 183, 163, 0.12);
}

/* --- MOTION PREMIUM REFINADO --- */
:root {
    --motion-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --motion-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .premium-header,
.custom-product-page .custom-premium-header {
    transition:
        background-color 320ms ease,
        box-shadow 320ms ease,
        border-color 320ms ease,
        backdrop-filter 320ms ease,
        transform 320ms var(--motion-smooth);
}

.home-page .premium-header.scrolled,
.custom-product-page .custom-premium-header.scrolled {
    background: rgba(248, 246, 242, 0.96);
    border-color: rgba(17, 17, 17, 0.1);
    box-shadow: 0 18px 46px rgba(17, 17, 17, 0.1);
    backdrop-filter: blur(22px);
}

.home-page .mobile-menu-toggle i,
.custom-product-page .custom-mobile-toggle i {
    transition: transform 240ms var(--motion-smooth), opacity 180ms ease;
}

.home-page.mobile-menu-open .mobile-menu-toggle i,
.custom-product-page.custom-menu-open .custom-mobile-toggle i {
    transform: rotate(90deg);
}

.home-page .premium-btn,
.home-page .product-button,
.home-page .customize-button,
.home-page .view-cart-banner-btn,
.home-page .kit-primary-button,
.home-page .kit-carousel-btn,
.primary-btn,
.secondary-btn,
.back-btn,
.quantity-btn,
.remove-item-btn,
.edit-cart-item-btn,
.custom-product-page .primary-btn {
    transition:
        transform 220ms var(--motion-smooth),
        box-shadow 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        color 220ms ease,
        opacity 220ms ease;
}

.home-page .premium-btn:hover,
.home-page .product-button:hover,
.home-page .customize-button:hover,
.home-page .view-cart-banner-btn:hover,
.home-page .kit-primary-button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.back-btn:hover,
.custom-product-page .primary-btn:hover {
    transform: translateY(-2px);
}

.home-page .premium-btn:active,
.home-page .product-button:active,
.home-page .customize-button:active,
.home-page .view-cart-banner-btn:active,
.home-page .kit-primary-button:active,
.primary-btn:active,
.secondary-btn:active,
.back-btn:active,
.quantity-btn:active,
.remove-item-btn:active,
.edit-cart-item-btn:active,
.custom-product-page .primary-btn:active {
    transform: translateY(0) scale(0.98);
}

.home-page .hero-reveal > .section-kicker,
.home-page .hero-reveal > h1,
.home-page .hero-reveal > p,
.home-page .hero-reveal > .hero-actions {
    opacity: 0;
    transform: translateY(18px);
}

.home-page .hero-reveal.is-visible > .section-kicker,
.home-page .hero-reveal.is-visible > h1,
.home-page .hero-reveal.is-visible > p,
.home-page .hero-reveal.is-visible > .hero-actions {
    animation: refinedFadeUp 720ms var(--motion-soft) both;
}

.home-page .hero-reveal.is-visible > h1 {
    animation-delay: 90ms;
}

.home-page .hero-reveal.is-visible > p {
    animation-delay: 180ms;
}

.home-page .hero-reveal.is-visible > .hero-actions {
    animation-delay: 280ms;
}

.home-page .hero-slide {
    will-change: opacity;
}

.home-page .hero-slide img {
    will-change: transform;
}

.home-page .product-card,
.home-page .kit-mini-card {
    transition:
        transform 320ms var(--motion-smooth),
        box-shadow 320ms ease,
        border-color 320ms ease,
        background-color 320ms ease;
}

.home-page .product-card .product-img,
.home-page .product-card .carousel img,
.home-page .kit-mini-card img,
.custom-product-page .custom-main-image img,
.custom-product-page .custom-thumb img {
    transition: transform 520ms var(--motion-soft), filter 320ms ease;
}

.home-page .product-card:hover .product-img,
.home-page .product-card:hover .carousel img,
.home-page .kit-mini-card:hover img,
.custom-product-page .custom-main-image:hover img,
.custom-product-page .custom-thumb:hover img {
    transform: scale(1.035);
}

.home-page .product-card .carousel,
.home-page .product-card > .product-img,
.home-page .kit-mini-card {
    overflow: hidden;
}

.home-page .instagram-gallery {
    align-items: stretch;
}

.home-page .instagram-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    color: #ffffff;
    text-decoration: none;
    isolation: isolate;
}

.home-page .instagram-item::before,
.home-page .instagram-item::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 260ms ease, transform 260ms var(--motion-smooth);
    pointer-events: none;
}

.home-page .instagram-item::before {
    content: "";
    z-index: 1;
    background: rgba(17, 17, 17, 0.34);
}

.home-page .instagram-item::after {
    content: "\f16d";
    z-index: 2;
    font-family: "Font Awesome 6 Brands";
    font-size: 2rem;
    transform: translateY(8px) scale(0.94);
}

.home-page .instagram-item:hover::before,
.home-page .instagram-item:hover::after {
    opacity: 1;
}

.home-page .instagram-item:hover::after {
    transform: translateY(0) scale(1);
}

.home-page .instagram-item img,
.home-page .instagram-item video {
    transition: transform 520ms var(--motion-soft), filter 260ms ease;
}

.home-page .instagram-item:hover img,
.home-page .instagram-item:hover video {
    transform: scale(1.035);
    filter: saturate(0.92);
}

.cart-overlay {
    transition: opacity 280ms ease, visibility 280ms ease;
}

.cart-sidebar {
    will-change: transform;
    transition: transform 420ms var(--motion-smooth);
}

.cart-item {
    animation: refinedFadeUp 360ms var(--motion-soft) both;
}

.toast-message {
    transform: translate(-50%, 12px);
    transition: opacity 260ms ease, visibility 260ms ease, transform 260ms var(--motion-smooth);
}

.toast-message.show {
    transform: translate(-50%, 0);
}

body.motion-ready .fade-up,
body.motion-ready .fade-left,
body.motion-ready .fade-right,
body.motion-ready .reveal-on-scroll {
    opacity: 0;
    animation: none;
    transition:
        opacity 620ms ease,
        transform 720ms var(--motion-soft),
        filter 620ms ease;
    transition-delay: var(--reveal-delay, 0ms);
    filter: blur(2px);
}

body.motion-ready .fade-up,
body.motion-ready .reveal-on-scroll {
    transform: translateY(22px);
}

body.motion-ready .fade-left {
    transform: translateX(-24px);
}

body.motion-ready .fade-right {
    transform: translateX(24px);
}

body.motion-ready .is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body.motion-ready .fade-up,
    body.motion-ready .fade-left,
    body.motion-ready .fade-right,
    body.motion-ready .reveal-on-scroll {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* --- OVERRIDE FINAL: HEADER ESCURO E INSTAGRAM COMPACTO --- */
.home-page .premium-header,
.home-page .premium-header.scrolled,
.custom-product-page .custom-premium-header,
.custom-product-page .custom-premium-header.scrolled {
    background: rgba(15, 15, 15, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px);
}

.home-page .premium-nav a,
.custom-product-page .custom-premium-nav a {
    color: rgba(255, 255, 255, 0.76);
}

.home-page .premium-nav a:hover,
.custom-product-page .custom-premium-nav a:hover {
    color: #ffffff;
}

.home-page .social-action,
.home-page .cart-icon,
.custom-product-page .cart-icon,
.home-page .mobile-menu-toggle,
.custom-product-page .custom-mobile-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.home-page .instagram-gallery {
    width: min(100%, 820px);
    max-width: 820px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-page .instagram-item,
.home-page .instagram-gallery img,
.home-page .instagram-gallery video {
    border-radius: 12px;
}

@media (max-width: 720px) {
    .home-page .instagram-gallery {
        width: min(100%, 520px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
}
