/* ═══════════════════════════════════════════════════
   Bolsas Para Botellas — capa visual (skin)
   Rediseño: layout contenido, sin huecos en blanco,
   secciones con ritmo vertical parejo y contenedores
   consistentes. Todo scopeado a .bpb-skin.
═══════════════════════════════════════════════════ */

.bpb-skin {
    --bpb-ink:        #0e2422;
    --bpb-ink-soft:   #47605c;
    --bpb-accent:     #1f7a68;
    --bpb-accent-2:   #6eaba5;
    --bpb-cream:      #f4faf8;
    --bpb-line:       #e2ece9;
    --bpb-wa:         #25d366;
    --bpb-wa-dark:    #1da851;
    --bpb-radius:     18px;
    --bpb-radius-sm:  12px;
    --bpb-shadow:     0 14px 38px -18px rgba(14, 36, 34, .38);
    --bpb-shadow-sm:  0 6px 18px -10px rgba(14, 36, 34, .30);
    --bpb-container:  1200px;
    --bpb-pad:        clamp(1rem, .55rem + 2vw, 2.5rem);

    color: var(--bpb-ink);
    font-family: 'Poppins', sans-serif;
}

/* ── Contenedor único y consistente ─────────────── */
.bpb-skin .container {
    width: 100%;
    max-width: var(--bpb-container);
    margin-inline: auto;
    padding-inline: var(--bpb-pad);
}

/* ── Ritmo de sección: parejo, sin huecos grandes ─ */
.bpb-skin .bpb-sec {
    padding-block: clamp(1.75rem, 1rem + 3vw, 3.25rem);
}

.bpb-skin .bpb-sec--hero {
    padding-block: clamp(1rem, .6rem + 1.6vw, 1.75rem) 0;
}

.bpb-skin .bpb-sec--tight {
    padding-block: clamp(1.25rem, .8rem + 2vw, 2.25rem);
}

.bpb-skin .bpb-sec--alt {
    background: var(--bpb-cream);
    border-block: 1px solid var(--bpb-line);
}

.bpb-skin .bpb-sec.border-top {
    border-top: 1px solid var(--bpb-line) !important;
}

/* El include de clientes trae sus propios .section con
   márgenes generosos: los ajustamos para que no abran hueco. */
.bpb-skin .clients .section,
.bpb-skin .clients.section {
    margin-block: 0 !important;
    padding-block: 0 !important;
}

.bpb-skin .clients {
    padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

/* ═══ HERO ═══ */
.bpb-skin .bpb-hero picture,
.bpb-skin .bpb-hero img {
    display: block;
    width: 100%;
    border-radius: var(--bpb-radius);
}

.bpb-skin .bpb-hero img {
    box-shadow: var(--bpb-shadow);
    object-fit: cover;
}

/* ═══ Encabezado de página ═══ */
.bpb-skin .bpb-head {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.bpb-skin .bpb-head .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    margin: 0 0 14px;
}

.bpb-skin .bpb-head .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: var(--bpb-cream);
    border: 1px solid var(--bpb-line);
    border-radius: 999px;
    padding: 5px 13px;
    color: var(--bpb-ink-soft);
}

.bpb-skin .bpb-head .breadcrumb-item a { color: var(--bpb-accent); }
.bpb-skin .bpb-head .breadcrumb-item.active { color: var(--bpb-ink); font-weight: 600; }
.bpb-skin .bpb-head .breadcrumb-item + .breadcrumb-item::before { display: none; }

.bpb-skin .bpb-head__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.12;
    font-size: clamp(1.9rem, 1.2rem + 3vw, 2.9rem);
    color: var(--bpb-ink);
    margin: 0 0 12px;
}

.bpb-skin .bpb-head__title em { font-style: normal; }

.bpb-skin .bpb-lede {
    font-size: clamp(1rem, .95rem + .3vw, 1.12rem);
    line-height: 1.65;
    color: var(--bpb-ink-soft);
    max-width: 720px;
    margin: 0 auto;
}

.bpb-skin .bpb-lede strong { color: var(--bpb-ink); }

/* ═══ Bloque de producto (2 columnas contenidas) ═══ */
.bpb-skin .bpb-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, .5rem + 2.5vw, 2.75rem);
    align-items: start;
}

.bpb-skin .bpb-product__media,
.bpb-skin .bpb-product__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* Galería */
.bpb-skin .product-images {
    position: relative;
    background: #fff;
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius);
    padding: 14px;
    box-shadow: var(--bpb-shadow-sm);
    margin: 0;
}

.bpb-skin .product-gallery-slider img,
.bpb-skin .product-zoom img {
    border-radius: var(--bpb-radius-sm);
    width: 100%;
}

.bpb-skin .product-thumb-slider {
    margin-top: 12px;
}

.bpb-skin .product-thumb-slider .item {
    padding: 4px;
}

.bpb-skin .product-thumb-slider .item img {
    border-radius: 10px;
    border: 1px solid var(--bpb-line);
    transition: border-color .2s ease, transform .2s ease;
}

.bpb-skin .product-thumb-slider .item:hover img {
    border-color: var(--bpb-accent-2);
    transform: translateY(-2px);
}

.bpb-skin .product-video-popup {
    box-shadow: var(--bpb-shadow-sm);
}

/* Sellos de confianza */
.bpb-skin .bpb-seals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 10px;
    background: var(--bpb-cream);
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius-sm);
    padding: 14px 10px;
    margin: 0;
}

.bpb-skin .bpb-seals img {
    display: block;
    width: 100%;
    max-width: 130px;
    margin: 0 auto;
}

/* Include "facturamos": lo contenemos dentro de la columna */
.bpb-skin .bpb-facturamos .delivery-container {
    max-width: 100%;
    margin: 0;
    box-shadow: var(--bpb-shadow-sm);
    border: 1px solid var(--bpb-line);
    background: #fff;
}

/* ═══ Ficha de compra ═══ */
.bpb-skin .product-summery {
    background: #fff;
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius);
    padding: clamp(18px, 1rem + 1.5vw, 30px);
    box-shadow: var(--bpb-shadow-sm);
    margin: 0;
}

.bpb-skin .product-summery > * + * {
    margin-top: 18px;
}

.bpb-skin .product-summery .product-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 1.1rem + 1.3vw, 1.9rem);
    color: var(--bpb-ink);
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--bpb-line);
}

.bpb-skin .product-description p {
    line-height: 1.68;
    color: var(--bpb-ink-soft);
    margin: 0 0 12px;
    text-align: left;
}

.bpb-skin .product-description p:last-child { margin-bottom: 0; }
.bpb-skin .product-description strong { color: var(--bpb-ink); }

/* Botón de compra Shopify */
.bpb-skin #cart:empty { display: none; }

.bpb-skin .bpb-buybtn {
    display: flex;
    justify-content: center;
}

.bpb-skin .bpb-buybtn > div { width: 100%; }

/* Métodos de pago */
.bpb-skin .bpb-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--bpb-cream);
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius-sm);
    padding: 14px 16px;
    text-align: center;
}

.bpb-skin .bpb-payments__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bpb-ink-soft);
}

.bpb-skin .bpb-payments__media {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
}

.bpb-skin .bpb-payments__logos {
    height: 26px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.bpb-skin .bpb-payments__logos--ml {
    height: 20px;
}

/* Variantes: dos tarjetas parejas que llenan el ancho */
.bpb-skin .bpb-variants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.bpb-skin .bpb-variant {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    background: var(--bpb-cream);
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius-sm);
    padding: 16px;
    text-align: center;
}

.bpb-skin .checklist {
    list-style: none;
    margin: 0;
    padding: 0 !important;
    text-align: left;
}

.bpb-skin .checklist > li > strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: .98rem;
    color: var(--bpb-ink);
    margin-bottom: 8px;
}

.bpb-skin .checklist ul {
    list-style: none;
    padding-left: 0 !important;
    margin: 0;
}

.bpb-skin .checklist ul li {
    position: relative;
    padding-left: 20px;
    font-size: .9rem;
    color: var(--bpb-ink-soft);
    margin-top: 4px;
}

.bpb-skin .checklist ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bpb-accent-2);
}

/* Botón de WhatsApp */
.bpb-skin .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: linear-gradient(135deg, var(--bpb-wa), var(--bpb-wa-dark));
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: .01em;
    box-shadow: 0 12px 24px -12px rgba(29, 168, 81, .7);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.bpb-skin .btn-whatsapp:hover,
.bpb-skin .btn-whatsapp:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 18px 30px -12px rgba(29, 168, 81, .75);
    color: #fff;
}

/* Bloque "cómo comprar" */
.bpb-skin .how-to-buy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bpb-skin .how-to-buy__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius-sm);
    background: #fff;
    padding: 16px 10px;
    text-align: center;
    box-shadow: var(--bpb-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}

.bpb-skin .how-to-buy__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--bpb-shadow);
}

.bpb-skin .how-to-buy__k {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--bpb-ink);
    font-size: .95rem;
}

.bpb-skin .how-to-buy__v {
    font-size: .82rem;
    color: var(--bpb-ink-soft);
    line-height: 1.4;
}

.bpb-skin .how-to-buy i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bpb-cream);
    color: var(--bpb-accent);
    font-size: 1.1rem;
}

/* Widget "Tipos De Bolsas" */
.bpb-skin .single-widget {
    background: #fff;
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius);
    padding: clamp(16px, 1rem + 1vw, 24px);
    box-shadow: var(--bpb-shadow-sm);
}

.bpb-skin .single-widget .widget-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--bpb-ink);
    margin: 0 0 12px;
}

.bpb-skin .widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bpb-skin .widget-tags a {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--bpb-cream);
    border: 1px solid var(--bpb-line);
    color: var(--bpb-ink-soft);
    font-size: .85rem;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.bpb-skin .widget-tags a:hover {
    background: var(--bpb-accent);
    border-color: var(--bpb-accent);
    color: #fff;
}

/* ═══ Video / características ═══ */
.bpb-skin .bpb-video {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.bpb-skin .bpb-video__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.7rem);
    color: var(--bpb-ink);
    margin: 0 0 16px;
}

.bpb-skin .bpb-video .embed-responsive {
    border-radius: var(--bpb-radius);
    overflow: hidden;
    box-shadow: var(--bpb-shadow);
}

.bpb-skin .bpb-credit {
    margin: 14px 0 0;
    font-size: .9rem;
    color: var(--bpb-ink-soft);
}

.bpb-skin .bpb-credit a { color: var(--bpb-accent); }

/* ═══ Card de mayoreo ═══ */
.bpb-skin .bpb-mayoreo {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: clamp(1.25rem, .5rem + 2.5vw, 2.5rem);
    align-items: center;
    background: #fff;
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius);
    box-shadow: var(--bpb-shadow-sm);
    overflow: hidden;
}

.bpb-skin .bpb-mayoreo__media {
    display: block;
    height: 100%;
}

.bpb-skin .bpb-mayoreo__media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.bpb-skin .bpb-mayoreo__info {
    padding: clamp(20px, 1rem + 2vw, 36px);
    padding-left: 0;
}

.bpb-skin .bpb-mayoreo__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bpb-accent);
    background: var(--bpb-cream);
    border: 1px solid var(--bpb-line);
    border-radius: 999px;
    padding: 6px 14px;
}

.bpb-skin .bpb-mayoreo__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.75rem);
    color: var(--bpb-ink);
    margin: 14px 0 8px;
}

.bpb-skin .bpb-mayoreo__subtitle {
    font-size: .98rem;
    line-height: 1.6;
    color: var(--bpb-ink-soft);
    margin: 0 0 16px;
    max-width: 52ch;
}

.bpb-skin .bpb-mayoreo__perks {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

.bpb-skin .bpb-mayoreo__perks li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    color: var(--bpb-ink);
}

.bpb-skin .bpb-mayoreo__perks i {
    color: var(--bpb-accent-2);
    font-size: .85rem;
}

.bpb-skin .bpb-mayoreo .btn-whatsapp {
    width: auto;
    min-width: 240px;
}

@media (max-width: 767px) {
    .bpb-skin .bpb-mayoreo {
        grid-template-columns: 1fr;
    }

    .bpb-skin .bpb-mayoreo__media img {
        min-height: 200px;
        max-height: 260px;
    }

    .bpb-skin .bpb-mayoreo__info {
        padding: clamp(18px, 1rem + 2vw, 28px);
    }

    .bpb-skin .bpb-mayoreo__perks {
        grid-template-columns: 1fr;
    }

    .bpb-skin .bpb-mayoreo .btn-whatsapp {
        width: 100%;
        min-width: 0;
    }
}

/* ═══ Títulos de sección ═══ */
.bpb-skin .section-title2 {
    margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.bpb-skin .section-title2 .title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
    color: var(--bpb-ink);
    margin: 0;
}

.bpb-skin .section-title2 > p {
    margin: 10px auto 0;
    max-width: 560px;
    font-size: .95rem;
    color: var(--bpb-ink-soft);
}

/* ═══ Bolsas por tipo de botella (vino / mezcal / tequila) ═══ */
.bpb-skin .bpb-bottles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, .5rem + 1.5vw, 24px);
}

.bpb-skin .bpb-bottle {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bpb-line);
    border-radius: var(--bpb-radius);
    box-shadow: var(--bpb-shadow-sm);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bpb-skin .bpb-bottle:hover {
    transform: translateY(-4px);
    box-shadow: var(--bpb-shadow);
}

.bpb-skin .bpb-bottle__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.bpb-skin .bpb-bottle__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.bpb-skin .bpb-bottle:hover .bpb-bottle__img img {
    transform: scale(1.06);
}

.bpb-skin .bpb-bottle__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--bpb-ink);
}

.bpb-skin .bpb-bottle__label i {
    font-size: .8rem;
    color: var(--bpb-accent);
    transition: transform .2s ease;
}

.bpb-skin .bpb-bottle:hover .bpb-bottle__label i {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .bpb-skin .bpb-bottles {
        grid-template-columns: 1fr;
    }
}

/* ═══ "También puede interesarte" ═══ */
.bpb-skin .brand-carousel .col {
    padding-inline: 10px;
}

.bpb-skin .category-banner4 .inner {
    display: block;
    border-radius: var(--bpb-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bpb-line);
    box-shadow: var(--bpb-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.bpb-skin .category-banner4 .inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--bpb-shadow);
}

.bpb-skin .category-banner4 .image {
    overflow: hidden;
}

.bpb-skin .category-banner4 .image img {
    width: 100%;
    display: block;
    transition: transform .35s ease;
}

.bpb-skin .category-banner4 .inner:hover .image img {
    transform: scale(1.05);
}

.bpb-skin .category-banner4 .content {
    padding: 14px 16px;
    text-align: center;
}

.bpb-skin .category-banner4 .content .title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--bpb-ink);
    margin: 0;
}

/* ═══ Responsive ═══ */
@media (max-width: 991px) {
    .bpb-skin .bpb-product {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .bpb-skin .bpb-seals {
        gap: 6px;
        padding: 12px 6px;
    }

    .bpb-skin .how-to-buy {
        grid-template-columns: 1fr;
    }

    .bpb-skin .how-to-buy i { width: 42px; height: 42px; }
}
