/* Native single product presentation. All rules stay inside the PDP. */
.stepup-pdp { --pdp-paper:#faf9f6; --pdp-ink:#191919; --pdp-muted:#686863; --pdp-line:#d8d5ce; --pdp-red:#e31837; max-width:1440px; margin-inline:auto; padding:32px clamp(16px,4.4vw,64px) 64px; color:var(--pdp-ink); background:var(--pdp-paper); font-family:Arial,Helvetica,sans-serif; }
.stepup-pdp *, .stepup-pdp *::before, .stepup-pdp *::after { box-sizing:border-box; }
.stepup-pdp > .product { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); column-gap:clamp(28px,4.4vw,64px); align-items:start; position:relative; }
.stepup-pdp > .product::before, .stepup-pdp > .product::after { display:none !important; }
.woocommerce .stepup-pdp div.product div.images, .woocommerce .stepup-pdp div.product div.summary { float:none; width:100%; min-width:0; margin:0 0 48px; }
.stepup-pdp > .product > :not(.images):not(.summary):not(.onsale) { grid-column:1 / -1; min-width:0; }
.stepup-pdp .woocommerce-breadcrumb { margin:0 0 26px; font-size:11px; line-height:1.6; color:var(--pdp-muted); }
.stepup-pdp .woocommerce-breadcrumb a { color:inherit; text-decoration:none; }
.stepup-pdp .stepup-pdp-brand { display:flex; align-items:center; gap:12px; font-size:10px; letter-spacing:2px; text-transform:uppercase; font-weight:700; color:var(--pdp-muted); margin-block:0 20px; }
.stepup-pdp .stepup-pdp-brand::before { content:''; width:22px; height:2px; background:var(--pdp-red); }
.woocommerce .stepup-pdp div.product .product_title { font-size:clamp(30px,3.45vw,50px); line-height:1.04; letter-spacing:-1.7px; margin:0 0 24px; overflow-wrap:anywhere; }
.woocommerce .stepup-pdp div.product .summary p.price, .woocommerce .stepup-pdp div.product .summary span.price { color:var(--pdp-ink); font-size:23px; font-weight:700; line-height:1.5; }
.stepup-pdp .summary > .price { margin:0 0 8px; }
.stepup-pdp .price del { font-size:.72em; font-weight:400; margin-inline-end:8px; }
.stepup-pdp .price ins { text-decoration:none; }
.stepup-pdp .stepup-pdp-saving { display:inline-block; background:#f7e6e9; color:#b2112a; font-size:11px; padding:6px 8px; margin:0 0 12px; }
.stepup-pdp .woocommerce-product-rating { font-size:13px; }
.stepup-pdp .woocommerce-review-link { color:var(--pdp-muted); }
.stepup-pdp .woocommerce-product-details__short-description { margin:24px 0; font-size:14px; line-height:1.7; color:var(--pdp-muted); overflow-wrap:anywhere; }
.stepup-pdp .woocommerce-product-details__short-description p { margin:0 0 12px; }
.woocommerce .stepup-pdp > div.product > span.onsale { position:absolute; inset:18px auto auto 18px; z-index:2; border-radius:0; min-height:0; min-width:0; padding:6px 10px; background:#fff; color:#b2112a; font-size:11px; line-height:1.4; }
.woocommerce .stepup-pdp div.product div.images .woocommerce-product-gallery__image { background:#efeee9; }
.woocommerce .stepup-pdp div.product div.images .woocommerce-product-gallery__image > a { display:block; aspect-ratio:1; }
.woocommerce .stepup-pdp div.product div.images .woocommerce-product-gallery__image img { width:100%; height:100%; aspect-ratio:1; object-fit:contain; }
.stepup-pdp .woocommerce-product-gallery__wrapper { margin:0; display:flow-root; }
.stepup-pdp .stepup-gallery-hint { display:block; margin-top:10px; color:var(--pdp-muted); font-size:11px; text-align:end; }
.woocommerce .stepup-pdp div.product div.images .flex-control-thumbs { display:flex; flex-wrap:nowrap; gap:10px; margin:12px 0 0; overflow-x:auto; padding:3px; scrollbar-width:thin; }
.woocommerce .stepup-pdp div.product div.images .flex-control-thumbs li { flex:0 0 80px; float:none; width:80px; }
.woocommerce .stepup-pdp div.product div.images .flex-control-thumbs li img { opacity:.7; aspect-ratio:1; object-fit:contain; border:1px solid transparent; padding:3px; background:#efeee9; }
.woocommerce .stepup-pdp div.product div.images .flex-control-thumbs li img.flex-active { opacity:1; border-color:var(--pdp-ink); }
.woocommerce .stepup-pdp div.product div.images .woocommerce-product-gallery__trigger { top:14px; right:14px; width:44px; height:44px; background:#fff; }
.woocommerce .stepup-pdp div.product div.images .woocommerce-product-gallery__trigger::before { top:13px; left:13px; }
.woocommerce .stepup-pdp div.product div.images .woocommerce-product-gallery__trigger::after { top:25px; left:25px; }
/* CSS also makes the native gallery readable if scripts are unavailable. */
.stepup-pdp .woocommerce-product-gallery { opacity:1 !important; }
.stepup-pdp .summary form.cart { margin:28px 0 24px; }
.stepup-pdp .summary form.cart:not(.variations_form):not(.grouped_form), .stepup-pdp .woocommerce-variation-add-to-cart { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.stepup-pdp .summary form.cart > :not(.quantity):not(.single_add_to_cart_button):not(.stepup-buy-now), .stepup-pdp .woocommerce-variation-add-to-cart > :not(.quantity):not(.single_add_to_cart_button):not(.stepup-buy-now) { flex-basis:100%; }
.woocommerce .stepup-pdp div.product form.cart .variations { margin:0 0 18px; border:0; table-layout:fixed; }
.stepup-pdp .variations tr, .stepup-pdp .variations th, .stepup-pdp .variations td { display:block; width:100%; padding:0; border:0; }
.stepup-pdp .variations label { display:block; margin-bottom:12px; font-size:12px; text-align:start; }
.woocommerce .stepup-pdp div.product form.cart .variations select { width:100%; min-width:0; min-height:46px; padding:10px; border:1px solid var(--pdp-line); background:#fff; color:var(--pdp-ink); margin:0 0 12px; font:inherit; }
.stepup-pdp select.stepup-variation-adapted { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip-path:inset(50%) !important; white-space:nowrap !important; border:0 !important; }
.stepup-pdp .stepup-variation-options { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.stepup-pdp .stepup-variation-option { position:relative; flex:0 0 auto; min-width:58px; min-height:46px; padding:10px 14px; border:1px solid var(--pdp-line); background:transparent; color:var(--pdp-ink); font:inherit; font-size:13px; cursor:pointer; }
.stepup-pdp .stepup-variation-option[aria-pressed="true"] { border-color:var(--pdp-ink); box-shadow:inset 0 0 0 1px var(--pdp-ink); }
.stepup-pdp .stepup-size-option[aria-pressed="true"] { background:var(--pdp-ink); color:#fff; }
.stepup-pdp .stepup-color-option.has-color { min-width:46px; width:46px; padding:5px; }
.stepup-pdp .stepup-color-chip { display:block; width:32px; height:32px; background:var(--stepup-swatch-color); border:1px solid #19191933; }
.stepup-pdp .stepup-variation-option.is-unavailable { color:#76736c; opacity:.62; cursor:not-allowed; }
.stepup-pdp .stepup-variation-option.is-unavailable::after { content:''; position:absolute; inset:50% -2px auto; height:1px; background:#8f1d2c; transform:rotate(-35deg); transform-origin:center; pointer-events:none; }
.stepup-pdp .stepup-selected-option { margin-inline-start:8px; color:var(--pdp-muted); font-weight:400; }
.stepup-pdp .stepup-variation-error { margin:0 0 18px; padding:12px 14px; border-inline-start:3px solid #b2112a; background:#f4e8e9; color:#861326; font-size:13px; }
.stepup-pdp .stepup-variation-error[hidden] { display:none; }
.stepup-pdp .reset_variations { display:inline-block; padding:6px 0; font-size:12px; color:var(--pdp-muted); }
.stepup-pdp .single_variation { margin-bottom:18px; }
.woocommerce .stepup-pdp div.product .summary .stock { font-size:12px; color:#486039; }
.woocommerce .stepup-pdp div.product .summary .out-of-stock { color:#a61128; }
.woocommerce .stepup-pdp div.product form.cart div.quantity { float:none; margin:0; }
.stepup-pdp .quantity .qty { width:70px; min-height:50px; padding:10px 6px; border:1px solid var(--pdp-line); background:transparent; color:var(--pdp-ink); font:inherit; border-radius:0; }
.woocommerce .stepup-pdp div.product form.cart .single_add_to_cart_button, .woocommerce .stepup-pdp div.product form.cart .stepup-buy-now, .stepup-pdp [data-stepup-sticky-action] { flex:1 1 180px; min-height:50px; padding:14px 20px; border:1px solid var(--pdp-red); border-radius:0; background:var(--pdp-red); color:#fff; font:700 14px/1.4 Arial,Helvetica,sans-serif; cursor:pointer; text-align:center; }
.woocommerce .stepup-pdp div.product form.cart .stepup-buy-now, .stepup-pdp .stepup-sticky-buy-now { border-color:var(--pdp-ink); background:var(--pdp-ink); }
.stepup-pdp :is(.single_add_to_cart_button,.stepup-buy-now,[data-stepup-sticky-action])[aria-busy="true"] { cursor:progress; pointer-events:none; opacity:.72; }
.stepup-pdp [data-stepup-sticky-action]:disabled { opacity:.6; cursor:not-allowed; }
.stepup-pdp .stepup-pdp-wishlist { display:inline-flex; gap:10px; align-items:center; min-height:44px; color:var(--pdp-ink); font-size:12px; text-decoration:none; }
.stepup-pdp .stepup-pdp-wishlist svg { width:20px; height:20px; }
.stepup-pdp .stepup-pdp-payment { border-top:1px solid var(--pdp-line); margin-top:24px; padding-top:20px; font-size:12px; line-height:1.7; color:var(--pdp-muted); }
.stepup-pdp .stepup-pdp-policy-links:has(a) { margin-top:24px; border-top:1px solid var(--pdp-line); padding-top:14px; }
.stepup-pdp .stepup-pdp-policy-links a { display:flex; align-items:center; justify-content:space-between; min-height:44px; color:var(--pdp-ink); font-size:12px; text-decoration:none; }
.stepup-pdp .stepup-pdp-policy-links svg { width:18px; height:18px; }
.stepup-pdp .stepup-size-guide-link { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:10px 18px; margin-block:4px 16px; border:1px solid var(--pdp-ink); border-radius:8px; background:#fff; color:var(--pdp-ink); font-size:14px; font-weight:700; text-decoration:none; }
.stepup-pdp .stepup-size-guide-link:hover { background:var(--pdp-ink); color:#fff; }
.stepup-pdp .stepup-size-guide-link:focus-visible { outline:3px solid #dc1a2e; outline-offset:3px; }
.stepup-pdp :is(.stepup-product-payment-methods,.stepup-product-installments) { margin-block:20px; padding-block-start:16px; border-top:1px solid var(--pdp-line); }
.stepup-pdp :is(.stepup-product-payment-methods,.stepup-product-installments) h3 { margin:0 0 12px; font-size:13px; }
.stepup-product-payment-logos { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-block-end:10px; }
.stepup-product-payment-logos > span { display:flex; align-items:center; justify-content:center; width:64px; height:36px; padding:5px; border:1px solid var(--pdp-line); background:#fff; }
.stepup-product-payment-logos img { display:block; width:100%; height:100%; object-fit:contain; }
.stepup-pdp :is(.stepup-product-payment-methods,.stepup-product-installments) small { display:block; font-size:11px; line-height:1.6; color:var(--pdp-muted); }
.stepup-installment-plans { display:grid; gap:20px; margin-bottom:20px; }
.stepup-installment-provider { min-width:0; padding:clamp(12px,3vw,24px); border:1px solid var(--pdp-line); border-radius:12px; background:#fff; }
.stepup-installment-provider > header { display:flex; align-items:center; gap:16px; margin-bottom:20px; }
.stepup-installment-provider > header img { flex:0 0 64px; width:64px; height:40px; object-fit:contain; }
.stepup-installment-provider h4 { margin:0; font-size:16px; }
.stepup-installment-plan { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr)); gap:1px; min-width:0; margin:0 0 8px; background:var(--pdp-line); font-size:12px; }
.stepup-installment-plan > div { display:flex; flex-direction:column; min-width:0; background:#fafaf9; }
.stepup-installment-plan dt { flex:1; margin:0; padding:12px; background:#f0efec; font-weight:700; }
.stepup-installment-plan dd { margin:0; padding:12px; min-height:3em; }
.stepup-installment-plan strong { font-size:14px; overflow-wrap:anywhere; }
.stepup-installment-explanation { margin:0 0 20px; color:var(--pdp-muted); font-size:12px; }
.stepup-installment-selection { font-size:12px; }
.stepup-pdp .stepup-installment-link { display:flex; align-items:center; gap:14px; box-sizing:border-box; width:fit-content; max-width:100%; min-height:64px; margin-block:16px 24px; padding:14px 22px; border:1px solid #e9bbc4; border-radius:999px; background:#f7e6e9; color:#9e132a; font-size:13px; font-weight:700; line-height:1.5; text-decoration:none; }
.stepup-installment-link:hover { background:#f0d4da; border-color:#c96377; }
.stepup-installment-link-copy { flex:1; min-width:0; overflow-wrap:anywhere; }
.stepup-installment-link small { display:block; margin-top:2px; color:inherit; font-size:14px; font-weight:700; }
.stepup-installment-link .stepup-icon { flex:0 0 24px; width:24px; height:24px; }
.stepup-installment-link-arrow { display:flex; margin-inline-start:auto; }
.stepup-pdp .stepup-product-info-dialog { box-sizing:border-box; width:min(52rem,calc(100% - 32px)); max-width:none; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); padding:0; border:1px solid var(--pdp-line); background:var(--pdp-paper); color:var(--pdp-ink); overflow:auto; overscroll-behavior:contain; }
.stepup-product-info-dialog::backdrop { background:#19191999; }
.stepup-product-info-dialog > header { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px clamp(16px,4vw,28px); border-bottom:1px solid var(--pdp-line); background:var(--pdp-paper); }
.stepup-product-info-dialog h2 { margin:0; font-size:22px; }
.stepup-product-info-dialog > header button { flex:0 0 44px; width:44px; height:44px; border:1px solid var(--pdp-line); background:transparent; color:inherit; font:28px/1 Arial,sans-serif; cursor:pointer; }
.stepup-product-info-body { padding:clamp(16px,4vw,28px); font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.stepup-product-info-body h3 { margin:0 0 16px; font-size:15px; }
.stepup-product-info-body > small { display:block; color:var(--pdp-muted); font-size:12px; }
.stepup-installment-periods { margin:0 0 24px; padding:0; border:0; }
.stepup-installment-periods legend { margin-bottom:12px; font-weight:700; }
.stepup-installment-periods label { position:relative; display:inline-flex; margin-inline-end:8px; margin-block-end:8px; cursor:pointer; }
.stepup-installment-periods input { position:absolute; opacity:0; width:1px; height:1px; }
.stepup-installment-periods span { display:block; padding:12px 18px; border:1px solid var(--pdp-line); min-height:44px; box-sizing:border-box; }
.stepup-installment-periods input:checked + span { background:var(--pdp-red); border-color:var(--pdp-red); color:#fff; }
.stepup-installment-periods input:focus-visible + span { outline:2px solid var(--pdp-ink); outline-offset:3px; }
.stepup-product-info-dialog .stepup-installment-plan strong { font-size:14px; }
.stepup-pdp .stepup-installment-plan[hidden], .stepup-pdp .stepup-installment-periods[hidden], .stepup-pdp .stepup-product-panel[hidden], .stepup-pdp .stepup-product-installments[hidden] { display:none; }
html.stepup-product-info-open { overflow:hidden; }
.rtl .stepup-installment-link-arrow { transform:scaleX(-1); }
.stepup-size-guide-tables { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:24px; margin-block:20px; }
.stepup-pdp .stepup-size-guide-table { width:100%; border-collapse:collapse; font-size:12px; font-variant-numeric:tabular-nums; }
.stepup-size-guide-table caption { text-align:start; font-weight:700; padding-block:0 12px; }
.stepup-size-guide-table :is(th,td) { text-align:center; padding:8px 4px; border-bottom:1px solid var(--pdp-line); }
.stepup-size-guide-table tbody tr:nth-child(odd) { background:#f0efec; }
.stepup-pdp .product_meta { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:24px; font-size:11px; color:var(--pdp-muted); }
.stepup-pdp .product_meta a { color:inherit; }
.stepup-pdp .stepup-product-details { margin:20px 0 64px; border-top:1px solid var(--pdp-line); padding-top:36px; }
.stepup-pdp .stepup-product-details > h2, .stepup-pdp .stepup-pdp-recommendations h2 { font-size:30px; letter-spacing:-1px; font-weight:700; margin:0 0 28px; }
.stepup-pdp .stepup-product-panels { display:grid; grid-template-columns:1fr 1fr; gap:0 48px; align-items:start; }
.stepup-pdp .stepup-product-panel { min-width:0; border-block-end:1px solid var(--pdp-line); }
.stepup-pdp .stepup-product-panel summary { display:flex; justify-content:space-between; gap:16px; cursor:pointer; list-style:none; font-size:14px; font-weight:700; padding:22px 0; min-height:56px; }
.stepup-pdp .stepup-product-panel summary::-webkit-details-marker { display:none; }
.stepup-pdp .stepup-product-panel summary::after { content:'+'; font-size:20px; line-height:16px; font-weight:400; }
.stepup-pdp .stepup-product-panel[open] summary::after { content:'−'; }
.stepup-pdp .stepup-product-panel > div { padding-bottom:24px; font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
.stepup-pdp .stepup-product-panel p { margin:0 0 16px; }
.stepup-pdp .stepup-product-panel table { max-width:100%; table-layout:fixed; }
.stepup-pdp .stepup-product-panel input:not([type=checkbox]):not([type=radio]), .stepup-pdp .stepup-product-panel textarea { max-width:100%; padding:10px; border:1px solid var(--pdp-line); }
.stepup-pdp .stepup-product-panel #reviews #comments ol.commentlist { padding:0; }
.stepup-pdp .stepup-pdp-recommendations { padding:0; margin:0 0 64px; max-width:none; }
.stepup-pdp .stepup-pdp-recommendations .related { margin:0; }
.stepup-pdp :is(a,button,input,select,summary,[role=button]):focus-visible { outline:2px solid #b2112a; outline-offset:3px; }
.stepup-pdp [id^=tab-], .stepup-pdp .summary form.cart { scroll-margin-top:110px; }
.stepup-pdp .stepup-sticky-purchase[hidden] { display:none !important; }
/* Prevent WooCommerce's PDP/RTL sale offsets from stretching recommendation badges. */
.woocommerce .stepup-pdp div.product .stepup-shop ul.products li.product .onsale { inset:auto; inset-block-start:14px; inset-inline-start:14px; width:max-content; min-width:0; min-height:0; }
.rtl .stepup-pdp-policy-links .stepup-icon, .rtl .stepup-card-details .stepup-icon { transform:scaleX(-1); }
.stepup-pdp .stepup-sticky-purchase { display:none; }
@media (max-width:767px) {
    .stepup-pdp { padding:20px 16px 40px; }
    .stepup-pdp > .product { display:block; }
    .woocommerce .stepup-pdp div.product div.images { margin-bottom:28px; }
    .woocommerce .stepup-pdp div.product div.summary { margin-bottom:40px; }
    .woocommerce .stepup-pdp div.product .product_title { font-size:36px; letter-spacing:-1.2px; }
    .stepup-pdp .woocommerce-breadcrumb { margin-bottom:20px; }
    .woocommerce .stepup-pdp div.product div.images .flex-control-thumbs li { flex-basis:64px; width:64px; }
    .stepup-pdp .stepup-product-panels { display:block; }
    .stepup-pdp .stepup-product-details { padding-top:24px; margin-bottom:40px; }
    .stepup-pdp .stepup-pdp-recommendations { margin-bottom:40px; }
    .stepup-pdp .stepup-sticky-purchase { position:fixed; inset:auto 0 0; display:none; align-items:center; gap:12px; background:var(--pdp-paper); padding:12px max(16px,var(--stepup-sticky-inline-end-space,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px)); border-top:1px solid var(--pdp-line); z-index:40; box-shadow:0 -4px 16px #1919190f; opacity:0; visibility:hidden; transform:translate3d(0,calc(100% + 8px),0); transition:opacity 180ms ease-out,transform 220ms cubic-bezier(.22,1,.36,1),visibility 0s linear 220ms; }
    .stepup-pdp .stepup-sticky-purchase { padding-inline-end:max(16px,env(safe-area-inset-right,0px),var(--stepup-sticky-inline-end-space,0px)); }
    .rtl .stepup-pdp .stepup-sticky-purchase { padding-inline:max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-left,0px),var(--stepup-sticky-inline-end-space,0px)); }
    .stepup-pdp .stepup-sticky-purchase.is-mounted { display:flex; }
    .stepup-pdp .stepup-sticky-purchase.is-visible { opacity:1; visibility:visible; transform:translate3d(0,0,0); transition-delay:0s; }
    .stepup-pdp .stepup-sticky-summary { flex:1; min-width:0; font-size:14px; font-weight:700; }
    .stepup-pdp .stepup-sticky-summary .price { color:var(--pdp-ink); font-size:14px; }
    .stepup-pdp .stepup-sticky-summary small { display:block; font-size:10px; font-weight:400; margin-top:4px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
    .stepup-pdp .stepup-sticky-actions { display:flex; flex:1 1 58%; gap:8px; min-width:0; }
    .stepup-pdp [data-stepup-sticky-action] { flex:1 1 0; min-width:0; padding:10px 8px; font-size:11px; }
    .stepup-pdp.stepup-has-sticky { padding-bottom:calc(112px + env(safe-area-inset-bottom,0px)); }
}
@media (prefers-reduced-motion:reduce) {
    .stepup-pdp *, .stepup-pdp *::before, .stepup-pdp *::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
}
