/* Archivo: /public_html/enebay/public/assets/css/app.css */
/* VersiÃ³n limpia: sin iconos cuadrados 'E' y sin bloque duplicado de ocultaciÃ³n al final. */

/* ======================================================
   ENEBAY - GLOBAL
====================================================== */

:root {
    --bg: #080b14;
    --bg-soft: #0f1424;
    --panel: #111624;
    --panel2: #171d2e;
    --card: #151b2e;
    --card-2: #1d2438;

    --text: #f4f7fb;
    --muted: #9da8bd;

    --primary: #7c5cff;
    --primary-2: #00d4ff;

    --brand: #7c3cff;
    --brand2: #00e0b8;

    --danger: #ff4d6d;
    --success: #23d18b;
    --warning: #ffc107;

    --border: rgba(255,255,255,.09);
    --border-strong: rgba(255,255,255,.16);

    --shadow: 0 20px 60px rgba(0,0,0,.28);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(124, 60, 255, .22), transparent 34%),
        radial-gradient(circle at top right, rgba(0, 212, 255, .10), transparent 30%),
        #080b14;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
}

main {
    min-height: calc(100vh - 76px);
}

/* ======================================================
   NAVBAR
====================================================== */

.navbar,
.topbar {
    min-height: 76px;
    padding: 0 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(8, 11, 20, .88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 900;
    font-size: 26px;
    white-space: nowrap;
}

.brand span span,
.brand > span:not(.brand-icon) span {
    color: var(--brand2);
}

.brand-icon {
    display: none !important;
}

.nav-links,
nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
}

.nav-links a,
nav a {
    font-weight: 650;
    transition: .18s ease;
}

.nav-links a:hover,
nav a:hover {
    color: var(--text);
}

.nav-links a[href$="/cart"] {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-user {
    color: var(--primary-2);
    font-weight: 900;
    white-space: nowrap;
}

.nav-wallet,
.nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
    font-weight: 850;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: .18s ease;
}

.nav-wallet {
    color: #00e0b8;
}

.nav-cart {
    color: #d8dcff;
}

.nav-cart:hover,
.nav-wallet:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(0,224,184,.35);
    transform: translateY(-1px);
}

.cart-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c5cff, #00d4ff);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

/* ======================================================
   BUTTONS
====================================================== */

.btn-small,
.btn,
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-disabled,
.btn-cart-add {
    border: 0;
    border-radius: 14px;
    min-height: 44px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    transition: .18s ease;
    font-family: inherit;
    line-height: 1;
}

.btn-small {
    min-height: 42px;
    padding: 11px 16px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
}

.btn-small.primary,
.btn.primary,
.btn-primary,
.btn-cart-add {
    background: linear-gradient(135deg, #7c5cff, #00d4ff);
    color: #fff;
    border: none;
}

.btn-small.danger,
.btn-danger {
    background: rgba(255,77,109,.14);
    color: #ff9aae;
    border: 1px solid rgba(255,77,109,.25);
}

.btn-secondary {
    background: rgba(255,255,255,.07);
    color: #fff;
    border: 1px solid rgba(255,255,255,.1);
}

.btn-disabled {
    background: rgba(255,255,255,.08);
    color: #8b95aa;
    cursor: not-allowed;
}

.btn-cart-add {
    width: 100%;
    margin-top: 14px;
    font-size: 14px;
}

.btn-primary:hover,
.btn-cart-add:hover,
.btn-small.primary:hover,
.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,212,255,.16);
}

.btn-secondary:hover,
.btn-small:hover {
    transform: translateY(-1px);
    border-color: rgba(0,224,184,.35);
}

.btn.full,
.w-100 {
    width: 100%;
}

/* ======================================================
   ALERTS
====================================================== */

.alert {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-weight: 650;
}

.alert.success {
    background: rgba(35, 209, 139, .14);
    color: #8effcc;
    border-color: rgba(35, 209, 139, .35);
}

.alert.error,
.alert-error {
    background: rgba(255, 77, 109, .14);
    color: #ffb3c0;
    border-color: rgba(255, 77, 109, .35);
}

.alert.warning {
    background: rgba(255, 193, 7, .14);
    color: #ffe08a;
    border-color: rgba(255, 193, 7, .35);
}

.alert.info {
    background: rgba(0, 212, 255, .14);
    color: #9eefff;
    border-color: rgba(0, 212, 255, .35);
}

.alert-error {
    margin: 16px 0;
    padding: 13px;
    border-radius: 14px;
    border: 1px solid rgba(255,77,109,.25);
}

/* ======================================================
   HOME HERO
====================================================== */

.hero {
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 420px;
}

.hero-content {
    max-width: 860px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 62px);
    max-width: 920px;
    margin: 14px 0;
    line-height: 1.04;
}

.hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: var(--brand2);
    background: rgba(255,255,255,.04);
    font-weight: 900;
}

.hero-search,
.search {
    display: flex;
    max-width: 720px;
    margin-top: 28px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
}

.hero-search input,
.search input {
    flex: 1;
    padding: 18px;
    border: 0;
    font-size: 16px;
    outline: none;
}

.hero-search button,
.search button {
    padding: 0 28px;
    border: 0;
    background: var(--brand2);
    color: #04110f;
    font-weight: 900;
    cursor: pointer;
}

/* ======================================================
   PRODUCTS HERO / FILTERS
====================================================== */

.products-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 28px;
    padding: 58px 60px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(124,92,255,.30), rgba(0,212,255,.16)),
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
}

.products-hero h1 {
    margin: 16px 0 10px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    max-width: 760px;
}

.products-hero p {
    margin: 0;
    color: #c5d0ea;
    font-size: 18px;
}

.products-filter {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
}

.products-filter label {
    display: block;
    margin-bottom: 9px;
    color: #fff;
    font-weight: 900;
}

.products-filter input,
.products-filter select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: #0b1020;
    color: #fff;
    outline: none;
}

.products-filter input:focus,
.products-filter select:focus {
    border-color: rgba(0,224,184,.45);
}

.products-filter button {
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c5cff, #00d4ff);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.clear-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    color: #dbeafe;
    font-weight: 800;
}

/* ======================================================
   SECTIONS
====================================================== */

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 44px auto;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-head h1,
.section-head h2 {
    margin: 0;
    font-size: 30px;
}

.section-head a {
    color: var(--brand2);
    font-weight: 850;
}

.section-head span {
    color: #fff;
}

/* ======================================================
   CATEGORIES
====================================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}

.category-card {
    min-height: 105px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--card), var(--bg-soft));
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-weight: 900;
    transition: .18s ease;
}

.category-card:hover {
    border-color: rgba(0,224,184,.35);
    transform: translateY(-2px);
}

/* ======================================================
   PRODUCTS / CARDS
====================================================== */

.product-grid,
.grid.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 20px;
}

.product-card,
.card,
.auth-card {
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.product-card {
    overflow: hidden;
    transition: .18s ease;
}

.product-card:hover,
.card:hover {
    border-color: rgba(0, 224, 184, .45);
    transform: translateY(-2px);
}

.product-cover,
.cover,
.big-cover {
    display: block;
    width: 100%;
    height: 160px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #33216f, #00a991);
    text-decoration: none;
}

.product-cover img,
.product-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.product-card:hover .product-cover img {
    transform: scale(1.04);
}

.no-image,
.cart-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #312e81, #0891b2, #14b8a6);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    letter-spacing: .2px;
    padding: 12px;
}

.product-body {
    padding-top: 14px;
}

.product-card h3 {
    margin: 0 0 8px;
    line-height: 1.25;
    font-size: 19px;
}

.product-card p,
.muted {
    color: var(--muted);
}

.product-card p {
    min-height: 42px;
    margin: 0 0 14px;
}

.product-bottom,
.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.product-bottom a {
    color: var(--brand2);
    font-weight: 900;
}

.product-bottom strong {
    color: #fff;
}

.cart-add-form {
    margin-top: 14px;
}

/* ======================================================
   PRODUCT DETAIL
====================================================== */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    padding: 60px 6%;
    max-width: 1200px;
    margin: auto;
}

.product-detail-media {
    min-width: 0;
}

.product-detail-cover,
.big-cover {
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
}

.detail-no-image {
    font-size: 26px;
}

.product-detail-info h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    margin: 22px 0 14px;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 900;
    font-size: 13px;
}

.product-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 26px 0;
}

.product-stats div {
    padding: 18px;
    border-radius: 20px;
    background: #0b1020;
    border: 1px solid rgba(255,255,255,.08);
}

.product-stats span {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
}

.product-stats strong {
    font-size: 30px;
    color: #00d4ff;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
    margin: 18px 0 24px;
}

.detail-cart-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}

.detail-quantity {
    display: grid;
    gap: 7px;
}

.detail-quantity label {
    color: var(--muted);
    font-weight: 900;
    font-size: 13px;
}

.detail-quantity input {
    width: 90px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0b1020;
    color: #fff;
    padding: 0 12px;
    outline: none;
}

.seller-box {
    margin-top: 22px;
    padding: 20px;
    border-radius: 22px;
    background: #0b1020;
    border: 1px solid rgba(255,255,255,.08);
}

.seller-box h3 {
    margin-top: 0;
}

.seller-box p {
    color: var(--muted);
}

/* ======================================================
   CARTX - PREMIUM CART / CHECKOUT
====================================================== */

.cartx-page {
    padding: 36px 0 56px;
    background:
        radial-gradient(circle at top left, rgba(124, 60, 255, .14), transparent 28%),
        radial-gradient(circle at top right, rgba(0, 212, 255, .08), transparent 24%);
}

.cartx-wrap {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.cartx-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cartx-top-left h1 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.02;
}

.cartx-top-left p {
    margin: 0;
    color: #a8b5cc;
    font-size: 15px;
}

.cartx-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: #18f0c4;
    font-weight: 900;
    font-size: 13px;
}

.cartx-back,
.cartx-main-btn,
.cartx-secondary-btn,
.cartx-danger-btn,
.cartx-disabled-btn {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

.cartx-back,
.cartx-secondary-btn {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: #fff;
}

.cartx-main-btn {
    background: linear-gradient(135deg, #7c5cff, #00d4ff);
    color: #fff;
    box-shadow: 0 14px 26px rgba(0, 212, 255, .16);
}

.cartx-danger-btn {
    background: rgba(255,77,109,.14);
    color: #ff9aae;
    border: 1px solid rgba(255,77,109,.25);
}

.cartx-disabled-btn {
    background: rgba(255,255,255,.08);
    color: #909bb0;
    cursor: not-allowed;
    margin-top: 10px;
}

.cartx-back:hover,
.cartx-main-btn:hover,
.cartx-secondary-btn:hover,
.cartx-danger-btn:hover {
    transform: translateY(-1px);
}

.cartx-main-btn-full {
    width: 100%;
}

.cartx-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr);
    gap: 24px;
    align-items: start;
}

.cartx-left,
.cartx-right {
    min-width: 0;
}

.cartx-panel,
.cartx-summary,
.cartx-empty {
    background: linear-gradient(180deg, rgba(20, 25, 42, .96), rgba(10, 14, 28, .98));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 0 24px 44px rgba(0,0,0,.24);
}

.cartx-panel {
    padding: 20px;
}

.cartx-panel-head {
    margin-bottom: 18px;
}

.cartx-panel-head h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
}

.cartx-panel-head p {
    margin: 6px 0 0;
    color: #9fb0cc;
    font-size: 14px;
}

.cartx-items {
    display: grid;
    gap: 16px;
}

.cartx-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.07);
}

.cartx-thumb {
    width: 150px;
    height: 165px;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: #12182a;
    border: 1px solid rgba(255,255,255,.08);
}

.cartx-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cartx-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #312e81, #0891b2, #14b8a6);
}

.cartx-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.cartx-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.cartx-info {
    flex: 1;
    min-width: 0;
}

.cartx-badge-soft {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #90f6e5;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.cartx-info h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.08;
}

.cartx-info h3 a {
    color: #fff;
    text-decoration: none;
}

.cartx-info h3 a:hover {
    color: #c7f8ff;
}

.cartx-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #a8b5cc;
    font-size: 15px;
}

.cartx-meta strong {
    color: #fff;
}

.cartx-subtotal-box {
    min-width: 170px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    text-align: right;
}

.cartx-subtotal-box span {
    display: block;
    color: #a8b5cc;
    font-size: 13px;
    margin-bottom: 8px;
}

.cartx-subtotal-box strong {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.cartx-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.cartx-qty-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cartx-qty-form label {
    color: #a8b5cc;
    font-size: 13px;
    font-weight: 800;
}

.cartx-qty-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cartx-qty-row input {
    width: 96px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0b1020;
    color: #fff;
    padding: 0 12px;
    outline: none;
    font-size: 16px;
    font-weight: 900;
}

.cartx-remove-form {
    display: flex;
    align-items: flex-end;
}

.cartx-summary {
    padding: 24px;
    position: sticky;
    top: 92px;
}

.cartx-summary h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 32px;
}

.cartx-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #b8c5dc;
    font-size: 15px;
}

.cartx-line strong {
    color: #fff;
    font-size: 18px;
}

.cartx-divider {
    height: 1px;
    background: rgba(255,255,255,.10);
    margin: 14px 0 16px;
}

.cartx-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.cartx-total span {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.cartx-total strong {
    color: #fff;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.cartx-buy-form {
    margin-bottom: 14px;
}

.cartx-ok-box,
.cartx-warn-box {
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.cartx-ok-box {
    background: rgba(24, 240, 196, .10);
    border: 1px solid rgba(24, 240, 196, .20);
    color: #92ffe8;
}

.cartx-warn-box {
    background: rgba(255,77,109,.12);
    border: 1px solid rgba(255,77,109,.24);
    color: #ffb5c2;
    margin-bottom: 12px;
}

.cartx-empty {
    padding: 46px 24px;
    text-align: center;
}

.cartx-empty-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.cartx-empty h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 34px;
}

.cartx-empty p {
    margin: 0 0 18px;
    color: #a8b5cc;
}

/* ======================================================
   EMPTY STATE
====================================================== */

.empty-state {
    padding: 34px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.09);
    text-align: center;
    box-shadow: var(--shadow);
}

.empty-state h3 {
    margin: 0 0 8px;
}

.empty-state p {
    color: var(--muted);
}

/* ======================================================
   DASHBOARDS
====================================================== */

.dashboard-grid,
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.dash-card {
    min-height: 130px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--card), var(--bg-soft));
    border: 1px solid var(--border);
    display: flex;
    align-items: end;
    font-weight: 900;
}

.dash-card:hover {
    border-color: rgba(0, 224, 184, .45);
    transform: translateY(-2px);
    transition: .18s ease;
}

.mt {
    margin-top: 18px;
}

/* ======================================================
   AUTH
====================================================== */

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at top, #1d1640, #080b14 48%);
}

.auth-wrap,
.auth-shell {
    width: min(520px, 92vw);
}

.auth-shell {
    margin: 40px auto;
}

.auth-card.wide {
    width: min(760px, 94vw);
}

.auth-brand {
    display: inline-block;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 18px;
    color: var(--brand2);
}

.auth-card input,
.auth-card label {
    display: block;
    width: 100%;
}

.auth-card label {
    color: var(--muted);
    font-weight: 900;
    margin-top: 10px;
}

.auth-card input {
    margin: 8px 0 15px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: #0b1020;
    color: white;
    outline: none;
}

.auth-card input:focus {
    border-color: var(--brand2);
}

.form-grid,
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-link {
    color: var(--muted);
    text-align: center;
}

.auth-link a {
    color: var(--brand2);
    font-weight: 900;
}

/* ======================================================
   TABLES
====================================================== */

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,.04);
    border-radius: 18px;
    overflow: hidden;
    margin-top: 18px;
}

td,
th {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    text-align: left;
}

th {
    color: #fff;
}

td {
    color: #dbeafe;
}

/* ======================================================
   FOOTER / ERRORS
====================================================== */

.footer {
    margin-top: 80px;
    padding: 34px 6%;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

.error-page {
    text-align: center;
}

.error-page h1 {
    font-size: 80px;
    margin-bottom: 0;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1100px) {
    .cartx-grid {
        grid-template-columns: 1fr;
    }

    .cartx-summary {
        position: static;
    }
}

@media (max-width: 1000px) {
    .navbar,
    .topbar {
        height: auto;
        min-height: 76px;
        padding: 18px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .nav-links,
    nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        flex-wrap: wrap;
    }

    .nav-actions {
        margin-left: auto;
    }
}

@media (max-width: 760px) {
    .products-hero {
        padding: 36px 28px;
    }

    .products-hero h1 {
        font-size: 36px;
    }

    .hero {
        padding: 60px 6%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        padding: 34px 16px;
    }

    .product-detail-cover,
    .big-cover {
        height: 300px;
    }

    .product-stats {
        grid-template-columns: 1fr;
    }

    .detail-cart-form {
        width: 100%;
    }

    .detail-cart-form .btn-primary {
        width: 100%;
    }

    .hero-search,
    .search {
        display: block;
    }

    .hero-search input,
    .hero-search button,
    .search input,
    .search button {
        width: 100%;
        padding: 16px;
    }

    .form-grid,
    .two {
        grid-template-columns: 1fr;
    }

    .cartx-item {
        grid-template-columns: 1fr;
    }

    .cartx-thumb {
        width: 100%;
        height: 220px;
    }

    .cartx-main,
    .cartx-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cartx-subtotal-box {
        width: 100%;
        text-align: left;
    }

    .cartx-qty-row {
        flex-direction: column;
    }

    .cartx-qty-row input,
    .cartx-secondary-btn,
    .cartx-danger-btn {
        width: 100%;
    }

    .cartx-top {
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .brand {
        font-size: 22px;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-wallet,
    .nav-cart,
    .nav-user,
    .btn-small {
        font-size: 13px;
    }

    .section {
        width: min(100% - 22px, 1180px);
        margin: 34px auto;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ENB CHECKOUT ELEGANT - ESTILO ENEBA
========================================================= */

.enb-checkout-page {
    padding: 28px 0 56px;
    background:
        linear-gradient(180deg, #4a1ca6 0%, #4a1ca6 140px, #4a1ca6 140px, #4b1fb1 100%);
    min-height: calc(100vh - 76px);
}

.enb-checkout-shell {
    width: min(1280px, calc(100% - 34px));
    margin: 0 auto;
}

.enb-checkout-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.enb-checkout-brandline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.enb-checkout-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.65);
    font-weight: 800;
    font-size: 14px;
}

.enb-checkout-step span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-weight: 900;
}

.enb-checkout-step.is-active {
    color: #38f3c1;
}

.enb-checkout-step.is-active span {
    background: #2ce7b8;
    color: #2f1672;
}

.enb-checkout-step-line {
    width: 70px;
    height: 2px;
    background: rgba(255,255,255,.18);
    border-radius: 999px;
}

.enb-checkout-back {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-weight: 800;
    transition: .2s ease;
}

.enb-checkout-back:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,.16);
}

.enb-checkout-head {
    margin-bottom: 24px;
}

.enb-checkout-head h1 {
    margin: 0 0 8px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.02;
    color: #fff;
    font-weight: 900;
}

.enb-checkout-head p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 16px;
}

.enb-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
    gap: 22px;
    align-items: start;
}

.enb-checkout-left,
.enb-checkout-right {
    min-width: 0;
}

.enb-checkout-card,
.enb-checkout-summary,
.enb-checkout-empty {
    background: #4a1ca6;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(0,0,0,.16);
}

.enb-checkout-card {
    padding: 22px;
}

.enb-checkout-card-head {
    margin-bottom: 18px;
}

.enb-checkout-card-head h2 {
    margin: 0;
    font-size: 34px;
    color: #fff;
    font-weight: 900;
}

.enb-checkout-card-head p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.75);
    font-size: 15px;
}

.enb-checkout-items {
    display: grid;
    gap: 14px;
}

.enb-checkout-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(41, 9, 111, .42);
    border: 1px solid rgba(255,255,255,.08);
}

.enb-checkout-thumb {
    width: 110px;
    height: 142px;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    background: rgba(255,255,255,.08);
}

.enb-checkout-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.enb-checkout-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #5d2bca, #327ef5, #22d3b6);
}

.enb-checkout-item-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}

.enb-checkout-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.enb-checkout-item-info {
    flex: 1;
    min-width: 0;
}

.enb-checkout-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    color: #e8ddff;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.enb-checkout-item-info h3 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.08;
}

.enb-checkout-item-info h3 a {
    color: #fff;
    text-decoration: none;
}

.enb-checkout-item-info h3 a:hover {
    color: #f0ecff;
}

.enb-checkout-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255,255,255,.78);
    font-size: 15px;
}

.enb-checkout-item-meta strong {
    color: #fff;
}

.enb-checkout-pricebox {
    min-width: 170px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    text-align: right;
}

.enb-checkout-pricebox span {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.72);
    margin-bottom: 8px;
}

.enb-checkout-pricebox strong {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.enb-checkout-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
}

.enb-checkout-qty-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.enb-checkout-qty-form label {
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 800;
}

.enb-checkout-qty-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.enb-checkout-qty-row input {
    width: 94px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(17, 7, 46, .9);
    color: #fff;
    padding: 0 12px;
    outline: none;
    font-size: 15px;
    font-weight: 900;
}

.enb-checkout-soft-btn,
.enb-checkout-danger-btn,
.enb-checkout-primary-btn {
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

.enb-checkout-soft-btn {
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.10);
    color: #fff;
}

.enb-checkout-soft-btn:hover {
    background: rgba(255,255,255,.14);
}

.enb-checkout-danger-btn {
    background: rgba(255,87,120,.14);
    border: 1px solid rgba(255,87,120,.22);
    color: #ffb3c1;
}

.enb-checkout-danger-btn:hover {
    background: rgba(255,87,120,.20);
}

.enb-checkout-summary {
    padding: 24px;
    position: sticky;
    top: 94px;
}

.enb-checkout-summary h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.enb-checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
}

.enb-checkout-summary-row strong {
    color: #fff;
    font-size: 18px;
}

.enb-checkout-divider {
    height: 1px;
    background: rgba(255,255,255,.10);
    margin: 14px 0 16px;
}

.enb-checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.enb-checkout-total span {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}

.enb-checkout-total strong {
    color: #fff;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
}

.enb-checkout-buy-form {
    margin-bottom: 14px;
}

.enb-checkout-primary-btn {
    background: #ffd23f;
    color: #261348;
    box-shadow: 0 14px 24px rgba(0,0,0,.12);
}

.enb-checkout-primary-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.enb-checkout-primary-btn-full {
    width: 100%;
}

.enb-checkout-balance-ok,
.enb-checkout-warning,
.enb-checkout-note {
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
}

.enb-checkout-balance-ok {
    background: rgba(44, 231, 184, .12);
    border: 1px solid rgba(44, 231, 184, .18);
    color: #b7fff0;
}

.enb-checkout-warning {
    background: rgba(255,98,136,.14);
    border: 1px solid rgba(255,98,136,.20);
    color: #ffd0da;
}

.enb-checkout-note {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.80);
}

.enb-checkout-empty {
    padding: 48px 24px;
    text-align: center;
}

.enb-checkout-empty-icon {
    font-size: 46px;
    margin-bottom: 10px;
}

.enb-checkout-empty h2 {
    margin: 0 0 10px;
    font-size: 34px;
    color: #fff;
}

.enb-checkout-empty p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.78);
}

@media (max-width: 1100px) {
    .enb-checkout-grid {
        grid-template-columns: 1fr;
    }

    .enb-checkout-summary {
        position: static;
    }
}

@media (max-width: 760px) {
    .enb-checkout-item {
        grid-template-columns: 1fr;
    }

    .enb-checkout-thumb {
        width: 100%;
        height: 220px;
    }

    .enb-checkout-item-top,
    .enb-checkout-item-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .enb-checkout-pricebox {
        width: 100%;
        text-align: left;
    }

    .enb-checkout-qty-row {
        flex-direction: column;
    }

    .enb-checkout-qty-row input,
    .enb-checkout-soft-btn,
    .enb-checkout-danger-btn {
        width: 100%;
    }

    .enb-checkout-topbar {
        align-items: flex-start;
    }
}

/* ==========================================================
   ENEBAY - CARRITO ESTILO CHECKOUT PREMIUM
   Archivo: /public_html/enebay/public/assets/css/marketplace.css
   ========================================================== */

.enebay-checkout-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(111, 36, 255, .45), transparent 35%),
        linear-gradient(180deg, #3b0b86 0%, #4b12b5 42%, #21064f 100%);
    color: #fff;
    padding-bottom: 60px;
}

.checkout-topbar {
    min-height: 96px;
    background: rgba(32, 6, 78, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    gap: 30px;
}

.checkout-brand-mini {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
}

.checkout-brand-mini span:not(.checkout-brand-mark) {
    color: #16e0b2;
}

.checkout-brand-mark {
    display: none !important;
}

.checkout-steps {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 520px;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-step span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #18d6bb;
    color: #261064;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.checkout-step p {
    margin: 0;
    font-size: 14px;
}

.checkout-step.muted {
    opacity: .45;
}

.checkout-step.muted span {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.checkout-line {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, .35);
    margin: 0 14px;
}

.checkout-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, .92);
    font-weight: 700;
}

.checkout-container {
    width: min(1180px, calc(100% - 32px));
    margin: 42px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.checkout-header-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkout-header-row h1 {
    margin: 10px 0 8px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -1.6px;
}

.checkout-header-row p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-weight: 500;
}

.checkout-back {
    color: #20e8bd;
    font-weight: 900;
    text-decoration: none;
}

.checkout-back:hover {
    text-decoration: underline;
}

.checkout-pill {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
}

.cart-card,
.summary-card,
.checkout-empty,
.checkout-lucky-card {
    background: rgba(43, 9, 102, .88);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.cart-card {
    padding: 26px;
}

.cart-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.cart-card-title h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.4px;
}

.cart-card-title span {
    color: rgba(255, 255, 255, .7);
    font-weight: 700;
}

.cart-product {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 16px;
    background: rgba(25, 4, 68, .48);
    border: 1px solid rgba(255, 255, 255, .055);
    margin-bottom: 12px;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.cart-product:hover {
    transform: translateY(-2px);
    background: rgba(31, 5, 85, .72);
    border-color: rgba(255, 255, 255, .12);
}

.cart-product-img {
    width: 96px;
    height: 118px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.cart-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    color: rgba(255, 255, 255, .7);
    font-weight: 800;
}

.cart-product-placeholder span {
    display: block;
    font-size: 28px;
    margin-bottom: 4px;
}

.cart-product-info {
    min-width: 0;
}

.cart-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.seller-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #ffcf26;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.cart-product h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
}

.cart-product-type {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    margin-bottom: 12px;
}

.cart-product-type span {
    width: 17px;
    height: 17px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.cart-cashback {
    margin: 0;
    color: #5dff24;
    font-size: 13px;
    font-weight: 900;
}

.cart-product-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: end;
    gap: 12px;
    min-width: 170px;
}

.cart-qty-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn,
.qty-save,
.cart-remove-btn {
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: transform .15s ease, opacity .15s ease;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    color: #fff;
    font-size: 19px;
}

.qty-btn:hover,
.cart-remove-btn:hover,
.qty-save:hover {
    transform: translateY(-1px);
}

.qty-input {
    width: 42px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-align: center;
    font-weight: 900;
    outline: none;
}

.qty-save {
    height: 30px;
    padding: 0 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
}

.cart-product-price {
    font-size: 16px;
    color: #fff;
}

.cart-remove-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .78);
}

.checkout-lucky-card {
    margin-top: 18px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background:
        linear-gradient(135deg, rgba(255, 207, 38, .16), rgba(119, 40, 255, .5)),
        rgba(43, 9, 102, .88);
}

.checkout-lucky-card span {
    color: #ffcf26;
    font-weight: 900;
    font-size: 13px;
}

.checkout-lucky-card h3 {
    margin: 6px 0;
    font-size: 20px;
}

.checkout-lucky-card p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.checkout-lucky-card a {
    background: #ffcf26;
    color: #1b0640;
    text-decoration: none;
    padding: 13px 16px;
    font-weight: 950;
    white-space: nowrap;
}

.checkout-summary {
    position: sticky;
    top: 20px;
}

.summary-card {
    padding: 28px;
}

.summary-card h2 {
    margin: 0 0 16px;
    font-size: 23px;
}

.summary-yellow-btn,
.checkout-primary-btn {
    width: 100%;
    border: 0;
    background: #ffcf26;
    color: #140333;
    font-weight: 950;
    padding: 15px 18px;
    cursor: pointer;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.summary-yellow-btn:hover,
.checkout-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(255, 207, 38, .22);
    background: #ffd94b;
}

.summary-lines {
    margin: 18px 0;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.summary-lines div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 9px 0;
}

.summary-lines span {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}

.summary-lines strong {
    font-size: 15px;
}

.summary-total {
    padding: 2px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 18px;
}

.summary-total span {
    display: block;
    color: #fff;
    font-weight: 900;
    margin-bottom: 4px;
}

.summary-total strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -1px;
    text-align: right;
}

.summary-total small {
    display: block;
    color: #5dff24;
    font-weight: 900;
    text-align: right;
    margin-top: 5px;
}

.summary-check {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 18px;
}

.summary-check input {
    width: 20px;
    height: 20px;
    accent-color: #ffcf26;
}

.discount-box {
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 15px 0;
    margin-bottom: 18px;
}

.discount-box summary {
    cursor: pointer;
    font-weight: 900;
    color: #fff;
}

.discount-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 14px;
}

.discount-form input {
    min-width: 0;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    padding: 0 12px;
    outline: none;
}

.discount-form button {
    border: 0;
    background: #ffcf26;
    color: #17043a;
    padding: 0 14px;
    font-weight: 950;
    cursor: pointer;
}

.wallet-status {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    padding: 13px 14px;
    margin-bottom: 16px;
}

.wallet-status.is-ok {
    background: rgba(93, 255, 36, .12);
    color: #70ff3a;
}

.wallet-status.is-low {
    background: rgba(255, 207, 38, .12);
    color: #ffdf5e;
}

.summary-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.summary-methods span {
    padding: 8px 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px;
    font-weight: 900;
    color: rgba(255, 255, 255, .85);
}

.summary-reviews {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    background: #00b67a;
    color: #fff;
    padding: 6px 8px;
    font-size: 12px;
    letter-spacing: 1px;
}

.summary-reviews span {
    font-size: 13px;
    font-weight: 800;
}

.checkout-empty {
    min-height: 360px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 38px;
}

.checkout-empty-icon {
    font-size: 58px;
    margin-bottom: 14px;
}

.checkout-empty h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.checkout-empty p {
    color: rgba(255, 255, 255, .75);
    margin: 0 0 20px;
}

/* Responsive */
@media (max-width: 980px) {
    .checkout-topbar {
        flex-wrap: wrap;
        padding: 20px;
    }

    .checkout-steps {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .checkout-container {
        width: min(100% - 18px, 1180px);
        margin-top: 22px;
    }

    .checkout-topbar {
        align-items: flex-start;
    }

    .checkout-meta {
        display: none;
    }

    .checkout-step p {
        display: none;
    }

    .cart-card,
    .summary-card {
        padding: 18px;
    }

    .cart-product {
        grid-template-columns: 82px 1fr;
    }

    .cart-product-img {
        width: 82px;
        height: 104px;
    }

    .cart-product-actions {
        grid-column: 1 / -1;
        justify-items: stretch;
        min-width: 0;
        grid-template-columns: 1fr auto auto;
        align-items: center;
    }

    .cart-qty-form {
        flex-wrap: wrap;
    }

    .checkout-lucky-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-lucky-card a {
        width: 100%;
        text-align: center;
    }

    .summary-total strong,
    .summary-total small {
        text-align: left;
    }
}

/* =========================================================
   ENEBAY - SELLER REPUTATION PRO
========================================================= */

.seller-reputation-card {
    position: relative;
    padding: 14px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.035)),
        rgba(10, 18, 35, .86);
    border: 1px solid rgba(255,255,255,.09);
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.seller-reputation-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    pointer-events: none;
    background: radial-gradient(circle at top right, #23e2ce, transparent 34%);
}

.seller-reputation-card.top::before {
    background: radial-gradient(circle at top right, #ffd54a, transparent 36%);
    opacity: .24;
}

.seller-reputation-card.trusted::before {
    background: radial-gradient(circle at top right, #23e2ce, transparent 36%);
    opacity: .22;
}

.seller-reputation-card.good::before {
    background: radial-gradient(circle at top right, #7cff7c, transparent 36%);
    opacity: .16;
}

.seller-reputation-card.growing::before {
    background: radial-gradient(circle at top right, #7c6cff, transparent 36%);
    opacity: .18;
}

.seller-reputation-card.risk::before {
    background: radial-gradient(circle at top right, #ff5f8f, transparent 36%);
    opacity: .20;
}

.seller-reputation-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.seller-reputation-label {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 3px;
}

.seller-reputation-name {
    color: #23e2ce;
    text-decoration: none;
    font-weight: 950;
    font-size: 15px;
}

.seller-reputation-name:hover {
    text-decoration: underline;
}

.seller-reputation-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(35,226,206,.13);
    color: #23e2ce;
    border: 1px solid rgba(35,226,206,.24);
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

.seller-reputation-card.top .seller-reputation-badge {
    background: rgba(255,213,74,.16);
    color: #ffd54a;
    border-color: rgba(255,213,74,.32);
}

.seller-reputation-card.risk .seller-reputation-badge {
    background: rgba(255,95,143,.15);
    color: #ff9ab8;
    border-color: rgba(255,95,143,.32);
}

.seller-reputation-stars-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.seller-reputation-stars-row strong {
    color: #ffffff;
    font-weight: 950;
}

.seller-reputation-stars-row span {
    color: rgba(255,255,255,.70);
    font-size: 12px;
    font-weight: 850;
}

.seller-star-meter {
    position: relative;
    display: inline-block;
    line-height: 1;
    font-size: 18px;
    letter-spacing: 1px;
}

.seller-star-base {
    color: rgba(255,255,255,.18);
}

.seller-star-fill {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffd54a;
    text-shadow: 0 0 16px rgba(255,213,74,.22);
    animation: sellerStarGlow 1.8s ease-in-out infinite alternate;
}

@keyframes sellerStarGlow {
    from {
        filter: drop-shadow(0 0 0 rgba(255,213,74,.0));
    }
    to {
        filter: drop-shadow(0 0 7px rgba(255,213,74,.35));
    }
}

.seller-reputation-progress {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
    margin-bottom: 9px;
}

.seller-reputation-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7367ff, #23e2ce);
    box-shadow: 0 0 16px rgba(35,226,206,.28);
    animation: sellerProgressIn .55s ease-out both;
}

.seller-reputation-card.top .seller-reputation-progress span {
    background: linear-gradient(90deg, #ffb800, #ffd54a);
}

.seller-reputation-card.risk .seller-reputation-progress span {
    background: linear-gradient(90deg, #ff4f88, #ff9ab8);
}

@keyframes sellerProgressIn {
    from {
        width: 0;
    }
}

.seller-reputation-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.seller-reputation-meta span {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 850;
}

/* Fix estrellas reputaci¨®n: m¨¢ximo 5 visibles */
.seller-stars-clean {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
    font-size: 17px;
    letter-spacing: 0;
    white-space: nowrap;
}

.seller-stars-clean span {
    display: inline-block;
}

.seller-stars-clean .filled {
    color: #ffd54a;
    text-shadow: 0 0 10px rgba(255, 213, 74, .25);
}

.seller-stars-clean .empty {
    color: rgba(255, 255, 255, .22);
}

/* Oculta el sistema viejo si qued¨® cargado en alguna vista */
.seller-star-meter,
.star-meter {
    display: none !important;
}