/* ═══════════════════════════════════════════════════════════════
   BELLARTE PARAGUAY — Galeria Digital de Arte
   v1.0 — Sistema de diseno premium
   Sobre Mall-Commerce v3.5 (se conservan todos los nombres de clase)
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    /* Base: pared de galeria, madera y bronce */
    --mp-primary: #14120F;
    --mp-primary-light: #2A2622;
    --mp-secondary: #6B5D4F;
    --mp-secondary-light: #8C7B68;
    --mp-accent: #B08D57;
    --mp-accent-hover: #967541;
    --mp-accent-glow: rgba(176,141,87,.22);
    --mp-gold-line: #C9A227;

    --mp-bg: #FAF8F4;
    --mp-bg-warm: #F3EFE8;
    --mp-mat: #F1ECE3;              /* passe-partout detras de la obra */
    --mp-surface: #FFFFFF;
    --mp-dark: #14120F;

    --mp-text: #1F1C18;
    --mp-text-secondary: #6E6862;
    --mp-text-muted: #A39C93;
    --mp-border: #E6E0D6;
    --mp-border-light: #F0EBE2;

    --mp-success: #5B7F5E;
    --mp-success-bg: #EEF3EE;
    --mp-danger: #A63D3D;
    --mp-danger-bg: #FBF1F1;
    --mp-warning: #C9A227;
    --mp-warning-bg: #FCF8EC;
    --mp-info: #5A7184;
    --mp-star: #B08D57;
    --mp-whatsapp: #25D366;

    --mp-radius-sm: 2px;
    --mp-radius: 3px;
    --mp-radius-lg: 4px;
    --mp-radius-xl: 6px;

    --mp-shadow-sm: 0 1px 2px rgba(20,18,15,.05);
    --mp-shadow: 0 2px 10px rgba(20,18,15,.06);
    --mp-shadow-md: 0 8px 28px rgba(20,18,15,.09);
    --mp-shadow-lg: 0 24px 60px rgba(20,18,15,.13);
    --mp-shadow-frame: 0 10px 30px rgba(20,18,15,.14), 0 2px 6px rgba(20,18,15,.08);
    --mp-shadow-accent: 0 8px 24px var(--mp-accent-glow);

    --mp-transition: all .35s cubic-bezier(.22,.61,.36,1);
    --mp-transition-slow: all .6s cubic-bezier(.22,.61,.36,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--mp-bg);
    color: var(--mp-text);
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6,.font-heading {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: .2px;
    color: var(--mp-primary);
    line-height: 1.25;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.6rem; }
a { color: var(--mp-secondary); text-decoration: none; transition: var(--mp-transition); }
a:hover { color: var(--mp-accent); }
img { max-width: 100%; height: auto; }
::selection { background: var(--mp-accent); color: #fff; }
.text-accent, .accent { color: var(--mp-accent) !important; }
main { min-height: 50vh; padding-bottom: 40px; }

/* Utilidad: versalitas de galeria */
.eyebrow {
    font-size: 11px; font-weight: 500; letter-spacing: 2.4px;
    text-transform: uppercase; color: var(--mp-accent);
}

/* ── Top Bar ── */
.top-bar {
    background: var(--mp-primary);
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 300;
    padding: 9px 0;
    letter-spacing: .5px;
}
.top-bar a { color: rgba(255,255,255,.72); font-weight: 400; }
.top-bar a:hover { color: var(--mp-accent); }
.top-bar i { font-size: 13px; }

/* ── Header ── */
.main-header {
    background: var(--mp-surface);
    padding: 22px 0 20px;
    border-bottom: 1px solid var(--mp-border-light);
    position: relative;
}
.main-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--mp-accent), transparent);
    opacity: .3;
}
.logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px; font-weight: 500; letter-spacing: 3px;
    color: var(--mp-primary); text-transform: uppercase;
}

/* ── Search ── */
.search-box { position: relative; flex: 1; max-width: 460px; }
.search-box input {
    width: 100%;
    padding: 11px 46px 11px 18px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    background: var(--mp-bg-warm);
    font-family: inherit; font-size: 14px; font-weight: 300;
    color: var(--mp-text);
    transition: var(--mp-transition);
}
.search-box input::placeholder { color: var(--mp-text-muted); font-weight: 300; }
.search-box input:focus {
    outline: none; background: var(--mp-surface);
    border-color: var(--mp-accent);
    box-shadow: 0 0 0 3px var(--mp-accent-glow);
}
.search-box button {
    position: absolute; right: 4px; top: 4px; bottom: 4px;
    width: 38px; border: 0; background: transparent;
    color: var(--mp-secondary); cursor: pointer; transition: var(--mp-transition);
}
.search-box button:hover { color: var(--mp-accent); }

/* ── Navbar ── */
.main-navbar {
    background: var(--mp-primary);
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.main-navbar .nav-link {
    color: rgba(255,255,255,.82) !important;
    font-size: 12.5px; font-weight: 400;
    letter-spacing: 1.6px; text-transform: uppercase;
    padding: 15px 20px !important;
    position: relative;
    transition: var(--mp-transition);
}
.main-navbar .nav-link::after {
    content: ''; position: absolute; left: 20px; right: 20px; bottom: 10px;
    height: 1px; background: var(--mp-accent);
    transform: scaleX(0); transform-origin: left; transition: var(--mp-transition);
}
.main-navbar .nav-link:hover { color: #fff !important; }
.main-navbar .nav-link:hover::after { transform: scaleX(1); }
.main-navbar .dropdown-menu {
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    box-shadow: var(--mp-shadow-md);
    padding: 8px 0; margin-top: 0;
}
.main-navbar .dropdown-item {
    font-size: 14px; font-weight: 300; padding: 9px 20px;
    color: var(--mp-text); transition: var(--mp-transition);
}
.main-navbar .dropdown-item:hover { background: var(--mp-bg-warm); color: var(--mp-accent); }
.main-navbar .dropdown-item i { color: var(--mp-secondary-light); }

/* ── Header Icons ── */
.header-icon {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    color: var(--mp-primary); font-size: 19px;
    border-radius: 50%; transition: var(--mp-transition);
}
.header-icon:hover { background: var(--mp-bg-warm); color: var(--mp-accent); }
.cart-badge {
    position: absolute; top: 4px; right: 2px;
    background: var(--mp-accent); color: #fff;
    font-size: 10px; font-weight: 500; line-height: 1;
    min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
}

/* ── Botones ── */
.btn {
    font-family: inherit; font-weight: 400;
    letter-spacing: 1.2px; text-transform: uppercase; font-size: 12.5px;
    border-radius: var(--mp-radius);
    padding: 12px 28px;
    transition: var(--mp-transition);
}
.btn-sm { font-size: 11.5px; padding: 8px 18px; letter-spacing: 1px; }
.btn-lg { font-size: 13.5px; padding: 15px 38px; }
.btn-accent {
    background: var(--mp-accent); border: 1px solid var(--mp-accent); color: #fff;
}
.btn-accent:hover {
    background: var(--mp-accent-hover); border-color: var(--mp-accent-hover);
    color: #fff; box-shadow: var(--mp-shadow-accent); transform: translateY(-1px);
}
.btn-primary {
    background: var(--mp-primary); border: 1px solid var(--mp-primary); color: #fff;
}
.btn-primary:hover { background: var(--mp-primary-light); border-color: var(--mp-primary-light); color: #fff; }
.btn-outline-dark, .btn-outline-secondary {
    border: 1px solid var(--mp-primary); color: var(--mp-primary); background: transparent;
}
.btn-outline-dark:hover, .btn-outline-secondary:hover { background: var(--mp-primary); color: #fff; }
.btn-whatsapp { background: var(--mp-whatsapp); border: 1px solid var(--mp-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1FAF52; border-color: #1FAF52; color: #fff; }

/* ── Titulos de seccion ── */
.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem; font-weight: 400;
    color: var(--mp-primary);
    margin: 0 0 4px;
    position: relative;
}
.section-title::after {
    content: ''; display: block; width: 46px; height: 1px;
    background: var(--mp-accent); margin-top: 14px;
}
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.section-link {
    font-size: 11.5px; font-weight: 500; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--mp-accent);
}
.section-link:hover { color: var(--mp-primary); }

/* ═══════════════════════════════════════════════════════════════
   TARJETA DE OBRA
   La imagen NUNCA se recorta: la obra se muestra completa sobre un
   passe-partout, como colgada en la pared.
   ═══════════════════════════════════════════════════════════════ */
.product-card {
    background: var(--mp-surface);
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius);
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
    transition: var(--mp-transition);
}
.product-card:hover {
    border-color: var(--mp-border);
    box-shadow: var(--mp-shadow-md);
    transform: translateY(-3px);
}
.card-img-wrapper {
    position: relative;
    background: var(--mp-mat);
    padding: 26px;
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.card-img-wrapper .card-img-top {
    width: auto; height: auto;
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    box-shadow: var(--mp-shadow-frame);
    transition: var(--mp-transition-slow);
}
.product-card:hover .card-img-wrapper .card-img-top { transform: scale(1.035); }

/* Badges */
.product-badges {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.badge-tag {
    font-size: 9.5px; font-weight: 500;
    letter-spacing: 1.4px; text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--mp-radius-sm);
    background: rgba(255,255,255,.94);
    color: var(--mp-primary);
    border: 1px solid var(--mp-border);
    backdrop-filter: blur(4px);
}
.badge-sale     { background: var(--mp-accent); color: #fff; border-color: var(--mp-accent); }
.badge-new      { background: var(--mp-primary); color: #fff; border-color: var(--mp-primary); }
.badge-featured { background: rgba(255,255,255,.94); color: var(--mp-accent); border-color: var(--mp-accent); }
.badge-digital  { background: var(--mp-secondary); color: #fff; border-color: var(--mp-secondary); }
.badge-out      { background: var(--mp-primary); color: #fff; border-color: var(--mp-primary); }
/* Badges propios de la galeria */
.badge-unique      { background: rgba(255,255,255,.94); color: var(--mp-accent); border-color: var(--mp-accent); }
.badge-certificate { background: rgba(255,255,255,.94); color: var(--mp-success); border-color: var(--mp-success); }
.badge-verified    { background: var(--mp-accent); color: #fff; border-color: var(--mp-accent); }
.badge-sold        { background: var(--mp-primary); color: #fff; border-color: var(--mp-primary); }

/* Favorito y compartir */
.fav-overlay {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--mp-border);
    border-radius: 50%;
    color: var(--mp-primary); font-size: 14px;
    cursor: pointer; opacity: 0; transform: scale(.85);
    transition: var(--mp-transition);
}
.product-card:hover .fav-overlay { opacity: 1; transform: scale(1); }
.fav-overlay:hover { background: var(--mp-accent); color: #fff; border-color: var(--mp-accent); }
.btn-fav.active { color: var(--mp-danger); opacity: 1; transform: scale(1); }

/* Cuerpo */
.product-card .card-body {
    padding: 18px 18px 20px;
    display: flex; flex-direction: column; flex: 1;
}
.product-category, .product-brand, .product-brand-tag {
    display: inline-block;
    font-size: 10px; font-weight: 500;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--mp-text-muted);
    margin-bottom: 6px;
}
.product-brand, .product-brand-tag { color: var(--mp-accent); margin-left: 8px; }
.product-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.22rem; font-weight: 500; line-height: 1.3;
    color: var(--mp-primary);
    margin: 2px 0 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card a:hover .product-name { color: var(--mp-accent); }
/* Autor de la obra */
.artwork-artist {
    font-size: 12.5px; font-weight: 300; font-style: italic;
    color: var(--mp-text-secondary); margin-bottom: 10px;
}
.artwork-artist a { color: var(--mp-text-secondary); }
.artwork-artist a:hover { color: var(--mp-accent); }
.artwork-meta-line {
    font-size: 11.5px; font-weight: 300; color: var(--mp-text-muted);
    margin-bottom: 10px;
}

/* Rating */
.product-rating { margin-bottom: 8px; font-size: 12px; }
.stars { color: var(--mp-star); }
.stars-empty { color: var(--mp-border); }

/* ── Precio bimoneda ── */
.product-price-box { margin-top: auto; padding-top: 10px; }
.product-price, .price-current {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem; font-weight: 600;
    color: var(--mp-primary);
    line-height: 1.2;
    letter-spacing: .3px;
}
.product-price-old, .price-old {
    font-size: 13px; font-weight: 300;
    color: var(--mp-text-muted); text-decoration: line-through;
}
.product-price-discount {
    display: inline-block; margin-left: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 10.5px; font-weight: 500; letter-spacing: 1px;
    color: var(--mp-accent); vertical-align: middle;
}
/* Referencia en la otra moneda */
.price-usd, .price-ref {
    display: block;
    font-size: 12px; font-weight: 300;
    color: var(--mp-text-muted);
    letter-spacing: .4px;
    margin-top: 2px;
}
.price-savings { font-size: 12px; color: var(--mp-success); font-weight: 400; }
.price-on-request {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.22rem; font-style: italic; color: var(--mp-secondary);
}
/* Etiqueta de moneda */
.currency-tag {
    display: inline-block; margin-left: 6px;
    font-size: 9.5px; font-weight: 500; letter-spacing: 1.2px;
    text-transform: uppercase; color: var(--mp-text-muted);
    border: 1px solid var(--mp-border); border-radius: var(--mp-radius-sm);
    padding: 1px 6px; vertical-align: middle;
}

/* Disponibilidad */
.stock-indicator {
    display: flex; align-items: center; gap: 7px;
    font-size: 11.5px; font-weight: 300; letter-spacing: .6px;
    margin: 10px 0 12px;
}
.stock-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.stock-indicator.available { color: var(--mp-success); }
.stock-indicator.available .stock-dot { background: var(--mp-success); }
.stock-indicator.low { color: var(--mp-warning); }
.stock-indicator.low .stock-dot { background: var(--mp-warning); }
.stock-indicator.out { color: var(--mp-text-muted); }
.stock-indicator.out .stock-dot { background: var(--mp-text-muted); }

.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }
.btn-add-cart { white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════
   FICHA DE OBRA
   ═══════════════════════════════════════════════════════════════ */
.product-gallery { position: relative; }
.main-image-wrap {
    position: relative;
    background: var(--mp-mat);
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius);
    padding: 40px;
    display: flex; align-items: center; justify-content: center;
    min-height: 420px;
    overflow: hidden;
}
.main-image-wrap img {
    max-width: 100%; max-height: 560px;
    width: auto; height: auto; object-fit: contain;
    box-shadow: var(--mp-shadow-frame);
    cursor: zoom-in;
    transition: var(--mp-transition-slow);
}
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--mp-border);
    border-radius: 50%;
    color: var(--mp-primary); font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 3; transition: var(--mp-transition);
}
.gallery-nav:hover { background: var(--mp-accent); color: #fff; border-color: var(--mp-accent); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-expand {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--mp-border); border-radius: 50%;
    color: var(--mp-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--mp-transition);
}
.gallery-expand:hover { background: var(--mp-accent); color: #fff; border-color: var(--mp-accent); }
.gallery-bottombar {
    position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3;
    display: flex; justify-content: center;
}
.gallery-counter-modern {
    background: rgba(20,18,15,.72); color: #fff;
    font-size: 11px; letter-spacing: 1.2px;
    padding: 4px 12px; border-radius: 20px;
}
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumb-item {
    width: 70px; height: 70px;
    background: var(--mp-mat);
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius-sm);
    padding: 6px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--mp-transition);
}
.thumb-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumb-item:hover { border-color: var(--mp-secondary-light); }
.thumb-item.active { border-color: var(--mp-accent); box-shadow: 0 0 0 2px var(--mp-accent-glow); }

.product-info { padding-left: 10px; }
.product-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.3rem; font-weight: 400; line-height: 1.2;
    color: var(--mp-primary); margin-bottom: 6px;
}
.product-meta {
    font-size: 13px; font-weight: 300; color: var(--mp-text-secondary);
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 1px solid var(--mp-border-light);
}
.price-block {
    padding: 20px 0;
    border-bottom: 1px solid var(--mp-border-light);
    margin-bottom: 20px;
}
.price-block .price-current {
    font-size: 2.15rem; display: block;
}

/* Ficha tecnica de la obra */
.artwork-specs { width: 100%; font-size: 13.5px; font-weight: 300; }
.artwork-specs tr { border-bottom: 1px solid var(--mp-border-light); }
.artwork-specs tr:last-child { border-bottom: 0; }
.artwork-specs th {
    font-weight: 400; color: var(--mp-text-muted);
    text-transform: uppercase; font-size: 10.5px; letter-spacing: 1.4px;
    padding: 11px 16px 11px 0; white-space: nowrap; vertical-align: top;
}
.artwork-specs td { padding: 11px 0; color: var(--mp-text); }

/* Los dos caminos de compra */
.buy-options { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.buy-option {
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    padding: 18px 20px;
    background: var(--mp-surface);
    transition: var(--mp-transition);
}
.buy-option:hover { border-color: var(--mp-accent); box-shadow: var(--mp-shadow-sm); }
.buy-option.featured { border-color: var(--mp-accent); background: #FEFCF8; }
.buy-option h6 {
    font-family: 'Jost', sans-serif;
    font-size: 12px; font-weight: 500; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--mp-primary); margin-bottom: 6px;
}
.buy-option p {
    font-size: 13px; font-weight: 300; color: var(--mp-text-secondary);
    line-height: 1.6; margin-bottom: 14px;
}
.buy-option .fee-line {
    font-size: 12px; color: var(--mp-text-muted);
    display: flex; justify-content: space-between; padding: 3px 0;
}
.buy-option .fee-line.total {
    color: var(--mp-primary); font-weight: 500;
    border-top: 1px solid var(--mp-border-light); margin-top: 8px; padding-top: 8px;
}

.qty-selector {
    display: inline-flex; align-items: center;
    border: 1px solid var(--mp-border); border-radius: var(--mp-radius);
    overflow: hidden;
}
.qty-selector button {
    width: 38px; height: 40px; border: 0; background: var(--mp-bg-warm);
    color: var(--mp-primary); cursor: pointer; transition: var(--mp-transition);
}
.qty-selector button:hover { background: var(--mp-accent); color: #fff; }
.qty-selector input {
    width: 54px; height: 40px; border: 0; text-align: center;
    font-family: inherit; font-size: 14px; color: var(--mp-text);
}

/* Tabs */
.product-tabs { margin-top: 48px; }
.product-tabs .nav-tabs { border-bottom: 1px solid var(--mp-border); gap: 4px; }
.product-tabs .nav-link {
    border: 0; border-bottom: 2px solid transparent;
    font-size: 11.5px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--mp-text-secondary);
    padding: 13px 22px; background: transparent;
    transition: var(--mp-transition);
}
.product-tabs .nav-link:hover { color: var(--mp-primary); }
.product-tabs .nav-link.active {
    color: var(--mp-accent); border-bottom-color: var(--mp-accent); background: transparent;
}
.product-tabs .tab-content {
    padding: 28px 2px; font-weight: 300; line-height: 1.85; color: var(--mp-text);
}

/* ── Lightbox ── */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(12,11,9,.96);
    display: none; align-items: center; justify-content: center;
    padding: 40px;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; box-shadow: var(--mp-shadow-lg); }
.lightbox-close {
    position: absolute; top: 24px; right: 30px;
    width: 44px; height: 44px;
    background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
    color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--mp-transition);
}
.lightbox-close:hover { background: var(--mp-accent); border-color: var(--mp-accent); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
    color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--mp-transition);
}
.lightbox-nav:hover { background: var(--mp-accent); border-color: var(--mp-accent); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-counter {
    position: absolute; bottom: 26px; left: 0; right: 0;
    text-align: center; color: rgba(255,255,255,.7);
    font-size: 12px; letter-spacing: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   HOME
   ═══════════════════════════════════════════════════════════════ */
.hero-gallery {
    position: relative;
    background: var(--mp-primary);
    color: #fff;
    padding: 84px 0;
    overflow: hidden;
}
.hero-gallery h1 {
    color: #fff; font-size: 3.4rem; font-weight: 300;
    letter-spacing: 1px; margin-bottom: 18px;
}
.hero-gallery p {
    color: rgba(255,255,255,.78); font-size: 17px;
    font-weight: 300; max-width: 560px; line-height: 1.8;
}

.category-card {
    display: block; position: relative;
    background: var(--mp-surface);
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius);
    padding: 30px 18px;
    text-align: center;
    transition: var(--mp-transition);
}
.category-card:hover {
    border-color: var(--mp-accent);
    box-shadow: var(--mp-shadow-md);
    transform: translateY(-3px);
}
.category-card i { font-size: 27px; color: var(--mp-accent); display: block; margin-bottom: 12px; }
.cat-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem; font-weight: 500; color: var(--mp-primary); display: block;
}
.cat-count { font-size: 11px; color: var(--mp-text-muted); letter-spacing: 1px; }

/* Artistas */
.artist-card {
    background: var(--mp-surface);
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius);
    text-align: center; padding: 28px 18px;
    transition: var(--mp-transition); height: 100%;
}
.artist-card:hover { border-color: var(--mp-accent); box-shadow: var(--mp-shadow-md); transform: translateY(-3px); }
.artist-avatar {
    width: 92px; height: 92px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 14px;
    border: 1px solid var(--mp-border);
    padding: 3px; background: var(--mp-surface);
}
.artist-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem; font-weight: 500; color: var(--mp-primary);
    display: block; margin-bottom: 2px;
}
.artist-tagline { font-size: 11.5px; font-weight: 300; color: var(--mp-text-muted); letter-spacing: .8px; }
.artist-cover {
    height: 260px; background: var(--mp-mat) center/cover no-repeat;
    border-radius: var(--mp-radius); position: relative;
}

/* Franjas informativas */
.benefits-strip {
    background: var(--mp-surface);
    border-top: 1px solid var(--mp-border-light);
    border-bottom: 1px solid var(--mp-border-light);
    padding: 34px 0;
}
.benefit-item { display: flex; align-items: flex-start; gap: 14px; }
.benefit-item i { font-size: 24px; color: var(--mp-accent); flex-shrink: 0; margin-top: 2px; }
.benefit-item strong {
    display: block; font-family: 'Jost', sans-serif;
    font-size: 12px; font-weight: 500; letter-spacing: 1.4px;
    text-transform: uppercase; color: var(--mp-primary); margin-bottom: 3px;
}
.benefit-item span { font-size: 12.5px; font-weight: 300; color: var(--mp-text-secondary); line-height: 1.6; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11.5px; font-weight: 300; color: var(--mp-text-secondary);
    background: var(--mp-bg-warm);
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius); padding: 7px 14px;
}
.trust-badge i { color: var(--mp-accent); }

.promo-section {
    background: var(--mp-primary);
    color: #fff; padding: 64px 0; text-align: center;
    position: relative;
}
.promo-section::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 1px; background: var(--mp-accent);
}
.promo-section h2 { color: #fff; font-size: 2.4rem; font-weight: 300; margin-bottom: 14px; }
.promo-section p { color: rgba(255,255,255,.75); font-weight: 300; max-width: 620px; margin: 0 auto 26px; }

/* ── Breadcrumb ── */
.breadcrumb {
    background: transparent; padding: 18px 0; margin: 0;
    font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase;
}
.breadcrumb-item a { color: var(--mp-text-muted); }
.breadcrumb-item a:hover { color: var(--mp-accent); }
.breadcrumb-item.active { color: var(--mp-primary); }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; color: var(--mp-border); }

/* ── Formularios ── */
.form-control, .form-select {
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    font-family: inherit; font-size: 14px; font-weight: 300;
    padding: 10px 14px; color: var(--mp-text);
    background: var(--mp-surface);
    transition: var(--mp-transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--mp-accent);
    box-shadow: 0 0 0 3px var(--mp-accent-glow);
}
.form-label {
    font-size: 11px; font-weight: 500; letter-spacing: 1.4px;
    text-transform: uppercase; color: var(--mp-text-secondary); margin-bottom: 6px;
}
.form-text { font-size: 12px; color: var(--mp-text-muted); font-weight: 300; }
.input-group-text {
    background: var(--mp-bg-warm); border-color: var(--mp-border);
    font-size: 13px; color: var(--mp-text-secondary);
}

/* Campo de precio bimoneda */
.money-input-group { display: flex; gap: 8px; }
.money-input-group .form-select { max-width: 150px; flex-shrink: 0; }
.money-input-group .form-control { text-align: right; font-variant-numeric: tabular-nums; }
.money-hint {
    font-size: 12px; color: var(--mp-text-muted); font-weight: 300; margin-top: 5px;
}

/* ── Alerts, cards, tablas ── */
.alert { border: 0; border-left: 2px solid; border-radius: var(--mp-radius); font-size: 14px; font-weight: 300; }
.alert-success { background: var(--mp-success-bg); border-color: var(--mp-success); color: #35512F; }
.alert-danger  { background: var(--mp-danger-bg);  border-color: var(--mp-danger);  color: #7A2A2A; }
.alert-warning { background: var(--mp-warning-bg); border-color: var(--mp-warning); color: #7A6413; }
.alert-info    { background: var(--mp-bg-warm);    border-color: var(--mp-info);    color: #3F4F5C; }

.card {
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius);
    background: var(--mp-surface);
}
.card-header {
    background: var(--mp-bg-warm);
    border-bottom: 1px solid var(--mp-border-light);
    font-size: 11.5px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--mp-text-secondary); padding: 14px 18px;
}

.stat-card {
    background: var(--mp-surface);
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius);
    padding: 22px;
}
.stat-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem; font-weight: 600; color: var(--mp-primary); line-height: 1.1;
}
.stat-label {
    font-size: 10.5px; font-weight: 500; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--mp-text-muted); margin-top: 4px;
}

.table { font-size: 14px; font-weight: 300; }
.table thead th {
    font-size: 10.5px; font-weight: 500; letter-spacing: 1.4px;
    text-transform: uppercase; color: var(--mp-text-muted);
    border-bottom: 1px solid var(--mp-border); background: transparent;
}

/* ── Paginacion ── */
.pagination { gap: 4px; }
.page-link {
    border: 1px solid var(--mp-border); border-radius: var(--mp-radius) !important;
    color: var(--mp-text-secondary); font-size: 13px; padding: 8px 14px;
}
.page-link:hover { background: var(--mp-bg-warm); color: var(--mp-accent); border-color: var(--mp-accent); }
.page-item.active .page-link { background: var(--mp-primary); border-color: var(--mp-primary); color: #fff; }

/* ── Footer ── */
.main-footer {
    background: var(--mp-primary);
    color: rgba(255,255,255,.62);
    padding: 58px 0 0;
    font-size: 13.5px; font-weight: 300;
}
.main-footer h5 {
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 11px; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 18px;
}
.main-footer a { color: rgba(255,255,255,.62); }
.main-footer a:hover { color: var(--mp-accent); }
.main-footer ul li { margin-bottom: 9px; }
.footer-social a {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
    color: rgba(255,255,255,.7); transition: var(--mp-transition);
}
.footer-social a:hover { background: var(--mp-accent); border-color: var(--mp-accent); color: #fff; }
.footer-bottom {
    margin-top: 44px; padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center; font-size: 12px; color: rgba(255,255,255,.42);
    letter-spacing: .4px;
}

/* ── WhatsApp flotante ── */
.whatsapp-float {
    position: fixed; bottom: 22px; right: 22px; z-index: 1040;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--mp-whatsapp); color: #fff; font-size: 26px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,.35);
    transition: var(--mp-transition);
}
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

/* ── Toasts ── */
.toast-notification {
    position: fixed; bottom: 92px; right: 22px; z-index: 1060;
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-left: 2px solid var(--mp-accent);
    border-radius: var(--mp-radius);
    box-shadow: var(--mp-shadow-md);
    padding: 14px 20px; font-size: 14px; font-weight: 300;
    color: var(--mp-text);
    max-width: 330px;
    transform: translateY(16px); opacity: 0;
    transition: var(--mp-transition);
}
.toast-notification.show { transform: translateY(0); opacity: 1; }
.toast-success { border-left-color: var(--mp-success); }
.toast-error   { border-left-color: var(--mp-danger); }
.toast-info    { border-left-color: var(--mp-info); }

/* ── Panel admin ── */
.admin-sidebar {
    background: var(--mp-primary);
    color: rgba(255,255,255,.72);
    min-height: 100vh;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 300;
    padding: 10px 20px; border-left: 2px solid transparent;
}
.admin-sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-sidebar .nav-link.active { color: #fff; border-left-color: var(--mp-accent); background: rgba(176,141,87,.12); }
.sidebar-brand {
    padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 21px; letter-spacing: 2px; color: #fff; text-transform: uppercase;
}
.admin-header {
    background: var(--mp-surface);
    border-bottom: 1px solid var(--mp-border-light);
    padding: 14px 24px;
}
.admin-content { padding: 26px; background: var(--mp-bg); min-height: 100vh; }
.admin-table { font-size: 13.5px; }

/* ── Responsive ── */
@media (max-width: 991px) {
    h1 { font-size: 2rem; }
    .hero-gallery { padding: 54px 0; }
    .hero-gallery h1 { font-size: 2.4rem; }
    .product-title { font-size: 1.8rem; }
    .product-info { padding-left: 0; margin-top: 26px; }
    .main-image-wrap { min-height: 300px; padding: 22px; }
}
@media (max-width: 767px) {
    body { font-size: 15px; }
    .main-header { padding: 14px 0 10px; }
    .section-title { font-size: 1.6rem; }
    .card-img-wrapper { padding: 16px; }
    .product-card .card-body { padding: 14px; }
    .product-name { font-size: 1.08rem; }
    .product-price, .price-current { font-size: 1.25rem; }
    .price-block .price-current { font-size: 1.7rem; }
    .lightbox { padding: 14px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .promo-section { padding: 44px 0; }
    .promo-section h2 { font-size: 1.8rem; }
    .money-input-group { flex-direction: column; }
    .money-input-group .form-select { max-width: none; }
}

/* ── Impresion: ficha de obra / certificado ── */
@media print {
    .top-bar, .main-navbar, .main-footer, .whatsapp-float,
    .product-actions, .buy-options, .fav-overlay, #cookieBanner, #pwaInstall { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .main-image-wrap { border: 0; padding: 0; }
}
