/* Small, scoped presentation layer. Native forms and price calculation stay in WooCommerce. */
html body.bes-visual-refresh #shoptimizerCartDrawer{right:0!important;transform:translate3d(102%,0,0)!important;visibility:hidden;transition:transform .42s cubic-bezier(.22,.68,0,1),visibility 0s linear .42s!important;will-change:transform}
html body.bes-visual-refresh.drawer-open #shoptimizerCartDrawer{transform:translate3d(0,0,0)!important;visibility:visible;transition-delay:0s!important}
html body.bes-visual-refresh .cart-contents:focus:not(:focus-visible){outline:none!important;background:transparent!important;box-shadow:none!important}
html body.bes-visual-refresh .cart-contents:focus-visible{outline:2px solid #702941!important;outline-offset:4px!important}
html body.bes-visual-refresh .bes-need-card{min-height:222px!important;padding:25px!important;text-align:left!important;background:linear-gradient(145deg,#fcf9f6,#f6edef)!important;transition:border-color .2s,background .2s!important}
html body.bes-visual-refresh .bes-need-card__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
html body.bes-visual-refresh .bes-need-card__number{display:none!important}
.bes-need-art{display:grid;place-items:center;width:70px;height:70px;border:1px solid #e9d5dd;border-radius:22px;background:#fff8;color:#702941;box-shadow:0 7px 22px #70294108}
.bes-need-art svg{width:47px;height:47px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
html body.bes-visual-refresh .bes-need-card h3{font-size:20px!important;font-weight:650!important;line-height:1.25!important}
html body.bes-visual-refresh .bes-need-card p{font-size:13px!important;line-height:1.55!important;margin-bottom:0!important}
html body.bes-visual-refresh .bes-seasonal-date{font-size:clamp(22px,2.6vw,36px)!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.02em!important;margin:10px 0!important}
html body.bes-visual-refresh .bes-mobile-purchase__price del{font-size:19px!important;font-weight:750!important;color:#817079!important;text-decoration-thickness:1px!important;opacity:1!important}
html body.bes-visual-refresh .bes-mobile-purchase__price del *{font-size:inherit!important;font-weight:inherit!important;text-decoration-thickness:1px!important}
.bes-unit-price{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:inherit;gap:5px 10px;font-variant-numeric:tabular-nums;line-height:1.4}
html body .bes-unit-price del{color:#8c7e83!important;font-size:13px!important;font-weight:500!important;text-decoration-thickness:1px;opacity:1!important}
html body .bes-unit-price strong{color:#59263a!important;font-size:17px!important;font-weight:750!important}
.bes-item-prices{display:block;text-align:left;min-width:0}.bes-item-price-group{display:flex;gap:10px;align-items:baseline;margin:5px 0}.bes-unit-count{font-size:11px;color:#82737a;white-space:nowrap}
html body .bes-unit-saving{display:block!important;margin:3px 0 0!important;font-size:11px!important;line-height:1.4!important;color:#426851!important;font-weight:600!important;letter-spacing:0!important}
.bes-item-line-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:12px;border-top:1px solid #ece2e6;padding-top:7px;margin-top:7px}
html body.woocommerce-checkout .bes-line-price{clear:both;float:none!important;display:block!important;width:100%!important;padding-top:8px!important}
html body.woocommerce-checkout .bes-line-price .bes-item-prices{padding-left:0!important}
html body.bes-visual-refresh #shoptimizerCartDrawer .bes-mini-unit-prices{height:auto!important;border:0!important;padding:0!important;background:transparent!important}
html body.bes-visual-refresh #shoptimizerCartDrawer .bes-unit-price strong{font-size:16px!important}
html body.bes-visual-refresh.woocommerce-checkout :is(.bes-seasonal-ribbon,.bes-promo-ribbon,.bes-care-ribbon,.bes-permanent-benefit-bar){display:none!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review .order-total th,html body.bes-visual-refresh.woocommerce-checkout #order_review .order-total td,html body.bes-visual-refresh.woocommerce-cart .cart_totals .order-total th,html body.bes-visual-refresh.woocommerce-cart .cart_totals .order-total td{background:#f6edef!important;padding:22px 16px!important;border-top:1px solid #e8d8df!important;border-bottom:1px solid #e8d8df!important;vertical-align:middle!important}
html body.bes-visual-refresh .order-total th{font-size:16px!important;font-weight:650!important;color:#59263a!important;border-radius:12px 0 0 12px}
html body.bes-visual-refresh .order-total td{border-radius:0 12px 12px 0}
html body.bes-visual-refresh .order-total td strong,html body.bes-visual-refresh .order-total td .amount{font-size:27px!important;line-height:1.2!important;font-weight:800!important;color:#59263a!important;white-space:nowrap}
html body.bes-visual-refresh.woocommerce-checkout .woocommerce-account-fields{padding:20px!important;margin:14px 0 22px!important;border:1px solid #e5d8df!important;border-radius:16px!important;background:#faf6f8!important}
html body.bes-visual-refresh.woocommerce-checkout .woocommerce-account-fields .create-account{margin:0!important;padding:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
html body.bes-visual-refresh.woocommerce-checkout .woocommerce-account-fields label.checkbox{display:flex!important;gap:12px!important;align-items:center!important;color:#59263a!important;font-size:15px!important;font-weight:650!important;cursor:pointer}
html body.bes-visual-refresh.woocommerce-checkout #createaccount{appearance:auto!important;width:22px!important;height:22px!important;min-height:22px!important;flex:0 0 22px!important;accent-color:#702941;position:static!important;opacity:1!important;margin:0!important}
html body.bes-visual-refresh.woocommerce-checkout .woocommerce-account-fields div.create-account{margin-top:14px!important}
html body.bes-visual-refresh.woocommerce-checkout .bes-account-intro{font-weight:700!important;font-size:17px!important;color:#59263a!important;margin:0 0 10px!important}
.bes-account-intro span{display:block;font-size:12px;font-weight:400;line-height:1.5;margin-top:5px;color:#7b6e74}
html body.bes-visual-refresh.woocommerce-checkout .bes-marketing-consent:empty{display:none!important}
html body.bes-visual-refresh.woocommerce-checkout #payment .place-order #place_order:before,html body.bes-visual-refresh.woocommerce-checkout #payment .place-order #place_order:after{content:none!important;display:none!important}
html body.bes-visual-refresh.woocommerce-checkout #payment .place-order #place_order{padding-left:18px!important;padding-right:18px!important}
@media(max-width:760px){html body.bes-visual-refresh .bes-need-card{padding:19px 15px!important;min-height:235px!important}.bes-need-art{width:60px;height:60px;border-radius:18px}.bes-need-art svg{width:41px;height:41px}html body.bes-visual-refresh .bes-need-card h3{font-size:18px!important}html body.bes-visual-refresh .bes-need-card p{font-size:12px!important}html body.bes-visual-refresh .order-total td strong,html body.bes-visual-refresh .order-total td .amount{font-size:23px!important}.bes-unit-price{gap:3px 8px}}
@media(prefers-reduced-motion:reduce){html body.bes-visual-refresh #shoptimizerCartDrawer{transition:none!important}}

/* Owner revision: real BES Italy beauty photography, no pictogram cards. */
html body.bes-visual-refresh .bes-needs__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
html body.bes-visual-refresh .bes-need-card:has(.bes-need-photo){display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;min-height:0!important;padding:0!important;overflow:hidden!important;border:1px solid #e9e0e3!important;border-radius:18px!important;background:#fff!important}
.bes-need-photo{display:block;position:relative;width:100%;height:320px;overflow:hidden;background:#eee9e4}
.bes-need-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 35%;transition:transform .35s ease}
.bes-need-photo--repair img{object-position:83% center}
.bes-need-photo--dry img{object-position:62% center}
.bes-need-photo--scalp img{object-fit:cover;object-position:center}
.bes-need-photo__arrow{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fffc;color:#59263a;border:1px solid #fff8;backdrop-filter:blur(6px)}
.bes-need-photo__arrow svg{width:20px;height:20px}
html body.bes-visual-refresh .bes-need-card:has(.bes-need-photo) .bes-need-card__body{padding:22px!important;margin:0!important}
html body.bes-visual-refresh .bes-need-card:hover .bes-need-photo img{transform:scale(1.035)}
html body.bes-visual-refresh .bes-need-card:hover{border-color:#bb8e9f!important}

/* One contiguous payable card; native hidden row remains an untouched WooCommerce fallback. */
html body.bes-visual-refresh :is(#order_review,.cart_totals) table:has(.bes-payable-row) tr.order-total{display:none!important}
html body.bes-visual-refresh :is(#order_review,.cart_totals) .bes-payable-row>td{display:table-cell!important;padding:10px 0 16px!important;width:auto!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body.bes-visual-refresh .bes-payable-row>td:before{display:none!important;content:none!important}
.bes-payable{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px!important;border-radius:16px;border:1px solid #dcc5cf;background:linear-gradient(115deg,#faf4f7,#f0e4ea);color:#59263a}
html body.bes-visual-refresh .bes-payable__label{display:block;font-size:18px!important;line-height:1.3;font-weight:700!important;color:#59263a!important}
html body.bes-visual-refresh .bes-payable small{display:block;margin-top:7px;font-size:11px!important;line-height:1.4!important;color:#7c6570!important;font-weight:400!important}
html body.bes-visual-refresh .bes-payable__amount,html body.bes-visual-refresh .bes-payable__amount strong,html body.bes-visual-refresh .bes-payable__amount .amount{font-size:28px!important;line-height:1.2!important;font-weight:800!important;color:#59263a!important;white-space:nowrap;font-variant-numeric:tabular-nums}
html body.bes-visual-refresh.woocommerce-checkout #order_review .cart-subtotal>*{padding:14px 0!important;background:transparent!important;border-bottom:1px solid #eee5e9!important;border-radius:0!important;font-size:14px!important;font-weight:500!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review tr.woocommerce-shipping-totals>*{padding:14px 0!important;background:transparent!important;border-bottom:1px solid #eee5e9!important;border-radius:0!important;font-size:13px!important;font-weight:400!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review .cart-subtotal td,html body.bes-visual-refresh.woocommerce-checkout #order_review tr.woocommerce-shipping-totals td{text-align:right!important;padding-left:12px!important}
html body.bes-visual-refresh .bes-seasonal-summary__card{border-radius:14px;background:#faf7f9;padding:17px!important;border-color:#e9dce3}
html body.bes-visual-refresh .bes-seasonal-summary__card small{font-size:11px!important;line-height:1.5!important;color:#85747d!important}
.bes-promo-terms{margin-top:10px}.bes-promo-terms summary{display:list-item!important;cursor:pointer;color:#7b5868;font-size:12px!important;font-weight:500!important;text-decoration:underline;text-underline-offset:3px}.bes-promo-terms small{padding-top:5px}
@media(max-width:760px){
 html body.bes-visual-refresh .bes-needs__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .bes-need-photo{height:210px}
 html body.bes-visual-refresh .bes-need-card:has(.bes-need-photo) .bes-need-card__body{padding:16px 13px!important}
 html body.bes-visual-refresh .bes-need-card:has(.bes-need-photo) h3{font-size:17px!important;line-height:1.3!important;margin-bottom:8px!important}
 html body.bes-visual-refresh .bes-need-card:has(.bes-need-photo) p{font-size:12px!important;line-height:1.5!important}
 .bes-need-photo__arrow{width:33px;height:33px;right:10px;bottom:10px}
 .bes-payable{padding:19px 16px!important;gap:12px}
 html body.bes-visual-refresh .bes-payable__label{font-size:17px!important}
 html body.bes-visual-refresh .bes-payable__amount,html body.bes-visual-refresh .bes-payable__amount strong,html body.bes-visual-refresh .bes-payable__amount .amount{font-size:23px!important}
 html body.bes-visual-refresh .bes-payable small{max-width:130px;font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){.bes-need-photo img{transition:none!important}}

/* The legacy experience layer uses high-specificity grid rows: opt these exact rows out. */
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr.order-total{display:none!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr:is(.bes-payable-row,.bes-seasonal-summary){display:block!important;width:100%!important;background:transparent!important;border:0!important;padding:0!important;margin:12px 0!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr.bes-payable-row>td{display:block!important;width:100%!important;max-width:none!important;padding:0!important;background:transparent!important;border:0!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr.bes-seasonal-summary>td{display:block!important;width:100%!important;padding:0!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr.cart-subtotal{grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;background:transparent!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr.cart-subtotal>*{border:0!important;background:transparent!important;padding:13px 0!important;font-size:14px!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr.bes-checkout-delivery-cost{display:grid!important;grid-template-columns:minmax(75px,1fr) minmax(0,1.8fr)!important;gap:14px!important;align-items:start!important;padding:12px 0 18px!important;margin:0 0 12px!important;border-bottom:1px solid #e9e0e5!important;background:transparent!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr.bes-checkout-delivery-cost>*{display:block!important;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;font-size:13px!important;line-height:1.5!important;font-weight:400!important}
html body.bes-visual-refresh.woocommerce-checkout #order_review#order_review table.shop_table>tfoot>tr.bes-checkout-delivery-cost>td{text-align:right!important;color:#80727a!important}

/* Open primary dropdowns by deliberate click, not by invisible hover space. */
html body.bes-visual-refresh #site-navigation#site-navigation #menu-mobile>li.menu-item-has-children:not(.bes-menu-expanded)>.sub-menu-wrapper{display:none!important;visibility:hidden!important;pointer-events:none!important;opacity:0!important}
html body.bes-visual-refresh #site-navigation#site-navigation #menu-mobile>li.menu-item-has-children.bes-menu-expanded>.sub-menu-wrapper{display:block!important;visibility:visible!important;pointer-events:auto!important;opacity:1!important;transform:none!important}
html body.bes-visual-refresh a.bes-need-card{text-decoration:none!important;color:inherit!important;cursor:pointer}
