/* White Fox · página CMS #2 "Envíos y formas de pago" (plantilla templates/cms/page-2.tpl).
   Se carga solo en esa página. Clases con prefijo wfs-. Computadora = 992 px o más; celular/tablet = menos. */

/* Contenedor: 880 px de contenido en computadora (las migas quedan alineadas) y 20 px de margen en celular. */
body#cms.cms-id-2 #wrapper > .container { width: 100%; max-width: 920px; box-sizing: border-box; padding-left: 20px; padding-right: 20px; }

.wfs {
    --wfs-navy: #1E2A3A;
    --wfs-gold: #B3956A;
    --wfs-cream: #F9F4F0;
    --wfs-gray: #5E6672;
    --wfs-line: rgba(30, 42, 58, .16);
    box-sizing: border-box; width: 100%; margin: 0 auto; padding: 24px 0 72px;
    font-family: 'PT Serif', serif; color: var(--wfs-navy);
}
.wfs *, .wfs *::before, .wfs *::after { box-sizing: border-box; }
#wrapper .wfs p, #wrapper .wfs ul, #wrapper .wfs h1, #wrapper .wfs h2, #wrapper .wfs h3 { margin: 0; padding: 0; }
#wrapper .wfs ul { list-style: none; }

/* ---------- Encabezado ---------- */
.wfs__head { text-align: center; }
#wrapper .wfs .wfs__title { font-family: inherit; font-size: 44px; font-weight: 500; line-height: 1.15; letter-spacing: 0; text-transform: none; color: var(--wfs-navy); }
#wrapper .wfs .wfs__intro { max-width: 100%; margin: 16px auto 0; font-size: 18px; line-height: 1.6; color: var(--wfs-gray); text-wrap: balance; }
#wrapper .wfs .wfs-h2 { font-family: inherit; font-size: 28px; font-weight: 500; line-height: 1.25; letter-spacing: 0; text-transform: none; text-align: center; color: var(--wfs-navy); }

/* ---------- Envío gratis ---------- */
.wfs-free { margin-top: 64px; padding: 40px 32px; background: var(--wfs-cream); text-align: center; }
.wfs-free__grid { display: flex; justify-content: center; align-items: stretch; margin-top: 28px; }
.wfs-free__col { flex: 1 1 0; min-width: 0; padding: 0 24px; }
.wfs-free__col + .wfs-free__col { border-left: 1px solid rgba(179, 149, 106, .45); }
#wrapper .wfs .wfs-free__zone { font-size: 16px; line-height: 1.4; color: var(--wfs-gray); }
#wrapper .wfs .wfs-free__pre { margin-top: 2px; font-size: 16px; line-height: 1.4; color: var(--wfs-gray); }
#wrapper .wfs .wfs-free__amount { margin-top: 6px; font-size: 34px; font-weight: 500; line-height: 1.2; white-space: nowrap; color: var(--wfs-navy); }

/* ---------- Bloques ---------- */
.wfs-block { margin-top: 64px; }
.wfs-slider { margin-top: 28px; }
#wrapper .wfs .wfs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.wfs-cards > li { display: flex; min-width: 0; margin: 0; padding: 0; }
.wfs-card { display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 28px; background: #fff; border: 1px solid var(--wfs-line); text-align: left; }
.wfs-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wfs-card__heading { min-width: 0; }
#wrapper .wfs .wfs-card__title { font-family: inherit; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--wfs-navy); }
#wrapper .wfs .wfs-card__sub { margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--wfs-gray); }
#wrapper .wfs .wfs-card__text { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--wfs-gray); }
.wfs-card__logo { flex: none; display: block; width: auto; max-width: 96px; height: 28px; object-fit: contain; margin: 0; }
.wfs-card__logo--mp { height: 24px; max-width: 110px; }
.wfs-tag { flex: none; display: inline-block; padding: 4px 10px; background: var(--wfs-gold); color: #fff; font-size: 13px; line-height: 1.3; letter-spacing: 0; white-space: nowrap; }
#wrapper .wfs .wfs-facts { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--wfs-line); display: flex; flex-direction: column; gap: 12px; }
.wfs-facts > li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; font-size: 16px; line-height: 1.4; color: var(--wfs-navy); }
.wfs-facts svg { flex: none; color: var(--wfs-gold); }
#wrapper .wfs .wfs-note { max-width: 640px; margin: 24px auto 0; font-size: 15px; line-height: 1.6; text-align: center; color: var(--wfs-gray); }

/* ---------- Seguimiento ---------- */
#wrapper .wfs .wfs-track { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 48px; font-size: 16px; line-height: 1.5; text-align: center; color: var(--wfs-navy); }
.wfs-track svg { flex: none; color: var(--wfs-gold); }

/* ---------- Cierre ---------- */
.wfs-help { margin-top: 64px; background: var(--wfs-cream); }
.wfs-help__inner { padding: 48px 24px; text-align: center; }
#wrapper .wfs .wfs-help__title { font-family: inherit; font-size: 26px; font-weight: 500; line-height: 1.25; letter-spacing: 0; text-transform: none; color: var(--wfs-navy); }
#wrapper .wfs .wfs-help__text { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--wfs-gray); }
.wfs-help__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
#wrapper .wfs a.wfs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px;
    background: var(--wfs-navy); color: var(--wfs-cream); border: 1px solid var(--wfs-navy); border-radius: 0; box-shadow: none;
    font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1; letter-spacing: 0; text-transform: none; text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}
#wrapper .wfs a.wfs-btn:hover { background: #2B3B50; border-color: #2B3B50; color: var(--wfs-cream); text-decoration: none; }
#wrapper .wfs a.wfs-btn:focus-visible { outline: 2px solid var(--wfs-gold); outline-offset: 2px; }
#wrapper .wfs a.wfs-mail { font-size: 16px; color: var(--wfs-navy); text-decoration: underline; text-underline-offset: 4px; }
#wrapper .wfs a.wfs-mail:hover { color: var(--wfs-gold); }

/* Puntitos (los arma wf-slider.js): solo en celular */
.wfs .wf-dots { display: none; }
.wfs .wf-dot { width: 7px; height: 7px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(30, 42, 58, .22); cursor: pointer; }
.wfs .wf-dot.is-active { background: var(--wfs-navy); }

/* ---------- Celular y tablet ---------- */
@media (max-width: 991px) {
    .wfs { padding: 16px 0 56px; }
    #wrapper .wfs .wfs__title { font-size: 30px; }
    #wrapper .wfs .wfs__intro { margin-top: 12px; font-size: 16px; }
    #wrapper .wfs .wfs-h2 { font-size: 24px; }

    /* La franja crema va de borde a borde de la pantalla (el contenedor tiene 20 px de margen). */
    .wfs-free, .wfs-help { margin-left: -20px; margin-right: -20px; }
    .wfs-free { margin-top: 44px; padding: 32px 16px; }
    .wfs-free__grid { margin-top: 20px; }
    .wfs-free__col { padding: 0 8px; }
    #wrapper .wfs .wfs-free__zone { font-size: 14px; }
    #wrapper .wfs .wfs-free__pre { font-size: 14px; }
    #wrapper .wfs .wfs-free__pre { margin-top: 2px; font-size: 16px; line-height: 1.4; color: var(--wfs-gray); }
#wrapper .wfs .wfs-free__amount { font-size: 19px; }

    .wfs-block { margin-top: 44px; }
    .wfs-slider { margin: 24px -20px 0; }
    #wrapper .wfs .wfs-cards { display: flex; gap: 12px; padding: 0 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 20px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; }
    #wrapper .wfs .wfs-cards::-webkit-scrollbar { display: none; }
    .wfs-cards > li { flex: 0 0 calc(100% - 4px); scroll-snap-align: start; scroll-snap-stop: always; }
    .wfs-card { padding: 22px 20px; }
    .wfs .wf-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
    #wrapper .wfs .wfs-note { margin-top: 20px; font-size: 14px; }

    #wrapper .wfs .wfs-track { margin-top: 36px; align-items: flex-start; text-align: left; font-size: 15px; }
    .wfs-track svg { margin-top: 1px; }

    .wfs-help { margin-top: 44px; }
    .wfs-help__inner { padding: 40px 20px; }
    #wrapper .wfs .wfs-help__title { font-size: 22px; }
    .wfs-help__actions { flex-direction: column; gap: 16px; }
    #wrapper .wfs a.wfs-btn { width: 100%; }
}
