/**
* Theme Name: Maia Child
* Description: This is a child theme for Maia
* Author: Thembay
* Author URI: https://thembay.com/
* Version: 1.1.63
* Template: maia
*/


/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

.thiqa-hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.thiqa-hero-slide {
  display: none;
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.thiqa-hero-slide.is-active {
  display: block;
}

.thiqa-hero-inner {
  max-width: 1430px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}

.thiqa-hero-title {
  max-width: 547px;
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 77px;
  color: #191919;
}

.thiqa-hero-text {
  max-width: 405px;
  margin: 0 0 28px;
  font-family: Lato, sans-serif;
  font-size: 19px;
  line-height: 34px;
  color: #191919;
}

.thiqa-hero-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #f55f1e;
  color: #fff !important;
  font-family: Lato, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 24px;
  text-transform: uppercase;
  text-decoration: none;
}

.thiqa-hero-btn:hover {
  background: #e85a1c;
  color: #fff !important;
}

.thiqa-hero-count {
  position: absolute;
  left: 55px;
  bottom: 55px;
  font-family: Lato, sans-serif;
  font-size: 15px;
  color: #191919;
}

.thiqa-hero-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.thiqa-hero-nav:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.thiqa-hero-prev {
  left: 30px;
}

.thiqa-hero-prev:after {
  transform: rotate(135deg);
  margin-left: 28px;
}

.thiqa-hero-next {
  right: 30px;
}

.thiqa-hero-next:after {
  transform: rotate(-45deg);
  margin-left: 22px;
}

.thiqa-hero-dots {
  position: absolute;
  left: 55px;
  bottom: 28px;
  z-index: 2;
}

.thiqa-hero-dot {
  width: 10px;
  height: 10px;
  margin-right: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(25, 25, 25, 0.25);
  cursor: pointer;
}

.thiqa-hero-dot.is-active {
  background: #191919;
}

@media (max-width: 1024px) {
  .thiqa-hero-slide {
    min-height: 600px;
  }

  .thiqa-hero-title {
    font-size: 60px;
    line-height: 70px;
  }

  .thiqa-hero-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .thiqa-hero-slide {
    min-height: 500px;
  }

  .thiqa-hero-inner {
    padding: 62px 20px 110px;
  }

  .thiqa-hero-title {
    font-size: 40px;
    line-height: 54px;
  }

  .thiqa-hero-count,
  .thiqa-hero-dots {
    left: 20px;
  }

  .thiqa-hero-count {
    bottom: 96px;
  }

  .thiqa-hero-dots {
    bottom: 68px;
  }
}
/* Thank-you page: billing / shipping address cards */
.shopengine-thankyou-address-details .woocommerce-customer-details {
  margin: 0 !important;
}
.shopengine-thankyou-address-details .woocommerce-columns--addresses {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  margin: 0 !important;
}
.shopengine-thankyou-address-details .woocommerce-columns--addresses::before,
.shopengine-thankyou-address-details .woocommerce-columns--addresses::after {
  display: none !important;
}
.shopengine-thankyou-address-details .woocommerce-column {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 28px 30px !important;
  background: #fbf8f5;
  border: 1px solid #eee5dc !important;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.shopengine-thankyou-address-details .woocommerce-column > :not(.woocommerce-column__title) {
  margin: 0;
}
.shopengine-thankyou-address-details .woocommerce-column .woocommerce-column__title {
  margin: 0 0 18px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid #eee5dc;
  font-size: 18px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.02em;
}
.shopengine-thankyou-address-details .woocommerce-column address {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-style: normal;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #3a3a3a !important;
  text-transform: capitalize;
}
.shopengine-thankyou-address-details .woocommerce-column address p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 !important;
  padding: 10px 0 0 !important;
  border-top: 1px dashed #e6dbd0;
  text-transform: none;
  word-break: break-word;
}
.shopengine-thankyou-address-details .woocommerce-column address p + p {
  margin-top: 0 !important;
  border-top: 0;
}
.shopengine-thankyou-address-details .woocommerce-column address p::before {
  position: static !important;
  margin: 0 !important;
  color: var(--e-global-color-primary, #a0522d);
}
@media (max-width: 767px) {
  .shopengine-thankyou-address-details .woocommerce-column {
    padding: 22px 20px !important;
  }
  .shopengine-thankyou-address-details .woocommerce-column--shipping-address {
    margin-top: 0 !important;
  }
}

/* Product cards: always-visible add-to-cart button */
.product-block .group-buttons > div.add-cart,
.product-block .group-buttons .se-btn {
  display: none !important;
}
.product-block .thiqa-card-cart {
  margin-top: 12px;
}
.product-block .thiqa-card-cart a.button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px !important;
  border: 1px solid var(--tb-theme-color, #a0522d) !important;
  border-radius: 6px !important;
  background: var(--tb-theme-color, #a0522d) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  text-transform: none;
  transition: background 0.2s, color 0.2s;
}
.product-block .thiqa-card-cart a.button:hover {
  background: #fff !important;
  color: var(--tb-theme-color, #a0522d) !important;
}
.product-block .thiqa-card-cart a.button .title-cart {
  display: inline !important;
}
.product-block .thiqa-card-cart a.button i {
  order: -1;
  font-size: 16px;
}
.product-block .thiqa-card-cart a.added_to_cart {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  text-align: center;
}
.product-block .thiqa-card-cart a.button.loading {
  opacity: 0.7;
}
@media (max-width: 575px) {
  .product-block .thiqa-card-cart a.button {
    min-height: 38px;
    padding: 8px 10px !important;
    font-size: 13px !important;
  }
}
.product-block .thiqa-card-cart .add-cart {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  background: none !important;
  border: 0 !important;
}
.product-block .thiqa-card-cart .se-btn,
.product-block .thiqa-card-cart .screen-reader-text {
  display: none !important;
}

/* Footer: hide card/PayPal logos (payment is cash on delivery only) */
img[src*="payment-1.png"] {
  display: none !important;
}

/* WhatsApp ordering: hide cart UI, style "Commander" buttons */
.device-mini_cart,
.tbay-offcanvas-cart,
.mobile-btn-cart-click,
.tbay-buy-now,
.footer-device-mobile a[href*="/cart"],
.footer-device-mobile .device-cart,
.single-product form.cart,
.thiqa-card-cart .add-cart {
  display: none !important;
}
body .thiqa-card-cart a.button.thiqa-wa-btn,
body a.button.thiqa-wa-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px !important;
  border: 1px solid #25d366 !important;
  border-radius: 6px !important;
  background: #25d366 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}
body .thiqa-card-cart a.button.thiqa-wa-btn:hover,
body a.button.thiqa-wa-btn:hover,
body a.button.thiqa-wa-btn:focus {
  background: #1ebe5b !important;
  border-color: #1ebe5b !important;
  color: #fff !important;
}
.thiqa-wa-btn svg {
  flex: 0 0 auto;
}
.thiqa-single-order {
  margin: 20px 0;
  max-width: 420px;
}
body a.button.thiqa-wa-btn--large {
  min-height: 52px;
  font-size: 16px !important;
}
.thiqa-wa-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #6b6b6b;
}
@media (max-width: 575px) {
  body .product-block .thiqa-card-cart a.button.thiqa-wa-btn {
    min-height: 38px;
    padding: 8px 10px !important;
    font-size: 13px !important;
  }
  .thiqa-single-order {
    max-width: none;
  }
}

/* Pack 3 parfums: buttons, price label, sticky bar */
body .thiqa-card-cart button.button.thiqa-pack-add,
body button.button.thiqa-pack-add {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px !important;
  border: 1px solid var(--tb-theme-color, #a0522d) !important;
  border-radius: 6px !important;
  background: var(--tb-theme-color, #a0522d) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  text-transform: none !important;
  cursor: pointer;
}
body button.button.thiqa-pack-add:hover {
  background: #fff !important;
  color: var(--tb-theme-color, #a0522d) !important;
}
body button.button.thiqa-pack-add.is-in-pack {
  background: #fff !important;
  color: var(--tb-theme-color, #a0522d) !important;
}
.thiqa-pack-add__plus {
  font-size: 18px;
  line-height: 1;
}
.thiqa-pack-price {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f6eee7;
  color: var(--tb-theme-color, #a0522d);
  font-size: 13px;
  font-weight: 600;
}
.thiqa-pack-price-note {
  font-size: 13px;
  color: #6b6b6b;
}
.thiqa-pack-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  background: #fff;
  border-top: 2px solid var(--tb-theme-color, #a0522d);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
}
.thiqa-pack-bar[hidden] {
  display: none !important;
}
.thiqa-pack-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1430px;
  margin: 0 auto;
  padding: 12px 16px;
}
.thiqa-pack-bar__info {
  display: flex;
  flex-direction: column;
  min-width: 170px;
}
.thiqa-pack-bar__title {
  font-size: 15px;
}
.thiqa-pack-bar__count {
  color: var(--tb-theme-color, #a0522d);
}
.thiqa-pack-bar__hint {
  font-size: 12px;
  color: #6b6b6b;
}
.thiqa-pack-bar__items {
  display: flex;
  flex: 1;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.thiqa-pack-bar__items li {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 4px 6px;
  border: 1px dashed #d9c9bb;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.25;
}
.thiqa-pack-bar__items li.is-filled {
  border-style: solid;
  background: #fbf8f5;
}
.thiqa-pack-bar__items li.is-empty {
  justify-content: center;
  color: #a9a9a9;
}
.thiqa-pack-bar__items img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}
.thiqa-pack-bar__items li span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.thiqa-pack-bar__items button {
  margin-left: auto;
  padding: 0 4px;
  border: 0;
  background: none;
  color: #999;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
body a.button.thiqa-pack-bar__order {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}
body a.button.thiqa-pack-bar__order.is-disabled {
  background: #cfcfcf !important;
  border-color: #cfcfcf !important;
  cursor: not-allowed;
}
.thiqa-pack-bar.is-shake {
  animation: thiqa-shake 0.4s;
}
@keyframes thiqa-shake {
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}
body.thiqa-pack-open {
  padding-bottom: 90px;
}
@media (max-width: 767px) {
  .thiqa-pack-bar__inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
  }
  .thiqa-pack-bar__info {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    width: 100%;
  }
  .thiqa-pack-bar__items {
    width: 100%;
    flex: 1 1 100%;
  }
  .thiqa-pack-bar__items li {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 4px;
    font-size: 11px;
  }
  .thiqa-pack-bar__items button {
    margin: 0;
  }
  body a.button.thiqa-pack-bar__order {
    width: 100%;
  }
  body.thiqa-pack-open {
    padding-bottom: 190px;
  }
  /* theme's mobile bottom menu sits under the pack bar */
  body.thiqa-pack-open .footer-device-mobile {
    display: none !important;
  }
}

/* Pack bar: compact on phones */
@media (max-width: 767px) {
  .thiqa-pack-bar__inner { gap: 6px; padding: 8px 10px; }
  .thiqa-pack-bar__title { font-size: 14px; white-space: nowrap; }
  .thiqa-pack-bar__hint { font-size: 11px; line-height: 1.3; }
  .thiqa-pack-bar__items { gap: 6px; }
  .thiqa-pack-bar__items li { flex-direction: row; text-align: left; min-height: 38px; padding: 3px 4px; gap: 4px; font-size: 11px; }
  .thiqa-pack-bar__items img { width: 24px; height: 24px; }
  .thiqa-pack-bar__items button { margin-left: auto; font-size: 16px; }
  body a.button.thiqa-pack-bar__order { min-height: 40px; padding: 8px 12px !important; }
  body.thiqa-pack-open { padding-bottom: 150px; }
}

/* Language switcher (TranslatePress floater) above the pack bar */
#trp-floater-ls {
  z-index: 9991 !important;
}
body.thiqa-pack-open #trp-floater-ls {
  bottom: 100px !important;
}
@media (max-width: 767px) {
  body.thiqa-pack-open #trp-floater-ls {
    bottom: 160px !important;
  }
  /* keep the switcher clear of the theme's mobile bottom menu */
  body:not(.thiqa-pack-open) #trp-floater-ls {
    bottom: 64px !important;
  }
}
/* RTL: pack bar and buttons */
html[dir="rtl"] .thiqa-pack-bar__items button {
  margin-left: 0;
  margin-right: auto;
}
html[dir="rtl"] .thiqa-pack-bar__items li {
  text-align: right;
}

/* TranslatePress v3 floating switcher: keep it above the pack bar and the mobile bottom menu */
.trp-floating-switcher {
  z-index: 9991 !important;
  margin: 12px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
body.thiqa-pack-open .trp-floating-switcher {
  bottom: 96px !important;
}
@media (max-width: 767px) {
  .trp-floating-switcher {
    bottom: 56px !important;
  }
  body.thiqa-pack-open .trp-floating-switcher {
    bottom: 150px !important;
  }
}

/* Header language switcher (next to account / wishlist) */
.thiqa-lang-switch .trp-language-switcher {
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
}
.thiqa-lang-switch .trp-language-switcher a,
.thiqa-lang-switch .trp-language-switcher .trp-language-item {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 4px 10px !important;
  border: 1px solid #e6dbd0;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: inherit;
}
.thiqa-lang-switch .trp-language-switcher a:hover {
  border-color: var(--tb-theme-color, #a0522d);
  color: var(--tb-theme-color, #a0522d);
}
html[dir="rtl"] .thiqa-lang-switch {
  margin-left: 0 !important;
  margin-right: 18px !important;
}
/* Desktop has the header switcher: hide the floating one there (kept on phones/tablets). */
@media (min-width: 1200px) {
  .trp-floating-switcher {
    display: none !important;
  }
}
/* Header icons + language switcher on one line (both directions) */
.elementor-element-d3b67e6 > .elementor-widget-wrap,
.elementor-element-d3b67e6 > .elementor-column-wrap > .elementor-widget-wrap {
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.thiqa-lang-switch,
.thiqa-lang-switch .elementor-shortcode {
  line-height: 1;
}
.thiqa-lang-switch {
  flex-shrink: 0 !important;
}
.thiqa-lang-switch .trp-language-switcher,
.thiqa-lang-switch .trp-language-item,
.thiqa-lang-switch .trp-language-item * {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  width: auto !important;
}
.thiqa-lang-switch .trp-language-item img,
.thiqa-lang-switch .trp-flag-image {
  width: 18px !important;
  height: auto !important;
  max-width: 18px !important;
  flex: 0 0 18px;
}
html[dir="rtl"] .elementor-element-d3b67e6 > .elementor-widget-wrap {
  padding-left: 15px !important;
}
html[dir="rtl"] .thiqa-lang-switch {
  margin-right: 12px !important;
}

/* Arabic (RTL): home slider text on the right, arrows padding mirrored */
html[dir="rtl"] .elementor-widget-slides .swiper-slide-inner {
  text-align: right !important;
  padding: 0 120px 0 40px !important;
  justify-content: flex-start;
}
html[dir="rtl"] .elementor-widget-slides .swiper-slide-inner .elementor-slide-content {
  margin-right: 0;
  margin-left: auto;
}
@media (max-width: 767px) {
  html[dir="rtl"] .elementor-widget-slides .swiper-slide-inner {
    padding: 0 50px !important;
  }
}
/* RTL slider, refined: products sit on the right of the photos, so the Arabic text block stays in
   the empty left area while the text itself reads right-to-left (right aligned). */
html[dir="rtl"] .elementor-widget-slides .swiper-slide-inner {
  padding: 0 40px 0 120px !important;
  justify-content: flex-end !important;
}
html[dir="rtl"] .elementor-widget-slides .swiper-slide-contents {
  max-width: 46% !important;
  text-align: right !important;
}
@media (max-width: 767px) {
  html[dir="rtl"] .elementor-widget-slides .swiper-slide-inner {
    padding: 0 50px !important;
    justify-content: center !important;
  }
  html[dir="rtl"] .elementor-widget-slides .swiper-slide-contents {
    max-width: 100% !important;
  }
}
/* Final: Arabic slider text block on the RIGHT, read right-to-left (French stays on the left). */
html[dir="rtl"] .elementor-widget-slides .swiper-slide-inner {
  padding: 0 120px 0 40px !important;
  justify-content: flex-start !important; /* flex-start = right side in RTL */
}
html[dir="rtl"] .elementor-widget-slides .swiper-slide-contents {
  max-width: 50% !important;
  margin-right: 0 !important;
  margin-left: auto !important;
  text-align: right !important;
}
html[dir="rtl"] .elementor-widget-slides .elementor-slide-heading,
html[dir="rtl"] .elementor-widget-slides .elementor-slide-description {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
@media (max-width: 767px) {
  html[dir="rtl"] .elementor-widget-slides .swiper-slide-inner {
    padding: 0 50px !important;
  }
  html[dir="rtl"] .elementor-widget-slides .swiper-slide-contents {
    max-width: 100% !important;
  }
}

/* Arabic (RTL) footer: headings on the right like the links, phone number kept left-to-right */
html[dir="rtl"] .elementor-3722 .heading-tbay-title,
html[dir="rtl"] .elementor-3722 .heading-tbay-title .title {
  text-align: right !important;
  justify-content: flex-start !important;
}
html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] .elementor-3722 .elementor-icon-box-description,
html[dir="rtl"] .elementor-3722 .elementor-icon-box-title {
  unicode-bidi: plaintext;
}

/* Arabic footer: heading underlines on the right, phone icon right next to the number */
html[dir="rtl"] .elementor-3722 .elementor-divider {
  text-align: right !important;
}
html[dir="rtl"] .elementor-3722 .elementor-divider-separator {
  margin-left: auto !important;
  margin-right: 0 !important;
}
html[dir="rtl"] .elementor-3722 .elementor-icon-box-wrapper {
  flex-direction: row !important;
  justify-content: flex-start !important;
  text-align: right !important;
}
html[dir="rtl"] .elementor-3722 .elementor-icon-box-content {
  flex: 0 1 auto !important;
  text-align: right !important;
}

/* Category menu: custom perfume icons (mask = follows text colour) */
.thiqa-ico{display:inline-block !important;width:22px !important;height:22px !important;flex:0 0 22px;background-color:currentColor;-webkit-mask:var(--thiqa-ico) center/contain no-repeat;mask:var(--thiqa-ico) center/contain no-repeat;font-size:0 !important;vertical-align:middle;}
.thiqa-ico:before{content:none !important;}
.thiqa-ico-packs{--thiqa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='9' width='17' height='4' rx='0.8'/%3E%3Cpath d='M5 13v8h14v-8M12 9v12'/%3E%3Cpath d='M12 9c-1.5-3.5-5.5-4.5-5.5-2 0 1.5 2.5 2 5.5 2zM12 9c1.5-3.5 5.5-4.5 5.5-2 0 1.5-2.5 2-5.5 2z'/%3E%3C/svg%3E");}
.thiqa-ico-femme{--thiqa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='2.5' width='4' height='3' rx='0.8'/%3E%3Cpath d='M10.8 5.5v2.4M13.2 5.5v2.4'/%3E%3Ccircle cx='12' cy='14.9' r='6.4'/%3E%3Cpath d='M12 8l-2.7-1.5v3zM12 8l2.7-1.5v3z'/%3E%3C/svg%3E");}
.thiqa-ico-homme{--thiqa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.5' y='2.5' width='7' height='3.5' rx='0.6'/%3E%3Cpath d='M10.5 6v2M13.5 6v2'/%3E%3Crect x='5.5' y='8' width='13' height='13.5' rx='1.6'/%3E%3Cpath d='M9 13.5h6'/%3E%3C/svg%3E");}
.thiqa-ico-mixte{--thiqa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.6' y='5' width='3' height='2.5' rx='0.5'/%3E%3Cpath d='M6.1 7.5v2.4'/%3E%3Ccircle cx='6.1' cy='14.6' r='4.6'/%3E%3Crect x='15' y='3' width='4' height='3' rx='0.5'/%3E%3Cpath d='M17 6v2'/%3E%3Crect x='13.5' y='8' width='7' height='13' rx='1.2'/%3E%3C/svg%3E");}
/* 'Parcourir les catégories' on one line */
.category-inside-title .click-show-menu{display:flex !important;align-items:center;gap:10px;white-space:nowrap;}
.category-inside-title .click-show-menu span{overflow:hidden;text-overflow:ellipsis;}
@media (max-width:1399px){.category-inside-title .click-show-menu{font-size:14px !important;gap:8px;}}
@media (max-width:1199px){.category-inside-title .click-show-menu{font-size:13px !important;}}

/* Top announcement bar: smaller on desktop */
.elementor-939 .elementor-element.elementor-element-170134d {
  font-size: 13px !important;
  line-height: 18px !important;
  padding: 8px 0 !important;
  letter-spacing: 0.02em;
}
/* Phones/tablets: scrolling announcement bar */
.thiqa-mbar {
  display: none;
}
@media (max-width: 1199px) {
  .thiqa-mbar {
    display: block;
    overflow: hidden;
    background: var(--tb-theme-color, #a0522d);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 30px;
    white-space: nowrap;
  }
  .thiqa-mbar__track {
    display: inline-flex;
    animation: thiqa-marquee 22s linear infinite;
  }
  .thiqa-mbar__item {
    padding: 0 28px;
  }
  .thiqa-mbar__item::after {
    content: "•";
    margin-inline-start: 56px;
    opacity: 0.6;
  }
  html[dir="rtl"] .thiqa-mbar__track {
    animation-name: thiqa-marquee-rtl;
  }
}
@keyframes thiqa-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes thiqa-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .thiqa-mbar__track {
    animation: none !important;
  }
}

/* Top bar: a bit bigger than the previous 13px; mobile bar 13px */
.elementor-939 .elementor-element.elementor-element-170134d {
  font-size: 15px !important;
  line-height: 20px !important;
  padding: 10px 0 !important;
}
@media (max-width: 1199px) {
  .thiqa-mbar {
    font-size: 13px;
    line-height: 34px;
  }
}
/* Mobile bottom bar: custom packs icon + WhatsApp green */
.footer-device-mobile .thiqa-ico {
  width: 22px !important;
  height: 22px !important;
}
.footer-device-mobile a[href*="wa.me"] i {
  color: #25d366;
}

/* Mobile: scrolling bar fixed on top of the theme's fixed mobile header */
@media (max-width: 1199px) {
  .thiqa-mbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1003;
    height: 34px;
  }
  .topbar-device-mobile {
    top: 34px !important;
  }
  .wrapper-container {
    margin-top: 34px;
  }
}

/* Mobile side menu */
.thiqa-mm .mm-panel {
  padding-bottom: 24px;
}
.thiqa-mm-head {
  display: flex;
  justify-content: center;
  padding: 18px 0 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid #eee5dc;
}
.thiqa-mm-head img {
  width: 96px;
  height: auto;
}
.thiqa-mm .mm-listitem {
  border-color: #f1ebe5 !important;
}
.thiqa-mm .mm-listitem > a,
.thiqa-mm .mm-listitem__text {
  font-size: 15px;
  padding-top: 13px !important;
  padding-bottom: 13px !important;
}
.thiqa-mm .mm-listitem.current-menu-item > a,
.thiqa-mm .mm-listitem > a:hover {
  color: var(--tb-theme-color, #a0522d) !important;
}
.thiqa-mm-foot {
  margin: 22px 20px 0;
  text-align: center;
}
.thiqa-mm-wa {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px !important;
  border-radius: 8px;
  background: #25d366;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.thiqa-mm-wa i {
  font-size: 18px;
}
.thiqa-mm-lang {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.thiqa-mm-lang .trp-language-switcher {
  margin: 0 !important;
}
.thiqa-mm-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #7a6f66;
}

/* Mobile: Chaty bubble above the bottom bar; language lives in the side menu, so no floating switcher on phones */
@media (max-width: 1199px) {
  .chaty-widget,
  .chaty .chaty-widget,
  #chaty-widget-0 {
    bottom: 78px !important;
  }
  .chaty-channel-cta-text,
  .chaty-cta-text,
  .chaty-tooltip {
    display: none !important;
  }
  body.thiqa-pack-open .chaty-widget,
  body.thiqa-pack-open #chaty-widget-0 {
    bottom: 170px !important;
  }
  .trp-floating-switcher {
    display: none !important;
  }
}
.footer-device-mobile .thiqa-ico {
  display: block !important;
  margin: 0 auto 2px !important;
}

/* Mobile side menu: active page highlighted */
.thiqa-mm .mm-listitem.current-menu-item > a,
.thiqa-mm .mm-listitem.current-menu-ancestor > a,
.thiqa-mm .mm-listitem.current_page_item > a {
  background: #f6eee7 !important;
  color: var(--tb-theme-color, #a0522d) !important;
  font-weight: 600;
  border-inline-start: 3px solid var(--tb-theme-color, #a0522d);
}

/* Chaty widget above the pack bar on every screen size */
body.thiqa-pack-open .chaty-widget,
body.thiqa-pack-open #chaty-widget-0 {
  bottom: 100px !important;
}
@media (max-width: 1199px) {
  body.thiqa-pack-open .chaty-widget,
  body.thiqa-pack-open #chaty-widget-0 {
    bottom: 170px !important;
  }
}

/* Home category cards: keep titles readable over the new photos */
.elementor-element-a63dff2 .heading-tbay-title, .elementor-element-a63dff2 .elementor-widget-text-editor,
.elementor-element-65de2e6 .heading-tbay-title, .elementor-element-65de2e6 .elementor-widget-text-editor,
.elementor-element-45ab048 .heading-tbay-title, .elementor-element-45ab048 .elementor-widget-text-editor,
.elementor-element-da5aa07 .heading-tbay-title, .elementor-element-da5aa07 .elementor-widget-text-editor,
.elementor-element-52651d6 .heading-tbay-title, .elementor-element-52651d6 .elementor-widget-text-editor,
.elementor-element-655ac24 .heading-tbay-title, .elementor-element-655ac24 .elementor-widget-text-editor {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.6);
}

/* Panier (cart drawer) */
body .thiqa-card-cart button.button.thiqa-cart-add,
body button.button.thiqa-cart-add,
body button.button.thiqa-pack-bar__order {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px !important;
  border: 1px solid var(--tb-theme-color, #a0522d) !important;
  border-radius: 6px !important;
  background: var(--tb-theme-color, #a0522d) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  text-transform: none !important;
  cursor: pointer;
}
body button.button.thiqa-cart-add:hover,
body button.button.thiqa-pack-bar__order:not(.is-disabled):hover {
  background: #fff !important;
  color: var(--tb-theme-color, #a0522d) !important;
}
body button.button.thiqa-wa-btn--large {
  min-height: 52px;
  font-size: 16px !important;
}
body button.button.thiqa-pack-bar__order {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}
body button.button.thiqa-pack-bar__order.is-disabled {
  background: #cfcfcf !important;
  border-color: #cfcfcf !important;
  cursor: not-allowed;
}
@media (max-width: 767px) {
  body button.button.thiqa-pack-bar__order { width: 100%; }
}
@media (max-width: 575px) {
  body button.button.thiqa-pack-bar__order { min-height: 40px; padding: 8px 12px !important; }
  body .product-block .thiqa-card-cart button.button.thiqa-cart-add {
    min-height: 38px;
    padding: 8px 10px !important;
    font-size: 13px !important;
  }
}

.thiqa-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
}
.thiqa-cart-overlay.is-open { opacity: 1; }
.thiqa-cart {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s 0.3s;
}
.thiqa-cart.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.3s ease;
}
html[dir="rtl"] .thiqa-cart {
  right: auto;
  left: 0;
  transform: translateX(-105%);
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.18);
}
html[dir="rtl"] .thiqa-cart.is-open { transform: none; }
html.thiqa-cart-on,
html.thiqa-cart-on body { overflow: hidden; }
.thiqa-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.thiqa-cart__head strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: #222;
}
.thiqa-cart__head strong i { color: var(--tb-theme-color, #a0522d); font-size: 22px; }
.thiqa-cart__close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: #333;
  font-size: 24px;
  line-height: 36px;
  cursor: pointer;
}
.thiqa-cart__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 20px;
}
.thiqa-cart__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.thiqa-cart__line {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.thiqa-cart__line > img,
.thiqa-cart__ph {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  background: #f6eee7;
}
.thiqa-cart__info { flex: 1 1 auto; min-width: 0; }
.thiqa-cart__info strong { display: block; font-size: 15px; color: #222; }
.thiqa-cart__info ul {
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}
.thiqa-cart__info ul li::before { content: "• "; color: var(--tb-theme-color, #a0522d); }
.thiqa-cart__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.thiqa-cart__qty button {
  width: 32px;
  height: 30px;
  padding: 0;
  border: 0;
  background: #fafafa;
  color: #333;
  font-size: 16px;
  line-height: 30px;
  cursor: pointer;
}
.thiqa-cart__qty span { min-width: 32px; text-align: center; font-weight: 600; }
.thiqa-cart__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex: 0 0 auto;
}
.thiqa-cart__price { font-weight: 700; color: var(--tb-theme-color, #a0522d); white-space: nowrap; }
.thiqa-cart__del {
  padding: 0 4px;
  border: 0;
  background: none;
  color: #999;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.thiqa-cart__del:hover { color: #c0392b; }
.thiqa-cart__empty { display: none; padding: 40px 0; text-align: center; color: #555; }
.thiqa-cart.is-empty .thiqa-cart__empty { display: block; }
.thiqa-cart.is-empty .thiqa-cart__foot { display: none; }
.thiqa-cart__empty p { margin-bottom: 16px; }
body a.button.thiqa-cart__cta {
  display: inline-block;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  background: var(--tb-theme-color, #a0522d) !important;
  color: #fff !important;
  text-transform: none !important;
}
.thiqa-cart__sent {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 6px;
  background: #e8f9ef;
  color: #1a7f45;
  font-size: 14px;
  text-align: center;
}
.thiqa-cart__sent[hidden] { display: none; }
.thiqa-cart__foot {
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid #eee;
  background: #fff;
}
.thiqa-cart__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 16px;
  color: #222;
}
.thiqa-cart__total small { color: #777; font-size: 13px; }
.thiqa-cart__sum { font-size: 22px; color: var(--tb-theme-color, #a0522d); }
.thiqa-cart__note { margin: 4px 0 12px; font-size: 13px; color: #1a7f45; }
.thiqa-cart__more {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #555 !important;
  text-decoration: underline;
}

/* Cart badges: header icons and mobile bottom bar "Panier" */
.footer-device-mobile a[href="#thiqa-cart"] .menu-icon-child { position: relative; }
.thiqa-cart-badge {
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--tb-theme-color, #a0522d);
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.thiqa-cart-badge.is-empty { display: none; }

/* Header cart icon opens the panier drawer; no flag in the language switcher */
.tbay-element-mini-cart .dropdown-menu {
  display: none !important;
}
.elementor-widget-tbay-mini-cart .mini-cart {
  display: inline-flex !important;
  cursor: pointer;
}
.elementor-widget-tbay-mini-cart .mini-cart-items.is-empty {
  display: none;
}
.thiqa-lang-switch .trp-language-item img,
.thiqa-lang-switch .trp-flag-image,
.thiqa-mm-lang .trp-flag-image {
  display: none !important;
}

/* Header icons order: account, wishlist, panier, then language at the end */
.elementor-element-d3b67e6 .elementor-element-d38df21 { order: 1; }
.elementor-element-d3b67e6 .elementor-element-cf1cbd9 { order: 2; }
.elementor-element-d3b67e6 .elementor-element-37426c5 { order: 3; margin-inline-start: 14px !important; }
.elementor-element-d3b67e6 .elementor-element-9b73ec6 { order: 4; }
html[dir="rtl"] .elementor-element-d3b67e6 > .elementor-widget-wrap {
  padding-right: 0 !important;
  padding-left: 0 !important;
  justify-content: flex-end !important;
}
.elementor-element-d3b67e6 .elementor-element-37426c5 { margin-inline-start: 10px !important; }
html[dir="rtl"] .elementor-element-d3b67e6 .elementor-element-9b73ec6.thiqa-lang-switch { margin-right: 10px !important; margin-left: 0 !important; }

/* Header icons: no grey background, even and tighter spacing */
.elementor-element-d3b67e6 > .elementor-widget-wrap {
  background: transparent !important;
  gap: 16px !important;
  justify-content: flex-end !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.elementor-element-d3b67e6 > .elementor-widget-wrap > .elementor-element,
.elementor-element-d3b67e6 > .elementor-widget-wrap > .elementor-element > .elementor-widget-container,
html[dir="rtl"] .elementor-element-d3b67e6 .elementor-element-9b73ec6.thiqa-lang-switch,
.elementor-element-d3b67e6 .elementor-element-9b73ec6.thiqa-lang-switch {
  margin: 0 !important;
}
.elementor-element-d3b67e6 .elementor-element-37426c5 { margin-inline-start: 0 !important; }
@media (min-width: 1200px) {
  .elementor-element-ab3c07f .elementor-element-d3b67e6 { width: auto !important; flex: 0 0 auto; }
  .elementor-element-ab3c07f .elementor-element-78a3c28 { width: auto !important; flex: 1 1 auto; min-width: 0; }
}
.elementor-element-d3b67e6 > .elementor-widget-wrap { padding-inline-end: 15px !important; }

/* Panier: multi-pack offer and extra perfumes */
.thiqa-cart__promo {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f6eee7;
  color: var(--tb-theme-color, #a0522d);
  font-size: 13px;
  font-weight: 600;
}
.thiqa-cart__promo.is-on { background: #e8f9ef; color: #1a7f45; }
.thiqa-cart__extra {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--tb-theme-color, #a0522d);
}
