body {
  background-color: #fff;
}

.checkout-page {
  font-family: "Inter", sans-serif;
  margin-top: 80px;
  color: #333;
}

/* === Mobile First Layout === */
.checkout-main {
  padding: 24px 16px;
}

.checkout-sidebar.scrolled {
  padding-top: 80px;
}

/* === Testimonial Slider === */
.testimonial-slider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-family: "Inter", sans-serif;
}

.testimonial-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.testimonial-arrow img {
  width: 12px;
  height: 20px;
  opacity: 0.7;
}

.testimonial-content {
  max-width: 600px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.reviewer-name {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 13.344px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 157.377% */
}

.verified-buyer {
  display: flex;
  width: 79px;
  height: 11px;
  align-items: center;
  gap: 4px;
  color: #008060;
  font-size: 14px;
  font-weight: 500;
}

.verified-icon {
  width: 100%;
}

.star-rating {
  margin-bottom: 12px;
}

.star-rating img {
  width: 20px;
  height: 20px;
}

.review-text {
  margin: 0;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 11.063px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 162.712% */
}

.checkout-sidebar {
  background-color: #fafafa;
  border-top: 1px solid #e1e1e1;
  padding: 24px 16px;
}

/* === Mobile Order Summary === */
.order-summary-mobile {
  display: block;
  margin: -24px -16px 26px;
  border-bottom: 1px solid #dfdfdf;
  background: #f6f6f6;
  padding: 16.25px 21px 17.25px 21px;
}

.summary-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-size: 16px;
  cursor: pointer;
}

.summary-toggle-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #646464;
  font-family: "Inter", sans-serif;
  font-size: 13.234px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 158.678% */
}

.toggle-icon {
  width: 20px;
  height: 20px;
}

.toggle-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.summary-totals .total .total-title {
  font-family: "Inter", sans-serif;
  font-size: 17.219px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.5px; /* 165.517% */
}

.summary-total-mobile {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 18.109px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.5px; /* 157.377% */
}

.shipping-header {
  display: flex;
  gap: 6px;
  align-items: center;
}

.summary-content-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.summary-content-mobile.expanded {
  max-height: 500px; /* Adjust as needed */
  padding-bottom: 24px;
}

.summary-toggle.expanded .toggle-chevron {
  transform: rotate(180deg);
}

/* === Express Checkout === */
.express-checkout h3 {
  margin-bottom: 16px;
  text-align: center;
  color: rgba(0, 0, 0, 0.56);
  font-family: "Inter", sans-serif;
  font-size: 13.234px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 158.678% */
}

.express-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.express-buttons button {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
}

.express-buttons button img {
  height: 24px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.btn-shop-pay {
  background-color: #5a31f4;
  grid-column: 1/3;
}

.btn-paypal {
  background-color: #ffc439;
  grid-column: 1/2;
}

.btn-gpay {
  background-color: #000;
  grid-column: 2/3;
}

/* === Divider === */
.divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}
.divider span {
  background-color: #fff;
  padding: 0 10px;
  position: relative;
  z-index: 1;
  color: rgba(0, 0, 0, 0.56);
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 150% */
}
.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e1e1e1;
  z-index: 0;
}

/* === Form Styles === */
.checkout-form .section-header {
  margin-bottom: 14px;
  margin-top: 33px;
}
.checkout-form .section-header h2 {
  margin: 0;
  display: inline-block;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 19.195px;
  font-style: normal;
  font-weight: 400;
  line-height: 25.2px; /* 131.282% */
}
.checkout-form .section-header span {
  float: right;
  font-size: 14px;
}
.checkout-form .section-header a {
  color: #646464;
  font-family: "Inter", sans-serif;
  font-size: 13.344px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 157.377% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.checkout-form .section-header p {
  margin: 4px 0 0;
  color: rgba(0, 0, 0, 0.56);
  font-family: "Inter", sans-serif;
  font-size: 13.016px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 161.345% */
}

.form-group {
  margin-bottom: 14px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #646464;
  background: var(--color-white-solid, #fff);
  box-shadow: 0px 0px 0px 1px #646464;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
  border: 1px solid #dfdfdf;
  background: #fff;
  box-shadow: none;
}

.form-row {
  display: flex;
  gap: 0px;
  flex-direction: column;
}
.form-row .form-group {
  flex: 1;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-group input {
  width: auto;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: #646464;
}

.shipping-placeholder {
  padding: 16px;
  background-color: #f8f8f8;
  border-radius: 4px;
  text-align: center;
  color: rgba(0, 0, 0, 0.56);
  font-family: "Inter", sans-serif;
  font-size: 13.125px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 160% */
}

/* === Payment Options === */
.payment-options {
  border: 1px solid #ccc;
  border-radius: 8px;
}
.payment-option {
  padding: 16px;
  border-bottom: 1px solid #ccc;
}
.payment-option:last-child {
  border-bottom: none;
}
.payment-option.active {
  background-color: #f8f8f8;
}
.payment-option .option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.payment-option .option-header label {
  flex-grow: 1;
  font-weight: 600;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 150% */
}
.payment-option .option-header img {
  height: 24px;
}
.card-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.card-icons span {
  font-size: 12px;
  font-weight: 600;
}
.option-content {
  padding-top: 16px;
}

.payment-option .option-content .checkbox-group {
  margin-top: 16px;
}

/* === Form Styles for Icons === */
.form-group.input-with-icon {
  position: relative;
}

.form-group.input-with-icon input {
  padding-right: 40px; /* Make space for the icon */
}

.input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.input-icon.left {
  right: auto;
  left: 12px;
}

.form-group.input-with-icon input[type="tel"] {
  padding-left: 40px;
}

.btn-pay-now {
  width: 100%;
  padding: 16px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
}

/* === Remember Me Section === */
.remember-me-section {
  margin-top: 30px;
}
.remember-me-title {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 14px;
}
.remember-me-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden; /* To contain the children's border-radius */
}

.remember-me-box .checkbox-group {
  padding: 16px;
  background-color: #fff;
  margin-bottom: 0;
}

.remember-me-box .phone-input-container {
  border-top: 1px solid #e1e1e1;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.04);
}
.remember-me-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}
.secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
}
.secure-note img {
  width: 14px;
  height: 14px;
}
.shop-pay-logo {
  height: 20px;
}

/* === Pay Now Container & Footer Links === */
.pay-now-container {
  margin-top: 29px;
}
.shop-terms {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-top: 16px;
}
.shop-terms a {
  color: #666;
  text-decoration: underline;
}
.checkout-footer-links {
  margin-top: 24px;
}
.checkout-footer-links hr {
  border: none;
  border-top: 1px solid #e1e1e1;
  margin-bottom: 16px;
}
.checkout-footer-links nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.checkout-footer-links a {
  font-size: 12px;
  color: #666;
  text-decoration: underline;
}

.order-summary-title {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 35px;
}

/* === Free Shipping Progress Bar === */
.free-shipping-progress {
  margin-bottom: 24px;
}
.free-shipping-progress p {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #333;
}
.progress-container {
  width: 100%;
  background-color: #e9e9e9;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background-color: #000;
  border-radius: 4px;
}

/* === Order Summary (Sidebar) === */
.summary-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.item-thumb {
  position: relative;
}
.item-thumb img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  border: 1px solid #e1e1e1;
}
.item-quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #555;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  min-width: 22px;
  min-height: 22px;
}
.item-details {
  flex-grow: 1;
}
.item-name {
  margin: 0;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 13.891px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 151.181% */
}
.item-edit {
  text-decoration: underline;
  color: #646464;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 13.125px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 160% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.item-price {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 13.344px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 157.377% */
}

.summary-promo {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
}
.summary-promo input {
  flex-grow: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.summary-promo button {
  padding: 12px 16px;
  border: 1px solid #ccc;
  color: #999;
  cursor: pointer;
  border-radius: 8px;
  opacity: 0.5;
  background: #f6f6f6;
  box-shadow: 0px 0px 0px 1px #dfdfdf inset;
}

.summary-totals .totals-row {
  display: flex;
  justify-content: space-between;
}

.summary-totals .totals-row span {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 13.016px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 161.345% */
}

.summary-totals .totals-row .shipping-address-note {
  color: rgba(0, 0, 0, 0.56);
  text-align: right;
  font-family: "Inter", sans-serif;
  font-size: 13.125px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 160% */
}

.summary-totals .totals-row .currency {
  color: rgba(0, 0, 0, 0.56);
  font-family: "Inter", sans-serif;
  font-size: 11.813px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 152.381% */
}
.summary-totals .totals-row .price {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 18.109px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.5px; /* 157.377% */
}

.summary-totals .totals-row.total {
  font-size: 20px;
  font-weight: 600;
  margin-top: 16px;
}
.tax-note {
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* === Smell Great Section === */
.smell-great-section {
  text-align: center;
  margin: 24px 0;
  font-family: "Inter", sans-serif;
}

.smell-great-section .divider {
  margin-bottom: 24px;
}

.smell-great-title {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  color: #000;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.2px; /* 120% */
}

.smell-great-products {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.smell-great-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e1e1e1;
}

.smell-great-product .product-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.smell-great-product .product-details {
  flex-grow: 1;
  text-align: left;
}

.smell-great-product .product-name {
  margin: 0 0 4px 0;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 150% */
}

.smell-great-product .product-price {
  font-size: 14px;
  margin: 0;
}

.product-price .original-price {
  text-decoration: line-through;
  margin-right: 4.7px;
  color: rgba(0, 0, 0, 0.56);
  font-family: "Inter", sans-serif;
  font-size: 10.875px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 165.517% */
}

.product-price .sale-price {
  margin-right: 4.7px;
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 11.438px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 157.377% */
}

.product-price .discount {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 11.063px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 162.712% */
}

.smell-great-product .add-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 14px;
}

.smell-great-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.smell-great-nav .nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
}

.smell-great-nav .nav-arrow img {
  width: 10px;
  height: 16px;
  opacity: 0.7;
}

/* === Tablet View (min-width: 576px) === */
@media (min-width: 576px) {
  .checkout-main {
    max-width: 580px;
    margin: 0 auto;
  }
  .checkout-sidebar {
    max-width: 580px;
    margin: 0 auto;
  }

  .smell-great-product .product-image {
    width: 79px;
    height: 79px;
  }
  .form-row {
    flex-direction: row;
    gap: 15px;
  }
}

/* === Mobile & Tablet Specific Layout Overrides === */
@media (max-width: 959px) {
  .checkout-sidebar {
    display: none;
  }
  .order-summary-mobile-bottom {
    margin-top: 33px;
  }
}

/* === Desktop View (min-width: 960px) === */
@media (min-width: 960px) {
  .checkout-page {
    display: flex;
    margin-top: 65px;
  }

  .checkout-main {
    flex: 1;
    padding: 48px 6%;
    max-width: none;
    border-right: 1px solid #e1e1e1;
  }

  .checkout-sidebar {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 48px 4%;
    border-top: none;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }

  .order-summary-mobile {
    display: none;
  }
  .order-summary-mobile-bottom {
    display: none;
  }
  .express-buttons {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .btn-shop-pay {
    grid-column: 1/2;
  }
  .btn-paypal {
    grid-column: 2/3;
  }
  .btn-gpay {
    grid-column: 3/4;
  }

  .smell-great-product .product-image {
    width: 87px;
    height: 87px;
  }
}

@media (min-width: 989px) {
  .checkout-page {
    display: flex;
    margin-top: 0;
  }
}
