/* kkcomm-20261106-screenshot-fixes */

/* About page: remove the layered white canvas and let each content band meet cleanly. */
body.template-page:has(.section_id_image-with-text-kkabout-intro) {
  background: #fbf6f1;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .main-page {
  background: #fbf6f1;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .main-page > .f-page-header {
  margin: 0;
  padding: 60px 24px 54px;
  border: 0;
  background: #f0e2d6;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .main-page > .f-page-header .container {
  max-width: 1120px;
  padding: 0;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .main-page > .f-page-header__title {
  margin-bottom: 12px;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .main-page > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .main-page .f-page-content {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > .section_id_image-with-text-kkabout-intro,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > .section_id_collection-list-kkabout-rooms {
  background: #fbf6f1;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > .section_id_icon-box-kkabout-steps,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > .section_id_image-with-text-kkabout-decor {
  background: #f0e2d6;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > div > section {
  margin: 0;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > div .container,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > div .container-fluid {
  width: min(100%, 1240px);
  max-width: 1240px;
  margin-inline: auto;
  padding: 64px 32px;
  box-sizing: border-box;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) #f-section-image-with-text-kkabout-intro {
  padding-block: 56px;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) #f-section-image-with-text-kkabout-intro > .container-fluid {
  padding-block: 0;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__image,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__content,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__image,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__content {
  width: 100% !important;
  min-width: 0;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__image,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__image {
  padding: 0 !important;
  order: 1 !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__content {
  order: 2 !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__image-first {
  min-height: 430px;
  border-radius: 10px;
  overflow: hidden;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__content,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__content {
  padding: 0 !important;
  background: transparent !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-section__header {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-mixed-layout__inner {
  gap: 0;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-icon-box {
  height: 100%;
  padding: 26px 30px 30px;
  border-top: 2px solid #8c3a2a;
  border-radius: 0;
  background: transparent;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-icon-box__icon {
  display: none !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-icon-box__heading {
  margin-bottom: 12px;
  color: #8c3a2a;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-icon-box__description {
  max-width: 32ch;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .section_id_collection-list-kkabout-rooms .f-section__header {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .section_id_collection-list-kkabout-rooms .f-collection-card__title {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__inner {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__image {
  order: 2 !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__content {
  order: 1 !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__image-first {
  min-height: 430px;
  border-radius: 10px;
  overflow: hidden;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close {
  width: 100%;
  background: #8c3a2a !important;
  color: #fbf6f1;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close > .container-fluid {
  max-width: 940px;
  padding: 54px 28px 58px;
  text-align: center;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-richtext {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-richtext__title,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-richtext__description,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-richtext__description p {
  color: #fbf6f1 !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-richtext__description {
  max-width: 650px;
  margin-inline: auto;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-button--primary {
  margin-top: 26px;
  border-color: #fbf6f1 !important;
  background: #fbf6f1 !important;
  color: #2a1c16 !important;
}

body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-button--primary:hover,
body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-button--primary:focus-visible {
  border-color: #e2cdbe !important;
  background: #e2cdbe !important;
  color: #2a1c16 !important;
}

/* Product cards: readable title and consistent inner rhythm. */
.f-product-card {
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.f-product-card .f-product-card__content {
  padding: 16px 18px 18px !important;
  background: #fff;
}

.f-product-card .f-product-card__info {
  margin-top: 0 !important;
}

.f-product-card .f-product-card__title {
  margin: 0 0 9px !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.42 !important;
}

.f-product-card .f-product-card__price {
  font-size: 16px !important;
  line-height: 1.45;
}

/* Product page interactions and mobile controls. */
body.template-product .f-add-to-cart.f-button {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease !important;
}

body.template-product .f-add-to-cart.f-button:hover,
body.template-product .f-add-to-cart.f-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(42, 28, 22, .16) !important;
}

body.template-product .f-header__mobile .f-header-cart {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  margin-inline: -6px;
  touch-action: manipulation;
}

@media (max-width: 767px) {
  body.template-product .f-product-media--slider__pagination {
    display: none !important;
  }

  body.template-product {
    padding-bottom: calc(128px + env(safe-area-inset-bottom));
  }

  body.template-product .f-sticky-addtocart {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;
  }

  body.template-product .f-sticky-addtocart .container-full {
    width: 100%;
    max-width: none;
    padding-inline: 12px;
    box-sizing: border-box;
  }

  body.template-product .f-sticky-addtocart sticky-atc,
  body.template-product .f-sticky-addtocart--rightblock,
  body.template-product .f-sticky-addtocart--rightblock product-form,
  body.template-product .f-sticky-addtocart--rightblock form {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
  }

  body.template-product .f-sticky-addtocart .f-product-form__wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  body.template-product .f-sticky-addtocart .f-product-form__wrapper > .position-relative {
    grid-column: 1 / -1;
    min-width: 0;
  }

  body.template-product .f-sticky-addtocart .f-product-option--dropdown-select {
    width: 100% !important;
    max-width: 100%;
    min-height: 46px;
  }

  body.template-product .f-sticky-addtocart .f-quantity {
    width: 120px;
    min-width: 120px;
    min-height: 48px;
  }

  body.template-product .f-sticky-addtocart .f-add-to-cart {
    width: auto !important;
    min-width: 0;
    min-height: 48px;
    padding-inline: 16px;
    white-space: nowrap;
  }

  .f-product-card .f-product-card__content {
    padding: 14px 14px 16px !important;
  }

  .f-product-card .f-product-card__title {
    font-size: 16px !important;
  }
}

@media (max-width: 1023px) {
  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__inner,
  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-intro .f-image-with-text__image-first,
  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-decor .f-image-with-text__image-first {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > div .container,
  body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > div .container-fluid {
    padding: 48px 24px;
  }
}

@media (max-width: 767px) {
  body.template-page:has(.section_id_image-with-text-kkabout-intro) .main-page > .f-page-header {
    padding: 42px 20px 38px;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > div .container,
  body.template-page:has(.section_id_image-with-text-kkabout-intro) .f-page-content > div .container-fluid {
    padding: 38px 20px;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) #f-section-image-with-text-kkabout-intro {
    padding-block: 36px;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) #f-section-image-with-text-kkabout-intro > .container-fluid {
    padding-block: 0;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-section__header,
  body.template-page:has(.section_id_image-with-text-kkabout-intro) .section_id_collection-list-kkabout-rooms .f-section__header {
    margin-bottom: 24px;
    text-align: left;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-mixed-layout__inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-steps .f-icon-box {
    padding: 20px 0 24px;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close > .container-fluid {
    padding: 42px 22px 46px;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-richtext {
    text-align: center;
  }

  body.template-page:has(.section_id_image-with-text-kkabout-intro) .kk4513-about-close .f-richtext__description {
    margin-inline: auto;
  }
}

/* About page: a clear editorial page title above the template story. */
body.template-page .simig-about-page-title {
  background: #fbf6f1;
}

body.template-page .simig-about-page-title .f-section-my {
  width: min(100%, 1240px);
  padding: 42px 32px 20px !important;
  box-sizing: border-box;
}

body.template-page .simig-about-page-title .f-richtext {
  text-align: center;
}

body.template-page .simig-about-page-title .f-richtext__title {
  margin: 0;
  color: #1c1410;
  font-family: var(--font-stack-header);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.kk-about-template-page-title {
  background: #fbf6f1;
}

.kk-about-template-page-title__inner {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 42px 32px 20px;
  box-sizing: border-box;
}

.kk-about-template-page-title__heading {
  margin: 0;
  color: #1c1410;
  font-family: var(--font-stack-header);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
}

@media (max-width: 767px) {
  body.template-page .simig-about-page-title .f-section-my {
    padding: 30px 20px 16px !important;
  }

  body.template-page .simig-about-page-title .f-richtext__title {
    font-size: 42px;
  }

  .kk-about-template-page-title__inner {
    padding: 30px 20px 16px;
  }

  .kk-about-template-page-title__heading {
    font-size: 42px;
  }
}
