/* kraft — «Крафт»: the design's own type, frames and looks, on the body's class. Colours only through var(--*): the
   design's colour sets drive them. */

.design-kraft {
  /* a section holds 55 over and under, so two neighbours stand 110 apart as drawn (72 + 72 on a laptop, 64 on a phone) */
  --section-pad: 3.4375rem;
  --head-gap: 2.75rem;
  --pill: 999px;
  --radius: 22px;
  --radius-small: 14px;
  --frame: 2px solid var(--ink);
  --offset: 6px 6px 0 var(--ink);
  --body-text: var(--text);
  --accent-text: color-mix(in srgb, var(--accent) 55%, var(--ink)); /* small words in the accent, readable on the ground */
  --card-ground: color-mix(in srgb, var(--bg) 55%, #fff);
  /* the font pair's sizes (the monospaced pair's; the others below) */
  --h1: 4.125rem; --h2: 2.625rem; --h3: 1rem; --h-weight: 400; --h3-face: var(--font-display); --h3-case: none; --h-words: -.12em;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.design-kraft.fonts-dela   { --h1: 4.375rem; --h2: 2.875rem; --h3: 1.125rem; --h-words: 0; }
.design-kraft.fonts-oswald { --h1: 5.75rem; --h2: 3.75rem; --h3: 1.375rem; --h-weight: 600; --h3-case: uppercase; --h-words: 0; }
/* a laptop's builder preview or a tablet (760–999): sections 84 apart (72 each side of a join), the pair's sizes scaled as drawn */
@media (min-width: 760px) and (max-width: 999px) {
  .design-kraft { --section-pad: 2.25rem; --head-gap: 2.5rem; --h1: 2.8125rem; --h2: 2rem; --h3: .875rem; }
  .design-kraft.fonts-dela { --h1: 3rem; --h2: 2.1875rem; --h3: 1rem; }
  .design-kraft.fonts-oswald { --h1: 3.9375rem; --h2: 2.875rem; --h3: 1.1875rem; }
}
@media (max-width: 759px) {
  .design-kraft { --section-pad: 2rem; --head-gap: 2rem; --h1: 2.125rem; --h2: 1.625rem; --h3: .9375rem; font-size: 1rem; }
  .design-kraft.fonts-oswald { --h1: 3.125rem; --h2: 2.25rem; --h3: 1.1875rem; }
}

/* The type: the wide monospaced face in capitals for the headings — set a little smaller than a narrow face would be, so
   a long Ukrainian word keeps to its column; the body plain. */
.design-kraft :is(h1, h2) { font-weight: var(--h-weight); text-transform: uppercase; letter-spacing: 0; word-spacing: var(--h-words); overflow-wrap: break-word; color: var(--ink); }
.design-kraft main h1 { font-size: calc(var(--h1) * .8); line-height: 1.04; text-wrap: balance; } /* an inner page's */
.design-kraft main .hero h1 { font-size: var(--h1); }
.design-kraft main h2 { font-size: var(--h2); line-height: 1.08; text-wrap: balance; }
.design-kraft main h3 { font-family: var(--h3-face); font-weight: var(--h-weight); font-size: var(--h3); text-transform: var(--h3-case); letter-spacing: .01em; word-spacing: var(--h-words); line-height: 1.3; }
.design-kraft :is(h1, h2) em { font-style: normal; color: var(--accent); }

/* The kicker: a stamp — the accent's frame, its words in the display face, a little askew. */
.design-kraft .eyebrow { display: inline-flex; align-self: flex-start; padding: .45rem .8rem; border: 1.6px solid var(--accent); color: var(--accent-text);
                            font-family: var(--font-display); font-size: .75rem; letter-spacing: .02em; text-transform: uppercase; transform: rotate(-2deg); }

/* The buttons: round ends; the first the ink, the second a frame of it. */
.design-kraft .btn { border-radius: 999px; font-weight: 600; box-shadow: none; }
.design-kraft .btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.design-kraft main .btn { display: inline-flex; align-items: center; justify-content: center; height: 3.5rem; padding-block: 0; padding-inline: 1.75rem; font-size: 1.06rem; }
.design-kraft main .btn-ghost { border: var(--frame); background: none; color: var(--ink); }
.design-kraft .hero-actions { gap: .75rem; }

/* The first screen: the words on the left, the goods' photo the right half; the note a card framed in the ink with its
   shadow set off. */
.design-kraft .hero .lead { font-size: 1.25rem; }
.design-kraft .hero-note { top: auto; bottom: clamp(1.5rem, 3.3vw, 3rem); right: clamp(1.5rem, 3.3vw, 3rem); max-width: 19rem; border-radius: 18px;
                              border: var(--frame); box-shadow: 4px 4px 0 var(--ink); font-weight: 600; }

/* The goods: cards on the surface, the photo inset, the price heavy; a frame of the ink when pointed at. */
.design-kraft :is(.card, .svc-card) { background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: none; padding: 14px 14px 1.1rem; }
.design-kraft .card--product > :not(.card__media) { margin-inline: .5rem; }
.design-kraft .card__media { border-radius: 14px; overflow: hidden; background: var(--bg); }
.design-kraft :is(.card, .svc-card):hover { transform: none; box-shadow: inset 0 0 0 2px var(--ink); }
.design-kraft .card__title { font-weight: 600; font-size: 1.2rem; }
.design-kraft .price-line .price { font-weight: 700; font-size: 1.2rem; }

/* The menu board: the headings in the display face. */
.design-kraft .menu-board__cat { font-family: var(--font-display); font-weight: 400; font-size: .94rem; text-transform: uppercase; }

/* Steps and reasons: frames of the ink, the numbers large in the display face and the accent. */
.design-kraft :is(.features--cards, .steps--cards) .feature-card { background: none; border: var(--frame); border-radius: var(--radius); box-shadow: none; }
.design-kraft .feature-index { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.design-kraft .feature-index::before { content: counter(feature); }
.design-kraft .feature-card p { color: var(--muted); }

/* The reviews: frames of the ink with the shadow set off. */
.design-kraft .quotes-grid { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.4rem; }
.design-kraft .quote-card { background: var(--bg); border: var(--frame); border-radius: var(--radius); box-shadow: var(--offset); }
.design-kraft .quote-card blockquote { font-family: var(--font-body); font-size: 1.06rem; }
.design-kraft .quote-card blockquote::before { content: '«'; margin: 0; color: inherit; }
.design-kraft .quote-card blockquote::after { content: '»'; margin: 0; color: inherit; }
.design-kraft .quote-card figcaption { color: var(--ink); font-weight: 600; }

/* The team: framed portraits. */
.design-kraft :is(.person, .person.is-text) { background: none; border: 0; box-shadow: none; padding: 0; }
.design-kraft .person__photo { border: var(--frame); border-radius: var(--radius); }

/* The header: the black band; the name in the display face, its last letter in the accent's place a dot of it. */
.design-kraft .brand__word { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; color: var(--hd-ink, var(--ink)); white-space: nowrap; }
.design-kraft .brand__word::after { content: '.'; color: var(--accent); }
.design-kraft .brand__word.is-long { font-size: 1rem; }

/* The footer: a black band too (the primary — the ink of every set: --ink is turned over inside it); the titles in the accent. */
.design-kraft .ftr { background: var(--primary); color: var(--primary-ink); border: 0; --ink: var(--bg); --body-text: color-mix(in srgb, var(--bg) 84%, transparent);
                        --muted: color-mix(in srgb, var(--bg) 62%, transparent); --line: color-mix(in srgb, var(--bg) 16%, transparent); }
.design-kraft .ftr a { color: inherit; }
/* the titles in the accent made light enough for the dark footer, dark enough for the bar's light one */
.design-kraft .ftr-title { color: color-mix(in srgb, var(--accent) 75%, var(--primary-ink)); font-family: var(--font-display); font-weight: 400; font-size: .8rem; text-transform: uppercase; }

/* The buttons at the design's height exactly (a min-height let the base padding and the line make them 3–5 px taller);
   the header's call as tall as them, the header's row as the design's. */
@media (min-width: 760px) { body.design-kraft { --header-row-h: 5.25rem; } }
/* The menu board as the design's: the heading over three columns of categories — in auto columns it got 280 px and
   «КАВ'ЯРНІ» broke inside the word. */
@media (min-width: 860px) { .design-kraft .menu-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } .design-kraft .menu-board > :first-child { grid-column: 1 / -1; } }

/* ---- the variants ---------------------------------------------------------------------------------------------- */
/* cover: the photo behind, the words white on a dark scrim from the left, the same on every set; the stamp white. */
.design-kraft .section:has(> .hero--cover.has-photo) { padding: 0; }
.design-kraft .hero--cover.has-photo { min-height: 46.25rem; display: flex; align-items: center; padding-block: 7rem 5rem;
                                       --ink: #fff; --body-text: rgba(255, 255, 255, .86); --muted: rgba(255, 255, 255, .8); color: #fff; }
.design-kraft .hero--cover.has-photo .hero-inner { width: 100%; }
.design-kraft .hero--cover.has-photo::after { background: linear-gradient(90deg, rgba(20, 16, 12, .86), rgba(20, 16, 12, .55) 55%, rgba(20, 16, 12, .25)); }
.design-kraft .hero--cover h1 { color: #fff; max-width: 56rem; }
.design-kraft .hero--cover h1 em { color: #f08a6a; }
.design-kraft .hero--cover .eyebrow { border-color: #fff; color: #fff; }
.design-kraft .hero--cover .lead { color: rgba(255, 255, 255, .86); max-width: 34rem; }
.design-kraft .hero--cover .hero-actions .btn:not(.btn-ghost) { background: #fff; color: #1b1712; }
.design-kraft .hero--cover .hero-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
@media (min-width: 760px) and (max-width: 999px) { .design-kraft .hero--cover.has-photo { min-height: 34.75rem; padding-block: 5rem 3.5rem; } }
@media (max-width: 759px) {
  .design-kraft .hero--cover.has-photo { min-height: 38.75rem; align-items: flex-end; padding-block: 6.25rem 3rem; }
  .design-kraft .hero-actions .btn { flex: 1 1 auto; white-space: nowrap; }
}

/* bar footer: one light row under a rule of the ink — the name, the contacts with dots between, the menu. */
.design-kraft.footer--layout-bar .ftr { background: var(--bg); color: var(--text); border-top: 2px solid var(--ink);
                                         --ink: initial; --body-text: var(--text); --muted: initial; --line: initial; }
.design-kraft.footer--layout-bar .ftr .brand__word { color: var(--primary); }
.design-kraft.footer--layout-bar .ftr-title { color: color-mix(in srgb, var(--accent) 55%, var(--text)); }
.design-kraft.footer--layout-bar .ftr a { color: var(--primary); }
.design-kraft.footer--layout-bar .ftr-bottom { border-top: 1.5px dotted var(--line); color: var(--muted); }

/* ---- the inner pages: frames of the ink, radius 22 for cards and panels, 14 for rows, 12 for fields -------------- */
.design-kraft .crumbs { font-size: .875rem; color: var(--muted); }
.design-kraft .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.375rem; padding: .875rem 0; border-top: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); }
.design-kraft .filters .filter { margin: 0; background: none; }
.design-kraft .chip { height: 2.625rem; padding: 0 1.125rem; border: 0; border-radius: 999px; background: none; color: var(--ink); font-weight: 600; font-size: .9rem; box-shadow: inset 0 0 0 1.5px var(--ink); }
.design-kraft .chip.is-active { background: var(--ink); color: var(--bg); }
.design-kraft .chip-count { background: none; color: inherit; opacity: .6; font-size: .72rem; }
.design-kraft .filter__range input { width: 5.75rem; height: 2.5rem; border: 0; border-radius: 999px; background: var(--card-ground); box-shadow: inset 0 0 0 1.5px var(--line); }
.design-kraft .sort a[aria-current] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.design-kraft :is(.price, .price-main, .svc-card__price, .booking-price, .rental-price, .service-price) { font-family: var(--font-display); font-weight: var(--h-weight); word-spacing: var(--h-words); }
.design-kraft .price-off { border-radius: 0; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-size: .75rem; transform: rotate(-3deg); }
.design-kraft .related-card { border-radius: 22px; overflow: hidden; background: var(--surface); border: 0; padding: 12px; }
.design-kraft .related-card__media img { border-radius: 14px; }
.design-kraft .product-buy__title { font-family: var(--font-display); font-weight: var(--h-weight); text-transform: uppercase; word-spacing: var(--h-words); font-size: clamp(1.75rem, 3.4vw, calc(var(--h1) * .58)); }
.design-kraft .product-buy .price { font-size: 2rem; }
.design-kraft .product-gallery__stage { border-radius: 22px; overflow: hidden; }
.design-kraft main :is(input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], input:not([type]), textarea, select) {
  border: 0; border-radius: 12px; background: var(--card-ground); box-shadow: inset 0 0 0 1.5px var(--line); }
.design-kraft main :is(input, textarea, select):focus { outline: 0; box-shadow: inset 0 0 0 2px var(--ink); }
.design-kraft .cart-drawer__panel { border-radius: 22px 0 0 22px; }
.design-kraft .cart-line img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.design-kraft .checkout-step { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .75rem; border-radius: 50%; background: var(--ink); color: var(--bg); font-family: var(--font-display); font-size: .75rem; }
.design-kraft .choice { padding: 1.125rem 1.25rem; border: 0; border-radius: 14px; background: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.design-kraft .choice:has(input:checked) { background: var(--card-ground); box-shadow: inset 0 0 0 2px var(--ink); }
.design-kraft .choice input[type="radio"] { accent-color: var(--accent); }
.design-kraft .checkout-summary { border: 1.6px solid var(--ink); border-radius: 22px; background: var(--card-ground); box-shadow: var(--offset); }
.design-kraft .checkout-summary__head h2 { font-size: var(--h3); }
.design-kraft :is(.book-card, .rent-card) { border: 1.6px solid var(--ink); border-radius: 22px; background: var(--card-ground); box-shadow: var(--offset); }
.design-kraft .cal-grid { gap: .375rem; }
.design-kraft .cal[data-mode='single'] .cal-day { min-height: 3rem; border: 0; border-radius: 12px; background: none; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; }
.design-kraft .cal[data-mode='single'] .cal-day:disabled:not(.is-selected) { box-shadow: none; }
.design-kraft .cal[data-mode='single'] .cal-day.is-selected { background: var(--ink); color: var(--bg); box-shadow: none; }
.design-kraft .slot span { min-height: 3rem; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 700; }
.design-kraft .slot input:checked + span { background: var(--ink); color: var(--bg); }
.design-kraft .slot__left { display: inline-flex; align-items: center; height: 1.75rem; margin-top: .25rem; padding: 0 .75rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: .8125rem; font-weight: 700; color: var(--ink); }
.design-kraft .slot:has(input:is([data-left="1"], [data-left="2"], [data-left="3"])) .slot__left { box-shadow: none; background: var(--accent); color: var(--accent-ink); }
.design-kraft .slot:has(input[data-left="0"]) .slot__left { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); text-decoration: line-through; }
.design-kraft .contact-quick .contact-fact:has(a[href^="tel:"]) { padding: 1.875rem; border: 0; border-radius: 22px; background: var(--ink); color: var(--bg); }
.design-kraft .contact-quick .contact-fact:has(a[href^="tel:"]) :is(a, span, small) { color: var(--bg); }
.design-kraft .contact-quick a[href^="tel:"] { font-family: var(--font-display); font-size: 1.75rem; }
.design-kraft .contact-form--card { border: 1.6px solid var(--ink); border-radius: 22px; background: var(--card-ground); box-shadow: var(--offset); }
.design-kraft .contact-form--card h2 { font-size: calc(var(--h2) * .8); }

/* the first screen with the photo at the side: 720 high (540 on a laptop), the words from 100 down */
.design-kraft .hero--side.has-photo { min-height: 45rem; }
@media (min-width: 760px) and (max-width: 999px) { .design-kraft .hero--side.has-photo { min-height: 33.75rem; } }

/* the call to action's headline 760 across (it stood in 520) */
.design-kraft .cta .cta-inner h2 { max-width: 47.5rem; margin-inline: auto; }

/* on a phone the shop's cards two in a row, as drawn */
@media (max-width: 759px) {
  .design-kraft .products--cards:is(.products--columns-2, .products--columns-3, .products--columns-4) .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* the first screen with the photo at the side, on a phone: the words, and the photo under them across the page, on the
   page's own colours (Kit lays the photo behind the words there, under light words) */
@media (max-width: 759px) {
  .design-kraft .hero--side.has-photo { --ink: inherit; --body-text: inherit; --muted: inherit; --mark: inherit; --line: inherit; color: var(--body-text); }
  .design-kraft .hero--side.has-photo::after { content: none; }
  .design-kraft .hero--side.has-photo .hero-inner { grid-template-columns: 1fr; padding-block: var(--space) 0; }
  .design-kraft .hero--side .hero-figure { grid-column: 1; grid-row: 2; }
  .design-kraft .hero--side.has-photo .hero-photo { display: block; position: static; z-index: auto; width: calc(100% + 2 * var(--gutter)); max-width: none;
                                                    margin: 1.5rem calc(-1 * var(--gutter)) 0; aspect-ratio: 1; height: auto; }
}
