/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* body.home.init-animation .whb-overcontent .whb-main-header{
    top: 87svh;
} */

:root {
  --p-primary: #4f5743;
  --p-dark: #433d33;
}

.single-post .wd-content-area {
  max-width: 990px;
  margin: 0 auto;
}

.wd-page-title {
  position: relative;
}

.wd-page-title .container {
  position: relative;
  z-index: 1;
}

.wd-page-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.single-post .wd-post-meta,
.single-post .wd-post-cat.wd-style-with-bg {
  display: none;
}

.whb-header:not(.whb-sticked) .whb-general-header {
  background-color: transparent;
}

div.wd-prefooter {
  padding-bottom: 0;
}

body.home .home-cat-menu,
body.home .whb-header:not(.whb-sticked) .whb-main-header {
  visibility: hidden;
  transition: all 0.2s ease-out;
  transform: translateY(-100px);
}

body.home .home-cat-menu {
  opacity: 0;
  transition-delay: 0.5s;
  transform: translateY(100px);
}

body.home .whb-header:not(.whb-sticked) .whb-main-header .wd-nav[class*="wd-style-"]>li:hover>a,
body.home .whb-header:not(.whb-sticked) .whb-main-header .wd-nav[class*="wd-style-"]>li:is(.current-menu-item, .wd-active, .active)>a,
body.home .whb-header:not(.whb-sticked) .whb-main-header .wd-nav[class*="wd-style-"]>li>a {
  --nav-color: #fff;
  --nav-color-active: #fff;
  --nav-color-hover: #fff;
}

body.home .home-banner-cats .cat-design-side .wd-cat-header {
  justify-content: center;
  text-align: center;
}

body.home .home-banner-cats .cat-design-side .wd-cat-header h3 {
  color: #fff;
}

body.home .whb-header:not(.whb-sticked) .whb-main-header .wd-nav[class*="wd-style-underline"] .nav-link-text:after {
  background-color: #fff;
}

body.home .whb-header:not(.whb-sticked) .whb-main-header .wd-tools-element>a {
  color: #fff;
}

body.home .whb-header:not(.whb-sticked) .whb-main-header .btn-color-primary.btn-style-link {
  --btn-color: #fff;
  --btn-brd-color: #fff;
  --btn-color-hover: #fff;
}

body:not(.home) .whb-header:not(.whb-sticked) .wd-logo img {
  filter: invert(0.7);
}

/* body.home .whb-general-header-inner .whb-column.whb-mobile-center,
body.home .whb-general-header-inner .whb-column.whb-col-left{
    transition-duration: 1s;
} */

body.o-hidden {
  overflow: hidden;
  height: 100svh;
}

/* 
body.home:not(.after-animation) .whb-main-header,
body.home:not(.after-animation) .whb-general-header{
    background-color: transparent !important;
    box-shadow: none !important;
} */

body.home.after-animation .home-cat-menu,
body.home.after-animation .whb-header:not(.whb-sticked) .whb-main-header {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.home .whb-sticked .whb-column {
  opacity: 1;
  visibility: visible;
}

#mainSection .elementor-motion-effects-layer:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.6) 12%,
      rgba(255, 255, 255, 0) 96%);
  opacity: 0;
}

#mainSection.is-active .elementor-motion-effects-layer:before,
#mainSection.is-active:before {
  opacity: 0;
}

#mainSection.is-active .elementor-motion-effects-layer:after {
  opacity: 1;
}

#mainSection.is-active .elementor-motion-effects-layer:after,
#mainSection.is-active .elementor-motion-effects-layer:before,
#mainSection:before {
  transition: all 2s ease-out;
  /* The CSS transition */
}

#mainTitle .elementor-heading-title {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.phrase-text {
  display: inline-block;
  white-space: nowrap;
  /* Initially clip the text from the left so it's not visible */
  clip-path: inset(0 0 0 100%);
}

.product-label.condition-label {
  background-color: var(--color-gray-900);
}

.product-label.condition-vegan {
  background-color: var(--p-primary);
}

.product-label.condition-gluten_free {
  background-color: #F0F2F5;
  color: #000;

}

.product-label.condition-kid_friendly {
  background-color: #FFF0F2;
  color: #000;
}

.condition-no-milk {
  background-color: #f5f0e6;
  /* cream/off-white */
  color: #3e2f1c;
}

.balan {
  text-wrap: balance;
}

h4.bundled_product_title {
  font-size: 18px;
  margin-bottom: 10px;
}

.select2-container--default .select2-selection--single {
  text-align: start;
}

/* 
.select2-container--default .select2-selection--single,
.wds-reservation-table__select-date-date{
    border: 1px solid var(--brdcolor-gray-300) !important;
    border-radius: var(--wd-brd-radius) !important;
} */

.wd-progress-bar {
  text-align: right;
}

.select2-container--default .select2-selection--single {
  height: 40px;
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.select2-dropdown {
  border-color: var(--brdcolor-gray-300) !important;
}

#shipping_state-description {
  display: none !important;
}

.home-cat-menu .wd-nav[class*="wd-style-"] {
  --nav-color: #fff;
  --nav-color-hover: #fff;
  --nav-color-active: #fff;
  --nav-chevron-color: #fff;
}

.home-cat-menu .wd-nav:is(.wd-style-bordered, .wd-style-separated)>li:not(:last-child):after {
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 799px) {
  #mainTitle .elementor-heading-title {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hp-cat-box .banner-mask .wrapper-content-banner {
    background-color: rgba(0, 0, 0, 0.6) !important;
  }

  /* body.home.init-animation .whb-overcontent .whb-main-header{
    top: 85svh;
} */
}

.wd-product.wd-hover-standard .wd-add-btn>a {
  flex: 1;
}


wc-order-attribution-inputs,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* prevent line breaks */
  border: 0;
}

.summary-inner .bundle_data {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
  grid-column: 1 / -1;
}

.cat-design-side .wd-cat-thumb img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

div.products-bordered-grid .wd-carousel-inner {
  border-right: 0;
  border-left: 0;
}

.wd-prefooter .elementor-field-type-acceptance {
  position: absolute;
  bottom: -40px;
  font-size: 14px;
}

.star-rating {
  color: #6b7460;
}

.framebox {
  position: relative;
}

.elementor-widget-wd_instagram:before,
.framebox:after {
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #4f5743;
  z-index: 1;
  pointer-events: none;
}

.framebox.f1:after {
  left: auto;
  right: 0;
  width: 47vw;
}

.framebox.f2:after {
  width: 58vw;
}

.framebox.f3:after {
  width: 53vw;
}

.elementor-widget-wd_instagram {
  position: relative;
}

.elementor-widget-wd_instagram:before {
  left: auto;
  right: -3%;
  top: -15%;
  width: 35vw;
  height: 400px;
  z-index: 0;
}

.hp-cat-box .banner-title,
.hp-cat-box .banner-inner {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .dropdown-header {
    padding-inline: 0;
  }

  .dropdown-header::after {
    font-size: 16px;
  }

  form.woocommerce-checkout #customer_details {
    max-width: 100%;
  }

  .hp-cat-box .banner-title,
  .hp-cat-box .banner-inner {
    display: block !important;
  }

  .framebox:after {
    display: none;
  }

  .framebox.f1:after {
    left: auto;
    right: -10px;
    width: 86vw;
    top: 130px;
  }

  .framebox.f2:after {
    width: 70vw;
    top: 180px;
    left: -10px;
  }

  .framebox.f3:after {
    width: 70vw;
    top: 270px;
    left: -10px;
  }

  .elementor-widget-wd_instagram:before {
    display: none;
  }
}

span.product-label {
  padding-inline: 5px;
}

.wd-product.wd-hover-info div.top-information {
  inset-inline: 15px;
  top: 20px;
  text-wrap: balance;
  max-width: 60%;
}

.wd-page-title:before {
  display: none;
}

.ti-widget.ti-goog .ti-widget-container {
  flex-direction: row-reverse;
}

.ti-widget.ti-goog .ti-widget-container,
.ti-widget.ti-goog .ti-widget-container * {
  font-family: var(--wd-text-font) !important;
}

@media screen and (max-width: 1350px) {
  .whb-visible-lg .wd-header-nav #menu-main-navigation {
    gap: 15px;
  }

  .whb-visible-lg .wd-logo img {
    max-width: 160px !important;
  }
}

.product-type-bundle .product-image-summary .product-images {
  display: none;
}

.woocommerce-product-details__short-description {
  text-wrap: balance;
}

.product-type-bundle .woocommerce-product-details__short-description,
.product-type-bundle .summary-inner>.price,
.product-type-bundle h1.entry-title {
  text-align: center;
}

.product-type-bundle .product-image-summary .entry-summary {
  grid-column: 1 / -1 !important;
}

.product-type-bundle>.container:not(.related-and-upsells) {
  max-width: 1110px;
  margin: 0 auto;
}

div.bundled_product_summary,
.woocommerce div.product.bundled_product_summary {
  margin-bottom: 0 !important;
  display: flex;
}

.small_width.bundle_form div.bundled_product_summary:not(.thumbnail_hidden) .details,
.small_width.composite_form .bundle_form div.bundled_product_summary:not(.thumbnail_hidden) .details {
  padding-inline-start: 10px !important;
}

.bundled_product_summary .bundled_product_title .item_suffix {
  display: none;
}

.bundled_product_summary .bundled_product_images img {
  border-radius: 5px;
}

form.cart.bundle_form {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.618rem;
  display: grid;
}

@media (max-width: 768px) {

  .wd-product.wd-hover-info div.top-information {
    inset-inline: 12px;
    top: 12px;
  }

  form.cart.bundle_form {
    grid-template-columns: 1fr;
  }
}

.bundled_product_title_link {
  display: none;
}

.bundled_product_title_inner {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}


.bundled_product_title_inner .item_qty {
  font-size: 16px;
  font-weight: 500;
}

.summary-inner>.price {
  font-size: 120% !important;
}

#shipping_country_field,
#billing_country_field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-row.place-order {
  text-align: start;
}

.form-row.place-order a {
  font-weight: 500;
  text-decoration: underline;
}

.payment_methods {
  text-align: start;
}

label .optional {
  display: none;
}

.wd-entities-title {
  text-wrap: balance;
}

body .wd-product.wd-hover-info .bottom-information .price :is(del) {
  display: inline;
}

.product-image-link:after,
.product-image-link:before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(14deg,
      rgba(0, 0, 0, 0) 71%,
      rgba(0, 0, 0, 0.75) 100%);
}

.product-image-link:after {
  background: linear-gradient(165deg,
      rgba(0, 0, 0, 0) 77%,
      rgba(0, 0, 0, 0.75) 100%);
}

/* Max width 1300px: hide 7th child */
@media (max-width: 1300px) {
  .whb-column #menu-main-navigation> :nth-child(7) {
    display: none;
  }
}

/* Max width 1180px: hide 6th child */
@media (max-width: 1180px) {
  .whb-column #menu-main-navigation> :nth-child(6) {
    display: none;
  }
}

/* Max width 1100px: hide 5th child */
@media (max-width: 1100px) {
  .whb-column #menu-main-navigation> :nth-child(5) {
    display: none;
  }
}


.cart-content-wrapper>.cart_totals .cart-totals-inner {
  background-color: #fff;
}



div.bundled_product_summary:not(.thumbnail_hidden) .details {
  display: flex;
  flex-direction: column;
}


div.bundled_product_summary .details .cart {
  margin-top: auto;
}

.bundle_wrap {
  width: 100%;
  background: #fff;
  padding: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bundle_form div.bundle_price {
  order: 2;
  margin-bottom: 0 !important;
  margin-left: auto;
}

.bundle_form div.bundle_price:before {
  display: none;
}

.bundle_button {
  order: 3;
  display: flex;
  align-items: center;
  width: auto;
  gap: 10px;
}

.bundle_button button {
  min-width: 250px
}

.bundle_form .bundle_error {
  width: 100%;
  order: 1;
}

@media (max-width: 768px) {
  .summary-inner .bundle_data {
    flex-direction: column;
  }

  .bundle_wrap {
    padding: 20px;
  }

  .bundle_button {
    flex-direction: column;
    width: 100%;
  }



  .summary-inner div.quantity {
    width: 100%;
  }

  .summary-inner .wd-buy-now-btn,
  .summary-inner .single_add_to_cart_button {
    width: 100%;

  }

  html .product-image-summary-wrap .product_title,
  html .wd-single-title .product_title {
    font-size: 28px;
  }

  html .wd-single-title .bundled_product_title {
    font-size: 20px !important;
  }

  .wd-product.wd-hover-info div.bottom-information {
    inset-inline-start: 15px;
  }
}

/* Custom Product Metadata Styling */
.custom-product-meta svg {
  stroke: var(--wd-form-brd-color);
}

.custom-product-meta .meta-item {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.custom-product-meta .meta-item:last-child {
  margin-bottom: 0;
}

.custom-product-meta .meta-item strong {
  color: #000;
  min-width: 120px;
}

.woocommerce-product-gallery img {
  aspect-ratio: 9/12;
  object-fit: cover;
}


.wd-nav-pagin-wrap[class*="wd-style-shape"] li.wd-active span {
  width: 18px;
}

#print-quote {
  width: 100%;
  border: 1px solid;
  background-color: #fff;
  border-radius: 30px;
}

#print-quote:hover {
  background-color: var(--wd-primary-color);
  color: #fff;
}

div.bundled_product.bundled_product_summary:not(.thumbnail_hidden) .details {
  width: 100%;
  padding: 0 15px 0 0;
}

div.bundled_product span.bundled_item_price_quantity {
  display: none;
}

.bundled_item_cart_content:not(.variations_form) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bundled_item_cart_content select {
  max-width: 70%;
  margin-bottom: 10px !important;
}

.reset_bundled_variations_fixed {
  display: inline-block;
  padding: 0 10px;
}

[class*="wd-swatches"].wd-text-style-4 .wd-swatch.wd-text {
  padding: 5px;
  background-color: #fff;
}

/* Product Attributes Grid Layout */

.shop_attributes.wd-attributes-grid {
  display: flex;
  justify-items: center;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.wd-attribute-item {
  display: flex;
  flex-direction: column;
  padding: 15px;
  flex: 0 0 32%;
}

/* Remove default table borders if they leak in */
.wd-attributes-grid .woocommerce-product-attributes-item {
  background-color: transparent;
  /* Reset if table styles persist */
}

/* Label styling */
h3.wd-attribute-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Icon styling */
.wd-attribute-label .wd-attr-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wd-attribute-label .wd-attr-name-img {
  max-width: 16px;
  height: auto;
}

/* Value styling */
.wd-attribute-value {
  font-size: 14px;
  color: var(--wd-text-color);
}

.wd-attribute-value p {
  margin-bottom: 0;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .wd-attributes-grid {
    flex-direction: column;
  }
}

.tabs-layout-tabs .shop_attributes {
  max-width: 100% !important;
}

div.product-tabs-wrapper {
  border-top: 0;
}

div.product-tabs-wrapper .wd-nav[class*="wd-style-underline"] .nav-link-text:after {
  display: none;
}

/* .woocommerce form.cart .bundled_product .cart .variations{
  display: none;
} */

.single_variation_wrap.bundled_item_wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;

}

.single_variation_wrap.bundled_item_wrap .bundled_item_cart_details {
  margin-left: auto;
}

ul.wd-filter-list .count {
  border: 0;
  padding-inline: 0;
  height: auto;
  min-width: 20px;
  margin-bottom: -3px;

}

ul.wd-filter-list li.wc-layered-nav-term {
  min-width: 30px;
  height: 25px;
  background-color: #fff;
  border: 1px solid var(--brdcolor-gray-300);
  border-radius: 35px;
  padding-inline: 5px;
  padding-inline-start: 10px;
  font-size: 14px;
  font-weight: 500;
}

.widget_product_categories .product-categories li a {
  font-weight: 500;
}

.wd-product.wd-hover-info div.product-labels {
  max-width: 100px;
}

.wc-proceed-to-checkout {
  text-align: center;
}

.wd-accordion.wd-style-shadow>.wd-accordion-item {
  background-color: #fff;
}

/* Categorized FAQ Grid */
.custom-faq-all-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.custom-faq-category-title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

@media screen and (min-width: 1024px) {
  .custom-faq-all-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Segmented 2-Column FAQ Layout */
.wd-faq-bundles-after-tabs {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}

.custom-faq-container.columns-2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundled_product_excerpt {
  max-width: 100%;
  font-size: 14px;
}

.bundled_product_excerpt p {
  margin-bottom: 10px;
  text-wrap: balance;
}

.woocommerce-page div.product div.bundled_product_images,
.woocommerce-page #content div.product div.bundled_product_images,
.woocommerce div.product div.bundled_product_images,
.woocommerce #content div.product div.bundled_product_images {
  width: 45% !important;
}

html div.product-image-summary-wrap .bundled_product_title {
  font-size: 16px;
}

.small_width.bundle_form div.bundled_product_summary .bundled_product_images img {

  margin-bottom: 0 !important;
}

@media screen and (min-width: 1024px) {
  .bundled_product_excerpt {
    max-width: 80%;
    font-size: 16px;
  }

  html div.product-image-summary-wrap .bundled_product_title {
    font-size: 20px;
  }

  .woocommerce-page div.product div.bundled_product_images,
  .woocommerce-page #content div.product div.bundled_product_images,
  .woocommerce div.product div.bundled_product_images,
  .woocommerce #content div.product div.bundled_product_images {
    width: 25% !important;
  }

  .custom-faq-container.columns-2 {
    flex-direction: row;
    gap: 30px;
    align-items: start;
  }

  .custom-faq-container.columns-2 .custom-faq-column {
    flex: 1;
    min-width: 0;
  }
}


.radio-button-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radio-button-container .radiobutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radio-button-container .yith-wapo-option-value {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  outline: none;
  background-color: transparent;
  transition: all 0.2s ease;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.radio-button-container .yith-wapo-option-value:checked {
  border-color: var(--wd-primary-color);
}

.radio-button-container .yith-wapo-option-value:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--wd-primary-color);
}

.yith-wapo-label {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.option-price {
  display: none;
}

.wapo-addon-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.wd-products .wd-product:not(.wd-hover-small) :is(.product-image-link, .hover-img) img {
  width: 100%;
  aspect-ratio: 6 / 8.01;
  object-fit: cover;
}

/* Custom Payment Radio Buttons Checkout */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-right: 35px;
  /* RTL spacing for the custom radio button */
  font-weight: 600;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label::after {
  content: "";
  position: absolute;
  right: 5px;
  /* (22px outer - 12px inner) / 2 */
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--wd-primary-color);
  transition: transform 0.3s ease;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input[type="radio"]:checked+label::before {
  border-color: var(--wd-primary-color);
  border-width: 1px;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input[type="radio"]:checked+label::after {
  transform: translateY(-50%) scale(1);
}

/* Adjust the logo image spacing */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label img {
  margin-right: 15px;
  margin-left: 0;
  max-height: 24px;
}

@keyframes shakeCart {
  25% {
    transform: translateX(6px);
  }

  50% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(2px);
  }

  100% {
    transform: translateX(0);
  }
}

.cart-shake-anim {
  animation: shakeCart 0.4s ease-in-out forwards;
}

@media (min-width: 1025px) {
  p#billing_phone_field {
    overflow: visible;
    float: right;
    width: 48%;
  }
}

/* Petit Cashback Box on Checkout */
.petit-cashback-wrapper {
  margin-bottom: 20px;
}

.petit-cashback-balance-text {
  margin-bottom: 0;
}

.cashback-state-applied,
.cashback-form-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.petit-cashback-btn {
  padding: 5px 15px !important;
  margin-inline-start: auto;
}

.cashback-state-input {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;

}

.petit-cashback-text-wrap {
  display: flex;
  flex-direction: column;
}

#cashback-message {
  margin-top: 4px;
  font-size: 14px;
  display: none;
}

/* Home Welcome Dialog Popup */
.home-welcome-dialog {
  padding: 0;
  max-width: 880px;
  width: 90%;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  margin: auto;
  /* Modern dialog animations */
  transition: opacity 0.3s ease, transform 0.3s ease, display 0.3s ease allow-discrete, overlay 0.3s ease allow-discrete;
  opacity: 0;
  transform: translateX(20px);
}

.home-welcome-dialog[open] {
  opacity: 1;
  transform: translateX(0);
}

@starting-style {
  .home-welcome-dialog[open] {
    opacity: 0;
    transform: translateX(20px);
  }
}

.home-welcome-dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease, display 0.3s ease allow-discrete, overlay 0.3s ease allow-discrete;
}

.home-welcome-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .home-welcome-dialog[open]::backdrop {
    opacity: 0;
  }
}

.home-welcome-dialog-close {
  position: absolute;
  top: 0;
  left: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-welcome-dialog-close:hover {
  /* color: #000; */
  background-color: transparent;
}

.home-welcome-dialog-close::before {
  content: "\f112";
  font-size: var(--wd-action-icon-size, 18px);
  transition: opacity .15s ease;
  font-family: "woodmart-font";
}

.woocommerce-shipping-destination {
  display: none !important;
}

/* Delivery Unavailability Checkout Field Styling */
.unavailability-field-wrapper>label {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  display: block;
}

.unavailability-field-wrapper .woocommerce-input-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 8px 10px;
  align-items: start;
}

.unavailability-field-wrapper .woocommerce-input-wrapper input[type="radio"] {
  margin-top: 5px;
}

.form-subsection {
  clear: both;
}

/* Hide divs with inline background #d23d3d */
div[style*="background: #d23d3d"],
div[style*="background:#d23d3d"],
div[style*="background: #D23D3D"],
div[style*="background:#D23D3D"],
div[style*="background-color: #d23d3d"],
div[style*="background-color:#d23d3d"],
div[style*="background-color: #D23D3D"],
div[style*="background-color:#D23D3D"] {
  display: none !important;
}