/*
Theme Name: Olten Lashes
Theme URI: https://localhost/
Author: Olten Lashes
Description: WordPress conversion of the original Olten Lashes multilingual site.
Version: 1.0.22
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: olten-lashes
*/

/*
 * The page is compiled in the browser from the <x-dc> source below. Keep the
 * source hidden while the small runtime starts so visitors never see raw
 * {{ template }} expressions on a slow or freshly warmed preview host.
 */
x-dc {
  display: none !important;
}

body:has(x-dc)::before {
  content: "OLTEN\00B7LASHES";
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  background: #fbf5f2;
  color: #2b211f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.18em;
}

html {
  scroll-behavior: smooth;
}

.training-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.training-gallery__item {
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: #f0dcd7;
}

.training-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.training-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.training-gallery__item:hover img {
  transform: scale(1.025);
}

.training-video-section {
  margin-top: clamp(32px, 4vw, 52px);
}

.training-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 14px;
}

.training-video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #241b19;
}

.review-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  align-items: start;
}

.review-card {
  margin: 0;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ece0dc;
}

.review-card img {
  display: block;
  width: 100%;
  height: auto;
}

.review-gallery--students {
  grid-template-columns: minmax(0, 520px);
}

.review-gallery--studio {
  margin-bottom: 0;
}

.reviews-training-section {
  margin-top: clamp(44px, 6vw, 76px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid #ecdfda;
}

.reviews-language-note {
  padding: 24px;
  border: 1px solid #ece0dc;
  background: #fdf8f6;
  color: #6f5c57;
  font-weight: 300;
  line-height: 1.6;
}

.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 42px);
  text-align: left;
}

.google-rating__score {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.85;
  color: #2b211f;
}

.google-rating__stars {
  color: #b0665f;
  font-size: 22px;
  letter-spacing: 0.14em;
}

.google-rating__text {
  margin-top: 8px;
  color: #6f5c57;
  font-size: 15px;
  line-height: 1.5;
}

.training-language,
.course-language {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.35;
}

.training-language {
  color: #e4c3bd;
}

.course-language {
  color: #805b55;
}

.service-process-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 10px;
}

.service-process-gallery__item {
  height: clamp(250px, 29vw, 340px);
  margin: 0;
  overflow: hidden;
  background: #f0dcd7;
}

.service-process-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(.22, 1, .36, 1);
}

.service-process-gallery__item--portrait img {
  object-position: center 42%;
}

.service-process-gallery__item:hover img {
  transform: scale(1.018);
}

.service-extension-video {
  position: relative;
  display: flex;
  height: clamp(360px, 45vw, 480px);
  margin-top: 10px;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #241b19;
}

.service-extension-video video {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.service-treatment-photo {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #f0dcd7;
}

.service-treatment-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(.22, 1, .36, 1);
}

.service-treatment-photo--correction img {
  object-position: center 38%;
}

.service-treatment-photo--tint img {
  object-position: center 52%;
}

.service-treatment-photo:hover img {
  transform: scale(1.018);
}

.service-lamination-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  padding: clamp(14px, 2.5vw, 24px);
  background: #f0dcd7;
}

.service-lamination-media__photo {
  margin: 0;
  overflow: hidden;
  background: #d8c4be;
}

.service-lamination-media__video {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #241b19;
}

.service-lamination-media__photo img,
.service-lamination-media__video,
.service-lamination-media video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
}

.service-lamination-media__photo img {
  object-fit: cover;
  object-position: center 46%;
}

.service-lamination-media video {
  background: #241b19;
  object-fit: contain;
}

.service-lamination-media__video-label,
.service-extension-video__label {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(36, 27, 25, 0.88);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.service-lamination-media__video-label:hover,
.service-extension-video__label:hover {
  background: rgba(176, 102, 95, 0.96);
  transform: translateY(-1px);
}

.service-lamination-media__video-label:focus-visible,
.service-extension-video__label:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.extension-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.extension-category-title {
  margin-bottom: 16px;
  color: #6f5c57;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.extension-category-title--spaced {
  margin-top: clamp(42px, 5vw, 64px);
}

.extension-work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 10px;
}

.extension-work-gallery__item {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #f0dcd7;
}

.extension-work-gallery__item--landscape,
.extension-work-gallery__item--comparison {
  grid-column: span 2;
  aspect-ratio: 8 / 5;
}

.extension-work-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(.22, 1, .36, 1);
}

.extension-work-gallery__item--comparison img {
  object-fit: contain;
}

.extension-work-gallery__item:hover img {
  transform: scale(1.018);
}

.booking-panel {
  padding: clamp(26px, 3vw, 40px);
  background: #fff;
  border: 1px solid #ece0dc;
}

.booking-panel__intro {
  max-width: 46ch;
  color: #6f5c57;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.booking-action {
  display: block;
  padding: 15px 22px;
  border: 1px solid #cfa9a2;
  border-radius: 999px;
  color: #4b3a36;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.booking-action:hover,
.booking-action:focus-visible {
  border-color: #b0665f;
  color: #8e4f49;
}

.booking-action--primary,
.booking-action--treatwell {
  border-color: #241b19;
  background: #241b19;
  color: #fbf5f2;
}

.booking-action--treatwell {
  border-color: #b0665f;
  background: #b0665f;
}

.booking-action--primary:hover,
.booking-action--primary:focus-visible,
.booking-action--treatwell:hover,
.booking-action--treatwell:focus-visible {
  color: #fff;
  background: #40302c;
}

.studio-entry {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 12px 0 0;
  overflow: hidden;
  background: #f0dcd7;
}

.studio-entry img,
.studio-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.studio-entry:hover img,
.studio-gallery__item:hover img {
  transform: scale(1.018);
}

.studio-entry figcaption,
.studio-gallery__item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(to top, rgb(36 27 25 / 78%), transparent);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.4;
}

.studio-section {
  margin-top: clamp(52px, 7vw, 92px);
  padding-top: clamp(38px, 5vw, 64px);
  border-top: 1px solid #e7d8d3;
}

.studio-section__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px 36px;
  margin-bottom: 24px;
}

.studio-section__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.08;
}

.studio-section__text {
  max-width: 48ch;
  color: #6f5c57;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.62;
}

.studio-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
}

.studio-gallery__item {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  background: #f0dcd7;
}

.studio-gallery__item--wide {
  min-height: 520px;
}

.studio-gallery__item--portrait img {
  object-position: center;
}

.home-work-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 255px;
  object-fit: cover;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.work-gallery__item {
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  background: #f0dcd7;
}

.work-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 350ms ease;
}

.work-gallery__item:hover img {
  transform: scale(1.02);
}

.owner-photo-frame {
  position: relative;
  overflow: hidden;
}

.owner-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-photo--hero {
  object-position: center 45%;
}

.owner-photo--about {
  object-position: center 20%;
}

.owner-photo--training {
  object-position: center 45%;
}

.contact-owner-photo {
  display: block;
  width: 176px;
  height: 176px;
  margin-top: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
}

body.admin-bar > #dc-root .sc-host > div > div:first-child {
  top: 32px !important;
}

@media screen and (max-width: 1020px) {
  .service-summary-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 20px !important;
  }

  .service-summary-row > :nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .service-summary-row > :nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar > #dc-root .sc-host > div > div:first-child {
    top: 46px !important;
  }
}

@media screen and (max-width: 760px) {
  .service-lamination-media {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-process-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-process-gallery__item {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .service-process-gallery__item--portrait {
    aspect-ratio: 3 / 4;
  }

  .service-extension-video {
    height: min(135vw, 540px);
  }

  .training-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-gallery__item--wide {
    grid-column: 1 / -1;
  }

  .training-video-grid {
    grid-template-columns: minmax(0, 360px);
  }

  .site-header {
    position: relative !important;
  }

  .site-header__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px 12px !important;
    padding: 14px 20px !important;
  }

  .site-header__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 9px 16px !important;
    justify-content: flex-start !important;
  }

  .site-header__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header__book {
    display: none !important;
  }

  .site-hero,
  [style*="minmax(340px, 1fr)"],
  [style*="minmax(360px, 1fr)"],
  [style*="minmax(320px, 1fr)"],
  [style*="minmax(300px, 1fr)"],
  [style*="minmax(285px, 1fr)"],
  [style*="minmax(280px, 1fr)"],
  [style*="minmax(258px, 1fr)"],
  .review-gallery,
  .work-gallery,
  .extension-category-grid,
  .extension-work-gallery,
  .studio-gallery {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .extension-work-gallery__item,
  .extension-work-gallery__item--landscape,
  .extension-work-gallery__item--comparison {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }

  .studio-gallery__item,
  .studio-gallery__item--wide {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .studio-gallery__item--portrait {
    aspect-ratio: 3 / 4;
  }

  .google-rating {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media screen and (max-width: 360px) {
  .site-header__inner {
    padding-inline: 14px !important;
  }

  .site-header__inner > div:first-child {
    min-width: 0;
    font-size: 18px !important;
    letter-spacing: 0.1em !important;
  }

  .course-card {
    min-width: 0;
    padding: 22px !important;
  }

  .course-card__footer {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .course-detail {
    min-width: 0;
    padding: 20px !important;
  }

  .course-detail__header,
  .course-detail__intro,
  .course-detail__action {
    min-width: 0;
    width: 100%;
  }

  .course-detail__action {
    text-align: left !important;
  }

  .course-detail__button {
    display: inline-block;
    max-width: 100%;
    padding-inline: 20px !important;
    white-space: normal !important;
    text-align: center;
  }
}
