/* Phase 1, not deployed. Local latin variable fonts. Weights used by this theme:
   Lora 400, 500, 600 and italic 400. Raleway 300, 400, 500, 600, 700. */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/site/fonts/lora-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/site/fonts/lora-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/site/fonts/raleway-latin.woff2") format("woff2");
}

:root {
  /* Brand from website_ontwerp_kleineSpruitjes.pdf */
  --ks-wine: #5b172f;
  --ks-wine-deep: #4a1226;
  --ks-blush: #efe3de;
  --ks-sand: #f8eac2;
  --ks-butter: #f8eac2;
  --ks-cream: #f8eac2;
  --ks-label: #f8eac2;
  /* Design fonts: Lora (titles/nav) + Raleway (body/labels) */
  --ks-serif: "Lora", Georgia, "Times New Roman", serif;
  --ks-sans: "Raleway", "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  background: #fff !important;
  color: var(--ks-wine) !important;
  font-family: var(--ks-sans) !important;
  font-weight: 400;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.cv-layout-spacer,
.cv-nav-login,
.account-wrapper,
.navbar-toggler,
.pg-menu-bar,
#header .navbar-nav.d-lg-none,
#navbarDropdownMobile {
  display: none !important;
}

.flex-container.cv-block-top {
  padding: 0 !important;
  padding-bottom: 0 !important;
}

/* Full-bleed for homepage/recipes; keep readable width elsewhere */
.main-container.cv-main,
.cv-main.container {
  max-width: 1080px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 28px 18px 56px !important;
  flex: 1 0 auto;
}

.main-container.cv-main:has(.pagebuilder-content),
.main-container.cv-main:has(.ks-recipes),
.container.main-container.cv-main:has(.pagebuilder-content),
.container.main-container.cv-main:has(.ks-recipes) {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pagebuilder-content > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Only force full-bleed columns on single-widget hero-style rows */
.pagebuilder-content > .row.ks-pb-hero > [class*="col-"] {
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

#navbar_top,
#navbar_top.cv-navbar--sticky,
#header,
#header.full-header,
#header .navbar {
  background: var(--ks-wine) !important;
  box-shadow: none !important;
}

#header .navbar > .container {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  min-height: 74px;
}

#header .navbar-collapse {
  display: flex !important;
  flex-basis: auto !important;
  order: 1;
  visibility: visible !important;
}

#header .navbar-collapse .navbar-nav {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
}

#header .navbar-brand {
  order: 2;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding: 0;
}

#navbar_top .navbar-brand img {
  max-height: 64px !important;
  height: 64px;
  width: auto;
}

#header .nav-link {
  color: #fff !important;
  font-family: var(--ks-serif) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0.01em;
  padding: 0.15rem 0.15rem !important;
  white-space: nowrap;
}

#header .navbar-nav .nav-item:not(:last-child) .nav-link::after {
  content: "|";
  display: inline-block;
  margin-left: 0.7rem;
  color: #fff;
  font-weight: 400;
}

.ks-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px;
}

.ks-hero {
  position: relative;
  width: 100%;
}

.ks-hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* PageBuilder home sections (editable widgets) */
.pagebuilder-content > .row.ks-pb-hero,
.pagebuilder-content > .row.ks-pb-nieuw-title,
.pagebuilder-content > .row.ks-pb-nieuw,
.pagebuilder-content > .row.ks-pb-ig-title {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Welkom + IG: blok centreren (niet full-bleed links) */
.pagebuilder-content > .row.ks-pb-welcome,
.pagebuilder-content > .row.ks-pb-ig {
  margin-left: auto !important;
  margin-right: auto !important;
}

.ks-pb-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: none;
}

.ks-pb-hero > [class*="col-"] {
  position: relative;
  padding: 0 !important;
}

.ks-hero-ui {
  position: relative;
  width: 100%;
  height: clamp(340px, 52vh, 580px);
  overflow: hidden;
  background: var(--ks-cream);
}

.ks-hero-ui__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.ks-hero-ui__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  box-sizing: border-box;
  max-height: 100%;
  /* 8% / 18% is a percentage of the width. On a very wide screen that
     padding is taller than the hero, the overlay spills out, and the
     logo (anchored to the overlay) is clipped. Cap it so a normal
     desktop stays as it is. */
  padding-top: min(8%, 10rem, 14vh);
  padding-right: 6%;
  padding-bottom: min(18%, 22rem, calc(52vh - 11rem));
  padding-left: 6%;
  pointer-events: none;
}

.ks-hero-ui__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  margin: 0;
  width: min(100%, 54rem);
  text-align: center;
  color: #fff;
  font-family: var(--ks-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.15vw, 1.75rem);
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(40, 8, 16, 0.35);
}

.ks-hero-ui__lead span {
  display: block;
}

@media (min-width: 721px) {
  .ks-hero-ui__lead span {
    white-space: nowrap;
  }
}

.ks-hero-ui__btn {
  pointer-events: auto;
  position: static;
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(9.5rem, 18vw, 12.5rem);
  padding: 0.55rem 1.6rem;
  border-radius: 999px;
  background: #f1d4d9;
  color: var(--ks-wine) !important;
  font-family: var(--ks-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  line-height: 1.1;
  box-shadow: 0 1px 0 rgba(91, 23, 47, 0.08);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.ks-hero-ui__btn:hover,
.ks-hero-ui__btn:focus-visible {
  background: #e9c4cb;
  transform: scale(1.03);
  outline: none;
}

.ks-hero-ui__logo {
  pointer-events: none;
  position: absolute;
  left: clamp(0.35rem, 1vw, 0.75rem);
  bottom: clamp(0.35rem, 1.2vh, 0.7rem);
  width: auto;
  height: clamp(7.5rem, 16vh, 10.5rem);
  max-width: min(46vw, 22rem);
  display: block;
  object-fit: contain;
  object-position: left bottom;
}

@media (max-width: 720px) {
  .ks-pb-hero,
  .ks-hero-ui {
    max-height: none;
    height: clamp(280px, 46vh, 420px);
  }

  .ks-hero-ui__lead {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    width: 100%;
  }

  .ks-hero-ui__btn {
    min-width: 8.25rem;
    padding: 0.45rem 1.25rem;
  }

  .ks-hero-ui__logo {
    display: none;
  }
}

.ks-pb-welcome {
  display: grid !important;
  grid-template-columns: 0.9fr 1.15fr;
  align-items: center;
  column-gap: 36px;
  row-gap: 18px;
  width: 100%;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 54px 22px 64px;
  box-sizing: border-box;
}

.ks-pb-welcome > [class*="col-"] {
  flex: none !important;
  max-width: none !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ks-pb-welcome .figure {
  margin: 0;
}

.ks-pb-welcome .figure img {
  width: 100% !important;
  height: auto;
  display: block;
}

.ks-pb-welcome .container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.ks-pb-welcome h2 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin: 0 0 14px;
  color: var(--ks-wine);
}

.ks-pb-welcome p {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 12px;
  color: var(--ks-wine);
}

.ks-pb-nieuw-title {
  background: var(--ks-sand);
  padding: 42px 22px 8px;
  margin: 0 !important;
}

.ks-pb-nieuw-title .container {
  max-width: 920px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  text-align: center;
}

.ks-pb-nieuw-title h2 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin: 0;
  color: var(--ks-wine);
  text-align: center;
}

.ks-pb-nieuw-title h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 2px;
  background: var(--ks-wine);
  margin: 8px auto 0;
}

.ks-pb-nieuw {
  background: var(--ks-sand);
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px 22px 48px;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 260px));
  justify-content: center;
  align-items: start;
  column-gap: 28px;
  row-gap: 18px;
}

.ks-pb-nieuw > [class*="col-"] {
  flex: none !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.ks-pb-nieuw .figure {
  margin: 0 0 12px;
}

.ks-pb-nieuw .figure img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.ks-pb-nieuw .container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.ks-pb-nieuw h3,
.ks-pb-nieuw p {
  text-align: center;
}

.ks-pb-nieuw h3 {
  font-family: var(--ks-serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 8px;
}

.ks-pb-nieuw h3 a {
  color: var(--ks-wine);
  text-decoration: none;
}

.ks-pb-nieuw p {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
  color: var(--ks-wine);
}

.ks-pb-ig-title {
  padding: 48px 22px 8px;
  margin: 0 !important;
}

.ks-pb-ig-title .container {
  max-width: 920px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  text-align: center;
}

.ks-pb-ig-title h2 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.7rem, 3.5vw, 2.15rem);
  margin: 0;
  color: var(--ks-wine);
  text-align: center;
}

.ks-pb-ig-title h2 a {
  color: inherit;
  text-decoration: none;
}

.ks-pb-ig {
  width: 100%;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 40px !important;
  padding: 12px 22px 32px;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  column-gap: 12px;
  row-gap: 12px;
  box-sizing: border-box;
}

.ks-pb-ig > [class*="col-"] {
  flex: none !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.ks-pb-ig .figure {
  margin: 0;
}

.ks-pb-ig .figure img {
  width: 100% !important;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 720px) {
  .ks-pb-welcome {
    padding: 36px 14px 40px;
    grid-template-columns: 1fr;
  }

  .ks-pb-ig {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none !important;
    padding-left: 14px;
    padding-right: 14px;
    column-gap: 8px;
  }

  .ks-pb-nieuw {
    padding: 12px 14px 36px;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .ks-pb-nieuw > [class*="col-"] {
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.ks-welcome {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 54px 22px 64px;
  max-width: 920px;
  margin: 0 auto;
}

.ks-welcome img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.ks-welcome h2,
.ks-band h2,
.ks-ig h2,
.ks-pagehead h1 {
  font-family: var(--ks-serif);
  color: var(--ks-wine);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.ks-welcome h2 {
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  margin: 0 0 12px;
  text-align: center;
}

.ks-welcome h2::after,
.ks-band h2::after,
.ks-ig h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 2px;
  background: var(--ks-wine);
  margin: 10px auto 0;
}

.ks-welcome p,
.ks-prose p,
.ks-card p {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0 0 0.7rem;
}

.ks-band {
  background: var(--ks-butter);
  padding: 48px 0 56px;
}

.ks-band h2,
.ks-ig h2 {
  text-align: center;
  font-size: clamp(2.3rem, 5vw, 3.1rem);
  margin: 0 0 28px;
}

.ks-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ks-card {
  color: inherit;
  text-decoration: none;
}

.ks-card img,
.ks-slide img,
.ks-pair img,
.ks-ig__row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ks-card h3,
.ks-slide span,
.ks-pair span {
  display: block;
  margin-top: 12px;
  color: var(--ks-wine);
  font-family: var(--ks-serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  text-decoration: none;
}

.ks-card p {
  margin-top: 6px;
  font-size: 1.08rem;
}

.ks-ig {
  background: #fff;
  padding: 36px 0 64px;
  text-align: center;
}

.ks-ig h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.15rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 8px;
}

.ks-ig h2 a {
  color: inherit;
  text-decoration: none;
}

.ks-ig__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.ks-pagehead {
  background: var(--ks-blush);
  text-align: center;
  padding: 42px 22px 32px;
}

.ks-pagehead h1 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  margin: 0 0 12px;
  color: var(--ks-wine);
}

.ks-pagehead p {
  font-family: var(--ks-serif);
  font-style: italic;
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ks-wine);
}

.ks-recipe-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 22px auto 0;
  max-width: 520px;
}

.ks-recipe-search input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--ks-wine) 22%, #fff);
  background: #fff;
  color: var(--ks-wine);
  font-family: var(--ks-sans);
  font-size: 1rem;
  border-radius: 999px;
  padding: 0.65rem 1rem;
}

.ks-recipe-search input[type="search"]::placeholder {
  color: color-mix(in srgb, var(--ks-wine) 55%, #fff);
}

.ks-recipe-search button {
  border: 0;
  border-radius: 999px;
  background: var(--ks-wine);
  color: #fff;
  font-family: var(--ks-serif);
  font-size: 1.05rem;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
}

.ks-recipe-search button:hover,
.ks-recipe-search button:focus-visible {
  background: var(--ks-wine-deep);
  outline: none;
}

.ks-recipe-search__clear {
  font-family: var(--ks-sans);
  font-size: 0.95rem;
  color: var(--ks-wine);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ks-group-title {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  margin: 0 0 22px;
  color: var(--ks-wine);
}

.ks-search-results h2 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-align: center;
  margin: 0 0 22px;
  color: var(--ks-wine);
}

.ks-recipe__head {
  padding: 8px 0 18px;
  background: transparent;
}

.ks-recipe__head .ks-kicker {
  margin-bottom: 4px;
}

.ks-recipe__head h1 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0;
  line-height: 1.15;
  color: var(--ks-wine);
}

.ks-carousel {
  padding: 42px 0 48px;
}

.ks-carousel .ks-wrap {
  position: relative;
}

.ks-carousel--sand {
  background: var(--ks-sand);
}

.ks-carousel h2 {
  text-align: center;
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin: 0 0 26px;
  color: var(--ks-wine);
}

.ks-carousel h2 .ks-group-link {
  font-weight: 400;
}

.ks-carousel h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 2px;
  background: var(--ks-wine);
  margin: 8px auto 0;
}

.ks-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0 8px 8px;
  touch-action: manipulation;
  overscroll-behavior-x: contain;
}

.ks-slide,
.ks-slide img {
  touch-action: manipulation;
}

.ks-track::-webkit-scrollbar {
  display: none;
}

.ks-slide {
  flex: 0 0 calc((100% - 54px) / 4);
  width: calc((100% - 54px) / 4);
  max-width: calc((100% - 54px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.ks-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 10px;
}

.ks-slide span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ks-wine);
}

.ks-arrow {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ks-wine-deep);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 2;
  cursor: pointer;
}

.ks-arrow:hover {
  opacity: 0.9;
}

.ks-prev { left: -4px; }
.ks-next { right: -4px; }

.ks-list {
  padding: 36px 0 20px;
}

.ks-list h1,
.ks-list h2 {
  text-align: center;
  font-family: var(--ks-serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin: 8px 0 28px;
  color: var(--ks-wine);
}

.ks-list > p,
.ks-pagehead p,
.ks-recipes-intro,
.ks-recipes .lead,
.ks-recipes > .ks-wrap > p:first-of-type {
  font-family: var(--ks-serif);
  font-style: italic;
  font-weight: 400;
}

.ks-list h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 2px;
  background: var(--ks-wine);
  margin: 8px auto 0;
}

.ks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.ks-pair {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  text-decoration: none;
  color: var(--ks-wine);
  background: var(--ks-label);
}

.ks-pair:nth-child(2),
.ks-pair:nth-child(3) {
  background: var(--ks-label);
}

.ks-pair img {
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.ks-pair span {
  margin: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.ks-recipe {
  padding: 0 0 36px;
  background: transparent;
  color: var(--ks-wine);
  font-family: var(--ks-sans);
}

.ks-recipe .ks-wrap {
  max-width: 1040px;
  padding: 28px 22px 8px;
}

.ks-kicker {
  text-align: left;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 300;
  margin: 0 0 6px;
  text-transform: uppercase;
  font-family: var(--ks-sans);
}

.ks-kicker a,
.ks-recipe__head .ks-kicker a {
  color: inherit;
  text-decoration: none;
}

.ks-kicker a:hover,
.ks-kicker a:focus-visible,
.ks-recipe__head .ks-kicker a:hover,
.ks-recipe__head .ks-kicker a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  outline: none;
}

.ks-recipe h1 {
  font-family: var(--ks-serif);
  text-align: left;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 10px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.15;
}

.ks-recipe__panel {
  background: var(--ks-cream);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px 42px;
  padding: 28px 24px 32px;
  align-items: start;
}

.ks-recipe__panel img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.ks-recipe__copy {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.55;
}

.ks-recipe__intro {
  margin: 0 0 8px;
}

.ks-recipe h2,
.ks-recipe__display {
  font-family: var(--ks-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 400;
  font-style: normal;
  margin: 1.15rem 0 0.2rem;
  color: var(--ks-wine);
  line-height: 1.1;
}

.ks-recipe__servings {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: 0.98rem;
  margin: 0 0 0.7rem;
}

.ks-recipe ul,
.ks-recipe ol {
  margin: 0 0 8px;
  padding-left: 1.15rem;
  font-family: var(--ks-sans);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ks-recipe__ingredients {
  list-style: none;
  padding-left: 0;
}

.ks-recipe__ingredients li {
  margin: 0 0 0.15rem;
}

.ks-recipe__subhead {
  font-weight: 700;
  margin: 0.7rem 0 0.2rem;
  list-style: none;
}

.ks-recipe__note {
  margin: 1.1rem 0 0;
}

.ks-recipe__note p {
  margin: 0.25rem 0 0;
}

.ks-simple {
  padding: 18px 0 10px;
}

.ks-simple h1 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  text-align: center;
  margin: 10px 0 16px;
}

.ks-simple p {
  font-family: var(--ks-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.5;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 12px;
}

.ks-simple a {
  color: var(--ks-wine);
}

.ks-pb-contact,
.ks-contact {
  background: var(--ks-cream);
  color: var(--ks-wine);
}

.ks-pb-contact .container.py-5 {
  padding-top: 12px !important;
  padding-bottom: 56px !important;
}

.ks-contact .ks-wrap {
  max-width: 720px;
  padding: 48px 22px 8px;
}

.ks-contact h1 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  text-align: center;
  margin: 0 0 12px;
}

.ks-contact p {
  font-family: var(--ks-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto 10px;
  max-width: 560px;
}

.ks-contact a {
  color: var(--ks-wine);
}

.pb-contact-form,
.card.border-0.shadow-sm {
  background: transparent;
}

.main-container.cv-main:has(.ks-contact) .card,
.ks-pb-contact .card {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.ks-pb-contact .card-body {
  padding: 0 !important;
}

.ks-pb-contact h2,
.pb-contact-form .form-label,
.ks-pb-contact .form-label {
  color: var(--ks-wine);
  font-family: var(--ks-serif);
}

.ks-pb-contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 600;
  text-align: center;
}

.ks-pb-contact .form-label {
  font-family: var(--ks-sans);
  font-weight: 600;
  font-size: 0.95rem;
}

.ks-pb-contact .form-control {
  border: 1px solid color-mix(in srgb, var(--ks-wine) 22%, #fff);
  background: #fff;
  color: var(--ks-wine);
  font-family: var(--ks-sans);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}

.ks-pb-contact .btn-primary {
  background: var(--ks-wine) !important;
  border-color: var(--ks-wine) !important;
  color: #fff !important;
  font-family: var(--ks-serif);
  font-size: 1.2rem;
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
}

.ks-pb-contact .text-muted {
  color: var(--ks-wine) !important;
  opacity: 0.85;
  text-align: center;
}

/* Recipes plugin storefront — full-bleed KS presentation */
.ks-recipes,
.main-container.cv-main:has(.ks-recipes) {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.main-container.cv-main:has(.ks-recipes) .container.py-4,
.ks-recipes .container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ks-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 10px;
}

.ks-slide span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ks-wine);
}

.ks-slide--collection {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--ks-blush);
  border: 1px solid color-mix(in srgb, var(--ks-wine) 16%, transparent);
  padding: 1rem;
}

.ks-slide--collection span {
  margin: 0;
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
}

.ks-recipe__meta {
  margin: 12px 0 0;
  font-size: 1.1rem;
}

.ks-back {
  color: var(--ks-wine);
  font-size: 1.15rem;
}

.ks-recipe .ks-back {
  display: inline-block;
  margin-top: 2.75rem;
}

.ks-group-link {
  color: inherit;
  text-decoration: none;
}

.ks-group-link:hover {
  text-decoration: underline;
}

.ks-carousel h2 .ks-group-link::after {
  content: none;
}

@media (max-width: 720px) {
  .ks-slide {
    flex: 0 0 78%;
    flex-basis: 78%;
    width: 78%;
    max-width: 78%;
  }

  .ks-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
    top: auto;
    bottom: -6px;
    transform: none;
  }

  .ks-prev { left: 8px; }
  .ks-next { right: 8px; }

  .ks-carousel {
    padding-bottom: 56px;
  }

  .ks-carousel .ks-wrap {
    overflow: visible;
  }
}

/* Recipes plugin storefront (/recipes) — KS presentation on core markup */
.main-container.cv-main .container.py-4:not(:has(.ks-recipes)) {
  max-width: 1080px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 28px 16px 48px !important;
  color: var(--ks-wine);
  font-family: var(--ks-sans);
}

.main-container.cv-main .container.py-4 > h1 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  text-align: center;
  margin: 8px 0 28px;
  color: var(--ks-wine);
}

.main-container.cv-main .container.py-4 .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
}

.main-container.cv-main .container.py-4 .col-md-4 {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
  margin: 0;
}

.main-container.cv-main .container.py-4 .col-md-4 a {
  display: block;
  background: var(--ks-cream);
  color: var(--ks-wine);
  text-decoration: none;
  padding: 22px 20px 26px;
  min-height: 100%;
}

.main-container.cv-main .container.py-4 .col-md-4 a:hover {
  background: var(--ks-sand);
}

.main-container.cv-main .container.py-4 .col-md-4 h2 {
  font-family: var(--ks-serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--ks-wine);
}

.main-container.cv-main .container.py-4 .col-md-4 p {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.45;
  margin: 0;
  color: var(--ks-wine);
}

.main-container.cv-main .container.py-4 > p {
  font-family: var(--ks-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.45;
  margin: 0;
  color: var(--ks-wine);
  text-align: center;
}

.main-container.cv-main .container.py-4 > p a {
  color: var(--ks-wine);
  text-decoration: underline;
}

.main-container.cv-main .container.py-4 pre.bg-light {
  background: var(--ks-blush) !important;
  border: 0;
  color: var(--ks-wine);
  font-family: var(--ks-serif);
  font-size: 1.1rem;
  white-space: pre-wrap;
}

@media (max-width: 720px) {
  .main-container.cv-main .container.py-4 .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ks-welcome,
  .ks-cards,
  .ks-recipe__panel,
  .ks-grid {
    grid-template-columns: 1fr;
  }

  .ks-slide {
    flex-basis: 78%;
    width: 78%;
    max-width: 78%;
  }

  .ks-pair {
    min-height: 0;
  }

  .ks-pair span {
    font-size: 1.15rem;
  }

  #header .navbar > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  #header .nav-link {
    font-size: 1.02rem !important;
  }

  #header .navbar-nav .nav-item:not(:last-child) .nav-link::after {
    margin-left: 0.35rem;
  }

  #navbar_top .navbar-brand img {
    height: 46px;
    max-height: 46px !important;
  }
}

/* Webshop catalog / product detail — KS spacing & type */
.main-container.cv-main:has(.cv-product-catalog),
.main-container.cv-main:has(.cv-product-detail),
.main-container.cv-main:has(.shoppingcart-overview),
.main-container.cv-main:has(.checkout-stepone),
.main-container.cv-main:has(.checkout-steptwo),
.main-container.cv-main:has(.checkout-thankpage) {
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 28px 18px 64px !important;
}

.cv-product-catalog,
.cv-product-detail {
  color: var(--ks-wine);
  font-family: var(--ks-sans);
}

.cv-pc-title,
.cv-product-detail h1 {
  font-family: var(--ks-serif) !important;
  font-weight: 400 !important;
  color: var(--ks-wine) !important;
}

.cv-pc-toolbar {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom-color: color-mix(in srgb, var(--ks-wine) 18%, #fff) !important;
}

.cv-pc-filters,
.cv-pc-card,
.cv-product-detail .card,
.shoppingcart-overview {
  border-color: color-mix(in srgb, var(--ks-wine) 14%, #fff) !important;
  border-radius: 0 !important;
}

.cv-pc-view-btn.is-active,
.btn-primary {
  background: var(--ks-wine) !important;
  border-color: var(--ks-wine) !important;
  color: #fff !important;
}

.btn-outline-secondary,
.cv-pc-view-btn {
  color: var(--ks-wine) !important;
  border-color: color-mix(in srgb, var(--ks-wine) 35%, #fff) !important;
}

.cart-wrapper a,
.cart-wrapper .nav-link {
  color: #fff !important;
}

/* Cart: hide by default (prevents double mobile+desktop icons) */
.cart-wrapper {
  display: none !important;
}

/* Never show the left/mobile cart slot */
#header .cart-wrapper.d-block.d-lg-none,
#header .cart-wrapper.d-flex.me-0 {
  display: none !important;
}

/* Shop flows on a wide screen: one cart icon, right of the logo */
@media (min-width: 992px) {
  body:has(.cv-product-catalog) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.cv-product-detail) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.shoppingcart-overview) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.checkout-stepone) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.checkout-steptwo) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.checkout-thankpage) #header .cart-wrapper.d-none.d-lg-flex {
    display: flex !important;
    order: 3;
    margin-left: 14px;
    margin-right: 0;
    align-items: center;
  }
}

/* Shop flows on a phone: cart leaves the bar and sits in the corner */
@media (max-width: 991.98px) {
  body:has(.cv-product-catalog) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.cv-product-detail) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.shoppingcart-overview) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.checkout-stepone) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.checkout-steptwo) #header .cart-wrapper.d-none.d-lg-flex,
  body:has(.checkout-thankpage) #header .cart-wrapper.d-none.d-lg-flex {
    display: contents !important;
  }

  body:has(.cv-product-catalog) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart,
  body:has(.cv-product-detail) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart,
  body:has(.shoppingcart-overview) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart,
  body:has(.checkout-stepone) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart,
  body:has(.checkout-steptwo) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart,
  body:has(.checkout-thankpage) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart {
    position: fixed;
    z-index: 1040;
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 58px;
    height: 58px;
    margin: 0;
    border-radius: 50%;
    background: var(--ks-sand);
    box-shadow: 0 10px 24px rgba(40, 8, 16, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body:has(.cv-product-catalog) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart img,
  body:has(.cv-product-detail) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart img,
  body:has(.shoppingcart-overview) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart img,
  body:has(.checkout-stepone) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart img,
  body:has(.checkout-steptwo) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart img,
  body:has(.checkout-thankpage) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart img {
    width: 28px;
    height: 28px;
    visibility: hidden;
  }

  body:has(.cv-product-catalog) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart::before,
  body:has(.cv-product-detail) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart::before,
  body:has(.shoppingcart-overview) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart::before,
  body:has(.checkout-stepone) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart::before,
  body:has(.checkout-steptwo) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart::before,
  body:has(.checkout-thankpage) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--ks-wine);
    -webkit-mask: url("/assets/src/img/frontend/cart/cart.svg") center / contain no-repeat;
    mask: url("/assets/src/img/frontend/cart/cart.svg") center / contain no-repeat;
  }

  body:has(.cv-product-catalog) #header .cart-wrapper.d-none.d-lg-flex .cart-number,
  body:has(.cv-product-detail) #header .cart-wrapper.d-none.d-lg-flex .cart-number,
  body:has(.shoppingcart-overview) #header .cart-wrapper.d-none.d-lg-flex .cart-number,
  body:has(.checkout-stepone) #header .cart-wrapper.d-none.d-lg-flex .cart-number,
  body:has(.checkout-steptwo) #header .cart-wrapper.d-none.d-lg-flex .cart-number,
  body:has(.checkout-thankpage) #header .cart-wrapper.d-none.d-lg-flex .cart-number {
    left: auto;
    right: -2px;
    top: -2px;
    min-width: 22px;
    min-height: 22px;
    background: var(--ks-wine);
    color: var(--ks-sand);
    border: 2px solid var(--ks-sand);
    z-index: 1;
  }

  body:has(.cv-product-catalog) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart:focus-visible,
  body:has(.cv-product-detail) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart:focus-visible,
  body:has(.shoppingcart-overview) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart:focus-visible,
  body:has(.checkout-stepone) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart:focus-visible,
  body:has(.checkout-steptwo) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart:focus-visible,
  body:has(.checkout-thankpage) #header .cart-wrapper.d-none.d-lg-flex .navbar-cart:focus-visible {
    outline: 2px solid var(--ks-wine);
    outline-offset: 3px;
  }

  body:has(.cv-product-catalog) .cv-main,
  body:has(.cv-product-detail) .cv-main,
  body:has(.shoppingcart-overview) .cv-main,
  body:has(.checkout-stepone) .cv-main,
  body:has(.checkout-steptwo) .cv-main,
  body:has(.checkout-thankpage) .cv-main {
    min-height: calc(100vh - 72px);
  }

  body:has(.cv-product-catalog) #footer,
  body:has(.cv-product-detail) #footer,
  body:has(.shoppingcart-overview) #footer,
  body:has(.checkout-stepone) #footer,
  body:has(.checkout-steptwo) #footer,
  body:has(.checkout-thankpage) #footer {
    margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* Recipe image lightbox */
.ks-recipe__photo {
  display: block;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
}

.ks-recipe__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.ks-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(40, 8, 16, 0.72);
}

.ks-lightbox.is-open {
  display: flex;
}

.ks-lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.ks-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ks-wine);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Site footer — Chanvalli #footer + KS content via theme.footerHtml */
#footer,
#footer.dark,
#footer.cv-footer--themed {
  display: block !important;
  background: var(--ks-wine) !important;
  color: var(--ks-cream) !important;
  margin-top: auto;
  padding: 0;
  border: 0;
}

#footer .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px 18px;
}

#footer .cv-footer-main,
#footer .footer-company-wrapper,
#footer .cv-footer-hours,
#footer #copyrights > .container > .row.cv-footer-main,
#footer .footer-social-link {
  display: none !important;
}

#footer #copyrights,
#footer #copyrights > .container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

#footer .ks-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: none;
}

#footer .ks-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  text-align: center;
}

#footer .ks-footer__tagline {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.25;
  color: var(--ks-cream);
  margin: 0 auto;
  flex: 1 1 100%;
  min-width: 0;
  max-width: none;
  text-align: center;
}

#footer .ks-footer__logo {
  display: block;
  width: 7.5rem;
  height: auto;
  margin: 0 auto 2px;
}

#footer .ks-footer__nav {
  margin: 0 auto;
  flex: 0 1 auto;
}

#footer .ks-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.85rem 1.15rem;
}

#footer .ks-footer__links li {
  flex: 0 0 auto;
}

#footer .ks-footer__links a {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ks-cream) !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

#footer .ks-footer__links a:hover,
#footer .ks-footer__links a:focus-visible {
  opacity: 0.88;
}

#footer .ks-footer__disclaimer {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 0.65rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--ks-cream) 88%, #fff);
  margin: 0 auto;
  max-width: 62ch;
  text-align: center;
}

#footer .copyright,
#footer #copyrights .row.justify-content-center {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--ks-cream) 80%, #fff);
  text-align: center !important;
}

#footer #copyrights .row.justify-content-center {
  justify-content: center !important;
  margin-top: 8px;
  padding-top: 0 !important;
}

#footer #copyrights .row.justify-content-center .col-auto {
  max-width: 62ch;
  width: 100%;
  text-align: center !important;
}

#footer a {
  color: var(--ks-cream) !important;
}

@media (max-width: 960px) {
  #footer .ks-footer__top {
    flex-wrap: wrap;
  }

  #footer .ks-footer__tagline {
    max-width: none;
    flex: 1 1 100%;
  }

  #footer .ks-footer__nav {
    flex: 1 1 100%;
  }

  #footer .ks-footer__links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  #footer .container {
    padding: 22px 16px 16px;
  }

  #footer .ks-footer__tagline {
    font-size: 1.2rem;
  }
}

/* Legal pages (cookie policy, privacy, terms) */
.ks-legal {
  background: var(--ks-cream);
  color: var(--ks-wine);
  padding: 36px 0 64px;
}

.ks-legal .ks-wrap {
  max-width: 720px;
  padding: 0 22px;
  margin: 0 auto;
}

.ks-legal h1 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  text-align: center;
  margin: 0 0 18px;
}

.ks-legal__lead {
  font-family: var(--ks-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto 28px;
  max-width: 40rem;
}

.ks-legal h2 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: 1.45rem;
  margin: 1.6rem 0 0.55rem;
}

.ks-legal h3 {
  font-family: var(--ks-serif);
  font-weight: 400;
  font-size: 1.15rem;
  margin: 1.1rem 0 0.4rem;
}

.ks-legal p,
.ks-legal li {
  font-family: var(--ks-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.ks-legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.ks-legal a {
  color: var(--ks-wine);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ks-legal__meta {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Checkout step 2 — digital delivery, payment, VAT breakdown */
.checkout-steptwo {
  color: var(--ks-wine);
  font-family: var(--ks-sans);
}

.checkout-steptwo .ks-checkout-aside:not(:has(select#PreferredDeliveryTime)) {
  display: none !important;
}

.checkout-steptwo .ks-checkout-main {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

.checkout-steptwo .ks-checkout-main:has(+ .ks-checkout-aside:has(select#PreferredDeliveryTime)) {
  flex: 0 0 50% !important;
  width: 50% !important;
  max-width: 50% !important;
}

body:has(.checkout-steptwo) #header,
body:has(.checkout-steptwo) #navbar_top,
body:has(.checkout-stepone) #header,
body:has(.checkout-stepone) #navbar_top,
body:has(.checkout-thankpage) #header,
body:has(.checkout-thankpage) #navbar_top {
  position: relative !important;
  top: auto !important;
}

.main-container.cv-main:has(.checkout-steptwo) {
  padding-top: 12px !important;
  padding-bottom: 36px !important;
}

.checkout-steptwo .ks-checkout-card.h-100 {
  height: auto !important;
}

.checkout-steptwo .ks-checkout-card .card-body {
  padding: 12px 16px !important;
}

.checkout-steptwo .ks-checkout-card h4 {
  margin-bottom: 0.25rem !important;
  font-size: 1.2rem;
}

body:has(.checkout-steptwo) #cart-summary {
  background: var(--ks-cream);
  margin-top: 8px;
  padding: 14px 18px 6px !important;
}

body:has(.checkout-steptwo) .checkout-actions {
  margin-top: 6px;
}

body:has(.checkout-steptwo) .checkout-actions .row.mb-3 {
  margin-bottom: 0.35rem !important;
}

.checkout-steptwo .ks-checkout-card {
  border: 1px solid color-mix(in srgb, var(--ks-wine) 16%, #fff) !important;
  border-radius: 0 !important;
  background: var(--ks-cream);
  color: var(--ks-wine);
  box-shadow: none !important;
}

.checkout-steptwo .ks-checkout-card h4,
.checkout-steptwo .checkout-section-title,
.ks-cart__title {
  font-family: var(--ks-serif);
  font-weight: 400;
  color: var(--ks-wine);
  font-size: 1.35rem;
}

.checkout-steptwo .checkout-pm-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--ks-wine) 18%, #fff);
  background: #fff;
  padding: 12px 14px;
  margin: 0 0 10px;
  color: var(--ks-wine);
}

.checkout-steptwo .checkout-pm-option small {
  display: block;
  color: color-mix(in srgb, var(--ks-wine) 72%, #000);
}

body:has(.checkout-steptwo) .checkout-actions .btn-success,
body:has(.checkout-steptwo) .checkout-actions button[type="submit"] {
  background: var(--ks-wine) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-family: var(--ks-sans);
  letter-spacing: 0.02em;
  padding: 12px 22px;
}

body:has(.checkout-steptwo) .checkout-actions .btn-dark {
  background: transparent !important;
  border: 1px solid var(--ks-wine) !important;
  border-radius: 0 !important;
  color: var(--ks-wine) !important;
  font-family: var(--ks-sans);
}

body:has(.checkout-steptwo) .checkout-actions a.link,
body:has(.checkout-steptwo) .checkout-actions a.text-primary {
  color: var(--ks-wine) !important;
}

a.checkout-progress__step {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.checkout-progress__item.is-done {
  cursor: pointer;
}

.ks-cart {
  color: var(--ks-wine);
  font-family: var(--ks-sans);
}

.ks-cart__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ks-wine) 12%, #fff);
}

.ks-cart__media img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.ks-cart__name {
  font-family: var(--ks-serif);
  font-size: 1.08rem;
  line-height: 1.3;
}

.ks-cart__meta,
.ks-cart__config {
  font-size: 0.92rem;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.ks-cart__line {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.ks-cart__totals {
  margin: 4px 0 8px;
  max-width: none;
  background: transparent;
  padding: 4px 0 8px;
}

.ks-cart__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 7px 0;
  font-variant-numeric: tabular-nums;
}

.ks-cart__row--pay {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--ks-wine) 28%, #fff);
  font-family: var(--ks-serif);
  font-size: 1.2rem;
}

@media (max-width: 640px) {
  .ks-cart__item {
    grid-template-columns: 52px 1fr;
  }

  .ks-cart__line {
    grid-column: 2;
  }

  .ks-cart__totals {
    max-width: none;
  }
}

/* Cookie popup — cream card, wine type, wine button */
#cookieModal .modal-content {
  background: var(--ks-cream);
  color: var(--ks-wine);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(91, 23, 47, 0.28);
}

#cookieModal .modal-header {
  justify-content: center;
  border: 0;
  padding: 1.5rem 1.75rem 0.15rem;
}

#cookieModal .modal-title {
  margin: 0 auto;
}

#cookieModal .modal-title img {
  height: 72px;
  width: auto;
}

#cookieModal .modal-body {
  padding: 0.35rem 1.75rem 0.35rem;
}

#cookieModal h2 {
  font-family: var(--ks-serif) !important;
  font-weight: 500 !important;
  font-size: 1.7rem !important;
  line-height: 1.2 !important;
  color: var(--ks-wine) !important;
  margin: 0.2rem 0 0.75rem;
}

#cookieModal p {
  font-family: var(--ks-sans) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: var(--ks-wine) !important;
}

#cookieModal a,
#cookieModal a.link,
#cookieModal a.link-primary {
  color: var(--ks-wine) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

#cookieModal a:hover,
#cookieModal a:focus-visible {
  color: var(--ks-wine-deep) !important;
}

#cookieModal .modal-footer {
  border: 0;
  justify-content: flex-start;
  padding: 0.35rem 1.75rem 1.5rem;
}

#cookieModal #btnCookieAccept,
#cookieModal .btn-success {
  background: var(--ks-wine) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--ks-cream) !important;
  font-family: var(--ks-serif) !important;
  font-weight: 500 !important;
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
  padding: 0.65rem 1.6rem !important;
  box-shadow: none !important;
}

#cookieModal #btnCookieAccept:hover,
#cookieModal #btnCookieAccept:focus,
#cookieModal #btnCookieAccept:active {
  background: var(--ks-wine-deep) !important;
  color: var(--ks-cream) !important;
}

body.modal-open:has(#cookieModal.show) .modal-backdrop.show {
  background-color: #2a0c16;
  opacity: 0.55;
}
