/* ===== Tazi Care design tokens (TC brand guide) — first in file for var() use ===== */
:root {
  --tazi-charcoal: #282726;
  --tazi-warm-beige: #e0dbd6;
  --tazi-sage: #c1c7b0;
  --tazi-sage-dark: #aab190;
  --tazi-linen-green: #b2b79f;

  --tazi-section-padding-desktop: 90px 7%;
  --tazi-section-padding-tablet: 70px 24px;
  --tazi-section-padding-mobile: 56px 18px;

  --tazi-hero-header-clearance: clamp(168px, calc(14vh + 72px), 340px);

  --tazi-section-gap-desktop: 70px;
  --tazi-section-gap-tablet: 42px;

  --tazi-brown: var(--tazi-charcoal);
  --tazi-brown-dark: #1c1b1a;
  --tazi-heading: var(--tazi-charcoal);
  --tazi-text: #3d3b39;
  --tazi-muted: #5c5855;
  --tazi-white: #ffffff;
  --tazi-soft-border: rgba(40, 39, 38, 0.14);
  --tazi-soft-shadow: 0 18px 45px rgba(40, 39, 38, 0.08);

  --tazi-link-hover: var(--tazi-sage-dark);
  --tazi-secondary-cta-bg: var(--tazi-sage);
  --tazi-secondary-cta-fg: var(--tazi-charcoal);
  --tazi-secondary-cta-border: var(--tazi-sage-dark);

  --tazi-charcoal-press: #1f1e1d;
  --tazi-charcoal-muted: rgba(40, 39, 38, 0.38);
}

/* ===== Base product card alignment ===== */
.woocommerce ul.products li.product {
  text-align: center;
}

/* Center key content */
.woocommerce ul.products li.product :is(
  .kt-product-content,
  .entry-content,
  .woocommerce-loop-product__title,
  .price,
  .star-rating,
  .kt-product-bottom
) {
  text-align: center;
}

/* ===== Always show action area (disable hover reveal) ===== */
.woocommerce ul.products li.product :is(
  .kt-product-bottom,
  .product-action,
  .entry-actions,
  .hover-area,
  .product-action-wrap
) {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  position: static;
  height: auto;
}

/* Prevent hover overrides */
.woocommerce ul.products li.product:hover :is(
  .kt-product-bottom,
  .product-action,
  .entry-actions,
  .hover-area,
  .product-action-wrap
) {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ===== Center action wrappers properly ===== */
.woocommerce ul.products li.product :is(
  .kt-product-bottom,
  .product-action,
  .entry-actions
) {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* ===== Button styling ===== */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  max-width: 220px;

  margin: 0 auto;

  white-space: nowrap;

  background: var(--tazi-sage);
  border: 1px solid var(--tazi-sage);
  color: var(--tazi-charcoal);

  border-radius: 999px;
  padding: 0.65em 1.2em;
  font-weight: 600;

  transition: all 0.25s ease;
}

/* Hover / active */
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
  background: var(--tazi-sage-dark);
  border-color: var(--tazi-sage-dark);
  color: var(--tazi-charcoal);
  padding: 0.65em 1.2em;
}

/* Accessibility focus */
.woocommerce ul.products li.product .button:focus-visible {
  outline: 2px solid var(--tazi-charcoal);
  outline-offset: 2px;
}

/* Keep product CTA stable on phone widths */
@media (max-width: 768px) {
  .woocommerce ul.products li.product :is(
    .kt-product-bottom,
    .product-action,
    .entry-actions,
    .product-action-wrap
  ) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
  }

  /* Make buttons full-width, readable and tappable on phones */
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.add_to_cart_button,
  .woocommerce ul.products li.product a.button {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.9em 1rem !important;
    font-size: 15px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    background: var(--tazi-charcoal) !important;
    color: var(--tazi-white) !important;
    border: 1px solid var(--tazi-charcoal) !important;
  }

  .woocommerce ul.products li.product .button:hover,
  .woocommerce ul.products li.product a.add_to_cart_button:hover {
    background: var(--tazi-charcoal-press) !important;
    border-color: var(--tazi-charcoal-press) !important;
    color: var(--tazi-white) !important;
  }

  .woocommerce ul.products li.product a.added_to_cart,
  .woocommerce ul.products li.product .added_to_cart {
    position: static !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    color: var(--tazi-secondary-cta-fg, #282726) !important;
    background: var(--tazi-secondary-cta-bg, #c1c7b0) !important;
    border: 1px solid var(--tazi-secondary-cta-border, #aab190) !important;
    padding: 0.75em 1rem !important;
    border-radius: 10px !important;
  }

  /* Ensure action area isn't clipped by parent containers */
  .woocommerce ul.products li.product {
    overflow: visible !important;
  }
}

/* Added-to-cart link */
.woocommerce a.added_to_cart {
  display: block;
  text-align: center;
  color: var(--tazi-charcoal, #282726);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Clean spacing reset ===== */
.woocommerce ul.products li.product :is(
  .product-details,
  .kt-product-content
) {
  padding-inline: 0;
  margin-inline: auto;
}

/* ===== REMOVE old ugly SOLD OUT (pin / badge / images) — shop + single product ===== */
.woocommerce ul.products li.product.outofstock .onsale,
.woocommerce ul.products li.product.outofstock .kt-onsale,
.woocommerce ul.products li.product.outofstock .product-badge,
.woocommerce ul.products li.product.outofstock .badge,
.woocommerce ul.products li.product.outofstock [class*="sale"],
.woocommerce ul.products li.product.outofstock [class*="badge"],
.woocommerce ul.products li.product.outofstock img[alt*="sold"],
.woocommerce ul.products li.product.outofstock img[src*="sold"],
.single-product div.product.outofstock .onsale,
.single-product div.product.outofstock .kt-onsale,
.single-product div.product.outofstock .product-badge,
.single-product div.product.outofstock .badge,
.single-product div.product.outofstock [class*="sale"],
.single-product div.product.outofstock [class*="badge"],
.single-product div.product.outofstock .woocommerce-product-gallery__image img[alt*="sold"],
.single-product div.product.outofstock .woocommerce-product-gallery__image img[src*="sold"],
.single-product div.product.outofstock .woocommerce-product-gallery__image img[alt*="Sold"],
.single-product div.product.outofstock .woocommerce-product-gallery__image img[src*="Sold"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="sold-out"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="sold_out"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="out-of-stock"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="out_of_stock"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="stock-badge"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="product-label"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="product_label"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="shop-kit"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="shop_kit"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="kadence-wc"],
.single-product div.product.outofstock .woocommerce-product-gallery [class*="wc-pb-"],
.single-product div.product.outofstock .woocommerce-product-gallery .wc-product-badge,
.single-product div.product.outofstock .woocommerce-product-gallery .wc-block-components-product-image__badge {
  display: none !important;
}

/* Extra imgs in the slide (e.g. Kadence “image” badge) — keep main + zoom helper only */
.single-product div.product.outofstock .woocommerce-product-gallery__image > img:not(.wp-post-image):not(.zoomImg),
.single-product div.product.outofstock .woocommerce-product-gallery__image a > img:not(.wp-post-image) {
  display: none !important;
}

/* Remove any background/pin injected via pseudo elements */
.woocommerce ul.products li.product.outofstock *::before,
.woocommerce ul.products li.product.outofstock *::after {
  background-image: none !important;
}

/*
 * Single product gallery: kill theme / Shop Kit badge pseudo-layers on real nodes.
 * (Does not target .woocommerce-product-gallery__image::after — that is our diagonal.)
 */
.single-product div.product.outofstock .woocommerce-product-gallery__image > *::before,
.single-product div.product.outofstock .woocommerce-product-gallery__image > *::after,
.single-product div.product.outofstock .woocommerce-product-gallery__image a::before,
.single-product div.product.outofstock .woocommerce-product-gallery__image a::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ===== Prepare IMAGE container ===== */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .product-thumbnail {
  position: relative;
  overflow: hidden;
}

/* ===== MODERN DIAGONAL SOLD OUT ===== */
.woocommerce ul.products li.product.outofstock
.woocommerce-LoopProduct-link::after,
.woocommerce ul.products li.product.outofstock
.product-thumbnail::after {
  content: "SOLD OUT";
  position: absolute;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-28deg);

  font-size: 38px;
  font-weight: 900;
  letter-spacing: 4px;

  color: var(--tazi-charcoal-muted);

  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

/*
 * Single product gallery — same diagonal treatment as shop cards.
 * HTML ref: .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper >
 *   .woocommerce-product-gallery__image (position: relative; overflow: hidden)
 * Label: --tazi-gallery-sold-out set on #product-{id} in functions.php (WPML-safe).
 */
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
  position: relative !important;
  overflow: hidden !important;
}

.single-product div.product.outofstock
.woocommerce-product-gallery__wrapper
.woocommerce-product-gallery__image::after {
  content: var(--tazi-gallery-sold-out, "SOLD OUT") !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) rotate(-28deg) !important;

  font-size: clamp(26px, 4.5vw, 38px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;

  color: var(--tazi-charcoal-muted) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  z-index: 10050 !important;
}

.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a > img.wp-post-image,
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > img.wp-post-image {
  opacity: 0.9 !important;
}

/*
 * Pin / image badge often lives OUTSIDE .woocommerce-product-gallery__image:
 * WC + themes print sale/stock badges as siblings before the gallery markup.
 */
.single-product div.product.outofstock div.images > .onsale,
.single-product div.product.outofstock div.images > .kt-onsale,
.single-product div.product.outofstock div.images > .product-badge,
.single-product div.product.outofstock div.images > .badge,
.single-product div.product.outofstock div.images > [class*="badge"]:not(.woocommerce-product-gallery),
.single-product div.product.outofstock div.images > [class*="Badge"]:not(.woocommerce-product-gallery),
.single-product div.product.outofstock div.images > [class*="label"]:not(.woocommerce-product-gallery),
.single-product div.product.outofstock div.images > [class*="Label"]:not(.woocommerce-product-gallery),
.single-product div.product.outofstock .woocommerce-product-gallery > span:not(.woocommerce-product-gallery__trigger),
.single-product div.product.outofstock .woocommerce-product-gallery > div[class*="badge"],
.single-product div.product.outofstock .woocommerce-product-gallery > div[class*="Badge"],
.single-product div.product.outofstock .woocommerce-product-gallery > div[class*="label"],
.single-product div.product.outofstock .woocommerce-product-gallery > div[class*="Label"] {
  display: none !important;
}

/* Pin / sign often painted on the images column shell (not only __image children) */
.single-product div.product.outofstock div.images::before,
.single-product div.product.outofstock div.images::after,
.single-product div.product.outofstock .woocommerce-product-gallery::before,
.single-product div.product.outofstock .woocommerce-product-gallery::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* Kadence / Shop Kit image badge wrappers (names vary by version) */
.single-product div.product.outofstock .kt-product-image-badge,
.single-product div.product.outofstock .kt-woo-product-badge,
.single-product div.product.outofstock [class*="kt-product-image"][class*="badge"],
.single-product div.product.outofstock [class*="product-image-badge"],
.single-product div.product.outofstock [class*="woo-image-badge"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/*
 * Second “Out of stock” on the product image (horizontal strip vs our diagonal ::after).
 * WooCommerce / Kadence / Shop Kit often inject .stock, spans, or badge divs inside the slide.
 */
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > span,
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > p.stock,
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image .stock,
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image p.stock,
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image [class*="product-stock"],
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image [class*="product_stock"],
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image [class*="image-label"],
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image [class*="image_label"],
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image [class*="status-label"],
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image [class*="status_label"],
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image [class*="wc-block"][class*="badge"],
.single-product div.product.outofstock .woocommerce-product-gallery figure .stock,
.single-product div.product.outofstock .woocommerce-product-gallery figure p.stock,
.single-product div.product.outofstock div.images .wp-block-woocommerce-product-stock-indicator,
.single-product div.product.outofstock div.images [class*="wp-block-woocommerce"][class*="stock"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Nuclear: any extra node on the slide that is not the zoom link or zoom helper image */
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > *:not(a):not(img.zoomImg) {
  display: none !important;
}

.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a > span,
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a > div,
.single-product div.product.outofstock .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a > p {
  display: none !important;
}

/* ===== Slight image fade ===== */
.woocommerce ul.products li.product.outofstock img {
  opacity: 0.9;
}

/* ===== Hide useless button ===== */
.woocommerce ul.products li.product.outofstock .button {
  display: none;
}

/* ==============================
   WPML + HEADER + NAVBAR FIX
   Tazi Care
============================== */

/* WPML footer switcher is enabled (styled later under #colophon). */

/* Header container */
.site-header .site-container,
.site-header-row-container-inner .site-container {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Header background */
.site-header,
.site-header-row-container-inner {
  background: var(--tazi-warm-beige) !important;
}

/* Logo centered */
.site-branding,
.site-branding a.brand {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Main nav layout */
.main-navigation .primary-menu-container > ul,
.secondary-navigation .secondary-menu-container > ul {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
}

/* Nav links */
.main-navigation .primary-menu-container > ul > li > a,
.secondary-navigation .secondary-menu-container > ul > li > a {
  padding-left: 8px !important;
  padding-right: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em;
  color: var(--tazi-charcoal) !important;
  white-space: nowrap !important;
}

/* Nav hover */
.main-navigation .primary-menu-container > ul > li > a:hover,
.secondary-navigation .secondary-menu-container > ul > li > a:hover {
  color: var(--tazi-link-hover, #aab190) !important;
}

/* WPML switcher general */
.site-header .wpml-ls,
#masthead .wpml-ls {
  font-size: 13px !important;
  margin: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 15 !important;
  max-width: 100% !important;
  white-space: normal !important;
}

/* WPML links */
.site-header .wpml-ls a,
#masthead .wpml-ls a {
  background: transparent !important;
  border: none !important;
  color: var(--tazi-charcoal) !important;
  font-weight: 500 !important;
  padding: 4px 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.site-header .wpml-ls-menu-item .wpml-ls-native,
#masthead .wpml-ls-menu-item .wpml-ls-native {
  white-space: normal !important;
}

/* Flags */
.site-header .wpml-ls-flag,
#masthead .wpml-ls-flag {
  width: 18px !important;
  height: 18px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  margin-inline-end: 6px !important;
  vertical-align: middle !important;
  box-shadow: 0 0 0 1px rgba(40, 39, 38, 0.08);
}

/* WPML dropdown */
.site-header .wpml-ls-sub-menu,
#masthead .wpml-ls-sub-menu {
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
  background: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  top: 100% !important;
  inset-inline-start: 0 !important;
  inset-inline-end: auto !important;
  display: block !important;
  position: absolute !important;
  min-width: 150px !important;
  z-index: 1000 !important;
}

.site-header .wpml-ls-menu-item,
#masthead .wpml-ls-menu-item {
  overflow: visible !important;
  position: relative !important;
}

.site-header .site-header-item,
#masthead .site-header-item {
  overflow: visible !important;
}

.site-header .wpml-ls-sub-menu a,
#masthead .wpml-ls-sub-menu a {
  padding: 10px 14px !important;
  background: #fff !important;
}

.site-header .wpml-ls-sub-menu a:hover,
#masthead .wpml-ls-sub-menu a:hover {
  background: #ebe6e0 !important;
}

/* Force language switcher visibility in Kadence header slots */
.site-header .site-header-item .wpml-ls,
#masthead .site-header-item .wpml-ls,
.site-header .header-widget-area .wpml-ls,
#masthead .header-widget-area .wpml-ls,
.mobile-header-navigation .wpml-ls,
.site-header .mobile-navigation .wpml-ls {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

/* ==============================
   Shipping banner
============================== */

.tazi-promo,
.kadence-header-html,
.header-html,
.site-header-item .header-html-inner {
  width: min(1120px, calc(100% - 48px)) !important;
  min-height: 76px !important;
  margin: 24px auto !important;
  padding: 16px 28px !important;
  background: linear-gradient(
    100deg,
    var(--tazi-warm-beige, #e0dbd6) 0%,
    var(--tazi-linen-green, #b2b79f) 55%,
    var(--tazi-sage, #c1c7b0) 100%
  ) !important;
  color: var(--tazi-charcoal, #282726) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  border-radius: 22px !important;
  border: 1px solid rgba(40, 39, 38, 0.14) !important;
  box-shadow: none !important;
}

.tazi-promo p,
.kadence-header-html p,
.header-html p,
.header-html-inner p {
  margin: 0 !important;
  font-size: clamp(18px, 2vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.01em !important;
  color: var(--tazi-charcoal, #282726) !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance !important;
}

header.woocommerce-products-header .page-description p {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  max-width: 100% !important;
  font-size: clamp(16px, 1.8vw, 30px) !important;
}

/* Ensure "Free shipping" text never disappears (spans/strong/links/icons) */
.tazi-promo *,
.kadence-header-html *,
.header-html *,
.header-html-inner * {
  color: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* Shop/archive banner spacing refinement */
.woocommerce-page .tazi-promo,
.woocommerce .tazi-promo,
.woocommerce-page .kadence-header-html,
.woocommerce .kadence-header-html {
  margin-top: 14px !important;
  margin-bottom: 30px !important;
}

@media (max-width: 768px) {
  .tazi-promo,
  .kadence-header-html,
  .header-html,
  .site-header-item .header-html-inner {
    width: calc(100% - 24px) !important;
    min-height: 58px !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
  }

  .tazi-promo p,
  .kadence-header-html p,
  .header-html p,
  .header-html-inner p {
    font-size: clamp(14px, 3.8vw, 20px) !important;
    line-height: 1.24 !important;
  }

  header.woocommerce-products-header .page-description p {
    font-size: clamp(12px, 3.5vw, 18px) !important;
  }
}

/* ==============================
   Direction only (same visual rules for EN / DE / AR)
   WPML may use ar, ar-MA, en-US, de-DE, etc.
============================== */

html[lang|="ar"],
body.rtl {
  direction: rtl !important;
}

html[lang|="en"],
html[lang|="de"] {
  direction: ltr !important;
}

html[lang|="en"] body,
html[lang|="de"] body {
  direction: ltr !important;
}

/* ==============================
   Responsive
============================== */

@media (max-width: 1200px) {
  .main-navigation .primary-menu-container > ul,
  .secondary-navigation .secondary-menu-container > ul {
    gap: 10px !important;
  }

  .main-navigation .primary-menu-container > ul > li > a,
  .secondary-navigation .secondary-menu-container > ul > li > a {
    font-size: 13px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

@media (max-width: 768px) {
  .tazi-promo,
  .kadence-header-html,
  .header-html,
  .site-header-item .header-html-inner {
    width: calc(100% - 24px) !important;
    min-height: 48px !important;
    margin: 14px auto !important;
  }
}

/* ==============================
   WPML FOOTER LANGUAGE SWITCHER
============================== */
#colophon .wpml-ls {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  margin: 14px 0 0 !important;
}

#colophon .wpml-ls ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#colophon .wpml-ls ul li {
  margin: 0 !important;
  padding: 0 !important;
}

#colophon .wpml-ls a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(40, 39, 38, 0.18) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  color: var(--tazi-charcoal, #282726) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

#colophon .wpml-ls a:hover {
  border-color: rgba(40, 39, 38, 0.32) !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

#colophon .wpml-ls .wpml-ls-current-language a {
  background: rgba(193, 199, 176, 0.35) !important;
  border-color: rgba(193, 199, 176, 0.75) !important;
}

#colophon .wpml-ls-flag {
  width: 18px !important;
  height: 12px !important;
  border-radius: 3px !important;
  display: inline-block !important;
}

@media (max-width: 520px) {
  #colophon .wpml-ls a {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }
}

/* ==============================
   TAZI CARE - CLEAN UI UPDATE
   Hero + Why Section + WooCommerce Spacing
   (Design tokens live at top of file.)
============================== */

/* ==============================
   GLOBAL TYPOGRAPHY (BRAND GUIDE)
   Headings: Libre Baskerville / Lora
   Body: Montserrat
============================== */
body,
button,
input,
select,
textarea {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  color: var(--tazi-text, #3d3b39) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.product_title.entry-title,
.tazi-hero-v2__title {
  font-family: "Libre Baskerville", "Lora", Georgia, "Times New Roman",
    serif !important;
  font-style: italic;
  color: var(--tazi-heading, #282726) !important;
}

.tazi-shop-heading h2,
.tazi-hero-v2__eyebrow {
  font-family: "Lora", Georgia, "Times New Roman", serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
}

/* Arabic typography (TC brand guide): El Messiri body + headings; Baloo Bhaijaan 2 tagline/eyebrow */
html[lang|="ar"] body,
html[lang|="ar"] button,
html[lang|="ar"] input,
html[lang|="ar"] select,
html[lang|="ar"] textarea,
:lang(ar) body,
:lang(ar) button,
:lang(ar) input,
:lang(ar) select,
:lang(ar) textarea {
  font-family: "El Messiri", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  font-style: normal !important;
}

html[lang|="ar"] h1,
html[lang|="ar"] h2,
html[lang|="ar"] h3,
html[lang|="ar"] h4,
html[lang|="ar"] h5,
html[lang|="ar"] h6,
html[lang|="ar"] .entry-title,
html[lang|="ar"] .page-title,
html[lang|="ar"] .product_title.entry-title,
html[lang|="ar"] .tazi-hero-v2__title,
:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3,
:lang(ar) h4,
:lang(ar) h5,
:lang(ar) h6 {
  font-family: "El Messiri", Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

html[lang|="ar"] .tazi-hero-v2__eyebrow,
:lang(ar) .tazi-hero-v2__eyebrow {
  font-family: "Baloo Bhaijaan 2", "El Messiri", system-ui, sans-serif !important;
  font-weight: 400 !important;
}

html[lang|="ar"] .tazi-hero-v2__label,
:lang(ar) .tazi-hero-v2__label {
  font-family: "Baloo Bhaijaan 2", "El Messiri", system-ui, sans-serif !important;
  font-weight: 400 !important;
}

html[lang|="ar"] .tazi-shop-heading h2,
html[lang|="ar"] .tazi-shop-heading__label,
:lang(ar) .tazi-shop-heading h2,
:lang(ar) .tazi-shop-heading__label {
  font-family: "El Messiri", Georgia, serif !important;
  font-weight: 600 !important;
}

/* ==============================
   GLOBAL SECTION RESET
============================== */

.tazi-hero-v2,
.tazi-hero-v2 *,
.why-tazi-care,
.why-tazi-care * {
  box-sizing: border-box !important;
}

/* ==============================
   HERO SECTION
   No background added
============================== */

.tazi-hero-v2 {
  position: relative !important;
  width: 100% !important;
  min-height: 88vh !important;
  margin: 0 !important;
  padding: var(--tazi-section-padding-desktop) !important;
  padding-top: calc(
    env(safe-area-inset-top, 0px) + var(--tazi-hero-header-clearance)
  ) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: var(--tazi-section-gap-desktop) !important;

  overflow: hidden !important;
  isolation: isolate !important;
}

/* Keep overlay hidden because you removed hero background */
.tazi-hero-v2__overlay {
  display: none !important;
}

.tazi-hero-v2__content {
  width: 52% !important;
  max-width: 660px !important;
  position: relative !important;
  z-index: 2 !important;
}

.tazi-hero-v2__label {
  display: inline-block !important;
  margin: 0 0 18px !important;
  padding: 9px 20px !important;

  border-radius: 999px !important;
  background: rgba(193, 199, 176, 0.45) !important;
  color: var(--tazi-charcoal) !important;

  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
}

.tazi-hero-v2 h1 {
  margin: 0 0 24px !important;
  padding: 0 !important;

  color: var(--tazi-heading) !important;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: clamp(42px, 5.8vw, 78px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.02em !important;
}

html[lang|="ar"] .tazi-hero-v2 h1,
:lang(ar) .tazi-hero-v2 h1 {
  font-family: "El Messiri", Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

.tazi-hero-v2__content p:not(.tazi-hero-v2__label) {
  max-width: 560px !important;
  margin: 0 0 36px !important;
  padding: 0 !important;

  color: var(--tazi-text) !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  font-weight: 400 !important;
}

.tazi-hero-v2__buttons {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tazi-hero-v2__btn,
.tazi-hero-v2__btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 54px !important;
  padding: 0 30px !important;
  border-radius: 999px !important;

  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-decoration: none !important;

  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.tazi-hero-v2__btn--primary,
.tazi-hero-v2__btn--primary:visited {
  background: var(--tazi-brown) !important;
  color: var(--tazi-white) !important;
  border: 1px solid var(--tazi-brown) !important;
}

.tazi-hero-v2__btn--primary:hover {
  background: var(--tazi-brown-dark) !important;
  color: var(--tazi-white) !important;
  border-color: var(--tazi-brown-dark) !important;
  transform: translateY(-2px) !important;
}

.tazi-hero-v2__btn--secondary,
.tazi-hero-v2__btn--secondary:visited {
  background: rgba(224, 219, 214, 0.85) !important;
  color: var(--tazi-charcoal) !important;
  border: 1px solid rgba(40, 39, 38, 0.2) !important;
}

.tazi-hero-v2__btn--secondary:hover {
  background: var(--tazi-warm-beige) !important;
  color: var(--tazi-charcoal) !important;
  transform: translateY(-2px) !important;
}

.tazi-hero-v2__image {
  width: 48% !important;
  max-width: 620px !important;
  position: relative !important;
  z-index: 1 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  filter: none !important;
}

.tazi-hero-v2__image img {
  display: block !important;
  width: 100% !important;
  max-width: 540px !important;
  height: 620px !important;

  object-fit: cover !important;
  object-position: center !important;

  border-radius: 36px !important;

  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.tazi-hero-v2__image figure,
.tazi-hero-v2__image picture {
  box-shadow: none !important;
  filter: none !important;
}

/* Hero image area: kill any inherited/injected shadow layers from theme blocks */
.tazi-hero-v2__image,
.tazi-hero-v2__image * {
  box-shadow: none !important;
  filter: none !important;
}

.tazi-hero-v2__image::before,
.tazi-hero-v2__image::after,
.tazi-hero-v2__image *::before,
.tazi-hero-v2__image *::after {
  box-shadow: none !important;
  filter: none !important;
  background-image: none !important;
}

/* Desktop: match header width, left copy + right image, CTAs in one row */
@media (min-width: 1025px) {
  .tazi-hero-v2 {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: calc(
      env(safe-area-inset-top, 0px) + var(--tazi-hero-header-clearance)
    ) !important;
    padding-bottom: 90px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    min-height: min(88vh, 920px) !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(32px, 4vw, 70px) !important;
  }

  .tazi-hero-v2__content {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: min(660px, 52%) !important;
    width: auto !important;
    text-align: start !important;
  }

  .tazi-hero-v2__buttons {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }

  .tazi-hero-v2__btn {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .tazi-hero-v2__image {
    flex: 0 1 48% !important;
    width: auto !important;
    max-width: 620px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  .tazi-hero-v2__image img {
    width: 100% !important;
    max-width: min(540px, 42vw) !important;
    height: min(620px, 78vh) !important;
    max-height: 78vh !important;
  }
}

/* Logged-in WP admin bar sits above header (32px desktop, 46px under 782px) */
body.admin-bar .tazi-hero-v2 {
  padding-top: calc(
    env(safe-area-inset-top, 0px) + var(--tazi-hero-header-clearance) + 32px
  ) !important;
}

@media (max-width: 782px) {
  body.admin-bar .tazi-hero-v2 {
    padding-top: calc(
      env(safe-area-inset-top, 0px) + var(--tazi-hero-header-clearance) + 46px
    ) !important;
  }
}

/*
 * Hero — tablet / phone: product-style 2 columns (image | copy),
 * not a tall stacked banner. Inner image area uses a 2-col mini-grid when
 * there are two photos; a single image spans full width of the left column.
 */
@media (max-width: 1024px) {
  .tazi-hero-v2 {
    min-height: 0 !important;
    padding: var(--tazi-section-padding-tablet) !important;
    padding-top: calc(
      env(safe-area-inset-top, 0px) + var(--tazi-hero-header-clearance)
    ) !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 18px 20px !important;
    align-items: center !important;
    justify-content: stretch !important;
  }

  .tazi-hero-v2__image {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .tazi-hero-v2__image > figure {
    margin: 0 !important;
    min-width: 0 !important;
  }

  /* One hero photo: spans the full left column (shop-style tile) */
  .tazi-hero-v2__image img:only-child,
  .tazi-hero-v2__image > figure:only-child {
    grid-column: 1 / -1 !important;
  }

  /* Two (or more) direct sibling imgs / figures: 2 product columns */
  .tazi-hero-v2__image img,
  .tazi-hero-v2__image figure img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;

    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;

    border-radius: 18px !important;
    border: 1px solid rgba(40, 39, 38, 0.12) !important;
    box-shadow: none !important;
  }

  .tazi-hero-v2__content {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-width: 0 !important;

    align-self: center !important;
  }

  .tazi-hero-v2__label {
    margin: 0 0 10px !important;
    padding: 6px 12px !important;
    font-size: 10px !important;
    letter-spacing: 0.85px !important;
  }

  .tazi-hero-v2 h1 {
    font-size: clamp(22px, 5.2vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.6px !important;
    margin: 0 0 14px !important;
  }

  .tazi-hero-v2__content p:not(.tazi-hero-v2__label) {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 16px !important;
    max-width: none !important;
  }

  .tazi-hero-v2__buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .tazi-hero-v2__btn {
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
  }
}

/* Real mobile: collapse hero to one column to prevent squeezed preview */
@media (max-width: 768px) {
  .tazi-hero-v2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 18px !important;
  }

  .tazi-hero-v2__image,
  .tazi-hero-v2__content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .tazi-hero-v2__image {
    order: -1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .tazi-hero-v2__image img,
  .tazi-hero-v2__image figure img {
    aspect-ratio: 4 / 3 !important;
    border-radius: 16px !important;
  }

  .tazi-hero-v2 h1 {
    font-size: clamp(28px, 7.5vw, 36px) !important;
  }

  .tazi-hero-v2__content p:not(.tazi-hero-v2__label) {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 600px) {
  .tazi-hero-v2 {
    padding-top: calc(
      env(safe-area-inset-top, 0px) + var(--tazi-hero-header-clearance)
    ) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 32px !important;
    gap: 12px 14px !important;
    align-items: start !important;
  }

  .tazi-hero-v2__image {
    gap: 8px !important;
  }

  .tazi-hero-v2__label {
    font-size: 9px !important;
    padding: 5px 10px !important;
    margin-bottom: 8px !important;
  }

  .tazi-hero-v2 h1 {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    margin-bottom: 10px !important;
  }

  .tazi-hero-v2__content p:not(.tazi-hero-v2__label) {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }

  .tazi-hero-v2__btn {
    min-height: 44px !important;
    font-size: 12px !important;
  }
}

/* ==============================
   WHY TAZI CARE SECTION
   No background added
============================== */

.why-tazi-care {
  padding: var(--tazi-section-padding-desktop) !important;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
}

.why-tazi-care .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px !important;
}

.section-header .eyebrow {
  display: inline-block;
  margin-bottom: 12px;

  color: var(--tazi-brown);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-header h2 {
  margin: 0 0 16px;
  color: var(--tazi-heading);

  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: 42px;
  line-height: 1.2;
}

.section-header p {
  margin: 0;

  color: var(--tazi-muted);
  font-size: 18px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px !important;
}

@media (max-width: 768px) {
  #mobile-toggle .menu-toggle-label {
    display: none;
  }
}

.feature-card {
  background: #ffffff;
  padding: 36px 26px !important;
  border-radius: 18px;
  text-align: center;

  border: 1px solid rgba(40, 39, 38, 0.10);
  

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(40, 39, 38, 0.14);
}

.feature-card .icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;

  border-radius: 50%;
  background: rgba(40, 39, 38, 0.12);
  color: var(--tazi-brown);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0 0 12px;
  color: var(--tazi-heading);
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--tazi-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Why section: keep 2 columns until small mobile */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px !important;
  }
}

@media (max-width: 560px) {
  .why-tazi-care {
    padding: var(--tazi-section-padding-mobile) !important;
  }

  .why-tazi-care .section-header {
    margin-bottom: 36px !important;
  }

  .section-header h2 {
    font-size: clamp(26px, 7.5vw, 34px) !important;
  }

  .section-header p {
    font-size: 16px !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .feature-card {
    padding: 28px 22px !important;
  }
}

/* ==============================
   WOOCOMMERCE CATEGORY + PRODUCT UI
   Tazi Care - Clean Desktop + Better Mobile
============================== */

/* Main shop/archive spacing */
.woocommerce-page .site-main,
.woocommerce .site-main {
  padding-top: 40px !important;
  padding-bottom: 70px !important;
}

/* Product/category grid */
.woocommerce ul.products {
  row-gap: 34px !important;
}

/* ==============================
   CATEGORY CARDS
============================== */

.woocommerce ul.products li.product-category {
  margin-bottom: 42px !important;
  text-align: center !important;
}

.woocommerce ul.products li.product-category a {
  display: block !important;
  padding: 18px !important;
  border-radius: 22px !important;
  background: transparent !important;
  border: 1px solid rgba(40, 39, 38, 0.12) !important;
 
  text-decoration: none !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.woocommerce ul.products li.product-category a:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(40, 39, 38, 0.22) !important;
  box-shadow: 0 24px 60px rgba(40, 39, 38, 0.18) !important;
}

/* Category images */
.woocommerce ul.products li.product-category img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  margin-bottom: 18px !important;
  display: block !important;
}

/* Category title */
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
  color: var(--tazi-heading, #282726) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  margin: 0 !important;
}

/* Category count */
.woocommerce ul.products li.product-category mark.count {
  background: transparent !important;
  color: var(--tazi-muted, #5c5855) !important;
  font-weight: 600 !important;
}

/* Ensure every category row is visible (override theme limits that hide 4+) */
.woocommerce ul.products li.product-category {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Divider before products */
.woocommerce ul.products li.product-category:last-of-type {
  margin-bottom: 70px !important;
}

/* ==============================
   PRODUCT CARDS
============================== */

.woocommerce ul.products li.product:not(.product-category) {
  padding: 18px !important;
  border-radius: 22px !important;
  background: transparent !important;
  border: 1px solid rgba(40, 39, 38, 0.10) !important;
 
  text-align: center !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.woocommerce ul.products li.product:not(.product-category):hover {
  transform: translateY(-5px) !important;
  border-color: rgba(40, 39, 38, 0.20) !important;
  box-shadow: 0 24px 60px rgba(40, 39, 38, 0.18) !important;
}

/* Product images */
.woocommerce ul.products li.product:not(.product-category) img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  margin-bottom: 18px !important;
  display: block !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin-top: 6px !important;
  margin-bottom: 10px !important;
  color: var(--tazi-heading, #282726) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

/* Product price */
.woocommerce ul.products li.product .price {
  margin-bottom: 16px !important;
  color: var(--tazi-muted, #5c5855) !important;
}

/* Product buttons */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
  margin-top: 8px !important;
}

/* ==============================
   DIVIDER BETWEEN CATEGORY + PRODUCTS
============================== */

/* Works when category shortcode is followed by product shortcode */
.woocommerce .products + .products {
  position: relative !important;
  margin-top: 70px !important;
  padding-top: 70px !important;
}

.woocommerce .products + .products::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: min(1120px, 100%) !important;
  height: 1px !important;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(40, 39, 38, 0.28),
    transparent
  ) !important;
}

/* ==============================
   SHOP HEADINGS
   Category + Product Titles
============================== */

.tazi-shop-heading {
  max-width: 760px !important;
  margin: 0 auto 38px !important;
  padding: 0 20px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.tazi-shop-heading__label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin-bottom: 14px !important;
  padding: 8px 18px !important;

  border-radius: 999px !important;
  background: rgba(193, 199, 176, 0.35) !important;
  color: var(--tazi-charcoal) !important;

  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 1.1px !important;
  text-transform: uppercase !important;
}

.tazi-shop-heading h2 {
  margin: 0 0 14px !important;
  padding: 0 !important;

  color: var(--tazi-heading, #282726) !important;
  font-family: "Lora", Georgia, serif !important;
  font-weight: 500 !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

.tazi-shop-heading p {
  max-width: 620px !important;
  margin: 0 auto !important;
  padding: 0 !important;

  color: var(--tazi-muted, #5c5855) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* Product heading spacing */
.tazi-shop-heading--products {
  margin-top: 80px !important;
  padding-top: 70px !important;
  position: relative !important;
}

/* Divider above product heading */
.tazi-shop-heading--products::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: min(1120px, calc(100vw - 40px)) !important;
  height: 1px !important;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(40, 39, 38, 0.28),
    transparent
  ) !important;
}

/* Product label different color */
.tazi-shop-heading--products .tazi-shop-heading__label {
  background: rgba(193, 199, 176, 0.4) !important;
  color: var(--tazi-charcoal, #282726) !important;
}

/* ==============================
   TABLET RESPONSIVE
============================== */

@media (max-width: 980px) {
  .woocommerce-page .site-main,
  .woocommerce .site-main {
    padding-top: 34px !important;
    padding-bottom: 60px !important;
  }

  .woocommerce ul.products {
    row-gap: 28px !important;
  }

  .woocommerce .products + .products {
    margin-top: 55px !important;
    padding-top: 55px !important;
  }

  .tazi-shop-heading {
    margin-bottom: 32px !important;
    padding: 0 18px !important;
  }

  .tazi-shop-heading--products {
    margin-top: 58px !important;
    padding-top: 50px !important;
  }

  .tazi-shop-heading h2 {
    font-size: clamp(30px, 6vw, 40px) !important;
  }

  .tazi-shop-heading p {
    font-size: 16px !important;
  }

  /* Tablet: category cards full width so every category is listed (not a cramped 3-up row) */
  .woocommerce ul.products[class*="columns-"] li.product.product-category,
  .woocommerce-page ul.products[class*="columns-"] li.product.product-category {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 24px !important;
    clear: both !important;
    float: none !important;
  }
}

/* ==============================
   MOBILE RESPONSIVE - BETTER
============================== */

@media (max-width: 520px) {
  .woocommerce-page .site-main,
  .woocommerce .site-main {
    padding-top: 24px !important;
    padding-bottom: 46px !important;
  }

  /* Better mobile grid spacing */
  .woocommerce ul.products {
    row-gap: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Category archive/shortcode: one full-width column so all categories show (not 2-up / “only three”) */
  .woocommerce ul.products[class*="columns-"] li.product.product-category,
  .woocommerce-page ul.products[class*="columns-"] li.product.product-category {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
    clear: both !important;
    float: none !important;
  }

  /* Force clean 2-column mobile layout for products only */
  .woocommerce ul.products[class*="columns-"] li.product:not(.product-category),
  .woocommerce-page ul.products[class*="columns-"] li.product:not(.product-category) {
    width: 48% !important;
    margin-right: 4% !important;
    margin-bottom: 24px !important;
    clear: none !important;
  }

  .woocommerce ul.products[class*="columns-"] li.product:not(.product-category):nth-child(2n),
  .woocommerce-page ul.products[class*="columns-"] li.product:not(.product-category):nth-child(2n) {
    margin-right: 0 !important;
  }

  .woocommerce ul.products[class*="columns-"] li.product:not(.product-category):nth-child(2n + 1),
  .woocommerce-page ul.products[class*="columns-"] li.product:not(.product-category):nth-child(2n + 1) {
    clear: both !important;
  }

  /* Mobile cards */
  .woocommerce ul.products li.product:not(.product-category),
  .woocommerce ul.products li.product-category a {
    padding: 12px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 30px rgba(40, 39, 38, 0.12) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .woocommerce ul.products li.product:not(.product-category):hover,
  .woocommerce ul.products li.product-category a:hover {
    transform: none !important;
    box-shadow: 0 12px 30px rgba(40, 39, 38, 0.12) !important;
  }

  /* Mobile images */
  .woocommerce ul.products li.product:not(.product-category) img,
  .woocommerce ul.products li.product-category img {
    border-radius: 14px !important;
    margin-bottom: 12px !important;
  }

  /* Mobile category title */
  .woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  /* Mobile product title */
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
  }

  /* Mobile price */
  .woocommerce ul.products li.product .price {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  /* Mobile buttons */
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.add_to_cart_button {
    width: 100% !important;
    max-width: none !important;
    min-height: 42px !important;
    padding: 0.65em 0.75em !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    border-radius: 999px !important;
  }

  /* Remove extra blank space in mobile product cards */
  .woocommerce ul.products li.product:not(.product-category) .product-details,
  .woocommerce ul.products li.product:not(.product-category) .kt-product-content,
  .woocommerce ul.products li.product:not(.product-category) .entry-content-wrap {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .woocommerce ul.products li.product:not(.product-category) .product-action-wrap,
  .woocommerce ul.products li.product:not(.product-category) .kt-product-bottom,
  .woocommerce ul.products li.product:not(.product-category) .entry-actions {
    margin-top: 8px !important;
    padding-bottom: 0 !important;
  }

  /* Mobile heading spacing */
  .tazi-shop-heading {
    max-width: 100% !important;
    margin-bottom: 26px !important;
    padding: 0 18px !important;
  }

  .tazi-shop-heading__label {
    margin-bottom: 12px !important;
    padding: 7px 15px !important;
    font-size: 11px !important;
    letter-spacing: 0.9px !important;
  }

  .tazi-shop-heading h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
  }

  .tazi-shop-heading p {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  /* Mobile product section divider */
  .tazi-shop-heading--products {
    margin-top: 48px !important;
    padding-top: 44px !important;
  }

  .tazi-shop-heading--products::before {
    width: calc(100vw - 36px) !important;
  }

  .woocommerce .products + .products {
    margin-top: 42px !important;
    padding-top: 42px !important;
  }

  .woocommerce .products + .products::before {
    width: calc(100vw - 36px) !important;
  }

  .woocommerce ul.products li.product-category:last-of-type {
    margin-bottom: 44px !important;
  }
}

/* ==============================
   SMALL MOBILE
============================== */

@media (max-width: 380px) {
  /* Very small phones: switch product grid to 1 column for readability */
  .woocommerce ul.products[class*="columns-"] li.product:not(.product-category),
  .woocommerce-page ul.products[class*="columns-"] li.product:not(.product-category) {
    width: 100% !important;
    margin-right: 0 !important;
    clear: both !important;
  }

  .woocommerce ul.products li.product:not(.product-category),
  .woocommerce ul.products li.product-category a {
    padding: 14px !important;
  }

  .tazi-shop-heading h2 {
    font-size: 27px !important;
  }

  .tazi-shop-heading p {
    font-size: 14px !important;
  }
}

/* ==============================
   REMOVE ALL PRODUCT/CATEGORY SHADOWS
============================== */

/* Remove shadows from category cards */
.woocommerce ul.products li.product-category a,
.woocommerce ul.products li.product-category a:hover {
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

/* Remove shadows from product cards */
.woocommerce ul.products li.product:not(.product-category),
.woocommerce ul.products li.product:not(.product-category):hover {
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

/* Remove shadow from category/product images */
.woocommerce ul.products li.product-category img,
.woocommerce ul.products li.product:not(.product-category) img {
  box-shadow: none !important;
  filter: none !important;
}

/* Optional: keep border only */
.woocommerce ul.products li.product-category a,
.woocommerce ul.products li.product:not(.product-category) {
  border: 1px solid rgba(40, 39, 38, 0.12) !important;
  background: transparent !important;
}

/* ==============================
   Single product — hide duplicate Woo “stock” lines (visible label = gallery ::after only).
============================== */

.single-product div.product.outofstock p.stock.out-of-stock,
.single-product div.product.outofstock span.stock.out-of-stock,
.single-product div.product.outofstock .summary p.stock.out-of-stock,
.single-product div.product.outofstock .entry-summary p.stock.out-of-stock,
.single-product div.product.outofstock form.cart .stock.out-of-stock {
  display: none !important;
}

/* ==============================
   WooCommerce My Account (dashboard, rewards table, navigation)
============================== */

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(40, 39, 38, 0.14) !important;
  border-radius: 14px !important;
  padding: 10px 0 !important;
  margin-bottom: 28px !important;
}

@media (min-width: 769px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 0 !important;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(40, 39, 38, 0.08) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 12px 18px !important;
  font-weight: 600 !important;
  color: var(--tazi-charcoal) !important;
  text-decoration: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--tazi-charcoal) !important;
  background: rgba(193, 199, 176, 0.35) !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  max-width: 760px !important;
  padding: 8px 0 40px !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: var(--tazi-muted) !important;
  margin-bottom: 1.5em !important;
}

.woocommerce-account .woocommerce-MyAccount-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.75em 0 !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(40, 39, 38, 0.16) !important;
  box-shadow: 0 8px 28px rgba(40, 39, 38, 0.06) !important;
}

.woocommerce-account .woocommerce-MyAccount-content table th,
.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 16px 20px !important;
  text-align: left !important;
  vertical-align: middle !important;
  border-bottom: 1px solid rgba(40, 39, 38, 0.1) !important;
  font-size: 15px !important;
}

.woocommerce-account .woocommerce-MyAccount-content table tr:last-child th,
.woocommerce-account .woocommerce-MyAccount-content table tr:last-child td {
  border-bottom: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content table th {
  font-weight: 700 !important;
  color: var(--tazi-charcoal) !important;
  width: 40% !important;
  background: rgba(224, 219, 214, 0.65) !important;
}

.woocommerce-account .woocommerce-MyAccount-content table td {
  color: var(--tazi-charcoal) !important;
  font-weight: 600 !important;
}

/* ==============================
   HERO IMAGE SHADOW HARD RESET
   (targets exact landing markup)
============================== */
section.tazi-hero-v2,
section.tazi-hero-v2 > .tazi-hero-v2__image,
section.tazi-hero-v2 > .tazi-hero-v2__image img {
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: none !important;
}

section.tazi-hero-v2 > .tazi-hero-v2__image::before,
section.tazi-hero-v2 > .tazi-hero-v2__image::after,
section.tazi-hero-v2 > .tazi-hero-v2__image *::before,
section.tazi-hero-v2 > .tazi-hero-v2__image *::after {
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  background-image: none !important;
}

/* ==============================
   LANDING WOO CARDS - SHADOW KILL
   (category + product cards, wrappers, pseudo layers)
============================== */
.home .woocommerce ul.products li.product,
.home .woocommerce ul.products li.product-category,
.home .woocommerce ul.products li.product a,
.home .woocommerce ul.products li.product-category a,
.home .woocommerce ul.products li.product img,
.home .woocommerce ul.products li.product-category img,
.home .woocommerce ul.products li.product .woocommerce-loop-product__link,
.home .woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.home .woocommerce ul.products li.product .product-thumbnail,
.home .woocommerce ul.products li.product .kt-product-image-wrap,
.home .woocommerce ul.products li.product .kt-blocks-post-grid-item-inner,
.home .woocommerce ul.products li.product .kt-product-content {
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  transform: none !important;
}

.home .woocommerce ul.products li.product::before,
.home .woocommerce ul.products li.product::after,
.home .woocommerce ul.products li.product-category::before,
.home .woocommerce ul.products li.product-category::after,
.home .woocommerce ul.products li.product *::before,
.home .woocommerce ul.products li.product *::after,
.home .woocommerce ul.products li.product-category *::before,
.home .woocommerce ul.products li.product-category *::after {
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  background-image: none !important;
}

/* Exact Kadence classes from category-card HTML */
.home .woocommerce ul.products li.product-category.product.entry.content-bg.loop-entry,
.home .woocommerce ul.products li.product-category.product.entry.content-bg.loop-entry > a,
.home .woocommerce ul.products li.product-category .product-details.content-bg.entry-content-wrap,
.home .woocommerce ul.products li.product-category .entry-content-wrap,
.home .woocommerce ul.products li.product-category .content-bg {
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  background-image: none !important;
}

/* Exact landing archive markup (Kadence + Woo): hard kill any remaining card shadows */
.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry,
.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry > a,
.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry > a > .product-details.content-bg.entry-content-wrap {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: none !important;
  background-image: none !important;
}

.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry::before,
.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry::after,
.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry > a::before,
.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry > a::after,
.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry > a > .product-details.content-bg.entry-content-wrap::before,
.home .woocommerce.columns-4 > ul.products.content-wrap.product-archive li.product-category.product.entry.content-bg.loop-entry > a > .product-details.content-bg.entry-content-wrap::after {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  background-image: none !important;
}

/* ==============================
   WOOCOMMERCE STABILITY FIXES
   (loop actions)
============================== */

/* Prevent theme overlays from breaking product-card actions */
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce ul.products li.product .added_to_cart.wc-forward,
.woocommerce ul.products li.product a.wc-forward {
  position: static !important;
  inset: auto !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  width: 100% !important;
  margin: 6px 0 0 !important;
  text-align: center !important;
  white-space: normal !important;
  z-index: auto !important;
}

/* Keep card internals clipped so no floating CTA leaks outside */
.woocommerce ul.products li.product:not(.product-category) {
  overflow: hidden !important;
}

/* ==============================
   KADENCE + WOO ACTION HOTFIX
   (based on live DOM selectors)
============================== */

/* Keep loop action block vertical and predictable */
.woocommerce ul.products li.product .product-action-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.woocommerce ul.products li.product .product-action-wrap .button,
.woocommerce ul.products li.product .product-action-wrap .add_to_cart_button,
.woocommerce ul.products li.product .product-action-wrap .ajax_add_to_cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  position: static !important;
  margin: 0 !important;
}

/* View-cart link must stay on its own line (no overlap with add button) */
.woocommerce ul.products li.product .product-action-wrap .added_to_cart,
.woocommerce ul.products li.product .product-action-wrap .added_to_cart.wc-forward {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

/* Mobile: hide Kadence inline action icons to prevent text collision in long locales */
@media (max-width: 768px) {
  .woocommerce ul.products li.product .product-action-wrap {
    position: static !important;
    gap: 10px !important;
    padding-top: 4px !important;
  }

  .woocommerce ul.products li.product .product-action-wrap .button .kadence-svg-iconset {
    display: none !important;
  }

  .woocommerce ul.products li.product .product-action-wrap .button {
    min-height: 44px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    white-space: normal !important;
  }

  .woocommerce ul.products li.product .product-action-wrap * {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    white-space: normal !important;
  }

  .woocommerce ul.products li.product .product-action-wrap .added_to_cart {
    line-height: 1.35 !important;
    padding: 0.65em 0.75em !important;
  }
}

/* ==============================
   WOO "SALE" LABEL (ONSLAE) — BRAND COLORS
============================== */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  background: rgba(193, 199, 176, 0.92) !important; /* sage */
  color: var(--tazi-charcoal, #282726) !important;
  border: 1px solid rgba(40, 39, 38, 0.16) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  padding: 8px 12px !important;
  min-height: unset !important;

  /* keep badge text perfectly centered */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  font-style: normal !important;
}

@media (max-width: 520px) {
  .woocommerce span.onsale,
  .woocommerce ul.products li.product .onsale {
    top: 10px !important;
    inset-inline-start: 10px !important;
    inset-inline-end: auto !important;
    min-width: unset !important;
    min-height: unset !important;
    padding: 6px 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.4px !important;
    background: var(--tazi-linen-green) !important;
    color: var(--tazi-charcoal) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ==============================
   WPML - RENDER ALL SWITCHERS
============================== */

/* Show every WPML switcher instance globally */
.wpml-ls,
.wpml-ls-menu-item,
[class*="wpml-ls-statics-"],
[class*="wpml-ls-sidebars-"] {
  visibility: visible !important;
  opacity: 1 !important;
}

.wpml-ls,
[class*="wpml-ls-statics-"],
[class*="wpml-ls-sidebars-"] {
  display: block !important;
}

.wpml-ls-menu-item {
  display: list-item !important;
}

/* Keep header menu switcher aligned with nav */
#masthead .main-navigation .wpml-ls-menu-item > .wpml-ls-item-toggle,
#masthead .main-navigation .wpml-ls-menu-item > a,
.site-header .main-navigation .wpml-ls-menu-item > .wpml-ls-item-toggle,
.site-header .main-navigation .wpml-ls-menu-item > a {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#colophon,
#colophon .footer-widget-area,
#colophon .footer-widget-area .widget {
  overflow: visible !important;
}

/* ==============================
   WPML - FLOATING BOTTOM-RIGHT SWITCHER
============================== */

/* Keep only the outer WPML wrapper floating */
.wpml-floating-language-switcher {
  position: fixed !important;
  right: 20px !important;
  left: auto !important;
  bottom: 20px !important;
  z-index: 99999 !important;
  margin: 0 !important;
  padding: 7px !important;
  border-radius: 999px !important;
  border: 1px solid var(--tazi-soft-border, rgba(40, 39, 38, 0.14)) !important;
  background: var(--tazi-warm-beige, #e0dbd6) !important;
  box-shadow: 0 12px 26px rgba(40, 39, 38, 0.18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Reset inner WPML container so it does not create a second floating layer */
.wpml-floating-language-switcher .wpml-ls {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wpml-floating-language-switcher ul {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.wpml-floating-language-switcher li {
  display: list-item !important;
  list-style: none !important;
  list-style-image: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

/* Remove theme bullets/pseudo dots inside floating switcher */
.wpml-floating-language-switcher ul::before,
.wpml-floating-language-switcher ul::after,
.wpml-floating-language-switcher li::before,
.wpml-floating-language-switcher li::after,
.wpml-floating-language-switcher li::marker,
.wpml-floating-language-switcher a::before,
.wpml-floating-language-switcher a::after,
.wpml-floating-language-switcher .wpml-ls-native::before,
.wpml-floating-language-switcher .wpml-ls-native::after {
  content: none !important;
  display: none !important;
}

.wpml-floating-language-switcher a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 38px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(40, 39, 38, 0.1) !important;
  color: var(--tazi-charcoal, #282726) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

.wpml-floating-language-switcher a:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(40, 39, 38, 0.2) !important;
  box-shadow: 0 5px 12px rgba(40, 39, 38, 0.12) !important;
  transform: translateY(-1px) !important;
}

.wpml-floating-language-switcher .wpml-ls-current-language > a {
  background: var(--tazi-charcoal, #282726) !important;
  color: var(--tazi-white) !important;
  border-color: var(--tazi-charcoal, #282726) !important;
  box-shadow: 0 6px 14px rgba(40, 39, 38, 0.25) !important;
}

.wpml-floating-language-switcher .wpml-ls-flag {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  box-shadow: 0 0 0 1px rgba(40, 39, 38, 0.14) !important;
}

@media (max-width: 768px) {
  .wpml-floating-language-switcher {
    right: 10px !important;
    left: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 5px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 99999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .wpml-floating-language-switcher a {
    min-height: 33px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
  }

  .wpml-floating-language-switcher .wpml-ls-flag {
    width: 15px !important;
    height: 15px !important;
  }

  /* Mobile fallback: show shortcode switcher if wrapper is not used */
  .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal {
    position: fixed !important;
    right: 10px !important;
    left: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 5px !important;
    border-radius: 999px !important;
    border: 1px solid var(--tazi-soft-border, rgba(40, 39, 38, 0.14)) !important;
    background: var(--tazi-warm-beige, #e0dbd6) !important;
    box-shadow: 0 12px 26px rgba(40, 39, 38, 0.18) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* If fallback is inside floating wrapper, do not create second layer */
  .wpml-floating-language-switcher
    .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal {
    position: static !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Hard mobile marker reset for remaining dot artifacts */
  .wpml-floating-language-switcher ul,
  .wpml-floating-language-switcher li,
  .wpml-ls-statics-shortcode_actions.wpml-ls ul,
  .wpml-ls-statics-shortcode_actions.wpml-ls li {
    list-style: none !important;
    list-style-image: none !important;
    background: none !important;
  }

  .wpml-floating-language-switcher li::before,
  .wpml-floating-language-switcher li::after,
  .wpml-floating-language-switcher li::marker,
  .wpml-ls-statics-shortcode_actions.wpml-ls li::before,
  .wpml-ls-statics-shortcode_actions.wpml-ls li::after,
  .wpml-ls-statics-shortcode_actions.wpml-ls li::marker {
    content: none !important;
    display: none !important;
  }
}

/* Force Why Tazi Care cards to 1 column on mobile */
@media (max-width: 768px) {
  .why-tazi-care .features-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .why-tazi-care .feature-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}