:root {
            --gold: #d4af37;
            --ink: #1c2541;
            --ink-soft: #55607a;
            --bg-1: #0b132b;
            --bg-2: #1c2541;
            --bg-3: #3a506b;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Poppins', sans-serif;
            color: #e5e5e5;
            background-color: var(--bg-1);
            background-image:
                radial-gradient(1100px 520px at 8% -10%, rgba(212, 175, 55, .14), transparent 60%),
                radial-gradient(900px 480px at 92% 0%, rgba(94, 141, 255, .12), transparent 60%),
                linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
            background-attachment: fixed;
            min-height: 100vh;
        }

        /* ---------- ENCABEZADO ---------- */
        .hero { padding: 56px 20px 6px; text-align: center; }
        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            color: #ffffff;
        }
        .hero h1 span { color: var(--gold); }
        .hero p { color: rgba(245, 247, 250, .75); margin-top: 8px; font-weight: 300; }
        .gold-line {
            width: 110px; height: 3px; border-radius: 2px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
            margin: 16px auto 0;
        }

        /* ---------- PANEL DE BÚSQUEDA (centrado) ---------- */
        .search-panel {
            width: min(680px, 92%);
            margin: 34px auto 12px;
            padding: 28px 26px 20px;
            background: rgba(255, 255, 255, .07);
            border: 1px solid rgba(255, 255, 255, .16);
            border-radius: 20px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
            text-align: center;
        }
        .search-panel h2 {
            font-family: 'Playfair Display', serif;
            font-size: 1.25rem;
            color: #ffffff;
        }
        .search-field { max-width: 520px; margin: 16px auto 0; text-align: left; }
        .search-field label {
            display: flex; align-items: center; gap: 8px;
            margin-bottom: 8px;
            font-size: .85rem; font-weight: 500;
            letter-spacing: .4px; color: var(--gold);
        }
        .search-field input {
            width: 100%;
            padding: 13px 16px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, .25);
            background: rgba(255, 255, 255, .96);
            color: var(--ink);
            font: inherit; font-size: .95rem;
            transition: box-shadow .25s, border-color .25s;
        }
        .search-field input:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 4px rgba(212, 175, 55, .22);
        }
        .search-meta {
            margin-top: 18px;
            display: flex; justify-content: center; align-items: center; gap: 16px;
            font-size: .85rem; color: rgba(245, 247, 250, .8);
        }
        .search-meta strong { color: var(--gold); font-size: 1rem; }
        #clearFilters {
            border: 1px solid rgba(212, 175, 55, .5);
            background: transparent;
            color: var(--gold);
            padding: 7px 14px;
            border-radius: 999px;
            cursor: pointer;
            font: inherit; font-size: .8rem;
            transition: background .25s;
        }
        #clearFilters:hover { background: rgba(212, 175, 55, .15); }

        /* ---------- CUADRÍCULA DE RESULTADOS ---------- */
        .catalog-wrap { width: min(1200px, 94%); margin: 26px auto 70px; }
        .grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);   /* responsive: máx. 2 por fila */
            gap: 26px;
        }
        @media (min-width: 992px) {
            .grid { grid-template-columns: repeat(3, 1fr); }  /* PC: máx. 3 por fila */
        }

        /* ---------- TARJETAS ---------- */
        .product-card {
            display: flex; flex-direction: column;
            background: #ffffff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
            transition: transform .35s ease, box-shadow .35s ease;
        }
        .product-card:hover {
            transform: translateY(-7px);
            box-shadow: 0 20px 45px rgba(0, 0, 0, .45);
        }
        .product-card.pop { animation: fadeUp .45s ease both; }
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(14px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .card-img { aspect-ratio: 16 / 10; overflow: hidden; }
        .card-img img {
            width: 100%; height: 100%;
            object-fit: cover; display: block;
            transition: transform .5s ease;
        }
        .product-card:hover .card-img img { transform: scale(1.06); }

        .card-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
        .card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: .7rem; font-weight: 600;
            padding: 5px 11px; border-radius: 999px;
            letter-spacing: .3px;
        }
        .tag-loc { background: #fdf3d7; color: #8a6d1a; }
        .tag-cat { background: #e3ecff; color: #274b9f; }
        .card-title {
            font-family: 'Playfair Display', serif;
            font-size: 0.9rem; color: var(--ink);
        }
        .card-desc { font-size: .87rem; line-height: 1.55; color: var(--ink-soft); }

           .btnEscoger{
            
             background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
            color: #3d2c00;
            font-weight: bold;
            font-size: 1.0rem;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s ease;

            }

            .boton-oro:hover {
                transform: scale(1.05);
            }
           /* background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C); 
           ---background: linear-gradient(to right, #ff7e5f, #feb47b);--
            color: rgb(0, 0, 0);
            height: 30px;
            border-radius: 15px;
            border: none;

                }*/
        /* ---------- SIN RESULTADOS ---------- */
        #noResults {
            display: none;
            grid-column: 1 / -1;
            text-align: center;
            padding: 46px 22px;
            border-radius: 18px;
            background: rgba(255, 255, 255, .08);
            border: 1px dashed rgba(255, 255, 255, .3);
            color: rgba(245, 247, 250, .85);
            font-size: 1rem;
        }
        #noResults i { font-size: 2.4rem; display: block; margin-bottom: 14px; color: var(--gold); }

        footer {
            text-align: center; padding: 26px 16px;
            font-size: .78rem; color: rgba(245, 247, 250, .55);
            border-top: 1px solid rgba(255, 255, 255, .1);
        }