/* ========================================================================
   -TH 22.11.2026: Purchase-flow layout enhancements.
   GARAGE-SHOP PURCHASE JOURNEY - EXISTING MARKUP ENHANCEMENTS
   Enhancing the checkout flow with better styling for existing HTML structure
   ======================================================================== */

/* ========================================================================
   1. SHIPPING METHOD SELECTION - MODULE ROW STYLING
   ======================================================================== */

/* Store footer */
/* Informational cookie banner; this does not change consent behavior. */
.cc-window.cc-type-info {
  background-color: #f3f4fa !important;
  color: #252b4a !important;
  border-top: 1px solid #d5d9ea;
}

.cc-window.cc-type-info .cc-link {
  color: #384174 !important;
}

.cc-window.cc-type-info .cc-btn {
  background-color: #555d9f !important;
  border-color: #555d9f !important;
  color: #fff !important;
}

.cc-window.cc-type-info .cc-btn:hover,
.cc-window.cc-type-info .cc-btn:focus-visible {
  background-color: #3e467f !important;
  border-color: #3e467f !important;
}

footer .footer {
  box-sizing: border-box;
  clear: both;
  margin-top: 28px;
  padding: 28px 24px 20px;
  border-top: 1px solid #e0e3ed;
  background: #f7f8fc;
  color: #41485a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

footer .footer > hr {
  display: none;
}

footer .footer .boxes_footer {
  float: none;
  position: static;
  max-width: 1200px;
  margin: 0 auto;
}

footer .footer ul.boxes_footer_cent {
  display: grid;
  position: static;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

footer .footer ul.boxes_footer_cent > li2 {
  display: block;
  box-sizing: border-box;
  float: none;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

footer .footer li2 h5 {
  margin: 0 0 12px;
  padding: 0;
  color: #252b4a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

footer .footer li2 > div > div {
  padding-left: 0 !important;
}

/* Match the leading spaces in the legacy footer headings. */
footer .footer li2 > div > div:has(> a),
footer .footer .footer-social > div {
  padding-left: .25em !important;
}

footer .footer li2 a {
  display: inline-block;
  padding: 3px 0;
  color: #4b528e;
  font-family: inherit;
  text-decoration: none;
}

footer .footer li2 a:hover {
  color: #30365f;
  text-decoration: underline;
}

footer .footer li2 a:focus-visible {
  outline: 3px solid #e6a724;
  outline-offset: 2px;
}

footer .footer .footer-social-link {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  padding: 6px;
  border: 1px solid #d5d9ea;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

footer .footer .footer-social-link:hover {
  border-color: #a9b0d1;
  background: #f0f1f9;
  text-decoration: none;
}

footer .footer .footer-social-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #555d9f;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

footer .footer .footer-social-icon--facebook {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #3b5998 url("../images/btnfacebook.png") left center / 80px 24px no-repeat;
}

footer .footer .footer-social-icon--twitter::before {
  content: "X";
}

footer .footer > p {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid #e0e3ed;
  color: #6a7081;
  font-size: 12px;
  line-height: 1.6;
}

footer .footer > p a {
  color: #4b528e;
}

@media screen and (max-width: 900px) {
  footer .footer ul.boxes_footer_cent {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
}

@media screen and (max-width: 767px) {
  footer .footer {
    padding: 24px 18px 18px;
  }
}

/* Contact form: undo cart-table spacing without changing form processing. */
#bodyContent form[name="contact_us"] .contentContainer2 {
  box-sizing: border-box;
  width: 100% !important;
  margin-left: 0 !important;
}

#bodyContent form[name="contact_us"] .contentText > table {
  max-width: 560px;
}

#bodyContent form[name="contact_us"] table tr,
#bodyContent form[name="contact_us"] table tr:hover {
  border: 0;
  background: transparent;
}

#bodyContent form[name="contact_us"] table td {
  padding: 3px 0 !important;
  border: 0 !important;
  font-size: 14px !important;
  white-space: normal;
}

#bodyContent form[name="contact_us"] .contentText > table:first-of-type > tbody > tr > td {
  padding: 0 !important;
}

#bodyContent form[name="contact_us"] input[name="name"],
#bodyContent form[name="contact_us"] input[name="email"],
#bodyContent form[name="contact_us"] input[name="puh"],
#bodyContent form[name="contact_us"] textarea[name="enquiry"] {
  box-sizing: border-box;
  width: calc(100% - 24px) !important;
  max-width: 520px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #c9c9d2;
  border-radius: 4px;
  background: #fff;
  color: #292831;
  font: inherit;
}

#bodyContent form[name="contact_us"] textarea[name="enquiry"] {
  width: 100% !important;
  min-height: 130px;
  height: 130px;
  resize: vertical;
}

#bodyContent form[name="contact_us"] .contentText > h2 {
  margin: 20px 0 6px !important;
  font-size: 17px !important;
}

#bodyContent form[name="contact_us"] img[name="Captcha"] {
  max-width: 100%;
}

#bodyContent form[name="contact_us"] .buttonSet {
  max-width: 560px;
}

/* Account and password forms share fields with the checkout forms. */
#bodyContent form[name="account_edit"] .fieldValue input[type="text"],
#bodyContent form[name="account_password"] .fieldValue input[type="password"],
#bodyContent form[name="addressbook"] .fieldValue input[type="text"],
#bodyContent form[name="password_forgotten"] .fieldValue input[type="text"],
#bodyContent form[name="password_reset"] .fieldValue input[type="password"] {
  box-sizing: border-box;
  width: 320px;
  max-width: calc(100% - 24px);
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #c9c9d2;
  border-radius: 4px;
  font: inherit;
  text-align: left;
}

/* Category recommendations use the legacy featured-product table. */
#bodyContent .contentText > h2 + .contentText > table:has(.cuadroProducto) {
  width: 100%;
}

#bodyContent .contentText > h2 + .contentText > table td:has(> div > .cuadroProducto) {
  padding: 0;
}

#bodyContent .contentText > h2 + .contentText > table td > div:has(> .cuadroProducto) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

#bodyContent .contentText > h2 + .contentText > table .cuadroProducto {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 calc((100% - 24px) / 3);
  flex-direction: column;
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 12px;
  border: 1px solid #dfe3ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(27, 35, 57, 0.05);
  text-align: left;
}

#bodyContent .contentText > h2 + .contentText > table .cuadroProducto:hover {
  border-color: #b6bdd7;
  box-shadow: 0 6px 18px rgba(27, 35, 57, 0.1);
}

#bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:nth-child(2) {
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 146px;
  margin-bottom: 12px;
  padding: 8px !important;
}

#bodyContent .contentText > h2 + .contentText > table .cuadroProducto img {
  display: block;
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

#bodyContent .contentText > h2 + .contentText > table .espacioMedio {
  height: auto;
  min-height: 0;
  background: transparent;
}

#bodyContent .contentText > h2 + .contentText > table .espacioMedio > div {
  padding: 0 !important;
  text-align: left !important;
}

#bodyContent .contentText > h2 + .contentText > table .tuoteNimi {
  color: #252b4a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:nth-child(3) {
  display: none;
}

#bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:nth-child(4),
#bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:nth-child(5) {
  text-align: left !important;
}

#bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:nth-child(4) {
  margin-top: auto;
}

#bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:nth-child(4) > span {
  margin-left: 0 !important;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto {
  height: auto;
  padding: 0;
  border: 0;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto > div {
  padding-top: 8px !important;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto a {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border: 1px solid #555d9f;
  border-radius: 6px;
  background: #555d9f;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto .footerProducto a {
  background: transparent;
  color: #444c8b;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto a:hover {
  background: #40477f;
  color: #fff;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto a:focus-visible {
  outline: 3px solid #e6a724;
  outline-offset: 2px;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto .ui-button-icon-primary {
  display: none;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto .ui-button-text {
  padding: 0;
}

#bodyContent .contentText > h2 + .contentText > table .footerProducto .footerProducto button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

@media screen and (max-width: 767px) {
  #bodyContent form[name="account_edit"] table:has(.fieldValue),
  #bodyContent form[name="account_password"] table:has(.fieldValue),
  #bodyContent form[name="addressbook"] table:has(.fieldValue),
  #bodyContent form[name="password_forgotten"] table:has(.fieldValue),
  #bodyContent form[name="password_reset"] table:has(.fieldValue) {
    width: 100%;
    table-layout: fixed;
  }

  #bodyContent .contentText > h2 + .contentText > table .cuadroProducto {
    display: grid;
    flex-basis: 100%;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }

  #bodyContent .contentText > h2 + .contentText > table .cuadroProducto::before,
  #bodyContent .contentText > h2 + .contentText > table .cuadroProducto::after {
    display: none;
  }

  #bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:nth-child(2) {
    grid-column: 1;
    grid-row: 1 / span 5;
    height: 104px;
    margin: 0;
    padding: 4px !important;
  }

  #bodyContent .contentText > h2 + .contentText > table .cuadroProducto img {
    max-height: 96px;
  }

  #bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:not(:nth-child(2)) {
    grid-column: 2;
  }

  #bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div:nth-child(3) {
    display: -webkit-box;
    height: auto !important;
    overflow: hidden;
    padding: 4px 0 0 !important;
    color: #666b7c;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-align: left !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #bodyContent .contentText > h2 + .contentText > table .cuadroProducto > div.footerProducto {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #bodyContent .contentText > h2 + .contentText > table .footerProducto > .footerProducto {
    padding: 0 !important;
  }
}

.moduleRow,
.moduleRowOver,
.moduleRowSelected {
  display: flex !important;
  align-items: center !important;
  padding: 16px !important;
  border: 2px solid #ecf0f1 !important;
  border-radius: 6px !important;
  margin: 8px 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  background: white !important;
}

.moduleRow:hover,
.moduleRowOver {
  border-color: #bdc3c7 !important;
  background: #f8f9fa !important;
}

.moduleRowSelected {
  border-color: #3498db !important;
  background: #ecf0f1 !important;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15) !important;
}

.moduleRow td,
.moduleRowOver td,
.moduleRowSelected td {
  padding: 0 !important;
  border: none !important;
  vertical-align: middle !important;
}

.moduleRow td:first-child,
.moduleRowOver td:first-child,
.moduleRowSelected td:first-child {
  flex: 1;
  font-size: 14px;
  color: #2c3e50;
  font-weight: 500;
}

.moduleRow td:nth-child(2),
.moduleRowOver td:nth-child(2),
.moduleRowSelected td:nth-child(2) {
  font-weight: 600;
  color: #27ae60;
  margin: 0 20px;
  min-width: 80px;
  text-align: right;
}

.moduleRow td:nth-child(3),
.moduleRowOver td:nth-child(3),
.moduleRowSelected td:nth-child(3) {
  margin-left: 12px;
}

.moduleRow input[type="radio"],
.moduleRowOver input[type="radio"],
.moduleRowSelected input[type="radio"] {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  cursor: pointer !important;
  accent-color: #3498db;
}

/* Module name styling */
.moduleRow strong,
.moduleRowOver strong,
.moduleRowSelected strong {
  color: #2c3e50 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* ========================================================================
   2. INFO BOX STYLING - SHIPPING ADDRESS
   ======================================================================== */

.ui-widget.infoBoxContainer {
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
}

.ui-widget-header.infoBoxHeading:not(#columnRight *) {
  background: #f8f9fa !important;
  color: #2c3e50 !important;
  padding: 16px 20px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: 1px solid #ecf0f1 !important;
  border-radius: 8px 8px 0 0 !important;
  border-bottom: 2px solid #555d9f !important;
}

.ui-widget-content.infoBoxContents {
  padding: 20px !important;
  background: white !important;
  color: #2c3e50 !important;
  border: none !important;
  border-radius: 0 0 8px 8px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* ========================================================================
   3. CONTENT CONTAINER STYLING
   ======================================================================== */

.contentContainer,
.contentContainer2 {
  margin: 20px 0 !important;
  padding: 0 !important;
}

.contentContainer h2,
.contentContainer2 h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  margin: 24px 0 16px 0 !important;
  letter-spacing: 0.3px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.contentContainer h2::before,
.contentContainer2 h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #555d9f 0%, #555d9f 100%);
  border-radius: 2px;
}

.contentText {
  font-size: 14px !important;
  color: #2c3e50 !important;
  line-height: 1.6 !important;
  margin: 16px 0 !important;
}

/* ========================================================================
   4. BUTTON STYLING ENHANCEMENTS
   ======================================================================== */

.buttonSet {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin: 24px 0 !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.buttonAction {
  display: inline-flex !important;
  align-items: center !important;
}

.buttonAction button,
.buttonAction .ui-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
}

/* Primary buttons (Checkout) */
.buttonAction .ui-button.primary,
.buttonAction button[name="submit"]:not([name*="continue"]) {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
  color: white !important;
  border: 2px solid #229954 !important;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3) !important;
}

.buttonAction .ui-button.primary:hover,
.buttonAction button[name="submit"]:not([name*="continue"]):hover {
  background: linear-gradient(135deg, #229954 0%, #1e8449 100%) !important;
  box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Secondary buttons (Continue) */
.buttonAction .ui-button:not(.primary),
.buttonAction button[name*="continue"] {
  background: white !important;
  color: #2c3e50 !important;
  border: 2px solid #bdc3c7 !important;
}

.buttonAction .ui-button:not(.primary):hover,
.buttonAction button[name*="continue"]:hover {
  border-color: #555d9f !important;
  color: #3498db !important;
  background: #f8f9fa !important;
}

/* ========================================================================
   5. FORM ELEMENTS IN CHECKOUT
   ======================================================================== */

.checkout_payment_address input,
.checkout_payment_address select,
.checkout_payment_address textarea {
  padding: 10px 12px !important;
  border: 1px solid #bdc3c7 !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
  color: #2c3e50 !important;
}

.checkout_payment_address input:focus,
.checkout_payment_address select:focus,
.checkout_payment_address textarea:focus {
  outline: none !important;
  border-color: #3498db !important;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1) !important;
}

/* ========================================================================
   6. STOCK WARNING STYLING
   ======================================================================== */

.stockWarning {
  background: #fff3cd !important;
  border: 1px solid #ffeaa7 !important;
  color: #856404 !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  margin: 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.stockWarning::before {
  content: '⚠';
  font-size: 16px;
}

/* ========================================================================
   7. CHECKOUT ADDRESS FORM
   ======================================================================== */

.checkout-form-section {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin: 20px 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border-left: 4px solid #3498db !important;
}

/* ========================================================================
   8. HORIZONTAL RULE ADJUSTMENTS
   ======================================================================== */

hr {
  border: none !important;
  border-top: 1px solid #ecf0f1 !important;
  margin: 20px 0 !important;
}

/* ========================================================================
   9. TABLE STYLING IN CHECKOUT
   ======================================================================== */

table {
  border-collapse: collapse !important;
  width: 100% !important;
}

table td {
  padding: 12px !important;
  border: none !important;
  vertical-align: middle !important;
  font-size: 13px !important;
  color: #2c3e50 !important;
}

table td strong {
  color: #2c3e50 !important;
  font-weight: 600 !important;
}

/* ========================================================================
   10. MOBILE RESPONSIVE ADJUSTMENTS
   ======================================================================== */

@media screen and (max-width: 767px) {
  .moduleRow,
  .moduleRowOver,
  .moduleRowSelected {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .moduleRow td:nth-child(2),
  .moduleRowOver td:nth-child(2),
  .moduleRowSelected td:nth-child(2) {
    margin: 8px 0 8px 0 !important;
    text-align: left !important;
  }

  .moduleRow td:nth-child(3),
  .moduleRowOver td:nth-child(3),
  .moduleRowSelected td:nth-child(3) {
    margin-left: 0 !important;
    align-self: flex-end;
  }

  .contentContainer h2,
  .contentContainer2 h2 {
    font-size: 18px !important;
  }

  .buttonSet {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .buttonSet .buttonAction {
    width: 100% !important;
  }

  .buttonAction button,
  .buttonAction .ui-button {
    width: 100% !important;
  }

  .checkout-form-section {
    padding: 16px !important;
    margin: 16px 0 !important;
  }

  table td {
    padding: 8px !important;
    font-size: 12px !important;
  }
}

@media screen and (max-width: 480px) {
  .moduleRow,
  .moduleRowOver,
  .moduleRowSelected {
    padding: 12px !important;
  }

  .contentContainer h2,
  .contentContainer2 h2 {
    font-size: 16px !important;
  }

  .buttonAction button,
  .buttonAction .ui-button {
    padding: 12px 16px !important;
    font-size: 13px !important;
  }

  .stockWarning {
    font-size: 12px !important;
    padding: 10px 12px !important;
  }
}

/* ========================================================================
   11. DESKTOP OPTIMIZATIONS
   ======================================================================== */

@media screen and (min-width: 1025px) {
  .contentContainer2 > .ui-widget.infoBoxContainer {
    float: right !important;
    width: 35% !important;
    margin: 0 0 20px 20px !important;
  }

  #bodyContent .product-detail-page form[name="cart_quantity"] > .contentContainer2 > .ui-widget.infoBoxContainer {
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    margin: 24px 0 20px !important;
  }

  #bodyContent .product-detail-page form[name="cart_quantity"] > .contentContainer2 > .ui-widget.infoBoxContainer table {
    table-layout: fixed;
    width: 100%;
  }

  #bodyContent .product-detail-page form[name="cart_quantity"] > .contentContainer2 > .ui-widget.infoBoxContainer td {
    width: 50%;
    padding: 12px;
  }

  #bodyContent .product-detail-page form[name="cart_quantity"] > .contentContainer2 > .ui-widget.infoBoxContainer td > a:first-child {
    display: flex;
    height: 170px;
    align-items: center;
    justify-content: center;
  }

  #bodyContent .product-detail-page form[name="cart_quantity"] > .contentContainer2 > .ui-widget.infoBoxContainer td img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 150px;
  }

  .contentContainer2 > .contentText {
    margin-right: 0 !important;
  }

  .buttonSet {
    justify-content: space-between !important;
  }

  table {
    min-width: 100% !important;
  }
}
/* Shopping cart */
.shopping-cart {
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #e1e1e8;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  color: #24242b;
}

.shopping-cart > .infoBoxContainer {
  margin: 0 !important;
  box-shadow: none !important;
}

.shopping-cart .ui-widget-header_keski {
  padding: 0 0 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #e8e8ed !important;
  background: #fff !important;
}

.shopping-cart .ui-widget-header_keski h1 {
  color: #24242b !important;
  font-size: 26px !important;
  letter-spacing: 0 !important;
}

.shopping-cart .contentContainer {
  margin: 0 !important;
}

.shopping-cart .contentContainer h2 {
  margin: 22px 0 8px !important;
  color: #24242b !important;
  font-size: 18px !important;
  letter-spacing: 0 !important;
}

.shopping-cart .contentContainer h2::before {
  display: none;
}

.shopping-cart .contentText {
  margin: 0 !important;
  color: #24242b !important;
}

.shopping-cart-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #ebebef;
}

.shopping-cart-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  border-radius: 7px;
  background: #f5f5f7;
}

.shopping-cart-image img {
  display: block;
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.shopping-cart-details {
  min-width: 0;
}

.shopping-cart-name {
  color: #292831;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.shopping-cart-name:hover {
  color: #555d9f;
  text-decoration: underline;
}

.shopping-cart-option {
  margin-top: 4px;
  color: #686872;
  font-size: 13px;
}

.shopping-cart-price {
  color: #292831;
  white-space: nowrap;
}

.shopping-cart-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shopping-cart .shopping-cart-controls input[name="cart_quantity[]"] {
  box-sizing: border-box;
  width: 58px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #c9c9d2;
  border-radius: 6px;
  background: #fff;
  color: #24242b;
}

.shopping-cart-controls > span {
  display: inline-flex;
}

.shopping-cart .shopping-cart-controls button,
.shopping-cart .shopping-cart-controls a {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #c9c9d2;
  border-radius: 6px;
  background: #fff;
  color: #45445a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 1;
  text-decoration: none;
}

.shopping-cart .shopping-cart-controls button:hover,
.shopping-cart .shopping-cart-controls a:hover {
  border-color: #555d9f;
  background: #f5f5fa;
  color: #40477f;
}

.shopping-cart .ui-button-icon-primary {
  display: none;
}

.shopping-cart .ui-button .ui-button-text {
  padding: 0;
}

.shopping-cart .shoppingcart-totals {
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid #e5e5eb;
  background: #f7f7f9;
}

.shopping-cart .shoppingcart-totals .row {
  gap: 12px;
  padding: 0;
  color: #292831;
}

.shopping-cart .shoppingcart-totals strong {
  white-space: nowrap;
}

@media screen and (min-width: 1025px) {
  #bodyContent.shopping-cart-page {
    left: 0;
  }

  #bodyContent.shopping-cart-page-with-sidebar {
    float: left;
    width: 83%;
  }
}

/* Uniform theme: square corners everywhere (loaded last, overrides earlier radii) */
#bodyWrapper *,
#bodyWrapper *::before,
#bodyWrapper *::after {
  border-radius: 2 !important;
}

/* Hero keeps a small radius */
#bodyWrapper .home-finder {
  border-radius: 4px !important;
}

/* Keep the right sidebar beside the content on desktop */
@media screen and (min-width: 1025px) {
  #bodyContent.body-content-with-sidebar {
    box-sizing: border-box;
    float: left;
    width: 82%;
    margin-left: 0;
    margin-right: 0;
  }

  #columnRight {
    box-sizing: border-box;
    float: left;
    width: 18%;
    margin-left: 0;
    margin-right: 0;
  }
}

.shopping-cart .checkout-button-group {
  justify-content: flex-end;
  margin: 20px 0 0;
}

.shopping-cart .checkout-button-group > span,
.shopping-cart .checkout-button-group > span > span {
  display: inline-flex !important;
}

.shopping-cart .checkout-button-group a,
.shopping-cart .checkout-button-group button,
.shopping-cart .checkout-button-group .buttonAction a,
.shopping-cart .checkout-button-group .buttonAction button {
  box-sizing: border-box;
  display: inline-flex !important;
  min-height: 46px !important;
  align-items: center;
  justify-content: center;
  padding: 10px 20px !important;
  border: 1px solid #555d9f !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #444c8b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2;
  opacity: 1;
  text-decoration: none;
}

.shopping-cart .checkout-button-group .buttonAction:first-child a {
  background: #555d9f !important;
  color: #fff !important;
}

.shopping-cart .checkout-button-group a:hover,
.shopping-cart .checkout-button-group button:hover,
.shopping-cart .checkout-button-group .buttonAction a:hover,
.shopping-cart .checkout-button-group .buttonAction button:hover {
  border-color: #40477f !important;
  background: #f1f1f8 !important;
  color: #343a68 !important;
}

.shopping-cart .checkout-button-group .buttonAction:first-child a:hover {
  background: #40477f !important;
  color: #fff !important;
}

.shopping-cart a:focus-visible,
.shopping-cart button:focus-visible,
.shopping-cart input:focus-visible {
  outline: 3px solid #7770b5;
  outline-offset: 2px;
}

@media screen and (max-width: 767px) {
  .shopping-cart {
    padding: 16px;
  }

  .shopping-cart .ui-widget-header_keski h1 {
    font-size: 23px !important;
  }

  .shopping-cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .shopping-cart-image {
    min-height: 72px;
  }

  .shopping-cart-image img {
    max-height: 72px;
  }

  .shopping-cart-price {
    grid-column: 2;
  }

  .shopping-cart .checkout-button-group > span,
  .shopping-cart .checkout-button-group > span > span,
  .shopping-cart .checkout-button-group a {
    width: 100%;
  }
}

/* Use the storefront's card styling for the right sidebar. */
#columnRight,
#columnRight div,
#columnRight a,
#columnRight strong,
#columnRight input,
#columnRight button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

#columnRight .infoBoxContainer {
  border: 1px solid #dfe3ed !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(27, 35, 57, 0.05) !important;
}

#columnRight .infoBoxHeading {
  box-sizing: border-box;
  height: auto !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #e6e8f1 !important;
  background: #f6f7fb !important;
  color: #303b5a !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}

#columnRight .infoBoxHeading a,
#columnRight .infoBoxHeading a:visited {
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
}

#columnRight .infoBoxHeading a:hover,
#columnRight .infoBoxHeading a:focus-visible {
  text-decoration: underline !important;
}

#columnRight .infoBoxContents {
  box-sizing: border-box;
  padding: 12px !important;
  color: #394354 !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere;
}

#columnRight .infoBoxContents a {
  color: #444c8b;
  font-size: inherit !important;
  font-weight: 400 !important;
}

#columnRight .infoBoxContents a:hover,
#columnRight .infoBoxContents a:focus-visible {
  text-decoration: underline;
}

/* The featured sidebar box uses legacy markup without a module-specific class. */
#columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  color: #252b4a !important;
  font-weight: 600 !important;
}

#columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > br {
  display: none;
}

#columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > a:first-of-type {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 160px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #e4e7f0;
  border-radius: 7px;
  background: #f7f8fb;
}

#columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > a:first-of-type img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > a:nth-of-type(2) {
  color: #303b5a;
  font-weight: 600 !important;
  line-height: 1.4;
  text-decoration: none;
}

#columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > a:nth-of-type(2):hover,
#columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > a:nth-of-type(2):focus-visible {
  color: #444c8b;
  text-decoration: underline;
}

#columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > s {
  color: #737b8c;
  font-weight: 400;
}

@media screen and (max-width: 1024px) {
  #columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: start;
  }

  #columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > a:first-of-type {
    grid-column: 1;
    grid-row: 1 / span 4;
    height: 96px;
  }

  #columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > a:nth-of-type(2),
  #columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > s,
  #columnRight .infoBoxContainer:has(> .infoBoxHeading a[href*="featured_products.php"]) > .infoBoxContents > .productSpecialPrice {
    grid-column: 2;
  }
}

#columnRight .infoBoxContents a.sidebar-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #167a43;
  vertical-align: middle;
}

#columnRight .sidebar-whatsapp svg {
  display: block;
  width: 22px;
  height: 22px;
}

#columnRight table.infoBoxContents tr > td[align="right"][valign="top"]:first-child {
  width: 1%;
  padding: 5px 8px 5px 12px !important;
  color: #687087 !important;
  vertical-align: top !important;
  white-space: nowrap;
}

#columnRight table.infoBoxContents tr > td[align="right"][valign="top"]:first-child + td[valign="top"] {
  padding: 5px 12px 5px 0 !important;
  vertical-align: top !important;
}

#columnRight table.infoBoxContents tr:first-child > td[align="right"][valign="top"]:first-child,
#columnRight table.infoBoxContents tr:first-child > td[align="right"][valign="top"]:first-child + td[valign="top"] {
  padding-top: 12px !important;
}

#columnRight table.infoBoxContents td[colspan="2"][style*="padding-top"] {
  padding: 4px 12px 0 !important;
}

#columnRight table.infoBoxContents td[colspan="2"][style*="padding-top"] hr {
  margin: 4px 0 !important;
}

#columnRight table.infoBoxContents td[colspan="2"][align="right"] {
  padding: 6px 12px 12px !important;
  color: #303b5a !important;
  font-weight: 600;
  text-align: right;
}

#columnRight form[name="login"] input[type="text"],
#columnRight form[name="login"] input[type="password"] {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid #c9cde0;
  background: #fff;
  color: #292831;
  font-size: 14px;
}

#columnRight form[name="login"] button.ui-button {
  box-sizing: border-box;
  display: inline-flex;
  max-width: 100%;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

#columnRight form[name="login"] button.ui-button .ui-button-icon-primary {
  display: none;
}

#columnRight form[name="login"] button.ui-button .ui-button-text {
  padding: 0 !important;
}

@media screen and (max-width: 767px) {
  #columnRight form[name="login"] button.ui-button {
    min-height: 44px;
  }
}

/* Cap page width on wide screens */
#bodyWrapper {
  box-sizing: border-box;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

/* Header cart: solid square button in the theme purple */
.store-header-actions .store-header-cart {
  border: 1px solid #555d9f;
  background: #555d9f;
  color: #fff;
}

.store-header-actions .store-header-cart:hover,
.store-header-actions .store-header-cart:focus-visible {
  background: #444c8b;
  border-color: #444c8b;
}

.store-header-actions .store-header-cart .store-cart-count {
  background: #fff;
  color: #555d9f;
  font-weight: bold;
}

/* Match homepage typography to the cleaner storefront controls. */
#bodyContent .homepage,
#bodyContent .homepage h1,
#bodyContent .homepage h2,
#bodyContent .homepage p,
#bodyContent .homepage div,
#bodyContent .homepage td,
#bodyContent .homepage a,
#bodyContent .homepage label,
#bodyContent .homepage button,
#bodyContent .homepage select {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

#bodyContent .homepage .home-finder h1 {
  font-weight: 500;
}

#bodyContent .homepage .home-brand-shortcuts h2,
#bodyContent .homepage .homeProductSection h2 {
  font-weight: 600;
}

#bodyContent .homepage .home-finder-field label,
#bodyContent .homepage .home-finder-form button,
#bodyContent .homepage .home-finder-all,
#bodyContent .homepage .homeProductSection .footerProducto a {
  font-weight: 600;
}

/* Homepage campaign product */
#bodyContent .home-latest-news {
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 10px 24px;
  border: 1px solid #dce0eb;
  border-radius: 10px;
  background: #fff;
}

#bodyContent .home-latest-news > .contentText:first-child {
  padding: 12px 16px;
  border-bottom: 1px solid #dce0eb;
  background: #f1f2f9;
}

#bodyContent .home-latest-news h2 {
  margin: 0;
  padding: 0;
  color: #252b4a;
  font-size: 19px;
  font-weight: 600;
}

#bodyContent .home-latest-news > .contentText + .contentText {
  padding: 4px 16px 12px;
  text-align: left;
}

#bodyContent .home-latest-news table {
  width: 100%;
}

#bodyContent .home-latest-news td {
  padding: 5px 0;
  line-height: 1.45;
}

#bodyContent .home-latest-news p {
  margin: 0;
}

#bodyContent .home-latest-news hr {
  margin: 10px 0 2px;
  border: 0;
  border-top: 1px solid #e8eaf1;
}

.star-product-feature {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin: 0 10px 24px;
  padding: 18px;
  border: 1px solid #dce0eb;
  border-radius: 12px;
  background: linear-gradient(110deg, #fff 45%, #f6f7fc 100%);
  box-shadow: 0 4px 16px rgba(39, 50, 72, 0.06);
  color: #2c3e50;
}

.star-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8eaf1;
  border-radius: 8px;
  background: #fff;
}

.star-product-image img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.star-product-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 35%);
  grid-template-areas: "label button" "name button" "price button";
  align-items: center;
  gap: 8px 20px;
  min-width: 0;
}

.star-product-label {
  grid-area: label;
  justify-self: start;
  padding: 5px 9px;
  border-radius: 4px;
  background: #e9ebf7;
  color: #555d9f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.star-product-name {
  grid-area: name;
  color: #273248;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.star-product-price {
  grid-area: price;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-width: 0;
  color: #273248;
  font-size: 19px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.star-product-price > br {
  display: none;
}

.star-product-price s {
  color: #71798a;
  font-size: 14px;
  font-weight: 400;
}

.star-product-price .productSpecialPrice {
  color: #a3293b;
  font-size: inherit;
}

.star-product-button {
  box-sizing: border-box;
  grid-area: button;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 18px;
  border-radius: 6px;
  background: #555d9f;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

.star-product-button:hover,
.star-product-button:focus-visible {
  background: #444c8b;
}

@media screen and (max-width: 1024px) {
  .star-product-info {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "label" "name" "price" "button";
  }

  .star-product-button {
    justify-self: start;
  }
}

@media screen and (max-width: 767px) {
  .star-product-feature {
    grid-template-columns: minmax(80px, 32%) minmax(0, 1fr);
    gap: 14px;
    margin: 0 0 20px;
    padding: 12px;
  }

  .star-product-image img {
    height: 110px;
  }

  .star-product-info {
    gap: 7px;
  }

  .star-product-name {
    font-size: 16px;
    line-height: 1.25;
  }

  .star-product-price {
    font-size: 17px;
  }

  .star-product-button {
    padding: 10px 14px;
  }
}

.cuadroProducto,
.star-product-feature {
  cursor: pointer;
}

/* Header account / logout icons, same size as the cart icon */
.store-header-icon {
  display: block;
  width: 26px;
  height: 26px;
}

.store-header-actions a.store-header-account {
  position: relative;
  min-width: 44px;
  padding: 0 5px;
  color: #555d9f;
  border: 1px solid #555d9f;
}

.store-header-actions a.store-header-account:hover,
.store-header-actions a.store-header-account:focus-visible {
  color: #444c8b;
  background: #f5f6fb;
  
}

/* Advanced search: minimal single-column form, search button last */
form[name="advanced_search"] .contentContainer > h2 {
  margin: 8px 0 16px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

form[name="advanced_search"] .contentText {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 !important;
  padding: 0 10px !important;
  color: #2c3e50;
  font-size: 15px;
  font-weight: 500;
}

form[name="advanced_search"] .contentText > div:nth-child(1) { order: 1; }
form[name="advanced_search"] .contentText > table { order: 2; margin-top: 20px; }
form[name="advanced_search"] .contentText > div:nth-child(3) {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-top: 24px;
}
form[name="advanced_search"] .contentText > br,
form[name="advanced_search"] .contentText > div:nth-child(3) span { float: none !important; }
form[name="advanced_search"] .contentText > br { display: none; }

form[name="advanced_search"] input[type="text"],
form[name="advanced_search"] input[type="search"],
form[name="advanced_search"] select {
  box-sizing: border-box;
  width: 100% !important;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #c9cde0;
  background: #fff;
  color: #2c3e50;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
}

form[name="advanced_search"] input[type="text"]:focus,
form[name="advanced_search"] select:focus {
  border-color: #555d9f;
  outline: 2px solid rgba(85, 93, 159, .25);
}

form[name="advanced_search"] table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

form[name="advanced_search"] td.fieldKey {
  width: 38%;
  padding-right: 16px;
  color: #2c3e50;
  font-size: 15px;
  font-weight: 700;
}

form[name="advanced_search"] td.smallText {
  color: #2c3e50;
  font-size: 14px;
  font-weight: 500;
}

form[name="advanced_search"] input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  accent-color: #555d9f;
  vertical-align: -2px;
}

form[name="advanced_search"] .contentText > div:nth-child(3) a {
  color: #555d9f;
  font-size: 14px;
  font-weight: 600;
}

form[name="advanced_search"] .ui-button {
  min-height: 46px;
  padding: 0 28px;
  font-size: 15px !important;
  font-weight: 700 !important;
}

@media screen and (max-width: 767px) {
  form[name="advanced_search"] td.fieldKey {
    width: auto;
    padding: 0;
  }
}

/* Cart and checkout typography and actions */
#bodyContent.purchase-flow {
  color: #292831;
}

#bodyContent.purchase-flow .ui-widget-header_keski h1,
#bodyContent.purchase-flow .ui-widget-header_keski h3 {
  color: #292831 !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.25;
}

#bodyContent.purchase-flow .contentContainer h2,
#bodyContent.purchase-flow .contentContainer2 h2 {
  color: #292831 !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

#bodyContent.purchase-flow .contentContainer h2::before,
#bodyContent.purchase-flow .contentContainer2 h2::before {
  display: none;
}

#bodyContent.purchase-flow .ui-button {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px !important;
  padding: 10px 18px !important;
  border: 1px solid #b9b9c9 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #3e4268 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.3;
  text-decoration: none;
  transform: none !important;
}

#bodyContent.purchase-flow .ui-button.ui-priority-primary,
#bodyContent.purchase-flow .shopping-cart .checkout-button-group .buttonAction:first-child a {
  border-color: #555d9f !important;
  background: #555d9f !important;
  color: #fff !important;
}

#bodyContent.purchase-flow form[name="create_account"] button.ui-priority-primary,
#bodyContent.purchase-flow form[name="checkout_address"] button.ui-priority-primary,
#bodyContent.purchase-flow form[name="checkout_payment"] button.ui-priority-primary,
#bodyContent.purchase-flow form[name="checkout_confirmation"] button.ui-priority-primary {
  border-radius: 4px !important;
}

#bodyContent.purchase-flow .ui-button:hover {
  border-color: #40477f !important;
  background: #f3f3f8 !important;
  color: #343a68 !important;
}

#bodyContent.purchase-flow .ui-button.ui-priority-primary:hover,
#bodyContent.purchase-flow .shopping-cart .checkout-button-group .buttonAction:first-child a:hover {
  background: #40477f !important;
  color: #fff !important;
}

#bodyContent.purchase-flow .ui-button .ui-button-text {
  padding: 0 !important;
  font-weight: inherit;
}

#bodyContent.purchase-flow .ui-button .ui-button-icon-primary {
  display: none;
}

#bodyContent.purchase-flow .ui-button:focus-visible,
#bodyContent.purchase-flow input:focus-visible,
#bodyContent.purchase-flow select:focus-visible,
#bodyContent.purchase-flow textarea:focus-visible {
  outline: 2px solid #555d9f !important;
  outline-offset: 2px;
}

#bodyContent.purchase-flow .shopping-cart-name {
  color: #555d9f;
  font-weight: 400;
}

#bodyContent.purchase-flow .shopping-cart-name:hover {
  color: #40477f;
}

#bodyContent.purchase-flow .shopping-cart,
#bodyContent.purchase-flow .shopping-cart-image,
#bodyContent.purchase-flow .shoppingcart-totals {
  border-radius: 6px !important;
}

#bodyContent.purchase-flow .shopping-cart .ui-button,
#bodyContent.purchase-flow .shopping-cart-controls input[name="cart_quantity[]"] {
  border-radius: 4px !important;
}

#bodyContent.purchase-flow .shopping-cart-controls {
  gap: 6px;
}

#bodyContent.purchase-flow .shopping-cart .shopping-cart-controls input[name="cart_quantity[]"] {
  width: 48px;
  padding: 6px;
}

#bodyContent.purchase-flow .shopping-cart .shopping-cart-controls .ui-button {
  padding: 6px 8px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

#bodyContent.purchase-flow .purchase-login .ui-widget-header_keski h2,
#bodyContent.purchase-flow .purchase-login .ui-widget-header_keski h5 {
  color: #292831 !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.3;
}

#bodyContent.purchase-flow .purchase-login .contentContainer {
  margin: 8px 0 16px !important;
}

#bodyContent.purchase-flow .purchase-login .infoBoxContainer {
  margin-bottom: 0 !important;
}

#bodyContent.purchase-flow .purchase-login .ui-widget-header_keski {
  padding: 10px 12px !important;
}

#bodyContent.purchase-flow .purchase-login .ui-widget-header_keski h2,
#bodyContent.purchase-flow .purchase-login .ui-widget-header_keski h5 {
  margin: 0 !important;
  padding: 0 !important;
}

#bodyContent.purchase-flow .purchase-login .contentText,
#bodyContent.purchase-flow .purchase-login #loginModules .main {
  margin: 6px 0 !important;
  padding: 4px 10px;
}

#bodyContent.purchase-flow .purchase-login .contentText p,
#bodyContent.purchase-flow .purchase-login #loginModules .main p {
  margin: 8px 0;
}

#bodyContent.purchase-flow .purchase-login #loginModules > .contentContainer > br {
  display: none;
}

#bodyContent.purchase-flow .purchase-login .buttonSet {
  justify-content: flex-end !important;
  margin: 8px 0 !important;
}

#bodyContent.purchase-flow .purchase-login .ui-button {
  border-radius: 4px !important;
}

#bodyContent.purchase-flow .purchase-login form[name="login"] input[type="text"],
#bodyContent.purchase-flow .purchase-login form[name="login"] input[type="password"] {
  box-sizing: border-box;
  width: 320px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #c9c9d2;
  border-radius: 4px !important;
  background: #fff;
  color: #292831;
  font: inherit;
  font-size: 15px;
}

#bodyContent.purchase-flow .purchase-login > .infoBoxContainer,
#bodyContent.purchase-flow .purchase-login #loginModules .infoBoxContainer {
  border: 1px solid #e1e4ee;
  border-radius: 8px 8px 0 0 !important;
  box-shadow: none !important;
}

#bodyContent.purchase-flow .purchase-login .ui-widget-header_keski {
  padding: 14px 18px !important;
  background: #f6f7fb !important;
}

#bodyContent.purchase-flow .purchase-login .ui-widget-header_keski h2,
#bodyContent.purchase-flow .purchase-login .ui-widget-header_keski h5 {
  color: #303b5a !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}

#bodyContent.purchase-flow .purchase-login > .contentContainer {
  box-sizing: border-box;
  margin: 0 0 16px !important;
  padding: 8px 18px 14px !important;
  border: 1px solid #e1e4ee;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

#bodyContent.purchase-flow .purchase-login #loginModules > .contentContainer > .productListTable {
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e1e4ee;
  border-radius: 8px;
  background: #fff;
}

#bodyContent.purchase-flow .purchase-login #loginModules .infoBoxContainer {
  border: 0;
  border-bottom: 1px solid #e1e4ee;
  border-radius: 0 !important;
}

#bodyContent.purchase-flow .purchase-login .contentText,
#bodyContent.purchase-flow .purchase-login #loginModules .main {
  padding: 8px 18px;
}

@media screen and (min-width: 1025px) {
  #bodyContent.purchase-flow .purchase-login #loginModules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #bodyContent.purchase-flow .purchase-login #loginModules > .contentContainer {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0 !important;
  }

  #bodyContent.purchase-flow .purchase-login form[name="login"] table,
  #bodyContent.purchase-flow .purchase-login form[name="login"] tbody,
  #bodyContent.purchase-flow .purchase-login form[name="login"] tr,
  #bodyContent.purchase-flow .purchase-login form[name="login"] td {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
  }

  #bodyContent.purchase-flow .purchase-login form[name="login"] input[type="text"],
  #bodyContent.purchase-flow .purchase-login form[name="login"] input[type="password"] {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  #bodyContent.purchase-flow .purchase-login form[name="login"] td {
    padding: 4px 0 !important;
    vertical-align: middle;
    font-size: 14px;
  }

  #bodyContent.purchase-flow .purchase-login form[name="login"] .fieldKey {
    width: 170px;
    font-weight: 400;
  }

  #bodyContent.purchase-flow .shopping-cart {
    padding: 18px;
  }

  #bodyContent.purchase-flow .shopping-cart .ui-widget-header_keski {
    padding-bottom: 10px !important;
  }

  #bodyContent.purchase-flow .shopping-cart .contentContainer h2 {
    margin: 14px 0 6px !important;
  }

  #bodyContent.purchase-flow .shopping-cart-item {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 10px 0;
  }

  #bodyContent.purchase-flow .shopping-cart-image {
    min-height: 76px;
  }

  #bodyContent.purchase-flow .shopping-cart-image img {
    max-height: 76px;
  }

  #bodyContent.purchase-flow .shopping-cart-controls {
    margin-top: 6px;
  }

  #bodyContent.purchase-flow .shopping-cart .shopping-cart-controls input[name="cart_quantity[]"],
  #bodyContent.purchase-flow .shopping-cart .shopping-cart-controls .ui-button {
    min-height: 36px !important;
  }

  #bodyContent.purchase-flow .shopping-cart .shoppingcart-totals {
    margin-top: 12px;
    padding: 10px 12px;
  }

  #bodyContent.purchase-flow .shopping-cart .checkout-button-group {
    margin-top: 12px;
  }

  #bodyContent.purchase-flow form[name="create_account"] .buttonSet {
    justify-content: flex-end !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentContainer2 > h2,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentContainer2 > h2 {
    margin: 14px 0 8px !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentContainer2 > .contentText,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentContainer2 > .contentText {
    margin: 8px 0 !important;
  }

  #bodyContent.purchase-flow .checkout-address-summary .infoBoxHeading {
    padding: 8px 12px !important;
  }

  #bodyContent.purchase-flow .checkout-address-summary .infoBoxContents {
    padding: 10px 12px !important;
    line-height: 1.4 !important;
  }

  #bodyContent.purchase-flow .checkout-address-summary > br + br {
    display: none;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .checkout-separator {
    display: none;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > table td,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > table td {
    padding: 8px !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > table .moduleRow td,
  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > table .moduleRowOver td,
  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > table .moduleRowSelected td,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > table .moduleRow td,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > table .moduleRowOver td,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > table .moduleRowSelected td {
    padding: 0 !important;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentContainer h2 {
    color: #555d9f !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    margin: 14px 0 6px !important;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText,
  #bodyContent.purchase-flow .checkout-new-address {
    margin: 4px 0 !important;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText table,
  #bodyContent.purchase-flow .checkout-new-address table {
    width: 100% !important;
    border-collapse: collapse;
    table-layout: fixed;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText tr,
  #bodyContent.purchase-flow .checkout-new-address tr {
    border: 0;
    background: transparent;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText td,
  #bodyContent.purchase-flow .checkout-new-address td {
    padding: 3px 0 !important;
    border: 0;
    vertical-align: middle;
    font-size: 14px;
  }

  #bodyContent.purchase-flow form[name="create_account"] .fieldKey,
  #bodyContent.purchase-flow .checkout-new-address .fieldKey {
    width: 170px;
    color: #383740;
    font-weight: 400;
  }

  #bodyContent.purchase-flow form[name="create_account"] .fieldValue input[type="text"],
  #bodyContent.purchase-flow form[name="create_account"] .fieldValue input[type="password"],
  #bodyContent.purchase-flow form[name="create_account"] .fieldValue select,
  #bodyContent.purchase-flow .checkout-new-address .fieldValue input[type="text"],
  #bodyContent.purchase-flow .checkout-new-address .fieldValue select {
    box-sizing: border-box;
    width: 320px !important;
    max-width: calc(100% - 24px);
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #c9c9d2;
    border-radius: 4px;
    background: #fff;
    color: #292831;
    font-family: inherit;
    font-size: 15px !important;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  #bodyContent.purchase-flow .purchase-login .ui-widget-header_keski h2,
  #bodyContent.purchase-flow .purchase-login .ui-widget-header_keski h5 {
    font-size: 18px !important;
  }

  #bodyContent.purchase-flow .checkout-success-actions .buttonAction,
  #bodyContent.purchase-flow .checkout-success-actions .buttonAction > span,
  #bodyContent.purchase-flow .checkout-success-actions .buttonAction button {
    box-sizing: border-box;
    width: 100% !important;
  }

  #bodyContent.purchase-flow .checkout-success-actions .buttonAction button {
    border-radius: 4px !important;
  }

  #bodyContent.purchase-flow .purchase-login .buttonSet > span,
  #bodyContent.purchase-flow .purchase-login .buttonSet .ui-button,
  #bodyContent.purchase-flow .purchase-login form[name="login"] p[align="right"] > span,
  #bodyContent.purchase-flow .purchase-login form[name="login"] p[align="right"] .ui-button,
  #bodyContent.purchase-flow .purchase-login #loginModules .main p[align="right"] > span,
  #bodyContent.purchase-flow .purchase-login #loginModules .main p[align="right"] .ui-button {
    display: block !important;
    width: 100% !important;
  }

  #bodyContent.purchase-flow .purchase-login form[name="login"] table,
  #bodyContent.purchase-flow .purchase-login form[name="login"] tbody,
  #bodyContent.purchase-flow .purchase-login form[name="login"] tr,
  #bodyContent.purchase-flow .purchase-login form[name="login"] td {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
  }

  #bodyContent.purchase-flow .purchase-login form[name="login"] td.fieldKey {
    padding: 8px 0 4px !important;
    font-size: 14px;
    font-weight: 400;
  }

  #bodyContent.purchase-flow .purchase-login form[name="login"] td.fieldValue {
    padding: 0 0 6px !important;
  }

  #bodyContent.purchase-flow .purchase-login form[name="login"] input[type="text"],
  #bodyContent.purchase-flow .purchase-login form[name="login"] input[type="password"] {
    width: 100%;
    font-size: 16px;
  }

  #bodyContent.purchase-flow .contentText > .infoBoxContainer[style*="float"] {
    float: none !important;
    width: auto !important;
    margin: 0 0 16px !important;
  }

  #bodyContent.purchase-flow .shopping-cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  #bodyContent.purchase-flow .shopping-cart-image {
    min-height: 56px;
  }

  #bodyContent.purchase-flow .shopping-cart-image img {
    max-height: 56px;
  }

  #bodyContent.purchase-flow input[type="text"],
  #bodyContent.purchase-flow input[type="password"],
  #bodyContent.purchase-flow select,
  #bodyContent.purchase-flow textarea {
    box-sizing: border-box;
    max-width: 100%;
    font-size: 16px !important;
  }

  #bodyContent.purchase-flow .contentContainer2 {
    box-sizing: border-box;
    width: 100% !important;
    margin: 0 !important;
  }

  #bodyContent.purchase-flow .ui-widget-header_keski {
    padding: 14px 16px !important;
  }

  #bodyContent.purchase-flow .contentContainer h2,
  #bodyContent.purchase-flow .contentContainer2 h2 {
    margin: 18px 0 8px !important;
  }

  #bodyContent.purchase-flow .contentText {
    box-sizing: border-box;
    margin: 8px 0 12px !important;
    padding: 0 !important;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText,
  #bodyContent.purchase-flow .checkout-new-address {
    overflow: visible;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText table,
  #bodyContent.purchase-flow form[name="create_account"] .contentText tbody,
  #bodyContent.purchase-flow form[name="create_account"] .contentText tr,
  #bodyContent.purchase-flow form[name="create_account"] .contentText td,
  #bodyContent.purchase-flow .checkout-new-address table,
  #bodyContent.purchase-flow .checkout-new-address tbody,
  #bodyContent.purchase-flow .checkout-new-address tr,
  #bodyContent.purchase-flow .checkout-new-address td {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText tr,
  #bodyContent.purchase-flow .checkout-new-address tr {
    border: 0;
    background: transparent;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText td.fieldKey,
  #bodyContent.purchase-flow .checkout-new-address td.fieldKey {
    padding: 8px 0 4px !important;
    font-weight: 400;
  }

  #bodyContent.purchase-flow form[name="create_account"] .contentText td.fieldValue,
  #bodyContent.purchase-flow .checkout-new-address td.fieldValue {
    padding: 0 0 6px !important;
  }

  #bodyContent.purchase-flow form[name="create_account"] .fieldValue input[type="text"],
  #bodyContent.purchase-flow form[name="create_account"] .fieldValue input[type="password"],
  #bodyContent.purchase-flow form[name="create_account"] .fieldValue select,
  #bodyContent.purchase-flow .checkout-new-address .fieldValue input[type="text"],
  #bodyContent.purchase-flow .checkout-new-address .fieldValue select {
    width: calc(100% - 24px) !important;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #c9c9d2;
    background: #fff;
    color: #292831;
    text-align: left;
  }

  #bodyContent.purchase-flow form[name="create_account"] .fieldValue input[type="radio"],
  #bodyContent.purchase-flow .checkout-new-address .fieldValue input[type="radio"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    accent-color: #555d9f;
  }

  #bodyContent.purchase-flow form[name="create_account"] .buttonAction > span {
    display: block;
    width: 100%;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .infoBoxHeading,
  #bodyContent.purchase-flow form[name="checkout_payment"] .infoBoxHeading {
    padding: 10px 12px !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .infoBoxContents,
  #bodyContent.purchase-flow form[name="checkout_payment"] .infoBoxContents {
    padding: 12px !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .moduleRow,
  #bodyContent.purchase-flow form[name="checkout_address"] .moduleRowOver,
  #bodyContent.purchase-flow form[name="checkout_address"] .moduleRowSelected,
  #bodyContent.purchase-flow form[name="checkout_payment"] .moduleRow,
  #bodyContent.purchase-flow form[name="checkout_payment"] .moduleRowOver,
  #bodyContent.purchase-flow form[name="checkout_payment"] .moduleRowSelected {
    box-sizing: border-box;
    width: 100%;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    padding: 12px !important;
  }

  #bodyContent.purchase-flow .moduleRow td:first-child,
  #bodyContent.purchase-flow .moduleRowOver td:first-child,
  #bodyContent.purchase-flow .moduleRowSelected td:first-child {
    min-width: 0;
    width: auto;
    overflow-wrap: anywhere;
  }

  #bodyContent.purchase-flow .moduleRow td:nth-child(2),
  #bodyContent.purchase-flow .moduleRowOver td:nth-child(2),
  #bodyContent.purchase-flow .moduleRowSelected td:nth-child(2) {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0 !important;
    color: #292831;
    text-align: right !important;
  }

  #bodyContent.purchase-flow .moduleRow td:nth-child(3),
  #bodyContent.purchase-flow .moduleRowOver td:nth-child(3),
  #bodyContent.purchase-flow .moduleRowSelected td:nth-child(3) {
    flex: 0 0 auto;
    margin: 0 !important;
    align-self: center;
  }

  #bodyContent.purchase-flow .moduleRowSelected {
    border-color: #555d9f !important;
    background: #f7f7fa !important;
    box-shadow: none !important;
  }

  #bodyContent.purchase-flow .moduleRow td,
  #bodyContent.purchase-flow .moduleRowOver td,
  #bodyContent.purchase-flow .moduleRowSelected td {
    padding: 0 !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .checkout-separator {
    display: none;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > table td,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > table td {
    padding: 8px 4px !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > table .moduleRow td,
  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > table .moduleRowOver td,
  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > table .moduleRowSelected td,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > table .moduleRow td,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > table .moduleRowOver td,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > table .moduleRowSelected td {
    padding: 0 !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > br,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > br {
    display: none;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > .ui-button,
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > .ui-button {
    width: 100%;
    margin-top: 10px;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] textarea,
  #bodyContent.purchase-flow form[name="checkout_payment"] textarea {
    width: 100%;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentContainer2 > div[style*="float: right"],
  #bodyContent.purchase-flow form[name="checkout_address"] .contentContainer > div[style*="float: right"],
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentContainer2 > div[style*="float: right"],
  #bodyContent.purchase-flow form[name="checkout_confirmation"] .contentContainer > div[style*="float: right"] {
    float: none !important;
    width: 100%;
    margin: 12px 0;
  }

  #bodyContent.purchase-flow form[name="create_account"] .buttonSet .ui-button,
  #bodyContent.purchase-flow form[name="checkout_address"] .ui-button.ui-priority-primary,
  #bodyContent.purchase-flow form[name="checkout_payment"] .ui-button.ui-priority-primary,
  #bodyContent.purchase-flow form[name="checkout_confirmation"] .ui-button.ui-priority-primary {
    width: 100% !important;
  }

  #bodyContent.purchase-flow form[name="checkout_address"] .contentText > div[style*="float: left"],
  #bodyContent.purchase-flow form[name="checkout_payment"] .contentText > div[style*="float: left"],
  #bodyContent.purchase-flow form[name="checkout_confirmation"] .contentText > div[style*="float: left"] {
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
  }

  #bodyContent.purchase-flow form[name="checkout_confirmation"] .contentText {
    overflow: visible;
  }

  #bodyContent.purchase-flow .checkout-summary-layout,
  #bodyContent.purchase-flow .checkout-summary-layout > tbody,
  #bodyContent.purchase-flow .checkout-summary-layout > tbody > tr,
  #bodyContent.purchase-flow .checkout-summary-layout > tbody > tr > td {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }

  #bodyContent.purchase-flow .checkout-summary-layout > tbody > tr > td {
    padding: 0 !important;
  }

  #bodyContent.purchase-flow .checkout-summary-layout table {
    table-layout: fixed;
    width: 100% !important;
  }

  #bodyContent.purchase-flow .checkout-summary-layout table td {
    padding: 6px 4px !important;
    overflow-wrap: anywhere;
  }

  #bodyContent.purchase-flow .checkout-summary-products,
  #bodyContent.purchase-flow .checkout-summary-products > tbody {
    display: block;
  }

  #bodyContent.purchase-flow .checkout-summary-products tr {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  #bodyContent.purchase-flow .checkout-summary-products.has-tax tr {
    grid-template-columns: 30px minmax(0, 1fr) auto auto;
  }

  #bodyContent.purchase-flow .checkout-summary-products td {
    width: auto !important;
    min-width: 0;
  }

  #bodyContent.purchase-flow .checkout-summary-products td[colspan="3"] {
    grid-column: 1 / -1;
  }

  #bodyContent.purchase-flow .checkout-summary-products td[colspan="2"] {
    grid-column: span 2;
  }

  #bodyContent.purchase-flow .checkout-summary-products nobr {
    white-space: normal;
  }
}

#bodyWrapper select:not([multiple]):not([size]),
#bodyWrapper select:not([multiple])[size="1"] {
  appearance: none;
  padding-right: 40px !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' 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 12px center !important;
  background-size: 18px !important;
}

@media (forced-colors: active) {
  #bodyWrapper select:not([multiple]):not([size]),
  #bodyWrapper select:not([multiple])[size="1"] {
    appearance: auto;
    background-image: none !important;
  }
}
