/**
* Theme Name: Olars Child
* Description: This is a child theme of Olars, generated by Merlin WP.
* Author: <a href="https://themelexus.com/">Themelexus Team</a>
* Template: olars
* Version: 1.0.39
*/

body.page-template-template-header_sidebar .site-header-account .account-dropdown {
    right: auto;
    left: 0;
}

body.page-template-template-header_sidebar .site-header-account .account-dropdown .account-inner {
    width: 280px;
}

@media (min-width: 1025px) {
  .page-template-template-header_sidebar .breadcrumb-wrap {
    width: calc(100% - 315px);
    float: right;
  }
}

.elementor-header-group-wrapper .site-header-accounts a .account-content {
    display: none;
}

.header-group-action .site-header-accounts a i {
    font-size: 19px;
}

/* MY ACCOUNT PAGE START */

/* Remove sidebar float, make content full width */
.page-id-13 .content-group {
  display: block !important;
}
.page-id-13 #primary {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Center the woocommerce block inside */
.page-id-13 .site-main > .woocommerce {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem 4rem;
}

/* Notices stay full width of the form */
.page-id-13 .woocommerce-notices-wrapper {
  width: 100%;
  max-width: 460px;
}

/* Breadcrumb top margin */
.page-id-13 .breadcrumb-wrap {
  margin-top: 1.5rem;
}

/* ---------- Outer wrapper ---------- */
#customer_login.u-columns {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* ---------- Columns ---------- */
#customer_login .u-column1,
#customer_login .u-column2 {
  width: 100% !important;
  float: none !important;
  max-width: 460px;
  margin: 0 auto !important;
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  text-align: center;
}

/* ---------- Toggle wrap ---------- */
.b-toggle-wrap {
  display: flex;
  background: var(--e-global-color-52a1e11);
  border-radius: 100px;
  padding: 5px;
  margin: 0 auto 1.5rem;
  position: relative;
  width: 100%;
  max-width: 460px;
}

/* Sliding pill */
.b-toggle-pill {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.b-toggle-pill.right { transform: translateX(100%); }

/* Toggle buttons */
.b-toggle-btn {
  flex: 1;
  background: none !important;
  border: none !important;
  border-radius: 100px !important;
  padding: .7rem 1rem !important;
  color: var(--e-global-color-text) !important;
  opacity: .4;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: opacity .25s;
  text-align: center;
  box-shadow: none !important;
  outline: none !important;
  width: auto !important;
  display: inline-block !important;
  margin: 0 !important;
  transform: none !important;
}
.b-toggle-btn:hover {
  background: none !important;
  transform: none !important;
  opacity: .7;
}
.b-toggle-btn.active {
  opacity: 1;
}

/* ---------- Form headings ---------- */
.login-form-title,
.register-from-title {
  color: var(--e-global-color-text);
  margin-bottom: .25rem !important;
  margin-top: 0 !important;
}

/* ---------- Subtitle / small hints ---------- */
.woocommerce-form-login-wrap > p:first-of-type,
.woocommerce-form-register > p:first-of-type {
  color: var(--e-global-color-text) !important;
  opacity: .6;
  margin-bottom: 1.75rem !important;
}

/* ---------- Labels ---------- */
.woocommerce-form-row label,
.woocommerce-FormRow label {
  display: block;
  text-align: left;
  color: var(--e-global-color-text) !important;
  margin-bottom: .45rem !important;
}

/* ---------- Inputs ---------- */
.woocommerce-Input--text,
.woocommerce-Input {
  background: #fff !important;
  border: 1.5px solid var(--e-global-color-text) !important;
  border-radius: 8px !important;
  padding: .8rem 1rem !important;
  color: var(--e-global-color-text) !important;
  box-shadow: none !important;
  transition: border-color .25s !important;
  width: 100% !important;
  text-align: left;
}

.woocommerce-Input--text:focus,
.woocommerce-Input:focus {
  border-color: var(--primary) !important;
  outline: none !important;
}

.woocommerce-Input--text::placeholder,
.woocommerce-Input::placeholder {
  color: var(--e-global-color-text) !important;
  opacity: .6 !important;
}

/* ---------- Submit buttons — override theme fully ---------- */
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-button.button,
.woocommerce-Button.button {
  display: block !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: var(--e-global-color-text) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: .9rem 1.5rem !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background .3s, transform .15s !important;
  box-shadow: none !important;
  margin-top: .75rem !important;
  text-align: center !important;
  outline: none !important;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.woocommerce-button.button:hover,
.woocommerce-Button.button:hover {
  background: var(--primary) !important;
  transform: translateY(-1px) !important;
}

/* ---------- Lost password ---------- */
.woocommerce-LostPassword,
.lost_password {
  margin-top: .75rem !important;
  text-align: center !important;
}
.woocommerce-LostPassword a,
.lost_password a {
  color: var(--e-global-color-text) !important;
  opacity: .5;
  text-decoration: none !important;
  transition: opacity .2s !important;
}
.woocommerce-LostPassword a:hover,
.lost_password a:hover {
  opacity: 1;
  color: var(--primary) !important;
}

/* ---------- Remember me ---------- */
.woocommerce-form__label-for-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  color: var(--e-global-color-text) !important;
  text-align: left;
}
.woocommerce-form__input-checkbox {
  accent-color: var(--primary) !important;
  width: auto !important;
}

/* ---------- "A password will be sent" note ---------- */
.woocommerce-form-register p:not(.woocommerce-FormRow) {
  color: var(--e-global-color-text) !important;
  opacity: .6;
  margin-bottom: 1.5rem !important;
}

/* ---------- Privacy policy ---------- */
.woocommerce-privacy-policy-text {
  color: var(--e-global-color-text) !important;
  opacity: .6;
  text-align: center !important;
  margin-top: 1.25rem !important;
  line-height: 1.7 !important;
}
.woocommerce-privacy-policy-text a {
  color: var(--primary) !important;
  opacity: 1;
  text-underline-offset: 2px !important;
}

/* ---------- Required asterisk ---------- */
.required { color: var(--primary) !important; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  border-radius: 8px !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  #customer_login.u-columns {
    margin: 1.5rem auto;
    padding: 0 .75rem;
  }
  #customer_login .u-column1,
  #customer_login .u-column2 {
    padding: 1.75rem 1.25rem 1.5rem;
  }
  .b-toggle-wrap {
    margin-bottom: 1rem;
  }
}

/* ==============================================
   LOGGED-IN ACCOUNT PAGE
   ============================================== */

/* Layout: nav + content side by side */
.page-id-13 .woocommerce-MyAccount-navigation,
.page-id-13 .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}

.page-id-13 .woocommerce > .woocommerce-MyAccount-navigation,
.page-id-13 .woocommerce > .woocommerce-MyAccount-content {
  display: block;
}

/* Wrap nav + content in a centered container */
.page-id-13 .site-main > .woocommerce {
  max-width: 860px;
  width: 100%;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ---------- Sidebar nav ---------- */
.woocommerce-MyAccount-navigation {
  flex: 0 0 200px;
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  padding: 1rem 0;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  min-width: 0;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--e-global-color-52a1e11);
}

.woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: .75rem 1.25rem;
  color: var(--e-global-color-text) !important;
  text-decoration: none !important;
  opacity: .6;
  transition: opacity .2s, background .2s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  opacity: 1;
  background: var(--e-global-color-52a1e11);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  opacity: 1;
  background: var(--e-global-color-52a1e11);
}

/* Log out link — subtle */
.woocommerce-MyAccount-navigation-link--customer-logout a {
  opacity: .35 !important;
}
.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  opacity: .6 !important;
  color: var(--primary) !important;
}

/* ---------- Content area ---------- */
.woocommerce-MyAccount-content {
  flex: 1 1 0;
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  min-width: 0;
}

.woocommerce-MyAccount-content p {
  color: var(--e-global-color-text) !important;
  line-height: 1.7;
}

.woocommerce-MyAccount-content a {
  color: var(--primary) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Mobile: stack nav above content ---------- */
@media (max-width: 700px) {
  .page-id-13 .site-main > .woocommerce {
    flex-direction: column !important;
  }
  .woocommerce-MyAccount-navigation {
    flex: none;
    width: 100% !important;
  }
}

/* ---------- Inline anchor button links ---------- */
.page-id-13 .woocommerce-MyAccount-content a.button,
.page-id-13 .woocommerce a.button {
  display: inline-block !important;
  background: var(--e-global-color-text) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: .75rem 1.5rem !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .3s, transform .15s !important;
  box-shadow: none !important;
  width: auto !important;
}

.page-id-13 .woocommerce-MyAccount-content a.button:hover,
.page-id-13 .woocommerce a.button:hover {
  background: var(--primary) !important;
  transform: translateY(-1px) !important;
  color: #fff !important;
}

/* ---------- Show/hide password button ---------- */
.page-id-13 .show-password-input {
  position: absolute !important;
  right: .75rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 20px !important;
  height: 20px !important;
  cursor: pointer !important;
  opacity: .4;
  transition: opacity .2s !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  color: transparent !important;
}

.page-id-13 .show-password-input::before,
.page-id-13 .show-password-input::after {
  display: none !important;
}

.page-id-13 .show-password-input:hover {
  opacity: 1;
  background-color: transparent !important;
  transform: translateY(-50%) !important;
}

/* Revealed state — eye with slash */
.page-id-13 .show-password-input.display-password {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E") !important;
}

/* Make password field have room for the icon */
.page-id-13 .password-input {
  position: relative !important;
  display: block !important;
}

.page-id-13 .password-input .woocommerce-Input {
  padding-right: 2.75rem !important;
}

/* MY ACCOUNT PAGE END */

/* ==============================================
   CART PAGE
   ============================================== */

/* Remove sidebar float, full width */
.woocommerce-cart #primary {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Center the main content */
.woocommerce-cart .site-main {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 4rem;
}

/* Constrain and center the cart block */
.woocommerce-cart .wp-block-woocommerce-cart {
  width: 100%;
  max-width: 1020px;
}

/* Ensure the inner layout takes full width */
.woocommerce-cart .wc-block-components-sidebar-layout {
  width: 100%;
}

/* CART PAGE END */

/* ==============================================
   CHECKOUT PAGE
   ============================================== */

/* ---------- Outer content area ---------- */
.woocommerce-checkout #primary {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.woocommerce-checkout .site-main {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 4rem;
}

/* ---------- Checkout block wrapper ---------- */
.wp-block-woocommerce-checkout {
  width: 100%;
  max-width: 1020px;
}

/* ---------- Main layout: form + sidebar ---------- */
.wc-block-components-sidebar-layout.wc-block-checkout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

/* ---------- Left: checkout form ---------- */
.wc-block-checkout__main {
  flex: 1 1 0;
  min-width: 0;
}

/* ---------- Right: order summary sidebar ---------- */
.wc-block-checkout__sidebar {
  flex: 0 0 380px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  position: sticky;
  top: 1.5rem;
}

/* ---------- Express checkout section ---------- */
.wc-block-components-express-payment--checkout {
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  margin-bottom: 1.25rem;
}

.wc-block-components-express-payment__title {
  font-size: .88rem !important;
  font-weight: 600;
  color: var(--e-global-color-text) !important;
  opacity: .5;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .75rem !important;
}

.wc-block-components-express-payment__event-buttons {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.wc-block-components-express-payment-continue-rule--checkout {
  text-align: center;
  color: var(--e-global-color-text) !important;
  opacity: .4;
  font-size: .83rem;
  margin: .75rem 0 0;
}

/* ---------- Checkout step fieldsets ---------- */
.wc-block-components-checkout-step {
  background: #fff !important;
  border: 1px solid var(--e-global-color-52a1e11) !important;
  border-radius: 12px !important;
  padding: 1.75rem 1.75rem 1.75rem 1.75rem !important;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03) !important;
  margin-bottom: 1.25rem !important;
  border-left: 1px solid var(--e-global-color-52a1e11) !important;
}

.wc-block-components-checkout-step > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove default WC step number/line before pseudo-element */
.wc-block-components-checkout-step::before {
  display: none !important;
}

.wc-block-components-checkout-step > .wc-block-components-checkout-step__heading-container,
.wc-block-components-checkout-step > legend {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.wc-block-components-checkout-step__heading-container {
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--e-global-color-52a1e11);
}

.wc-block-components-checkout-step__heading {
  margin: 0;
}

.wc-block-components-checkout-step__title {
  color: var(--e-global-color-text) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

/* ---------- Text inputs ---------- */
.wc-block-components-text-input {
  position: relative;
  margin-bottom: 1rem !important;
}

.wc-block-components-text-input input {
  width: 100%;
  border: 1.5px solid var(--e-global-color-52a1e11) !important;
  border-radius: 8px !important;
  padding: 1rem .875rem .5rem !important;
  font-size: .95rem !important;
  color: var(--e-global-color-text) !important;
  background: transparent !important;
  outline: none !important;
  transition: border-color .2s !important;
  box-shadow: none !important;
}

.wc-block-components-text-input input:focus {
  border-color: var(--e-global-color-text) !important;
  box-shadow: none !important;
}

.wc-block-components-text-input label {
  position: absolute;
  top: 50%;
  left: .875rem;
  transform: translateY(-50%);
  font-size: .95rem;
  color: var(--e-global-color-text) !important;
  opacity: .45;
  pointer-events: none;
  transition: top .15s, font-size .15s, transform .15s;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus ~ label,
.wc-block-components-text-input input:not(:placeholder-shown) ~ label {
  top: .55rem;
  transform: none;
  font-size: .72rem;
  opacity: .6;
}

/* ---------- Select inputs ---------- */
.wc-blocks-components-select__container {
  position: relative;
  border: 1.5px solid var(--e-global-color-52a1e11) !important;
  border-radius: 8px !important;
  background: transparent !important;
  margin-bottom: 1rem;
  transition: border-color .2s;
}

.wc-blocks-components-select__container:focus-within {
  border-color: var(--e-global-color-text) !important;
}

.wc-blocks-components-select__label {
  position: absolute;
  top: .55rem;
  left: .875rem;
  font-size: .72rem !important;
  color: var(--e-global-color-text) !important;
  opacity: .6;
  pointer-events: none;
  z-index: 1;
}

.wc-blocks-components-select__select {
  width: 100%;
  border: none !important;
  background: transparent !important;
  padding: 1.35rem .875rem .5rem !important;
  font-size: .95rem !important;
  color: var(--e-global-color-text) !important;
  appearance: none;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.wc-blocks-components-select__expand {
  position: absolute;
  right: .6rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .5;
}

/* Add apartment toggle */
.wc-block-components-address-form__address_2-toggle {
  display: inline-block;
  font-size: .83rem;
  color: var(--e-global-color-text) !important;
  opacity: .45;
  cursor: pointer;
  margin-bottom: .75rem;
  transition: opacity .2s;
}

.wc-block-components-address-form__address_2-toggle:hover {
  opacity: .8;
}

/* ---------- Checkboxes ---------- */
.wc-block-components-checkbox {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .75rem 0;
}

.wc-block-components-checkbox__input {
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid var(--e-global-color-52a1e11) !important;
  border-radius: 4px !important;
  appearance: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  background: transparent;
}

.wc-block-components-checkbox__input:checked {
  background: var(--e-global-color-text) !important;
  border-color: var(--e-global-color-text) !important;
}

.wc-block-components-checkbox__mark {
  display: none !important;
}

.wc-block-components-checkbox__label {
  font-size: .88rem;
  color: var(--e-global-color-text) !important;
  opacity: .65;
}

/* ---------- Radio: payment options ---------- */
.wc-block-components-radio-control__option {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .875rem 1rem;
  border: 1.5px solid var(--e-global-color-52a1e11);
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: .5rem;
  transition: border-color .2s;
}

.wc-block-components-radio-control__option:hover,
.wc-block-components-radio-control__option-checked {
  border-color: var(--e-global-color-text) !important;
}

.wc-block-components-radio-control__input {
  accent-color: var(--e-global-color-text) !important;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.wc-block-components-radio-control__label {
  font-size: .93rem;
  color: var(--e-global-color-text) !important;
}

/* Payment accordion content */
.wc-block-components-radio-control-accordion-content {
  padding: .75rem 1rem 1rem;
  font-size: .83rem;
  color: var(--e-global-color-text) !important;
  opacity: .6;
}

.wc-block-components-radio-control-accordion-content a {
  color: var(--e-global-color-text) !important;
  text-decoration: underline;
}

/* ---------- Shipping rates ---------- */
.wc-block-components-shipping-rates-control__no-shipping-address-message {
  font-size: .88rem;
  color: var(--e-global-color-text) !important;
  opacity: .5;
  margin: 0;
}

/* ---------- Terms ---------- */
.wc-block-checkout__terms {
  font-size: .8rem;
  color: var(--e-global-color-text) !important;
  opacity: .45;
  margin: .5rem 0 1.25rem;
}

.wc-block-checkout__terms a {
  color: var(--e-global-color-text) !important;
  text-decoration: underline;
}

/* ---------- Actions row: return to cart + place order ---------- */
.wc-block-checkout__actions_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

/* Return to cart link */
.wc-block-components-checkout-return-to-cart-button {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .88rem;
  color: var(--e-global-color-text) !important;
  opacity: .45;
  text-decoration: none !important;
  transition: opacity .2s;
}

.wc-block-components-checkout-return-to-cart-button:hover {
  opacity: .8;
}

/* Place order button */
.wc-block-components-checkout-place-order-button {
  background: var(--e-global-color-text) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: .9rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background .3s, transform .15s !important;
  box-shadow: none !important;
  flex-shrink: 0;
}

.wc-block-components-checkout-place-order-button:hover {
  background: var(--primary) !important;
  transform: translateY(-1px) !important;
  color: #fff !important;
}

/* ---------- Order summary (inside actions + sidebar) ---------- */

.wc-block-components-checkout-order-summary__title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: .5rem;
  cursor: pointer;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--e-global-color-52a1e11);
  margin-bottom: 1rem;
  width: 100%;
  position: relative !important;
  overflow: hidden;
}

.wc-block-components-checkout-order-summary__title-text {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  color: var(--e-global-color-text) !important;
  margin: 0;
}

.wc-block-components-checkout-order-summary__title-price {
  font-weight: 700 !important;
  color: var(--e-global-color-text) !important;
  display: inline-flex !important;
  align-items: center !important;
  position: static !important;
  float: none !important;
  flex-shrink: 0;
  order: 2;
}

.wc-block-components-checkout-order-summary__title-icon {
  opacity: .4;
  flex-shrink: 0;
}

/* Prevent loose money amounts from escaping containers */
.wc-block-checkout .wc-block-formatted-money-amount {
  display: inline !important;
  position: static !important;
  float: none !important;
}

/* Order summary items */
.wc-block-components-order-summary-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--e-global-color-52a1e11);
}

.wc-block-components-order-summary-item:last-child {
  border-bottom: none;
}

.wc-block-components-order-summary-item__image {
  position: relative;
  flex-shrink: 0;
}

.wc-block-components-order-summary-item__image img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.wc-block-components-order-summary-item__quantity {
  position: absolute;
  top: -7px;
  right: -7px;
  background: var(--e-global-color-text);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: .72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wc-block-components-order-summary-item__description {
  flex: 1;
  min-width: 0;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
  font-size: .9rem;
  font-weight: 500;
  color: var(--e-global-color-text) !important;
  margin: 0 0 .2rem;
}

.wc-block-components-order-summary-item__individual-price {
  font-size: .8rem;
  color: var(--e-global-color-text) !important;
  opacity: .5;
}

.wc-block-components-order-summary-item__total-price {
  font-weight: 600 !important;
  font-size: .9rem !important;
  color: var(--e-global-color-text) !important;
  position: static !important;
  display: flex !important;
  align-items: center !important;
  align-self: center;
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}

/* Product description in summary */
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description p {
  font-size: .78rem;
  color: var(--e-global-color-text) !important;
  opacity: .45;
  margin: .25rem 0 0;
}

/* Low stock badge in summary */
.wc-block-components-order-summary-item .wc-block-components-product-low-stock-badge {
  font-size: .75rem;
  color: var(--primary) !important;
  margin-top: .2rem;
}

/* Coupon panel in summary */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  color: var(--e-global-color-text) !important;
  opacity: .5;
  font-size: .88rem;
  padding: .6rem 0;
  transition: opacity .2s;
  user-select: none;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button:hover {
  opacity: 1;
}

/* Totals rows */
.wc-block-components-totals-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: .5rem 0;
}

.wc-block-components-totals-item__label {
  font-size: .88rem;
  color: var(--e-global-color-text) !important;
  opacity: .6;
}

.wc-block-components-totals-item__value {
  font-size: .9rem;
  color: var(--e-global-color-text) !important;
  font-weight: 500;
}

/* Shipping placeholder */
.wc-block-components-shipping-placeholder__value {
  font-size: .83rem;
  color: var(--e-global-color-text) !important;
  opacity: .4;
}

/* Footer total */
.wc-block-components-totals-footer-item {
  border-top: 1px solid var(--e-global-color-52a1e11);
  margin-top: .25rem;
  padding-top: .75rem !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-weight: 600;
  opacity: 1;
  font-size: .95rem;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- Inline order summary inside actions (desktop) ---------- */
.checkout-order-summary-block-fill-wrapper {
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  margin-bottom: 1.25rem;
}

.checkout-order-summary-block-fill-wrapper .wc-block-components-checkout-step__title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: .75rem !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .wc-block-components-sidebar-layout.wc-block-checkout {
    flex-direction: column;
  }

  .wc-block-checkout__sidebar {
    flex: none;
    width: 100% !important;
    position: static;
  }

  .wc-block-components-checkout-step {
    padding: 1.25rem 1rem;
  }

  .wc-block-components-express-payment--checkout {
    padding: 1.25rem 1rem;
  }

  .wc-block-checkout__sidebar {
    padding: 1.25rem 1rem;
  }

  .wc-block-checkout__actions_row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .wc-block-components-checkout-place-order-button {
    text-align: center;
    width: 100%;
  }
}

/* CHECKOUT PAGE END */

/* ==============================================
   ORDER CONFIRMATION / THANK YOU PAGE
   ============================================== */

/* ---------- Layout ---------- */
.woocommerce-order #primary {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.woocommerce-order .site-main {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 4rem;
}

/* The real container is .woocommerce-order */
.woocommerce-order {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---------- Success notice ---------- */
p.woocommerce-thankyou-order-received {
  background: #fff !important;
  border: 1px solid var(--e-global-color-52a1e11) !important;
  border-top: 3px solid var(--primary) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03) !important;
  padding: 2.25rem 2rem 1.75rem !important;
  text-align: center !important;
  color: var(--e-global-color-text) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  list-style: none !important;
  display: block !important;
}

p.woocommerce-thankyou-order-received::before {
  content: '';
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background-color: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center;
}

/* ---------- Order overview bar ---------- */
ul.woocommerce-order-overview.order_details {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  display: flex !important;
  flex-wrap: wrap;
  overflow: hidden;
}

ul.woocommerce-order-overview.order_details li {
  flex: 1 1 120px;
  padding: 1.25rem 1.5rem !important;
  border-right: 1px solid var(--e-global-color-52a1e11) !important;
  border-bottom: none !important;
  font-size: .72rem !important;
  color: var(--e-global-color-text) !important;
  opacity: .5;
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.4;
  margin: 0 !important;
  background: none !important;
}

ul.woocommerce-order-overview.order_details li:last-child {
  border-right: none !important;
}

ul.woocommerce-order-overview.order_details li strong {
  display: block;
  font-size: .95rem !important;
  font-weight: 600 !important;
  color: var(--e-global-color-text) !important;
  opacity: 1;
  margin-top: .3rem;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Order details card ---------- */
section.woocommerce-order-details {
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  padding: 1.75rem 2rem;
  margin: 0 !important;
}

.woocommerce-order-details__title {
  font-size: .72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: var(--e-global-color-text) !important;
  opacity: .38;
  margin: 0 0 1.25rem !important;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--e-global-color-52a1e11);
}

/* ---------- Order table ---------- */
table.woocommerce-table--order-details {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
}

table.woocommerce-table--order-details thead tr th {
  font-size: .72rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--e-global-color-text) !important;
  opacity: .35;
  padding: 0 0 .75rem !important;
  border-bottom: 1px solid var(--e-global-color-52a1e11) !important;
  background: none !important;
}

table.woocommerce-table--order-details thead th.product-total {
  text-align: right;
}

table.woocommerce-table--order-details tbody tr td {
  padding: 1rem 0 !important;
  border-bottom: 1px solid var(--e-global-color-52a1e11) !important;
  background: none !important;
  vertical-align: middle;
}

table.woocommerce-table--order-details td.product-name {
  font-size: .92rem !important;
  color: var(--e-global-color-text) !important;
}

table.woocommerce-table--order-details td.product-name a {
  color: var(--e-global-color-text) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: opacity .2s;
}

table.woocommerce-table--order-details td.product-name a:hover {
  opacity: .55;
}

table.woocommerce-table--order-details td.product-name .product-quantity {
  color: var(--e-global-color-text) !important;
  opacity: .4;
  font-weight: 400 !important;
  font-size: .84rem;
}

table.woocommerce-table--order-details td.product-total {
  text-align: right;
  font-weight: 600 !important;
  font-size: .92rem !important;
  color: var(--e-global-color-text) !important;
}

/* Tfoot rows */
table.woocommerce-table--order-details tfoot tr th,
table.woocommerce-table--order-details tfoot tr td {
  padding: .5rem 0 !important;
  border: none !important;
  background: none !important;
  font-size: .88rem !important;
  color: var(--e-global-color-text) !important;
}

table.woocommerce-table--order-details tfoot tr th {
  font-weight: 400 !important;
  opacity: .5;
  text-align: left;
}

table.woocommerce-table--order-details tfoot tr td {
  text-align: right;
  font-weight: 500 !important;
}

table.woocommerce-table--order-details tfoot td small.shipped_via {
  opacity: .4;
  font-size: .75rem;
  font-weight: 400 !important;
}

/* Grand total row — targeted by text "Total:" which has class order-total if WC adds it,
   so we use last-of-type before the payment row */
table.woocommerce-table--order-details tfoot tr:nth-last-child(2) th,
table.woocommerce-table--order-details tfoot tr:nth-last-child(2) td {
  border-top: 1px solid var(--e-global-color-52a1e11) !important;
  padding-top: .9rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Payment method row - very subtle, always last */
table.woocommerce-table--order-details tfoot tr:last-child th,
table.woocommerce-table--order-details tfoot tr:last-child td {
  opacity: .35 !important;
  font-size: .78rem !important;
  font-weight: 400 !important;
  padding-top: .3rem !important;
  border-top: none !important;
}

/* ---------- Customer details card ---------- */
/* This wraps the addresses section — give it the card treatment */
section.woocommerce-customer-details {
  background: #fff;
  border: 1px solid var(--e-global-color-52a1e11);
  border-radius: 12px;
  box-shadow: 0 8px 60px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.03);
  padding: 1.75rem 2rem;
  margin: 0 !important;
}

/* The inner addresses section — no extra card, just layout */
section.woocommerce-columns--addresses {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.woocommerce-column--billing-address,
.woocommerce-column--shipping-address {
  flex: 1 1 200px;
  min-width: 0;
  float: none !important;
  width: auto !important;
}

.woocommerce-column--shipping-address {
  padding-left: 2rem;
  border-left: 1px solid var(--e-global-color-52a1e11);
}

.woocommerce-column__title {
  font-size: .72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: var(--e-global-color-text) !important;
  opacity: .38;
  margin: 0 0 .75rem !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

section.woocommerce-customer-details address {
  font-style: normal !important;
  font-size: .9rem !important;
  line-height: 1.85;
  color: var(--e-global-color-text) !important;
}

p.woocommerce-customer-details--email,
p.woocommerce-customer-details--phone {
  margin-top: .2rem !important;
  opacity: .5;
  font-size: .84rem !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .woocommerce-order .site-main {
    padding: 1.5rem .75rem 3rem;
  }

  ul.woocommerce-order-overview.order_details {
    flex-direction: column;
  }

  ul.woocommerce-order-overview.order_details li {
    border-right: none !important;
    border-bottom: 1px solid var(--e-global-color-52a1e11) !important;
    flex: none;
  }

  ul.woocommerce-order-overview.order_details li:last-child {
    border-bottom: none !important;
  }

  section.woocommerce-order-details,
  section.woocommerce-customer-details {
    padding: 1.25rem 1.25rem;
  }

  section.woocommerce-columns--addresses {
    flex-direction: column !important;
  }

  .woocommerce-column--shipping-address {
    padding-left: 0;
    border-left: none;
    padding-top: 1.25rem;
    border-top: 1px solid var(--e-global-color-52a1e11);
  }
}

/* ORDER CONFIRMATION PAGE END */