/**
 * Front page — match header / footer / single-salon chrome (#c29287, 1180×92%, card UI).
 */

body.skt-el-chrome.home .skt-site-main,
body.skt-el-chrome.skt-home-page .skt-site-main {
  padding: 0;
  background: #fff;
}

body.skt-el-chrome .skt-home {
  --sk-primary: #c29287;
  --sk-primary-dark: #a8766a;
  --sk-primary-bg: #faf4f2;
  --sk-primary-bg-soft: #fdf8f6;
  --sk-primary-border: #e8d5d0;
  --sk-primary-border-light: #f0e4e0;
  --skt-primary: #c29287;
  --skt-primary-dark: #a8766a;
  --skt-primary-soft: #fdf8f6;
  --skt-border: #f0e4e0;
  direction: rtl;
  color: #151515;
  background: #fff;
}

body.skt-el-chrome .skt-home-section__inner,
body.skt-el-chrome .skt-container,
body.skt-el-chrome .skt-home .skh-container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ----- Plugin homepage blocks (.skh-*) inside theme shell ----- */
body.skt-el-chrome .skt-home__plugin .skh-home {
  background: transparent !important;
  color: inherit;
}

body.skt-el-chrome .skt-home__plugin--hero .skh-hero {
  padding: 28px 0 32px;
  background: transparent !important;
}

body.skt-el-chrome .skt-home__plugin .skh-section {
  padding: 40px 0;
}

body.skt-el-chrome .skt-home__plugin--featured .skh-section {
  background: var(--sk-primary-bg-soft) !important;
  border-radius: 0;
}

body.skt-el-chrome .skt-home__plugin .skh-section-title h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
}

body.skt-el-chrome .skt-home__plugin .skh-section-title p {
  font-size: 14px;
  color: #666;
}

body.skt-el-chrome .skt-home__plugin .skh-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.35;
}

body.skt-el-chrome .skt-home__plugin .skh-hero-image {
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.1);
}

body.skt-el-chrome .skt-home__plugin .skh-search-box {
  border-radius: 20px;
  border-color: var(--sk-primary-border-light);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

body.skt-el-chrome .skt-home__plugin .skh-cat-card,
body.skt-el-chrome .skt-home__plugin .skh-salon-card {
  border-radius: 20px;
  border-color: var(--sk-primary-border-light);
}

/*
 * Categories — same column as title (skh-container), full width under heading.
 * Plugin default is 7-col grid; overrides use !important (inline skh styles load in body).
 */
body.skt-el-chrome.home .skh-section:has(.skh-categories) .skh-container,
body.skt-el-chrome .skt-home__plugin--categories .skh-section .skh-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: min(1180px, 92%) !important;
  max-width: min(1180px, 92%) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

body.skt-el-chrome.home .skh-section:has(.skh-categories) .skh-section-title,
body.skt-el-chrome .skt-home__plugin--categories .skh-section-title {
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 28px !important;
}

body.skt-el-chrome.home .skh-categories,
body.skt-el-chrome .skt-home__plugin--categories .skh-categories {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-items: stretch !important;
}

body.skt-el-chrome.home .skh-categories .skh-cat-card,
body.skt-el-chrome .skt-home__plugin--categories .skh-cat-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.skt-el-chrome .skt-home-section--categories .skt-home-section__inner,
body.skt-el-chrome .skt-home-section:has(.skt-cat-grid) .skt-home-section__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(1180px, 92%);
  margin-inline: auto;
}

body.skt-el-chrome .skt-home-section .skt-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body.skt-el-chrome .skt-home-section .skt-cat-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

@media (min-width: 640px) {
  body.skt-el-chrome.home .skh-categories,
  body.skt-el-chrome .skt-home__plugin--categories .skh-categories,
  body.skt-el-chrome .skt-home-section .skt-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (min-width: 900px) {
  body.skt-el-chrome.home .skh-categories,
  body.skt-el-chrome .skt-home__plugin--categories .skh-categories,
  body.skt-el-chrome .skt-home-section .skt-cat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

body.skt-el-chrome .skt-home__plugin .skh-owner {
  border-radius: 24px;
  border: 1px solid var(--sk-primary-border-light);
}

body.skt-el-chrome .skt-home__plugin--owner {
  padding-bottom: 36px;
}

body.skt-el-chrome .skt-home__plugin--owner .skh-section {
  padding-top: 0;
  padding-bottom: 0;
}

/* ----- Theme fallback hero ----- */
body.skt-el-chrome .skt-home-fallback-hero {
  padding: 28px 0 8px;
}

body.skt-el-chrome .skt-home-fallback-hero__card {
  width: min(1180px, 92%);
  margin-inline: auto;
  padding: 36px 32px 32px;
  border-radius: 28px;
  border: 1px solid var(--sk-primary-border-light);
  background: linear-gradient(145deg, #fff 0%, var(--sk-primary-bg-soft) 100%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
  text-align: center;
}

body.skt-el-chrome .skt-home-fallback-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  font-weight: 950;
  line-height: 1.35;
}

body.skt-el-chrome .skt-home-fallback-hero__lead {
  margin: 0 auto 24px;
  max-width: 36rem;
  color: #555;
  font-size: 15px;
  line-height: 1.85;
}

body.skt-el-chrome .skt-home-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--sk-primary-border-light);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

body.skt-el-chrome .skt-home-search input,
body.skt-el-chrome .skt-home-search select {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #eee;
  border-radius: 14px;
  font: inherit;
  background: #fff;
}

body.skt-el-chrome .skt-home-fallback-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

body.skt-el-chrome .skt-btn--primary {
  box-shadow: 0 12px 28px rgba(194, 146, 135, 0.28);
  border-radius: 16px;
}

body.skt-el-chrome .skt-btn--outline {
  border-radius: 16px;
  border-color: var(--sk-primary-border);
}

/* ----- Theme sections ----- */
body.skt-el-chrome .skt-home-section {
  padding: 40px 0;
}

body.skt-el-chrome .skt-home-section--soft {
  background: var(--sk-primary-bg-soft);
}

body.skt-el-chrome .skt-home-section--about {
  padding-top: 12px;
  padding-bottom: 28px;
}

body.skt-el-chrome .skt-home-section--owner {
  padding-top: 0;
  padding-bottom: 44px;
}

body.skt-el-chrome .skt-home-section__head {
  margin-bottom: 24px;
  text-align: center;
}

body.skt-el-chrome .skt-home-section__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

body.skt-el-chrome .skt-home-section__title-mark {
  color: var(--skt-primary);
}

body.skt-el-chrome .skt-home-section__subtitle {
  margin: 0;
  color: #666;
  font-size: 14px;
}

body.skt-el-chrome .skt-home-section__more {
  text-align: center;
  margin: 20px 0 0;
  font-weight: 700;
}

body.skt-el-chrome .skt-home-section__more a {
  color: var(--skt-primary-dark);
  text-decoration: none;
}

body.skt-el-chrome .skt-home-card {
  background: #fff;
  border: 1px solid var(--sk-primary-border-light);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

body.skt-el-chrome .skt-home-card--prose p {
  margin: 0 0 1rem;
  color: #555;
  line-height: 1.9;
  font-size: 15px;
}

body.skt-el-chrome .skt-home-card--prose p:last-child {
  margin-bottom: 0;
}

body.skt-el-chrome .skt-home-section__title--in-card {
  display: block;
  text-align: right;
  margin-bottom: 16px;
}

body.skt-el-chrome .skt-cat-card {
  border-radius: 20px;
  border-color: var(--sk-primary-border-light);
}

body.skt-el-chrome .skt-cat-card:hover {
  box-shadow: 0 12px 28px rgba(194, 146, 135, 0.14);
}

body.skt-el-chrome .skt-tag {
  border-color: var(--sk-primary-border-light);
  border-radius: 999px;
}

body.skt-el-chrome .skt-salon-card {
  border-radius: 20px;
  border-color: var(--sk-primary-border-light);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

body.skt-el-chrome .skt-owner-cta {
  border-radius: 24px;
  border: 1px solid var(--sk-primary-border-light);
  background: linear-gradient(90deg, #f0e0da, var(--sk-primary-bg-soft));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
  body.skt-el-chrome .skt-home-search {
    grid-template-columns: 1fr 1fr auto;
  }

  body.skt-el-chrome .skt-home-search input[type="search"] {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  body.skt-el-chrome .skt-home-search {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  }

  body.skt-el-chrome .skt-home-search input[type="search"] {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  body.skt-el-chrome .skt-home-fallback-hero__card {
    width: 92%;
    padding: 28px 20px;
    border-radius: 20px;
  }

  body.skt-el-chrome .skt-home__plugin .skh-section {
    padding: 32px 0;
  }

  body.skt-el-chrome .skt-home-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
}
