.checkout-page {
  background-color: var(--bg) !important;
  min-height: 100vh !important;
  padding-bottom: 96px !important;
}

.luxe-container {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.checkout-wrapper {
  display: grid !important;
  grid-template-columns: 1.45fr 420px !important;
  gap: 48px !important;
  align-items: start !important;
  padding: 44px 0 80px !important;
}

.checkout-main {
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--r-lg) !important;
  padding: 44px 40px !important;
  box-shadow: var(--shadow-sm) !important;
}

.checkout-steps {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 36px !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid var(--line) !important;
  font-family: var(--body) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--faint) !important;
}

.checkout-steps .active {
  color: var(--ink) !important;
  font-weight: 700 !important;
}

.checkout-section {
  margin-bottom: 36px !important;
  padding-bottom: 32px !important;
  border-bottom: 1px solid #dfd6c3 !important;
}

.checkout-section:last-of-type {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.checkout-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 38px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: var(
  --ink) !important;
  margin: 0 0 24px !important;
  line-height: 1.25 !important;
}

/* Flexible Grid for Fields (.row, .col-*) */
.checkout-main .row,
.shipping-section .row,
.card-fields .row,
#billingfields.row,
#billingfields .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
}

.checkout-main .col-12,
.checkout-main .col-md-12,
.checkout-main .col-lg-12,
#billingfields .col-12,
#billingfields .col-md-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {

  .checkout-main .col-md-6,
  #billingfields .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }

  .checkout-main .col-md-4,
  #billingfields .col-md-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 992px) {
  .checkout-main .col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 767px) {

  .checkout-main .col-md-6,
  .checkout-main .col-md-4,
  .checkout-main .col-lg-4,
  #billingfields .col-md-6,
  #billingfields .col-md-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }
}

/* Form Groups, Labels & Inputs (Every Single Field) */
.form-group,
.checkout-page .form-group,
body.ignore-app-design .form-group {
  position: relative !important;
  margin-bottom: 25px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.form-group label,
.checkout-page .form-group label,
body.ignore-app-design .form-group label {
  display: block !important;
  margin-bottom: 8px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(
  --ink-secondary) !important;
  line-height: 1.3 !important;
}

.form-group input,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input.ignore-style,
.checkout-page input[type="text"],
.checkout-page input[type="email"],
.checkout-page input[type="tel"],
.checkout-page input[type="number"],
.checkout-page input.ignore-style,
body.ignore-app-design input.ignore-style,
body.ignore-app-design input.cc-field,
input.cc-field {
  width: 100% !important;
  height: 50px !important;
  padding: 0 16px !important;
  background: #FFFFFF !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  font-family: var(--body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
  box-sizing: border-box !important;
  line-height: normal !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.form-group input:hover,
.checkout-page input:hover,
body.ignore-app-design input.ignore-style:hover {
  border-color: #BDB4A3 !important;
}

.form-group input:focus,
.checkout-page input:focus,
body.ignore-app-design input.ignore-style:focus,
body.ignore-app-design input.cc-field:focus,
input.cc-field:focus {
  background: #FFFFFF !important;
  border-color: var(--ink) !important;
  box-shadow: 0 0 0 3px rgba(24, 34, 48, 0.1) !important;
}

.form-group input::placeholder,
.checkout-page input::placeholder {
  color: #A39D91 !important;
  font-weight: 400 !important;
}

.form-group select,
.checkout-page select,
body.ignore-app-design select.ignore-style,
body.ignore-app-design select.cc-field,
select.cc-field {
  width: 100% !important;
  height: 50px !important;
  padding: 0 42px 0 16px !important;
  background-color: #FFFFFF !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2314171E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  font-family: var(--body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.form-group select:hover,
.checkout-page select:hover,
body.ignore-app-design select.ignore-style:hover {
  border-color: #BDB4A3 !important;
}

.form-group select:focus,
.checkout-page select:focus,
body.ignore-app-design select.ignore-style:focus,
body.ignore-app-design select.cc-field:focus,
select.cc-field:focus {
  border-color: var(--ink) !important;
  box-shadow: 0 0 0 3px rgba(24, 34, 48, 0.1) !important;
}

.form-group input.has-error,
.form-group select.has-error,
input.has-error,
select.has-error {
  border-color: #D92D20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12) !important;
  background-color: #FFFDFD !important;
}

.checkout-page input:-webkit-autofill,
.checkout-page input:-webkit-autofill:hover,
.checkout-page input:-webkit-autofill:focus,
body.ignore-app-design input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
  -webkit-text-fill-color: var(--ink) !important;
}

/* Custom Checkbox */
.checkout-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 16px 0 24px !important;
  cursor: pointer !important;
}

.checkout-checkbox input[type="checkbox"],
.checkout-checkbox .form-check-input,
.shipping-option__checkbox,
input#termsCheckboxOneTime,
input#termsCheckboxSubscription {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border: 1.5px solid #C4C0B6 !important;
  border-radius: 6px !important;
  background: #FFFFFF !important;
  cursor: pointer !important;
  position: relative !important;
  margin: 0 !important;
  transition: all 0.18s ease !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.checkout-checkbox input[type="checkbox"]:hover,
.shipping-option__checkbox:hover,
input#termsCheckboxOneTime:hover,
input#termsCheckboxSubscription:hover {
  border-color: var(--ink) !important;
}

.checkout-checkbox input[type="checkbox"]:checked,
.checkout-checkbox .form-check-input:checked,
.shipping-option__checkbox:checked,
input#termsCheckboxOneTime:checked,
input#termsCheckboxSubscription:checked {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.checkout-checkbox input[type="checkbox"]:checked::after,
.checkout-checkbox .form-check-input:checked::after,
.shipping-option__checkbox:checked::after,
input#termsCheckboxOneTime:checked::after,
input#termsCheckboxSubscription:checked::after {
  content: "" !important;
  position: absolute !important;
  left: 6.5px !important;
  top: 2.5px !important;
  width: 6px !important;
  height: 11px !important;
  border: solid #000000 !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}

.checkout-checkbox label {
  font-family: var(--body) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  margin: 0 !important;
  cursor: pointer !important;
  user-select: none !important;
}

/* Billing Address Form Box */
#billingfields {
  background: var(--bg) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  padding: 24px !important;
  margin-top: 14px !important;
  margin-bottom: 24px !important;
}

#billingfields .checkout-title {
  font-size: 38px !important;
  /* margin-bottom: 16px !important; */
}

/* Payment Methods */
.payment-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

.payment-option {
  border: 1.5px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  background: #FFFFFF !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.payment-option:hover {
  border-color: #BDB4A3 !important;
}

.payment-option:has(input[type="radio"]:checked) {
  /* border-color: var(--ink) !important; */
  /* box-shadow: 0 0 0 1px var(--ink) !important; */
}

.payment-option-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 18px 20px !important;
  margin: 0 !important;
  cursor: pointer !important;
  background: #dccfb6 !important;
  color: #fff;
  width: 100% !important;
  box-sizing: border-box !important;
}

.payment-option input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border: 2px solid #C4C0B6 !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  position: relative !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.payment-option input[type="radio"]:checked {
  border-color: var(--ink) !important;
}

.payment-option input[type="radio"]:checked::after {
  content: "" !important;
  position: absolute !important;
  top: 4px !important;
  left: 4px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--ink) !important;
}

.payment-option-label {
  font-family: var(--body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em !important;
}

.payment-option-header img {
  height: 24px !important;
  width: auto !important;
  object-fit: contain !important;
}

.card-fields {
  padding: 30px 20px 22px 20px !important;
  background: #f8f5ef;
  border-top: 1px solid var(--line) !important;
}

/* Right Column: Order Summary Card */
.checkout-summary {
  background: #ffffff !important;
  border: 1.5px solid #e2d0a9 !important;
  border-radius: var(--r-lg) !important;
  padding: 36px 30px !important;
  box-shadow: 0 8px 24px rgba(20, 23, 30, 0.06)!important;
  position: sticky !important;
  top: 100px !important;
  display: flex !important;
  flex-direction: column !important;
}

.summary-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 38px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  color: #222!important;
  margin: 0 0 24px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid var(
  --line) !important;
  line-height: 1.2 !important;
}

.summary-products {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid var(--line) !important;
}

.summary-product {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.product-thumb {
  width: 66px !important;
  height: 66px !important;
  flex-shrink: 0 !important;
  border-radius: var(--r-sm) !important;
  overflow: hidden !important;
  border: 1px solid var(--line) !important;
  background: var(--bg) !important;
}

.product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.product-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.product-info h4 {
  font-family: var(--body) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  margin: 0 0 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.35 !important;
}

.summary-product>span {
  font-family: var(--body) !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  white-space: nowrap !important;
}

/* Coupon / Discount Code Row */
.discount-row-wrapper {
  padding: 22px 0 !important;
  border-bottom: 1px solid var(--line) !important;
}

.discount-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: var(--surface-2) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  padding: 6px 8px 6px 14px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.discount-row:focus-within {
  border-color: var(--ink) !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(24, 34, 48, 0.08) !important;
}

.discount-row input#coupon_box,
.discount-row input {
  flex: 1 !important;
  height: 42px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-family: var(--body) !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  outline: none !important;
  box-shadow: none !important;
}

.discount-row button#coupon_button,
.discount-row button,
.discount-row .modal-sp-btn {
  height: 42px !important;
  padding: 0 20px !important;
  background: var(--accent) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: var(--r-xs) !important;
  font-family: var(--body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.discount-row button#coupon_button:hover,
.discount-row button:hover,
.discount-row .modal-sp-btn:hover {
  background: var(--accent-h) !important;
  transform: translateY(-1px) !important;
}

/* Summary Totals */
.summary-totals {
  padding: 22px 0 !important;
}

.summary-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-family: var(--body) !important;
  font-size: 15px !important;
  color: var(--muted) !important;
  margin-bottom: 12px !important;
}

.summary-line span:last-child {
  font-weight: 500 !important;
  color: var(--ink) !important;
}

.summary-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-top: 1.5px solid var(--line) !important;
  margin-top: 20px !important;
  padding-top: 20px !important;
}

.summary-total span:first-child {
  font-family: var(--body) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
}

.summary-total .final_amount strong,
#grtotal {
  font-family: var(--display) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em !important;
}

/* Shipping Options / Upsell Cards */
.shipping-options {
  margin: 22px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.shipping-option {
  display: block !important;
  padding: 16px 18px !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  background: #FFFFFF !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.shipping-option:hover {
  border-color: #BDB4A3 !important;
  background: var(--surface-2) !important;
}

.shipping-option:has(input[type="checkbox"]:checked) {
  border-color: var(--ink) !important;
  background: #FAF7F2 !important;
  box-shadow: 0 0 0 1px var(--ink) !important;
}

.shipping-option .topShip {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.shipping-option__icon img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
}

.shipping-option__title {
  font-family: var(--body) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
}

.shipping-price {
  margin-left: auto !important;
  font-family: var(--body) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
}

.shipping-option .bottomShip {
  display: block !important;
  margin-top: 6px !important;
  padding-left: 36px !important;
}

.shipping-option__description {
  font-family: var(--body) !important;
  font-size: 12px !important;
  color: var(--muted) !important;
  line-height: 1.4 !important;
}

/* Legal / Terms Agreements */
#oneTimeTerms,
#subscriptionTerms {
  font-family: var(--body) !important;
  font-size: 16px !important;
  color: var(--muted) !important;
  line-height: 1.55 !important;
  margin-top: 18px !important;
  padding-bottom: 14px !important;
}

#oneTimeTerms label,
#subscriptionTerms label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  cursor: pointer !important;
}

#oneTimeTerms a,
#subscriptionTerms a {
  color: var(--ink) !important;
  text-decoration: underline !important;
}

/* Confirm Order Action Button */
.checkout-actions {
  margin-top: 24px !important;
}

.collection-btn,
button[onclick="submitForm()"],
.checkout-actions button {
  width: 100% !important;
  height: 66px !important;
  background: linear-gradient(135deg, #0B3B2F 0%, #104F3E 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: var(--body) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(24, 34, 48, 0.22) !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.collection-btn:hover,
button[onclick="submitForm()"]:hover,
.checkout-actions button:hover {
  background: var(--accent-h) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(24, 34, 48, 0.32) !important;
}

.collection-btn:active,
button[onclick="submitForm()"]:active {
  transform: translateY(0) !important;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .checkout-wrapper {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .checkout-summary {
    position: static !important;
  }

  .cart-page-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .cart-summary-card {
    position: static !important;
  }
}

@media (max-width: 576px) {
  .checkout-main {
    padding: 28px 20px !important;
  }

  .cart-page-row {
    grid-template-columns: 80px 1fr !important;
    padding: 16px !important;
    gap: 16px !important;
  }

  .cart-page-row>div:last-child {
    grid-column: 1 / -1 !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--line) !important;
  }
}


/* ── Quick view popup ──
   The product detail page is loaded into the funnel popup in an iframe (js/quick-view.js).
   The popup body is built by the platform's popup.js, so only the frame is styled here. */
.quick-view__frame {
  display: block;
  width: 100%;
  height: 82vh;
  border: 0;
}

/* popup.js pads the modal body for text content; the frame fills it instead.
   overflow:hidden matters -- the iframe does its own scrolling, so without this
   the modal body scrolls too and the popup shows two scrollbars side by side. */
.modal-body:has(.quick-view__frame),
.sp-modal-body:has(.quick-view__frame) {
  padding: 0;
  overflow: hidden;
}

/* The quick-view popup is wider than popup.js's default 700px: the detail page is a
   two-column layout (gallery | buy box) and squeezing it into 700px cramps both. */
/* The theme makes .modal.show a flex container, so .modal-dialog is a flex item and
   shrinks to its content (~300px) instead of filling. max-width alone does nothing
   about that -- it needs an explicit width and flex-basis to grow into. */
.modal-dialog:has(.quick-view__frame),
.modal.show .modal-dialog:has(.quick-view__frame) {
  width: min(1100px, 94vw) !important;
  max-width: min(1100px, 94vw) !important;
  flex: 0 0 auto !important;
  margin: auto !important;
}

.modal-content:has(.quick-view__frame) {
  width: 100% !important;
}

.sp-modal:has(.quick-view__frame) {
  width: min(1100px, 94vw) !important;
  max-width: min(1100px, 94vw) !important;
}

/* The header and footer popup.js builds are dead weight here -- the framed page has
   its own close affordance in the modal header, and the footer is an empty bar
   eating vertical space the product needs. */
.modal-content:has(.quick-view__frame) .modal-footer,
.sp-modal:has(.quick-view__frame) .sp-modal-footer {
  display: none;
}

/* The modal header is an empty white band above the product -- popup.js blanks its
   title, so only the close button is doing any work. It is floated over the frame
   instead of sitting above it, which reclaims the band and stops the framed page's
   first line being pushed out of view. */
.modal-content:has(.quick-view__frame) .modal-header {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
}

.modal-content:has(.quick-view__frame) {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}

/* The close button needs to stay legible over whatever the page puts behind it. */
.modal-content:has(.quick-view__frame) .modal-header .btn-close {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 999px !important;
  padding: 10px !important;
  opacity: 1 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s;
  position: absolute;
  right: 27px;
  top: 15px;
}

@media (max-width: 575.98px) {
  .quick-view__frame {
    height: 78vh;
  }
}

/* ── Inside the quick view iframe ──
   product-details.html includes the full site chrome (header, nav, cart drawer,
   footer). In a modal that reads as a second website, so it is hidden. The flag is
   set by js/quick-view.js on the framed document, from the ?quick_view=1 param. */
body.is-quick-view>header,
body.is-quick-view>footer,
body.is-quick-view .announce,
body.is-quick-view .header,
body.is-quick-view .footer,
body.is-quick-view .mobile-drawer,
body.is-quick-view .search-modal-overlay {
  display: none !important;
}

/* The cart drawer stays in the DOM: adding to cart from in here opens it, and the
   shopper needs to see that it worked. It is only hidden while closed, which is
   what the platform's own data-app-open attribute already tracks. */

body.is-quick-view {
  padding-top: 0 !important;
}

body.is-quick-view main {
  padding-top: 0 !important;
}

.custom_product_details_page.product-detail-layout {
  gap: 4vw !important;
}

.custom_product_details_page h1.product-detail-title {
  font-size: clamp(1.5rem,1.15rem + 1.2vw,2rem);
  margin-bottom: 20px;
  /* line-height: 3.2rem; */
}

.custom_product_details_page .product-detail-copy {
  max-width: 100%;
}

.custom_product_details_page .product-detail-copy p {
  color: var(--muted);
  font-size: var(--t-sm);
  margin-bottom: var(--s4);
}

/* .custom_product_details_page .product-detail-copy ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: var(--t-sm);
  margin-bottom: var(--s5);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.custom_product_details_page .product-detail-copy ul li {
  padding-left: 20px;
  position: relative;
} */

.custom_product_details_page .product-detail-copy ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 10px;
  height: 2px;
  /* border-radius: 50%; */
  background: #0b5d5e;
}

.custom_product_details_page .btn-luxe-dark {
  background: #0B5D5E;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 22px;
  border-radius: 4px;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .2s var(--ease), color .2s, transform .2s var(--ease), border-color .2s;
  margin-bottom: 0;
}

.custom_product_details_page .pd-packs {
  /* display: flex; */
  flex-wrap: wrap;
  gap: var(--s2);
}

.custom_product_details_page .pd-packs button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 500;
  transition: all .15s;
}

.custom_product_details_page .product-detail-price {
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s4);
  line-height: var(--t-xl);
}

.custom_product_details_page .product-summary-panel .product-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  /* padding: 0 24px; */
}

.custom_product_details_page .product-summary-panel .product-qty-wrap input {
  border: none;
  text-align: center;
}

.fotter_logo {
  filter: brightness(0) invert(1);
}

#billingfields.row.d-none,
#billingfields.d-none,
[data-app="billing-fields"].d-none {
  display: none !important;
}

[data-app="submit"].is-submitting {
  opacity: .75;
  cursor: progress;
  pointer-events: none;
}

.btn-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 9px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .6s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

html.is-order-submitting [data-app="card-fields"],
html.is-order-submitting .checkout-form-col {
  pointer-events: none;
  opacity: .85;
}

.pd-packs {
  /* display: flex; */
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.pd-pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 9px 13px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: #fff;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.pd-pack__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pd-pack:has(.pd-pack__input:checked){
  background: var(--ink, #15202b) !important;
  color: #fff !important;
  border-color: var(--ink, #15202b) !important;
}

.product-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 999px;
  padding: 4px;
  background: #fff;
  flex: 0 0 auto;
}

.product-qty-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.product-qty-wrap .product-qty-val {
  width: 48px;
  flex: 0 0 48px;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: center;
  box-shadow: none;
}

.product-qty-val::-webkit-outer-spin-button,
.product-qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.minicart-crosssell:not(:has(.minicart-crosssell-item)) {
  display: none;
}


ul.hlx-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.hlx-footer__contact li {
   display: flex;
   color: var(--night-muted);
   font-size: var(--t-sm);
   margin-bottom: 0;
   transition: color 0.2s;
}

body:has(#loading-indicator[style*="block"]) [data-app="submit"],
[data-app="submit"]:disabled {
  position: relative;
  cursor: wait;
  pointer-events: none;
  opacity: .85;
}

body:has(#loading-indicator[style*="block"]) [data-app="submit"]::before,
[data-app="submit"]:disabled::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 15px;
  height: 15px;
  margin-top: -8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: .9;
  animation: order-btn-spin .65s linear infinite;
}

@keyframes order-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Cart drawer: step products ("You may also like") ── */
/* .minicart-recommend:not(:has(.minicart-rec-item)) {
  display: none;
} */

.minicart-recommend {
  padding: 16px 20px 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.minicart-recommend-title {
  /* margin: 0 0 10px; */
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'JetBrains Mono',ui-monospace,Menlo,monospace;
  /* letter-spacing: .08em; */
  color: #7F8C94;
}

.minicart-rec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.minicart-rec-img {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px;
  object-fit: cover;
  border-radius: 6px;
}

.minicart-rec-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.minicart-rec-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.minicart-rec-price {
  font-size: 13px;
  color: var(--muted, #6b7280);
}

.minicart-rec-add {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  background: #0C1A24;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.minicart-rec-add:hover {
  /* background: rgba(0, 0, 0, 0.05); */
  background: #585858;
}
