/* ==========================================================
   WARNEKE MINORISTA - TEMA ESTILO "THE FOOD MARKET" (fm)
   Se carga DESPUÉS de minoristas.css y minoristas-v2.css.
   Acento teal, navy oscuro, tipografía Poppins + Roboto.
   ========================================================== */

:root {
    --fm-teal: #386641;         /* Hunter Green - Acento Puntual Brandbook 2026 */
    --fm-teal-dark: #2D5334;    /* Hunter Green Hover */
    --fm-teal-soft: #FAF4E4;    /* Soft Warm Tint */
    --fm-gold: #EEA243;         /* Golden Apricot - Brandbook 2026 */
    --fm-navy: #386641;         /* Warm Espresso / Charcoal */
    --fm-slate: #6A994E;
    --fm-bg: #F2E8CF;           /* Warm Ivory / Vainilla Suave */
    --fm-card: #FAF4E4;
    --fm-line: #DFD1B0;
    --fm-text: #386641;
    --fm-muted: #527957;
    --fm-radius: 14px;
}

body.retail-body {
    background: var(--fm-bg);
    font-family: 'Familjen Grotesk', sans-serif;
    color: var(--fm-text);
}

body.fm-lock { overflow: hidden; }

/* ---------- Pre-header / ticker ---------- */
.fm-topbar { background: var(--fm-navy); color: #fff; }

.fm-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.fm-topbar-tabs { display: flex; gap: 20px; flex-shrink: 0; }
.fm-topbar-tabs a { color: #d2d6dc; font-size: 0.85rem; text-decoration: none; white-space: nowrap; transition: color .2s; }
.fm-topbar-tabs a:hover { color: #fff; }
.fm-topbar-tabs a.primary { color: #fff; font-weight: 700; }

/* Accesibilidad: Foco visible en teclado */
:focus-visible {
    outline: 2px solid var(--fm-teal) !important;
    outline-offset: 2px !important;
}

.fm-ticker { position: relative; flex: 1; height: 22px; overflow: hidden; text-align: center; }

.fm-ticker-msg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
    white-space: nowrap;
}

.fm-ticker-msg.active { opacity: 1; transform: none; pointer-events: auto; }
.fm-ticker-msg i { color: var(--fm-teal); }

.fm-ticker-arrows { display: flex; gap: 4px; flex-shrink: 0; }

.fm-ticker-arrows button {
    width: 30px;
    height: 28px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    font-size: .7rem;
    transition: background .2s;
}

.fm-ticker-arrows button:hover { background: rgba(255, 255, 255, .25); }

/* ---------- Header Sticky con Glassmorphism ---------- */
.retail-header.fm-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #F2E8CF;
    border-bottom: 1px solid var(--fm-line);
    box-shadow: 0 2px 10px rgba(30, 27, 24, 0.04);
    padding: 12px 24px;
    transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.retail-header.fm-header.is-scrolled {
    background: #F2E8CF;
    box-shadow: 0 8px 24px rgba(30, 27, 24, 0.08);
    border-bottom-color: rgba(30, 27, 24, 0.12);
}

.fm-header-inner { gap: 28px; padding-bottom: 0; }
.fm-header .retail-logo-img { height: 50px; }

.fm-search { max-width: 400px; margin: 0; flex: 1 1 0; position: relative; }

.fm-search .header-search-input {
    background: #FFFFFF;
    border: 1.5px solid #DFD1B0;
    border-radius: 40px;
    padding: 15px 64px 15px 22px;
    font-size: .95rem;
    font-family: 'Familjen Grotesk', sans-serif;
}

.fm-search .header-search-input::placeholder { color: #78716C; }

.fm-search .header-search-input:focus {
    background: #fff;
    border-color: var(--fm-gold);
    box-shadow: 0 0 0 4px rgba(238, 162, 67, .18);
}

.fm-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #d6dae3;
    color: #fff;
    display: grid;
    place-items: center;
    pointer-events: none;
    transition: background .2s;
}

.fm-search:focus-within .fm-search-btn { background: var(--fm-teal); }

.fm-actions { gap: 10px; margin-left: auto; }

.fm-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--fm-line);
    border-radius: 60px;
    padding: 4px 14px 4px 6px;
    cursor: pointer;
}

.fm-delivery > i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f3f8;
    color: var(--fm-teal-dark);
    display: grid;
    place-items: center;
    font-size: .9rem;
}

.fm-delivery select {
    border: none;
    background: transparent;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: .8rem;
    color: #505765;
    outline: none;
    cursor: pointer;
    max-width: 190px;
}

.fm-pill-link {
    background: #FFFFFF;
    color: #1E1B18;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    padding: 10px 18px;
    border-radius: 40px;
    text-decoration: none;
    transition: all .2s;
    border: 1.5px solid #EEA243;
}

.fm-pill-link:hover { 
    background: #1E1B18; 
    color: #FAF6EE;
    border-color: #1E1B18;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 27, 24, 0.15);
}

.cart-toggle-btn.fm-cart-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    border-radius: 14px;
    background: #EEA243;
    border: none;
    font-size: 1.25rem;
    color: #386641;
    box-shadow: 0 4px 12px rgba(238, 162, 67, 0.35);
    transition: transform .2s, background .2s;
}

.cart-toggle-btn.fm-cart-btn:hover { 
    background: #D98C2C; 
    transform: translateY(-1px) scale(1.04); 
    box-shadow: 0 6px 16px rgba(238, 162, 67, 0.45); 
}

.fm-cart-btn .cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--fm-teal);
    width: 22px;
    height: 22px;
}

/* ---------- Menú de categorías ---------- */
.fm-catnav {
    background: var(--fm-bg);
    padding: 0 24px;
}

.fm-catnav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 6px 0 14px;
    -ms-overflow-style: none;
}

.fm-catnav-inner::-webkit-scrollbar { display: none; }

.fm-catnav-inner a {
    color: var(--fm-text);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 14px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.fm-catnav-inner a:hover { background: #e9ecf2; }

.fm-catnav-inner a.fm-navpill {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .3px;
    position: relative;
}

.fm-navpill-offers { background: #b9ecc6; color: #14532d; }
.fm-navpill-offers:hover { background: #a3e4b3 !important; }
.fm-navpill-new { background: #e6f2d3; color: #2f4a12; }
.fm-navpill-new:hover { background: #d9ebbf !important; }

.fm-new-flag {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fm-teal);
    color: #fff;
    font-size: .55rem;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: .5px;
}

/* ---------- Hero ---------- */
.fm-hero {
    position: relative;
    max-width: 1280px;
    margin: 0 auto 22px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--fm-teal);
}

.fm-hero-track { position: relative; height: 340px; }

.fm-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    text-decoration: none;
    color: var(--fm-navy);
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s;
}

.fm-slide.active { opacity: 1; visibility: visible; }

.fm-slide-teal { 
    background: linear-gradient(125deg, #386641 0%, #6A994E 100%); 
    color: #F2E8CF; 
}
.fm-slide-teal .fm-slide-kicker { color: #A7C957; opacity: 1; }
.fm-slide-teal h1, .fm-slide-teal h2 { color: #F2E8CF; }
.fm-slide-teal .fm-slide-badge { background: #A7C957; color: #386641; font-weight: 800; }
.fm-slide-teal .fm-slide-cta { background: #EEA243; color: #386641; font-weight: 800; }
.fm-slide-teal .fm-slide-cta:hover { background: #F7B95E; color: #386641; }

.fm-slide-sand { 
    background: linear-gradient(125deg, #EEA243 0%, #f5b358 100%); 
    color: #386641; 
}
.fm-slide-sand .fm-slide-kicker { color: #386641; opacity: 0.95; }
.fm-slide-sand h1, .fm-slide-sand h2 { color: #386641; }
.fm-slide-sand .fm-slide-badge { background: #F2E8CF; color: #386641; font-weight: 800; }
.fm-slide-sand .fm-slide-cta { background: #386641; color: #F2E8CF; font-weight: 800; }

.fm-slide-navy { 
    background: linear-gradient(125deg, #5B9943 0%, #6A994E 55%, #A7C957 100%); 
    color: #386641; 
}
.fm-slide-navy .fm-slide-kicker { color: #F2E8CF; opacity: 1; }
.fm-slide-navy h1, .fm-slide-navy h2 { color: #F2E8CF; }
.fm-slide-navy .fm-slide-badge { background: #F2E8CF; color: #386641; font-weight: 800; }
.fm-slide-navy .fm-slide-cta { background: #EEA243; color: #386641; font-weight: 800; }

.fm-slide-copy { z-index: 1; max-width: 460px; }

.fm-slide-kicker {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 10px;
}

.fm-slide h1, .fm-slide h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 16px;
    letter-spacing: -1px;
}

.fm-slide-badge {
    display: inline-block;
    background: #fff;
    color: var(--fm-navy);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 18px;
}

.fm-slide-cta {
    display: block;
    width: max-content;
    background: var(--fm-navy);
    color: #fff;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    padding: 12px 28px;
    border-radius: 8px;
    transition: transform .2s, background .2s;
}

.fm-slide-navy .fm-slide-cta { background: #EEA243; color: #386641; font-weight: 800; }
.fm-slide:hover .fm-slide-cta { transform: translateY(-2px); }

.fm-slide img {
    height: 88%;
    max-width: 42%;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .25));
    transition: transform .6s ease;
}

.fm-slide.active img { animation: fmFloat 5s ease-in-out infinite; }

@keyframes fmFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.fm-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--fm-navy);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
    z-index: 3;
    transition: transform .2s;
}

.fm-hero-arrow:hover { transform: translateY(-50%) scale(1.08); }
.fm-hero-arrow.prev { left: 16px; }
.fm-hero-arrow.next { right: 16px; }

.fm-hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, .85);
    border-radius: 20px;
    z-index: 3;
}

.fm-hero-dots button {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 10px;
    border: none;
    padding: 0;
    background: #8e95a2;
    cursor: pointer;
    transition: width .25s, background .25s;
}

/* Área de toque expandida de 32x32px accesible para móviles */
.fm-hero-dots button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
}

.fm-hero-dots button.active { width: 22px; background: var(--fm-teal); }

/* ---------- Perks ---------- */
.fm-perks {
    max-width: 1280px;
    margin: 0 auto 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fm-perk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 18px;
    background: #FAF4E4; border: 1.5px solid #DFD1B0;
    border-radius: 16px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .8rem;
    font-weight: 500;
    color: #386641;
    line-height: 1.35;
}

.fm-perk i { font-size: 1.9rem; color: #EEA243; }
.fm-perk strong { font-weight: 800; }

/* ---------- Categorías (slider) ---------- */
.fm-cats { max-width: 1280px; padding: 0; margin: 0 auto 36px; }

.fm-section-head, .fm-catalog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fm-section-head h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0;
}

.fm-arrows { display: flex; gap: 8px; }

.fm-arrows button {
    width: 42px;
    height: 36px;
    border: none;
    border-radius: 30px;
    background: rgba(34, 62, 74, .12);
    color: #223e4a;
    cursor: pointer;
    transition: background .2s;
}

.fm-arrows button:hover { background: rgba(34, 62, 74, .22); }

.cat-grid.fm-cats-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 16px 4px 18px;
    margin-top: 6px;
    -ms-overflow-style: none;
}

.fm-cats-track::-webkit-scrollbar { display: none; }

.fm-cats-track .cat-card {
    flex: 0 0 168px;
    scroll-snap-align: start;
    padding: 26px 12px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--fm-line);
    box-shadow: 0 1px 3px rgba(20, 30, 50, .04);
}

.fm-cats-track .cat-card strong { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: .92rem; }
.fm-cats-track .cat-card small { font-size: .74rem; color: var(--fm-muted); }

.fm-cats-track .cat-icon {
    width: 78px;
    height: 78px;
    font-size: 2rem;
    box-shadow: none;
    background: rgba(255, 255, 255, .75);
}

.fm-cats-track .cat-card:hover { transform: translateY(-4px); border-color: var(--fm-teal); box-shadow: 0 10px 24px rgba(22, 101, 52, .16); }

.fm-cats-track .cat-card.active-tag-card {
    border-color: var(--fm-teal);
    background: #FAF4E4;
    box-shadow: 0 6px 20px rgba(22, 101, 52, .22);
    transform: translateY(-3px);
}
.fm-cats-track .cat-card.active-tag-card .cat-icon {
    background: var(--fm-teal);
    color: #ffffff !important;
}
.fm-cats-track .cat-card.active-tag-card strong {
    color: #386641;
}

/* ---------- Banners promo ---------- */
.promo-banners { padding: 0; margin-bottom: 44px; }

.promo-card { border-radius: 16px; min-height: 190px; border: 1.5px solid rgba(37, 104, 61, 0.12); }
.promo-text h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.2rem; font-weight: 800; }

.promo-link {
    background: #EEA243;
    color: #386641;
    border-radius: 8px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.promo-beige { background: linear-gradient(135deg, #386641 0%, #386641 100%); color: #F2E8CF !important; }
.promo-beige h3 { color: #F2E8CF; }
.promo-pink { background: linear-gradient(135deg, #EEA243 0%, #f5b458 100%); color: #386641 !important; }
.promo-pink .promo-link { background: #386641; color: #F2E8CF; }
.promo-lilac { background: linear-gradient(135deg, #6A994E 0%, #A7C957 100%); color: #386641 !important; }
.promo-lilac .promo-link { background: #386641; color: #F2E8CF; }

/* ---------- Catálogo ---------- */
.fm-catalog { max-width: 1280px; margin: 0 auto 60px; padding: 0 24px; scroll-margin-top: 16px; }

.fm-catalog-head { margin-bottom: 20px; align-items: flex-end; flex-wrap: wrap; }

.fm-catalog-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    margin: 0 0 6px;
}

.fm-count {
    background: none;
    border: none;
    padding: 0;
    color: #475569;
    font-weight: 500;
    font-size: .9rem;
}

.fm-catalog-head .clear-filters-btn { margin-left: 10px; }

.fm-head-actions { display: flex; align-items: center; gap: 12px; }

.fm-sort {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #c8d0dd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .88rem;
}

.fm-sort span { font-weight: 700; }

.fm-sort select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: .88rem;
    color: #505765;
    outline: none;
    cursor: pointer;
    text-transform: none;
}

.fm-filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--fm-navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
}

.fm-filters-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--fm-teal);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    margin-left: 4px;
}

.fm-filters-badge.is-hidden { display: none; }

.fm-catalog-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* ---------- Sidebar ---------- */
.fm-sidebar { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 32px); overflow-y: auto; }
.fm-sidebar::-webkit-scrollbar { width: 5px; }
.fm-sidebar::-webkit-scrollbar-track { background: transparent; }
.fm-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.fm-sidebar-close { display: none; }
.fm-sidebar-backdrop { display: none; }

.fm-filter { background: transparent; }

.fm-filter summary {
    list-style: none;
    cursor: pointer;
    background: #e9ecf2;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: .92rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fm-filter summary::-webkit-details-marker { display: none; }

.fm-filter summary::after {
    content: "\f077";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .7rem;
    transition: transform .2s;
}

.fm-filter:not([open]) summary::after { transform: rotate(180deg); }

.fm-filter-list {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    padding: 10px 4px 6px;
    background: none !important;
    border-radius: 0 !important;
    overflow: visible;
}

body.retail-body .fm-filter-list .tab-btn,
body.retail-body .fm-filter-list .filter-chip,
body.retail-body .fm-filter-list .quick-weight-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 6px;
    box-shadow: none;
    padding: 7px 8px;
    text-align: left;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: .9rem;
    font-weight: 400;
    color: #3f4654;
    cursor: pointer;
    transition: background .15s;
}

body.retail-body .fm-filter-list .tab-btn:hover,
body.retail-body .fm-filter-list .filter-chip:hover,
body.retail-body .fm-filter-list .quick-weight-pill:hover { background: #eceff5; }

.fm-box {
    width: 18px;
    height: 18px;
    border: 2px solid #2b3139;
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
    background: #fff;
    transition: background .15s, border-color .15s;
}

.fm-filter-list .active .fm-box { background: var(--fm-teal); border-color: var(--fm-teal); }

.fm-filter-list .active .fm-box::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

body.retail-body .fm-filter-list .active { color: var(--fm-teal-dark); font-weight: 700; background: transparent; }

/* ---------- Grilla y tarjetas ---------- */
.fm-products { max-width: none; margin: 0; padding: 0; }

.fm-products .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

body.retail-body .product-card {
    background: var(--fm-card);
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(20, 30, 50, .08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}

body.retail-body .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 30, 50, .12);
    border-color: transparent;
}

body.retail-body .product-image-wrap {
    position: relative;
    height: 200px;
    background: #fff;
    padding: 14px 14px 0;
    display: grid;
    place-items: center;
}

body.retail-body .product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

body.retail-body .product-card:hover .product-img { transform: scale(1.05); }

body.retail-body .product-badge-group {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 0;
    z-index: 2;
}

body.retail-body .badge-top,
body.retail-body .badge-discount {
    border-radius: 4px;
    margin: 0;
    padding: 3px 8px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    background: #fff;
    color: var(--fm-teal-dark);
    border: 1.5px solid var(--fm-teal);
}

body.retail-body .badge-discount:empty { display: none; }
body.retail-body .badge-discount { background: var(--fm-teal); color: #fff; }

body.retail-body .product-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.retail-body .product-title {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--fm-text);
    margin: 0 0 3px;
    min-height: 2.6em;
}

body.retail-body .product-brand {
    font-size: .85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #556275;
    margin-bottom: 10px;
}

body.retail-body .weight-selector { margin-bottom: 12px; }

body.retail-body .weight-options { display: flex; gap: 6px; }

body.retail-body .weight-btn {
    flex: 1;
    background: #fff;
    border: 1.5px solid var(--fm-line);
    border-radius: 8px;
    padding: 7px 4px;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    color: #505765;
    cursor: pointer;
    transition: all .2s;
}

body.retail-body .weight-btn:hover { border-color: var(--fm-teal); color: var(--fm-teal-dark); }

body.retail-body .weight-btn.selected {
    background: var(--fm-teal-soft);
    border-color: var(--fm-teal);
    color: var(--fm-teal-dark);
}

body.retail-body .product-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border: none;
    padding: 0;
}

body.retail-body .price-box { display: flex; flex-direction: column; gap: 2px; }

body.retail-body .product-price {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--fm-text);
    letter-spacing: -.3px;
    transition: transform .2s ease, color .2s ease;
}

@keyframes fmPricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); color: var(--fm-teal-dark); }
    100% { transform: scale(1); }
}

.product-price.price-updated {
    animation: fmPricePulse 0.35s ease-out;
}

body.retail-body .price-per-kg {
    font-size: .68rem;
    font-weight: 700;
    color: #4e5b6e;
    text-transform: uppercase;
    letter-spacing: .2px;
}

body.retail-body .add-cart-btn {
    width: 100%;
    background: var(--fm-slate);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    justify-content: center;
    transition: background .2s, transform .15s;
}

body.retail-body .add-cart-btn:hover { background: var(--fm-teal-dark); }
body.retail-body .add-cart-btn:active { transform: scale(.97); }

/* ---------- Carrito / acentos ---------- */
body.retail-body .checkout-btn,
body.retail-body .btn-wa-confirm { background: var(--fm-slate); }
body.retail-body .checkout-btn:hover:not(:disabled) { background: var(--fm-teal-dark); }
body.retail-body .progress-bar { background: linear-gradient(90deg, var(--fm-teal), #5ddac8); }
body.retail-body .progress-message i { color: var(--fm-teal-dark); }
body.retail-body .qty-btn:hover { background: var(--fm-teal-soft); }
body.retail-body .cart-count,
body.retail-body .floating-cart-badge { background: var(--fm-teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .fm-catalog-body { grid-template-columns: 1fr; }
    .fm-filters-toggle { display: inline-flex; }

    .fm-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 86vw);
        max-height: none;
        background: var(--fm-bg);
        padding: 16px;
        z-index: 3000;
        transform: translateX(-102%);
        transition: transform .3s ease;
        box-shadow: 8px 0 30px rgba(0, 0, 0, .2);
    }

    .fm-sidebar.open { transform: none; }

    .fm-sidebar-close {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .fm-sidebar-close button { border: none; background: #e9ecf2; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }

    .fm-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(12, 24, 36, .5);
        z-index: 2999;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s;
    }

    .fm-sidebar-backdrop.open { opacity: 1; pointer-events: auto; }

    .fm-topbar-tabs { display: none; }
    .fm-delivery select { max-width: 130px; }
    .fm-hero { margin-left: 16px; margin-right: 16px; }
    .fm-perks { margin-left: 16px; margin-right: 16px; }
    .fm-cats, .promo-banners { margin-left: 16px; margin-right: 16px; }
    .fm-cats { max-width: calc(100% - 32px); }
}

@media (max-width: 768px) {
    .fm-topbar-inner { padding: 0 12px; height: 40px; }
    .fm-ticker-msg { font-size: .75rem; }
    .fm-header-inner { flex-wrap: wrap; gap: 8px; }
    .retail-header.fm-header { padding: 8px 14px 10px; }
    .fm-header .retail-logo-img { height: 40px; }
    .cart-toggle-btn.fm-cart-btn { width: 42px; height: 42px; font-size: 1.15rem; }
    .fm-search { order: 3; flex-basis: 100%; max-width: none; }
    .fm-search .header-search-input {
        padding: 10px 48px 10px 18px;
        font-size: .9rem;
    }
    .fm-search-btn {
        width: 34px;
        height: 34px;
        right: 4px;
    }
    .fm-delivery, .fm-pill-link { display: none; }
    .fm-actions { margin-left: auto; }
    .fm-catnav { padding: 0 14px; }
    .fm-hero-track { height: 300px; }
    .fm-slide { padding: 0 6%; }
    .fm-slide img { max-width: 40%; }
    .fm-hero-arrow { display: none; }
    .fm-perks { grid-template-columns: 1fr; gap: 10px; }
    .fm-perk { justify-content: flex-start; padding: 16px; }
    .fm-catalog { padding: 0 14px; }
    .fm-products .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    body.retail-body .product-image-wrap { height: 150px; }
    body.retail-body .product-price { font-size: 1.2rem; }
    .fm-sort span { display: none; }
}

@media (max-width: 420px) {
    .fm-slide-copy { max-width: 56%; }
    .fm-slide h1, .fm-slide h2 { font-size: 1.7rem; }
    .fm-slide-badge { font-size: .75rem; padding: 6px 12px; }
    .fm-products .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .fm-slide.active img { animation: none; }
    .fm-ticker-msg, .fm-slide, .fm-sidebar { transition: none; }
}

body.retail-body .floating-cart-btn { background: var(--fm-slate); }

/* =====================================================
   VISTA RÁPIDA DE PRODUCTOS (QUICK VIEW)
   ===================================================== */
.product-image-wrap { cursor: pointer; }
.product-title { cursor: pointer; transition: color .2s ease; }
.product-title:hover { color: var(--fm-teal-dark, #059669); }

.quick-view-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 255, 255, 0.95);
    color: var(--fm-navy, #141e32);
    border: 1px solid #d1d5db;
    padding: 7px 16px;
    border-radius: 20px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 4;
    cursor: pointer;
    white-space: nowrap;
}

.quick-view-btn i { font-size: 0.85rem; color: var(--fm-teal); }

.quick-view-btn:hover {
    background: var(--fm-teal);
    color: #ffffff;
    border-color: var(--fm-teal);
    box-shadow: 0 6px 16px rgba(22, 101, 52, 0.35);
}
.quick-view-btn:hover i { color: #ffffff; }

.product-card:hover .quick-view-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Modal Overlay */
.quick-view-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.quick-view-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.quick-view-modal {
    background: #ffffff;
    width: min(860px, 95vw);
    max-height: 90vh;
    border-radius: 20px;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    position: relative;
    transform: scale(0.95);
    transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-view-overlay.open .quick-view-modal {
    transform: scale(1);
}

.quick-view-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all .2s;
    z-index: 10;
}

.quick-view-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

/* Modal Grid */
.qv-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    padding: 32px;
}

.qv-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-image-box {
    position: relative;
    width: 100%;
    height: 380px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.qv-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.qv-image-box:hover .qv-img {
    transform: scale(1.05);
}

.qv-badge-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e11d48;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    z-index: 2;
}

.qv-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qv-meta .qv-brand {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fm-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qv-meta .qv-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--fm-navy);
    line-height: 1.25;
    margin: 4px 0 0;
}

.qv-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qv-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.qv-tag-blue   { background: #eff6ff; color: #1d4ed8; }
.qv-tag-green  { background: #ecfdf5; color: #386641; }
.qv-tag-lilac  { background: #f5f3ff; color: #6d28d9; }
.qv-tag-peach  { background: #fff7ed; color: #c2410c; }
.qv-tag-yellow { background: #fefce8; color: #a16207; }
.qv-tag-choco  { background: #fdf2f8; color: #9d174d; }
.qv-tag-pink   { background: #fff1f2; color: #be123c; }
.qv-tag-peanut { background: #fef3c7; color: #b45309; }
.qv-tag-oil    { background: #f0fdf4; color: #15803d; }

.qv-price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.qv-price-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.qv-price-current {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--fm-navy);
}

.qv-price-kg {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.qv-saving-alert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #386641;
    font-weight: 600;
}

.qv-desc-block h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px;
}

.qv-desc-block p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.qv-selection-block .qv-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fm-navy);
    margin-bottom: 8px;
}

.qv-weight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qv-weight-pill {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all .15s ease;
}

.qv-weight-pill:hover {
    border-color: var(--fm-teal);
    color: var(--fm-teal-dark);
    background: #FAF4E4;
}

.qv-weight-pill.active {
    border-color: var(--fm-teal);
    background: var(--fm-teal);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.28);
}

.qv-actions-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.qv-qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    padding: 3px;
}

.qv-qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: var(--fm-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: background .15s;
}

.qv-qty-btn:hover {
    background: #f1f5f9;
}

.qv-qty-val {
    min-width: 32px;
    text-align: center;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--fm-navy);
}

.qv-btn-add {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--fm-teal);
    color: #ffffff;
    border: none;
    padding: 13px 20px;
    border-radius: 8px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(22, 101, 52, 0.32);
    transition: all .2s ease;
}

.qv-btn-add:hover {
    background: var(--fm-teal-dark, #059669);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 101, 52, 0.45);
}

.qv-perks-box {
    margin-top: 8px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qv-perk-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #475569;
}

.qv-perk-item i {
    color: var(--fm-teal);
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .qv-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }
    .qv-image-box {
        height: 220px;
        padding: 12px;
    }
    .qv-meta .qv-title {
        font-size: 1.25rem;
    }
    .qv-actions-block {
        flex-direction: column;
        align-items: stretch;
    }
    .qv-qty-selector {
        justify-content: center;
    }
    .quick-view-btn {
        display: none;
    }
}

/* ==========================================================
   WIDGET DE ENVÍOS ANDREANI (CART DRAWER & CHECKOUT MODAL)
   ========================================================== */
.andreani-shipping-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.andreani-shipping-group label span {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--fm-navy, #1e293b);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.andreani-shipping-group label span i {
    color: var(--fm-teal, #166534);
}

.cp-calc-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cp-input-box {
    position: relative;
    flex: 1;
}

.cp-pin-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
}

.cp-field {
    width: 100%;
    padding: 9px 12px 9px 32px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cp-field:focus {
    outline: none;
    border-color: var(--fm-teal, #166534);
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.15);
}

.btn-calc-cp {
    background: var(--fm-navy, #1e293b);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-calc-cp:hover {
    background: #0f172a;
    transform: translateY(-1px);
}

.cp-feedback {
    min-height: 20px;
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.3;
}

.cp-feedback .cp-loading {
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp-feedback .cp-loading i {
    color: var(--fm-teal, #166534);
}

.cp-feedback .cp-success {
    color: #15803d;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cp-feedback .cp-error {
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Opciones interactivas de envío */
.shipping-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.shipping-option-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
}

.shipping-option-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.shipping-option-card.active {
    border-color: var(--fm-teal, #166534);
    background: #f0fdf9;
    box-shadow: 0 2px 8px rgba(22, 101, 52, 0.12);
}

.opt-radio-bullet {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.shipping-option-card.active .opt-radio-bullet {
    border-color: var(--fm-teal, #166534);
}

.opt-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
}

.shipping-option-card.active .opt-radio-dot {
    background: var(--fm-teal, #166534);
}

.opt-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #475569;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.shipping-option-card.active .opt-icon-wrap {
    background: rgba(22, 101, 52, 0.15);
    color: var(--fm-teal, #166534);
}

.opt-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.opt-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.opt-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.opt-delivery-time {
    font-size: 0.72rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.opt-price-wrap {
    text-align: right;
    flex-shrink: 0;
}

.opt-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.opt-price.free {
    color: #15803d;
    font-weight: 800;
}

.opt-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.opt-price-old {
    font-size: 0.72rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.badge-free-pill {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Skeleton de carga */
.shipping-loading-skeleton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: #64748b;
    font-size: 0.82rem;
}

.shipping-loading-skeleton i {
    color: var(--fm-teal, #166534);
}

/* Tarjeta resumen en checkout modal */
.shipping-method-summary-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.shipping-summary-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.shipping-badge-tag {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.shipping-summary-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    flex: 1;
}

.shipping-summary-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
}

.shipping-summary-sub {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.3;
}

.pickup-address-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 12px;
    color: #166534;
    font-size: 0.82rem;
    line-height: 1.4;
}

.pickup-address-notice i {
    font-size: 1rem;
    color: #15803d;
    margin-top: 2px;
}

.pickup-address-notice div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ==========================================================================
   RESUMEN DETALLE DEL PEDIDO EN CHECKOUT MODAL
   ========================================================================== */

.modal-order-summary-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.modal-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.modal-summary-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-summary-title i {
    color: var(--fm-teal, #166534);
    font-size: 1rem;
}

.modal-summary-badge {
    font-size: 0.72rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 12px;
}

.modal-items-scroll-list {
    max-height: 145px;
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-items-scroll-list::-webkit-scrollbar {
    width: 4px;
}

.modal-items-scroll-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.modal-item-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.modal-item-line:last-child {
    border-bottom: none;
}

.modal-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.modal-item-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-item-meta {
    font-size: 0.75rem;
    color: #64748b;
}

.modal-item-amount {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.modal-summary-subtotals {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #475569;
}

.modal-subtotal-row strong {
    color: #0f172a;
    font-weight: 700;
}

.modal-subtotal-row.discount-row {
    color: #15803d;
}

.modal-subtotal-row .discount-negative {
    color: #15803d;
    font-weight: 800;
}

.modal-summary-empty {
    text-align: center;
    padding: 16px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.modal-section-group {
    margin-top: 14px;
    margin-bottom: 14px;
}

.modal-group-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.modal-group-label i {
    color: var(--fm-teal, #166534);
    margin-right: 6px;
}

/* ==========================================================================
   DRAWER DEL CARRITO REDISEÑADO: DETALLE PRIMERO, ENVÍO Y PAGO DESPUÉS
   ========================================================================== */

.cart-drawer {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
}

.cart-header {
    background: var(--fm-navy);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h3 {
    color: #ffffff;
}

.cart-header .close-cart-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.cart-header .close-cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.cart-scroll-content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    background: #f8fafc;
}

.cart-scroll-content::-webkit-scrollbar {
    width: 5px;
}

.cart-scroll-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.cart-section-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cart-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-section-badge {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fm-navy);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cart-section-badge i {
    color: var(--fm-teal);
    font-size: 0.95rem;
}

.cart-items-counter-badge {
    font-size: 0.72rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 12px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    overflow: visible;
}

.cart-empty-state {
    text-align: center;
    padding: 28px 16px;
    color: #64748b;
}

.cart-empty-state i {
    font-size: 2.8rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.cart-empty-state h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.cart-empty-state p {
    font-size: 0.84rem;
    margin: 0 0 16px 0;
}

.btn-empty-catalog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fm-teal);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-empty-catalog:hover {
    background: var(--fm-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.3);
}

.cart-footer {
    flex-shrink: 0;
    background: #ffffff;
    border-top: 1.5px solid #e2e8f0;
    padding: 14px 18px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.cart-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cart-footer-total-preview {
    display: flex;
    flex-direction: column;
}

.cart-footer-total-preview .preview-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.cart-footer-total-preview .preview-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fm-navy);
}

.cart-footer .checkout-btn {
    flex: 1;
    margin: 0;
    padding: 12px 20px;
    background: var(--fm-teal);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
}

.cart-footer .checkout-btn:hover:not(:disabled) {
    background: var(--fm-teal-dark);
}

/* ==========================================================================
   FASE 1: MEJORAS DE CONVERSIÓN Y BENCHMARK (Nuts.com, Shopify, Ualá)
   ========================================================================== */

/* 1. Píldoras de Ahorro por Gramaje (Estilo Nuts.com) */
.weight-savings-tag {
    display: inline-block;
    background: #f59e0b;
    color: #1a1a1a;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 5px;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.weight-btn.selected .weight-savings-tag,
.qv-weight-pill.active .weight-savings-tag {
    background: #fef08a;
    color: #166534;
}

/* 2. Barra de Progreso Multi-Metas por Niveles (Shopify Plus Top Brands) */
.tiered-track {
    position: relative;
    overflow: visible !important;
    height: 9px !important;
    background: #e2e8f0;
    border-radius: 6px;
    margin: 8px 0 10px;
}

.tiered-track .progress-bar {
    border-radius: 6px;
    background: linear-gradient(90deg, #166534, #22c55e);
    transition: width 0.4s ease;
}

.tiered-track .progress-bar.gift-achieved {
    background: linear-gradient(90deg, #166534, #eab308);
}

.milestone-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #94a3b8;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.milestone-marker.reached {
    background: #166534;
    border-color: #166534;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.25);
}

.milestone-marker.m-gift.reached {
    background: #eab308;
    border-color: #eab308;
    color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.35);
}

.milestones-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 4px;
}

.milestones-labels .m-label.active {
    color: #166534;
    font-weight: 800;
}

/* 3. Tarjetas de Datos Bancarios con Copiado en 1 Clic (Ualá / Mercado Pago) */
.bank-info-box {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.bank-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #166534;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #bbf7d0;
}

.bank-details-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bank-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 8px;
    padding: 8px 12px;
}

.bank-data-row.simple {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #334155;
    background: transparent;
    border: none;
    padding: 4px 6px;
}

.bank-data-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bank-item-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bank-item-val {
    font-family: monospace;
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
}

.btn-copy-bank {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-bank:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-copy-bank.copied {
    background: #166534;
    border-color: #166534;
    color: #ffffff;
}

.bank-info-note {
    font-size: 0.74rem;
    color: #15803d;
    margin-top: 10px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

/* ==========================================================
   FASE 2: LOGÍSTICA INTELIGENTE, PROMESAS CALENDARIO Y SUCURSALES
   ========================================================== */

/* Badge de entrega veloz (Mercado Libre style) */
.badge-fast-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef08a;
    color: #854d0e;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

/* Recuadro de sugerencias de sucursales Andreani con chips interactivos */
.branch-helper-box {
    margin-top: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 10px 12px;
}

.branch-helper-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #166534;
    display: block;
    margin-bottom: 6px;
}

.branch-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.chip-branch {
    background: #ffffff;
    border: 1px solid #86efac;
    color: #166534;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chip-branch:hover {
    background: #166534;
    color: #ffffff;
    border-color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(22, 101, 52, 0.15);
}

.chip-branch.link-andreani-map {
    text-decoration: none;
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
}

.chip-branch.link-andreani-map:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* Recuadro de retiro en Munro con navegación por mapas */
.pickup-address-notice {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pickup-address-notice i.fa-store {
    font-size: 1.35rem;
    color: #059669;
    margin-top: 2px;
}

.pickup-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.82rem;
    color: #064e3b;
    line-height: 1.45;
}

.pickup-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.btn-map-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #10b981;
    color: #386641;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-map-nav:hover {
    background: #047857;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(4, 120, 87, 0.25);
}

/* Animación de feedback al seleccionar sucursal por chip */
.input-highlight-pulse {
    animation: pulseBorder 0.8s ease;
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 101, 52, 0.4);
        border-color: #166534;
    }
    50% {
        box-shadow: 0 0 0 6px rgba(22, 101, 52, 0.2);
        border-color: #166534;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 101, 52, 0);
        border-color: #cbd5e1;
    }
}

/* ==========================================================
   FASE 3: CONVERSIÓN, BUSCADOR INTELIGENTE Y ENGAGEMENT
   ========================================================== */

/* 1. Temporizador de Reserva de Stock (ASOS / Shopify Plus #25) */
.cart-reservation-timer {
    background: #fef3c7;
    border-bottom: 1px solid #fde68a;
    color: #92400e;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    animation: fadeInTimer 0.3s ease;
}

.cart-reservation-timer i {
    color: #d97706;
    font-size: 0.85rem;
}

.cart-reservation-timer strong {
    color: #b45309;
    font-family: monospace;
    font-size: 0.86rem;
}

@keyframes fadeInTimer {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 2. Píldora de Ahorro Acumulado Total (#20 Nuts.com) */
.cart-total-savings-pill {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    animation: pulseSavings 2s infinite ease-in-out;
}

.cart-total-savings-pill i {
    color: #15803d;
    font-size: 0.95rem;
}

.cart-total-savings-pill strong {
    color: #14532d;
    font-size: 0.88rem;
}

@keyframes pulseSavings {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); box-shadow: 0 2px 8px rgba(22, 101, 52, 0.15); }
}

/* 3. Estado de Carrito Vacío con Recomendaciones (#24 The Food Market) */
.cart-empty-state .empty-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #166534;
    font-size: 1.4rem;
}

.empty-cart-picks-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 16px;
    text-align: left;
}

.empty-cart-pick-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    transition: all 0.2s ease;
}

.empty-cart-pick-row:hover {
    border-color: #86efac;
    background: #f0fdf4;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.empty-pick-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
    padding: 2px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.empty-pick-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.empty-pick-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.empty-pick-meta {
    font-size: 0.76rem;
    color: #166534;
    font-weight: 700;
}

.btn-empty-quick-add {
    background: #166534;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 11px;
    font-size: 0.74rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.btn-empty-quick-add:hover {
    background: #14532d;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(22, 101, 52, 0.25);
}

/* 4. Buscador Predictivo Flotante (#57 Algolia / Amazon / Meli) */
.fm-search {
    position: relative;
}

.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    overflow: hidden;
    max-height: 380px;
    display: flex;
    flex-direction: column;
    animation: fadeInDropdown 0.2s ease;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.autocomplete-header {
    padding: 8px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.autocomplete-list {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.15s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f0fdf4;
}

.ac-thumb {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.ac-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ac-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.ac-category {
    font-size: 0.76rem;
    color: #166534;
    font-weight: 600;
}

.ac-quick-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.autocomplete-item:hover .ac-quick-btn {
    color: #166534;
    transform: translateX(3px);
}

.autocomplete-footer {
    padding: 8px 14px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.ac-view-all-btn {
    background: none;
    border: none;
    color: #166534;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
}

.ac-view-all-btn:hover {
    text-decoration: underline;
}

.autocomplete-empty {
    padding: 20px 16px;
    text-align: center;
    color: #64748b;
    font-size: 0.84rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.autocomplete-empty i {
    font-size: 1.4rem;
    color: #cbd5e1;
}

.autocomplete-tags-suggest {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.autocomplete-tags-suggest button {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.autocomplete-tags-suggest button:hover {
    background: #166534;
    color: #ffffff;
    border-color: #166534;
}

/* ==========================================================
   FASE 4: FIDELIZACIÓN, CUPONES DE DESCUENTO Y REORDENAR
   ========================================================== */

/* 1. Banner de Repetir Última Compra (Shopify / Coto Digital #30) */
.cart-reorder-banner {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    animation: fadeInBanner 0.3s ease;
}

@keyframes fadeInBanner {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.cart-reorder-banner .reorder-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #166534;
}

.cart-reorder-banner .reorder-text i {
    color: #15803d;
    font-size: 0.95rem;
}

.btn-reorder-action {
    background: #166534;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.btn-reorder-action:hover {
    background: #14532d;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(22, 101, 52, 0.25);
}

/* 2. Sección de Cupón de Descuento (#94 The Food Market) */
.cart-coupon-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.coupon-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.coupon-label i {
    color: #166534;
}

.coupon-input-group {
    display: flex;
    gap: 8px;
}

.coupon-input {
    flex: 1;
    padding: 8px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.84rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.coupon-input:focus {
    outline: none;
    border-color: #166534;
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.15);
}

.btn-apply-coupon {
    background: #1e293b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-apply-coupon:hover {
    background: #0f172a;
    transform: translateY(-1px);
}

.coupon-feedback {
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.35;
}

.coupon-ok {
    color: #15803d;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.coupon-err {
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.btn-remove-coupon {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    margin-left: 6px;
    vertical-align: middle;
}

.btn-remove-coupon:hover {
    color: #dc2626;
}

/* 3. Botón de Arrepentimiento Reglamentario (#81) */
.btn-arrepentimiento-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #94a3b8;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.btn-arrepentimiento-link:hover {
    color: #ffffff;
}





