/* ══════════════════════════════════════════════════════
   HAMELIE — collection.css (EXPOSITOR REDESIGN)
   ══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --sidebar-width: 320px;
    --glass-sidebar: var(--sidebar-bg); /* Barra lateral marrón oscuro */
    --accent-glow: rgba(255, 133, 49, 0.15);
    --light-bg: #FFF8EA; /* Crema claro */

    --sidebar-bg: #2D1B0D; /* Marrón oscuro para la barra lateral */
    --card-bg: #FDF8F2;

    --cream: #FFF8EA;
    --beige: #F3E7D7;
    --brown: #2D1B0D;
    --terracota: #FF8531;
    --gold: #C5A059;
    --rose: #EFCFC4;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --gold-grad: linear-gradient(135deg, #A88648 0%, #D8B98A 50%, #A88648 100%);
}

/* ── Global Layout ──────────────────────────────────── */
body.exhibitor-mode {
    background: var(--light-bg);
    color: var(--brown);
    overflow-x: hidden;
}

.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* ── Creative Background (Index Replica) ───────────── */
.exhibitor-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background: var(--light-bg);
}

.light-beam {
    position: absolute;
    top: -50%; left: 0;
    width: 150%; height: 200%;
    background: conic-gradient(from 180deg at 50% 0%, rgba(255, 133, 49, 0.05) 0%, transparent 20%, transparent 80%, rgba(255, 133, 49, 0.05) 100%);
    filter: blur(100px);
    transform: rotate(-25deg);
    opacity: 0.8;
}

.luxury-shape {
    position: absolute;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    filter: blur(120px);
    opacity: 0.08;
    animation: flowLuxury 30s infinite alternate ease-in-out;
}

.shape-1 { width: 900px; height: 700px; background: #E8D8C4; top: -10%; left: -10%; }
.shape-2 { width: 700px; height: 600px; background: #D4C4B0; bottom: -10%; right: -5%; animation-duration: 25s; animation-delay: -5s; }

.sparkle {
    position: absolute;
    width: 3px; height: 3px;
    background: #FF8531;
    transform: rotate(45deg);
    box-shadow: 0 0 15px 2px rgba(255, 133, 49, 0.4);
    animation: pulseSparkle 6s infinite ease-in-out;
}

.sp-1 { top: 20%; left: 15%; }
.sp-2 { top: 60%; left: 85%; animation-delay: -2s; }
.sp-3 { top: 40%; left: 70%; animation-delay: -4s; }

@keyframes flowLuxury {
    0% { transform: translate(0,0) scale(1) rotate(0deg); }
    100% { transform: translate(60px, 40px) scale(1.1) rotate(15deg); }
}

@keyframes pulseSparkle {
    0%, 100% { opacity: 0.2; transform: scale(0.5) rotate(45deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

/* ── Sidebar (Left) ─────────────────────────────────── */
.exhibitor-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    background: var(--glass-sidebar);
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--terracota) transparent;
}

.exhibitor-sidebar::-webkit-scrollbar { width: 4px; }
.exhibitor-sidebar::-webkit-scrollbar-thumb { background: var(--terracota); border-radius: 10px; }

.sidebar-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
    width: 100%;
}

.sidebar-logo img {
    width: 142px;
    height: auto;
    aspect-ratio: 200 / 45;
}

/* Vertical Nav */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}


.nav-indicator {
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(255, 133, 49, 0.08);
    border-radius: 20px;
    pointer-events: none;
    border: 1px solid rgba(255, 133, 49, 0.15);
    box-shadow: 0 5px 15px rgba(255, 133, 49, 0.08);
    z-index: -1;
}

.side-divider {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--terracota);
    margin: 30px 0 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.5;
}

.side-divider::after {
    content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.05);
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-radius: 20px;
    color: var(--cream);
    opacity: 1;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    text-align: left;
    width: 100%;
}

.side-link:hover {
    background: rgba(255, 248, 234, 0.08);
    color: var(--cream);
    transform: translateX(10px);
    opacity: 1;
}

.side-link:hover .side-link-count {
    background: var(--terracota);
    transform: scale(1.15);
}

.side-link.active {
    background: transparent;
    color: var(--terracota);
    border-color: transparent;
}

.side-link-count {
    font-size: 0.75rem;
    font-weight: 800;
    background: rgba(255, 248, 234, 0.15);
    color: var(--cream);
    padding: 4px 12px;
    border-radius: 50px;
    opacity: 1;
}

.side-link.active .side-link-count {
    background: var(--terracota);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 248, 234, 0.1);
}

.sidebar-footer p { font-size: 0.7rem; opacity: 0.5; margin-bottom: 20px; color: var(--cream); }

.side-socials { display: flex; gap: 20px; }
.side-socials a {
    color: var(--cream);
    opacity: 0.5;
    transition: all 0.3s ease;
}
.side-socials a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--terracota);
}

/* ── Main Content Area ──────────────────────────────── */
.exhibitor-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 60px 80px;
    min-height: 100vh;
    position: relative;
    z-index: 10;
    overflow-x: hidden;
}

/* Header & Search Area */
.exhibitor-header {
    margin-bottom: 50px;
}

.header-content-lux {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-name-lux {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    color: var(--brown);
    line-height: 1;
    margin: 0;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-transform: capitalize;
}

.header-search-lux {
    position: relative;
    width: 350px;
    display: flex;
    align-items: center;
}

.header-search-lux svg {
    position: absolute;
    left: 20px;
    color: var(--brown);
    opacity: 0.3;
}

.header-search-lux input {
    width: 100%;
    padding: 14px 20px 14px 55px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    font-size: 0.95rem;
    color: var(--brown);
    transition: 0.3s;
}

.header-search-lux input:focus {
    outline: none;
    border-color: var(--terracota);
    box-shadow: 0 10px 25px rgba(255, 133, 49, 0.08);
}

/* Grid System */

/* Grid & Cards (Final Instagram Redesign) */
.exhibitor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Force identical column widths */
    gap: 30px;
    width: 100%;
}

.product-card {
    background: transparent;
    border: none;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    padding: 0;
    height: 100%; /* Ensure equal height in grid rows */
    display: flex;
}

.product-card:hover { transform: translateY(-8px); }

.insta-story-ring {
    position: relative;
    padding: 0;
    background: transparent;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    width: 100%;
}

.card-inner {
    background: var(--cream);
    border-radius: 0;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 20px rgba(94, 55, 27, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.product-card:hover .card-inner {
    border-color: var(--terracota);
    box-shadow: 0 8px 30px rgba(255, 133, 49, 0.15);
}

.product-card:hover .insta-story-ring {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 133, 49, 0.15);
}

.card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 0;
    overflow: hidden;
    background: #EDE4D8;
    flex-shrink: 0;
    flex-grow: 0;
}

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

.product-card:hover .card-visual img {
    filter: blur(4px);
    transform: scale(1.08);
}

.card-badge {
    position: absolute; top: 15px; left: 15px;
    padding: 6px 14px;
    background: var(--terracota);
    border-radius: 50px;
    font-size: 0.6rem; font-weight: 800;
    text-transform: uppercase; color: #fff;
    box-shadow: 0 4px 10px rgba(255, 133, 49, 0.4);
    z-index: 5;
}

/* Hover Content Overlay */
.card-hover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-hover-overlay {
    opacity: 1;
}

/* card-mini-desc removed - using card-mini-desc-static instead */

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
    width: 100%;
    max-width: 160px;
}

.product-card:hover .card-actions { transform: translateY(0); }

.btn-card-wa, .btn-card-info {
    width: 100%;
    height: 48px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-card-wa {
    background: var(--brown);
    color: var(--cream);
    border: none;
}

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

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

.btn-card-info {
    background: var(--brown);
    color: var(--cream);
    border: 2px solid var(--brown);
}

.btn-card-wa:hover {
    background: #25D366;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.btn-card-info:hover {
    background: var(--terracota);
    color: #fff;
    border-color: var(--terracota);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 133, 49, 0.4);
}

.card-body {
    padding: 20px 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
}
.card-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    color: var(--brown);
    margin: 0;
    line-height: 1.2;
    transition: 0.3s;
    letter-spacing: -0.01em;
    white-space: normal;
    overflow: visible;
    text-overflow: ellipsis;
    max-width: 100%;
}
.card-mini-desc-static {
    font-size: 0.75rem;
    color: rgba(94, 55, 27, 0.6);
    line-height: 1.4;
    margin: 0;
}

.product-card:hover .card-name { color: var(--terracota); }

/* ── Modal Details ────────────────────────────── */
.modal-product {
    position: fixed; inset: 0;
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: all 0.5s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.modal-product.open {
    opacity: 1; pointer-events: auto;
}

.modal-product.open .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-overlay {
    position: absolute; inset: 0;
    background: rgba(243, 231, 215, 0.9);
    backdrop-filter: blur(15px);
    pointer-events: none;
}

.modal-content {
    position: relative;
    width: 92%; max-width: 1200px;
    height: auto;
    max-height: 96vh;
    max-height: -webkit-fill-available;
    background: var(--cream);
    border-radius: 0;
    overflow: visible;
    display: flex;
    border: none;
    box-shadow: 0 40px 100px rgba(94, 55, 27, 0.15);
    transform: scale(0.95) translateY(30px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-product.open .modal-content { 
    transform: scale(1) translateY(0); 
    opacity: 1;
}

.modal-left {
    flex: 1.1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.modal-main-img {
    flex: 1;
    min-height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0eb;
    position: relative;
}
.modal-main-img img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.modal-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.gallery-thumb {
    width: 60px; height: 60px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    border: 2px solid transparent;
}

.gallery-thumb:hover, .gallery-thumb.active {
    opacity: 1;
    border-color: var(--terracota);
}

.modal-right {
    flex: 0.9;
    padding: 40px 50px 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

.modal-badge-inbody {
    display: none;
}

.modal-badge-img {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.modal-badge-fly {
    background: var(--terracota);
    color: #fff;
    padding: 6px 14px;
    border-radius: 80px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
}

.modal-close {
    position: absolute; top: 30px; right: 30px;
    width: 50px; height: 50px; border-radius: 50%;
    background: #F0F2F5;
    border: 1px solid rgba(0,0,0,0.05); 
    color: var(--brown);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.4s ease;
    z-index: 100;
}

.modal-close:hover { 
    background: var(--terracota); 
    transform: rotate(90deg) scale(1.1); 
    border-color: var(--terracota);
}

.modal-tag { 
    color: var(--terracota); 
    font-size: 0.7rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.4em; 
    margin-bottom: 20px; 
    display: block; 
}
.modal-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--brown);
    margin-bottom: 25px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.modal-desc {
    font-size: 1rem;
    color: rgba(94, 55, 27, 0.7);
    line-height: 1.8;
    margin-bottom: 45px;
}

.modal-specs-box {
    margin-bottom: 30px;
    padding: 25px;
    background: #F3E7D7; /* Beige tone like reference */
    border-radius: 20px;
}

.specs-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brown);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-row {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--brown);
}

.spec-row label { font-weight: 800; color: var(--terracota); }
.spec-row span { color: var(--brown); opacity: 1; }

.modal-footer-row {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 10px;
    border-top: 1px dashed rgba(0,0,0,0.06);
}

.modal-price-box-lux {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-price-box-lux label {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.2em;
}

.modal-price-box-lux span {
    font-size: 2.8rem;
    font-weight: 400;
    font-family: var(--font-display);
    color: var(--brown);
    line-height: 1;
}

.btn-modal-action-wa {
    flex: 1; padding: 24px;
    background: #25D366; /* WhatsApp Green */
    color: #fff;
    border: none; border-radius: 100px;
    font-size: 1rem; font-weight: 800;
    text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.btn-modal-action-wa:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4); 
    background: #20BA56;
}

@media (max-width: 900px) {
    .modal-content { flex-direction: column; width: 95%; height: auto; max-height: 90vh; overflow-y: auto; border-radius: 40px; }
    .modal-left { height: auto; flex: none; min-height: 0; padding: 20px; }
    .modal-main-img { min-height: 0; max-height: 45vh; background: #f5f0eb; }
    .modal-main-img img { max-height: 45vh; }
    .modal-right { padding: 40px 30px; flex: none; overflow-y: auto; }
    .modal-title { font-size: 2.2rem; }
    .modal-gallery { height: auto; padding: 10px; flex-wrap: wrap; }
    .gallery-thumb { width: 60px; }
}

.info-item.price-item span {
    color: var(--gold);
    font-weight: 800;
}
.empty-state {
    grid-column: 1 / -1; padding: 120px 0; text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.empty-state p { font-size: 1.4rem; opacity: 0.5; margin-bottom: 25px; font-family: var(--font-display); }

.btn-clear-search {
    padding: 14px 30px;
    background: transparent;
    border: 1px solid var(--terracota);
    color: var(--terracota);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-search:hover {
    background: var(--terracota);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 133, 49, 0.2);
}

/* ══ MOBILE HEADER (Fixed at Top) ════════════════════ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    background: var(--cream);
    padding: 14px 20px;
    padding-top: calc(14px + env(safe-area-inset-top, 0));
    justify-content: center;
    align-items: center;
}

.mobile-header .nav-pill-logo-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-header .nav-pill-logo-mobile:active {
    transform: scale(0.95);
}

/* ══ MOBILE BOTTOM BAR (Fixed at Bottom) ══════════════ */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    background: var(--cream);
    flex-direction: column;
    padding: 8px 5% calc(8px + env(safe-area-inset-bottom, 0));
}

/* Row 1: Category + Search Button */
.mobile-bottom-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0;
    height: auto;
    width: 90%;
    margin: 0 auto;
}

/* Category Dropdown */
.mobile-cat-dropdown {
    flex: 1;
    height: 52px;
    position: relative;
    max-width: none;
}

.mobile-cat-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    background: #fff;
    border: 2px solid rgba(94, 55, 27, 0.1);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(94, 55, 27, 0.08);
}

.mobile-cat-current:hover {
    border-color: var(--terracota);
    box-shadow: 0 6px 20px rgba(255, 133, 49, 0.15);
    transform: translateY(-1px);
}

.mobile-cat-current:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(94, 55, 27, 0.1);
}

.mobile-cat-current span {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-cat-arrow {
    flex-shrink: 0;
    color: var(--terracota);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-cat-dropdown.is-open .mobile-cat-arrow {
    transform: rotate(180deg);
}

/* Category List — Dropdown */
.mobile-cat-list {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    right: auto;
    min-width: 200px;
    max-width: 280px;
    width: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 16px 50px rgba(94, 55, 27, 0.2), 0 4px 15px rgba(94, 55, 27, 0.1);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1300;
}

.mobile-cat-dropdown.is-open .mobile-cat-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.mobile-cat-list .mobile-cat-pill {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Search Toggle Button */
.mobile-search-toggle {
    flex: 1;
    max-width: 56px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracota);
    border: none;
    cursor: pointer;
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 133, 49, 0.35);
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.mobile-search-toggle:active {
    background: var(--brown);
}

/* When search is open, keep button brown */
.mobile-bottom-bar.is-search-open .mobile-search-toggle {
    background: var(--brown);
}

/* Row 2: Expanding Search Input */
.mobile-search-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease;
    opacity: 0;
    margin-top: 10px;
}

.mobile-search-expand.is-open {
    max-height: 80px;
    opacity: 1;
}

.mobile-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px 6px;
    margin: 0 16px 6px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(94, 55, 27, 0.12);
}

.mobile-search-input-wrap svg {
    flex-shrink: 0;
    color: var(--terracota);
    opacity: 0.7;
}

.mobile-search-input-wrap input {
    flex: 1;
    height: 42px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: var(--brown);
    transition: all 0.3s ease;
}

.mobile-search-input-wrap input::placeholder {
    color: rgba(94, 55, 27, 0.4);
}

.mobile-search-input-wrap input:focus {
    outline: none;
}

.mobile-search-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(94, 55, 27, 0.08);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--brown);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-search-close:hover {
    background: var(--terracota);
    color: #fff;
    transform: scale(1.1);
}

.mobile-search-close:active {
    transform: scale(0.95);
}

/* Mobile Category Pills (inside dropdown) */
.mobile-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: #fff;
    border: 1.5px solid rgba(94, 55, 27, 0.1);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brown);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}

.mobile-cat-pill.active {
    background: var(--terracota);
    color: #fff;
    border-color: var(--terracota);
    box-shadow: 0 4px 15px rgba(255, 133, 49, 0.35);
}

.mobile-cat-pill:not(.active):hover {
    border-color: var(--terracota);
    color: var(--terracota);
}

@media (max-width: 1600px) {
    .exhibitor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .exhibitor-main { padding: 60px 40px; }
}

@media (max-width: 1024px) {
    .exhibitor-sidebar { display: none; }
    .exhibitor-main {
        margin-left: 0;
        padding: 80px 20px 110px;
    }
    .mobile-bottom-bar { display: flex; }
    .mobile-header { display: flex; }

    .exhibitor-header {
        display: none;
    }
}

@media (max-width: 900px) {
    /* Grid 2 columns */
    .exhibitor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .product-card {
        max-width: none;
        width: 100%;
    }

    /* Modal Mobile */
    .modal-content {
        flex-direction: column;
        width: 96%;
        height: auto;
        max-height: 95vh;
        border-radius: 32px;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .modal-left {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 16px;
    }
    .modal-main-img {
        min-height: 0;
        max-height: 45vh;
        border-radius: 20px;
        background: #f5f0eb;
    }
    .modal-main-img img {
        max-height: 45vh;
        object-fit: contain;
    }
    .modal-right {
        width: 100%;
        padding: 28px 22px 32px;
        flex: none;
    }
    .modal-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    .modal-desc {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }
    .modal-specs-box {
        padding: 18px;
        margin-bottom: 20px;
    }
    .modal-close {
        top: 16px; right: 16px;
        width: 42px; height: 42px;
        background: #fff;
    }
    .modal-gallery {
        padding: 8px 0;
    }
    .gallery-thumb { width: 52px; height: 52px; }
    .modal-footer-row {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 24px;
    }
    .modal-price-box-lux {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .modal-price-box-lux label {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }
    .modal-price-box-lux span {
        font-size: 2.4rem;
        margin-top: 4px;
    }
    .btn-modal-action-wa {
        width: 100%;
        padding: 18px;
        font-size: 0.88rem;
        border-radius: 50px;
    }
}

@media (max-width: 600px) {
    .exhibitor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .product-card {
        max-width: none;
        width: 100%;
    }
    .card-body {
        padding: 14px 10px;
    }
    .card-name {
        font-size: 1.02rem;
    }
    .card-mini-desc-static {
        font-size: 0.7rem;
    }
    .header-name-lux { display: none; }
    .exhibitor-main {
        padding: 80px 14px 80px;
    }
    .insta-story-ring { border-radius: 24px; }
    .card-inner { border-radius: 22px; }
    .card-visual { aspect-ratio: 3 / 4; }

    /* Mobile Modal refinements */
    .modal-product {
        padding: 10px;
        align-items: flex-end;
    }
    .modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
    }
    .modal-left { padding: 12px; }
    .modal-right { padding: 22px 18px 28px; }
    .modal-title { font-size: 1.75rem; }
    .modal-specs-box { padding: 14px; }
    .specs-grid { gap: 8px; }
    .spec-row { font-size: 0.82rem; }
    .modal-price-box-lux span { font-size: 2rem; }
    .btn-modal-action-wa { padding: 16px; font-size: 0.82rem; }

    /* Card hover actions - hide on touch */
    .card-hover-overlay { display: none; }
}

@media (max-width: 480px) {
    .exhibitor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .exhibitor-main {
        padding: 70px 12px 70px;
    }
    .card-body { padding: 12px 8px; }
    .card-name { font-size: 0.8rem; line-height: 1.1; }
    .card-mini-desc-static { display: none; }
    .card-badge {
        font-size: 0.55rem;
        padding: 4px 10px;
        top: 10px; left: 10px;
    }
    /* Card visual — always 3:4 on mobile */
    .card-visual { aspect-ratio: 3 / 4; }
}

.sidebar-toggle { display: none; }
/* ── IMAGE FALLBACK & LUXURY PLACEHOLDER ── */
.card-visual img {
    background: linear-gradient(135deg, #1a1512 0%, #2d241e 100%);
    min-height: 200px;
    display: block;
}

/* Fix for broken images to show as elegant placeholders */
.card-visual img:not([src]),
.card-visual img[src=""],
.card-visual img[src="images/figura-placeholder.png"],
.card-visual img[src="images/logo/logo-mini.webp"] {
    content: ""; /* Hides broken icon */
    background: linear-gradient(135deg, #1a1512 0%, #2a201b 100%);
    position: relative;
    border-radius: 27px 27px 0 0;
}

.card-visual img:not([src]):after,
.card-visual img[src=""]:after,
.card-visual img[src="images/figura-placeholder.png"]:after,
.card-visual img[src="images/logo/logo-mini.webp"]:after {
    content: "HAMELIE ART-PIECE";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(216,185,138,0.3);
    font-family: 'Syne', sans-serif;
    text-align: center;
    width: 100%;
}

/* Luxury Skeleton Animation */
.luxury-loader-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(216,185,138,0.1);
    border-top: 2px solid var(--terracota);
    border-radius: 50%;
    animation: luxSpin 1s linear infinite;
    position: absolute;
    top: 50%; left: 50%;
    margin-left: -20px; margin-top: -20px;
}

@keyframes luxSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skeleton-item .card-visual {
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 2s infinite linear;
}

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

/* ══ GPU OPTIMIZATION FOR MOBILE SAFARI ══════════════ */
@media (max-width: 1024px) {
    .exhibitor-sidebar { 
        backdrop-filter: none !important; 
        -webkit-backdrop-filter: none !important;
        background: var(--glass-sidebar) !important;
    }
    .btn-card-info { 
        backdrop-filter: none !important; 
        -webkit-backdrop-filter: none !important;
    }
    .modal-overlay { 
        backdrop-filter: none !important; 
        -webkit-backdrop-filter: none !important;
    }
    .luxury-shape { display: none !important; }
    .light-beam { display: none !important; }
    .mobile-header, .mobile-bottom-bar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 248, 234, 0.98) !important;
    }
}

/* ══ CUSTOM PROMO BANNER FOR BTS RAFFLE ══════════════ */
.collection-promo-banner-v2 {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 120px);
    width: calc(100% - 48px);
    max-width: 960px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0d0517 0%, #1a0833 100%);
    border: 1.5px solid #e48bae;
    padding: 20px 40px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(124, 77, 255, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, visibility 0.6s;
}

.collection-promo-banner-v2.show {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.close-promo-banner-v2 {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #e48bae;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.close-promo-banner-v2:hover {
    color: #7c4dff;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.08);
}

.promo-banner-glow-v2 {
    position: absolute;
    top: -50px; right: -50px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.25) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.promo-banner-content-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.promo-banner-icon-v2 {
    font-size: 2.2rem;
    background: rgba(124, 77, 255, 0.15);
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    border: 1px dashed rgba(228, 139, 174, 0.4);
    flex-shrink: 0;
}

.promo-banner-text-v2 {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-banner-badge-v2 {
    font-size: 0.65rem;
    font-weight: 800;
    color: #e48bae;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.promo-banner-title-v2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cream);
    margin: 0;
    line-height: 1.2;
}

.promo-banner-desc-v2 {
    font-size: 0.8rem;
    color: #d1c4e9;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

.btn-promo-banner-action-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    background: linear-gradient(135deg, #7c4dff 0%, #e48bae 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(124, 77, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-promo-banner-action-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(228, 139, 174, 0.5);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .collection-promo-banner-v2 {
        padding: 16px 20px;
        border-radius: 16px;
        bottom: 84px;
        width: calc(100% - 24px);
        z-index: 1100;
    }
    .promo-banner-content-v2 {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        justify-content: space-between;
    }
    .promo-banner-icon-v2 {
        display: none;
    }
    .promo-banner-text-v2 {
        min-width: unset;
        flex: 1;
        gap: 2px;
    }
    .promo-banner-title-v2 {
        font-size: 1.05rem;
    }
    .promo-banner-desc-v2 {
        display: none;
    }
    .btn-promo-banner-action-v2 {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    .close-promo-banner-v2 {
        top: 6px;
        right: 8px;
        font-size: 1.3rem;
        width: 24px;
        height: 24px;
    }
}
