/**
* Template Name: Flashfit
* Template URL:  https://flashfit.cz/
* Updated: 25.6.2026
* Author: Fresh Mill studio, tvoba webovych stranek
* License: https://freshmill.cz
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Sora:wght@100..800&display=swap');

/* ============ RESET & BASE ============ */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #141414;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}

.page-pad {
    padding-left: 40px;
    padding-right: 40px;
}

.wrap {
    max-width: 1720px;
    margin: 0 auto;
    width: 100%;
}

.wrap-narrow {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.wrap-doc {
    max-width: 1050px;
    margin: 0 auto;
    width: 100%;
}

.wrap-faq {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* ============ HEADER ============ */
.site-header {
    border-bottom: 4px solid #E30613;
    position: relative;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}
.header-inner {
    max-width: 1720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 40px;
    gap: 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    height: 10px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.logo-main {
    font-size: 22px;
    font-weight: 800;
    color: #E30613;
    letter-spacing: .3px;
}

.logo-sub {
    font-size: 15px;
    font-weight: 800;
    color: #141414;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 15.5px;
    font-weight: 600;
}

.nav-item {
    position: relative;
    padding: 16px 0;
}

.nav-item-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-link {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.nav-link.active {
    color: #E30613;
}

.chevron {
    transition: transform .15s;
}

.nav-item:hover .chevron {
    transform: rotate(180deg);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    background: #E30613;
    border-radius: 0 0 10px 10px;
    min-width: 220px;
    padding: 10px 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
    z-index: 20;
}

.nav-item:hover .submenu {
    display: flex;
}

.submenu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 22px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 26px;
}

.btn-primary {
    background: #E30613;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.login-link {
    font-size: 15px;
    font-weight: 600;
    color: #141414;
    text-decoration: underline;
    white-space: nowrap;
}

.login-link.active {
    color: #E30613;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #141414;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 8px 24px 24px;
    gap: 18px;
    font-size: 16px;
    font-weight: 600;
    border-top: 1px solid #eee;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: inherit;
}

.mobile-menu a.active {
    color: #E30613;
}

.mobile-menu .btn-primary {
    width: 100%;
    margin-top: 6px;
}

.mobile-menu .login-link {
    text-align: center;
}

/* ============ FOOTER ============ */
.site-footer {
    border-top: 3px solid #E30613;
    background: #fff;
}

.footer-inner {
    max-width: 1720px;
    margin: 0 auto;
    padding: 56px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 15px;
    color: #3f3f3f;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a.active {
    color: #E30613;
}

.footer-hours-title {
    font-size: 15px;
    font-weight: 700;
    margin: 26px 0 12px;
}

/* ============ CHAT BUBBLE ============ */
.chat-bubble {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #E30613;
    border: none;
    box-shadow: 0 6px 18px rgba(227, 6, 19, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ============ GENERIC PAGE HERO ============ */
.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 800;
    margin: 0 0 40px;
}

.main-content {
    padding: 56px 40px 100px;
    flex: 1;
}

/* ============ HOMEPAGE HERO ============ */
.hero-section {
    padding: 64px 40px 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 24px;
}

.hero-divider {
    width: 70px;
    height: 4px;
    background: #E30613;
    margin-bottom: 28px;
}

.hero-checks {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}

.hero-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #E30613;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 20px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 20px;
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-stars-icons {
    display: flex;
    gap: 2px;
}

.hero-img {
    border-radius: 18px;
    overflow: hidden;
    height: 560px;
}

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

/* ============ PERSONA SCROLLYTELLING ============ */
.persona-section {
    padding: 60px 40px;
}

.persona-outer {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px;
}

.persona-sticky {
    position: sticky;
    top: 100px;
    align-self: start;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
}

.persona-sticky img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.persona-list {
    display: flex;
    flex-direction: column;
}

.persona-item {
    padding: 36px 0;
    border-bottom: 1px solid #f0f0f0;
    opacity: .38;
    transition: opacity .25s;
}

.persona-item.active {
    opacity: 1;
}

.persona-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.persona-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b7b7b7;
}

.persona-item.active .persona-icon {
    border-color: #E30613;
    color: #E30613;
}

.persona-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: #8f8f8f;
}

.persona-item.active .persona-title {
    color: #141414;
}

.persona-mobile-img {
    display: none;
    width: 100%;
    max-width: 376px;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
}

.persona-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-left: 2px solid #e8e8e8;
    padding-left: 24px;
}

.persona-item.active .persona-bullets {
    border-left-color: #E30613;
}

.persona-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #a5a5a5;
}

.persona-item.active .persona-bullet {
    color: #141414;
}

.persona-bullet svg {
    stroke: #c6c6c6;
}

.persona-item.active .persona-bullet svg {
    stroke: #1a9c4b;
}

/* ============ EMS SECTION ============ */
.ems-section {
    padding: 60px 40px;
}

.section-title-lg {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 32px;
}

.ems-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.ems-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #8a8a8a;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 18px;
    cursor: pointer;
    white-space: nowrap;
}

.ems-tab.active {
    border-bottom-color: #E30613;
    color: #141414;
    font-weight: 700;
}

.ems-panel {
    display: none;
}

.ems-panel.active {
    display: block;
}

.section-title-md {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.section-sub {
    text-align: center;
    color: #5b5b5b;
    font-size: 15px;
    margin: 0 0 32px;
}

.vhodne-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.vhodne-badge {
    background: #E30613;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.vhodne-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vhodne-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15.5px;
    font-weight: 600;
}

.coJeTo-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.coJeTo-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 15.5px;
    color: #3f3f3f;
    line-height: 1.75;
}

.coJeTo-text p {
    margin: 0;
}

.coJeTo-img {
    border-radius: 14px;
    overflow: hidden;
}

.coJeTo-img img {
    width: 100%;
    display: block;
}

.neni-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.neni-box {
    border-radius: 12px;
    padding: 24px 28px;
}

.neni-box.danger {
    background: #fdeeee;
    border: 1px solid #f3c9c9;
}

.neni-box.warning {
    background: #fdf9e8;
    border: 1px solid #ece0a8;
}

.neni-box-title {
    font-weight: 700;
    font-size: 15.5px;
    margin-bottom: 14px;
}

.neni-box.danger .neni-box-title,
.neni-box.danger .neni-item {
    color: #8a1c1c;
}

.neni-box.warning .neni-box-title,
.neni-box.warning .neni-item {
    color: #7a6a12;
}

.neni-item-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
}

.benefity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.benefity-card {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 24px;
}

.benefity-card-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.benefity-card p {
    font-size: 14px;
    color: #5b5b5b;
    line-height: 1.6;
    margin: 0;
}

.benefity-link {
    display: block;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: #eef4ff;
    border: 1px solid #cfe0fb;
    border-radius: 12px;
    padding: 22px;
    text-decoration: none;
}

.benefity-link-title {
    font-weight: 700;
    font-size: 16px;
    color: #2f6fed;
    margin-bottom: 6px;
}

.benefity-link-sub {
    font-size: 14.5px;
    color: #3f3f3f;
}

.benefity-link-sub span {
    color: #2f6fed;
    text-decoration: underline;
    font-weight: 600;
}

/* ============ O NÁS ============ */
.onas-section {
    padding: 60px 40px;
}

.onas-grid {
    display: grid;
    grid-template-columns: .9fr 1.3fr;
    gap: 56px;
    align-items: center;
}

.onas-img {
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
}

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

.onas-title {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 20px;
}

.onas-text {
    font-size: 16px;
    color: #3f3f3f;
    line-height: 1.7;
    margin: 0 0 36px;
}

.onas-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.onas-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.onas-card-title {
    font-weight: 700;
    font-size: 16px;
}

.onas-card p {
    font-size: 14.5px;
    color: #5b5b5b;
    line-height: 1.6;
    margin: 0;
}

/* ============ FAQ ============ */
.faq-section {
    padding: 60px 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: none;
    text-align: left;
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 600;
    color: #141414;
    cursor: pointer;
}

.faq-item.open .faq-question {
    background: #f7f7f7;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform .2s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #5b5b5b;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ============ REVIEWS ============ */
.reviews-section {
    padding: 20px 40px 60px;
}

.reviews-placeholder {
    border: 1.5px dashed #d9d9d9;
    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
    color: #9a9a9a;
    font-size: 15px;
}

/* ============ CONTACT PAGE ============ */
.content-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: start;
}

.map-embed {
    height: 565px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.map-embed iframe {
    border: 0;
    display: block;
}

.contact-col {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.info-block .logo-link {
    margin-bottom: 28px;
}

.info-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.info-contacts {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.info-contact-row {
    display: flex;
    gap: 14px;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-contact-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-contact-value {
    font-size: 15px;
    color: #3f3f3f;
}

.info-hours-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    color: #3f3f3f;
}

.info-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.info-section-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-address {
    font-size: 15px;
    color: #3f3f3f;
    line-height: 1.6;
}

.info-company {
    font-size: 15px;
    color: #3f3f3f;
}

.contact-form-card {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 44px 40px;
}

.contact-form-card br { 
    display: none;
}
.contact-form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 12px;
}

.contact-form-sub {
    text-align: center;
    font-size: 15px;
    color: #5b5b5b;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* ============ FORMS (shared) ============ */
.form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 9px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
}

.form-textarea {
    resize: vertical;
}

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #3f3f3f;
    cursor: pointer;
}

.form-checkbox-row input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-note {
    font-size: 13px;
    color: #8a8a8a;
    margin: -8px 0 4px;
    line-height: 1.6;
}

.form-note a {
    color: #5b5b5b;
    text-decoration: underline;
}

.form-submit {
    background: #E30613;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 17px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-error {
    font-size: 14px;
    color: #c0392b;
    background: #fdeeee;
    border: 1px solid #f3c9c9;
    border-radius: 8px;
    padding: 12px 14px;
    display: none;
}

.form-error.show {
    display: block;
}

/* ============ PRICING PAGE ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.price-card {
    background: #f7f7f7;
    border-radius: 16px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.highlight {
    border: 2px solid #E30613;
    box-shadow: 0 8px 24px rgba(227, 6, 19, .12);
}

.price-badge {
    position: absolute;
    top: -16px;
    right: 28px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 999px;
}

.price-badge.red {
    background: #E30613;
}

.price-badge.dark {
    background: #141414;
}

.price-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 24px;
}

.price-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
}

.price-line {
    font-size: 20px;
    font-weight: 700;
    text-align: right;
}

.price-line-lg {
    font-size: 26px;
    font-weight: 800;
    text-align: right;
}

.price-line-sub {
    font-size: 13px;
    font-weight: 700;
    color: #5b5b5b;
    text-align: right;
}

.price-btn {
    background: #E30613;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.info-panel {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #eef4ff;
    border: 1px solid #cfe0fb;
    border-radius: 16px;
    padding: 32px 36px;
    margin-top: 28px;
}

.info-panel-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #2f6fed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-panel-title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 8px;
}

.info-panel p {
    font-size: 15px;
    color: #3f3f3f;
    line-height: 1.6;
    margin: 0;
}

.info-panel-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #2f6fed;
    color: #2f6fed;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 24px;
    border-radius: 10px;
    white-space: nowrap;
}

/* ============ GDPR / ACCORDION DOC PAGE ============ */
.doc-title {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 12px;
}

.doc-effective {
    font-size: 15px;
    color: #5b5b5b;
    margin: 0 0 32px;
}

.acc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acc-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.acc-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: none;
    text-align: left;
    padding: 22px 28px;
    font-size: 18px;
    font-weight: 700;
    color: #141414;
    cursor: pointer;
}

.acc-item.open .acc-header {
    background: #f7f7f7;
}

.acc-chevron {
    flex-shrink: 0;
    transition: transform .2s;
}

.acc-item.open .acc-chevron {
    transform: rotate(180deg);
}

.acc-body {
    display: none;
    padding: 0 28px 30px;
    font-size: 15.5px;
    line-height: 1.7;
    color: #2b2b2b;
}

.acc-item.open .acc-body {
    display: block;
}

.acc-body p {
    margin: 0 0 20px;
}

.acc-box {
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 22px 24px;
}

.acc-box-title {
    font-weight: 700;
    margin-bottom: 14px;
}

.acc-box-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-empty {
    color: #9a9a9a;
    font-style: italic;
    margin: 0;
}

/* ============ LOGIN / SIGNUP ============ */
.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .08);
    border-radius: 16px;
    padding: 48px 44px;
}

.auth-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 32px;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-forgot {
    font-size: 14px;
    font-weight: 600;
    color: #E30613;
    text-decoration: none;
}

.auth-footer-text {
    text-align: center;
    font-size: 14px;
    color: #5b5b5b;
    margin: 28px 0 0;
}

.auth-footer-text a {
    color: #E30613;
    font-weight: 700;
    text-decoration: none;
}

/* ============ RESERVATION / CALENDAR ============ */
.cal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.cal-month-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

.cal-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cal-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.cal-nav-btn.prev {
    background: #fdeaea;
    color: #E30613;
}

.cal-nav-btn.next {
    background: #E30613;
    color: #fff;
}

.cal-today-btn {
    height: 38px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: #141414;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 16px;
}

.cal-grid-wrap {
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.cal-weekday {
    text-align: center;
    padding: 14px 4px;
    font-size: 13px;
    font-weight: 700;
    color: #5b5b5b;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.cal-cell {
    min-height: 96px;
    padding: 12px;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    cursor: pointer;
}

.cal-cell.blank {
    cursor: default;
    background: repeating-linear-gradient(45deg, #fafafa, #fafafa 6px, #f3f3f3 6px, #f3f3f3 12px);
}

.cal-cell.past {
    cursor: default;
}

.cal-cell.selected {
    background: #E30613;
}

.cal-cell-status {
    text-align: center;
}

.cal-cell-hours {
    font-size: 13px;
    font-weight: 700;
    color: #141414;
}

.cal-cell-state {
    font-size: 13px;
    color: #141414;
}

.cal-cell.past .cal-cell-hours,
.cal-cell.past .cal-cell-state {
    color: #c7c7c7;
}

.cal-cell.selected .cal-cell-hours,
.cal-cell.selected .cal-cell-state {
    color: #fff;
}

.cal-cell-num {
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #5b5b5b;
}

.cal-cell.selected .cal-cell-num {
    color: #fff;
}

.cal-cell.past .cal-cell-num {
    color: #c7c7c7;
}

.booking-block {
    margin-top: 44px;
}

.booking-date-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
}

.booking-sub {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
}

.booking-hint {
    font-size: 15px;
    color: #5b5b5b;
    margin: 0 0 24px;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    align-items: start;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.program-btn {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 22px;
    cursor: pointer;
}

.program-btn.active {
    background: #fdeeee;
    border-color: #E30613;
}

.program-name {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    color: #141414;
}

.program-duration {
    display: block;
    font-size: 13.5px;
    color: #5b5b5b;
    margin-top: 2px;
}

.program-price {
    font-size: 15px;
    font-weight: 800;
    color: #E30613;
}

.slots-panel {
    min-height: 180px;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slots-panel.has-program {
    align-items: flex-start;
}

.slots-hint {
    text-align: center;
    color: #8a8a8a;
    font-size: 15px;
    line-height: 1.6;
    max-width: 360px;
    margin: 0;
}

.slots-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.slot-btn {
    padding: 10px 6px;
    border-radius: 8px;
    border: 1.5px solid #dcdcdc;
    background: #fff;
    color: #141414;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.slot-btn.active {
    background: #E30613;
    color: #fff;
    border-color: #E30613;
}

.slot-btn.disabled {
    background: #f5f5f5;
    color: #c7c7c7;
    border-color: #eee;
    cursor: not-allowed;
}

.confirm-btn {
    width: 100%;
    background: #E30613;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: none;
}

.confirm-btn.show {
    display: block;
}

/* ============ 404 PAGE ============ */
.notfound-main {
    padding: 80px 40px 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.notfound-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #E30613;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.notfound-code {
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 800;
    margin: 0 0 20px;
}

.notfound-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 14px;
}

.notfound-text {
    font-size: 16px;
    color: #5b5b5b;
    max-width: 480px;
    line-height: 1.6;
    margin: 0 0 36px;
}

.notfound-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 340px;
    margin-bottom: 44px;
}

.notfound-btn-primary {
    display: block;
    background: #E30613;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
}

.notfound-btn-outline {
    display: block;
    background: #fff;
    color: #E30613;
    text-decoration: none;
    border: 2px solid #E30613;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
}

.notfound-links-wrap {
    width: 100%;
    max-width: 480px;
    border-top: 1px solid #eee;
    padding-top: 28px;
}

.notfound-links-label {
    font-size: 14.5px;
    color: #8a8a8a;
    margin: 0 0 14px;
}

.notfound-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14.5px;
    font-weight: 700;
}

.notfound-links a {
    color: #E30613;
    text-decoration: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {

    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-img {
        order: -1;
        height: 320px !important;
    }

    .persona-sticky {
        display: none !important;
    }

    .persona-mobile-img {
        display: block !important;
    }

    .persona-outer {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .coJeTo-grid {
        grid-template-columns: 1fr !important;
    }

    .benefity-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .onas-cards {
        grid-template-columns: 1fr !important;
    }

    .onas-grid {
        grid-template-columns: 1fr !important;
    }

    .vhodne-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: 34px !important;
    }
}

@media (max-width: 900px) {
    .page-pad {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .content-grid {
        grid-template-columns: 1fr !important;
    }

    .map-embed {
        height: 320px !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
    }

    .page-title {
        font-size: 32px !important;
    }

    .info-panel {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .info-panel-link {
        width: 100%;
        justify-content: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
    }

    .acc-header {
        padding: 18px 20px !important;
        font-size: 16px !important;
    }

    .acc-body {
        padding: 0 20px 24px !important;
    }

    .auth-card {
        padding: 32px 24px !important;
    }

    .booking-grid {
        grid-template-columns: 1fr !important;
    }

    .info-hours-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .benefity-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============ CHECKOUT (POKLADNA) ============ */
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checkout-left { display: flex; flex-direction: column; gap: 32px; }
.checkout-label { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.checkout-items { display: flex; flex-direction: column; gap: 12px; }
.checkout-item-btn {
  text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 2px solid #e5e7eb; border-radius: 12px; padding: 18px 22px; cursor: pointer; font-family: inherit;
}
.checkout-item-btn.active { background: #fdeeee; border-color: #E30613; }
.checkout-item-name { display: block; font-size: 15.5px; font-weight: 700; color: #141414; }
.checkout-item-sub { display: block; font-size: 13.5px; color: #5b5b5b; margin-top: 2px; }
.checkout-item-price { font-size: 15px; font-weight: 800; color: #E30613; white-space: nowrap; }
.checkout-form { display: flex; flex-direction: column; gap: 18px; }
.checkout-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.checkout-field input {
  width: 100%; padding: 12px 14px; border: 1px solid #dcdcdc; border-radius: 9px; font-size: 15px; font-family: inherit;
}
.summary-card { background: #f7f7f7; border-radius: 16px; padding: 32px 30px; position: sticky; top: 24px; }
.summary-title { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 22px; }
.summary-line-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #e5e5e5; margin-bottom: 20px; }
.summary-line-name { font-size: 15.5px; font-weight: 700; }
.summary-line-sub { font-size: 13.5px; color: #5b5b5b; margin-top: 4px; }
.summary-line-price { font-size: 16px; font-weight: 800; white-space: nowrap; }
.summary-rows { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: #3f3f3f; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid #e5e5e5; margin-bottom: 26px; }
.summary-total-label { font-size: 15px; font-weight: 700; }
.summary-total-price { font-size: 24px; font-weight: 800; color: #E30613; }
.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.payment-method {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #dcdcdc; border-radius: 9px;
  padding: 12px 14px; font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.payment-method.active { border-color: #E30613; }
.payment-method input { width: 16px; height: 16px; }
.checkout-submit { width: 100%; background: #E30613; color: #fff; border: none; border-radius: 10px; padding: 17px 24px; font-size: 16px; font-weight: 700; cursor: pointer; }
.checkout-note { font-size: 12.5px; color: #8a8a8a; text-align: center; margin: 14px 0 0; line-height: 1.6; }
.checkout-note a { color: #5b5b5b; text-decoration: underline; }

.purchase-modal-overlay {
  position: fixed; inset: 0; background: rgba(20,20,20,.55); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.purchase-modal-overlay.show { display: flex; }
.purchase-modal { background: #fff; border-radius: 18px; padding: 44px 40px; max-width: 420px; width: 100%; text-align: center; }
.purchase-modal-icon { width: 64px; height: 64px; border-radius: 50%; background: #e9f7ee; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.purchase-modal h2 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.purchase-modal p { font-size: 15px; color: #5b5b5b; line-height: 1.6; margin: 0 0 28px; }
.purchase-modal-close { width: 100%; background: #E30613; color: #fff; border: none; border-radius: 10px; padding: 15px 24px; font-size: 15px; font-weight: 700; cursor: pointer; }

/* ============ MŮJ ÚČET ============ */
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.account-greeting { font-size: 15.5px; color: #5b5b5b; margin: 0 0 36px; }
.account-tabs { display: flex; flex-direction: column; gap: 6px; }
.account-tab {
  text-align: left; display: flex; align-items: center; gap: 12px; background: transparent; color: #141414;
  border: none; border-radius: 10px; padding: 13px 16px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.account-tab.active { background: #fdeeee; color: #E30613; }
.account-tab svg { stroke: currentColor; flex-shrink: 0; }
.account-divider { height: 1px; background: #eee; margin: 8px 0; }
.account-logout { text-align: left; display: flex; align-items: center; gap: 12px; background: none; color: #c0392b; border: none; border-radius: 10px; padding: 13px 16px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }
.account-panel { display: none; }
.account-panel.active { display: block; }
.account-panel-title { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; margin: 0 0 20px; }
.order-list, .reservation-list { display: flex; flex-direction: column; gap: 14px; }
.order-row, .reservation-row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 20px; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px 22px; }
.reservation-row { grid-template-columns: 1fr auto auto; }
.order-name, .reservation-name { font-size: 15px; font-weight: 700; }
.order-date, .reservation-date { font-size: 13px; color: #8a8a8a; margin-top: 2px; }
.order-price { font-size: 14px; font-weight: 700; color: #141414; }
.order-status, .reservation-status { font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; justify-self: start; }
.status-paid { background: #e9f7ee; color: #1a7a3d; }
.status-upcoming { background: #fdeeee; color: #E30613; }
.status-done { background: #f0f0f0; color: #5b5b5b; }
.status-cancelled { background: #f0f0f0; color: #8a8a8a; }
.order-invoice { text-align: right; font-size: 13.5px; font-weight: 700; color: #E30613; text-decoration: none; white-space: nowrap; }
.reservation-cancel { text-align: right; font-size: 13.5px; font-weight: 700; color: #c0392b; background: none; border: none; cursor: pointer; font-family: inherit; white-space: nowrap; }
.new-reservation-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14.5px; font-weight: 700; color: #E30613; text-decoration: none; }
.account-save-msg { font-size: 14px; color: #1a7a3d; background: #e9f7ee; border: 1px solid #bfe6cd; border-radius: 8px; padding: 12px 14px; display: none; }
.account-save-msg.show { display: block; }
.account-save-btn { align-self: flex-start; background: #E30613; color: #fff; border: none; border-radius: 10px; padding: 14px 26px; font-size: 15px; font-weight: 700; cursor: pointer; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-img { order: -1; height: 320px !important; }
  .persona-sticky { display: none !important; }
  .persona-mobile-img { display: block !important; }
  .persona-outer { grid-template-columns: 1fr !important; gap: 0 !important; }
  .coJeTo-grid { grid-template-columns: 1fr !important; }
  .benefity-grid { grid-template-columns: repeat(2,1fr) !important; }
  .onas-cards { grid-template-columns: 1fr !important; }
  .onas-grid { grid-template-columns: 1fr !important; }
  .vhodne-grid { grid-template-columns: 1fr !important; }
  .hero-title { font-size: 34px !important; }
}
@media (max-width: 980px) {
  .checkout-grid { grid-template-columns: 1fr !important; }
  .account-grid { grid-template-columns: 1fr !important; }
  .account-tabs { flex-direction: row !important; overflow-x: auto; gap: 8px !important; padding-bottom: 4px; }
  .account-tab { white-space: nowrap; }
}
@media (max-width: 900px) {
  .page-pad { padding-left: 20px !important; padding-right: 20px !important; }
  .content-grid { grid-template-columns: 1fr !important; }
  .map-embed { height: 320px !important; }
  .form-row, .checkout-form-row { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: repeat(2,1fr) !important; gap: 32px !important; }
  .page-title { font-size: 32px !important; }
  .info-panel { flex-direction: column !important; align-items: flex-start !important; }
  .info-panel-link { width: 100%; justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .acc-header { padding: 18px 20px !important; font-size: 16px !important; }
  .acc-body { padding: 0 20px 24px !important; }
  .auth-card { padding: 32px 24px !important; }
  .booking-grid { grid-template-columns: 1fr !important; }
  .info-hours-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .order-row, .reservation-row { grid-template-columns: 1fr !important; gap: 6px !important; }
  .order-invoice, .reservation-cancel { text-align: left !important; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr !important; }
  .benefity-grid { grid-template-columns: 1fr !important; }
}



/**
 * Flashfit — přestylování nativní WooCommerce pokladny (checkout)
 * -----------------------------------------------------------------
 * Cílí na standardní, stabilní WooCommerce core třídy (form.checkout,
 * woocommerce-billing-fields, woocommerce-checkout-review-order, atd.),
 * které se mezi verzemi WooCommerce nemění tak často jako u Bookings pluginu.
 */

:root {
  --ff-red: #e31e24;
  --ff-red-dark: #b3161b;
  --ff-black: #111111;
  --ff-gray-bg: #f5f5f5;
  --ff-gray-border: #e2e2e2;
  --ff-radius: 14px;
  --ff-font: 'Poppins', 'Inter', system-ui, sans-serif;
}

.woocommerce-checkout,
.woocommerce-checkout * {
  font-family: var(--ff-font);
}

/* Nadpisy sekcí (Fakturační údaje, Vaše objednávka...) */
.woocommerce-checkout h3,
.woocommerce-billing-fields h3,
#order_review_heading {
  color: var(--ff-black);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* Vstupní pole */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection {
  border: 1px solid var(--ff-gray-border) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-family: var(--ff-font);
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  border-color: var(--ff-red) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.woocommerce-checkout label {
  color: var(--ff-black);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* Souhrn objednávky (tabulka vpravo) */
#order_review,
.woocommerce-checkout-review-order {
  background: #fff;
  border: 1px solid var(--ff-gray-border);
  border-radius: var(--ff-radius);
  padding: 24px;
}

table.shop_table.woocommerce-checkout-review-order-table {
  border: none;
}

table.shop_table.woocommerce-checkout-review-order-table th,
table.shop_table.woocommerce-checkout-review-order-table td {
  border-color: var(--ff-gray-border);
  padding: 12px 0;
}

.woocommerce-checkout-review-order-table .product-name {
  color: var(--ff-black);
  font-weight: 600;
}

.woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
  color: var(--ff-red-dark);
  font-weight: 800;
  font-size: 1.15rem;
}

/* Platební brány (radio výběr) */
#payment {
  background: var(--ff-gray-bg);
  border-radius: var(--ff-radius);
}

ul.wc_payment_methods {
  border: none;
}

ul.wc_payment_methods li.wc_payment_method {
  border-bottom: 1px solid var(--ff-gray-border);
  padding: 14px 4px;
}

ul.wc_payment_methods li.wc_payment_method label {
  font-weight: 600;
  color: var(--ff-black);
}

ul.wc_payment_methods input[type="radio"]:checked + label {
  color: var(--ff-red);
}

.payment_box {
  background: #fff !important;
  border-radius: 8px;
  border: 1px solid var(--ff-gray-border);
}

/* Tlačítko "Provést objednávku" / Place order */
#place_order {
  background: var(--ff-red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 16px 32px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: 100%;
  font-size: 1rem;
  transition: background 0.15s;
}

#place_order:hover {
  background: var(--ff-red-dark) !important;
}

/* Upozornění / chybové hlášky */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--ff-red) !important;
  border-radius: 8px;
  font-family: var(--ff-font);
}

.woocommerce-error::before {
  color: var(--ff-red) !important;
}

/* -------------------------------------------------------------- */
/* Dvousloupcový layout (viz form-checkout.php override)          */
/* -------------------------------------------------------------- */

.ff-checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .ff-checkout-grid {
    grid-template-columns: 1fr;
  }
}

.ff-checkout-left #customer_details {
  background: #fff;
  border: 1px solid var(--ff-gray-border);
  border-radius: var(--ff-radius);
  padding: 24px;
}

.ff-checkout-left .col2-set {
  display: block; /* necháváme WC řídit šířky uvnitř, jen odstraníme jeho float layout na dvě poloviny */
}

.ff-checkout-summary {
  position: sticky;
  top: 24px;
}

.ff-checkout-summary #order_review_heading {
  padding: 0 24px;
  margin-top: 0;
}

/* -------------------------------------------------------------- */
/* Oprava konfliktu s Bootstrapem (theme načítá celý Bootstrap 5, */
/* který resetuje floaty/šířky a rozhazuje WooCommerce form-row)  */
/* -------------------------------------------------------------- */

.woocommerce-checkout #customer_details .form-row {
  display: block;
  width: 100%;
  margin: 0 0 16px 0;
  padding: 0;
  clear: both;
  box-sizing: border-box;
  float: none;
}

.woocommerce-checkout #customer_details .form-row-first,
.woocommerce-checkout #customer_details .form-row-last {
  width: calc(50% - 8px) !important;
  float: left !important;
  clear: none !important;
}

.woocommerce-checkout #customer_details .form-row-last {
  float: right !important;
}

.woocommerce-checkout #customer_details .form-row-wide {
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.woocommerce-checkout #customer_details .form-row::after {
  content: '';
  display: table;
  clear: both;
}

.woocommerce-checkout #customer_details label {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  float: none;
}

.woocommerce-checkout #customer_details .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

.woocommerce-checkout #customer_details input.input-text,
.woocommerce-checkout #customer_details select,
.woocommerce-checkout #customer_details textarea {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  float: none;
}

/* col-1 (fakturace) / col-2 (doručení, poznámky) vedle sebe */
.woocommerce-checkout #customer_details.col2-set {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  flex: 1 1 300px;
  min-width: 280px;
  float: none;
  width: auto;
}

/* -------------------------------------------------------------- */
/* Zpřehlednění: notice boxy, checkbox podmínek, tlačítko          */
/* -------------------------------------------------------------- */

/* Info/notice boxy (kupón, upozornění) - klidnější, sladěné s designem */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
  background: var(--ff-gray-bg);
  border: 1px solid var(--ff-gray-border);
  border-top: 3px solid var(--ff-black) !important;
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--ff-black);
  font-size: 0.9rem;
}

.woocommerce-checkout .woocommerce-info a,
.woocommerce-checkout .woocommerce-message a {
  color: var(--ff-red);
  font-weight: 600;
}

/* Checkbox obchodních podmínek */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 20px 0;
}

.woocommerce-checkout .woocommerce-form__input-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--ff-red);
  margin-right: 8px;
  vertical-align: middle;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
  font-size: 0.9rem;
  color: var(--ff-black);
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox a {
  color: var(--ff-red);
  text-decoration: underline;
}

/* Sekce "Souhrn objednávky" - tabulka produktů */
.ff-checkout-summary table.shop_table {
  width: 100%;
}

.ff-checkout-summary table.shop_table th {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: #8a8a8a;
  font-weight: 700;
}

.ff-checkout-summary .cart_item td {
  padding: 14px 0;
  vertical-align: top;
}

.ff-checkout-summary .order-total th,
.ff-checkout-summary .order-total td {
  font-size: 1.1rem;
  padding-top: 16px;
  border-top: 2px solid var(--ff-black) !important;
}

/* Sekce platebních metod - karty místo plochého seznamu */
.woocommerce-checkout #payment {
  margin-top: 24px;
  background: transparent;
  padding: 0;
}

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method {
  background: #fff;
  border: 1px solid var(--ff-gray-border) !important;
  border-radius: 10px;
  padding: 16px !important;
  margin-bottom: 10px;
}

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method input[type="radio"] {
  accent-color: var(--ff-red);
  width: 18px;
  height: 18px;
}

/* Tlačítko dokončit objednávku - trochu prostoru nad ním */
.woocommerce-checkout #place_order {
  margin-top: 20px;
}

/* Souhrn objednávky jako karta, konzistentně s ostatními kartami */
.ff-checkout-summary #order_review {
  background: #fff;
  border: 1px solid var(--ff-gray-border);
  border-radius: var(--ff-radius);
  padding: 24px;
}

/* -------------------------------------------------------------- */
/* Stejná oprava form-row layoutu, ale pro CELÝ checkout formulář  */
/* (text o zpracování údajů + checkbox podmínek žijí mimo          */
/* #customer_details, takže je potřebovaly vlastní pravidlo)       */
/* -------------------------------------------------------------- */

.woocommerce-checkout .form-row,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper p {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box;
  margin: 0 0 16px 0;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  margin-bottom: 16px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text p {
  width: 100% !important;
  float: none !important;
}

/* Platba + podmínky + tlačítko sjednocené do jedné karty */
.ff-checkout-summary .woocommerce-checkout-payment,
.woocommerce-checkout #payment {
  background: #fff;
  border: 1px solid var(--ff-gray-border);
  border-radius: var(--ff-radius);
  padding: 24px;
  margin-top: 20px;
}

.woocommerce-checkout #payment ul.wc_payment_methods {
  margin-bottom: 0;
}

.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  border-top: 1px solid var(--ff-gray-border);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #6b6b6b;
}

.woocommerce-checkout #place_order {
  margin-top: 20px;
  font-size: 1.05rem;
}