/*
 Theme Name:   Lilac Child
 Theme URI:    https://lilac.wpengine.com/
 Description:  Lilac Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     lilac
 Version:      1.0.0
 Text Domain:  lilac-child
*/

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button[type="button"]:hover,
*[role="button"]:hover,
button:hover,
.button:hover,
a.button:hover,
.wp-block-search .wp-block-search__button:hover,
.wdt-infinite-portfolio-load-more:hover,
#wpsl-stores li > p ~ .wpsl-directions:hover {
  background-color: #000000 !important;
}

.woocommerce .wishlist_table td.product-add-to-cart a :hover {
  color: #ffffff !important;
}

.woocommerce .wdt-shop-menu-cart-content .buttons {
  gap: 5px;
}

.woocommerce button.button:before {
  background-color: var(--wdtHeadAltColorRgb);
}

.show-password-input:hover {
  background-color: transparent !important;
}

.show-password-input {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.woocommerce
  ul.products[class*="product-thumb-iconsgroup-style-skinbgfill"]
  li.product
  .product-thumb
  .product-buttons-wrapper.product-icons
  .wc_inline_buttons
  .wc_btn_inline
  a {
  background-image: linear-gradient(45deg, #ffffff 50%, #000000 50%) !important;
}

.woocommerce
  ul.products[class*="product-thumb-iconsgroup-style-skinbgfill"]
  li.product
  .product-thumb
  .product-buttons-wrapper.product-icons
  .wc_inline_buttons
  .wc_btn_inline
  a:hover {
  color: #000000 !important;
}

.woocommerce
  ul.products.ca-product-temp-default
  li.product
  .product-thumb
  .product-buttons-wrapper.product-button
  a:hover,
.woocommerce
  ul.products.ca-product-temp-default
  li.product
  .product-thumb
  .product-buttons-wrapper.product-button
  a.button:hover,
.woocommerce
  ul.products.ca-product-temp-default
  li.product
  .product-thumb
  .product-buttons-wrapper.product-button
  .button:hover,
.wdt-shop-menu-cart-content-wrapper .buttons a:hover {
  color: #fff !important;
}

.woocommerce div.product form.cart div.quantity ~ button:before,
.woocommerce div.product form.cart div.quantity ~ button.button:before,
.woocommerce div.product form.cart div.quantity ~ .button:before {
  color: #fff !important;
}

.woocommerce div.product .summary .variations_button .single_add_to_cart_button,
.wdt-shop-menu-cart-content-wrapper .buttons a,
.woocommerce
  div.product
  .wdt-product-summary.summary.wdt-custom-product-summary-style
  .wdt-single-product-clear
  ~ .product-buttons-wrapper
  div.product-buy-now
  a.quick_buy_now_button {
  border: 1px solid #000;
}

.woocommerce
  div.product
  .summary
  .variations_button
  .single_add_to_cart_button:focus,
.woocommerce
  div.product
  .summary
  .variations_button
  .single_add_to_cart_button:hover,
.woocommerce
  div.product
  .wdt-product-summary.summary.wdt-custom-product-summary-style
  .wdt-single-product-clear
  ~ .product-buttons-wrapper
  div.product-buy-now
  a.quick_buy_now_button:hover,
.yith-wcwl-add-to-wishlist-button:hover {
  color: #fff !important;
}

/* Wishlist button: match Add to Cart style (dark bg, white icon) – overridden below for single product row */
.single-product .yith-wcwl-add-to-wishlist-button {
  padding: 8px 10px;
  margin: 0 !important;
  border: 1px solid #000;
  background-color: #000;
}

.single-product .yith-add-to-wishlist-button-block:hover a {
  background-color: #202020 !important;
}

.single-product
  .yith-wcwl-add-to-wishlist-button--added
  svg.yith-wcwl-add-to-wishlist-button-icon {
  color: #ffffff !important;
  width: 26px;
  height: 27px;
}

.single-product
  .yith-wcwl-add-to-wishlist-button
  .yith-wcwl-add-to-wishlist-button__label {
  display: none !important;
}

/* Single product: compact Clear link – same row as variations, less space */
.woocommerce
  div.product
  .summary
  form.cart
  .variations
  .woo-variation-items-wrapper {
  align-items: center;
}

.woocommerce
  div.product
  .summary
  form.cart
  .variations
  .woo-variation-items-wrapper
  .reset_variations,
.woocommerce div.product form.cart .variations .reset_variations {
  margin-top: 0 !important;
  margin-left: 8px !important;
  margin-bottom: 0 !important;
  display: inline-block;
  font-size: 0.9em;
}

.woocommerce div.product form.cart .variations .reset_variations {
  margin-left: 8px !important;
}

/* Single product: summary flex so form and product-buttons-wrapper can sit on same row */
.single-product .woocommerce div.product .summary,
.single-product .woocommerce div.product .summary-content,
.single-product .woocommerce div.product .wdt-product-summary.summary {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.single-product .woocommerce div.product .summary > *,
.single-product .woocommerce div.product .summary-content > *,
.single-product .woocommerce div.product .wdt-product-summary.summary > * {
  flex: 1 1 100% !important;
}

.single-product .woocommerce div.product .summary > form.cart,
.single-product .woocommerce div.product .summary > .product-buttons-wrapper,
.single-product .woocommerce div.product .summary-content > form.cart,
.single-product
  .woocommerce
  div.product
  .summary-content
  > .product-buttons-wrapper,
.single-product
  .woocommerce
  div.product
  .wdt-product-summary.summary
  > form.cart,
.single-product
  .woocommerce
  div.product
  .wdt-product-summary.summary
  > .product-buttons-wrapper {
  flex: 0 1 auto !important;
  max-width: 100% !important;
}

/* Prevent clear div between form and buttons from forcing a new row */
.single-product .woocommerce div.product .summary > .wdt-single-product-clear,
.single-product
  .woocommerce
  div.product
  .wdt-product-summary.summary
  > .wdt-single-product-clear {
  flex: 0 0 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Single product: variation and quantity on same row */
.single-product .woocommerce div.product .summary form.cart,
.single-product .woocommerce div.product .summary-content form.cart,
.single-product .woocommerce div.product .wdt-product-summary form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  width: auto !important;
  vertical-align: middle;
}

.single-product .woocommerce div.product .summary form.cart table.variations,
.single-product .woocommerce div.product form.cart table.variations {
  margin-bottom: 0 !important;
}

.single-product
  .woocommerce
  div.product
  .summary
  form.cart
  .single_variation_wrap,
.single-product .woocommerce div.product form.cart .single_variation_wrap {
  margin-top: 0 !important;
}

/* Variable: single_variation_wrap (button + wishlist) on next row after table */
.single-product
  .woocommerce
  div.product
  form.cart.variations_form
  .single_variation_wrap {
  flex: 1 1 100%;
  min-width: 100%;
}

/* Single product: quantity row inside variations table – same row style as variation dropdowns */
.single-product
  .woocommerce
  div.product
  form.cart
  table.variations
  tr.variation-quantity-row
  th.label,
.single-product
  .woocommerce
  div.product
  form.cart
  table.variations
  tr.variation-quantity-row
  td.value {
  vertical-align: middle;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.single-product
  .woocommerce
  div.product
  form.cart
  table.variations
  tr.variation-quantity-row
  td.value {
  overflow: visible;
  position: relative;
}

/* Isolate quantity inside table so parent-theme rules don’t fragment the dropdown */
.single-product
  .woocommerce
  div.product
  form.cart
  table.variations
  tr.variation-quantity-row
  .quantity {
  margin-bottom: 0;
  margin-top: 0;
  display: inline-block;
  position: static;
  float: none;
  width: auto;
  min-width: 80px;
  isolation: isolate;
}

.single-product
  .woocommerce
  div.product
  form.cart
  table.variations
  tr.variation-quantity-row
  .quantity.quantity-select
  .qty {
  display: block;
  width: 100%;
  min-width: 80px;
  box-sizing: border-box;
}

/* Wrapper for Add to Cart + Wishlist (variable and simple) */
.woocommerce div.product form.cart .add-to-cart-wishlist-row {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 3px;
  width: 100%;
  margin-top: 10px;
}

.woocommerce
  div.product
  form.cart
  .add-to-cart-wishlist-row
  .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
  margin: 0 !important;
}

.woocommerce
  div.product
  form.cart
  .add-to-cart-wishlist-row
  .single_add_to_cart_button {
  flex: 1 1 92%;
  min-width: 0;
  max-width: 92%;
  justify-content: center;
  border: 1px solid #000;
}

.woocommerce
  div.product
  form.cart
  .add-to-cart-wishlist-row
  .single_add_to_cart_button:hover {
  color: #000;
}

.woocommerce
  div.product
  form.cart
  .add-to-cart-wishlist-row
  .yith-wcwl-add-to-wishlist {
  flex: 0 0 10%;
  min-width: 44px;
  max-width: 10%;
  display: flex !important;
  align-items: stretch;
  margin: 0 !important;
}

/* Variable: variations_button contains only add-to-cart-wishlist-row + hidden inputs */
.woocommerce div.product form.cart .variations_button .quantity {
  margin-bottom: 0;
}

/* Simple product: quantity full width, then add-to-cart-wishlist-row (button + wishlist) */
.woocommerce div.product form.cart:not(.variations_form) .quantity {
  flex: 1 1 100%;
  width: 100%;
}

.single-product
  .woocommerce
  div.product
  .summary
  form.cart:not(.variations_form) {
  gap: 0 !important;
}

.woocommerce
  div.product
  form.cart:not(.variations_form)
  .add-to-cart-wishlist-row {
  flex: 1 1 100%;
  width: 100%;
}

.single-product .single_variation_wrap .yith-add-to-wishlist-button-block {
  margin: 0 !important;
}

.single-product
  .single_variation_wrap
  .yith-add-to-wishlist-button-block
  svg.yith-wcwl-add-to-wishlist-button-icon,
.woocommerce
  div.product
  form.cart
  .add-to-cart-wishlist-row
  .yith-add-to-wishlist-button-block
  svg.yith-wcwl-add-to-wishlist-button-icon {
  width: 26px;
  height: 27px;
}

.single-product
  .single_variation_wrap
  .yith-add-to-wishlist-button-block:hover
  svg.yith-wcwl-add-to-wishlist-button-icon,
.single-product
  .add-to-cart-wishlist-row
  .yith-add-to-wishlist-button-block
  .yith-wcwl-add-to-wishlist-button--single:hover
  svg.yith-wcwl-add-to-wishlist-button-icon {
  color: #ffffff !important;
}

.yith-add-to-wishlist-button-block:hover
  .yith-wcwl-add-to-wishlist-button:not(
    .yith-wcwl-add-to-wishlist-button--themed-button
  )
  svg.yith-wcwl-add-to-wishlist-button-icon {
  color: #000000 !important;
}

/* Single product: quantity as dropdown (Qty) to match design */
.woocommerce-cart td.product-quantity .quantity.quantity-select .qty,
.woocommerce-cart td.product-quantity .quantity.quantity-select {
  width: 80px !important;
  min-width: 80px !important;
  margin: 0 auto;
}

.woocommerce .quantity.quantity-select .qty {
  min-height: 40px;
  padding: 8px 12px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

/* Single product: wishlist beside add-to-cart (inside form) or legacy sibling/product-buttons-wrapper */
.single-product
  .woocommerce
  div.product
  .summary
  form.cart
  .variations_button
  .yith-wcwl-add-to-wishlist,
.single-product
  .woocommerce
  div.product
  .summary
  form.cart
  .yith-wcwl-add-to-wishlist,
.single-product
  .woocommerce
  div.product
  .summary
  form.cart
  + .yith-wcwl-add-to-wishlist,
.single-product .woocommerce div.product .summary .product-buttons-wrapper {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 0 !important;
  margin-left: 0;
  vertical-align: middle;
}

.single-product
  .woocommerce
  div.product
  .summary
  form.cart
  + .yith-wcwl-add-to-wishlist {
  margin-left: 12px;
}

/* Single product: wishlist icon only – hide button label, show only icon */
.single-product
  .woocommerce
  div.product
  .summary
  form.cart
  .yith-wcwl-add-to-wishlist
  a
  .yith-wcwl-icon,
.single-product
  .woocommerce
  div.product
  .summary
  .yith-wcwl-add-to-wishlist
  a
  .yith-wcwl-icon,
.single-product
  .woocommerce
  div.product
  .summary
  .product-buttons-wrapper
  .yith-wcwl-add-to-wishlist
  a
  .yith-wcwl-icon {
  display: inline-block !important;
}

.single-product
  .woocommerce
  div.product
  .summary
  form.cart
  .yith-wcwl-add-to-wishlist
  a
  span,
.single-product
  .woocommerce
  div.product
  .summary
  .yith-wcwl-add-to-wishlist
  a
  span,
.single-product
  .woocommerce
  div.product
  .summary
  .product-buttons-wrapper
  .yith-wcwl-add-to-wishlist
  a
  span {
  display: none !important;
}

.single-product
  .woocommerce
  div.product
  .summary
  form.cart
  .yith-wcwl-add-to-wishlist
  a
  .yith-wcwl-add-to-wishlist-button__text,
.single-product
  .woocommerce
  div.product
  .summary
  .yith-wcwl-add-to-wishlist
  a
  .yith-wcwl-add-to-wishlist-button__text,
.single-product
  .woocommerce
  div.product
  .summary
  .product-buttons-wrapper
  .yith-wcwl-add-to-wishlist
  a
  .yith-wcwl-add-to-wishlist-button__text {
  display: none !important;
}

/* Hide all text/label in wishlist button – icon only */
.single-product
  .woocommerce
  div.product
  form.cart
  .yith-wcwl-add-to-wishlist
  .yith-wcwl-add-to-wishlist-button__text,
.single-product
  .woocommerce
  div.product
  form.cart
  .yith-wcwl-add-to-wishlist
  a
  span:not(.yith-wcwl-icon),
.single-product
  .woocommerce
  div.product
  form.cart
  .yith-wcwl-add-to-wishlist
  .feedback {
  display: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-product
  .woocommerce
  div.product
  form.cart
  .yith-wcwl-add-to-wishlist
  a {
  font-size: 0;
}

.single-product
  .woocommerce
  div.product
  form.cart
  .yith-wcwl-add-to-wishlist
  a
  .yith-wcwl-icon,
.single-product
  .woocommerce
  div.product
  form.cart
  .yith-wcwl-add-to-wishlist
  .yith-wcwl-icon,
.single-product
  .woocommerce
  div.product
  form.cart
  .yith-wcwl-add-to-wishlist
  svg {
  font-size: 18px;
  width: 1em;
  height: 1em;
}

/* variable quantity row */
.single-product form.cart .variation-quantity-wrapper {
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.single-product form.cart .variation-quantity-wrapper .variations {
  width: 80%;
}

.single-product form.cart .variation-quantity-wrapper .variation-quantity-row {
  /* width: 20%; */
  width: 100%;
}

.single-product
  form.cart
  .variation-quantity-wrapper
  .variation-quantity-row
  .quantity {
  margin: 0;
  display: block;
}

.single-product form.cart .variation-quantity-wrapper .select2-container {
  width: 100% !important;
}

.single-product form.cart .variation-quantity-wrapper .variations tr,
.single-product form.cart .variation-quantity-wrapper .variations td {
  padding: 0 !important;
}

.single-product form.cart .variation-quantity-wrapper .variations tr {
  margin-inline: 0px !important;
}

/* Tablet: slightly more space for quantity */
@media screen and (max-width: 992px) {
  .single-product form.cart .variation-quantity-wrapper .variations {
    width: 75%;
  }

  .single-product
    form.cart
    .variation-quantity-wrapper
    .variation-quantity-row {
    width: 25%;
  }
}

/* Small tablet / large phone: stack variations and quantity */
@media screen and (max-width: 768px) {
  .single-product form.cart .variation-quantity-wrapper .variations,
  .single-product
    form.cart
    .variation-quantity-wrapper
    .variation-quantity-row {
    width: 100%;
  }

  .single-product
    form.cart
    .variation-quantity-wrapper
    .variation-quantity-row {
    order: 1;
  }

  .single-product form.cart .variation-quantity-wrapper .variations {
    order: 0;
  }
}

/* Phone: full width, tighter gap */
@media screen and (max-width: 480px) {
  .single-product form.cart .variation-quantity-wrapper {
    gap: 8px;
  }
}

/* Single product: brand above title */
.single-product .woocommerce div.product .summary .lilac-single-brand {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 6px;
}

.single-product .woocommerce div.product .summary .lilac-single-brand a {
  color: inherit;
  text-decoration: none;
}

/* Product card (new) */
.woocommerce ul.products li.product .product-thumb {
  position: relative;
}

.woocommerce ul.products li.product .lilac-card-badges {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
}

.woocommerce ul.products li.product .lilac-card-badge {
  display: inline-block;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #111;
  color: #fff;
}

.woocommerce ul.products li.product .lilac-card-icons {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.woocommerce ul.products li.product .lilac-card-icons .wc_btn_inline {
  margin: 0;
}

.woocommerce ul.products li.product .lilac-card-icons a,
.woocommerce ul.products li.product .lilac-card-icons button {
  border: 0;
  background: transparent;
}

.woocommerce ul.products li.product .lilac-card-icons .wcwl_btn_wrapper,
.woocommerce ul.products li.product .lilac-card-icons .wcqv_btn_wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 32px;
}

.woocommerce ul.products li.product .lilac-card-icons [data-tooltip]:after,
.woocommerce ul.products li.product .lilac-card-icons [data-tooltip]:before {
  display: none !important;
}

.woocommerce ul.products li.product .lilac-card-icons .wcwl_btn_wrapper a {
  font-size: 0;
  line-height: 0;
}

.woocommerce
  ul.products
  li.product
  .lilac-card-icons
  .wcwl_btn_wrapper
  a
  .yith-wcwl-add-to-wishlist-button__label,
.woocommerce
  ul.products
  li.product
  .lilac-card-icons
  .wcwl_btn_wrapper
  a
  span:not(.yith-wcwl-icon),
.woocommerce
  ul.products
  li.product
  .lilac-card-icons
  .wcwl_btn_wrapper
  .feedback {
  display: none !important;
}

/* Quick view: icon-only, same as parent thumb (quickview.css) */
.woocommerce ul.products li.product .lilac-card-icons .wcqv_btn_wrapper a {
  font-size: 0;
  line-height: 0;
  padding: 0;
  color: #000;
}

.woocommerce
  ul.products
  li.product
  .lilac-card-icons
  .wcqv_btn_wrapper
  a:hover {
  background-color: transparent !important;
}

.woocommerce
  ul.products
  li.product
  .lilac-card-icons
  .wcqv_btn_wrapper
  a.yith-wcqv-button:before {
  content: "\e800";
  font-family: "quick-icon";
  font-size: 22px !important;
  display: block;
  line-height: 1;
  margin-left: 5px;
}

/* Disable all image hover effects and secondary image */
.woocommerce ul.products li.product .product-thumb .image .secondary-image {
  display: none !important;
}

.woocommerce ul.products li.product .product-thumb .image .primary-image,
.woocommerce ul.products li.product .product-thumb .image .primary-image img {
  -webkit-transition: none !important;
  transition: none !important;
  -webkit-transform: none !important;
  transform: none !important;
  -webkit-filter: none !important;
  filter: none !important;
}

.woocommerce
  ul[class*="product-hover-secimage-hinge"].product-thumb-bg-image
  li.product.product-with-secondary-image:hover
  .product-thumb
  .image
  .primary-image,
.woocommerce
  ul[class*="product-hover-secimage-hinge"]:not(.product-thumb-bg-image)
  li.product.product-with-secondary-image:hover
  .product-thumb
  .image
  .primary-image
  img {
  opacity: 1 !important;
}

.woocommerce ul.products li.product .lilac-quick-add {
  align-items: center;
  background: #fff;
  border: none;
  bottom: 0px;
  box-shadow: none;
  display: flex;
  height: 2.4rem;
  justify-content: center;
  padding: 0px;
  position: absolute;
  right: 0px;
  width: 2.4rem;
  z-index: 11;
  color: #000;
  font-size: 30px;
}

.woocommerce ul.products li.product .lilac-quick-add :hover {
  background: #fff !important;
  color: #000 !important;
}

.woocommerce ul.products li.product .lilac-quick-add.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Summary area */
.woocommerce ul.products li.product .product-details.lilac-card-summary {
  padding-top: 12px;
  text-align: left;
}

.woocommerce
  ul.products
  li.product
  .product-details.lilac-card-summary
  .product-brand {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0;
}

.woocommerce
  ul.products
  li.product
  .product-details.lilac-card-summary
  .product-title
  h5 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.woocommerce
  ul.products
  li.product
  .product-details.lilac-card-summary
  .product-price {
  margin: 0.8rem 0px 0px;
  font-size: 14px !important;
}

.woocommerce
  ul.products
  li.product
  .product-details.lilac-card-summary
  .lilac-card-meta {
  color: rgb(102, 102, 102);
  font-size: 9px;
  height: 1.2rem;
  letter-spacing: 0.15rem;
  line-height: 1.2rem;
  margin: 0.4rem 0px;
  padding: 0px;
  text-transform: uppercase;
  display: flex;
  gap: 5px;
}

.woocommerce
  ul.products
  li.product
  .product-details.lilac-card-summary
  .lilac-card-pill {
  /* placeholder — add styles here if needed */
}

.woocommerce
  ul.products
  li.product
  .product-details.lilac-card-summary
  .lilac-card-tags
  a {
  text-decoration: none;
  color: rgb(102, 102, 102);
}

/* Quick Add modal */
.lilac-qa-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.lilac-qa-modal.is-open {
  display: block;
}

.lilac-qa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.lilac-qa-modal__panel {
  position: relative;
  margin: 8vh auto;
  width: min(720px, calc(100% - 24px));
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.lilac-qa-modal__inner {
  padding: 18px;
}

.lilac-qa-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.lilac-qa-modal__title {
  font-size: 20px;
  font-weight: 600;
}

.lilac-qa-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lilac-qa-modal__close:hover {
  color: #000;
}

.lilac-qa-product {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.lilac-qa-product__media img {
  width: 100%;
  height: auto;
  display: block;
}

.lilac-qa-brand {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 4px;
}

.lilac-qa-product-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.lilac-qa-title {
  display: inline;
}

.lilac-qa-sku {
  display: inline;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.55);
}

.lilac-qa-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.lilac-qa-qty {
  width: 72px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

.lilac-qa-price {
  margin-left: auto;
  font-size: 16px;
  font-weight: 600;
}

.lilac-qa-variations__title {
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0 10px;
}

.lilac-qa-variation-list {
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lilac-qa-variation-item {
  display: grid;
  grid-template-columns: 18px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
  border: 1px solid #000 !important;
  background-color: transparent !important;
  color: #000 !important;
  text-align: left;
  cursor: pointer;
}

.lilac-qa-variation-item:hover {
  background-color: #000 !important;
  color: #fff !important;
}

.lilac-qa-variation-item.is-selected {
  background-color: #000 !important;
  color: #fff !important;
}

.lilac-qa-variation-item__swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.lilac-qa-variation-item__name {
  font-weight: 600;
}

.lilac-qa-variation-item__desc {
  display: block;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

.lilac-qa-variation-item__check:before {
  content: "✓";
  opacity: 0;
}

.lilac-qa-variation-item.is-selected .lilac-qa-variation-item__check:before {
  opacity: 1;
}

.lilac-qa-field {
  margin: 10px 0;
}

.lilac-qa-field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.lilac-qa-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  background: #fff;
}

.lilac-qa-add {
  width: 100%;
  padding: 14px 12px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

.lilac-qa-add[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.lilac-qa-error {
  margin-top: 10px;
  color: #b42318;
  font-size: 13px;
}

.lilac-qa-loading {
  width: 100%;
  height: 220px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.06),
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.06)
  );
  background-size: 200% 100%;
  animation: lilacQaShimmer 1.2s infinite;
  border-radius: 8px;
}

@keyframes lilacQaShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* =============================================================================
   CART PAGE — Custom redesign
   ============================================================================= */

/* Outer flex wrapper that holds the form + collaterals */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-page .woocommerce-cart-form {
  display: block;
  width: 100%;
}

/* Side-by-side layout via a flex on the cart page container */
.woocommerce-cart #woo-cart-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.woocommerce-cart #woo-cart-layout > .woocommerce-cart-form {
  flex: 1 1 0%;
  min-width: 0;
}

.woocommerce-cart #woo-cart-layout > .cart-collaterals {
  flex: 0 0 380px;
  width: 380px;
}

/* ── Product table ── */
.woocommerce-cart table.shop_table.cart {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  /* Added outer border */
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

.woocommerce-cart table.shop_table.cart thead tr th {
  border-top: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
  padding: 18px 24px !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
}

.woocommerce-cart table.shop_table.cart thead th.product-thumbnail {
  min-width: 100px;
}

.woocommerce-cart table.shop_table.cart tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.woocommerce-cart table.shop_table.cart tbody tr:last-child {
  border-bottom: none !important;
}

.woocommerce-cart table.shop_table.cart td {
  padding: 24px !important;
  vertical-align: middle;
  background: transparent !important;
  border: none !important;
}

/* Product image cell */
.woocommerce-cart table.shop_table.cart td.product-thumbnail {
  width: 110px;
  padding: 24px !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  width: 80px !important;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Product name */
.woocommerce-cart table.shop_table.cart td.product-name {
  font-weight: 500;
  font-size: 14px;
}

.woocommerce-cart table.shop_table.cart td.product-name a {
  font-weight: 600;
  color: #111;
  text-decoration: none;
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}

.woocommerce-cart table.shop_table.cart td.product-name a:hover {
  color: #555;
}

.woocommerce-cart table.shop_table.cart td.product-name .variation {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 4px;
}

/* Inline mobile labels — hide on desktop */
.woocommerce-cart table.shop_table.cart td label {
  display: none;
}

/* Price / subtotal */
.woocommerce-cart table.shop_table.cart td.product-price,
.woocommerce-cart table.shop_table.cart td.product-subtotal {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* Quantity */
.woocommerce-cart table.shop_table.cart td.product-quantity .quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}

.woocommerce-cart
  table.shop_table.cart
  td.product-quantity
  .quantity
  input[type="button"],
.woocommerce-cart table.shop_table.cart td.product-quantity .quantity-button {
  background: #f5f5f5 !important;
  border: none !important;
  width: 34px !important;
  height: 38px !important;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  flex-shrink: 0;
}

.woocommerce-cart
  table.shop_table.cart
  td.product-quantity
  .quantity
  input.qty {
  border: none !important;
  border-left: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.12) !important;
  width: 46px !important;
  height: 38px !important;
  text-align: center !important;
  padding: 0 !important;
  font-size: 14px;
  font-weight: 600;
  background: #fff !important;
  -moz-appearance: textfield;
  appearance: textfield;
}

.woocommerce-cart
  table.shop_table.cart
  td.product-quantity
  .quantity
  input.qty::-webkit-outer-spin-button,
.woocommerce-cart
  table.shop_table.cart
  td.product-quantity
  .quantity
  input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Remove button */
.woocommerce-cart table.shop_table.cart td.product-remove {
  text-align: center;
  width: 40px;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.5) !important;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
  background: #222;
  color: #fff !important;
}

/* ── Flex container for WooCommerce Cart Form items ── */
.woocommerce-cart form.woocommerce-cart-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart {
  flex: 1 1 100%;
  order: 1;
}

.woocommerce-cart form.woocommerce-cart-form .wdt-cart-actions-wrapper {
  flex: 1 1 100%;
  order: 2;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.woocommerce-cart form.woocommerce-cart-form .wdt-cart-coupon-holder {
  width: auto;
  margin-bottom: 0 !important;
  display: flex !important;
}

.woocommerce-cart form.woocommerce-cart-form .wdt-cart-button {
  margin-bottom: 0 !important;
  display: flex;
}

/* Update cart button row */
.woocommerce .wdt-cart-button .button {
  font-size: 13px;
  font-weight: 600;
  padding: 14px 28px;
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 0;
  color: #555 !important;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  height: 48px;
}

.woocommerce .wdt-cart-button .button:hover {
  background: #111 !important;
  border-color: #111 !important;
}

.woocommerce .wdt-cart-button,
.woocommerce-page .wdt-cart-button {
  width: auto;
}

.shipping-calculator-button:hover {
  color: #fff !important;
}

/* ── Coupon section ── */
.woocommerce .wdt-cart-coupon-holder .coupon {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0;
  border: none !important;
  padding: 0 !important;
  background: transparent;
  justify-content: flex-start !important;
  height: 48px;
}

.woocommerce .wdt-cart-coupon-holder .coupon label {
  display: none !important;
}

.woocommerce .wdt-cart-coupon-holder .coupon input.input-text {
  flex: 1 1 auto;
  width: 220px;
  height: 100%;
  padding: 10px 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 0;
  border-right: none !important;
  font-size: 13px;
  background: #fff;
  min-height: auto;
}

.woocommerce .wdt-cart-coupon-holder .coupon input.input-text::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.woocommerce .wdt-cart-coupon-holder .coupon .button {
  flex: 0 0 auto;
  padding: 10px 28px;
  height: 100%;
  font-size: 13px;
  font-weight: 600;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
  border-radius: 0;
  cursor: pointer;
  min-height: auto;
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: 0.04em;
}

.woocommerce .wdt-cart-coupon-holder .coupon .button:hover {
  background: #333 !important;
  color: #fff !important;
}

/* ── Cart Totals panel ── */
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  display: block !important;
  width: 100% !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  background: #fff;
  border-radius: 0;
  padding: 32px !important;
  margin-bottom: 0 !important;
}

.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-page .cart-collaterals .cart_totals h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #111;
  margin-bottom: 24px;
  display: block !important;
}

/* Totals table */
.woocommerce .cart-collaterals table.shop_table {
  border: none !important;
  margin-bottom: 32px !important;
  width: 100%;
}

.woocommerce .cart-collaterals table.shop_table tr th,
.woocommerce-page .cart-collaterals table.shop_table tr th {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  padding: 16px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: transparent !important;
  width: 50%;
}

.woocommerce .cart-collaterals table.shop_table tr td,
.woocommerce-page .cart-collaterals table.shop_table tr td {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  padding: 16px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: transparent !important;
  text-align: right !important;
  width: 50%;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th,
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total td {
  border-bottom: none !important;
  padding-top: 16px !important;
  font-size: 17px !important;
  font-weight: 700;
  color: #111 !important;
}

/* Shipping calculator */
.woocommerce .cart-collaterals table.shop_table tbody tr:last-child td,
.woocommerce-page .cart-collaterals table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Proceed to checkout button */
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout,
.woocommerce-page .cart-collaterals .cart_totals .wc-proceed-to-checkout {
  display: block !important;
  float: none !important;
  padding: 0 !important;
  width: 100% !important;
  margin-top: 8px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100%;
  text-align: center;
  padding: 18px 20px !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #520205 !important;
  /* Kept theme black color */
  color: #fff !important;
  border: none !important;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 0 !important;
  text-transform: uppercase;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #333 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
}

/* Cart notice messages */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info {
  margin-bottom: 24px;
}

/* Default stacked layout when no wrapper is present — side-by-side on wide screens */
@media screen and (min-width: 1025px) {
  .woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
  }

  /* Stick the cart totals panel in place */
  .woocommerce-cart .woocommerce .cart-collaterals {
    position: sticky;
    top: 100px;
  }

  /* Notices span full width */
  .woocommerce-cart .woocommerce .woocommerce-notices-wrapper,
  .woocommerce-cart .woocommerce .woocommerce-message,
  .woocommerce-cart .woocommerce .woocommerce-error,
  .woocommerce-cart .woocommerce .woocommerce-info {
    flex: 1 1 100%;
    width: 100%;
  }

  /* Cart form takes the left column (col 1) */
  .woocommerce-cart .woocommerce .woocommerce-cart-form {
    flex: 1 1 0%;
    min-width: 0;
  }

  /* Collaterals take the right column (col 2) */
  .woocommerce-cart .woocommerce .cart-collaterals {
    flex: 0 0 380px;
    width: 380px;
  }
}

/* ── Responsive: tablet ── */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .woocommerce-cart .woocommerce {
    display: block;
  }

  .woocommerce-cart .woocommerce .cart-collaterals {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Show inline labels for mobile table */
  .woocommerce-cart table.shop_table.cart thead {
    display: none !important;
  }

  .woocommerce-cart table.shop_table.cart tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: relative;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    width: 80px;
    flex: 0 0 80px;
    order: 0;
  }

  .woocommerce-cart table.shop_table.cart td.product-name {
    flex: 1 1 0;
    order: 1;
  }

  .woocommerce-cart table.shop_table.cart td.product-price {
    order: 2;
    flex: 0 0 auto;
    min-width: 70px;
    text-align: right;
  }

  .woocommerce-cart table.shop_table.cart td.product-quantity {
    order: 3;
    flex: 0 0 auto;
  }

  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    order: 4;
    flex: 0 0 auto;
    min-width: 80px;
    text-align: right;
  }

  .woocommerce-cart table.shop_table.cart td.product-remove {
    order: 5;
    flex: 0 0 auto;
  }
}

/* ── Responsive: mobile ── */
@media screen and (max-width: 767px) {
  .woocommerce-cart .woocommerce {
    display: block;
    padding: 0 12px;
  }

  /* Stack items vertically as cards */
  .woocommerce-cart table.shop_table.cart thead {
    display: none !important;
  }

  .woocommerce-cart table.shop_table.cart,
  .woocommerce-cart table.shop_table.cart tbody {
    display: block !important;
    width: 100%;
    overflow: visible;
  }

  .woocommerce-cart table.shop_table.cart tbody tr {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: relative;
    border-right: none !important;
    margin: 0 !important;
    white-space: normal !important;
  }

  .woocommerce-cart table.shop_table.cart td {
    display: flex !important;
    align-items: center;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    flex: 0 0 72px;
    order: 0;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 72px !important;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
  }

  .woocommerce-cart table.shop_table.cart td.product-name {
    flex: 1 1 0;
    min-width: 0;
    order: 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .woocommerce-cart table.shop_table.cart td.product-remove {
    position: absolute;
    top: 16px;
    right: 0;
    order: 99;
  }

  .woocommerce-cart table.shop_table.cart td.product-price {
    order: 2;
    flex: 0 0 auto;
  }

  .woocommerce-cart table.shop_table.cart td.product-quantity {
    order: 3;
    flex: 0 0 auto;
  }

  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    order: 4;
    flex: 0 0 auto;
    margin-left: auto;
    font-weight: 700;
  }

  /* Coupon on mobile */
  .woocommerce-cart form.woocommerce-cart-form {
    flex-direction: column;
    gap: 16px;
  }

  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-coupon-holder,
  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-button {
    width: 100%;
    flex: 1 1 100%;
    order: 2;
    /* Update cart will fall sequentially after coupon if both are order: 2 */
    justify-content: center !important;
  }

  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-button .button {
    width: 100%;
  }

  .woocommerce .wdt-cart-coupon-holder .coupon {
    flex-wrap: nowrap !important;
    width: 100%;
  }

  /* Totals on mobile */
  .woocommerce .cart-collaterals .cart_totals,
  .woocommerce-page .cart-collaterals .cart_totals {
    border-radius: 8px;
    padding: 20px 18px !important;
  }

  .woocommerce .wdt-cart-button {
    justify-content: center;
  }

  .woocommerce .wdt-cart-button .button {
  }
}

/* =============================================================================
   CHECKOUT PAGE — Custom redesign
   ============================================================================= */

/* Two-column layout: customer details + order review */
@media screen and (min-width: 1025px) {
  .woocommerce-checkout form.woocommerce-checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
  }

  .woocommerce-checkout form.woocommerce-checkout > .woocommerce-NoticeGroup,
  .woocommerce-checkout form.woocommerce-checkout > .woocommerce-error {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 0px;
  }

  .woocommerce-checkout form.woocommerce-checkout #customer_details {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
    min-width: 0;
    margin-top: 0 !important;
  }

  .woocommerce-checkout
    form.woocommerce-checkout
    .woocommerce-checkout-order-review-wrap {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
    position: sticky;
    top: 100px;
  }
}

/* Section cards */
.woocommerce-checkout #customer_details,
.woocommerce-checkout-order-review-wrap,
.woocommerce-checkout #customer_details ~ .woocommerce-checkout-review-order {
  border: none !important;
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.07),
    0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 36px 32px !important;
  margin-bottom: 24px !important;
  overflow: hidden;
}

/* Section headings */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h2,
#order_review_heading,
#payment_method_heading,
.woocommerce-shipping-fields #ship-to-different-address {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 24px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: block !important;
  clear: both;
}

/* Form fields */
.woocommerce-checkout .form-row {
  margin-bottom: 16px !important;
}

.woocommerce-checkout .form-row label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 6px;
  display: block;
}

.woocommerce-checkout .form-row label .optional {
  text-transform: none;
  font-weight: 400;
  opacity: 0.65;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 14px;
  width: 100%;
  background: #fdfdfd;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  min-height: 46px;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  outline: none;
}

/* Two columns for select fields on desktop */
@media screen and (min-width: 768px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }

  .woocommerce-billing-fields__field-wrapper .form-row-wide,
  .woocommerce-shipping-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
  }
}

/* ── Order Review panel ── */
.woocommerce-checkout-order-review-wrap,
.woocommerce-checkout #customer_details ~ .woocommerce-checkout-review-order {
  background: #f8f8f8 !important;
}

#order_review_heading {
  font-size: 13px !important;
}

.woocommerce .woocommerce-checkout-review-order table.shop_table {
  border: none !important;
  width: 100%;
  margin-bottom: 0 !important;
}

.woocommerce .woocommerce-checkout-review-order table.shop_table tr th,
.woocommerce .woocommerce-checkout-review-order table.shop_table tr td {
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-size: 14px;
  background: transparent !important;
  vertical-align: middle;
}

.woocommerce
  .woocommerce-checkout-review-order
  table.shop_table
  tr:last-child
  th,
.woocommerce
  .woocommerce-checkout-review-order
  table.shop_table
  tr:last-child
  td {
  border-bottom: none !important;
}

.woocommerce
  .woocommerce-checkout-review-order
  table.shop_table
  tfoot
  tr.order-total
  th,
.woocommerce
  .woocommerce-checkout-review-order
  table.shop_table
  tfoot
  tr.order-total
  td {
  font-size: 17px !important;
  font-weight: 700;
  padding-top: 18px !important;
  border-top: 2px solid rgba(0, 0, 0, 0.1) !important;
  border-bottom: none !important;
}

/* ── Payment section ── */

.woocommerce-page #payment.woocommerce-checkout-payment ul.payment_methods {
  border: none !important;
  padding: 0 !important;
}

.woocommerce-page #payment.woocommerce-checkout-payment ul.payment_methods li {
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.woocommerce-page
  #payment.woocommerce-checkout-payment
  ul.payment_methods
  li:last-child {
  margin-bottom: 0 !important;
}

.woocommerce-page
  #payment.woocommerce-checkout-payment
  ul.payment_methods
  li
  label {
  display: inline-flex !important;
  align-items: center;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #111 !important;
  cursor: pointer;
  margin: 0 !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
  vertical-align: middle;
  width: auto !important;
  flex: 1 1 auto !important;
}

.woocommerce-page
  #payment.woocommerce-checkout-payment
  ul.payment_methods
  li
  label
  img {
  display: inline-block;
  margin-left: 12px;
  max-height: 28px;
  width: auto;
  float: none !important;
}

/* Custom Radio Button styling to match screenshot */
.woocommerce-page
  #payment.woocommerce-checkout-payment
  ul.payment_methods
  li
  input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px !important;
  height: 22px !important;
  border: 2px solid #000 !important;
  border-radius: 50% !important;
  margin-right: 16px !important;
  position: relative;
  cursor: pointer;
  outline: none !important;
  background: transparent !important;
  min-width: 22px;
  box-shadow: none !important;
  vertical-align: middle;
  opacity: 1;
  display: block !important;
  flex: 0 0 22px !important;
  top: 9px;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  width: 100% !important;
}

.woocommerce-page
  #payment.woocommerce-checkout-payment
  ul.payment_methods
  li
  input[type="radio"]:checked {
  border-color: #000 !important;
  /* Theme dark maroon */
}

.woocommerce-page
  #payment.woocommerce-checkout-payment
  ul.payment_methods
  li
  input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.woocommerce-page
  #payment.woocommerce-checkout-payment
  ul.payment_methods
  div.payment_box {
  margin-top: 10px !important;
  padding: 16px 20px !important;
  background: #fdfdfd !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 8px !important;
  color: #555 !important;
  font-size: 13px !important;
  flex: 1 1 100% !important;
  margin-left: 38px !important;
}

.woocommerce-page
  #payment.woocommerce-checkout-payment
  ul.payment_methods
  div.payment_box::before {
  display: none !important;
}

.woocommerce-checkout #payment ul.payment_methods + div.form-row.place-order {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 24px 0 0 !important;
  margin-top: 20px;
}

/* Place order button */
.woocommerce-checkout #payment div.form-row.place-order > #place_order,
.woocommerce-checkout #payment div.form-row.place-order input[type="submit"] {
  width: 100% !important;
  float: none !important;
  padding: 18px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  background: #520205 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: background 0.2s;
  display: block;
}

.woocommerce-checkout #payment div.form-row.place-order > #place_order:hover,
.woocommerce-checkout
  #payment
  div.form-row.place-order
  input[type="submit"]:hover {
  background: #333 !important;
  color: #fff !important;
  border: 1px solid #000;
}

/* Login / coupon notices on checkout */
.woocommerce-checkout-header {
  margin-bottom: 24px;
}

/* ── Checkout responsive ── */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .woocommerce-checkout form.woocommerce-checkout {
    display: block;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout-order-review-wrap,
  .woocommerce-checkout #customer_details ~ .woocommerce-checkout-review-order {
    padding: 28px 24px !important;
  }
}

@media screen and (max-width: 767px) {
  .woocommerce-checkout form.woocommerce-checkout {
    display: block;
  }

  .woocommerce-checkout .woocommerce {
    padding: 0 12px;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout-order-review-wrap,
  .woocommerce-checkout #customer_details ~ .woocommerce-checkout-review-order {
    padding: 22px 18px !important;
    border-radius: 8px;
    margin-bottom: 16px !important;
  }

  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    display: block;
  }

  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2 {
    width: 100%;
  }
}

.woocommerce-checkout .showcoupon {
  color: #fff !important;
  padding: 10px !important;
}

.user-authlink-item {
  display: none !important;
}

/* Hide all carousel (swiper) arrows on mobile */
@media screen and (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next,
  .owl-nav,
  .slick-arrow.slick-prev,
  .slick-arrow.slick-next {
    display: none !important;
  }
}

/* Quick Add Toast Notification */
.lilac-qa-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111;
  color: #fff;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(100px);
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.3s ease;
  z-index: 999999;
}

.lilac-qa-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.lilac-qa-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #4caf50;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}

@media screen and (max-width: 760px) {
  .woocommerce-cart table.shop_table.cart tbody tr {
    display: grid !important;
    grid-template-columns: 80px 1fr 100px;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "thumbnail name remove"
      "thumbnail price price"
      "thumbnail quantity subtotal";
    align-items: center;
    gap: 8px 12px;
    padding: 20px 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: relative;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    padding: 0 !important;
    grid-area: thumbnail;
  }

  .woocommerce-cart table.shop_table.cart td.product-name {
    grid-area: name;
    font-weight: 600;
  }

  .woocommerce-cart table.shop_table.cart td.product-price {
    grid-area: price;
  }

  .woocommerce-cart table.shop_table.cart td.product-quantity {
    grid-area: quantity;
  }

  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    grid-area: subtotal;
    text-align: right !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-remove {
    grid-area: remove;
    text-align: right !important;
    justify-content: flex-end;
  }

  .woocommerce-cart table.shop_table.cart td.product-remove a.remove {
    position: static !important;
    margin: 0 !important;
  }

  .woocommerce-cart table.shop_table tr td {
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    border: none !important;
  }

  .woocommerce-cart table.shop_table tr td::before {
    display: none !important;
  }

  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-actions-wrapper {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    width: 100%;
  }

  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-actions-wrapper > div {
    width: 100% !important;
  }

  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-coupon-holder .coupon {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    height: auto !important;
  }

  .woocommerce-cart
    form.woocommerce-cart-form
    .wdt-cart-coupon-holder
    .coupon
    input.input-text,
  .woocommerce-cart
    form.woocommerce-cart-form
    .wdt-cart-coupon-holder
    .coupon
    button.button,
  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-button button.button {
    width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
  }

  .woocommerce-cart .cart-subtotal,
  .woocommerce-cart .woocommerce-shipping-totals,
  .woocommerce-cart .order-total {
    display: flex !important;
    justify-content: space-between !important;
  }

  .woocommerce-cart .woocommerce-shipping-totals td {
    flex-direction: column;
    align-items: end !important;
  }
}

@media screen and (max-width: 425px) {
  .woocommerce-cart .woocommerce {
    padding: 0 !important;
  }

  .woocommerce-cart table.shop_table.cart tbody tr {
    display: grid !important;
    grid-template-columns: 80px 1fr 100px;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "thumbnail name remove"
      "thumbnail price price"
      "thumbnail quantity subtotal";
    align-items: center;
    gap: 8px 12px;
    padding: 20px 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: relative;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    padding: 0 !important;
  }

  .woocommerce-cart table.shop_table tr td {
    margin: 0 !important;
  }

  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-actions-wrapper {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    width: 100%;
  }

  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-actions-wrapper > div {
    width: 100% !important;
  }

  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-coupon-holder .coupon {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    height: auto !important;
  }

  .woocommerce-cart
    form.woocommerce-cart-form
    .wdt-cart-coupon-holder
    .coupon
    input.input-text,
  .woocommerce-cart
    form.woocommerce-cart-form
    .wdt-cart-coupon-holder
    .coupon
    button.button,
  .woocommerce-cart form.woocommerce-cart-form .wdt-cart-button button.button {
    width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
  }

  .woocommerce table.shop_table,
  .woocommerce-page table.shop_table {
    margin-bottom: 0;
  }

  .woocommerce-cart .cart-subtotal,
  .woocommerce-cart .woocommerce-shipping-totals,
  .woocommerce-cart .order-total {
    display: flex !important;
    justify-content: space-between !important;
  }

  .woocommerce-cart .woocommerce-shipping-totals td {
    flex-direction: column;
    align-items: end !important;
  }
}

.woocommerce-cart
  .woocommerce-shipping-totals
  .woocommerce-shipping-destination {
  display: flex !important;
  justify-content: end;
  gap: 5px !important;
}

.woocommerce-cart .select2-container--default .select2-selection--single {
  border: 0 !important;
}

.woocommerce .cart-collaterals table.shop_table tbody td ul#shipping_method li,
.woocommerce-page
  .cart-collaterals
  table.shop_table
  tbody
  td
  ul#shipping_method
  li {
  margin: 0 !important;
}

.woocommerce ul#shipping_method {
  margin: 0 !important;
}

.woocommerce-cart form.woocommerce-cart-form .wdt-cart-button {
  display: none !important;
}

/* Show data-title in mobile cart */
@media screen and (max-width: 768px) {
  .woocommerce-cart table.cart td::before {
    content: attr(data-title) ": ";
    font-weight: 600;
    margin-right: 5px;
    display: inline-block;
  }

  .woocommerce-cart table.cart td.product-remove::before,
  .woocommerce-cart table.cart td.product-thumbnail::before,
  .woocommerce-cart table.cart td.product-name::before {
    display: none !important;
  }
}

.bottom-category-title {
  font-size: 25px;
  margin-bottom: 15px !important;
}

/* Order Pay Layout Fixes */
.woocommerce-order-pay form#order_review {
  display: flex;
  flex-direction: column;
}
.woocommerce-order-pay form#order_review .woocommerce-error,
.woocommerce-order-pay form#order_review .woocommerce-NoticeGroup,
.woocommerce-order-pay form#order_review .woocommerce-info,
.woocommerce-order-pay form#order_review .woocommerce-message {
  order: -1;
  margin-bottom: 20px;
  width: 100%;
}

/* Theme Fallback Header Restoration */
/* These styles restore basic alignment and background to the theme's default header
   on pages where the custom Header Builder content fails to load (e.g. WooCommerce Checkout). */
.no-header {
  background-color: #ffffff;
  padding: 15px 0;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.no-header .no-header-logo img {
  max-height: 50px;
  width: auto;
}

.no-header-menu {
  display: flex;
  align-items: center;
}

.no-header .nav {
  background-color: #ffffff;
  position: relative;
  width: 100%;
}

.no-header .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.no-header .menu {
  display: flex !important;
  flex-direction: row !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.no-header .menu-item {
  position: relative;
}

.no-header .menu-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  .no-header {
    flex-direction: column !important;
    gap: 10px;
  }
  .no-header .menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}

#footer .elementor-widget-heading .elementor-heading-title {
  font-size: 12px;
  font-family: "Jost", sans-serif;
  margin: inherit;
  font-weight: 500;
}
#footer p,
#footer a:not(.elementor-icon) {
  font-family: "Jost", Sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--e-global-color-primary);
}

.elementor-1281
  .elementor-element.elementor-element-2f04a4b
  .wdt-mailchimp-holder
  .wdt-mailchimp-wrapper
  input {
  border-style: solid !important;
  border-width: 1px 1px 1px 1px !important;
  padding: 10.4px 12.8px 10.4px 12.8px !important;
}
