/* Lightspeed's own pages (service, blog, article, account, compare) keep the
   platform's markup (gui-*); this dresses them in the theme. Lightspeed loads
   its gui-core.min.css AFTER this file, hence the `.kp` prefix for weight and
   the odd !important. */
.kp .kp-system-page { font-family: var(--font-ui); color: var(--ink); font-size: 16px; line-height: 1.6; padding-top: clamp(16px, 2vw, 32px); padding-bottom: var(--space-section); }
.kp .kp-system-page .gui { font: inherit; color: inherit; }
.kp .kp-system-page a { color: var(--ink); }
.kp .kp-system-page p { margin: 0 0 1em; }

/* Titles */
.kp .kp-system-page .gui-page-title {
  font: 500 clamp(32px, 3.6vw, 52px)/1.1 var(--font-display) !important; font-variation-settings: "SOFT" 100, "WONK" 0;
  letter-spacing: -0.015em; color: var(--ink) !important; margin: 0 0 clamp(24px, 3vw, 40px) !important; padding: 0 !important; border: 0 !important; text-transform: none !important;
}
.kp .kp-system-page h1, .kp .kp-system-page h2, .kp .kp-system-page h3, .kp .kp-system-page .gui-content-title {
  font-family: var(--font-display) !important; font-weight: 500 !important; font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--ink) !important; line-height: 1.2; text-transform: none !important;
}
.kp .kp-system-page h1 { font-size: clamp(26px, 2.6vw, 36px) !important; }
.kp .kp-system-page h2, .kp .kp-system-page .gui-content-title { font-size: clamp(21px, 2vw, 26px) !important; margin: 1.4em 0 .5em; }
.kp .kp-system-page h3 { font-size: 19px !important; }
.kp .kp-system-page strong { font-weight: 600; }

/* Two-column layouts: content and a side column that stays narrow. */
.kp .kp-system-page .gui-col2-right, .kp .kp-system-page .gui-col2-big, .kp .kp-system-page .gui-col2-leftm {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(32px, 5vw, 72px); align-items: start;
}
.kp .kp-system-page .gui-col2-right > div, .kp .kp-system-page .gui-col2-big > div, .kp .kp-system-page .gui-col2-leftm > div { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.kp .kp-system-page .gui-col2-big { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.kp .kp-system-page .gui-clear, .kp .kp-system-page .gui-spacer { display: none; }
.kp .kp-system-page .gui-col2-equal, .kp .kp-system-page .gui-col2-rightm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.kp .kp-system-page .gui-col2-rightm { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.kp .kp-system-page .gui-col2-equal > div, .kp .kp-system-page .gui-col2-rightm > div { float: none !important; width: auto !important; margin: 0 !important; }

/* Blocks (side boxes, form panels) */
.kp .kp-system-page .gui-block { border: 0 !important; border-radius: var(--radius-lg); background: var(--stone) !important; box-shadow: none !important; margin: 0 0 20px !important; overflow: hidden; }
.kp .kp-system-page .gui-block-title {
  background: none !important; border: 0 !important; padding: 22px 24px 4px !important; color: var(--ink) !important;
  font: 500 19px/1.3 var(--font-display) !important; font-variation-settings: "SOFT" 100, "WONK" 0; text-transform: none !important; letter-spacing: 0 !important; height: auto !important;
}
.kp .kp-system-page .gui-block-title strong { color: inherit !important; font-weight: 500; }
.kp .kp-system-page .gui-block-content { padding: 12px 24px 24px !important; border: 0 !important; background: none !important; }
.kp .kp-system-page .gui-block-linklist ul { list-style: none; margin: 0; padding: 0; }
.kp .kp-system-page .gui-block-linklist li { border-bottom: 1px solid var(--line); }
.kp .kp-system-page .gui-block-linklist li:last-child { border-bottom: 0; }
.kp .kp-system-page .gui-block-linklist li a { display: block; padding: 11px 0; color: var(--ink-soft) !important; font-size: 15px; text-decoration: none; background: none !important; }
.kp .kp-system-page .gui-block-linklist li a:hover, .kp .kp-system-page .gui-block-linklist li.gui-active a { color: var(--ink) !important; font-weight: 500; }

/* Forms */
.kp .kp-system-page .gui-form label, .kp .kp-system-page .gui-field label { display: block; margin: 0 0 6px; font-size: 14px !important; font-weight: 500; color: var(--ink-soft) !important; }
.kp .kp-system-page .gui-field { margin: 0 0 16px !important; }
.kp .kp-system-page .gui-input, .kp .kp-system-page .gui-text, .kp .kp-system-page .gui-select { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; height: auto !important; }
.kp .kp-system-page input[type="text"], .kp .kp-system-page input[type="email"], .kp .kp-system-page input[type="password"], .kp .kp-system-page input[type="tel"], .kp .kp-system-page input[type="number"], .kp .kp-system-page select, .kp .kp-system-page textarea {
  width: 100% !important; min-height: 48px; padding: 0 14px !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
  font: 16px/1.4 var(--font-ui) !important; color: var(--ink) !important; background: var(--paper) !important; box-shadow: none !important; box-sizing: border-box;
}
.kp .kp-system-page textarea { min-height: 140px; padding: 12px 14px !important; }
.kp .kp-system-page input:focus, .kp .kp-system-page select:focus, .kp .kp-system-page textarea:focus { outline: none; border-color: var(--gold) !important; }
.kp .kp-system-page .gui-required, .kp .kp-system-page .gui-optional { font-size: 13px; color: var(--muted) !important; }
.kp .kp-system-page .gui-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.kp .kp-system-page .gui-buttons > div { float: none !important; }
.kp .kp-system-page .gui-button-large, .kp .kp-system-page .gui-button-small, .kp .kp-system-page .gui-button, .kp .kp-system-page button[type="submit"], .kp .kp-system-page input[type="submit"] {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 48px; height: auto !important; padding: 0 28px !important;
  background: var(--gold) !important; color: var(--ink) !important; border: 1px solid var(--gold) !important; border-radius: 999px !important;
  font: 500 15px/1 var(--font-ui) !important; text-transform: none !important; box-shadow: none !important; text-shadow: none !important; cursor: pointer;
}
.kp .kp-system-page .gui-button-large:hover, .kp .kp-system-page .gui-button-small:hover, .kp .kp-system-page .gui-button:hover, .kp .kp-system-page button[type="submit"]:hover { background: #c4962a !important; border-color: #c4962a !important; }
.kp .kp-system-page .gui-button-link, .kp .kp-system-page .gui-left a { color: var(--ink-soft) !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; background: none !important; border: 0 !important; padding: 0 !important; }
.kp .kp-system-page .gui-messages ul { list-style: none; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius); background: var(--stone); color: var(--ink-soft); border: 0 !important; }

/* Service page: the shop's text left, the contact form right. */
.kp .kp-system-page .gui-faq .gui-col2-right-col1 { max-width: 68ch; }
.kp .kp-system-page .gui-faq .gui-col2-right-col1 img { max-width: min(100%, 360px); height: auto; border-radius: var(--radius-lg); margin: 8px 0 16px; }
.kp .kp-system-page .gui-faq .gui-col2-right-col1 strong { font-weight: 500; }

/* Blog list: one article per row, photo left, text right. */
.kp .kp-system-page .gui-blog-article { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); grid-template-areas: "img head" "img text" "img more"; gap: 6px 32px; align-content: start; padding: 0 0 32px !important; margin: 0 0 32px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; }
.kp .kp-system-page .gui-blog-article header { display: contents; }
.kp .kp-system-page .gui-blog-article header > a { grid-area: img; display: block; }
.kp .kp-system-page .gui-blog-article header img { width: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); margin: 0 !important; float: none !important; }
.kp .kp-system-page .gui-blog-article header h1 { grid-area: head; margin: 0 !important; font-size: clamp(21px, 1.9vw, 26px) !important; }
.kp .kp-system-page .gui-blog-article header h1 a { text-decoration: none; }
.kp .kp-system-page .gui-blog-article header ul { display: none; }
.kp .kp-system-page .gui-blog-article-summary { grid-area: text; color: var(--ink-soft); margin: 4px 0 0 !important; }
.kp .kp-system-page .gui-blog-article footer { grid-area: more; }
.kp .kp-system-page .gui-blog-social { display: none !important; }
.kp .kp-system-page .gui-blog-article-more, .kp .kp-system-page .gui-blog-article footer a { display: inline-block; margin-top: 6px; color: var(--ink) !important; font-weight: 500; font-size: 15px; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; background: none !important; border: 0 !important; padding: 0 !important; }

/* Article: a readable column, the photo rounded. */
.kp.tpl-article .kp-system-page .gui-blog-article { display: block; border: 0 !important; padding: 0 !important; }
.kp.tpl-article .kp-system-page .gui-blog-article header { display: block; }
.kp.tpl-article .kp-system-page .gui-blog-article header h1 { font-size: clamp(30px, 3.4vw, 46px) !important; line-height: 1.12; margin: 0 0 12px !important; }
.kp.tpl-article .kp-system-page .gui-blog-article header ul { display: flex; gap: 16px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.kp.tpl-article .kp-system-page .gui-blog-article img { max-width: 100% !important; height: auto !important; aspect-ratio: auto; border-radius: var(--radius-lg); }
.kp.tpl-article .kp-system-page .gui-blog-article-content, .kp.tpl-article .kp-system-page .blog-article-summary { max-width: 68ch; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }

/* Platform bits that must stay as Lightspeed draws them. */
.kp .kp-system-page .gui-hide, .kp .kp-system-page input.gui-hide { display: none !important; }
.kp .kp-system-page .gui-input-phone-number { position: relative; }
.kp .kp-system-page .gui-input-phone-number input { padding-left: 96px !important; }

@media (max-width: 860px) {
  .kp .kp-system-page .gui-col2-right, .kp .kp-system-page .gui-col2-big, .kp .kp-system-page .gui-col2-leftm, .kp .kp-system-page .gui-col2-equal, .kp .kp-system-page .gui-col2-rightm { grid-template-columns: minmax(0, 1fr); }
  .kp .kp-system-page .gui-blog-article { grid-template-columns: minmax(0, 1fr); grid-template-areas: "img" "head" "text" "more"; }
}