/*
 * Folha de estilo da loja RS Beauty Store.
 *
 * Extraida do <style> embutido em public/index.php do sistema PHP, que
 * repetia o mesmo CSS em cada pagina. Aqui e um arquivo so, servido pelo
 * nginx em /static/css/loja.css e cacheado por 30 dias.
 *
 * Paleta e tipografia sao as originais: preto, branco e dourado (#d4af37),
 * com Cormorant Garamond nos titulos e Montserrat no texto.
 */

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

:root {
    --black: #0a0a0a;
    --white: #fefefe;
    --gray-light: #f5f5f5;
    --gray-mid: #e0e0e0;
    --gray-dark: #666;
    --accent: #d4af37;
    --rose-gold: #E8B4B8;
    --deep-rose: #C67B88;
    --soft-pink: #FFF5F7;
    --luxury-purple: #9B7EBD;
    --champagne: #F7E7CE;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

/* ========================
   SCROLL PROGRESS
======================== */
#scroll-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--rose-gold), var(--luxury-purple), var(--accent));
    z-index: 10001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(232, 180, 184, 0.6);
}

/* ========================
   HEADER / NAV
======================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(254, 254, 254, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 180, 184, 0.25);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(198, 123, 136, 0.12);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--black) 0%, var(--deep-rose) 55%, var(--luxury-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: linear-gradient(90deg, var(--deep-rose), var(--luxury-purple));
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--deep-rose); }
.nav-links a:hover::after { width: 100%; }

.nav-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--black);
    position: relative;
    padding: 0.3rem;
    transition: transform 0.3s, color 0.3s;
    text-decoration: none;
    display: flex;
}

.nav-icon-btn:hover { transform: scale(1.1); color: var(--deep-rose); }

.icon {
    width: 20px; height: 20px;
    stroke: currentColor; fill: none; stroke-width: 2;
}

.cart-badge {
    position: absolute;
    top: -6px; right: -6px;
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
    color: var(--white);
    border-radius: 50%;
    width: 18px; height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

/* ========================
   HERO
======================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-left {
    background: linear-gradient(160deg, #0a0a0a 0%, #1a0a0f 50%, #2a0f1a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 5rem 6rem 6rem;
    position: relative;
    z-index: 2;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(232, 180, 184, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(155, 126, 189, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rose-gold);
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px; height: 1px;
    background: var(--rose-gold);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rose-gold), var(--luxury-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    max-width: 380px;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.8s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.2rem;
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(198, 123, 136, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(155, 126, 189, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover { color: var(--rose-gold); border-color: var(--rose-gold); }

.hero-stats {
    position: absolute;
    bottom: 3rem; left: 6rem;
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeUp 0.9s ease 1s forwards;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.hero-right {
    position: relative;
    background: linear-gradient(160deg, var(--soft-pink) 0%, var(--champagne) 50%, rgba(232, 180, 184, 0.3) 100%);
    overflow: hidden;
}

.hero-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(155, 126, 189, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
}

.hero-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle-1 {
    position: absolute;
    width: 500px; height: 500px;
    border: 1px solid rgba(198, 123, 136, 0.2);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateSlow 30s linear infinite;
}

.hero-circle-2 {
    position: absolute;
    width: 350px; height: 350px;
    border: 1px solid rgba(155, 126, 189, 0.25);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateSlow 20s linear infinite reverse;
}

.hero-circle-3 {
    position: absolute;
    width: 200px; height: 200px;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.3), rgba(155, 126, 189, 0.3));
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes rotateSlow {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-tagline {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-tagline-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.2;
    background: linear-gradient(160deg, var(--black) 0%, var(--deep-rose) 50%, var(--luxury-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-dots {
    position: absolute;
    right: 3rem; top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(198, 123, 136, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--deep-rose);
    transform: scale(1.4);
}

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

/* ========================
   CATEGORIAS
======================== */
.section {
    padding: 7rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--deep-rose);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    display: block;
    width: 40px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose-gold));
}

.section-eyebrow::after {
    background: linear-gradient(90deg, var(--rose-gold), transparent);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--black);
}

.section-title em {
    font-style: italic;
    color: var(--deep-rose);
}

.categories-bg {
    background: linear-gradient(180deg, var(--white) 0%, var(--soft-pink) 50%, var(--white) 100%);
}

.categories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: var(--black);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(232, 180, 184, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.08), rgba(155, 126, 189, 0.08));
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card:hover::before { opacity: 1; }

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(198, 123, 136, 0.2);
    border-color: rgba(232, 180, 184, 0.5);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.category-card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.category-card-desc {
    font-size: 0.82rem;
    color: var(--gray-dark);
    line-height: 1.6;
    flex-grow: 1;
}

.category-card-count {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--deep-rose);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-arrow {
    width: 32px; height: 32px;
    border: 1px solid rgba(198, 123, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.category-card:hover .category-arrow {
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
    border-color: transparent;
    transform: translateX(4px);
}

.category-card:hover .category-arrow svg { stroke: white; }

/* ========================
   PRODUTOS EM DESTAQUE
======================== */
.featured-section {
    background: var(--white);
}

.featured-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-mid);
    opacity: 0;
    transform: translateY(20px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(198, 123, 136, 0.2);
    border-color: rgba(232, 180, 184, 0.5);
}

.product-img {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--soft-pink), var(--champagne));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

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

.product-img-placeholder {
    opacity: 0.25;
    width: 60px; height: 60px;
}

.promo-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}

.product-info {
    padding: 1.2rem 1.4rem 0;
}

.product-cat {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--deep-rose);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0;
}

.price-final {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--black), var(--deep-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-original {
    font-size: 0.85rem;
    color: var(--gray-dark);
    text-decoration: line-through;
}

.product-btn {
    display: block;
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--black), var(--deep-rose));
    color: var(--white);
    border: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.2rem;
    border-radius: 0 0 18px 18px;
}

.product-btn:hover {
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
}

.product-btn:disabled {
    background: var(--gray-mid);
    color: var(--gray-dark);
    cursor: not-allowed;
}

.ver-todos-wrap {
    text-align: center;
    margin-top: 4rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.5rem;
    border: 1.5px solid var(--deep-rose);
    color: var(--deep-rose);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 123, 136, 0.3);
}

/* ========================
   BANNER INTERMEDIÁRIO
======================== */
.banner-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0810 40%, #2a0f1a 70%, #1a0a2a 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(232, 180, 184, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(155, 126, 189, 0.1) 0%, transparent 50%);
}

.banner-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.banner-inner .section-eyebrow { color: var(--rose-gold); }
.banner-inner .section-eyebrow::before { background: linear-gradient(90deg, transparent, var(--rose-gold)); }
.banner-inner .section-eyebrow::after { background: linear-gradient(90deg, var(--rose-gold), transparent); }

.banner-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.banner-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rose-gold), var(--luxury-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ========================
   SOBRE NÓS
======================== */
.about-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--soft-pink) 100%);
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-card {
    background: linear-gradient(135deg, var(--soft-pink), var(--champagne));
    border-radius: 30px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(155, 126, 189, 0.2), transparent 70%);
    border-radius: 50%;
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -20%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(232, 180, 184, 0.25), transparent 70%);
    border-radius: 50%;
}

.about-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    color: var(--black);
    position: relative;
    z-index: 2;
}

.about-quote::before {
    content: '"';
    font-size: 6rem;
    line-height: 0;
    position: absolute;
    top: 2.5rem; left: -1rem;
    background: linear-gradient(135deg, var(--rose-gold), var(--luxury-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

.about-floater {
    position: absolute;
    bottom: -1.5rem; right: 2rem;
    background: var(--white);
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    box-shadow: 0 10px 30px rgba(198, 123, 136, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.floater-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.floater-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floater-text span {
    font-size: 0.72rem;
    color: var(--gray-dark);
    letter-spacing: 0.5px;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content .section-eyebrow {
    justify-content: flex-start;
}

.about-content .section-eyebrow::before { display: none; }

.about-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

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

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.value-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--deep-rose), var(--luxury-purple));
    margin-top: 5px;
    flex-shrink: 0;
}

.value-text {
    font-size: 0.82rem;
    color: var(--gray-dark);
    line-height: 1.5;
}

.value-text strong {
    display: block;
    color: var(--black);
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

/* ========================
   FOOTER
======================== */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0810 100%);
    color: rgba(255,255,255,0.5);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--white), var(--rose-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.35);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

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

.footer-col ul li { margin-bottom: 0.8rem; }

.footer-col ul li a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--rose-gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

/* ========================
   RESPONSIVO
======================== */
@media (max-width: 1100px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 10rem 2.5rem 5rem; }
    .hero-right { height: 50vh; }
    .hero-stats { left: 2.5rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .categories-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr; }
}

/* ============================================================
   Telas novas do Django: listagem com filtro e pagina do produto.
   O PHP nao tinha estas em formato reaproveitavel, entao sao novas --
   mas usam as mesmas variaveis de cor e a mesma tipografia acima.
   ============================================================ */

.vazio {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray-dark);
}

/* --- filtros da listagem --- */
.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.filtros input[type="search"],
.filtros select {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    padding: .7rem 1rem;
    border: 1px solid var(--gray-mid);
    background: var(--white);
    color: var(--black);
    min-width: 220px;
}

.filtros input[type="search"]:focus,
.filtros select:focus {
    outline: none;
    border-color: var(--accent);
}

.limpar-filtro {
    font-size: .85rem;
    color: var(--gray-dark);
    text-decoration: underline;
}

.resultado-contagem {
    text-align: center;
    color: var(--gray-dark);
    font-size: .85rem;
    letter-spacing: .05em;
    margin-bottom: 2rem;
}

/* --- paginacao --- */
.paginacao {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    font-size: .85rem;
    letter-spacing: .05em;
    color: var(--gray-dark);
}

.paginacao a {
    color: var(--black);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
}

/* --- pagina do produto --- */
.migalhas {
    font-size: .8rem;
    color: var(--gray-dark);
    letter-spacing: .05em;
    margin-bottom: 2rem;
}

.migalhas a { color: var(--gray-dark); }
.migalhas a:hover { color: var(--accent); }

.detalhe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.detalhe-galeria {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.galeria-principal {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--gray-light);
}

.galeria-miniatura {
    width: 90px;
    height: 90px;
    object-fit: cover;
    background: var(--gray-light);
    display: inline-block;
    margin-right: .5rem;
}

.detalhe-nome {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    margin: .5rem 0 1.5rem;
}

.detalhe-preco { margin-bottom: 2rem; }

.detalhe-descricao {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.detalhe-subtitulo {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.variacoes { list-style: none; }

.variacao {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--gray-mid);
}

.variacao-nome { font-weight: 500; }
.variacao-preco { color: var(--black); }

.variacao-estoque {
    font-size: .8rem;
    color: var(--gray-dark);
    letter-spacing: .05em;
}

.variacao-esgotada { opacity: .45; }

.aviso-carrinho {
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    background: var(--gray-light);
    border-left: 2px solid var(--accent);
    font-size: .85rem;
    color: var(--gray-dark);
}

@media (max-width: 820px) {
    .detalhe-grid { grid-template-columns: 1fr; gap: 2rem; }
    .filtros input[type="search"],
    .filtros select { min-width: 0; flex: 1 1 100%; }
}

/* ============================================================
   Login e identificacao no cabecalho.
   ============================================================ */

.nav-usuario {
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-dark);
    max-width: 14ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-sair { display: inline; }

.nav-sair {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--black);
    border-bottom: 1px solid var(--accent);
    padding: 0 0 2px;
}

.nav-sair:hover { color: var(--accent); }

.login-section {
    display: flex;
    justify-content: center;
    min-height: 60vh;
    align-items: center;
}

.login-caixa {
    width: 100%;
    max-width: 420px;
    padding: 3rem 2.5rem;
    background: var(--white);
    border: 1px solid var(--gray-mid);
}

.login-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: .5rem;
}

.login-sub {
    text-align: center;
    color: var(--gray-dark);
    font-size: .85rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.login-campo {
    display: block;
    margin-bottom: 1.25rem;
}

.login-campo > span {
    display: block;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gray-dark);
    margin-bottom: .5rem;
}

.login-campo input {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    padding: .8rem 1rem;
    border: 1px solid var(--gray-mid);
    background: var(--white);
    color: var(--black);
}

.login-campo input:focus {
    outline: none;
    border-color: var(--accent);
}

.login-botao {
    width: 100%;
    justify-content: center;
    margin-top: .5rem;
}

.login-erro {
    background: var(--soft-pink);
    border-left: 2px solid var(--deep-rose);
    padding: .9rem 1rem;
    margin-bottom: 1.5rem;
    font-size: .85rem;
    color: var(--deep-rose);
}

.campo-erro {
    display: block;
    margin-top: .35rem;
    font-size: .75rem;
    color: var(--deep-rose);
}

.login-rodape {
    text-align: center;
    margin-top: 2rem;
    font-size: .8rem;
}

.login-rodape a {
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-mid);
    padding-bottom: 2px;
}
