.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  box-sizing: border-box;
}

.coupon-status-message {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
  word-break: break-word;
}

.coupon-status-message--success {
  background: #e8f7ee;
  border-color: #b9e3c8;
  color: #1f7a3d;
}

.coupon-status-message--notice {
  background: #e9f5f5;
  border-color: #cde7e7;
  color: #17606a;
}

.coupon-status-message--error,
.coupon-status-message--already_applied {
  background: #fff0f0;
  border-color: #f2c1c1;
  color: #c62828;
}

.cart-main-content .woocommerce-message,
.cart-main-content .woocommerce-info,
.cart-main-content .coupon-status-message {
  box-shadow: none;
}

.cart-main-content .woocommerce-message,
.cart-main-content .coupon-status-message--success {
  min-height: 52px;
  padding: 16px 20px;
  font-weight: 500;
  color: #1f7a3d !important;
  background: #e8f7ee !important;
  border-color: #b9e3c8 !important;
}

.cart-main-content .woocommerce-info,
.cart-main-content .coupon-status-message--notice {
  min-height: 52px;
  padding: 16px 20px;
  font-weight: 500;
  color: #17606a !important;
  background: #e9f5f5 !important;
  border-color: #cde7e7 !important;
}

.cart-main-content .woocommerce-error,
.cart-main-content .coupon-status-message--error,
.cart-main-content .coupon-status-message--already_applied {
  display: block;
  min-height: 52px;
  padding: 16px 20px;
  color: #c62828 !important;
  background: #fff0f0 !important;
  border-color: #f2c1c1 !important;
}

.cart-main-content .woocommerce-error {
  list-style: none;
  margin: 0 0 50px;
}

.cart-main-content .woocommerce-error li {
  padding: 0;
  margin: 0;
  color: #c62828 !important;
}

.cart-main-content .coupon-status-message--error li,
.cart-main-content .coupon-status-message--already_applied li {
  padding: 0;
  margin: 0;
  color: #c62828 !important;
}

.cart-main-content .woocommerce-message a,
.cart-main-content .woocommerce-info a,
.cart-main-content .woocommerce-error a {
  color: inherit;
}

.woocommerce-error li,
.woocommerce-info.cart-empty,
.woocommerce-notices-wrapper.woocommerce-error li {
  color: rgb(212, 52, 52);
}

.woocommerce-error li {
  padding: 0 10px;
}

span.summary-value.discount-value,
.discount-value .woocommerce-Price-currencySymbol {
  color: #d81818 !important;
}

/* ==========================================================================
   Hisense Cart Page Styles - Screenshot Design
   ========================================================================== */

.e-cart-container {
  padding:60px 0 150px;
}

.e-cart-container .page-title {
  margin-bottom: 45px;
}

.cart-container {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 60px;
  align-items: start;
}

.cart-content-wrapper{
    width: 100%;
}

.cart-right-section {
  width: 100%;
}

.cart-main-content {
  width: 100%;
}

/* Cart List Styles (replacing table) */
.e-cart-table {
  width: 100%;
  background: white;
  overflow: hidden;
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
}

.cart-header-row {
  background: #015DA4; /* Dark blue header */
  padding: 10px 10px;
  border-radius: 6px;
}

.cart-header-row-inside {
  color: #ffffff;
  display: grid;
  grid-template-columns: 20% 25% 15% 16% 16% 5%;
  gap: 6px;
  margin: 0;
}

.cart-header-row > div {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.cart-item {
  margin: 0;
}

.cart-item-inside {
  display: grid !important;
 grid-template-columns: 20% 25% 15% 16% 16% 5%;
  gap: 6px;
  align-items: center;
  padding: 20px 10px;
  border-bottom: 1px solid #EBEBEB;
}



.cart-item-inside > div {
  display: block !important;
}

.product-column {
  display: flex;
  align-items: center;
}

.description-column {
  display: flex;
  align-items: center;
}

.description-column .product-description {
  margin: 0;
  font-size: 16px;
  line-height: 105%;
  color: #231F20;
}

.price-column,
.qty-column,
.total-column {
  text-align: start;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

.remove-column {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-product-info {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  padding: 0;
}

.cart-product-image {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin: 0;
  border: 1px solid #CFCFCF;
  padding: 4px;
  border-radius: 4px; /* Circular image */
  background: #fff; /* Light gray background */
  overflow: hidden;
  display: flex;
    align-items: center;
    justify-content: center;
}

.cart-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-product-details h4,
.cart-product-details a {
  font-size: 16px;
  line-height: 105%;
  font-weight: 400;
  color: #231F20;
  text-decoration: none;
  margin: 0;
  display: block;
}

.cart-product-details {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Allow text to wrap */
}

.cart-product-details a {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.price-column,
.total-column {
  text-align: start;
}

.cart-item .price-column,
.cart-item .total-column,
.cart-item .qty-column span {
  color: #231F20;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.price-column * {
  line-height: 1.1;
}

.price-prefix {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.qty-column input {
  color: #231F20;
  font-size: 16px;
  width: 34px;
  padding: 5px 0;
  border: none;
  background-color: transparent;
  border-radius: 0;
  text-align: center;
}

.woocommerce-cart .breadcrumb-section {
  display: none !important;
} 

.remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: #E70A0A !important;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(231, 10, 10, 0.18);
}

.remove-item:hover {
  background: #c90404 !important;
  color: #fff !important;
  transform: scale(1.06);
  box-shadow: 0 6px 14px rgba(231, 10, 10, 0.24);
}

.remove-item:focus-visible {
  outline: 2px solid #1f7a3d;
  outline-offset: 2px;
}

.cart-remove-dialog[hidden] {
  display: none !important;
}

.cart-remove-dialog-open {
  overflow: hidden;
}

.cart-remove-dialog {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .55);
}

.cart-remove-dialog__panel {
  box-sizing: border-box;
  width: min(440px, 100%);
  padding: 32px;
  background: #fff;
  color: #111;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.cart-remove-dialog__panel h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.cart-remove-dialog__panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.cart-remove-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.cart-remove-dialog__actions button {
  min-width: 104px;
  padding: 12px 18px;
  border: 1px solid #222;
  border-radius: 0;
  background: #fff;
  color: #222;
  font: inherit;
  cursor: pointer;
}

.cart-remove-dialog__actions .cart-remove-dialog__confirm {
  background: #222;
  color: #fff;
}

.cart-remove-dialog__actions button:focus-visible {
  outline: 2px solid #2461b1;
  outline-offset: 3px;
}

/* Terms Checkbox - Full Width */
.cart-terms-checkbox {
  width: 100%;
  display: none !important;
}

/* Shipping methods as cards on cart page */
.woocommerce-cart .woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.woocommerce-cart .woocommerce-shipping-methods li {
  flex: 1 1 0;
  max-width: 260px;
}

.woocommerce-cart .woocommerce-shipping-methods input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.woocommerce-cart .woocommerce-shipping-methods label {
  display: block;
  padding: 16px 18px;
  border-radius: 12px;
  border: 2px solid #d3e4ff;
  background-color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #141414;
  min-height: 96px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.woocommerce-cart .woocommerce-shipping-methods label .amount {
  display: block;
  margin-top: 4px;
  font-weight: 600;
}

.woocommerce-cart .woocommerce-shipping-methods .shipping-method-main {
  display: block;
  margin-bottom: 4px;
}

.woocommerce-cart .woocommerce-shipping-methods .shipping-method-meta {
  display: block;
  font-size: 12px;
  color: #5b6a80;
}

.woocommerce-cart .woocommerce-shipping-methods input[type="radio"]:checked + label {
  border-color: #0080ff;
  box-shadow: 0 0 0 1px rgba(0, 128, 255, 0.2);
  background-color: #f5f9ff;
}

.woocommerce-cart .woocommerce-shipping-methods label:hover {
  border-color: #66aaff;
  box-shadow: 0 0 0 1px rgba(102, 170, 255, 0.25);
}

.woocommerce-cart .woocommerce-shipping-destination {
  margin-top: 10px;
  font-size: 13px;
}

/* .cart-terms-checkbox label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	line-height: 24px;
	font-weight: 400;
	color: #000000;
}
*/
.cart-terms-checkbox input[type="checkbox"] {
  opacity: 0;
}


.cart_totals .proceed-to-button{
    margin-top: 80px;
}

.terms-text {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.terms-text:after {
  content: "";
  position: absolute;
  background-color: #ffffff;
  top: 3px;
  left: -25px;
  width: 15px;
  height: 15px;
  border: 1px solid #6d6d6d;
  pointer-events: none;
  border-radius: 3px;
  cursor: pointer;
}

.cart-terms-checkbox label input[type="checkbox"]:checked + .terms-text::after {
  background: url("../images/checkbox-icon.svg") #049c98 no-repeat center;
  color: #ffffff;
}

.terms-text a {
  color: #049c98;
  text-decoration: underline;
}

/* Promo Code Section */
.cart-promo-section {
  margin-top: 40px;
}

.promo-heading {
  font-size: 25px;
  font-weight: 900;
  color: #000000;
  margin:0;
}

.promo-description {
  margin: 0 0 20px 0;
}

.promo-code-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.promo-code-input-wrapper {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 640px;
  border-radius: 49px;
  border: 1px solid #EBEBEB;
  background-color: #fff;
  position: relative;
}

.promo-code-input {
  width: 100%;
  padding: 0 20px;
  padding-right: 120px;
  height: 55px;
  line-height: 55px;
  color: #000000;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  background-color: transparent;
}

.promo-code-input::placeholder {
  color: #A7A9AC;
}

.promo-apply-btn {
    width: 105px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 300px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    right: 6px;
    top: 6px;
    position: absolute;
}

.promo-apply-btn:hover {
  background: #015DA4;
  color: #fff;
}

.cart-promo-section[dir="rtl"] {
  text-align: right;
}

.cart-promo-section[dir="rtl"] .promo-code-input {
  direction: rtl;
  text-align: right;
  padding-right: 20px;
  padding-left: 120px;
}

.cart-promo-section[dir="rtl"] .promo-apply-btn {
  right: auto;
  left: 6px;
}

/* Ensure order summary stays on right */
.cart-collaterals {
  width: 100%;
}

/* Frequently Bought Together */
.frequently-bought-together {
  overflow: auto;
}

.frequently-bought-together h3 {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 500;
  color: #000000;
  margin-bottom: 20px;
  margin-top: 0;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-product .product-image {
  width: 100%;
  height: 190px;
  border: none;
  margin-bottom: 20px;
}

.related-product h4 {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0 0 10px 0;
}

.product-info {
  padding: 0;
}

.continue-shopping {
  background: #333;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.continue-shopping:hover {
  background: #555;
}

/* Order Summary */
.cart-collaterals {
  border: none !important;
}

.order-summary {
  background: #F6F6F6; /* Light gray */
  border-radius: 20px;
  padding: 40px 25px 20px;
}

.order-summary .summary-row:first-of-type {
  margin-top: 10px;
}

.order-summary h3 {
  font-size: 25px;
  line-height: 30px;
  font-weight: 900;
  color: #000000;
  margin: 0;
  margin-bottom: 10px;
}

.shipping-description {
  font-size: 14px;
  color: #000000;
  margin: 0 0 20px 0;
  line-height: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #FFFFFF;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-label {
  color: #231F20;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.summary-value {
  color: #231F20;
  font-size: 18px;
   line-height: 24px;
  font-weight: 500;
}

.free-shipping {
  color: #16940b;
}

.discount-row .summary-value {
  color: #e53935;
}

.loyalty-points {
  padding: 25px 0 10px;
  border-radius: 6px;
}

.loyalty-points p {
  margin: 0;
  font-size: 16px;
  color: #8b8b8b;
  font-weight: 400;
}

.coupon-code {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  background: #ffffff;
  border-radius: 300px;
  border: 1px solid #eaeaea;
}

.coupon-code input {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  padding: 12px 20px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
  color: #8b8b8b;
}

.order-summary .secondary-button {
  min-width: 147px;
  max-width: unset;
  width: unset;
}

.grand-total {
  margin: 30px 0 0 0;
  padding-top: 20px;
  border-radius: 15px;
  background: #ffffff; /* White box */
  padding: 20px;
}

.total-label {
  display: block;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #231F20;
}

.total-value {
  display: block;
  color: #000;
  font-size: 30px;
  line-height: 105%;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 40px;
}
.total-value .woocommerce-Price-amount.amount {
  font-size: 30px;
}

.total-note {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

.proceed-to-checkout {
  width: 100%;
  background: #2196F3; /* Bright blue */
  color: white;
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.proceed-to-checkout:hover {
  background: #1976D2;
}

.proceed-to-checkout::after {
  content: "→";
  font-size: 18px;
  color: white;
}

.proceed-to-button .secondary-button {
  margin-top: 30px;
}

/* Applied Coupons Styling */
.applied-coupons {
  padding: 15px;
  background: #ffffff;
  border-radius: 5px;
}

.applied-coupons h4 {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: #676767;
}

.applied-coupon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #d4edda;
}

.applied-coupon:last-child {
  border-bottom: none;
}

.applied-coupon .coupon-code {
  color: #16940b;
  margin: 0;
  border: 0;
}

.applied-coupon .remove-coupon {
  color: #dc3545;
  text-decoration: none;
  font-weight: 400;
  font-size: 20px;
  padding-top: 5px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.1);
  transition: background 0.3s ease;
}

.applied-coupon .remove-coupon:hover {
  background: rgba(220, 53, 69, 0.2);
}

/* Redeem Points Form Styling */
.redeem-points-form {
  margin: 20px 0;
}

.backto-shop {
  padding-top: 30px;
}

.e-cart-container .woocommerce-Price-currencySymbol {
  width: fit-content;
  display: inline-block;
  font-size: 16px;
  line-height: 26px;
  font-weight:400;
  color: #231F20;
}

.total-value .woocommerce-Price-currencySymbol{
    font-size: 30px;
    line-height: 30px;
    font-weight: bold;
    color: #231F20;
}

.amt-aed {
  color: inherit;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  margin-right: 5px;
}

.return-to-shop {
  margin: 0 0 100px;
  text-align: center;
}

.wc-empty-cart-message {
  margin-top: 60px;
}

.cart-item-inside .qty-column .screen-reader-text {
  display: none;
}

.membership-discount-info {
  margin: 15px 0 0 0;
  padding: 15px;
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-radius: 8px;
  border-left: 4px solid #ffc107;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.radeem-points {
  background-color: #eba8ae;
  padding: 20px;
  border-radius: 5px;
}

.potential-points-info {
  margin: 8px 0;
  padding: 10px;
  background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
  border-radius: 6px;
  border-left: 4px solid #28a745;
  font-size: 13px;
  color: #155724;
}

.points-redemption-section h4 {
  margin: 0 0 10px 0;
  line-height: 1;
}

.variation {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  line-height: 1;
  margin-top: 10px;
}

.variation-Installation {
  margin: 0;
}

.variation-Installation p {
  margin: 0;
  line-height: 1;
}

.order-summary.updating {
  opacity: 0.6;
  pointer-events: none;
}

.cart-item.removing,
.cart-item.updating {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.cart-item.updating {
  pointer-events: none;
}

.actions .button[name="update_cart"] {
  display: none;
}

.clear-cart-btn {
  color: white;
  border: none;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

.clear-cart-btn:hover {
  color: white;
  text-decoration: underline;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.related-product .product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-product .product-image {
  margin-bottom: 15px;
  overflow: hidden;
  padding: 10px;
  border-radius: 6px;
}

.related-product .product-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-product .product-info h4 {
  line-height: 1.4;
  min-height: 60px;
  /* font-size: 18px;
	font-weight: 400;
	margin: 0 0 8px 0;
	height: 2.8em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2; 
	-webkit-box-orient: vertical;*/
}

.related-product .product-price {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 0;
}

.related-product .product-price .woocommerce-Price-currencySymbol {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.related-product .product-price del .woocommerce-Price-amount.amount {
  font-size: 16px;
  font-weight: normal;
}

.related-product .product-actions {
  margin-top: 15px;
  display: block;
}

.related-product .add-to-cart-btn {
  background: #00b4a6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.related-product .add-to-cart-btn:hover {
  background: #009688;
}

.related-product .add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.cart-success-message,
.cart-error-message {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  padding: 15px 20px;
  border-radius: 4px;
  z-index: 9999;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  max-width: 300px;
  word-wrap: break-word;
}

.cart-success-message {
  background: #28a745;
}

.cart-error-message {
  background: #dc3545;
}

.cart-success-message.show,
.cart-error-message.show {
  opacity: 1;
  transform: translateX(0);
}

.cart-collaterals {
  width: 100%;
  border-top: 1px solid #e0e0e0;
}

.cart-collaterals .cart_totals {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.cart-collaterals .cart_totals h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5em;
  color: #333;
}

.cart-terms-checkbox.error-highlight {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
  animation: shake 0.5s ease-in-out;
}

.checkout-button.disabled,
.wc-forward.disabled,
.secondary-button.disabled,
a[href*="checkout"].disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: #ccc !important;
  border-color: #ccc !important;
}

.checkout-button.disabled:hover,
.wc-forward.disabled:hover,
.secondary-button.disabled:hover,
a[href*="checkout"].disabled:hover {
  background: #ccc !important;
  transform: none !important;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.checkout-button,
.wc-forward,
.secondary-button {
  transition: all 0.3s ease;
}

.wc-empty-cart-message {
  max-width: 720px;
  margin: 70px auto 26px;
}

.woocommerce-info.cart-empty,
.cart-empty .woocommerce-info {
  position: relative;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 112px 30px 34px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%) !important;
  border: 1px solid rgba(0, 180, 166, 0.22) !important;
  border-radius: 18px !important;
  color: #143333 !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-align: center !important;
  line-height: 1.4 !important;
  box-shadow: 0 18px 45px rgba(18, 55, 65, 0.1) !important;
}

.woocommerce-info.cart-empty::before,
.cart-empty .woocommerce-info::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  width: 62px;
  height: 62px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #00a1df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h8.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3Cpath d='M9 10h6'/%3E%3C/svg%3E") center/34px 34px no-repeat;
  box-shadow: 0 12px 28px rgba(0, 161, 223, 0.28);
}

.return-to-shop {
  margin: 0 0 100px;
  text-align: center;
}

.return-to-shop .button,
.return-to-shop .wc-backward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #00a1df !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: 0 12px 24px rgba(0, 161, 223, 0.24);
}

.return-to-shop .button:hover,
.return-to-shop .wc-backward:hover {
  background: #008cc4 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------------------
                                Cart Responsive Style
------------------------------------------------------------------------------- */

@media (max-width: 1550px) {
  .e-cart-container {
    padding: 40px 0 60px;
  }

  .e-cart-container .page-title {
    margin-bottom: 35px;
  }

  .cart-header-row > div {
    font-size: 14px;
  }

  .cart-header-row {
    padding: 22px 0;
  }

  .cart-header-row-inside {
    margin: 0 15px;
  }

  .cart-item {
    margin: 0 0;
  }

  .cart-item-inside {
    padding: 35px 0;
  }

  .cart-product-image {
    width: 75px;
    height: 75px;
  }

  .price-column,
  .total-column{
      text-align: center;
      align-items: center;
  }

  

  .cart-product-info {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-right: 8px;
  }

  .description-column{
     padding-right: 8px;
  }

  .cart-item .price-column, .cart-item .total-column{
    text-align: center;
  }

  .total-value .woocommerce-Price-amount.amount {
    font-size: 26px;
}

.total-value .woocommerce-Price-currencySymbol {
    font-size: 26px;
}

  .cart-product-details{
       width: 100%;
  }

  .cart-product-details h4,
  .cart-product-details a {
    font-size: 15px;
  }

  .description-column .product-description{
      font-size: 14px;
  }

  .cart-item-inside{
    grid-template-columns: 20% 25% 15% 16% 16% 5%;
    gap: 4px;
  }

  .cart-item .price-column,
  .cart-item .total-column,
  .cart-item .qty-column span {
    font-size: 16px;
  }

  .price-prefix {
    font-size: 14px;
    line-height: 24px;
  }

  .qty-column input {
    font-size: 14px;
  }

  .remove-column img {
    width: 20px;
  }

  .terms-text {
    font-size: 14px;
  }

  .frequently-bought-together h3 {
    font-size: 22px;
  }

  .cart-bottom-section {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 130px;
    margin-top: 75px;
  }

  .order-summary {
    padding: 30px;
  }

  .order-summary h3 {
    margin-bottom: 15px;
  }

  .summary-label {
    font-size: 16px;
  }

  .summary-row {
    padding: 15px 0;
  }

  .summary-value {
    font-size: 17px;
  }

  .loyalty-points p {
    font-size: 14px;
  }

  .coupon-code input {
    font-size: 14px;
    line-height: 14px;
  }

  .loyalty-points {
    padding: 22px 0 8px;
  }

  .redeem-points-form {
    margin: 18px 0;
  }

  .coupon-code {
    margin: 18px 0;
  }

  .grand-total {
    margin: 25px 0;
    padding: 25px 15px;
  }

  .total-label {
    font-size: 18px;
  }

  .total-value {
    font-size: 25px;
        margin-top: 20px;
  }

  .cart_totals .proceed-to-button {
    margin-top: 45px;
}

  .e-cart-table {
    margin: 0 0 25px 0;
  }

  .related-product .product-price {
    font-size: 20px;
  }

  .related-product .product-info h4 {
    font-size: 16px;
  }
}

@media (max-width: 1200px) {
  .cart-header-row > div {
    font-size: 16px;
  }

  .cart-header-row {
    padding: 20px 0;
  }

  .cart-item-inside {
    padding: 30px 0;
  }

  .cart-product-details h4,
  .cart-product-details a {
    font-size: 15px;
  }

  .cart-item .price-column,
  .cart-item .total-column,
  .cart-item .qty-column span {
    font-size: 20px;
  }

  .price-prefix {
    font-size: 13px;
    line-height: 22px;
  }

  .remove-column img {
    width: 18px;
  }

  .cart-bottom-section {
    grid-template-columns: 1fr 450px;
    gap: 115px;
    margin-top: 65px;
  }

  .order-summary {
    padding: 30px;
  }

  .order-summary h3 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .summary-label {
    font-size: 17px;
  }

  .summary-value {
    font-size: 16px;
  }

  .summary-row {
    padding: 15px 0;
  }

  .cart-product-info {
    gap: 10px;
  }


  .cart_totals .proceed-to-button {
    margin-top: 50px;
}

      .grand-total {
        margin: 15px 0;
        padding: 20px 15px;
    }

  .cart-container{
        grid-template-columns: 1fr 390px;
    gap: 35px;
  }

  .cart_totals .proceed-to-button {
    margin-top: 60px;
}

    .cart-item .price-column, .cart-item .total-column, .cart-item .qty-column span {
        font-size: 16px;
    }

        .total-value .woocommerce-Price-currencySymbol {
        font-size: 23px;
    }

        .total-value .woocommerce-Price-amount.amount {
        font-size: 23px;
    }
}

@media (max-width: 1040px) {
  .e-cart-container {
    padding: 30px 0 40px;
  }

  .e-cart-container .page-title {
    margin-bottom: 30px;
  }

  .cart-bottom-section {
    grid-template-columns: 1fr 400px;
  }

  .cart-item-inside {
    padding: 22px 0;
  }

  .cart-item .price-column,
  .cart-item .total-column,
  .cart-item .qty-column span {
    font-size: 18px;
  }

  .cart-item {
    margin: 0 20px;
  }

  .cart-header-row-inside {
    margin: 0 20px;
  }

  .e-cart-table {
    margin: 1px 0 20px 0;
  }

  .order-summary {
    padding: 25px;
  }

  .summary-row {
    padding: 15px 0;
  }

  .summary-label {
    font-size: 15px;
  }

  .loyalty-points p {
    font-size: 13px;
  }

  .loyalty-points {
    padding: 18px 0 8px;
  }

  .redeem-points-form {
    margin: 10px 0;
  }

  .coupon-code {
    margin: 10px 0;
  }

  .grand-total {
    margin: 15px 0;
    padding: 20px 15px;
  }

  .total-label {
    font-size: 16px;
  }

  .total-value {
    font-size: 28px;
  }

  .cart-item-inside {
    grid-template-columns: 20% 30% 15% 15% 15% 5%;
  }

  .cart-header-row-inside {
    grid-template-columns: 20% 30% 15% 15% 15% 5%;
  }

  .woocommerce-cart-form {
    overflow: auto;
  }

  .e-cart-table {
    min-width: 800px;
    margin-bottom: 0;
  }

  .cart-terms-checkbox {
    margin-top: 20px;
  }
}

/* ========================================
   Quantity Increment/Decrement Controls
   ======================================== */

.e-quantity-wrapper {
  display: inline-block;
  position: relative;
  width: 100%;
}

.e-quantity-controls {
  display: flex;
  align-items: center;
  border-radius: 50px;
  background: #fff;
  overflow: hidden;
  max-width: 200px;
  padding: 0px 0px;
  gap: 2px;
  width: 95px;
}

.quantity-btn {
  background: #0095D9; /* Light blue */
  border: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  user-select: none;
  border-radius: 50%;
  padding: 8px;
}

.quantity-btn:hover {
  background: #015DA4; /* Slightly darker blue on hover */
  color: #fff;
}

.quantity-btn:active {
  background: #42A5F5;
  transform: scale(0.95);
}

.quantity-btn:disabled {
  background: transparent;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.quantity-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.e-quantity-input {
  border: none !important;
  text-align: center;
  width: 60px;
  height: 40px;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  color: #000;
  outline: none;
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield;
}

/* Hide number input spinners */
.e-quantity-input::-webkit-outer-spin-button,
.e-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.e-quantity-input:focus {
  background: transparent;
}

/* Cart specific quantity styling */
/* .qty-column .e-quantity-controls {
  margin: 0 auto;
} */

/* Mobile responsive */
@media (max-width: 768px) {
  .e-quantity-controls {
    max-width: 160px;
    padding: 3px 6px;
    gap: 6px;
  }

  .quantity-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .e-quantity-input {
    width: 50px;
    height: 36px;
    font-size: 15px;
  }

  .quantity-btn svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 860px) {
  .cart-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .promo-code-input-wrapper {
    flex-direction: column;
    max-width: 100%;
  }

  .promo-apply-btn {
    width: 100%;
  }

  .cart-header-row {
    padding: 12px 0;
  }

  .cart-terms-checkbox label {
    font-size: 13px;
  }

  .cart-terms-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .cart-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }

  .cart-left-section {
    flex: 1;
  }

  .cart-collaterals {
    flex: 0 0 400px;
    margin-top: 0;
    padding: 0;
    border-top: none;
    border-left: 1px solid #e0e0e0;
  }

  .cart-collaterals .cart_totals {
    max-width: none;
    margin: 0;
  }

  .e-cart-table {
    min-width: 100%;
  }

  .e-cart-container {
    padding: 35px 0 50px;
  }

  .related-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .related-product .product-image img {
    height: 120px;
  }

  .related-product .product-info h4 {
    font-size: 15px;
  }

  .related-product .product-price {
    font-size: 18px;
  }

  .related-product .add-to-cart-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .cart-item-inside {
    display: flex !important;
    flex-wrap: wrap;
  }

  .cart-item-inside > div {
    width: 100%;
  }

  .e-cart-container {
    padding: 35px 0 50px;
  }

  .points-redemption-section {
    margin-top: 0;
  }

  .e-cart-table {
    min-width: unset;
  }

  .cart-header-row-inside {
    display: flex;
    flex-wrap: wrap;
  }

  .e-cart-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .e-cart-table li {
    width: 100%;
    margin: 0;
  }

  .cart-header-row {
    display: none;
  }

  .cart-item-inside {
    padding: 10px;
  }

  .remove-column {
    text-align: left;
  }

  .cart-product-details h4,
  .cart-product-details a {
    display: block;
    line-height: 1.3;
  }

  .variation {
    font-size: 13px;
    margin-top: 5px;
  }
}

@media (max-width: 580px) {
  .order-summary {
    padding: 25px 15px;
  }

  .cart-bottom-section {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .order-summary .secondary-button {
    min-width: 110px;
    padding: 15px 25px;
  }
}

.points-input:focus {
  box-shadow: none !important;
}
