/* =========================================================
   EMABBIT STORE
   Lumo Light inspired UI
   ========================================================= */


/* =========================================================
   TOKENS
   ========================================================= */

:root {
    --primary: #f72585;
    --primary-hover: #087f8b;
    --primary-active: #066c76;
    --primary-soft: #e8f7f8;
    --primary-softer: #f3fbfb;

    --navy: #123f4b;
    --navy-dark: #0b3039;

    --cyan: #18b7c7;
    --cyan-soft: #dff7f9;

    --text: #172b33;
    --text-secondary: #536970;
    --text-tertiary: #7a8d93;

    --background: #f7f9f9;
    --surface: #ffffff;
    --surface-secondary: #f2f5f5;

    --border: #dfe7e8;
    --border-strong: #cad6d8;

    --success: #198754;
    --success-soft: #e8f6ef;

    --danger: #c62828;
    --danger-soft: #fdeeee;

    --warning: #a76500;
    --warning-soft: #fff4df;

    --shadow-xs: 0 1px 2px rgba(12, 48, 57, .05);
    --shadow-sm: 0 3px 10px rgba(12, 48, 57, .07);
    --shadow-md: 0 10px 30px rgba(12, 48, 57, .09);
    --shadow-lg: 0 24px 70px rgba(12, 48, 57, .15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    --container: 1180px;

    --transition-fast: 150ms ease;
    --transition: 220ms ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 320px;

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--background);

    font-size: 16px;
    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.cart-open {
    overflow: hidden;
}

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

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

button {
    color: inherit;
}

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

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
}

::selection {
    background: var(--cyan-soft);
    color: var(--navy-dark);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(24, 183, 199, .32);
    outline-offset: 3px;
}


/* =========================================================
   SHARED
   ========================================================= */

.section-container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.eyebrow,
.section-eyebrow,
.cart-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: .74rem;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.button {
    min-height: 46px;
    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 1px solid transparent;
    border-radius: var(--radius-md);

    font-size: .93rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);

    box-shadow: 0 5px 14px rgba(247, 37, 133, .20);
}

.button-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);

    box-shadow: 0 8px 20px rgba(247, 37, 133, .25);
}

.button-primary:active {
    background: var(--primary-active);
    transform: translateY(0);
}

.button-secondary {
    color: var(--navy);
    background: var(--surface);
    border-color: var(--border-strong);
}

.button-secondary:hover {
    background: var(--surface-secondary);
    border-color: #b8c8cb;
}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(202, 214, 216, .8);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-container {
    width: min(var(--container), calc(100% - 48px));
    height: 76px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    width: 185px;
    height: 58px;

    object-fit: contain;
    object-position: left center;
}

.desktop-nav {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a {
    padding: 9px 13px;

    border-radius: var(--radius-sm);

    color: var(--text-secondary);

    font-size: .9rem;
    font-weight: 650;

    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}

.desktop-nav a:hover {
    color: var(--navy);
    background: var(--primary-softer);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-button {
    min-height: 42px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    color: var(--navy);
    background: var(--surface);

    font-weight: 700;

    cursor: pointer;

    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.cart-button:hover {
    background: var(--primary-softer);
    border-color: rgba(247, 37, 133, .32);

    box-shadow: var(--shadow-xs);
}

.cart-icon {
    width: 21px;
    height: 21px;
}

.cart-label {
    font-size: .88rem;
}

.cart-count {
    min-width: 22px;
    height: 22px;
    padding-inline: 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: var(--radius-pill);

    color: #fff;
    background: var(--primary);

    font-size: .72rem;
    font-weight: 800;
}

.menu-button {
    width: 42px;
    height: 42px;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);

    cursor: pointer;
}

.menu-button span {
    width: 20px;
    height: 2px;

    display: block;

    border-radius: 10px;

    background: var(--navy);

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}


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

.hero {
    position: relative;
    overflow: hidden;

    min-height: 570px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(24, 183, 199, .12),
            transparent 25%
        ),
        radial-gradient(
            circle at 70% 95%,
            rgba(247, 37, 133, .08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7fbfb 48%,
            #eef8f8 100%
        );

    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";

    position: absolute;
    width: 420px;
    height: 420px;
    right: -210px;
    top: -210px;

    border: 70px solid rgba(24, 183, 199, .055);
    border-radius: 50%;
}

.hero-container {
    position: relative;
    z-index: 2;

    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
    padding: 72px 0;

    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    max-width: 620px;
}

.hero h1 {
    margin: 0;

    color: var(--navy-dark);

    font-size: clamp(3.3rem, 6vw, 5.8rem);
    line-height: .94;
    letter-spacing: -.055em;
    font-weight: 780;
}

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

.hero-description {
    max-width: 530px;

    margin: 24px 0 0;

    color: var(--text-secondary);

    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}


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

.hero-visual {
    position: relative;

    min-height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    z-index: 3;

    width: min(370px, 90%);
    padding: 16px;

    border: 1px solid rgba(202, 214, 216, .9);
    border-radius: 28px;

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

    box-shadow: var(--shadow-lg);

    backdrop-filter: blur(12px);
}

.hero-product-placeholder {
    aspect-ratio: 1 / .88;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 20px;

    color: rgba(255, 255, 255, .96);

    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(255, 255, 255, .18),
            transparent 22%
        ),
        linear-gradient(
            145deg,
            var(--cyan),
            var(--primary) 45%,
            var(--navy)
        );
}

.hero-product-placeholder span {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 850;
    letter-spacing: -.09em;

    opacity: .96;
}

.hero-card-tag {
    position: absolute;
    z-index: 4;

    top: 28px;
    left: 28px;

    padding: 6px 10px;

    border-radius: var(--radius-pill);

    color: var(--navy);
    background: rgba(255, 255, 255, .92);

    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .1em;

    box-shadow: var(--shadow-sm);
}

.hero-card-info {
    padding: 16px 5px 3px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hero-card-info span {
    color: var(--text-tertiary);

    font-size: .77rem;
    font-weight: 650;
}

.hero-card-info strong {
    color: var(--navy);

    font-size: .83rem;
}

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    filter: blur(.1px);
}

.hero-decoration-one {
    width: 160px;
    height: 160px;

    right: 0;
    top: 20px;

    background: rgba(24, 183, 199, .10);
}

.hero-decoration-two {
    width: 110px;
    height: 110px;

    left: 5%;
    bottom: 15px;

    border: 22px solid rgba(247, 37, 133, .10);
}


/* =========================================================
   BENEFICIOS
   ========================================================= */

.benefits-section {
    background: var(--surface);

    border-bottom: 1px solid var(--border);
}

.benefits-container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
    padding: 24px 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.benefit {
    min-height: 64px;
    padding: 6px 28px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border-right: 1px solid var(--border);
}

.benefit:first-child {
    padding-left: 0;
}

.benefit:last-child {
    padding-right: 0;
    border-right: 0;
}

.benefit-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--primary);
    background: var(--primary-soft);
}

.benefit-icon svg {
    width: 21px;
    height: 21px;
}

.benefit strong,
.benefit span {
    display: block;
}

.benefit strong {
    color: var(--navy);

    font-size: .86rem;
}

.benefit span {
    margin-top: 2px;

    color: var(--text-tertiary);

    font-size: .75rem;
}


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

.products-section {
    padding: 96px 0 110px;

    background: var(--background);
}

.section-heading {
    margin-bottom: 38px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.section-heading > div:first-child {
    max-width: 590px;
}

.section-heading h2,
.about-content h2,
.shipping-container h2 {
    margin: 0;

    color: var(--navy-dark);

    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.section-heading p {
    max-width: 550px;

    margin: 13px 0 0;

    color: var(--text-secondary);
}

.product-filters {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.filter-button {
    min-height: 38px;
    padding: 0 14px;

    border: 1px solid var(--border);
    border-radius: var(--radius-pill);

    color: var(--text-secondary);
    background: var(--surface);

    font-size: .79rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.filter-button:hover {
    color: var(--primary);
    border-color: rgba(247, 37, 133, .35);
}

.filter-button.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}


/* =========================================================
   PRODUCT GRID
   Estas tarjetas serán creadas por shop.js
   ========================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--surface);

    box-shadow: var(--shadow-xs);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);

    border-color: rgba(247, 37, 133, .24);

    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    overflow: hidden;

    aspect-ratio: 4 / 4.7;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            #f1f5f5,
            #e6eeee
        );
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

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


/* Placeholder cuando aún no existen fotos */

.product-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: rgba(18, 63, 75, .22);

    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(24, 183, 199, .13),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            #f3f7f7,
            #e4eeee
        );
}

.product-placeholder span {
    font-size: 3.2rem;
    font-weight: 850;
    letter-spacing: -.08em;
}

.product-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    padding: 6px 9px;

    border-radius: var(--radius-pill);

    color: var(--navy);
    background: rgba(255, 255, 255, .93);

    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .06em;

    box-shadow: var(--shadow-sm);

    backdrop-filter: blur(8px);
}

.product-badge.sale {
    color: #fff;
    background: var(--primary);
}

.product-content {
    flex: 1;

    padding: 17px;

    display: flex;
    flex-direction: column;
}

.product-category {
    margin-bottom: 5px;

    color: var(--text-tertiary);

    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-name {
    margin: 0;

    color: var(--navy-dark);

    font-size: 1rem;
    font-weight: 720;
    line-height: 1.35;
}

.product-description {
    margin: 7px 0 0;

    color: var(--text-secondary);

    font-size: .78rem;
    line-height: 1.5;
}

.product-price-row {
    margin-top: 14px;

    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-price {
    color: var(--navy-dark);

    font-size: 1.1rem;
    font-weight: 800;
}

.product-old-price {
    color: var(--text-tertiary);

    font-size: .76rem;
    text-decoration: line-through;
}

.product-stock {
    margin-top: 8px;

    display: flex;
    align-items: center;
    gap: 6px;

    color: var(--success);

    font-size: .72rem;
    font-weight: 650;
}

.product-stock::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: currentColor;
}

.product-stock.low-stock {
    color: var(--warning);
}

.product-stock.out-of-stock {
    color: var(--danger);
}

.product-sizes {
    margin-top: 15px;

    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.size-button {
    min-width: 35px;
    height: 32px;
    padding: 0 8px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    color: var(--text-secondary);
    background: var(--surface);

    font-size: .72rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.size-button:hover {
    color: var(--primary);
    border-color: rgba(247, 37, 133, .45);
}

.size-button.selected {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.size-button:disabled {
    color: #aab6b9;
    background: #f4f6f6;

    text-decoration: line-through;

    cursor: not-allowed;
}

.add-cart-button {
    width: 100%;
    min-height: 42px;
    margin-top: 16px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid var(--primary);
    border-radius: var(--radius-md);

    color: var(--primary);
    background: var(--primary-softer);

    font-size: .8rem;
    font-weight: 750;

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.add-cart-button:hover {
    color: #fff;
    background: var(--primary);

    box-shadow: 0 6px 16px rgba(247, 37, 133, .18);

    transform: translateY(-1px);
}

.add-cart-button:disabled {
    color: var(--text-tertiary);
    background: var(--surface-secondary);
    border-color: var(--border);

    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}


/* =========================================================
   NOSOTROS
   ========================================================= */

.about-section {
    padding: 110px 0;

    background: var(--surface);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-container {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.about-visual {
    min-height: 420px;

    display: grid;
    place-items: center;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 28% 22%,
            rgba(255, 255, 255, .25),
            transparent 20%
        ),
        linear-gradient(
            145deg,
            var(--cyan),
            var(--primary) 45%,
            var(--navy)
        );

    box-shadow: var(--shadow-md);
}

.about-mark {
    width: 190px;
    height: 190px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 42px;

    color: #fff;
    background: rgba(255, 255, 255, .10);

    backdrop-filter: blur(10px);
}

.about-mark span {
    font-size: 5rem;
    font-weight: 850;
    letter-spacing: -.1em;
}

.about-content {
    max-width: 580px;
}

.about-content h2 {
    margin-bottom: 22px;
}

.about-content p {
    margin: 12px 0;

    color: var(--text-secondary);
}

.about-content .about-lead {
    color: var(--navy);

    font-size: 1.08rem;
    font-weight: 700;
}

.text-link {
    margin-top: 16px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);

    font-weight: 750;
}

.text-link span {
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   ENVIOS
   ========================================================= */

.shipping-section {
    padding: 90px 0;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(24, 183, 199, .09),
            transparent 25%
        ),
        var(--background);
}

.shipping-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.shipping-content {
    color: var(--text-secondary);
}

.shipping-content > p {
    max-width: 520px;
    margin: 0;

    font-size: 1rem;
    line-height: 1.7;
}

.shipping-note {
    max-width: 520px;
    margin-top: 22px;
    padding: 16px 18px;

    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

    border: 1px solid rgba(247, 37, 133, .18);
    border-radius: var(--radius-md);

    background: var(--primary-soft);

    font-size: .82rem;
}

.shipping-note strong {
    color: var(--primary);
}

.shipping-note span {
    color: var(--text-secondary);
}


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

.footer {
    padding: 62px 24px 24px;

    color: rgba(255, 255, 255, .82);
    background: var(--navy-dark);
}

.footer-container {
    width: min(var(--container), 100%);
    margin-inline: auto;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

.footer-brand img {
    width: 190px;
    max-height: 70px;

    object-fit: contain;
    object-position: left center;

    filter: brightness(0) invert(1);

    opacity: .95;
}

.footer-brand p {
    max-width: 370px;

    margin: 15px 0 0;

    color: rgba(255, 255, 255, .62);

    font-size: .86rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    gap: 40px;
}

.footer-links > div {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-links strong {
    margin-bottom: 3px;

    color: #fff;

    font-size: .82rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .62);

    font-size: .78rem;

    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    width: min(var(--container), 100%);
    margin: 45px auto 0;
    padding-top: 20px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

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

    color: rgba(255, 255, 255, .42);

    font-size: .7rem;
}


/* =========================================================
   CART OVERLAY
   ========================================================= */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1990;

    background: rgba(7, 30, 36, .42);

    opacity: 0;
    visibility: hidden;

    backdrop-filter: blur(2px);

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   CART DRAWER
   ========================================================= */

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;

    width: min(440px, 100%);
    height: 100dvh;

    display: flex;
    flex-direction: column;

    background: var(--surface);

    box-shadow: -20px 0 60px rgba(7, 30, 36, .18);

    transform: translateX(105%);

    transition: transform 280ms cubic-bezier(.2, .8, .2, 1);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    min-height: 88px;
    padding: 18px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid var(--border);
}

.cart-header .cart-eyebrow {
    margin-bottom: 1px;

    font-size: .63rem;
}

.cart-header h2 {
    margin: 0;

    color: var(--navy-dark);

    font-size: 1.55rem;
    letter-spacing: -.025em;
}

.cart-close {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    color: var(--text-secondary);
    background: var(--surface);

    font-size: 1.65rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background var(--transition-fast),
        color var(--transition-fast);
}

.cart-close:hover {
    color: var(--navy);
    background: var(--surface-secondary);
}


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

.cart-items {
    flex: 1;

    padding: 8px 22px 22px;

    overflow-y: auto;
}

.cart-item {
    padding: 17px 0;

    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 13px;

    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 76px;
    height: 92px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: var(--radius-md);

    color: rgba(18, 63, 75, .25);

    background:
        linear-gradient(
            145deg,
            #f0f5f5,
            #e3ecec
        );

    font-size: 1.35rem;
    font-weight: 850;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cart-item-content {
    min-width: 0;
}

.cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cart-item-name {
    margin: 0;

    color: var(--navy-dark);

    font-size: .88rem;
    font-weight: 750;
}

.cart-item-price {
    flex: 0 0 auto;

    color: var(--navy);

    font-size: .82rem;
    font-weight: 800;
}

.cart-item-size {
    margin-top: 4px;

    color: var(--text-tertiary);

    font-size: .7rem;
}

.cart-item-bottom {
    margin-top: 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quantity-control {
    display: inline-flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--surface);
}

.quantity-button {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border: 0;

    color: var(--navy);
    background: transparent;

    font-size: 1rem;

    cursor: pointer;

    transition: background var(--transition-fast);
}

.quantity-button:hover {
    background: var(--primary-soft);
}

.quantity-value {
    min-width: 30px;

    text-align: center;

    color: var(--navy);

    font-size: .76rem;
    font-weight: 750;
}

.cart-remove {
    padding: 4px;

    border: 0;

    color: var(--text-tertiary);
    background: transparent;

    font-size: .7rem;
    font-weight: 650;

    cursor: pointer;
}

.cart-remove:hover {
    color: var(--danger);
}


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

.cart-empty {
    flex: 1;
    padding: 50px 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.cart-empty-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--primary);
    background: var(--primary-soft);
}

.cart-empty-icon svg {
    width: 31px;
    height: 31px;
}

.cart-empty strong {
    color: var(--navy-dark);

    font-size: 1.05rem;
}

.cart-empty p {
    max-width: 280px;

    margin: 8px 0 20px;

    color: var(--text-tertiary);

    font-size: .8rem;
    line-height: 1.6;
}

.cart-empty.hidden {
    display: none;
}


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

.cart-footer {
    padding: 19px 22px 22px;

    border-top: 1px solid var(--border);

    background: var(--surface);
}

.cart-footer.hidden {
    display: none;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: var(--text-secondary);

    font-size: .8rem;
}

.cart-summary-row + .cart-summary-row {
    margin-top: 7px;
}

.cart-summary-row strong {
    color: var(--navy);
}

.cart-shipping-row span:last-child {
    color: var(--text-tertiary);
}

.cart-divider {
    height: 1px;
    margin: 15px 0;

    background: var(--border);
}

.cart-total-row {
    color: var(--navy-dark);

    font-size: 1rem;
    font-weight: 750;
}

.cart-total-row strong {
    font-size: 1.25rem;
}

.checkout-button {
    width: 100%;
    min-height: 49px;
    margin-top: 18px;

    border: 1px solid var(--primary);
    border-radius: var(--radius-md);

    color: #fff;
    background: var(--primary);

    font-size: .9rem;
    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 6px 18px rgba(247, 37, 133, .20);

    transition:
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.checkout-button:hover {
    background: var(--primary-hover);

    box-shadow: 0 9px 22px rgba(247, 37, 133, .25);

    transform: translateY(-1px);
}

.checkout-note {
    margin: 10px 0 0;

    color: var(--text-tertiary);

    text-align: center;

    font-size: .67rem;
}


/* =========================================================
   TOAST
   ========================================================= */

.toast {
    position: fixed;
    z-index: 3000;

    left: 50%;
    bottom: 28px;

    max-width: calc(100% - 32px);
    padding: 11px 16px;

    border: 1px solid rgba(247, 37, 133, .18);
    border-radius: var(--radius-md);

    color: var(--navy);
    background: rgba(255, 255, 255, .97);

    box-shadow: var(--shadow-lg);

    font-size: .8rem;
    font-weight: 700;

    opacity: 0;

    transform: translate(-50%, 25px);

    pointer-events: none;

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.toast.show {
    opacity: 1;

    transform: translate(-50%, 0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .mobile-nav {
        padding: 6px 24px 16px;

        background: rgba(255, 255, 255, .98);
        border-top: 1px solid var(--border);
    }

    .mobile-nav.active {
        display: grid;
    }

    .mobile-nav a {
        padding: 13px 4px;

        border-bottom: 1px solid var(--border);

        color: var(--text-secondary);

        font-size: .9rem;
        font-weight: 650;
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(3rem, 7vw, 4.7rem);
    }

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .product-filters {
        justify-content: flex-start;
    }

    .about-container {
        gap: 55px;
    }

}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 760px) {

    html {
        scroll-padding-top: 76px;
    }

    .section-container,
    .nav-container,
    .hero-container,
    .benefits-container {
        width: min(100% - 32px, var(--container));
    }

    .nav-container {
        height: 68px;
        gap: 15px;
    }

    .brand-logo {
        width: 145px;
        height: 48px;
    }

    .cart-label {
        display: none;
    }

    .cart-button {
        padding: 0 9px;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        padding: 58px 0 65px;

        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        max-width: 620px;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 13vw, 5rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-card {
        width: min(350px, 86%);
    }

    .benefits-container {
        padding: 10px 0;

        grid-template-columns: 1fr;
    }

    .benefit,
    .benefit:first-child,
    .benefit:last-child {
        padding: 15px 4px;

        justify-content: flex-start;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .benefit:last-child {
        border-bottom: 0;
    }

    .products-section {
        padding: 72px 0 82px;
    }

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

    .product-content {
        padding: 14px;
    }

    .product-description {
        display: none;
    }

    .about-section {
        padding: 78px 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-visual {
        min-height: 340px;
    }

    .shipping-section {
        padding: 72px 0;
    }

    .shipping-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-container {
        flex-direction: column;
        gap: 42px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .nav-container {
        width: calc(100% - 24px);
    }

    .brand-logo {
        width: 125px;
    }

    .nav-actions {
        gap: 6px;
    }

    .hero-container {
        width: calc(100% - 30px);

        padding-top: 46px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 14vw, 4rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 290px;
    }

    .hero-card {
        width: 88%;
        padding: 12px;

        border-radius: 22px;
    }

    .hero-product-placeholder {
        border-radius: 16px;
    }

    .hero-card-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .section-heading h2,
    .about-content h2,
    .shipping-container h2 {
        font-size: 2.25rem;
    }

    .product-filters {
        width: 100%;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .product-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-button {
        flex: 0 0 auto;
    }

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

    .product-card {
        border-radius: 14px;
    }

    .product-content {
        padding: 11px;
    }

    .product-name {
        font-size: .86rem;
    }

    .product-price {
        font-size: .95rem;
    }

    .product-category {
        font-size: .6rem;
    }

    .product-stock {
        font-size: .65rem;
    }

    .product-sizes {
        gap: 4px;
    }

    .size-button {
        min-width: 31px;
        height: 29px;
        padding: 0 5px;

        font-size: .65rem;
    }

    .add-cart-button {
        min-height: 39px;

        font-size: .7rem;
    }

    .product-badge {
        top: 8px;
        left: 8px;

        padding: 5px 7px;

        font-size: .55rem;
    }

    .about-visual {
        min-height: 290px;

        border-radius: 22px;
    }

    .about-mark {
        width: 150px;
        height: 150px;

        border-radius: 32px;
    }

    .about-mark span {
        font-size: 4rem;
    }

    .footer {
        padding-inline: 18px;
    }

    .footer-links {
        width: 100%;

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

    .cart-drawer {
        width: 100%;
    }

}


/* =========================================================
   MUY PEQUEÑO
   ========================================================= */

@media (max-width: 360px) {

    .brand-logo {
        width: 108px;
    }

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

    .product-description {
        display: block;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

}


/* =========================================================
   EMABBIT PRODUCT QUANTITY SELECTOR
   ========================================================= */

.product-quantity-row {
    margin-top: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-quantity-label {
    color: var(--text-secondary);

    font-size: .73rem;
    font-weight: 700;
}

.product-quantity-control {
    height: 34px;

    display: inline-flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--surface);
}

.product-quantity-button {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 0;

    color: var(--navy);
    background: transparent;

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}

.product-quantity-button:hover:not(:disabled) {
    color: var(--primary);
    background: var(--primary-soft);
}

.product-quantity-button:disabled {
    color: #b8c3c5;

    cursor: not-allowed;
}

.product-quantity-value {
    min-width: 34px;

    color: var(--navy-dark);

    text-align: center;

    font-size: .76rem;
    font-weight: 800;
}


/* Ajuste para tarjetas pequeñas */

@media (max-width: 480px) {

    .product-quantity-row {
        margin-top: 12px;
    }

    .product-quantity-label {
        font-size: .66rem;
    }

    .product-quantity-control {
        height: 31px;
    }

    .product-quantity-button {
        width: 29px;
        height: 31px;

        font-size: .9rem;
    }

    .product-quantity-value {
        min-width: 27px;

        font-size: .7rem;
    }

}


/* =========================================================
   EMABBIT ADDED BUTTON FEEDBACK
   ========================================================= */

.add-cart-button.added {
    color: #ffffff;

    background: var(--success);
    border-color: var(--success);

    box-shadow:
        0 6px 16px rgba(25, 135, 84, .20);

    transform: none;
}

.add-cart-button.added:hover {
    color: #ffffff;

    background: var(--success);
    border-color: var(--success);

    box-shadow:
        0 6px 16px rgba(25, 135, 84, .20);

    transform: none;
}


/* =========================================================
   EMABBIT PRODUCT PAGINATION
   ========================================================= */

.product-pagination {
    margin-top: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.product-pagination[hidden] {
    display: none;
}

.pagination-button {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    color: var(--text-secondary);
    background: var(--surface);

    font-size: .8rem;
    font-weight: 750;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.pagination-button:hover:not(:disabled):not(.active) {
    color: var(--primary);

    background: var(--primary-softer);
    border-color: rgba(247, 37, 133, .35);
}

.pagination-button.active {
    color: #fff;

    background: var(--primary);
    border-color: var(--primary);

    box-shadow:
        0 4px 12px
        rgba(247, 37, 133, .18);
}

.pagination-button:disabled {
    color: #b8c3c5;
    background: var(--surface-secondary);

    cursor: not-allowed;
}

.pagination-arrow {
    font-size: 1rem;
}


@media (max-width: 480px) {

    .product-pagination {
        margin-top: 30px;
        gap: 5px;
    }

    .pagination-button {
        min-width: 37px;
        height: 37px;
        padding: 0 8px;

        border-radius: 10px;
    }

}


/* =========================================================
   EMABBIT TOPBAR SEARCH
   ========================================================= */

.topbar-search {
    position: relative;

    width: 230px;
    height: 42px;

    display: flex;
    align-items: center;

    color: var(--text-tertiary);
}

.topbar-search input {
    width: 100%;
    height: 100%;

    padding:
        0
        38px
        0
        39px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    outline: none;

    color: var(--navy-dark);
    background: var(--surface-secondary);

    font-size: .82rem;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.topbar-search input::placeholder {
    color: var(--text-tertiary);
}

.topbar-search input:hover {
    border-color: var(--border-strong);
}

.topbar-search input:focus {
    background: var(--surface);

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(247, 37, 133, .11);
}

.search-icon {
    position: absolute;
    z-index: 2;

    left: 12px;

    width: 18px;
    height: 18px;

    pointer-events: none;
}

.search-clear {
    position: absolute;
    z-index: 2;

    right: 7px;

    width: 28px;
    height: 28px;

    padding: 0;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    color: var(--text-tertiary);
    background: transparent;

    font-size: 1.15rem;

    cursor: pointer;
}

.search-clear:hover {
    color: var(--navy);
    background: var(--primary-soft);
}

.search-clear[hidden] {
    display: none;
}


/* =========================================================
   SIN RESULTADOS
   ========================================================= */

.no-products {
    grid-column: 1 / -1;

    min-height: 320px;
    padding: 50px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);

    color: var(--text-secondary);
    background: var(--surface);

    text-align: center;
}

.no-products-icon {
    margin-bottom: 12px;

    font-size: 2rem;
}

.no-products strong {
    color: var(--navy-dark);

    font-size: 1rem;
}

.no-products p {
    max-width: 330px;

    margin: 7px 0 0;

    color: var(--text-tertiary);

    font-size: .8rem;
}


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

@media (max-width: 1100px) {

    .topbar-search {
        width: 190px;
    }

}


@media (max-width: 760px) {

    /*
       En móvil dejamos el buscador como una barra
       debajo de la fila principal del header.
    */

    .topbar {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-container {
        order: 1;
    }

    .mobile-nav {
        order: 3;
        width: 100%;
    }

    .topbar-search {
        order: 2;

        width: calc(100% - 32px);
        height: 42px;

        margin:
            0
            auto
            10px;
    }

    .nav-actions .topbar-search {
        position: absolute;

        left: 16px;
        right: 16px;
        top: 68px;

        width: auto;
    }

    .topbar {
        padding-bottom: 52px;
    }

}


@media (max-width: 480px) {

    .nav-actions .topbar-search {
        left: 12px;
        right: 12px;
    }

}


/* =========================================================
   OCULTAR X NATIVA DEL INPUT SEARCH
   Usamos nuestra propia .search-clear
   ========================================================= */

.topbar-search input[type="search"]::-webkit-search-cancel-button,
.topbar-search input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.topbar-search input[type="search"] {
    appearance: none;
    -webkit-appearance: none;
}


/* =========================================================
   EMABBIT ABOUT IMAGE
   ========================================================= */

.about-visual {
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;
}


/* En móvil evitamos una imagen exageradamente alta */

@media (max-width: 760px) {

    .about-image {
        aspect-ratio: 1 / 1;
    }

}


/* =========================================================
   EMABBIT ADMIN AUTH UI
   ========================================================= */

.account-area {
    position: relative;

    flex: 0 0 auto;
}

.account-button {
    height: 42px;
    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    color: var(--navy);
    background: var(--surface);

    font-family: inherit;
    font-size: .78rem;
    font-weight: 750;

    cursor: pointer;

    white-space: nowrap;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.account-button:hover {
    color: var(--primary);

    background: var(--primary-softer);
    border-color: rgba(247, 37, 133, .35);
}

.account-button.authenticated {
    color: var(--primary);

    background: var(--primary-soft);
    border-color: rgba(247, 37, 133, .25);
}

.account-icon {
    width: 18px;
    height: 18px;

    flex: 0 0 auto;
}


/* =========================================================
   ACCOUNT MENU
   ========================================================= */

.account-menu {
    position: absolute;
    z-index: 150;

    top: calc(100% + 10px);
    right: 0;

    width: 255px;
    padding: 8px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);

    box-shadow:
        0 16px 45px
        rgba(11, 48, 57, .14);
}

.account-menu[hidden] {
    display: none;
}

.account-menu-header {
    padding: 10px 11px 11px;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.account-menu-header strong {
    overflow: hidden;

    color: var(--navy-dark);

    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-header span {
    overflow: hidden;

    color: var(--text-tertiary);

    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-divider {
    height: 1px;
    margin: 2px 4px 7px;

    background: var(--border);
}

.account-menu-item {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;

    display: flex;
    align-items: center;

    border: 0;
    border-radius: 9px;

    color: var(--text-secondary);
    background: transparent;

    font-family: inherit;
    font-size: .74rem;
    font-weight: 650;
    text-decoration: none;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}

.account-menu-item:hover {
    color: var(--navy-dark);
    background: var(--primary-softer);
}

.account-logout:hover {
    color: #b42318;
    background: #fff1f0;
}


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

.login-overlay {
    position: fixed;
    z-index: 400;

    inset: 0;

    background:
        rgba(8, 35, 42, .48);

    backdrop-filter: blur(4px);
}

.login-overlay[hidden],
.login-modal[hidden] {
    display: none;
}

.login-modal {
    position: fixed;
    z-index: 410;

    top: 50%;
    left: 50%;

    width: min(
        calc(100% - 32px),
        410px
    );

    padding: 30px;

    transform:
        translate(-50%, -50%);

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

    border-radius: 20px;

    background: var(--surface);

    box-shadow:
        0 30px 80px
        rgba(8, 35, 42, .25);
}

.login-close {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    color: var(--text-tertiary);
    background: transparent;

    font-size: 1.25rem;

    cursor: pointer;
}

.login-close:hover {
    color: var(--navy-dark);
    background: var(--primary-soft);
}

.login-brand {
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--primary);

    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .09em;
}

.login-user-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--primary-soft);

    font-size: .9rem;
}

.login-modal h2 {
    margin: 0;

    color: var(--navy-dark);

    font-size: 1.65rem;
}

.login-description {
    margin:
        7px
        0
        23px;

    color: var(--text-secondary);

    font-size: .8rem;
    line-height: 1.55;
}

.login-field {
    margin-bottom: 15px;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-field span {
    color: var(--navy-dark);

    font-size: .72rem;
    font-weight: 750;
}

.login-field input {
    width: 100%;
    height: 44px;
    padding: 0 13px;

    border: 1px solid var(--border);
    border-radius: 10px;

    outline: none;

    color: var(--navy-dark);
    background: var(--surface-secondary);

    font-family: inherit;
    font-size: .82rem;

    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.login-field input:focus {
    border-color: var(--primary);
    background: var(--surface);

    box-shadow:
        0 0 0 3px
        rgba(247, 37, 133, .11);
}

.login-error {
    margin:
        2px
        0
        14px;

    padding: 10px 12px;

    border-radius: 9px;

    color: #b42318;
    background: #fff1f0;

    font-size: .72rem;
    font-weight: 650;
}

.login-error[hidden] {
    display: none;
}

.login-submit {
    width: 100%;
    height: 44px;

    margin-top: 3px;

    border: 0;
    border-radius: 10px;

    color: #fff;
    background: var(--primary);

    font-family: inherit;
    font-size: .8rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        background var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.login-submit:hover:not(:disabled) {
    background: var(--primary-hover);

    box-shadow:
        0 7px 18px
        rgba(247, 37, 133, .2);

    transform: translateY(-1px);
}

.login-submit:disabled {
    opacity: .65;

    cursor: wait;
}

body.login-open {
    overflow: hidden;
}


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

@media (max-width: 900px) {

    .account-button {
        width: 42px;
        padding: 0;
    }

    .account-button span {
        display: none;
    }

}


@media (max-width: 480px) {

    .login-modal {
        width: calc(100% - 24px);
        padding: 25px 20px;
    }

    .account-menu {
        position: fixed;

        top: 70px;
        right: 12px;

        width: min(
            280px,
            calc(100% - 24px)
        );
    }

}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-section {
    padding: 88px 0;

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(247, 37, 133, .12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #fff0f6 100%
        );

    border-top: 1px solid var(--border, #f1d5e3);
}


.contact-container {
    display: grid;
    grid-template-columns:
        minmax(0, .85fr)
        minmax(380px, 1.15fr);

    align-items: center;

    gap: clamp(48px, 8vw, 100px);
}


.contact-copy h2 {
    margin: 8px 0 18px;

    color: #3d1630;

    font-size:
        clamp(2.1rem, 5vw, 3.6rem);

    line-height: .98;
    letter-spacing: -.045em;
}


.contact-copy p {
    max-width: 460px;

    margin: 0;

    color: #684b5d;

    font-size: .95rem;
    line-height: 1.7;
}


.contact-actions {
    display: grid;

    gap: 14px;
}


.contact-card {
    min-height: 112px;

    padding: 22px 24px;

    display: grid;

    grid-template-columns:
        54px
        minmax(0, 1fr)
        34px;

    align-items: center;

    gap: 17px;

    border: 1px solid #f1d5e3;
    border-radius: 18px;

    color: #3d1630;
    background: rgba(255, 255, 255, .9);

    text-decoration: none;

    box-shadow:
        0 10px 35px
        rgba(61, 22, 48, .055);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.contact-card:hover {
    transform: translateY(-3px);

    border-color: #f72585;

    box-shadow:
        0 18px 45px
        rgba(247, 37, 133, .13);
}


.contact-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 15px;
}


.contact-icon svg {
    width: 27px;
    height: 27px;
}


/*
 * WhatsApp conserva su identidad verde,
 * pero el resto sigue la paleta eMabbit.
 */
.contact-whatsapp
.contact-icon {
    color: #16875b;
    background: #eafaf3;
}


.contact-instagram
.contact-icon {
    color: #f72585;

    background:
        linear-gradient(
            135deg,
            #fff0f6,
            #ffe0ed
        );
}


.contact-card-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


.contact-card-content small {
    margin-bottom: 3px;

    color: #9a7d8e;

    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .1em;
}


.contact-card-content strong {
    color: #3d1630;

    font-size: 1.08rem;
    font-weight: 850;
}


.contact-card-content > span {
    margin-top: 3px;

    overflow: hidden;

    color: #684b5d;

    font-size: .77rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.contact-arrow {
    display: grid;
    place-items: center;

    color: #f72585;

    font-size: 1.3rem;

    transition:
        transform .18s ease;
}


.contact-card:hover
.contact-arrow {
    transform: translateX(4px);
}


/* =========================================================
   CONTACT MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .contact-section {
        padding: 64px 0;
    }


    .contact-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .contact-copy h2 {
        font-size: 2.35rem;
    }


    .contact-copy p {
        font-size: .88rem;
    }


    .contact-card {
        min-height: 96px;

        padding: 18px;

        grid-template-columns:
            48px
            minmax(0, 1fr)
            24px;

        gap: 13px;

        border-radius: 15px;
    }


    .contact-icon {
        width: 48px;
        height: 48px;

        border-radius: 13px;
    }


    .contact-icon svg {
        width: 24px;
        height: 24px;
    }


    .contact-card-content strong {
        font-size: .98rem;
    }


    .contact-card-content > span {
        font-size: .72rem;
    }

}


/* =========================================================
   LOGIN - MOSTRAR CONTRASEÑA
   ========================================================= */

.password-input-wrap {
    position: relative;
    width: 100%;
}


.password-input-wrap input {
    width: 100%;
    padding-right: 52px;
}


.password-toggle {
    position: absolute;

    top: 50%;
    right: 10px;

    width: 38px;
    height: 38px;

    padding: 0;

    display: grid;
    place-items: center;

    transform: translateY(-50%);

    border: 0;
    border-radius: 10px;

    color: #9a7d8e;
    background: transparent;

    cursor: pointer;

    transition:
        color .15s ease,
        background .15s ease;
}


.password-toggle:hover {
    color: #f72585;
    background: #fff0f6;
}


.password-toggle:focus-visible {
    outline: 2px solid #f72585;
    outline-offset: 2px;
}


.password-eye {
    width: 21px;
    height: 21px;
}


.password-toggle.is-visible {
    color: #f72585;
}


.password-toggle.is-visible::after {
    content: "";

    position: absolute;

    width: 23px;
    height: 2px;

    border-radius: 99px;

    background: currentColor;

    transform: rotate(-45deg);
}
