/* ==========================================================================
   Loja Patricia - Perfumaria Dark/Gold Editorial Aesthetic
   Premium Professional Design System
   ========================================================================== */

:root {
    /* Core Palette - Dark Gold Editorial */
    --bg-primary: #0a0a0a;
    --bg-surface: #121212;
    --bg-surface-elevated: #1a1a1a;
    --bg-surface-hover: #1f1f1f;
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa8c2c;
    --gold-muted: #b89830;
    --text-primary: #fafafa;
    --text-secondary: #d0d0d0;
    --text-muted: #9a9a9a;
    --text-disabled: #909090;
    --border-color: #3a3a3a;
    --border-hover: #3a3a3a;
    --accent-red: #8b0000;
    --accent-green: #228b22;
    --focus-ring: 0 0 0 2px var(--gold-primary);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
    --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.15);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1440px;
    --header-height: 80px;
    --header-height-mobile: 70px;
    --spacing-2xs: 0.25rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --font-serif: "Cinzel", "Playfair Display", "Georgia", serif;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: clamp(2.5rem, 5vw, 4.5rem);
    --font-size-5xl: clamp(3rem, 6vw, 5.5rem);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold-primary);
    color: var(--bg-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 600;
    z-index: 10000;
    transition: var(--transition-fast);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    outline: none;
    box-shadow: var(--focus-ring);
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    line-height: 1.2;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--gold-primary);
}

a:focus-visible {
    outline-offset: 2px;
}

small, .text-xs {
    font-size: var(--font-size-xs);
}

.text-muted {
    color: var(--text-muted);
}

.text-gold {
    color: var(--gold-primary);
}

.text-gold-light {
    color: var(--gold-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.btn-primary {
    background-color: var(--gold-primary);
    color: var(--bg-primary);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.btn-primary:focus-visible {
    box-shadow: var(--shadow-sm), var(--focus-ring);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--gold-primary);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

.btn-secondary:focus-visible {
    box-shadow: var(--focus-ring);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: transparent;
    padding: 0.625rem 1.25rem;
}

.btn-ghost:hover:not(:disabled) {
    background-color: var(--bg-surface-hover);
    color: var(--gold-primary);
}

.btn-ghost:focus-visible {
    box-shadow: var(--focus-ring);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover:not(:disabled) {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(212, 175, 55, 0.05);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-xs);
    letter-spacing: 0.06em;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: var(--font-size-base);
    letter-spacing: 0.1em;
}

.btn-full {
    width: 100%;
}

@media (min-width: 480px) {
    .btn-full {
        width: auto;
    }
}

/* Button with icon */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-icon.btn-sm {
    width: 36px;
    height: 36px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
}

.panel-header {
    height: var(--header-height-mobile);
}

.header-inner,
.panel-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 2px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.12em;
    line-height: 1.15;
    transition: var(--transition-fast);
}

.logo:hover .logo-text {
    color: var(--gold-light);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xs);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition-fast);
    min-height: 44px;
}

.nav-link:hover {
    color: var(--gold-primary);
    background-color: rgba(212, 175, 55, 0.06);
}

.nav-link.active {
    color: var(--gold-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: var(--gold-primary);
    border-radius: 1px;
}

.nav-link-text {
    display: inline;
}

.cart-count {
    background-color: var(--gold-primary);
    color: var(--bg-primary);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    min-width: 1.25rem;
    text-align: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    z-index: 1001;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-toggle:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.nav-toggle:focus-visible {
    box-shadow: var(--focus-ring);
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gold-primary);
    border-radius: 1px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--bg-surface);
        flex-direction: column;
        align-items: stretch;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        gap: var(--spacing-2xs);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .main-nav .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        justify-content: center;
        padding: var(--spacing-sm) var(--spacing-md);
        min-height: 44px;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    /* Body scroll lock when menu is open */
    body.nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    height: 80vh;
    min-height: 560px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.78) 42%, rgba(10,10,10,0.34) 100%),
        linear-gradient(180deg, rgba(10,10,10,0.16) 0%, rgba(10,10,10,0.9) 100%),
        url("https://hinodegroup.vteximg.com.br/arquivos/ids/171685/10215---EMPIRE-CLASSICO_3.png?v=639270612086170000");
    background-size: cover;
    background-position: 78% 48%;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.08);
    transition: transform 14s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg {
        transform: scale(1);
        transition: none;
    }
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        rgba(10,10,10,0.35) 0%, 
        rgba(10,10,10,0.55) 40%, 
        rgba(10,10,10,0.85) 70%, 
        rgba(10,10,10,0.98) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: var(--container-max);
    width: 100%;
    padding: 0 var(--spacing-sm);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
    text-align: left;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero-title {
    font-size: var(--font-size-4xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.hero-copy {
    max-width: 650px;
}

.hero-eyebrow {
    color: var(--gold-primary);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: var(--spacing-sm);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-secondary-link {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.55);
    padding-bottom: 0.25rem;
}

.hero-secondary-link:hover,
.hero-secondary-link:focus-visible {
    color: var(--gold-primary);
}

.hero-proof {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

.hero-proof strong {
    color: var(--text-primary);
    font-size: var(--font-size-base);
    margin-right: 0.25rem;
}

.hero-product {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
}

.hero-product img {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
    max-height: 440px;
    object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.6));
    animation: productFloat 6s ease-in-out infinite;
}

.hero-product-glow {
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.26), transparent 68%);
    filter: blur(8px);
}

.hero-product-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    letter-spacing: 0.05em;
}

.hero-product-caption strong {
    color: var(--gold-primary);
}

@keyframes productFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-product img {
        animation: none;
    }
}

.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: var(--spacing-sm) auto 0;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.02em;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-indicator {
        animation: none;
    }
}

@media (max-width: 767px) {
    .hero {
        height: auto;
        min-height: 760px;
        background-attachment: scroll;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-bg {
        background-attachment: scroll;
        background-position: 76% 45%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-actions,
    .hero-proof {
        justify-content: center;
    }

    .hero-product {
        min-height: 170px;
        margin-top: -0.5rem;
    }

    .hero-product img {
        width: min(42vw, 180px);
        max-height: 190px;
    }

    .hero-product-caption {
        right: 50%;
        transform: translateX(50%);
        white-space: nowrap;
    }
    
    .hero-title::after {
        width: 60px;
    }
    
    .hero-scroll-indicator {
        bottom: var(--spacing-md);
    }
}

/* ==========================================================================
   Categories Section
   ========================================================================== */

.categories {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: var(--font-size-3xl);
    text-align: center;
    margin-bottom: var(--spacing-xs);
    color: var(--gold-primary);
    font-weight: 400;
    letter-spacing: 0.04em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

@media (min-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-card {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    background-color: var(--bg-surface-elevated);
}

@media (max-width: 479px) {
    .category-card {
        min-height: 0;
    }
}

.category-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

.category-card:focus-within {
    outline: none;
    box-shadow: var(--focus-ring), var(--shadow-gold);
}

.category-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.category-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
    z-index: 0;
}

.category-card:hover .category-image {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 35%, rgba(10,10,10,0.5) 60%, rgba(10,10,10,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-sm);
    color: var(--text-primary);
}

.category-overlay h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xs);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.category-count {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--gold-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.category-image--femininos {
    background-image: url("https://hinodegroup.vteximg.com.br/arquivos/ids/171815/df372d25-8d66-4265-aa8d-dc4f8802b56b.png?v=639270619868870000");
}

.category-image--masculinos {
    background-image: url("https://hinodegroup.vteximg.com.br/arquivos/ids/171685/10215---EMPIRE-CLASSICO_3.png?v=639270612086170000");
}

.category-image--cuidados {
    background-image: url("https://hinodegroup.vteximg.com.br/arquivos/ids/167086/Novo-Projeto--4-.png?v=639136834998300000");
}

.category-image--corpo {
    background-image: url("https://hinodegroup.vteximg.com.br/arquivos/ids/168916/3.png?v=639222408851730000");
}

.category-image--maquiagem {
    background-image: url("https://hinodegroup.vteximg.com.br/arquivos/ids/162317/25388---DAZZLE-BASE-MATTE-VELVET-ESCURO-1.png?v=639052073954900000");
}

.category-image--kits {
    background-image: url("https://hinodegroup.vteximg.com.br/arquivos/ids/173899/900349.png?v=639294782385270000");
}

/* Category fallback backgrounds for when images fail */
.category-card:has(.category-image[style*="background-image: none"]) .category-image,
.category-card:has(.category-image[style=""]) .category-image {
    background-image: none;
}

/* Gradiente de leitura sem sobrescrever as fotos das categorias. */
.category-card .category-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.04) 30%, rgba(10,10,10,0.48) 100%);
    pointer-events: none;
}

/* ==========================================================================
   Vitrine (Product Grid)
   ========================================================================== */

.vitrine {
    padding: var(--spacing-xl) 0;
}

.vitrine-header {
    margin-bottom: var(--spacing-lg);
}

.vitrine-controls {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
    align-items: stretch;
}

@media (min-width: 768px) {
    .vitrine-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
}

.search-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
}

.search-wrapper .visually-hidden {
    position: absolute;
}

.search-input {
    width: 100%;
    background-color: var(--bg-surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
    min-height: 44px;
}

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

.search-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: var(--focus-ring);
    background-color: var(--bg-surface);
}

.search-wrapper::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    pointer-events: none;
    opacity: 0.6;
}

.search-wrapper:focus-within::before {
    opacity: 1;
    filter: invert(68%) sepia(51%) saturate(400%) hue-rotate(2deg) brightness(105%) contrast(95%);
}

.filter-wrapper,
.sort-wrapper {
    flex-shrink: 0;
}

.filter-select {
    background-color: var(--bg-surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    min-width: 180px;
    min-height: 44px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: var(--focus-ring);
    background-color: var(--bg-surface);
}

.filter-select option {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    padding: var(--spacing-sm);
}

.vitrine-stats {
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    list-style: none;
}

@media (min-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.product-card:focus-within {
    outline: none;
    box-shadow: var(--focus-ring), var(--shadow-gold);
    border-color: var(--gold-primary);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: var(--bg-surface-elevated);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: var(--spacing-sm);
    background-color: var(--bg-primary);
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.04);
}

/* Image Placeholder */
.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--bg-surface-elevated);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    text-align: center;
    padding: var(--spacing-sm);
    border: 2px dashed var(--border-color);
}

.product-image-placeholder::before {
    content: '';
    display: block
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-xs);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5a5a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.5;
}

.product-info {
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    min-height: 160px;
}

.product-category {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-2xs);
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

.product-name a {
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.product-name a:hover {
    color: var(--gold-primary);
}

.product-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.02em;
}

.no-results {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    color: var(--text-secondary);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-md);
}

.no-results p {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.no-results .btn {
    width: 100%;
    max-width: 280px;
}

@media (min-width: 480px) {
    .no-results .btn {
        width: auto;
    }
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter {
    background-color: var(--bg-surface);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.4;
}

.newsletter-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xs);
    color: var(--gold-primary);
    font-weight: 400;
}

.newsletter-text {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto var(--spacing-lg);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 620px;
    margin: 0 auto;
}

.newsletter-hint {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    text-align: left;
}

.newsletter-input-wrapper {
    flex: 1;
    position: relative;
}

.newsletter-input {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
    min-height: 44px;
}

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

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: var(--focus-ring);
    background-color: var(--bg-surface);
}

.newsletter-form .btn {
    white-space: nowrap;
    min-height: 44px;
}

.newsletter-feedback {
    min-height: 1.5rem;
    font-size: var(--font-size-sm);
    text-align: center;
    transition: var(--transition-fast);
}

.newsletter-feedback.success {
    color: #90ee90;
}

.newsletter-feedback.error {
    color: #ff6b6b;
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */

.product-main {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-xl);
}

.breadcrumb {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
}

.breadcrumb a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

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

.breadcrumb-separator {
    color: var(--text-disabled);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
        padding: var(--spacing-xl);
        gap: var(--spacing-xl);
    }
}

.product-detail-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: var(--spacing-md);
    background-color: var(--bg-primary);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-category {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--spacing-xs);
}

.product-detail-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: var(--spacing-sm);
    line-height: 1.15;
    font-weight: 400;
}

.product-detail-price {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--gold-light);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.product-detail-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-size: var(--font-size-base);
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

@media (min-width: 480px) {
    .product-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-primary);
    overflow: hidden;
}

.quantity-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    transition: var(--transition-fast);
    min-width: 48px;
    min-height: 44px;
}

.quantity-btn:hover:not(:disabled) {
    background-color: var(--bg-surface-hover);
    color: var(--gold-primary);
}

.quantity-btn:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--gold-primary);
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-input {
    width: 64px;
    background: none;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-primary);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    -moz-appearance: textfield;
    min-height: 44px;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: none;
    background-color: var(--bg-surface);
}

.related-section {
    margin-top: var(--spacing-xl);
}

.related-section .section-title {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

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

@media (min-width: 768px) {
    .related-section .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

.footer-brand .logo-text {
    font-size: 1.375rem;
}

.footer-brand .logo-sub {
    font-size: 0.625rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-sm);
    line-height: 1.6;
    max-width: 280px;
}

.footer-nav h3,
.footer-contact h3,
.footer-social h3 {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.footer-nav ul,
.footer-social ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-nav a,
.footer-contact a,
.footer-social a {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
    padding: var(--spacing-2xs) 0;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-social a:hover {
    color: var(--gold-primary);
    padding-left: var(--spacing-xs);
}

.footer-contact p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.footer-contact a {
    display: inline;
    padding: 0;
}

.footer-contact a:hover {
    padding-left: 0;
    text-decoration: underline;
}

/* Social links - disabled state with clear indication */
.social-link-disabled {
    color: var(--text-disabled) !important;
    pointer-events: none;
    cursor: default;
    position: relative;
}

.social-link-disabled:hover {
    color: var(--text-disabled) !important;
    padding-left: 0;
    text-decoration: none;
}

.social-link-disabled::after {
    content: ' (indisponível)';
    font-size: var(--font-size-xs);
    font-weight: 400;
    opacity: 0.8;
    text-transform: none;
    letter-spacing: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

input, select, textarea {
    font-family: var(--font-sans);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: var(--focus-ring);
}

label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
    min-height: 44px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: var(--bg-surface);
}

/* ==========================================================================
   Panel Base Styles (shared with paineis.css)
   ========================================================================== */

.panel-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.panel-header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.panel-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height-mobile);
}

.panel-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--gold-primary);
    letter-spacing: 0.08em;
}

.panel-main {
    flex: 1;
    padding: var(--spacing-lg) 0;
}

.panel-section {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.panel-section h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--gold-primary);
    font-weight: 400;
}

.panel-section h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.panel-card {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-fast);
}

.panel-card:hover {
    border-color: var(--border-hover);
}

.panel-empty {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
    background-color: var(--bg-surface-elevated);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
}

.panel-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    opacity: 0.4;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-panel {
    width: 100%;
    margin-top: var(--spacing-xs);
}

@media (min-width: 480px) {
    .btn-panel {
        width: auto;
    }
}

/* Alert messages */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.alert::before {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.alert-info {
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-light);
}

.alert-info::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E");
}

.alert-success {
    background-color: rgba(34, 139, 34, 0.08);
    border: 1px solid rgba(34, 139, 34, 0.3);
    color: #90ee90;
}

.alert-success::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2390ee90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
}

.alert-error {
    background-color: rgba(139, 0, 0, 0.08);
    border: 1px solid rgba(139, 0, 0, 0.3);
    color: #ff6b6b;
}

.alert-error::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='15' y1='9' x2='9' y2='15'%3E%3C/line%3E%3Cline x1='9' y1='9' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E");
}

/* Profile display */
.profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.profile-field:last-child {
    border-bottom: none;
}

.profile-label {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-value {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* Orders list */
.order-list {
    list-style: none;
}

.order-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-surface-elevated);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.order-item:hover {
    border-color: var(--border-hover);
}

.order-item:last-child {
    border-bottom: none;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.order-id {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--gold-primary);
    font-weight: 500;
}

.order-date {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    white-space: nowrap;
}

.order-products {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.order-total {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--gold-light);
    font-weight: 600;
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
}

.status-pendente {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.status-confirmado {
    background-color: rgba(34, 139, 34, 0.15);
    color: #90ee90;
    border: 1px solid rgba(34, 139, 34, 0.3);
}

.status-cancelado {
    background-color: rgba(139, 0, 0, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(139, 0, 0, 0.3);
}

.status-enviado {
    background-color: rgba(30, 144, 255, 0.15);
    color: #87ceeb;
    border: 1px solid rgba(30, 144, 255, 0.3);
}

.status-entregue {
    background-color: rgba(138, 43, 226, 0.15);
    color: #dda0dd;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

/* Admin table */
.admin-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-surface-elevated);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.admin-table th,
.admin-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.admin-table th {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: var(--bg-primary);
    border-bottom: 2px solid var(--border-color);
}

.admin-table tbody tr {
    transition: var(--transition-fast);
}

.admin-table tbody tr:hover {
    background-color: var(--bg-surface);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table td {
    color: var(--text-secondary);
}

.admin-table .order-id {
    font-family: var(--font-mono);
    color: var(--gold-primary);
}

.admin-table .order-total {
    font-family: var(--font-serif);
    color: var(--gold-light);
    font-weight: 600;
}

.admin-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.admin-actions .btn {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-xs);
}

/* Loading state */
.loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--gold-primary);
    animation: spin 1s linear infinite;
    margin-right: var(--spacing-xs);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Cart Page Styles
   ========================================================================== */

.cart-page {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-xl);
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 900px) {
    .cart-container {
        grid-template-columns: 1fr 360px;
        align-items: start;
    }
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: var(--spacing-md);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    align-items: center;
    transition: var(--transition-fast);
}

.cart-item:hover {
    border-color: var(--border-hover);
}

@media (max-width: 599px) {
    .cart-item {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "image name"
            "image price"
            "image qty"
            "image remove";
        gap: var(--spacing-sm) var(--spacing-md);
    }
    .cart-item-image { grid-area: image; }
    .cart-item-info { grid-area: name; }
    .cart-item-price { grid-area: price; }
    .cart-item-quantity { grid-area: qty; }
    .cart-item-remove { grid-area: remove; }
}

.cart-item-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    object-position: center;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    min-width: 0;
}

.cart-item-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

.cart-item-price {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.cart-item-total {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gold-light);
    white-space: nowrap;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--spacing-xs);
    font-size: 1.25rem;
    line-height: 1;
    transition: var(--transition-fast);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.cart-item-remove:hover {
    color: var(--accent-red);
    background-color: rgba(139, 0, 0, 0.1);
}

.cart-empty {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    color: var(--text-secondary);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.cart-empty .btn {
    margin-top: var(--spacing-md);
}

.cart-summary {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-md));
}

.cart-summary h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--gold-primary);
    font-weight: 400;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-base);
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.summary-row .label { color: var(--text-secondary); }
.summary-row .value { color: var(--text-primary); font-family: var(--font-serif); }

.free-shipping-notice {
    font-size: var(--font-size-sm);
    color: var(--gold-primary);
    text-align: center;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.cart-actions .btn {
    width: 100%;
}

@media (min-width: 480px) {
    .cart-actions {
        flex-direction: row;
    }
    .cart-actions .btn {
        width: auto;
        flex: 1;
    }
}

/* ==========================================================================
   Checkout Page Styles
   ========================================================================== */

.checkout-page {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-xl);
}

.checkout-container {
    display: grid
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr 360px;
        align-items: start;
    }
}

.checkout-form-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.checkout-summary {
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-md));
}

.checkout-summary h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--gold-primary);
    font-weight: 400;
}

.checkout-summary .summary-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.checkout-summary .summary-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.checkout-summary .summary-item > div {
    flex: 1;
    min-width: 0;
}

.checkout-summary .summary-item span {
    display: block;
}

.checkout-summary .summary-item .item-name {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-summary .summary-item .item-meta {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.checkout-summary .summary-item .item-total {
    font-family: var(--font-serif);
    color: var(--gold-light);
    white-space: nowrap;
}

.form-section {
    margin-bottom: var(--spacing-lg);
}

.form-section h3 {
    font-family: var(--font-sans);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-md);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.payment-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    background-color: var(--bg-primary);
}

.payment-option:hover {
    border-color: var(--gold-primary);
}

.payment-option:has(input:checked) {
    border-color: var(--gold-primary);
    background-color: rgba(212, 175, 55, 0.05);
}

.payment-option input {
    accent-color: var(--gold-primary);
    width: 18px;
    height: 18px;
}

.payment-name {
    font-weight: 500;
    color: var(--text-primary);
}

.payment-discount {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.required { color: var(--accent-red); }

.form-error {
    display: none;
    font-size: var(--font-size-xs);
    color: var(--accent-red);
    margin-top: var(--spacing-2xs);
}

input[aria-invalid="true"] {
    border-color: var(--accent-red);
}

input[aria-invalid="true"] + .form-error,
select[aria-invalid="true"] + .form-error,
textarea[aria-invalid="true"] + .form-error {
    display: block;
}

.checkout-submit {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* ==========================================================================
   Minha Conta Page Styles
   ========================================================================== */

.account-page {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-xl);
}

.account-tabs {
    display: flex;
    gap: var(--spacing-xs);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    padding-bottom: 1px;
}

.account-tab {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    white-space: nowrap;
    min-height: 44px;
}

.account-tab:hover {
    color: var(--gold-primary);
}

.account-tab.active {
    color: var(--gold-primary);
}

.account-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--gold-primary);
}

.account-panel {
    display: none;
}

.account-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

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

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .newsletter,
    .hero-scroll-indicator,
    .btn,
    .nav-toggle,
    .cart-actions,
    .checkout-submit {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .product-card,
    .category-card,
    .product-detail {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.w-full { width: 100%; }
