/* ===========================
   SHOPPING CART & CHECKOUT STYLES
   =========================== */

/* Main Container */
.shopping-cart-checkout-wrapper {
  display: flex;
  width: 100%;
  padding-bottom: var(--Space-10, 40px);
  justify-content: center;
  align-items: flex-start;
  gap: var(--Space-15, 60px);
}

.shopping-cart-checkout {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
}

.shopping-cart-checkout-title {
  color: var(--On-background-Brand-Default, #231f20);
  text-align: center;
  /* Title/Serif/Small */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Title-Page-Size-Small, 40px);
  font-style: normal;
  font-weight: var(--Title-Page-Font-Weight, 700);
  line-height: 120%; /* 48px */
}

/* Layout Sections */
.shopping-cart-checkout-content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--Space-8, 32px);
  flex-shrink: 0;
}

.shopping-cart-checkout-content-right {
  display: flex;
  padding: var(--Space-5, 20px);
  gap: var(--Space-5, 20px);
  flex-shrink: 0;
  border: 1px solid var(--On-background-Global-Default, #8f888a);
  height: fit-content;
}

/* ===========================
   PRODUCT ITEMS
   =========================== */

.product-small {
  width: 100%;
}

/* Product Image Styling */
.product-small img {
  width: 80px !important;
  height: 80px !important;
  border-radius: var(--Radius-sm, 4px);
}

.product-small:hover {
}

.product-small.last-child {
}

.shopping-cart-product-name {
  color: #231f20;
  /* Single_Line/Large/Strong */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Large, 20px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 28px */
  letter-spacing: 0.2px;
}

.shopping-cart-product-color,
.shopping-cart-product-material,
.shopping-cart-product-size {
  color: var(--On-background-Global-Default, #8f888a);
  /* Single_Line/BASE/Regular */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
}

/* Product Price Styles */
.product-small .col-lg-2.d-md-flex.d-none span,
.product-small .col-lg-2.d-md-none.d-flex span {
  text-align: right;
  /* Single_Line/Large/Regular */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Large, 20px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 140%; /* 28px */
  letter-spacing: 0.2px;
}

/* Desktop Price (hidden label) */
.product-small .col-lg-2.d-md-flex.d-none {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Mobile Price (with label) */
.product-small .col-lg-2.d-md-none.d-flex {
  display: flex;
  align-items: center;
  gap: var(--Space-2, 8px);
}

.product-small .col-lg-2.d-md-none.d-flex label {
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 20px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
  margin-bottom: 0;
  white-space: nowrap;
}

/* Product Amount Controls */
.checkout-product-amount-wrapper {
  display: flex;
  padding: var(--Space-1, 4px);
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  border-radius: var(--Radius-sm, 4px);
  border: 0.5px solid var(--On-background-Brand-Default, #231f20);
}

.checkout-minus-product-button,
.checkout-plus-product-button {
  display: flex;
  width: 32px;
  height: 32px;
  padding: 5.5px 6px 6.5px 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--Background-Global-Primary, #fff);
  border: none;
  border-radius: var(--Radius-sm, 4px);
  color: var(--On-background-Brand-Default, #231f20);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  /* Single_Line/Large/Regular */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
}

.checkout-minus-product-button:hover,
.checkout-plus-product-button:hover {
  background: var(--Background-Brand-Primary, #520f09);
  color: var(--On-background-Brand-Primary, #fefdf9);
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(82, 15, 9, 0.2);
}

.checkout-minus-product-button:active,
.checkout-plus-product-button:active {
  transform: scale(0.95);
}

.checkout-minus-product-button:focus,
.checkout-plus-product-button:focus {
  outline: 2px solid var(--Background-Brand-Primary, #520f09);
  outline-offset: 2px;
}

.checkout-minus-product-button i,
.checkout-plus-product-button i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.checkout-plus-product-button:hover i {
  transform: scale(1.2);
}

.checkout-minus-product-button:hover i {
  transform: scale(1.2);
}

.commas-number-string {
  color: var(--On-background-Brand-Default, #231f20);
  text-align: center;
  /* Heading/Serif/Medium */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Large, 20px);
  font-style: normal;
  font-weight: var(--Heading-Font-Weight, 700);
  line-height: 140%; /* 33.6px */
}

.delete-shopping-cart-product-button {
  display: flex;
  padding: var(--Space-2, 8px);
  justify-content: center;
  align-items: center;
  background: transparent;
  color: var(--On-background-Brand-Tertiary, #e33226);
  border: none;
  border-radius: var(--Radius-sm, 4px);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
}

.delete-shopping-cart-product-button:hover {
  background: rgba(227, 50, 38, 0.1);
  color: #c0392b;
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(227, 50, 38, 0.2);
}

.delete-shopping-cart-product-button:active {
  transform: scale(0.95);
  background: rgba(227, 50, 38, 0.2);
}

.delete-shopping-cart-product-button:focus {
  outline: 2px solid var(--On-background-Brand-Tertiary, #e33226);
  outline-offset: 2px;
}

.delete-shopping-cart-product-button i {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.delete-shopping-cart-product-button:hover i {
  transform: rotate(10deg);
}

/* ===========================
   DELIVERY INFORMATION
   =========================== */

.checkout-order-delivery-information {
}

.checkout-order-delivery-information-separator {
}

.section-title {
  color: var(--On-background-Brand-Default, #231f20);
  /* Single_Line/BASE/Strong */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 25.2px */
  margin-bottom: var(--Space-4, 16px);
  margin-top: 0;
}

.section-content-text {
  color: var(--On-background-Brand-Default, #231f20);
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
  margin-bottom: var(--Space-5, 20px);
}

.section-content-text a,
#loginWhenCheckoutButton {
  color: var(--Background-Brand-Primary, #520f09);
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 25.2px */
  text-decoration: none;
  transition: color 0.2s ease;
}

.section-content-text a:hover,
#loginWhenCheckoutButton:hover {
  color: var(--Background-Brand-Primary-Hover, #63160f);
  text-decoration: underline;
}

/* Form Styling */
#orderRecipientInformationForm .form-control {
  display: flex;
  padding: var(--Space-3, 12px) var(--space-spacer-1-rem, 16px);
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: var(--Radius-sm, 4px);
  border: 1px solid var(--On-background-Global-Secondary, #bbb3b5);
  color: var(--On-background-Global-Default, #8f888a);
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
  transition: all 0.2s ease;
  background-color: var(--Background-Global-Primary, #fff);
}

#orderRecipientInformationForm .form-control:hover {
  border-color: var(--Background-Brand-Primary, #520f09);
  color: var(--On-background-Brand-Default, #231f20);
}

#orderRecipientInformationForm .form-control:focus {
  border-color: var(--Background-Brand-Primary, #520f09);
  color: var(--On-background-Brand-Default, #231f20);
  box-shadow: 0 0 0 2px rgba(82, 15, 9, 0.15);
  outline: none;
  background-color: var(--Background-Global-Primary, #fff);
}

#orderRecipientInformationForm .form-select {
  display: flex;
  padding: var(--Space-3, 12px) var(--space-spacer-1-rem, 16px);
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: var(--Radius-sm, 4px);
  border: 1px solid var(--On-background-Global-Secondary, #bbb3b5);
  color: var(--On-background-Global-Default, #8f888a);
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
  transition: all 0.2s ease;
  background-color: var(--Background-Global-Primary, #fff);
}

#orderRecipientInformationForm .form-select:hover {
  border-color: var(--Background-Brand-Primary, #520f09);
  color: var(--On-background-Brand-Default, #231f20);
}

#orderRecipientInformationForm .form-select:focus {
  border-color: var(--Background-Brand-Primary, #520f09);
  color: var(--On-background-Brand-Default, #231f20);
  box-shadow: 0 0 0 2px rgba(82, 15, 9, 0.15);
  outline: none;
  background-color: var(--Background-Global-Primary, #fff);
}

/* Delivery Options Cards */
#orderRecipientInformationForm .card {
}

#orderRecipientInformationForm .card-header {
  color: var(--On-background-Brand-Default, #231f20);
  /* Single_Line/BASE/Regular */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
}

#orderRecipientInformationForm .card-body {
}

/* Button Wrappers */
.change-delivery-information-button-wrapper,
.process-to-payment-method-button-wrapper {
}

#processToPaymentMethodButton {
  display: flex;
  padding: var(--spacers-3, 12px) var(--space-spacer-1-rem, 16px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 1 0 0;
  background: #007bff;
  color: #ffffff;
  text-align: center;
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.72px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

#processToPaymentMethodButton:hover {
  background: #0056b3;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

#processToPaymentMethodButton:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

#processToPaymentMethodButton:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

#processToPaymentMethodButton:disabled {
  background: var(--On-background-Global-Default, #8f888a);
  color: var(--Background-Global-Secondary, #faf5f0);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===========================
   BANK ACCOUNTS SECTION
   =========================== */

#bankAccountsArea {
}

.bank-accounts-area-separator {
  border-color: var(--On-background-Global-Secondary, #bbb3b5);
  border-width: 1px;
  margin: var(--Space-6, 24px) 0;
}

/* Bank Transfer Section Title */
#bankAccountsArea h4 {
  color: var(--On-background-Brand-Default, #231f20);
  /* Single_Line/BASE/Regular */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
  margin-bottom: var(--Space-4, 16px);
  margin-top: 0;
}

.checkout-bank-account-information {
  background: var(--Background-Global-Primary, #fff);
  border-radius: var(--Radius-sm, 4px);
  padding: var(--Space-5, 20px);
}

.checkout-bank-account-information h5 {
  color: var(--On-background-Brand-Default, #231f20);
  /* Single_Line/BASE/Regular */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
  margin-bottom: var(--Space-3, 12px);
  margin-top: 0;
}

.checkout-bank-account-information span {
  color: var(--On-background-Brand-Default, #231f20);
  /* Single_Line/BASE/Regular */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Medium, 18px);
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Regular, 400);
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
  margin-bottom: var(--Space-2, 8px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-bank-account-qr-code-container {
  background: var(--Background-Global-Primary, #fff);
  border-radius: var(--Radius-sm, 4px);
  padding: var(--Space-5, 20px);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* QR Code Image Styling */
.checkout-bank-account-qr-code-container img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  padding: var(--Space-4, 16px);
  object-fit: contain;
  border-radius: var(--Radius-sm, 4px);
  border: 0.5px solid var(--On-background-Stroke-Primary, #8f888a);
  background: url(<path-to-image>) lightgray -28px -28.679px / 123.333% 123.333%
      no-repeat,
    var(--Background-Global-Primary, #fefdf9);
  background-blend-mode: darken, normal;
}

/* ===========================
   DISCOUNT & SUMMARY SECTION
   =========================== */

#discountCodeForm {
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
}

#discountCodeInput {
  display: flex;
  padding: var(--Space-2, 8px) var(--space-spacer-1-rem, 16px);
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  border-radius: var(--Radius-sm, 4px);
  border: 1px solid var(--On-background-Global-Secondary, #bbb3b5);
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
}

#discountCodeInput:focus {
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
}

#discountCodeButton,
#cancelDiscountCodeButton {
  display: flex;
  padding: var(--Space-2, 8px) var(--space-spacer-1-rem, 16px);
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  border-radius: var(--Radius-sm, 4px);
  border: 1px solid;
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
}

.discount-form-separator {
}

.shopping-cart-checkout-summary {
}

.shopping-cart-checkout-summary > div {
}

.shopping-cart-checkout-summary > div:last-child {
}

.shopping-cart-checkout-summary span {
  color: var(--On-background-Brand-Default, #231f20);
  /* Heading/Serif/Medium */
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-size: var(--Body-Size-Large, 18px);
  font-style: normal;
  font-weight: var(--Heading-Font-Weight, 700);
  line-height: 140%; /* 33.6px */
}

/* ===========================
   PAYMENT BUTTONS
   =========================== */

.pay-shopping-cart-button {
  display: flex;
  padding: var(--spacers-3, 12px) var(--space-spacer-1-rem, 16px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 1 0 0;
  background: var(--Background-Brand-Primary, #520f09);
  color: var(--On-background-Brand-Primary, #fefdf9);
  text-align: center;
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.72px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-shopping-cart-button:hover {
  background: var(--Background-Brand-Primary-Hover, #63160f);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 15, 9, 0.25);
}

.pay-shopping-cart-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(82, 15, 9, 0.3);
}

.pay-shopping-cart-button:focus {
  outline: 2px solid var(--Background-Brand-Primary, #520f09);
  outline-offset: 2px;
}

.pay-via-bank-transfer-button {
  display: flex;
  padding: var(--spacers-3, 12px) var(--space-spacer-1-rem, 16px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 1 0 0;
  background: var(--On-background-Brand-Default, #231f20);
  color: var(--On-background-Brand-Primary, #fefdf9);
  text-align: center;
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.72px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-via-bank-transfer-button:hover {
  background: #1a1617;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 31, 32, 0.25);
}

.pay-via-bank-transfer-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(35, 31, 32, 0.3);
}

.pay-via-bank-transfer-button:focus {
  outline: 2px solid var(--On-background-Brand-Default, #231f20);
  outline-offset: 2px;
}

.pay-on-delivery-button {
  display: flex;
  padding: var(--spacers-3, 12px) var(--space-spacer-1-rem, 16px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 1 0 0;
  background: #ff8c00;
  color: var(--On-background-Brand-Primary, #fefdf9);
  text-align: center;
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.72px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-on-delivery-button:hover {
  background: #e67e00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
}

.pay-on-delivery-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 140, 0, 0.3);
}

.pay-on-delivery-button:focus {
  outline: 2px solid #ff8c00;
  outline-offset: 2px;
}

.place-order-button {
  display: flex;
  padding: var(--spacers-3, 12px) var(--space-spacer-1-rem, 16px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 1 0 0;
  background: #28a745;
  color: var(--On-background-Brand-Primary, #fefdf9);
  text-align: center;
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.72px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.place-order-button:hover {
  background: #218838;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.place-order-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.place-order-button:focus {
  outline: 2px solid #28a745;
  outline-offset: 2px;
}

.view-order-button {
  display: flex;
  padding: var(--spacers-3, 12px) var(--space-spacer-1-rem, 16px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 1 0 0;
  background: #17a2b8;
  color: var(--On-background-Brand-Primary, #fefdf9);
  text-align: center;
  font-family: var(--Type-Font-Serif, "Plus Jakarta Sans");
  font-style: normal;
  font-weight: var(--Body-Font-Weight-Strong, 600);
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.72px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-order-button:hover {
  background: #138496;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.25);
}

.view-order-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(23, 162, 184, 0.3);
}

.view-order-button:focus {
  outline: 2px solid #17a2b8;
  outline-offset: 2px;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* ===========================
   UTILITY CLASSES
   =========================== */

.cursor-pointer {
}

.text-danger {
}

/* Prevent line break between asterisk and warning text */
span:has(.text-danger) {
  white-space: nowrap;
}

/* Fallback for browsers that don't support :has() */
.text-danger + * {
  display: inline;
}

.text-danger {
  display: inline;
}

.text-nowrap {
}

/* Focus States for Accessibility */
button:focus,
input:focus,
select:focus {
}

/* Loading States */
.pay-shopping-cart-button:disabled {
}

.pay-shopping-cart-button.loading::after {
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
