/**
 * YHN 3.9.55.30 — Commerce Surface Polish
 * Visual-only micro polish for product archives and single-product pages.
 * UX structure is intentionally locked: no width/grid/sidebar/order/display changes.
 */

/* =========================================================
 * PRODUCT ARCHIVE — keep the proven sidebar + grid shopping flow.
 * Only calm the surfaces, borders, hover states and brand-color noise.
 * ========================================================= */
body.yhn-archive-phase1c div.shop-page-title.category-page-title .woocommerce-ordering select{
  border-color:#e8dee3!important;
  border-radius:12px!important;
  box-shadow:0 2px 8px rgba(45,31,38,.035)!important;
}
body.yhn-archive-phase1c div.shop-page-title.category-page-title .woocommerce-ordering select:focus{
  border-color:#cf5a8f!important;
  box-shadow:0 0 0 3px rgba(201,23,107,.08)!important;
}
body.yhn-archive-phase1c .filter-button{
  border-color:#e8dce2!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.yhn-archive-phase1c .yhn-archive-intro{
  border-color:#eee5e9!important;
  border-radius:14px!important;
  background:#fffafb!important;
  box-shadow:0 4px 14px rgba(45,31,38,.028)!important;
}
body.yhn-archive-phase1c .yhn-archive-chip{
  border-color:#e9dce2!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#8f2857!important;
  box-shadow:none!important;
}
body.yhn-archive-phase1c .yhn-archive-chip:hover,
body.yhn-archive-phase1c .yhn-archive-chip:focus-visible{
  border-color:#dca6bd!important;
  background:#fff4f8!important;
  color:#9f174f!important;
}
body.yhn-archive-phase1c .yhn-archive-trust>span{
  border-color:#eee6ea!important;
  background:#fff!important;
}
body.yhn-archive-phase1c .yhn-archive-disclaimer{
  background:#fff!important;
  border-left-color:#d34f89!important;
}
@media(min-width:850px){
  body.yhn-archive-phase1c #woocommerce_product_categories-13.widget_product_categories{
    border-color:#ebe4e7!important;
    border-radius:12px!important;
    box-shadow:0 3px 12px rgba(45,31,38,.025)!important;
  }
  body.yhn-archive-phase1c #woocommerce_product_categories-13 ul.product-categories>li.current-cat>a,
  body.yhn-archive-phase1c #woocommerce_product_categories-13 ul.product-categories>li.current-cat-parent>a,
  body.yhn-archive-phase1c #woocommerce_product_categories-13 ul.product-categories>li.current-cat-ancestor>a{
    background:#fff5f8!important;
    box-shadow:inset 2px 0 0 #c9176b!important;
  }
}
body.yhn-archive-phase1c .products .box{
  border-color:#ece6e9!important;
  border-radius:12px!important;
  box-shadow:0 2px 9px rgba(35,24,30,.025)!important;
}
body.yhn-archive-phase1c .products .box:hover{
  transform:none!important;
  border-color:#e2d6dc!important;
  box-shadow:0 5px 15px rgba(35,24,30,.045)!important;
}
body.yhn-archive-phase1c .products .badge-circle .badge-inner,
body.yhn-archive-phase1c .products .onsale{box-shadow:none!important}
body.yhn-archive-phase1c nav.woocommerce-pagination span.current{
  box-shadow:0 3px 10px rgba(201,23,107,.11)!important;
}
body.yhn-archive-phase1c .custom-tax-description.yhn-archive-description{
  border-color:#ece5e8!important;
  box-shadow:0 3px 12px rgba(45,31,38,.025)!important;
}

/* =========================================================
 * SINGLE PRODUCT — purchase-first UX remains untouched.
 * Keep sidebar, gallery/summary proportions, boxes, CTA and trust grouping.
 * ========================================================= */
body.yhn-product-phase1d .product-gallery,
body.yhn-product-phase1d .summary.entry-summary,
body.yhn-product-phase1d .product-info .entry-summary{
  border-color:#ebe4e7!important;
  border-radius:14px!important;
  box-shadow:0 5px 18px rgba(35,24,30,.04)!important;
}
body.yhn-product-phase1d #woocommerce_product_categories-13.widget_product_categories{
  border-color:#ebe4e7!important;
  border-radius:12px!important;
  box-shadow:0 3px 12px rgba(35,24,30,.025)!important;
}
body.yhn-product-phase1d .product-short-description{
  border-color:#ece5e8!important;
  border-radius:12px!important;
  background:#fcfbfc!important;
}
body.yhn-product-phase1d form.cart{
  border-color:#e9e1e5!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.yhn-product-phase1d .single_add_to_cart_button,
body.yhn-product-phase1d form.cart .single_add_to_cart_button,
body.yhn-product-phase1d form.cart .button[type=submit]{
  box-shadow:0 5px 14px rgba(201,23,107,.14)!important;
}
body.yhn-product-phase1d .single_add_to_cart_button:hover,
body.yhn-product-phase1d form.cart .single_add_to_cart_button:hover,
body.yhn-product-phase1d form.cart .button[type=submit]:hover{
  transform:none!important;
  box-shadow:0 7px 18px rgba(168,18,88,.18)!important;
}
body.yhn-product-phase1d .yhn-purchase-assurance{
  border-color:#eadfe4!important;
  border-radius:12px!important;
  background:#fffafb!important;
}
body.yhn-product-phase1d .yhn-purchase-assurance>span,
body.yhn-product-phase1d .yhn-purchase-assurance>a{
  border:1px solid #f0e9ec!important;
  border-radius:9px!important;
  background:#fff!important;
}
body.yhn-product-phase1d .yhn-gallery-extra-card--promo{
  border:1px solid #eadfe4!important;
  border-radius:12px!important;
  background:#fffafb!important;
}
body.yhn-product-phase1d .yhn-gallery-extra-card__item{border-bottom-color:#eee5e9!important}
body.yhn-product-phase1d .yhn-gallery-extra-card__icon{
  background:#d82a77!important;
  border-radius:5px!important;
}
body.yhn-product-phase1d .product-thumbnails img{
  border-color:#ece4e8!important;
  border-radius:8px!important;
}
body.yhn-product-phase1d .product-thumbnails .is-nav-selected img,
body.yhn-product-phase1d .product-thumbnails a:hover img{
  border-color:#d94e8b!important;
  box-shadow:0 0 0 1px #d94e8b!important;
}
body.yhn-product-phase1d .related .product-small .box{
  border-color:#ece5e8!important;
  border-radius:12px!important;
  box-shadow:0 3px 12px rgba(35,24,30,.03)!important;
}
body.yhn-product-phase1d .related .product-small .box:hover{
  transform:none!important;
  border-color:#e3d8dd!important;
  box-shadow:0 6px 16px rgba(35,24,30,.05)!important;
}

/* Keyboard clarity without extra decoration. */
body.yhn-archive-phase1c :is(a,button,select):focus-visible,
body.yhn-product-phase1d :is(a,button,select,input):focus-visible{
  outline:2px solid rgba(201,23,107,.45)!important;
  outline-offset:2px!important;
}

@media(max-width:849px){
  body.yhn-archive-phase1c .yhn-archive-intro,
  body.yhn-archive-phase1c .products .box,
  body.yhn-archive-phase1c .custom-tax-description.yhn-archive-description,
  body.yhn-product-phase1d .product-gallery,
  body.yhn-product-phase1d .summary.entry-summary,
  body.yhn-product-phase1d .product-info .entry-summary,
  body.yhn-product-phase1d form.cart,
  body.yhn-product-phase1d .yhn-purchase-assurance,
  body.yhn-product-phase1d .yhn-gallery-extra-card--promo{
    border-radius:12px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.yhn-archive-phase1c .products .box,
  body.yhn-product-phase1d .single_add_to_cart_button,
  body.yhn-product-phase1d .related .product-small .box{transition:none!important}
}
