/*
Theme Name: Mitti Child
Theme URI: https://baublehomes.com/
Description: Child theme for Mitti
Author: Bauble Homes
Template: mitti
Version: 1.2.0
Text Domain: mitti-child
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body.bauble-panel-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

.bauble-header-wrapper {
  position: relative;
  z-index: 9999;
  width: 100%;
  background: #f5f1e8;
}

.top-strip {
  width: 100%;
  min-height: 27px;
  padding: 5px 15px;
  border-bottom: 1px solid #e7dfd2;
  background: #f5f1e8;
  color: #6b5c4a;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.custom-site-header {
  position: relative;
  width: 100%;
  background: #f5f1e8;
}

.header-main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 124px;
  padding: 4px 38px;
}

.site-logo {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  line-height: 0;
}

.hardcoded-site-logo {
  display: block !important;
  width: auto !important;
  height: 115px !important;
  max-width: 100% !important;
  max-height: 115px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: contain;
  box-shadow: none !important;
}

.header-icons {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.custom-site-header .header-icon-button,
.custom-site-header .menu-toggle {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #3b3128 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.custom-site-header .header-icon-button::before,
.custom-site-header .header-icon-button::after,
.custom-site-header .menu-toggle::before,
.custom-site-header .menu-toggle::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.bauble-cart-count {
  position: absolute;
  top: 0;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50px;
  background: #3b3128;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.bauble-cart-count:empty,
.bauble-cart-count.is-empty {
  display: none;
}

.menu-toggle {
  grid-column: 1;
  justify-self: start;
  display: none !important;
}

.header-nav {
  width: 100%;
  padding: 8px 20px;
  border-top: 1px solid #e7dfd2;
  border-bottom: 1px solid #e7dfd2;
  background: #f5f1e8;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.nav-links li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links > li > a {
  display: block;
  padding: 6px 0;
  color: #3b3128;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 99999;
  min-width: 210px;
  margin: 0;
  padding: 10px 0;
  visibility: hidden;
  opacity: 0;
  list-style: none;
  border: 1px solid #e7dfd2;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transform: translate(-50%, 10px);
  transition: 0.2s ease;
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-links .sub-menu a {
  display: block;
  padding: 9px 17px;
  color: #3b3128;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 1px;
}

.bauble-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  visibility: hidden;
  opacity: 0;
  background: rgba(20, 17, 14, 0.48);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bauble-drawer-overlay.is-visible {
  visibility: visible;
  opacity: 1;
}

.mobile-menu-drawer,
.bauble-cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  width: min(420px, 94vw);
  max-width: 100%;
  visibility: hidden;
  background: #f5f1e8;
  transition: transform 0.32s ease, visibility 0.32s ease;
}

.mobile-menu-drawer {
  left: 0;
  transform: translateX(-101%);
}

.bauble-cart-drawer {
  right: 0;
  transform: translateX(101%);
}

.mobile-menu-drawer.is-open,
.bauble-cart-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  min-height: 69px;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd3c4;
}

.drawer-title {
  color: #3b3128;
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.drawer-close,
.search-panel-close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #3b3128 !important;
  box-shadow: none !important;
  font-size: 20px;
  cursor: pointer;
}

.mobile-navigation {
  flex: 1;
  overflow-y: auto;
  padding: 15px 20px 30px;
}

.mobile-nav-links,
.mobile-nav-links .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav-links > li {
  position: relative;
  border-bottom: 1px solid #ddd3c4;
}

.mobile-nav-links a {
  display: block;
  padding: 15px 45px 15px 0;
  color: #3b3128;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.mobile-submenu-toggle {
  position: absolute;
  top: 5px;
  right: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #3b3128 !important;
  box-shadow: none !important;
}

.mobile-nav-links .sub-menu {
  display: none;
  padding: 0 0 10px 15px;
}

.mobile-nav-links .submenu-open > .sub-menu {
  display: block;
}

.mobile-nav-links .sub-menu a {
  padding: 10px 35px 10px 0;
  font-size: 12px;
}

.bauble-search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000000;
  visibility: hidden;
  opacity: 0;
  padding: 52px 22px 40px;
  background: #f5f1e8;
  transform: translateY(-101%);
  transition: 0.32s ease;
}

.bauble-search-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.search-panel-inner {
  position: relative;
  width: min(750px, 100%);
  margin: 0 auto;
}

.search-panel-close {
  position: absolute;
  top: -40px;
  right: 0;
}

.bauble-search-form label {
  display: block;
  margin-bottom: 12px;
  color: #3b3128;
  font-family: 'Cinzel', serif;
  font-size: 17px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.search-field-row {
  display: grid;
  grid-template-columns: 1fr 54px;
  overflow: hidden;
  border: 1px solid #baae9d;
  background: #fff;
}

.search-field-row input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 15px;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: #fff;
  box-shadow: none !important;
}

.search-field-row button {
  width: 54px !important;
  height: 54px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid #baae9d !important;
  border-radius: 0 !important;
  background: #3b3128 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.bauble-mini-cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 25px;
}

.bauble-cart-products {
  display: flex;
  flex-direction: column;
}

.bauble-cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid #ddd3c4;
}

.bauble-cart-item-image {
  width: 92px;
  height: 105px;
  overflow: hidden;
  background: #eee8df;
}

.bauble-cart-item-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.bauble-cart-item-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
}

.bauble-cart-item-details {
  position: relative;
  min-width: 0;
  padding-right: 25px;
}

.bauble-remove-item {
  position: absolute;
  top: -5px;
  right: -5px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #665847 !important;
  box-shadow: none !important;
  font-size: 15px;
  cursor: pointer;
}

.bauble-cart-product-name {
  display: block;
  padding-right: 5px;
  color: #3b3128;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

.bauble-cart-item-price {
  margin-top: 5px;
  color: #6b5c4a;
  font-size: 13px;
}

.bauble-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 13px;
}

.bauble-quantity-control {
  display: grid;
  grid-template-columns: 30px 38px 30px;
  height: 32px;
  border: 1px solid #bdb1a0;
  background: #fff;
}

.bauble-quantity-control button,
.bauble-quantity-control input {
  width: 100% !important;
  height: 30px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #3b3128 !important;
  box-shadow: none !important;
  text-align: center;
  line-height: 30px;
}

.bauble-quantity-control button {
  font-size: 17px;
  cursor: pointer;
}

.bauble-quantity-control input {
  border-right: 1px solid #d5cabb !important;
  border-left: 1px solid #d5cabb !important;
  font-size: 12px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.bauble-quantity-control input::-webkit-inner-spin-button,
.bauble-quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.bauble-cart-line-total {
  color: #3b3128;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
}

.bauble-cart-summary {
  padding-top: 2px;
}

.bauble-cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid #bfb3a3;
  color: #3b3128;
  font-size: 15px;
}

.bauble-cart-subtotal span {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bauble-cart-note {
  margin: 0 0 15px;
  color: #817261;
  font-size: 11px;
  line-height: 1.5;
}

.bauble-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.bauble-cart-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #3b3128;
  color: #3b3128;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bauble-cart-actions .bauble-checkout {
  background: #3b3128;
  color: #fff;
}

.bauble-empty-cart {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 30px 15px;
  color: #6b5c4a;
  text-align: center;
}

.bauble-empty-cart i {
  margin-bottom: 17px;
  font-size: 35px;
}

.bauble-empty-cart p {
  margin: 0 0 17px;
  font-family: 'Cinzel', serif;
}

.bauble-empty-cart a {
  padding: 11px 18px;
  border: 1px solid #3b3128;
  color: #3b3128;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  text-transform: uppercase;
}

.bauble-cart-loading {
  position: absolute;
  inset: 69px 0 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(245, 241, 232, 0.72);
  color: #3b3128;
  font-size: 25px;
}

.bauble-cart-loading.is-visible {
  display: flex;
}

@media screen and (max-width: 1024px) {
  .header-main {
    min-height: 88px;
    padding: 3px 20px;
  }

  .desktop-navigation {
    display: none;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .site-logo {
    width: 80px;
  }

  .hardcoded-site-logo {
    height: 79px !important;
    max-height: 79px !important;
  }
}

@media screen and (max-width: 767px) {
  .top-strip {
    min-height: 40px;
    padding: 6px 35px;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 1.9px;
  }

  .header-main {
    grid-template-columns: 42px 1fr auto;
    min-height: 90px;
    padding:
      4px
      max(13px, env(safe-area-inset-right))
      4px
      max(13px, env(safe-area-inset-left));
  }

  .menu-toggle {
    grid-column: 1;
    justify-self: start;
    font-size: 21px !important;
  }

  .site-logo {
    grid-column: 2;
    justify-self: center;
    width: 75px;
  }

  .hardcoded-site-logo {
    height: 75px !important;
    max-height: 75px !important;
  }

  .header-icons {
    grid-column: 3;
    justify-self: end;
    gap: 5px;
  }

  .custom-site-header .header-icon-button {
    width: 28px;
    height: 38px;
    font-size: 16px;
  }

  .bauble-cart-count {
    top: 1px;
    right: -2px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    font-size: 8px;
  }

  .mobile-menu-drawer,
  .bauble-cart-drawer {
    width: min(380px, 94vw);
  }

  .bauble-mini-cart-content {
    padding: 16px 16px 22px;
  }

  .bauble-cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }

  .bauble-cart-item-image {
    width: 82px;
    height: 95px;
  }

  .bauble-cart-product-name {
    font-size: 12px;
  }

  .bauble-quantity-control {
    grid-template-columns: 28px 34px 28px;
  }

  .bauble-cart-actions {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 380px) {
  .top-strip {
    padding-right: 25px;
    padding-left: 25px;
    font-size: 8.5px;
    letter-spacing: 1.6px;
  }

  .header-main {
    grid-template-columns: 38px 1fr auto;
    padding-right: 9px;
    padding-left: 9px;
  }

  .site-logo {
    width: 70px;
  }

  .hardcoded-site-logo {
    height: 70px !important;
    max-height: 70px !important;
  }

  .header-icons {
    gap: 2px;
  }

  .custom-site-header .header-icon-button {
    width: 27px;
    font-size: 15px;
  }
}
/* =====================================================
   FINAL HEADER + CART OVERRIDE
   Keep this code at the very end of style.css
===================================================== */

/* HEADER LEFT AREA */

.custom-site-header .header-left-area {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 180px;
}

.custom-site-header .track-order-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  margin: 0 !important;
  padding: 8px 0 !important;

  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #3b3128 !important;
  text-decoration: none !important;

  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.custom-site-header .track-order-link:hover {
  color: #a9844c !important;
}

/* Hamburger must never appear on desktop */

.custom-site-header .menu-toggle {
  display: none !important;
}


/* =====================================================
   HEADER ICON SIZE AND ALIGNMENT
===================================================== */

.custom-site-header .header-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
}

.custom-site-header .header-icon-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 38px !important;
  height: 42px !important;
  min-width: 38px !important;
  min-height: 42px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  box-shadow: none !important;
  outline: 0 !important;

  color: #3b3128 !important;
  font-size: 21px !important;
  line-height: 1 !important;
}

.custom-site-header .header-icon-button i {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

.custom-site-header .header-icon-button::before,
.custom-site-header .header-icon-button::after,
.custom-site-header .header-icons::before,
.custom-site-header .header-icons::after {
  display: none !important;
  content: none !important;
}

.custom-site-header .bauble-cart-count {
  top: -1px !important;
  right: -2px !important;

  min-width: 17px !important;
  height: 17px !important;

  padding: 0 4px !important;

  border-radius: 50px !important;
  background: #3b3128 !important;
  color: #fff !important;

  font-family: Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}


/* =====================================================
   CART DRAWER STRUCTURE
===================================================== */

body .bauble-cart-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  display: flex !important;
  flex-direction: column !important;

  width: 390px !important;
  max-width: 94vw !important;
  height: 100vh !important;
  height: 100dvh !important;

  padding: 0 !important;
  margin: 0 !important;

  background: #f5f1e8 !important;
}

body .bauble-cart-drawer .drawer-header {
  flex: 0 0 68px !important;

  min-height: 68px !important;
  padding: 14px 18px !important;

  border-bottom: 1px solid #ded5c7 !important;
  background: #f5f1e8 !important;
}

body .bauble-cart-drawer .bauble-mini-cart-content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;

  min-height: 0 !important;
  overflow-y: auto !important;

  padding: 18px !important;
  background: #f5f1e8 !important;
}

body .bauble-cart-drawer .bauble-cart-products {
  flex: 0 0 auto !important;
}

body .bauble-cart-drawer .bauble-cart-summary {
  flex: 0 0 auto !important;

  margin-top: auto !important;
  padding: 15px 0 0 !important;

  background: #f5f1e8 !important;
}


/* =====================================================
   SMALL CART PRODUCT ROW
===================================================== */

body .bauble-cart-drawer .bauble-cart-item {
  display: grid !important;
  grid-template-columns: 70px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;

  width: 100% !important;

  margin: 0 0 14px !important;
  padding: 0 0 14px !important;

  border-bottom: 1px solid #ded5c7 !important;
}

body .bauble-cart-drawer .bauble-cart-item-image {
  width: 70px !important;
  height: 78px !important;
  min-width: 70px !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  background: #ebe5dc !important;
}

body .bauble-cart-drawer .bauble-cart-item-image a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body .bauble-cart-drawer .bauble-cart-item-image img {
  display: block !important;

  width: 70px !important;
  height: 78px !important;
  max-width: 70px !important;
  max-height: 78px !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: cover !important;
  float: none !important;
}

body .bauble-cart-drawer .bauble-cart-item-details {
  position: relative !important;
  min-width: 0 !important;
  padding: 0 25px 0 0 !important;
}

body .bauble-cart-drawer .bauble-cart-product-name {
  display: block !important;

  margin: 0 0 4px !important;
  padding: 0 !important;

  color: #3b3128 !important;
  text-decoration: none !important;

  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

body .bauble-cart-drawer .bauble-cart-item-price {
  margin: 0 !important;

  color: #777 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

body .bauble-cart-drawer .bauble-remove-item {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  color: #777 !important;
  box-shadow: none !important;

  font-size: 14px !important;
}


/* =====================================================
   QUANTITY CONTROLS
===================================================== */

body .bauble-cart-drawer .bauble-quantity-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;

  margin-top: 10px !important;
}

body .bauble-cart-drawer .bauble-quantity-control {
  display: grid !important;
  grid-template-columns: 27px 34px 27px !important;

  width: 88px !important;
  height: 30px !important;

  border: 1px solid #cfc5b6 !important;
  background: #fff !important;
}

body .bauble-cart-drawer .bauble-quantity-control button,
body .bauble-cart-drawer .bauble-quantity-control input {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 28px !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  color: #3b3128 !important;
  box-shadow: none !important;

  text-align: center !important;
  font-size: 12px !important;
  line-height: 28px !important;
}

body .bauble-cart-drawer .bauble-quantity-control input {
  border-right: 1px solid #ddd3c5 !important;
  border-left: 1px solid #ddd3c5 !important;
}

body .bauble-cart-drawer .bauble-cart-line-total {
  color: #3b3128 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}


/* =====================================================
   STICKY CART BOTTOM SECTION
===================================================== */

body .bauble-cart-drawer .bauble-cart-subtotal {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  width: 100% !important;

  margin: 0 !important;
  padding: 14px 0 !important;

  border-top: 1px solid #ded5c7 !important;

  color: #222 !important;
  font-size: 15px !important;
}

body .bauble-cart-drawer .bauble-cart-note {
  margin: 0 0 12px !important;

  color: #777 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

body .bauble-cart-drawer .bauble-cart-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;

  width: 100% !important;
}

body .bauble-cart-drawer .bauble-cart-actions a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 48px !important;

  margin: 0 !important;
  padding: 10px 14px !important;

  border: 0 !important;
  border-radius: 4px !important;

  text-decoration: none !important;

  font-family: Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

body .bauble-cart-drawer .bauble-view-cart {
  background: #eaeaea !important;
  color: #222 !important;
}

body .bauble-cart-drawer .bauble-checkout {
  background: #3b3128 !important;
  color: #fff !important;
}


/* =====================================================
   FALLBACK: OLD WOOCOMMERCE MINI-CART MARKUP
===================================================== */

body .bauble-cart-drawer
.woocommerce-mini-cart-item {
  position: relative !important;

  display: grid !important;
  grid-template-columns: 70px minmax(0, 1fr) !important;
  gap: 12px !important;

  min-height: 78px !important;

  margin: 0 0 14px !important;
  padding: 0 25px 14px 0 !important;

  border-bottom: 1px solid #ded5c7 !important;
}

body .bauble-cart-drawer
.woocommerce-mini-cart-item img {
  display: block !important;

  width: 70px !important;
  height: 78px !important;
  max-width: 70px !important;

  margin: 0 12px 0 0 !important;

  object-fit: cover !important;
  float: left !important;
}

body .bauble-cart-drawer
.woocommerce-mini-cart__buttons {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}

body .bauble-cart-drawer
.woocommerce-mini-cart__buttons a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 48px !important;

  margin: 0 !important;
  padding: 10px !important;
}


/* =====================================================
   TABLET AND MOBILE HEADER
===================================================== */

@media screen and (max-width: 1024px) {

  .custom-site-header .header-main {
    display: grid !important;
    grid-template-columns: 46px minmax(60px, 1fr) auto !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 82px !important;

    padding: 3px 14px !important;
  }

  .custom-site-header .header-left-area {
    grid-column: 1 !important;
    justify-self: start !important;

    min-width: 0 !important;
    width: 42px !important;
  }

  .custom-site-header .track-order-link {
    display: none !important;
  }

  .custom-site-header .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 40px !important;
    height: 42px !important;
    min-width: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #3b3128 !important;
    font-size: 22px !important;
  }

  .custom-site-header .site-logo {
    grid-column: 2 !important;
    justify-self: center !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 74px !important;
    max-width: 74px !important;

    margin: 0 auto !important;
  }

  .custom-site-header .hardcoded-site-logo {
    display: block !important;

    width: auto !important;
    height: 70px !important;
    max-width: 74px !important;
    max-height: 70px !important;

    margin: 0 auto !important;
  }

  .custom-site-header .header-icons {
    grid-column: 3 !important;
    justify-self: end !important;

    display: flex !important;
    align-items: center !important;
    gap: 5px !important;

    margin: 0 !important;
  }

  .custom-site-header .header-icon-button {
    width: 32px !important;
    height: 40px !important;
    min-width: 32px !important;
    min-height: 40px !important;

    font-size: 18px !important;
  }
}


/* =====================================================
   MOBILE PHONE
===================================================== */

@media screen and (max-width: 575px) {

  .top-strip {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 38px !important;

    padding: 5px 22px !important;

    text-align: center !important;
    font-size: 8px !important;
    line-height: 1.45 !important;
    letter-spacing: 1.6px !important;
  }

  .custom-site-header .header-main {
    grid-template-columns: 42px minmax(65px, 1fr) auto !important;
    min-height: 78px !important;
    padding: 2px 10px !important;
  }

  .custom-site-header .site-logo {
    width: 68px !important;
    max-width: 68px !important;
  }

  .custom-site-header .hardcoded-site-logo {
    height: 65px !important;
    max-width: 68px !important;
    max-height: 65px !important;
  }

  .custom-site-header .header-icons {
    flex-wrap: nowrap !important;
    gap: 3px !important;
  }

  .custom-site-header .header-icon-button {
    width: 30px !important;
    height: 38px !important;
    min-width: 30px !important;

    padding: 0 !important;
    font-size: 17px !important;
  }

  body .bauble-cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }

  body .bauble-cart-drawer .drawer-header {
    min-height: 63px !important;
    flex-basis: 63px !important;
    padding: 12px 15px !important;
  }

  body .bauble-cart-drawer .bauble-mini-cart-content {
    padding: 16px 15px !important;
  }

  body .bauble-cart-drawer .bauble-cart-item {
    grid-template-columns: 65px minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  body .bauble-cart-drawer .bauble-cart-item-image,
  body .bauble-cart-drawer .bauble-cart-item-image img {
    width: 65px !important;
    height: 72px !important;
    min-width: 65px !important;
    max-width: 65px !important;
  }
}


/* VERY SMALL PHONES */

@media screen and (max-width: 370px) {

  .custom-site-header .header-main {
    grid-template-columns: 38px minmax(55px, 1fr) auto !important;
    padding-right: 7px !important;
    padding-left: 7px !important;
  }

  .custom-site-header .header-left-area {
    width: 38px !important;
  }

  .custom-site-header .menu-toggle {
    width: 36px !important;
    min-width: 36px !important;
    font-size: 20px !important;
  }

  .custom-site-header .site-logo {
    width: 62px !important;
  }

  .custom-site-header .hardcoded-site-logo {
    height: 60px !important;
    max-width: 62px !important;
    max-height: 60px !important;
  }

  .custom-site-header .header-icons {
    gap: 1px !important;
  }

  .custom-site-header .header-icon-button {
    width: 28px !important;
    min-width: 28px !important;
    font-size: 16px !important;
  }
}
/* =====================================================
   FINAL MOBILE HEADER — CLEAN GRID LAYOUT
===================================================== */

@media screen and (max-width: 1024px) {

  .custom-site-header,
  .custom-site-header .header-main {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .custom-site-header .header-main {
    position: relative !important;

    display: grid !important;
    grid-template-columns: 112px minmax(60px, 1fr) 112px !important;
    align-items: center !important;

    min-height: 84px !important;

    margin: 0 !important;
    padding:
      4px
      max(14px, env(safe-area-inset-right))
      4px
      max(14px, env(safe-area-inset-left)) !important;

    background: #f5f1e8 !important;
  }

  /* LEFT SIDE */

  .custom-site-header .header-left-area {
    position: static !important;
    grid-column: 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    overflow: visible !important;
  }

  .custom-site-header .track-order-link {
    display: none !important;
  }

  .custom-site-header .menu-toggle {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 40px !important;
    height: 42px !important;
    min-width: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;

    color: #3b3128 !important;
    font-size: 22px !important;
    line-height: 1 !important;

    transform: none !important;
    overflow: visible !important;
  }

  .custom-site-header .menu-toggle i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
  }

  /* CENTER LOGO */

  .custom-site-header .header-logo-area {
    position: static !important;
    grid-column: 2 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .custom-site-header .site-logo {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 68px !important;
    max-width: 68px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    transform: none !important;
    line-height: 0 !important;
  }

  .custom-site-header .hardcoded-site-logo {
    display: block !important;

    width: auto !important;
    height: 66px !important;
    max-width: 68px !important;
    max-height: 66px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    object-fit: contain !important;
    box-shadow: none !important;
  }

  /* RIGHT ICONS */

  .custom-site-header .header-icons {
    position: static !important;
    grid-column: 3 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;

    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 5px !important;

    transform: none !important;
    overflow: visible !important;
  }

  .custom-site-header .header-icon-button {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 32px !important;

    width: 32px !important;
    height: 42px !important;
    min-width: 32px !important;
    min-height: 42px !important;
    max-width: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    outline: none !important;

    color: #3b3128 !important;
    font-size: 19px !important;
    line-height: 1 !important;

    transform: none !important;
    overflow: visible !important;
  }

  .custom-site-header .header-icon-button i {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
    font-size: inherit !important;
    line-height: 1 !important;
  }

  .custom-site-header .header-icon-button::before,
  .custom-site-header .header-icon-button::after,
  .custom-site-header .menu-toggle::before,
  .custom-site-header .menu-toggle::after {
    display: none !important;
    content: none !important;
  }

  /* CART NUMBER */

  .custom-site-header .bauble-cart-count {
    position: absolute !important;
    top: -1px !important;
    right: -2px !important;
    z-index: 10 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 16px !important;
    height: 16px !important;

    padding: 0 4px !important;

    border-radius: 999px !important;
    background: #3b3128 !important;
    color: #fff !important;

    font-family: Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  .custom-site-header .bauble-cart-count.is-empty,
  .custom-site-header .bauble-cart-count:empty {
    display: none !important;
  }
}


/* STANDARD MOBILE */

@media screen and (max-width: 575px) {

  .custom-site-header .header-main {
    grid-template-columns: 104px minmax(58px, 1fr) 104px !important;

    min-height: 80px !important;

    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
  }

  .custom-site-header .header-left-area,
  .custom-site-header .header-icons {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
  }

  .custom-site-header .header-icons {
    gap: 3px !important;
  }

  .custom-site-header .site-logo {
    width: 64px !important;
    max-width: 64px !important;
  }

  .custom-site-header .hardcoded-site-logo {
    height: 62px !important;
    max-width: 64px !important;
    max-height: 62px !important;
  }

  .custom-site-header .header-icon-button {
    flex-basis: 31px !important;

    width: 31px !important;
    min-width: 31px !important;
    max-width: 31px !important;

    font-size: 18px !important;
  }
}


/* VERY SMALL ANDROID / IPHONE */

@media screen and (max-width: 380px) {

  .custom-site-header .header-main {
    grid-template-columns: 94px minmax(52px, 1fr) 94px !important;

    min-height: 76px !important;

    padding-left: max(10px, env(safe-area-inset-left)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
  }

  .custom-site-header .header-left-area,
  .custom-site-header .header-icons {
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
  }

  .custom-site-header .header-icons {
    gap: 1px !important;
  }

  .custom-site-header .menu-toggle {
    width: 36px !important;
    min-width: 36px !important;

    font-size: 20px !important;
  }

  .custom-site-header .site-logo {
    width: 59px !important;
    max-width: 59px !important;
  }

  .custom-site-header .hardcoded-site-logo {
    height: 57px !important;
    max-width: 59px !important;
    max-height: 57px !important;
  }

  .custom-site-header .header-icon-button {
    flex-basis: 29px !important;

    width: 29px !important;
    min-width: 29px !important;
    max-width: 29px !important;

    font-size: 17px !important;
  }

  .custom-site-header .bauble-cart-count {
    min-width: 15px !important;
    height: 15px !important;

    font-size: 8px !important;
  }
}
/* =====================================================
   MOBILE MENU FOOTER
===================================================== */

.mobile-menu-footer {
  display: none;
}

@media screen and (max-width: 1024px) {

  .mobile-menu-drawer {
    display: flex !important;
    flex-direction: column !important;
  }

  .mobile-navigation {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;

    padding-bottom: 20px !important;
  }

  .mobile-menu-footer {
    display: block !important;
    flex: 0 0 auto !important;

    width: 100% !important;

    margin-top: auto !important;
    padding:
      18px
      18px
      max(20px, env(safe-area-inset-bottom))
      18px !important;

    border-top: 1px solid #ded5c7 !important;
    background: #f5f1e8 !important;
  }

  .mobile-support-block {
    margin-bottom: 14px !important;
  }

  .mobile-support-label {
    display: block !important;

    margin-bottom: 7px !important;

    color: #857462 !important;

    font-family: 'Cinzel', serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
  }

  .mobile-support-number {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;

    color: #3b3128 !important;
    text-decoration: none !important;

    font-family: Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }

  .mobile-support-number i {
    font-size: 14px !important;
  }

  .mobile-track-order-button,
  .mobile-login-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    width: 100% !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 10px 14px !important;

    border-radius: 0 !important;

    text-decoration: none !important;

    font-family: 'Cinzel', serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
  }

  .mobile-track-order-button {
    margin-bottom: 9px !important;

    border: 1px solid #3b3128 !important;
    background: transparent !important;
    color: #3b3128 !important;
  }

  .mobile-login-button {
    border: 1px solid #3b3128 !important;
    background: #3b3128 !important;
    color: #ffffff !important;
  }

  .mobile-track-order-button i,
  .mobile-login-button i {
    font-size: 13px !important;
  }
}
/* =====================================================
   HEADER ICONS WITH TEXT LABELS
===================================================== */

.custom-site-header .header-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
}

.custom-site-header .header-icon-button {
  position: relative !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  width: 52px !important;
  min-width: 52px !important;
  height: 58px !important;
  min-height: 58px !important;

  margin: 0 !important;
  padding: 3px 2px !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #3b3128 !important;
  text-decoration: none !important;

  line-height: 1 !important;
  cursor: pointer;
}

.custom-site-header .header-icon-symbol {
  position: relative !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 30px !important;
  height: 30px !important;

  margin: 0 0 3px !important;
  padding: 0 !important;
}

.custom-site-header .header-icon-symbol i {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #3b3128 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.custom-site-header .header-icon-label {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #3b3128 !important;

  font-family: Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.custom-site-header .cart-icon-wrap {
  overflow: visible !important;
}

.custom-site-header .bauble-cart-count {
  position: absolute !important;
  top: -5px !important;
  right: -6px !important;
  z-index: 5 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 17px !important;
  height: 17px !important;

  padding: 0 4px !important;

  border-radius: 999px !important;

  background: #ffffff !important;
  color: #3b3128 !important;

  font-family: Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  box-shadow: 0 0 0 1px rgba(59, 49, 40, 0.15) !important;
}

.custom-site-header .bauble-cart-count:empty,
.custom-site-header .bauble-cart-count.is-empty {
  display: none !important;
}


/* TABLET AND MOBILE */

@media screen and (max-width: 1024px) {

  .custom-site-header .header-main {
    min-height: 88px !important;
  }

  .custom-site-header .header-icons {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    gap: 3px !important;
  }

  .custom-site-header .header-icon-button {
    flex: 0 0 46px !important;

    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;

    height: 60px !important;
    min-height: 60px !important;

    padding: 4px 1px !important;
  }

  .custom-site-header .header-icon-symbol {
    width: 28px !important;
    height: 29px !important;
    margin-bottom: 2px !important;
  }

  .custom-site-header .header-icon-symbol i {
    font-size: 19px !important;
  }

  .custom-site-header .header-icon-label {
    font-size: 9px !important;
  }
}


/* NORMAL PHONES */

@media screen and (max-width: 575px) {

  .custom-site-header .header-main {
    min-height: 90px !important;

    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
  }

  .custom-site-header .header-icons {
    gap: 0 !important;
  }

  .custom-site-header .header-icon-button {
    flex-basis: 43px !important;

    width: 43px !important;
    min-width: 43px !important;
    max-width: 43px !important;

    height: 58px !important;
    min-height: 58px !important;
  }

  .custom-site-header .header-icon-symbol {
    width: 27px !important;
    height: 28px !important;
  }

  .custom-site-header .header-icon-symbol i {
    font-size: 18px !important;
  }

  .custom-site-header .header-icon-label {
    font-size: 8.5px !important;
  }

  .custom-site-header .bauble-cart-count {
    top: -5px !important;
    right: -5px !important;

    min-width: 16px !important;
    height: 16px !important;

    font-size: 8px !important;
  }
}


/* VERY SMALL PHONES */

@media screen and (max-width: 380px) {

  .custom-site-header .header-icon-button {
    flex-basis: 39px !important;

    width: 39px !important;
    min-width: 39px !important;
    max-width: 39px !important;
  }

  .custom-site-header .header-icon-symbol i {
    font-size: 17px !important;
  }

  .custom-site-header .header-icon-label {
    font-size: 8px !important;
  }
}
/* ==========================================================
   BAUBLE HOMES — CUSTOM PREMIUM FOOTER
   Paste this entire section at the END of style.css
========================================================== */

.bauble-site-footer,
.bauble-site-footer * {
  box-sizing: border-box;
}

.bauble-site-footer {
  position: relative;
  z-index: 10;

  width: 100%;
  max-width: 100%;

  margin: 0;
  padding: 0;

  background: #f5f1e8;
  color: #3b3128;

  overflow: hidden;
}


/* ==========================================================
   MAIN FOOTER AREA
========================================================== */

.bauble-footer-main {
  width: 100%;

  padding: 54px 30px 42px;

  border-top: 1px solid #e4dccf;
  background:
    linear-gradient(
      135deg,
      #f8f5ee 0%,
      #f4efe5 52%,
      #f8f5ee 100%
    );
}

.bauble-footer-container {
  display: grid;
  grid-template-columns:
    minmax(190px, 1.05fr)
    minmax(150px, 0.85fr)
    minmax(170px, 1fr)
    minmax(210px, 1.15fr)
    minmax(235px, 1.25fr);

  width: min(1500px, 100%);

  margin: 0 auto;
}


/* ==========================================================
   COMMON FOOTER COLUMNS
========================================================== */

.bauble-footer-brand,
.bauble-footer-column {
  position: relative;

  min-width: 0;

  padding: 0 32px;
}

.bauble-footer-brand {
  padding-left: 0;
}

.bauble-newsletter-column {
  padding-right: 0;
}

.bauble-footer-column::before,
.bauble-footer-brand::after {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;

  width: 1px;

  background: rgba(59, 49, 40, 0.12);
}

.bauble-footer-brand::after {
  right: 0;
  left: auto;
}

.bauble-footer-heading {
  margin: 0;

  color: #2f261f;

  text-align: center;

  font-family: "Cinzel", serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}


/* Heading decorative line */

.bauble-heading-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  width: 65px;

  margin: 13px auto 28px;
}

.bauble-heading-decoration span {
  display: block;

  width: 24px;
  height: 1px;

  background: rgba(59, 49, 40, 0.45);
}

.bauble-heading-decoration i {
  color: #5a4b3e;

  font-size: 5px;
  line-height: 1;
}


/* Desktop accordion button hidden */

.bauble-footer-accordion {
  display: none;
}


/* ==========================================================
   BRAND COLUMN
========================================================== */

.bauble-footer-brand {
  display: flex;
  align-items: center;
  flex-direction: column;

  text-align: center;
}

.bauble-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 125px;

  margin: -10px auto 18px;

  line-height: 0;
}

.bauble-footer-logo img {
  display: block;

  width: auto;
  height: 128px;
  max-width: 125px;
  max-height: 128px;

  margin: 0;

  border: 0;

  object-fit: contain;
}

.bauble-footer-description {
  max-width: 225px;

  margin: 0 auto 27px;

  color: #4f4339;

  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.bauble-footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  margin: 0 auto 24px;
}

.bauble-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  margin: 0;
  padding: 0;

  border: 1px solid #3b3128;
  border-radius: 50%;

  background: #3b3128;
  color: #fff;

  text-decoration: none;

  font-size: 14px;
  line-height: 1;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.bauble-footer-socials a:hover {
  background: transparent;
  color: #3b3128;

  transform: translateY(-3px);
}

.bauble-footer-socials a::before,
.bauble-footer-socials a::after {
  display: none !important;
  content: none !important;
}

.bauble-follow-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  width: 100%;
}

.bauble-follow-title span {
  display: block;

  width: 35px;
  height: 1px;

  background: rgba(59, 49, 40, 0.28);
}

.bauble-follow-title strong {
  color: #594b40;

  font-family: "Cinzel", serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}


/* ==========================================================
   LINK COLUMNS
========================================================== */

.bauble-footer-panel {
  display: block;
}

.bauble-footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.bauble-footer-links li {
  position: relative;

  margin: 0;
  padding: 0;

  list-style: none;
}

.bauble-footer-links li::before {
  content: "›";

  position: absolute;
  top: 1px;
  left: 0;

  color: #6b5c4a;

  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
}

.bauble-footer-links a {
  display: inline-block;

  margin: 0;
  padding: 0 0 0 17px;

  color: #4e4238;

  text-decoration: none;

  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.bauble-footer-links a:hover {
  color: #a27d43;

  transform: translateX(3px);
}


/* ==========================================================
   CONTACT COLUMN
========================================================== */

.bauble-contact-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.bauble-contact-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;

  margin: 0;
  padding: 0;

  color: #4e4238;

  text-decoration: none;

  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  line-height: 1.55;

  transition: color 0.25s ease;
}

a.bauble-contact-item:hover {
  color: #a27d43;
}

.bauble-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  color: #4f4136;

  font-size: 15px;
  line-height: 1;
}

.bauble-address-item address {
  margin: 0;

  color: inherit;

  font-style: normal;
  line-height: 1.6;
}


/* ==========================================================
   NEWSLETTER
========================================================== */

.bauble-newsletter-text {
  margin: 0 0 22px;

  color: #4f4339;

  text-align: center;

  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
}

.bauble-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;

  width: 100%;
  max-width: 340px;

  margin: 0 auto 42px;

  overflow: hidden;

  border: 1px solid #d5cabc;
  background: #fff;
}

.bauble-newsletter-form input {
  width: 100%;
  min-width: 0;
  height: 48px;

  margin: 0;
  padding: 0 14px;

  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;

  background: #fff !important;
  color: #3b3128 !important;

  box-shadow: none !important;

  font-family: "Lora", Georgia, serif;
  font-size: 12px;
}

.bauble-newsletter-form input::placeholder {
  color: #8a7b6d;
  opacity: 1;
}

.bauble-newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  min-width: 48px;

  margin: 0;
  padding: 0;

  border: 0 !important;
  border-radius: 0 !important;

  background: #3b3128 !important;
  color: #fff !important;

  box-shadow: none !important;

  font-size: 16px;

  cursor: pointer;

  transition: background-color 0.25s ease;
}

.bauble-newsletter-form button:hover {
  background: #a27d43 !important;
}


/* Features */

.bauble-footer-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  width: 100%;
}

.bauble-footer-feature {
  position: relative;

  display: flex;
  align-items: center;
  flex-direction: column;

  min-width: 0;

  padding: 0 10px;

  text-align: center;
}

.bauble-footer-feature + .bauble-footer-feature {
  border-left: 1px solid rgba(59, 49, 40, 0.18);
}

.bauble-footer-feature i {
  min-height: 37px;

  margin-bottom: 10px;

  color: #4b3e34;

  font-size: 28px;
  line-height: 1;
}

.bauble-footer-feature span {
  color: #4b3e34;

  font-family: "Lora", Georgia, serif;
  font-size: 11px;
  line-height: 1.4;
}


/* ==========================================================
   PAYMENT STRIP
========================================================== */

.bauble-payment-strip {
  width: 100%;

  padding: 23px 25px;

  background:
    linear-gradient(
      110deg,
      #796e63 0%,
      #6d6258 55%,
      #75695f 100%
    );
}

.bauble-payment-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;

  width: min(1400px, 100%);

  margin: 0 auto;
}

.bauble-payment-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  flex: 0 0 auto;
}

.bauble-payment-heading span {
  display: block;

  width: 34px;
  height: 1px;

  background: rgba(255, 255, 255, 0.58);
}

.bauble-payment-heading strong {
  color: #fff;

  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bauble-payment-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(72px, 1fr));
  gap: 11px;

  width: min(920px, 100%);
}

.bauble-payment-card {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;
  height: 42px;

  margin: 0;
  padding: 5px 9px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #fff;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.bauble-payment-card:hover {
  transform: translateY(-2px);

  box-shadow: 0 7px 18px rgba(28, 21, 17, 0.2);
}

.bauble-payment-card img {
  display: block;

  width: 100%;
  height: 27px;
  max-width: 82px;

  margin: 0;

  object-fit: contain;
}

/* Fallback names are hidden when logo image is available */

.bauble-payment-card span {
  display: none;

  color: #3b3128;

  text-align: center;

  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.1;
}


/* ==========================================================
   COPYRIGHT BAR
========================================================== */

.bauble-footer-bottom {
  width: 100%;

  padding: 0 25px;

  background:
    linear-gradient(
      110deg,
      #312921 0%,
      #241d18 55%,
      #332a23 100%
    );
}

.bauble-footer-bottom-container {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: min(1500px, 100%);
  min-height: 72px;

  margin: 0 auto;
}

.bauble-footer-bottom p {
  margin: 0;
  padding: 0 70px;

  color: rgba(255, 255, 255, 0.92);

  text-align: center;

  font-family: "Lora", Georgia, serif;
  font-size: 12px;
  line-height: 1.5;
}

.bauble-back-to-top {
  position: absolute;
  top: 50%;
  right: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  margin: 0;
  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  border-radius: 50% !important;

  background: transparent !important;
  color: #fff !important;

  box-shadow: none !important;

  font-size: 15px;

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.bauble-back-to-top:hover {
  background: #fff !important;
  color: #332a23 !important;

  transform: translateY(-54%);
}


/* ==========================================================
   SCREEN READER TEXT
========================================================== */

.bauble-site-footer .screen-reader-text {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;

  border: 0 !important;
}


/* ==========================================================
   LARGE TABLETS / SMALL LAPTOPS
========================================================== */

@media screen and (max-width: 1280px) {

  .bauble-footer-main {
    padding-right: 22px;
    padding-left: 22px;
  }

  .bauble-footer-container {
    grid-template-columns:
      minmax(165px, 0.95fr)
      minmax(140px, 0.8fr)
      minmax(155px, 0.9fr)
      minmax(195px, 1.1fr)
      minmax(220px, 1.2fr);
  }

  .bauble-footer-brand,
  .bauble-footer-column {
    padding-right: 22px;
    padding-left: 22px;
  }

  .bauble-footer-brand {
    padding-left: 0;
  }

  .bauble-newsletter-column {
    padding-right: 0;
  }

  .bauble-footer-links a,
  .bauble-contact-item {
    font-size: 12px;
  }

  .bauble-payment-grid {
    grid-template-columns: repeat(8, minmax(64px, 1fr));
  }
}


/* ==========================================================
   TABLET
========================================================== */

@media screen and (max-width: 1024px) {

  .bauble-footer-main {
    padding: 45px 25px 38px;
  }

  .bauble-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 0;
  }

  .bauble-footer-brand {
    grid-column: 1 / -1;

    padding: 0 0 35px;

    border-bottom: 1px solid rgba(59, 49, 40, 0.13);
  }

  .bauble-footer-brand::after {
    display: none;
  }

  .bauble-footer-column {
    padding: 0 35px;
  }

  .bauble-footer-column:nth-of-type(even)::before {
    display: none;
  }

  .bauble-newsletter-column {
    padding-right: 35px;
  }

  .bauble-payment-container {
    flex-direction: column;
    gap: 18px;
  }

  .bauble-payment-grid {
    grid-template-columns: repeat(4, minmax(75px, 1fr));

    width: min(650px, 100%);
  }
}


/* ==========================================================
   MOBILE FOOTER
========================================================== */

@media screen and (max-width: 767px) {

  .bauble-footer-main {
    padding: 0;

    background:
      linear-gradient(
        135deg,
        #f8f5ee 0%,
        #f3eee4 100%
      );
  }

  .bauble-footer-container {
    display: block;

    width: 100%;
  }


  /* Brand section */

  .bauble-footer-brand {
    display: flex;
    align-items: center;
    flex-direction: column;

    width: 100%;

    padding:
      34px
      max(18px, env(safe-area-inset-right))
      30px
      max(18px, env(safe-area-inset-left));

    border-bottom: 1px solid rgba(59, 49, 40, 0.14);
  }

  .bauble-footer-logo {
    width: 100px;

    margin: 0 auto 14px;
  }

  .bauble-footer-logo img {
    width: auto;
    height: 102px;
    max-width: 100px;
    max-height: 102px;
  }

  .bauble-footer-description {
    max-width: 245px;

    margin-bottom: 21px;

    font-size: 15px;
    line-height: 1.6;
  }

  .bauble-footer-socials {
    gap: 12px;

    margin-bottom: 0;
  }

  .bauble-footer-socials a {
    width: 32px;
    height: 32px;

    font-size: 13px;
  }

  .bauble-follow-title {
    display: none;
  }


  /* Accordion columns */

  .bauble-footer-column {
    width: 100%;

    margin: 0;
    padding: 0;

    border-bottom: 1px solid rgba(59, 49, 40, 0.14);
  }

  .bauble-footer-column::before {
    display: none;
  }

  .bauble-footer-heading,
  .bauble-heading-decoration {
    display: none;
  }

  .bauble-footer-accordion {
    display: flex !important;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 58px;

    margin: 0;
    padding:
      14px
      max(18px, env(safe-area-inset-right))
      14px
      max(18px, env(safe-area-inset-left));

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: #3b3128 !important;

    box-shadow: none !important;

    font-family: "Cinzel", serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-align: left;
    text-transform: uppercase;

    cursor: pointer;
  }

  .bauble-footer-accordion i {
    color: #54473c;

    font-size: 17px;

    transition: transform 0.25s ease;
  }

  .bauble-footer-accordion.is-open i {
    transform: rotate(45deg);
  }

  .bauble-footer-panel {
    display: none;

    width: 100%;

    padding:
      0
      max(18px, env(safe-area-inset-right))
      20px
      max(18px, env(safe-area-inset-left));
  }

  .bauble-footer-panel.is-open {
    display: block;
  }

  .bauble-footer-links {
    gap: 0;
  }

  .bauble-footer-links li {
    border-top: 1px solid rgba(59, 49, 40, 0.09);
  }

  .bauble-footer-links li::before {
    top: 14px;
    left: 1px;
  }

  .bauble-footer-links a {
    display: block;

    width: 100%;

    padding: 12px 0 12px 18px;

    font-size: 12px;
  }


  /* Mobile contact */

  .bauble-contact-list {
    gap: 0;

    padding-top: 2px;
  }

  .bauble-contact-item {
    padding: 11px 0;

    border-top: 1px solid rgba(59, 49, 40, 0.09);

    font-size: 12px;
  }


  /* Mobile newsletter */

  .bauble-newsletter-text {
    margin-top: 3px;
    margin-bottom: 16px;

    text-align: left;
  }

  .bauble-newsletter-text br {
    display: none;
  }

  .bauble-newsletter-form {
    max-width: 100%;

    margin-bottom: 23px;
  }

  .bauble-footer-features {
    gap: 0;
  }

  .bauble-footer-feature {
    padding: 0 7px;
  }

  .bauble-footer-feature i {
    min-height: 31px;

    margin-bottom: 7px;

    font-size: 23px;
  }

  .bauble-footer-feature span {
    font-size: 10px;
  }


  /* Mobile payment section */

  .bauble-payment-strip {
    padding:
      25px
      max(15px, env(safe-area-inset-right))
      27px
      max(15px, env(safe-area-inset-left));
  }

  .bauble-payment-container {
    display: block;

    width: 100%;
  }

  .bauble-payment-heading {
    margin-bottom: 20px;
  }

  .bauble-payment-heading span {
    width: 37px;
  }

  .bauble-payment-heading strong {
    font-size: 12px;
  }

  /*
   Mobile payment logos:
   4 logos per line × 2 complete rows
  */

  .bauble-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px 9px;

    width: 100%;
    max-width: 440px;

    margin: 0 auto;
  }

  .bauble-payment-card {
    width: 100%;
    height: 43px;
    min-width: 0;

    padding: 5px;
  }

  .bauble-payment-card img {
    width: 80%;
    height: 20px;
    max-width: 70px;

    object-fit: contain;
  }


  /* Mobile copyright */

  .bauble-footer-bottom {
    padding:
      0
      max(15px, env(safe-area-inset-right))
      env(safe-area-inset-bottom)
      max(15px, env(safe-area-inset-left));
  }

  .bauble-footer-bottom-container {
    flex-direction: column;

    min-height: 145px;

    padding: 25px 0 20px;
  }

  .bauble-footer-bottom p {
    max-width: 250px;

    padding: 0;

    font-size: 11px;
    line-height: 1.65;
  }

  .bauble-back-to-top {
    position: static;

    width: 39px;
    height: 39px;

    margin-top: 18px;

    transform: none;
  }

  .bauble-back-to-top:hover {
    transform: translateY(-3px);
  }
}


/* ==========================================================
   VERY SMALL PHONES
========================================================== */

@media screen and (max-width: 380px) {

  .bauble-footer-brand {
    padding-right: 15px;
    padding-left: 15px;
  }

  .bauble-footer-description {
    max-width: 225px;

    font-size: 12px;
  }

  .bauble-footer-accordion {
    padding-right: 15px;
    padding-left: 15px;

    font-size: 11px;
  }

  .bauble-footer-panel {
    padding-right: 15px;
    padding-left: 15px;
  }

  .bauble-payment-strip {
    padding-right: 10px;
    padding-left: 10px;
  }

  .bauble-payment-grid {
    gap: 9px 7px;
  }

  .bauble-payment-card {
    height: 40px;

    padding: 4px;
  }

  .bauble-payment-card img {
    height: 15px;
    max-width: 35px;
  }
}
/* ==========================================================
   BAUBLE HOMES — FRESH WOOCOMMERCE BLOCK CHECKOUT
   URL: /checkout/
   Remove all previous custom checkout CSS first
========================================================== */

body.woocommerce-checkout {
  --bh-bg: #f7f3eb;
  --bh-card: #fffdf9;
  --bh-soft: #f2ecdf;
  --bh-text: #3b3128;
  --bh-muted: #74675c;
  --bh-line: #ddd3c4;
  --bh-gold: #806b37;

  background: var(--bh-bg) !important;
  overflow-x: hidden !important;
}


/* ==========================================================
   REMOVE MITTI THEME CONTAINER RESTRICTIONS
========================================================== */

body.woocommerce-checkout #page,
body.woocommerce-checkout #content,
body.woocommerce-checkout #primary,
body.woocommerce-checkout main.site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout main.site-main > .container,
body.woocommerce-checkout main.site-main > .container > .row,
body.woocommerce-checkout .post-excerpt,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin-right: 0 !important;
  margin-left: 0 !important;

  padding-right: 0 !important;
  padding-left: 0 !important;

  float: none !important;
  clear: both !important;
}


/* ==========================================================
   DESKTOP LAYOUT
========================================================== */

body.woocommerce-checkout
.wc-block-components-sidebar-layout.wc-block-checkout {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(350px, 390px) !important;

  align-items: start !important;
  gap: 36px !important;

  width: min(1380px, calc(100% - 48px)) !important;
  max-width: 1380px !important;
  min-width: 0 !important;

  margin: 0 auto !important;
  padding: 50px 0 85px !important;
}


/* Left form */

body.woocommerce-checkout
.wc-block-checkout
> .wc-block-components-main {
  grid-column: 1 !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* Right summary */

body.woocommerce-checkout
.wc-block-checkout
> .wc-block-components-sidebar {
  grid-column: 2 !important;

  position: sticky !important;
  top: 20px !important;

  width: 100% !important;
  max-width: 390px !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  align-self: start !important;
}


/* ==========================================================
   CHECKOUT CARDS
========================================================== */

body.woocommerce-checkout
.wc-block-components-main
.wc-block-components-checkout-step {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 0 20px !important;
  padding: 30px 31px !important;

  border: 1px solid var(--bh-line) !important;
  border-radius: 0 !important;

  background: var(--bh-card) !important;

  box-shadow:
    0 10px 28px rgba(59, 49, 40, 0.04) !important;
}

body.woocommerce-checkout
.wc-block-components-checkout-step::after {
  display: none !important;
}


/* Headings */

body.woocommerce-checkout
.wc-block-components-checkout-step__heading {
  margin: 0 0 22px !important;
  padding: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-checkout-step__title {
  margin: 0 !important;
  padding: 0 !important;

  color: var(--bh-text) !important;

  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(28px, 2.3vw, 35px) !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
}


/* ==========================================================
   FORM FIELDS
========================================================== */

body.woocommerce-checkout
.wc-block-components-address-form,
body.woocommerce-checkout
.wc-block-components-address-form > div,
body.woocommerce-checkout
.wc-block-components-text-input,
body.woocommerce-checkout
.wc-blocks-components-select {
  max-width: 100% !important;
  min-width: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-text-input,
body.woocommerce-checkout
.wc-blocks-components-select {
  margin-bottom: 12px !important;
}

body.woocommerce-checkout
.wc-block-components-text-input input,
body.woocommerce-checkout
select.wc-blocks-components-select__select,
body.woocommerce-checkout
.wc-block-components-textarea {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;

  margin: 0 !important;
  padding: 18px 14px 7px !important;

  border: 1px solid var(--bh-line) !important;
  border-radius: 0 !important;
  outline: 0 !important;

  background-color: #fff !important;
  color: var(--bh-text) !important;

  box-shadow: none !important;

  font-family: "Lora", Georgia, serif !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

body.woocommerce-checkout
.wc-block-components-text-input input:focus,
body.woocommerce-checkout
select.wc-blocks-components-select__select:focus {
  border-color: var(--bh-gold) !important;

  box-shadow:
    0 0 0 3px rgba(128, 107, 55, 0.09) !important;
}


/* ==========================================================
   COUNTRY / STATE DROPDOWN — SINGLE ARROW
========================================================== */

/*
   Browser ka native arrow visible rahega.
   WooCommerce ka separate SVG arrow hide kar rahe hain.
*/

body.woocommerce-checkout
.wc-blocks-components-select {
  position: relative !important;
}

body.woocommerce-checkout
.wc-blocks-components-select .select-wrap {
  position: relative !important;
}

body.woocommerce-checkout
select.wc-blocks-components-select__select {
  padding-right: 42px !important;

  appearance: auto !important;
  -webkit-appearance: menulist !important;
  -moz-appearance: auto !important;

  background-image: none !important;
}

body.woocommerce-checkout
svg.wc-blocks-components-select__expand {
  display: none !important;
  visibility: hidden !important;

  width: 0 !important;
  height: 0 !important;

  opacity: 0 !important;
  pointer-events: none !important;
}


/* Mitti wrapper pseudo arrows remove */

body.woocommerce-checkout
.wc-blocks-components-select::before,
body.woocommerce-checkout
.wc-blocks-components-select::after,
body.woocommerce-checkout
.wc-blocks-components-select__container::before,
body.woocommerce-checkout
.wc-blocks-components-select__container::after,
body.woocommerce-checkout
.wc-blocks-components-select .select-wrap::before,
body.woocommerce-checkout
.wc-blocks-components-select .select-wrap::after {
  display: none !important;
  content: none !important;
}


/* ==========================================================
   CHECKBOXES
========================================================== */

body.woocommerce-checkout
.wc-block-components-checkbox {
  margin: 13px 0 0 !important;
}

body.woocommerce-checkout
.wc-block-components-checkbox input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;

  margin-right: 10px !important;

  accent-color: var(--bh-text) !important;
}

body.woocommerce-checkout
.wc-block-components-checkbox__label {
  color: var(--bh-muted) !important;

  font-family: "Lora", Georgia, serif !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}


/* ==========================================================
   SHIPPING AND PAYMENT OPTIONS
========================================================== */

body.woocommerce-checkout
.wc-block-checkout__shipping-option
.wc-block-components-radio-control,
body.woocommerce-checkout
.wc-block-checkout__payment-method
.wc-block-components-radio-control {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;

  border: 1px solid var(--bh-line) !important;
  border-radius: 0 !important;

  background: #fff !important;
}


/* Option row */

body.woocommerce-checkout
.wc-block-components-radio-control__option {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 62px !important;

  margin: 0 !important;
  padding: 16px 17px !important;

  border: 0 !important;
  border-bottom: 1px solid var(--bh-line) !important;
  border-radius: 0 !important;

  background: #fff !important;

  box-shadow: none !important;
}

body.woocommerce-checkout
.wc-block-components-radio-control__option:last-child {
  border-bottom: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-radio-control__option--checked {
  background: var(--bh-soft) !important;
}


/* Native radio */

body.woocommerce-checkout
.wc-block-components-radio-control__input {
  position: static !important;

  flex: 0 0 18px !important;

  width: 18px !important;
  height: 18px !important;

  margin: 0 !important;

  appearance: auto !important;
  -webkit-appearance: radio !important;

  opacity: 1 !important;

  accent-color: var(--bh-text) !important;
}


/* Labels */

body.woocommerce-checkout
.wc-block-components-radio-control__label-group {
  flex: 1 1 auto !important;

  min-width: 0 !important;

  margin: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-radio-control__label {
  color: var(--bh-text) !important;

  font-family: "Lora", Georgia, serif !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.woocommerce-checkout
.wc-block-components-radio-control__secondary-label {
  flex: 0 0 auto !important;

  margin-left: auto !important;

  color: var(--bh-gold) !important;

  font-family: "Cinzel", serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;

  white-space: nowrap !important;
  text-transform: uppercase !important;
}


/* Payment description */

body.woocommerce-checkout
.wc-block-components-radio-control-accordion-content {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 14px 17px 17px 47px !important;

  border: 0 !important;
  border-top: 1px solid var(--bh-line) !important;

  background: var(--bh-soft) !important;
  color: var(--bh-muted) !important;

  font-family: "Lora", Georgia, serif !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}


/* ==========================================================
   ORDER SUMMARY
========================================================== */

body.woocommerce-checkout
.wc-block-checkout
> .wc-block-components-sidebar {
  overflow: hidden !important;

  border: 1px solid var(--bh-line) !important;
  border-radius: 0 !important;

  background: var(--bh-card) !important;

  box-shadow:
    0 16px 38px rgba(59, 49, 40, 0.07) !important;
}

body.woocommerce-checkout
.wc-block-components-checkout-order-summary {
  width: 100% !important;
  max-width: 100% !important;

  padding: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-checkout-order-summary__title {
  min-height: 76px !important;

  margin: 0 !important;
  padding: 24px !important;

  border-bottom: 1px solid var(--bh-line) !important;

  color: var(--bh-text) !important;

  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 21px !important;
  font-weight: 500 !important;
}


/* Product row */

body.woocommerce-checkout
.wc-block-components-order-summary-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 20px 24px !important;

  border-bottom: 1px solid var(--bh-line) !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__image {
  flex: 0 0 63px !important;

  width: 63px !important;
  min-width: 63px !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__image img {
  display: block !important;

  width: 63px !important;
  height: 63px !important;

  object-fit: cover !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__description {
  flex: 1 1 auto !important;

  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-product-name {
  display: block !important;

  width: auto !important;
  min-width: 0 !important;

  margin: 0 0 5px !important;

  color: var(--bh-text) !important;

  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price {
  flex: 0 0 auto !important;

  width: auto !important;
  min-width: max-content !important;

  margin-left: auto !important;

  color: var(--bh-text) !important;

  text-align: right !important;
  white-space: nowrap !important;

  font-family: "Lora", Georgia, serif !important;
  font-size: 11px !important;
}


/* Summary rows */

body.woocommerce-checkout
.wc-block-components-totals-wrapper {
  padding: 17px 24px !important;

  border-bottom: 1px solid var(--bh-line) !important;
}

body.woocommerce-checkout
.wc-block-components-totals-footer-item {
  margin: 16px !important;
  padding: 20px 17px !important;

  background: var(--bh-soft) !important;
}


/* ==========================================================
   TERMS AND ACTION BUTTONS
========================================================== */

body.woocommerce-checkout
.wc-block-checkout__terms {
  margin: 20px 0 !important;

  color: var(--bh-muted) !important;

  font-family: "Lora", Georgia, serif !important;
  font-size: 11px !important;
  line-height: 1.65 !important;
}

body.woocommerce-checkout
.wc-block-checkout__actions {
  display: grid !important;
  grid-template-columns: 105px minmax(0, 1fr) !important;
  gap: 14px !important;

  width: 100% !important;

  margin-top: 20px !important;
}

body.woocommerce-checkout
.wc-block-checkout__actions_row {
  display: contents !important;
}

body.woocommerce-checkout
.wc-block-components-checkout-return-to-cart-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 56px !important;

  margin: 0 !important;
  padding: 10px !important;

  border: 1px solid var(--bh-line) !important;
  border-radius: 0 !important;

  background: transparent !important;
  color: var(--bh-text) !important;

  font-family: "Lora", Georgia, serif !important;
  font-size: 10px !important;

  text-align: center !important;
  text-decoration: none !important;
}

body.woocommerce-checkout
.wc-block-components-checkout-place-order-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 56px !important;

  margin: 0 !important;
  padding: 13px 20px !important;

  border: 1px solid var(--bh-text) !important;
  border-radius: 0 !important;

  background: var(--bh-text) !important;
  color: #fff !important;

  box-shadow: none !important;

  font-family: "Cinzel", serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}


/* ==========================================================
   TABLET
========================================================== */

@media screen and (max-width: 900px) {

  body.woocommerce-checkout
  .wc-block-components-sidebar-layout.wc-block-checkout {
    display: flex !important;
    flex-direction: column !important;

    width: min(760px, calc(100% - 28px)) !important;
    max-width: 760px !important;

    margin: 0 auto !important;
    padding: 32px 0 60px !important;

    gap: 18px !important;
  }

  body.woocommerce-checkout
  .wc-block-checkout
  > .wc-block-components-main,
  body.woocommerce-checkout
  .wc-block-checkout
  > .wc-block-components-sidebar {
    position: static !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
  }

  body.woocommerce-checkout
  .wc-block-checkout
  > .wc-block-components-main {
    order: 1 !important;
  }

  body.woocommerce-checkout
  .wc-block-checkout
  > .wc-block-components-sidebar {
    order: 2 !important;
  }
}


/* ==========================================================
   MOBILE
========================================================== */

@media screen and (max-width: 600px) {

  body.woocommerce-checkout
  .wc-block-components-sidebar-layout.wc-block-checkout {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;

    padding:
      18px
      max(10px, env(safe-area-inset-right))
      50px
      max(10px, env(safe-area-inset-left)) !important;
  }

  body.woocommerce-checkout
  .wc-block-components-main
  .wc-block-components-checkout-step {
    margin-bottom: 13px !important;
    padding: 20px 14px !important;

    box-shadow: none !important;
  }

  body.woocommerce-checkout
  .wc-block-components-checkout-step__title {
    font-size: 25px !important;
  }


  /* Single field per row */

  body.woocommerce-checkout
  .wc-block-components-address-form__first_name,
  body.woocommerce-checkout
  .wc-block-components-address-form__last_name,
  body.woocommerce-checkout
  .wc-block-components-address-form__city,
  body.woocommerce-checkout
  .wc-block-components-address-form__state,
  body.woocommerce-checkout
  .wc-block-components-address-form__postcode,
  body.woocommerce-checkout
  .wc-block-components-address-form__phone {
    grid-column: 1 / -1 !important;

    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-checkout
  .wc-block-components-text-input input,
  body.woocommerce-checkout
  select.wc-blocks-components-select__select {
    font-size: 16px !important;
  }


  /* Buttons */

  body.woocommerce-checkout
  .wc-block-checkout__actions {
    display: flex !important;
    flex-direction: column-reverse !important;

    gap: 9px !important;
  }

  body.woocommerce-checkout
  .wc-block-components-checkout-return-to-cart-button,
  body.woocommerce-checkout
  .wc-block-components-checkout-place-order-button {
    width: 100% !important;
  }


  /* Mobile summary */

  body.woocommerce-checkout
  .wc-block-components-checkout-order-summary__title {
    min-height: 64px !important;

    padding: 20px 16px !important;

    font-size: 20px !important;
  }

  body.woocommerce-checkout
  .wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns:
      56px
      minmax(0, 1fr) !important;

    gap: 10px !important;

    padding: 16px !important;
  }

  body.woocommerce-checkout
  .wc-block-components-order-summary-item__image {
    width: 56px !important;
    min-width: 56px !important;
  }

  body.woocommerce-checkout
  .wc-block-components-order-summary-item__image img {
    width: 56px !important;
    height: 56px !important;
  }

  body.woocommerce-checkout
  .wc-block-components-order-summary-item__description {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.woocommerce-checkout
  .wc-block-components-product-name {
    width: 100% !important;

    font-size: 12px !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  body.woocommerce-checkout
  .wc-block-components-order-summary-item__total-price {
    grid-column: 2 !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 5px 0 0 !important;

    text-align: left !important;
  }
}
/* CHECKOUT OTP BUTTON — CSS ONLY */

body.woocommerce-checkout .wc-block-checkout__actions {
  display: flex !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: 100% !important;
}

body.woocommerce-checkout .wc-block-checkout__actions_row {
  display: flex !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: 100% !important;
}

body.woocommerce-checkout
.wc-block-checkout__actions
.wc-block-components-checkout-return-to-cart-button {
  flex: 0 0 105px !important;
  width: 105px !important;
  min-width: 105px !important;
}

body.woocommerce-checkout
.wc-block-checkout__actions
.wc-block-components-checkout-place-order-button {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

/* Checkout actions ke aas-paas plugin ke injected buttons */
body.woocommerce-checkout
.wc-block-checkout__actions button:not(
  .wc-block-components-checkout-place-order-button
),
body.woocommerce-checkout
.wc-block-checkout__actions a:not(
  .wc-block-components-checkout-return-to-cart-button
),
body.woocommerce-checkout
.wc-block-checkout__actions_row button:not(
  .wc-block-components-checkout-place-order-button
) {
  flex: 1 1 240px !important;
  width: auto !important;
  min-width: 220px !important;
  min-height: 56px !important;

  margin: 0 !important;
  padding: 12px 18px !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;

  background: #3b3128 !important;
  color: #fff !important;
  border: 1px solid #3b3128 !important;
  border-radius: 0 !important;

  text-align: center !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

/* Plugin button agar actions row ka direct next sibling ho */
body.woocommerce-checkout
.wc-block-checkout__actions_row + button,
body.woocommerce-checkout
.wc-block-checkout__actions_row + a,
body.woocommerce-checkout
.wc-block-checkout__actions + button,
body.woocommerce-checkout
.wc-block-checkout__actions + a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;

  margin: 12px 0 0 !important;
  padding: 12px 18px !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;

  background: #3b3128 !important;
  color: #fff !important;
  border: 1px solid #3b3128 !important;
  border-radius: 0 !important;

  text-align: center !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

@media (max-width: 600px) {
  body.woocommerce-checkout .wc-block-checkout__actions,
  body.woocommerce-checkout .wc-block-checkout__actions_row {
    flex-direction: column !important;
    gap: 9px !important;
  }

  body.woocommerce-checkout
  .wc-block-checkout__actions
  .wc-block-components-checkout-return-to-cart-button,
  body.woocommerce-checkout
  .wc-block-checkout__actions
  .wc-block-components-checkout-place-order-button,
  body.woocommerce-checkout
  .wc-block-checkout__actions button,
  body.woocommerce-checkout
  .wc-block-checkout__actions a {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}
/* ==========================================================
   CHECKOUT ACTION BUTTONS — EQUAL WIDTH FINAL FIX
========================================================== */

body.woocommerce-checkout .wc-block-checkout__actions,
body.woocommerce-checkout .wc-block-checkout__actions_row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  width: 100% !important;
  align-items: stretch !important;
}

/* Return to cart ko alag line par clean rakho */
body.woocommerce-checkout
.wc-block-components-checkout-return-to-cart-button {
  grid-column: 1 / -1 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;

  width: auto !important;
  min-width: 0 !important;
  min-height: 40px !important;

  margin: 0 0 2px !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;
  color: #3b3128 !important;

  box-shadow: none !important;

  font-family: "Lora", Georgia, serif !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

/* Existing arrow conflict remove */
body.woocommerce-checkout
.wc-block-components-checkout-return-to-cart-button::before,
body.woocommerce-checkout
.wc-block-components-checkout-return-to-cart-button::after {
  display: none !important;
  content: none !important;
}

/* Single clean arrow */
body.woocommerce-checkout
.wc-block-components-checkout-return-to-cart-button svg {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex: 0 0 16px !important;
}

/* Place Order + Verify Phone equal */
body.woocommerce-checkout
.wc-block-components-checkout-place-order-button,
body.woocommerce-checkout
.wc-block-checkout__actions button:not(
  .wc-block-components-checkout-place-order-button
),
body.woocommerce-checkout
.wc-block-checkout__actions a:not(
  .wc-block-components-checkout-return-to-cart-button
) {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;

  margin: 0 !important;
  padding: 13px 16px !important;

  border: 1px solid #3b3128 !important;
  border-radius: 0 !important;

  background: #3b3128 !important;
  color: #ffffff !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-shadow: none !important;

  font-family: "Cinzel", serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.8px !important;
  text-align: center !important;
  text-transform: uppercase !important;

  white-space: normal !important;
  word-break: normal !important;
}

/* Hover */
body.woocommerce-checkout
.wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout
.wc-block-checkout__actions button:hover,
body.woocommerce-checkout
.wc-block-checkout__actions a:not(
  .wc-block-components-checkout-return-to-cart-button
):hover {
  background: #806b37 !important;
  border-color: #806b37 !important;
  color: #ffffff !important;
}

/* Mobile */
@media screen and (max-width: 600px) {
  body.woocommerce-checkout .wc-block-checkout__actions,
  body.woocommerce-checkout .wc-block-checkout__actions_row {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  body.woocommerce-checkout
  .wc-block-components-checkout-return-to-cart-button {
    grid-column: 1 !important;
    min-height: 34px !important;
    margin-bottom: 0 !important;
  }

  body.woocommerce-checkout
  .wc-block-components-checkout-place-order-button,
  body.woocommerce-checkout
  .wc-block-checkout__actions button,
  body.woocommerce-checkout
  .wc-block-checkout__actions a:not(
    .wc-block-components-checkout-return-to-cart-button
  ) {
    width: 100% !important;
    min-height: 54px !important;
  }
}
/* MOBILE - FIX COUNTRY FIELD OVERLAP */
@media (max-width: 768px){

.wc-block-components-combobox,
.wc-block-components-country-input,
.wc-block-components-text-input,
.wc-block-components-address-form__country{
    min-height:58px !important;
}

.wc-block-components-combobox label,
.wc-block-components-country-input label{
    position:relative !important;
    display:block !important;
    transform:none !important;
    top:auto !important;
    left:auto !important;
    margin-bottom:8px !important;
    font-size:13px !important;
    line-height:1.2 !important;
}

.wc-block-components-combobox select,
.wc-block-components-country-input select,
.wc-block-components-combobox input{
    height:58px !important;
    padding-top:18px !important;
}

}
/* Checkout mobile spacing fix */
@media (max-width: 768px) {

  .wc-block-components-address-form {
    row-gap: 22px !important;
  }

  .wc-block-components-address-form__country {
    margin-bottom: 14px !important;
  }

  .wc-block-components-address-form .wc-block-components-text-input {
    margin-top: 0 !important;
  }

  .wc-block-components-address-form
  .wc-block-components-text-input label {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .wc-block-components-address-form
  .wc-block-components-text-input.has-value label,
  .wc-block-components-address-form
  .wc-block-components-text-input.is-active label {
    top: 8px !important;
    transform: none !important;
  }
}
/* =========================================================
   BAUBLE HOMES – THANK YOU / ORDER RECEIVED PAGE
   Desktop + Laptop + Tablet + Android + iPhone
========================================================= */

body.woocommerce-order-received {
    background: #f8f5ee !important;
}

/* Actual thank-you page container */
body.woocommerce-order-received .woocommerce-order {
    width: calc(100% - 40px) !important;
    max-width: 1200px !important;
    margin: 45px auto 80px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    color: #2f2923;
}

/* Remove theme floats and excessive width */
body.woocommerce-order-received .woocommerce,
body.woocommerce-order-received .site-main,
body.woocommerce-order-received .page-content,
body.woocommerce-order-received .content-area {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

/* =========================================================
   SUCCESS MESSAGE
========================================================= */

body.woocommerce-order-received .woocommerce-notice--success {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 68px !important;
    margin: 0 0 28px !important;
    padding: 18px 24px 18px 58px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: #706735 !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

/* Fix success icon overlap */
body.woocommerce-order-received .woocommerce-notice--success::before {
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    color: #fff !important;
    font-size: 25px !important;
    line-height: 1 !important;
}

/* =========================================================
   ORDER OVERVIEW
========================================================= */

body.woocommerce-order-received
ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100% !important;
    margin: 0 0 38px !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #ddd6ca !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received
ul.woocommerce-order-overview li {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 18px 17px !important;
    border: 0 !important;
    border-right: 1px solid #ddd6ca !important;
    text-transform: none !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received
ul.woocommerce-order-overview li:last-child {
    border-right: 0 !important;
}

body.woocommerce-order-received
ul.woocommerce-order-overview li strong {
    display: block !important;
    margin-top: 6px !important;
    color: #211d19 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

/* COD text */
body.woocommerce-order-received
.woocommerce-order > p {
    margin: 0 0 38px !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* =========================================================
   ORDER DETAILS
========================================================= */

body.woocommerce-order-received .woocommerce-order-details {
    width: 100% !important;
    margin: 0 0 45px !important;
}

body.woocommerce-order-received
.woocommerce-order-details__title,
body.woocommerce-order-received
.woocommerce-column__title {
    margin: 0 0 20px !important;
    color: #211d19 !important;
    font-size: 34px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

/* Order table */
body.woocommerce-order-received
table.woocommerce-table--order-details {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 1px solid #ddd6ca !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    background: #fff !important;
}

body.woocommerce-order-received
table.woocommerce-table--order-details th,
body.woocommerce-order-received
table.woocommerce-table--order-details td {
    padding: 16px 18px !important;
    border: 1px solid #ddd6ca !important;
    text-align: left !important;
    vertical-align: middle !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received
table.woocommerce-table--order-details th {
    background: #faf8f3 !important;
    color: #211d19 !important;
    font-weight: 600 !important;
}

body.woocommerce-order-received
table.woocommerce-table--order-details th:first-child,
body.woocommerce-order-received
table.woocommerce-table--order-details td:first-child {
    width: 68% !important;
}

body.woocommerce-order-received
table.woocommerce-table--order-details th:last-child,
body.woocommerce-order-received
table.woocommerce-table--order-details td:last-child {
    width: 32% !important;
}

body.woocommerce-order-received
table.woocommerce-table--order-details a {
    color: #332d27 !important;
    text-decoration: none !important;
}

/* =========================================================
   BILLING AND SHIPPING ADDRESSES
========================================================= */

body.woocommerce-order-received
.woocommerce-customer-details {
    width: 100% !important;
    margin: 45px 0 0 !important;
}

body.woocommerce-order-received
.woocommerce-columns--addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-order-received
.woocommerce-column--billing-address,
body.woocommerce-order-received
.woocommerce-column--shipping-address {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 26px !important;
    border: 1px solid #ddd6ca !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received
.woocommerce-customer-details address {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #5f5851 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    font-style: normal !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received
.woocommerce-customer-details--phone,
body.woocommerce-order-received
.woocommerce-customer-details--email {
    margin: 10px 0 0 !important;
    padding: 0 !important;
}

/* Prevent horizontal overflow */
body.woocommerce-order-received,
body.woocommerce-order-received #page,
body.woocommerce-order-received .site {
    overflow-x: hidden !important;
}

/* =========================================================
   TABLET / IPAD
========================================================= */

@media (max-width: 1024px) {

    body.woocommerce-order-received .woocommerce-order {
        width: calc(100% - 32px) !important;
        margin-top: 32px !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li {
        border-right: 1px solid #ddd6ca !important;
        border-bottom: 1px solid #ddd6ca !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li:nth-child(2n) {
        border-right: 0 !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li:last-child {
        grid-column: 1 / -1 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
    }
}

/* =========================================================
   MOBILE / ANDROID / IPHONE
========================================================= */

@media (max-width: 767px) {

    body.woocommerce-order-received .woocommerce-order {
        width: calc(100% - 24px) !important;
        margin: 22px auto 50px !important;
    }

    body.woocommerce-order-received .woocommerce-notice--success {
        min-height: 60px !important;
        margin-bottom: 22px !important;
        padding: 15px 14px 15px 46px !important;
        font-size: 14px !important;
    }

    body.woocommerce-order-received
    .woocommerce-notice--success::before {
        left: 14px !important;
        font-size: 22px !important;
    }

    /* Overview: two-column cards */
    body.woocommerce-order-received
    ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        margin-bottom: 30px !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li {
        min-height: 92px !important;
        padding: 13px 12px !important;
        border-right: 1px solid #ddd6ca !important;
        border-bottom: 1px solid #ddd6ca !important;
        font-size: 12px !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li:nth-child(2n) {
        border-right: 0 !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li:last-child {
        grid-column: 1 / -1 !important;
        min-height: auto !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li strong {
        font-size: 13px !important;
    }

    body.woocommerce-order-received
    .woocommerce-order > p {
        margin-bottom: 32px !important;
        font-size: 15px !important;
    }

    body.woocommerce-order-received
    .woocommerce-order-details__title,
    body.woocommerce-order-received
    .woocommerce-column__title {
        margin-bottom: 16px !important;
        font-size: 27px !important;
    }

    body.woocommerce-order-received
    table.woocommerce-table--order-details {
        table-layout: fixed !important;
    }

    body.woocommerce-order-received
    table.woocommerce-table--order-details th,
    body.woocommerce-order-received
    table.woocommerce-table--order-details td {
        padding: 13px 11px !important;
        font-size: 13px !important;
    }

    body.woocommerce-order-received
    table.woocommerce-table--order-details th:first-child,
    body.woocommerce-order-received
    table.woocommerce-table--order-details td:first-child {
        width: 64% !important;
    }

    body.woocommerce-order-received
    table.woocommerce-table--order-details th:last-child,
    body.woocommerce-order-received
    table.woocommerce-table--order-details td:last-child {
        width: 36% !important;
        text-align: right !important;
    }

    body.woocommerce-order-received
    .woocommerce-columns--addresses {
        display: block !important;
    }

    body.woocommerce-order-received
    .woocommerce-column--billing-address,
    body.woocommerce-order-received
    .woocommerce-column--shipping-address {
        margin-bottom: 18px !important;
        padding: 20px 17px !important;
    }

    body.woocommerce-order-received
    .woocommerce-customer-details address {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
}

/* Small iPhones */
@media (max-width: 390px) {

    body.woocommerce-order-received .woocommerce-order {
        width: calc(100% - 18px) !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li {
        min-height: auto !important;
        border-right: 0 !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview li:last-child {
        grid-column: auto !important;
    }

    body.woocommerce-order-received
    table.woocommerce-table--order-details th,
    body.woocommerce-order-received
    table.woocommerce-table--order-details td {
        padding: 11px 8px !important;
        font-size: 12px !important;
    }
}
/* ==================================================
   BAUBLE HOMES WHATSAPP FLOATING CHAT
================================================== */

.bauble-whatsapp-chat {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;

    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 56px;
    padding: 0 18px;

    background: #25d366;
    color: #ffffff !important;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);

    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bauble-whatsapp-chat:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.bauble-whatsapp-chat svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    flex: 0 0 auto;
}

/* Mobile */
@media (max-width: 767px) {
    .bauble-whatsapp-chat {
        right: 16px;
        bottom: 18px;
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .bauble-whatsapp-chat svg {
        width: 30px;
        height: 30px;
    }

    .bauble-whatsapp-text {
        display: none;
    }
}

/* Prevent overlap with admin bar */
body.admin-bar .bauble-whatsapp-chat {
    bottom: 28px;
}