/* Cart page: (edit) link next to title, +/- quantity, red bin icon.
   Done by Kautuk: (edit) links to product page (qce_edit=1&qce_cart_key=…) to change variation/addons; no in-cart edit panel. */

/* (edit) link next to product title */
.woocommerce-cart-form .product-name .hw-cart-edit-inline {
	display: inline;
	margin-left: 0.25em;
	font-size: 0.9em;
	text-decoration: underline;
	color: inherit;
}
.woocommerce-cart-form .product-name .hw-cart-edit-inline:hover {
	opacity: 0.8;
}

/* Quantity with + / - buttons */
.woocommerce-cart-form .hw-cart-quantity-wrap {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 25px;
	overflow: hidden;
	padding: 0px 5px 0px 5px;
	margin:0px;
}
.woocommerce-cart-form .hw-cart-quantity-wrap .hw-cart-qty-minus,
.woocommerce-cart-form .hw-cart-quantity-wrap .hw-cart-qty-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-width: 36px;
	height: 36px;
	padding: 0;
	font-size: 1.25em;
	line-height: 1;
	font-weight: 600;
	background: #f5f5f5;
	border: none;
	cursor: pointer;
	color: #333;
	-webkit-appearance: none;
	appearance: none;
	border-radius:20px;
}
.woocommerce-cart-form .hw-cart-quantity-wrap .hw-cart-qty-minus:hover,
.woocommerce-cart-form .hw-cart-quantity-wrap .hw-cart-qty-plus:hover {
	background: #eee;
}
.woocommerce-cart-form .hw-cart-quantity-wrap .qty {
	width: 48px;
	min-width: 48px;
	height: 36px;
	margin: 0;
	padding: 0 4px;
	text-align: center;
	border: none !important;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	-moz-appearance: textfield;
	font-size:16px;
}
.woocommerce-cart-form .hw-cart-quantity-wrap .qty::-webkit-outer-spin-button,
.woocommerce-cart-form .hw-cart-quantity-wrap .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Subtotal cell: bin at top right, subtotal below/left */
.woocommerce-cart-form .hw-cart-subtotal-with-remove {
	position: relative;
	padding-right: 2.5em;
}
/* Red bin icon only (no background) */
.woocommerce-cart-form .hw-cart-remove-bin {
	position: absolute;
	/*top: 0;*/
	right: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	background: none;
	color: #c00 !important;
	text-decoration: none;
	transition: color 0.2s;
	margin:5px;
}
.woocommerce-cart-form .hw-cart-remove-bin:hover {
	color: #a00 !important;
}
.woocommerce-cart-form .hw-cart-remove-bin svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}
.woocommerce-cart-form .hw-cart-subtotal-value {
	display: block;
}

/* Remove old remove/update row styling (no longer in DOM) 
.woocommerce-cart-form .remove-update {
	display: none !important;
}*/
.product-remove {
    display: block !important;
}
.remove-update {
	 display: block !important;
	margin-top:10px !important;
	margin-left:-14px !important;
}
.woocommerce a.remove{
    display: block;
    font-size: 1.5em;
    height: 1.5em;
    width: 1.5em;
    text-align: center;
    line-height: 1.5;
    border-radius: 100%;
    color: var(--wc-red) !important;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    background: #f5f5f5;
    margin-top: 50px;
}
@media (max-width: 767px) {
.woocommerce a.remove{
    display: block;
    font-size: 1.5em;
    height: 1.5em;
    width: 1.5em;
    text-align: center;
    line-height: 1.5;
    border-radius: 100%;
    color: var(--wc-red) !important;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    background: #f5f5f5;
	margin-top: 5px;
}
    .woocommerce-page table.shop_table_responsive.cart tr td.product-name {
    text-align: left !important;
}
	.hw-cart-item-name, .hw-cart-item-name a {
    color: #000 !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: default !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin-left: 10%;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
.woocommerce a.remove{
    display: block;
    font-size: 1.5em;
    height: 1.5em;
    width: 1.5em;
    text-align: center;
    line-height: 1.5;
    border-radius: 100%;
    color: var(--wc-red) !important;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    background: #f5f5f5;
	margin-top: 5px;
}
    .woocommerce-page table.shop_table_responsive.cart tr td.product-name {
    text-align: left !important;
}
	.hw-cart-item-name, .hw-cart-item-name a {
    color: #000 !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: default !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin-left: 17% !important;
}
}

@media (max-width: 1024px) {
.remove-update .update-button {
    width: 50px !important;
    text-transform: capitalize !important;
	}	
	.remove-update {
		margin-left:0px !important;
	}
	
	
}
.remove-update .update-button {
    width: 65px;
	text-transform:capitalize !important;
}
/* Update button - disabled state */
.remove-update .update-button:disabled {
  color: #999 !important;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Update button - enabled state */
.remove-update .update-button:not(:disabled) {
  color: #0D69A0 !important;
  text-decoration: underline;
  cursor: pointer;
}

/* iOS Safari overflow fix */
.woocommerce-cart-form .hw-cart-quantity-wrap {
  overflow: visible !important;
}

/* Base styling for variation lists */
.woocommerce td.product-name dl.variation dt {
    float: left;
    clear: both;
    margin-right: .25em;
    display: inline-block;
    list-style: none outside;
    width: 25%;
    margin: 0px !important;
}

.cart_item .product-name .variation p, 
.order_item .product-name .variation p {
    font-size: 14px !important;
    margin-top: 0 !important;
    line-height: 20px !important;
}

.woocommerce td.product-name dl.variation p {
    font-size: 14px !important;
    margin-top: 0 !important;
    line-height: 22px !important;
    font-weight: 600 !important;
}

/* Cart variation list - proper two column layout with fixed width first column */
.woocommerce-cart-form .product-name dl.variation {
    display: grid !important;
    grid-template-columns: 25% 1fr !important; /* First column fixed at 25% */
    gap: 0px 0px !important; /* Reduced row gap (was 4px, now 2px) */
    margin: 0px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important; /* Ensure full width */
}

.woocommerce-cart-form .product-name dl.variation dt {
    grid-column: 1 !important;
    font-weight: 600 !important;
    white-space: normal !important; /* Allow text to wrap */
    word-wrap: break-word !important; /* Break long words if needed */
    overflow-wrap: break-word !important; /* Modern equivalent */
    margin: 0 !important;
    padding: 0px 0px 0px 0 !important; /* Added right padding */
    align-self: start !important;
    width: 100% !important; /* Take full column width */
}

.woocommerce-cart-form .product-name dl.variation dd {
    grid-column: 2 !important;
    margin: 0 !important;
    padding: 0px 0 !important;
    align-self: start !important;
    width: 100% !important; /* Take full column width */
}

.woocommerce-cart-form .product-name dl.variation dd p {
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important; /* Allow text to wrap */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

@media (max-width: 1023px) {
    .woocommerce-cart-form .product-name dl.variation {
        grid-template-columns: 25% 1fr !important; /* Same 25% width on mobile */
        gap: 2px 8px !important; /* Even smaller gap on mobile */
    }

    .woocommerce-cart-form .product-name dl.variation dt {
        font-size: 13px !important;
    }

    .woocommerce-cart-form .product-name dl.variation dd {
        font-size: 13px !important;
    }

}


/* REMOVE overflow:hidden from quantity wrap - iOS Safari clips children */
.woocommerce-cart-form .hw-cart-quantity-wrap {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #ddd !important;
  border-radius: 25px !important;
  overflow: visible !important; 
  padding: 0px 5px !important;
  margin: 0px !important;
}


.woocommerce-cart-form .hw-cart-quantity-wrap .hw-cart-qty-minus {
  border-radius: 20px 0 0 20px !important;
}

.woocommerce-cart-form .hw-cart-quantity-wrap .hw-cart-qty-plus {
  border-radius: 0 20px 20px 0 !important;
}

/* iOS Safari - remove-update fix */
.woocommerce-cart-form .product-quantity {
  overflow: visible !important;
  position: relative !important;
}

.remove-update {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 10 !important;
  margin-top: 10px !important;
  /* iOS Safari force render */
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
  will-change: auto !important;
}

.remove-update .update-button,
.remove-update .remove-label {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
}

/* iOS Safari button appearance reset */
.remove-update .update-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: none !important;
  border: none !important;
  font-size: 14px !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin-right: 10px !important;
}

.remove-update .remove-label {
  font-size: 14px !important;
  color: #c00 !important;
  text-decoration: underline !important;
  -webkit-text-decoration: underline !important;
}

.hw-cart-variations {
    margin: 6px 0 0 0;
    padding: 0;
    font-size: 0.85em;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.hw-variation-row {
    display: flex;
    gap: 5px;
    margin-bottom: 2px;
}
.hw-cart-variations dt {
    font-weight: 600;
    margin: 0;
}

.hw-cart-variations dd {
    margin: 0;
    color: #333;
}

.hw-cart-variations dt::after {
    content: '';
}
/* ✅ Name — black, no underline, no click */
.hw-cart-item-name,
.hw-cart-item-name a {
    color: #000 !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: default !important;
	font-size:14px;
	font-weight:600;
	line-height:20px;
		
}

/* ✅ Edit link next row */
.hw-edit-row {
    display: block;
    margin-top: 0px;
}

.hw-edit-row a {
    font-size: 14px;
    color: #0D69A0;
    text-decoration: underline;
    pointer-events: auto !important; 
    cursor: pointer !important;
}
/* ===== HPW 2026 cart visual layer (scoped, preserves existing cart logic) ===== */
body.woocommerce-cart{background:#fff}.woocommerce-cart .woo-container{max-width:1440px;margin:34px auto 70px;padding:0 24px}.woocommerce-cart .post-title h1{font-size:36px;color:#101828;margin-bottom:18px}.woocommerce-cart-form{width:calc(100% - 390px);float:left}.woocommerce-cart .cart-collaterals{width:360px;float:right;position:sticky;top:24px}.woocommerce-cart-form .shop_table{border:1px solid #dbe5ef!important;border-radius:12px!important;overflow:hidden;background:#fff;box-shadow:0 10px 35px rgba(17,68,105,.04)}.woocommerce-cart-form .shop_table thead{background:linear-gradient(90deg,#086da5,#0D69A0)}.woocommerce-cart-form .shop_table thead th{color:#fff!important;padding:16px 18px!important;border:0!important;font-weight:700!important}.woocommerce-cart-form .cart_item td{padding:24px 18px!important;border-bottom:1px solid #e7edf4!important;vertical-align:middle!important}.woocommerce-cart-form .product-thumbnail{width:145px}.woocommerce-cart-form .product-thumbnail img{width:110px!important;height:110px!important;object-fit:contain;border:1px solid #e4eaf1;border-radius:10px;padding:5px}.woocommerce-cart-form .hw-cart-item-name{font-size:18px;font-weight:800;color:#101828}.woocommerce-cart-form dl.variation{display:grid;grid-template-columns:max-content 1fr;gap:5px 12px;margin:12px 0 0}.woocommerce-cart-form dl.variation dt,.woocommerce-cart-form dl.variation dd{margin:0!important;float:none!important}.woocommerce-cart-form .hw-cart-quantity-wrap{display:inline-flex!important;border:1px solid #dbe5ef;border-radius:999px;padding:4px;background:#f8fafc}.woocommerce-cart-form .hw-cart-qty-minus,.woocommerce-cart-form .hw-cart-qty-plus{width:36px;height:36px;border:0!important;background:#fff!important;border-radius:50%!important;color:#101828!important;font-size:18px!important}.woocommerce-cart-form .hw-cart-quantity-wrap .qty{width:44px!important;border:0!important;background:transparent!important;box-shadow:none!important}.woocommerce-cart-form .remove-update{display:flex;justify-content:center;gap:14px;margin-top:8px}.woocommerce-cart-form .remove-label{color:#d92d20!important;text-decoration:underline}.woocommerce-cart-form .update-button{border:0!important;background:transparent!important;color:#667085!important;padding:0!important}.woocommerce-cart .cart_totals{border:1px solid #dbe5ef;border-radius:14px;padding:24px;background:#fff;box-shadow:0 12px 38px rgba(17,68,105,.06)}.woocommerce-cart .cart_totals h2{font-size:24px;margin:0 0 18px}.woocommerce-cart .cart_totals table{border:0!important}.woocommerce-cart .cart_totals th,.woocommerce-cart .cart_totals td{padding:14px 0!important;border-bottom:1px solid #e7edf4!important}.woocommerce-cart .wc-proceed-to-checkout a{display:block!important;border-radius:8px!important;background:linear-gradient(90deg,#086da5,#0D69A0)!important;color:#fff!important;text-align:center!important;padding:16px!important;font-weight:800!important}.woocommerce-cart-form tr:last-child.actions{display:none}.woocommerce-cart .woocommerce-terms-and-conditions-wrapper{clear:both}.woocommerce-cart .woo-container:after{content:"";display:block;clear:both}
.hpw-cart-loading{position:fixed;inset:0;background:rgba(255,255,255,.55);z-index:9998;display:grid;place-items:center}.hpw-cart-loading:after{content:"";width:42px;height:42px;border:4px solid #dbeafe;border-top-color:#0D69A0;border-radius:50%;animation:hpwCartSpin .7s linear infinite}@keyframes hpwCartSpin{to{transform:rotate(360deg)}}
@media(max-width:980px){.woocommerce-cart-form,.woocommerce-cart .cart-collaterals{width:100%;float:none}.woocommerce-cart .cart-collaterals{position:static;margin-top:22px}}@media(max-width:700px){.woocommerce-cart .woo-container{padding:0 14px}.woocommerce-cart-form .cart_item td{padding:12px!important}.woocommerce-cart-form .product-thumbnail img{width:86px!important;height:86px!important}}
.hpw-cart-extra{clear:both;margin:20px 0 0;border:1px solid #dbe5ef;border-radius:12px;background:#fff;padding:22px;box-shadow:0 8px 28px rgba(17,68,105,.035)}.hpw-cart-extra__head h2{font-size:22px;margin:0 0 4px;color:#101828}.hpw-cart-extra__head p{margin:0 0 18px;color:#667085}.hpw-cart-service{display:grid;grid-template-columns:28px 86px 1fr auto;gap:16px;align-items:center;padding:14px 0;border-top:1px solid #e7edf4;cursor:pointer}.hpw-cart-service input,.hpw-cart-rec input{width:19px;height:19px;accent-color:#0D69A0}.hpw-cart-service__img img{width:82px;height:64px;object-fit:cover;border-radius:8px}.hpw-cart-service__body strong{display:block;font-size:16px}.hpw-cart-service__body small{display:block;color:#667085;margin-top:4px}.hpw-cart-rec-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.hpw-cart-rec{border:1px solid #dbe5ef;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:8px;min-width:0}.hpw-cart-rec__img{height:120px;display:grid;place-items:center}.hpw-cart-rec__img img{max-width:100%;max-height:110px;object-fit:contain}.hpw-cart-rec strong{font-size:14px;line-height:1.3}.hpw-cart-rec label{margin-top:auto;display:flex;gap:8px;align-items:center;color:#344054;cursor:pointer}.hpw-extra-add:disabled{cursor:not-allowed}@media(max-width:900px){.hpw-cart-rec-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.hpw-cart-service{grid-template-columns:24px 68px 1fr}.hpw-cart-service>b{grid-column:3}.hpw-cart-rec-grid{grid-template-columns:1fr 1fr}}

/* HPW 2026 cart concept layout */
.woo-container .hpw-cart-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:24px!important;align-items:start!important}.woo-container .hpw-cart-main{min-width:0}.woo-container .hpw-cart-side{min-width:0}.woo-container .hpw-cart-side .cart-collaterals{width:100%!important;float:none!important;display:block!important}.woo-container .hpw-cart-side .cart_totals{width:100%!important;float:none!important;margin:0!important;position:sticky;top:24px;background:#fff;border:1px solid #dbe5ef;border-radius:14px;padding:22px;box-shadow:0 12px 35px rgba(17,68,105,.07)}.hpw-cart-summary h2{font-size:24px!important;color:#101828!important;margin:0 0 18px!important}.hpw-summary-row{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #e5edf5;color:#344054}.hpw-summary-row strong{color:#101828}.hpw-summary-total{font-size:18px}.hpw-summary-total strong{font-size:22px}.hpw-summary-coupon{padding:16px 0;border-bottom:1px solid #e5edf5}.hpw-summary-coupon label{display:block;font-weight:700;margin-bottom:8px}.hpw-summary-coupon>div{display:flex;gap:8px}.hpw-summary-coupon input{min-width:0;flex:1;height:44px;border:1px solid #9ebcda!important;border-radius:7px!important;padding:0 11px!important}.hpw-summary-coupon button{height:44px;border:0;border-radius:7px;background:#086fa8;color:#fff;font-weight:800;padding:0 16px}.hpw-cart-summary .checkout-button{display:flex!important;align-items:center;justify-content:center;min-height:50px!important;border-radius:8px!important;background:linear-gradient(90deg,#086fa8,#0D69A0)!important;font-weight:800!important}.hpw-summary-secure{text-align:center;color:#667085;font-size:12px;margin:10px 0 16px}.hpw-summary-benefits{background:#f7fbff;border-radius:10px;padding:8px 14px}.hpw-summary-benefits p{display:flex;gap:12px;align-items:center;margin:10px 0}.hpw-summary-benefits i{color:#0D69A0;width:22px;text-align:center}.hpw-summary-benefits b,.hpw-summary-benefits small{display:block}.hpw-summary-benefits small{color:#667085}.woo-container .woocommerce-cart-form>table .actions .coupon,.woo-container .woocommerce-cart-form>table .actions>.Subtotal{display:none!important}.hpw-cart-extra{border:1px solid #dbe5ef!important;border-radius:12px!important;background:#fff!important;padding:20px!important;margin:20px 0!important}.hpw-cart-extra__head h2{font-size:21px!important;color:#101828!important;margin:0 0 3px!important}.hpw-cart-extra__head p{color:#667085;margin:0 0 15px}.hpw-cart-service{display:grid!important;grid-template-columns:auto 78px minmax(0,1fr) auto!important;gap:15px!important;align-items:center!important;padding:12px 0!important;border-top:1px solid #e5edf5!important}.hpw-cart-service__img img{width:78px!important;height:62px!important;object-fit:contain!important}.hpw-cart-service__body strong,.hpw-cart-service__body small{display:block}.hpw-cart-service__body small{color:#667085;margin-top:4px}.hpw-cart-rec-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}.hpw-cart-rec{border:1px solid #dbe5ef!important;border-radius:9px!important;padding:12px!important;display:flex!important;flex-direction:column!important;min-width:0}.hpw-cart-rec__img img{width:100%!important;height:110px!important;object-fit:contain!important}.hpw-cart-rec strong{font-size:13px;line-height:1.3;margin:8px 0 4px}.hpw-cart-rec label{margin-top:auto;padding-top:10px;font-size:13px}.hpw-extra-add{accent-color:#0D69A0}@media(max-width:1000px){.woo-container .hpw-cart-layout{grid-template-columns:1fr!important}.woo-container .hpw-cart-side .cart_totals{position:static}.hpw-cart-rec-grid{grid-template-columns:repeat(3,1fr)!important}}@media(max-width:620px){.hpw-cart-rec-grid{grid-template-columns:repeat(2,1fr)!important}.hpw-cart-service{grid-template-columns:auto 64px 1fr!important}.hpw-cart-service>b{grid-column:3}.hpw-cart-service__img img{width:64px!important}}

/* HPW v3 cart layout: no float math; aligned two-column grid */
body.woocommerce-cart .woo-container{max-width:1440px!important;margin:34px auto 70px!important;padding:0 24px!important}
.woocommerce-cart .woocommerce-cart-form{width:100%!important;max-width:none!important;float:none!important;margin:0!important}
.woocommerce-cart .cart-collaterals{width:100%!important;float:none!important}
.woo-container .hpw-cart-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:28px!important;align-items:start!important;width:100%!important}
.woo-container .hpw-cart-main{width:100%!important;min-width:0!important}.woo-container .hpw-cart-side{width:100%!important;min-width:0!important;align-self:start!important}
.woo-container .hpw-cart-side .cart-collaterals{margin:0!important;padding:0!important}.woo-container .hpw-cart-side .cart_totals{position:sticky!important;top:24px!important;width:100%!important;margin:0!important;padding:24px!important}
.hpw-summary-coupon>div{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.hpw-summary-coupon input{width:100%!important;min-width:0!important;height:44px!important}.hpw-summary-coupon button{width:100%!important;height:44px!important}
.hpw-cart-rec-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.hpw-cart-rec{gap:7px!important}.hpw-cart-rec__action{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:38px!important;border-radius:7px!important;background:linear-gradient(90deg,#086fa8,#0D69A0)!important;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;padding:8px 9px!important;text-align:center!important}.hpw-cart-rec__action:hover{color:#fff!important;filter:brightness(.96)}
.hpw-cart-rec input,.hpw-cart-rec label{display:none!important}
@media(max-width:1180px){.woo-container .hpw-cart-layout{grid-template-columns:minmax(0,1fr) 320px!important;gap:20px!important}.woocommerce-cart-form .cart_item td{padding:18px 12px!important}.hpw-cart-rec-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:960px){.woo-container .hpw-cart-layout{grid-template-columns:1fr!important}.woo-container .hpw-cart-side{grid-row:auto!important}.woo-container .hpw-cart-side .cart_totals{position:static!important}.hpw-cart-rec-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body.woocommerce-cart .woo-container{padding:0 14px!important}.woocommerce-cart-form .shop_table{display:block!important;overflow:visible!important}.woocommerce-cart-form .shop_table thead{display:none!important}.woocommerce-cart-form .shop_table tbody,.woocommerce-cart-form .cart_item{display:block!important;width:100%!important}.woocommerce-cart-form .cart_item{position:relative!important;padding:16px!important;border-bottom:1px solid #dbe5ef!important}.woocommerce-cart-form .cart_item td{display:block!important;width:100%!important;padding:6px 0!important;border:0!important;text-align:left!important}.woocommerce-cart-form .product-thumbnail{width:100%!important}.woocommerce-cart-form .product-thumbnail img{width:100px!important;height:100px!important}.woocommerce-cart-form .product-price:before,.woocommerce-cart-form .product-subtotal:before{content:attr(data-title) ": ";font-weight:700}.woocommerce-cart-form .product-quantity{text-align:left!important}.woocommerce-cart-form .remove-update{justify-content:flex-start!important}.hpw-cart-service{grid-template-columns:auto 64px minmax(0,1fr)!important}.hpw-cart-service>b{grid-column:3!important}.hpw-cart-rec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:460px){.hpw-cart-rec-grid{grid-template-columns:1fr!important}.hpw-cart-extra{padding:14px!important}.hpw-cart-service{grid-template-columns:auto 56px minmax(0,1fr)!important;gap:9px!important}.hpw-cart-service__img img{width:56px!important;height:56px!important}.woo-container .hpw-cart-side .cart_totals{padding:18px!important}}

/* ===== HPW v4: aligned summary + responsive recommendation carousel ===== */
/*@media (min-width: 981px){
  body.woocommerce-cart .hpw-cart-side{padding-top:42px!important;align-self:start!important}
  body.woocommerce-cart .hpw-cart-side .cart_totals{top:24px!important}
}*/
.hpw-cart-rec-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
.hpw-cart-rec-nav{display:flex;gap:8px;flex:0 0 auto}
.hpw-cart-rec-nav button{width:38px;height:38px;border:1px solid #b9d1e5!important;border-radius:8px!important;background:#fff!important;color:#086fa8!important;display:grid!important;place-items:center;cursor:pointer;padding:0!important;transition:.2s ease}
.hpw-cart-rec-nav button:hover:not(:disabled){background:#086fa8!important;color:#fff!important;border-color:#086fa8!important}
.hpw-cart-rec-nav button:disabled{opacity:.35;cursor:not-allowed}
.hpw-cart-rec-viewport{overflow:hidden;width:100%;touch-action:pan-y}
.hpw-cart-recs .hpw-cart-rec-grid{display:flex!important;grid-template-columns:none!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 1px 8px!important}
.hpw-cart-recs .hpw-cart-rec-grid::-webkit-scrollbar{display:none}
.hpw-cart-recs .hpw-cart-rec{flex:0 0 calc((100% - 42px)/4)!important;min-width:0!important;scroll-snap-align:start;height:auto!important}
@media(max-width:1100px){.hpw-cart-recs .hpw-cart-rec{flex-basis:calc((100% - 28px)/3)!important}}
@media(max-width:767px){
  .hpw-cart-rec-head{align-items:flex-end!important}
  .hpw-cart-recs .hpw-cart-rec{flex-basis:calc((100% - 14px)/2)!important}
  .hpw-cart-rec-nav button{width:36px;height:36px}
}
@media(max-width:460px){
  .hpw-cart-recs .hpw-cart-rec{flex-basis:82%!important}
  .hpw-cart-rec-head{gap:10px!important}
}

/* ===== HPW v5: align order summary with cart table top ===== */
/*@media (min-width: 961px) {
  body.woocommerce-cart .woo-container .hpw-cart-side {
    padding-top: 53px !important;
  }
}*/
@media (max-width: 960px) {
  body.woocommerce-cart .woo-container .hpw-cart-side {
    padding-top: 0 !important;
  }
}


/* HPW final cart navigation safety: cart Back/Checkout must stay interactive on every viewport. */
.woocommerce-cart .hpw-cart-back,
.woocommerce-cart .checkout-button,
.woocommerce-cart button[name="proceed"]{
  pointer-events:auto!important;
  opacity:1!important;
  cursor:pointer!important;
}
.woocommerce-cart .hpw-cart-back[disabled],
.woocommerce-cart .checkout-button[disabled],
.woocommerce-cart button[name="proceed"][disabled]{
  pointer-events:auto!important;
  opacity:1!important;
}

/* HPW touch-safe checkout navigation: real link, always interactive on cart. */
body.woocommerce-cart a.hpw-checkout-link,
body.woocommerce-cart .wc-proceed-to-checkout a.hpw-checkout-link {
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
  opacity: 1 !important;
  cursor: pointer !important;
  user-select: none;
  -webkit-user-select: none;
}
@media (max-width: 1000px) {
  body.woocommerce-cart .hpw-cart-side,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-cart .wc-proceed-to-checkout {
    overflow: visible !important;
  }
  body.woocommerce-cart a.hpw-checkout-link {
    display: flex !important;
    width: 100% !important;
    min-height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ===== HPW final: make Back visually identical to Checkout ===== */
body.woocommerce-cart a.hpw-cart-back {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(90deg,#086da5,#0D69A0) !important;
  color: #fff !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
}
body.woocommerce-cart a.hpw-cart-back:hover,
body.woocommerce-cart a.hpw-cart-back:focus,
body.woocommerce-cart a.hpw-cart-back:active {
  background: linear-gradient(90deg,#086da5,#0D69A0) !important;
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(.96);
}

/* ===== HPW final-only fix: Back and Checkout exact same dimensions ===== */
body.woocommerce-cart .hpw-summary-actions > a.hpw-cart-back,
body.woocommerce-cart .hpw-summary-actions > .wc-proceed-to-checkout,
body.woocommerce-cart .hpw-summary-actions > .wc-proceed-to-checkout > a.hpw-checkout-link {
  box-sizing: border-box !important;
}
body.woocommerce-cart a.hpw-cart-back, body.woocommerce-cart .wc-proceed-to-checkout a.hpw-checkout-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    margin: 5px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 25px !important;
    background: linear-gradient(90deg, #086da5, #0D69A0) !important;
    color: #fff !important;
    font-size: inherit !important;
    font-weight: 800 !important;
    line-height: 50px !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
body.woocommerce-cart .hpw-summary-actions > .wc-proceed-to-checkout {
  margin: 0 !important;
  padding: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
}

/* HPW modern empty cart */
body.woocommerce-cart .hpw-empty-cart{position:relative;isolation:isolate;overflow:hidden;width:min(980px,calc(100% - 40px));margin:56px auto 70px;padding:58px 36px 38px;text-align:center;background:linear-gradient(145deg,#fff 0%,#f7fbff 58%,#eef7fd 100%);border:1px solid #d9e9f4;border-radius:24px;box-shadow:0 18px 55px rgba(7,91,145,.10)}
body.woocommerce-cart .hpw-empty-cart__glow{position:absolute;z-index:-1;border-radius:50%;filter:blur(2px);pointer-events:none}
body.woocommerce-cart .hpw-empty-cart__glow--one{width:230px;height:230px;top:-115px;left:-80px;background:rgba(8,117,173,.08)}
body.woocommerce-cart .hpw-empty-cart__glow--two{width:190px;height:190px;right:-75px;bottom:-100px;background:rgba(7,87,199,.08)}
body.woocommerce-cart .hpw-empty-cart__icon-stack{position:relative;width:126px;height:112px;margin:0 auto 24px}
body.woocommerce-cart .hpw-empty-cart__icon-back,body.woocommerce-cart .hpw-empty-cart__icon-mid,body.woocommerce-cart .hpw-empty-cart__icon-front{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;width:76px;height:76px;border-radius:22px;transition:transform .3s ease}
body.woocommerce-cart .hpw-empty-cart__icon-back{background:#dcefff;transform:translate(-67%,-61%) rotate(-12deg)}
body.woocommerce-cart .hpw-empty-cart__icon-mid{background:#b9ddf6;transform:translate(-34%,-53%) rotate(10deg)}
body.woocommerce-cart .hpw-empty-cart__icon-front{z-index:2;background:linear-gradient(135deg,#0875ad,#0D69A0);color:#fff;font-size:31px;box-shadow:0 14px 28px rgba(7,92,164,.25);transform:translate(-50%,-50%)}
body.woocommerce-cart .hpw-empty-cart:hover .hpw-empty-cart__icon-front{transform:translate(-50%,-55%)}
body.woocommerce-cart .hpw-empty-cart__spark{position:absolute;z-index:3;display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:#fff;color:#0875ad;box-shadow:0 6px 16px rgba(7,91,145,.14);font-size:10px}
body.woocommerce-cart .hpw-empty-cart__spark--one{right:2px;top:5px}
body.woocommerce-cart .hpw-empty-cart__spark--two{left:4px;bottom:5px}
body.woocommerce-cart .hpw-empty-cart__eyebrow{margin:0 0 8px!important;color:#0875ad!important;font-size:13px!important;font-weight:800!important;letter-spacing:.09em;text-transform:uppercase}
body.woocommerce-cart .hpw-empty-cart h1{margin:0 0 12px!important;color:#173b56!important;font-size:clamp(28px,4vw,42px)!important;line-height:1.15!important;font-weight:800!important}
body.woocommerce-cart .hpw-empty-cart__copy{max-width:620px;margin:0 auto 26px!important;color:#5c6f82!important;font-size:16px!important;line-height:1.7!important}
body.woocommerce-cart .hpw-empty-cart__actions{display:flex;justify-content:center}
body.woocommerce-cart a.hpw-empty-cart__shop{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:11px;min-width:245px;min-height:54px;padding:0 25px!important;border:0!important;border-radius:28px!important;background:linear-gradient(90deg,#086da5,#0D69A0)!important;color:#fff!important;font-size:14px!important;font-weight:800!important;letter-spacing:.035em;text-decoration:none!important;box-shadow:0 12px 24px rgba(7,91,170,.2)!important;transition:transform .2s ease,box-shadow .2s ease!important}
body.woocommerce-cart a.hpw-empty-cart__shop:hover,body.woocommerce-cart a.hpw-empty-cart__shop:focus{color:#fff!important;transform:translateY(-2px);box-shadow:0 16px 30px rgba(7,91,170,.28)!important}
body.woocommerce-cart .hpw-empty-cart__arrow{transition:transform .2s ease}
body.woocommerce-cart a.hpw-empty-cart__shop:hover .hpw-empty-cart__arrow{transform:translateX(4px)}
body.woocommerce-cart .hpw-empty-cart__trust{display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap;margin-top:34px;padding-top:24px;border-top:1px solid #dce9f2;color:#526575;font-size:13px;font-weight:700}
body.woocommerce-cart .hpw-empty-cart__trust span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
body.woocommerce-cart .hpw-empty-cart__trust i{color:#0875ad;font-size:15px}
@media(max-width:767px){body.woocommerce-cart .hpw-empty-cart{width:calc(100% - 24px);margin:28px auto 42px;padding:42px 18px 28px;border-radius:18px}body.woocommerce-cart .hpw-empty-cart__icon-stack{transform:scale(.9);margin-bottom:16px}body.woocommerce-cart .hpw-empty-cart__copy{font-size:14px!important;line-height:1.6!important}body.woocommerce-cart .hpw-empty-cart__actions,body.woocommerce-cart a.hpw-empty-cart__shop{width:100%}body.woocommerce-cart a.hpw-empty-cart__shop{min-width:0;max-width:360px}body.woocommerce-cart .hpw-empty-cart__trust{gap:14px 20px;margin-top:28px;padding-top:20px;font-size:12px}}
@media(max-width:430px){body.woocommerce-cart .hpw-empty-cart{padding-left:15px;padding-right:15px}body.woocommerce-cart .hpw-empty-cart__trust{display:grid;grid-template-columns:1fr;justify-items:center}body.woocommerce-cart .hpw-empty-cart__eyebrow{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){body.woocommerce-cart .hpw-empty-cart *,body.woocommerce-cart .hpw-empty-cart *:before,body.woocommerce-cart .hpw-empty-cart *:after{transition:none!important}}

body.woocommerce-cart a.hpw-empty-cart__shop,
body.woocommerce-cart a.hpw-empty-cart__shop *,
body.woocommerce-cart a.hpw-empty-cart__shop:hover,
body.woocommerce-cart a.hpw-empty-cart__shop:hover * {
    color: #ffffff !important;
}
