@font-face {
    font-family: "PediFull Quicksand";
    src: url("fonts/Quicksand/Quicksand-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

html.pf-compra {
    --pf-violet: #652c90;
    --pf-violet-dark: #4d216e;
    --pf-lilac: #e7d9eb;
    --pf-bg: #f8f6fa;
    --pf-ink: #262031;
    --pf-muted: #62586c;
    --pf-line: #e5dce9;
    --pf-radius: 16px;
    background: var(--pf-bg);
    color: var(--pf-ink);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.pf-compra body {
    width: 100%;
    min-height: 100vh !important;
    height: auto;
    margin: 0;
    padding: 0;
    background: var(--pf-bg) !important;
    color: var(--pf-ink);
    font: 400 16px/1.5 system-ui, -apple-system, sans-serif;
    overflow: visible;
}

.pf-compra [hidden] { display: none !important; }
.pf-compra :where(h1,h2,h3) {
    font-family: "PediFull Quicksand", system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: inherit;
}
.pf-compra :where(button, input, textarea, select) { font: inherit; }
.pf-compra td { font: inherit; color: inherit; }
.pf-compra img { max-width: 100%; }
.pf-compra a { color: var(--pf-violet-dark); }
.pf-compra :focus-visible { outline: 3px solid #2479a9; outline-offset: 3px; }
.pf-compra :where(a, button, label, h1, h2, p, dd, td) { overflow-wrap: anywhere; }
.pf-compra .pf-wrap { max-width: 1280px; width: 100%; padding-inline: clamp(12px, 3.3vw, 44px); margin-inline: auto; }
.pf-compra #container { height: auto; min-height: 62vh !important; margin-inline: auto; padding: clamp(16px, 3vw, 40px) clamp(12px, 3.3vw, 44px); }
.pf-compra .pf-content > #panel { margin-top: 0; }
.pf-compra .pf-content > #panel > table { table-layout: fixed; }
.pf-compra .pf-content :where(td,th) { min-width: 0; }
.pf-compra .pf-content #panel > table > tbody > tr > td { background-color: transparent !important; }
.pf-compra .pf-sr, .pf-compra .pf-skip:not(:focus) {
    position: absolute; inline-size: 1px; block-size: 1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.pf-compra .pf-skip:focus { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 10px; background: #fff; }
.pf-native-webview:not(.pf-using-keyboard) .pf-skip:focus { inline-size: 1px; block-size: 1px; padding: 0; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
.pf-header { background: #fff; border-bottom: 1px solid var(--pf-line); }
.pf-header-grid {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
    gap: 12px 28px; padding-block: 15px;
}
.pf-logo { display: inline-flex; align-items: center; min-width: 0; }
.pf-logo img { display: block; width: 144px; height: auto; }
.pf-header-store { display:none; }
.pf-search {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1fr) 46px;
    margin: 0; border-radius: 11px; border: 1px solid var(--pf-line); background: #fbf9fc;
}
.pf-search > input, .pf-search > button {
    min-width: 0; min-height: 44px; margin: 0; border: 0; background: transparent; color: inherit;
}
.pf-search > input { padding: 6px 12px; width: 100%; }
.pf-search > button { cursor: pointer; color: var(--pf-violet); }
.pf-search:focus-within { border-color: var(--pf-violet); }
.pf-compra .pf-search > input:focus,
.pf-compra .pf-search > input:focus-visible { outline: none; box-shadow: none; }
.pf-search-suggestions {
    position: absolute; inset: calc(100% + 7px) 0 auto; z-index: 35;
    background: #fff; border: 1px solid var(--pf-line); border-radius: 12px;
    box-shadow: 0 12px 32px #35204724; padding: 7px;
    max-height: min(65vh, 520px); max-height: min(65dvh, 520px); overflow-y: auto;
    overscroll-behavior: contain; color: var(--pf-ink);
}
.pf-search-suggestions[hidden] { display: none; }
.pf-search-suggestions-title { padding: 5px 9px 8px; color: var(--pf-muted); font-size: .8rem; }
.pf-search-suggestions ul { list-style: none; padding: 0; margin: 0; }
.pf-search-option {
    display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 11px;
    padding: 9px; border-radius: 8px; cursor: pointer; min-height: 64px;
}
.pf-search-option:hover, .pf-search-option[aria-selected="true"] { background: #f3edf8; }
.pf-search-image { display: grid; place-items: center; width: 48px; height: 48px; background: #fff; border-radius: 7px; }
.pf-search-image img { display: block; width: 44px; height: 44px; object-fit: contain; }
.pf-search-image svg { width: 24px; height: 24px; color: var(--pf-violet); }
.pf-search-option-text { min-width: 0; font-size: .94rem; line-height: 1.35; }
.pf-search-option-text > span { display: block; }
.pf-search-option-text strong { font-weight: 750; color: var(--pf-violet-dark); }
.pf-search-option-detail { margin-top: 3px; color: var(--pf-muted); font-size: .78rem; }
.pf-search-message { margin: 0; padding: 8px 9px; color: var(--pf-muted); font-size: .875rem; }
.pf-search-message:empty { display: none; }
.pf-search-all {
    display: block; width: 100%; min-height: 44px; margin-top: 5px; padding: 10px;
    border: 0; border-top: 1px solid var(--pf-line); border-radius: 0 0 7px 7px;
    background: #fff; color: var(--pf-violet); text-align: start; cursor: pointer; font-size: .875rem;
}
.pf-search-all:hover { background: #fbf9fc; }
.pf-search-filter { grid-column: 1/-1; padding: 2px 12px 7px; font-size: .875rem; }
.pf-header-actions, .pf-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pf-header-actions { justify-content: end; flex-wrap: nowrap; }
.pf-icon, .pf-cart-link, .pf-button {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 8px 13px; border: 1px solid transparent; border-radius: 10px;
    font-weight: 700; text-align: center; text-decoration: none; line-height: 1.25; cursor: pointer;
}
.pf-icon { width: 44px; padding: 0; font-size: 1.45rem; background: #f6f0fa; color: var(--pf-violet); }
.pf-cart-link { background: #f3e9f9; white-space: nowrap; }
.pf-compra #carro_cantidad_total { font-size: .875rem; font-variant-numeric: tabular-nums; }
.pf-nav { border-top: 1px solid var(--pf-line); }
.pf-nav-shell { position:relative; }
.pf-nav-edge { display:none; }
.pf-nav-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 12px; }
.pf-nav nav { display: flex; flex-wrap: wrap; gap: 5px 20px; }
.pf-nav nav a, .pf-store { padding: 10px 0; text-decoration: none; font-size: .9rem; font-weight: 600; }
.pf-nav nav a[aria-current] { color: var(--pf-violet); box-shadow: inset 0 -3px var(--pf-violet); }
.pf-store { min-width: 0; max-width: 100%; color: var(--pf-muted) !important; text-decoration: underline; white-space: normal; }
.pf-primary, .pf-compra a.pf-primary { background: var(--pf-violet); color: #fff; }
.pf-primary:hover { background: var(--pf-violet-dark); }
.pf-secondary { color: var(--pf-violet-dark); background: #f5eef9; border-color: var(--pf-lilac); }
.pf-button:disabled { opacity: .55; cursor: default; }
.pf-panel { background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-radius); min-width: 0; }
.pf-panel h2 { font-size: 1.25rem; margin: 0 0 12px; }
.pf-page-title { margin: 0 0 22px; }
.pf-page-title h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin: 0 0 6px; }
.pf-page-title p, .pf-muted { color: var(--pf-muted); }
.pf-page-title p { margin: 0; }
.pf-content > .pf-ayuda-barra:has(+ .pf-page-title) { float: inline-end; margin-inline-start: 8px; margin-bottom: 0; }
.pf-content > .pf-ayuda-barra + .pf-page-title { display: flow-root; min-height: 44px; }
.pf-choice-grid, .pf-product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px;
    padding-block: 6px 18px;
}
.pf-choice-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 138px), 1fr)); }
.pf-brand-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(120px, 17vw, 148px)), 1fr)); }
.pf-brand-grid .pf-choice { padding: 8px; align-content: center; }
.pf-brand-grid .pf-choice-image { display: block; }
.pf-brand-grid .pf-choice-image > img { display: block; width: 100%; height: clamp(80px, 12vw, 112px); max-height: none !important; }
.pf-category-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 146px), 1fr)); }
.pf-category-grid-mosaics { grid-template-columns: repeat(auto-fill, minmax(min(100%, 166px), 1fr)); }
.pf-provider-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); }
.pf-choice { text-decoration: none; padding: 12px; display: grid; justify-items: center; align-content: start; gap: 5px; text-align: center; }
.pf-choice-image { width: 100%; min-width: 0; min-height: 70px; display: grid; place-items: center; }
.pf-choice-image > img { width: auto; max-height: 78px !important; max-width: 100% !important; object-fit: contain; }
.pf-choice-image table { table-layout: fixed; width: 100% !important; }
.pf-choice-image td img { max-width: 100% !important; }
.pf-choice > span:not(.pf-choice-image) { color: var(--pf-muted); font-size: .875rem; }
.pf-choice.pf-category-choice {
    grid-template-columns: minmax(0, 1fr) auto; align-items: start; justify-items: stretch;
    gap: 9px 7px; padding: 9px; text-align: start; border-radius: 13px;
}
.pf-category-choice > .pf-choice-image {
    grid-column: 1 / -1; height: clamp(80px, 16vw, 112px);
    border-radius: 8px; background: #f6f2f9; color: var(--pf-violet);
}
.pf-category-choice > .pf-choice-image > img {
    display: block; width: 100%; height: 100%; max-height: none !important; min-height: 0;
    padding: 6px; object-fit: contain; mix-blend-mode: multiply;
}
.pf-category-choice > strong { align-self: center; color: var(--pf-ink); font-size: .94rem; line-height: 1.25; overflow-wrap: anywhere; }
.pf-category-choice > span:not(.pf-choice-image) { grid-column: 1 / -1; margin-top: -3px; }
.pf-category-choice::after {
    content: ""; grid-area: 2 / 2; align-self: center; width: 7px; height: 7px; margin-inline: 3px 5px;
    border-top: 2px solid var(--pf-violet); border-right: 2px solid var(--pf-violet); transform: rotate(45deg);
}
.pf-category-choice:hover { border-color: #bba2ca; }
.pf-home-categories { min-width: 0; contain: inline-size; }
.pf-home-categories-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 7px 3px; }
.pf-home-categories-header > h2 { min-width: 0; margin: 0; font-size: clamp(1.1rem, 2.7vw, 1.55rem); overflow-wrap: anywhere; }
.pf-home-category-controls { display: flex; gap: 6px; flex: 0 0 auto; }
.pf-home-category-controls[hidden] { display: none; }
.pf-home-category-controls .pf-icon[aria-disabled="true"] { opacity: .45; cursor: default; }
.pf-home-categories .pf-category-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(100%, clamp(142px, 26vw, 178px));
    gap: 10px; padding: 6px 7px 11px; overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-padding-inline: 7px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #c4adcf transparent;
}
.pf-home-categories .pf-category-choice { scroll-snap-align: start; }
.pf-category-grid-mosaics .pf-category-choice > .pf-choice-image {
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    overflow: hidden;
}
.pf-category-mosaic {
    display: grid; box-sizing: border-box; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 4px; gap: 3px;
    grid-template-columns: repeat(var(--pf-logo-columns, 1), minmax(0, 1fr));
    grid-template-rows: repeat(var(--pf-logo-rows, 1), minmax(0, 1fr));
}
.pf-category-mosaic[data-logos="2"], .pf-category-mosaic[data-logos="4"] { --pf-logo-columns: 2; }
.pf-category-mosaic[data-logos="3"] { --pf-logo-columns: 3; }
.pf-category-mosaic[data-logos="4"] { --pf-logo-rows: 2; }
.pf-category-mosaic > :is(img, canvas) {
    display: block; box-sizing: border-box; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 4px;
    object-fit: contain; border-radius: 5px; background: #fff;
}
@media (max-width: 600px) {
    .pf-choice-grid.pf-category-grid-mosaics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-home-categories .pf-category-grid { grid-template-columns: none; grid-auto-columns: min(100%, clamp(168px, 48vw, 212px)); }
    .pf-category-grid-mosaics .pf-category-choice > .pf-choice-image { height: clamp(116px, 33vw, 150px); }
}
.pf-product { --pf-product-gap: 6px; padding: 11px; display: flex; flex-direction: column; align-items: start; gap: var(--pf-product-gap); position: relative; }
.pf-product-status:empty, .pf-product-details:empty { display: none; }
.pf-product-open { display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 8px; width: 100%; color: var(--pf-ink); background: transparent; border: 0; padding: 0; font-weight: 680; line-height: 1.35; }
.pf-product-open > span { overflow-wrap: anywhere; white-space: normal; }
button.pf-product-open { cursor: pointer; border-radius: 9px; }
.pf-compra button.pf-product-open:focus-visible { outline: 2px solid var(--pf-violet); outline-offset: 2px; }
.pf-product-open img { display: block; width: 100%; aspect-ratio: 4/3; height: auto; object-fit: contain; border-radius: 9px; background: #fff; }
.pf-product-seals-with-trophy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; max-width: 100%; }
.pf-product-details { display: flex; flex-direction: column; align-items: start; gap: var(--pf-product-gap); width: 100%; min-width: 0; }
.pf-product-bulto {
    box-sizing: border-box; display: grid; gap: 3px; width: 100%; min-width: 0;
    padding: 7px 8px; border-inline-start: 3px solid #9364b0; border-radius: 7px;
    background: #f5eff9; color: var(--pf-violet-dark); line-height: 1.2;
}
.pf-product-bulto-title, .pf-product-bulto-quantity { font-size: .72rem; overflow-wrap: normal; }
.pf-product-bulto-title { font-weight: 650; }
.pf-product-bulto-quantity { color: var(--pf-muted); }
.pf-product-bulto-values { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 6px; }
.pf-product-bulto-values > :is(strong, span) { font-size: .84rem; font-weight: 750; white-space: nowrap; }
.pf-product .pf-button { width: 100%; margin-top: auto; }
@supports (grid-template-rows: subgrid) {
    .pf-product-grid > .pf-product {
        display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid;
        grid-row: span 6; row-gap: 0; align-items: start;
    }
    .pf-product > * { grid-column: 1; min-width: 0; }
    .pf-product-status { grid-row: 1; }
    .pf-product-open { grid-row: 2; }
    .pf-product-seals { grid-row: 3; }
    .pf-product-details { grid-row: 4; }
    .pf-product > :is(.pf-product-status, .pf-product-open, .pf-product-seals, .pf-product-details):not(:empty) {
        margin-block-end: var(--pf-product-gap);
    }
    .pf-product > .pf-offer-actions {
        grid-row: 5 / 7; grid-template-rows: subgrid; margin: 0; align-self: stretch;
    }
    .pf-offer-actions > .pf-button { grid-row: 2; }
    .pf-offer-actions > .pf-offer-add-pack { grid-row: 1; }
}
@supports not (grid-template-rows: subgrid) {
    .pf-product-open > span { min-block-size: 4em; }
}
.pf-product-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; color: var(--pf-muted); font-size: .82rem; }
.pf-product-price, .pf-coupon { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.pf-product-price strong { color: var(--pf-violet-dark); font-size: 1.12rem; }
.pf-product-pack { color: var(--pf-muted); overflow-wrap: anywhere; }
.pf-tag, .pf-coupon, .pf-delivery {
    display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 4px 8px;
    border-radius: 7px; font-size: .84rem; font-weight: 650; color: #673609; background: #fff1d9;
}
.pf-tag-muted { background: #f2edf5; color: var(--pf-muted); }
.pf-delivery { color: #214c3a; background: #e5f4eb; border: 0; }
button.pf-delivery { min-height: 36px; cursor: pointer; }
.pf-qty:empty { display: none; }
.pf-qty { color: var(--pf-violet-dark); font-weight: 650; }
.pf-compra .pf-qty img, .pf-compra [id^=gal_sku_] img { width: auto; max-height: 17px !important; margin-right: 5px; }
.pf-search-results { display: grid; grid-template-columns: minmax(185px, 1fr) minmax(0, 3fr); gap: 14px; align-items: start; }
.pf-filter { padding: 12px; }
.pf-filter summary { cursor: pointer; font-weight: 700; padding-block: 8px; }
.pf-filter table { width: 100% !important; }
.pf-filter :is(td,select,div,a,label) { max-width: 100%; white-space: normal !important; font-size: .9rem !important; }
.pf-filter td { padding-top: 4px !important; }
.pf-filter select { width: 100%; min-height: 40px; }
.pf-filter .pf-ayuda-filtros { margin-bottom: 0; }
.pf-result-list { min-width: 0; scroll-margin-block-start: 12px; }
.pf-result-list:focus { outline: none; }
.pf-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding-block: 12px; }
.pf-pagination .pf-button { min-width: 44px; }
.pf-pagination [aria-current="page"] { cursor: default; }
.pf-ofertas-cupones, .pf-ofertas-generales { margin-block-end: 1.5rem; }
.pf-ofertas-enlaces { margin-block-end: 1rem; }
.pf-ofertas-generales, .pf-ofertas-filtros { padding: 1rem; }
.pf-ofertas-filtros { align-items: end; gap: .75rem; margin-block: .75rem 1rem; }
.pf-ofertas-filtros label { display: grid; flex: 1 1 12rem; gap: .25rem; min-width: 0; }
.pf-ofertas-filtros select { width: 100%; min-height: 44px; }
.pf-ofertas-filtros .pf-button { min-height: 44px; }
.pf-offer-coupon { display: grid; gap: 3px; background: #f5eef9; color: var(--pf-violet-dark); line-height: 1.35; font-variant-numeric: tabular-nums; }
.pf-offer-coupon span { font-weight: 550; }
.pf-compra .pf-product-grid-with-coupons {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(134px, 24vw, 182px)), 1fr));
}
.pf-offer-prices {
    width: 100%; min-width: 0; border: 1px solid var(--pf-line); border-radius: 10px;
    overflow-wrap: anywhere; font-variant-numeric: tabular-nums; line-height: 1.3;
}
.pf-offer-prices-heading {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px;
    padding: 6px 7px; border-radius: 9px 9px 0 0; background: #f5eef9; border-bottom: 1px solid var(--pf-line);
    color: var(--pf-violet-dark); font-size: .75rem; font-weight: 700;
}
.pf-offer-rate {
    padding: 4px 7px; border-radius: 999px; background: var(--pf-violet); color: #fff;
    font-size: .8rem; font-weight: 750; line-height: 1; text-align: center; white-space: nowrap;
}
.pf-offer-price-row { display: grid; gap: 3px; padding: 7px 8px; }
.pf-offer-price-row + .pf-offer-price-row { border-top: 1px solid var(--pf-line); }
.pf-offer-presentation { color: var(--pf-ink); font-size: .78rem; font-weight: 700; }
.pf-offer-amounts { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 7px; }
.pf-offer-amounts strong { color: var(--pf-violet-dark); font-size: 1rem; }
.pf-offer-amounts del { color: var(--pf-muted); font-size: .75rem; }
.pf-offer-saving {
    justify-self: start; max-width: 100%; padding: 3px 6px; border-radius: 6px;
    background: #e7f4eb; color: #214c3a; font-size: .82rem; font-weight: 750;
}
.pf-offer-actions { display: grid; width: 100%; margin-top: auto; gap: 8px; }
.pf-offer-actions .pf-button { margin: 0; min-height: 44px; }
.pf-offer-add-pack[aria-disabled="true"] { opacity: .65; cursor: progress; }
.pf-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pf-compra .pf-content .form_info_title,
.pf-compra .pf-content .form_info_sub_title {
    background: transparent !important; color: var(--pf-ink) !important; text-align: start;
    font: 700 clamp(1.1rem, 2.7vw, 1.55rem)/1.25 "PediFull Quicksand", system-ui, sans-serif !important;
    padding: 12px 0 8px !important; margin: 0; height: auto;
}
.pf-compra .pf-content .form_section { height: auto; white-space: normal; font-size: 1rem; }
.pf-compra .pf-content iframe { max-width: 100%; }
.pf-compra .pf-content .form { max-width: 100%; }
.pf-compra .pf-content .button { max-width: 100%; white-space: normal; font-size: 1rem; min-height: 42px; height: auto; }
.pf-compra #wapp_icon { width: 44px !important; height: 44px !important; background-size: contain !important; z-index: 33 !important; }

.pf-checkout-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; width: 100%; }
.pf-checkout-fields, .pf-cart-lines { display: grid; gap: 13px; min-width: 0; }
.pf-checkout-fields > *, .pf-cart-lines > *, .pf-check-summary, .pf-empty { padding: clamp(12px, 2.4vw, 22px); }
.pf-check-summary { display: grid; gap: 8px; }
.pf-check-summary h2, .pf-check-summary p { margin: 0; }
.pf-check-summary .pf-button { width: 100%; margin-top: 6px; white-space: normal; }
.pf-check-summary p.pf-delivery { justify-self: start; }
.pf-check-products { min-width: 0; border-block: 1px solid var(--pf-line); }
.pf-check-products summary { min-height: 44px; padding: 10px 0; color: var(--pf-violet-dark); font-weight: 680; cursor: pointer; overflow-wrap: anywhere; }
.pf-check-products ul { list-style: none; margin: 0 0 4px; padding: 0; }
.pf-check-products li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 6px 0; }
.pf-check-products li + li { border-top: 1px solid var(--pf-line); }
.pf-check-products small { color: var(--pf-muted); font-variant-numeric: tabular-nums; }
.pf-back { text-align: center; padding: 9px 0; }
.pf-check-section { margin: 0; }
.pf-check-section legend { padding: 0 6px; font-size: 1.12rem; font-weight: 700; }
.pf-check-titulo { align-items: center; margin-bottom: 8px; }
.pf-check-titulo h2 { margin: 0; font-size: 1.12rem; }
.pf-radio-card { border: 1px solid var(--pf-line); border-radius: 11px; margin-bottom: 8px; }
.pf-radio-card:last-child { margin-bottom: 0; }
.pf-radio-card:has(input:checked) { border-color: var(--pf-violet); background: #faf4fe; }
.pf-radio-card label { display: flex; align-items: center; gap: 10px; padding: 11px; min-height: 44px; cursor: pointer; }
.pf-radio-card label > :is(span,strong) { min-width: 0; overflow-wrap: anywhere; }
.pf-radio-card label small { display: block; color: var(--pf-muted); }
.pf-radio-card input { width: 18px; height: 18px; margin: 0; accent-color: var(--pf-violet); flex: 0 0 18px; }
.pf-radio-card .pf-delivery { margin: 0 8px 8px 39px; }
.pf-check-section > label { display: block; margin-top: 10px; font-weight: 600; }
.pf-check-section > label span { font-weight: 400; color: var(--pf-muted); }
.pf-check-section textarea { width: 100%; min-height: 76px; margin-top: 5px; resize: vertical; border: 1px solid #bfb0c9; border-radius: 8px; padding: 7px 9px; }
.pf-billing { font-size: .9rem; padding: 10px; background: #f8f4fb; border-radius: 8px; overflow-wrap: anywhere; }
.pf-totals { margin: 4px 0; }
.pf-totals > div { display: flex; justify-content: space-between; gap: 5px 12px; flex-wrap: wrap; margin-bottom: 5px; }
.pf-totals dt, .pf-totals dd { min-width: 0; overflow-wrap: anywhere; }
.pf-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.pf-totals .pf-total { padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--pf-line); font-size: 1.13rem; font-weight: 740; color: var(--pf-violet-dark); }
.pf-notice { margin: 0; padding: 10px 12px; border: 1px solid #e8b86a; border-radius: 10px; background: #fff5e4; color: #683d11; }
.pf-cart-lines > .pf-button { justify-self: start; padding: 8px 13px; }
.pf-cart-lines #carro_alertas:empty { display: none; }
.pf-cart-lines #carro_alertas > *, .pf-compra #pesos_check table { max-width: 100%; }
.pf-cart-lines #carro_alertas :is(div,p), .pf-compra #pesos_check :is(td,div) { font-size: .95rem !important; white-space: normal !important; }
.pf-cart-expiry { display: flex; align-items: center; gap: 10px; margin-block: 10px 16px; }
.pf-cart-expiry-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 9px; background: #f9e4bb; }
.pf-cart-expiry-copy { display: flex; flex-wrap: wrap; gap: 3px 12px; min-width: 0; }
.pf-cart-expiry #cronometro { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-cart-coupon-icon {
    display: inline-block; flex: 0 0 17px; width: 17px; height: 17px; background: currentColor;
    -webkit-mask: url("/app/menu/icons/cupones.png") center / contain no-repeat;
    mask: url("/app/menu/icons/cupones.png") center / contain no-repeat;
}
.pf-cart-items { width: 100% !important; margin: 0 !important; padding: 0 !important; }
.pf-cart-items tr[id^=carro_item_] { --pf-cart-photo: 72px; display: grid; grid-template-columns: var(--pf-cart-photo) minmax(0, 1fr) minmax(0, max-content); gap: 3px 10px; align-items: start; }
.pf-cart-items tr[id^=carro_item_] > td { width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important; min-width: 0; }
.pf-cart-items :is(div,td,span,s):not(.pf-product-tacc-seal, .pf-commercial-tag) { font-size: .9rem !important; white-space: normal !important; }
.pf-cart-items .pf-cart-thumb { display: block; box-sizing: border-box; width: 100%; height: var(--pf-cart-photo); object-fit: contain; padding: 3px; border: 1px solid var(--pf-line); border-radius: 9px; background: #fff; }
.pf-cart-thumb-unavailable { filter: grayscale(100%); }
.pf-cart-info > table { table-layout: fixed; }
.pf-cart-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pf-cart-name { min-width: 0; font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.pf-cart-items .pf-cart-info .pf-tag { margin-top: 4px; font-size: .75rem !important; }
:is(.pf-cart-info, .pf-check-products) .pf-commercial-tag { margin-top: 4px; }
.pf-cart-name-row > .pf-commercial-tag { margin-top: 0; }
.pf-cart-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; color: var(--pf-violet-dark); }
.pf-cart-price:empty { display: none; }
.pf-cart-price strong { font-size: 1.04rem; font-variant-numeric: tabular-nums; }
.pf-cart-price small { color: var(--pf-muted); }
.pf-cart-items .pf-cart-price-final { padding: 2px 7px; border-radius: 6px; background: #f1e8f7; font-size: .76rem !important; font-weight: 650; }
.pf-cart-saving { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 8px; border: 1px solid #efd3a6; border-radius: 8px; color: #683d11; background: #fff4e0; }
.pf-cart-items .pf-cart-saving > span { font-size: .82rem !important; font-weight: 650; overflow-wrap: anywhere; }
.pf-cart-controls { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.pf-cart-quantity { max-width: 160px; color: var(--pf-muted); text-align: end; }
.pf-cart-line-total { display: inline-flex; align-items: center; color: var(--pf-violet-dark); font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-cart-actions { display: flex; flex-wrap: wrap; grid-column: 2 / -1; align-items: center; gap: 0 12px; }
.pf-cart-items hr { background: var(--pf-line); margin: 12px 0; }
.pf-cart-coupons { container: cupones-carrito / inline-size; }
.pf-cart-coupon-list { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pf-compra a.pf-cart-coupon-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-areas: "foto detalle monto";
    align-items: center;
    gap: 8px 12px;
    min-height: 62px;
    padding: 9px 11px;
    border: 1px solid var(--pf-line);
    border-radius: 11px;
    color: var(--pf-ink);
    text-decoration: none;
}
.pf-compra a.pf-cart-coupon-row:hover { background: #faf6fc; border-color: var(--pf-lilac); }
.pf-cart-coupon-row:hover strong { color: var(--pf-violet-dark); text-decoration: underline; text-underline-offset: 2px; }
.pf-cart-coupon-thumb {
    grid-area: foto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 4px;
    border: 1px solid var(--pf-line);
    border-radius: 8px;
    background: #f8f4fb;
}
.pf-cart-coupon-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pf-cart-coupon-copy { grid-area: detalle; display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; line-height: 1.34; }
.pf-cart-coupon-copy strong { font-size: .94rem; font-weight: 720; }
.pf-cart-coupon-type { color: var(--pf-violet-dark); font-size: .81rem; font-weight: 650; }
.pf-cart-coupon-scope { color: var(--pf-muted); font-size: .82rem; }
.pf-cart-coupon-amount {
    color: var(--pf-violet-dark);
    font-size: .95rem;
    font-variant-numeric: tabular-nums;
    font-weight: 750;
    text-align: right;
    white-space: nowrap;
}
.pf-cart-coupon-row > .pf-cart-coupon-amount { grid-area: monto; justify-self: end; }
.pf-cart-coupon-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 10px 12px;
    margin: 10px 0 0;
    border-radius: 9px;
    background: #f5edf9;
    color: var(--pf-violet-dark);
    font-size: .9rem;
    font-weight: 700;
}
.pf-cart-coupon-subtotal dd { margin: 0 0 0 auto; }
@media (max-width: 400px) {
    .pf-compra a.pf-cart-coupon-row {
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-areas: "foto detalle" ". monto";
        align-items: start;
        row-gap: 4px;
    }
}
@container cupones-carrito (max-width: 340px) {
    .pf-compra a.pf-cart-coupon-row {
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-areas: "foto detalle" ". monto";
        align-items: start;
        row-gap: 4px;
    }
}
.pf-empty { text-align: center; padding-block: 34px; }
.pf-update-wrap { max-width: 500px !important; padding-block: clamp(18px, 7vw, 70px); }
.pf-update-wrap .pf-empty { padding-inline: 16px; }

.pf-page-auxiliary > :is(.form,.android_form),
.pf-page-auxiliary #panel > :is(.form,.android_form) {
    display: block;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 0 16px !important;
    padding: clamp(12px, 3vw, 28px);
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-radius);
    box-shadow: none;
    background: #fff;
    overflow-wrap: anywhere;
}
.pf-page-auxiliary :is(.form,.android_form) > div[id*="_row"] { margin: 12px 0 !important; max-width: 100%; }
.pf-page-auxiliary :is(.form,.android_form) > hr { width: 100% !important; margin: 18px 0 !important; background: var(--pf-line); }
.pf-page-auxiliary :is(.form_section,.form_sub_section) {
    width: 100% !important; min-height: 36px; padding: 8px 12px;
    border-radius: 8px; color: var(--pf-violet-dark); background: #f4eef8; font-weight: 700;
}
.pf-page-auxiliary .field_label { color: var(--pf-ink); font: 650 .91rem/1.4 system-ui, sans-serif; }
.pf-page-auxiliary :is(.class_input_text,.class_select,textarea) {
    max-width: 100% !important; min-height: 42px; padding: 7px 10px;
    border: 1px solid #cbbdd3; border-radius: 8px; font: inherit; color: var(--pf-ink); background: #fff;
}
.pf-page-auxiliary :is(.class_input_text,.class_select,textarea):disabled { background: #f4eff7; }
.pf-page-auxiliary :is(input[type="checkbox"],input[type="radio"]) { accent-color: var(--pf-violet); }
.pf-compra .pf-page-auxiliary .button {
    width: auto; min-height: 44px; padding: 8px 14px; white-space: normal;
    border: 1px solid var(--pf-violet); border-radius: 9px; background: var(--pf-violet); color: #fff;
    font: 680 .92rem/1.35 system-ui, sans-serif; cursor: pointer;
}
.pf-compra .pf-page-auxiliary :is(#btn_cancelar,#btn_volver) { color: var(--pf-violet-dark); background: #f5eef9; border-color: var(--pf-lilac); }
.pf-compra .pf-page-auxiliary #btn_eliminar { color: #982e38; background: #fff2f3; border-color: #efcfd2; }
.pf-page-auxiliary .button:hover { filter: brightness(.94); }
.pf-page-auxiliary .button:disabled { opacity: .55; cursor: default; }
.pf-page-auxiliary #panel { position: relative !important; inset: auto !important; margin: 0; max-width: 100%; overflow-x: auto; }
.pf-page-auxiliary .query_grid { max-width: 100%; }
.pf-page-auxiliary :is(.query_grid_title_row,.query_grid_title_cell) { background: #f2eaf7; color: var(--pf-violet-dark); }
.pf-page-auxiliary .query_grid_title_cell { padding: 8px 10px; font-size: .8rem !important; font-weight: 700; }
.pf-page-auxiliary .query_grid_cell { padding: 7px 9px; font-size: .9rem !important; border-bottom-color: var(--pf-line); }
.pf-page-auxiliary .query_grid_row[tabindex]:focus-within { background: #f4eef8; }
.pf-compra #container.pf-pagina-documento { max-width: 920px; }
.pf-pagina-documento > center { text-align: start; }
.pf-pagina-documento > center > .form {
    display: block; width: 100% !important; margin: 0; padding: clamp(14px, 4vw, 36px) !important;
    border: 1px solid var(--pf-line); border-radius: var(--pf-radius); background: #fff; overflow-wrap: anywhere;
}
.pf-pagina-documento > center > .form > div { width: 100% !important; margin: 0 !important; padding: 0 !important; }
.pf-pagina-documento h1 { font-size: clamp(1.55rem, 4vw, 2.45rem); margin: 0 0 18px; }
.pf-pagina-documento h2 { font-size: clamp(1.12rem, 3vw, 1.45rem); margin: 22px 0 10px; }
.pf-pagina-documento :is(ol,ul) { padding-inline-start: 22px; }
.pf-pagina-documento li + li { margin-top: 6px; }
.pf-page-auxiliary .pf-order-back { margin-bottom: 12px; }
.pf-page-auxiliary .pf-order-detail { padding: clamp(12px, 2.3vw, 26px); margin-bottom: 12px !important; overflow-x: auto; }
.pf-order-detail > div[style*="overflow: auto"],
.pf-order-summary > div[style*="overflow: auto"] { margin: 0 !important; width: 100% !important; }
.pf-order-detail .query_grid_cell, .pf-order-detail .query_grid_title_cell { white-space: normal !important; }
.pf-notice-list { list-style: none; padding: 0; margin: 0; }
.pf-notice-list li + li { border-top: 1px solid var(--pf-line); }
.pf-notice-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; padding: 12px 8px; color: var(--pf-ink); text-decoration: none; }
.pf-notice-row:hover { background: #f7f1fa; border-radius: 8px; }
.pf-notice-main, .pf-notice-meta { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.pf-notice-main strong { font-size: .96rem; line-height: 1.35; }
.pf-notice-main > span, .pf-notice-meta, .pf-notice-detail header > p { color: var(--pf-muted); font-size: .8rem; }
.pf-notice-meta { justify-items: end; flex: 0 0 auto; text-align: right; }
.pf-notice-new { padding: 2px 8px; border-radius: 99px; color: var(--pf-violet-dark); background: #f2eaf7; font-weight: 700; }
.pf-notice-detail { max-width: 820px; padding: clamp(14px, 3vw, 28px); }
.pf-notice-detail h2 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 1.7rem); overflow-wrap: anywhere; }
.pf-notice-detail header > p { margin: 0 0 6px; }
.pf-notice-body { display: flex; gap: 14px; align-items: flex-start; margin: 16px 0; line-height: 1.55; overflow-wrap: anywhere; }
.pf-notice-body > div { min-width: 0; }
.pf-notice-body img { max-width: 100%; height: auto; }
.pf-notice-body .pf-notice-image { width: 64px; max-width: 20%; border-radius: 8px; }
.pf-order-summary { display: grid; gap: 14px; }
.pf-order-summary h2, .pf-coupon-card h2 { margin: 0; font-size: 1.2rem; }
.pf-order-summary p { margin: 0; }
.pf-order-facts, .pf-order-totals, .pf-coupon-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); gap: 8px; margin: 0; }
.pf-order-facts > div, .pf-order-totals > div, .pf-coupon-terms > div { padding: 10px; min-width: 0; background: #f8f5fa; border-radius: 9px; overflow-wrap: anywhere; }
.pf-order-facts dt, .pf-order-totals dt, .pf-coupon-terms dt { margin-bottom: 3px; font-size: .77rem; font-weight: 700; color: var(--pf-muted); }
.pf-order-facts dd, .pf-order-totals dd, .pf-coupon-terms dd { margin: 0; font-size: .89rem; font-weight: 650; }
.pf-order-totals > div:last-child { background: #f0e6f5; }
.pf-coupon-card { display: grid; gap: 12px; max-width: 700px; padding: clamp(14px, 3vw, 28px); }
.pf-coupon-card p, .pf-coupon-card figure { margin: 0; overflow-wrap: anywhere; }
.pf-coupon-card figure { text-align: center; }
.pf-coupon-card figure img { display: block; margin: 0 auto 6px; width: 116px; height: 116px; }
.pf-coupon-card figcaption { color: var(--pf-muted); font-size: .85rem; }
.pf-claim-thread { display: grid; gap: 10px; padding: 0; margin: 10px 0; list-style: none; }
.pf-claim-thread li { max-width: min(90%, 680px); width: fit-content; padding: 10px 14px; border-radius: 12px; background: #f3eff6; }
.pf-claim-thread .pf-claim-own { justify-self: end; background: #eaf5f0; }
.pf-claim-thread header { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: .8rem; color: var(--pf-muted); }
.pf-claim-thread p { margin: 5px 0 0; font-size: .93rem; }
.pf-claim-files { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-claim-files button { width: 72px; height: 72px; margin-top: 6px; padding: 0; background: white; border: 1px solid var(--pf-line); border-radius: 8px; overflow: hidden; cursor: pointer; }
.pf-claim-files img { width: 100%; height: 100%; object-fit: cover; }
.pf-page-auxiliary [id^="imagenes_row"]:has(> #file1_img) { display: flex !important; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pf-rating { max-width: 680px; padding: clamp(12px, 3vw, 28px); }
.pf-rating #div_calificar { width: 100% !important; padding: 0 !important; box-sizing: border-box; }
.pf-rating #div_calificar > div[id^="calificar_row"] { margin: 10px 0 !important; }
.pf-rating #div_calificar > hr { margin: 12px 0 !important; }
.pf-rating-order { margin: 8px 0; text-align: center; }
.pf-rating-field { min-width: 0; margin: 0 0 10px; padding: 6px 8px 8px; border: 1px solid var(--pf-line); border-radius: 10px; }
.pf-rating-field legend { padding: 0 4px; font-weight: 650; font-size: .9rem; }
.pf-rating-options { display: flex; flex-wrap: wrap; gap: 3px; }
.pf-rating-options button { width: 44px; height: 44px; padding: 8px; background: #f5eef9; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.pf-rating-options button[aria-pressed="true"] { border-color: var(--pf-violet); }
.pf-rating-options img { display: block; width: 100%; }
.pf-contact-card { display: grid; gap: 12px; padding: clamp(12px, 3vw, 28px); margin-bottom: 14px; }
.pf-contact-card header { display: flex; align-items: center; gap: 12px; }
.pf-contact-card header img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--pf-line); border-radius: 10px; }
.pf-contact-card h2 { min-width: 0; font-size: 1.15rem; margin: 0; }
@media (max-width: 430px) {
    .pf-notice-row { align-items: flex-start; padding: 11px 4px; }
    .pf-notice-meta { flex: 0 1 auto; }
    .pf-order-facts, .pf-order-totals, .pf-coupon-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pf-product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding: clamp(16px, 3vw, 36px); }
.pf-product-detail .pf-totals > div { padding-block: 6px; border-bottom: 1px solid var(--pf-line); }
.pf-product-detail .pf-actions { margin-top: 18px; }
.pf-product-photos { display: flex; flex-wrap: wrap; align-content: start; gap: 8px; }
.pf-product-photo { flex: 1 1 96px; padding: 4px; border: 1px solid var(--pf-line); border-radius: 12px; background: #fff; cursor: zoom-in; }
.pf-product-photo:first-child { flex-basis: 100%; }
.pf-product-photo img { display: block; margin: auto; max-height: 130px; object-fit: contain; }
.pf-product-photo:first-child img, .pf-product-no-photo { max-height: min(48vh, 360px); }
.pf-compra #box_img { background-size: contain; }
@media (max-width: 720px) {
    .pf-product-detail { grid-template-columns: minmax(0, 1fr); }
    .pf-page-auxiliary :is(.form,.android_form) > div[id*="_row"]:has(> .field_label) { display: flex; flex-wrap: wrap; gap: 6px; }
    .pf-page-auxiliary .field_label { width: auto !important; max-width: 100%; }
    .pf-page-auxiliary :is(.form,.android_form) > div[id*="_row"] > .field_label:first-child { flex: 1 0 100%; }
    .pf-page-auxiliary :is(.form,.android_form) > div[id*="_row"] > :is(input,select,textarea,button) { max-width: 100%; margin-inline: 0 !important; }
    .pf-page-auxiliary .pf-order-detail .query_grid_cell { font-size: .81rem !important; }
}
.pf-order-section { margin-bottom: 14px; padding: clamp(12px, 2.4vw, 22px); }
.pf-orders { padding: 0; margin: 0; list-style: none; }
.pf-orders li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 8px 16px; align-items: start; border-bottom: 1px solid var(--pf-line); padding: 12px 0; overflow-wrap: anywhere; }
.pf-orders small { display: block; color: var(--pf-muted); }
.pf-orders a { display: inline-block; padding-block: 4px; font-weight: 700; }

.pf-compra #container.pf-login-wrap { display: grid; align-content: center; min-height: 100vh !important; min-height: 100dvh !important; padding-block: clamp(14px, 4vh, 36px); }
.pf-login { width: min(100%, 420px); margin: 0 auto; }
.pf-login-intro img { display: block; width: clamp(135px, 25vw, 171px); height: auto; margin: 0 auto 14px; }
.pf-login-form { padding: clamp(17px, 4.5vw, 29px); text-align: start; }
.pf-login-form h1 { font-size: clamp(1.55rem, 4.5vw, 2rem); margin: 0; }
.pf-login-help { color: var(--pf-muted); font-size: .93rem; line-height: 1.4; margin: 5px 0 14px; }
.pf-login-form #div_login { width: 100% !important; max-width: 100%; margin: 0 !important; padding: 0 !important; text-align: start; background: transparent; border: 0; }
.pf-login-form #div_login > div { width: 100% !important; margin: 0 0 9px !important; }
.pf-login-form #div_login > div:has(#img_logo), .pf-login-form #div_login > div:not(:has(input:not([type=hidden]))), .pf-login-form #div_login br { display: none !important; }
.pf-login-form .field_label { display: block !important; width: auto !important; padding: 0; margin: 0 0 4px; color: var(--pf-ink); font: 650 .86rem/1.35 system-ui,sans-serif; }
.pf-login-form input:not([type=hidden]) { width: 100% !important; min-height: 44px; height: auto !important; margin: 0 !important; padding: 8px 10px; font: 600 .94rem/1.25 system-ui,sans-serif !important; }
.pf-login-form input:is([type=text],[type=password]) { border: 1px solid #cbbdd3; border-radius: 8px; background: #fff; padding: 8px 10px; color: var(--pf-ink); font: 400 16px/1.3 system-ui,sans-serif !important; }
.pf-login-form #btn_aceptar { background: var(--pf-violet); color: #fff; border-radius: 9px; border: 0; }
.pf-login-form :is(#btn_registro,#btn_forgot) { background: none; color: var(--pf-violet-dark); border-radius: 7px; border: 0; text-decoration: underline; }
.pf-login-form #div_login > div:has(#btn_aceptar) { margin-top: 4px !important; }
.pf-login-form #div_login > div:has(#btn_registro,#btn_forgot):not(:has(#btn_aceptar)) { margin-bottom: 0 !important; }
.pf-login-register { margin: 8px 0 12px; font-size: .88rem; }
.pf-login-form .pf-login-stores { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-login-form .pf-login-stores img { max-height: 29px; width: auto; }
.pf-idioma-selector { display: grid; gap: 5px; margin-block: 12px; }
.pf-idioma-selector label { font-size: .88rem; font-weight: 650; }
.pf-idioma-selector select {
    width: 100%;
    min-height: 44px;
    padding-inline: 10px;
    border: 1px solid #cbbdd3;
    border-radius: 8px;
    background: #fff;
    color: var(--pf-ink);
    font: inherit;
}
.pf-idioma-selector label:not(:first-child) { margin-top: 6px; }
.pf-idioma-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-idioma-volver { margin: 10px 14px; }
.pf-idioma-volver button {
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--pf-violet-dark);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
#pf-login-idioma-error { margin: 0; color: #8c2031; }
.pf-idioma-primera .pf-login-intro img { margin-inline-start: 0; }
.pf-idioma-subtitulo { margin: 3px 0; color: var(--pf-violet-dark); }
.pf-idioma-opciones,
.pf-idioma-escrituras { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.pf-idioma-opcion {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-block-end: 1px solid var(--pf-line);
    cursor: pointer;
}
.pf-idioma-opcion:last-child { border-block-end: 0; }
.pf-idioma-opcion:has(input:checked) { border-radius: 10px; background: #f1e9f7; }
.pf-idioma-opcion:has(input:disabled) { color: var(--pf-muted); cursor: default; }
.pf-idioma-opcion strong,
.pf-idioma-opcion > span > span { display: block; }
.pf-idioma-opcion > span > span { color: var(--pf-muted); font-size: .87rem; }
.pf-idioma-primera .pf-login-form input[type="radio"] {
    width: 18px !important;
    min-height: 18px;
    accent-color: var(--pf-violet);
}
.pf-idioma-escrituras legend { padding: 0; margin-block-end: 8px; }
.pf-idioma-escritura-opciones { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-idioma-escritura-opciones label { position: relative; cursor: pointer; }
.pf-idioma-primera .pf-login-form .pf-idioma-escritura-opciones input[type="radio"] {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 10px;
    transform: translateY(-50%);
}
.pf-idioma-escritura-opciones label span {
    display: block;
    padding: 8px 10px 8px 35px;
    border: 1px solid var(--pf-line);
    border-radius: 8px;
}
.pf-idioma-escritura-opciones input:checked + span { border-color: var(--pf-violet); background: #f1e9f7; }
.pf-idioma-muestra { margin-block: 12px 0; color: var(--pf-muted); font-size: .9rem; }
.pf-idioma-muestra span { margin-inline-start: 8px; color: var(--pf-ink); }
.pf-idioma-primera .pf-idioma-acciones { display: grid; }
.pf-idioma-primera .pf-idioma-acciones [value="omitir"] { border-color: transparent; }
.pf-compra :is(#bnn_android,#bnn_iphone) img { max-height: 58px; object-fit: contain; }

/* El WebView de Android 6.0 ignora Grid, clamp(), las variables y :has(). */
@supports not (width: min(100%, 420px)) {
    .pf-compra #container.pf-login-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh !important;
        padding: 18px 12px;
        background: #f8f6fa;
        color: #262031;
        font: 16px/1.5 Roboto, Arial, sans-serif;
    }

    .pf-login { width: 100%; max-width: 420px; }
    .pf-login-intro img { width: 150px; }
    .pf-login-form {
        padding: 17px;
        background: #fff;
        border: 1px solid #e5dce9;
        border-radius: 16px;
        text-align: left;
    }

    .pf-login-form h1 {
        font: 700 25px/1.15 "PediFull Quicksand", Roboto, Arial, sans-serif;
    }
    .pf-login-help { color: #62586c; }
    .pf-login-form #div_login { display: block; text-align: left; }
    .pf-login-form #div_login > div { margin: 0 !important; }

    /* Las filas del logo anterior y de los campos ocultos quedan sin altura. */
    .pf-login-form #img_logo,
    .pf-login-form #div_login br { display: none; }

    .pf-login-form #div_login .field_label {
        color: #262031;
        font: 700 14px/1.35 Roboto, Arial, sans-serif;
    }
    .pf-login-form #div_login input:not([type=hidden]) {
        box-sizing: border-box;
        max-width: 100%;
        margin: 0 0 9px !important;
        font: 600 15px/1.25 Roboto, Arial, sans-serif !important;
    }
    .pf-login-form #div_login #alias_usr,
    .pf-login-form #div_login #password_usr {
        border: 1px solid #cbbdd3;
        border-radius: 8px;
        background: #fff;
        color: #262031;
        font: 400 16px/1.3 Roboto, Arial, sans-serif !important;
    }
    .pf-login-form #btn_aceptar { background: #652c90; }
    .pf-login-form #btn_registro,
    .pf-login-form #btn_forgot {
        background: transparent;
        color: #4d216e;
        border: 0;
        border-radius: 7px;
        text-decoration: underline;
    }

    .pf-login-form .pf-ayuda-contextual-boton {
        display: block;
        color: #652c90;
        text-align: center;
    }
    .pf-login-form .pf-ayuda-contextual-boton::-webkit-details-marker { display: none; }
    .pf-login-form .pf-ayuda-contextual-boton span {
        display: inline-block;
        margin-top: 10px;
        line-height: 21px;
    }
    .pf-login-form .pf-ayuda-contextual:not([open]) > .pf-ayuda-contextual-panel {
        display: none;
    }
    .pf-login-form .pf-ayuda-contextual > .pf-ayuda-contextual-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: 420px;
        max-height: 65vh;
        margin: 0 auto;
    }
    .pf-login-form .pf-ayuda-contextual-panel a,
    .pf-login-register a { color: #4d216e; }

    @media (max-height: 520px) {
        .pf-compra #container.pf-login-wrap { padding: 12px; }
        .pf-login-intro img { width: 128px; margin-bottom: 9px; }
        .pf-login-form { padding: 13px; }
        .pf-login-help { margin: 4px 0 8px; line-height: 1.3; }
        .pf-login-form #div_login input:not([type=hidden]) { margin-bottom: 5px !important; }
    }
}

.pf-menu-open, .pf-ficha-open, .pf-ficha-open body { overflow: hidden; }
.pf-menu-overlay { position: fixed; inset: 0; background: rgba(37, 22, 46, .56); z-index: 30; }
.pf-menu { position: fixed; inset: 0 auto 0 0; box-sizing: border-box; width: min(100%, 360px); overflow: auto; z-index: 31; background: #fff; padding: 12px; }
.pf-menu-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pf-menu button.accordion { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: inherit; color: var(--pf-violet-dark) !important; background: #f5eef9; border: 0; border-radius: 9px; width: 100%; min-height: 44px; padding: 8px 12px; margin: 4px 0; text-align: start; cursor: pointer; }
.pf-menu button.accordion::after { content: ""; flex: 0 0 12px; height: 12px; background: linear-gradient(currentColor,currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor,currentColor) center / 2px 12px no-repeat; }
.pf-menu button.accordion[aria-expanded=true]::after { background-size: 12px 2px, 0 0; }
.pf-menu .panel { display: block; padding: 0 6px; color: var(--pf-ink); background: #fff; }
.pf-menu .panel > table { table-layout: fixed; border-spacing: 0 2px; }
.pf-menu .link_panel { display: table-cell; height: 44px; padding: 8px 12px; border-radius: 8px; font: inherit; font-size: .95rem; color: var(--pf-ink); background-color: #fff; }
.pf-menu .link_panel:is(:hover, :focus-visible) { color: var(--pf-violet-dark); background-color: #f5eef9; }
.pf-menu .link_panel:focus-visible { outline-offset: -3px; }
.pf-menu .link_panel [style*="#FFFFFF"] { color: var(--pf-ink) !important; }
.pf-menu .link_panel table { width: 100%; table-layout: fixed; }
.pf-menu .link_panel td[valign="top"]:first-child { width: clamp(44px, 18vw, 68px) !important; }
.pf-menu .link_panel :is(img, input, button) { max-width: 100% !important; }
.pf-menu .link_panel .button { box-sizing: border-box; margin: 4px 0; padding: 6px 8px; min-height: 44px; font: inherit; }
.pf-compra #agregar_a_carro_modal { inset: 0; z-index: 40 !important; }
.pf-compra #box_carro {
    position: fixed; inset: calc(var(--pf-visible-top, 0px) + 20px) 0 auto; margin-inline: auto;
    width: min(calc(100% - 32px), 680px); max-height: calc(var(--pf-visible-height, 100vh) - 40px);
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border-radius: 16px; z-index: 41; box-shadow: 0 18px 52px #2e173e52;
}
.pf-dialog-status { padding: 14px 18px; margin: 0; color: var(--pf-muted); }
.pf-ficha-top, .pf-ficha-bottom { flex: 0 0 auto; padding: 6px 18px; background: #fff; }
.pf-ficha-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--pf-line); font-size: .88rem; font-weight: 700; }
.pf-ficha-top .pf-icon { font-size: 1.3rem; border-radius: 50%; }
.pf-ficha-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 15px 18px 9px; }
.pf-ficha { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.5fr); align-items: start; gap: 16px; }
.pf-ficha-fotos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; }
.pf-photo, .pf-photo-empty { background: #fff; padding: 3px; border: 1px solid var(--pf-line); border-radius: 9px; min-width: 0; }
.pf-photo { cursor: zoom-in; }
.pf-photo:first-child { grid-column: 1/-1; }
.pf-photo img { display: block; margin: auto; width: 100%; height: 52px; object-fit: contain; }
.pf-photo:first-child img { height: 148px; }
.pf-ficha-data { min-width: 0; }
.pf-ficha-heading { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 8px; }
.pf-ficha-heading h2 { flex: 1 1 9rem; min-width: 0; }
.pf-ficha-data h2 { margin: 2px 0 5px; font-size: clamp(1.16rem, 2.8vw, 1.43rem); line-height: 1.22; overflow-wrap: anywhere; }
.pf-ficha-data > .pf-commercial-tag { margin-bottom: 5px; }
.pf-ficha-data p { margin: 3px 0; }
.pf-ficha-price { font-size: 1.4rem; font-weight: 750; line-height: 1.2; color: var(--pf-violet-dark); font-variant-numeric: tabular-nums; }
.pf-ficha-price small { font-size: .76rem; font-weight: 600; color: var(--pf-muted); }
.pf-ficha-data .pf-muted, .pf-ficha-pack { font-size: .83rem; color: var(--pf-muted); }
.pf-ficha-data .pf-ficha-oferta { margin-top: 8px; padding: 6px 8px; background: #fff3dd; color: #633a16; border-radius: 7px; font-size: .84rem; }
.pf-ficha-oferta > :is(div,small) { display: block; color: inherit !important; font: inherit !important; }
.pf-ficha-details { margin-top: 12px; border-block: 1px solid var(--pf-line); }
.pf-ficha-opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.pf-ficha-opcion { min-width: 0; border-bottom: 1px solid var(--pf-line); font-size: .86rem; }
.pf-ficha-opcion:only-child, .pf-ficha-opcion[open] { grid-column: 1 / -1; }
.pf-ficha-opcion summary { padding-block: 10px; color: var(--pf-violet-dark); font-weight: 680; cursor: pointer; }
.pf-ficha-opcion p { margin: 4px 0 9px; color: var(--pf-muted); }
.pf-ficha-opciones + .pf-ficha-details { border-top: 0; margin-top: 0; }
.pf-comparacion dl { margin: 0 0 8px; display: grid; gap: 4px; }
.pf-comparacion dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 6px; align-items: center; padding: 6px 8px; border-radius: 7px; background: #f7f3fa; }
.pf-comparacion dd { margin: 0; display: grid; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pf-comparacion dd small { color: var(--pf-muted); }
.pf-margen-form { display: grid; gap: 5px; padding-bottom: 8px; }
.pf-margen-form label { font-weight: 650; }
.pf-margen-iva { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pf-margen-iva legend { color: var(--pf-muted); padding: 0; }
.pf-margen-iva label { display: inline-flex; align-items: center; min-height: 32px; gap: 4px; cursor: pointer; }
.pf-margen-iva input { margin: 0; accent-color: var(--pf-violet-dark); }
.pf-margen-entrada { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-margen-entrada input { box-sizing: border-box; flex: 1 1 125px; min-width: 0; max-width: 100%; border: 1px solid var(--pf-line); border-radius: 8px; padding: 7px 9px; font: inherit; font-size: 16px; }
.pf-margen-entrada button { flex: 0 1 auto; min-height: 38px; }
.pf-margen-entrada button:disabled { opacity: .58; cursor: default; }
.pf-margen-form output { color: var(--pf-violet-dark); font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pf-margen-form p { margin: 2px 0; }
.pf-ficha-details summary { padding: 11px 0; cursor: pointer; font-size: .92rem; font-weight: 680; color: var(--pf-violet-dark); }
.pf-ficha-facts { display: grid; grid-template-columns: minmax(0, max-content) minmax(0,1fr); gap: 5px 14px; margin: 0 0 11px; font-size: .86rem; }
.pf-ficha-facts dd { margin: 0; }
.pf-ficha-facts dt { font-weight: 650; }
.pf-ficha-links { display: flex; flex-wrap: wrap; gap: 0 13px; }
.pf-ficha-links :is(a,button) { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 2px 0; color: var(--pf-violet-dark); background: none; border: 0; font: 650 .86rem/1.25 system-ui, sans-serif; cursor: pointer; }
.pf-ficha-links img { width: 16px; height: 16px; }
.pf-ficha-bottom { display: flex; justify-content: end; align-items: center; gap: 12px; border-top: 1px solid var(--pf-line); padding-block: 10px; font-size: .9rem; }
.pf-ficha-edit {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    max-height: calc(var(--pf-visible-height, 100vh) - 108px); overflow-y: auto;
}
.pf-ficha-edit > .pf-quantity-controls { flex: 0 0 auto; max-width: 100%; }
.pf-ficha-edit > .pf-ficha-total {
    flex: 1 1 auto; min-width: min(100%, 10rem); max-width: 100%;
    text-align: end; overflow-wrap: normal;
}
.pf-ficha-edit > .pf-ficha-total strong { white-space: nowrap; }
.pf-ficha-edit > :is(.pf-quantity-shortcuts, .pf-bulto-descuento, .pf-ficha-actions) {
    flex-basis: 100%; min-width: 0;
}
.pf-ficha-edit > .pf-bulto-descuento { margin: 0; line-height: 1.4; overflow-wrap: break-word; }
.pf-ficha-edit > .pf-bulto-descuento:empty { display: none; }
.pf-ficha-edit > .pf-ficha-actions { flex-wrap: wrap; justify-content: flex-end; }
.pf-ficha-actions { display: flex; gap: 7px; }
.pf-ficha-total { display: grid; gap: 2px; line-height: 1.2; min-width: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pf-ficha-total strong { font-size: 1.08rem; color: var(--pf-violet-dark); }
.pf-ficha-total span, .pf-quantity-controls label { font-size: .8rem; color: var(--pf-muted); }
.pf-quantity-controls { display: grid; gap: 4px; justify-items: start; }
.pf-quantity-stepper { display: flex; width: 144px; border: 1px solid #d4c4df; border-radius: 9px; }
.pf-quantity-stepper :is(button,input) { min-width: 0; height: 42px; padding: 0; border: 0; background: #fff; color: var(--pf-ink); text-align: center; }
.pf-quantity-stepper button { flex: 0 0 42px; color: var(--pf-violet-dark); font-size: 1.12rem; cursor: pointer; background: #f5eef9; border-radius: 8px; }
.pf-quantity-stepper button:disabled { opacity: .45; cursor: default; }
.pf-quantity-stepper input { width: 100%; font-size: 16px; }
.pf-quantity-shortcuts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-quantity-shortcuts .pf-button { min-height: 44px; padding: 5px 9px; font-size: .85rem; }
.pf-compra #box_img { position: fixed; z-index: 52; inset: 4vh 0 auto; width: min(calc(100% - 24px), 850px); height: 92vh; margin-inline: auto; padding: 8px; background: #fff; border: 1px solid var(--pf-line); border-radius: 10px; cursor: pointer; }
.pf-compra #box_img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pf-compra .alertify .ajs-modal { padding: 0 10px; }
.pf-compra .alertify .ajs-dialog { margin: 3vh auto; max-width: 590px; min-width: 0; min-height: 0; width: 100%; border-radius: 14px; }
.pf-compra .alertify :is(.ajs-header,.ajs-body .ajs-content,.ajs-footer) { font-size: 1rem; line-height: 1.45; }
.pf-compra .alertify .ajs-body { min-height: 0; }
.pf-compra .alertify .ajs-footer .ajs-buttons.ajs-primary { display: flex; justify-content: end; gap: 6px; flex-wrap: wrap; }
.pf-compra .alertify .ajs-footer .ajs-buttons .ajs-button { min-width: 0; min-height: 44px; max-width: 100%; font: 650 .95rem/1.3 system-ui,sans-serif; margin: 0; white-space: normal; }

@media (max-width: 760px) {
    .pf-header-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; padding-block: 6px; }
    .pf-logo { text-decoration:none; flex-direction:column; align-items:flex-start; justify-content:center; gap:1px; min-height:44px; }
    .pf-logo img { width:108px; max-width:100%; }
    .pf-header-store { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; line-height:1.2; color:var(--pf-muted); }
    .pf-search { grid-area: 2 / 1 / 3 / -1; }
    .pf-header-actions { grid-area:1 / 2; gap:4px; }
    .pf-header-actions .pf-icon { box-sizing:border-box; flex:0 0 44px; height:44px; }
    .pf-header-actions .pf-cart-link { box-sizing:border-box; min-width:44px; height:44px; padding:6px 8px; gap:5px; }
    .pf-header .pf-cart-label { position:absolute; width:1px; height:1px; padding:0; clip:rect(0 0 0 0); overflow:hidden; white-space:nowrap; }
    .pf-nav-inner { flex-wrap:nowrap; justify-content:flex-start; gap:16px; overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:none; }
    .pf-nav-inner::-webkit-scrollbar { display:none; }
    .pf-nav nav { flex:0 0 auto; flex-wrap:nowrap; gap:16px; }
    .pf-nav nav a,.pf-nav .pf-store { box-sizing:border-box; display:inline-flex; align-items:center; flex:0 0 auto; min-height:44px; padding:8px 0; font-size:.8125rem; line-height:1.25; white-space:nowrap; overflow-wrap:normal; }
    .pf-nav .pf-store { display:block; line-height:28px; max-width:min(65vw,280px); overflow:hidden; text-overflow:ellipsis; }
    .pf-nav-edge { position:absolute; top:0; bottom:0; width:18px; pointer-events:none; }
    .pf-nav-edge-start { left:clamp(12px,3.3vw,44px); background:linear-gradient(to right,#fff,transparent); }
    .pf-nav-edge-end { right:clamp(12px,3.3vw,44px); background:linear-gradient(to left,#fff,transparent); }
    .pf-nav-has-previous .pf-nav-edge-start,.pf-nav-has-next .pf-nav-edge-end { display:block; }
    .pf-checkout-grid, .pf-search-results { grid-template-columns: minmax(0, 1fr); }
    .pf-product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 136px), 1fr)); gap: 8px; }
    .pf-provider-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
    .pf-page-title h1 { font-size: clamp(1.48rem, 4.5vw, 2rem); }
}
@media (max-width: 480px) {
    .pf-category-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 138px), 1fr)); gap: 8px; }
    .pf-product { --pf-product-gap: 5px; padding: 8px; }
    .pf-product-open { font-size: .92rem; line-height: 1.3; }
    .pf-product-price strong { font-size: 1.05rem; }
    .pf-offer-price-row > .pf-offer-saving {
        margin-inline: -5px; max-width: calc(100% + 10px); padding-inline: 3px;
        font-size: clamp(.7rem, 3.1vw, .78rem); font-variant-numeric: proportional-nums;
    }
    .pf-product .pf-button { font-size: .92rem; }
    .pf-product-details > small { font-size: .77rem; }
    .pf-orders li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .pf-cart-label { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; }
    .pf-compra #box_carro { top: auto; bottom: max(0px, calc(100% - var(--pf-visible-height, 100vh) - var(--pf-visible-top, 0px))); width: 100%; max-height: calc(var(--pf-visible-height, 100vh) - 10px); border-radius: 16px 16px 0 0; }
    .pf-ficha-top, .pf-ficha-scroll, .pf-ficha-bottom { padding-inline: 13px; }
    .pf-ficha { grid-template-columns: clamp(80px, 26vw, 105px) minmax(0, 1fr); gap: 11px; }
    .pf-photo img { height: 34px; }
    .pf-photo:first-child img { height: 89px; }
    .pf-ficha-bottom:not(.pf-ficha-edit) .pf-button { width: 100%; }
    .pf-ficha-edit { gap: 7px 12px; }
    .pf-ficha-actions > button { flex: 1 1 0; }
    .pf-ficha-total { text-align: end; }
    .pf-cart-items tr[id^=carro_item_] { --pf-cart-photo: 60px; grid-template-columns: var(--pf-cart-photo) minmax(0, 1fr); gap: 3px 9px; }
    .pf-cart-items .pf-cart-controls { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 10px; }
    .pf-cart-quantity { text-align: start; }
}
@media (max-width: 359px) {
    .pf-product-grid:has(.pf-offer-saving) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 360px) and (max-width: 540px) {
    .pf-compra .pf-search-results .pf-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (orientation: landscape) and (max-height: 420px) {
    .pf-compra #box_carro { top: calc(var(--pf-visible-top, 0px) + 8px); bottom: auto; max-height: calc(var(--pf-visible-height, 100vh) - 16px); }
    .pf-ficha-top, .pf-ficha-bottom { padding-block: 4px; }
    .pf-ficha-scroll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr) max-content; align-content: start; column-gap: 6px; padding-block: 4px; }
    .pf-ficha-opciones { display: contents; }
    .pf-ficha-opcion:only-child:not([open]) { grid-column: auto; }
    .pf-ficha-scroll > .pf-ficha, .pf-ficha-opcion[open], .pf-ficha-details[open] { grid-column: 1 / -1; }
    .pf-ficha-links:has(> :nth-child(2)) { grid-column: 1 / -1; }
    .pf-ficha { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
    .pf-ficha-fotos { grid-template-columns: 72px minmax(0, 1fr); }
    .pf-ficha-fotos .pf-photo:first-child { grid-column: 1; grid-row: 1 / span 2; }
    .pf-ficha-fotos .pf-photo:first-child img { height: 76px; }
    .pf-ficha-fotos .pf-photo:not(:first-child) img { height: 34px; }
    .pf-ficha-data > .pf-commercial-tag { margin-bottom: 0; padding: 3px 7px; }
    .pf-ficha-data h2 { margin: 2px 0 4px; font-size: clamp(1rem, 2.9vw, 1.18rem); line-height: 1.16; }
    .pf-ficha-data p { margin-block: 1px; line-height: 1.22; }
    .pf-ficha-data .pf-ficha-price { font-size: 1.25rem; }
    .pf-ficha-details { margin-top: 4px; }
    .pf-ficha-details summary, .pf-ficha-opcion summary { padding-block: 7px; font-size: .79rem; line-height: 1.3; }
    .pf-ficha-links :is(a,button) { min-height: 32px; gap: 4px; font-size: .79rem; }
    .pf-ficha-links img { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .pf-compra .blink { animation: none !important; }
}

.pf-cart-remove {
    max-width: 100%; min-height: 44px; padding: 3px 0; border: 0; background: transparent;
    color: var(--pf-violet-dark); font: 650 .85rem/1.25 system-ui, sans-serif; text-decoration: underline;
    text-underline-offset: 3px; text-align: start; overflow-wrap: normal; cursor: pointer;
}
.pf-bulto-descuento {
    color: #4e2776;
    font-weight: 650;
}

.pf-bulto-descuento:empty {
    margin: 0;
}
