/* ==========================================================================
   Cannabilab — main stylesheet
   ========================================================================== */

:root {
    --teal: #7ec5b3;
    --teal-light: #a8d8cb;
    --teal-dark: #3f8f7e;
    --teal-bg: #eef7f4;
    --brand: #2f7a64;
    --brand-dark: #25624f;
    --brand-900: #173d32;
    --orange: #c3512f;
    --green: #059162;
    --red: #b3261e;
    --white: #fff;
    --gray-50: #f7f9f8;
    --gray-100: #eef2f0;
    --gray-200: #dce3e0;
    --gray-400: #8a9994;
    --gray-500: #5f6f6b;
    --gray-700: #3a4a46;
    --gray-900: #1a2421;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container: 1180px;
    --narrow: 780px;
    --gutter: clamp(16px, 4vw, 28px);
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(23, 61, 50, .07);
    --shadow-lg: 0 14px 40px rgba(23, 61, 50, .13);
    --t: .22s ease;
    --header-h: 76px;
    --section-y: clamp(40px, 5.5vw, 72px); /* Špendlík #22: was clamp(56px, 8vw, 100px) */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--gray-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero__video { display: none; }
}

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--brand-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.center { text-align: center; }
.muted { color: var(--gray-500); }
.anchor-target { position: relative; top: calc(-1 * var(--header-h)); display: block; }
.hp-field { position: absolute; left: -9999px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.container--wc { max-width: var(--container); }

.icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .wc-block-components-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px; border-radius: 8px; border: 2px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
    cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
    white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--primary,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    background: var(--teal); border-color: var(--teal); color: var(--brand-900);
}
.btn--primary:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-1px);
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .btn--dark {
    background: var(--brand-900); border-color: var(--brand-900); color: #fff;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .btn--dark:hover {
    background: var(--brand); border-color: var(--brand); color: #fff;
}
.btn--white { background: #fff; border-color: #fff; color: var(--brand-900); }
.btn--white:hover { background: var(--teal-light); border-color: var(--teal-light); color: var(--brand-900); }
.btn--outline { background: transparent; border-color: var(--gray-200); color: var(--gray-900); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--outline-white { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid var(--gray-200); transition: box-shadow var(--t);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(23, 61, 50, .07); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-logo img { height: 60px; width: auto; } /* bigger (Špendlík #58) */
.site-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu--primary { display: flex; align-items: center; gap: 4px; }
.menu--primary > li { position: relative; }
.menu--primary > li > a {
    display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; white-space: nowrap;
    font-size: 14.5px; font-weight: 500; color: var(--gray-700); text-decoration: none; border-radius: 6px;
}
.menu--primary > li > a:hover, .menu--primary > li.current-menu-item > a, .menu--primary > li.current-menu-ancestor > a { color: var(--brand); background: var(--gray-50); }
.menu--primary > .menu-item-has-children > a::after {
    content: ''; width: 7px; height: 7px; margin-left: 4px; margin-top: -3px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.menu--primary .sub-menu {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px;
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.menu--primary > li:hover > .sub-menu, .menu--primary > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu--primary .sub-menu a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 14px; color: var(--gray-700); text-decoration: none; }
.menu--primary .sub-menu a:hover, .menu--primary .sub-menu .current-menu-item > a { background: var(--teal-bg); color: var(--brand); }
.sub-menu-toggle { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { font-size: 13px; font-weight: 700; color: var(--gray-500); padding: 6px 9px; border-radius: 6px; text-decoration: none; }
.lang-switch:hover { background: var(--gray-100); color: var(--brand); }
.header-icon { position: relative; display: inline-flex; padding: 8px; color: var(--gray-700); border-radius: 8px; }
.header-icon:hover { background: var(--gray-100); color: var(--brand); }
.cart-count {
    position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
    font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; color: #fff; background: var(--brand); border-radius: 9px;
}
.cart-count:empty, .cart-count:is([data-count="0"]) { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--gray-900); }
.nav-toggle .icon-close { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-900); color: rgba(255, 255, 255, .65); padding-block: 64px 28px; font-size: 14.5px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__logo { height: 40px; width: auto; margin-bottom: 18px; padding: 6px 12px; background: #fff; border-radius: 10px; box-sizing: content-box; }
.site-footer__title { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.site-footer__addresses .site-footer__title:not(:first-child) { margin-top: 22px; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-lines li { display: flex; flex-direction: column; }
.contact-lines a { font-weight: 600; color: #fff; }
.contact-lines span { font-size: 13px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.menu--footer { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Page header ---------- */
/* Light header (2026-11-04, client: "modernizovat"): the photo shows at full strength, a white veil on the left
   carries dark text. */
.page-header {
    position: relative; overflow: hidden; color: var(--gray-700);
    background: linear-gradient(135deg, #f4f8f6 0%, var(--teal-bg) 100%);
    padding-block: clamp(52px, 8vw, 104px);
}
/* the whole photo sits on the right (not cropped), its left edge fades into the background (Špendlík #6) */
.page-header--image { background: #f6f8f7; }
.page-header__bg { position: absolute; top: 0; right: 0; bottom: 0; height: 100%; aspect-ratio: 16 / 9; max-width: 72%; }
.page-header__bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
.page-header--image::before { content: none; }
.page-header__inner { position: relative; z-index: 2; }
.page-header__title { color: var(--brand-900); font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.015em; margin: 0; max-width: 22ch; }
.page-header__subtitle { margin: 16px 0 0; max-width: 56ch; font-size: 18px; color: var(--gray-700); }
.page-header__buttons { margin-top: 26px; }
.page-header__meta { margin: 10px 0 0; color: var(--brand); font-weight: 600; }
.page-header .breadcrumbs { margin-bottom: 14px; font-size: 13.5px; color: var(--gray-500); }
.page-header .breadcrumbs a { color: var(--gray-700); text-decoration: none; }
.page-header .btn--outline-white { border-color: rgba(47, 122, 100, .16); color: var(--brand-900); background: rgba(232, 244, 239, .92); backdrop-filter: blur(6px); }
.page-header .btn--outline-white:hover { border-color: var(--brand); color: var(--brand-900); background: var(--teal-light); }
.page-header .btn--white { border-color: var(--brand-900); background: var(--brand-900); color: #fff; }
@media (max-width: 780px) {
    .page-header__bg { inset: 0; max-width: none; aspect-ratio: auto; width: 100%; }
    .page-header__bg img { -webkit-mask-image: none; mask-image: none; }
    .page-header--image::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .82) 70%, rgba(255, 255, 255, .55) 100%); }
}
.breadcrumbs .sep { margin-inline: 8px; opacity: .6; }
.wc-single .breadcrumbs { font-size: 13.5px; color: var(--gray-500); margin-bottom: 24px; }
.wc-single .breadcrumbs a { color: var(--gray-500); text-decoration: none; }

/* ---------- Blocks: shared ---------- */
/* First section right under the page header, less air (Špendlík #5, #32, 2026-11-04) */
.block.block--wc, .page-header + .block { padding-top: clamp(28px, 4vw, 48px); }
.page-header + .block > .container > .block__head:first-child, .page-header + .block .split__text > .block__title:first-child { margin-top: 0; }
.block--wc .col2-set > [class*="col-"] > h2:first-child, .block--wc .prose--wc > .woocommerce > h2:first-child { margin-top: 0; }
.block { padding-block: var(--section-y); position: relative; }
.bg--white + .bg--white { padding-top: 0; }
.bg--light { background: var(--gray-50); }
.bg--light + .bg--light { padding-top: 0; }
.bg--teal { background: var(--teal-bg); }
.bg--dark { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-900) 100%); color: rgba(255, 255, 255, .8); }
.bg--dark h2, .bg--dark h3, .bg--dark .block__title { color: #fff; }
.bg--dark .block__intro { color: rgba(255, 255, 255, .7); }
.bg--dark a:not(.btn) { color: var(--teal-light); }
.block__head { margin-bottom: clamp(22px, 3vw, 36px); }
.block__head.align--center { text-align: center; margin-inline: auto; max-width: 720px; }
.block__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.block__intro { color: var(--gray-500); font-size: clamp(17px, 1.6vw, 20px); margin: 0; } /* Špendlík #23 */

.grid { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.grid > .card:only-child { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 380px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid--1 { grid-template-columns: minmax(0, 1fr); }

/* prose (WYSIWYG output) */
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.2em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--teal-dark); }
.prose strong { color: var(--gray-900); }
.prose img { border-radius: var(--radius); height: auto; margin-block: 1em; }
.prose .alignright { float: right; margin: 0 0 1em 1.5em; max-width: 45%; }
.prose .alignleft { float: left; margin: 0 1.5em 1em 0; max-width: 45%; }
.prose .aligncenter { margin-inline: auto; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.2em; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--gray-200); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--gray-50); color: var(--gray-900); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--teal); color: var(--gray-900); }
.prose iframe { max-width: 100%; }
.bg--dark .prose strong { color: #fff; }

/* ---------- Hero ---------- */
.block--hero {
    padding: 0; color: #fff; display: flex; align-items: center; overflow: hidden; isolation: isolate;
    background: var(--brand-900);
}
.block--hero.hero--large { min-height: min(760px, 82vh); }
.block--hero.hero--medium { min-height: 480px; }
.block--hero.hero--small { min-height: 340px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; inset: 0; }
.block--hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, rgba(23, 61, 50, .92) 0%, rgba(47, 122, 100, .82) 45%, rgba(126, 197, 179, .55) 100%);
}
.block--hero.bg--teal::before { background: linear-gradient(120deg, rgba(23, 61, 50, .9) 0%, rgba(63, 143, 126, .8) 100%); }
.hero__inner { padding-block: 72px; }
.hero__content { max-width: 680px; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
    padding: 7px 15px; border-radius: 99px; font-size: 13px; font-weight: 600;
    color: var(--teal-light); background: rgba(126, 197, 179, .16); border: 1px solid rgba(126, 197, 179, .32);
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 20px; }
.hero--small .hero__title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.hero__text { font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0; }
.hero__buttons { margin-top: 34px; }
.block--hero .btn--primary { color: var(--brand-900); }

/* light hero: the photo at full strength under a soft white veil, dark text, glass tiles */
.block--hero.bg--photo { background: #f4f8f6; color: var(--gray-700); }
.block--hero.bg--photo::before { background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, .15) 100%); }
.bg--photo .hero__title { color: var(--brand-900); }
.bg--photo .hero__text { color: var(--gray-700); }
.bg--photo .hero__badge { color: var(--brand); background: rgba(255, 255, 255, .7); border-color: rgba(47, 122, 100, .25); }
.bg--photo .hero-choice, .bg--photo .hero-choice:nth-child(even) {
    background: rgba(255, 255, 255, .8); color: var(--gray-700);
    border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.bg--photo .hero-choice .hero-choice__title { color: var(--brand-900); }
.bg--photo .hero-choice:hover { background: rgba(255, 255, 255, .92); }
/* tiles with an icon (Špendlík #53): equal light-green cards, left-aligned like the client's mock-up */
.hero-choice--icon, .hero-choice--icon:nth-child(even), .bg--photo .hero-choice--icon, .bg--photo .hero-choice--icon:nth-child(even) {
    align-items: flex-start; text-align: left; gap: 12px;
    background: rgba(232, 244, 239, .9); border: 2px solid rgba(47, 122, 100, .32);
}
.bg--photo .hero-choice--icon:hover { background: rgba(232, 244, 239, .97); }
.hero-choice__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--brand); margin-bottom: 4px; }
.hero__choices .hero-choice.hero-choice--icon .hero-choice__title { color: var(--brand-900); font-size: clamp(1.15rem, 1.5vw, 1.3rem); }
.hero-choice--icon .hero-choice__text { color: var(--gray-700); font-size: 16px; }
.hero-choice--icon .buttons { justify-content: flex-start; }

/* certification chips under the hero text */
.hero__certs { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero--choices .hero__certs { justify-content: center; }
.hero-cert {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 99px;
    background: rgba(255, 255, 255, .78); border: 1px solid rgba(47, 122, 100, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font-size: 15px; font-weight: 700; color: var(--brand-900); white-space: nowrap;
}
.hero-cert__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-bg); color: var(--brand); }
@media (max-width: 640px) {
    .hero__certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .hero-cert { font-size: 13.5px; padding-right: 10px; gap: 8px; }
    .hero-cert__icon { width: 28px; height: 28px; }
}

/* hero with choices (homepage crossroads): centred claim + side-by-side tiles */
.hero--choices .hero__content { max-width: none; text-align: center; }
/* in the crossroads hero the badge is a plain lead-in line above the claim */
.hero--choices .hero__badge { display: block; width: fit-content; max-width: 100%; margin: 0 auto 16px; padding: 9px 20px; border: 0; border-radius: 99px; background: var(--gray-900); font-size: clamp(.95rem, 1.5vw, 1.1rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hero--choices .hero__badge-dot { display: none; }
.hero--choices .hero__title { line-height: 1.28; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 44ch; margin-inline: auto; text-wrap: balance; }
.hero--choices .hero__text { margin-inline: auto; }
.hero--choices .hero__buttons { justify-content: center; }
.hero__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; max-width: 1040px; margin: 40px auto 0; }
.hero-choice {
    display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(26px, 3.5vw, 40px);
    border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-lg);
    background: var(--teal-light); color: var(--gray-900);
}
.hero-choice:nth-child(even) { background: #fff; color: var(--gray-700); }
.hero-choice .hero-choice__title { margin: 0; color: var(--brand-900); font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; line-height: 1.2; }
.hero-choice:nth-child(even) .hero-choice__title { color: var(--brand); }
.hero-choice__text { margin: 0; max-width: 42ch; font-size: 16.5px; }
.hero__choices:has(> :nth-child(3)) { max-width: 1160px; gap: 20px; }
.hero__choices:has(> :nth-child(3)) .hero-choice__title { font-size: clamp(1.3rem, 1.9vw, 1.55rem); }
.hero-choice .buttons { justify-content: center; margin-top: auto; padding-top: 8px; }

/* ---------- Stats ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.stat { flex: 1 1 180px; text-align: center; padding: 8px 20px; }
.stat + .stat { border-left: 1px solid var(--gray-200); }
.stat__value { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--brand); line-height: 1.15; }
.stat__label { display: block; font-size: 14px; color: var(--gray-500); margin-top: 4px; }
.block--stats.bg--dark { padding-block: 30px; background: var(--brand-900); border-top: 3px solid var(--teal); }
.block--stats.bg--dark .stat + .stat { border-color: rgba(255, 255, 255, .14); }
.block--stats.bg--dark .stat__value { color: var(--teal); font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.block--stats.bg--dark .stat__label { color: rgba(255, 255, 255, .62); font-size: 13px; }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--single, .no-image .split { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.image--left .split__media { order: -1; }
.image--small .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.image--small .split__media { max-width: 300px; justify-self: center; }
.image--logo .split__media { max-width: 150px; }
.image--logo .split__media img { box-shadow: none; border-radius: 0; }
.split__media { margin: 0; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split--form { align-items: start; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.split__aside { background: var(--gray-50); border-radius: var(--radius-lg); padding: 28px; }
.bg--light .split__aside { background: #fff; }

/* ---------- Cards ---------- */
.card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card--accent::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--teal); }
.card--accent.accent-2::before { background: var(--brand); }
.card--accent.accent-3::before { background: var(--green); }
.card--accent.accent-4::before { background: var(--orange); }
.card__media { display: block; aspect-ratio: 3 / 2; background: var(--gray-100); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card--product .card__media { background: #fff; padding: 18px; }
.card--product .card__media img { object-fit: contain; }
.card--person { text-align: center; }
.card--person .card__media { width: 160px; aspect-ratio: 1; margin: 28px auto 0; border-radius: 50%; }
.card--person .card__media img { object-position: 50% 20%; }
.card--person .card__icon { margin-inline: auto; }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--teal-dark); background: var(--teal-bg); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 24px; }
.card__icon, .card__thumb {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
    border-radius: 12px; background: var(--teal-bg); color: var(--teal-dark); overflow: hidden;
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.accent-2 .card__icon { background: rgba(47, 122, 100, .09); color: var(--brand); }
.accent-3 .card__icon { background: rgba(5, 145, 98, .09); color: var(--green); }
.accent-4 .card__icon { background: rgba(195, 81, 47, .09); color: var(--orange); }
.card__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-400); margin: 0 0 8px; }
.card__title { font-size: 18px; margin: 0 0 10px; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card__text { font-size: 15px; color: var(--gray-500); flex: 1; }
.card__text > :last-child { margin-bottom: 0; }
.card__text ul { padding-left: 1.1em; margin: 0; }
.card__link {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
    font-size: 14.5px; font-weight: 600; color: var(--brand); text-decoration: none;
}
.card__link .icon { transition: transform var(--t); }
.card:hover .card__link .icon { transform: translateX(3px); }
.card--plain { border-color: transparent; background: var(--gray-50); }
.bg--light .card--plain { background: #fff; }

/* Cards: large icons without a box (values row) */
.card--icon { border: 0; background: none; text-align: center; border-radius: 0; overflow: visible; }
.card--icon:hover { transform: none; box-shadow: none; }
.card--icon .card__body { padding: 8px 20px; }
.card--icon .card__icon, .card--icon.accent-2 .card__icon, .card--icon.accent-3 .card__icon, .card--icon.accent-4 .card__icon {
    width: auto; height: auto; margin: 0 auto 16px; background: none; color: var(--brand-dark);
}
.card--icon .card__icon .icon { width: 56px; height: 56px; stroke-width: 1.6; }
.card--icon .card__title { font-size: 18px; margin: 0; }
.grid > .card--icon + .card--icon { border-left: 1px solid var(--teal); }

/* ---------- Text + timeline ---------- */
.split--timeline { align-items: start; }
.timeline-lead { font-size: 19px; font-weight: 600; color: var(--brand-dark); margin: 0 0 18px; }
.timeline {
    background: linear-gradient(160deg, var(--teal-bg) 0%, #fff 100%); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow);
}
.bg--teal .timeline { background: #fff; }
.timeline__title { font-size: 1.5rem; margin: 0 0 24px; padding-bottom: 12px; position: relative; }
.timeline__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 2px; background: var(--brand); }
.timeline__list { list-style: none; margin: 0; padding: 0; }
.timeline__item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-bottom: 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--teal-light); }
.timeline__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(47, 122, 100, .1); color: var(--brand); }
.timeline__body { padding-top: 4px; }
.timeline__item:not(:last-child) .timeline__body { border-bottom: 1px solid var(--gray-200); padding-bottom: 18px; }
.timeline__head { margin: 0 0 4px; color: var(--gray-900); font-size: 16.5px; line-height: 1.35; }
.timeline__year { color: var(--brand); font-weight: 800; margin-right: 10px; padding-right: 10px; border-right: 1px solid var(--gray-200); }
.timeline__text { margin: 0; font-size: 15px; color: var(--gray-500); }

/* intro above login / registration */
.login-intro { max-width: 760px; margin: 0 0 32px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--teal-bg); border: 1px solid rgba(47, 122, 100, .14); }
.login-intro p { margin: 0 0 .5em; }
.login-intro > :last-child { margin-bottom: 0; }

/* ---------- Checklist + stat tiles ---------- */
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist__icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--teal); color: var(--brand-900); }
.checklist strong { display: block; color: var(--gray-900); }
.checklist span { font-size: 14.5px; color: var(--gray-500); }
.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-tile { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px 20px; text-align: center; }
.stat-tile--big { grid-column: 1 / -1; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-900) 100%); border: 0; }
.stat-tile__value { display: block; font-size: 2.2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat-tile--big .stat-tile__value { font-size: 3.1rem; color: var(--teal); }
.stat-tile__label { display: block; margin-top: 6px; font-size: 14px; color: var(--gray-500); }
.stat-tile--big .stat-tile__label { color: rgba(255, 255, 255, .72); }
/* "wide" arrangement: checklist in two columns, all numbers in one row below */
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.stat-tiles--row { grid-template-columns: repeat(auto-fit, minmax(170px, 240px)); justify-content: center; margin-top: clamp(36px, 5vw, 56px); }
.stat-tiles--row .stat-tile { padding: 24px 18px; }
.stat-tile__value { font-variant-numeric: tabular-nums; }
.stat-tiles--row .stat-tile--big { grid-column: auto; }
.stat-tiles--row .stat-tile--big .stat-tile__value { font-size: 2.2rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px 24px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.bg--light .step { border-color: transparent; box-shadow: var(--shadow); }
.step__num {
    display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%;
    background: var(--teal); color: var(--brand-900); font-weight: 800; font-size: 17px;
}
.step__title { font-size: 17px; margin: 0 0 8px; }
.step__text { font-size: 15px; color: var(--gray-500); }
.step__text > :last-child { margin-bottom: 0; }

/* ---------- Jobs ---------- */
.jobs__count { display: inline-flex; align-items: center; gap: 8px; margin: -8px 0 20px; padding: 6px 14px; border-radius: 99px; background: rgba(126, 197, 179, .18); color: var(--brand-900); font-size: 14px; font-weight: 600; }
.bg--light .jobs__count { background: #fff; }
.jobs { display: grid; gap: 14px; }
.job { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); background: #fff; transition: box-shadow var(--t), border-color var(--t); }
.job:hover, .job[open] { box-shadow: var(--shadow-lg); border-color: transparent; }
.job[open] { border-left: 4px solid var(--teal); }
.job__head { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; }
.job__head::-webkit-details-marker { display: none; }
.job__main { flex: 1; min-width: 0; }
.job__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 1.2rem; }
.job__tag { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--teal); color: var(--brand-900); font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--gray-500); }
.job__meta li { display: inline-flex; align-items: center; gap: 6px; }
.job__meta .icon { color: var(--teal-dark); flex-shrink: 0; }
.job__summary { margin: 10px 0 0; font-size: 15px; color: var(--gray-700); }
.job__toggle { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--gray-100); color: var(--gray-500); transition: transform var(--t), background var(--t); }
.job[open] .job__toggle { transform: rotate(180deg); background: var(--teal); color: var(--brand-900); }
.job__body { padding: 4px 24px 24px; border-top: 1px solid var(--gray-100); }
.job__content { padding-top: 18px; font-size: 15.5px; }
.job__content h2, .job__content h3, .job__content h4 { font-size: 1.02rem; margin: 1.2em 0 .5em; }
.job__content p strong:only-child, .job__content p > strong:first-child { color: var(--gray-900); }
.job__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--gray-200); }
.job__hint { font-size: 14px; color: var(--gray-500); }
.job__hint a { color: var(--brand); }
.jobs-empty { display: flex; gap: 20px; align-items: flex-start; padding: 26px 28px; border: 1px dashed var(--gray-300, var(--gray-200)); border-radius: var(--radius-lg); background: var(--gray-50, #f8fafb); color: var(--gray-700); }
.jobs-empty > .icon { color: var(--teal-dark); flex-shrink: 0; margin-top: 2px; }
.jobs-empty p { margin: 0 0 14px; }
@media (max-width: 640px) {
    .job__head { padding: 18px 16px; gap: 12px; }
    .job__body { padding: 4px 16px 18px; }
    .job__title { font-size: 1.08rem; }
    .job__toggle { width: 34px; height: 34px; }
}

/* ---------- CTA ---------- */
.block--cta { padding-block: clamp(40px, 5vw, 56px); }
.cta { display: flex; align-items: center; gap: 24px; }
.cta__icon { display: grid; place-items: center; width: 62px; height: 62px; flex-shrink: 0; border-radius: 16px; background: rgba(126, 197, 179, .15); border: 1px solid rgba(126, 197, 179, .3); color: var(--teal); }
.bg--teal .cta__icon, .bg--light .cta__icon { background: #fff; color: var(--teal-dark); }
.cta__text { flex: 1; }
.cta__title { font-size: 1.3rem; margin: 0 0 4px; }
.cta__text p { margin: 0; }
.cta__buttons { margin-top: 0; }

/* ---------- Documents ---------- */
.doc-search { position: relative; max-width: 460px; margin: 0 auto 32px; color: var(--gray-400); }
.doc-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.doc-search input { width: 100%; padding: 13px 16px 13px 46px; border: 1px solid var(--gray-200); border-radius: 99px; background: #fff; }
.doc-search input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(126, 197, 179, .3); }
.doc-group + .doc-group { margin-top: 40px; }
.doc-group__title { font-size: 1.15rem; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200); margin-bottom: 16px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc {
    display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px;
    border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff;
    color: var(--gray-700); text-decoration: none; transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.doc:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--gray-700); }
.doc__icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--teal-bg); color: var(--teal-dark); }
.doc--locked .doc__icon { background: var(--gray-100); color: var(--gray-500); }
.doc__thumb {
    display: block; width: 54px; aspect-ratio: 3 / 4; flex-shrink: 0; overflow: hidden;
    border: 1px solid var(--gray-200); border-radius: 6px; background: var(--gray-50);
}
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.doc__body { flex: 1; min-width: 0; }
.doc__title { display: block; font-size: 15px; color: var(--gray-900); overflow-wrap: anywhere; }
.doc__meta { display: block; font-size: 13px; color: var(--gray-400); }
.doc__action { color: var(--gray-400); }
.doc:hover .doc__action { color: var(--teal-dark); }
.doc-empty { text-align: center; color: var(--gray-500); }

/* ---------- Contacts ---------- */
.contact-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 26px 24px; }
.bg--white .contact-card { background: var(--gray-50); border-color: transparent; }
.contacts__group { margin: 0 0 18px; font-size: 1.2rem; color: var(--brand); }
.grid + .contacts__group { margin-top: 40px; }
.contact-card__label { font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-500); margin: 0 0 10px; }
.contact-card__name { font-weight: 700; color: var(--gray-900); margin: 0 0 8px; }
.contact-card__phone, .contact-card__email { display: flex; align-items: center; gap: 8px; text-decoration: none; overflow-wrap: anywhere; }
.contact-card__phone { font-size: 19px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.contact-card__email { font-size: 14.5px; color: var(--teal-dark); }
.contact-card__note { font-size: 13.5px; color: var(--gray-500); margin: 10px 0 0; }
.addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.address { display: flex; gap: 12px; }
.address__icon { color: var(--teal-dark); padding-top: 2px; }
.address strong { display: block; color: var(--gray-900); margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { margin: 0 0 16px; }
.form-row-wide, .form-grid .form-row-wide { grid-column: 1 / -1; }
.form-row label, .woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--gray-900); line-height: 1.4; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"],
select, textarea, .woocommerce form .form-row .input-text, .woocommerce form .form-row select, .select2-container .select2-selection--single {
    width: 100%; padding: 11px 14px; border: 1px solid var(--gray-200); border-radius: 8px; background: #fff;
    font-size: 15px; line-height: 1.4; transition: border-color var(--t), box-shadow var(--t);
}
.select2-container .select2-selection--single { height: auto; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); }
input:focus, select:focus, textarea:focus, .woocommerce form .form-row .input-text:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(126, 197, 179, .3); }
.required { color: var(--red); text-decoration: none; border: 0 !important; }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--gray-900); line-height: 1.4; }
.form-help { display: block; margin-top: 6px; font-size: 13px; color: var(--gray-500); }
.form-radios { display: flex; flex-wrap: wrap; gap: 8px 20px; min-height: 46px; align-items: center; }
.form-radios label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--gray-700); cursor: pointer; }
.form-radios input { width: 18px; height: 18px; accent-color: var(--teal-dark); margin: 0; }
input[type="date"] { min-height: 46px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal-dark); flex-shrink: 0; }
.form-check label { font-weight: 400 !important; font-size: 14px !important; }
.form-note { font-size: 14px; color: var(--gray-500); background: var(--teal-bg); border-radius: 8px; padding: 12px 14px; }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 15px; }
.notice--success { background: #e7f6ef; color: #0c5b3d; }
.notice--error { background: #fdecea; color: #8a1c14; }

/* ---------- Gallery / embed / accordion ---------- */
.gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.embed { border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); }
.embed--video iframe, .embed--map iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.embed--map iframe { aspect-ratio: 21 / 9; min-height: 320px; }
.embed--pdf object { display: block; width: 100%; height: 80vh; }
.accordion { display: grid; gap: 10px; }
.accordion__item { border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; }
.accordion__item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--gray-900);
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .icon { transition: transform var(--t); color: var(--gray-400); }
.accordion__item[open] summary .icon { transform: rotate(180deg); }
.accordion__content { padding: 0 20px 18px; }

/* ---------- Misc ---------- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--gray-200); text-decoration: none; color: var(--gray-700); }
.pagination .page-numbers.current { background: var(--brand-900); border-color: var(--brand-900); color: #fff; }
.empty-state { text-align: center; color: var(--gray-500); }
.single-thumb { margin: 0 0 32px; }
.single-thumb img { border-radius: var(--radius-lg); width: 100%; }
.pill { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--teal-bg); color: var(--teal-dark); vertical-align: middle; }
.chip { display: inline-block; padding: 7px 15px; border-radius: 99px; border: 1px solid var(--gray-200); font-size: 14px; color: var(--gray-700); text-decoration: none; }
.chip:hover { border-color: var(--teal); color: var(--brand); }
.chip.is-active { background: var(--brand-900); border-color: var(--brand-900); color: #fff; }

/* Floating order button */
.order-fab {
    position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 18px; border-radius: 99px;
    background: var(--brand-900); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
    box-shadow: 0 10px 30px rgba(23, 61, 50, .35); transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.order-fab .icon { color: var(--teal); }
.order-fab:hover, .order-fab:focus-visible { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(23, 61, 50, .4); }
.nav-open .order-fab { display: none; }
@media (max-width: 640px) {
    .order-fab { right: 16px; bottom: 16px; padding: 12px 18px 12px 14px; font-size: 14px; }
    .site-footer { padding-bottom: 88px; }
}
/* Špendlík (dev): tlačítko vrstvy sedí v témže rohu jako .order-fab, posunout nad něj.
   „body“ zvyšuje specifičnost – rv.js vkládá vlastní styl #rv-fab až za main.css. */
body:has(.order-fab) #rv-fab { bottom: 86px; }

/* Mobile tab bar for signed-in customers */
.tabbar { display: none; }
.cart-count:is(:empty) { display: none; }
@media (max-width: 780px) {
    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        display: grid; grid-template-columns: repeat(3, 1fr);
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        background: #fff; border-top: 1px solid var(--gray-200); box-shadow: 0 -6px 24px rgba(23, 61, 50, .08);
    }
    .tabbar__item {
        display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border-radius: 10px;
        font-size: 12px; font-weight: 600; color: var(--gray-500); text-decoration: none;
    }
    .tabbar__item.is-active { color: var(--brand-900); background: var(--teal-bg); }
    .tabbar__item.is-active .icon { color: var(--teal-dark); }
    .tabbar__icon { position: relative; display: inline-flex; }
    .tabbar .cart-count { top: -6px; right: -10px; }
    body:has(.tabbar) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    body:has(.tabbar) .site-footer { padding-bottom: 28px; }
    body:has(.tabbar) #rv-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
    .order-fab--with-tabbar { display: none; }
    .nav-open .tabbar { display: none; }
}

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.shop-downloads { margin: 0 0 32px; padding: 20px 22px 22px; background: var(--teal-bg); border-radius: var(--radius-lg); }
.shop-downloads__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.shop-downloads__title { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0; color: var(--brand-900); }
.shop-downloads__note { margin: 0; font-size: 14px; color: var(--gray-500); }
.shop-downloads .doc-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-downloads .doc-list--1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.shop-downloads__links { margin: 14px 0 0; font-size: 14px; color: var(--gray-500); }
.shop-downloads__links a { color: var(--brand); font-weight: 600; text-decoration: none; }
.shop-downloads__links a:hover { text-decoration: underline; }
.shop-downloads__links .sep { margin: 0 10px; color: var(--gray-400); }
@media (max-width: 780px) {
    .shop-downloads .doc-list--3, .shop-downloads .doc-list--2 { grid-template-columns: minmax(0, 1fr); }
}
.locked-box {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0; padding: 16px 20px;
    border-radius: var(--radius); background: var(--teal-bg); color: var(--gray-900);
}
.locked-box p { flex: 1 1 260px; margin: 0; font-size: 15px; }
.locked-box .icon { color: var(--teal-dark); }
.locked-box--wide { margin: 0 0 28px; }
.price-locked { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gray-500); }

.woocommerce .woocommerce-result-count { color: var(--gray-500); font-size: 14px; }
.woocommerce .woocommerce-ordering select { width: auto; padding-block: 8px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
    width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--t), transform var(--t);
}
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.woocommerce ul.products li.product a img { margin: 0; aspect-ratio: 1; object-fit: contain; background: var(--gray-50); padding: 16px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; padding: 16px 18px 4px; margin: 0; color: var(--gray-900); line-height: 1.35; }
.woocommerce ul.products li.product .price { padding: 0 18px; margin: 4px 0 16px; color: var(--brand); font-weight: 700; font-size: 16px; }
.woocommerce ul.products li.product .button { margin: 0 18px 18px; }
.woocommerce span.onsale { background: var(--orange); border-radius: 99px; min-height: 0; min-width: 0; line-height: 1; padding: 6px 10px; }

.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; margin: 0; }
.woocommerce div.product div.images img { border-radius: var(--radius-lg); background: var(--gray-50); }
.woocommerce div.product .product_title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--brand); font-size: 1.5rem; font-weight: 700; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; }
.woocommerce .quantity .qty { width: 80px; padding: 11px 8px; text-align: center; }
.woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--gray-200); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: none; margin: 0; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 18px; font-weight: 600; color: var(--gray-500); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--brand); box-shadow: inset 0 -2px 0 var(--teal); }
.woocommerce .product_meta { font-size: 14px; color: var(--gray-500); display: grid; gap: 4px; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: 1.5rem; margin: 20px 0; }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
    border: 0 !important; border-radius: var(--radius); padding: 14px 18px 14px 48px !important; margin: 0 0 22px !important;
    background: var(--teal-bg) !important; color: var(--gray-900) !important; font-size: 15px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--teal-dark) !important; top: 14px !important; left: 18px !important; }
.woocommerce-error { background: #fdecea !important; }
.woocommerce-error::before { color: var(--red) !important; top: 14px !important; left: 18px !important; }
.woocommerce-message .button, .woocommerce-info .button { float: right; padding: 6px 14px; font-size: 13px; margin-left: 12px; }
@media (max-width: 640px) {
    .woocommerce-message .button, .woocommerce-info .button { float: none; display: flex; width: fit-content; margin: 10px 0 0; }
}

.woocommerce table.shop_table { border: 1px solid var(--gray-200); border-radius: var(--radius); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--gray-50); color: var(--gray-900); font-size: 14px; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 12px 14px; border-color: var(--gray-200); }
.woocommerce-cart table.cart img { width: 64px; border-radius: 8px; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; max-width: 440px; margin-left: auto; float: none; }
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
.woocommerce-checkout .col2-set::before, .woocommerce-checkout .col2-set::after { display: none; }
#order_review_heading { margin-top: 40px; }
.woocommerce-checkout #payment { background: var(--gray-50); border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.checkout-branch { padding: 18px 20px; margin-bottom: 24px; border-radius: var(--radius); background: var(--teal-bg); }
.checkout-branch h3 { font-size: 1.05rem; margin-bottom: 10px; }
.checkout-branch .form-row { margin-bottom: 8px; }
.checkout-branch p.muted { margin: 0; font-size: 14px; }

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
/* WooCommerce clearfix pseudo-elements would become grid items and shift the columns */
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--gray-700); font-weight: 500; }
.woocommerce-MyAccount-navigation a:hover { background: var(--gray-50); color: var(--brand); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--teal-bg); color: var(--brand-900); font-weight: 600; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--gray-500); }
.woocommerce .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.woocommerce .u-columns.col2-set .u-column1, .woocommerce .u-columns.col2-set .u-column2 { width: auto; float: none; }
.woocommerce .u-columns.col2-set::before, .woocommerce .u-columns.col2-set::after { display: none; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--gray-200) !important; border-radius: var(--radius-lg) !important; padding: 28px !important; margin: 0 !important; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: auto; float: none; }
.woocommerce form .form-row { padding: 0; }
.woocommerce .form-grid .form-row-first, .woocommerce .form-grid .form-row-last { grid-column: auto; }
.woocommerce-address-fields__field-wrapper, .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce-address-fields__field-wrapper .form-row-wide, .woocommerce-billing-fields__field-wrapper .form-row-wide, .woocommerce-shipping-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
/* WooCommerce tables sit inside .prose--wc; undo the scrollable-block table styling used for editorial content */
.prose--wc table { display: table; font-size: 15px; margin: 0; }
.prose--wc table th, .prose--wc table td { border-color: var(--gray-200); }

/* Orders list */
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-left: 0; border-right: 0; }
.woocommerce table.shop_table tbody th { background: transparent; font-weight: 600; }
.woocommerce-orders-table__cell-order-date, .woocommerce-orders-table__cell-order-status { white-space: nowrap; }
.woocommerce-orders-table__cell-order-actions { white-space: nowrap; }
.woocommerce .woocommerce-orders-table a.button { padding: 7px 12px; font-size: 13px; margin: 2px 6px 2px 0; border-width: 1px; }
.woocommerce .woocommerce-orders-table a.button.view { background: #fff; border-color: var(--gray-200); color: var(--gray-900); }
.woocommerce .woocommerce-orders-table a.button.view:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.woocommerce .woocommerce-orders-table a.button.order-again { background: var(--brand-900); border-color: var(--brand-900); color: #fff; }
.woocommerce .woocommerce-orders-table a.button.order-again:hover { background: var(--brand); border-color: var(--brand); }
@media (max-width: 768px) {
    .woocommerce table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--gray-200); }
    .woocommerce table.shop_table_responsive tr td, .woocommerce table.shop_table_responsive tbody th { display: block; text-align: right !important; border: 0; padding: 8px 14px; white-space: normal; }
    .woocommerce table.shop_table_responsive tbody th::before, .woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); float: left; margin-right: 12px; font-weight: 600; text-align: left; color: var(--gray-900); }
    .woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions { text-align: left !important; }
    .woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before { display: none; }
    .woocommerce table.shop_table_responsive thead { display: none; }
}

.branch-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 12px; }
.branch-card { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.branch-card.is-default { border-color: var(--teal); background: var(--teal-bg); }
.branch-card address { font-size: 14px; color: var(--gray-500); margin-top: 4px; }
.branch-card__actions { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.branch-card__actions .danger { color: var(--red); }
.branch-form { margin-top: 24px; padding: 24px; border-radius: var(--radius-lg); background: var(--gray-50); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
    .menu--primary > li > a { padding-inline: 8px; font-size: 14px; }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
    :root { --header-h: 66px; }
    .site-logo img { height: 46px; }
    .nav-toggle { display: inline-flex; }
    /* backdrop-filter would make the header the containing block of the fixed menu and squash it to the header height */
    .site-header { backdrop-filter: none; background: #fff; }
    .site-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--header-h)); z-index: 99; margin: 0;
        background: #fff; padding: 16px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t), transform var(--t), visibility var(--t);
    }
    .admin-bar .site-nav { top: calc(var(--header-h) + 46px); height: calc(100dvh - var(--header-h) - 46px); }
    .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }
    .nav-open { overflow: hidden; }
    .menu--primary { flex-direction: column; align-items: stretch; gap: 0; }
    .menu--primary > li { border-bottom: 1px solid var(--gray-100); }
    .menu--primary > li > a { width: 100%; padding: 14px 4px; font-size: 16px; }
    .menu--primary > .menu-item-has-children > a::after { display: none; }
    .menu--primary .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; min-width: 0; }
    .menu--primary li.is-open > .sub-menu { display: block; }
    .sub-menu-toggle {
        display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 40px; height: 40px;
        background: none; border: 0; color: var(--gray-500); cursor: pointer;
    }
    .is-open > .sub-menu-toggle .icon { transform: rotate(180deg); }
    .site-header__actions { margin-left: auto; }
    .header-account span { display: none; }
    .header-account { padding: 9px 11px; }

    .grid--3, .grid--4, .woocommerce ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split, .split--form, .image--small .split { grid-template-columns: minmax(0, 1fr); }
    .image--left .split__media { order: 0; }
    .woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
    .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .stat + .stat { border-left: 0; }
    .grid > .card--icon:nth-child(odd) { border-left: 0; }
}

@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
    .grid--2, .grid--3, .grid--4, .doc-list, .woocommerce ul.products, .woocommerce ul.products.columns-4,
    .form-grid, .woocommerce-checkout .col2-set, .woocommerce .u-columns.col2-set,
    .woocommerce-address-fields__field-wrapper, .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
    .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__top { grid-template-columns: minmax(0, 1fr); }
    .cta { flex-direction: column; align-items: flex-start; }
    .stat { flex-basis: 45%; }
    .stat-tiles { grid-template-columns: minmax(0, 1fr); }
    .checklist--cols { grid-template-columns: minmax(0, 1fr); }
    .stat-tiles--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-tile--big { grid-column: auto; }
    .grid > .card--icon + .card--icon { border-left: 0; }
    .grid--4:has(> .card--icon) { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .hero__buttons .btn { flex: 1 1 100%; }
    .woocommerce table.shop_table_responsive tr td::before { font-weight: 600; }
}

/* ---------- Professional entry confirmation ---------- */
body.has-pro-gate { overflow: hidden; }
.pro-gate { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(14, 38, 31, .82); backdrop-filter: blur(3px); }
.pro-gate__box { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.pro-gate__title { margin: 0; padding: 20px 28px; background: var(--brand-900); color: #fff; font-size: 1.25rem; border-radius: 14px 14px 0 0; }
.pro-gate__text { padding: 22px 28px 6px; font-size: 15px; }
.pro-gate__actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 28px 26px; }
.pro-gate__actions .btn { flex: 1 1 200px; justify-content: center; }

/* ---------- Cookie consent ---------- */
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-button:hover { color: var(--teal); }
.cookie-bar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.cookie-bar__inner { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; padding: 18px 22px; max-width: var(--container); margin: 0 auto; }
.cookie-bar__text { flex: 1 1 420px; font-size: 14.5px; color: var(--gray-500); }
.cookie-bar__text p { margin: 6px 0 0; }
.cookie-bar__text a { color: var(--brand); }
.cookie-bar__title { display: inline-flex; align-items: center; gap: 8px; color: var(--gray-900); font-size: 15.5px; }
.cookie-bar__title .icon { color: var(--teal-dark); }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tabbar ~ .cookie-bar { bottom: 80px; }
.cookie-dialog { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 16px; background: rgba(15, 31, 45, .55); backdrop-filter: blur(2px); }
.cookie-dialog[hidden], .cookie-bar[hidden] { display: none; }
.cookie-dialog__box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--radius-lg); padding: 28px 28px 24px; box-shadow: var(--shadow-lg); }
.cookie-dialog__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--gray-400); cursor: pointer; border-radius: 50%; }
.cookie-dialog__close:hover { background: var(--gray-100); color: var(--gray-900); }
.cookie-dialog__title { font-size: 1.3rem; margin: 0 0 8px; }
.cookie-dialog__intro { font-size: 14.5px; color: var(--gray-500); margin: 0 0 18px; }
.cookie-cats { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.cookie-cat { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px 16px; }
.cookie-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.cookie-cat__name { font-weight: 700; color: var(--gray-900); }
.cookie-cat__always { font-size: 12.5px; color: var(--gray-400); margin-left: auto; }
.cookie-cat__descr { margin: 8px 0 0; font-size: 14px; color: var(--gray-500); }
.cookie-cat input[disabled] { display: none; }
.cookie-cat .switch { appearance: none; width: 42px; height: 24px; border-radius: 99px; background: var(--gray-200); position: relative; cursor: pointer; transition: background var(--t); flex-shrink: 0; margin: 0; }
.cookie-cat .switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform var(--t); }
.cookie-cat .switch:checked { background: var(--teal-dark); }
.cookie-cat .switch:checked::after { transform: translateX(18px); }
.cookie-cat .switch:focus-visible { outline: 3px solid rgba(126, 197, 179, .5); }
.cookie-dialog__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.cookie-dialog__policy { margin-right: auto; font-size: 14px; color: var(--brand); }
@media (max-width: 640px) {
    .cookie-bar { left: 8px; right: 8px; bottom: 8px; }
    .cookie-bar__inner { padding: 16px; }
    .cookie-bar__actions { width: 100%; }
    .cookie-bar__actions .btn { flex: 1 1 auto; justify-content: center; }
    .cookie-dialog__box { padding: 22px 18px 18px; }
}

/* Professional declaration after approval (inc/access.php, template-parts/pro-declaration.php) */
.pro-decl .pro-gate__box { width: min(720px, 100%); }
.pro-decl .pro-gate__text { padding-bottom: 0; }
.pro-decl__checks { margin: 16px 28px 0; padding: 18px 0 4px; border: 0; border-top: 1px solid var(--gray-100); }
.pro-decl__checks legend { display: block; width: 100%; margin: 0 0 12px; padding: 0; font-weight: 700; color: var(--gray-900); }
.pro-decl__check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.pro-decl__check input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.pro-decl__def { margin: -6px 0 14px 32px; font-size: 14px; }
.pro-decl__def summary { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pro-decl__def > div { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--teal-bg); }
.pro-decl__def > div strong { display: block; margin-bottom: 4px; color: var(--gray-900); }
.pro-decl__def p { margin: 0; }
.pro-decl .pro-gate__actions { border-top: 1px solid var(--gray-100); margin-top: 6px; padding-top: 18px; }
.pro-decl [data-decl="agree"]:disabled { opacity: .45; cursor: not-allowed; }

/* Logo panel (Text + obrázek with image size "Logo", e.g. CannMedi on /pro-verejnost/, Špendlík #37):
   a small boxed aside so it reads as extra information, not a main section */
.block.image--logo { padding-block: clamp(20px, 3vw, 32px); }
.image--logo .split { max-width: 820px; margin-inline: auto; grid-template-columns: minmax(0, 1fr) 96px; gap: 28px; padding: 22px 28px; border-radius: var(--radius-lg); background: var(--teal-bg); border: 1px solid rgba(47, 122, 100, .16); }
.image--logo .split__media { max-width: 96px; }
.image--logo h2 { font-size: 1.15rem; margin-bottom: 6px; }
.image--logo .split p { font-size: 15px; }
.image--logo .buttons { margin-top: 12px; }
.image--logo .btn { padding: 9px 18px; font-size: 14.5px; }
@media (max-width: 780px) { .image--logo .split { grid-template-columns: minmax(0, 1fr); } .image--logo .split__media { order: -1; justify-self: start; max-width: 80px; } }
