
/* ==========================================
   NEXA DIGITAL - DISEÑO PROFESIONAL
========================================== */

:root {
    --background: #090811;
    --surface: #141222;
    --surface-light: #1d1930;
    --purple: #9b5cff;
    --purple-light: #bd91ff;
    --text: #f5f2ff;
    --muted: #aaa4bd;
    --border: rgba(255, 255, 255, 0.09);
    --danger: #ff526f;
    --success: #4ade80;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% -15%, rgba(115, 55, 190, 0.13), transparent 55%),
        var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

/* ==========================================
   HEADER
========================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 7%;
    background: rgba(9, 8, 17, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.logo {
    color: var(--text);
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 1.5px;
    transition: 0.2s;
}

.logo:hover {
    color: var(--purple-light);
}

.logo span {
    color: var(--purple-light);
}

.header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header nav a {
    position: relative;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.header nav a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--purple);
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s;
}

.header nav a:hover {
    color: var(--purple-light);
}

.header nav a:hover::after {
    transform: scaleX(1);
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    border: 1px solid rgba(155, 92, 255, 0.4);
    border-radius: 10px;
    background: rgba(155, 92, 255, 0.12);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s;
}

.cart-button:hover {
    background: rgba(155, 92, 255, 0.25);
    border-color: var(--purple);
    transform: translateY(-2px);
}

#cartCount {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 5px;
    border-radius: 50px;
    background: var(--purple);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

/* ==========================================
   HERO
========================================== */

.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 95px 20px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(115, 55, 190, 0.23), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(85, 45, 145, 0.09), transparent 45%),
        transparent;
}

.hero::before {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(155, 92, 255, 0.08);
    border-radius: 50%;
    content: "";
    transform: translateX(-50%);
    pointer-events: none;
}

.eyebrow {
    position: relative;
    margin-bottom: 16px;
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    position: relative;
    margin-bottom: 20px;
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2.5px;
}

.hero h1 span {
    color: var(--purple-light);
    text-shadow: 0 0 35px rgba(155, 92, 255, 0.3);
}

.hero > p:not(.eyebrow) {
    max-width: 590px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: linear-gradient(135deg, #a568ff, #7138c4);
    color: white;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 28px rgba(155, 92, 255, 0.24);
    transition: 0.25s;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 35px rgba(155, 92, 255, 0.35);
    filter: brightness(1.1);
}

/* ==========================================
   CATALOGO
========================================== */

.catalog {
    padding: 85px 7%;
}

.section-heading {
    margin-bottom: 38px;
    text-align: center;
}

.section-heading h2,
.services h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-heading p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 15px;
}

.catalog-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

#searchInput {
    width: min(100%, 500px);
    padding: 15px 19px;
    outline: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(20, 18, 34, 0.9);
    color: var(--text);
    font-size: 15px;
    transition: border 0.2s, box-shadow 0.2s;
}

#searchInput::placeholder {
    color: #777187;
}

#searchInput:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(155, 92, 255, 0.12);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter {
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.filter:hover,
.filter.active {
    border-color: var(--purple);
    background: rgba(155, 92, 255, 0.17);
    color: var(--purple-light);
    box-shadow: 0 4px 15px rgba(155, 92, 255, 0.08);
}

/* ==========================================
   TARJETAS DE PRODUCTOS
========================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: linear-gradient(145deg, #1d1930, #12101e);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(155, 92, 255, 0.55);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.product-icon {
    display: grid;
    width: 53px;
    height: 53px;
    place-items: center;
    border: 1px solid rgba(155, 92, 255, 0.2);
    border-radius: 13px;
    background: rgba(155, 92, 255, 0.12);
    font-size: 26px;
}

.product-badge {
    padding: 5px 11px;
    border: 1px solid rgba(155, 92, 255, 0.25);
    border-radius: 30px;
    background: rgba(155, 92, 255, 0.1);
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================
   IMAGENES DEL CATALOGO
========================================== */

.nexa-product-image {
    width: 100% !important;
    height: 205px !important;
    min-height: 205px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 19px !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 13px !important;
    background:
        radial-gradient(circle at 50% 40%, rgba(155, 92, 255, 0.12), transparent 70%),
        #100e1b !important;
    transition: border-color 0.25s;
}

.product-card:hover .nexa-product-image {
    border-color: rgba(155, 92, 255, 0.3);
}

.nexa-product-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    padding: 12px;
    object-fit: contain !important;
    transition: transform 0.35s;
}

.product-card:hover .nexa-product-image img {
    transform: scale(1.06);
}

.nexa-image-fallback {
    font-size: 55px;
}

/* ==========================================
   INFORMACION DEL PRODUCTO
========================================== */

.product-category {
    margin-bottom: 6px;
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-card h3 {
    margin-bottom: 9px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.product-card > p:not(.product-category) {
    flex: 1;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.product-price {
    color: var(--purple-light);
    font-size: 22px;
    font-weight: 900;
}

.add-button {
    padding: 10px 15px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #9b5cff, #7138c4);
    color: white;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s;
}

.add-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.13);
    box-shadow: 0 6px 17px rgba(155, 92, 255, 0.22);
}

.details-button {
    display: block;
    margin-top: 13px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: 0.2s;
}

.details-button:hover {
    border-color: var(--purple);
    background: rgba(155, 92, 255, 0.08);
    color: var(--purple-light);
}

.empty-message {
    grid-column: 1 / -1;
    padding: 35px;
    border: 1px dashed var(--border);
    border-radius: 13px;
    color: var(--muted);
    font-size: 16px;
    text-align: center;
}

/* ==========================================
   SERVICIOS
========================================== */

.services {
    margin: 20px 7% 85px;
    padding: 75px 25px;
    border: 1px solid rgba(155, 92, 255, 0.16);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(155, 92, 255, 0.19), transparent 65%),
        linear-gradient(145deg, #171426, #100e1b);
    box-shadow: var(--shadow);
    text-align: center;
}

.services h2 {
    margin-bottom: 13px;
}

.services > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ==========================================
   FOOTER
========================================== */

footer {
    padding: 30px 15px;
    border-top: 1px solid var(--border);
    background: rgba(9, 8, 17, 0.7);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* ==========================================
   PANEL DEL CARRITO
========================================== */

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    width: min(430px, 100%);
    height: 100dvh;
    overflow-y: auto;
    padding: 25px;
    border-left: 1px solid var(--border);
    background: #100e1b;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.4);
}

.cart-panel[hidden] {
    display: none;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 23px;
}

#closeCart {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(255, 82, 111, 0.25);
    border-radius: 9px;
    background: rgba(255, 82, 111, 0.08);
    color: #ff7189;
    font-size: 15px;
    transition: 0.2s;
}

#closeCart:hover {
    background: var(--danger);
    color: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 16px;
}

.cart-total strong {
    color: var(--purple-light);
    font-size: 21px;
}

.cart-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================
   CARRITO - ESTADO VACIO
========================================== */

.cart-empty {
    padding: 35px 15px;
    text-align: center;
}

.cart-empty > span {
    display: block;
    margin-bottom: 12px;
    font-size: 42px;
}

.cart-empty h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 18px;
}

.cart-empty p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================
   CARRITO - PRODUCTOS
========================================== */

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-icon {
    display: grid;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(155, 92, 255, 0.2);
    border-radius: 12px;
    background: #211a35;
    font-size: 23px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h3 {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 15px;
}

.cart-item-info p {
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 13px;
}

.cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    gap: 10px;
}

.cart-item-side strong {
    color: var(--purple-light);
    font-size: 15px;
    white-space: nowrap;
}

/* ==========================================
   CONTROLES DE CANTIDAD
========================================== */

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0e0b18;
}

.quantity-button {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: #29203d;
    color: white;
    font-size: 18px;
    transition: background 0.2s;
}

.quantity-button:hover {
    background: #7040b8;
}

.quantity-value {
    min-width: 16px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* ==========================================
   BOTON QUITAR
========================================== */

.remove-button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 82, 111, 0.25);
    border-radius: 8px;
    background: rgba(255, 82, 111, 0.08);
    color: #ff7189;
    font-size: 14px;
    transition: 0.2s;
}

.remove-button:hover {
    background: var(--danger);
    color: white;
}

/* ==========================================
   ACCIONES DEL CARRITO
========================================== */

.cart-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.empty-cart-button,
.continue-button {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s;
}

.empty-cart-button {
    border: 1px solid rgba(255, 82, 111, 0.3);
    background: rgba(255, 82, 111, 0.08);
    color: #ff7189;
}

.empty-cart-button:hover:not(:disabled) {
    background: rgba(255, 82, 111, 0.18);
}

.continue-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: linear-gradient(135deg, #8b45e8, #6332b5);
    color: white;
    box-shadow: 0 5px 18px rgba(139, 69, 232, 0.2);
}

.continue-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(139, 69, 232, 0.3);
}

.continue-button span {
    font-size: 19px;
}

.empty-cart-button:disabled,
.continue-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================
   PAGINA DE DETALLES DEL PRODUCTO
========================================== */

.detail-page {
    width: min(1100px, 86%);
    min-height: 65vh;
    margin: 0 auto;
    padding: 45px 0 75px;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 15px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--purple-light);
}

.detail-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: center;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, #191629, #12101e);
    box-shadow: var(--shadow);
}

.detail-visual {
    display: grid;
    min-height: 330px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(155, 92, 255, 0.2);
    border-radius: 15px;
    background:
        radial-gradient(circle, rgba(155, 92, 255, 0.2), transparent 65%),
        #100d1c;
}

.detail-icon {
    font-size: 100px;
}

/* ==========================================
   IMAGEN DE DETALLES
========================================== */

.nexa-detail-image {
    display: flex !important;
    width: 100% !important;
    min-height: 330px !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
    padding: 20px !important;
    box-sizing: border-box;
}

.nexa-detail-image img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    max-height: 400px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    transition: transform 0.3s;
}

.nexa-detail-image img:hover {
    transform: scale(1.035);
}

.nexa-detail-fallback {
    font-size: 75px;
}

.detail-badge {
    display: inline-block;
    margin-bottom: 13px;
    padding: 5px 11px;
    border: 1px solid rgba(155, 92, 255, 0.25);
    border-radius: 30px;
    background: rgba(155, 92, 255, 0.1);
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 700;
}

.detail-info h1 {
    margin-bottom: 15px;
    font-size: clamp(29px, 4vw, 40px);
    line-height: 1.2;
}

.detail-description {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.detail-extra {
    margin-bottom: 23px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.detail-extra h3 {
    margin-bottom: 7px;
    font-size: 16px;
}

.detail-extra p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.detail-price {
    margin-bottom: 17px;
    color: var(--purple-light);
    font-size: 30px;
    font-weight: 800;
}

.detail-divider {
    height: 1px;
    margin: 20px 0;
    border: 0;
    background: var(--border);
}

.detail-add-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(135deg, #9b5cff, #7138c4);
    color: white;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s;
}

.detail-add-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.detail-note {
    margin-top: 13px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.detail-error {
    grid-column: 1 / -1;
    padding: 40px;
    color: var(--muted);
    font-size: 16px;
    text-align: center;
}

/* ==========================================
   DISEÑO DE PEDIDOS - ADMINISTRACION
========================================== */

.admin-order {
    background: linear-gradient(145deg, #1d1930, #141222);
    border: 1px solid rgba(155, 92, 255, 0.22);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.admin-order:hover {
    border-color: rgba(155, 92, 255, 0.65);
    transform: translateY(-2px);
}

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.admin-order-header h3 {
    color: #bd91ff;
    font-size: 19px;
    margin: 0 0 6px;
}

.admin-order-header p {
    color: #aaa4bd;
    font-size: 13px;
    margin: 0;
}

.admin-order-total {
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
}

.admin-order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    padding: 18px 0;
}

.admin-order-details p {
    color: #c9c3d8;
    font-size: 14px;
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-order-details strong {
    color: #bd91ff;
}

.admin-order-items {
    background: rgba(9, 8, 17, 0.55);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 18px;
}

.admin-order-items > strong {
    display: block;
    color: #bd91ff;
    margin-bottom: 10px;
}

.admin-order-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-order-items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #e8e3f2;
    font-size: 14px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-order-items li:last-child {
    border-bottom: none;
}

.admin-order-items li span {
    color: #bd91ff;
    font-weight: 700;
    white-space: nowrap;
}

.admin-order-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.admin-order-footer label {
    color: #c9c3d8;
    font-size: 14px;
    font-weight: 600;
}

.admin-order-status {
    display: inline-block;
    margin-left: 8px;
    padding: 11px 16px !important;
    border-radius: 10px;
    border: 2px solid !important;
    background-color: #090811 !important;
    color: #bd91ff;
    font-size: 13px;
    font-weight: 800 !important;
    cursor: pointer;
    outline: none;
}

.admin-order-status:focus {
    border-color: #bd91ff !important;
    box-shadow: 0 0 0 3px rgba(155, 92, 255, 0.15);
}

.admin-order-status[data-status="pendiente"] {
    color: #fbbf24 !important;
    border-color: #fbbf24 !important;
}

.admin-order-status[data-status="confirmado"] {
    color: #60a5fa !important;
    border-color: #60a5fa !important;
}

.admin-order-status[data-status="completado"] {
    color: #4ade80 !important;
    border-color: #4ade80 !important;
}

.admin-order-status[data-status="cancelado"] {
    color: #fb7185 !important;
    border-color: #fb7185 !important;
}

.admin-order-status option {
    background-color: #141222;
    color: #ffffff;
}

.admin-empty {
    text-align: center;
    color: #aaa4bd;
    background: #141222;
    border: 1px dashed rgba(155, 92, 255, 0.35);
    border-radius: 14px;
    padding: 30px 15px;
}

/* ==========================================
   RESPONSIVE - TABLETS
========================================== */

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-container {
        gap: 25px;
        padding: 25px;
    }

    .detail-visual {
        min-height: 270px;
    }

    .nexa-detail-image {
        min-height: 270px !important;
    }
}

/* ==========================================
   RESPONSIVE - MOVILES
========================================== */

@media (max-width: 750px) {
    .header {
        flex-wrap: wrap;
        padding: 15px 5%;
    }

    .header nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 22px;
    }

    .header nav a {
        font-size: 14px;
    }

    .hero {
        min-height: 410px;
        padding: 70px 20px;
    }

    .catalog {
        padding: 60px 5%;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .product-card {
        padding: 16px;
    }

    .nexa-product-image {
        height: 175px !important;
        min-height: 175px;
    }

    .product-card h3 {
        font-size: 18px;
    }

    .product-card > p:not(.product-category) {
        font-size: 14px;
    }

    .product-price {
        font-size: 18px;
    }

    .add-button,
    .details-button {
        font-size: 13px;
    }

    .services {
        margin-right: 5%;
        margin-left: 5%;
    }

    .detail-page {
        width: 90%;
    }

    .detail-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .detail-visual {
        min-height: 250px;
    }

    .nexa-detail-image {
        min-height: 250px !important;
    }

    .detail-icon {
        font-size: 80px;
    }
}

/* ==========================================
   RESPONSIVE - TELEFONOS PEQUENOS
========================================== */

@media (max-width: 480px) {
    .header nav {
        gap: 15px;
    }

    .header nav a {
        font-size: 13px;
    }

    .logo {
        font-size: 19px;
    }

    .cart-button {
        padding: 8px 11px;
        font-size: 12px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 20px;
    }

    .nexa-product-image {
        height: 210px !important;
        min-height: 210px;
    }

    .product-card h3 {
        font-size: 19px;
    }

    .product-card > p:not(.product-category) {
        font-size: 14px;
    }

    .cart-panel {
        padding: 20px;
    }

    .cart-item {
        gap: 8px;
    }

    .cart-item-icon {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .cart-item-info h3 {
        font-size: 14px;
    }

    .cart-item-info p {
        font-size: 12px;
    }

    .cart-item-side strong {
        font-size: 13px;
    }

    .detail-container {
        padding: 18px;
    }

    .detail-description {
        font-size: 15px;
    }

    .admin-order {
        padding: 16px;
    }

    .admin-order-header {
        align-items: flex-start;
    }

    .admin-order-total {
        font-size: 20px;
    }

    .admin-order-footer {
        justify-content: flex-start;
    }

    .admin-order-status {
        margin: 8px 0 0;
        width: 100%;
    }
}

/* ==========================================
   ACCESIBILIDAD Y DETALLES
========================================== */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--purple-light);
    outline-offset: 3px;
}

::selection {
    background: rgba(155, 92, 255, 0.4);
    color: white;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* ==========================================
   HEADER
========================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 7%;
    background: rgba(9, 8, 17, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.logo {
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--purple-light);
}

.header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header nav a {
    color: var(--muted);
    font-size: 15px;
    transition: color 0.2s;
}

.header nav a:hover {
    color: var(--purple-light);
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border: 1px solid rgba(155, 92, 255, 0.4);
    border-radius: 9px;
    background: rgba(155, 92, 255, 0.12);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.cart-button:hover {
    background: rgba(155, 92, 255, 0.23);
}

#cartCount {
    display: grid;
    min-width: 21px;
    height: 21px;
    place-items: center;
    padding: 0 5px;
    border-radius: 50px;
    background: var(--purple);
    color: white;
    font-size: 12px;
}

/* ==========================================
   HERO
========================================== */

.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 470px;
    padding: 90px 20px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(115, 55, 190, 0.2), transparent 55%),
        var(--background);
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.hero h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--purple-light);
}

.hero > p:not(.eyebrow) {
    max-width: 570px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 17px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #a568ff, #7138c4);
    color: white;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(155, 92, 255, 0.2);
    transition: 0.2s;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(155, 92, 255, 0.3);
}

/* ==========================================
   CATALOGO
========================================== */

.catalog {
    padding: 75px 7%;
}

.section-heading {
    margin-bottom: 32px;
    text-align: center;
}

.section-heading h2,
.services h2 {
    font-size: clamp(28px, 4vw, 38px);
    letter-spacing: -0.8px;
}

.catalog-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 35px;
}

#searchInput {
    width: min(100%, 480px);
    padding: 14px 17px;
    outline: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    transition: border 0.2s;
}

#searchInput::placeholder {
    color: #777187;
}

#searchInput:focus {
    border-color: var(--purple);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.filter {
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    transition: 0.2s;
}

.filter:hover,
.filter.active {
    border-color: var(--purple);
    background: rgba(155, 92, 255, 0.15);
    color: var(--purple-light);
}

/* ==========================================
   TARJETAS DE PRODUCTOS
========================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--surface-light), var(--surface));
    transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 92, 255, 0.45);
}

.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.product-icon {
    display: grid;
    width: 53px;
    height: 53px;
    place-items: center;
    border: 1px solid rgba(155, 92, 255, 0.2);
    border-radius: 13px;
    background: rgba(155, 92, 255, 0.12);
    font-size: 26px;
}

.product-badge {
    padding: 5px 10px;
    border: 1px solid rgba(155, 92, 255, 0.25);
    border-radius: 30px;
    background: rgba(155, 92, 255, 0.1);
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
}

.product-category {
    margin-bottom: 6px;
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-card h3 {
    margin-bottom: 9px;
    font-size: 19px;
}

.product-card > p:not(.product-category) {
    flex: 1;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.product-price {
    color: var(--purple-light);
    font-size: 21px;
    font-weight: 800;
}

.add-button {
    padding: 9px 13px;
    border: 0;
    border-radius: 8px;
    background: var(--purple);
    color: white;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.add-button:hover {
    background: #8042db;
}

.details-button {
    display: block;
    margin-top: 13px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    transition: 0.2s;
}

.details-button:hover {
    border-color: var(--purple);
    color: var(--purple-light);
}

.empty-message {
    grid-column: 1 / -1;
    padding: 30px;
    color: var(--muted);
    font-size: 16px;
    text-align: center;
}

/* ==========================================
   SERVICIOS
========================================== */

.services {
    margin: 20px 7% 75px;
    padding: 65px 25px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(155, 92, 255, 0.15), transparent 65%),
        var(--surface);
    text-align: center;
}

.services h2 {
    margin-bottom: 12px;
}

.services > p:last-child {
    color: var(--muted);
    font-size: 15px;
}

/* ==========================================
   FOOTER
========================================== */

footer {
    padding: 25px 15px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* ==========================================
   PANEL DEL CARRITO
========================================== */

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    width: min(430px, 100%);
    height: 100dvh;
    overflow-y: auto;
    padding: 25px;
    border-left: 1px solid var(--border);
    background: #100e1b;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.4);
}

.cart-panel[hidden] {
    display: none;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 23px;
}

#closeCart {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(255, 82, 111, 0.25);
    border-radius: 9px;
    background: rgba(255, 82, 111, 0.08);
    color: #ff7189;
    font-size: 15px;
    transition: 0.2s;
}

#closeCart:hover {
    background: var(--danger);
    color: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 16px;
}

.cart-total strong {
    color: var(--purple-light);
    font-size: 21px;
}

.cart-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================
   CARRITO - ESTADO VACIO
========================================== */

.cart-empty {
    padding: 35px 15px;
    text-align: center;
}

.cart-empty > span {
    display: block;
    margin-bottom: 12px;
    font-size: 42px;
}

.cart-empty h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 18px;
}

.cart-empty p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================
   CARRITO - PRODUCTOS
========================================== */

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-icon {
    display: grid;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(155, 92, 255, 0.2);
    border-radius: 12px;
    background: #211a35;
    font-size: 23px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h3 {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 15px;
}

.cart-item-info p {
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 13px;
}

.cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    gap: 10px;
}

.cart-item-side strong {
    color: var(--purple-light);
    font-size: 15px;
    white-space: nowrap;
}

/* ==========================================
   CONTROLES DE CANTIDAD
========================================== */

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0e0b18;
}

.quantity-button {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: #29203d;
    color: white;
    font-size: 18px;
    transition: background 0.2s;
}

.quantity-button:hover {
    background: #7040b8;
}

.quantity-value {
    min-width: 16px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* ==========================================
   BOTON QUITAR
========================================== */

.remove-button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 82, 111, 0.25);
    border-radius: 8px;
    background: rgba(255, 82, 111, 0.08);
    color: #ff7189;
    font-size: 14px;
    transition: 0.2s;
}

.remove-button:hover {
    background: var(--danger);
    color: white;
}

/* ==========================================
   ACCIONES DEL CARRITO
========================================== */

.cart-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.empty-cart-button,
.continue-button {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s;
}

.empty-cart-button {
    border: 1px solid rgba(255, 82, 111, 0.3);
    background: rgba(255, 82, 111, 0.08);
    color: #ff7189;
}

.empty-cart-button:hover:not(:disabled) {
    background: rgba(255, 82, 111, 0.18);
}

.continue-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: linear-gradient(135deg, #8b45e8, #6332b5);
    color: white;
    box-shadow: 0 5px 18px rgba(139, 69, 232, 0.2);
}

.continue-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(139, 69, 232, 0.3);
}

.continue-button span {
    font-size: 19px;
}

.empty-cart-button:disabled,
.continue-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================
   PAGINA DE DETALLES DEL PRODUCTO
========================================== */

.detail-page {
    width: min(1100px, 86%);
    min-height: 65vh;
    margin: 0 auto;
    padding: 45px 0 75px;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 15px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--purple-light);
}

.detail-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: center;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}

.detail-visual {
    display: grid;
    min-height: 330px;
    place-items: center;
    border: 1px solid rgba(155, 92, 255, 0.2);
    border-radius: 15px;
    background:
        radial-gradient(circle, rgba(155, 92, 255, 0.2), transparent 65%),
        #100d1c;
}

.detail-icon {
    font-size: 100px;
}

.detail-badge {
    display: inline-block;
    margin-bottom: 13px;
    padding: 5px 11px;
    border: 1px solid rgba(155, 92, 255, 0.25);
    border-radius: 30px;
    background: rgba(155, 92, 255, 0.1);
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 700;
}

.detail-info h1 {
    margin-bottom: 15px;
    font-size: clamp(29px, 4vw, 40px);
    line-height: 1.2;
}

.detail-description {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.detail-extra {
    margin-bottom: 23px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.detail-extra h3 {
    margin-bottom: 7px;
    font-size: 16px;
}

.detail-extra p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.detail-price {
    margin-bottom: 17px;
    color: var(--purple-light);
    font-size: 30px;
    font-weight: 800;
}

.detail-divider {
    height: 1px;
    margin: 20px 0;
    border: 0;
    background: var(--border);
}

.detail-add-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(135deg, #9b5cff, #7138c4);
    color: white;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s;
}

.detail-add-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.detail-note {
    margin-top: 13px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.detail-error {
    grid-column: 1 / -1;
    padding: 40px;
    color: var(--muted);
    font-size: 16px;
    text-align: center;
}

/* ==========================================
   RESPONSIVE - TABLETS
========================================== */

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-container {
        gap: 25px;
        padding: 25px;
    }

    .detail-visual {
        min-height: 270px;
    }
}

/* ==========================================
   RESPONSIVE - MOVILES
========================================== */

@media (max-width: 750px) {
    .header {
        flex-wrap: wrap;
        padding: 15px 5%;
    }

    .header nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 22px;
    }

    .header nav a {
        font-size: 14px;
    }

    .hero {
        min-height: 400px;
        padding: 70px 20px;
    }

    .catalog {
        padding: 55px 5%;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .product-card {
        padding: 16px;
    }

    .product-card h3 {
        font-size: 18px;
    }

    .product-card > p:not(.product-category) {
        font-size: 14px;
    }

    .product-price {
        font-size: 18px;
    }

    .add-button,
    .details-button {
        font-size: 13px;
    }

    .services {
        margin-right: 5%;
        margin-left: 5%;
    }

    .detail-page {
        width: 90%;
    }

    .detail-container {
        grid-template-columns: 1fr;
    }

    .detail-visual {
        min-height: 220px;
    }

    .detail-icon {
        font-size: 80px;
    }
}

/* ==========================================
   RESPONSIVE - TELEFONOS PEQUENOS
========================================== */

@media (max-width: 480px) {
    .header nav {
        gap: 15px;
    }

    .header nav a {
        font-size: 13px;
    }

    .logo {
        font-size: 19px;
    }

    .cart-button {
        padding: 8px 11px;
        font-size: 12px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 20px;
    }

    .product-card h3 {
        font-size: 19px;
    }

    .product-card > p:not(.product-category) {
        font-size: 14px;
    }

    .cart-panel {
        padding: 20px;
    }

    .cart-item {
        gap: 8px;
    }

    .cart-item-icon {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .cart-item-info h3 {
        font-size: 14px;
    }

    .cart-item-info p {
        font-size: 12px;
    }

    .cart-item-side strong {
        font-size: 13px;
    }

    .detail-container {
        padding: 18px;
    }

    .detail-description {
        font-size: 15px;
    }
}

/* ==========================================
   NEXA DIGITAL - DISEÑO DE PEDIDOS
========================================== */

.admin-order {
    background: linear-gradient(145deg, #1d1930, #141222);
    border: 1px solid rgba(155, 92, 255, 0.22);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.admin-order:hover {
    border-color: rgba(155, 92, 255, 0.65);
    transform: translateY(-2px);
}

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.admin-order-header h3 {
    color: #bd91ff;
    font-size: 19px;
    margin: 0 0 6px;
}

.admin-order-header p {
    color: #aaa4bd;
    font-size: 13px;
    margin: 0;
}

.admin-order-total {
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
}

.admin-order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    padding: 18px 0;
}

.admin-order-details p {
    color: #c9c3d8;
    font-size: 14px;
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-order-details strong {
    color: #bd91ff;
}

.admin-order-items {
    background: rgba(9, 8, 17, 0.55);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 18px;
}

.admin-order-items > strong {
    display: block;
    color: #bd91ff;
    margin-bottom: 10px;
}

.admin-order-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-order-items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #e8e3f2;
    font-size: 14px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-order-items li:last-child {
    border-bottom: none;
}

.admin-order-items li span {
    color: #bd91ff;
    font-weight: 700;
    white-space: nowrap;
}

.admin-order-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.admin-order-footer label {
    color: #c9c3d8;
    font-size: 14px;
    font-weight: 600;
}

.admin-order-status {
    display: inline-block;
    margin-left: 8px;
    padding: 10px 14px;
    border-radius: 9px;
    border: 1px solid rgba(155, 92, 255, 0.4);
    background: #090811;
    color: #bd91ff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

.admin-order-status:focus {
    border-color: #bd91ff;
    box-shadow: 0 0 0 3px rgba(155, 92, 255, 0.15);
}

.admin-empty {
    text-align: center;
    color: #aaa4bd;
    background: #141222;
    border: 1px dashed rgba(155, 92, 255, 0.35);
    border-radius: 14px;
    padding: 30px 15px;
}

@media (max-width: 600px) {
    .admin-order {
        padding: 16px;
    }

    .admin-order-header {
        align-items: flex-start;
    }

    .admin-order-total {
        font-size: 20px;
    }

    .admin-order-footer {
        justify-content: flex-start;
    }

    .admin-order-status {
        margin: 8px 0 0;
        width: 100%;
    }
}
/* ==========================================
   NEXA DIGITAL - COLORES DE ESTADOS
========================================== */

.admin-order-status {
    background-color: #090811 !important;
    font-weight: 800 !important;
    padding: 11px 16px !important;
    border: 2px solid !important;
    border-radius: 10px !important;
    cursor: pointer;
}

/* PENDIENTE - AMARILLO */
.admin-order-status[data-status="pendiente"] {
    color: #fbbf24 !important;
    border-color: #fbbf24 !important;
}

/* CONFIRMADO - AZUL */
.admin-order-status[data-status="confirmado"] {
    color: #60a5fa !important;
    border-color: #60a5fa !important;
}

/* COMPLETADO - VERDE */
.admin-order-status[data-status="completado"] {
    color: #4ade80 !important;
    border-color: #4ade80 !important;
}

/* CANCELADO - ROJO */
.admin-order-status[data-status="cancelado"] {
    color: #fb7185 !important;
    border-color: #fb7185 !important;
}

/* COLORES DE LAS OPCIONES */
.admin-order-status option {
    background-color: #141222;
    color: #ffffff;
}

/* OPINIONES PUBLICAS DE PRODUCTO NEXA */
.product-feedback {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
}

.product-feedback-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-feedback h2,
.product-feedback h3 {
    margin-top: 0;
}

.product-feedback-summary,
.product-feedback-note {
    color: var(--muted);
}

.product-feedback-message {
    min-height: 1.4em;
    margin: 12px 0;
}

.product-feedback-message.is-error {
    color: #ff9b9b;
}

.product-feedback-message.is-success {
    color: #9be3b0;
}

.product-feedback-list {
    display: grid;
    gap: 14px;
    margin: 20px 0 30px;
}

.product-feedback-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(10, 8, 18, 0.45);
}

.product-feedback-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-feedback-author {
    font-weight: 700;
}

.product-feedback-date {
    color: var(--muted);
    font-size: 13px;
}

.product-feedback-stars {
    color: #f4c95d;
    letter-spacing: 2px;
}

.product-feedback-comment {
    margin: 12px 0 0;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.product-feedback-response {
    margin-top: 14px;
    padding: 12px;
    border-left: 3px solid var(--purple-light);
    background: rgba(155, 92, 255, 0.08);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.product-feedback-form-wrapper {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.product-feedback-form {
    display: grid;
    gap: 9px;
    max-width: 680px;
}

.product-feedback-form input,
.product-feedback-form select,
.product-feedback-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    color: var(--text);
    background: #14111f;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
}

.product-feedback-form textarea {
    resize: vertical;
}

.product-feedback-form .detail-add-button {
    margin-top: 8px;
}

@media (max-width: 640px) {
    .product-feedback {
        padding: 20px;
    }
}