/* =============================================
   SOLE VAULT — Design System
   Mobile-first · Dark premium · Inter font
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Variables --- */
:root {
    --bg:          #0a0a0a;
    --surface:     #141414;
    --surface2:    #1e1e1e;
    --surface3:    #282828;
    --border:      #2a2a2a;
    --gold:        #d4af37;
    --gold-light:  #f0d060;
    --orange:      #ff6b35;
    --text:        #f0f0f0;
    --text-2:      #a0a0a0;
    --text-3:      #666;
    --green:       #22c55e;
    --radius:      12px;
    --radius-sm:   8px;
    --radius-lg:   20px;
    --shadow:      0 4px 24px rgba(0,0,0,.5);
    --shadow-lg:   0 16px 48px rgba(0,0,0,.7);
    --transition:  .22s cubic-bezier(.4,0,.2,1);
    --font:        'Inter', system-ui, -apple-system, sans-serif;
    --max-width:   1280px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,10,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar__logo {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.navbar__search {
    flex: 1;
    max-width: 380px;
    position: relative;
}

.navbar__search input {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .55rem 1.1rem .55rem 2.6rem;
    color: var(--text);
    font-size: .9rem;
    font-family: var(--font);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.navbar__search input::placeholder { color: var(--text-3); }
.navbar__search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}

.navbar__search-icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: .9rem;
    pointer-events: none;
}

.navbar__actions { display: flex; align-items: center; gap: .75rem; }

.lang-btn {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: .4rem .85rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    transition: all var(--transition);
    cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

/* =============================================
   HERO / BANNER
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--surface) 0%, #0d0d0d 100%);
    border-bottom: 1px solid var(--border);
    padding: 3rem 1.25rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(212,175,55,.08), transparent);
    pointer-events: none;
}

.hero__title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}

.hero__title span {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    color: var(--text-2);
    font-size: 1rem;
    font-weight: 400;
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
.page-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.1em;
    background: linear-gradient(var(--gold), var(--orange));
    border-radius: 2px;
    margin-right: .6rem;
    vertical-align: middle;
}

.count-badge {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: .25rem .7rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 500;
}

/* =============================================
   CATEGORIES GRID
   ============================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 480px)  { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px)  { .categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
@media (min-width: 1100px) { .categories-grid { grid-template-columns: repeat(5, 1fr); } }

.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(212,175,55,.15);
}

.category-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--surface2);
    transition: transform .4s ease;
}

.category-card:hover .category-card__img { transform: scale(1.05); }

.category-card__body {
    padding: .75rem .6rem;
}

.category-card__name {
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .25rem;
}

.category-card__count {
    font-size: .75rem;
    color: var(--text-3);
}

/* =============================================
   PRODUCTS GRID
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,.5);
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.product-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--surface2);
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-card__img { transform: scale(1.06); }

.product-card__badge {
    position: absolute;
    top: .6rem;
    right: .6rem;
    background: rgba(10,10,10,.8);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: .2rem .55rem;
    font-size: .7rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: .3rem;
}

.product-card__body {
    padding: .85rem .8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.product-card__name {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__price {
    font-size: .95rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: auto;
}

.product-card__cta {
    display: block;
    text-align: center;
    background: var(--surface2);
    border-top: 1px solid var(--border);
    padding: .6rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-2);
    letter-spacing: .04em;
    transition: background var(--transition), color var(--transition);
}

.product-card:hover .product-card__cta {
    background: var(--gold);
    color: #000;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: var(--text-3);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-3); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text); font-weight: 500; }
.breadcrumb__sep { color: var(--surface3); }

/* =============================================
   PRODUCT DETAIL — Galería
   ============================================= */
.product-detail {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-detail { grid-template-columns: 1fr 340px; align-items: start; }
}

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

.gallery__main {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: zoom-in;
    aspect-ratio: 1 / 1;
}

.gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery__main:hover img { transform: scale(1.03); }

.gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: .5rem;
}

.gallery__thumb {
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition), transform var(--transition);
}

.gallery__thumb.active { border-color: var(--gold); }
.gallery__thumb:hover  { border-color: rgba(212,175,55,.5); transform: scale(1.05); }

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

/* Product sidebar */
.product-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-info__name {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-info__price {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-info__cats {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.tag {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .25rem .75rem;
    font-size: .75rem;
    color: var(--text-2);
}

.product-info__desc {
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

/* WhatsApp button */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: .95rem 1.5rem;
    background: #25d366;
    color: #fff;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(37,211,102,.25);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,.4);
}

.btn-whatsapp svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

/* Instagram button — gradiente oficial */
.btn-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 20px rgba(220,39,67,.35);
}
.btn-instagram:hover {
    background: linear-gradient(135deg, #e08020 0%, #d05530 25%, #c91535 50%, #b81055 75%, #a80875 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220,39,67,.55);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.95);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.lightbox.open { display: flex; animation: fadeIn .2s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__content {
    position: relative;
    max-width: min(90vw, 900px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: scaleIn .25s ease;
}

@keyframes scaleIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.lightbox__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition);
    z-index: 1001;
}

.lightbox__close:hover { background: var(--surface3); }

.lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30,30,30,.85);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    z-index: 1001;
    backdrop-filter: blur(4px);
}

.lightbox__nav:hover { background: var(--gold); color: #000; }
.lightbox__nav--prev { left: .75rem; }
.lightbox__nav--next { right: .75rem; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.1); }

.lightbox__counter {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20,20,20,.9);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .35rem 1rem;
    font-size: .82rem;
    color: var(--text-2);
    backdrop-filter: blur(8px);
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.fab-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,.4);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: pulse 2.5s infinite;
}

.fab-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 36px rgba(37,211,102,.55);
    animation: none;
}

.fab-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.4); }
    50%       { box-shadow: 0 6px 36px rgba(37,211,102,.7); }
}

/* Instagram FAB — gradiente oficial */
.fab-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 6px 24px rgba(188,24,136,.4);
    animation: pulse-ig 2.5s infinite;
}

.fab-instagram:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 36px rgba(220,39,67,.6);
    animation: none;
    background: linear-gradient(135deg, #e08020 0%, #c91535 50%, #a80875 100%);
}

@keyframes pulse-ig {
    0%, 100% { box-shadow: 0 6px 24px rgba(188,24,136,.4); }
    50%       { box-shadow: 0 8px 36px rgba(220,39,67,.65); }
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-3);
}

.empty-state__icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: .4;
}

.empty-state__text { font-size: 1rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.25rem;
    text-align: center;
    color: var(--text-3);
    font-size: .82rem;
    background: var(--surface);
}

.footer__logo {
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: .12em;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .4rem;
}

/* =============================================
   BACK BUTTON
   ============================================= */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--text-2);
    font-size: .88rem;
    font-weight: 500;
    transition: color var(--transition);
    margin-bottom: 1.5rem;
}

.btn-back:hover { color: var(--gold); }

/* =============================================
   UTILITIES
   ============================================= */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-2); }
.fw-700      { font-weight: 700; }
.mt-1        { margin-top: 1rem; }
.mt-2        { margin-top: 2rem; }

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Fade-in-up on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* =============================================
   PRODUCT INFO — Nuevos estilos
   ============================================= */

/* Mensaje de descuento por volumen */
.product-info__volume-msg {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: linear-gradient(135deg, rgba(212,175,55,.08), rgba(212,175,55,.04));
    border: 1px solid rgba(212,175,55,.25);
    border-radius: var(--radius-sm);
    padding: .65rem 1rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--gold-light);
    line-height: 1.4;
}

.product-info__volume-msg svg {
    flex-shrink: 0;
    opacity: .8;
    color: var(--gold);
}

/* Contador de fotos */
.product-info__photo-count {
    font-size: .78rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* Hint "Ver galería" sobre imagen principal */
.gallery__main-hint {
    position: absolute;
    bottom: .75rem;
    right: .75rem;
    background: rgba(10,10,10,.8);
    border: 1px solid rgba(212,175,55,.3);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: .3rem .8rem;
    font-size: .72rem;
    color: var(--gold-light);
    font-weight: 500;
    letter-spacing: .03em;
    pointer-events: none;
    transition: opacity var(--transition);
}

.gallery__main:hover .gallery__main-hint { opacity: .7; }

/* Ocultar precios en cards del catálogo público */
.product-card__price { display: none; }

/* =============================================
   CONSULTAR PRECIO en cards
   ============================================= */
.product-card__consult {
    font-size: .72rem;
    color: var(--text-3);
    font-style: italic;
    margin-top: .15rem;
}

/* =============================================
   SEARCH DROPDOWN (Autocomplete)
   ============================================= */
.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    overflow: hidden;
    display: none;
    animation: fadeIn .15s ease;
    max-height: 70vh;
    overflow-y: auto;
}

.sd-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .9rem;
    transition: background var(--transition);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
}

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

.sd-item:hover { background: var(--surface2); }

.sd-item__img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: var(--surface2);
}

.sd-item__info { flex: 1; min-width: 0; }

.sd-item__name {
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sd-item__name mark {
    background: rgba(212,175,55,.3);
    color: var(--gold-light);
    border-radius: 2px;
    padding: 0 2px;
}

.sd-item__cat {
    font-size: .7rem;
    color: var(--text-3);
    margin-top: .1rem;
}

.sd-item__price {
    font-size: .72rem;
    color: var(--text-3);
    font-style: italic;
    margin-top: .15rem;
}

.sd-more {
    display: block;
    padding: .65rem 1rem;
    text-align: center;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gold);
    background: var(--surface2);
    transition: background var(--transition);
    border-top: 1px solid var(--border);
}

.sd-more:hover { background: var(--surface3); }

.sd-empty {
    padding: 1rem;
    text-align: center;
    color: var(--text-3);
    font-size: .85rem;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .85rem;
    color: var(--text-2);
    transition: all var(--transition);
    font-weight: 500;
}

.page-link:hover, .page-link.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 700;
}

/* =============================================
   NOT FOUND CARD (BÚSQUEDA PERSONALIZADA)
   ============================================= */
.not-found-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(20, 20, 20, 0.45);
    border: 1px dashed var(--gold);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin: 3.5rem auto 1.5rem auto;
    max-width: 820px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.not-found-card__icon {
    font-size: 3rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.3));
}

.not-found-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
}

.not-found-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0;
    letter-spacing: 0.02em;
}

.not-found-card__desc {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.5;
    margin: 0;
}

.not-found-card__btn {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(188,24,136,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.not-found-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,39,67,0.45);
    background: linear-gradient(135deg, #e08020 0%, #c91535 50%, #a80875 100%);
}

@media (max-width: 600px) {
    .not-found-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem;
        gap: 1rem;
    }
    .not-found-card__content {
        align-items: center;
    }
}

