html body.ksv2-active.ksv2-store-preview #content .woocommerce-cart-form,
html body.ksv2-active.ksv2-store-preview #content .cart_totals,
html body.ksv2-active.ksv2-store-preview #content .woocommerce-MyAccount-content,
html body.ksv2-active.ksv2-store-preview #content .woocommerce-MyAccount-navigation,
html body.ksv2-active.ksv2-store-preview #content .woocommerce-form-login{background:#fff!important;color:#222!important;padding:clamp(20px,3vw,40px)!important;border:1px solid #E5DED5!important;box-shadow:none!important;border-radius:0!important}
html body.ksv2-active.ksv2-store-preview #content table.shop_table,
html body.ksv2-active.ksv2-store-preview #content table.shop_table td,
html body.ksv2-active.ksv2-store-preview #content table.shop_table th{border-color:#E5DED5!important;background:transparent!important;color:#222!important}
html body.ksv2-active.ksv2-store-preview #content table.shop_table td,
html body.ksv2-active.ksv2-store-preview #content table.shop_table th{padding:16px!important}
html body.ksv2-active.ksv2-store-preview #content .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
html body.ksv2-active.ksv2-store-preview #content .woocommerce-MyAccount-navigation a{display:block;min-height:44px;padding:12px 0;text-decoration:none}
html body.ksv2-active.ksv2-store-preview #content .woocommerce-MyAccount-navigation .is-active a{color:#6B4935!important;font-weight:600!important;border-bottom:1px solid #6B4935}
@media(max-width:767px){html body.ksv2-active.ksv2-store-preview #content .woocommerce-MyAccount-content,
html body.ksv2-active.ksv2-store-preview #content .woocommerce-MyAccount-navigation{float:none!important;width:100%!important;margin:0 0 24px!important}
html body.ksv2-active.ksv2-store-preview #content .woocommerce-cart-form{overflow-x:auto}
}
@media(max-width:767px){html body.ksv2-active.ksv2-store-preview #content table.shop_table{table-layout:fixed!important;width:100%!important}html body.ksv2-active.ksv2-store-preview #content table.shop_table td,html body.ksv2-active.ksv2-store-preview #content table.shop_table th{overflow-wrap:anywhere!important;min-width:0!important;padding:12px!important}}

/* Premium cart + account */
html body.ksv2-active.ksv2-store-preview #content .woocommerce{max-width:1240px;margin:0 auto;padding:clamp(36px,6vw,80px) 24px}
html body.ksv2-active.ksv2-store-preview #content .cart_totals h2,
html body.ksv2-active.ksv2-store-preview #content .woocommerce-account h2{font-family:var(--ksv2-title-font)!important;font-weight:500!important;letter-spacing:-.025em!important}
html body.ksv2-active.ksv2-store-preview #content .wc-proceed-to-checkout .checkout-button,
html body.ksv2-active.ksv2-store-preview #content .button.checkout-button{min-height:54px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#171514!important;color:#fff!important;border-radius:0!important;font-size:11px!important;font-weight:600!important;letter-spacing:.11em!important;text-transform:uppercase!important}
html body.ksv2-active.ksv2-store-preview #content .coupon input{min-height:46px!important;border:1px solid #d8d0c7!important}
html body.ksv2-active.ksv2-store-preview #content .coupon .button,
html body.ksv2-active.ksv2-store-preview #content button[name=update_cart]{min-height:46px!important;background:#f7f4ef!important;color:#4f4943!important;border:1px solid #d8d0c7!important;border-radius:0!important}
html body.ksv2-active.ksv2-store-preview #content .wc-block-cart,
html body.ksv2-active.ksv2-store-preview #content .wc-block-components-sidebar{font-family:var(--ksv2-ui-font)!important}
html body.ksv2-active.ksv2-store-preview #content .wc-block-components-button{border-radius:0!important;min-height:52px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-size:11px!important}

/* v1.9.5 — premium WooCommerce Cart Blocks + clearly readable checkout CTA */
html body.woocommerce-cart.ksv2-active.ksv2-store-preview{
  background:#f7f4ef!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart{
  max-width:1240px!important;
  margin:0 auto!important;
  padding:clamp(34px,5vw,66px) 24px!important;
  gap:34px!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__main,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-sidebar{
  background:#fff!important;
  border:1px solid #e5ded5!important;
  border-radius:14px!important;
  box-shadow:0 14px 38px rgba(55,38,27,.07)!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__main{
  padding:clamp(20px,3vw,34px)!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-sidebar{
  padding:clamp(22px,3vw,32px)!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-items,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-sidebar-layout{
  color:#27231f!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-product-name{
  color:#6b4935!important;
  font-weight:600!important;
  line-height:1.45!important;
  text-decoration:none!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-product-metadata,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-product-details,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-product-details__name,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-product-details__value{
  color:#5f5851!important;
  line-height:1.6!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-sale-badge{
  background:#f2ebe4!important;
  border:1px solid #dfd1c5!important;
  color:#6b4935!important;
  border-radius:999px!important;
  font-weight:600!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-quantity-selector{
  border:1px solid #d8d0c7!important;
  border-radius:999px!important;
  overflow:hidden!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-totals-wrapper,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-panel{
  border-color:#e5ded5!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__totals-title,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-totals-item__label,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{
  color:#27231f!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-formatted-money-amount{
  color:#27231f!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__submit,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__submit-container{
  margin-top:18px!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__submit-button,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content a.wc-block-cart__submit-button,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-button.wc-block-cart__submit-button{
  width:100%!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #6b4935!important;
  border-radius:9px!important;
  background:#6b4935!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(107,73,53,.16)!important;
  opacity:1!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__submit-button *,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__submit-button .wc-block-components-button__text{
  color:#fff!important;
  opacity:1!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__submit-button:hover,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__submit-button:focus{
  background:#513726!important;
  border-color:#513726!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-totals-coupon__button,
html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-panel__button{
  color:#6b4935!important;
}
@media(max-width:781px){
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart{padding:28px 16px!important;gap:20px!important}
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart__main,
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-sidebar{border-radius:10px!important}
}

/* v1.10.0 — mobile cart text containment.
   WooCommerce Cart Blocks use a three-column CSS grid on small screens.
   Long product titles plus the line-total sale badge can force the total
   column wider than the cart card. Allow those grid children to shrink and
   let the saving badge wrap inside its own column instead of overflowing. */
@media(max-width:781px){
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-items__row,
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-item__wrap,
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-item__product,
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-item__total{
    min-width:0!important;
    max-width:100%!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-product-name,
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-product-metadata,
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-components-product-details{
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-item__total-price-and-sale-badge-wrapper{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    align-items:flex-end!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-item__total .wc-block-components-product-price,
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-item__total .wc-block-components-formatted-money-amount{
    max-width:100%!important;
    white-space:nowrap!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content .wc-block-cart-item__total .wc-block-components-sale-badge{
    box-sizing:border-box!important;
    max-width:100%!important;
    min-width:0!important;
    padding:4px 6px!important;
    font-size:10px!important;
    line-height:1.2!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    text-align:center!important;
  }
}


/* v1.10.1 — clean mobile cart line-item layout.
   Keep the product image and details in two usable columns, then place the
   savings badge below the product details. The duplicate line-total amount is
   hidden on mobile because the product price is already shown beside the item
   and the cart summary remains visible below. */
@media(max-width:781px){
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-items__row{
    display:grid!important;
    grid-template-columns:84px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:14px!important;
    row-gap:0!important;
    align-items:start!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-item__image{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    width:84px!important;
    max-width:84px!important;
    min-width:0!important;
    padding-right:0!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-item__image img{
    width:100%!important;
    height:auto!important;
    max-width:84px!important;
    object-fit:cover!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-item__product{
    grid-column:2!important;
    grid-row:1!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding-right:0!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-item__wrap{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-item__total{
    grid-column:2!important;
    grid-row:2!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding:8px 0 0!important;
    text-align:left!important;
    justify-self:start!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-item__total-price-and-sale-badge-wrapper{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    max-width:100%!important;
    gap:8px!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price{
    display:none!important;
  }
  html body.woocommerce-cart.ksv2-active.ksv2-store-preview #content table.wc-block-cart-items .wc-block-cart-item__total .wc-block-components-sale-badge{
    display:inline-flex!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    padding:5px 10px!important;
    font-size:10px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    text-align:left!important;
  }
}
