/*
 * Armon & Co — Rediseño (Etapa 2)
 * Estética cálida y luminosa (fondos crema, bordes redondeados, barra de promos, filtros claros,
 * tarjetas con compra rápida), adaptada a los colores de Armon & Co.
 * Se carga DESPUÉS de tailwind.css / global.css / woocommerce.css, y pisa lo necesario.
 */

:root {
    --ar-cream: #fbf6ec;
    --ar-cream-2: #f4ead6;
    --ar-white: #ffffff;
    --ar-ink: #3b2f29;
    --ar-muted: #6f625a;
    --ar-line: rgba(59, 47, 41, .12);
    --ar-camel: #c19a6b;
    --ar-camel-d: #8c6a3c;
    --ar-sage: #7a9b7a;
    --ar-sage-d: #4a6f4d;
    --ar-sage-dd: #3a5a3d;
    --ar-mint: #e3f1de;
    --ar-butter: #fbeaa8;
    --ar-honey: #f1d3a0;
    --ar-radius: 22px;
    --ar-shadow: 0 6px 24px rgba(59, 47, 41, .08);
}

/* ------------------------------------------------------------------ */
/*  Base                                                               */
/* ------------------------------------------------------------------ */
body,
body.bg-surface {
    background-color: var(--ar-cream);
    color: var(--ar-ink);
}

/* El contenido siempre visible aunque falle el JS de animaciones. */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------ */
/*  Botones                                                            */
/* ------------------------------------------------------------------ */
.armon-btn,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.armon-btn--primary,
.btn-primary {
    background: var(--ar-sage-d);
    color: #fff;
    box-shadow: 0 4px 14px rgba(74, 111, 77, .25);
}

.armon-btn--primary:hover,
.btn-primary:hover {
    background: var(--ar-sage-dd);
    color: #fff;
    transform: translateY(-1px);
}

.armon-btn--ghost,
.btn-secondary {
    background: transparent;
    color: var(--ar-sage-dd);
    border-color: var(--ar-sage-d);
}

.armon-btn--ghost:hover,
.btn-secondary:hover {
    background: var(--ar-sage-d);
    color: #fff;
}

.armon-btn--block { width: 100%; }

/* ------------------------------------------------------------------ */
/*  Barra de promos + encabezado                                       */
/* ------------------------------------------------------------------ */
.armon-promo {
    background: var(--ar-sage-d);
    color: #fff;
    text-align: center;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
    padding: .42rem 1rem;
}

.armon-promo__text {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* En celulares angostos el texto pasa a dos líneas en vez de cortarse con "…". */
@media (max-width: 480px) {
    .armon-promo__text { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
}

@media (min-width: 768px) {
    .armon-promo { font-size: .85rem; padding: .5rem 1rem; }
}

#landing-navbar {
    background: rgba(251, 246, 236, .97) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 var(--ar-line) !important;
}

#landing-navbar .max-w-landing {
    padding-top: .35rem !important;
    padding-bottom: .35rem !important;
    min-height: 3.6rem !important;
}

#landing-navbar a img { height: 3rem !important; }

@media (min-width: 768px) {
    #landing-navbar .max-w-landing { padding-top: .5rem !important; padding-bottom: .5rem !important; min-height: 4.6rem !important; }
    #landing-navbar a img { height: 4.2rem !important; }
}

#landing-navbar nav a { color: var(--ar-ink); }
#landing-navbar nav a:hover { color: var(--ar-sage-d) !important; }
#landing-navbar nav a.btn-primary { color: #fff; }
#landing-navbar nav a.btn-primary:hover { color: #fff !important; }

#mobile-menu { background: var(--ar-cream) !important; }
#mobile-menu .mobile-link { color: var(--ar-ink); }
#mobile-menu a.btn-primary { color: #fff; }

/* Botón de menú / acciones sin el borde rosa por defecto del tema padre */
#mobile-menu-btn,
#mobile-menu-btn:hover,
#mobile-menu-btn:focus {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--ar-ink) !important;
}

#mobile-menu-btn:focus-visible { outline: 2px solid var(--ar-sage-d); outline-radius: 8px; }

/* ------------------------------------------------------------------ */
/*  Hero: banner principal + burbujas                                  */
/* ------------------------------------------------------------------ */
.armon-hero {
    position: relative;
    padding: 6.2rem 0 1.6rem;
    background:
        radial-gradient(900px 420px at 92% -8%, #e6f2e2 0, transparent 65%),
        radial-gradient(700px 360px at -5% 105%, #fbe7b5 0, transparent 60%),
        linear-gradient(180deg, var(--ar-cream) 0%, var(--ar-cream-2) 100%);
    overflow: hidden;
}

.armon-banner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-rows: minmax(170px, 42vw) auto;
    border-radius: 0;
    overflow: hidden;
    background: #6f8b56;
}

.armon-banner__media {
    position: relative;
    min-height: 170px;
    background: #6f8b56;
    order: -1;
}

.armon-banner__media img,
.armon-banner__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 18% 55%;
}

.armon-banner__copy {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #f4f0e4;
    z-index: 1;
}

.armon-banner__icons {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.armon-banner__icons li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: .01em;
    max-width: 7.2rem;
}

.armon-banner__glyph {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: .4rem;
    color: #f4f0e4;
}

.armon-banner__glyph svg { width: 100%; height: 100%; }

.armon-eyebrow {
    margin: 0 0 .65rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ar-sage-d);
}

.armon-hero__title {
    margin: 0 0 .65rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 6vw, 2.85rem);
    line-height: 1.08;
    color: var(--ar-ink);
    text-wrap: balance;
}

.armon-hero__sub {
    margin: 0 0 1.15rem;
    max-width: 72rem;
    font-size: .95rem;
    line-height: 1.45;
    color: var(--ar-muted);
}

.armon-hero__cta { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 0; }

.armon-hero__intro {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 1.2rem;
}

.armon-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ar-ink);
}

.armon-hero__facts li::before {
    content: "\2713";
    margin-right: .4rem;
    color: var(--ar-sage-d);
    font-weight: 800;
}

@media (min-width: 900px) {
    .armon-hero { padding: 7rem 0 2rem; }
    .armon-banner {
        grid-template-rows: none;
        grid-template-columns: minmax(300px, 0.92fr) 1.08fr;
        height: min(28vw, 340px);
        min-height: 250px;
    }
    .armon-banner__media {
        order: 0;
        position: relative;
        min-height: 100%;
        align-self: stretch;
    }
    .armon-banner__media::after {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 42%;
        background: linear-gradient(90deg, #6f8b56 0%, rgba(111, 139, 86, 0) 100%);
        pointer-events: none;
    }
    .armon-banner__copy {
        padding: 0 1rem 0 max(1.5rem, calc((100vw - 1100px) / 2));
    }
    .armon-banner__icons { gap: 1.15rem; }
    .armon-banner__icons li { font-size: 1rem; max-width: 9.6rem; }
    .armon-banner__glyph { width: 5.1rem; height: 5.1rem; margin-bottom: .5rem; }
    .armon-hero__intro {
        margin-top: 1.5rem;
        padding: 0 1.5rem;
    }
    .armon-hero__title { font-size: clamp(2rem, 3.3vw, 3.15rem); }
    .armon-hero__sub {
        white-space: nowrap;
        font-size: clamp(.86rem, 1.12vw, 1.05rem);
    }
}

/* Entradas "Para los más chiquitos / Para los grandes" */
.armon-entries {
    max-width: 1200px;
    margin: 2.25rem auto 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 760px) { .armon-entries { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.armon-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--ar-radius);
    color: var(--ar-ink);
    text-decoration: none;
    box-shadow: var(--ar-shadow);
    transition: transform .2s, box-shadow .2s;
}

.armon-entry:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(59, 47, 41, .13); color: var(--ar-ink); }
.armon-entry--baby { background: linear-gradient(135deg, #e3f1de 0%, #fbeaa8 100%); }
.armon-entry--adult { background: linear-gradient(135deg, #f7e6c8 0%, #efcf9c 100%); }

.armon-entry__text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.armon-entry__text small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.armon-entry__text strong { font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; line-height: 1.15; }
.armon-entry__text span { font-size: .92rem; line-height: 1.45; color: var(--ar-muted); }
.armon-entry__text em { margin-top: .35rem; font-style: normal; font-weight: 700; font-size: .92rem; }
.armon-entry--baby em { color: var(--ar-sage-dd); }
.armon-entry--adult em { color: var(--ar-camel-d); }

/* Entradas grandes: la foto va arriba y ocupa todo el ancho de la tarjeta (antes era una miniatura). */
.armon-entry { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1rem; padding: .85rem .85rem 1.4rem; }
.armon-entry__photos { display: grid; grid-template-rows: minmax(0, 1fr); gap: .6rem; height: 230px; overflow: hidden; border-radius: 18px; }
.armon-entry__photos--2 { grid-template-columns: 1fr 1fr; }
.armon-entry__photos img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 18px; background: rgba(255, 255, 255, .6); }
.armon-entry__text { padding: 0 .55rem; }
@media (min-width: 760px) { .armon-entry__photos { height: 340px; } .armon-entry__text strong { font-size: 1.7rem; } }

/* ------------------------------------------------------------------ */
/*  Burbujas: Bebés / Niños / Adultos (círculos grandes con foto)       */
/* ------------------------------------------------------------------ */
.armon-bubbles {
    max-width: 1100px;
    margin: 2.4rem auto 0;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.25rem;
    justify-items: center;
}

.armon-bubble {
    --ring: var(--ar-sage-d);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    text-align: center;
    text-decoration: none;
    color: var(--ar-ink);
}
.armon-bubble { --ring-text: var(--ar-sage-dd); }
.armon-bubble--kid { --ring: #e2a93b; --ring-text: #9a6a0d; }
.armon-bubble--adult { --ring: #c98f55; --ring-text: #8c5524; }

.armon-bubble__media { position: relative; width: clamp(150px, 26vw, 300px); aspect-ratio: 1; margin-bottom: .9rem; }

.armon-bubble__circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 7px solid #fff;
    box-shadow: 0 0 0 5px var(--ring), 0 14px 34px rgba(59, 47, 41, .16);
    background: var(--ar-cream);
    transition: transform .25s;
}
.armon-bubble__circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.armon-bubble:hover .armon-bubble__circle { transform: scale(1.04); }

.armon-bubble__tag {
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    padding: .4rem 1.05rem;
    border-radius: 999px;
    background: var(--ring);
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(59, 47, 41, .2);
}

.armon-bubble__text { display: flex; flex-direction: column; gap: .2rem; font-size: .98rem; color: var(--ar-muted); min-height: 3.1em; }
.armon-bubble__text em { font-style: normal; font-weight: 700; color: var(--ring-text); }

@media (max-width: 640px) {
    .armon-bubbles { grid-template-columns: 1fr 1fr; gap: 1.8rem .75rem; margin-top: 2.2rem; }
    .armon-bubble--adult { grid-column: 1 / -1; }
    .armon-bubble__media { width: clamp(140px, 40vw, 190px); }
    .armon-bubble__tag { font-size: .72rem; padding: .32rem .7rem; letter-spacing: .03em; }
}

/* ------------------------------------------------------------------ */
/*  Video + "Explorá por tipo" (una sola sección)                      */
/* ------------------------------------------------------------------ */
/*  Video + "Explorá por tipo" (una sola sección)                      */
/* ------------------------------------------------------------------ */
.armon-showcase {
    background: var(--ar-cream);
    padding: 1.15rem 1.2rem 2.2rem;
    margin: 0;
    border-bottom: 1px solid var(--ar-line);
}
.armon-showcase__inner { max-width: 1180px; margin: 0 auto; }
.armon-showcase__title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--ar-ink);
    text-align: center;
}

.armon-showcase__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.armon-story__inner {
    width: min(360px, 100%);
    max-width: 360px;
    margin: 0 auto;
    border-radius: var(--ar-radius);
    overflow: hidden;
    background: #2c241f;
    aspect-ratio: 9 / 16;
    height: auto;
    min-height: 0;
    box-shadow: var(--ar-shadow);
    order: -1;
}

.armon-story__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.armon-showcase__cats {
    display: flex;
    gap: 1rem;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: .15rem .15rem .5rem;
    scrollbar-width: none;
}
.armon-showcase__cats::-webkit-scrollbar { display: none; }

.armon-type { flex: none; width: 88px; text-align: center; text-decoration: none; color: var(--ar-ink); scroll-snap-align: start; }
.armon-type__img { display: block; width: 76px; height: 76px; margin: 0 auto .45rem; border-radius: 50%; overflow: hidden; background: var(--ar-mint); border: 3px solid var(--ar-mint); transition: transform .2s, border-color .2s; }
.armon-type__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.armon-type:hover .armon-type__img { transform: scale(1.06); border-color: var(--ar-sage); }
.armon-type__name { display: block; font-size: .8rem; font-weight: 600; line-height: 1.25; }

@media (min-width: 900px) {
    .armon-showcase { padding: 1.5rem 1.5rem 2.6rem; }
    .armon-showcase--with-video .armon-showcase__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto 1fr;
        align-items: center;
        column-gap: 2rem;
        row-gap: 1rem;
    }
    .armon-showcase--with-video .armon-showcase__title {
        grid-column: 1;
        grid-row: 1;
        text-align: center;
    }
    .armon-showcase--with-video .armon-showcase__cats {
        grid-column: 1;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: center;
        align-content: center;
        gap: 1.35rem 0.75rem;
        width: 100%;
        overflow: visible;
        padding: 0;
    }
    .armon-showcase--with-video .armon-story__inner {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 360px;
        max-width: 360px;
        margin: 0;
        order: 0;
        justify-self: end;
    }
    .armon-showcase--with-video .armon-type { width: 108px; }
    .armon-showcase--with-video .armon-type__img { width: 92px; height: 92px; }

    .armon-showcase:not(.armon-showcase--with-video) .armon-showcase__cats {
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
    }
    .armon-showcase:not(.armon-showcase--with-video) .armon-type { width: 104px; }
    .armon-showcase:not(.armon-showcase--with-video) .armon-type__img { width: 88px; height: 88px; }
}

@media (min-width: 1100px) {
    .armon-showcase--with-video .armon-showcase__layout { column-gap: 2.5rem; }
    .armon-showcase--with-video .armon-story__inner { width: 400px; max-width: 400px; }
    .armon-showcase--with-video .armon-showcase__cats { gap: 1.6rem 1rem; }
    .armon-showcase--with-video .armon-type { width: 118px; }
    .armon-showcase--with-video .armon-type__img { width: 100px; height: 100px; }
}

/*  Secciones y tarjetas de producto                                   */
/* ------------------------------------------------------------------ */
.bg-surface-light { background-color: var(--ar-cream) !important; }
.bg-surface { background-color: var(--ar-cream) !important; }

.section-header__tag { color: var(--ar-sage-d) !important; }
.section-header__title { color: var(--ar-ink) !important; }

.product-card,
.armon-product-card {
    border-radius: var(--ar-radius) !important;
    background: var(--ar-white);
    border: 1px solid var(--ar-line);
    box-shadow: var(--ar-shadow) !important;
}

.product-card__body { padding: 1rem 1.1rem 1.2rem; }
.product-card__title { font-size: 1.02rem !important; color: var(--ar-ink) !important; }
.product-card__price { color: var(--ar-ink) !important; font-weight: 700; }
.product-card__price del { opacity: .55; font-weight: 400; }

.armon-quickbuy { margin-top: .85rem; }

.armon-quickbuy a.button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--ar-sage-d);
    color: #fff;
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
}

.armon-quickbuy a.button:hover,
.woocommerce ul.products li.product .button:hover { background: var(--ar-sage-dd); color: #fff; }

.armon-quickbuy a.added_to_cart { margin-top: .5rem; background: transparent !important; color: var(--ar-sage-dd) !important; border: 2px solid var(--ar-sage-d) !important; }

.armon-quickbuy a.button.loading { opacity: .7; }

/* Plazo de elaboración (lo dibuja el plugin Armon Logística) */
.armon-lead { margin: .5rem 0 0 !important; }
.armon-lead--fast { background: var(--ar-mint) !important; color: #2f5a32 !important; }
.armon-lead--slow { background: #fdeccb !important; color: #7a4f0b !important; }

.woocommerce ul.products li.product .armon-lead { margin: .25rem 1.25rem .5rem !important; }

/* ------------------------------------------------------------------ */
/*  Filtros de la tienda                                               */
/* ------------------------------------------------------------------ */
.armon-filters { display: flex; flex-direction: column; gap: .6rem; margin: 0 0 1.5rem; padding: 1rem; background: var(--ar-white); border: 1px solid var(--ar-line); border-radius: var(--ar-radius); }
.armon-filters__row { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.armon-filters__label { flex: none; width: 5.2rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ar-muted); }
.armon-filters__pills { display: flex; gap: .45rem; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: .1rem 0; }
.armon-filters__pills::-webkit-scrollbar { display: none; }

.armon-pill {
    flex: none;
    padding: .42rem .95rem;
    border: 1.5px solid var(--ar-line);
    border-radius: 999px;
    background: var(--ar-cream);
    color: var(--ar-ink);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s, color .15s, border-color .15s;
}

.armon-pill:hover { border-color: var(--ar-sage-d); color: var(--ar-sage-dd); }
.armon-pill.is-active { background: var(--ar-sage-d); border-color: var(--ar-sage-d); color: #fff; }

@media (min-width: 900px) {
    .armon-filters__pills { flex-wrap: wrap; overflow: visible; }
}

/* ------------------------------------------------------------------ */
/*  Ficha de producto (celular: botón de compra completo, sin cortes)  */
/* ------------------------------------------------------------------ */
.woocommerce div.product form.cart { max-width: 100%; flex-wrap: nowrap; }
.woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    border: 0;
    border-radius: 999px;
    background: var(--ar-sage-d);
    color: #fff;
    font-weight: 600;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--ar-sage-dd); color: #fff; }
.woocommerce div.product form.cart div.quantity { flex: none; }

/* ------------------------------------------------------------------ */
/*  Carrito y checkout                                                 */
/* ------------------------------------------------------------------ */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
    background: var(--ar-sage-d) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    min-height: 3.1rem;
    box-shadow: 0 4px 14px rgba(74, 111, 77, .25);
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background: var(--ar-sage-dd) !important; }

.wc-block-components-button:not(.is-link):focus-visible { outline: 2px solid var(--ar-sage-d); outline-offset: 2px; }

.shipping-coordination-alert { background: var(--ar-mint) !important; border: 1px solid #c5e0bd !important; border-left: 4px solid var(--ar-sage-d) !important; box-shadow: none !important; }
.shipping-coordination-alert strong { color: var(--ar-sage-dd) !important; }
.shipping-coordination-alert span { color: var(--ar-ink) !important; }

/* ------------------------------------------------------------------ */
/*  Contacto final (versión clara)                                     */
/* ------------------------------------------------------------------ */
.armon-cta { background: linear-gradient(135deg, #e9f3e4 0%, #fbf1dc 100%); }
.armon-cta-bg { display: none; }
.armon-cta h2 { color: var(--ar-ink) !important; }
.armon-cta p { color: var(--ar-muted) !important; }
.armon-cta a.inline-block { color: var(--ar-sage-d) !important; }

/* ------------------------------------------------------------------ */
/*  Pie de página (claro y legible)                                    */
/* ------------------------------------------------------------------ */
footer.bg-brand-500 { background: #efe3cc !important; color: var(--ar-ink) !important; margin-top: 0 !important; }
footer.bg-brand-500 h3,
footer.bg-brand-500 a,
footer.bg-brand-500 p,
footer.bg-brand-500 span,
footer.bg-brand-500 div { color: var(--ar-ink) !important; }
footer.bg-brand-500 .border-white\/40,
footer.bg-brand-500 .border-white\/20,
footer.bg-brand-500 .border-t { border-color: rgba(59, 47, 41, .18) !important; }
footer.bg-brand-500 a:hover { color: var(--ar-sage-dd) !important; }
footer.bg-brand-500 input { background: #fff !important; color: var(--ar-ink) !important; border-color: var(--ar-line) !important; }
footer.bg-brand-500 input::placeholder { color: var(--ar-muted) !important; }
footer.bg-brand-500 button,
footer.bg-brand-500 input[type="submit"] { background: var(--ar-sage-d) !important; color: #fff !important; border: 0 !important; }

/* ------------------------------------------------------------------ */
/*  Tienda: grilla (arregla la celda vacía), tarjetas y celular        */
/* ------------------------------------------------------------------ */
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }

.woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }

.woocommerce ul.products li.product {
    background: var(--ar-white);
    border: 1px solid var(--ar-line);
    border-radius: var(--ar-radius);
    box-shadow: var(--ar-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ar-ink); text-transform: none; font-size: 1.02rem; }
.woocommerce ul.products li.product .price { color: var(--ar-ink) !important; }
.woocommerce ul.products li.product .price del { opacity: .55; }
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart { width: calc(100% - 2.2rem); margin: auto 1.1rem 1.1rem; }

.armon-shop-archive .page-title,
.armon-shop-archive .woocommerce-products-header__title { margin: 0 0 .35rem; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ar-ink); }
.armon-shop-archive .term-description,
.armon-shop-archive .woocommerce-products-header__description { margin: 0 0 1.1rem; color: var(--ar-muted); font-size: 1.02rem; max-width: 40rem; }
.armon-age-block + .armon-age-block { margin-top: 1.5rem; }

.woocommerce-result-count { color: var(--ar-muted); font-size: .9rem; }
.woocommerce-ordering select { padding: .45rem .9rem; border: 1.5px solid var(--ar-line); border-radius: 999px; background: #fff; color: var(--ar-ink); font-size: .88rem; max-width: 100%; }

@media (max-width: 640px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .92rem; padding: .6rem .8rem 0; }
    .woocommerce ul.products li.product .price { font-size: .95rem; padding: .2rem .8rem .4rem; }
    .woocommerce ul.products li.product .armon-lead { margin: .1rem .8rem .4rem !important; font-size: 11px; }
    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product a.added_to_cart { width: calc(100% - 1.6rem); margin: auto .8rem .8rem; padding: .6rem .5rem; font-size: .82rem; }
    .woocommerce-result-count { float: none; margin: 0 0 .5rem; }
    .woocommerce-ordering { float: none; margin: 0 0 1rem; }
}

/* La tarjeta de la tienda tenía dos cajas anidadas: la interior ya no dibuja borde ni sombra. */
.woocommerce ul.products li.product > .armon-product-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
    overflow: visible;
}
.woocommerce ul.products li.product > .armon-product-card > a { display: block; }
.woocommerce ul.products li.product > .armon-product-card > a img { width: 100%; height: auto; display: block; border-radius: 0; }
.woocommerce ul.products li.product .armon-lead { display: inline-block; align-self: flex-start; }

/* ------------------------------------------------------------------ */
/*  Ficha de producto: colores de la marca                             */
/* ------------------------------------------------------------------ */
body .armon-product-title { color: var(--ar-ink) !important; font-family: 'Playfair Display', Georgia, serif; }
body .armon-custom-cart-wrapper .single_add_to_cart_button {
    background-color: var(--ar-sage-d) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    white-space: nowrap !important;
    font-size: 1rem !important;
}
body .armon-custom-cart-wrapper .single_add_to_cart_button:hover { background-color: var(--ar-sage-dd) !important; }

/* ------------------------------------------------------------------ */
/*  Botón "Consultar por WhatsApp" (ficha de producto)                 */
/* ------------------------------------------------------------------ */
.armon-wa-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    padding: .8rem 1.25rem;
    border: 2px solid #25a244;
    border-radius: 999px;
    background: #fff;
    color: #1c7a33;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.armon-wa-product:hover { background: #25a244; color: #fff; }

/* Más prioridad que woocommerce.css (que fijaba el botón en color oliva). */
body.woocommerce div.product .armon-custom-cart-wrapper form.cart .single_add_to_cart_button,
body.single-product div.product .armon-custom-cart-wrapper form.cart .single_add_to_cart_button {
    background-color: var(--ar-sage-d) !important;
    color: #fff !important;
}
body.woocommerce div.product .armon-custom-cart-wrapper form.cart .single_add_to_cart_button:hover,
body.single-product div.product .armon-custom-cart-wrapper form.cart .single_add_to_cart_button:hover {
    background-color: var(--ar-sage-dd) !important;
}

/* Botón de compra: otra hoja de estilos le ponía 40px de relleno a cada lado y, en columnas angostas
   (celular chico y escritorio), el botón quedaba más angosto que su texto ("Agregar al carrito" se veía
   cortado). Ahora el botón tiene un ancho mínimo: si no entra al lado de la cantidad, pasa a su propia
   fila a todo el ancho. */
body.single-product div.product .armon-custom-cart-wrapper form.cart { flex-wrap: wrap !important; row-gap: 12px !important; }
body.single-product div.product .armon-custom-cart-wrapper form.cart .quantity,
body.single-product div.product .armon-custom-cart-wrapper form.cart .single_add_to_cart_button { margin: 0 !important; }
/* Los "clearfix" de WooCommerce (::before/::after) contaban como elementos vacíos del flex y empujaban todo 14px. */
body.single-product div.product .armon-custom-cart-wrapper form.cart::before,
body.single-product div.product .armon-custom-cart-wrapper form.cart::after { display: none !important; content: none !important; }
body.single-product div.product .armon-custom-cart-wrapper form.cart .single_add_to_cart_button {
    flex: 1 1 180px !important;
    min-width: 180px !important;
    padding: 14px 18px !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* La ficha ya tiene su propio botón "Consultar por WhatsApp": el círculo flotante tapaba su borde. */
body.single-product a.fixed[href*="whatsapp"] { display: none !important; }
