/* Khawateens homepage v2 — full-bleed, soft-luxury */

:root {
  --kh-pink: #ff4a96;
  --kh-ink: #2a1f24;
  --kh-blush: #f7eaf0;
  --kh-cream: #fbf7f5;
  --kh-muted: #6b5e63;
  --kh-white: #ffffff;
  --kh-display: "Cormorant Garamond", Georgia, serif;
  --kh-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- True full width (OceanWP boxes #content-wrap.container) ---------- */
body.kh-home #content-wrap.container,
body.kh-redesign-home #content-wrap.container,
body.kh-home #main #content-wrap,
body.kh-redesign-home #main #content-wrap {
  width: 100% !important;
  max-width: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

body.kh-home .content-area,
body.kh-redesign-home .content-area,
body.kh-home #content,
body.kh-redesign-home #content {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
}

body.kh-home .entry-content,
body.kh-redesign-home .entry-content,
body.kh-home .elementor,
body.kh-redesign-home .elementor {
  margin: 0 !important;
  max-width: none !important;
}

body.kh-home .elementor-section.elementor-section-stretched,
body.kh-redesign-home .elementor-section.elementor-section-stretched,
body.kh-home .kh-utility,
body.kh-home .kh-hero,
body.kh-home .kh-story,
body.kh-home .kh-categories,
body.kh-home .kh-spotlight,
body.kh-home .kh-featured,
body.kh-home .kh-trust,
body.kh-home .kh-cta {
  width: 100% !important;
  left: 0 !important;
  max-width: 100% !important;
}

body.kh-home,
body.kh-redesign-home {
  --ocean-primary-color: var(--kh-pink);
  font-family: var(--kh-body);
  color: var(--kh-ink);
  background: var(--kh-cream);
}

body.kh-home .page-header,
body.kh-redesign-home .page-header {
  display: none !important;
}

body.kh-home #site-header,
body.kh-redesign-home #site-header {
  box-shadow: none;
}

/* Utility */
.kh-utility {
  border-bottom: 1px solid rgba(42, 31, 36, 0.06);
}

.kh-utility-text p {
  margin: 0;
  letter-spacing: 0.06em;
}

.kh-utility-text a {
  color: var(--kh-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero — full-bleed cover with readable text overlay */
.kh-hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh !important;
}

.kh-hero .elementor-container,
.kh-cta .elementor-container {
  max-width: 920px !important;
}

.kh-hero .elementor-background-overlay,
.kh-cta .elementor-background-overlay {
  pointer-events: none;
  background-color: #2a1f24 !important;
}

/* Stronger wash so white hero/CTA copy stays readable on bright photos */
.kh-hero .elementor-background-overlay {
  opacity: 0.48 !important;
}

.kh-cta .elementor-background-overlay {
  opacity: 0.42 !important;
}

.kh-hero-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.kh-hero-title .elementor-heading-title {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.kh-hero-support,
.kh-spotlight-copy,
.kh-cta-copy {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.kh-spotlight-product img {
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(42, 31, 36, 0.08);
  background: #fff;
}

.kh-spotlight-discreet .elementor-container {
  max-width: 1200px !important;
}

.kh-hero-support p,
.kh-spotlight-copy p,
.kh-cta-copy p {
  margin: 0;
}

/* Buttons */
.kh-btn .elementor-button {
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.kh-btn-primary .elementor-button {
  box-shadow: 0 12px 28px rgba(255, 74, 150, 0.28);
}

.kh-btn-primary .elementor-button:hover,
.kh-btn-primary .elementor-button:focus {
  background-color: #e83e86 !important;
  transform: translateY(-1px);
}

.kh-btn-ghost .elementor-button {
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
  padding: 12px 28px !important;
  margin-top: 0.35rem;
}

.kh-btn-ghost .elementor-button:hover,
.kh-btn-ghost .elementor-button:focus {
  background: rgba(255, 255, 255, 0.12) !important;
}

.kh-btn-light .elementor-button:hover,
.kh-btn-light .elementor-button:focus {
  background: var(--kh-blush) !important;
  transform: translateY(-1px);
}

/* Story split */
.kh-story .elementor-container {
  max-width: none !important;
  display: flex;
  align-items: stretch;
}

.kh-story .elementor-row {
  width: 100%;
}

.kh-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 560px;
}

/* Text column padding — keep “Comfort first, always” breathing room */
.kh-story .kh-story-copy-col > .elementor-column-wrap,
.kh-story .kh-story-copy-col .elementor-widget-wrap,
.kh-story .elementor-element-populated.elementor-column-wrap {
  height: 100%;
}

.kh-story .elementor-col-50:last-child > .elementor-column-wrap {
  padding: 72px 80px 72px 64px !important;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.kh-story .elementor-col-50:last-child .elementor-widget-wrap {
  width: 100%;
  max-width: 34rem;
}

.kh-story-copy p {
  margin: 0 0 1rem;
}

.kh-story-copy p:last-child {
  margin-bottom: 0;
}

.kh-story .kh-section-title .elementor-heading-title {
  margin-bottom: 0;
}

/* Categories / products */
.kh-categories .elementor-container,
.kh-featured .elementor-container,
.kh-trust .elementor-container {
  max-width: 1280px !important;
}

.kh-section-title .elementor-heading-title {
  letter-spacing: 0.01em;
}

.kh-categories .products .product-category {
  overflow: hidden;
  border-radius: 2px;
}

.kh-categories .products .product-category a img {
  transition: transform 0.45s ease;
  width: 100%;
}

.kh-categories .products .product-category:hover a img {
  transform: scale(1.04);
}

.kh-categories .products .product-category .woocommerce-loop-category__title,
.kh-categories .products .product-category h2 {
  font-family: var(--kh-display) !important;
  font-weight: 500 !important;
  font-size: 1.35rem !important;
  color: var(--kh-ink) !important;
  text-align: center;
  margin-top: 0.85rem !important;
}

.kh-categories .products .product-category .count {
  display: none;
}

.kh-featured ul.products li.product {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: center;
}

.kh-featured ul.products li.product img {
  border-radius: 2px;
  transition: transform 0.4s ease;
}

.kh-featured ul.products li.product:hover img {
  transform: translateY(-3px);
}

.kh-featured ul.products li.product .woocommerce-loop-product__title,
.kh-featured ul.products li.product h2,
.kh-featured ul.products li.product .title a {
  font-family: var(--kh-body) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: var(--kh-ink) !important;
}

.kh-featured ul.products li.product .price {
  color: var(--kh-muted) !important;
  font-size: 0.9rem !important;
}

.kh-featured ul.products li.product .button,
.kh-featured ul.products li.product .added_to_cart {
  background: transparent !important;
  color: var(--kh-pink) !important;
  border: 1px solid var(--kh-pink) !important;
  border-radius: 2px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem !important;
}

.kh-featured li.product.outofstock {
  display: none !important;
}

.kh-featured .onsale {
  background: var(--kh-pink) !important;
  border-radius: 2px !important;
  min-height: auto !important;
  line-height: 1.2 !important;
  padding: 0.25rem 0.45rem !important;
}

/* Spotlight / CTA */
.kh-spotlight,
.kh-cta {
  position: relative;
}

.kh-cta-links a {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Motion */
@keyframes kh-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kh-story,
.kh-categories,
.kh-featured,
.kh-trust {
  animation: kh-rise 0.7s ease both;
}

/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
  .kh-story .elementor-container,
  .kh-story .elementor-row {
    flex-direction: column;
  }

  .kh-story-image img {
    min-height: 360px;
  }

  .kh-story .elementor-col-50:last-child > .elementor-column-wrap {
    padding: 48px 36px 56px !important;
  }
}

@media (max-width: 767px) {
  .kh-utility-text p {
    font-size: 11px;
    line-height: 1.45;
  }

  .kh-hero-title .elementor-heading-title {
    font-size: 2.25rem !important;
    max-width: none;
  }

  .kh-hero-support {
    font-size: 0.95rem;
  }

  .kh-hero-copy-col > .elementor-column-wrap,
  .kh-hero-media-col > .elementor-column-wrap {
    padding: 28px 22px !important;
  }

  .kh-section-title .elementor-heading-title {
    font-size: 1.9rem !important;
  }

  .kh-categories .products,
  .kh-featured .products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem 0.75rem !important;
  }

  .kh-categories .products .product-category,
  .kh-featured ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }

  .kh-story .elementor-col-50:last-child > .elementor-column-wrap {
    padding: 36px 22px 44px !important;
  }

  .kh-spotlight .elementor-heading-title,
  .kh-cta .elementor-heading-title {
    font-size: 1.85rem !important;
  }
}
