/*
Theme Name: XQ VIP
Description: Custom Theme for XQ VIP website
Author: XQ VIP
Author URI: https://xq-vip.com/
Author Email: info@xq-vip.com
Version: 1.0.0
Text Domain: hello-elementor-child
Template: hello-elementor
*/
/*
Add your custom styles here
*/

/* Customized by Rasel */
/* Custom Cart desing using CSS start */
.xq-mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.xq-mini-cart-header .xq-mini-cart-title {
  font-family: "Cormorant Garamond";
  font-weight: 600;
  font-size: 30px;
  text-transform: capitalize;
  color: #232832;
}

.elementor-menu-cart__close-button {
  top: -5px;
}

/* Push the mini-cart footer (Subtotal + View cart / Checkout) to the bottom of the drawer */
.elementor-menu-cart__main {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.elementor-menu-cart__main .widget_shopping_cart_content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.elementor-menu-cart__main .elementor-menu-cart__products {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.elementor-menu-cart__main .elementor-menu-cart__subtotal,
.elementor-menu-cart__main .elementor-menu-cart__footer-buttons {
  flex-shrink: 0;
}

.elementor-menu-cart__main .elementor-menu-cart__footer-buttons {
  margin-top: auto;
}

/* Footer buttons: View cart + Checkout side by side (50/50), Continue Shopping full width */
.elementor-menu-cart__footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.elementor-menu-cart__footer-buttons > .elementor-button--view-cart,
.elementor-menu-cart__footer-buttons > .elementor-button--checkout {
  flex: 0 0 calc(50% - 6px);
  max-width: calc(50% - 6px);
}

.elementor-menu-cart__footer-buttons > .xq-continue-shopping {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Mini-cart loading spinner (shown while WooCommerce rebuilds a blank drawer body) */
.widget_shopping_cart_content.xq-cart-loading {
  position: relative;
  min-height: 140px;
}

.widget_shopping_cart_content.xq-cart-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid #e5e0ef;
  border-top-color: #9e78d4;
  border-radius: 50%;
  animation: xqCartSpin 0.8s linear infinite;
}

@keyframes xqCartSpin {
  to {
    transform: rotate(360deg);
  }
}

.xq-empty-cart-banner {
  width: 100%;
  height: 395px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xq-empty-cart-banner img {
  width: 490px;
  object-fit: cover;
  text-align: center;
}

.xq-empty-cart-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.xq-empty-cart-content h2 {
  font-family: "Cormorant Garamond";
  font-weight: 600;
  font-size: 28px;
  text-transform: capitalize;
  color: #232832;
  margin: 12px 0 0 0;
  text-align: center;
}

.xq-empty-cart-content p {
  font-family: "Poppins";
  font-weight: 400;
  font-size: 16px;
  color: #6b7280;
  margin: 12px 0 24px 0;
  text-align: center;
}

.xq-empty-cart-content a.xq-shop-btn {
  background-image: linear-gradient(90deg, #9e78d4, #c5a2f5);
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-family: "Poppins";
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.xq-empty-cart-content a.xq-shop-btn:hover {
  background-image: linear-gradient(90deg, #c5a2f5, #9e78d4);
}
/* Custom Cart desing using CSS end */

/* Floating Cart icon start */
#xq-floating-cart {
  position: fixed;
  right: 20px;
  bottom: 7%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #232832;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

#xq-floating-cart.show {
  opacity: 1;
  visibility: visible;
}

/* While the mini-cart drawer is open, hide the floating bubble so it can never
   overlap the drawer's remove buttons. It reappears when the drawer closes. */
body:has(.elementor-menu-cart--shown) #xq-floating-cart {
  opacity: 0;
  visibility: hidden;
}

.xq-cart-icon {
  font-size: 34px;
  color: #fff;
}

.xq-cart-icon img.wp-smiley,
.xq-cart-icon img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 0.75em !important;
  width: 0.65em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.06em !important;
  background: none !important;
  padding: 0 !important;
}

.xq-cart-count {
  position: absolute;
  top: -7px;
  right: 0;
  width: 20px;
  height: 20px;
  background: #b87e30;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Floating Cart icon end */

/* Checkout thank you page start */

.woocommerce ul.order_details {
  padding: 0;
}
.woocommerce-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  grid-template-areas:
    "content details"
    "customer customer";
  gap: 40px;
  align-items: start;
}

.woocommerce-order-content {
  grid-area: content;
  min-width: 0;
}

.xqvip-payment-info-top,
.xqvip-payment-info-bottom {
  margin-bottom: 30px;
  border: 1px dashed #7b5ea7;
  background: #f8f3fc;
  padding: 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  gap: 12px;
}

.manual-payment-methods {
  display: flex;
  flex-direction: column;
  align-items: self-start;
  gap: 0;
}

.manual-payment-methods h3.heading,
.woocommerce-column--billing-address h2.woocommerce-column__title,
.woocommerce-column--shipping-address h2.woocommerce-column__title {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 24px;
  color: #232832;
}

.xqvip-payment-info-top p,
.xqvip-payment-info-bottom p,
.manual-payment-methods p {
  margin: 0;
  position: relative;
  padding-left: 20px;
  color: #232832;
}

.xqvip-payment-info-top p::before,
.xqvip-payment-info-bottom p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #232832;
  border-radius: 50%;
  display: inline-block;
}

.woocommerce-order-details {
  grid-area: details;
  margin: 0 !important;
  width: 100%;
  align-self: start;

  /* Reset any theme styles */
  float: none !important;
  clear: none !important;
}

.woocommerce-customer-details {
  grid-area: customer;
  margin-top: 40px;
  /* 	margin-top: 0px; */
  float: none !important;
  clear: both;
}
.paybtn-center-align {
  display: none;
}

.woocommerce .woocommerce-customer-details address {
  padding: 20px 20px 32px 20px;
  border: 1px dashed #7b5ea7;
  background-color: #f8f3fc;
  border-radius: 6px;
}

/* Mobile */
@media (max-width: 991px) {
  .woocommerce-order {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "details"
      "customer";
  }

  .woocommerce-customer-details {
    margin-top: 30px;
  }
}

/* Checkout thank you page end */

/* Order confirm thank you page product image preview start */

/* Hide table heading */
.woocommerce-order-details thead {
  display: none;
}

.woocommerce-order-details table {
  border-collapse: separate;
  border-spacing: 0 20px;
}

.woocommerce-order-details tbody tr {
  border-bottom: 1px solid #eee;
}

.woocommerce-order-details td {
  border: 0;
  vertical-align: top;
  padding: 0;
}

.woocommerce-table__product-name {
  padding-right: 20px;
}

.xqvip-order-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.woocommerce-order-received img.xqvip-order-item-image {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.xqvip-order-item-content {
  flex: 1;
}

.xqvip-order-item-content a {
  display: block;
  font-family: "Cormorant Garamond";
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: #232832;
  text-decoration: none;
  margin-bottom: 8px;
}

.xqvip-order-qty {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: #6b7280;
}

.woocommerce-table__product-total {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 2%;
}

.woocommerce-table__product-name > .product-quantity {
  display: none;
}

.woocommerce table.shop_table td {
  vertical-align: top;
  border-top: unset;
}
.woocommerce table.shop_table {
  border: unset;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  border: unset;
}

.woocommerce table.shop_table tfoot {
  border-top: 1px dashed #232832;
}

table tbody > tr:nth-child(2n + 1) > td,
table tbody > tr:nth-child(2n + 1) > th {
  background-color: transparent !important;
}

table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: transparent;
}

.woocommerce-order-details h2.woocommerce-order-details__title {
  font-weight: 600;
  font-size: 24px;
  color: #232832;
  margin: 0 0 24px;
}

.woocommerce-order-content
  p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
  font-weight: 500;
  font-size: 20px;
  color: #232832;
}

/* Order confirm thank you page product image preview end */

/* After adding a product into cart it shows a notice on top - single product page start */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-message {
  background-color: #f8f3fc !important;
  color: #232832 !important;
  border-top: 3px solid #a881d2 !important;
}

.woocommerce-notices-wrapper .woocommerce-message {
  border-top-color: #a881d2 !important;
}

.woocommerce-notices-wrapper .woocommerce-message::before {
  color: #7b5ea7 !important;
}
.woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward {
  font-family: "Poppins" !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  background-color: transparent !important;
  background-image: linear-gradient(90deg, #9e78d4, #c5a2f5) !important;
}

.woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward:hover {
  color: #ffffff !important;
  background-image: linear-gradient(90deg, #c5a2f5, #9e78d4) !important;
}
/* After adding a product into cart it shows a notice on top - single product page end */

/* Notifima reminder button */
.notifima-subscribe-form {
  margin-bottom: 10px !important;
}
.notifima-subscribe-form .fields_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.notifima-subscribe-form #notifima_alert_email {
  margin: 0 !important;
  border-color: #a881d2 !important;
}
.notifima-subscribe-form #notifima_alert_email:focus {
  border-color: none !important;
  outline: none !important;
}

.notifima-subscribe-form
  button.notifima-subscribe.notifima-button.subscribe-button-hover {
  border-color: #a881d2 !important;
  color: #a881d2 !important;
  margin: 0;
}

.notifima-subscribe-form
  button.notifima-subscribe.notifima-button.subscribe-button-hover:hover {
  background: #a881d2 !important;
  color: #ffffff !important;
}
/* Notifima reminder button */

/*
All CSS which are added on page
You will find here
*/

/* Home Page CSS start */

/* Hero Slider Image CSS start */
.list_pill_icon ul li {
  background: #fff;
  padding: 6px 12px !important;
  border-radius: 50px;
}

/* Hero Slider Image CSS end */

.purple_italic {
  color: #a881d2;
}

.golden_italic {
  color: #b87e30;
}

.explore_hq_title h3.elementor-heading-title.elementor-size-default {
  background-color: transparent;
}

.complimentary_gift h2.elementor-heading-title.elementor-size-default {
  background-color: transparent;
}

/* Home Page CSS end */

/* Header wishlist link start */

/* [custom_wishlist_link] is rendered by an Elementor Shortcode widget in the Site Header,
   next to the account and cart icons. Elementor wraps the output in .elementor-shortcode,
   which is block-level, so the heart sat top-aligned against the taller icons beside it. */
.elementor-shortcode:has(> .custom-wishlist-link) {
  display: flex;
  align-items: center;
}

/* The count badge is absolutely positioned, so the anchor has to be its containing block.
   Without position:relative the count fell back to static and rendered as plain text
   sitting to the right of the heart instead of on top of it. */
.custom-wishlist-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #232832;
}

/* Scoped to .custom-wishlist-link so this never touches YITH's own add-to-wishlist
   buttons on product cards, which share the .yith-wcwl-icon class. fill:none also
   overrides the inline fill attribute if the shortcode still emits fill="#fff". */
.custom-wishlist-link .yith-wcwl-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
}

.custom-wishlist-link .wishlist-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #232832;
  color: #fff;
  /* Pill radius, not 50% — a double-digit count would render as a stretched oval. */
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Header wishlist link end */

/* Single Product Affiliate link copy and notify input field CSS start */
.wp-singular.single.single-product
  a.afwc-click-to-copy.single-product-affiliate-link {
  /* display: none; */
  margin-top: 10px;
  background: transparent;
  color: #232832;
  text-decoration: underline;
  font-size: 16px;
}

.notifima-subscribe-form {
  margin-bottom: 10px !important;
  padding: 10px 0 !important;
}

.notifima-subscribe-form form.woocommerce-form.woocommerce-form-login.login {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

/* Email field wrapper */
.notifima-subscribe-form
  form.woocommerce-form.woocommerce-form-login.login
  > label {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Email input */
.notifima-subscribe-form
  form.woocommerce-form.woocommerce-form-login.login
  > label
  > input[type="email"] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Notify Me button */
.notifima-subscribe-form
  form.woocommerce-form.woocommerce-form-login.login
  > button {
  display: flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 140px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 20px !important;
  margin: 0 !important;
  background-image: linear-gradient(90deg, #9e78d4, #c5a2f5);
  color: #ffffff !important;
  border: 0 !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

/* Button hover */
.notifima-subscribe-form
  form.woocommerce-form.woocommerce-form-login.login
  > button:hover {
  /* background-color: #9f6c28 !important; */
  /* color: #ffffff !important; */
}

/* Mobile */
@media (max-width: 767px) {
  .notifima-subscribe-form form.woocommerce-form.woocommerce-form-login.login {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .notifima-subscribe-form
    form.woocommerce-form.woocommerce-form-login.login
    > label {
    width: 100% !important;
  }

  .notifima-subscribe-form
    form.woocommerce-form.woocommerce-form-login.login
    > button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

.woocommerce-variation.single_variation {
  margin-bottom: 20px;
}
.variations th.label {
  width: 5%;
  text-align: left;
}
.variations_form.cart table.variations td.value #options {
  border: 1px solid rgb(221, 221, 221);
  border-radius: 8px;
}
.variations_form.cart table.variations td.value #options:focus {
  outline: none;
  box-shadow: none;
}
/* Single Product Affiliate link copy and notify input field CSS end */

/* FiboSearch tag & category suggestions start */
/*
 * Tag rows are new in the search dropdown (see the "Smart product search"
 * block in elementor-custom-function.php). Products in this dropdown all carry
 * a thumbnail and a price, so a bare taxonomy row looks like a product that
 * failed to load its image. These rules give tag and category rows their own
 * quieter, label-led treatment so the two never read as the same thing.
 */
.dgwt-wcas-suggestion-tax .dgwt-wcas-st-title {
  font-weight: 600;
}

/* Inline "Tag" / "Category" label, shown when group headings are turned off */
.dgwt-wcas-suggestion-tax .dgwt-wcas-st--direct-headline {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f2f2f2;
  color: #666;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.dgwt-wcas-suggestion-tag .dgwt-wcas-st--direct-headline {
  background: #eef4ff;
  color: #3a5a99;
}

/* The category row's "in <parent>" breadcrumb */
.dgwt-wcas-suggestion-tax .dgwt-wcas-st-breadcrumbs {
  color: #888;
  font-size: 12px;
}

/*
 * Taxonomy rows sit above the product rows, so a divider keeps the eye from
 * running the two lists together.
 */
.dgwt-wcas-suggestion-tax + .dgwt-wcas-suggestion-product {
  border-top: 1px solid #ececec;
}
/* FiboSearch tag & category suggestions end */
