.cart-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 50px;
}

.cart-header {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 60px;
  justify-items: center;
  margin-bottom: 20px;
}
.cart-header h2 {
  width: 84px;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 175%;
  font-family: "Montserrat";
  color: #161616;
  text-align: left;
  margin-left: 40px;
}
.select-all {
  display: flex;
  align-items: center;
  gap: 10px;
}
.select_cart {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 0.8px solid #bfbfbf;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  cursor: pointer;
}

.select_cart:checked {
  background-color: #696969;
  border-color: #696969;
  position: relative;
}
.select_cart:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
  box-sizing: border-box;
}
.selectAll {
  font-size: 16px;
  line-height: 150%;
  text-transform: capitalize;
  font-weight: 500;
  font-family: "Montserrat";
  color: #000;
  text-align: left;
}

.cart-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 100px;
}

.cart-items {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  /* border-bottom: 1px solid #eee; */
}
.item-image {
  margin-left: 20px;
  margin-right: 30px;
  width: 100%;
  max-width: 180px;
  position: relative;
  box-shadow: 2.222222089767456px 2.222222089767456px 5.56px
    rgba(151, 151, 151, 0.2);
  border-radius: 3.33px;
  background-color: #fff;
  height: 163.3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 11.1px 5.6px;
  box-sizing: border-box;
}

.item-image img {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 131px;
  flex-shrink: 0;
  object-fit: cover;
}

.item-details {
  flex-grow: 1;
}
.item-details h3 {
  font-size: 14.68px;
  line-height: 150%;
  text-transform: capitalize;
  font-weight: 600;
  font-family: "Raleway";
  color: #000;
}
.item-color-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.item-color {
  display: flex;
  gap: 10px;
  align-items: center;
}
.item-color span {
  font-size: 14.68px;
  line-height: 150%;
  text-transform: capitalize;
  font-weight: 600;
  font-family: "Raleway";
  color: #5c5a6a;
}

.color-attribute {
  width: 16px;
  position: relative;
  border-radius: 50.97px;
  border: 0.5px solid #0e1422;
  box-sizing: border-box;
  height: 16.3px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.color-attribute-child {
  width: 12px;
  border-radius: 50.97px;
  height: 12.2px;
  overflow: hidden;
  flex-shrink: 0;
}
.quantity-controls {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  border-radius: 10px;
}

.quantity-controls input {
  width: 40px;
  height: 30px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  font-family: "Nunito";
  color: #575757;
  margin: 0 5px;
  border: none;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.item-price {
  font-size: 20.1px;
  line-height: 150%;
  text-transform: capitalize;
  font-weight: 500;
  font-family: "Playfair Display";
  color: #000;
}
.cart-summary {
    padding: 20px;
    width: 100%;
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(105, 105, 105, 0.5);
    box-sizing: border-box;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 37px 59px;
    text-align: left;
    color: #000;
    font-family: 'Raleway';
}
.cart-summary h3{
    font-size: 18px;
    line-height: 175%;
    font-weight: 600;
    font-family: 'Montserrat';
    color: #000;
    text-align: left;
}

.coupon-section {
  display: flex;
  margin: 15px 0;
  width: 100%;
}

.coupon-input {
    height: 22px;
  flex-grow: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 26px;
  width: 100%;
  font-size: 12px;
    font-weight: 600;
    font-family: 'Raleway';
    color: rgba(22, 22, 22, 0.5);
}
.coupon-btn{
    font-family: "Raleway";
    position: absolute;
    margin-left: 60%;
  padding: 8px 15px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 21px;
  cursor: pointer;
  height: 40px;
}
.apply-btn {
  padding: 8px 15px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 21px;
  cursor: pointer;
  font-family: "Raleway";
  transition: all 0.3s ease;
}

/* Add this new style for the remove state */
.apply-btn.remove {
  background: #520303; /* Dark red color */
}

.available-coupons {
  color: #666;
  margin: 15px 0;
}

.price-details {
  margin-top: 20px;
  width: 100%;
}

.price-details .subtotal {
    width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  border-top:  1px solid #E5E5E580;
  padding: 20px 0;
  font-family: "Raleway";

}
.price-details .coupon-discount {
    width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  border-top:  1px solid #E5E5E580;
  padding: 20px 0;
  font-family: "Raleway";

}
.price-details .grand-total {
    width: 100%;
  display: flex;
  /* justify-content: space-between; */
  margin: 10px 0;
  border-top:  1px solid #E5E5E580;
  padding: 20px 0;
}


.checkout-btn {
    font-family: "Raleway";
  width: 100%;
  padding: 12px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 25px;
  margin-top: 20px;
  cursor: pointer;
}

.item-color {
  color: #666;
  margin: 5px 0;
}

.color-value {
  font-weight: 500;
}

.grand-total {
    justify-content: space-between;
  font-weight: bold;
  font-size: 1.1em;
  border-top: 1px solid #eee;
  padding-top: 10px;
  font-size: 14px;
  font-family: "Raleway";
}
.grand-total-fields{
    width: 50%;
}
.grand-total-text {
    font-family: "Raleway";
    font-weight: 600;
    white-space: pre-wrap;
    }
    .inclusive-of-vat {
        font-family: "Raleway";
    font-weight: 300;
    }
    .span {
        font-family: "Raleway";
    font-weight: 600;
    }
    .grand-price {
        margin-left: 15%;
        font-family: "Raleway";
        color: #458140;
    }
.coupon-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.available-coupons {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    gap: 10px;
}

.available-coupons span {
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    font-family: 'Raleway';
    color: #161616;
    white-space: pre-wrap;
}
.available-coupons {
    width: 100%;
    position: relative;
    border-radius: 30px;
    background-color: #fafafa;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    gap: 10px;
    text-align: left;
    font-size: 16px;
    color: #161616;
    font-family: "Raleway";
  }
  .coupon-options{
    width: 100%;
  }
  .coupon-option {
    padding: 10px 5px;
    margin-top: 10px;
    position: relative;
    background-color: #fafafa;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 64px;
    text-align: left;
    font-size: 16px;
    color: #161616;
    font-family: "Raleway";
    border-radius: 10px;
  }
  
  .coupon-option-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }
  .coupon-option-content span{
    position: relative;
    font-size: 12px;
    font-family: "Raleway";
    color: #161616;
    text-align: left;
    width: 50%;
  }
  
/* ==================== PAW POINTS SECTION STYLES ==================== */

.points-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f8ff;
}

.points-section .section-header {
    text-align: center;
    margin-bottom: 25px;
}

.points-section .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #458140;
    margin-bottom: 8px;
    font-family: "Montserrat";
}

.points-section .section-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-family: "Raleway";
}

.points-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.points-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.points-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.points-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    font-family: "Raleway";
    font-weight: 500;
}

.points-value {
    font-size: 20px;
    font-weight: 700;
    color: #458140;
    font-family: "Montserrat";
}

.points-redemption-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-family: "Montserrat";
}

.input-group {
    display: flex;
    align-items: center;
    max-width: 300px;
}

.input-group .form-control {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px 0 0 6px;
    font-size: 16px;
    font-family: "Raleway";
    transition: border-color 0.3s ease;
}

.input-group .form-control:focus {
    outline: none;
    border-color: #458140;
    box-shadow: 0 0 0 3px rgba(69, 129, 64, 0.1);
}

.input-group .input-group-text {
    padding: 12px 15px;
    background: #458140;
    color: white;
    border: 2px solid #458140;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    font-weight: 600;
    font-family: "Montserrat";
}

.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    font-family: "Raleway";
}

.redemption-preview {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    margin: 20px 0;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
    font-family: "Raleway";
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-item.final-price {
    font-weight: 700;
    font-size: 18px;
    color: #458140;
    border-top: 2px solid #458140;
    padding-top: 12px;
    margin-top: 8px;
}

.redeem-points-btn {
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, #458140 0%, #5cb85c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    font-family: "Montserrat";
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(69, 129, 64, 0.3);
}

.redeem-points-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 129, 64, 0.4);
    background: linear-gradient(135deg, #3d6f3d 0%, #4cae4c 100%);
}

.redeem-points-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.no-points-message {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.no-points-message p {
    margin: 10px 0;
    color: #6c757d;
    font-family: "Raleway";
}

.no-points-message p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Points Discount in Price Details */
.points-discount {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.points-header span {
    font-size: 16px;
    font-weight: 600;
    color: #458140;
    font-family: "Montserrat";
}

.remove-points-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.remove-points-btn:hover {
    background-color: #f8d7da;
}

.points-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discount-amount {
    font-size: 18px;
    font-weight: 700;
    color: #dc3545;
    font-family: "Montserrat";
}

/* Responsive Design */
@media (max-width: 768px) {
    .points-summary {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        max-width: 100%;
    }
    
    .points-section {
        padding: 20px;
        margin: 15px 0;
    }
    
    .redemption-preview {
        padding: 15px;
    }
}