/* ==========================================================================
   Catálogo Cabelo - Design System & Theme Engine (v2.0)
   Atualização: Reset Universal de Links, Clean URLs & Mobile UX
   ========================================================================== */

:root, [data-theme="dark"] {
    /* Base Backgrounds */
    --bg-primary: #09090b;
    --bg-card: rgba(18, 18, 23, 0.85);
    --bg-card-hover: rgba(24, 24, 32, 0.95);
    --surface-glass: rgba(255, 255, 255, 0.04);
    --navbar-bg: rgba(18, 18, 23, 0.7);
    --navbar-border: rgba(255, 255, 255, 0.08);

    /* Gold & Metallic Accents */
    --gold-100: #fff5da;
    --gold-200: #f5e2ab;
    --gold-300: #e2c275;
    --gold-400: #cfa851;
    --gold-500: #aa8533;
    --gold-glow: rgba(207, 168, 81, 0.35);

    /* Text Colors */
    --text-pure: #ffffff;
    --text-primary: #f0f0f5;
    --text-secondary: #9e9ea7;
    --text-muted: #6b6b76;

    /* Borders & Outlines */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(207, 168, 81, 0.4);

    /* Badges & Card Overlays */
    --badge-bg: rgba(207, 168, 81, 0.1);
    --badge-border: rgba(207, 168, 81, 0.25);
    --badge-color: var(--gold-300);
    --card-tag-bg: rgba(9, 9, 11, 0.75);
    --card-tag-border: rgba(255, 255, 255, 0.15);
    --card-overlay: transparent;
    --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --card-hover-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px var(--gold-glow);
    
    /* Buttons & Pills */
    --pill-bg: rgba(255, 255, 255, 0.05);
    --pill-border: rgba(255, 255, 255, 0.09);
    --pill-color: var(--text-primary);
    --pill-hover-bg: rgba(255, 255, 255, 0.08);
    --pill-hover-border: rgba(207, 168, 81, 0.2);
    --pill-hover-color: var(--gold-100);
    
    --btn-secondary-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    --btn-secondary-border: rgba(255, 255, 255, 0.12);

    /* Modal / Drawer */
    --modal-bg: #121217;
    --modal-backdrop: rgba(5, 5, 7, 0.85);
    --modal-header-bg: rgba(20, 20, 26, 0.7);
    --modal-footer-bg: rgba(14, 14, 18, 0.95);
    --modal-product-bg: rgba(255, 255, 255, 0.03);
    --modal-product-hover-bg: rgba(255, 255, 255, 0.06);

    /* Logo & Ambient */
    --logo-text: #ffffff;
    --logo-red: #e51a2e;
    --glow-opacity: 0.45;
    --noise-opacity: 0.6;
    --gold-gradient: linear-gradient(135deg, #ffffff 15%, var(--gold-200) 55%, var(--gold-400) 100%);
    --toggle-bg: rgba(255, 255, 255, 0.06);
    --toggle-border: rgba(255, 255, 255, 0.12);
    --toggle-icon-color: var(--gold-300);

    /* Typography & Ease */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
    /* Base Backgrounds */
    --bg-primary: #f8f6f1;
    --bg-card: rgba(255, 255, 255, 0.94);
    --bg-card-hover: #ffffff;
    --surface-glass: rgba(0, 0, 0, 0.03);
    --navbar-bg: rgba(255, 255, 255, 0.85);
    --navbar-border: rgba(0, 0, 0, 0.08);

    /* Gold & Metallic Accents */
    --gold-100: #6b4d14;
    --gold-200: #8c6722;
    --gold-300: #aa812f;
    --gold-400: #ba8d35;
    --gold-500: #946f23;
    --gold-glow: rgba(186, 141, 53, 0.22);

    /* Text Colors */
    --text-pure: #101014;
    --text-primary: #212128;
    --text-secondary: #5a5a68;
    --text-muted: #878795;

    /* Borders & Outlines */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-highlight: rgba(186, 141, 53, 0.55);

    /* Badges & Card Overlays */
    --badge-bg: rgba(186, 141, 53, 0.1);
    --badge-border: rgba(186, 141, 53, 0.3);
    --badge-color: #8c6722;
    --card-tag-bg: rgba(255, 255, 255, 0.88);
    --card-tag-border: rgba(0, 0, 0, 0.08);
    --card-tag-color: #8c6722;
    --card-overlay: transparent;
    --card-shadow: 0 20px 45px -12px rgba(135, 110, 75, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04);
    --card-hover-shadow: 0 28px 60px -15px rgba(135, 110, 75, 0.25), 0 0 30px var(--gold-glow);
    
    /* Buttons & Pills */
    --pill-bg: rgba(0, 0, 0, 0.04);
    --pill-border: rgba(0, 0, 0, 0.08);
    --pill-color: var(--text-primary);
    --pill-hover-bg: rgba(186, 141, 53, 0.12);
    --pill-hover-border: rgba(186, 141, 53, 0.35);
    --pill-hover-color: #6b4d14;
    
    --btn-secondary-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.02) 100%);
    --btn-secondary-border: rgba(0, 0, 0, 0.1);

    /* Modal / Drawer */
    --modal-bg: #ffffff;
    --modal-backdrop: rgba(15, 15, 20, 0.6);
    --modal-header-bg: rgba(250, 248, 245, 0.95);
    --modal-footer-bg: rgba(246, 244, 240, 0.98);
    --modal-product-bg: rgba(0, 0, 0, 0.025);
    --modal-product-hover-bg: rgba(0, 0, 0, 0.05);

    /* Logo & Ambient */
    --logo-text: #111116;
    --logo-red: #e51a2e;
    --glow-opacity: 0.2;
    --noise-opacity: 0.15;
    --gold-gradient: linear-gradient(135deg, #18181f 0%, #8c6722 55%, #ba8d35 100%);
    --toggle-bg: rgba(0, 0, 0, 0.05);
    --toggle-border: rgba(0, 0, 0, 0.12);
    --toggle-icon-color: #ba8d35;
}

/* Reset & Box Sizing */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Universal Link Reset - Elimina sublinhados em todos os links e estados */
a, 
a *,
a:visited, 
a:visited *,
a:hover, 
a:hover *,
a:focus, 
a:focus *,
a:active,
a:active * {
    text-decoration: none !important;
    outline: none;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Smooth transition classes for theme toggle */
.navbar, .catalog-card .card-inner, .modal-panel, .product-item, .pill, .explore-btn, .modal-header, .modal-footer {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* --------------------------------------------------------------------------
   Ambient Background Glows & Animations
   -------------------------------------------------------------------------- */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: var(--glow-opacity);
    animation: floatGlow 14s infinite alternate ease-in-out;
    transition: opacity 0.4s ease;
}

.glow-1 {
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(207, 168, 81, 0.28) 0%, transparent 70%);
}

.glow-2 {
    bottom: 5%;
    right: 5%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.18) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 18s;
}

.glow-3 {
    top: 45%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    animation-delay: -9s;
    animation-duration: 16s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -40px) scale(1.1);
    }
    100% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
    opacity: var(--noise-opacity);
    transition: opacity 0.4s ease;
}

[data-theme="light"] .noise-overlay {
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 0);
}

/* --------------------------------------------------------------------------
   Layout Wrapper
   -------------------------------------------------------------------------- */
.page-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 24px 40px;
}

/* --------------------------------------------------------------------------
   Top Navbar
   -------------------------------------------------------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--navbar-border);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: navbarEntrance 0.9s var(--ease-out-expo) forwards;
}

.nav-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-brand-link:hover {
    transform: scale(1.03);
}

/* Fiszpan SVG Logo Styling */
.fiszpan-logo-svg {
    height: 32px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
    transition: filter 0.3s ease;
}

.fiszpan-logo-svg .cls-text {
    fill: var(--logo-text);
    transition: fill 0.35s ease;
}

.fiszpan-logo-svg .cls-red {
    fill: var(--logo-red);
}

.nav-brand-link:hover .fiszpan-logo-svg {
    filter: drop-shadow(0 2px 14px rgba(229, 26, 46, 0.45));
}

/* Navbar Right Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--toggle-bg);
    border: 1px solid var(--toggle-border);
    color: var(--toggle-icon-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-spring);
}

.theme-toggle-btn:hover {
    transform: scale(1.12) rotate(15deg);
    border-color: var(--border-highlight);
    box-shadow: 0 0 15px var(--gold-glow);
}

.theme-toggle-btn .sun-icon {
    display: none;
}

.theme-toggle-btn .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
    display: none;
}

/* Contact Button */
.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.nav-contact-btn i {
    width: 16px;
    height: 16px;
    color: var(--gold-300);
    transition: transform 0.3s ease;
}

.nav-contact-btn:hover {
    background: rgba(207, 168, 81, 0.15);
    border-color: var(--gold-400);
    color: var(--gold-200);
    transform: translateY(-1px);
}

.nav-contact-btn:hover i {
    transform: scale(1.15);
}

/* Share Button */
.nav-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.nav-share-btn i {
    width: 15px;
    height: 15px;
    color: var(--gold-300);
    transition: transform 0.3s ease;
}

.nav-share-btn:hover {
    background: rgba(207, 168, 81, 0.15);
    border-color: var(--gold-400);
    color: var(--gold-200);
    transform: translateY(-1px);
}

.nav-share-btn:hover i {
    transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 40px 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--badge-color);
    margin-bottom: 20px;
    animation: badgeEntrance 0.8s 0.15s var(--ease-out-expo) both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-400);
    box-shadow: 0 0 10px var(--gold-400);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.2rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    color: var(--text-pure);
    animation: titleEntrance 1s 0.28s var(--ease-out-expo) both;
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 50px;
    font-weight: 300;
    line-height: 1.65;
    animation: subtitleEntrance 0.9s 0.42s var(--ease-out-expo) both;
}

/* --------------------------------------------------------------------------
   Categories Grid & Stable Cards
   -------------------------------------------------------------------------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1160px;
}

.catalog-card {
    position: relative;
    border-radius: 28px;
    cursor: pointer;
    text-decoration: none !important;
    display: block;
    color: inherit;
}

.catalog-card:hover,
.catalog-card:focus,
.catalog-card:active {
    text-decoration: none !important;
}

.catalog-card * {
    text-decoration: none !important;
}

#cardPerucas {
    animation: cardEntrance1 1.1s 0.6s var(--ease-out-expo) both;
}

#cardApliques {
    animation: cardEntrance2 1.1s 0.78s var(--ease-out-expo) both;
}

.card-inner {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, transform 0.4s var(--ease-out-expo);
}

/* Card Hover: 100% estático e estável (sem qualquer salto ou movimento 'up') */
.catalog-card:hover .card-inner {
    border-color: var(--border-highlight);
    box-shadow: var(--card-hover-shadow);
    transform: none;
}

/* Card Image Area */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.card-image-perucas {
    object-position: 85% 20%;
}

.card-image-apliques {
    object-position: 15% 20%;
}

.catalog-card:hover .card-image {
    transform: none;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: var(--card-overlay);
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s ease;
}

.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    background: var(--card-tag-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-tag-border);
    color: var(--card-tag-color);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-tag.card-tag-left {
    right: auto;
    left: 20px;
}

/* Card Content Area */
.card-content {
    position: relative;
    z-index: 2;
    padding: 26px 32px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 0;
}

.category-indicator {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-400);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.catalog-card:hover .card-title {
    color: var(--gold-300);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 300;
}

/* Badges / Feature Pills */
.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.pill {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--pill-color);
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.catalog-card:hover .pill {
    background: var(--pill-hover-bg);
    border-color: var(--pill-hover-border);
    color: var(--pill-hover-color);
}

/* Card Footer & Action Button */
.card-footer {
    margin-top: auto;
    padding-top: 16px;
}

.explore-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    border-radius: 16px;
    color: var(--text-pure);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease-out-expo);
}

.btn-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(207, 168, 81, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    transition: all 0.35s var(--ease-spring);
}

.btn-icon-circle i {
    width: 18px;
    height: 18px;
    transition: transform 0.35s var(--ease-out-expo);
}

.catalog-card:hover .explore-btn {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    border-color: var(--gold-300);
    color: #0d0d11;
    box-shadow: 0 10px 25px -5px rgba(207, 168, 81, 0.5);
}

.catalog-card:hover .btn-icon-circle {
    background: #0d0d11;
    color: var(--gold-300);
    transform: scale(1.05) rotate(45deg);
}

/* --------------------------------------------------------------------------
   Luminous Entrance Shine Sweep (Executa uma vez suavemente na entrada)
   -------------------------------------------------------------------------- */
.entrance-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.22) 50%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 4;
    animation: entranceShineSweep 1.3s 1.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

[data-theme="light"] .entrance-shine {
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 65%
    );
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
    text-align: center;
    padding-top: 50px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-brand {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.fiszpan-logo-footer-svg {
    height: 26px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.fiszpan-logo-footer-svg .cls-text {
    fill: var(--logo-text);
    transition: fill 0.35s ease;
}

.fiszpan-logo-footer-svg .cls-red {
    fill: var(--logo-red);
}

.fiszpan-logo-footer-svg:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Catalog Preview Modal / Drawer
   -------------------------------------------------------------------------- */
.catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.catalog-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: var(--modal-backdrop);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-panel {
    position: relative;
    z-index: 2;
    background: var(--modal-bg);
    border: 1px solid var(--border-highlight);
    border-radius: 24px;
    width: 90%;
    max-width: 820px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.6), 0 0 40px var(--gold-glow);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s var(--ease-out-expo), background 0.35s ease;
}

.catalog-modal.active .modal-panel {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--modal-header-bg);
}

.modal-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-400);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-pure);
    font-weight: 600;
}

.modal-close-btn {
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-close-btn:hover {
    background: rgba(207, 168, 81, 0.2);
    color: var(--text-pure);
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px 30px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Product Card inside Modal */
.product-item {
    background: var(--modal-product-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    border-color: var(--border-highlight);
    background: var(--modal-product-hover-bg);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 4px;
}

.product-tag {
    font-size: 0.72rem;
    color: var(--gold-400);
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.product-details {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 14px;
    flex-grow: 1;
}

.product-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(207, 168, 81, 0.15);
    color: var(--gold-300);
    border: 1px solid rgba(207, 168, 81, 0.3);
    transition: all 0.25s ease;
}

.product-action-btn:hover {
    background: var(--gold-400);
    color: #0a0a0c;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-subtle);
    background: var(--modal-footer-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.modal-footer-note {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.modal-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.modal-cta-btn:hover {
    background: #22bf5b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-whatsapp i {
    width: 28px;
    height: 28px;
}

.floating-whatsapp:hover {
    transform: scale(1.12);
}

.whatsapp-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.7);
    animation: pulseRing 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    pointer-events: none;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    70%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--bg-card);
    color: var(--text-pure);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --------------------------------------------------------------------------
   Keyframe Animations de Entrada (Entrance System)
   -------------------------------------------------------------------------- */
@keyframes navbarEntrance {
    0% {
        opacity: 0;
        transform: translateY(-28px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes badgeEntrance {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleEntrance {
    0% {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes subtitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardEntrance1 {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: blur(8px);
    }
    60% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes cardEntrance2 {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: blur(8px);
    }
    60% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes entranceShineSweep {
    0% {
        transform: translateX(-120%) rotate(25deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(120%) rotate(25deg);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .card-image-wrapper {
        height: 320px;
    }

    .hero-section {
        padding-top: 24px;
    }

    .page-wrapper {
        padding: 16px 16px 32px;
    }

    .navbar {
        padding: 12px 18px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .card-image-wrapper {
        height: 260px;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 1.8rem;
    }

    .nav-contact-btn span {
        display: none;
    }

    .nav-contact-btn {
        padding: 8px 12px;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .modal-panel {
        width: 95%;
        max-height: 90vh;
    }
}

/* ==========================================================================
   Estilos das Páginas Dedicadas de Catálogo (Perucas & Apliques)
   ========================================================================== */

/* Botão Voltar ao Início */
.nav-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.nav-back-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-back-btn:hover {
    color: var(--gold-300);
    border-color: var(--border-highlight);
    background: rgba(207, 168, 81, 0.12);
    transform: translateX(-3px);
}

.nav-back-btn:hover i {
    transform: translateX(-3px);
}

/* Category Hero Section */
.category-hero {
    text-align: center;
    padding: 30px 0 10px;
    max-width: 800px;
    margin: 0 auto;
}

.category-hero .hero-title {
    margin-bottom: 14px;
}

.category-hero .hero-subtitle {
    margin-bottom: 24px;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px auto 44px;
    padding: 6px;
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    max-width: fit-content;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-sans);
}

.filter-btn:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .filter-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    color: #0c0c10;
    border-color: var(--gold-300);
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* Products Catalog Grid */
.products-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    margin-bottom: 60px;
}

/* Catalog Product Card */
.catalog-product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, opacity 0.35s ease;
}

.catalog-product-card:hover {
    border-color: var(--border-highlight);
    box-shadow: var(--card-hover-shadow);
}

.product-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .product-img-box {
    background: rgba(0, 0, 0, 0.04);
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s var(--ease-out-expo);
}

.product-tag-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(9, 9, 11, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--gold-200);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

[data-theme="light"] .product-tag-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--gold-100);
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-model-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 6px;
    line-height: 1.2;
}

.product-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 16px;
}

.spec-pill {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--pill-color);
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    padding: 4px 10px;
    border-radius: 6px;
}

.product-model-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 300;
    flex-grow: 1;
}

.product-actions-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: auto;
}

.product-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none !important;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
    transition: all 0.25s ease;
}

.product-whatsapp-btn i {
    width: 16px;
    height: 16px;
}

.product-whatsapp-btn:hover,
.product-whatsapp-btn:focus,
.product-whatsapp-btn:active {
    background: #22bf5b;
    color: #ffffff;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}

.product-site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

[data-theme="light"] .product-site-btn {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-secondary);
}

.product-site-btn i {
    width: 15px;
    height: 15px;
    color: var(--gold-400);
}

.product-site-btn:hover,
.product-site-btn:focus,
.product-site-btn:active {
    background: rgba(207, 168, 81, 0.12);
    border-color: var(--gold-400);
    color: var(--gold-200);
    text-decoration: none !important;
    transform: translateY(-1px);
}

[data-theme="light"] .product-site-btn:hover,
[data-theme="light"] .product-site-btn:focus,
[data-theme="light"] .product-site-btn:active {
    color: var(--gold-600);
    text-decoration: none !important;
}

.product-title-link {
    color: inherit;
    text-decoration: none !important;
    display: inline-block;
    transition: color 0.2s ease;
}

.product-title-link:hover,
.product-title-link:focus,
.product-title-link:active {
    color: var(--gold-300);
    text-decoration: none !important;
}

.product-img-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.product-img-link:hover,
.product-img-link:focus,
.product-img-link:active {
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Search & Filter Controls
   -------------------------------------------------------------------------- */
.catalog-controls-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 680px;
    margin: 10px auto 28px;
}

.catalog-search-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.catalog-search-box .search-icon {
    position: absolute;
    left: 20px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
}

.catalog-search-input {
    width: 100%;
    padding: 14px 44px 14px 50px;
    border-radius: 999px;
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-pure);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.catalog-search-input::placeholder {
    color: var(--text-muted);
}

.catalog-search-input:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px var(--gold-glow), 0 8px 25px rgba(0, 0, 0, 0.15);
}

.catalog-search-box:focus-within .search-icon {
    color: var(--gold-300);
}

.search-clear-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.search-clear-btn:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.08);
}

.search-clear-btn i {
    width: 16px;
    height: 16px;
}

.catalog-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 4px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-results-count strong {
    color: var(--gold-300);
    font-weight: 700;
}

/* Toggle Modo Grade vs 1 Por Vez */
.view-mode-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.view-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-sans);
}

.view-mode-btn i {
    width: 13px;
    height: 13px;
}

.view-mode-btn:hover {
    color: var(--text-pure);
}

.view-mode-btn.active {
    background: var(--gold-400);
    color: #0c0c0e;
    box-shadow: 0 2px 8px rgba(207, 168, 81, 0.35);
}

[data-theme="light"] .view-mode-btn.active {
    background: var(--gold-500);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Product Card Enhancements (SKU, Price, Colors)
   -------------------------------------------------------------------------- */
.product-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.product-sku-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(207, 168, 81, 0.12);
    border: 1px solid rgba(207, 168, 81, 0.35);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-200);
    letter-spacing: 0.5px;
    width: fit-content;
}

[data-theme="light"] .product-sku-badge {
    background: rgba(184, 134, 11, 0.09);
    border-color: rgba(184, 134, 11, 0.25);
    color: var(--gold-600);
}

.product-sku-badge .sku-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.8px;
}

.product-sku-badge .sku-code {
    font-family: 'Courier New', Courier, monospace, var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.8px;
}

.sku-site-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.73rem;
    font-weight: 500;
    color: var(--gold-300);
    text-decoration: none !important;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(207, 168, 81, 0.08);
    border: 1px solid rgba(207, 168, 81, 0.22);
    transition: all 0.2s ease;
}

[data-theme="light"] .sku-site-link {
    color: var(--gold-600);
    background: rgba(184, 134, 11, 0.06);
    border-color: rgba(184, 134, 11, 0.2);
}

.sku-site-link:hover,
.sku-site-link:focus,
.sku-site-link:active {
    color: var(--gold-200);
    background: rgba(207, 168, 81, 0.18);
    border-color: var(--gold-400);
    text-decoration: none !important;
}

[data-theme="light"] .sku-site-link:hover,
[data-theme="light"] .sku-site-link:focus,
[data-theme="light"] .sku-site-link:active {
    color: var(--gold-700);
    border-color: var(--gold-500);
    text-decoration: none !important;
}

.sku-site-link i {
    width: 12px;
    height: 12px;
}

.product-colors-info {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 4px 0 16px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.5;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

[data-theme="light"] .product-colors-info {
    background: rgba(0, 0, 0, 0.02);
}

.product-colors-info i {
    width: 15px;
    height: 15px;
    color: var(--gold-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.product-colors-info strong {
    color: var(--text-pure);
    font-weight: 600;
}

.product-colors-info.no-stock {
    color: var(--text-muted);
    font-style: italic;
}

/* Empty filter state */
.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Modo de Visualização: 1 Produto por Vez (Single Product Viewer)
   -------------------------------------------------------------------------- */
.single-product-viewer {
    width: 100%;
    max-width: 480px;
    margin: 10px auto 44px;
    animation: singleFadeIn 0.3s ease;
}

.single-viewer-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.single-nav-bar.bottom-nav {
    margin-top: 4px;
}

.single-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-pure);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-sans);
}

[data-theme="light"] .single-nav-btn {
    background: rgba(0, 0, 0, 0.04);
}

.single-nav-btn:hover {
    background: var(--gold-400);
    color: #0c0c0e;
    border-color: var(--gold-400);
    transform: scale(1.03);
}

.single-nav-btn i {
    width: 17px;
    height: 17px;
}

.single-nav-info {
    display: flex;
    align-items: center;
}

.single-nav-counter {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.single-nav-counter strong {
    color: var(--gold-300);
    font-weight: 700;
}

.single-product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.single-product-card .product-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
}

.single-product-card .product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.single-swipe-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(9, 9, 11, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 999px;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.single-swipe-hint i {
    width: 13px;
    height: 13px;
    color: var(--gold-300);
}

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

/* --------------------------------------------------------------------------
   Responsive adjustments for catalog pages & mobile optimization
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .products-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 680px) {
    .page-wrapper {
        padding: 12px 14px 30px;
    }

    .navbar {
        padding: 10px 16px;
    }

    .fiszpan-logo-svg {
        height: 26px;
    }

    .category-hero {
        padding: 18px 4px 6px;
    }

    .category-hero .hero-title,
    .hero-title {
        font-size: clamp(2.1rem, 8vw, 3.2rem);
        margin-bottom: 10px;
    }

    .category-hero .hero-subtitle,
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    /* Carrossel de Filtros Horizontal no Mobile (Estilo App Nativo) */
    .filter-bar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        padding: 6px 8px;
        gap: 8px;
        margin: 12px 0 24px;
        border-radius: 999px;
    }

    .filter-bar::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Otimização de Busca no Mobile (evita zoom automático no iOS Safari com font-size: 16px) */
    .catalog-search-input {
        font-size: 16px;
        padding: 12px 42px 12px 46px;
    }

    .catalog-search-box .search-icon {
        left: 16px;
        width: 17px;
        height: 17px;
    }

    /* Grid e Cards de Produto */
    .products-catalog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-body {
        padding: 18px 16px;
    }

    .product-model-name {
        font-size: 1.35rem;
    }

    .product-whatsapp-btn {
        width: 100%;
        padding: 13px 18px;
        font-size: 0.9rem;
    }

    .nav-back-btn span,
    .nav-share-btn span {
        display: none;
    }

    .nav-back-btn,
    .nav-share-btn {
        padding: 8px 12px;
    }

    /* Botão flutuante respeita a barra de navegação do iPhone (Safe Area) */
    .floating-whatsapp {
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        right: 18px;
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 380px) {
    .page-wrapper {
        padding: 10px 10px 24px;
    }

    .product-body {
        padding: 16px 12px;
    }

    .product-model-name {
        font-size: 1.25rem;
    }
}
