/* InSyncPets v3.5.24.26 — unified WooCommerce presentation.
   Goal: one calm page canvas, consistent spacing, no nested-window appearance. */
:root{
  --isp26-bg:#fffaf2;
  --isp26-surface:#ffffff;
  --isp26-soft:#fffdf9;
  --isp26-line:#e7d9c6;
  --isp26-line-strong:#d7c3a7;
  --isp26-ink:#1b130d;
  --isp26-muted:#6c6055;
  --isp26-navy:#0a315d;
  --isp26-gold:#c97810;
  --isp26-green:#158655;
  --isp26-radius:18px;
  --isp26-shadow:0 14px 34px rgba(56,37,18,.055);
}

/* ---------- Shared commerce canvas ---------- */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.single-product,
body.post-type-archive-product,
body.tax-product_cat{
  background:var(--isp26-bg)!important;
}
.isp-commerce-system-page{
  background:var(--isp26-bg)!important;
  padding:28px 0 58px!important;
}
.isp-commerce-system-shell{
  width:min(1180px,calc(100% - 40px))!important;
  margin:0 auto!important;
  padding:0!important;
}

/* Strip the legacy theme shells from native cart/checkout pages. */
body.woocommerce-cart :is(.entry-content,.page-content,.commerce-content,.woo-content,.woocommerce,.wp-block-woocommerce-cart,.wc-block-cart),
body.woocommerce-checkout :is(.entry-content,.page-content,.commerce-content,.woo-content,.woocommerce,.wp-block-woocommerce-checkout,.wc-block-checkout){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-cart :is(.wc-block-components-sidebar-layout,.wc-block-cart__main,.wc-block-cart__sidebar,.wc-block-components-main,.wc-block-components-sidebar),
body.woocommerce-checkout :is(.wc-block-components-sidebar-layout,.wc-block-checkout__main,.wc-block-checkout__sidebar,.wc-block-components-main,.wc-block-components-sidebar){
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* ---------- Cart and checkout: one page, two columns ---------- */
body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,370px)!important;
  gap:34px!important;
  align-items:start!important;
  margin:0!important;
}
body.woocommerce-cart :is(.wc-block-cart__main,.wc-block-components-main),
body.woocommerce-checkout :is(.wc-block-checkout__main,.wc-block-components-main){
  min-width:0!important;
  padding:0!important;
}
body.woocommerce-cart :is(.wc-block-cart__sidebar,.wc-block-components-sidebar),
body.woocommerce-checkout :is(.wc-block-checkout__sidebar,.wc-block-components-sidebar){
  min-width:0!important;
  padding:0 0 0 30px!important;
  border-left:1px solid var(--isp26-line)!important;
  position:sticky!important;
  top:96px!important;
}

/* ---------- Headings ---------- */
body.woocommerce-cart :is(h1,h2,h3,.wc-block-components-title,.wc-block-cart__totals-title),
body.woocommerce-checkout :is(h1,h2,h3,.wc-block-components-title,.wc-block-components-checkout-step__title),
body.woocommerce-account :is(h1,h2,h3),
body.single-product :is(h1,h2,h3){
  color:var(--isp26-ink)!important;
  letter-spacing:-.035em!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title{
  margin:0!important;
  font-size:28px!important;
  line-height:1.08!important;
  font-weight:900!important;
}
body.woocommerce-cart .wc-block-cart__totals-title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-order-summary__button-text{
  margin:0 0 14px!important;
  padding:0!important;
  font-size:22px!important;
  line-height:1.1!important;
  font-weight:900!important;
  text-transform:none!important;
}

/* ---------- Checkout sections: simple separators ---------- */
body.woocommerce-checkout .wc-block-components-checkout-step{
  margin:0!important;
  padding:25px 0!important;
  border:0!important;
  border-bottom:1px solid var(--isp26-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step:first-child{padding-top:0!important}
body.woocommerce-checkout .wc-block-components-checkout-step:last-child{border-bottom:0!important;padding-bottom:0!important}
body.woocommerce-checkout :is(.wc-block-components-checkout-step__heading,.wc-block-components-checkout-step__container,.wc-block-components-checkout-step__content){
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description{
  margin:6px 0 0!important;
  font-size:14px!important;
  line-height:1.5!important;
  color:var(--isp26-muted)!important;
}

/* Contact and address should be readable, not another large card. */
body.woocommerce-checkout .wc-block-components-address-card{
  margin:13px 0 0!important;
  padding:14px 16px!important;
  border:1px solid var(--isp26-line)!important;
  border-radius:12px!important;
  background:var(--isp26-soft)!important;
  box-shadow:none!important;
}
body.woocommerce-checkout :is(.wc-block-components-panel,.wc-block-components-panel__button,.wc-block-components-payment-methods,.wc-block-checkout__payment-method){
  background:transparent!important;
  box-shadow:none!important;
}

/* ---------- Radio controls: never collide with labels ---------- */
body.woocommerce-checkout .wc-block-components-radio-control,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option{
  margin:10px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option{
  position:relative!important;
  display:block!important;
  min-height:54px!important;
  margin:8px 0!important;
  padding:14px 14px 14px 48px!important;
  border:1px solid var(--isp26-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option:has(input:checked),
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked){
  border-color:#8da6be!important;
  background:#f7fbff!important;
  box-shadow:0 0 0 2px rgba(10,49,93,.06)!important;
}
body.woocommerce-checkout .wc-block-components-radio-control__input,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option input[type="radio"]{
  position:absolute!important;
  left:16px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:20px!important;
  height:20px!important;
  margin:0!important;
  padding:0!important;
  accent-color:var(--isp26-navy)!important;
}
body.woocommerce-checkout :is(.wc-block-components-radio-control__label,.wc-block-components-radio-control__description,.wc-block-components-radio-control__secondary-label){
  margin:0!important;
  padding:0!important;
}
body.woocommerce-checkout .wc-block-components-radio-control__label{
  display:block!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:800!important;
  color:var(--isp26-ink)!important;
}
body.woocommerce-checkout .wc-block-components-radio-control__description{
  margin-top:3px!important;
  font-size:12px!important;
  line-height:1.4!important;
  color:var(--isp26-muted)!important;
}

/* ---------- Fields ---------- */
body.woocommerce-checkout :is(.wc-block-components-text-input input,.wc-block-components-combobox-control input,.wc-block-components-form select,.wc-block-components-form textarea),
body.woocommerce-account :is(input.input-text,select,textarea),
body.single-product :is(input,select,textarea){
  min-height:50px!important;
  border:1px solid var(--isp26-line-strong)!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:none!important;
  font-size:16px!important;
}
body.woocommerce-checkout :is(.wc-block-components-text-input input,.wc-block-components-combobox-control input,.wc-block-components-form select,.wc-block-components-form textarea):focus,
body.woocommerce-account :is(input.input-text,select,textarea):focus,
body.single-product :is(input,select,textarea):focus{
  outline:3px solid rgba(10,49,93,.10)!important;
  border-color:#7e98b2!important;
}

/* ---------- Express wallets: deliberately hidden for the three-step journey ---------- */
body.woocommerce-cart :is(.wc-block-components-express-payment,[class*="express-payment"],.ppcp-messages,.paypal-messages),
body.woocommerce-checkout :is(.wc-block-components-express-payment,[class*="express-payment"],.ppcp-messages,.paypal-messages){
  display:none!important;
}

/* ---------- Basket product list ---------- */
body.woocommerce-cart :is(.wc-block-cart-items,.wc-block-cart-items table,.wc-block-cart-items tbody){
  width:100%!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-cart .wc-block-cart-items__header{
  padding-bottom:10px!important;
  border-bottom:1px solid var(--isp26-line)!important;
}
body.woocommerce-cart .wc-block-cart-items__row{
  border:0!important;
  border-bottom:1px solid var(--isp26-line)!important;
  background:transparent!important;
}
body.woocommerce-cart .wc-block-cart-items__row:last-child{border-bottom:0!important}
body.woocommerce-cart .wc-block-cart-item__wrap{
  padding:18px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-cart .wc-block-cart-item__image img{
  width:82px!important;
  height:82px!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:10px!important;
  background:#fff9f0!important;
}
body.woocommerce-cart .wc-block-components-product-name{
  color:var(--isp26-ink)!important;
  font-size:16px!important;
  line-height:1.3!important;
  font-weight:900!important;
}
body.woocommerce-cart .wc-block-components-product-metadata{
  margin-top:5px!important;
  color:var(--isp26-muted)!important;
  font-size:12px!important;
  line-height:1.5!important;
}
body.woocommerce-cart .wc-block-components-quantity-selector{
  border:1px solid var(--isp26-line)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}

/* ---------- Summary: a sidebar, not a nested card ---------- */
body.woocommerce-cart :is(.wc-block-components-totals-wrapper,.wc-block-components-totals-coupon,.wc-block-components-panel),
body.woocommerce-checkout :is(.wc-block-components-order-summary,.wc-block-components-totals-wrapper,.wc-block-components-totals-coupon,.wc-block-components-panel){
  margin:0!important;
  padding:13px 0!important;
  border:0!important;
  border-top:1px solid var(--isp26-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .wc-block-components-order-summary{
  padding-top:0!important;
  border-top:0!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item{
  margin:0!important;
  padding:13px 0!important;
  border:0!important;
  border-bottom:1px solid #eee4d6!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item:last-child{border-bottom:0!important}
body.woocommerce-checkout .wc-block-components-order-summary-item__image{
  width:58px!important;
  min-width:58px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img{
  width:54px!important;
  height:54px!important;
  object-fit:contain!important;
  border-radius:9px!important;
  background:#fff9f0!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description{
  min-width:0!important;
  padding-left:10px!important;
}
body.woocommerce-checkout .wc-block-components-product-name{
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:900!important;
  color:var(--isp26-ink)!important;
}
body.woocommerce-checkout .wc-block-components-product-metadata{
  margin-top:4px!important;
  font-size:11px!important;
  line-height:1.4!important;
  color:var(--isp26-muted)!important;
}
body.woocommerce-cart .wc-block-components-totals-footer-item,
body.woocommerce-checkout .wc-block-components-totals-footer-item{
  margin:12px 0 0!important;
  padding:14px!important;
  border:0!important;
  border-radius:12px!important;
  background:#f4e2c2!important;
  box-shadow:none!important;
}
body.woocommerce-cart .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value),
body.woocommerce-checkout .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value){
  color:var(--isp26-ink)!important;
  font-size:18px!important;
  font-weight:900!important;
}

/* ---------- Main actions ---------- */
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button{
  width:100%!important;
  min-height:56px!important;
  margin:16px 0 0!important;
  padding:13px 18px!important;
  border:0!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#ad6113,#d98b15)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:16px!important;
  font-weight:900!important;
}

/* ---------- Trial / plan area: one quiet strip above checkout ---------- */
body.woocommerce-checkout .isp20-checkout-head{
  width:100%!important;
  max-width:none!important;
  margin:0 0 26px!important;
  padding:0!important;
}
body.woocommerce-checkout .isp20-progress{
  margin:0 0 14px!important;
}
body.woocommerce-checkout .isp20-checkout-copy{
  margin:0!important;
  padding:18px 20px!important;
  border:1px solid #cbe1d6!important;
  border-radius:15px!important;
  background:#f3faf6!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .isp20-checkout-copy h2{
  margin:5px 0 7px!important;
  font-size:27px!important;
}
body.woocommerce-checkout .isp20-checkout-copy>p{
  margin:0 0 12px!important;
  font-size:14px!important;
  line-height:1.5!important;
  color:#52645b!important;
}
body.woocommerce-checkout .isp22-plan-selector{
  margin:14px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .isp22-plan-head h3{font-size:22px!important;margin:3px 0 5px!important}
body.woocommerce-checkout .isp22-plan-head p{font-size:13px!important}
body.woocommerce-checkout .isp22-plan-list{gap:7px!important}
body.woocommerce-checkout .isp22-plan-row{
  min-height:64px!important;
  padding:10px 12px!important;
  border:1px solid #d8e6de!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .isp22-plan-row.is-selected{border-color:#73a58c!important;background:#f8fcfa!important;box-shadow:0 0 0 2px rgba(21,134,85,.06)!important}
body.woocommerce-checkout .isp22-plan-apply{
  min-height:48px!important;
  margin-top:10px!important;
  border-radius:10px!important;
}
body.woocommerce-checkout .isp20-trial-box{
  margin-top:12px!important;
  padding:12px 14px!important;
  border:0!important;
  border-radius:10px!important;
  background:#e7f6ee!important;
}
body.woocommerce-checkout .isp20-trial-box strong{font-size:16px!important}
body.woocommerce-checkout .isp20-trial-box span{font-size:13px!important}
body.woocommerce-checkout .isp20-trial-box small{font-size:11px!important}

/* ---------- Purchase progress: clearly clickable ---------- */
.isp20-progress-step{
  text-decoration:none!important;
  color:inherit!important;
  cursor:pointer!important;
}
.isp20-progress-step:hover .isp20-progress-copy strong{color:var(--isp26-gold)!important}

/* ---------- Thank-you page ---------- */
body.woocommerce-order-received .isp-commerce-system-shell{width:min(980px,calc(100% - 40px))!important}
body.woocommerce-order-received .woocommerce-order{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  gap:20px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received{
  margin:0!important;
  padding:16px 18px!important;
  border:1px solid #cbe1d6!important;
  border-radius:13px!important;
  background:#f3faf6!important;
  color:#205b43!important;
  font-size:17px!important;
  font-weight:850!important;
}
body.woocommerce-order-received .woocommerce-order-overview{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.woocommerce-order-received .woocommerce-order-overview li{
  margin:0!important;
  padding:12px 14px!important;
  border:1px solid var(--isp26-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  list-style:none!important;
}
body.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details){
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-order-received :is(.woocommerce-order-details__title,.woocommerce-column__title){
  margin:0 0 12px!important;
  font-size:27px!important;
}
body.woocommerce-order-received table.shop_table{
  margin:0!important;
  border:1px solid var(--isp26-line)!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td{padding:12px 14px!important}
body.woocommerce-order-received .woocommerce-customer-details address{
  padding:15px 16px!important;
  border:1px solid var(--isp26-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  font-style:normal!important;
  line-height:1.65!important;
}

/* ---------- My Account ---------- */
body.woocommerce-account .woocommerce{
  width:min(1180px,calc(100% - 40px))!important;
  margin:30px auto 56px!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  gap:28px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{
  display:grid!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:block!important;
  padding:11px 13px!important;
  border-radius:9px!important;
  background:transparent!important;
  color:var(--isp26-ink)!important;
  font-weight:800!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{
  background:#f1e5d2!important;
  color:#7b4510!important;
}
body.woocommerce-account .woocommerce-MyAccount-content{
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* ---------- Shop and product pages: same spacing language ---------- */
body.post-type-archive-product .commerce-content,
body.tax-product_cat .commerce-content,
body.single-product .commerce-content{
  width:min(1180px,calc(100% - 40px))!important;
  max-width:1180px!important;
  margin:28px auto 56px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products{
  gap:18px!important;
}
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product{
  padding:14px!important;
  border:1px solid var(--isp26-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.single-product .woocommerce div.product{
  gap:34px!important;
}
body.single-product .woocommerce div.product .summary{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.single-product .woocommerce div.product form.cart{
  padding:18px!important;
  border:1px solid var(--isp26-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .isp-commerce-system-page{padding-top:20px!important}
  .isp-commerce-system-shell{width:min(100% - 28px,760px)!important}
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout{
    grid-template-columns:1fr!important;
    gap:24px!important;
  }
  body.woocommerce-cart :is(.wc-block-cart__sidebar,.wc-block-components-sidebar),
  body.woocommerce-checkout :is(.wc-block-checkout__sidebar,.wc-block-components-sidebar){
    padding:22px 0 0!important;
    border-left:0!important;
    border-top:1px solid var(--isp26-line)!important;
    position:static!important;
  }
  body.woocommerce-account .woocommerce{grid-template-columns:1fr!important;width:min(100% - 28px,760px)!important}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  .isp-commerce-system-page{padding:14px 0 42px!important}
  .isp-commerce-system-shell{width:calc(100% - 20px)!important}
  body.woocommerce-checkout .wc-block-components-checkout-step{padding:21px 0!important}
  body.woocommerce-checkout .wc-block-components-checkout-step__title{font-size:24px!important}
  body.woocommerce-checkout .wc-block-components-radio-control__option,
  body.woocommerce-checkout .wc-block-components-radio-control-accordion-option{padding:13px 11px 13px 44px!important}
  body.woocommerce-checkout .wc-block-components-radio-control__input,
  body.woocommerce-checkout .wc-block-components-radio-control-accordion-option input[type="radio"]{left:13px!important}
  body.woocommerce-checkout .isp20-checkout-copy{padding:15px!important;border-radius:12px!important}
  body.woocommerce-checkout .isp20-checkout-copy h2{font-size:24px!important}
  body.woocommerce-checkout .isp22-plan-row{grid-template-columns:auto minmax(0,1fr)!important}
  body.woocommerce-checkout .isp22-plan-price{grid-column:2!important;text-align:left!important}
  body.woocommerce-order-received .isp-commerce-system-shell{width:calc(100% - 20px)!important}
  body.woocommerce-order-received .woocommerce-order-overview{grid-template-columns:1fr!important}
  body.woocommerce-account .woocommerce{width:calc(100% - 20px)!important}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr!important}
}
