/* =========================================================
   HELEN INDUMENTARIA
   DISEÑO PREMIUM / MINIMALISTA / RESPONSIVE
   ========================================================= */

:root {

    /* MARCA */
    --pink: #ef5f98;
    --pink-strong: #df3f7b;
    --pink-soft: #fff0f6;
    --pink-ultra-soft: #fff8fb;

    /* NEUTROS */
    --black: #181618;
    --ink: #262226;
    --gray-900: #343034;
    --gray-700: #716a6e;
    --gray-600: #837b80;
    --gray-500: #a19a9e;
    --gray-400: #beb8bb;
    --gray-300: #d9d5d7;
    --gray-200: #e9e6e8;
    --gray-100: #f6f4f5;

    --white: #ffffff;

    /* SUPERFICIES */
    --page: #ffffff;
    --surface: #ffffff;
    --surface-soft: #faf9f9;

    /* ESTADOS */
    --success: #357856;
    --success-soft: #eaf6ef;

    --warning: #c38127;
    --warning-soft: #fff4df;

    --danger: #a9445e;
    --danger-soft: #fcecf1;

    /* SOMBRAS */
    --shadow-xs:
        0 2px 8px rgba(29, 23, 27, 0.04);

    --shadow-sm:
        0 8px 24px rgba(29, 23, 27, 0.06);

    --shadow-md:
        0 18px 50px rgba(29, 23, 27, 0.09);

    --shadow-lg:
        0 28px 80px rgba(29, 23, 27, 0.13);

    /* REDONDEOS */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    /* ANCHO */
    --content-width: 1240px;

    /* ADMIN */
    --admin-sidebar-width: 260px;
}


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--page);

    color: var(--ink);

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    line-height: 1.5;

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

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

a:hover {
    color: inherit;
}

img {
    display: block;

    max-width: 100%;
}

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

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

::selection {
    background: #ffd6e6;
    color: var(--black);
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(239, 95, 152, 0.24);
    outline-offset: 3px;
}


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

.site-header {
    position: relative;

    z-index: 1050;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid rgba(233, 230, 232, 0.9);

    backdrop-filter: blur(16px);
}

.site-header .navbar {
    min-height: 92px;
}


/* =========================================================
   MARCA
   ========================================================= */

.brand-wrap {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 0;

    margin-right: 32px;
}

.brand-logo {
    width: 62px;
    height: 62px;

    object-fit: contain;

    padding: 3px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 13px;

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

.brand-copy {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.brand-title {
    font-family: "Playfair Display", serif;

    font-size: 1.7rem;

    font-weight: 600;

    letter-spacing: -0.04em;

    color: var(--black);
}

.brand-subtitle {
    margin-top: 7px;

    color: var(--pink-strong);

    font-size: 0.58rem;

    font-weight: 700;

    letter-spacing: 0.28em;
}


/* =========================================================
   MENÚ
   ========================================================= */

.navbar-nav {
    gap: 31px;
}

.navbar-nav .nav-link {
    position: relative;

    padding: 36px 0;

    color: var(--gray-900);

    font-size: 0.79rem;

    font-weight: 600;

    letter-spacing: 0.035em;

    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--pink-strong);
}

.navbar-nav .nav-link::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 26px;

    width: 0;
    height: 2px;

    background: var(--pink);

    transform: translateX(-50%);

    transition: width 0.22s ease;
}

.navbar-nav .nav-link:hover::before {
    width: 22px;
}

.dropdown-toggle::after {
    margin-left: 7px;

    vertical-align: middle;

    opacity: 0.55;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.dropdown-menu {
    min-width: 230px;

    padding: 11px;

    margin-top: -5px;

    background: rgba(255, 255, 255, 0.98);

    border: 1px solid var(--gray-200) !important;

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

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

.dropdown-item {
    padding: 10px 12px;

    color: var(--gray-900);

    font-size: 0.8rem;

    border-radius: 8px;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.dropdown-item:hover {
    padding-left: 12px;

    background: var(--pink-ultra-soft);

    color: var(--pink-strong);

    transform: translateX(2px);
}

.dropdown-divider {
    margin: 7px 0;

    border-color: var(--gray-200);
}


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

.nav-actions {
    display: flex;

    align-items: center;

    gap: 12px;
}

.header-icon {
    position: relative;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    color: var(--black);

    font-size: 1.08rem;

    border-radius: 50%;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header-icon:hover {
    background: var(--gray-100);

    transform: translateY(-1px);
}


/* =========================================================
   INGRESAR
   ========================================================= */

.login-link {
    min-height: 42px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 15px;

    margin-right: 3px;

    color: var(--gray-900);

    font-size: 0.7rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    border: 1px solid transparent;

    border-radius: 999px;

    transition:
        background 0.2s ease,
        border 0.2s ease;
}

.login-link i {
    font-size: 1.05rem;
}

.login-link:hover {
    background: var(--pink-ultra-soft);

    border-color: #f5d5e2;

    color: var(--pink-strong);
}


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

.cart-count {
    position: absolute;

    top: -2px;
    right: -2px;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

    display: grid;

    place-items: center;

    background: var(--pink-strong);

    color: white;

    border: 2px solid white;

    border-radius: 999px;

    font-size: 0.58rem;

    font-weight: 700;
}


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

.hero-section {
    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #f7f4f5 0%,
            #fff 48%,
            #fff1f6 100%
        );
}

.hero-grid {
    min-height: 630px;

    display: grid;

    grid-template-columns: 0.92fr 1.08fr;

    align-items: center;

    gap: 68px;

    padding-top: 60px;
    padding-bottom: 60px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--pink-strong);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.2em;
}

.hero-copy h1 {
    margin: 0;

    color: var(--black);

    font-family: "Playfair Display", serif;

    font-size: clamp(3.2rem, 5vw, 5.8rem);

    font-weight: 500;

    line-height: 0.96;

    letter-spacing: -0.05em;
}

.hero-copy h1 em {
    color: var(--pink-strong);

    font-weight: 500;
}

.hero-copy p {
    max-width: 560px;

    margin: 25px 0 0;

    color: var(--gray-700);

    font-size: 1.04rem;

    line-height: 1.75;
}


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

.btn {
    border-radius: 10px;

    font-weight: 600;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border 0.18s ease,
        box-shadow 0.18s ease;
}

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

.btn-helen {
    background: var(--black);

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

    color: white;
}

.btn-helen:hover {
    background: #2a2729;

    border-color: #2a2729;

    color: white;

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

.btn-outline-dark {
    border-color: var(--gray-300);

    background: white;
}

.btn-outline-dark:hover {
    background: var(--gray-100);

    border-color: var(--gray-400);

    color: var(--black);
}


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

.hero-trust {
    display: flex;

    gap: 22px;

    flex-wrap: wrap;

    margin-top: 27px;

    color: var(--gray-700);

    font-size: 0.8rem;
}

.hero-trust span {
    display: flex;

    align-items: center;

    gap: 6px;
}

.hero-visual {
    position: relative;
}

.hero-visual > img {
    width: 100%;
    height: 535px;

    object-fit: cover;

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

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

.hero-card {
    position: absolute;

    left: -25px;
    bottom: 32px;

    min-width: 190px;

    display: flex;

    flex-direction: column;

    padding: 18px 21px;

    background: rgba(255, 255, 255, 0.95);

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

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

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

    backdrop-filter: blur(12px);
}

.hero-card span {
    color: var(--pink-strong);

    font-size: 0.58rem;

    font-weight: 700;

    letter-spacing: 0.18em;
}

.hero-card strong {
    margin-top: 4px;

    font-family: "Playfair Display", serif;

    font-size: 1.2rem;
}

.hero-card small {
    margin-top: 2px;

    color: var(--gray-600);
}


/* =========================================================
   SECCIONES
   ========================================================= */

.section-space {
    padding-top: 90px;
    padding-bottom: 90px;
}

.section-heading h2 {
    margin: 0;

    color: var(--black);

    font-family: "Playfair Display", serif;

    font-size: clamp(2rem, 4vw, 3.3rem);

    font-weight: 500;

    letter-spacing: -0.03em;
}

.text-link {
    padding-bottom: 4px;

    color: var(--gray-900);

    font-size: 0.8rem;

    font-weight: 600;

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


/* =========================================================
   CATEGORÍAS HOME
   ========================================================= */

.category-card {
    position: relative;

    height: 510px;

    display: block;

    overflow: hidden;

    background: var(--gray-100);

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

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

.category-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;
}

.category-card:hover img {
    transform: scale(1.035);
}

.category-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(18, 14, 17, 0.67),
            rgba(18, 14, 17, 0.02) 60%
        );
}

.category-card > div {
    position: absolute;

    z-index: 2;

    left: 32px;
    bottom: 30px;

    color: white;
}

.category-card span {
    font-size: 0.63rem;

    letter-spacing: 0.2em;
}

.category-card h3 {
    margin: 3px 0;

    font-family: "Playfair Display", serif;

    font-size: 2.8rem;

    font-weight: 500;
}


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

.soft-section {
    background: #fbfafb;
}

.product-card {
    height: 100%;

    overflow: hidden;

    background: transparent;

    border: none;

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

.product-image-wrap {
    position: relative;

    height: 410px;

    display: block;

    overflow: hidden;

    background: #f0eded;

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

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

    object-fit: cover;

    transition: transform 0.45s ease;
}

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

.product-badges {
    position: absolute;

    top: 12px;
    left: 12px;

    display: flex;

    gap: 6px;
}

.badge-new,
.badge-stock {
    padding: 6px 9px;

    font-size: 0.59rem;

    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    border-radius: 999px;

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

.badge-new {
    background: rgba(255, 255, 255, 0.95);

    color: var(--pink-strong);
}

.badge-stock {
    background: rgba(24, 22, 24, 0.9);

    color: white;
}

.product-info {
    padding: 14px 3px 19px;
}

.product-info small {
    color: var(--gray-500);

    font-size: 0.67rem;

    font-weight: 500;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.product-title {
    display: block;

    margin: 6px 0 5px;

    color: var(--black);

    font-size: 0.9rem;

    font-weight: 600;

    line-height: 1.35;
}

.product-price {
    color: var(--black);

    font-size: 1rem;

    font-weight: 700;
}

.transfer-price {
    margin-top: 3px;

    color: var(--pink-strong);

    font-size: 0.73rem;
}

.btn-add-cart {
    min-height: 43px;

    margin-top: 13px;

    border: 1px solid var(--gray-300);

    background: white;

    color: var(--black);

    font-size: 0.76rem;
}

.btn-add-cart:hover {
    background: var(--black);

    border-color: var(--black);

    color: white;
}


/* =========================================================
   PROMO
   ========================================================= */

.promo-band {
    background:
        linear-gradient(
            135deg,
            #1a1719,
            #2a2226
        );

    color: white;
}

.promo-band span {
    display: block;

    margin-top: 8px;

    color: #ffd6e6;

    font-size: 0.63rem;

    font-weight: 700;

    letter-spacing: 0.2em;
}

.promo-band h2 {
    margin: 9px 0;

    font-family: "Playfair Display", serif;

    font-weight: 500;
}

.promo-band p {
    color: #d7d0d4;
}


/* =========================================================
   INFO CARDS
   ========================================================= */

.info-card {
    height: 100%;

    padding: 34px 28px;

    background: white;

    border: 1px solid var(--gray-200);

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

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

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

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

.info-card i {
    color: var(--pink-strong);

    font-size: 1.75rem;
}

.info-card h4 {
    margin: 15px 0 7px;

    font-size: 0.98rem;

    font-weight: 700;
}

.info-card p {
    margin: 0;

    color: var(--gray-700);

    font-size: 0.82rem;

    line-height: 1.65;
}


/* =========================================================
   PERSONAL
   ========================================================= */

.personal-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 48px;

    background:
        linear-gradient(
            120deg,
            #fff4f8,
            #fff
        );

    border: 1px solid #f6dce6;

    border-radius: var(--radius-lg);
}

.personal-card h2 {
    margin-bottom: 10px;

    color: var(--black);

    font-family: "Playfair Display", serif;

    font-size: 2.2rem;

    font-weight: 500;
}

.personal-card p {
    max-width: 700px;

    margin-bottom: 0;

    color: var(--gray-700);
}


/* =========================================================
   CATÁLOGO
   ========================================================= */

.page-hero {
    background: white;
}

.page-hero.compact {
    padding: 48px 0 30px;
}

.page-hero h1 {
    margin: 0;

    color: var(--black);

    font-size: 1.45rem;

    font-weight: 600;

    letter-spacing: -0.02em;
}

.page-hero p {
    margin-top: 7px;

    color: var(--gray-700);

    font-size: 0.84rem;
}

.catalog-toolbar {
    display: grid;

    grid-template-columns: 1fr 220px 180px;

    gap: 10px;

    align-items: center;

    margin-bottom: 28px;
}

.search-box {
    min-height: 47px;

    display: flex;

    align-items: center;

    padding: 0 13px;

    background: white;

    border: 1px solid var(--gray-200);

    border-radius: 10px;
}

.search-box:focus-within {
    border-color: var(--gray-400);

    box-shadow:
        0 0 0 3px rgba(239, 95, 152, 0.07);
}

.search-box input {
    width: 100%;

    padding: 10px;

    border: none;

    outline: none;

    background: transparent;

    font-size: 0.82rem;
}

.form-select {
    min-height: 47px;

    border: 1px solid var(--gray-200);

    border-radius: 10px;

    font-size: 0.78rem;
}

.filter-pills {
    display: flex;

    gap: 7px;

    flex-wrap: wrap;
}

.filter-pills a {
    padding: 8px 14px;

    background: white;

    border: 1px solid var(--gray-200);

    border-radius: 999px;

    color: var(--gray-700);

    font-size: 0.7rem;

    font-weight: 600;
}

.filter-pills a:hover,
.filter-pills a.active {
    background: var(--black);

    border-color: var(--black);

    color: white;
}


/* =========================================================
   DETALLE PRODUCTO
   ========================================================= */

.detail-image {
    overflow: hidden;

    background: #f3f1f2;

    border-radius: var(--radius-lg);
}

.detail-image img {
    width: 100%;
    height: 690px;

    object-fit: cover;
}

.detail-copy {
    position: sticky;

    top: 125px;
}

.detail-copy h1 {
    margin: 2px 0 10px;

    color: var(--black);

    font-family: "Playfair Display", serif;

    font-size: clamp(2.4rem, 4vw, 3.8rem);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -0.04em;
}

.detail-copy .lead {
    max-width: 540px;

    color: var(--gray-700);

    font-size: 0.92rem;

    line-height: 1.7;
}

.detail-price {
    margin: 22px 0 18px;

    color: var(--black);

    font-size: 1.6rem;

    font-weight: 700;
}


/* =========================================================
   PRECIO TRANSFERENCIA
   ========================================================= */

.detail-transfer {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 16px 18px;

    background:
        linear-gradient(
            120deg,
            #fff0f6,
            #fff7fa
        );

    border: 1px solid #f3ccdc;

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

    color: var(--pink-strong);
}

.detail-transfer i {
    width: 37px;
    height: 37px;

    display: grid;

    place-items: center;

    background: white;

    border-radius: 50%;

    font-size: 1rem;

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

.detail-transfer small,
.detail-transfer strong {
    display: block;
}

.detail-transfer small {
    font-size: 0.73rem;

    font-weight: 500;
}

.detail-transfer strong {
    margin-top: 1px;

    font-size: 1.22rem;
}


/* =========================================================
   OPCIONES
   ========================================================= */

.option-group {
    margin-top: 26px;
}

.option-group > label {
    display: block;

    margin-bottom: 11px;

    color: var(--gray-900);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.option-buttons {
    display: flex;

    gap: 9px;

    flex-wrap: wrap;
}

.option-buttons button {
    min-width: 50px;
    min-height: 44px;

    padding: 0 15px;

    background: white;

    border: 1px solid var(--gray-300);

    border-radius: 10px;

    color: var(--gray-900);

    font-size: 0.8rem;

    font-weight: 500;

    transition:
        border 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.option-buttons button:hover:not(:disabled) {
    border-color: var(--black);

    transform: translateY(-1px);
}

.option-buttons button.active {
    background: var(--black);

    border-color: var(--black);

    color: white;

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

.option-buttons button:disabled {
    cursor: not-allowed;

    opacity: 0.35;
}

.option-group > small {
    margin-top: 8px !important;

    color: var(--gray-500) !important;

    font-size: 0.72rem;
}


/* =========================================================
   CANTIDAD - MODERNA
   ========================================================= */

.qty-control {
    width: max-content;

    min-width: 148px;
    height: 48px;

    display: grid;

    grid-template-columns: 46px 56px 46px;

    align-items: center;

    overflow: hidden;

    background: white;

    border: 1px solid var(--gray-300);

    border-radius: 12px;

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

.qty-control button {
    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    padding: 0;

    background: transparent;

    border: 0;

    color: var(--black);

    font-size: 1.15rem;

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.qty-control button:hover:not(:disabled) {
    background: var(--pink-soft);

    color: var(--pink-strong);
}

.qty-control button:disabled {
    cursor: default;

    color: var(--gray-300);

    background: transparent;
}

.qty-control > span {
    min-width: 56px;

    display: grid;

    place-items: center;

    color: var(--black);

    font-size: 0.95rem;

    font-weight: 700;

    border-left: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);

    user-select: none;
}


/* =========================================================
   STOCK
   ========================================================= */

.stock-ok,
.out-stock {
    min-height: 43px;

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 22px;

    padding: 11px 14px;

    border-radius: 10px;

    font-size: 0.77rem;

    font-weight: 600;
}

.stock-ok {
    background: var(--success-soft);

    color: var(--success);
}

.out-stock {
    background: var(--danger-soft);

    color: var(--danger);
}


/* =========================================================
   BOTÓN AGREGAR PRODUCTO
   ========================================================= */

#addProductToCart {
    min-height: 54px;

    margin-top: 15px !important;

    border-radius: 12px;

    font-size: 0.83rem;

    letter-spacing: 0.02em;
}

#addProductToCart:disabled {
    background: var(--gray-200);

    border-color: var(--gray-200);

    color: var(--gray-500);

    cursor: not-allowed;

    box-shadow: none;

    transform: none;
}


/* =========================================================
   INFORMACIÓN PRODUCTO
   ========================================================= */

.detail-notes {
    margin-top: 28px;

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

.detail-notes > div {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 16px 3px;

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

.detail-notes i {
    margin-top: 2px;

    color: var(--pink-strong);

    font-size: 1.15rem;
}

.detail-notes b {
    display: block;

    color: var(--gray-900);

    font-size: 0.78rem;
}

.detail-notes small {
    display: block;

    margin-top: 2px;

    color: var(--gray-600);

    font-size: 0.72rem;
}


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

.cart-list {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

.cart-item {
    display: grid;

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

    gap: 17px;

    padding: 16px;

    background: white;

    border: 1px solid var(--gray-200);

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

.cart-item > img {
    width: 105px;
    height: 130px;

    object-fit: cover;

    border-radius: 9px;
}

.cart-item-info small {
    color: var(--gray-500);
}

.cart-item-info h4 {
    margin: 4px 0;

    color: var(--black);

    font-size: 0.95rem;
}

.cart-line-total {
    align-self: center;
}

.cart-summary {
    position: sticky;

    top: 120px;

    padding: 25px;

    background: white;

    border: 1px solid var(--gray-200);

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

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

.summary-row {
    display: flex;

    justify-content: space-between;

    margin: 14px 0;
}

.summary-row.transfer {
    color: var(--pink-strong);
}


/* =========================================================
   POLÍTICAS
   ========================================================= */

.policy-card {
    max-width: 900px;

    margin: auto;

    padding: 48px;

    background: white;

    border: 1px solid var(--gray-200);

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

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

.policy-icon {
    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    background: var(--pink-soft);

    color: var(--pink-strong);

    border-radius: 50%;

    font-size: 1.4rem;
}

.policy-card h2 {
    margin: 18px 0;

    font-family: "Playfair Display", serif;

    font-weight: 500;
}

.policy-card p {
    color: var(--gray-700);

    line-height: 1.7;
}

.policy-alert {
    display: flex;

    gap: 12px;

    margin-top: 20px;

    padding: 15px;

    background: var(--gray-100);

    border-radius: 10px;
}


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

.admin-login-page {
    min-height: calc(100vh - 92px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 65px 20px;

    background:
        radial-gradient(
            circle at 90% 10%,
            #ffe9f2 0,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fafafa,
            #fff
        );
}

.admin-login-wrapper {
    width: 100%;

    max-width: 445px;
}

.admin-login-brand {
    margin-bottom: 27px;

    text-align: center;
}

.admin-login-logo {
    width: 78px;
    height: 78px;

    margin: 0 auto 13px;

    object-fit: contain;

    background: white;

    border: 1px solid var(--gray-200);

    border-radius: 18px;

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

.admin-login-brand h1 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: 1.95rem;
}

.admin-login-brand p {
    margin-top: 6px;

    color: var(--gray-500);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.admin-login-card {
    padding: 39px;

    background: white;

    border: 1px solid var(--gray-200);

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

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

.admin-login-eyebrow {
    color: var(--pink-strong);

    font-size: 0.63rem;

    font-weight: 700;

    letter-spacing: 0.18em;
}

.admin-login-header h2 {
    margin: 6px 0;

    font-family: "Playfair Display", serif;

    font-size: 1.9rem;
}

.admin-login-header p {
    color: var(--gray-700);

    font-size: 0.83rem;
}

.admin-login-error {
    display: flex;

    align-items: center;

    gap: 9px;

    margin: 20px 0;

    padding: 12px 13px;

    background: var(--danger-soft);

    color: var(--danger);

    border-radius: 9px;

    font-size: 0.78rem;
}

.admin-login-form {
    display: flex;

    flex-direction: column;

    gap: 19px;
}

.admin-field label {
    display: block;

    margin-bottom: 7px;

    color: var(--gray-900);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.admin-input-wrap {
    min-height: 51px;

    display: flex;

    align-items: center;

    background: white;

    border: 1px solid var(--gray-300);

    border-radius: 10px;

    transition:
        border 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-input-wrap:focus-within {
    border-color: var(--pink);

    box-shadow:
        0 0 0 4px rgba(239, 95, 152, 0.08);
}

.admin-input-wrap i {
    width: 47px;

    color: var(--gray-500);

    text-align: center;
}

.admin-input-wrap input {
    flex: 1;

    height: 49px;

    padding-right: 14px;

    border: 0;

    outline: 0;
}

.admin-login-button {
    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 18px;

    background: var(--black);

    color: white;

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

    border-radius: 11px;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    cursor: pointer;
}

.admin-login-button:hover {
    background: #2a2729;
}

.admin-login-footer {
    margin-top: 23px;

    padding-top: 20px;

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

    text-align: center;
}

.admin-login-footer a {
    color: var(--gray-700);

    font-size: 0.76rem;
}


/* =========================================================
   ADMIN GENERAL
   ========================================================= */

.admin-body {
    margin: 0;

    overflow-x: hidden;

    background: #f7f6f7;
}

.admin-shell {
    min-height: 100vh;

    display: flex;
}


/* =========================================================
   ADMIN SIDEBAR
   ========================================================= */

.admin-sidebar {
    position: fixed;

    top: 0;
    bottom: 0;
    left: 0;

    z-index: 1100;

    width: var(--admin-sidebar-width);

    display: flex;

    flex-direction: column;

    background: rgba(255, 255, 255, 0.98);

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

.admin-sidebar-brand {
    min-height: 104px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 20px;

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

.admin-sidebar-brand img {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    object-fit: contain;

    padding: 3px;

    background: white;

    border: 1px solid var(--gray-200);

    border-radius: 13px;
}

.admin-sidebar-brand div {
    display: flex;

    flex-direction: column;
}

.admin-sidebar-brand strong {
    font-family: "Playfair Display", serif;

    font-size: 1.35rem;

    line-height: 1;
}

.admin-sidebar-brand span {
    margin-top: 6px;

    color: var(--pink-strong);

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 0.17em;
}

.admin-sidebar-nav {
    flex: 1;

    padding: 22px 13px;
}

.admin-nav-link {
    width: 100%;

    min-height: 49px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 0 14px;

    margin-bottom: 5px;

    background: transparent;

    border: 0;

    border-radius: 10px;

    color: var(--gray-700);

    font-size: 0.83rem;

    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.admin-nav-link i {
    width: 20px;

    text-align: center;

    font-size: 1rem;
}

.admin-nav-link:hover {
    background: var(--gray-100);

    color: var(--black);

    transform: translateX(2px);
}

.admin-nav-link.active {
    background:
        linear-gradient(
            90deg,
            #ffe4ee,
            #fff0f6
        );

    color: var(--pink-strong);

    font-weight: 700;
}

.admin-sidebar-bottom {
    padding: 14px 13px;

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

.admin-sidebar-bottom form {
    margin: 0;
}

.admin-logout {
    color: var(--danger);
}


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

.admin-main {
    width: calc(
        100% - var(--admin-sidebar-width)
    );

    min-height: 100vh;

    margin-left: var(--admin-sidebar-width);
}

.admin-topbar {
    position: sticky;

    top: 0;

    z-index: 1000;

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 34px;

    background: rgba(255, 255, 255, 0.94);

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

    backdrop-filter: blur(14px);
}

.admin-topbar-title {
    display: flex;

    flex-direction: column;
}

.admin-topbar-title span {
    color: var(--gray-500);

    font-size: 0.57rem;

    font-weight: 700;

    letter-spacing: 0.16em;
}

.admin-topbar-title strong {
    margin-top: 3px;

    font-size: 0.92rem;
}

.admin-user {
    display: flex;

    align-items: center;

    gap: 10px;
}

.admin-user-icon {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    background: var(--pink-soft);

    color: var(--pink-strong);

    border-radius: 50%;
}

.admin-user > div:last-child {
    display: flex;

    flex-direction: column;
}

.admin-user strong {
    font-size: 0.8rem;
}

.admin-user span {
    color: var(--gray-500);

    font-size: 0.67rem;
}

.admin-menu-button {
    display: none;

    background: transparent;

    border: 0;

    font-size: 1.5rem;
}

.admin-content {
    max-width: 1550px;

    margin: auto;

    padding: 37px;
}


/* =========================================================
   ADMIN DASHBOARD
   ========================================================= */

.admin-dashboard-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.admin-section-label {
    display: block;

    margin-bottom: 6px;

    color: var(--pink-strong);

    font-size: 0.59rem;

    font-weight: 700;

    letter-spacing: 0.18em;
}

.admin-dashboard-header h1 {
    margin: 0;

    color: var(--black);

    font-family: "Playfair Display", serif;

    font-size: 2.35rem;

    font-weight: 600;

    letter-spacing: -0.04em;
}

.admin-dashboard-header p {
    margin-top: 7px;

    color: var(--gray-700);
}

.admin-outline-button {
    min-height: 43px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 0 16px;

    background: white;

    border: 1px solid var(--gray-300);

    border-radius: 10px;

    font-size: 0.74rem;

    font-weight: 600;

    transition:
        border 0.18s ease,
        box-shadow 0.18s ease;
}

.admin-outline-button:hover {
    border-color: var(--gray-500);

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


/* =========================================================
   ADMIN MÉTRICAS
   ========================================================= */

.admin-metrics {
    display: grid;

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

    gap: 16px;

    margin-bottom: 32px;
}

.admin-metric-card {
    min-height: 176px;

    padding: 21px;

    background: white;

    border: 1px solid var(--gray-200);

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

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

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.admin-metric-card:hover {
    transform: translateY(-2px);

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

.admin-metric-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;
}

.admin-metric-top > span {
    color: var(--gray-500);

    font-size: 0.64rem;
}

.admin-metric-icon {
    width: 41px;
    height: 41px;

    display: grid;

    place-items: center;

    background: var(--pink-soft);

    color: var(--pink-strong);

    border-radius: 50%;
}

.admin-metric-icon.warning {
    background: var(--warning-soft);

    color: var(--warning);
}

.admin-metric-card p {
    margin: 0;

    color: var(--gray-700);

    font-size: 0.76rem;
}

.admin-metric-card strong {
    display: block;

    margin: 5px 0;

    color: var(--black);

    font-size: 1.8rem;
}

.admin-metric-card small {
    color: var(--gray-500);

    font-size: 0.67rem;
}


/* =========================================================
   ADMIN SECCIONES
   ========================================================= */

.admin-dashboard-section {
    margin-top: 29px;
}

.admin-section-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 16px;
}

.admin-section-header h2 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: 1.55rem;
}

.admin-section-header p {
    margin: 4px 0 0;

    color: var(--gray-700);

    font-size: 0.76rem;
}


/* =========================================================
   ADMIN ACCIONES RÁPIDAS
   ========================================================= */

.admin-quick-actions {
    display: grid;

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

    gap: 14px;
}

.admin-quick-card {
    min-height: 102px;

    display: grid;

    grid-template-columns: 44px 1fr 20px;

    align-items: center;

    gap: 13px;

    padding: 16px;

    background: white;

    border: 1px solid var(--gray-200);

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

    text-align: left;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border 0.18s ease;
}

.admin-quick-card:hover {
    transform: translateY(-2px);

    border-color: #ddd5d9;

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

.admin-quick-icon {
    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    background: var(--pink-soft);

    color: var(--pink-strong);

    border-radius: 50%;
}

.admin-quick-card > span:nth-child(2) {
    display: flex;

    flex-direction: column;
}

.admin-quick-card strong {
    color: var(--black);

    font-size: 0.78rem;
}

.admin-quick-card small {
    margin-top: 3px;

    color: var(--gray-500);

    font-size: 0.65rem;
}

.admin-quick-arrow {
    color: var(--gray-400);
}


/* =========================================================
   ADMIN BOTÓN PRINCIPAL
   ========================================================= */

.admin-primary-button {
    min-height: 43px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 0 16px;

    background: var(--black);

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

    border-radius: 10px;

    color: white;

    font-size: 0.72rem;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.admin-primary-button:hover {
    background: #2b2729;

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

    transform: translateY(-1px);
}


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

.admin-products-panel {
    overflow: hidden;

    background: white;

    border: 1px solid var(--gray-200);

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

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

.admin-products-table {
    width: 100%;

    border-collapse: collapse;
}

.admin-products-table th {
    padding: 14px 18px;

    background: #faf9fa;

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

    color: var(--gray-500);

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.admin-products-table td {
    padding: 14px 18px;

    color: var(--gray-900);

    font-size: 0.75rem;

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

    vertical-align: middle;
}

.admin-products-table tbody tr {
    transition: background 0.16s ease;
}

.admin-products-table tbody tr:hover {
    background: #fdfbfd;
}

.admin-products-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-product-cell {
    display: flex;

    align-items: center;

    gap: 11px;
}

.admin-product-cell img {
    width: 50px;
    height: 60px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 8px;
}

.admin-product-cell div {
    display: flex;

    flex-direction: column;
}

.admin-product-cell strong {
    color: var(--black);

    font-size: 0.77rem;
}

.admin-product-cell span {
    margin-top: 2px;

    color: var(--gray-500);

    font-size: 0.65rem;
}

.admin-table-price {
    color: var(--black);
}


/* =========================================================
   ADMIN ESTADOS
   ========================================================= */

.admin-status {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 6px 9px;

    border-radius: 999px;

    font-size: 0.65rem;

    font-weight: 600;
}

.admin-status > span {
    width: 6px;
    height: 6px;

    border-radius: 50%;
}

.admin-status.available {
    background: var(--success-soft);

    color: var(--success);
}

.admin-status.available > span {
    background: #54a977;
}

.admin-status.unavailable {
    background: var(--danger-soft);

    color: var(--danger);
}

.admin-status.unavailable > span {
    background: #d66580;
}


/* =========================================================
   ADMIN ACCIONES TABLA
   ========================================================= */

.admin-table-action {
    width: 35px;
    height: 35px;

    display: inline-grid;

    place-items: center;

    margin-left: 3px;

    background: white;

    border: 1px solid var(--gray-200);

    border-radius: 9px;

    color: var(--gray-700);

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border 0.18s ease;
}

.admin-table-action:hover {
    background: var(--gray-100);

    border-color: var(--gray-300);

    color: var(--black);
}


/* =========================================================
   ADMIN EMPTY
   ========================================================= */

.admin-empty-state {
    padding: 65px 20px;

    text-align: center;
}

.admin-empty-state i {
    color: var(--gray-300);

    font-size: 2.3rem;
}

.admin-empty-state h3 {
    margin: 14px 0 4px;

    font-size: 1rem;
}

.admin-empty-state p {
    color: var(--gray-500);

    font-size: 0.76rem;
}


/* =========================================================
   ADMIN AVISO
   ========================================================= */

.admin-development-note {
    display: flex;

    gap: 13px;

    margin-top: 28px;

    padding: 17px 19px;

    background: var(--warning-soft);

    border: 1px solid #f0dfbb;

    border-radius: 11px;

    color: #765e32;
}

.admin-development-note strong {
    display: block;

    font-size: 0.75rem;
}

.admin-development-note p {
    margin: 3px 0 0;

    font-size: 0.68rem;

    line-height: 1.5;
}


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

.site-footer {
    margin-top: 90px;

    padding: 48px 0 22px;

    background: #faf9fa;

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

.footer-content {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 40px;
}

.footer-content strong {
    font-family: "Playfair Display", serif;

    font-size: 1.4rem;
}

.footer-content p {
    margin-top: 7px;

    color: var(--gray-700);

    font-size: 0.78rem;
}

.footer-links {
    display: flex;

    gap: 27px;

    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-700);

    font-size: 0.69rem;

    font-weight: 600;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}

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

.footer-bottom {
    margin-top: 35px;

    padding-top: 18px;

    color: var(--gray-500);

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

    font-size: 0.68rem;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-float {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 1040;

    width: 56px;
    height: 56px;

    display: grid;

    place-items: center;

    background: #25d366;

    color: white;

    border: 3px solid rgba(255, 255, 255, 0.85);

    border-radius: 50%;

    font-size: 1.45rem;

    box-shadow:
        0 12px 34px rgba(19, 127, 64, 0.26);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    color: white;

    transform: translateY(-4px);

    box-shadow:
        0 17px 39px rgba(19, 127, 64, 0.31);
}


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

.toast {
    overflow: hidden;

    background: white;

    border: 1px solid var(--gray-200);

    border-radius: 12px;

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


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

@media (max-width: 1200px) {

    .admin-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 78px;
    }

    .brand-logo {
        width: 53px;
        height: 53px;
    }

    .brand-title {
        font-size: 1.4rem;
    }

    .navbar-collapse {
        margin-top: 10px;

        padding: 7px 0 18px;

        background: white;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-link {
        padding: 13px 5px;

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

    .navbar-nav .nav-link::before {
        display: none;
    }

    .dropdown-menu {
        box-shadow: none !important;
    }

    .nav-actions {
        margin-top: 13px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .hero-visual > img {
        height: 500px;
    }

    .hero-card {
        left: 20px;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .search-box {
        grid-column: 1 / -1;
    }

    .detail-copy {
        position: static;
    }

    .detail-image img {
        height: 570px;
    }

    .personal-card {
        flex-direction: column;

        align-items: flex-start;
    }


    /* ADMIN */

    .admin-sidebar {
        left: calc(
            var(--admin-sidebar-width) * -1
        );

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

        transition: left 0.25s ease;
    }

    .admin-sidebar.admin-sidebar-open {
        left: 0;
    }

    .admin-main {
        width: 100%;

        margin-left: 0;
    }

    .admin-menu-button {
        display: block;
    }

    .admin-topbar {
        padding: 0 20px;
    }

    .admin-topbar-title {
        flex: 1;

        margin-left: 12px;
    }

    .admin-content {
        padding: 26px 20px;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 575.98px) {

    body {
        font-size: 14px;
    }


    /* HEADER */

    .site-header .navbar {
        min-height: 70px;
    }

    .brand-wrap {
        gap: 8px;
    }

    .brand-logo {
        width: 47px;
        height: 47px;

        border-radius: 10px;
    }

    .brand-title {
        font-size: 1.15rem;
    }

    .brand-subtitle {
        margin-top: 4px;

        font-size: 0.47rem;
    }

    .login-link {
        width: 42px;

        justify-content: center;

        padding: 0;
    }

    .login-link span {
        display: none;
    }


    /* HERO */

    .hero-grid {
        min-height: auto;

        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-copy h1 {
        font-size: 3rem;
    }

    .hero-copy p {
        font-size: 0.94rem;
    }

    .hero-visual > img {
        height: 390px;

        border-radius: var(--radius-lg);
    }


    /* SECCIONES */

    .section-space {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .category-card {
        height: 390px;

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

    .category-card h3 {
        font-size: 2.3rem;
    }


    /* PRODUCTOS */

    .product-image-wrap {
        height: 275px;

        border-radius: 10px;
    }

    .product-info {
        padding: 10px 2px 18px;
    }

    .product-title {
        font-size: 0.8rem;
    }

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


    /* CATÁLOGO */

    .catalog-toolbar {
        grid-template-columns: 1fr;
    }

    .search-box {
        grid-column: auto;
    }

    .filter-pills {
        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;
    }


    /* DETALLE */

    .detail-image img {
        height: 455px;
    }

    .detail-copy h1 {
        font-size: 2.25rem;
    }

    .detail-transfer {
        padding: 13px;
    }

    .option-buttons button {
        min-width: 48px;
        min-height: 44px;
    }


    /* CANTIDAD */

    .qty-control {
        min-width: 154px;
        height: 50px;

        grid-template-columns: 48px 58px 48px;
    }

    .qty-control button {
        width: 48px;
        height: 48px;
    }


    /* CARRITO */

    .cart-item {
        grid-template-columns: 84px 1fr;

        padding: 12px;
    }

    .cart-item > img {
        width: 84px;
        height: 104px;
    }

    .cart-line-total {
        grid-column: 2;
    }


    /* POLICY */

    .policy-card {
        padding: 27px 22px;
    }


    /* PERSONAL */

    .personal-card {
        padding: 30px 24px;
    }


    /* LOGIN */

    .admin-login-page {
        padding: 38px 14px;
    }

    .admin-login-card {
        padding: 28px 22px;
    }


    /* ADMIN */

    .admin-topbar {
        height: 70px;

        padding: 0 14px;
    }

    .admin-topbar-title span {
        display: none;
    }

    .admin-user > div:last-child {
        display: none;
    }

    .admin-content {
        padding: 20px 14px;
    }

    .admin-dashboard-header {
        flex-direction: column;

        gap: 18px;
    }

    .admin-dashboard-header h1 {
        font-size: 1.95rem;
    }

    .admin-metrics {
        grid-template-columns: 1fr;
    }

    .admin-quick-actions {
        grid-template-columns: 1fr;
    }

    .admin-section-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .admin-products-table {
        min-width: 800px;
    }


    /* FOOTER */

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;

        gap: 11px;
    }

}
/* =========================================================
   AJUSTES FUNCIONALES V3 - mobile/admin
   (el diseño final se pulirá al terminar la funcionalidad)
   ========================================================= */
.mobile-nav-actions { gap: 4px; }
.mobile-header-icon {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--black);
    font-size: 1.1rem;
}
.admin-sidebar { overflow-y: auto; }
.admin-sidebar-bottom { margin-top: auto; flex-shrink: 0; background: white; }
.admin-logout { width: 100%; }
.cart-remove-button { min-height: 42px; }

@media (max-width: 991.98px) {
    .site-header .container-fluid { flex-wrap: wrap; }
    .navbar-collapse { width: 100%; }
    .navbar-collapse .nav-actions { display: none !important; }
    .site-header { position: sticky; top: 0; }
}

@media (max-width: 575.98px) {
    .brand-wrap { margin-right: 0; }
    .brand-logo { width: 43px; height: 43px; }
    .brand-title { font-size: 1.05rem; }
    .mobile-nav-actions { margin-left: auto; }
    .hero-copy .d-flex { flex-direction: column; align-items: stretch !important; }
    .hero-copy .btn { width: 100%; }
    .category-card { height: 330px; }
    .detail-transfer { padding: 11px 12px; }
    .detail-transfer i { width: 32px; height: 32px; }
    .whatsapp-float { right: 12px; bottom: 78px; width: 50px; height: 50px; font-size: 1.25rem; }
    .cart-item { grid-template-columns: 84px 1fr; }
    .cart-line-total { grid-column: 2; justify-self: start; }
    .cart-remove-button span { display: none; }
    .cart-summary { position: static; }
}


/* =========================================================
   HELEN ADMIN PREMIUM V5
   Rediseño visual integral del sistema interno
   ========================================================= */

.admin-body {
    --admin-sidebar-width: 276px;

    min-height: 100vh;

    background:
        radial-gradient(circle at 84% 0%, rgba(255, 221, 234, 0.65), transparent 24%),
        linear-gradient(180deg, #fffafb 0%, #f8f6f8 42%, #f6f4f6 100%);

    color: #282226;
}

/* SHELL */

.admin-shell {
    min-height: 100vh;
}

.admin-main {
    background: transparent;
}

/* SIDEBAR */

.admin-sidebar {
    width: var(--admin-sidebar-width);

    overflow-y: auto;

    background:
        linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,248,251,.98));

    border-right: 1px solid rgba(232, 221, 226, .95);

    box-shadow:
        18px 0 50px rgba(62, 42, 51, .055);
}

.admin-sidebar-brand {
    min-height: 112px;

    gap: 13px;

    padding: 22px 20px 18px;

    border-bottom: 0;
}

.admin-brand-mark {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: grid !important;
    place-items: center;

    overflow: hidden;

    background: white;

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

    box-shadow:
        0 10px 28px rgba(72, 47, 58, .10);
}

.admin-brand-mark img {
    width: 100%;
    height: 100%;

    padding: 3px;

    object-fit: contain;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}

.admin-brand-copy {
    min-width: 0;

    display: flex !important;
    flex-direction: column;
}

.admin-brand-copy strong {
    font-family: "Playfair Display", serif;

    color: #221c20;

    font-size: 1.55rem;
    font-weight: 600;

    line-height: .95;

    letter-spacing: -.035em;
}

.admin-brand-copy span {
    margin-top: 8px;

    color: var(--pink-strong);

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

    letter-spacing: .23em;
}

.admin-sidebar-caption {
    padding: 5px 27px 9px;
}

.admin-sidebar-caption span {
    color: #aaa0a5;

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

    letter-spacing: .18em;
}

.admin-sidebar-close {
    display: none;

    margin-left: auto;

    width: 38px;
    height: 38px;

    place-items: center;

    background: transparent;

    border: 0;
    border-radius: 10px;

    color: #71676c;

    font-size: 1.05rem;
}

.admin-sidebar-nav {
    padding: 10px 14px 20px;
}

.admin-nav-link {
    min-height: 52px;

    gap: 12px;

    padding: 0 13px;

    margin-bottom: 4px;

    border-radius: 13px;

    color: #71686d;

    font-size: .81rem;
    font-weight: 600;

    transform: none;

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

.admin-nav-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;
    place-items: center;

    background: transparent;

    border-radius: 10px;

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

.admin-nav-icon i {
    width: auto;

    font-size: .96rem;
}

.admin-nav-link:hover {
    background: rgba(248, 238, 242, .8);

    color: #2c2428;

    transform: translateX(2px);
}

.admin-nav-link:hover .admin-nav-icon {
    background: white;

    box-shadow:
        0 5px 16px rgba(70, 49, 58, .06);
}

.admin-nav-link.active {
    position: relative;

    background:
        linear-gradient(100deg, #ffdfe9 0%, #fff0f5 70%, #fff8fa 100%);

    color: #ca3d73;

    font-weight: 700;

    box-shadow:
        0 9px 23px rgba(215, 75, 126, .09);
}

.admin-nav-link.active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 12px;
    bottom: 12px;

    width: 3px;

    background:
        linear-gradient(180deg, #f46ea2, #d93677);

    border-radius: 0 999px 999px 0;
}

.admin-nav-link.active .admin-nav-icon {
    background: white;

    color: #d83c78;

    box-shadow:
        0 6px 18px rgba(209, 64, 119, .10);
}

.admin-nav-separator {
    height: 1px;

    margin: 14px 12px;

    background:
        linear-gradient(90deg, transparent, #eadfe4 15%, #eadfe4 85%, transparent);
}

.admin-sidebar-bottom {
    margin-top: auto;

    padding: 14px;

    background:
        linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,248,251,.98));

    border-top: 1px solid #eee3e8;
}

.admin-sidebar-mini-card {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 10px;

    padding: 13px;

    background:
        linear-gradient(135deg, #fff0f5, #fffafd);

    border: 1px solid #f2dfe7;
    border-radius: 15px;
}

.admin-sidebar-mini-icon {
    width: 37px;
    height: 37px;

    flex: 0 0 37px;

    display: grid;
    place-items: center;

    background: white;

    color: #d9417a;

    border-radius: 12px;

    box-shadow:
        0 7px 18px rgba(209, 63, 119, .10);
}

.admin-sidebar-mini-card > div:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.admin-sidebar-mini-card strong {
    overflow: hidden;

    color: #332a2f;

    font-size: .68rem;

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

.admin-sidebar-mini-card span {
    margin-top: 2px;

    color: #9d9197;

    font-size: .58rem;
}

.admin-logout {
    color: #b94c68;
}

.admin-logout:hover {
    background: #fff0f3;

    color: #a53857;
}

/* TOPBAR */

.admin-topbar {
    height: 86px;

    padding: 0 34px;

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

    border-bottom: 1px solid rgba(232, 222, 226, .92);

    box-shadow:
        0 9px 30px rgba(52, 36, 43, .035);

    backdrop-filter: blur(22px);
}

.admin-topbar-left,
.admin-topbar-actions {
    display: flex;

    align-items: center;
}

.admin-topbar-left {
    gap: 14px;
}

.admin-topbar-actions {
    gap: 12px;
}

.admin-topbar-title span {
    color: #a0949a;

    font-size: .54rem;
    letter-spacing: .2em;
}

.admin-topbar-title strong {
    margin-top: 4px;

    color: #2c2529;

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

.admin-topbar-store {
    min-height: 42px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 0 14px;

    background: white;

    border: 1px solid #eadfe4;
    border-radius: 12px;

    color: #665b61;

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

    box-shadow:
        0 6px 18px rgba(52, 35, 43, .04);

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

.admin-topbar-store:hover {
    color: #d43e77;

    border-color: #f0c7d8;

    transform: translateY(-1px);

    box-shadow:
        0 10px 24px rgba(209, 62, 117, .08);
}

.admin-user {
    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 4px 7px 4px 5px;

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

    border: 1px solid transparent;
    border-radius: 15px;

    color: #2f282c;

    transition:
        background .18s ease,
        border .18s ease;
}

.admin-user:hover,
.admin-user[aria-expanded="true"] {
    background: white;

    border-color: #eadfe4;
}

.admin-user-icon {
    width: 39px;
    height: 39px;

    flex: 0 0 39px;

    background:
        linear-gradient(135deg, #ffe5ee, #fff3f7);

    color: #d83d77;

    border: 1px solid #f4d6e1;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9);
}

.admin-user-copy {
    display: flex;
    flex-direction: column;

    text-align: left;
}

.admin-user-copy strong {
    color: #31292d;

    font-size: .76rem;
}

.admin-user-copy span {
    margin-top: 2px;

    color: #a3979d;

    font-size: .61rem;
}

.admin-user-chevron {
    margin-left: 2px;

    color: #a2959c;

    font-size: .67rem;
}

.admin-user-menu {
    min-width: 225px;

    padding: 9px;

    border: 1px solid #eadfe4 !important;
    border-radius: 16px;

    box-shadow:
        0 18px 50px rgba(54, 37, 45, .12) !important;
}

.admin-user-menu-header {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 7px 7px 9px;
}

.admin-user-menu-avatar {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background: #fff0f5;

    color: #d83e78;

    border-radius: 12px;
}

.admin-user-menu-header > div {
    display: flex;
    flex-direction: column;
}

.admin-user-menu-header strong {
    font-size: .76rem;
}

.admin-user-menu-header small {
    color: #9e9298;

    font-size: .62rem;
}

/* MAIN CONTENT */

.admin-content {
    max-width: none;

    margin: 0;

    padding: 0;
}

.admin-content-inner {
    width: 100%;
    max-width: 1520px;

    margin: 0 auto;

    padding: 42px 44px 64px;
}

.admin-content-inner > .mb-4:first-child,
.admin-content-inner > .d-flex:first-child {
    margin-bottom: 28px !important;
}

/* CABECERAS */

.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body h4,
.admin-body h5 {
    color: #2b2428;
}

.admin-content-inner > .mb-4:first-child h1,
.admin-content-inner > .d-flex:first-child h1 {
    font-family: "Playfair Display", serif;

    font-weight: 600;

    letter-spacing: -.035em;
}

.admin-section-label {
    margin-bottom: 7px;

    color: #d53d76;

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

    letter-spacing: .21em;
}

/* DASHBOARD HERO */

.admin-dashboard-header {
    position: relative;

    overflow: hidden;

    align-items: center;

    min-height: 176px;

    padding: 32px 34px;

    margin-bottom: 22px;

    background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.95) 0 7%, transparent 7.4%),
        radial-gradient(circle at 92% 68%, rgba(255,255,255,.72) 0 14%, transparent 14.4%),
        linear-gradient(120deg, #fff1f6 0%, #ffe1ec 48%, #fff8fb 100%);

    border: 1px solid #f3dce5;
    border-radius: 24px;

    box-shadow:
        0 18px 48px rgba(151, 71, 103, .09);
}

.admin-dashboard-header::after {
    content: "";

    position: absolute;

    right: -38px;
    top: -85px;

    width: 260px;
    height: 260px;

    border: 1px solid rgba(220, 76, 132, .12);
    border-radius: 50%;
}

.admin-dashboard-header > * {
    position: relative;

    z-index: 2;
}

.admin-dashboard-header h1 {
    color: #2a2227;

    font-size: clamp(2rem, 3.1vw, 3rem);

    font-weight: 600;
}

.admin-dashboard-header p {
    max-width: 620px;

    margin-bottom: 0;

    color: #786a71;

    font-size: .88rem;
}

.admin-dashboard-header .admin-outline-button {
    background: rgba(255,255,255,.86);

    border-color: rgba(225, 184, 201, .8);
}

/* MÉTRICAS */

.admin-metrics {
    gap: 15px;

    margin-bottom: 30px;
}

.admin-metric-card {
    position: relative;

    overflow: hidden;

    min-height: 166px;

    padding: 20px;

    border: 1px solid rgba(231, 220, 225, .9);
    border-radius: 18px;

    box-shadow:
        0 11px 30px rgba(56, 38, 46, .05);
}

.admin-metric-card:nth-child(1) {
    background:
        linear-gradient(135deg, #fff0f5, #fff9fb 68%);
}

.admin-metric-card:nth-child(2) {
    background:
        linear-gradient(135deg, #f4efff, #fcfaff 68%);
}

.admin-metric-card:nth-child(3) {
    background:
        linear-gradient(135deg, #fff6ec, #fffdfa 68%);
}

.admin-metric-card:nth-child(4) {
    background:
        linear-gradient(135deg, #f5f3f6, #fff 68%);
}

.admin-metric-card::after {
    content: "";

    position: absolute;

    right: -36px;
    bottom: -43px;

    width: 120px;
    height: 120px;

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

    border-radius: 50%;
}

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

    border-color: #ead9e1;

    box-shadow:
        0 17px 36px rgba(55, 37, 45, .08);
}

.admin-metric-top {
    position: relative;

    z-index: 2;

    margin-bottom: 17px;
}

.admin-metric-icon {
    width: 42px;
    height: 42px;

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

    color: #d53d76;

    border: 1px solid rgba(232, 206, 216, .75);

    box-shadow:
        0 7px 18px rgba(82, 48, 62, .05);
}

.admin-metric-icon.warning {
    background: rgba(255,255,255,.84);

    color: #b67b26;
}

.admin-metric-card p,
.admin-metric-card strong,
.admin-metric-card small {
    position: relative;

    z-index: 2;
}

.admin-metric-card p {
    color: #7d7076;

    font-size: .73rem;
}

.admin-metric-card strong {
    margin: 4px 0 3px;

    color: #2a2327;

    font-size: 1.9rem;
    letter-spacing: -.04em;
}

.admin-metric-card small {
    color: #95888e;

    font-size: .64rem;
}

/* GENERAL CARDS */

.admin-body .card {
    border: 1px solid #eae0e5 !important;
    border-radius: 18px !important;

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

    box-shadow:
        0 10px 30px rgba(55, 37, 45, .045) !important;
}

.admin-body .card .card-body {
    padding: 21px;
}

.admin-body .card h2,
.admin-body .card h3,
.admin-body .card h4 {
    font-weight: 700;
}

/* QUICK ACTIONS */

.admin-quick-actions {
    gap: 14px;
}

.admin-quick-card {
    min-height: 108px;

    padding: 17px;

    background:
        linear-gradient(135deg, #ffffff, #fffafb);

    border: 1px solid #eadfe4;
    border-radius: 17px;

    box-shadow:
        0 9px 24px rgba(54, 36, 44, .035);
}

.admin-quick-card:hover {
    border-color: #efd0dd;

    box-shadow:
        0 15px 32px rgba(102, 55, 75, .07);
}

.admin-quick-icon {
    background:
        linear-gradient(135deg, #ffe5ee, #fff3f7);

    color: #d43e76;

    border: 1px solid #f4d5e1;
}

.admin-quick-arrow {
    color: #d7c7ce;
}

/* SECTIONS */

.admin-dashboard-section {
    margin-top: 32px;
}

.admin-section-header {
    margin-bottom: 15px;
}

.admin-section-header h2 {
    color: #2e272b;

    font-family: "Playfair Display", serif;

    font-size: 1.55rem;
    font-weight: 600;
}

/* BUTTONS */

.admin-primary-button {
    min-height: 44px;

    padding: 0 17px;

    background:
        linear-gradient(135deg, #262024, #171417);

    border-color: #171417;
    border-radius: 12px;

    box-shadow:
        0 8px 20px rgba(34, 26, 30, .12);
}

.admin-primary-button:hover {
    background:
        linear-gradient(135deg, #df4d83, #c9346c);

    border-color: #c9346c;

    color: white;

    box-shadow:
        0 11px 24px rgba(207, 54, 111, .20);
}

.admin-outline-button {
    min-height: 43px;

    border-radius: 12px;
}

.admin-body .btn {
    border-radius: 11px;

    font-size: .75rem;
}

.admin-body .btn-dark {
    background:
        linear-gradient(135deg, #2a2427, #171417);

    border-color: #171417;
}

.admin-body .btn-dark:hover {
    background:
        linear-gradient(135deg, #de4c82, #c9336b);

    border-color: #c9336b;
}

.admin-body .btn-outline-dark {
    color: #4c4247;

    background: white;

    border-color: #dbd0d5;
}

.admin-body .btn-outline-dark:hover {
    background: #fff2f6;

    border-color: #efc5d6;

    color: #c9366e;
}

/* FORMS */

.admin-body .form-control,
.admin-body .form-select {
    min-height: 45px;

    background-color: rgba(255,255,255,.98);

    border: 1px solid #e0d6da;
    border-radius: 11px;

    color: #393034;

    font-size: .76rem;

    box-shadow: none;

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

.admin-body textarea.form-control {
    min-height: 90px;
}

.admin-body .form-control:focus,
.admin-body .form-select:focus {
    background: white;

    border-color: #e889ad;

    box-shadow:
        0 0 0 4px rgba(227, 79, 136, .08);
}

.admin-body .form-label {
    margin-bottom: 6px;

    color: #6e6268;

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

/* TABLES */

.admin-products-panel {
    border: 1px solid #e9dfe3;

    border-radius: 18px;

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

    box-shadow:
        0 12px 34px rgba(54, 36, 44, .045);
}

.admin-products-table th {
    padding: 14px 17px;

    background:
        linear-gradient(180deg, #fcf9fa, #faf6f8);

    border-bottom-color: #e9dfe3;

    color: #94878d;

    font-size: .59rem;
    letter-spacing: .09em;
}

.admin-products-table td {
    padding: 15px 17px;

    border-bottom-color: #eee6e9;

    color: #4a4045;

    font-size: .74rem;
}

.admin-products-table tbody tr:hover {
    background:
        linear-gradient(90deg, #fffafd, #fff);
}

.admin-table-action {
    border-color: #e7dce1;
    border-radius: 10px;
}

.admin-table-action:hover {
    background: #fff0f5;

    border-color: #efc8d7;

    color: #ce3c73;
}

/* BADGES / STATUS */

.admin-body .badge {
    padding: .48em .72em;

    border-radius: 999px;

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

.admin-status {
    padding: 6px 10px;
}

/* ALERTS */

.admin-body .alert {
    border: 0;

    border-radius: 14px;

    font-size: .76rem;

    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.035);
}

.admin-body .alert-warning {
    background:
        linear-gradient(135deg, #fff5df, #fffaf0);

    color: #7a5926;
}

.admin-body .alert-success {
    background:
        linear-gradient(135deg, #ebf8f0, #f5fcf7);

    color: #2f6d50;
}

.admin-body .alert-danger {
    background:
        linear-gradient(135deg, #fdeef2, #fff7f9);

    color: #9b3f5a;
}

/* LIST GROUPS */

.admin-body .list-group-item {
    border-color: #eee6e9;

    color: #4f454a;

    font-size: .74rem;
}

.admin-body .list-group-item-action:hover {
    background: #fff8fb;

    color: #ca3c72;
}

/* LOGIN PREMIUM */

.admin-login-page {
    min-height: 100vh;

    padding: 44px 18px;

    background:
        radial-gradient(circle at 20% 12%, rgba(255, 222, 234, .96), transparent 27%),
        radial-gradient(circle at 88% 84%, rgba(245, 225, 255, .78), transparent 25%),
        linear-gradient(135deg, #fff9fb, #ffffff 52%, #fff6fa);
}

.admin-login-wrapper {
    max-width: 430px;
}

.admin-login-logo {
    width: 82px;
    height: 82px;

    border: 1px solid #eedfe5;
    border-radius: 22px;

    box-shadow:
        0 17px 40px rgba(83, 52, 65, .11);
}

.admin-login-brand h1 {
    color: #2b2327;

    font-size: 2.05rem;
}

.admin-login-brand p {
    color: #c94175;

    letter-spacing: .18em;
}

.admin-login-card {
    padding: 37px;

    border: 1px solid rgba(235, 220, 226, .96);
    border-radius: 23px;

    box-shadow:
        0 25px 65px rgba(73, 48, 59, .11);
}

.admin-login-header h2 {
    font-size: 1.85rem;
}

.admin-login-button {
    background:
        linear-gradient(135deg, #292225, #171417);

    border-color: #171417;

    box-shadow:
        0 10px 24px rgba(35, 26, 30, .14);

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

.admin-login-button:hover {
    background:
        linear-gradient(135deg, #df4d83, #c9346c);

    transform: translateY(-1px);

    box-shadow:
        0 14px 28px rgba(207, 54, 111, .20);
}

/* OVERLAY MOBILE */

.admin-sidebar-overlay {
    position: fixed;

    inset: 0;

    z-index: 1085;

    display: none;

    background: rgba(29, 20, 24, .34);

    backdrop-filter: blur(3px);
}

.admin-sidebar-overlay.show {
    display: block;
}

body.admin-menu-open {
    overflow: hidden;
}

/* =========================================================
   ADMIN RESPONSIVE PREMIUM
   ========================================================= */

@media (max-width: 1200px) {

    .admin-content-inner {
        padding: 34px 28px 54px;
    }

}

@media (max-width: 991.98px) {

    .admin-sidebar {
        left: calc(var(--admin-sidebar-width) * -1);

        z-index: 1090;

        box-shadow:
            22px 0 65px rgba(42, 29, 35, .18);
    }

    .admin-sidebar.admin-sidebar-open {
        left: 0;
    }

    .admin-sidebar-close {
        display: grid;
    }

    .admin-main {
        width: 100%;

        margin-left: 0;
    }

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

        display: grid;
        place-items: center;

        padding: 0;

        background: white;

        border: 1px solid #e8dde2;
        border-radius: 12px;

        color: #4d4348;
    }

    .admin-topbar {
        padding: 0 20px;
    }

    .admin-content-inner {
        padding: 30px 20px 48px;
    }

    .admin-topbar-store span {
        display: none;
    }

    .admin-topbar-store {
        width: 42px;

        justify-content: center;

        padding: 0;
    }

}

@media (max-width: 767.98px) {

    .admin-dashboard-header {
        min-height: 0;

        flex-direction: column;

        align-items: flex-start;

        padding: 26px 24px;
    }

    .admin-dashboard-header .admin-outline-button {
        width: 100%;

        justify-content: center;
    }

    .admin-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-body .card .card-body {
        padding: 18px;
    }

}

@media (max-width: 575.98px) {

    .admin-topbar {
        height: 68px;

        padding: 0 12px;
    }

    .admin-topbar-left {
        gap: 9px;
    }

    .admin-topbar-title {
        margin-left: 0;
    }

    .admin-topbar-title strong {
        max-width: 150px;

        overflow: hidden;

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

        font-size: .77rem;
    }

    .admin-user {
        padding: 3px;
    }

    .admin-user-copy,
    .admin-user-chevron {
        display: none;
    }

    .admin-user-icon {
        width: 38px;
        height: 38px;
    }

    .admin-topbar-store {
        display: none;
    }

    .admin-content-inner {
        padding: 21px 13px 42px;
    }

    .admin-dashboard-header {
        padding: 22px 19px;

        border-radius: 18px;
    }

    .admin-dashboard-header h1 {
        font-size: 2rem;
    }

    .admin-dashboard-header p {
        font-size: .78rem;
    }

    .admin-metrics {
        grid-template-columns: 1fr;

        gap: 11px;
    }

    .admin-metric-card {
        min-height: 148px;
    }

    .admin-quick-actions {
        grid-template-columns: 1fr;
    }

    .admin-quick-card {
        min-height: 92px;
    }

    .admin-products-table {
        min-width: 760px;
    }

    .admin-sidebar-mini-card {
        display: none;
    }

    .admin-login-card {
        padding: 28px 21px;

        border-radius: 19px;
    }

    .admin-login-brand h1 {
        font-size: 1.8rem;
    }

}
/* =========================================================
   HELEN STORE PREMIUM FINAL V6
   Pasada visual final del frente público
   Home + header + catálogo + detalle + carrito + cambios
   ========================================================= */

/* ---------- HEADER / MARCA ---------- */

.site-header {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(232, 220, 225, .82);
    box-shadow: 0 8px 32px rgba(49, 35, 41, .035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header .navbar {
    min-height: 84px;
}

.brand-wrap {
    gap: 11px;
    margin-right: 24px;
}

.brand-logo {
    width: 54px;
    height: 54px;
    padding: 2px;
    border-color: #eee1e6;
    border-radius: 15px;
    box-shadow: 0 7px 22px rgba(64, 42, 51, .07);
}

.brand-title {
    font-size: 1.55rem;
}

.brand-subtitle {
    margin-top: 6px;
    color: #d8437a;
    font-size: .55rem;
    letter-spacing: .26em;
}

.navbar-nav {
    gap: 25px;
}

.navbar-nav .nav-link {
    padding: 32px 0;
    color: #4c4347;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .055em;
}

.navbar-nav .nav-link::before {
    bottom: 23px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef5f98, #d93d78);
}

.nav-actions {
    gap: 9px;
}

.header-search-form {
    width: 210px;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    background: #fbf8f9;
    border: 1px solid #ebe1e5;
    border-radius: 999px;
    transition:
        width .2s ease,
        background .2s ease,
        border .2s ease,
        box-shadow .2s ease;
}

.header-search-form:focus-within {
    width: 245px;
    background: white;
    border-color: #e9a8c1;
    box-shadow: 0 0 0 4px rgba(239, 95, 152, .07);
}

.header-search-form i {
    flex: 0 0 auto;
    color: #9a8e93;
    font-size: .9rem;
}

.header-search-form input {
    width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #322b2e;
    font-size: .72rem;
}

.header-search-form input::placeholder {
    color: #aa9fa4;
}

.header-icon,
.mobile-header-icon {
    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}

.header-icon:hover,
.mobile-header-icon:hover {
    background: #fff1f6;
    color: #cf396f;
}

.login-link {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #ece2e6;
    background: white;
}

.login-link:hover {
    border-color: #efc6d6;
    background: #fff5f8;
}

.cart-count {
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #ee5a93, #d63d76);
    box-shadow: 0 3px 9px rgba(213, 59, 116, .22);
}


/* ---------- HERO HOME ---------- */

.hero-section {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 22%, rgba(255, 223, 235, .8), transparent 26%),
        radial-gradient(circle at 86% 16%, rgba(244, 228, 255, .68), transparent 25%),
        linear-gradient(120deg, #fff9fb 0%, #ffffff 47%, #fff3f8 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -120px;
    right: 7%;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(230, 124, 165, .16);
    border-radius: 50%;
}

.hero-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 4%;
    bottom: -150px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(230, 124, 165, .12);
    border-radius: 50%;
}

.hero-grid {
    min-height: 650px;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(42px, 6vw, 84px);
    padding-top: 54px;
    padding-bottom: 58px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy .eyebrow {
    padding: 8px 12px;
    margin-bottom: 19px;
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(232, 188, 205, .64);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(72, 46, 57, .035);
}

.hero-copy h1 {
    font-size: clamp(3.4rem, 5.3vw, 6rem);
    line-height: .94;
    letter-spacing: -.058em;
}

.hero-copy h1 em {
    background: linear-gradient(135deg, #e84f88, #b82f65);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 540px;
    margin-top: 26px;
    color: #756a6f;
    font-size: 1rem;
    line-height: 1.78;
}

.hero-copy .btn-lg {
    min-height: 52px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: .78rem;
}

.hero-trust {
    gap: 10px 18px;
    margin-top: 28px;
}

.hero-trust span {
    min-height: 34px;
    padding: 0 11px;
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(231, 219, 224, .84);
    border-radius: 999px;
    color: #74686d;
    font-size: .7rem;
}

.hero-trust i {
    color: #d73d75;
}

.hero-visual {
    padding-left: 8px;
}

.hero-visual > img {
    height: 555px;
    border-radius: 34px;
    box-shadow:
        0 36px 90px rgba(61, 39, 49, .16),
        0 1px 0 rgba(255, 255, 255, .8) inset;
}

.hero-card {
    left: -24px;
    bottom: 30px;
    min-width: 210px;
    padding: 19px 22px;
    background: rgba(255, 255, 255, .91);
    border-color: rgba(255, 255, 255, .9);
    border-radius: 17px;
    box-shadow: 0 20px 48px rgba(55, 37, 45, .14);
}


/* ---------- SECCIONES HOME ---------- */

.section-space {
    padding-top: 82px;
    padding-bottom: 82px;
}

.section-heading .eyebrow {
    margin-bottom: 9px;
}

.section-heading h2 {
    font-size: clamp(2.05rem, 3.6vw, 3.15rem);
}

.text-link {
    border-bottom-color: #d9cbd1;
    transition:
        color .18s ease,
        border .18s ease;
}

.text-link:hover {
    color: #d23c74;
    border-bottom-color: #d23c74;
}

.category-card {
    height: 465px;
    border: 1px solid rgba(230, 218, 223, .68);
    border-radius: 24px;
    box-shadow: 0 13px 36px rgba(55, 38, 45, .06);
}

.category-card::after {
    background:
        linear-gradient(
            0deg,
            rgba(20, 14, 17, .76) 0%,
            rgba(20, 14, 17, .24) 40%,
            rgba(20, 14, 17, .03) 70%
        );
}

.category-card > div {
    left: 27px;
    right: 27px;
    bottom: 25px;
}

.category-card h3 {
    margin: 4px 0 8px;
    font-size: 2.45rem;
}

.category-card b {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .72rem;
    font-weight: 600;
}

.soft-section {
    background:
        linear-gradient(180deg, #fcfafb, #fff9fb);
    border-top: 1px solid #f2e9ed;
    border-bottom: 1px solid #f2e9ed;
}

.promo-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(235, 79, 137, .22), transparent 30%),
        radial-gradient(circle at 90% 100%, rgba(133, 81, 122, .18), transparent 28%),
        linear-gradient(135deg, #171316, #2b2227 58%, #221a1f);
}

.promo-band::after {
    content: "";
    position: absolute;
    top: -110px;
    right: 8%;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.promo-band .container {
    position: relative;
    z-index: 2;
}

.promo-band h2 {
    max-width: 740px;
    margin: 9px auto;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.promo-band p {
    max-width: 650px;
    margin: 0 auto 20px;
}

.info-card {
    padding: 31px 26px;
    border-color: #eee3e7;
    border-radius: 19px;
    box-shadow: 0 9px 28px rgba(58, 39, 47, .035);
}

.info-card i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: auto;
    background: #fff1f6;
    border-radius: 50%;
    font-size: 1.35rem;
}

.personal-card {
    position: relative;
    overflow: hidden;
    padding: 44px 46px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 210, 227, .56), transparent 25%),
        linear-gradient(120deg, #fff5f8, #fff 66%);
    border-color: #f0d9e2;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(61, 42, 50, .055);
}

.personal-card h2 {
    font-size: clamp(1.9rem, 3vw, 2.45rem);
}


/* ---------- PRODUCT CARDS ---------- */

.product-card {
    border-radius: 18px;
    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

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

.product-image-wrap {
    height: 390px;
    border: 1px solid rgba(232, 222, 226, .82);
    border-radius: 17px;
    box-shadow: 0 10px 28px rgba(57, 39, 47, .04);
}

.product-card:hover .product-image-wrap {
    box-shadow: 0 16px 36px rgba(57, 39, 47, .08);
}

.product-image-wrap img {
    transition:
        transform .5s ease,
        filter .3s ease;
}

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

.product-badges {
    top: 11px;
    left: 11px;
}

.badge-new,
.badge-stock {
    padding: 6px 10px;
    backdrop-filter: blur(8px);
}

.product-info {
    padding: 14px 4px 20px;
}

.product-title {
    min-height: 39px;
    margin-top: 7px;
    color: #30292c;
    font-size: .87rem;
}

.product-price {
    margin-top: 2px;
    font-size: 1.03rem;
}

.transfer-price {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 0 9px;
    background: #fff2f7;
    border: 1px solid #f6dce6;
    border-radius: 999px;
    color: #cf3970;
    font-size: .68rem;
}

.transfer-price strong {
    font-weight: 800;
}

.btn-add-cart {
    min-height: 44px;
    border-color: #e3d8dc;
    border-radius: 11px;
    font-size: .72rem;
    font-weight: 700;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #2d272a, #181517);
    box-shadow: 0 9px 20px rgba(39, 28, 33, .12);
}


/* ---------- PAGE HERO / CATÁLOGO ---------- */

.page-hero.compact {
    padding: 54px 0 38px;
    background:
        radial-gradient(circle at 82% 0%, rgba(255, 223, 235, .62), transparent 25%),
        linear-gradient(180deg, #fffafd, #fff);
    border-bottom: 1px solid #f2e8ec;
}

.page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    font-weight: 600;
    letter-spacing: -.035em;
}

.page-hero p {
    max-width: 600px;
    margin-bottom: 0;
    font-size: .86rem;
    line-height: 1.65;
}

.catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 12px;
    margin-bottom: 21px;
    padding: 13px;
    background: #fcfafb;
    border: 1px solid #eee4e8;
    border-radius: 17px;
}

.search-box {
    min-height: 49px;
    background: white;
    border-color: #e6dce0;
    border-radius: 12px;
}

.search-box i {
    color: #a1969a;
}

.search-box:focus-within {
    border-color: #e99dba;
    box-shadow: 0 0 0 4px rgba(239, 95, 152, .065);
}

.catalog-toolbar .form-select {
    min-height: 49px;
    background-color: white;
    border-color: #e6dce0;
    border-radius: 12px;
}

.catalog-count {
    font-size: .77rem;
}

.catalog-count strong {
    color: #332c2f;
}

.filter-pills {
    gap: 7px;
}

.filter-pills a {
    padding: 8px 15px;
    border-color: #e6dce0;
    color: #766a70;
    font-size: .68rem;
    transition:
        background .18s ease,
        color .18s ease,
        border .18s ease,
        transform .18s ease;
}

.filter-pills a:hover {
    transform: translateY(-1px);
}

.filter-pills a.active {
    background: linear-gradient(135deg, #2c2629, #171416);
    border-color: #171416;
    box-shadow: 0 7px 18px rgba(44, 33, 38, .12);
}

.empty-state {
    padding: 70px 24px;
    text-align: center;
}

.empty-state > i {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    background: #fff1f6;
    border-radius: 50%;
    color: #d83d76;
    font-size: 1.45rem;
}

.empty-state h3 {
    margin-bottom: 7px;
    font-family: "Playfair Display", serif;
    font-size: 1.55rem;
}

.empty-state p {
    color: #81757a;
}


/* ---------- DETALLE PRODUCTO ---------- */

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #8d8287;
    font-size: .7rem;
}

.product-breadcrumb a {
    transition: color .18s ease;
}

.product-breadcrumb a:hover {
    color: #d23c74;
}

.detail-image {
    border: 1px solid #eee3e7;
    border-radius: 22px;
    box-shadow: 0 14px 42px rgba(57, 39, 47, .055);
}

.detail-image img {
    height: 675px;
}

.carousel.detail-image .carousel-control-prev,
.carousel.detail-image .carousel-control-next {
    width: 54px;
    opacity: 0;
    transition: opacity .2s ease;
}

.carousel.detail-image:hover .carousel-control-prev,
.carousel.detail-image:hover .carousel-control-next {
    opacity: .85;
}

.carousel.detail-image .carousel-control-prev-icon,
.carousel.detail-image .carousel-control-next-icon {
    width: 39px;
    height: 39px;
    background-size: 17px;
    background-color: rgba(24, 20, 22, .72);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .15);
}

.product-thumbnails {
    display: flex;
    gap: 9px;
    margin-top: 11px;
    padding: 3px 2px 7px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-thumbnail {
    flex: 0 0 auto;
    padding: 0;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 11px;
    opacity: .68;
    transition:
        opacity .18s ease,
        border .18s ease,
        transform .18s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    opacity: 1;
    border-color: #df5b8e;
    transform: translateY(-1px);
}

.product-thumbnail img {
    width: 68px;
    height: 82px;
    object-fit: cover;
    border-radius: 8px;
}

.detail-copy {
    top: 105px;
    padding: 7px 0 15px;
}

.detail-copy h1 {
    margin-top: 5px;
}

.detail-copy .lead {
    margin-top: 15px;
    margin-bottom: 0;
}

.detail-price {
    margin: 24px 0 15px;
    font-size: 1.72rem;
}

.detail-transfer {
    border-color: #f0ccda;
    box-shadow: 0 8px 22px rgba(222, 74, 130, .055);
}

.option-group {
    margin-top: 23px;
}

.option-buttons button {
    border-color: #ddd2d7;
    border-radius: 11px;
}

.option-buttons button.active {
    background: linear-gradient(135deg, #2e282b, #171416);
    box-shadow: 0 8px 18px rgba(37, 28, 32, .12);
}

.stock-ok,
.out-stock {
    border: 1px solid transparent;
}

.stock-ok {
    border-color: #d8ebdf;
}

.out-stock {
    border-color: #f1d8e0;
}

.detail-notes > div {
    padding: 15px 4px;
}


/* ---------- CARRITO ---------- */

.cart-list {
    gap: 12px;
}

.cart-item {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 15px;
    border-color: #ebe1e5;
    border-radius: 17px;
    box-shadow: 0 8px 24px rgba(58, 39, 47, .035);
}

.cart-item > img {
    width: 104px;
    height: 126px;
    border-radius: 11px;
}

.cart-item-info small {
    color: #9d9297;
    font-size: .69rem;
}

.cart-item-info h4 {
    margin: 5px 0 7px;
    font-size: .94rem;
}

.cart-item-info > strong {
    font-size: .84rem;
}

.cart-item .qty-control {
    min-width: 122px;
    height: 42px;
    grid-template-columns: 39px 44px 39px;
    border-radius: 10px;
    box-shadow: none;
}

.cart-item .qty-control button {
    width: 39px;
    height: 40px;
    font-size: 1rem;
}

.cart-item .qty-control > span {
    min-width: 44px;
    font-size: .82rem;
}

.cart-remove-button {
    min-height: 40px;
    padding-left: 12px;
    padding-right: 12px;
    border-color: #f0d8df;
    border-radius: 10px;
    color: #a84662;
    font-size: .68rem;
}

.cart-remove-button:hover {
    background: #fdf0f4;
    border-color: #edc8d4;
    color: #983a56;
}

.cart-line-total {
    min-width: 95px;
    color: #332c2f;
    text-align: right;
    font-size: .92rem;
}

.cart-summary {
    top: 105px;
    padding: 27px;
    border-color: #eadfe3;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(58, 39, 47, .06);
}

.cart-summary h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
}

.summary-row {
    align-items: center;
    gap: 15px;
    padding: 3px 0;
    color: #665c61;
    font-size: .78rem;
}

.summary-row strong {
    color: #332c2f;
    font-size: .86rem;
}

.summary-row.transfer {
    margin: 16px -9px;
    padding: 12px 10px;
    background: #fff2f7;
    border: 1px solid #f4d6e1;
    border-radius: 12px;
    color: #cc386e;
}

.summary-row.transfer strong {
    color: #cc386e;
    font-size: .95rem;
}

.summary-row.transfer small {
    margin-top: 2px;
    color: #b95e80;
    font-size: .62rem;
}

.cart-summary .form-label {
    color: #6d6267;
    font-size: .68rem;
    font-weight: 700;
}

.cart-summary .form-control {
    min-height: 47px;
    border-color: #e4d9dd;
    border-radius: 11px;
    font-size: .76rem;
}

.cart-summary .form-control:focus {
    border-color: #e58eaf;
    box-shadow: 0 0 0 4px rgba(239, 95, 152, .07);
}

.cart-checkout-note,
.cart-whatsapp-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 12px;
    border-radius: 11px;
    color: #776b70;
    font-size: .69rem;
    line-height: 1.5;
}

.cart-checkout-note {
    background: #faf7f8;
    border: 1px solid #eee5e8;
}

.cart-whatsapp-note {
    background: #f1faf5;
    border: 1px solid #dcefe4;
    color: #4d745d;
}

.cart-checkout-note i {
    color: #cf3b71;
}

.cart-whatsapp-note i {
    color: #2b8655;
}

#checkoutWhatsapp {
    min-height: 53px;
    border-radius: 12px;
    font-size: .76rem;
}

#checkoutWhatsapp:disabled,
#clearCart:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}


/* ---------- CAMBIOS ---------- */

.policy-card {
    max-width: 980px;
    padding: 48px;
    border-color: #eadfe3;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(57, 39, 47, .055);
}

.policy-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff0f6, #ffe3ed);
    box-shadow: 0 8px 24px rgba(217, 62, 119, .08);
}

.policy-card h2 {
    max-width: 730px;
    margin: 8px 0 18px;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
}

.policy-alert {
    align-items: flex-start;
    padding: 16px 17px;
    background: #fff7fa;
    border: 1px solid #f1dce4;
    border-radius: 13px;
    color: #675b60;
}

.policy-alert i {
    margin-top: 2px;
    color: #d23c74;
}


/* ---------- FOOTER / WHATSAPP / TOAST ---------- */

.site-footer {
    margin-top: 40px;
    background:
        linear-gradient(180deg, #1d191b, #161315);
    color: #f8f4f6;
    border-top: 0;
}

.footer-content {
    padding-top: 42px;
    padding-bottom: 31px;
}

.site-footer strong {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.site-footer p {
    color: #aaa0a5;
}

.footer-links a {
    color: #d2c8cd;
    transition: color .18s ease;
}

.footer-links a:hover {
    color: #ffb7d1;
}

.footer-bottom {
    color: #81777c;
    border-top-color: rgba(255, 255, 255, .08);
}

.whatsapp-float {
    width: 57px;
    height: 57px;
    right: 20px;
    bottom: 22px;
    background: #25d366;
    color: white;
    border: 3px solid white;
    box-shadow: 0 14px 32px rgba(32, 133, 76, .22);
}

.whatsapp-float:hover {
    background: #20bd5a;
    color: white;
    transform: translateY(-2px) scale(1.02);
}

.toast {
    border: 1px solid #eadfe3;
    border-radius: 13px;
    box-shadow: 0 18px 45px rgba(53, 36, 43, .14);
}

.toast .bi-check-circle-fill {
    color: #34835b;
}


/* ---------- TABLET ---------- */

@media (max-width: 1199.98px) {

    .header-search-form {
        width: 165px;
    }

    .header-search-form:focus-within {
        width: 195px;
    }

    .navbar-nav {
        gap: 17px;
    }

    .navbar-nav .nav-link {
        font-size: .68rem;
    }

    .login-link span {
        display: none;
    }

    .login-link {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    .hero-grid {
        gap: 44px;
    }

    .hero-visual > img {
        height: 520px;
    }

    .category-card {
        height: 410px;
    }

    .product-image-wrap {
        height: 345px;
    }

}


/* ---------- MOBILE / TABLET ---------- */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 72px;
    }

    .site-header .container-fluid {
        flex-wrap: wrap;
    }

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

    .brand-title {
        font-size: 1.28rem;
    }

    .brand-subtitle {
        font-size: .5rem;
    }

    .mobile-nav-actions {
        gap: 2px;
    }

    .mobile-header-icon {
        width: 40px;
        height: 40px;
    }

    .navbar-collapse {
        width: calc(100% + 24px);
        margin: 10px -12px -1px;
        padding: 10px 16px 18px;
        background: rgba(255, 255, 255, .985);
        border-top: 1px solid #efe5e9;
        box-shadow: 0 20px 40px rgba(47, 34, 40, .07);
    }

    .navbar-collapse .navbar-nav {
        gap: 0;
        align-items: stretch !important;
    }

    .navbar-collapse .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1e9ec;
    }

    .navbar-collapse .nav-link {
        width: 100%;
        padding: 14px 3px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: .72rem;
    }

    .navbar-collapse .nav-link::before {
        display: none;
    }

    .navbar-collapse .dropdown-menu {
        margin: -2px 0 10px;
        padding: 7px;
        background: #fff8fb;
        border: 1px solid #f1e0e7 !important;
        box-shadow: none !important;
    }

    .navbar-collapse .nav-actions {
        display: none !important;
    }

    .hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 48px;
        padding-bottom: 50px;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-copy h1 {
        font-size: clamp(3.15rem, 9vw, 5rem);
    }

    .hero-visual {
        max-width: 720px;
        padding-left: 0;
    }

    .hero-visual > img {
        height: 540px;
    }

    .hero-card {
        left: 18px;
        bottom: 20px;
    }

    .category-card {
        height: 420px;
    }

    .product-image-wrap {
        height: 330px;
    }

    .detail-copy {
        position: static;
        padding-top: 8px;
    }

    .detail-image img {
        height: 600px;
    }

    .cart-summary {
        position: static;
    }

}


/* ---------- MOBILE ---------- */

@media (max-width: 767.98px) {

    .section-space {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .page-hero.compact {
        padding: 40px 0 28px;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .category-card {
        height: 365px;
    }

    .product-image-wrap {
        height: 285px;
    }

    .product-title {
        min-height: 38px;
    }

    .personal-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 32px 28px;
    }

    .personal-card .btn {
        width: 100%;
    }

    .detail-image img {
        height: 500px;
    }

    .carousel.detail-image .carousel-control-prev,
    .carousel.detail-image .carousel-control-next {
        opacity: .82;
    }

    .cart-item {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 13px;
    }

    .cart-item > img {
        width: 88px;
        height: 108px;
    }

    .cart-line-total {
        grid-column: 2;
        justify-self: start;
        min-width: 0;
        text-align: left;
    }

    .policy-card {
        padding: 32px 25px;
    }

}


/* ---------- CELULAR ---------- */

@media (max-width: 575.98px) {

    .site-header .navbar {
        min-height: 66px;
    }

    .site-header .container-fluid {
        padding-left: 12px !important;
        padding-right: 9px !important;
    }

    .brand-wrap {
        gap: 8px;
        margin-right: 0;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .brand-title {
        font-size: 1.03rem;
    }

    .brand-subtitle {
        margin-top: 4px;
        font-size: .43rem;
        letter-spacing: .2em;
    }

    .mobile-nav-actions {
        margin-left: auto;
    }

    .mobile-header-icon {
        width: 37px;
        height: 37px;
        font-size: 1rem;
    }

    .mobile-header-icon .cart-count {
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        font-size: .52rem;
    }

    .hero-grid {
        gap: 29px;
        padding-top: 38px;
        padding-bottom: 42px;
    }

    .hero-copy .eyebrow {
        padding: 7px 10px;
        margin-bottom: 15px;
        font-size: .57rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.75rem, 13vw, 4rem);
        line-height: .96;
    }

    .hero-copy p {
        margin-top: 20px;
        font-size: .88rem;
        line-height: 1.68;
    }

    .hero-copy .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .hero-copy .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 7px;
    }

    .hero-trust span {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-visual > img {
        height: 395px;
        border-radius: 23px;
    }

    .hero-card {
        left: 12px;
        right: 12px;
        bottom: 12px;
        min-width: 0;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .hero-card strong {
        font-size: 1.02rem;
    }

    .section-space {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .category-card {
        height: 325px;
        border-radius: 18px;
    }

    .category-card > div {
        left: 21px;
        right: 21px;
        bottom: 20px;
    }

    .category-card h3 {
        font-size: 2.15rem;
    }

    /*
       Catálogo: se mantienen DOS productos por fila.
       Bootstrap ya entrega col-6; acá solo ajustamos medidas.
    */

    #catalogGrid {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: 1.25rem;
    }

    .product-image-wrap {
        height: 235px;
        border-radius: 13px;
    }

    .product-info {
        padding: 10px 1px 15px;
    }

    .product-info small {
        font-size: .56rem;
        letter-spacing: .04em;
    }

    .product-title {
        min-height: 36px;
        margin: 5px 0 4px;
        font-size: .75rem;
        line-height: 1.3;
    }

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

    .transfer-price {
        min-height: 27px;
        padding: 0 7px;
        font-size: .58rem;
    }

    .btn-add-cart {
        min-height: 39px;
        margin-top: 9px !important;
        padding-left: 5px;
        padding-right: 5px;
        font-size: .63rem;
    }

    .badge-new,
    .badge-stock {
        padding: 5px 7px;
        font-size: .5rem;
    }

    .page-hero.compact {
        padding: 33px 0 23px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: .76rem;
    }

    .catalog-toolbar {
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .filter-pills {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 0 6px;
        scrollbar-width: none;
    }

    .filter-pills::-webkit-scrollbar {
        display: none;
    }

    .filter-pills a {
        flex: 0 0 auto;
        padding: 7px 12px;
    }

    .product-breadcrumb {
        margin-bottom: 18px !important;
        font-size: .62rem;
    }

    .detail-image {
        border-radius: 17px;
    }

    .detail-image img {
        height: 430px;
    }

    .product-thumbnails {
        margin-top: 8px;
    }

    .product-thumbnail img {
        width: 58px;
        height: 70px;
    }

    .detail-copy h1 {
        font-size: 2.15rem;
    }

    .detail-copy .lead {
        font-size: .82rem;
    }

    .detail-price {
        margin-top: 18px;
        font-size: 1.45rem;
    }

    .detail-transfer {
        padding: 12px;
        border-radius: 12px;
    }

    .detail-transfer i {
        width: 34px;
        height: 34px;
    }

    .detail-transfer strong {
        font-size: 1.03rem;
    }

    .option-group {
        margin-top: 20px;
    }

    .option-buttons {
        gap: 7px;
    }

    .option-buttons button {
        min-width: 46px;
        min-height: 42px;
        padding: 0 12px;
        font-size: .72rem;
    }

    .qty-control {
        min-width: 145px;
    }

    .detail-notes > div {
        padding: 14px 2px;
    }

    .cart-item {
        grid-template-columns: 78px minmax(0, 1fr);
        padding: 11px;
    }

    .cart-item > img {
        width: 78px;
        height: 100px;
    }

    .cart-item-info h4 {
        font-size: .83rem;
    }

    .cart-item .qty-control {
        min-width: 110px;
        grid-template-columns: 35px 40px 35px;
    }

    .cart-item .qty-control button {
        width: 35px;
    }

    .cart-item .qty-control > span {
        min-width: 40px;
    }

    .cart-remove-button {
        min-width: 40px;
        padding: 0;
    }

    .cart-remove-button span {
        display: none;
    }

    .cart-summary {
        padding: 21px;
        border-radius: 17px;
    }

    .policy-card {
        padding: 26px 20px;
        border-radius: 19px;
    }

    .policy-card h2 {
        font-size: 1.75rem;
    }

    .policy-card .info-card {
        padding: 25px 20px;
    }

    .site-footer {
        margin-top: 20px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /*
       Se eleva WhatsApp en celular para no tapar
       controles inferiores del carrito.
    */
    .whatsapp-float {
        right: 12px;
        bottom: 86px;
        width: 51px;
        height: 51px;
        font-size: 1.2rem;
    }

    .toast-container {
        width: calc(100% - 18px);
        padding: 8px !important;
    }

    .toast {
        width: 100%;
    }

}


/* ---------- REDUCCIÓN DE MOVIMIENTO ---------- */

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

    .product-card,
    .product-image-wrap img,
    .category-card img,
    .btn,
    .header-icon,
    .mobile-header-icon,
    .product-thumbnail {
        transition: none !important;
    }

}
/* =========================================================
   HELEN FINAL FIX
   Footer + WhatsApp
   ========================================================= */

.footer-bottom {
    min-height: 66px;
    padding-right: 92px;
}

.whatsapp-float {
    right: 20px;
    bottom: 18px;
}

@media (max-width: 767.98px) {

    .footer-bottom {
        min-height: 92px;
        padding-right: 72px;
        padding-bottom: 18px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 20px;
    }

}

@media (max-width: 575.98px) {

    .footer-bottom {
        align-items: flex-start !important;
        flex-direction: column;
        justify-content: center !important;
        gap: 5px !important;
        padding-right: 74px;
    }

}
