/* KM Beauty — boutique + navigation polish */
@media (min-width:769px){
  .main-nav .menu-item-has-children{position:relative}
  .main-nav .menu-item-has-children>ul.sub-menu{
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    left:50%;
    transform:translateX(-50%);
    z-index:10040;
    min-width:230px;
    margin:0;
    padding:8px 0;
    list-style:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:#fff;
    border:1px solid #f0e6e6;
    border-radius:10px;
    box-shadow:0 12px 30px rgba(44,44,44,.12);
  }
  .main-nav .menu-item-has-children:hover>ul.sub-menu,
  .main-nav .menu-item-has-children:focus-within>ul.sub-menu{display:flex}
  .main-nav .menu-item-has-children>ul.sub-menu>li,
  .main-nav .menu-item-has-children>ul.sub-menu>li::after{display:block;content:none}
  .main-nav .menu-item-has-children>ul.sub-menu>li>a{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:11px 18px;
    color:#2c2c2c;
    font-size:12px;
    font-weight:600;
    line-height:1.3;
    text-transform:none;
    letter-spacing:.6px;
    white-space:nowrap;
  }
  .main-nav .menu-item-has-children>ul.sub-menu>li>a::before{display:none}
  .main-nav .menu-item-has-children>ul.sub-menu>li>a:hover{
    background:#fdf6f5;
    color:#8e4a54;
  }
  .main-nav .menu-item-has-children>a{display:inline-flex;align-items:center;gap:6px}
  .main-nav .menu-item-has-children>a::after{
    content:"⌄";
    color:#b8a8a6;
    font-size:11px;
    line-height:1;
  }
}
@media (max-width:768px){
  .main-nav .menu-item-has-children>ul.sub-menu{
    display:flex!important;
    position:static!important;
    width:100%!important;
    margin:0!important;
    padding:0 0 6px 12px!important;
    flex-direction:column!important;
    gap:2px!important;
    transform:none!important;
    box-shadow:none!important;
    background:transparent!important;
    border:0!important;
  }
  .main-nav .menu-item-has-children>ul.sub-menu>li{display:block!important;width:100%!important}
  .main-nav .menu-item-has-children>ul.sub-menu>li>a{
    min-height:44px!important;
    padding:11px 12px!important;
    font-size:13px!important;
    text-transform:none!important;
    letter-spacing:.5px!important;
    color:#6f3540!important;
  }
  .main-nav .menu-item-has-children>a::after{content:"⌄";margin-left:6px;color:#b8a8a6}
}
body.woocommerce-shop .km-shop-page{margin:0 0 24px}
body.woocommerce-shop .km-shop-page .hero{padding:54px 20px}
body.woocommerce-shop .km-shop-page .hero-content{max-width:780px}
body.woocommerce-shop .km-shop-page .hero-tagline{margin-bottom:12px}
body.woocommerce-shop .km-shop-page .hero h1{margin-bottom:12px}
body.woocommerce-shop .km-shop-page .hero p{max-width:700px;margin:0 auto;color:#4b4545}
body.woocommerce-shop .km-shop-intro{max-width:1100px;margin:0 auto;padding:0 20px 24px}
body.woocommerce-shop .km-shop-intro .section-title{margin:34px 0 6px}
body.woocommerce-shop .km-shop-intro .section-subtitle{margin-bottom:22px}
body.woocommerce-shop .km-shop-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 auto 24px}
body.woocommerce-shop .km-shop-benefit{padding:18px 16px;background:#fdf9f8;border:1px solid #f0e6e6;border-radius:14px;text-align:center}
body.woocommerce-shop .km-shop-benefit strong{display:block;color:#8e4a54;font-family:'Playfair Display',Georgia,serif;font-size:17px;margin-bottom:5px}
body.woocommerce-shop .km-shop-benefit span{font-size:12px;color:#666}
body.woocommerce-shop .km-shop-help{text-align:center;margin:8px 0 0;font-size:13px;color:#666}
body.woocommerce-shop .km-shop-help a{font-weight:600;color:#8e4a54}
body.woocommerce-shop .woocommerce-products-header{display:none}
body.woocommerce-shop .woocommerce-result-count{float:none!important;margin:10px 0 16px!important;color:#8e4a54!important;font-size:11px!important;font-weight:600!important;text-transform:uppercase;letter-spacing:1px}
body.woocommerce-shop .woocommerce-ordering{margin:0 0 18px!important}
body.woocommerce-shop .woocommerce-ordering select{min-height:40px;padding:0 34px 0 14px;border:1px solid #eadbdb;border-radius:24px;background:#fff;color:#5b4b4d;font:600 11px Montserrat,Arial,sans-serif}
body.woocommerce-shop ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px!important;margin:0!important;padding:0!important;list-style:none}
body.woocommerce-shop ul.products::before,body.woocommerce-shop ul.products::after{display:none!important}
body.woocommerce-shop ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:12px!important;background:#fff;border:1px solid #f0e6e6;border-radius:16px;box-shadow:0 4px 18px rgba(183,110,121,.06);text-align:center;transition:transform .2s ease,box-shadow .2s ease}
body.woocommerce-shop ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(183,110,121,.12)}
body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link{display:block;color:#2c2c2c;text-decoration:none}
body.woocommerce-shop ul.products li.product img{width:100%!important;height:240px!important;object-fit:cover!important;border-radius:11px!important;margin:0 0 14px!important}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title{font-family:'Playfair Display',Georgia,serif;font-size:17px!important;line-height:1.3!important;font-weight:700!important;color:#2c2c2c!important;padding:0 5px!important;margin:0 0 7px!important}
body.woocommerce-shop ul.products li.product .price{display:block;margin:0 0 13px!important;color:#8e4a54!important;font-size:14px!important;font-weight:700!important}
body.woocommerce-shop ul.products li.product .button{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:9px 18px!important;border-radius:24px!important;background:#8e4a54!important;color:#fff!important;border:0!important;text-decoration:none!important;font-size:10px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.7px!important}
body.woocommerce-shop ul.products li.product .button:hover{background:#6f3540!important}
body.woocommerce-shop ul.products li.product .added_to_cart{display:block;margin:9px 0 0;font-size:11px;color:#8e4a54}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__link + .button{margin-top:0}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title + .price{margin-top:0}
body.woocommerce-shop .woocommerce-pagination{margin-top:30px;text-align:center}
@media(max-width:900px){body.woocommerce-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  body.woocommerce-shop .km-shop-page .hero{padding:38px 16px}
  body.woocommerce-shop .km-shop-benefits{grid-template-columns:1fr;gap:10px}
  body.woocommerce-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
  body.woocommerce-shop ul.products li.product{padding:8px;border-radius:12px}
  body.woocommerce-shop ul.products li.product img{height:150px!important;border-radius:9px!important}
  body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}
  body.woocommerce-shop ul.products li.product .price{font-size:12px!important}
  body.woocommerce-shop ul.products li.product .button{width:100%!important;padding:8px 10px!important;font-size:9px!important}
}