/* =========================================
   POSH PERFUMES - KAYAN FINAL CSS
   Brand polish, videos, galleries, products,
   product page, buttons, logo, Arabic/English
========================================= */

:root {
  --posh-porcelain: #F2EDE4;
  --posh-soft-line: #D8CAB8;
  --posh-muted: #B9B2A8;
  --posh-dark: #101713;
  --posh-black: #030303;
  --posh-header: #2f2928;
}

/* =========================================
   1. GLOBAL BRAND BASE
========================================= */

html,
body,
.app,
.main.app-content,
.home {
  background-color: var(--posh-dark) !important;
  color: var(--posh-porcelain) !important;
}

a {
  color: inherit;
}

/* =========================================
   2. HEADER + FINAL POSH LOGO
   POS first, stretched H second, all languages
========================================= */

header,
.header,
.kayan-upper-header,
.header-theme-bg-primary {
  background-color: var(--posh-header) !important;
}

/* Hide uploaded logo image completely */
.kayan-link-logo img,
.kayan-link-logo .kayan-image-logo,
.kayan-link-logo .image-logo,
.header-logo img,
.logo img {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Logo holder */
.kayan-link-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;

  width: auto !important;
  min-width: 170px !important;
  height: 62px !important;

  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

/* POS */
.kayan-link-logo::before {
  content: "POS" !important;
  display: inline-block !important;
  order: 1 !important;

  color: var(--posh-porcelain) !important;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif !important;
  font-size: 39px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: 0.035em !important;
  text-transform: uppercase !important;

  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision !important;
}

/* Stretched H */
.kayan-link-logo::after {
  content: "H" !important;
  display: inline-block !important;
  order: 2 !important;

  color: var(--posh-porcelain) !important;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif !important;
  font-size: 39px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;

  transform: scaleX(1.95) !important;
  transform-origin: left center !important;
  margin-left: 11px !important;

  text-transform: uppercase !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision !important;
}

/* Force same order on Arabic/RTL */
html[dir="rtl"] .kayan-link-logo,
body[dir="rtl"] .kayan-link-logo,
.rtl .kayan-link-logo {
  flex-direction: row !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* Mobile logo */
@media (max-width: 768px) {
  .kayan-link-logo {
    min-width: 132px !important;
    height: 48px !important;
  }

  .kayan-link-logo::before {
    font-size: 30px !important;
    font-weight: 300 !important;
    letter-spacing: 0.03em !important;
  }

  .kayan-link-logo::after {
    font-size: 30px !important;
    font-weight: 300 !important;
    transform: scaleX(1.9) !important;
    margin-left: 8px !important;
  }
}

/* Header icons */
.kayan-account-btn,
.kayan-account-btn *,
.kayan-header-cart,
.kayan-header-cart *,
.kayan-shopping-cart,
.kayan-shopping-cart *,
.a-shopping-cart,
.a-shopping-cart *,
.header-search-icon,
.header-search-icon *,
.search-header,
.search-header * {
  color: var(--posh-porcelain) !important;
  fill: var(--posh-porcelain) !important;
  stroke: var(--posh-porcelain) !important;
}

/* =========================================
   3. FIRST HERO VIDEO - ROTATED LEFT
========================================= */

[section-id="26c25592-3ab2-48ea-8c0f-0954fafcb7a2"].kayan-video {
  --posh-hero-h: clamp(620px, calc(100vh - 112px), 820px);

  position: relative !important;
  width: 100% !important;
  height: var(--posh-hero-h) !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: var(--posh-black) !important;
  padding: 0 !important;
  margin: 0 !important;
}

[section-id="26c25592-3ab2-48ea-8c0f-0954fafcb7a2"] .kayan-video-header {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: var(--posh-black) !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

[section-id="26c25592-3ab2-48ea-8c0f-0954fafcb7a2"] .kayan-video-header video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: var(--posh-hero-h) !important;
  height: 100vw !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: translate(-50%, -50%) rotate(-90deg) !important;
  transform-origin: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

@media (max-width: 768px) {
  [section-id="26c25592-3ab2-48ea-8c0f-0954fafcb7a2"].kayan-video {
    --posh-hero-h: clamp(620px, calc(100vh - 56px), 820px);
  }
}

/* =========================================
   4. SECOND VIDEO AFTER HERO
========================================= */

[section-id="260f28f4-81d1-4c08-bd80-07293a40d9ee"] {
  background: var(--posh-black) !important;
  overflow: hidden !important;
}

[section-id="260f28f4-81d1-4c08-bd80-07293a40d9ee"] .video-container {
  width: 100% !important;
  overflow: hidden !important;
  background: var(--posh-black) !important;
  line-height: 0 !important;
}

[section-id="260f28f4-81d1-4c08-bd80-07293a40d9ee"] video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: var(--posh-black) !important;
}

@media (max-width: 768px) {
  [section-id="260f28f4-81d1-4c08-bd80-07293a40d9ee"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* =========================================
   5. LAST PORTRAIT VIDEO
========================================= */

[section-id="3398c867-7ff0-40c7-8275-f9512e2427b1"].kayan-video {
  background: var(--posh-black) !important;
  overflow: hidden !important;
  padding: 0 !important;
}

[section-id="3398c867-7ff0-40c7-8275-f9512e2427b1"] .kayan-video-header {
  background: var(--posh-black) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
}

[section-id="3398c867-7ff0-40c7-8275-f9512e2427b1"] .kayan-video-header video {
  display: block !important;
  width: auto !important;
  height: 82vh !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background: var(--posh-black) !important;
}

@media (max-width: 768px) {
  [section-id="3398c867-7ff0-40c7-8275-f9512e2427b1"] .kayan-video-header video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    object-fit: cover !important;
  }
}

/* =========================================
   6. MOVING TEXT
========================================= */

.kayan-moving-text {
  min-height: 58px !important;
  background: var(--posh-black) !important;
}

.kayan-moving-text .marquee,
.kayan-moving-text .marquee__content {
  min-height: 58px !important;
  align-items: center !important;
}

.kayan-moving-text li,
.kayan-moving-text span,
.kayan-moving-text a {
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: var(--posh-porcelain) !important;
}

@media (max-width: 768px) {
  .kayan-moving-text,
  .kayan-moving-text .marquee,
  .kayan-moving-text .marquee__content {
    min-height: 50px !important;
  }

  .kayan-moving-text li,
  .kayan-moving-text span,
  .kayan-moving-text a {
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
  }
}

/* =========================================
   7. GENERAL KAYAN GALLERY
========================================= */

.kayan-gallery {
  padding: 70px 20px !important;
  overflow: visible !important;
  background-color: var(--posh-dark) !important;
}

.kayan-gallery .kayan-gallery-wrapper {
  max-width: 1180px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  height: auto !important;
}

.kayan-gallery .kayan-single-gallery {
  flex: 1 1 calc(50% - 9px) !important;
  max-width: calc(50% - 9px) !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: var(--posh-black) !important;
}

.kayan-gallery .kayan-image-gallery {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 768px) {
  .kayan-gallery {
    padding: 40px 14px !important;
  }

  .kayan-gallery .kayan-gallery-wrapper {
    gap: 14px !important;
  }

  .kayan-gallery .kayan-single-gallery {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================
   8. STORY GALLERY SECTION
========================================= */

.posh-story-gallery {
  padding: 80px 20px 70px !important;
  background: var(--posh-dark) !important;
  overflow: visible !important;
}

.posh-story-gallery .kayan-gallery-header {
  max-width: 920px !important;
  margin: 0 auto 42px !important;
  display: block !important;
  text-align: center !important;
}

.posh-story-gallery .kayan-title {
  margin: 0 auto !important;
  text-align: center !important;
  color: var(--posh-soft-line) !important;
  font-size: initial !important;
  line-height: initial !important;
  font-weight: initial !important;
}

.posh-story-gallery .posh-story-gallery-title {
  display: block !important;
  color: var(--posh-porcelain) !important;
  font-size: 34px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 18px !important;
  text-align: center !important;
}

.posh-story-gallery .posh-story-gallery-body {
  display: block !important;
  max-width: 850px !important;
  margin: 0 auto !important;
  color: var(--posh-soft-line) !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  font-weight: 400 !important;
  text-align: justify !important;
  text-align-last: center !important;
}

html[dir="rtl"] .posh-story-gallery .posh-story-gallery-body,
html[lang="ar"] .posh-story-gallery .posh-story-gallery-body {
  line-height: 2 !important;
  direction: rtl !important;
}

.posh-story-gallery .kayan-gallery-wrapper {
  max-width: 1180px !important;
  height: auto !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 0 !important;
}

.posh-story-gallery .kayan-single-gallery {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
}

@media (max-width: 768px) {
  .posh-story-gallery {
    padding: 52px 14px 46px !important;
  }

  .posh-story-gallery .kayan-gallery-header {
    margin-bottom: 28px !important;
  }

  .posh-story-gallery .posh-story-gallery-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  .posh-story-gallery .posh-story-gallery-body {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }

  .posh-story-gallery .kayan-single-gallery,
  .posh-story-gallery .kayan-image-gallery {
    aspect-ratio: 16 / 10 !important;
  }
}

/* =========================================
   9. OUR STORY BANNER
========================================= */

.kayan-banners {
  padding: 70px 20px !important;
}

.kayan-banners .kayan-banners-header {
  max-width: 900px !important;
  margin: 0 auto 42px !important;
  text-align: center !important;
  display: block !important;
}

.kayan-banners .kayan-title {
  text-align: center !important;
  margin: 0 auto !important;
  color: var(--posh-soft-line) !important;
}

.kayan-banners .posh-story-title {
  display: block !important;
  color: var(--posh-porcelain) !important;
  font-size: 34px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 18px !important;
  text-align: center !important;
}

.kayan-banners .posh-story-body {
  display: block !important;
  max-width: 820px !important;
  margin: 0 auto !important;
  color: var(--posh-soft-line) !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  font-weight: 400 !important;
  text-align: center !important;
}

html[lang="ar"] .kayan-banners .posh-story-body,
html[dir="rtl"] .kayan-banners .posh-story-body {
  line-height: 2 !important;
}

.kayan-banners .kayan-banners-banners.row {
  max-width: 1180px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.kayan-banners .kayan-banners-single {
  flex: 0 1 calc(50% - 9px) !important;
  max-width: calc(50% - 9px) !important;
  width: calc(50% - 9px) !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.kayan-banners .banner-content {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: var(--posh-black) !important;
}

.kayan-banners .banner-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 768px) {
  .kayan-banners {
    padding: 46px 14px !important;
  }

  .kayan-banners .kayan-banners-header {
    margin-bottom: 28px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .kayan-banners .posh-story-title {
    font-size: 26px !important;
    margin-bottom: 14px !important;
  }

  .kayan-banners .posh-story-body {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }

  .kayan-banners .kayan-banners-banners.row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
  }

  .kayan-banners .kayan-banners-single {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* =========================================
   10. HOMEPAGE PRODUCT CARDS
========================================= */

.home-products-section .kayna-content-image,
.home-products-section .kayna-content-image.box-1-1 {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
  background: var(--posh-black) !important;
}

.home-products-section .kayna-content-image .content,
.home-products-section .kayna-content-image .content > div,
.home-products-section .kayna-content-image .d-flex {
  width: 100% !important;
  height: 100% !important;
}

.home-products-section .kayna-content-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background: var(--posh-black) !important;
}

@media (min-width: 769px) {
  .home-products-section .kayan-products-slider-section.row {
    justify-content: center !important;
    gap: 34px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home-products-section .kayan-prod-col {
    float: none !important;
    flex: 0 0 34% !important;
    max-width: 34% !important;
    width: 34% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 1200px) {
  .home-products-section .kayan-prod-col {
    flex-basis: 31% !important;
    max-width: 31% !important;
    width: 31% !important;
  }
}

.home-products-section .product-title,
.home-products-section .product-item-name,
.home-products-section .kayan-product-title,
.home-products-section h3,
.home-products-section h4,
.home-products-section a[href*="/products/"] {
  color: var(--posh-porcelain) !important;
  font-weight: 700 !important;
}

.home-products-section .product-title:hover,
.home-products-section .product-item-name:hover,
.home-products-section .kayan-product-title:hover,
.home-products-section a[href*="/products/"]:hover {
  color: var(--posh-soft-line) !important;
}

/* =========================================
   11. PRODUCT PAGE IMAGES
========================================= */

.products-details-page .product-images-carousel,
.products-details-page .product-images.slide.gallery,
.products-details-page .product-images .box-1-1,
.products-details-page .image-link {
  overflow: hidden !important;
  background: var(--posh-black) !important;
  border-radius: 8px !important;
}

.products-details-page .carousel-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background: var(--posh-black) !important;
}

.products-details-page .product-images-carousel-thumbs img {
  object-fit: contain !important;
  background: var(--posh-black) !important;
}

@media (max-width: 768px) {
  .products-details-page .products-details {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .products-details-page .col-product-image-wrapper,
  .products-details-page .kayan-col-product-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .products-details-page .product-images-carousel {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto 24px !important;
  }

  .products-details-page .carousel-img {
    border-radius: 6px !important;
  }
}

/* =========================================
   12. REMOVE GOLD / BEIGE FROM PRODUCT PAGE
========================================= */

.theme-title-primary,
.theme-text-primary,
.text-color-primary,
.product-price,
.product-formatted-price,
.kayan-product-formatted-price,
.section-product-price,
.product-formatted-price-old,
.product-prev-price,
.product-formatted-price *,
.section-product-price *,
.products-details-page .product-title,
.products-details-page .product-sku,
.products-details-page .div-product-sku,
.products-details-page .kayan-div-product-sku {
  color: var(--posh-porcelain) !important;
  border-color: var(--posh-soft-line) !important;
}

.product-formatted-price-discount,
.product-discount,
[class*="discount"] {
  color: var(--posh-soft-line) !important;
}

.border-product,
.product-border,
.section-out-of-stock-notify-me,
.products-details-page [class*="border"] {
  border-color: rgba(242, 237, 228, 0.32) !important;
  color: var(--posh-porcelain) !important;
}

/* Out of stock notify form border */
.products-details-page .form-group.form-notify-me,
.form-group.form-notify-me {
  border-color: rgba(242, 237, 228, 0.32) !important;
  color: var(--posh-porcelain) !important;
}

.form-group.form-notify-me .form-control,
.form-group.form-notify-me input,
.form-group.form-notify-me textarea {
  border-color: rgba(242, 237, 228, 0.65) !important;
  color: var(--posh-porcelain) !important;
  background-color: transparent !important;
}

.form-group.form-notify-me,
.form-group.form-notify-me *,
.section-out-of-stock-notify-me,
.section-out-of-stock-notify-me * {
  color: var(--posh-porcelain) !important;
}

/* Keep notify button readable */
.form-group.form-notify-me .btn,
.form-group.form-notify-me .btn *,
.form-group.form-notify-me button,
.form-group.form-notify-me button * {
  color: var(--posh-dark) !important;
}

/* =========================================
   13. BUTTONS
========================================= */

.btn,
.btn-primary,
.btn-add-to-cart,
.kayan-add-to-cart,
.product-card-add-to-cart,
.btn-product-card-out-of-stock,
.btn-send-notify,
.add-review-btn,
button[type="submit"],
input[type="submit"] {
  background-color: var(--posh-porcelain) !important;
  border-color: var(--posh-porcelain) !important;
  color: var(--posh-dark) !important;
  box-shadow: none !important;
}

.btn *,
.btn-primary *,
.btn-add-to-cart *,
.kayan-add-to-cart *,
.product-card-add-to-cart *,
.btn-product-card-out-of-stock *,
.btn-send-notify *,
.add-review-btn * {
  color: var(--posh-dark) !important;
  fill: var(--posh-dark) !important;
  stroke: var(--posh-dark) !important;
}

.btn:hover,
.btn-primary:hover,
.btn-add-to-cart:hover,
.kayan-add-to-cart:hover,
.product-card-add-to-cart:hover,
.btn-product-card-out-of-stock:hover,
.btn-send-notify:hover,
.add-review-btn:hover {
  background-color: var(--posh-soft-line) !important;
  border-color: var(--posh-soft-line) !important;
  color: var(--posh-dark) !important;
}

/* =========================================
   14. REVIEWS, QUESTIONS, STARS
========================================= */

.icon-reviews_black,
.review-details .icon-reviews_black,
.products-details-page .icon-reviews_black {
  color: var(--posh-porcelain) !important;
  border-color: var(--posh-soft-line) !important;
}

.review-details,
.review-details *,
.rating-section,
.product-card-rating-count,
.reviews-break-down-div,
.rating-average,
[class*="rating_count"] {
  color: var(--posh-porcelain) !important;
  border-color: rgba(242, 237, 228, 0.32) !important;
}

.icon-star1,
.icon-star1::before,
[class*="star"] {
  color: var(--posh-soft-line) !important;
}

.icon-star1.deactive,
.icon-star1.deactive::before {
  color: rgba(242, 237, 228, 0.36) !important;
}

/* =========================================
   15. SHARE / SOCIAL ICONS
========================================= */

.kayan-product-icon,
.product-social,
.product-social *,
.product-icon,
.product-icon *,
.kayan-social-icons,
.kayan-social-icons *,
.social-icons,
.social-icons * {
  color: var(--posh-porcelain) !important;
  fill: var(--posh-porcelain) !important;
  stroke: var(--posh-porcelain) !important;
  border-color: rgba(242, 237, 228, 0.32) !important;
}

.product-social a:hover,
.kayan-social-icons a:hover,
.social-icons a:hover {
  color: var(--posh-soft-line) !important;
}

/* =========================================
   16. WISHLIST / REWARDS
========================================= */

.add-to-wishlist {
  background-color: rgba(242, 237, 228, 0.92) !important;
  border-color: var(--posh-porcelain) !important;
  color: var(--posh-dark) !important;
}

.add-to-wishlist *,
.add-to-wishlist svg,
.add-to-wishlist i {
  color: var(--posh-dark) !important;
  fill: var(--posh-dark) !important;
  stroke: var(--posh-dark) !important;
}

.loyalty_button_footer,
.loyalty_footer_btn {
  background-color: var(--posh-porcelain) !important;
  border-color: var(--posh-porcelain) !important;
  color: var(--posh-dark) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
}

.loyalty_button_footer *,
.loyalty_footer_btn *,
.loyalty_button_footer svg,
.loyalty_footer_btn svg {
  color: var(--posh-dark) !important;
  fill: var(--posh-dark) !important;
  stroke: var(--posh-dark) !important;
}

/* =========================================
   17. FORMS / SELECTS / COOKIE BUTTONS
========================================= */

.select-quantity,
select,
input,
textarea {
  background-color: transparent !important;
  border-color: var(--posh-porcelain) !important;
  color: var(--posh-porcelain) !important;
}

.select-quantity option,
select option {
  background-color: var(--posh-dark) !important;
  color: var(--posh-porcelain) !important;
}

button[class*="save"],
button[class*="preference"],
button[class*="cookie"],
[class*="save-preference"],
[class*="cookie"] button,
[class*="preferences"] button {
  background-color: var(--posh-porcelain) !important;
  border-color: var(--posh-porcelain) !important;
  color: var(--posh-dark) !important;
}

button[class*="save"] *,
button[class*="preference"] *,
button[class*="cookie"] *,
[class*="save-preference"] *,
[class*="cookie"] button *,
[class*="preferences"] button * {
  color: var(--posh-dark) !important;
  fill: var(--posh-dark) !important;
  stroke: var(--posh-dark) !important;
}
/* =========================================
   POSH LOGO - FINAL FINAL FIX
   Fixes:
   1. Gap between POS and H
   2. Stretched H
   3. Thin / non-bold H
   All languages + desktop/mobile
========================================= */

/* Hide uploaded image logo */
.kayan-link-logo img,
.kayan-link-logo .kayan-image-logo,
.kayan-link-logo .image-logo {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Logo container */
.kayan-link-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;

  width: auto !important;
  min-width: 158px !important;
  height: 62px !important;

  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
  gap: 0 !important;
}

/* POS letters */
.kayan-link-logo::before {
  content: "POS" !important;
  display: inline-block !important;
  order: 1 !important;

  color: var(--posh-porcelain, #F2EDE4) !important;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif !important;
  font-size: 39px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;

  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision !important;
}

/* Custom stretched thin H */
.kayan-link-logo::after {
  content: "" !important;
  display: inline-block !important;
  order: 2 !important;

  width: 56px !important;
  height: 31px !important;
  margin-left: 1px !important;
  transform: translateY(1px) !important;

  background:
    linear-gradient(var(--posh-porcelain, #F2EDE4), var(--posh-porcelain, #F2EDE4)) left center / 3px 100% no-repeat,
    linear-gradient(var(--posh-porcelain, #F2EDE4), var(--posh-porcelain, #F2EDE4)) right center / 3px 100% no-repeat,
    linear-gradient(var(--posh-porcelain, #F2EDE4), var(--posh-porcelain, #F2EDE4)) center center / 100% 3px no-repeat !important;
}

/* Force POS then H in Arabic / RTL too */
html[dir="rtl"] .kayan-link-logo,
body[dir="rtl"] .kayan-link-logo,
.rtl .kayan-link-logo {
  flex-direction: row !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* Mobile */
@media (max-width: 768px) {
  .kayan-link-logo {
    min-width: 124px !important;
    height: 48px !important;
  }

  .kayan-link-logo::before {
    font-size: 30px !important;
    font-weight: 300 !important;
    letter-spacing: 0.02em !important;
  }

  .kayan-link-logo::after {
    width: 43px !important;
    height: 24px !important;
    margin-left: 1px !important;
    transform: translateY(1px) !important;

    background:
      linear-gradient(var(--posh-porcelain, #F2EDE4), var(--posh-porcelain, #F2EDE4)) left center / 2px 100% no-repeat,
      linear-gradient(var(--posh-porcelain, #F2EDE4), var(--posh-porcelain, #F2EDE4)) right center / 2px 100% no-repeat,
      linear-gradient(var(--posh-porcelain, #F2EDE4), var(--posh-porcelain, #F2EDE4)) center center / 100% 2px no-repeat !important;
  }
}