.bag-sales {
    --bag-ink: #24173e;
    --bag-lime: #edf36d;
    --bag-lavender: #ddd0eb;
    color: var(--bag-ink);
}

.single-product:has(.bag-sales) .header-inner { min-height: 72px; }
.single-product:has(.bag-sales) .header { border-bottom: 1px solid var(--line); }
.bag-sales .crumb { margin-block: 17px clamp(17px, 2vw, 29px); }
.bag-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "photo heading" "photo offer";
    column-gap: clamp(24px, 3.5vw, 56px);
    row-gap: clamp(17px, 2vw, 26px);
    padding-bottom: clamp(28px, 3.5vw, 51px);
}
.bag-heading { grid-area: heading; }
.bag-heading h1 {
    font-size: clamp(43px, 5.1vw, 78px);
    line-height: .98;
    letter-spacing: -.073em;
    text-wrap: initial;
}
.bag-heading p { margin-top: 13px; max-width: 52ch; font-size: clamp(16px, 1.55vw, 20px); line-height: 1.4; }
.bag-photo { grid-area: photo; align-self: stretch; display: flex; min-width: 0; flex-direction: column; }
.bag-photo img { height: 100%; min-height: 0; object-fit: cover; object-position: center; border-radius: 16px; }
.bag-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.bag-offer { grid-area: offer; }
.bag-benefits { display: grid; gap: 8px; margin: 0 0 19px; padding: 0; list-style: none; }
.bag-benefits li { display: grid; grid-template-columns: 27px 1fr; gap: 12px; align-items: center; font-size: clamp(15px, 1.6vw, 19px); font-weight: 800; line-height: 1.28; }
.bag-benefits li::before {
    content: "✓";
    content: "✓" / "";
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--bag-lime);
    font-weight: 800;
}
.bag-total { font-size: clamp(41px, 4.5vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.071em; }
.bag-availability { padding: 15px 19px; background: var(--bag-lavender); border-radius: 13px; font-weight: 800; }
.bag-sales .bag-button { width: 100%; justify-content: center; margin-top: 15px; background: var(--bag-lime); color: var(--bag-ink); }
.bag-sales .bag-button:hover { background: #f8ff9b; }
.shoe-preview-offer button.bag-button { font: inherit; font-weight: 800; cursor: pointer; }

.bag-sales .bag-heading p { font-size: clamp(18px, 2.05vw, 28px); font-weight: 750; line-height: 1.23; }
.bag-gallery { align-self: start; position: sticky; top: 18px; }
.bag-gallery .bag-main-image { height: auto; aspect-ratio: 1; object-fit: contain; }
.bag-gallery-controls:not([hidden]) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 9px; }
.bag-gallery-controls button { min-width: 0; padding: 3px; border: 2px solid transparent; border-radius: 10px; background: transparent; color: var(--bag-ink); cursor: pointer; font: 750 clamp(10px, 2.6vw, 13px)/1.2 Manrope, system-ui, sans-serif; }
.bag-gallery-controls button[aria-pressed="true"] { border-color: #7050b8; background: #efe9f3; }
.bag-gallery-controls button img { height: auto; aspect-ratio: 1; border-radius: 6px; }
.bag-gallery-controls span { display: block; padding-block: 4px 2px; overflow-wrap: anywhere; }
.bag-compatibility { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }
.shoe-quick-offer { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-underline-offset: 4px; font-weight: 800; }
.bag-sales .bag-benefits li { align-items: start; font-size: clamp(16px, 1.7vw, 21px); }
.bag-sales .bag-benefits p { margin-top: 3px; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.4; }
.shoe-preview-offer, .shoe-pack-options { scroll-margin-top: 20px; }
.shoe-pack-options { display: grid; gap: 8px; min-width: 0; padding: 0; border: 0; margin: 0; }
.shoe-pack-options legend { padding: 0 0 8px; font-size: 19px; font-weight: 800; }
.shoe-pack-option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 12px; cursor: pointer; border: 1px solid #cdbfd6; border-radius: 11px; background: #fffdf7; }
.shoe-pack-option:has(input:checked) { border-color: #7050b8; outline: 1px solid #7050b8; background: #f1eaf6; }
.shoe-pack-option input { width: 18px; height: 18px; margin: 0; accent-color: #59398b; }
.shoe-pack-info { display: grid; gap: 2px; line-height: 1.3; }
.shoe-pack-info small { color: var(--muted); font-size: 13px; }
.shoe-pack-price { font-size: clamp(17px, 2.05vw, 24px); white-space: nowrap; }
.shoe-order-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 13px; margin-top: 12px; padding: 13px; border-radius: 11px; background: var(--bag-lavender); font-weight: 800; line-height: 1.3; }
.shoe-order-summary .bag-total { font-size: clamp(30px, 3.6vw, 48px); white-space: nowrap; }
.shoe-order-status { margin-top: 3px; color: var(--muted); font-size: 13px; }
.shoe-shipping-note { margin-top: 8px; color: var(--muted); font-size: 14px; }
.shoe-trust { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 11px 0 0; list-style: none; }
.shoe-trust li { padding: 4px 8px; border: 1px solid #ded4df; border-radius: 999px; font-size: 12px; font-weight: 750; }
.shoe-delivery { margin-top: 11px; padding: 10px 12px; border-left: 3px solid #7050b8; background: #f0eaf4; line-height: 1.4; }
.shoe-reassurance { margin-top: 13px; border-block: 1px solid var(--line); }
.shoe-objection { padding: 12px 14px; margin: 12px 0 0; border-radius: 10px; background: #f1eaf5; font-size: 14px; }
.shoe-objection p { margin-top: 3px; }
.shoe-objection blockquote { margin: 0; }
.shoe-objection figcaption { margin-top: 7px; font-weight: 750; }
.bag-fit-link { display: flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; margin: 5px auto 0; font-weight: 750; text-underline-offset: 4px; }
.shoe-purpose {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: clamp(25px, 4vw, 65px);
    padding-block: clamp(26px, 4vw, 58px);
    border-top: 1px solid var(--line);
}
.shoe-purpose dl { margin-top: 16px; }
.shoe-purpose dl > div { padding-block: 10px; border-top: 1px solid var(--line); }
.shoe-purpose dt { font-weight: 800; }
.shoe-purpose dd { margin-top: 2px; }
.shoe-purpose img { border-radius: 14px; }
.bag-sales #compatibilidad, .shoe-sales #precio-y-disponibilidad { scroll-margin-top: 20px; }
.shoe-fit-answer, .bra-fit-answer { margin-bottom: 17px; }
.shoe-end { display: flex; align-items: center; justify-content: space-between; gap: 16px 26px; padding: clamp(19px, 3.3vw, 43px); margin-bottom: clamp(34px, 5vw, 64px); border-radius: 14px; background: var(--bag-lavender); }
.shoe-end h2 { font-size: clamp(26px, 3.2vw, 46px); }
.shoe-end p { margin-top: 7px; }
.shoe-sales .shoe-end .bag-button { flex: none; width: fit-content; margin: 0; }

:is(.bag-how, .shoe-how) { padding-block: clamp(35px, 4.8vw, 64px); background: #21143e; color: #fffdf8; scroll-margin-top: 12px; }
:is(.bag-how, .shoe-how) h2 { margin-bottom: clamp(20px, 3vw, 35px); }
:is(.bag-sequence, .shoe-sequence) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: bag-step; }
:is(.bag-sequence, .shoe-sequence) > li { position: relative; display: flex; flex-direction: column; gap: 13px; counter-increment: bag-step; padding-inline: clamp(13px, 2.15vw, 27px); }
:is(.bag-sequence, .shoe-sequence) > li:first-child { padding-left: 0; }
:is(.bag-sequence, .shoe-sequence) > li:last-child { padding-right: 0; }
:is(.bag-sequence, .shoe-sequence) > li + li { border-left: 1px solid #76668e; }
:is(.bag-sequence, .shoe-sequence) > li::before {
    content: counter(bag-step, decimal-leading-zero);
    content: counter(bag-step, decimal-leading-zero) / "";
    position: absolute;
    left: clamp(13px, 2.15vw, 27px);
    top: 0;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: var(--bag-lime);
    color: var(--bag-ink);
    font-size: 16px;
    font-weight: 800;
}
:is(.bag-sequence, .shoe-sequence) > li:first-child::before { left: 0; }
:is(.bag-step-copy, .shoe-step-copy) { min-height: 104px; padding-left: 52px; }
:is(.bag-step-copy, .shoe-step-copy) h3 { font-size: clamp(19px, 2.15vw, 28px); }
:is(.bag-step-copy, .shoe-step-copy) p { margin-top: 8px; color: #f0eaf8; line-height: 1.4; }
:is(.bag-sequence, .shoe-sequence) img { margin-top: auto; height: clamp(105px, 12.2vw, 180px); object-fit: cover; object-position: center 66%; border-radius: 12px; }
:is(.bag-guide-link, .shoe-guide-link) { display: inline-flex; margin-top: 23px; color: var(--bag-lime); font-weight: 800; text-underline-offset: 5px; }
:is(.bag-guide-link, .shoe-guide-link):focus-visible { outline-color: var(--bag-lime); }

:is(.bag-further, .shoe-further) { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 6vw, 90px); padding-block: clamp(36px, 6vw, 85px); }
:is(.bag-further, .shoe-further) h2 { margin-bottom: 17px; font-size: clamp(29px, 3.3vw, 47px); }
:is(.bag-further, .shoe-further) .faq details { border-top: 1px solid var(--line); }
:is(.bag-further, .shoe-further) .faq details:last-child { border-bottom: 1px solid var(--line); }
:is(.bag-further, .shoe-further) .faq summary { padding-block: 15px; }
:is(.bag-further, .shoe-further) .related { margin: 0; }
:is(.bag-further, .shoe-further) .related .tile { max-width: none; display: grid; grid-template-columns: minmax(105px, .75fr) minmax(0, 1fr); gap: 8px 14px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; }
:is(.bag-further, .shoe-further) .related .tile-image { grid-row: span 2; align-self: stretch; aspect-ratio: auto; }
:is(.bag-further, .shoe-further) .related .tile-title { font-size: clamp(17px, 1.7vw, 24px); }
:is(.bag-further, .shoe-further) .related .tile-copy { font-size: 13px; }

@media (max-width: 740px) {
    .single-product:has(.bag-sales) .header-inner { min-height: 0; }
    .bag-hero { grid-template-columns: 1fr; grid-template-areas: "heading" "photo" "offer"; gap: 19px; }
    .bag-heading h1 { font-size: clamp(43px, 10vw, 63px); }
    .bag-heading p { margin-top: 10px; }
    .bag-photo img { height: auto; aspect-ratio: 1.55; }
    .bag-photo figcaption { margin-top: 5px; }
    .bag-benefits { margin-bottom: 14px; }
    .bag-benefits li { font-size: 15px; }
    .bag-sales .bag-hero { gap: 13px; }
    .bag-sales .bag-heading h1 { font-size: clamp(35px, 9.1vw, 60px); }
    .bag-gallery { position: static; }
    .bag-sales .bag-benefits li { line-height: 1.22; }
    .shoe-purpose { grid-template-columns: minmax(0, 1fr); }
    .shoe-end { align-items: start; flex-direction: column; }
    .shoe-sales .shoe-end .bag-button { width: 100%; }
    :is(.bag-sequence, .shoe-sequence), :is(.bag-further, .shoe-further) { grid-template-columns: minmax(0, 1fr); }
    :is(.bag-sequence, .shoe-sequence) > li, :is(.bag-sequence, .shoe-sequence) > li + li { padding: 16px 0 18px; border-left: 0; }
    :is(.bag-sequence, .shoe-sequence) > li + li { border-top: 1px solid #76668e; }
    :is(.bag-sequence, .shoe-sequence) > li::before { left: 0; top: 16px; }
    :is(.bag-step-copy, .shoe-step-copy) { min-height: 0; padding-left: 51px; }
    :is(.bag-sequence, .shoe-sequence) img { height: auto; aspect-ratio: 2; }
}
