/* Cart */

/* === Custom Cart Wrapper === */
.custom-cart-card {
	background: #fff;
	border-radius: 0px;
	padding: 25px;
	font-family: 'Helvetica Neue', sans-serif;
	margin-bottom: 30px;
    margin-left: 15%;
    margin-right: 15%;
}

.custom-cart-card h2 {
    color: #000;
    font-family: Open Sans,Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 5px;
    text-align: center;
    text-transform: uppercase;
}

/* === Cart Product Row === */
.cart-product-row {
	display: flex;
	align-items: flex-start;
	border-top: 1px solid #eee;
	padding: 20px 0;
	gap: 20px;
}

.product-thumbnail img {
	width: 70px;
	border-radius: 0px;
}

/* === Product Info === */
.product-info {
	flex: 1;
}

.product-title {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: bold;
}

.product-price {
	font-size: 14px;
	color: #666;
	margin: 6px 0;
}

/* === Quantity Row === */
.quantity-row {
	margin: 10px 0;
    width: 120px;
    display: block;
}

.quantity input[type="number"],
.quantity input[type="text"] {
	width: 60px;
	padding: 6px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 0px;
	text-align: center;
}

/* === Remove Item Link === */
.remove-item a.remove {
	color: #d9534f;
	text-decoration: none;
	font-size: 20px;
	display: inline-block;
	margin-top: 5px;
	transition: color 0.3s ease;
}

.remove-item a.remove:hover {
	color: #a94442;
}

/* === Cart Actions === */
.cart-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 15px;
	margin-top: 30px;
}

.cart-actions .coupon {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.cart-actions input[type="text"] {
	padding: 8px 12px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 0px;
}

/* === Action Buttons === */
.cart-actions .button {
	background: #f9f8f6;
	color: black;
	border: 1px solid black;
	padding: 10px 20px;
	font-weight: 400;
	cursor: pointer;
	font-size: 16px;
	border-radius: 0px;
	transition: all 0.3s ease;
}

.cart-actions .button:hover {
	box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.1);
}

.custom-cart-thumb {
	width: auto;
	max-width: 100px;
	height: auto;
	border-radius: 0px;
	object-fit: cover;
}

.product-thumbnail img {
    width: 70px;
    height: 70px;
    border-radius: 0px;
    object-fit: cover;
}

/* === Responsive === */
@media screen and (max-width: 600px) {
	.cart-product-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.cart-actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Cart */

.cart-grid {
	display: flex;
	gap: 20px;
}

.cart-column {
	flex: 1;
}

.cart-product-row {
	background: #fff;
	border-radius: 0px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	padding: 20px;
	margin-bottom: 20px;
	display: flex;
}

.product-thumbnail img {
	width: 200px;
	height: auto;
	border-radius: 0px;
}

.product-info {
	margin-left: 15px;
    margin-top: 15px;
}

a.button.checkout-button {
    background: #d6d5d366;
    color: black;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
    font-weight: 400;
    border-radius: 0px;
    border: solid 1px #8080804f;
    margin: 5px;
}

p.product-vat {
    font-size: 14px;
    color: #333;
    margin-top: 0px;
    margin-bottom: 12px;
}

p.product-price {
    font-size: 16px;
    color: #333;
    margin-bottom: 0px;
}

.remove-item .material-symbols-outlined {
    font-size: 30px;
    font-weight: 300;
    color: black;
    cursor: pointer;
}

.remove-item .material-symbols-outlined:hover {
    font-size: 30px;
    font-weight: 400;
    color: black;
    cursor: pointer;
}

.woocommerce a.remove:hover {
    color: none;
    background: none;
    text-decoration: none;
}

.cart-product-row {
	position: relative;
}

.cart-product-row .remove-item {
	position: absolute;
	top: 10px;
	right: 10px;
}

/* Cart Page */

.cart-main-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.cart-products-column {
    flex: 1;
    min-width: 300px;
    margin-top: 25px;
}

.cart-info-column {
    flex: 0 0 30%;
    padding: 10px;
}

.cart-grid {
    display: flex;
    gap: 20px;
}

.cart-column {
    flex: 1;
}

.cart-info-wrapper {
    padding: 20px;
}

.cart-actions {
    margin-bottom: 20px;
}

.coupon {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.coupon label {
    font-weight: bold;
}

.coupon .input-text {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.custom-cart-totals {
    padding-top: 15px;
}

.order-subtotal-bar,
.order-shipping-bar,
.order-vat-bar,
.order-total-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
}

.order-total-bar {
    font-weight: bold;
    font-size: 1.1em;
    padding-top: 10px;
    margin-top: 10px;
}

.checkout-button {
    background: #4CAF50;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.checkout-button:hover {
    background: #45a049;
}

/* Responsive design */
@media (max-width: 768px) {
    .cart-main-layout {
        flex-direction: column;
    }
    
    .cart-info-column {
        flex: 1;
        max-width: 100%;
        order: -1; /* Put info column first on mobile */
    }
    
    .cart-grid {
        flex-direction: column;
    }
}

    .cart-info-box {
        background: #f9f8f6;
        padding: 10px;
    }

    /* === CART INFO COLUMN STYLING === */
.cart-info-column {
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  padding: 1.5rem 1.75rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.cart-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* === PROMO CODE SECTION === */
.cart-info-box label[for="coupon_code"] {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.4rem;
}

.cart-info-box .coupon {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-info-box .coupon input.input-text {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}

.cart-info-box .coupon button.button[name="apply_coupon"] {
    background: #d6d5d366;
    color: black;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
    font-weight: 400;
    border-radius: 0px;
    border: solid 1px #8080804f;
    margin: 5px;
}

/* If Woo sets it as active, make it black */
.cart-info-box .coupon button.button[name="apply_coupon"]:not([disabled]) {
    background: #d6d5d366;
    color: black;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
    font-weight: 400;
    border-radius: 0px;
    border: solid 1px #8080804f;
    margin: 5px;
}

/* Helper text below */
.cart-info-box .coupon::after {
  content: "Only one promotional code can be applied per order";
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.3rem;
}

/* === TOTALS BLOCK === */
.custom-cart-totals {
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.95rem;
  color: #222;
}

.custom-cart-totals > div {
    color: #000;
    font-family: Open Sans,Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-weight: 100;
    line-height: 28px;
    margin-bottom: 5px;
    text-align: center;
    margin-top: 0px;
}

.custom-cart-totals span:first-child {
    color: #000;
    font-family: Open Sans,Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-weight: 100;
    line-height: 28px;
    margin-bottom: 5px;
    text-align: center;
}

.custom-cart-totals .order-subtotal-bar span:last-child,
.custom-cart-totals .order-total-bar span:last-child {
    color: #000;
    font-family: Open Sans,Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-weight: 100;
    line-height: 28px;
    margin-bottom: 5px;
    text-align: center;
}

.order-total-bar {
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-weight: 700;
}

/* === CHECKOUT BUTTON === */
.checkout-button-wrap {
  margin-top: 1.25rem;
}

.checkout-button-wrap .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: #111;
  color: #fff;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s ease;
}

.checkout-button-wrap .checkout-button:hover {
    background: #d6d5d366;
    color: black;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
    font-weight: 400;
    border-radius: 0px;
    border: solid 1px #8080804f;
    margin: 5px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .cart-info-column {
    max-width: 100%;
    margin-top: 1rem;
  }
}












/* ============================
   🧭 Cart Header Section
============================ */
.cart-header-section {
  text-align: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 2.5rem;
}

/* --- Step Progress Bar --- */
.cart-progress {
  position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
}

.cart-progress::before {
  content: "CART SUMMARY";
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #000;
  margin-bottom: 0.75rem;
  letter-spacing: 0.3px;
}

.cart-header-section {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center horizontally */
    width: 100%;
}

.cart-progress ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 100px;
    list-style: none;
}

.cart-progress li {
    margin: 0 15px; /* Space between progress items */
}

.cart-progress ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-right: 100px;
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

.cart-progress ul::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
  z-index: 0;
}

.cart-progress li {
  position: relative;
  z-index: 1;
  width: 33.33%;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

.cart-progress li::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid #999;
  border-radius: 50%;
  margin: 0 auto 6px;
}

.cart-progress li.active {
  color: #000;
  font-weight: 600;
}

.cart-progress li.active::before {
  background: #000;
  border-color: #000;
}

/* --- Page Title + Item Count --- */
.cart-page-title {
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0.25rem 0;
}

.cart-item-count {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* --- Free Delivery Banner --- */
.free-delivery-banner {
  background: #fefcf9;
  border: 1px solid #e7e3de;
  border-radius: 6px;
  display: inline-block;
  padding: 1rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.free-delivery-banner p {
  font-size: 0.95rem;
  color: #111;
  margin: 0 0 0.6rem 0;
}

.progress-bar {
  background: #ddd;
  height: 3px;
  width: 260px;
  border-radius: 2px;
  margin: 0 auto 0.2rem;
  position: relative;
  overflow: hidden;
}

.progress-bar .progress {
  width: 100%;
  height: 100%;
  background: #000;
}

.threshold {
  position: absolute;
  right: 1.25rem;
  bottom: -1rem;
  font-size: 0.8rem;
  color: #555;
}


/* Back Button */

/* ============================
   🔙 Continue Shopping Link
============================ */
.cart-back-link {
  text-align: left;
  margin-bottom: 0rem;
  padding-left: 1rem;
}

.cart-back-link a {
  font-size: 0.95rem;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cart-back-link a::before {
  content: "< ";
  font-weight: 400;
}

.cart-back-link a:hover {
  color: #666;
  text-decoration: underline;
}


/* Hide the site header ONLY on the cart page */
/*body.woocommerce-cart header.site-header,
body.woocommerce-cart .site-header {
  display: none !important;
}*/

.return-to-shop a {
	background: #f9f8f6;
	color: black;
	padding: 10px 20px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	margin-right: 10px;
	font-size: 16px;
	transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
	font-weight: 400;
	border-radius: 0px;
	border: solid 1px #8080804f;
	margin: 5px;
}

.wc-backward--custom:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dashboard-tile:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background: #f9f8f6;
}