/* Kiran Fitness additions on top of the template styles. */

/* Text wordmark (replaces the template's logo images) */
.kf-logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Jost", Helvetica, Arial, sans-serif; font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; color: #181d24; text-decoration: none; white-space: nowrap; }
.kf-logo:hover { color: #181d24; }
.kf-logo img { width: 34px; height: 34px; }
.kf-logo span { color: var(--primary-color); }
footer .kf-logo { font-size: 30px; }
header .kf-login { font-weight: 500; color: #181d24; margin-right: 22px; white-space: nowrap; }
header .kf-login:hover { color: var(--primary-color); }
@media (max-width: 1199px) { header .kf-login { display: none; } }
@media (max-width: 480px) { .kf-logo { font-size: 22px; } .kf-logo img { width: 28px; height: 28px; } }

/* Loading / empty / error messages for API-driven sections */
.kf-state { width: 100%; text-align: center; padding: 40px 16px; border-radius: 16px; background: rgba(var(--primary-color-rgb), 0.08); }
.kf-state-error { background: #fdecea; color: #a12a1e; }
.text-light .kf-state { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Cards */
.kf-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 30px rgba(24, 29, 36, 0.08); }
.kf-portrait { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center; background: rgba(var(--primary-color-rgb), 0.12); }
.kf-product-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: rgba(var(--primary-color-rgb), 0.12); }
.kf-type-card img.w-100 { aspect-ratio: 3 / 2; object-fit: cover; }
.kf-review { background: rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 28px; text-align: left; }
.kf-review p { font-size: 18px; }
.kf-review-light { background: rgba(var(--primary-color-rgb), 0.08); }
.kf-stars { color: #e6a100; letter-spacing: 2px; white-space: nowrap; }
.kf-star-off { opacity: 0.3; }

/* Pills */
.kf-pill { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(var(--primary-color-rgb), 0.14); color: #0b7a67; white-space: nowrap; }
.kf-pill-low { background: #fff4dc; color: #8a5800; }
.kf-pill-full { background: #fdecea; color: #a12a1e; }
.kf-pill-muted { background: #eceef1; color: #4a5058; }

/* Schedule */
.kf-day { margin-bottom: 32px; }
.kf-day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 24px; border-radius: 16px 16px 0 0; background: var(--primary-color); color: #fff; }
.kf-day-head h3 { color: #fff; margin: 0; font-size: 22px; }
.kf-session { display: flex; align-items: center; gap: 20px; padding: 16px 24px; background: rgba(var(--primary-color-rgb), 0.07); border-top: 2px solid #fff; }
.kf-day .kf-session:last-child { border-radius: 0 0 16px 16px; }
.kf-session-time { display: flex; flex-direction: column; min-width: 110px; line-height: 1.4; }
.kf-session-main { flex: 1; min-width: 0; }
.kf-session-title { font-size: 20px; font-weight: 500; color: #181d24; }
.kf-session-title:hover { color: var(--primary-color); }
.kf-session-side { display: flex; align-items: center; gap: 14px; }
.btn-main.btn-small { padding: 4px 18px; font-size: 15px; }
@media (max-width: 767px) {
  .kf-session { flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px; }
  .kf-session-main { flex-basis: 100%; order: 2; }
  .kf-session-side { order: 3; width: 100%; justify-content: space-between; }
  .kf-day-head { padding: 12px 16px; }
}
.kf-filters { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.kf-filters label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; color: #181d24; flex: 1 1 200px; max-width: 320px; }

/* Compact weekly preview on the home page */
.kf-week-slot { display: block; padding: 10px 8px; margin-top: 4px; line-height: 1.5; background: rgba(var(--primary-color-rgb), 0.1); color: inherit; }
.kf-week-slot:hover { background: rgba(var(--primary-color-rgb), 0.2); color: inherit; }

/* Definition rows on detail pages */
.kf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 24px 0; }
.kf-facts div { background: rgba(var(--primary-color-rgb), 0.08); border-radius: 12px; padding: 14px 18px; }
.kf-facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.kf-facts dd { margin: 0; color: #181d24; font-weight: 500; }
.kf-package { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 14px 0; border-top: 1px solid rgba(24, 29, 36, 0.1); }
.kf-package:first-child { border-top: 0; }
.kf-package h5 { margin: 0; }
.kf-price { font-size: 20px; font-weight: 600; color: #0b7a67; white-space: nowrap; }

/* Forms */
.kf-form-message { margin-top: 16px; min-height: 24px; }
.kf-form-success { padding: 12px 16px; border-radius: 10px; background: #e4f6ec; color: #18794e; }
.kf-form-error { padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #a12a1e; }
.kf-hint { font-size: 14px; }
.kf-placeholder { border-bottom: 1px dashed currentColor; }
.subfooter .kf-staff a { font-size: 13px; opacity: 0.75; margin-left: 14px; }

/* Outline buttons on light backgrounds (the template only styles them for dark sections) */
a.btn-main.btn-line.kf-outline { border: 1px solid rgba(24, 29, 36, 0.35); }
a.btn-main.btn-line.kf-outline:hover { border-color: transparent; }

/* The template's parallax script (skrollr) writes a fixed pixel height onto <body> when it starts.
   Our pages add content from the API after that, so the fixed height cut off the bottom of the page
   and the footer could not be reached. Let the body always grow with its content. */
body { height: auto !important; min-height: 100%; }

/* Home hero on phones and tablets: the wide photo behind the text put the model on top of the words.
   Below 992px the background is dropped and the photo is shown under the buttons instead. */
.kf-hero-photo { display: none; }
@media (max-width: 991px) {
  section.kf-hero { background: linear-gradient(180deg, #e3f5f2 0%, #ffffff 60%) !important; padding-bottom: 0; }
  section.kf-hero .spacer-double:last-of-type { display: none; }
  .kf-hero-photo { display: block; margin-top: 28px; height: 68vw; max-height: 440px; background: url(/images_02/background/1.webp) no-repeat 86% top; background-size: cover; }
}
