
.woocommerce .woocommerce-breadcrumb{margin-bottom:20px;color:var(--po-text-soft)}
.woocommerce div.product,.woocommerce-page div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:40px;align-items:start}
.woocommerce div.product div.images{position:sticky;top:96px;background:#fff;border:1px solid var(--po-border);border-radius:28px;padding:18px;box-shadow:0 10px 24px rgba(10,30,70,.05)}
.woocommerce div.product div.summary{background:rgba(255,255,255,.72);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.58);box-shadow:var(--po-shadow);border-radius:28px;padding:30px}
.woocommerce div.product .product_title{font-size:clamp(2rem,3vw,2.9rem);margin-bottom:12px}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:1.5rem;color:var(--po-primary);font-weight:800}
.woocommerce-product-details__short-description{margin:14px 0 22px}
.woocommerce .quantity .qty{min-height:46px;border-radius:16px;border:1px solid var(--po-border);padding:0 14px}
.woocommerce .button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--po-primary)!important;border-radius:999px!important;padding:14px 22px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;border:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--po-border)!important;border-radius:999px!important;background:#fff!important;padding:8px 12px!important}
.woocommerce div.product .woocommerce-tabs .panel{background:#fff;border:1px solid var(--po-border);border-radius:24px;padding:24px}
.woocommerce table.shop_table{border:1px solid var(--po-border)!important;border-radius:24px;overflow:hidden;background:#fff}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:18px!important}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout .woocommerce-checkout-review-order{background:#fff;border:1px solid var(--po-border);border-radius:24px;padding:24px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{border:1px solid var(--po-border);border-radius:16px;padding:14px 16px}
.po-woo-section .woocommerce-notices-wrapper .woocommerce-message,.po-woo-section .woocommerce-info,.po-woo-section .woocommerce-error{border-radius:18px;border:1px solid var(--po-border);background:#fff}
@media (max-width: 980px){
  .woocommerce div.product,.woocommerce-page div.product{grid-template-columns:1fr}
  .woocommerce div.product div.images{position:static}
}

.po-private-catalog-hero{padding-bottom:18px}
.po-woo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}
.po-shop-card__inner{height:100%;background:#fff;border:1px solid var(--po-border);border-radius:24px;overflow:hidden;box-shadow:0 8px 22px rgba(10,30,70,.05);transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease}
.po-shop-card__inner:hover{transform:translateY(-4px);box-shadow:var(--po-shadow-hover);border-color:var(--po-border-strong)}
.po-shop-card__media{display:block;aspect-ratio:1/1;padding:18px;background:linear-gradient(180deg,#fff,#f4f7fb)}
.po-shop-card__media img{width:100%;height:100%;object-fit:contain}
.po-shop-card__body{padding:20px}
.po-shop-card__eyebrow{display:block;color:var(--po-primary);font-weight:700;font-size:.88rem;margin-bottom:10px}
.po-shop-card__title{font-size:1.12rem;line-height:1.25;margin:0 0 10px}
.po-shop-card__price{font-size:1.2rem;color:var(--po-primary);font-weight:800;margin-bottom:12px}
.po-color-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.po-color-chip{display:inline-flex;padding:7px 12px;border-radius:999px;border:1px solid var(--po-border);background:#fff;color:var(--po-text-soft);font-size:.82rem;font-weight:700}
.po-shop-card__actions{display:flex;gap:10px}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{margin-bottom:12px!important}
.woocommerce-cart .coupon{display:flex;gap:10px;flex-wrap:wrap}
.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals{width:100%}
@media (max-width:1100px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.woocommerce ul.products{grid-template-columns:1fr;}}

.po-color-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--po-dot,#dfe6ef);border:1px solid rgba(20,86,184,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.po-color-chip{display:inline-flex;align-items:center;gap:8px}
.woocommerce div.product div.summary .po-product-trust{margin-top:18px;padding:18px 20px}
.woocommerce div.product div.summary .po-product-trust ul{display:grid;gap:10px}
.woocommerce div.product div.summary .po-product-trust li{position:relative;padding-left:18px;color:var(--po-text-soft)}
.woocommerce div.product div.summary .po-product-trust li::before{content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--po-primary)}

.po-private-filters{padding:22px;margin-bottom:24px}
.po-private-filters__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:end}
.po-private-filters label{display:block;font-weight:700;margin-bottom:8px;color:var(--po-text)}
.po-private-filters select,.po-private-filters input{width:100%;min-height:48px;border-radius:16px;border:1px solid var(--po-border);padding:0 14px;background:#fff;font:inherit;color:var(--po-text)}
.po-private-filters__actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:1100px){.po-private-filters__grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:700px){.po-private-filters__grid{grid-template-columns:1fr;}}

/* v0.6 product/cart refinements */
.woocommerce div.product,.woocommerce-page div.product{grid-template-columns:1fr 1fr!important;gap:48px!important;align-items:start}
.woocommerce div.product div.images{position:static!important;top:auto!important;min-width:0;width:100%;padding:22px 22px 12px}
.woocommerce div.product div.summary{width:100%;min-width:0;padding:32px}
.woocommerce div.product .woocommerce-product-gallery{display:block}
.woocommerce div.product .woocommerce-product-gallery__image{border-radius:22px;overflow:hidden}
.woocommerce div.product .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#fff}
.woocommerce div.product .flex-control-thumbs{display:flex;gap:10px;margin-top:14px!important}
.woocommerce div.product .flex-control-thumbs li{width:80px!important;border:1px solid var(--po-border);border-radius:16px;overflow:hidden;background:#fff}
.woocommerce div.product .summary form.cart{margin-top:22px}
.woocommerce div.product .summary .po-simple-cart{justify-content:flex-start}
.woocommerce div.product .summary .po-stepper--simple{height:54px}
.woocommerce .quantity .qty,.po-stepper--simple .qty{font-size:1rem;font-weight:700}
.woocommerce a.button.checkout-button,.woocommerce .checkout-button.button.alt{background:var(--po-primary)!important;color:#fff!important;border-radius:999px!important;box-shadow:var(--po-shadow)!important}
.woocommerce .woocommerce-message{border:1px solid var(--po-border-strong)!important;border-radius:20px!important;background:#fff!important;padding:18px 20px!important;box-shadow:var(--po-shadow)!important}
.woocommerce .woocommerce-message .button{background:rgba(20,86,184,.08)!important;color:var(--po-primary)!important;border-radius:14px!important}
@media (max-width:980px){
 .woocommerce div.product,.woocommerce-page div.product{grid-template-columns:1fr!important;gap:24px!important}
}

.woocommerce .woocommerce-message::before,.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-error::before{display:none!important}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{padding-left:20px!important}

.po-loop-add-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.po-shop-card__actions.is-private{display:grid;gap:10px}
.po-shop-card__actions.is-public{display:flex;gap:10px;flex-wrap:wrap}


.po-shop-card__inner{border-color:rgba(20,86,184,.10)}
.po-shop-card__inner:hover{border-color:var(--po-primary)}
.po-shop-card__media{position:relative;display:block;aspect-ratio:1/1;padding:14px;background:linear-gradient(180deg,#fff,#f4f7fb);overflow:hidden}
.po-shop-card__img{width:100%;height:100%;object-fit:contain;display:block;transition:opacity .28s ease, transform .28s ease}
.po-shop-card__img--secondary{position:absolute;inset:14px;opacity:0;pointer-events:none}
.po-shop-card__media.has-secondary:hover .po-shop-card__img--primary{opacity:0}
.po-shop-card__media.has-secondary:hover .po-shop-card__img--secondary{opacity:1}
.po-shop-card__body{padding:16px}
.po-shop-card__actions{gap:8px}
.po-shop-card__actions.is-private{grid-template-columns:1fr}
.po-loop-add-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.po-loop-add-form .po-stepper{min-width:0}
.po-loop-add-form .po-btn{min-width:0;padding:0 16px}
@media (max-width:640px){.po-loop-add-form{grid-template-columns:1fr}.po-shop-card__body{padding:14px}}
.po-product-filter-meta{margin-top:8px;padding-bottom:8px;color:var(--po-text-soft)}
.po-product-filter-meta a{color:var(--po-primary);font-weight:700}


.po-woo-toolbar--catalog{margin:10px 0 18px}
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering{float:none;margin:0 0 0 auto}
.woocommerce .woocommerce-ordering select{min-height:44px;border:1px solid var(--po-border);border-radius:14px;padding:0 14px;background:#fff}
@media (max-width:700px){.po-woo-toolbar--catalog{display:grid;gap:12px}.woocommerce .woocommerce-ordering,.woocommerce-page .woocommerce-ordering{margin:0;width:100%}.woocommerce .woocommerce-ordering select{width:100%}}


.woocommerce-cart table.cart td.actions{display:none}
.woocommerce-cart .cart-collaterals{margin-top:24px}
.woocommerce-cart .cart_item .product-quantity .quantity{display:inline-flex}


.woocommerce-cart table.shop_table td.product-quantity .quantity{display:inline-flex;align-items:center;justify-content:center}
.woocommerce-cart table.shop_table td.product-quantity .qty{width:86px;min-height:44px;border:1px solid var(--po-border-strong);border-radius:14px;text-align:center;font-weight:700;background:#fff;color:var(--po-text)}
.woocommerce-cart table.shop_table td.product-price,.woocommerce-cart table.shop_table td.product-subtotal{font-weight:700;color:var(--po-text)}
.woocommerce-cart table.shop_table td.product-remove a{color:#b42318!important;font-size:1.5rem;font-weight:800}
.woocommerce-cart table.shop_table td.product-thumbnail img{width:72px;height:72px;object-fit:contain;border-radius:12px;background:#fff}
.woocommerce-cart .cart_totals .po-quote-cart-box{margin-top:18px}


.po-product-card__media,.po-shop-card__media{background:#fff}
.po-product-card__img,.po-shop-card__img{object-fit:contain;background:#fff}
.woocommerce-cart table.shop_table td.product-thumbnail img{object-fit:contain!important;background:#fff;padding:4px}


@media (max-width:768px){
  .woocommerce-cart table.shop_table thead{display:none}
  .woocommerce-cart table.shop_table tbody tr{display:grid;grid-template-columns:40px 72px 1fr;gap:10px;padding:12px;border-bottom:1px solid var(--po-border)}
  .woocommerce-cart table.shop_table td{display:block!important;border:0!important;padding:6px 0!important}
  .woocommerce-cart table.shop_table td.product-remove{grid-column:1;grid-row:1}
  .woocommerce-cart table.shop_table td.product-thumbnail{grid-column:2;grid-row:1 / span 4}
  .woocommerce-cart table.shop_table td.product-name{grid-column:3;grid-row:1}
  .woocommerce-cart table.shop_table td.product-price{grid-column:3;grid-row:2}
  .woocommerce-cart table.shop_table td.product-quantity{grid-column:3;grid-row:3}
  .woocommerce-cart table.shop_table td.product-subtotal{grid-column:3;grid-row:4}
  .woocommerce-cart table.shop_table td.product-thumbnail img{display:block!important;width:72px!important;height:72px!important}
}


.woocommerce-cart table.shop_table td.actions{display:flex!important;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding-top:16px!important}
.woocommerce-cart table.shop_table td.actions .coupon{display:flex;flex-wrap:wrap;gap:10px;flex:1 1 100%;align-items:center}
.woocommerce-cart table.shop_table td.actions .coupon input.input-text{flex:1 1 220px;min-height:46px;border:1px solid var(--po-border);border-radius:14px;padding:0 14px}
.woocommerce-cart table.shop_table td.actions button.button,.woocommerce-cart table.shop_table td.actions .button{min-height:46px;border-radius:999px!important;padding:0 18px!important;white-space:nowrap}
@media (max-width:768px){
  .woocommerce-cart table.shop_table td.actions{flex-direction:column;align-items:stretch!important}
  .woocommerce-cart table.shop_table td.actions .coupon{flex-direction:column;align-items:stretch}
  .woocommerce-cart table.shop_table td.actions .coupon input.input-text,
  .woocommerce-cart table.shop_table td.actions button.button,
  .woocommerce-cart table.shop_table td.actions .button{width:100%}
}


.po-color-select-wrap{display:grid;gap:6px;min-width:0}.po-color-select-label{font-size:.78rem;font-weight:800;color:var(--po-text-soft);text-transform:uppercase;letter-spacing:.02em}.po-color-select{width:100%;min-height:46px;border:1px solid var(--po-border);border-radius:14px;padding:0 14px;background:#fff;font:inherit;color:var(--po-text)}.po-color-stock-note{padding:10px 12px;border:1px solid var(--po-border);border-radius:14px;background:#fff;color:var(--po-text-soft);font-size:.9rem}.po-color-stock-note--empty{background:#f8fbff}.po-loop-add-form .po-color-select-wrap{grid-column:1 / -1}.woocommerce div.product form.cart .po-color-select-wrap{margin:0 0 14px}.woocommerce div.product form.cart .po-color-select{min-width:min(100%,280px)}

.po-simple-cart--with-color .po-color-select-wrap{flex:1 1 100%;min-width:100%;max-width:320px}.po-simple-cart--with-color .po-color-select{min-height:50px;border-radius:16px}.po-simple-cart--with-color .po-color-select-label{font-size:.76rem;color:var(--po-text-soft)}

.woocommerce-cart table.shop_table{table-layout:auto}.woocommerce-cart table.shop_table th.product-remove,.woocommerce-cart table.shop_table td.product-remove{width:46px;padding-inline:12px}.woocommerce-cart table.shop_table th.product-thumbnail,.woocommerce-cart table.shop_table td.product-thumbnail{width:96px}.woocommerce-cart table.shop_table td.product-thumbnail img{width:78px;height:78px}.woocommerce-cart table.shop_table td.product-name{min-width:260px}.woocommerce-cart table.shop_table td.product-name a{display:inline-block;margin-bottom:6px}.woocommerce-cart table.shop_table td.actions{justify-content:flex-start!important;gap:14px!important}.woocommerce-cart table.shop_table td.actions .coupon{flex:0 1 540px}.woocommerce-cart table.shop_table td.actions > .button,.woocommerce-cart table.shop_table td.actions button[name="update_cart"]{margin-left:0!important}.po-mini-cart-panel .po-mini-cart-color{display:block;margin:6px 0 2px;color:var(--po-text-soft);font-size:.82rem;font-weight:700}

.po-loop-add-form .po-color-select-wrap{width:100%;max-width:none}.po-loop-add-form .po-color-select{display:block;width:100%;min-height:50px;border:2px solid rgba(20,32,51,.85);border-radius:18px;background:#fff;padding:0 16px}.po-loop-add-form .po-color-select:focus{outline:none;box-shadow:0 0 0 4px rgba(20,86,184,.10)}


.po-color-select-wrap{display:grid;gap:8px;min-width:0;width:100%}
.po-color-select-label{display:block;font-size:.88rem;font-weight:800;color:var(--po-text);letter-spacing:0;text-transform:none}
.po-color-select{appearance:none;-webkit-appearance:none;display:block;width:100%;min-height:52px;border:1px solid rgba(20,86,184,.18)!important;border-radius:18px;background:#fff;padding:0 42px 0 16px;font:inherit;font-weight:600;color:var(--po-text);background-image:linear-gradient(45deg,transparent 50%,var(--po-primary) 50%),linear-gradient(135deg,var(--po-primary) 50%,transparent 50%);background-position:calc(100% - 22px) calc(50% - 3px),calc(100% - 16px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);transition:border-color .22s ease, box-shadow .22s ease}
.po-color-select:focus{outline:none;box-shadow:0 0 0 4px rgba(20,86,184,.10)!important;border-color:rgba(20,86,184,.5)!important}
.po-shop-card__actions.is-private{display:grid;gap:10px}
.po-loop-add-form{display:grid;grid-template-columns:1fr;gap:10px;align-items:center}
.po-loop-add-form .po-stepper{width:100%;max-width:none}
.po-loop-add-form .po-btn{width:100%;justify-content:center;padding-inline:18px}

/* v1.9.18: botón volver en ficha de producto */
.po-product-backbar{margin:0 0 22px;display:flex;align-items:center}
.po-product-backbtn{appearance:none;border:1px solid var(--po-border);background:#fff;color:var(--po-primary);font-weight:800;border-radius:999px;padding:12px 18px;cursor:pointer;box-shadow:0 8px 24px rgba(10,30,70,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.po-product-backbtn:hover{transform:translateY(-2px);box-shadow:var(--po-shadow-hover);border-color:var(--po-primary)}
.woocommerce.single-product .woocommerce-breadcrumb{display:none!important}

/* v1.9.19: icono de zoom correctamente contenido dentro de la imagen del producto */
.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-product-gallery{
  position:relative!important;
}
.woocommerce div.product .woocommerce-product-gallery__trigger{
  position:absolute!important;
  top:18px!important;
  right:18px!important;
  left:auto!important;
  z-index:9!important;
  width:44px!important;
  height:44px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(20,86,184,.14)!important;
  box-shadow:0 10px 26px rgba(10,30,70,.12)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.woocommerce div.product .woocommerce-product-gallery__trigger::before{
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
}
.woocommerce div.product .woocommerce-product-gallery__trigger::after{display:none!important}


/* v1.9.20: catálogo B2B limpio + buscador inteligente */
.po-private-filters{margin-top:0}
.po-private-filters__grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:16px!important;align-items:end!important}
.po-private-filters__field{grid-column:span 2;min-width:0}
.po-private-filters__field--search{grid-column:span 3}
.po-private-filters__search{padding-left:44px;background-image:none!important}
.po-private-filters__field--search{position:relative}
.po-private-filters__field--search::after{content:"⌕";position:absolute;left:16px;bottom:15px;font-size:1.1rem;color:var(--po-primary);font-weight:800;pointer-events:none}
.po-private-filters__actions{grid-column:span 3;justify-content:flex-end}
.po-section--catalog{padding-top:42px}
@media (max-width:1200px){.po-private-filters__grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.po-private-filters__field,.po-private-filters__field--search{grid-column:span 3}.po-private-filters__actions{grid-column:span 6;justify-content:flex-start}}
@media (max-width:700px){.po-private-filters__grid{grid-template-columns:1fr!important}.po-private-filters__field,.po-private-filters__field--search,.po-private-filters__actions{grid-column:1 / -1}.po-private-filters__actions{justify-content:stretch}.po-private-filters__actions .po-btn{width:100%;justify-content:center}}

/* v1.9.21 · Filtros B2B más limpios, buscador sin icono superpuesto y ordenamiento */
.po-private-filters__grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:16px!important;align-items:end!important}
.po-private-filters__field{grid-column:span 2!important;min-width:0!important}
.po-private-filters__field--search{grid-column:span 3!important;position:relative!important}
.po-private-filters__field--sort{grid-column:span 3!important}
.po-private-filters__field--price-min{grid-column:1 / span 2!important}
.po-private-filters__field--price-max{grid-column:span 2!important}
.po-private-filters__actions{grid-column:span 4!important;justify-content:flex-start!important;align-self:end!important}
.po-private-filters__search{padding-left:16px!important;background-image:none!important}
.po-private-filters__field--search::after{content:none!important;display:none!important}
.po-private-filters__control::placeholder,.po-private-filters input::placeholder{color:#7b8798!important;opacity:1!important;font-weight:500!important}
.po-private-filters__control,.po-private-filters select,.po-private-filters input{min-width:0!important;text-overflow:ellipsis!important}
@media (max-width:1250px){.po-private-filters__grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.po-private-filters__field,.po-private-filters__field--search,.po-private-filters__field--sort,.po-private-filters__field--price-min,.po-private-filters__field--price-max{grid-column:span 3!important}.po-private-filters__actions{grid-column:span 6!important;justify-content:flex-start!important}}
@media (max-width:760px){.po-private-filters{padding:18px!important;border-radius:22px!important}.po-private-filters__grid{grid-template-columns:1fr!important}.po-private-filters__field,.po-private-filters__field--search,.po-private-filters__field--sort,.po-private-filters__field--price-min,.po-private-filters__field--price-max,.po-private-filters__actions{grid-column:1 / -1!important}.po-private-filters__actions{justify-content:stretch!important}.po-private-filters__actions .po-btn{width:100%!important;justify-content:center!important}}

/* v1.9.25 · Productos relacionados como carrusel B2B de ancho completo */
.woocommerce div.product .po-related-carousel,
.woocommerce-page div.product .po-related-carousel{
  grid-column:1 / -1;
  width:100%;
  max-width:100%;
  margin-top:54px;
  padding:34px 0 4px;
  clear:both;
}
.po-related-carousel__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.po-related-carousel__kicker{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border:1px solid rgba(20,86,184,.12);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:var(--po-primary);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.po-related-carousel h2{
  margin:10px 0 0;
  font-size:clamp(1.9rem,3vw,3rem);
  line-height:1.05;
  color:var(--po-text);
}
.po-related-carousel__controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.po-related-carousel__btn{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(20,86,184,.18);
  background:#fff;
  color:var(--po-primary);
  font-size:1.18rem;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(10,30,70,.08);
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, opacity .22s ease;
}
.po-related-carousel__btn:hover{
  transform:translateY(-2px);
  box-shadow:var(--po-shadow-hover);
  background:var(--po-primary);
  color:#fff;
}
.po-related-carousel__btn.is-disabled{
  opacity:.35;
  pointer-events:none;
}
.po-related-carousel__viewport{
  overflow-x:auto;
  overflow-y:visible;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-x:contain;
  padding:2px 4px 20px;
  margin:0 -4px;
  scrollbar-width:thin;
  scrollbar-color:rgba(20,86,184,.28) transparent;
}
.po-related-carousel__viewport::-webkit-scrollbar{height:8px}
.po-related-carousel__viewport::-webkit-scrollbar-track{background:transparent}
.po-related-carousel__viewport::-webkit-scrollbar-thumb{background:rgba(20,86,184,.24);border-radius:999px}
.po-related-carousel__track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:clamp(248px, calc((100% - 72px) / 4), 330px);
  gap:24px;
  align-items:stretch;
}
.po-related-card{
  scroll-snap-align:start;
  min-width:0;
  height:100%;
  background:#fff;
  border:1px solid rgba(20,86,184,.10);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(10,30,70,.06);
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.po-related-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--po-shadow-hover);
  border-color:rgba(20,86,184,.34);
}
.po-related-card__media{
  position:relative;
  display:block;
  height:190px;
  padding:16px;
  background:#fff;
  overflow:hidden;
}
.po-related-card__img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
  transition:opacity .28s ease, transform .28s ease;
}
.po-related-card__img--secondary{
  position:absolute;
  inset:16px;
  width:calc(100% - 32px);
  height:calc(100% - 32px);
  opacity:0;
  pointer-events:none;
}
.po-related-card__media.has-secondary:hover .po-related-card__img--primary{opacity:0}
.po-related-card__media.has-secondary:hover .po-related-card__img--secondary{opacity:1}
.po-related-card__placeholder{
  height:100%;
  display:grid;
  place-items:center;
  border:1px dashed var(--po-border);
  border-radius:18px;
  color:var(--po-text-soft);
  font-weight:700;
}
.po-related-card__body{
  display:grid;
  gap:10px;
  padding:18px;
}
.po-related-card__brand{
  color:var(--po-primary);
  font-size:.92rem;
  font-weight:800;
  line-height:1.25;
}
.po-related-card__title{
  min-height:2.4em;
  margin:0;
  font-size:1.06rem;
  line-height:1.2;
  font-weight:850;
  color:var(--po-text);
}
.po-related-card__title a{
  color:inherit;
  text-decoration:none;
}
.po-related-card__actions{
  display:grid;
  gap:10px;
  margin-top:4px;
}
.po-related-card__actions .po-btn{
  width:100%;
  justify-content:center;
}
.po-related-card .po-loop-add-form{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.po-related-card .po-stepper{
  width:100%;
  max-width:none;
}
.po-related-card .po-color-select-wrap{
  width:100%;
}
.po-related-card .po-color-select{
  min-height:48px;
}
@media (min-width:1450px){
  .po-related-carousel__track{grid-auto-columns:clamp(240px, calc((100% - 96px) / 5), 310px)}
}
@media (max-width:1100px){
  .po-related-carousel__track{grid-auto-columns:clamp(240px, calc((100% - 48px) / 3), 320px)}
  .po-related-card__media{height:178px}
}
@media (max-width:760px){
  .woocommerce div.product .po-related-carousel,
  .woocommerce-page div.product .po-related-carousel{margin-top:34px;padding-top:24px}
  .po-related-carousel__head{align-items:flex-start;gap:14px}
  .po-related-carousel__controls{display:none}
  .po-related-carousel__track{grid-auto-columns:min(78vw, 310px);gap:16px}
  .po-related-card{border-radius:24px}
  .po-related-card__media{height:168px;padding:14px}
  .po-related-card__body{padding:16px}
}
