/* Layout */
/*.cart-section {
  padding: 60px 0;
}*/
.cart-page {
    padding: 30px 0;
}
.cart-title {
  font-size: 34px;
  margin-bottom: 40px;
  position: relative;
}

.cart-title::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #c60000;
  display: block;
  margin-top: 12px;
}

/* Grid */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Product Card */
.cart-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.cart-card:hover {
  transform: translateY(-4px);
}

/* Image */
.cart-img img {
  width: 80px;
  border-radius: 12px;
}

/* Info */
.cart-info h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.design-code {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.specs span {
  font-size: 13px;
  margin-right: 15px;
  color: #666;
}

/* Price */
.cart-price {
  margin-left: auto;
  font-weight: 600;
  font-size: 18px;
  color: #111;
  position: relative;
}

.remove-btn {
  display: block;
  margin-top: 8px;
  background: none;
  border: none;
  color: #c60000;
  font-size: 16px;
  cursor: pointer;
}

/* Summary */
.cart-summary {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
  height: fit-content;
  position: sticky;
  top: 40px;
}

.cart-summary h3 {
  margin-bottom: 25px;
  font-size: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 15px;
}

.summary-row.total {
  border-top: 1px solid #eee;
  padding-top: 15px;
  font-weight: 600;
  font-size: 18px;
}

/* Buttons */
.checkout-btn {
  width: 100%;
  background: #c60000;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 30px;
  margin-top: 25px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.checkout-btn:hover {
  background: #8f0b0b;
}

.continue-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #c60000;
  color: #c60000;
  padding: 14px;
  border-radius: 30px;
  margin-top: 12px;
  font-size: 15px;
  cursor: pointer;
}
.premium-checkout {
  /*padding: 60px 0;*/
}

.checkout-wrapper {
  /*max-width: 1200px;*/
  margin: auto;
 /* display: flex;
  gap: 40px;*/
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* LEFT SIDE */
.checkout-left {
  /*flex: 2;*/
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.address-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: 0.3s;
      align-items: self-start;
}

.address-card:hover {
  border-color: #c60000;
}

.address-card.active {
  border: 1px solid #c60000;
  background: #f7f1f1;
}

.address-card input {
  margin-top: 6px;
}

.address-content h4 {
  margin: 0;
  font-size: 16px;
}

.address-content p {
  font-size: 14px;
  color: #000;
  margin: 5px 0;
}

.edit-btn {
  background: none;
  border: none;
  color: #c60000;
  font-size: 13px;
  cursor: pointer;
}

.add-address {
  margin-top: 10px;
  background: none;
  border: none;
  color: #c60000;
  font-weight: 600;
  cursor: pointer;
}

.billing-box {
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
}

/* RIGHT SIDE */
.checkout-right {
  flex: 1;
  background: #fafafa;
  padding: 25px;
  border-radius: 15px;
}

.product-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.product-item img {
  width: 70px;
  border-radius: 10px;
}

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

.product-info span {
  color: #c60000;
  font-weight: 600;
}

.summary-total {
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.summary-total div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.grand-total {
  font-size: 18px;
  font-weight: bold;
  color: #c60000;
}

/* BUTTONS */
.checkout-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.btn-dark {
  background: #111;
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
}

.btn-outline {
  border: 1px solid #111;
  padding: 12px 12px;
  border-radius: 8px;
  background: transparent;
}

.add-address {
  background: #111;
  color: #fff;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.add-address:hover {
  background: #c60000;
  color: #000;
}

/* Hidden by default */
.address-form-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}

/* Active State */
.address-form-wrapper.active {
  max-height: 1000px;
  opacity: 1;
  margin-top: 20px;
}

.address-form {
  background: #fff;
  padding: 25px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c60000;
}

.save-btn {
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.save-btn:hover {
  background: #c60000;
  color: #000;
}
/* ===== Billing Section Wrapper ===== */
.slds-form-element {
  border: none;
  padding: 0;
}

/* ===== Address Card ===== */
.slds-form-element .mb-3 {
  border: 1px solid #eee;
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  background: #fff;
  transition: 0.3s ease;
  position: relative;
}

.slds-form-element .mb-3:hover {
  border-color: #c60000;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* ===== Radio Alignment ===== */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-check-input {
     margin-top: 6px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    position: absolute;
}

.form-check-input:checked {
  background-color: #c60000;
  border-color: #c60000;
}

/* ===== Address Text ===== */
.form-check-label p {
    font-size: 13px;
    color: #000;
    line-height: 22px;
  margin-bottom: 6px;
}

/* ===== Edit & Save Buttons ===== */
.edit_Adres,
.deliver-here {
  font-size: 13px;
  font-weight: 500;
  margin-left: auto;
}

.edit_Adres {
  color: #c60000 !important;
}

.deliver-here {
  border-color: #c60000 !important;
  color: #c60000 !important;
}

.deliver-here:hover {
  background: #c60000 !important;
  color: #fff !important;
}

/* ===== Edit Form Section ===== */
.collapse_florm {
  display: none;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed #ddd;
}

/* ===== Active Form ===== */
.collapse_florm.active {
  display: block;
}

/* ===== Form Inputs ===== */
.collapse_florm input,
.collapse_florm select {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 14px;
  transition: 0.3s;
}

.collapse_florm input:focus,
.collapse_florm select:focus {
  border-color: #c60000;
  box-shadow: 0 0 0 2px rgba(197,165,114,0.15);
}

/* ===== Save Button ===== */
.btn1 {
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  transition: 0.3s;
}

.btn1:hover {
  background: #c60000;
  color: #000;
}
.order-summary-list{
  height:550px;
  overflow-y: auto;
}
.order-summary-list .product-info p{
  margin-bottom: 0;
}


/* ===== Luxury Payment Wrapper ===== */
.shdml-ic {
    background: #ffffff;
   /* padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f1f1;
    max-width: 600px;
    margin: auto;*/
}

/* ===== Title ===== */
.shdml-paymemt h5 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #111;
}

/* ===== Total Amount ===== */
.shdml-paymemt p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.color4 {
    color: #b21313; /* Luxury gold */
    font-size: 20px;
    font-weight: 700;
}

/* ===== Payment Options Container ===== */
.shdml-payment-select {
    background: #fafafa;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #eee;
}
@media(min-width: 991px){
.shdml-payment-select {
background: #fafafa;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #eee;
    display: flex;
    gap: 30px;
  }
 }

/* ===== Each Option ===== */
.form-check {
     padding: 15px 51px;
    margin-bottom: 0;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
    margin-top: 0px;
}
.form-check:last-child {
    margin-bottom: 0;
}

.form-check:hover {
    border-color: #b21313;
    box-shadow: 0 5px 20px rgba(184, 134, 11, 0.08);
}

/* ===== Radio Button ===== */
.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
}

.form-check-input:checked {
    accent-color: #b8860b; /* gold */
}

/* ===== Label ===== */
.form-check-label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

/* Disabled */
.form-check-input:disabled + .form-check-label {
    color: #aaa;
}

/* ===== Order Button ===== */
.shdml-order-btn {
    margin-top: 30px;
}

.btn1 {
    /*width: 100%;*/
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
   background: linear-gradient(135deg, #780606, #c20c0c);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn1:hover {
    background: linear-gradient(135deg, #820c0c, #c60000);
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.3);
    transform: translateY(-2px);
    color: #fff;
}


/* ===== Terms Text ===== */
.shdml-order-policy {
    margin-top: 25px;
    /*text-align: center;*/
    font-size: 13px;
    color: #777;
}

.shdml-order-policy a {
    color: #b21313;
    text-decoration: none;
    font-weight: 500;
}

.shdml-order-policy a:hover {
    text-decoration: underline;
}

/* ===== Error Message ===== */
.error {
    color: #d50032;
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}


@media(max-width: 991px){
  .checkout-wrapper {
   
    padding: 20px;
    
}
.shdml-payment-select .form-check {
   
    margin-bottom: 10px;
}
}