﻿/* Variables */
:root {
    --primary-color: #e31b23;
    --primary-color-hover: #c2171e;
    --secondary-color: #1a1a1a;
    --secondary-color-hover: #000000;
    --bg-light: #f5f5f5;
    --text-main: #333333;
    --text-fade: #666666;
    --border-color: #e1e1e1;
    --white: #ffffff;
}

/* Reset and Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Previne scroll horizontal em qualquer dispositivo */
html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23e31b23' stroke-width='1.2' opacity='0.07' d='M0,110 C180,70 360,150 540,110 C720,70 900,150 1080,110 C1260,70 1380,130 1440,110'/%3E%3Cpath fill='none' stroke='%23e31b23' stroke-width='1' opacity='0.05' d='M0,140 C220,95 440,175 660,130 C880,85 1100,165 1320,125 C1380,115 1420,120 1440,124'/%3E%3C/svg%3E");
    background-size: 100% 280px;
    background-position: center 120px;
    background-repeat: repeat-y;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-color-hover);
    color: var(--white);
}

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

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

.btn-hollow {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-hollow:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Top Utility Bar */
.top-utility-bar {
    display: none;
}

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

.utility-content a:hover {
    color: var(--primary-color);
}
.utility-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.utility-right span {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Wrapper sticky que agrupa topbar + nav + header */
.sticky-header-bar {
    position: sticky;
    top: 0;
    z-index: 700;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Main Header */
.main-header {
    padding: 22px 0;
    position: relative;
    overflow: visible;
    background: #fff;
    border-bottom: 1px solid #eceff3;
}

.main-header::before,
.main-header::after {
    content: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.main-header .logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    filter: none;
    opacity: 1;
    transform: none;
}


body.catalog-page .footer-bottom img {
    width: 240px !important;
    max-width: 240px;
    max-height: none !important;
    height: auto !important;
}

.search-bar {
    flex: 1 1 520px;
    max-width: 620px;
    min-width: 260px;
    width: 100%;
    display: flex;
    border: 1px solid #bfd8cc;
    border-radius: 3px;
    overflow: hidden;
    height: 44px;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.search-bar input {
    flex-grow: 1;
    min-width: 0;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', 'Open Sans', sans-serif;
    outline: none;
    background: #fff;
    color: #111;
}

.search-bar input::placeholder { color: #111; opacity: 0.78; }

.search-bar button {
    background-color: #050505;
    color: #fff;
    border: none;
    border-left: 1px solid #050505;
    height: 44px;
    min-width: 58px;
    padding: 0 16px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.search-bar button:hover {
    background-color: #8b0000;
}

/* -- Wishlist header button ------------------------------------------------ */
.wishlist-header-btn a {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    color: rgba(255,255,255,0.85);
    padding: 8px 10px;
    border-radius: 4px;
    transition: color .2s;
}
.wishlist-header-btn a:hover { color: #fff; }

.wishlist-header-btn .wishlist-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary-color);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* -- Wishlist heart button on cards ---------------------------------------- */
/* -- Animação de pulso ao favoritar --------------------------------------- */
@keyframes wl-heart-pop {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.38); }
    60%  { transform: scale(0.92); }
    85%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}
@keyframes wl-ripple {
    0%   { box-shadow: 0 0 0 0 rgba(237,28,36,0.35); }
    70%  { box-shadow: 0 0 0 10px rgba(237,28,36,0); }
    100% { box-shadow: 0 0 0 0 rgba(237,28,36,0); }
}

.wl-heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.74);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 18px rgba(15,23,42,0.12);
    transition: background .2s, transform .15s, color .2s, box-shadow .2s;
    color: #94a3b8;
}
.wl-heart-btn:hover {
    background: #fff;
    transform: scale(1.12);
    color: var(--primary-color);
}
.wl-heart-btn.wl-active {
    background: #fff0f1;
    color: var(--primary-color);
    box-shadow: 0 8px 18px rgba(237,28,36,0.16);
}
.wl-heart-btn.wl-active svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}
/* Dispara animação ao clicar */
.wl-heart-btn.wl-pop {
    animation: wl-heart-pop 0.45s cubic-bezier(.36,.07,.19,.97) both,
               wl-ripple 0.55s ease-out both;
}

/* -- Wishlist detail button (product page) --------------------------------- */
.wl-detail-btn {
    position: static;
    background: none;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    width: auto;
    height: auto;
    padding: 8px 16px;
    gap: 7px;
    flex-direction: row;
    color: #64748b;
    font-size: 13px;
    font-family: inherit;
    box-shadow: none;
    margin-top: 8px;
    transition: border-color .2s, color .2s, background .2s;
}
.wl-detail-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff5f5;
}
.wl-detail-btn.wl-active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff0f1;
}
.wl-detail-btn.wl-active svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}
.wl-detail-btn.wl-pop svg {
    animation: wl-heart-pop 0.45s cubic-bezier(.36,.07,.19,.97) both;
}
.wl-detail-label { font-weight: 500; }

/* -- Wishlist page header --------------------------------------------------- */
.wishlist-page-header { border-bottom: 1px solid #e9edf3; padding-bottom: 20px; }
.wishlist-page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.wishlist-page-subtitle { font-size: 14px; color: #64748b; }

.cart-btn a {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255,255,255,0.7);
    color: #fff;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', 'Open Sans', sans-serif;
    transition: background .2s, border-color .2s;
}

.cart-btn a:hover {
    background-color: rgba(255,255,255,0.12);
    border-color: #fff;
}

.cart-count {
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.2s;
}

/* Navigation Bar */
.main-nav {
    background: #1f1f1f;
    border-top: 0;
    position: relative;
    overflow: visible;
    z-index: 100;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.main-nav::before {
    content: none;
}

.main-nav::after {
    content: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
    gap: 12px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
}

.menu-btn {
    background-color: transparent;
    color: var(--white);
    border: none;
    padding: 15px 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.menu-btn:hover,
.menu-btn:focus,
.menu-btn:active {
    background-color: #9f1117;
    color: var(--white);
}

.dropdown-container {
    position: static;
    flex: 0 0 auto;
}

/* -- Premium Mega Menu ---------------------------------------------------- */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    border: 1px solid #eee;
    border-top: none;
    z-index: 200;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* -- Mega Menu: Linha de ícones horizontal no TOPO ----------------------- */
.catalog-icons-row {
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 16px 24px 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* Cada botão: círculo em cima, texto embaixo, lado a lado */
.catalog-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    font-family: 'Roboto', sans-serif;
    min-width: 90px;
}

.catalog-icon-btn:hover,
.catalog-icon-btn.active {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.catalog-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.2s;
}

.catalog-icon-btn:hover .catalog-icon-circle,
.catalog-icon-btn.active .catalog-icon-circle {
    background: #ffe5e5;
}

.catalog-icon-circle img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.catalog-icon-circle svg {
    width: 34px;
    height: 34px;
    display: block;
}

.catalog-icon-btn span {
    font-size: 12px;
    font-weight: 600;
    color: #444;
}

/* -- 3 painéis iguais abaixo da linha de ícones -------------------------- */
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 260px;
    width: 100%;
    box-sizing: border-box;
}

.catalog-col-left {
    padding: 24px 28px;
    border-right: 1px solid #f0f0f0;
    background: #fff;
}

.catalog-col-mid {
    padding: 24px 28px;
    border-right: 1px solid #f0f0f0;
    background: #fff;
}

.catalog-col-promo {
    background: #fff;
    display: flex;
    align-items: stretch;
}

.catalog-promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 28px 32px;
    gap: 20px;
}

.catalog-promo-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1;
}

.catalog-promo-label {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.catalog-promo-btn {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

.catalog-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.catalog-empty-note {
    color: #9ca3af;
    font-size: 14px;
    margin-top: 8px;
}

.catalog-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-col-list li {
    margin-bottom: 10px;
}

.catalog-col-list li a {
    font-size: 15px;
    color: #444;
    font-weight: 400;
    display: inline-block;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
}

.catalog-col-list li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.catalog-col-list li.active-item a {
    color: var(--primary-color);
    font-weight: 600;
    transform: translateX(4px);
}

/* Floating promo image */
.catalog-promo-float {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18));
    animation: floatImg 4s ease-in-out infinite;
    pointer-events: none;
}

/* Ajuste isolado: aumenta somente a imagem convite-menu.png */
.catalog-promo-float[src*="convite-menu.png"] {
    animation: floatImgConvite 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes floatImgConvite {
    0%   { transform: translateY(0) scale(1.18); }
    50%  { transform: translateY(-8px) scale(1.18); }
    100% { transform: translateY(0) scale(1.18); }
}

@keyframes floatImg {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 4px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: flex-start;
}

.nav-links li {
    flex: 0 0 auto;
}

.nav-links a {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 6px;
    font-family: 'Poppins', 'Inter', sans-serif;
    letter-spacing: 0.1px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    text-decoration: none;
    background-color: #9f1117;
}

.nav-links a:focus,
.nav-links a:active {
    background-color: #9f1117;
}

.main-nav .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
    white-space: nowrap;
}

.main-nav .nav-right a {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', 'Inter', sans-serif;
    white-space: nowrap;
}

.main-nav .nav-user-menu {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.main-nav .nav-user-menu.is-visible {
    display: inline-flex;
}

.main-nav .nav-user-greeting {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
    white-space: nowrap;
    flex: 0 0 auto;
    order: 1;
}

.main-nav .nav-user-greeting i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

.main-nav .nav-user-greeting strong {
    font-weight: 700;
    color: #fff;
}

.main-nav .nav-admin-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(120deg, #ff3040, #c81421);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(122, 9, 16, 0.28);
    transition: filter 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    flex: 0 0 auto;
    order: 2;
}

.main-nav .nav-admin-btn.is-visible {
    display: inline-flex;
}

.main-nav .nav-admin-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(122, 9, 16, 0.34);
}

.main-nav .nav-admin-btn i {
    font-size: 12px;
}

.main-nav .nav-student-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #1a1a1c 0%, #0a0a0a 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    flex: 0 0 auto;
    order: 2;
}

.main-nav .nav-student-btn.is-visible {
    display: inline-flex;
}

.main-nav .nav-student-btn:hover {
    background: linear-gradient(180deg, #2b2f36 0%, #16181d 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.main-nav .nav-student-btn i {
    font-size: 12px;
    color: #d1d5db;
}

.main-nav .nav-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 9px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    flex: 0 0 auto;
    order: 3;
}

.main-nav .nav-logout-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

@media (max-width: 1360px) {
    .nav-content {
        gap: 8px;
    }

    .nav-links {
        gap: 5px;
        padding-left: 2px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 0 5px;
    }

    .main-nav .nav-user-menu {
        gap: 6px;
    }

    .main-nav .nav-user-greeting {
        font-size: 12px;
    }

    .main-nav .nav-admin-btn {
        font-size: 11px;
        padding: 0 8px;
    }

    .main-nav .nav-student-btn {
        font-size: 11px;
        padding: 0 9px;
    }

    .main-nav .nav-logout-btn {
        font-size: 11px;
        padding: 0 8px;
    }
}

@media (max-width: 1180px) {
    .nav-content {
        gap: 6px;
    }

    .menu-btn {
        padding: 15px 12px;
        gap: 6px;
        font-size: 14px;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-links a {
        font-size: 12px;
        padding: 0 4px;
    }

    .main-nav .nav-admin-btn,
    .main-nav .nav-student-btn,
    .main-nav .nav-logout-btn {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 11px;
    }

    .main-nav .nav-user-greeting {
        font-size: 12px;
        gap: 4px;
    }
}

.main-nav .nav-right a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.hero-main {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.hero-main > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transform: none;
    animation: none;
    will-change: auto;
}

.hero-main-cta {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 22px 36px;
    border-radius: 14px;
    text-decoration: none;
    text-align: center;
    min-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: background 0.7s ease, box-shadow 0.7s ease, backdrop-filter 0.7s ease, transform 0.3s ease;
    overflow: hidden;
}

.hero-main-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transform: translateY(calc(-50% - 3px));
    color: #fff;
}

.hero-main-cta::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.hero-main-cta:hover::after {
    left: 160%;
    transition: left 0.8s ease;
}

.hero-cta-main {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.hero-cta-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 300;
    display: block;
    opacity: 0.75;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-overlay h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.hero-overlay p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-fade);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side-banner {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    flex-grow: 1;
}

.hero-side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-side-banner .hero-overlay {
    left: 20px;
    padding: 20px;
}

.hero-side-banner .hero-overlay h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Side Banner — Glassmorphism block (banner-hom1) */
.side-glass-block {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 8px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.side-glass-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.side-glass-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 5px;
    padding: 5px 12px;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: background 0.7s ease, border-color 0.7s ease, backdrop-filter 0.7s ease;
}

.side-glass-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.side-glass-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.side-glass-btn:hover::after {
    left: 160%;
    transition: left 0.6s ease;
}

/* Side Banner dark variant (banner-hom) */
.side-glass-dark {
    background: rgba(10, 10, 10, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.side-glass-dark .side-glass-title {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

.side-glass-btn-dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.side-glass-btn-dark:hover {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: rgba(255, 255, 255, 0.50);
    color: #fff;
}

/* -- Side banners: zoom + brilho no hover ---------------------------------- */
.hero-side-banner img {
    transition: transform 0.7s ease, filter 0.7s ease;
}

.hero-side-banner:hover img {
    transform: scale(1.06);
    filter: brightness(1.12);
}

/* -- Keyframes hero-float --------------------------------------------------- */
@keyframes hero-float {
    0%, 100% { transform: scale(1.04) translateY(0px); }
    50%       { transform: scale(1.04) translateY(-10px); }
}

/* Categories Section */
.categories-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

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

.product-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    width: 140px;
    height: 140px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-image-wrapper img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
}

.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    flex-grow: 1;
}

.product-card .btn {
    width: 100%;
    opacity: 0.9;
}

.product-card:hover .btn {
    opacity: 1;
    background-color: var(--primary-color);
    color: var(--white);
}

/* Promo Banner */
.promo-banner {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.promo-banner-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
}

.promo-cta-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.promo-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 36px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    min-width: 240px;
    text-align: center;
    transition: background-color 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(227,27,35,0.18);
}

.promo-cta-btn:hover {
    background-color: #b80000;
    color: #fff;
    transform: translateY(-2px);
}

.promo-cta-main {
    font-size: 17px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    line-height: 1.3;
}

.promo-cta-sub {
    font-size: 13px;
    font-weight: 400;
    display: block;
    opacity: 0.9;
}

/* Footer */
.main-footer {
    background: #222222;
    color: #cccccc;
    padding: 0 0 24px;
}

/* -- Footer Top: barra de contato ------------------------------------------- */

.footer-top {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid #333333;
    margin-bottom: 0;
    overflow: hidden;
}

.footer-top-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1400px !important;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
    min-width: 0;
    padding: 0 28px;
    border-right: 1px solid #333333;
}

.footer-contact-item:first-child {
    padding-left: 0;
}

.footer-contact-item:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-contact-icon {
    color: #ED1C24;
    font-size: 16px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1 1 auto;
}

.footer-contact-text > span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-contact-label {
    color: #888888;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.footer-contact-item span {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
}

/* -- Footer Columns --------------------------------------------------------- */
.footer-content {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding: 44px 0 36px;
    margin-bottom: 0;
}

.footer-brand-logo {
    flex: 0 1 220px;
    padding-top: 6px;
}

.footer-brand-logo a {
    display: inline-flex;
    align-items: center;
}

.footer-brand-logo img {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.28));
}

.footer-col {
    flex: 1 1 220px;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col-spacer {
    visibility: hidden;
    pointer-events: none;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.main-footer a {
    color: #cccccc;
}

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

.footer-col-links {
    flex: 1.6 1 540px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 18px 34px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-label {
    font-size: 13px;
    color: #aaaaaa;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background-color: #2a2a2a;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.social-icons a:hover {
    background-color: #ED1C24;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(237, 28, 36, 0.45);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-side {
        flex-direction: row;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        gap: 32px;
    }

    .footer-brand-logo,
    .footer-col-links,

    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        margin: 0 auto;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        display: none;
    }

    .mega-menu {
        width: 100vw;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
    }

    .hero-side {
        flex-direction: column;
    }

    .hero-main {
        flex-direction: column;
    }

    .hero-main-text {
        flex: 0 0 auto;
        padding: 28px 24px;
    }

    .hero-main-image {
        min-height: 220px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-brand-logo,
    .footer-col,
    .footer-col-links,

    .footer-brand-logo {
        display: flex;
        justify-content: center;
        padding-top: 0;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-social,
    .social-icons {
        align-items: center;
        justify-content: center;
    }
}

/* -- Breadcrumb ----------------------------------------------------------- */
.breadcrumb-bar {
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 13px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: #333;
    font-weight: 600;
}

/* — Cartão Showcase Video — */
.cartao-showcase {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.cartao-showcase-inner {
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 10px 24px rgba(0, 0, 0, 0.10),
        0 20px 50px rgba(0, 0, 0, 0.14);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.35s ease;
    will-change: transform;
}

.cartao-showcase-inner:hover {
    transform: scale(1.02) translateY(-4px);
    filter: brightness(1.05);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.08),
        0 16px 36px rgba(0, 0, 0, 0.14),
        0 32px 64px rgba(0, 0, 0, 0.18);
}

.cartao-showcase-inner video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    mix-blend-mode: screen;
}

/* -- Embalagens Showcase — vitrine premium dark ----------------------------- */
.emb-showcase {
    position: relative;
    background: #0b0b0f;
    padding: 100px 0;
    overflow: hidden;
    width: 100%;
    margin: 0;
}
.emb-showcase-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 26% 58%, rgba(180, 16, 28, 0.17) 0%, transparent 68%),
        radial-gradient(ellipse 48% 52% at 74% 40%, rgba(90, 0, 140, 0.10) 0%, transparent 68%);
    pointer-events: none;
}
.emb-showcase-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

/* Cabeçalho */
.emb-showcase-header { text-align: center; }
.emb-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 16px;
}
.emb-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.4px;
    margin-bottom: 12px;
    line-height: 1.2;
}
.emb-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* Vídeos */
.emb-videos-row {
    display: flex;
    gap: 36px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.emb-video-card {
    position: relative;
    max-width: 480px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 24px 64px rgba(0, 0, 0, 0.6);
    /* Estado inicial para fade-in */
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.75s ease, transform 0.75s ease, box-shadow 0.4s ease;
}
.emb-video-card:nth-child(2) { transition-delay: 0.18s; }
.emb-video-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}
.emb-video-card.is-visible:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 32px 80px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease;
}
.emb-video-card video {
    display: block;
    width: 100%;
    height: auto;
}

/* CTA */
.emb-showcase-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease 0.34s, transform 0.65s ease 0.34s;
}
.emb-showcase-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.emb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
    box-shadow: 0 4px 22px rgba(227, 27, 35, 0.32);
}
.emb-cta-btn:hover {
    background: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(227, 27, 35, 0.46);
    color: #fff;
}

@media (max-width: 768px) {
    .emb-showcase { padding: 64px 0; }
    .emb-title { font-size: 24px; }
    .emb-videos-row { gap: 20px; }
    .emb-video-card { max-width: 100%; }
}

/* -- Category Banner ------------------------------------------------------ */
.category-banner-wrap {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 0;
    overflow: visible;
    border: 0;
    background: #fff;
}

.category-banner {
    width: 100%;
    height: auto;
    transform: none;
    display: block;
    border-radius: 0;
}

.category-result-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 16px;
}

/* -- Category Page Layout ------------------------------------------------- */
.category-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 60px;
    align-items: start;
}

.category-sidebar {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #eceff4;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(2px);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.sidebar-section {
    margin-bottom: 16px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* -- Sidebar: header ------------------------------------------------------- */
.sidebar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}
.sidebar-header-icon {
    font-size: 14px;
    color: var(--primary-color);
}
.sidebar-header .sidebar-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.sidebar-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.filter-clear-btn {
    font-size: 11px;
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    opacity: 0.75;
    transition: opacity 0.15s;
}
.filter-clear-btn:hover { opacity: 1; }

/* -- Sidebar: coming soon (convites) --------------------------------------- */
.sidebar-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 16px 24px;
    background: linear-gradient(145deg, #181818 0%, #242424 100%);
    border-radius: 10px;
    border: 1px solid rgba(227, 27, 35, 0.28);
    box-shadow: 0 4px 22px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.04);
}
.coming-soon-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(227, 27, 35, 0.1);
    border: 1px solid rgba(227, 27, 35, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 14px;
    box-shadow: 0 0 16px rgba(227, 27, 35, 0.15);
}
.coming-soon-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}
.coming-soon-sub {
    font-size: 11.5px;
    color: #777;
    line-height: 1.55;
}

/* -- Range Slider ---------------------------------------------------------- */
.range-slider-wrap {
    position: relative;
    height: 38px;
    margin: 14px 0 6px;
}
.range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
}
.range-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}
.range-input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    height: 38px;
    margin: 0;
    padding: 0;
}
.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(227, 27, 35, 0.25);
    cursor: pointer;
    pointer-events: all;
    transition: box-shadow 0.2s, transform 0.15s;
}
.range-input::-webkit-slider-thumb:hover,
.range-input:active::-webkit-slider-thumb {
    box-shadow: 0 0 0 5px rgba(227, 27, 35, 0.18);
    transform: scale(1.15);
}
.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(227, 27, 35, 0.25);
    cursor: pointer;
    pointer-events: all;
}
.range-input::-moz-range-track { background: transparent; }

/* -- Price number inputs --------------------------------------------------- */
.price-inputs-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.price-field {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #dde1e8;
    border-radius: 8px;
    padding: 7px 10px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 0;
}
.price-field:focus-within {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
}
.price-prefix {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    margin-right: 4px;
    flex-shrink: 0;
}
.price-number-input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 13px;
    color: #222;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.price-number-input::-webkit-inner-spin-button,
.price-number-input::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; }
.price-dash { color: #ccc; font-size: 13px; flex-shrink: 0; }

/* -- Filter checkboxes ----------------------------------------------------- */
.filter-checks {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.filter-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 7px 8px;
    border-radius: 8px;
    transition: background 0.15s;
    user-select: none;
    position: relative;
}
.filter-check-label:hover { background: #f5f5f5; }
.filter-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.filter-check-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.filter-check-icon {
    font-size: 9px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.15s;
}
.filter-check-input:checked + .filter-check-box {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(227, 27, 35, 0.3);
}
.filter-check-input:checked + .filter-check-box .filter-check-icon { opacity: 1; }
.filter-check-text {
    font-size: 13px;
    color: #555;
    flex: 1;
    transition: color 0.15s, font-weight 0.15s;
}
.filter-check-input:checked ~ .filter-check-text {
    color: #1a1a1a;
    font-weight: 600;
}
.filter-check-count {
    font-size: 11px;
    color: #aaa;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 1px 8px;
    min-width: 26px;
    text-align: center;
    transition: background 0.15s, color 0.15s;
}
.filter-check-input:checked ~ .filter-check-count {
    background: rgba(227, 27, 35, 0.1);
    color: var(--primary-color);
}

/* -- Scroll da lista de Tipos ---------------------------------------------- */
#filter-items-section .filter-checks {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
#filter-items-section .filter-checks:hover {
    scrollbar-color: var(--primary-color) transparent;
}
/* Chrome / Edge / Safari */
#filter-items-section .filter-checks::-webkit-scrollbar {
    width: 4px;
}
#filter-items-section .filter-checks::-webkit-scrollbar-track {
    background: transparent;
}
#filter-items-section .filter-checks::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
    transition: background 0.2s;
}
#filter-items-section .filter-checks:hover::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

.category-content {
    min-width: 0;
}

.category-page-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.catalog-view-toggle {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}

.catalog-sort-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.catalog-sort-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.catalog-sort-select-wrap::after {
    content: '\f078';
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #111827;
    font-family: 'Font Awesome 6 Free';
    font-size: 11px;
    font-weight: 900;
    pointer-events: none;
}

.catalog-sort-select {
    min-width: 170px;
    height: 38px;
    padding: 0 38px 0 15px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.catalog-sort-select:hover,
.catalog-sort-select:focus {
    border-color: rgba(31, 31, 34, 0.42);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    outline: none;
}

.catalog-view-btn {
    display: none;
}

/* -- Product Cards in Category Page -------------------------------------- */
.produtos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.produto {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.produto:hover {
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
    border-color: rgba(227, 27, 35, 0.16);
    transform: translateY(-6px);
}

.produto-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.produto-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, #faf7f5 0%, #f4efec 100%);
    position: relative;
}

.produto-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 7px;
    border-radius: 3px;
}

.produto-img-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    transition: transform .45s ease;
}

/* Imagem completa (sem crop) — usada em cards com arte real */
.produto-img-wrap img.img-contain {
    object-fit: contain;
    object-position: center;
    background: #f5f5f5;
}

.produto:hover .produto-img-wrap img {
    transform: scale(1.06);
}

.produto--catalog-simple .produto-img-wrap {
    aspect-ratio: 1 / 1;
    padding: 0;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, #faf7f5 0%, #f4efec 100%);
}

.produto--catalog-simple .produto-img-wrap img {
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.produto--catalog-simple .produto-info {
    padding: 20px 20px 22px;
    gap: 9px;
}

.produto--catalog-simple .produto-nome {
    font-size: 18px;
}

.produto--catalog-simple .produto-price {
    font-size: 21px;
}

.produto--convite .produto-img-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, #faf7f5 0%, #f4efec 100%);
    overflow: hidden;
}

.produto--convite .produto-img-wrap img {
    object-fit: cover;
    object-position: center;
    padding: 0;
    border-radius: 0;
}

.produto-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 7px;
}

.produto-nome {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.35;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.produto-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
}

.produto-stars {
    font-size: 12px;
    letter-spacing: 0.16em;
    color: #c79a2b;
    margin: 0;
}

.produto-price {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

.produto-price--fallback {
    color: #4b5563;
    font-size: 16px;
    font-weight: 750;
}

.produto-parcel {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.2;
}

.produto-rating__value {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.produto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 11px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #c91322 0%, #e31b23 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(201, 19, 34, 0.22);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    user-select: none;
}

.produto:hover .produto-btn {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(201, 19, 34, 0.32);
    filter: brightness(1.05);
}

.no-products {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
    color: #64748b;
    padding: 44px 24px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.no-products strong {
    color: #111827;
    font-size: 18px;
}

.no-products span {
    max-width: 460px;
    font-size: 14px;
    line-height: 1.5;
}

/* -- Category catalog desktop premium ------------------------------------- */
@media (min-width: 769px) {
    .container.category-layout {
        max-width: 1500px;
        padding: 48px 32px 72px;
    }

    .category-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 36px;
    }

    .category-sidebar {
        position: sticky;
        top: 172px;
        width: 260px;
        padding: 24px 20px;
        border-radius: 16px;
        border-color: rgba(226, 232, 240, 0.92);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
    }

    .sidebar-header {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    .sidebar-title {
        font-size: 17px;
    }

    .sidebar-section {
        margin-bottom: 22px;
    }

    .category-page-title {
        margin-bottom: 18px;
        font-size: 30px;
        line-height: 1.2;
    }

    .category-result-text {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .catalog-view-toggle {
        justify-content: flex-end;
        gap: 8px;
        margin: -4px 0 18px;
    }

    .catalog-view-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 36px;
        padding: 0 13px;
        border: 1px solid rgba(148, 163, 184, 0.38);
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.92);
        color: #475569;
        font-family: 'Inter', 'Open Sans', sans-serif;
        font-size: 12px;
        font-weight: 750;
        letter-spacing: 0;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
        transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .catalog-view-btn i {
        font-size: 13px;
    }

    .catalog-view-btn:hover {
        border-color: rgba(31, 31, 34, 0.34);
        color: #1f1f22;
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    }

    .catalog-view-btn.is-active {
        border-color: #1f1f22;
        background: #1f1f22;
        color: #fff;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    }

    .catalog-product-grid {
        /* Trocar de 4 para 3 aqui, ou adicionar .three-columns no grid. */
        --catalog-columns: 4;
        grid-template-columns: repeat(var(--catalog-columns), minmax(0, 1fr));
        gap: 30px 26px;
        align-items: stretch;
    }

    .catalog-product-grid.three-columns {
        --catalog-columns: 3;
    }

    .catalog-product-grid.columns-4 {
        --catalog-columns: 4;
    }

    .catalog-product-grid.columns-3 {
        --catalog-columns: 3;
    }

    .catalog-product-grid .produto {
        min-height: 100%;
        border-radius: 18px;
        border-color: rgba(226, 232, 240, 0.82);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    }

    .catalog-product-grid .produto:hover {
        transform: translateY(-7px);
        box-shadow: 0 26px 54px rgba(15, 23, 42, 0.14);
    }

    .catalog-product-grid .produto-img-wrap,
    .catalog-product-grid .produto--catalog-simple .produto-img-wrap,
    .catalog-product-grid .produto--convite .produto-img-wrap {
        aspect-ratio: auto;
        height: clamp(280px, 21vw, 330px);
    }

    .catalog-product-grid .produto-info,
    .catalog-product-grid .produto--catalog-simple .produto-info {
        padding: 22px 22px 24px;
        gap: 10px;
    }

    .catalog-product-grid .produto-nome,
    .catalog-product-grid .produto--catalog-simple .produto-nome {
        font-size: 19px;
        line-height: 1.32;
    }

    .catalog-product-grid .produto-price,
    .catalog-product-grid .produto--catalog-simple .produto-price {
        font-size: 24px;
        line-height: 1.08;
    }

    .catalog-product-grid .produto-parcel {
        font-size: 13px;
    }

    .catalog-product-grid .produto-btn {
        min-height: 50px;
        width: 100%;
        padding: 14px 20px;
        border-radius: 11px;
        background: #1f1f22;
        font-size: 14px;
        color: #fff;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.15);
    }

    .catalog-product-grid .produto:hover .produto-btn {
        background: #2b2b31;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
        filter: none;
    }

    .catalog-product-grid .wl-heart-btn {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 993px) and (max-width: 1280px) {
    .catalog-product-grid:not(.columns-3):not(.columns-4) {
        --catalog-columns: 3;
    }

    .catalog-product-grid .produto-img-wrap,
    .catalog-product-grid .produto--catalog-simple .produto-img-wrap,
    .catalog-product-grid .produto--convite .produto-img-wrap {
        height: 300px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .container.category-layout {
        max-width: 900px;
        padding: 36px 24px 60px;
    }

    .category-sidebar {
        position: static;
        width: 100%;
    }

    .catalog-product-grid {
        --catalog-columns: 2;
        gap: 24px;
    }

    .catalog-product-grid .produto-img-wrap,
    .catalog-product-grid .produto--catalog-simple .produto-img-wrap,
    .catalog-product-grid .produto--convite .produto-img-wrap {
        height: 300px;
    }
}

/* -- Coming Soon Section -------------------------------------------------- */
.category-layout.coming-soon-layout {
    grid-template-columns: 1fr;
}

.coming-soon-section {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 40px;
    text-align: center;
    gap: 22px;
    animation: comingSoonFadeUp 0.5s ease both;
}

.coming-soon-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(152, 26, 32, 0.10);
    color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(152, 26, 32, 0.10);
    animation: comingSoonPulse 3.2s ease-in-out infinite;
    flex-shrink: 0;
}

.coming-soon-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.coming-soon-subtitle {
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-size: 16px;
    color: #6b7280;
    max-width: 400px;
    line-height: 1.65;
    margin: 0;
    font-weight: 400;
}

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

@keyframes comingSoonPulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 8px 32px rgba(152, 26, 32, 0.10); }
    50%       { transform: scale(1.07); box-shadow: 0 14px 40px rgba(152, 26, 32, 0.18); }
}

/* -- Wishlist page specific layout ----------------------------------------- */
.wishlist-main {
    padding-top: 26px;
    padding-bottom: 54px;
}

.wishlist-page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.wishlist-clear-btn {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.wishlist-clear-btn:hover {
    border-color: #fca5a5;
    color: #b91c1c;
    background: #fff5f5;
}

#wishlist-grid.produtos {
    margin-top: 18px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

#wishlist-grid .produto-img-wrap img {
    object-fit: contain;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .wishlist-page-title-row {
        flex-direction: column;
        align-items: stretch;
    }

    .wishlist-clear-btn {
        width: 100%;
        justify-content: center;
    }
}

/* -- Product Page --------------------------------------------------------- */
.product-page {
    display: grid;
    grid-template-columns: 52% 1fr;
    gap: 36px;
    padding-top: 28px;
    padding-bottom: 60px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
}

.gallery-viewer {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
}

.gallery-main-wrap {
    position: relative;
    flex: 1;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.06);
}

.gallery-main {
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    display: block;
    padding: 16px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid #d8dee8;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
    z-index: 2;
    color: #4b5563;
}

.gallery-arrow:hover {
    background: #fff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.16);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 78px;
    width: 78px;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: none;
}

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

.gallery-thumb {
    width: 78px;
    height: 78px;
    border: 2px solid #e6eaf0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.gallery-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12);
}

.gallery-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product info panel */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-head {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
}

.product-head-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.3px;
    font-family: 'Poppins', 'Inter', sans-serif;
    flex: 1;
}

.product-code {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* -- Price Preview (populated by JS) ------------------------------------ */
.product-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin: 14px 0;
    flex-wrap: wrap;
}

.product-price-main {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.product-price-installment {
    font-size: 12px;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 20px;
}

.product-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    margin-top: 0;
}

.product-alert {
    background: #fff7eb;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    color: #92400e;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 10px;
}

.product-options-section {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
}

.options-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.options-divider {
    height: 1px;
    background: #e5e7eb;
    margin-bottom: 16px;
}

.options-question {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.model-picker-group {
    margin-bottom: 16px;
}

.model-picker-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 10px;
}

.model-card {
    border: 1.5px solid #d8dde6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.model-card:hover {
    border-color: #a7b0be;
}

.model-card.active {
    border-color: #4b5563;
    box-shadow: 0 0 0 2px rgba(75, 85, 99, 0.15);
}

.model-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 4px;
    height: 72px;
    overflow: hidden;
}

.model-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.model-card-label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    text-align: center;
    line-height: 1.2;
    min-height: 14px;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
    text-align: center;
}

.option-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
}

.option-btn.active {
    border-color: var(--primary-color);
    background: #fff5f5;
    color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12);
}

/* Quantity selector */
.qty-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.qty-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.qty-btn:last-child {
    grid-column: 1 / -1;
}

.qty-btn:hover:not(.active) {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.05);
}

.qty-btn.active {
    border-color: var(--primary-color);
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12);
}

.qty-units {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.qty-price {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

@media (max-width: 700px) {
    .qty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .qty-btn:last-child {
        grid-column: 1 / -1;
    }
}

/* Gabarito download section */
/* ----------------------------------------------------
   Product Template Download — bloco lateral de gabarito
   ---------------------------------------------------- */

.product-template-download {
    margin-top: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    font-family: inherit;
}

/* Faixa do título — fundo branco, texto itálico */
.ptd-header {
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

/* Caixa azul clara informativa */
.ptd-info {
    background: #dbeafe;
    padding: 11px 14px;
    border-bottom: 1px solid #bfdbfe;
}

.ptd-info p {
    margin: 0;
    font-size: 11.5px;
    color: #1e3a8a;
    line-height: 1.5;
}

/* Linha com os 3 ícones */
.ptd-icons {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
}

/* Botão individual (link de download) */
.ptd-icon-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.ptd-icon-btn:hover { transform: translateY(-3px); }

/* -- Card de arquivo ------------------------------- */
.ptd-file-card {
    width: 46px;
    height: 56px;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    background: #f9fafb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    transition: box-shadow 0.15s, border-color 0.15s;
    position: relative;
}

.ptd-icon-btn:hover .ptd-file-card {
    box-shadow: 0 4px 12px rgba(0,0,0,0.16);
}

/* Triângulo de canto dobrado (top-right) */
.ptd-file-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 11px 11px 0;
    border-color: transparent #e5e7eb transparent transparent;
    z-index: 1;
}

/* Área do ícone Font Awesome */
.ptd-file-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    padding-top: 2px;
    color: #9ca3af;
}

/* Badge colorida (PDF / PSD / CDR) */
.ptd-file-footer {
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #fff;
    flex-shrink: 0;
}

/* -- Cores por formato ----------------------------- */
.ptd-icon-btn--pdf   .ptd-file-footer { background: #dc2626; }
.ptd-icon-btn--psd   .ptd-file-footer { background: #2563eb; }
.ptd-icon-btn--corel .ptd-file-footer { background: #16a34a; }

.ptd-icon-btn--pdf   .ptd-file-body { color: #ef4444; }
.ptd-icon-btn--psd   .ptd-file-body { color: #3b82f6; }
.ptd-icon-btn--corel .ptd-file-body { color: #22c55e; }

.ptd-icon-btn--pdf:hover   .ptd-file-card { border-color: #fca5a5; }
.ptd-icon-btn--psd:hover   .ptd-file-card { border-color: #93c5fd; }
.ptd-icon-btn--corel:hover .ptd-file-card { border-color: #86efac; }

@media (max-width: 768px) {
    .product-template-download { margin-top: 10px; }
    .ptd-icons { gap: 14px; }
    .ptd-file-card { width: 52px; height: 62px; }
    .ptd-file-body { font-size: 22px; }
    .ptd-file-footer { height: 18px; font-size: 9px; }
}

/* File upload section */
.upload-group { margin-top: 4px; }

.upload-area {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.upload-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-controls {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.upload-filename {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
}

.upload-filename.has-file {
    color: #333;
}

.upload-btn {
    padding: 10px 22px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.upload-btn:hover {
    background: var(--primary-color-hover);
}

.upload-info {
    margin-top: 14px;
    background: #fff9f9;
    border: 1px solid #f4c7ca;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.upload-info p { margin: 0; }
.upload-info strong { color: #333; }

/* -- Order summary --------------------------------------------------------- */
.summary-sub {
    font-size: 13px;
    color: #64748b;
    margin: 10px 0 10px;
}
.summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 16px;
}
.summary-table th,
.summary-table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
}
.summary-table thead tr { background: #f8fafc; }
.summary-table th { font-weight: 600; color: #1e293b; }
.summary-table tbody tr { background: #fff; }
.summary-total-box {
    background: linear-gradient(180deg, #fff6f6 0%, #ffeaea 100%);
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #7f1d1d;
    margin-bottom: 16px;
}
.summary-total-label { color: #555; font-weight: 400; }
.summary-terms {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    margin-bottom: 14px;
    cursor: pointer;
}
.summary-terms-link { color: #3a6fa8; text-decoration: underline; }
.summary-buy-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}
.summary-buy-btn:hover { background: var(--primary-color-hover); }

/* -- Frete ----------------------------------------------------------------- */
.frete-row {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
}
.frete-label {
    padding: 10px 14px;
    font-size: 13px;
    color: #555;
    background: #f5f5f5;
    border-right: 1px solid #e2e8f0;
    white-space: nowrap;
}
.frete-input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    font-size: 13px;
    color: #555;
    outline: none;
}
.frete-btn {
    padding: 10px 18px;
    background: #fff;
    border: none;
    border-left: 1px solid #e2e8f0;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.frete-btn:hover { background: #fff5f5; color: var(--primary-color); }
.frete-result { font-size: 12px; margin-top: 8px; min-height: 16px; }

/* -- Observações ----------------------------------------------------------- */
.obs-textarea {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.obs-textarea:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12); }

/* -- Quote by email -------------------------------------------------------- */
.quote-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}
.quote-input {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12); }
.quote-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.quote-checks { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.quote-check-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #444;
    cursor: pointer;
    line-height: 1.5;
}
.quote-send-btn {
    padding: 11px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.quote-send-btn:hover { background: var(--primary-color-hover); }
@media (max-width: 600px) {
    .quote-fields { grid-template-columns: 1fr; }
    .quote-footer { flex-direction: column; align-items: stretch; }
    .quote-send-btn { width: 100%; text-align: center; }
}

/* -- Descrição do produto accordion ---------------------------------------- */
.prod-desc-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.prod-desc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    letter-spacing: 0.3px;
    transition: background 0.2s, color 0.2s;
}
.prod-desc-toggle:hover { background: #fff5f5; color: var(--primary-color); }

.prod-desc-icon {
    font-size: 13px;
    color: #888;
    flex-shrink: 0;
    transition: transform 0.28s ease;
}

.prod-desc-body {
    padding: 18px 18px 20px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #444;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}
.prod-desc-body[hidden] { display: none; }

.desc-chars { margin-bottom: 14px; }
.desc-chars strong,
.desc-obs   strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.desc-chars ul {
    list-style: disc;
    padding-left: 18px;
}
.desc-chars ul li { margin-bottom: 3px; }

.desc-obs { margin-top: 14px; }
.desc-link-highlight a {
    color: #e31b23;
    text-decoration: underline;
    font-weight: 600;
}

/* -- Compartilhar ---------------------------------------------------------- */
.prod-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}
.prod-share-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}
.prod-share-icons {
    display: flex;
    gap: 8px;
}
.prod-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 15px;
    color: #fff;
    transition: opacity 0.2s, transform 0.15s;
}
.prod-share-btn:hover {
    opacity: 0.85;
    transform: scale(1.1);
    color: #fff;
}
.prod-share-fb   { background: #1877f2; }
.prod-share-wa   { background: #25d366; }
.prod-share-mail { background: #888; }

/* -- Responsive additions ------------------------------------------------- */
@media (max-width: 992px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

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

    .model-picker-grid {
        grid-template-columns: repeat(3, minmax(110px, 1fr));
    }

    .mega-menu {
        width: 98vw;
    }

    .catalog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-col-promo {
        display: none;
    }
}

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

    .model-picker-grid {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
}

/* --------------------------------------------------------------------------
   MOBILE APP EXPERIENCE — max-width: 768px
   Inspirado em Mercado Livre / Netshoes.
   Regra de ouro: nada fora de @media blocks — alterado.
   -------------------------------------------------------------------------- */

/* -- Elementos visíveis APENAS no mobile (base: ocultos) ------------------- */
.mobile-filter-toggle  { display: none; }
.mobile-header-icons   { display: none; }
.mobile-search-bar     { display: none; }
.mobile-tab-bar        { display: none; }

/* -- 768px ------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* -- Global ----------------------------------------------------------- */
    .container { padding-left: 16px; padding-right: 16px; }

    /* Padding inferior para o tab bar não cobrir conteúdo (com safe area iPhone) */
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

    /* -- Utility bar: oculta no mobile ------------------------------------ */
    .top-utility-bar { display: none; }

    /* -- Header: compacto estilo app (sticky via .sticky-header-bar) ------ */
    .sticky-header-bar {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
    }
    .main-header {
        padding: 8px 0;
    }
    /* Desktop search + cart-btn + wishlist: ocultos no mobile */
    .search-bar          { display: none; }
    .cart-btn            { display: none; }
    .wishlist-header-btn { display: none; }

    /* Header: logo esquerda + Ícones à direita */
    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        position: relative;
        padding: 0 4px;
    }
    .logo {
        flex: 1;
        display: flex;
        justify-content: flex-start;
        text-align: left;
    }
    .logo img {
        height: 38px;
        max-width: 150px;
        width: auto;
        object-fit: contain;
        display: block;
    }

    /* Ícones compactos: busca + favoritos + carrinho */
    .mobile-header-icons {
        display: flex;
        align-items: center;
        gap: 2px;
        flex-shrink: 0;
    }
    .mob-icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: transparent;
        border: none;
        border-radius: 50%;
        font-size: 19px;
        color: #fff;
        cursor: pointer;
        position: relative;
        text-decoration: none;
        transition: background 0.15s;
    }
    .mob-icon-btn:active { background: rgba(255,255,255,0.18); }
    .mob-cart-badge {
        position: absolute;
        top: 5px; right: 5px;
        background: #fff;
        color: var(--primary-color);
        border-radius: 50%;
        width: 16px; height: 16px;
        font-size: 9px;
        display: flex; align-items: center; justify-content: center;
        font-weight: 800;
        pointer-events: none;
        border: 1.5px solid var(--primary-color);
    }

    /* -- Barra de busca expandida (mobile overlay) ------------------------- */
    .mobile-search-bar {
        display: block;
        background: #fff;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .mobile-search-bar.is-open {
        max-height: 70px;
        padding: 8px 0;
        border-top: 1px solid #f0f0f0;
    }
    .mobile-search-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f5f5f5;
        border-radius: 10px;
        padding: 2px 2px 2px 14px;
    }
    .mobile-search-input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 14px;
        padding: 10px 0;
        outline: none;
        color: #222;
    }
    .mobile-search-close {
        width: 40px; height: 40px;
        background: transparent;
        border: none;
        font-size: 16px;
        color: #666;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        border-radius: 8px;
    }

    /* -- Nav bar: dentro do wrapper sticky --------------------------------- */
    .main-nav {
        position: relative;
    }
    .nav-links { display: none; }
    .nav-right  { display: none; }
    .menu-btn {
        width: 100%;
        min-height: 46px;
        padding: 0 16px;
        font-size: 14px;
        letter-spacing: 0.3px;
        border-radius: 0;
    }
    .mega-menu {
        width: 100vw;
        left: 0; right: 0;
        border-radius: 0 0 16px 16px;
        /* Descontar header (~54px) + nav (~46px) + tab bar (~64px) */
        max-height: calc(100vh - 164px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    }

    /* Ícones de categoria no mega menu: menores e bem alinhados */
    .catalog-icons-row {
        gap: 6px;
        padding: 14px 16px 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .catalog-icon-btn {
        min-width: 80px;
        padding: 8px 12px;
        border-radius: 12px;
    }
    .catalog-icon-circle {
        width: 52px;
        height: 52px;
    }
    .catalog-icon-circle svg { width: 26px; height: 26px; }
    .catalog-icon-btn span   { font-size: 11px; }

    /* Item ativo mais elegante */
    .catalog-icon-btn.active {
        border-color: var(--primary-color);
        background: #fff5f5;
        box-shadow: 0 2px 10px rgba(227,27,35,0.12);
    }

    .catalog-grid      { grid-template-columns: 1fr; }
    .catalog-col-left,
    .catalog-col-mid   { padding: 16px 18px; }
    .catalog-col-promo { display: none; }

    /* -- Bottom Tab Bar ---------------------------------------------------- */
    .mobile-tab-bar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 500;
        background: #fff;
        border-top: 1px solid #ebebeb;
        box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.09);
        /* Safe area para iPhone (notch / home indicator) */
        padding-bottom: env(safe-area-inset-bottom, 0px);
        height: calc(60px + env(safe-area-inset-bottom, 0px));
        align-items: stretch;
    }
    .tab-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        color: #999;
        font-size: 10px;
        font-weight: 600;
        padding: 8px 4px 4px;
        position: relative;
        transition: color 0.15s;
        background: transparent;
        border: none;
        cursor: pointer;
        letter-spacing: 0.01em;
    }
    .tab-item i {
        font-size: 21px;
        line-height: 1;
        transition: transform 0.15s;
    }
    .tab-item span { line-height: 1; }
    .tab-item.tab-active { color: var(--primary-color); }
    .tab-item.tab-active i {
        color: var(--primary-color);
        transform: translateY(-1px);
    }
    .tab-item:active { opacity: 0.7; }
    .tab-cart-badge {
        position: absolute;
        top: 6px; right: calc(50% - 20px);
        background: var(--primary-color);
        color: #fff;
        border-radius: 50%;
        width: 17px; height: 17px;
        font-size: 9px;
        font-weight: 800;
        display: flex; align-items: center; justify-content: center;
        pointer-events: none;
        border: 1.5px solid #fff;
    }

    /* -- Hero (index) ----------------------------------------------------- */
    .hero-section {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 14px;
        margin-bottom: 20px;
    }
    .hero-main { min-height: 200px; border-radius: 10px; }
    .hero-main > img {
        animation: none; transform: none; will-change: auto;
        height: 200px; width: 100%; object-fit: cover;
    }
    .hero-main-cta {
        right: 50%; top: 50%;
        transform: translate(50%, -50%);
        width: 78%; min-width: 0;
        padding: 12px 14px; border-radius: 10px;
    }
    .hero-cta-main { font-size: 13px; margin-bottom: 4px; }
    .hero-cta-sub  { font-size: 10px; letter-spacing: 0.8px; }

    .hero-side { flex-direction: row; gap: 10px; }
    .hero-side-banner {
        flex: 1; min-height: 130px;
        border-radius: 8px; overflow: hidden;
    }
    .hero-side-banner img           { height: 130px; object-fit: cover; }
    .hero-side-banner:hover img     { transform: none; }
    .side-glass-block {
        bottom: 8px; left: 8px;
        flex-direction: column; align-items: flex-start;
        gap: 4px; padding: 5px 9px;
    }
    .side-glass-title { font-size: 10px; white-space: normal; line-height: 1.2; }
    .side-glass-btn   { font-size: 9px; padding: 4px 8px; }

    /* -- Catálogo / Filtros ------------------------------------------------ */
    .category-banner-wrap { margin-top: 10px; margin-bottom: 0; }
    .category-banner      { border-radius: 8px; }

    .mobile-filter-toggle {
        display: flex;
        align-items: center; justify-content: center;
        gap: 8px;
        margin: 12px 0 0; width: 100%; min-height: 48px; padding: 0 20px;
        background: var(--primary-color); color: #fff;
        border: none; border-radius: 10px;
        font-size: 14px; font-weight: 600; letter-spacing: 0.4px;
        cursor: pointer; transition: background 0.2s;
    }
    .mobile-filter-toggle:active { background: #a50000; }

    .category-layout { grid-template-columns: 1fr; gap: 0; padding-top: 12px; }
    .category-sidebar {
        display: none; margin-bottom: 16px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    .category-sidebar.is-open { display: block; }

    /* -- Grade de produtos: 2 colunas, cards premium ----------------------- */
    .produtos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .produto {
        border-radius: 14px;
        box-shadow: 0 2px 10px rgba(16, 24, 40, 0.07);
        background: #fff;
        overflow: hidden;
    }
    .produto-img-wrap  { aspect-ratio: 1 / 1; }
    .produto-info      { padding: 12px 12px 14px; gap: 6px; }
    .produto-nome      { font-size: 12.5px; line-height: 1.4; -webkit-line-clamp: 2; line-clamp: 2; min-height: 2.8em; }
    .produto-stars     { font-size: 10px; letter-spacing: 0.12em; }
    .produto-rating    { gap: 6px; }
    .produto-rating__value { font-size: 10px; }
    .produto-price     { font-size: 14px; line-height: 1.2; font-weight: 700; }
    .produto-parcel    { font-size: 10px; margin-bottom: 7px; }
    .produto--catalog-simple .produto-img-wrap { aspect-ratio: 1 / 1; padding: 0; }
    .produto--catalog-simple .produto-info { padding: 12px 12px 14px; gap: 6px; }
    /* -- Produto individual ------------------------------------------------ */
    .product-page {
        grid-template-columns: 1fr;
        gap: 16px; padding-top: 12px; padding-bottom: 24px;
    }
    .product-gallery    { position: static; }
    .gallery-viewer     { flex-direction: row; gap: 8px; }
    .gallery-thumbs     { flex: 0 0 60px; width: 60px; max-height: 300px; }
    .gallery-thumb      { width: 60px; height: 60px; border-radius: 8px; }
    .gallery-main-wrap  { min-height: 280px; border-radius: 14px; }
    .gallery-main img   { height: 280px; padding: 10px; }
    .gallery-arrow      { width: 32px; height: 32px; font-size: 16px; }
    .gallery-prev       { left: 6px; }
    .gallery-next       { right: 6px; }
    .product-price-main { font-size: 22px; }

    .product-head       { padding: 14px 16px 0; }
    .product-head h1    { font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
    .product-subtitle   { font-size: 13px; line-height: 1.55; }
    .product-options-section { padding: 14px 16px; }
    .options-group      { margin-bottom: 16px; }
    .options-question   { font-size: 11px; letter-spacing: 0.9px; margin-bottom: 10px; }

    .model-picker-grid  { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .model-card         { padding: 8px 6px; border-radius: 8px; }
    .model-card-media   { height: 58px; }
    .model-card-label   { font-size: 11px; }

    .option-btn         { min-height: 44px; font-size: 12px; padding: 0 12px; border-radius: 8px; }

    .qty-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .qty-btn  { min-height: 48px; font-size: 12px; border-radius: 8px; padding: 0 8px; }

    .frete-row { flex-direction: column; gap: 8px; }
    .frete-row input,
    .frete-row button { width: 100%; min-height: 44px; border-radius: 8px; font-size: 13px; }

    .quote-fields { grid-template-columns: 1fr; gap: 10px; }
    .quote-fields input,
    .quote-fields select { min-height: 48px; font-size: 14px; border-radius: 8px; }

    .summary-table     { font-size: 12px; }
    .summary-table td,
    .summary-table th  { padding: 8px 10px; }

    .btn-buy,
    .product-buy-btn {
        width: 100%; min-height: 52px; font-size: 15px;
        border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        letter-spacing: 0.5px;
    }

    /* -- Footer ----------------------------------------------------------- */
    .footer-content { grid-template-columns: 1fr; gap: 22px; }
    .footer-bottom  {
        flex-direction: column; gap: 10px;
        text-align: center; padding-top: 16px;
    }
    .footer-bottom img { max-width: 120px; height: auto; }
    .footer-top-inner   { grid-template-columns: 1fr; text-align: center; }
    .footer-contact-item {
        justify-content: center;
        padding: 14px 0;
        border-right: none;
        border-bottom: 1px solid #333333;
    }
    .footer-contact-item:last-child { border-bottom: none; }
    .footer-contact-text { align-items: center; }
    .footer-contact-item span { word-break: normal; overflow-wrap: normal; }
}

/* -- Extra small = 480px --------------------------------------------------- */
@media (max-width: 480px) {
    .hero-main        { min-height: 160px; }
    .hero-main > img  { height: 160px; }
    .hero-side        { flex-direction: column; }
    .hero-side-banner { min-height: 110px; }
    .hero-side-banner img { height: 110px; }

    /* Mantém 2 colunas mesmo em telas pequenas — só reduz gap e altura */
    .produtos         { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .produto-img-wrap { aspect-ratio: 1 / 1; }
    .produto-info     { padding: 8px 8px 10px; }
    .produto-nome     { font-size: 11px; }
    .produto-price    { font-size: 13px; }
    .produto-rating__value { font-size: 10px; }
    .produto--catalog-simple .produto-img-wrap { aspect-ratio: 1 / 1; padding: 0; }
    .produto--catalog-simple .produto-info { padding: 10px 10px 12px; }
    .product-head h1  { font-size: 17px; }
    .gallery-thumbs   { flex: 0 0 50px; width: 50px; }
    .gallery-thumb    { width: 50px; height: 50px; }
    .gallery-main-wrap { min-height: 220px; }
    .gallery-main img  { height: 220px; padding: 8px; }
    .model-picker-grid { grid-template-columns: repeat(2, 1fr); }

    /* Telas muito estreitas (320px): reduz fonte mas mantém 2 colunas */
}

/* -- Ultra small = 360px --------------------------------------------------- */
@media (max-width: 360px) {
    .produtos         { gap: 8px; }
    .produto-img-wrap { aspect-ratio: 1 / 1; }
    .produto--catalog-simple .produto-img-wrap { aspect-ratio: 1 / 1; padding: 0; }
    .logo img         { height: 32px; max-width: 130px; }
}

/* ============================================================
   MOBILE "MAIS" BOTTOM SHEET
   Abre ao clicar no botão "Mais" da tab bar.
   Funciona como um drawer vindo de baixo.
   ============================================================ */

/* Overlay escuro atrás do sheet */
.mob-more-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 800;
    background: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.28s ease;
}
.mob-more-overlay.is-open {
    display: block;
    opacity: 1;
}

/* Sheet em si */
.mob-more-sheet {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.mob-more-overlay.is-open .mob-more-sheet {
    transform: translateY(0);
}

/* Handle (barrinha arrastável) */
.mob-more-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 12px auto 0;
}

/* Cabeçalho do sheet */
.mob-more-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 10px;
    border-bottom: 1px solid #f0f0f0;
}
.mob-more-header span {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}
.mob-more-close {
    width: 32px; height: 32px;
    border: none;
    background: #f2f2f2;
    border-radius: 50%;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.mob-more-close:active { background: #e5e5e5; }

/* Grade de links do menu mobile */
.mob-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 16px 8px;
}
.mob-more-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    border-radius: 14px;
    background: #f8f8f8;
    text-decoration: none;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: background 0.15s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.mob-more-item:active {
    background: #fff0f0;
    transform: scale(0.96);
}
.mob-more-item i {
    font-size: 22px;
    color: var(--primary-color);
    line-height: 1;
}

/* Divisor */
.mob-more-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 16px 0;
}

/* Seção de conta */
.mob-more-account {
    padding: 14px 16px 4px;
}
.mob-more-account-title {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Botão entrar */
.mob-more-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, transform 0.15s;
    letter-spacing: 0.02em;
}
.mob-more-login-btn:active {
    background: #b71018;
    transform: scale(0.98);
}

/* Estado logado */
.mob-more-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 10px;
}
.mob-more-user-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d60000, #8a0000);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mob-more-user-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    flex: 1;
}
.mob-more-user-actions {
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.mob-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    transition: background 0.15s, transform 0.15s;
}
.mob-more-btn:active { transform: scale(0.97); }
.mob-more-btn--admin {
    background: linear-gradient(120deg, #ff3040, #c81421);
    color: #fff;
}
.mob-more-btn--logout {
    background: #f2f2f2;
    color: #444;
}
.mob-more-btn--logout:active { background: #e8e8e8; }

/* Só aparece em mobile */
.mob-more-overlay { display: none; }
@media (max-width: 768px) {
    .mob-more-overlay { display: block; opacity: 0; pointer-events: none; }
    .mob-more-overlay.is-open { opacity: 1; pointer-events: auto; }
}

/* --------------------------------------------------------------------------
   Mega menu de categorias
   -------------------------------------------------------------------------- */
.dropdown-container {
    position: relative;
}

.menu-btn.is-open,
.menu-btn[aria-expanded="true"] {
    background-color: #9f1117;
}

.mega-menu {
    left: 0;
    right: auto;
    top: calc(100% + 10px);
    width: min(360px, calc(100vw - 48px));
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    overflow: visible;
    transform: translateY(6px);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 34px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-left: 1px solid rgba(226, 232, 240, 0.95);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    transform: rotate(45deg);
}

.mega-menu.active {
    transform: translateY(0);
}

.alpha-mega-menu {
    position: relative;
    z-index: 1;
    padding: 20px;
    font-family: 'Inter', 'Open Sans', sans-serif;
}

.alpha-mega-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alpha-mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.alpha-mega-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #777;
    font-size: 18px;
    transition: color .16s ease;
}

.alpha-mega-label {
    color: #222;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.2;
}

.alpha-mega-link:hover,
.alpha-mega-link:focus {
    background: rgba(227, 27, 35, 0.05);
    color: var(--primary-color);
    transform: translateX(2px);
}

.alpha-mega-link:hover .alpha-mega-icon,
.alpha-mega-link:focus .alpha-mega-icon,
.alpha-mega-link:hover .alpha-mega-label,
.alpha-mega-link:focus .alpha-mega-label {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .mega-menu {
        width: min(360px, calc(100vw - 32px));
    }
}

@media (max-width: 768px) {
    .dropdown-container {
        width: 100%;
    }

    .mega-menu {
        top: 100%;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0 0 18px 18px;
        border-left: 0;
        border-right: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .mega-menu::before {
        display: none;
    }

    .alpha-mega-menu {
        padding: 18px;
    }

    .alpha-mega-list {
        gap: 6px;
    }

    .alpha-mega-link {
        min-height: 48px;
        padding: 12px 14px;
    }
}

/* ============================================================
   ALPHA ULTRAPRESS HEADER REDESIGN
   Inspirado na organizacao da referencia, preservando IDs e JS.
   ============================================================ */
.sticky-header-bar {
    position: sticky;
    top: 0;
    z-index: 700;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.top-utility-bar {
    display: block;
    height: 42px;
    overflow: hidden;
    background: #ffffff;
    color: #111827;
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

.top-utility-bar .container,
.top-utility-bar .utility-content {
    display: none;
}

.alpha-ticker {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.alpha-ticker-track {
    display: flex;
    width: max-content;
    min-width: 200%;
    animation: alphaTickerMove 34s linear infinite;
    will-change: transform;
}

.alpha-ticker-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.alpha-ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 28px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #111827;
}

.alpha-ticker-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: rgba(15, 23, 42, 0.62);
    font-size: 12px;
}

@keyframes alphaTickerMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.main-nav.alpha-category-bar {
    position: relative;
    z-index: 120;
    overflow: visible;
    background: #1f1f1f;
    border: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.main-nav.alpha-category-bar::before,
.main-nav.alpha-category-bar::after,
.main-header.alpha-main-header::before,
.main-header.alpha-main-header::after {
    content: none;
}

.alpha-category-bar .nav-content {
    justify-content: center;
    min-height: 54px;
}

.alpha-category-bar .nav-left {
    width: 100%;
    justify-content: center;
    flex: 1 1 auto;
}

.alpha-category-bar .nav-links {
    justify-content: center;
    gap: 42px;
    padding: 0;
    flex: 0 1 auto;
}

.alpha-category-bar .nav-links a {
    min-height: 54px;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', 'Inter', sans-serif;
    letter-spacing: 0;
    background: transparent;
    transition: color 0.2s ease, transform 0.2s ease;
}

.alpha-category-bar .nav-links a:hover,
.alpha-category-bar .nav-links a:focus,
.alpha-category-bar .nav-links a:active {
    color: #ff4d57;
    background: transparent;
    transform: translateY(-1px);
}

.main-header.alpha-main-header {
    overflow: visible;
    background: #fff;
    padding: 22px 0;
    border-bottom: 1px solid #eceff3;
}

.alpha-main-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.45vw, 24px);
    flex-wrap: nowrap;
    max-width: 1360px;
    min-width: 0;
    width: 100%;
    overflow: visible;
}

.alpha-header-menu-slot {
    position: relative;
    flex: 0 0 auto;
}

.alpha-main-header .menu-btn {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d4ded8;
    border-radius: 3px;
    background: #fff;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Poppins', 'Inter', sans-serif;
    gap: 12px;
    box-shadow: none;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.alpha-main-header .menu-btn i {
    font-size: 20px;
}

.alpha-main-header .menu-btn:hover,
.alpha-main-header .menu-btn:focus,
.alpha-main-header .menu-btn.is-open {
    color: #8b0000;
    border-color: rgba(139, 0, 0, 0.42);
    background: #fff7f7;
}

.alpha-main-header .logo {
    flex: 0 0 auto;
    min-width: 0;
}

.alpha-main-header .logo a {
    display: flex;
    align-items: center;
}

.alpha-main-header .logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    filter: none;
    opacity: 1;
    transform: none;
}

.alpha-main-header .search-bar {
    flex: 1 1 420px;
    width: 100%;
    max-width: 520px;
    min-width: clamp(260px, 24vw, 320px);
    display: flex;
    height: 44px;
    border: 1px solid #bfd8cc;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.alpha-main-header .search-bar input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    padding: 0 16px;
}

.alpha-main-header .search-bar input::placeholder {
    color: #111;
    opacity: 0.78;
}

.alpha-main-header .search-bar button {
    flex: 0 0 54px;
    min-width: 54px;
    height: 44px;
    background: #050505;
    color: #fff;
    border: 0;
    border-left: 1px solid #050505;
    font-size: 19px;
}

.alpha-main-header .search-bar button:hover {
    background: #8b0000;
}

.alpha-main-header .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    min-width: 0;
    margin-left: 0;
    white-space: nowrap;
    overflow: visible;
}

.alpha-main-header .nav-right > a,
.alpha-main-header #open-login-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    min-height: 44px;
    min-width: 0;
    font-family: 'Poppins', 'Inter', sans-serif;
}

.alpha-main-header #open-login-modal:hover {
    color: #8b0000;
}

.account-eyebrow {
    font-size: 13px;
    font-weight: 500;
    color: #008060;
    line-height: 1;
}

.account-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
}

.alpha-main-header .nav-user-menu {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.alpha-main-header .nav-user-menu.is-visible {
    display: inline-flex;
}

.alpha-main-header .nav-user-greeting {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    min-width: 0;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    order: 1;
}

.alpha-main-header .nav-user-greeting i {
    color: #8b0000;
}

.alpha-main-header .nav-user-greeting strong {
    display: inline-block;
    max-width: 118px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    color: #111;
}

.alpha-main-header .nav-admin-btn,
.alpha-main-header .nav-student-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 4px;
    border: 1px solid rgba(139, 0, 0, 0.22);
    background: #fff5f5;
    color: #8b0000;
    font-size: 12px;
    font-weight: 800;
    box-shadow: none;
    white-space: nowrap;
    flex: 0 0 auto;
    order: 2;
}

.alpha-main-header .nav-admin-btn.is-visible,
.alpha-main-header .nav-student-btn.is-visible {
    display: inline-flex;
}

.alpha-main-header .nav-admin-btn:hover,
.alpha-main-header .nav-student-btn:hover {
    background: #8b0000;
    color: #fff;
    transform: translateY(-1px);
}

.alpha-main-header .nav-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #444;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    flex: 0 0 auto;
    order: 3;
}

.alpha-main-header .nav-logout-btn:hover {
    border-color: rgba(139, 0, 0, 0.28);
    color: #8b0000;
    background: #fff7f7;
    transform: translateY(-1px);
}

.alpha-main-header .cart-btn {
    flex: 0 0 auto;
    min-width: 0;
}

.alpha-main-header .cart-btn a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 0 0 24px;
    border: 0;
    border-left: 1px solid #d7e1dc;
    border-radius: 0;
    color: #111;
    background: transparent;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Poppins', 'Inter', sans-serif;
    white-space: nowrap;
    flex: 0 0 auto;
    overflow: hidden;
}

.alpha-main-header .cart-btn a:hover {
    color: #8b0000;
    background: transparent;
}

.alpha-main-header .cart-count {
    min-width: 20px;
    width: auto;
    height: 20px;
    padding: 0 6px;
    background: #111;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
}

.alpha-main-header .wishlist-header-btn {
    display: none !important;
}

.alpha-main-header .mega-menu {
    top: calc(100% + 12px);
    left: 0;
    right: auto;
    width: min(360px, calc(100vw - 30px));
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

@media (max-width: 1320px) {
    .alpha-main-header .header-content {
        max-width: 1280px;
        gap: 12px;
    }

    .alpha-main-header .search-bar {
        flex-basis: 360px;
        min-width: 260px;
        max-width: 480px;
    }

    .alpha-main-header .nav-user-menu {
        gap: 6px;
    }

    .alpha-main-header .nav-admin-btn,
    .alpha-main-header .nav-student-btn {
        padding: 0 10px;
    }

    .alpha-main-header .cart-btn a {
        gap: 8px;
        padding-left: 18px;
    }
}

@media (max-width: 1180px) {
    .alpha-main-header .header-content {
        max-width: 1160px;
        gap: 10px;
    }

    .alpha-main-header .search-bar {
        flex-basis: 300px;
        min-width: 230px;
        max-width: 420px;
    }

    .alpha-category-bar .nav-links {
        gap: 28px;
    }

    .alpha-main-header .logo img {
        height: 48px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 1240px) {
    .alpha-main-header .nav-right,
    .alpha-main-header .nav-user-menu {
        overflow: hidden;
    }

    .alpha-main-header .search-bar {
        flex-basis: 260px;
        min-width: 220px;
        max-width: 340px;
    }

    .alpha-main-header .menu-btn span,
    .alpha-main-header .nav-user-greeting > i,
    .alpha-main-header .nav-logout-btn span {
        display: none;
    }

    .alpha-main-header .menu-btn {
        width: 46px;
        padding: 0;
        justify-content: center;
    }

    .alpha-main-header .nav-user-greeting {
        gap: 4px;
    }

    .alpha-main-header .nav-user-greeting strong {
        max-width: 72px;
    }

    .alpha-main-header .nav-admin-btn,
    .alpha-main-header .nav-student-btn,
    .alpha-main-header .nav-logout-btn {
        width: 38px;
        min-width: 38px;
        padding: 0;
        overflow: hidden;
        font-size: 0;
    }

    .alpha-main-header .nav-admin-btn i,
    .alpha-main-header .nav-student-btn i,
    .alpha-main-header .nav-logout-btn i {
        font-size: 13px;
    }

    .alpha-main-header .cart-btn a {
        width: 48px;
        justify-content: center;
        gap: 0;
        padding-left: 12px;
        font-size: 0;
    }

    .alpha-main-header .cart-btn a i,
    .alpha-main-header .cart-count {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .top-utility-bar {
        height: 36px;
    }

    .alpha-ticker-track {
        animation-duration: 28s;
    }

    .alpha-ticker-item {
        padding: 0 18px;
        font-size: 13px;
    }

    .main-header.alpha-main-header {
        padding: 12px 0;
    }

    .alpha-main-header .header-content {
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
        padding: 0;
    }

    .alpha-header-menu-slot {
        order: 1 !important;
    }

    .alpha-main-header .logo {
        order: 2 !important;
        flex: 0 0 auto;
        min-width: 0;
    }

    .alpha-main-header .logo img {
        height: 48px !important;
        width: auto !important;
        max-width: none !important;
    }

    .alpha-main-header .nav-right {
        order: 4 !important;
        margin-left: auto;
    }

    .alpha-main-header .mobile-header-icons {
        order: 5 !important;
        display: flex;
        gap: 2px;
    }

    .alpha-main-header #mobile-search-toggle {
        display: flex;
    }

    .alpha-main-header .search-bar {
        order: 3 !important;
        flex: 1 1 220px;
        min-width: 190px;
        max-width: 300px;
        display: flex;
        height: 42px;
        margin-top: 0;
    }

    .alpha-main-header .search-bar button {
        height: 42px;
    }

    .alpha-main-header .menu-btn {
        min-height: 40px;
        padding: 0 12px;
        font-size: 14px;
        gap: 8px;
    }

    .alpha-main-header .menu-btn i {
        font-size: 18px;
    }

    .alpha-main-header .nav-right > a,
    .alpha-main-header #open-login-modal {
        min-height: 38px;
        align-items: flex-end;
    }

    .account-eyebrow {
        display: none;
    }

    .account-title {
        font-size: 13px;
    }

    .alpha-main-header .nav-user-menu {
        gap: 5px;
    }

    .alpha-main-header .nav-user-greeting {
        font-size: 12px;
    }

    .alpha-main-header .nav-admin-btn,
    .alpha-main-header .nav-student-btn,
    .alpha-main-header .nav-logout-btn {
        min-height: 30px;
        width: 34px;
        min-width: 34px;
        padding: 0;
        font-size: 0;
    }

    .alpha-main-header .nav-admin-btn i,
    .alpha-main-header .nav-student-btn i,
    .alpha-main-header .nav-logout-btn i {
        font-size: 12px;
    }

    .alpha-main-header .cart-btn {
        display: none !important;
    }

    .alpha-main-header .mob-icon-btn {
        color: #111;
        width: 38px;
        height: 38px;
    }

    .alpha-main-header .mob-cart-badge {
        background: #8b0000;
        color: #fff;
        border-color: #fff;
    }

    .alpha-main-header .mobile-search-bar {
        display: block;
    }

    .alpha-category-bar .nav-content {
        min-height: 46px;
        padding: 0;
    }

    .alpha-category-bar .nav-left {
        justify-content: flex-start;
        overflow: hidden;
    }

    .alpha-category-bar .nav-links {
        display: flex;
        justify-content: flex-start;
        gap: 26px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .alpha-category-bar .nav-links::-webkit-scrollbar {
        display: none;
    }

    .alpha-category-bar .nav-links a {
        min-height: 46px;
        font-size: 13px;
    }

    .alpha-main-header .mega-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: -16px;
        width: calc(100vw - 32px);
        max-height: calc(100vh - 190px);
        overflow-y: auto;
        border-radius: 0 0 14px 14px;
    }
}

@media (max-width: 720px) {
    .alpha-main-header .header-content {
        gap: 8px;
    }

    .alpha-main-header .search-bar,
    .alpha-main-header .nav-right {
        display: none;
    }

    .alpha-main-header .mobile-header-icons {
        margin-left: auto;
    }
}

@media (max-width: 520px) {
    .alpha-main-header .header-content {
        gap: 8px;
    }

    .alpha-main-header .logo img {
        width: 220px !important; height: auto !important; max-width: none !important;
    }

    .alpha-main-header .menu-btn {
        padding: 0;
    }

    .alpha-main-header .nav-user-greeting i,
    .alpha-main-header .nav-logout-btn span,
    .alpha-main-header .nav-admin-btn i,
    .alpha-main-header .nav-student-btn i {
        display: none;
    }
}


