
/* =========================================
   EMERALD MOTION — FINAL SHOP DESIGN
   WHITE BACKGROUND + ADD TO CART
   ========================================= */

/* SHOP WRAPPER */
.em-final-shop {
  --em-dark: #18351d;
  --em-green: #007744;
  width: 100%;
  color: var(--em-dark);
  background: transparent !important;
}

/* PRODUCT GRID */
.em-final-shop ul.products {
  display: grid !important;
  grid-template-columns:
    repeat(4, minmax(0, 1fr)) !important;
  gap: 36px 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.em-final-shop ul.products::before,
.em-final-shop ul.products::after {
  display: none !important;
  content: none !important;
}

/* PRODUCT CARDS */
.em-final-shop ul.products li.product {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column;
  position: relative;
  text-align: left !important;
}

/* PRODUCT LINK */
.em-final-shop ul.products li.product
a.woocommerce-LoopProduct-link {
  display: block;
  flex-grow: 1;
  color: var(--em-dark) !important;
  text-decoration: none !important;
}

/* REMOVE OLD COLORED BACKGROUNDS */
.em-final-shop ul.products li.product
a.woocommerce-LoopProduct-link::before,
.em-final-shop ul.products li.product
a.woocommerce-LoopProduct-link::after {
  display: none !important;
  content: none !important;
}

/* PRODUCT IMAGES */
.em-final-shop ul.products li.product
a.woocommerce-LoopProduct-link img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  box-sizing: border-box;
  padding: 8px !important;
  margin: 0 0 18px !important;
  border: none !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
  transition: transform .25s ease;
}

/* IMAGE HOVER */
.em-final-shop ul.products li.product:hover
a.woocommerce-LoopProduct-link img {
  transform: scale(1.025);
}

/* PRODUCT TITLE */
.em-final-shop ul.products li.product
.woocommerce-loop-product__title {
  display: block !important;
  padding: 0 !important;
  margin: 0 0 9px !important;
  color: var(--em-dark) !important;
  font-size: 18px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  letter-spacing: -.4px;
  text-align: left !important;
}

/* PRODUCT PRICE */
.em-final-shop ul.products li.product
.price {
  display: block !important;
  margin: 0 0 16px !important;
  color: var(--em-dark) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

/* SALE PRICE */
.em-final-shop ul.products li.product
.price ins {
  color: var(--em-green) !important;
  background: transparent !important;
  text-decoration: none !important;
}

.em-final-shop ul.products li.product
.price del {
  opacity: .5;
}

/* PRODUCT RATING */
.em-final-shop ul.products li.product
.star-rating {
  color: var(--em-dark) !important;
  margin: 0 0 9px !important;
}

/* ALL PRODUCT BUTTONS */
.em-final-shop ul.products li.product
a.button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 50px;
  box-sizing: border-box !important;
  padding: 14px 12px !important;
  margin: auto 0 0 !important;

  background: linear-gradient(
    110deg,
    #21aa27 0%,
    #007744 100%
  ) !important;

  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;

  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-decoration: none !important;

  transition:
    transform .2s ease,
    filter .2s ease;
}

/* BUTTON HOVER */
.em-final-shop ul.products li.product
a.button:hover {
  filter: brightness(.92);
  transform: translateY(-2px);
}

/* =========================================
   SELECT OPTIONS → ADD TO CART
   VISUAL TEXT CHANGE ONLY
   ========================================= */

/* Hide original variable-product text */
.em-final-shop ul.products li.product
a.button.product_type_variable {
  font-size: 0 !important;
}

/* Display Add to Cart instead */
.em-final-shop ul.products li.product
a.button.product_type_variable::after {
  content: "Add to Cart" !important;
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
}

/* VIEW CART LINK */
.em-final-shop ul.products li.product
a.added_to_cart {
  display: block !important;
  width: 100%;
  margin-top: 10px !important;
  color: var(--em-dark) !important;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}

/* SALE BADGE */
.em-final-shop ul.products li.product
.onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;

  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 7px 14px !important;

  background: var(--em-dark) !important;
  color: #ffffff !important;
  border-radius: 999px !important;

  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  z-index: 5;
}

/* HIDE DEFAULT SORTING */
.em-final-shop .woocommerce-ordering,
.em-final-shop .woocommerce-result-count {
  display: none !important;
}

/* PAGINATION */
.em-final-shop nav.woocommerce-pagination {
  margin-top: 40px;
  text-align: center;
}

.em-final-shop nav.woocommerce-pagination
ul.page-numbers {
  display: inline-flex;
  gap: 8px;
  border: none !important;
}

.em-final-shop nav.woocommerce-pagination
ul.page-numbers li {
  border: none !important;
}

.em-final-shop nav.woocommerce-pagination
.page-numbers a,
.em-final-shop nav.woocommerce-pagination
.page-numbers span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px;
  border-radius: 50%;
  color: var(--em-dark);
}

.em-final-shop nav.woocommerce-pagination
.page-numbers .current {
  background: var(--em-dark) !important;
  color: #ffffff !important;
}

/* TABLET */
@media (max-width: 1024px) {
  .em-final-shop ul.products {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 18px !important;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .em-final-shop ul.products {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 12px !important;
  }

  .em-final-shop ul.products li.product
  a.woocommerce-LoopProduct-link img {
    padding: 5px !important;
    margin-bottom: 12px !important;
    border-radius: 12px !important;
  }

  .em-final-shop ul.products li.product
  .woocommerce-loop-product__title {
    font-size: 14px !important;
  }

  .em-final-shop ul.products li.product
  .price {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }

  .em-final-shop ul.products li.product
  a.button {
    min-height: 42px;
    padding: 12px 6px !important;
    font-size: 12px !important;
  }

  .em-final-shop ul.products li.product
  a.button.product_type_variable::after {
    font-size: 12px !important;
  }

  .em-final-shop ul.products li.product
  .onsale {
    font-size: 10px !important;
    padding: 5px 9px !important;
  }
}
/* =========================================
   EMERALD MOTION — SIDE CART DESIGN
   ========================================= */


/* EMERALD MOTION — SIDE CART REPAIR */
/* Replace previous Side Cart CSS only. */

.xoo-wsc-modal {
  --em-ink: #173b26;
  --em-green: #007b49;
  --em-border: #e1eae3;
  font-family: Arial, Helvetica, sans-serif !important;
  color: var(--em-ink) !important;
}

.xoo-wsc-modal,
.xoo-wsc-modal * {
  box-sizing: border-box;
}

/* KEEP PLUGIN SLIDE ANIMATION */

.xoo-wsc-modal .xoo-wsc-container {
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  color: var(--em-ink) !important;
  box-shadow: -10px 0 36px rgba(0,0,0,.14) !important;
}

.xoo-wsc-modal .xoo-wsc-opac {
  background: rgba(5,24,12,.58) !important;
}

/* HEADER — CLOSE ICON ONLY */

.xoo-wsc-modal .xoo-wsc-header {
  position: relative !important;
  flex: 0 0 auto !important;
  min-height: 52px !important;
  padding: 10px 18px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--em-border) !important;
}

.xoo-wsc-modal .xoo-wsc-header .xoo-wsc-ctxt,
.xoo-wsc-modal .xoo-wsc-header .xoo-wsch-text,
.xoo-wsc-modal .xoo-wsc-header .xoo-wsch-basket,
.xoo-wsc-modal .xoo-wsc-header .xoo-wsch-icon {
  display: none !important;
}

.xoo-wsc-modal .xoo-wsc-header .xoo-wsc-ctxt::before,
.xoo-wsc-modal .xoo-wsc-header .xoo-wsc-ctxt::after,
.xoo-wsc-modal .xoo-wsc-header .xoo-wsch-text::before,
.xoo-wsc-modal .xoo-wsc-header .xoo-wsch-text::after {
  content: none !important;
}

.xoo-wsc-modal .xoo-wsc-header .xoo-wsch-close,
.xoo-wsc-modal .xoo-wsc-header .xoo-wsc-close {
  position: absolute !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  top: 50% !important;
  right: 18px !important;
  transform: translateY(-50%) !important;
  color: var(--em-ink) !important;
  font-size: 21px !important;
  cursor: pointer;
}

.xoo-wsc-modal.xoo-wsc-active .xoo-wsc-basket,
.xoo-wsc-modal.xoo-wsc-cart-active .xoo-wsc-basket {
  visibility: hidden !important;
}

/* PRODUCTS */

.xoo-wsc-modal .xoo-wsc-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #fff !important;
}

.xoo-wsc-modal .xoo-wsc-content,
.xoo-wsc-modal .xoo-wsc-products {
  background: #fff !important;
}

.xoo-wsc-modal .xoo-wsc-product {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 13px;
  margin: 11px 13px !important;
  padding: 16px 14px !important;
  border: 1px solid var(--em-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(7,43,18,.04) !important;
}

.xoo-wsc-modal .xoo-wsc-img-col {
  flex: 0 0 92px !important;
  width: 92px !important;
  max-width: 92px !important;
}

.xoo-wsc-modal .xoo-wsc-img-col img {
  width: 100% !important;
  height: 105px !important;
  object-fit: contain;
  border: 1px solid #eaf0eb;
  border-radius: 13px !important;
  background: #fff !important;
}

.xoo-wsc-modal .xoo-wsc-sum-col {
  flex: 1 1 auto !important;
  float: none !important;
  margin-left: 0 !important;
  width: auto !important;
  min-width: 0;
  padding-right: 16px;
  color: var(--em-ink) !important;
}

.xoo-wsc-modal .xoo-wsc-pname,
.xoo-wsc-modal .xoo-wsc-pname a,
.xoo-wsc-modal .xoo-wsc-product-name a {
  color: var(--em-ink) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  text-decoration: none !important;
}

.xoo-wsc-modal .xoo-wsc-product .amount,
.xoo-wsc-modal .xoo-wsc-qty-price {
  color: var(--em-ink) !important;
  font-weight: 700 !important;
}

.xoo-wsc-modal .xoo-wsc-product .xoo-wsc-remove {
  position: absolute !important;
  top: 13px !important;
  right: 13px !important;
  color: var(--em-ink) !important;
}

.xoo-wsc-modal .xoo-wsc-product dl.variation {
  font-size: 13px !important;
  color: #637565 !important;
}

/* QUANTITY */

.xoo-wsc-modal .xoo-wsc-qty-box {
  display: inline-flex !important;
  align-items: center;
  max-width: 140px !important;
  min-height: 40px;
  overflow: hidden;
  border: 2px solid var(--em-ink) !important;
  border-radius: 11px !important;
  background: #fff !important;
}

.xoo-wsc-modal input.xoo-wsc-qty {
  width: 42px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  color: var(--em-ink) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  text-align: center;
}

.xoo-wsc-modal .xoo-wsc-chng {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  color: var(--em-ink) !important;
  font-size: 20px !important;
  cursor: pointer;
}

.xoo-wsc-modal .xoo-wsc-chng:hover {
  background: #f0f8f2 !important;
}

/* FOOTER */

.xoo-wsc-modal .xoo-wsc-footer {
  position: relative !important;
  bottom: auto !important;
  flex: 0 0 auto !important;
  max-height: 48dvh;
  overflow-y: auto;
  padding: 16px 19px 19px !important;
  border-top: 1px solid var(--em-border) !important;
  background: #fff !important;
  color: var(--em-ink) !important;
}

.xoo-wsc-modal .xoo-wsc-ft-totals,
.xoo-wsc-modal .xoo-wsc-ft-amt,
.xoo-wsc-modal .xoo-wsc-footer .amount {
  color: var(--em-ink) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.xoo-wsc-modal .xoo-wsc-ft-buttons-cont {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 13px;
}

.xoo-wsc-modal .xoo-wsc-footer a.xoo-wsc-ft-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 51px;
  margin: 0 !important;
  padding: 12px 15px !important;
  border: 2px solid transparent !important;
  border-radius: 999px !important;
  font: 800 15px/1.3 Arial,Helvetica,sans-serif !important;
  text-align: center !important;
  text-decoration: none !important;
}

.xoo-wsc-modal .xoo-wsc-footer a.xoo-wsc-ft-btn-checkout {
  order: 1;
  background: linear-gradient(100deg,#20a032,#007b49) !important;
  color: #fff !important;
}

.xoo-wsc-modal .xoo-wsc-footer a.xoo-wsc-ft-btn-continue {
  order: 2;
  background: #fff !important;
  border-color: var(--em-ink) !important;
  color: var(--em-ink) !important;
}

.xoo-wsc-modal .xoo-wsc-footer a.xoo-wsc-ft-btn-cart {
  order: 3;
  min-height: 30px;
  padding: 5px 10px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--em-ink) !important;
  font-size: 13px !important;
  text-decoration: underline !important;
}

.xoo-wsc-modal .xoo-wsc-ft-btn-checkout .amount,
.xoo-wsc-modal .xoo-wsc-ft-btn-checkout .woocommerce-Price-amount {
  display: none !important;
}

/* MINIMAL TRUST ICONS */

.xoo-wsc-modal .em-clean-trust {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px !important;
  padding: 16px 10px !important;
  border-top: 1px solid var(--em-border);
  background: #fff !important;
}

.xoo-wsc-modal .em-clean-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  text-align: center;
  color: var(--em-ink);
}

.xoo-wsc-modal .em-clean-trust-item svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.xoo-wsc-modal .em-clean-trust-item span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

/* MOBILE */

@media (max-width: 600px) {
  .xoo-wsc-modal .xoo-wsc-product {
    margin: 9px !important;
    padding: 13px 10px !important;
    gap: 10px;
  }

  .xoo-wsc-modal .xoo-wsc-img-col {
    flex-basis: 76px !important;
    width: 76px !important;
    max-width: 76px !important;
  }

  .xoo-wsc-modal .xoo-wsc-img-col img {
    height: 86px !important;
  }

  .xoo-wsc-modal .xoo-wsc-footer {
    padding: 13px 14px
      calc(15px + env(safe-area-inset-bottom)) !important;
  }

  .xoo-wsc-modal .xoo-wsc-footer a.xoo-wsc-ft-btn {
    min-height: 47px;
    font-size: 14px !important;
  }

  .xoo-wsc-modal .em-clean-trust-item svg {
    width: 23px;
    height: 23px;
  }

  .xoo-wsc-modal .em-clean-trust-item span {
    font-size: 10px;
  }
}

/* ===================================
   EMERALD MOTION — HIDE FLOATING CART
   =================================== */

.xoo-wsc-basket {
  display: none !important;
}
////

/* ==========================================
   EMERALD MOTION — CHECKOUT V5
   COMPLETE FINAL CSS
   Premium Emerald & Sage Design
   WooCommerce Checkout Blocks
   Checkout Page ID: 16
========================================== */

/* 01. GLOBAL CHECKOUT */
body.page-id-16 {
  background: #fafbf9 !important;
}

body.page-id-16 .wp-block-woocommerce-checkout {
  --em-dark: #173923;
  --em-green: #073d25;
  --em-sage: #e9eee7;
  --em-text: #1b2b20;
  --em-muted: #718075;
  --em-border: #d5dfd6;

  max-width: 1240px !important;
  margin: 25px auto 65px !important;
  padding: 0 16px !important;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--em-text);
  box-sizing: border-box;
}

body.page-id-16 h1.entry-title,
body.page-id-16 h1.wp-block-post-title {
  color: #17271c !important;
  font-size: clamp(30px, 3vw, 40px) !important;
  font-weight: 750 !important;
  letter-spacing: -1px;
  margin-bottom: 25px !important;
}

/* 02. LEFT CHECKOUT PANEL */
body.page-id-16 .wc-block-checkout__main {
  background: #ffffff !important;
  border: 1px solid #e5ebe5 !important;
  border-radius: 20px !important;
  padding: 32px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  align-self: start;
}

body.page-id-16
.wc-block-components-checkout-step__title {
  color: #17291d !important;
  font-size: 22px !important;
  font-weight: 750 !important;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

body.page-id-16
.wc-block-components-checkout-step__description {
  color: #748176 !important;
  font-size: 13px;
}

body.page-id-16
.wc-block-components-checkout-step__container {
  padding-left: 0 !important;
  margin-left: 0 !important;
  border-left: none !important;
}

body.page-id-16
.wc-block-components-checkout-step {
  margin-bottom: 28px;
}

/* 03. FORM FIELDS */
body.page-id-16 .wc-block-checkout__main
.wc-block-components-text-input input,
body.page-id-16 .wc-block-checkout__main
.wc-block-components-combobox-control input,
body.page-id-16 .wc-block-checkout__main
.wc-block-components-select select,
body.page-id-16 .wc-block-checkout__main
.wc-block-components-textarea {
  background: #ffffff !important;
  border: 1px solid #d9e1d9 !important;
  border-radius: 12px !important;
  color: #1c2e22 !important;
  min-height: 56px;
  box-shadow: none !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease,
              box-shadow 0.2s ease;
}

body.page-id-16 .wc-block-checkout__main
.wc-block-components-text-input input:focus,
body.page-id-16 .wc-block-checkout__main
.wc-block-components-combobox-control input:focus,
body.page-id-16 .wc-block-checkout__main
.wc-block-components-select select:focus,
body.page-id-16 .wc-block-checkout__main
.wc-block-components-textarea:focus {
  border-color: #387553 !important;
  box-shadow: 0 0 0 3px
    rgba(7, 61, 37, 0.07) !important;
  outline: none !important;
}

body.page-id-16 .wc-block-checkout__main
.wc-block-components-text-input label,
body.page-id-16 .wc-block-checkout__main
.wc-block-components-select label,
body.page-id-16 .wc-block-checkout__main
.wc-block-components-combobox-control label {
  color: #728075 !important;
}

body.page-id-16 .wc-block-checkout__main
input[type="checkbox"],
body.page-id-16 .wc-block-checkout__main
input[type="radio"] {
  accent-color: #073d25;
}

/* 04. ORDER SUMMARY CONTAINER */
body.page-id-16 .wc-block-checkout__sidebar {
  background: #e9eee7 !important;
  border: 1px solid #cfdacf !important;
  border-radius: 20px !important;
  padding: 25px !important;
  color: #1b2c20 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  align-self: start;
}

/* Desktop dark green header */
@media (min-width: 901px) {
  body.page-id-16 .wc-block-checkout__sidebar::before {
    content: "✳  Order summary";
    display: block;
    margin: -25px -25px 22px;
    padding: 22px 25px;
    background: #173923;
    color: #ffffff;
    border-radius: 19px 19px 0 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
  }

  body.page-id-16 .wc-block-checkout__sidebar
  .wc-block-components-checkout-order-summary__title,
  body.page-id-16 .wc-block-checkout__sidebar
  .wc-block-components-order-summary__title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
}

/* Remove extra nested backgrounds */
body.page-id-16 .wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-block,
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-order-summary {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 05. PRODUCT ROW */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-order-summary-item {
  margin: 0 !important;
  padding: 4px 0 16px !important;
  border-bottom: 1px solid #ced9ce;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-order-summary-item__image img {
  background: #ffffff !important;
  border: 1px solid #dde6dd !important;
  border-radius: 12px !important;
  padding: 4px;
  box-sizing: border-box;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-order-summary-item__quantity {
  background: #173923 !important;
  color: #ffffff !important;
  border-color: #e9eee7 !important;
  box-shadow: 0 0 0 2px #e9eee7 !important;
  font-weight: 700 !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-product-name {
  color: #173923 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-product-metadata {
  color: #718075 !important;
  font-size: 12px !important;
  line-height: 1.5;
}

/* 06. COUPON SECTION */
body.page-id-16 .wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-coupon-form-block {
  width: 100% !important;
  margin: 15px 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Hide dropdown when native coupon form is open */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon.em-coupon-open
.wc-block-components-panel__button {
  display: none !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.em-coupon-open > h2:has(
  .wc-block-components-panel__button
) {
  display: none !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.em-coupon-open
.wc-block-components-totals-coupon__content {
  margin: 0 !important;
  padding: 0 !important;
}

/* Coupon field */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 56px !important;
  padding: 5px !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #ccd8cf !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__form:focus-within {
  border-color: #387553 !important;
  box-shadow: 0 0 0 3px
    rgba(7, 61, 37, 0.07) !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__input input {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 12px !important;
  background: transparent !important;
  color: #173923 !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 14px !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__input input::placeholder {
  color: #7a877d !important;
  opacity: 1;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__input label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Apply button */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 76px !important;
  height: 45px !important;
  min-height: 45px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  background: #173923 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: background 0.2s ease;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__button:hover {
  background: #286044 !important;
  color: #ffffff !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-coupon__button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* 07. COMPACT ORDER TOTALS */
body.page-id-16 .wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-totals-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 8px 0 0 !important;
  border-top: 1px solid #ced9ce !important;
}

/* Reset default wrappers */
body.page-id-16 .wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-subtotal-block,
body.page-id-16 .wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-shipping-block,
body.page-id-16 .wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-fee-block,
body.page-id-16 .wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-discount-block,
body.page-id-16 .wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-taxes-block {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* Remove old wrapper margins and borders */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  border: none !important;
}

/* Compact subtotal and shipping rows */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 10px 0 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  font-size: 15px !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-item__label {
  color: #46584b !important;
  font-weight: 500 !important;
}

body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-item__value {
  color: #173923 !important;
  font-weight: 700 !important;
}

/* 08. FINAL TOTAL BOX — COMPACT & CENTERED */

/* Remove any old separator above the Total */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-wrapper:has(
  .wc-block-components-totals-footer-item
) {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Main green Total box */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-footer-item {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;

  width: 100% !important;
  height: auto !important;
  min-height: 64px !important;

  margin: 14px 0 0 !important;
  padding: 12px 17px !important;

  background: #d8e9dd !important;
  border: 1px solid #bad4c1 !important;
  border-radius: 12px !important;

  box-sizing: border-box !important;
  box-shadow: none !important;

  gap: 12px !important;
  line-height: 1.2 !important;
}

/* Center label and price vertically */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-footer-item__label,
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-footer-item__value {
  display: flex !important;
  align-items: center !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #073d25 !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

/* Make nested price bold too */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-footer-item * {
  color: #073d25 !important;
  font-weight: 800 !important;
}

/* Don't inherit generic totals-item padding */
body.page-id-16 .wc-block-checkout__sidebar
.wc-block-components-totals-footer-item
.wc-block-components-totals-item {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  width: 100% !important;
  justify-content: space-between !important;
}

/* 09. PAYMENT OPTIONS */
body.page-id-16 .wc-block-checkout__main
.wc-block-components-radio-control__option {
  border-radius: 10px;
  background: #ffffff;
}

body.page-id-16 .wc-block-checkout__main
.wc-block-components-payment-methods {
  border-radius: 12px;
  overflow: hidden;
}

/* Place Order button */
body.page-id-16
.wc-block-components-checkout-place-order-button {
  background: #173923 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  width: 100%;
  min-height: 58px;
  padding: 16px 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transition: background 0.2s ease;
}

body.page-id-16
.wc-block-components-checkout-place-order-button:hover {
  background: #286044 !important;
  color: #ffffff !important;
}

/* Shipping method selector:
   Hide only if one fixed shipping method
   is available for applicable addresses. */
body.page-id-16
.wp-block-woocommerce-checkout-shipping-methods-block {
  display: none !important;
}

/* 10. RESPONSIVE */
@media (max-width: 900px) {
  body.page-id-16 .wp-block-woocommerce-checkout {
    padding: 0 12px !important;
  }

  body.page-id-16 .wc-block-checkout__main {
    padding: 24px !important;
    border-radius: 16px !important;
  }

  body.page-id-16 .wc-block-checkout__sidebar {
    padding: 22px !important;
    border-radius: 16px !important;
  }

  body.page-id-16 .wc-block-checkout__sidebar
  .wc-block-components-checkout-order-summary__title,
  body.page-id-16 .wc-block-checkout__sidebar
  .wc-block-components-order-summary__button {
    color: #173923 !important;
    font-weight: 800 !important;
  }
}

@media (max-width: 480px) {
  body.page-id-16 .wc-block-checkout__main {
    padding: 20px 16px !important;
  }

  body.page-id-16 .wc-block-checkout__sidebar {
    padding: 18px !important;
  }

  body.page-id-16
  .wc-block-components-checkout-step__title {
    font-size: 19px !important;
  }

  body.page-id-16 .wc-block-checkout__sidebar
  .wc-block-components-totals-coupon__button {
    min-width: 72px !important;
    padding: 0 12px !important;
  }

  body.page-id-16 .wc-block-checkout__sidebar
  .wc-block-components-totals-footer-item {
    min-height: 60px !important;
    padding: 12px 14px !important;
    margin-top: 12px !important;
  }

  body.page-id-16 .wc-block-checkout__sidebar
  .wc-block-components-totals-footer-item__label,
  body.page-id-16 .wc-block-checkout__sidebar
  .wc-block-components-totals-footer-item__value {
    font-size: 19px !important;
  }
}

/* END EMERALD MOTION CHECKOUT V5 */
