/* Fallback fonts with metric overrides to prevent CLS */
@font-face {
    font-family: 'Cormorant Garamond Fallback';
    src: local('Georgia'), local('Times New Roman');
    size-adjust: 105%;
    ascent-override: 86%;
    descent-override: 22%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    size-adjust: 96%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

:root {
    /* DEFAULT LIGHT THEME VARIABLES (Cream & Rose Gold) */
    --color-bg-main: #faf6f0;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #fdfbf7;
    --color-text: #2c2520;
    --color-text-muted: #6b5e56;
    --color-border: rgba(195, 155, 124, 0.28);      /* Increased opacity and changed to warm Rose Gold */
    --color-border-hover: rgba(195, 155, 124, 0.6); /* Warm hover highlight */
    --color-primary: #c39b7c;       /* Champagne Rose */
    --color-primary-rgb: 195, 155, 124;
    --color-primary-text: #8c6046;  /* Darker shade for contrast on light backgrounds */
    --color-secondary: #e8d8ce;     /* Rosé Pastel */
    --color-gold: #d4af37;          /* Classic Gold */
    --color-header-bg: rgba(250, 246, 240, 0.85);
    --color-shadow: rgba(44, 37, 32, 0.12);         /* Doubled shadow opacity for better depth and highlight */
    --color-input-bg: #ffffff;
    --font-serif: 'Cormorant Garamond', 'Cormorant Garamond Fallback', 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', 'Inter Fallback', sans-serif;
}

body.dark-theme {
    /* DARK THEME VARIABLES (Charcoal & Gold) */
    --color-bg-main: #120e0c;
    --color-bg-card: #1a1512;
    --color-bg-card-hover: #241c19;
    --color-text: #f3efea;
    --color-text-muted: #b3a8a0;
    --color-border: rgba(243, 239, 234, 0.08);
    --color-border-hover: rgba(213, 167, 136, 0.4);
    --color-primary: #d5a788;       /* Rose Gold Light */
    --color-primary-rgb: 213, 167, 136;
    --color-primary-text: #d5a788;  /* Matches primary on dark backgrounds */
    --color-secondary: #2e221b;     /* Muted Dark Cocoa */
    --color-gold: #e6c15c;          /* Bright Gold */
    --color-header-bg: rgba(18, 14, 12, 0.85);
    --color-shadow: rgba(0, 0, 0, 0.4);
    --color-input-bg: #241c19;
}

/* Base resets & fonts */
body {
    background-color: var(--color-bg-main);
    color: var(--color-text);
    font-family: var(--font-sans);
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--color-text);
    font-weight: 600;
}

a {
    transition: color 0.3s ease;
}

/* Navbar specific for Cosmetics Showcase */
.beauty-nav {
    position: sticky;
    top: 70px; /* Sits below the demo header */
    left: 0;
    width: 100%;
    z-index: 90;
    background: var(--color-header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.beauty-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-beauty {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-beauty .logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--color-border);
    box-shadow: 0 2px 8px var(--color-shadow);
    transition: all 0.3s ease;
}

.logo-beauty:hover .logo-img {
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.25);
}

.logo-beauty span {
    color: var(--color-primary);
    font-weight: 300;
}

.beauty-links {
    display: none;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.beauty-link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.beauty-link:hover, .beauty-link.active {
    color: var(--color-primary);
}

.beauty-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.beauty-icon-btn {
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.beauty-icon-btn:hover {
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.05);
}

.cart-count-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.beauty-hero {
    padding: 100px 0 80px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 70%);
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-primary-text);
    margin-bottom: 1.25rem;
    display: inline-block;
}

.hero-beauty-title {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -0.01em;
    animation: fadeInUpBeauty 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (min-width: 768px) {
    .hero-beauty-title {
        font-size: 4rem;
    }
}

.hero-beauty-title .hero-highlight {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.hero-beauty-title .hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-gold), transparent);
    opacity: 0.6;
    transform: scaleX(0.95);
    transition: all 0.3s ease;
}

.hero-beauty-title .hero-highlight:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.2);
}

.hero-beauty-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 550px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.8;
    animation: fadeInUpBeauty 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.2s;
}

.beauty-hero .btn {
    animation: fadeInUpBeauty 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.4s;
}

.beauty-hero .btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--color-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.beauty-hero .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: -1;
    transition: none;
}

.beauty-hero .btn-primary:hover {
    background-color: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-bg-main);
    letter-spacing: 0.2em;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--color-primary-rgb), 0.35);
}

.beauty-hero .btn-primary:hover::before {
    animation: shineSweep 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shineSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 160%;
    }
}

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

/* Category Filters */
.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.catalog-filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.catalog-filter-btn:hover, .catalog-filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.2);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 576px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (min-width: 850px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

@media (min-width: 1100px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px var(--color-shadow);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
    box-shadow: 0 12px 30px var(--color-shadow);
}

.product-tag-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: var(--color-primary-text);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

body.dark-theme .product-tag-badge {
    background-color: var(--color-primary);
    color: #120e0c;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.product-img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(232, 216, 206, 0.3) 0%, rgba(195, 155, 124, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1.25rem;
    position: relative;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 0.5rem 0.5rem 0.5rem;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-excerpt {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

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

.product-price {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}

.product-action-btn {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-action-btn:hover {
    background: var(--color-text);
    color: var(--color-bg-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Slide-in Details Drawer (Sidebar) */
.beauty-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(44, 37, 32, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.beauty-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.beauty-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-bg-main);
    border-left: 1px solid var(--color-border);
    box-shadow: -10px 0 35px var(--color-shadow);
    z-index: 999;
    padding: 85px 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.beauty-drawer.active {
    right: 0;
}

.drawer-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drawer-close-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

.drawer-img-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(232, 216, 206, 0.3) 0%, rgba(195, 155, 124, 0.1) 100%);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.drawer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary-text);
    margin-bottom: 0.5rem;
}

.drawer-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.drawer-price {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.drawer-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.drawer-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.35rem;
}

.drawer-section-content {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.drawer-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.drawer-purchase-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.purchase-option-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
}

/* WhatsApp (Primary - Solid) */
.whatsapp-opt {
    background-color: var(--color-primary);
    color: #ffffff;
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.2);
}

.whatsapp-opt:hover {
    background-color: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-bg-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Mercado Livre (Outline Premium) */
.mercadolivre-opt {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.mercadolivre-opt:hover {
    color: #ffd200; /* Mercado Livre Yellow-Gold for contrast */
    border-color: #ffd200;
    background-color: rgba(255, 210, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 210, 0, 0.08);
}

/* Shopee (Outline Premium) */
.shopee-opt {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.shopee-opt:hover {
    color: #EE4D2D; /* Shopee Orange */
    border-color: #EE4D2D;
    background-color: rgba(238, 77, 45, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 77, 45, 0.08);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

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

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--color-shadow);
}

.stars-rating {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.testimonial-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
}

.testimonial-author-role {
    font-size: 0.75rem;
    color: var(--color-primary-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* ==========================================================================
   SEÇÃO DE CONTATO - AURORA BEAUTY
   ========================================================================== */
.beauty-contact-section {
    position: relative;
    border-top: 1px solid var(--color-border);
    background: radial-gradient(circle at 80% 20%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 60%);
    overflow: hidden;
}

/* Glowing background blob behind the contact card */
.beauty-contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.12) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.contact-grid-beauty {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .contact-grid-beauty {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.contact-info-beauty {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-beauty h2 {
    font-size: 2.25rem;
    line-height: 1.2;
}

.contact-beauty-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.beauty-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.beauty-contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.beauty-contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    color: var(--color-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.beauty-contact-item h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
}

.beauty-contact-item p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Contact Form Card */
.contact-form-card-beauty {
    background: var(--color-bg-card);
    border: 1.5px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2.25rem;
    box-shadow: 0 15px 40px var(--color-shadow);
}

.beauty-form-group {
    margin-bottom: 1.25rem;
}

.beauty-form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.beauty-form-control {
    width: 100%;
    background-color: var(--color-input-bg);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.85rem 1.15rem;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.beauty-form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-bg-card-hover);
    box-shadow: 0 0 12px rgba(var(--color-primary-rgb), 0.12);
}

select.beauty-form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iIzZiNWU1NiI+PHBhdGggZD0iTTcgMTBsNSA1IDUtNXoiLz48L3N2Zz4=");
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.1rem !important;
    padding-right: 2.5rem;
}

body.dark-theme select.beauty-form-control {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iI2IzYThhMCI+PHBhdGggZD0iTTcgMTBsNSA1IDUtNXoiLz48L3N2Zz4=") !important;
}

select.beauty-form-control option {
    background-color: var(--color-bg-card);
    color: var(--color-text);
}

.beauty-submit-btn {
    width: 100%;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 0.95rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.2);
    margin-top: 1.5rem;
}

.beauty-submit-btn:hover {
    background: var(--color-text);
    color: var(--color-bg-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.beauty-submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Menu Toggle Button (Hamburger) */
.menu-toggle-btn {
    background: transparent;
    border: none;
    color: var(--color-text);
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 101;
}

.menu-toggle-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hamburger transition to 'X' */
.menu-toggle-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle-btn.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh; /* Prevent cutoffs from mobile browser navigation bar */
    background: var(--color-header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--color-border);
    z-index: 105; /* Above demo-header */
    padding: 85px 2rem 4.5rem 2rem; /* Increased bottom padding to lift button */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto; /* Enable scrolling if content exceeds height */
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px var(--color-shadow);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-drawer-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
    color: var(--color-primary);
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 104; /* Just below mobile-drawer */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile responsive constraints */
@media (max-width: 768px) {
    .beauty-nav-container {
        height: 70px;
    }
}

@media (min-width: 768px) {
    .beauty-links {
        display: flex;
    }
    .menu-toggle-btn {
        display: none;
    }
}

/* ==========================================================================
   FUNDO ELEGANTE E DINÂMICO (MESH GRADIENT OVERLAY)
   ========================================================================== */
.beauty-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--color-bg-main);
    transition: background-color 0.4s ease;
}

.beauty-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(195, 155, 124, 0.12) 1px, transparent 0);
    background-size: 30px 30px;
    opacity: 0.6;
    z-index: 1;
}

body.dark-theme .beauty-bg-overlay {
    background-image: radial-gradient(rgba(213, 167, 136, 0.08) 1px, transparent 0);
}

.beauty-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    transition: background-color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    animation: float-blob 25s infinite alternate ease-in-out;
}

/* Light Theme Blobs */
.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background-color: #f7ede2; /* Soft Warm Cream */
    animation-duration: 20s;
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background-color: #f5eae2; /* Soft Champagne */
    animation-duration: 28s;
}

.blob-3 {
    top: 40%;
    left: 60%;
    width: 40vw;
    height: 40vw;
    background-color: #ebd7cc; /* Rosé Pastel */
    animation-duration: 24s;
}

/* Dark Theme Blobs */
body.dark-theme .blob-1 {
    background-color: #2e1d15; /* Deep Warm Bronze */
    opacity: 0.25;
}

body.dark-theme .blob-2 {
    background-color: #22140f; /* Dark Rose Gold */
    opacity: 0.22;
}

body.dark-theme .blob-3 {
    background-color: #1a0f0a; /* Dark Cocoa */
    opacity: 0.28;
}

@keyframes float-blob {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(6vw, 4vh) scale(1.05) rotate(120deg);
    }
    66% {
        transform: translate(-4vw, 7vh) scale(0.95) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

/* Custom override for the shared demo header badge to match the cosmetics champagne/rose-gold theme and remove the blue outline */
.demo-title-badge {
    background: rgba(var(--color-primary-rgb), 0.08) !important;
    border: 1px solid rgba(var(--color-primary-rgb), 0.25) !important;
    color: var(--color-primary-text) !important;
}

/* Adjustments on mobile to prevent the menu button from sticking to the right edge and align actions */
@media (max-width: 768px) {
    .beauty-nav-container {
        padding: 0 1rem !important; /* Force margin/padding from the screen edges */
    }
    .logo-beauty {
        font-size: 1.15rem; /* Decrease size of logo text on mobile to avoid overflow */
        gap: 0.4rem;
    }
    .logo-beauty .logo-img {
        width: 30px; /* Symmetrical reduction of logo image */
        height: 30px;
    }
    .beauty-actions {
        gap: 0.5rem; /* Tighten layout slightly for grouping */
    }
    .beauty-icon-btn {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    .menu-toggle-btn {
        width: 32px;
        height: 32px;
        margin-left: 0.25rem !important;
    }
}

/* Brand Logo Styling for Mobile Drawer & Footer */
.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.drawer-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--color-border);
    box-shadow: 0 2px 8px var(--color-shadow);
}

.drawer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
}

.drawer-brand-name span {
    color: var(--color-primary);
    font-weight: 300;
}

.footer-logo-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 15px var(--color-shadow);
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.3);
}
