/**
 * YHN Quiet Commerce 1.0.0
 * Cart + Side Cart only. Checkout is intentionally untouched in this release.
 */
:root{
  --yhn-qc-pink:#d71872;
  --yhn-qc-pink-dark:#b70f5d;
  --yhn-qc-ink:#29272a;
  --yhn-qc-muted:#777178;
  --yhn-qc-line:#ebe7e9;
  --yhn-qc-soft:#faf8f8;
  --yhn-qc-warm:#fffdfc;
  --yhn-qc-radius:12px;
  --yhn-qc-shadow:0 18px 48px rgba(32,26,30,.10);
}

/* ---- Disable legacy Flatsome/CheckoutWC mini-cart surface when YHN drawer is active ---- */
.yhn-qc-sidecart-enabled .cart-item.has-dropdown>.nav-dropdown,
.yhn-qc-sidecart-enabled #cart-popup,
.yhn-qc-sidecart-enabled .cfw-side-cart,
.yhn-qc-sidecart-enabled #cfw-side-cart{display:none!important}

/* ---- Drawer shell ---- */
.yhn-qc-overlay{
  position:fixed;inset:0;z-index:100090;background:rgba(24,22,24,.38);opacity:0;
  transition:opacity .24s ease;backdrop-filter:blur(1.5px)
}
.yhn-qc-sidecart{
  position:fixed;z-index:100100;right:0;top:0;width:min(430px,100vw);height:100dvh;
  display:flex;flex-direction:column;background:var(--yhn-qc-warm);color:var(--yhn-qc-ink);
  box-shadow:-20px 0 60px rgba(25,21,24,.16);transform:translate3d(102%,0,0);
  transition:transform .28s cubic-bezier(.2,.72,.25,1);outline:0
}
body.yhn-qc-open{overflow:hidden!important;touch-action:none}
body.yhn-qc-open .yhn-qc-overlay{opacity:1}
body.yhn-qc-open .yhn-qc-sidecart{transform:translate3d(0,0,0)}
.yhn-qc-sidecart__head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 26px 20px;border-bottom:1px solid var(--yhn-qc-line)}
.yhn-qc-sidecart__eyebrow,.yhn-qc-eyebrow{display:block;margin:0 0 5px;font-size:10px;line-height:1.2;letter-spacing:.16em;font-weight:650;color:#938b90}
.yhn-qc-sidecart__head h2{display:flex;align-items:center;gap:9px;margin:0;font-size:24px;line-height:1.25;font-weight:650;letter-spacing:-.02em;color:var(--yhn-qc-ink)}
.yhn-qc-count-badge{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 7px;border-radius:999px;background:#f5eef1;color:#6d6268;font-size:11px;font-weight:700;letter-spacing:0}
.yhn-qc-close,.yhn-qc-remove{appearance:none;border:0;background:transparent;cursor:pointer;color:#827b80;display:grid;place-items:center;padding:0;box-shadow:none!important}
.yhn-qc-close{width:38px;height:38px;border:1px solid var(--yhn-qc-line);border-radius:50%;transition:border-color .18s ease,color .18s ease,background .18s ease}
.yhn-qc-close:hover{border-color:#d6cfd3;color:var(--yhn-qc-ink);background:#fff}
.yhn-qc-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.yhn-qc-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.yhn-qc-sidecart__contents{min-height:0;flex:1;display:flex;flex-direction:column}
.yhn-qc-sidecart__scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:4px 26px 0}
.yhn-qc-items{list-style:none!important;margin:0!important;padding:0!important}
.yhn-qc-item{display:grid;grid-template-columns:84px minmax(0,1fr);gap:15px;padding:20px 0;border-bottom:1px solid var(--yhn-qc-line)}
.yhn-qc-item__image{width:84px;height:84px;border:1px solid #efebed;border-radius:10px;background:#fff;overflow:hidden}
.yhn-qc-item__image a,.yhn-qc-item__image img{display:block;width:100%;height:100%}
.yhn-qc-item__image img{object-fit:cover;margin:0!important}
.yhn-qc-item__body{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.yhn-qc-item__top{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}
.yhn-qc-item__titlewrap{min-width:0}
.yhn-qc-item__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--yhn-qc-ink)!important;text-decoration:none!important;font-size:14px;line-height:1.45;font-weight:600;letter-spacing:-.005em}
.yhn-qc-item__title:hover{color:var(--yhn-qc-pink)!important}
.yhn-qc-item__meta{margin-top:4px;color:#938b90;font-size:11px;line-height:1.4}
.yhn-qc-item__meta dl,.yhn-qc-item__meta p{margin:0}
.yhn-qc-remove{flex:0 0 28px;width:28px;height:28px;border-radius:50%}
.yhn-qc-remove:hover{background:#f4f0f2;color:var(--yhn-qc-pink)}
.yhn-qc-remove svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round}
.yhn-qc-item__bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.yhn-qc-qty{display:grid;grid-template-columns:30px 34px 30px;height:32px;border:1px solid #ded9dc;border-radius:8px;background:#fff;overflow:hidden}
.yhn-qc-qty button,.yhn-qc-qty input{appearance:none!important;-webkit-appearance:none!important;border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:0!important;min-height:0!important;height:30px!important;color:#5f585d!important;text-align:center;font-size:13px!important;line-height:30px!important}
.yhn-qc-qty button{cursor:pointer;font-size:16px!important;font-weight:400!important}
.yhn-qc-qty button:hover{background:#f7f4f5!important;color:var(--yhn-qc-pink)!important}
.yhn-qc-qty input{-moz-appearance:textfield!important;width:34px!important;font-weight:600!important;border-left:1px solid #eee9eb!important;border-right:1px solid #eee9eb!important}
.yhn-qc-qty input::-webkit-outer-spin-button,.yhn-qc-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.yhn-qc-item__price{font-size:14px;font-weight:700;color:var(--yhn-qc-ink);white-space:nowrap}
.yhn-qc-sidecart__foot{padding:20px 26px max(22px,env(safe-area-inset-bottom));border-top:1px solid var(--yhn-qc-line);background:#fff}
.yhn-qc-subtotal{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:8px}
.yhn-qc-subtotal>span{font-size:13px;font-weight:600;color:#5d565a}
.yhn-qc-subtotal small{display:block;margin-top:2px;color:#989096;font-weight:400;font-size:11px}
.yhn-qc-subtotal strong{color:var(--yhn-qc-ink);font-size:18px;line-height:1.2;letter-spacing:-.01em}
.yhn-qc-shipping-note{margin:0 0 16px!important;color:#958d92;font-size:11.5px;line-height:1.45}
.yhn-qc-btn{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:46px;padding:11px 16px!important;border-radius:8px!important;text-decoration:none!important;text-transform:none!important;letter-spacing:.02em!important;font-size:12.5px!important;font-weight:700!important;box-shadow:none!important;transition:background .18s ease,border-color .18s ease,color .18s ease!important}
.yhn-qc-btn--primary{border:1px solid var(--yhn-qc-pink)!important;background:var(--yhn-qc-pink)!important;color:#fff!important}
.yhn-qc-btn--primary:hover{background:var(--yhn-qc-pink-dark)!important;border-color:var(--yhn-qc-pink-dark)!important;color:#fff!important}
.yhn-qc-btn--quiet{margin-top:9px;border:1px solid #ded9dc!important;background:#fff!important;color:#4f484d!important}
.yhn-qc-btn--quiet:hover{border-color:#c8c0c5!important;background:#faf8f8!important;color:var(--yhn-qc-ink)!important}
.yhn-qc-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:52px 34px}
.yhn-qc-empty__icon{display:grid;place-items:center;width:58px;height:58px;margin-bottom:18px;border:1px solid var(--yhn-qc-line);border-radius:50%;color:#92898f}
.yhn-qc-empty__icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.yhn-qc-empty h3{margin:0 0 7px;font-size:20px;font-weight:650;color:var(--yhn-qc-ink)}
.yhn-qc-empty p{max-width:270px;margin:0 0 22px!important;color:var(--yhn-qc-muted);font-size:13px;line-height:1.6}
.yhn-qc-sidecart.is-busy .yhn-qc-sidecart__contents{opacity:.55;pointer-events:none}
.yhn-qc-sidecart.is-busy:after{content:"";position:absolute;left:50%;top:50%;width:24px;height:24px;margin:-12px;border:2px solid #eadde3;border-top-color:var(--yhn-qc-pink);border-radius:50%;animation:yhn-qc-spin .75s linear infinite}
@keyframes yhn-qc-spin{to{transform:rotate(360deg)}}

/* ---- Cart: Quiet Premium ---- */
.woocommerce-cart.yhn-qc-cart-enabled{background:#fffdfc!important}
.woocommerce-cart.yhn-qc-cart-enabled .page-wrapper{padding-top:20px}
.woocommerce-cart.yhn-qc-cart-enabled .woocommerce{max-width:1180px;margin-left:auto;margin-right:auto}
.woocommerce-cart.yhn-qc-cart-enabled .checkout-page-title{margin:4px 0 24px!important;padding:0!important;background:transparent!important;border:0!important}
.woocommerce-cart.yhn-qc-cart-enabled .checkout-breadcrumbs{font-size:12px!important;line-height:1.3!important;text-transform:none!important;letter-spacing:.02em!important;color:#a39ba0!important}
.woocommerce-cart.yhn-qc-cart-enabled .checkout-breadcrumbs a{color:#9c9499!important;font-weight:500!important}
.woocommerce-cart.yhn-qc-cart-enabled .checkout-breadcrumbs .current{color:var(--yhn-qc-ink)!important;font-weight:700!important}
.woocommerce-cart.yhn-qc-cart-enabled .checkout-breadcrumbs .divider{opacity:.35;margin:0 10px!important}
.yhn-qc-cart-intro{margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid var(--yhn-qc-line)}
.yhn-qc-cart-intro h1{margin:0!important;color:var(--yhn-qc-ink)!important;font-size:28px!important;line-height:1.2!important;font-weight:650!important;letter-spacing:-.025em!important;text-transform:none!important}
.yhn-qc-cart-intro p{margin:7px 0 0!important;color:var(--yhn-qc-muted)!important;font-size:13px!important;line-height:1.55!important}
.woocommerce-cart.yhn-qc-cart-enabled .cart-wrapper>.row{align-items:flex-start}
.woocommerce-cart.yhn-qc-cart-enabled .woocommerce-cart-form,
.woocommerce-cart.yhn-qc-cart-enabled .cart-collaterals{background:#fff;border:1px solid var(--yhn-qc-line)!important;border-radius:var(--yhn-qc-radius)!important;box-shadow:0 8px 30px rgba(32,26,30,.035)!important}
.woocommerce-cart.yhn-qc-cart-enabled .woocommerce-cart-form{padding:10px 20px 15px!important}
.woocommerce-cart.yhn-qc-cart-enabled table.shop_table{border:0!important;margin:0!important}
.woocommerce-cart.yhn-qc-cart-enabled table.shop_table thead th{padding:14px 8px 12px!important;border-bottom:1px solid var(--yhn-qc-line)!important;color:#928a8f!important;font-size:10px!important;line-height:1.2!important;letter-spacing:.08em!important;font-weight:650!important;text-transform:uppercase!important}
.woocommerce-cart.yhn-qc-cart-enabled table.shop_table td{padding:18px 8px!important;border-bottom:1px solid var(--yhn-qc-line)!important;color:#4d474b!important;font-size:13px!important;vertical-align:middle!important}
.woocommerce-cart.yhn-qc-cart-enabled table.shop_table tr:last-child td{border-bottom:0!important}
.woocommerce-cart.yhn-qc-cart-enabled .product-thumbnail{width:88px!important}
.woocommerce-cart.yhn-qc-cart-enabled .product-thumbnail img{width:72px!important;height:72px!important;object-fit:cover;border-radius:9px!important;border:1px solid #eee9eb!important;background:#fff}
.woocommerce-cart.yhn-qc-cart-enabled .product-name a{color:var(--yhn-qc-ink)!important;font-weight:600!important;line-height:1.45!important;text-decoration:none!important}
.woocommerce-cart.yhn-qc-cart-enabled .product-name a:hover{color:var(--yhn-qc-pink)!important}
.woocommerce-cart.yhn-qc-cart-enabled .product-price,.woocommerce-cart.yhn-qc-cart-enabled .product-subtotal{color:#5d565a!important;font-weight:650!important}
.woocommerce-cart.yhn-qc-cart-enabled .product-subtotal{color:var(--yhn-qc-ink)!important}
.woocommerce-cart.yhn-qc-cart-enabled .product-remove a{display:grid!important;place-items:center!important;width:27px!important;height:27px!important;border:1px solid #e7e1e4!important;border-radius:50%!important;color:#a29a9f!important;font-size:17px!important;font-weight:300!important;line-height:1!important;text-decoration:none!important}
.woocommerce-cart.yhn-qc-cart-enabled .product-remove a:hover{border-color:#e1c7d4!important;background:#fff8fb!important;color:var(--yhn-qc-pink)!important}
.woocommerce-cart.yhn-qc-cart-enabled .quantity{display:inline-flex!important;align-items:center!important;border:1px solid #ded9dc!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important}
.woocommerce-cart.yhn-qc-cart-enabled .quantity input.qty{width:46px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important;color:#4f484d!important;text-align:center!important;font-size:13px!important;font-weight:600!important}
.woocommerce-cart.yhn-qc-cart-enabled .quantity .button.plus,.woocommerce-cart.yhn-qc-cart-enabled .quantity .button.minus{width:32px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#faf8f8!important;color:#777076!important;box-shadow:none!important;font-size:15px!important;font-weight:400!important;line-height:34px!important}
.woocommerce-cart.yhn-qc-cart-enabled .quantity .button:hover{background:#f4f0f2!important;color:var(--yhn-qc-pink)!important}
.woocommerce-cart.yhn-qc-cart-enabled .actions{padding-top:16px!important}
.woocommerce-cart.yhn-qc-cart-enabled .actions .button{min-height:40px!important;padding:9px 17px!important;border-radius:8px!important;box-shadow:none!important;text-transform:none!important;letter-spacing:.01em!important;font-size:12px!important;font-weight:650!important}
.woocommerce-cart.yhn-qc-cart-enabled .actions .button:not(.checkout-button){border:1px solid #ded9dc!important;background:#fff!important;color:#5d565a!important}
.woocommerce-cart.yhn-qc-cart-enabled .actions .button:not(.checkout-button):hover{border-color:#cfc7cc!important;background:#faf8f8!important;color:var(--yhn-qc-ink)!important}
.woocommerce-cart.yhn-qc-cart-enabled .continue-shopping{margin-right:auto}
.woocommerce-cart.yhn-qc-cart-enabled .continue-shopping .button{border-color:#ded9dc!important;color:#5d565a!important;background:#fff!important}
.woocommerce-cart.yhn-qc-cart-enabled .cart-collaterals{position:relative;padding:24px!important}
.yhn-qc-summary-kicker{display:block;margin:0 0 6px;color:#938b90;font-size:10px;line-height:1.2;letter-spacing:.12em;font-weight:650}
.woocommerce-cart.yhn-qc-cart-enabled .cart_totals{width:100%!important;float:none!important}
.woocommerce-cart.yhn-qc-cart-enabled .cart_totals>h2{margin:0 0 15px!important;color:var(--yhn-qc-ink)!important;font-size:19px!important;font-weight:650!important;letter-spacing:-.015em!important;text-transform:none!important}
.woocommerce-cart.yhn-qc-cart-enabled .cart_totals table th,.woocommerce-cart.yhn-qc-cart-enabled .cart_totals table td{padding:12px 0!important;border-bottom:1px solid var(--yhn-qc-line)!important;background:transparent!important;font-size:13px!important}
.woocommerce-cart.yhn-qc-cart-enabled .cart_totals table th{color:#756e73!important;font-weight:500!important}
.woocommerce-cart.yhn-qc-cart-enabled .cart_totals table td{text-align:right;color:#50494e!important;font-weight:600!important}
.woocommerce-cart.yhn-qc-cart-enabled .cart_totals .order-total th,.woocommerce-cart.yhn-qc-cart-enabled .cart_totals .order-total td{padding-top:16px!important;border-bottom:0!important;color:var(--yhn-qc-ink)!important;font-weight:700!important}
.woocommerce-cart.yhn-qc-cart-enabled .cart_totals .order-total td{font-size:19px!important}
.woocommerce-cart.yhn-qc-cart-enabled .wc-proceed-to-checkout{padding:17px 0 0!important}
.woocommerce-cart.yhn-qc-cart-enabled .wc-proceed-to-checkout .checkout-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:48px!important;margin:0!important;padding:12px 18px!important;border:1px solid var(--yhn-qc-pink)!important;border-radius:8px!important;background:var(--yhn-qc-pink)!important;color:#fff!important;box-shadow:none!important;text-transform:none!important;letter-spacing:.025em!important;font-size:12.5px!important;font-weight:700!important}
.woocommerce-cart.yhn-qc-cart-enabled .wc-proceed-to-checkout .checkout-button:hover{border-color:var(--yhn-qc-pink-dark)!important;background:var(--yhn-qc-pink-dark)!important}
.woocommerce-cart.yhn-qc-cart-enabled .coupon{margin-top:17px!important;padding-top:17px!important;border-top:1px solid var(--yhn-qc-line)!important}
.woocommerce-cart.yhn-qc-cart-enabled .coupon label{display:block!important;margin:0 0 8px!important;color:#6b6469!important;font-size:12px!important;font-weight:650!important}
.woocommerce-cart.yhn-qc-cart-enabled .coupon input{height:40px!important;border:1px solid #ded9dc!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;font-size:12px!important}
.woocommerce-cart.yhn-qc-cart-enabled .coupon .button{height:40px!important;border-radius:8px!important;background:#403b3f!important;border-color:#403b3f!important;color:#fff!important}
.woocommerce-cart.yhn-qc-cart-enabled .woocommerce-shipping-destination,.woocommerce-cart.yhn-qc-cart-enabled .woocommerce-shipping-calculator{color:#8e878c!important;font-size:11.5px!important;line-height:1.5!important}

@media(min-width:850px){
  .woocommerce-cart.yhn-qc-cart-enabled .cart-collaterals{position:sticky;top:105px}
}

@media(max-width:849px){
  .yhn-qc-sidecart{width:min(390px,100vw)}
  .yhn-qc-sidecart__head{padding:20px 18px 16px}
  .yhn-qc-sidecart__head h2{font-size:21px}
  .yhn-qc-sidecart__scroll{padding-left:18px;padding-right:18px}
  .yhn-qc-item{grid-template-columns:76px minmax(0,1fr);gap:13px;padding:17px 0}
  .yhn-qc-item__image{width:76px;height:76px}
  .yhn-qc-sidecart__foot{padding:17px 18px max(18px,env(safe-area-inset-bottom))}
  .yhn-qc-btn{min-height:45px}

  .woocommerce-cart.yhn-qc-cart-enabled .page-wrapper{padding-top:10px}
  .woocommerce-cart.yhn-qc-cart-enabled .checkout-page-title{margin-bottom:16px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .checkout-breadcrumbs{font-size:11px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .checkout-breadcrumbs .divider{margin:0 5px!important}
  .yhn-qc-cart-intro{margin-bottom:15px;padding-bottom:14px}
  .yhn-qc-cart-intro h1{font-size:24px!important}
  .yhn-qc-cart-intro p{font-size:12.5px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .woocommerce-cart-form{padding:4px 14px 11px!important}
  .woocommerce-cart.yhn-qc-cart-enabled table.shop_table_responsive thead{display:none!important}
  .woocommerce-cart.yhn-qc-cart-enabled table.shop_table_responsive tr.cart_item{position:relative;display:grid!important;grid-template-columns:76px minmax(0,1fr);column-gap:12px;padding:16px 0!important;border-bottom:1px solid var(--yhn-qc-line)!important}
  .woocommerce-cart.yhn-qc-cart-enabled table.shop_table_responsive tr.cart_item td{display:block!important;width:auto!important;padding:0!important;border:0!important;text-align:left!important;background:transparent!important}
  .woocommerce-cart.yhn-qc-cart-enabled table.shop_table_responsive tr.cart_item td:before{display:none!important}
  .woocommerce-cart.yhn-qc-cart-enabled .product-thumbnail{display:block!important;grid-row:1/6;grid-column:1;width:76px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .product-thumbnail img{width:76px!important;height:76px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .product-name{grid-column:2;padding-right:28px!important;margin-bottom:8px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .product-name a{font-size:13.5px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .product-price{grid-column:2;margin-bottom:8px!important;font-size:12px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .product-quantity{grid-column:2;margin-bottom:8px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .product-subtotal{grid-column:2;font-size:13px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .product-remove{position:absolute!important;right:0!important;top:15px!important;z-index:2}
  .woocommerce-cart.yhn-qc-cart-enabled .actions{display:flex!important;flex-wrap:wrap;gap:8px;padding-top:13px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .actions>.button,.woocommerce-cart.yhn-qc-cart-enabled .continue-shopping{width:100%!important;margin:0!important}
  .woocommerce-cart.yhn-qc-cart-enabled .actions>.button{justify-content:center}
  .woocommerce-cart.yhn-qc-cart-enabled .cart-collaterals{margin-top:15px!important;padding:20px 17px!important;border-radius:11px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .cart_totals>h2{font-size:18px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .wc-proceed-to-checkout .checkout-button{min-height:47px!important}
  .woocommerce-cart.yhn-qc-cart-enabled .ft-chatbox{display:none!important}
}

@media(prefers-reduced-motion:reduce){
  .yhn-qc-overlay,.yhn-qc-sidecart,.yhn-qc-btn,.yhn-qc-close{transition:none!important}
  .yhn-qc-sidecart.is-busy:after{animation:none!important}
}
