/*
Theme Name: Aurus Joalheria
Template: hello-elementor
Author: Antigravity Master
Version: 15.0.2
Description: Sistema de Luxo Editorial Brasileiro. Refinamento maximo em tipografia e espacos.
*/

:root {
    --lux-bg: #ffffff;
    --lux-white: #ffffff;
    --lux-dark: #222222;
    --lux-gold: #b38a58;
    --lux-gold-light: #d4c1a7;
    --lux-green: #004b43;
    --lux-text: #333333;
    --lux-text-muted: #777777;
    --lux-line: rgba(0,0,0,0.08);
    
    --font-display: 'Cormorant Garamond', serif;
    --font-sans: 'Manrope', sans-serif;
    
    --container: 1320px;
}

/* ── FUNDAÇÃO V15 ──────────────────────────────────────────────────── */

body {
    background-color: var(--lux-bg);
    color: var(--lux-text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
}

.lux-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* ── HEADER MASTER EDITORIAL ────────────────────────────────────────── */

.lux-header-master {
    background: var(--lux-white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.lux-header-master__top {
    background: #f8f8f8;
    padding: 8px 0;
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--lux-text-muted);
    border-bottom: 1px solid var(--lux-line);
}

.lux-header-master__main {
    padding: 24px 0;
    border-bottom: 1px solid var(--lux-line);
}

.lux-header-master__layout {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 60px;
}

.lux-header-master__logo img {
    height: 48px;
    width: auto;
    display: block;
}

.lux-header-master__nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.lux-nav-link {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--lux-dark);
    position: relative;
    padding: 10px 0;
}

.ah-hero-video {
    position: relative;
    overflow: hidden;
}
.ah-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.ah-hero-overlay {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(0,0,0,0.4) 100%);
}

.lux-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--lux-gold);
    transition: width 0.4s ease;
}

.lux-nav-link:hover::after {
    width: 100%;
}

.lux-header-master__actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lux-btn-consultoria {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--lux-green);
    border: 1px solid var(--lux-green);
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.lux-btn-consultoria:hover {
    background: var(--lux-green);
    color: var(--lux-white);
}

.lux-cart-trigger {
    position: relative;
    display: flex;
    align-items: center;
}

.lux-cart-icon {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z"></path><line x1="3" y1="6" x2="21" y2="6"></line><path d="M16 10a4 4 0 0 1-8 0"></path></svg>') no-repeat center;
    background-size: contain;
}

.lux-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--lux-gold);
    color: white;
    font-size: 9px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── SEÇÃO DE CATEGORIAS V15 (CURADORIA) ────────────────────────────── */

.lux-moments-v15 {
    padding: 120px 0;
}

.lux-moments-v15__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.lux-moment-card-v15 {
    position: relative;
    aspect-ratio: 0.8;
    overflow: hidden;
    background: #f0f0f0;
}

.lux-moment-card-v15 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lux-moment-card-v15:hover img {
    transform: scale(1.08);
}

.lux-moment-card-v15__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    color: white;
    text-align: center;
}

.lux-moment-card-v15__content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.lux-moment-card-v15__content span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

/* ── RESPONSIVO ─────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .lux-header-master__layout {
        grid-template-columns: 1fr auto;
        gap: 20px;
    }
    .lux-header-master__nav { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LUX DESIGN SYSTEM — componentes globais
   Usado em: archive-product.php, content-product.php, single-product.php,
             template-luxury-home.php e outros templates.
   Tokens: --lux-gold #B98E55 | --lux-dark #181410 | --lux-ink #2B231B
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --lux-cream:  #FAFAF8;
    --lux-warm:   #F5EDE3;
    --lux-stone:  #EDE7DF;
    --lux-dark:   #181410;
    --lux-ink:    #2B231B;
    --lux-mid:    #7C7168;
    --lux-border: rgba(43,35,27,.08);
    --lux-gold:   #B98E55;
    --lux-gold-l: #D9C49E;
    --lux-gold-d: #8C6A38;
    --lux-serif:  'Cormorant Garamond', Georgia, serif;
    --lux-sans:   'Manrope', system-ui, sans-serif;
}

/* ── Containers e seções ─────────────────────────────────────────────────── */
.lux-section { padding: 88px 0; }
.lux-section--soft { background: var(--lux-stone); }

/* ── Eyebrow ─────────────────────────────────────────────────────────────── */
.lux-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--lux-sans);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .26em;
    color: var(--lux-gold);
    margin: 0 0 16px;
    line-height: 1;
}
.lux-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

/* ── Botões ──────────────────────────────────────────────────────────────── */
.lux-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lux-sans);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .22em;
    text-decoration: none;
    padding: 16px 36px;
    background: var(--lux-dark);
    color: #fff;
    border: 1px solid var(--lux-dark);
    transition: background .22s, border-color .22s, color .22s;
    white-space: nowrap;
    cursor: pointer;
}
.lux-button:hover { background: var(--lux-ink); border-color: var(--lux-ink); color: #fff; }
.lux-button--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.lux-button--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: #fff; }
.lux-button--outline { background: transparent; color: var(--lux-ink); border-color: var(--lux-border); }
.lux-button--outline:hover { background: var(--lux-dark); color: #fff; border-color: var(--lux-dark); }

/* ── Inline link ─────────────────────────────────────────────────────────── */
.lux-inline-link {
    font-family: var(--lux-sans);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--lux-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--lux-border);
    padding-bottom: 2px;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.lux-inline-link:hover { color: var(--lux-gold); border-color: var(--lux-gold); }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.lux-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(255,255,255,.38);
    flex-wrap: wrap;
}
.lux-breadcrumb a { color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s; }
.lux-breadcrumb a:hover { color: var(--lux-gold-l); }
.lux-breadcrumb span[aria-current="page"] { color: rgba(255,255,255,.78); }

/* ── Animações data-reveal (global) ─────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   ARQUIVO DE PRODUTO
   ═══════════════════════════════════════════════════════════════════════════ */

.lux-archive-page {
    background: var(--lux-cream);
    font-family: var(--lux-sans);
    color: var(--lux-ink);
}
.lux-archive-page *, .lux-archive-page *::before, .lux-archive-page *::after { box-sizing: border-box; }
.lux-archive-page img { display: block; max-width: 100%; }

.lux-archive-hero {
    position: relative;
    min-height: 52vh;
    background-color: var(--lux-dark);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.lux-archive-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(24,20,16,.42) 0%, rgba(24,20,16,.72) 100%);
}
.lux-archive-hero__inner { position: relative; z-index: 1; padding: 64px 0; width: 100%; }
.lux-archive-hero__inner h1 {
    font-family: var(--lux-serif);
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.05;
    margin: 12px 0 16px;
    letter-spacing: -.01em;
}
.lux-archive-hero__inner > p {
    font-size: .92rem;
    color: rgba(255,255,255,.55);
    margin: 0 0 40px;
    max-width: 520px;
    line-height: 1.7;
}
.lux-archive-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Chip strip */
.lux-chip-strip { background: #fff; border-bottom: 1px solid var(--lux-border); padding: 14px 0; }
.lux-chip-strip__inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.lux-chip-strip__inner::-webkit-scrollbar { display: none; }
.lux-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-family: var(--lux-sans);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    text-decoration: none;
    color: var(--lux-mid);
    background: var(--lux-stone);
    padding: 8px 18px;
    border: 1px solid transparent;
    transition: color .2s, border-color .2s, background .2s;
    white-space: nowrap;
}
.lux-chip:hover { color: var(--lux-ink); border-color: var(--lux-border); }
.lux-chip.is-active { color: var(--lux-dark); background: #fff; border-color: var(--lux-gold); }

/* Intro editorial */
.lux-archive-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 56px; }
.lux-archive-intro__copy h2 {
    font-family: var(--lux-serif);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 500;
    color: var(--lux-ink);
    margin: 8px 0 16px;
    line-height: 1.1;
}
.lux-archive-intro__copy p { font-size: .92rem; line-height: 1.8; color: var(--lux-mid); margin: 0; }

/* Support card */
.lux-support-card { background: var(--lux-warm); padding: 40px; border: 1px solid var(--lux-border); }
.lux-support-card h3 { font-family: var(--lux-serif); font-size: 1.35rem; font-weight: 500; color: var(--lux-ink); margin: 0 0 20px; }
.lux-feature-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.lux-feature-list li {
    font-size: .88rem;
    color: var(--lux-mid);
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}
.lux-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 1px;
    background: var(--lux-gold);
}

/* Toolbar */
.lux-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--lux-border);
    border-bottom: 1px solid var(--lux-border);
    margin-bottom: 40px;
}
.lux-toolbar__count { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--lux-mid); }
.lux-toolbar__sort select {
    font-family: var(--lux-sans);
    font-size: .82rem;
    font-weight: 500;
    color: var(--lux-ink);
    background: transparent;
    border: 1px solid var(--lux-border);
    padding: 8px 12px;
    outline: none;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARD DE PRODUTO — GLOBAL (lux-product-card)
   ═══════════════════════════════════════════════════════════════════════════ */

.lux-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lux-product-grid--archive { grid-template-columns: repeat(3, 1fr); }

.lux-product-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    transition: box-shadow .25s;
    list-style: none;
}
.lux-product-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,.07); }

.lux-product-card__image {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--lux-stone);
    overflow: hidden;
}
.lux-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 1.4s cubic-bezier(.12,.88,.2,1);
    display: block;
}
.lux-product-card:hover .lux-product-card__image img { transform: scale(1.05); }

.lux-product-card__badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--lux-gold);
    color: #fff;
    font-family: var(--lux-sans);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    padding: 5px 12px;
    z-index: 1;
}

.lux-product-card__body { padding: 20px 20px 16px; display: flex; flex-direction: column; flex: 1; }

.lux-product-card__meta {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--lux-mid);
    text-decoration: none;
    margin-bottom: 6px;
    display: block;
    transition: color .2s;
}
.lux-product-card__meta:hover { color: var(--lux-gold); }

.lux-product-card__body h2,
.lux-product-card__body h3,
.lux-product-card .woocommerce-loop-product__title {
    font-family: var(--lux-serif) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--lux-ink) !important;
    line-height: 1.2 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
.lux-product-card__body h2 a,
.lux-product-card .woocommerce-loop-product__title a { color: inherit; text-decoration: none; }

.lux-product-card__price,
.lux-product-card .price {
    font-family: var(--lux-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--lux-ink);
    margin-bottom: 14px;
    display: block;
}
.lux-product-card__price del,
.lux-product-card .price del { color: var(--lux-mid); font-size: .82em; margin-right: 6px; opacity: .6; }
.lux-product-card__price ins,
.lux-product-card .price ins { text-decoration: none; color: var(--lux-gold-d); }

.lux-product-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--lux-border);
    margin-top: auto;
}
.lux-product-card__foot span {
    font-size: 8.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--lux-mid);
}
.lux-product-card .button { display: none !important; }

/* ── Paginação ───────────────────────────────────────────────────────────── */
.lux-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 48px 0 0;
    flex-wrap: wrap;
}
.lux-pagination a,
.lux-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    font-family: var(--lux-sans);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    text-decoration: none;
    color: var(--lux-mid);
    border: 1px solid var(--lux-border);
    transition: color .2s, border-color .2s, background .2s;
}
.lux-pagination a:hover { color: var(--lux-ink); border-color: var(--lux-gold); }
.lux-pagination span.current { color: var(--lux-dark); border-color: var(--lux-gold); background: var(--lux-warm); }

/* ── Estado vazio ────────────────────────────────────────────────────────── */
.lux-empty-state { text-align: center; padding: 80px 40px; max-width: 560px; margin: 0 auto; }
.lux-empty-state h2 { font-family: var(--lux-serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; color: var(--lux-ink); margin: 0 0 16px; }
.lux-empty-state p { font-size: .92rem; color: var(--lux-mid); line-height: 1.8; margin: 0 0 36px; }
.lux-empty-state__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ── Guidance cards ──────────────────────────────────────────────────────── */
.lux-guidance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lux-guidance-card { padding: 36px 28px; background: #fff; border: 1px solid var(--lux-border); }
.lux-guidance-card h3 { font-family: var(--lux-serif); font-size: 1.2rem; font-weight: 500; color: var(--lux-ink); margin: 0 0 12px; }
.lux-guidance-card p { font-size: .88rem; line-height: 1.8; color: var(--lux-mid); margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVO — componentes lux
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .lux-product-grid,
    .lux-product-grid--archive { grid-template-columns: repeat(2, 1fr); }
    .lux-guidance-grid { grid-template-columns: repeat(2, 1fr); }
    .lux-archive-intro { grid-template-columns: 1fr; gap: 32px; }
    .lux-archive-hero { min-height: 40vh; }
}
@media (max-width: 640px) {
    .lux-product-grid,
    .lux-product-grid--archive { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .lux-guidance-grid { grid-template-columns: 1fr; }
    .lux-section { padding: 56px 0; }
    .lux-archive-hero__inner { padding: 44px 0; }
    .lux-archive-hero__actions { flex-direction: column; align-items: flex-start; }
    .lux-support-card { padding: 28px 24px; }
    .lux-empty-state { padding: 56px 24px; }
    .lux-container { padding: 0 20px; }
}
