/* ============================================================
   CATÁLOGO MICROTEC — Tema Coral + Turquesa / Fondo Blanco
   ============================================================ */

:root {
    --bg:         #f5f7fa;
    --surface:    #ffffff;
    --surface2:   #f0f4f8;
    --border:     #e2e8f0;
    --coral:      #ff6b6b;
    --coral2:     #ff8e8e;
    --coral-soft: #fff0f0;
    --teal:       #2ec4b6;
    --teal2:      #52d9ce;
    --teal-soft:  #e8faf9;
    --accent:     var(--coral);
    --accent2:    var(--coral2);
    --text:       #1a202c;
    --text-mid:   #4a5568;
    --text-muted: #a0aec0;
    --danger:     #fc5c65;
    --success:    #26de81;
    --warning:    #fd9644;
    --radius:     14px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
    --shadow:     0 8px 30px rgba(0,0,0,0.10);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
}

/* ── HEADER ── */
header {
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.5rem;
}
.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--coral);
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.logo span { color: var(--teal); }

/* Search */
.search-wrap { flex: 1; max-width: 500px; position: relative; }
.search-wrap input {
    width: 100%;
    background: var(--surface2);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 0.65rem 1rem 0.65rem 2.8rem;
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Nunito', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,196,182,0.15); }
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.search-wrap button {
    position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%);
    background: linear-gradient(135deg, var(--coral), var(--coral2));
    border: none; border-radius: 50px; padding: 0.4rem 1.1rem;
    color: #fff; font-size: 0.82rem; font-weight: 700; cursor: pointer;
    font-family: 'Nunito', sans-serif; transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(255,107,107,0.35);
}
.search-wrap button:hover { opacity: 0.88; transform: translateY(-50%) scale(1.04); }

/* Cart */
.cart-btn {
    background: var(--teal-soft); border: 2px solid var(--teal); border-radius: 50px;
    padding: 0.5rem 1.2rem; color: var(--teal); font-size: 0.9rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
    transition: background 0.2s, color 0.2s, transform 0.15s; white-space: nowrap;
}
.cart-btn:hover { background: var(--teal); color: #fff; transform: scale(1.04); }
.cart-badge {
    background: var(--coral); color: #fff; border-radius: 50%;
    width: 22px; height: 22px; font-size: 0.7rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(255,107,107,0.4);
}

/* ── TOOLBAR ── */
.toolbar { max-width: 1400px; margin: 1.5rem auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.toolbar-left { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }
.toolbar-left strong { color: var(--coral); font-size: 1.1rem; }
.toolbar-right { display: flex; align-items: center; gap: 0.75rem; }
.select-sort { background: var(--surface); border: 2px solid var(--border); border-radius: 10px; padding: 0.45rem 0.9rem; color: var(--text); font-size: 0.85rem; font-family: 'Nunito', sans-serif; font-weight: 600; outline: none; cursor: pointer; transition: border-color 0.2s; }
.select-sort:focus { border-color: var(--teal); }
.view-toggle { display: flex; background: var(--surface); border: 2px solid var(--border); border-radius: 10px; overflow: hidden; }
.view-btn { background: none; border: none; padding: 0.45rem 0.8rem; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.view-btn.active { background: var(--teal); color: #fff; }

/* ── GRID ── */
.catalog { max-width: 1400px; margin: 0 auto; padding: 0 2rem 3rem; display: grid; gap: 1.25rem; }
.catalog.grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.catalog.list { grid-template-columns: 1fr; }

/* ── CARD ── */
.card {
    background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    animation: fadeUp 0.4s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow), 0 0 0 2px var(--coral); border-color: var(--coral); }
.catalog.grid .card { display: flex; flex-direction: column; }

.card-img-wrap { position: relative; overflow: hidden; background: var(--surface2); }
.catalog.grid .card-img-wrap { aspect-ratio: 1; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img-wrap img { transform: scale(1.06); }

.img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.75rem; gap: 0.5rem; }
.img-placeholder svg { opacity: 0.2; }

/* Badges */
.badge-stock { position: absolute; top: 0.6rem; right: 0.6rem; background: linear-gradient(135deg, var(--teal), var(--teal2)); color: #fff; font-size: 0.62rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: 0 2px 6px rgba(46,196,182,0.4); }
.badge-poco { position: absolute; top: 0.6rem; right: 0.6rem; background: linear-gradient(135deg, var(--warning), #ffbe76); color: #fff; font-size: 0.62rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-agotado { position: absolute; top: 0.6rem; right: 0.6rem; background: linear-gradient(135deg, var(--danger), #ff8a80); color: #fff; font-size: 0.62rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-qty { position: absolute; bottom: 0.6rem; left: 0.6rem; background: rgba(26,32,44,0.65); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 20px; backdrop-filter: blur(4px); }
.btn-agotado { background: var(--surface2); color: var(--text-muted); border: 2px solid var(--border); border-radius: 10px; padding: 0.55rem 1rem; font-size: 0.82rem; font-weight: 700; font-family: 'Nunito', sans-serif; cursor: not-allowed; }

/* Card body */
.card-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-name { font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 700; line-height: 1.35; color: #1a202c; }
.card-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.2rem; }
.meta-pill { background: var(--teal-soft); border: 1px solid rgba(46,196,182,0.25); border-radius: 20px; padding: 0.15rem 0.6rem; font-size: 0.68rem; font-weight: 700; color: var(--teal); }

/* Card footer */
.card-footer { padding: 0 1rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; }
.price { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--coral); }
.price-unit { font-family: 'Nunito', sans-serif; font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }

.btn-buy {
    background: linear-gradient(135deg, var(--coral), var(--coral2));
    color: #fff; border: none; border-radius: 10px; padding: 0.6rem 1rem;
    font-size: 0.82rem; font-weight: 800; font-family: 'Nunito', sans-serif;
    cursor: pointer; display: flex; align-items: center; gap: 0.35rem;
    transition: opacity 0.2s, transform 0.15s; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255,107,107,0.35);
}
.btn-buy:hover { opacity: 0.88; transform: scale(1.05); }
.btn-buy:active { transform: scale(0.97); }

/* List card */
.catalog.list .card { display: flex; flex-direction: row; align-items: stretch; }
.catalog.list .card-img-wrap { width: 160px; min-width: 160px; aspect-ratio: unset; }
.catalog.list .card-body { flex: 1; padding: 1.2rem; }
.catalog.list .card-name { font-size: 1.1rem; }
.catalog.list .card-desc { -webkit-line-clamp: 3; }
.catalog.list .card-footer { flex-direction: column; align-items: flex-end; justify-content: center; padding: 1.2rem; border-left: 2px solid var(--border); min-width: 160px; gap: 0.75rem; margin-top: 0; }
.catalog.list .price { font-size: 1.5rem; }
.catalog.list .btn-buy { width: 100%; justify-content: center; }

/* Empty */
.empty { grid-column: 1/-1; text-align: center; padding: 5rem 2rem; color: var(--text-muted); }
.empty h2 { font-family: 'Poppins', sans-serif; font-size: 1.8rem; color: var(--text); margin-bottom: 0.5rem; }

/* ── CART DRAWER ── */
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(26,32,44,0.5); z-index: 200; backdrop-filter: blur(3px); }
.drawer-overlay.open { display: block; }
.drawer { position: fixed; top: 0; right: -440px; width: 420px; max-width: 95vw; height: 100vh; background: var(--surface); border-left: 2px solid var(--border); z-index: 201; display: flex; flex-direction: column; transition: right 0.35s cubic-bezier(0.22,1,0.36,1); box-shadow: -8px 0 40px rgba(0,0,0,0.1); }
.drawer.open { right: 0; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; border-bottom: 2px solid var(--border); background: linear-gradient(135deg, var(--coral-soft), var(--teal-soft)); }
.drawer-header h2 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; color: var(--text); font-weight: 700; }
.close-btn { background: var(--surface); border: 2px solid var(--border); border-radius: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted); font-size: 1rem; font-weight: 700; transition: all 0.2s; }
.close-btn:hover { border-color: var(--coral); color: var(--coral); }
.drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.drawer-item { background: var(--surface2); border: 2px solid var(--border); border-radius: var(--radius); padding: 0.75rem; display: flex; gap: 0.75rem; align-items: center; transition: border-color 0.2s; }
.drawer-item:hover { border-color: var(--teal); }
.drawer-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.di-info { flex: 1; }
.di-name { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.di-price { font-size: 0.82rem; color: var(--coral); font-weight: 800; }
.di-qty { display: flex; align-items: center; gap: 0.4rem; }
.qty-btn { background: var(--surface); border: 2px solid var(--border); border-radius: 8px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); font-size: 1rem; font-weight: 700; transition: all 0.2s; }
.qty-btn:hover { border-color: var(--teal); color: var(--teal); }
.qty-num { width: 28px; text-align: center; font-size: 0.85rem; font-weight: 800; color: var(--text); }
.remove-item { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 1.1rem; padding: 0.2rem; opacity: 0.6; transition: opacity 0.2s; }
.remove-item:hover { opacity: 1; }
.drawer-footer { border-top: 2px solid var(--border); padding: 1.2rem 1.5rem; background: var(--surface2); }
.total-row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1rem; align-items: center; }
.total-row span { font-weight: 700; color: var(--text-mid); }
.total-row strong { font-family: 'Poppins', sans-serif; font-size: 1.4rem; color: var(--coral); }
.btn-checkout { width: 100%; background: linear-gradient(135deg, var(--teal), var(--teal2)); color: #fff; border: none; border-radius: var(--radius); padding: 0.95rem; font-size: 1rem; font-weight: 800; font-family: 'Nunito', sans-serif; cursor: pointer; transition: opacity 0.2s, transform 0.15s; box-shadow: 0 4px 16px rgba(46,196,182,0.4); }
.btn-checkout:hover { opacity: 0.88; transform: scale(1.02); }
.cart-empty-msg { text-align: center; padding: 3rem 1rem; color: var(--text-muted); font-weight: 600; }

/* Qty en tarjeta */
.qty-control { display: flex; align-items: center; gap: 0.4rem; background: var(--surface2); border: 2px solid var(--border); border-radius: 10px; padding: 0.25rem 0.5rem; }
.qty-control button { background: none; border: none; color: var(--text-mid); cursor: pointer; font-size: 1.1rem; font-weight: 800; line-height: 1; width: 20px; text-align: center; transition: color 0.2s; }
.qty-control button:hover { color: var(--coral); }
.qty-control input { width: 36px; background: none; border: none; color: var(--text); text-align: center; font-size: 0.9rem; font-weight: 800; font-family: 'Nunito', sans-serif; outline: none; }

/* Toast */
#toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px); background: linear-gradient(135deg, var(--teal), var(--teal2)); color: #fff; padding: 0.75rem 1.8rem; border-radius: 50px; font-size: 0.9rem; font-weight: 700; z-index: 300; opacity: 0; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); pointer-events: none; white-space: nowrap; box-shadow: 0 6px 20px rgba(46,196,182,0.45); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── MODAL AUTH ── */
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(26,32,44,0.6); z-index: 400; backdrop-filter: blur(6px); align-items: center; justify-content: center; }
.modal-bg.open { display: flex; }
.modal { background: var(--surface); border: 2px solid var(--border); border-radius: 20px; width: 100%; max-width: 440px; margin: 1rem; box-shadow: var(--shadow-lg); animation: modalIn 0.3s cubic-bezier(0.22,1,0.36,1); overflow: hidden; }
@keyframes modalIn { from { opacity:0; transform: scale(0.92) translateY(20px); } to { opacity:1; transform: scale(1) translateY(0); } }
.modal-header { padding: 1.5rem 1.5rem 1.2rem; display: flex; align-items: flex-start; justify-content: space-between; background: linear-gradient(135deg, var(--coral-soft), var(--teal-soft)); }
.modal-header h2 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; color: var(--text); font-weight: 700; }
.modal-header p { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; font-weight: 600; }
.modal-tabs { display: flex; margin: 1.2rem 1.5rem 0; background: var(--surface2); border-radius: 12px; padding: 4px; gap: 4px; border: 2px solid var(--border); }
.modal-tab { flex: 1; background: none; border: none; border-radius: 9px; padding: 0.55rem; color: var(--text-muted); font-size: 0.85rem; font-weight: 700; font-family: 'Nunito', sans-serif; cursor: pointer; transition: all 0.2s; }
.modal-tab.active { background: linear-gradient(135deg, var(--coral), var(--coral2)); color: #fff; box-shadow: 0 2px 8px rgba(255,107,107,0.35); }
.modal-body { padding: 1.2rem 1.5rem 1.5rem; }
.form-panel { display: none; }
.form-panel.active { display: block; }
.field-group { display: flex; flex-direction: column; gap: 0.75rem; }
.field-row { display: flex; gap: 0.75rem; }
.field-row .field { flex: 1; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label { font-size: 0.75rem; font-weight: 800; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.06em; }
.field input { background: var(--surface2); border: 2px solid var(--border); border-radius: 10px; padding: 0.65rem 0.9rem; color: var(--text); font-size: 0.9rem; font-family: 'Nunito', sans-serif; font-weight: 600; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,196,182,0.15); }
.field input::placeholder { color: var(--text-muted); }
.btn-auth { width: 100%; background: linear-gradient(135deg, var(--coral), var(--coral2)); color: #fff; border: none; border-radius: 12px; padding: 0.85rem; font-size: 0.95rem; font-weight: 800; font-family: 'Nunito', sans-serif; cursor: pointer; margin-top: 0.5rem; transition: opacity 0.2s, transform 0.15s; box-shadow: 0 4px 14px rgba(255,107,107,0.35); }
.btn-auth:hover { opacity: 0.88; }
.btn-auth:active { transform: scale(0.98); }
.btn-auth:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-error { background: #fff5f5; border: 2px solid #feb2b2; border-radius: 10px; padding: 0.6rem 0.9rem; color: var(--danger); font-size: 0.82rem; font-weight: 700; display: none; margin-bottom: 0.5rem; }
.auth-error.show { display: block; }
.auth-success { background: #f0fff4; border: 2px solid #9ae6b4; border-radius: 10px; padding: 0.6rem 0.9rem; color: #276749; font-size: 0.82rem; font-weight: 700; display: none; margin-bottom: 0.5rem; }
.auth-success.show { display: block; }
.user-pill { display: flex; align-items: center; gap: 0.5rem; background: var(--teal-soft); border: 2px solid var(--teal); border-radius: 50px; padding: 0.4rem 1rem 0.4rem 0.5rem; font-size: 0.82rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.user-avatar { width: 28px; height: 28px; background: linear-gradient(135deg, var(--teal), var(--teal2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; color: #fff; }
.btn-logout { background: none; border: none; color: var(--danger); font-size: 0.75rem; font-weight: 700; cursor: pointer; padding: 0; font-family: 'Nunito', sans-serif; opacity: 0.75; transition: opacity 0.2s; margin-left: 0.3rem; }
.btn-logout:hover { opacity: 1; }

/* Responsive */
@media (max-width: 640px) {
    .catalog.list .card { flex-direction: column; }
    .catalog.list .card-img-wrap { width: 100%; aspect-ratio: 16/9; }
    .catalog.list .card-footer { flex-direction: row; border-left: none; border-top: 2px solid var(--border); min-width: unset; }
    .header-inner { flex-wrap: wrap; height: auto; padding: 0.75rem 0; }
    .search-wrap { order: 3; max-width: 100%; flex: 1 1 100%; }
}

/* Select en modal */
.field-select { background-color: var(--surface2) !important; border: 2px solid var(--border); border-radius: 10px; padding: 0.65rem 2.2rem 0.65rem 0.9rem; color: var(--text) !important; font-size: 0.9rem; font-family: 'Nunito', sans-serif; font-weight: 600; outline: none; transition: border-color 0.2s; width: 100%; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 14px; }
.field-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,196,182,0.15); }
.field-select option { background-color: #fff !important; color: var(--text) !important; }

/* ── CHECKOUT MODAL ── */
.pay-option { display: flex; align-items: center; gap: 0.9rem; background: var(--surface2); border: 2px solid var(--border); border-radius: 12px; padding: 0.9rem 1rem; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.pay-option:hover { border-color: var(--teal); transform: scale(1.01); }
.pay-option.selected { border-color: var(--teal); background: var(--teal-soft); }
.pay-option .pay-icon { font-size: 1.5rem; flex-shrink: 0; }
.pay-option > div:nth-child(3) { flex: 1; }
.pay-option > div:nth-child(3) strong { font-size: 0.9rem; color: var(--text); font-weight: 700; }
.pay-option > div:nth-child(3) p { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; font-weight: 600; }
.pay-check { color: var(--teal); font-weight: 800; font-size: 1.1rem; opacity: 0; transition: opacity 0.2s; flex-shrink: 0; }
.pay-option.selected .pay-check { opacity: 1; }
.pay-info { background: var(--teal-soft); border: 2px solid rgba(46,196,182,0.3); border-radius: 12px; padding: 1rem 1.1rem; font-size: 0.85rem; color: var(--text-mid); font-weight: 600; display: none; }
.pay-info-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.pay-info p { line-height: 1.5; }
.bank-detail { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border: 2px solid var(--border); border-radius: 10px; padding: 0.5rem 0.9rem; margin-top: 0.4rem; font-size: 0.85rem; }
.bank-detail span { color: var(--text-muted); font-weight: 600; }
.bank-detail strong { color: var(--coral); letter-spacing: 0.03em; font-weight: 800; }

/* Aviso métodos solo en tienda física */
.pay-tienda-fisica {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #fffbeb;
    border: 2px dashed #f6ad55;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: #744210;
    font-size: 0.82rem;
    font-weight: 600;
}
.pay-tienda-icon { font-size: 1.5rem; flex-shrink: 0; }
.pay-tienda-fisica strong { display: block; font-size: 0.88rem; font-weight: 800; color: #92400e; margin-bottom: 0.2rem; }
.pay-tienda-fisica p { color: #78350f; font-weight: 700; }

/* ── BOTÓN VER MÁS ── */
.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal), var(--teal2));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(46,196,182,0.4);
}
.btn-ver-mas:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(46,196,182,0.5);
    color: #fff;
    text-decoration: none;
}
.btn-ver-mas:active { transform: translateY(0); }

/* ── FOOTER ── */
.cat-footer {
    background: #1a202c;
    color: #e2e8f0;
    margin-top: 3rem;
    padding: 3rem 2rem 0;
    font-family: 'Nunito', sans-serif;
}

.cat-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .cat-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.75rem;
    display: block;

}

.footer-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--coral);
    margin-bottom: 0.75rem;
}

.footer-desc {
    font-size: 0.82rem;
    color: #a0aec0;
    line-height: 1.6;
    font-weight: 600;
    max-width: 280px;
    margin-bottom: 1.2rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--coral);
    border-color: var(--coral);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #a0aec0;
    font-weight: 600;
    line-height: 1.4;
}

.footer-list li svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--teal);
}

.footer-pay-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-pay-badge {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #e2e8f0;
}

.cat-footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #718096;
    font-weight: 600;
    flex-wrap: wrap;
}

.footer-bottom-sep { color: #4a5568; }