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

html,
body {
    background: #000;
    color: #fff;

    font-family:
        "Inter",
        sans-serif;

    min-height: 100%;
}

body {
    overflow-x: hidden;
}

button,
input {
    font-family: inherit;
}


/* =====================================================
   FONDO
===================================================== */

.background {
    position: fixed;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 80%,
            rgba(70,70,70,.16),
            transparent 40%
        ),
        radial-gradient(
            circle at 10% 10%,
            rgba(255,255,255,.04),
            transparent 25%
        );
}


.app {
    min-height: 100vh;

    display: flex;

    flex-direction: column;

    position: relative;
}


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

.header {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    padding:
        22px 40px;

    position: relative;

    z-index: 20;
}


.logo {
    display: flex;

    align-items: center;

    gap: 10px;

    color: white;

    text-decoration: none;

    font-size: 17px;

    font-weight: 600;
}


.logo-icon {
    font-size: 22px;
}


.logo-light {
    color: #888;

    font-weight: 400;
}


.nav {
    display: flex;

    gap: 8px;
}


.nav-link {
    height: 40px;

    padding:
        0 18px;

    border-radius: 7px;

    border:
        1px solid
        rgba(255,255,255,.18);

    background:
        linear-gradient(
            105deg,
            #050505,
            #222,
            #444
        );

    color: #eee;

    cursor: pointer;

    transition:
        .3s ease;
}


.nav-link:hover,
.nav-link.active {

    border-color:
        rgba(255,255,255,.7);

    background:
        linear-gradient(
            105deg,
            #111,
            #333,
            #666
        );

}


.header-right {

    justify-self: end;

    display: flex;

    gap: 10px;
}


.login-btn {

    height: 40px;

    padding:
        0 18px;

    border-radius: 6px;

    border:
        1px solid #fff;

    background:
        linear-gradient(
            #fff,
            #ddd
        );

    color: #111;

    cursor: pointer;

    transition: .3s;

}


.login-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 0 22px
        rgba(255,255,255,.25);

}


.menu-btn {
    display: none;
}


/* =====================================================
   MAIN
===================================================== */

.main-content {

    flex: 1;

    width: 100%;

    padding:
        30px 8%;

}


.section {
    display: none;
}


.active-section {

    display: block;

    animation:
        fade .4s ease;

}


@keyframes fade {

    from {

        opacity: 0;

        transform:
            translateY(15px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


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

.hero {

    min-height: 68vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    max-width: 950px;

    margin: auto;

}


.badge {

    padding:
        9px 16px;

    margin-bottom: 25px;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            #777,
            #222,
            #090909
        );

    font-size: 13px;

}


.hero h1 {

    font-size:
        clamp(
            45px,
            6vw,
            76px
        );

    font-weight: 500;

    letter-spacing:
        -4px;

    line-height:
        1.08;

}


.hero h1 em {

    font-family:
        "Instrument Serif",
        serif;

    font-weight: 400;

    color: #999;

}


.hero p {

    max-width: 560px;

    margin-top: 24px;

    color: #999;

    line-height: 1.6;

}


.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 30px;

}


/* =====================================================
   BOTONES
===================================================== */

.primary-btn,
.secondary-btn {

    min-height: 42px;

    padding:
        0 18px;

    border-radius: 6px;

    cursor: pointer;

    transition:
        .3s;

}


.primary-btn {

    border:
        1px solid white;

    background:
        linear-gradient(
            #fff,
            #ddd
        );

    color: #111;

}


.primary-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 0 22px
        rgba(255,255,255,.25);

}


.secondary-btn {

    border:
        1px solid
        rgba(255,255,255,.25);

    background:
        rgba(255,255,255,.06);

    color: white;

}


.secondary-btn:hover {

    background:
        rgba(255,255,255,.12);

}


/* =====================================================
   STATS
===================================================== */

.stats-home {

    display: flex;

    justify-content:
        space-between;

    color: #bbb;

    margin-top: 40px;

}


.stats-home div {

    display: flex;

    align-items: center;

    gap: 10px;

}


/* =====================================================
   TITULOS
===================================================== */

.page-title {

    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap: 20px;

    margin-bottom: 40px;

}


.page-title span {

    color: #777;

    font-size: 11px;

    letter-spacing: 2px;

}


.page-title h2 {

    margin-top: 8px;

    font-size: 42px;

    letter-spacing:
        -2px;

}


.page-title p {

    margin-top: 10px;

    color: #888;

}


.cart-top-btn {

    height: 42px;

    padding:
        0 16px;

    border-radius: 7px;

    border:
        1px solid
        rgba(255,255,255,.2);

    background: #111;

    color: white;

    cursor: pointer;

}


.cart-top-btn span {

    display: inline-grid;

    place-items: center;

    min-width: 20px;

    height: 20px;

    margin-left: 6px;

    padding:
        0 4px;

    border-radius: 20px;

    background: white;

    color: black;

    font-size: 11px;

}


/* =====================================================
   PRODUCTOS
===================================================== */

.products-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px,1fr)
        );

    gap: 20px;

}


.product-card {

    padding: 18px;

    border-radius: 14px;

    border:
        1px solid
        rgba(255,255,255,.12);

    background:
        linear-gradient(
            145deg,
            #111,
            #050505
        );

    transition:
        .3s;

}


.product-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(255,255,255,.35);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.5);

}


.product-image {

    width: 100%;

    height: 180px;

    border-radius: 10px;

    overflow: hidden;

    background: #151515;

    margin-bottom: 18px;

}


.product-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .45s ease;

}


.product-card:hover
.product-image img {

    transform:
        scale(1.06);

}


.product-card h3 {

    font-size: 18px;

}


.product-card p {

    margin-top: 10px;

    color: #888;

    line-height: 1.5;

}


.features {

    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-top: 18px;

    color: #aaa;

    font-size: 13px;

}


.product-bottom {

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    margin-top: 22px;

}


.product-bottom strong {

    font-size: 17px;

}


.product-bottom button {

    padding:
        10px 15px;

    border: none;

    border-radius: 6px;

    background: white;

    color: black;

    cursor: pointer;

}


/* =====================================================
   COMPRAS
===================================================== */

.orders-container {

    max-width: 1000px;

    display: flex;

    flex-direction: column;

    gap: 14px;

}


.order-card {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px;

    border-radius: 12px;

    border:
        1px solid
        rgba(255,255,255,.12);

    background: #0d0d0d;

    cursor: pointer;

    transition: .3s;

}


.order-card:hover {

    transform:
        translateX(5px);

    border-color:
        rgba(255,255,255,.4);

}


.order-icon {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: #222;

    font-weight: bold;

}


.order-info {

    flex: 1;

}


.order-info p {

    margin-top: 5px;

    color: #888;

    font-size: 14px;

}


.order-price {

    font-weight: 600;

}


.order-status {

    padding:
        7px 12px;

    border-radius: 20px;

    font-size: 12px;

}


.completed {

    color: #78e6a8;

    background:
        rgba(60,255,150,.1);

}


.shipping {

    color: #8ab8ff;

    background:
        rgba(80,150,255,.1);

}


.arrow {

    color: #888;

    font-size: 22px;

}


/* =====================================================
   CUENTA
===================================================== */

.account-layout {

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 20px;

}


.profile-card {

    padding: 30px;

    border-radius: 16px;

    border:
        1px solid
        rgba(255,255,255,.12);

    background:
        linear-gradient(
            145deg,
            #111,
            #060606
        );

}


.profile-header {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 30px;

}


.avatar-wrapper {

    position: relative;

    width: 72px;

    height: 72px;

    border-radius: 50%;

    overflow: hidden;

    cursor: pointer;

    background: #222;

    flex-shrink: 0;

}


.avatar-img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


.avatar-edit {

    position: absolute;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background:
        rgba(0,0,0,.55);

    opacity: 0;

    transition: .25s;

}


.avatar-wrapper:hover
.avatar-edit {

    opacity: 1;

}


.profile-header p {

    margin-top: 5px;

    color: #888;

}


.profile-info {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 12px;

}


.info-box {

    padding: 15px;

    border-radius: 10px;

    background: #171717;

}


.info-box span {

    display: block;

    margin-bottom: 8px;

    color: #777;

    font-size: 12px;

}


.profile-input {

    width: 100%;

    height: 38px;

    padding:
        0 10px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 7px;

    background: #0f0f0f;

    color: white;

    outline: none;

}


.edit-password-title {

    margin-top: 25px;

    margin-bottom: 12px;

    font-size: 15px;

}


.password-change {

    display: flex;

    gap: 10px;

}


.password-change input {

    flex: 1;

    height: 42px;

    padding:
        0 12px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 7px;

    background: #171717;

    color: white;

    outline: none;

}


.account-buttons {

    display: flex;

    gap: 10px;

    margin-top: 22px;

    flex-wrap: wrap;

}


.account-summary {

    display: flex;

    flex-direction: column;

    gap: 14px;

}


.summary-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    border-radius: 14px;

    border:
        1px solid
        rgba(255,255,255,.12);

    background: #0d0d0d;

}


.summary-card span {

    font-size: 28px;

}


.summary-card small {

    display: block;

    margin-bottom: 5px;

    color: #777;

}


.summary-card strong {

    font-size: 20px;

}


.active-services {

    margin-top: 40px;

    max-width: 1000px;

}


.active-services h3 {

    margin-bottom: 18px;

}


.active-service {

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 15px;

    padding: 18px;

    margin-top: 10px;

    border-radius: 12px;

    border:
        1px solid
        rgba(255,255,255,.1);

    background: #0d0d0d;

}


.active-service p {

    margin-top: 6px;

    color: #777;

    font-size: 14px;

}


.active-service button {

    padding:
        10px 15px;

    border-radius: 6px;

    border:
        1px solid
        rgba(255,255,255,.2);

    background: transparent;

    color: white;

    cursor: pointer;

}


/* =====================================================
   LOGIN
===================================================== */

.hidden {

    display: none !important;

}


.auth-card {

    width: 100%;

    max-width: 460px;

    margin:
        65px auto;

    padding: 35px;

    border-radius: 16px;

    border:
        1px solid
        rgba(255,255,255,.13);

    background:
        linear-gradient(
            145deg,
            #111,
            #060606
        );

}


.auth-header span {

    color: #777;

    font-size: 11px;

    letter-spacing: 2px;

}


.auth-header h2 {

    margin-top: 8px;

    font-size: 34px;

}


.auth-header p {

    margin-top: 8px;

    color: #888;

}


.input-group {

    margin-top: 18px;

}


.input-group label {

    display: block;

    margin-bottom: 8px;

    color: #aaa;

    font-size: 13px;

}


.input-group input {

    width: 100%;

    height: 46px;

    padding:
        0 14px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 7px;

    background: #171717;

    color: white;

    outline: none;

}


.auth-btn {

    width: 100%;

    margin-top: 22px;

}


.auth-switch {

    margin-top: 20px;

    text-align: center;

    color: #777;

    font-size: 13px;

}


.auth-switch button {

    border: none;

    background: transparent;

    color: white;

    cursor: pointer;

}


.auth-message {

    margin-top: 15px;

    color: #aaa;

    font-size: 13px;

}


/* =====================================================
   SOPORTE
===================================================== */

.support-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px,1fr)
        );

    gap: 20px;

}


.support-card {

    padding: 28px;

    border-radius: 14px;

    border:
        1px solid
        rgba(255,255,255,.12);

    background: #0d0d0d;

}


.support-icon {

    font-size: 34px;

    margin-bottom: 20px;

}


.support-card p {

    margin-top: 10px;

    color: #888;

    line-height: 1.5;

}


.support-card button {

    margin-top: 20px;

    padding:
        10px 16px;

    border-radius: 6px;

    border:
        1px solid
        rgba(255,255,255,.25);

    background: transparent;

    color: white;

    cursor: pointer;

}


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

.footer {

    display: flex;

    justify-content:
        space-between;

    gap: 15px;

    padding:
        25px 8%;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    color: #aaa;

}


/* =====================================================
   MODAL GENERAL
===================================================== */

.modal {

    position: fixed;

    inset: 0;

    display: none;

    justify-content: center;

    align-items: center;

    padding: 20px;

    background:
        rgba(0,0,0,.82);

    backdrop-filter:
        blur(12px);

    z-index: 100;

}


.modal.active {

    display: flex;

}


.close-modal {

    position: absolute;

    top: 15px;

    right: 18px;

    width: 35px;

    height: 35px;

    border: none;

    border-radius: 50%;

    background: #222;

    color: white;

    font-size: 22px;

    cursor: pointer;

    z-index: 2;

}


/* =====================================================
   MODAL PRODUCTO
===================================================== */

.product-modal-content {

    position: relative;

    width: 100%;

    max-width: 930px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    border-radius: 20px;

    border:
        1px solid
        rgba(255,255,255,.18);

    background:
        linear-gradient(
            145deg,
            #151515,
            #070707
        );

}


.product-modal-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 35px;

}


.product-modal-image {

    width: 100%;

    height: 230px;

    margin-bottom: 22px;

    overflow: hidden;

    border-radius: 13px;

    background: #151515;

}


.product-modal-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


.modal-category {

    color: #777;

    font-size: 11px;

    letter-spacing: 2px;

}


.product-modal-info h2 {

    margin-top: 9px;

    font-size: 34px;

    letter-spacing: -1.5px;

}


.product-modal-info > p {

    margin-top: 12px;

    color: #888;

    line-height: 1.6;

}


.modal-features {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-top: 25px;

}


.modal-features > div {

    display: flex;

    gap: 12px;

    padding: 14px;

    border-radius: 9px;

    background: #151515;

}


.modal-features strong,
.modal-features small {

    display: block;

}


.modal-features strong {

    font-size: 13px;

}


.modal-features small {

    margin-top: 4px;

    color: #777;

}


.product-note {

    margin-top: 20px;

    padding: 14px;

    border-radius: 8px;

    background:
        rgba(255,255,255,.04);

    color: #888;

    font-size: 12px;

    line-height: 1.5;

}


.product-modal-buy {

    align-self: start;

    padding: 25px;

    border-radius: 14px;

    border:
        1px solid
        rgba(255,255,255,.1);

    background: #111;

}


.product-modal-buy > span {

    color: #777;

    font-size: 11px;

    letter-spacing: 2px;

}


.modal-price {

    margin-top: 8px;

    font-size: 42px;

    font-weight: 600;

    letter-spacing: -2px;

}


.quantity-title {

    margin-top: 30px;

    margin-bottom: 10px;

    color: #999;

    font-size: 13px;

}


.quantity-control {

    height: 52px;

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    border-radius: 8px;

    background: #191919;

    border:
        1px solid
        rgba(255,255,255,.1);

}


.quantity-control button {

    width: 52px;

    height: 100%;

    border: none;

    background: transparent;

    color: white;

    font-size: 22px;

    cursor: pointer;

}


.quantity-control strong {

    font-size: 18px;

}


.modal-total {

    display: flex;

    justify-content:
        space-between;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255,255,255,.1);

}


.modal-total span {

    color: #888;

}


.modal-total strong {

    font-size: 20px;

}


.add-cart-btn,
.continue-btn {

    width: 100%;

    margin-top: 15px;

}


/* =====================================================
   CARRITO
===================================================== */

.cart-content {

    position: relative;

    width: 100%;

    max-width: 650px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    border-radius: 18px;

    background: #0c0c0c;

    border:
        1px solid
        rgba(255,255,255,.16);

}


.cart-header span {

    color: #777;

    font-size: 11px;

    letter-spacing: 2px;

}


.cart-header h2 {

    margin-top: 8px;

    font-size: 34px;

}


.cart-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);

}


.cart-item-info {

    flex: 1;

}


.cart-item-info h4 {

    font-size: 15px;

}


.cart-item-info p {

    margin-top: 5px;

    color: #777;

    font-size: 13px;

}


.cart-item-price {

    font-weight: 600;

}


.remove-cart {

    border: none;

    background: transparent;

    color: #777;

    font-size: 18px;

    cursor: pointer;

}


.empty-cart {

    padding:
        45px 10px;

    text-align: center;

    color: #ddd;

}


.cart-summary {

    margin-top: 25px;

}


.cart-summary > div {

    display: flex;

    justify-content:
        space-between;

    margin-top: 12px;

}


.cart-summary span {

    color: #888;

}


.cart-summary strong {

    font-size: 20px;

}


.cart-summary .primary-btn {

    width: 100%;

    margin-top: 22px;

}


/* =====================================================
   CHECKOUT
===================================================== */

.checkout-page {

    display: none;

    min-height: 100vh;

    padding:
        45px 8%;

}


.checkout-page.active {

    display: block;

    animation:
        fade .4s ease;

}


.checkout-container {

    max-width: 1100px;

    margin: auto;

}


.checkout-title span {

    color: #777;

    font-size: 11px;

    letter-spacing: 2px;

}


.checkout-title h2 {

    margin-top: 8px;

    font-size: 42px;

    letter-spacing: -2px;

}


.checkout-title p {

    margin-top: 10px;

    color: #888;

}


.checkout-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

    margin-top: 40px;

}


.payment-card {

    padding: 28px;

    border-radius: 15px;

    border:
        1px solid
        rgba(255,255,255,.12);

    background: #0d0d0d;

}


.card-label {

    color: #777;

    font-size: 10px;

    letter-spacing: 2px;

}


.payment-card h3 {

    margin-top: 8px;

    font-size: 22px;

}


.payment-instructions {

    margin-top: 10px;

    color: #888;

    line-height: 1.5;

    font-size: 13px;

}


.bank-data {

    margin-top: 25px;

}


.bank-data > div {

    padding:
        14px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.07);

}


.bank-data span {

    display: block;

    margin-bottom: 5px;

    color: #777;

    font-size: 12px;

}


.bank-data strong {

    font-size: 14px;

    word-break: break-word;

}


.payment-total {

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    margin-top: 25px;

    padding: 18px;

    border-radius: 10px;

    background: #171717;

}


.payment-total span {

    color: #888;

}


.payment-total strong {

    font-size: 23px;

}


.checkout-input {

    margin-top: 18px;

}


.checkout-input label {

    display: block;

    margin-bottom: 7px;

    color: #aaa;

    font-size: 13px;

}


.checkout-input input {

    width: 100%;

    height: 44px;

    padding:
        0 13px;

    border-radius: 7px;

    border:
        1px solid
        rgba(255,255,255,.12);

    background: #171717;

    color: white;

    outline: none;

}


.upload-box {

    position: relative;

    min-height: 150px;

    margin-top: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 8px;

    border-radius: 12px;

    border:
        1px dashed
        rgba(255,255,255,.25);

    background: #111;

    text-align: center;

}


.upload-box input {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    opacity: 0;

    cursor: pointer;

}


.upload-box > div {

    font-size: 30px;

}


.upload-box small {

    color: #666;

}


.submit-payment {

    width: 100%;

    margin-top: 18px;

}


.payment-message {

    margin-top: 12px;

    color: #8ee2af;

    font-size: 13px;

}


.back-cart {

    margin-top: 20px;

    border: none;

    background: transparent;

    color: #888;

    cursor: pointer;

}


/* =====================================================
   CARRITO FLOTANTE
===================================================== */

.floating-cart {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 58px;

    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.25);

    background: white;

    color: black;

    cursor: pointer;

    font-size: 22px;

    z-index: 50;

    box-shadow:
        0 10px 35px
        rgba(0,0,0,.5);

}


.floating-cart span {

    position: absolute;

    top: -5px;

    right: -5px;

    width: 21px;

    height: 21px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #e50914;

    color: white;

    font-size: 11px;

    font-weight: 600;

}


/* =====================================================
   PEDIDO
===================================================== */

.modal-content {

    position: relative;

    width: 100%;

    max-width: 650px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    border-radius: 18px;

    background: #0d0d0d;

    border:
        1px solid
        rgba(255,255,255,.18);

}


.modal-title {

    margin-bottom: 8px;

}


.modal-subtitle {

    margin-bottom: 25px;

    color: #888;

}


.detail-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 12px;

}


.detail-box {

    padding: 15px;

    border-radius: 10px;

    background: #171717;

}


.detail-box span {

    display: block;

    margin-bottom: 7px;

    color: #777;

    font-size: 12px;

}


.accounts-list {

    margin-top: 25px;

}


.account-item {

    margin-top: 10px;

    padding: 18px;

    border-radius: 12px;

    background: #171717;

}


.account-item p {

    margin-top: 7px;

    color: #aaa;

    font-size: 14px;

}


.account-actions {

    display: flex;

    gap: 10px;

    margin-top: 15px;

}


.account-actions button {

    padding:
        9px 12px;

    border-radius: 6px;

    border:
        1px solid
        rgba(255,255,255,.2);

    background: #222;

    color: white;

    cursor: pointer;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {


    .header {

        grid-template-columns:
            1fr auto;

        padding: 18px;

    }


    .login-btn {

        display: none;

    }


    .menu-btn {

        display: block;

        width: 42px;

        height: 42px;

        border-radius: 6px;

        border:
            1px solid #333;

        background: #111;

        color: white;

        font-size: 20px;

        cursor: pointer;

    }


    .nav {

        position: fixed;

        inset: 0;

        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        background:
            rgba(0,0,0,.97);

        transform:
            translateX(100%);

        transition:
            transform .3s ease;

    }


    .nav.open {

        transform:
            translateX(0);

    }


    .nav-link {

        width: 80%;

        height: 55px;

        font-size: 18px;

    }


    .main-content {

        padding:
            30px 20px;

    }


    .account-layout,
    .checkout-grid,
    .product-modal-grid {

        grid-template-columns:
            1fr;

    }


    .stats-home,
    .footer {

        flex-direction: column;

        text-align: center;

        gap: 15px;

    }

}


@media (max-width: 600px) {


    .hero h1 {

        font-size: 42px;

        letter-spacing:
            -2px;

    }


    .hero-buttons {

        width: 100%;

        flex-direction: column;

    }


    .hero-buttons button {

        width: 100%;

    }


    .page-title {

        flex-direction: column;

        align-items: flex-start;

    }


    .product-modal-content,
    .cart-content,
    .modal-content {

        padding: 25px;

    }


    .modal-features {

        grid-template-columns: 1fr;

    }


    .detail-grid {

        grid-template-columns: 1fr;

    }


    .order-card {

        flex-wrap: wrap;

    }


    .active-service {

        flex-direction: column;

        align-items: flex-start;

    }


    .profile-info {

        grid-template-columns: 1fr;

    }


    .password-change {

        flex-direction: column;

    }


    .password-change button {

        width: 100%;

    }

}

/* Promociones y referidos */
.promo-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    margin:24px 0 42px;
}
.promo-card {
    overflow:hidden;
    border:1px solid rgba(168,85,247,.25);
    border-radius:20px;
    background:rgba(12,10,20,.72);
    box-shadow:0 12px 40px rgba(0,0,0,.28);
}
.promo-card img {
    display:block; width:100%; height:220px; object-fit:cover;
}
.referral-card {
    margin-top:28px; padding:24px; border-radius:20px;
    border:1px solid rgba(168,85,247,.3);
    background:linear-gradient(135deg,rgba(31,20,49,.92),rgba(10,10,16,.92));
}
.referral-card > div:first-child span {font-size:.78rem;letter-spacing:.14em;opacity:.7}
.referral-card h3 {margin:7px 0 8px}
.referral-card p {color:rgba(255,255,255,.72)}
.referral-link-row {display:flex;gap:10px;margin-top:16px}
.referral-link-row input {flex:1;min-width:0}
.referral-steps {margin:18px 0 0;padding-left:22px;color:rgba(255,255,255,.76);line-height:1.8}
@media (max-width:850px){.promo-grid{grid-template-columns:1fr}.promo-card img{height:auto;max-height:260px}.referral-link-row{flex-direction:column}}
