.sloupce { border: 0 !important; }
.header-controls { display: none; }
.in-editor .header-controls { display: block; }

/* Mobilní úprava textu v headeru */
@media screen and (max-width: 599px) {
  .header-content { text-align: center !important; }
}

/* Desktop - zachování původních hodnot nebo mírné úpravy */
@media (min-width: 1200px) {
  .workspace-header { padding: 150px 0px !important; }
  .header-content { padding-left: 200px !important; padding-right: 200px !important; }
  .header-content h1 { font-size: 72px !important; }
  .header-content h2 { font-size: 48px !important; }
  .header-content p { font-size: 22px !important; }
}

/* Laptop - men?í paddingy */
@media (min-width: 992px) and (max-width: 1199px) {
  .workspace-header { padding: 120px 0px !important; }
  .header-content { padding-left: 120px !important; padding-right: 120px !important; }
  .header-content h1 { font-size: 64px !important; }
  .header-content h2 { font-size: 42px !important; }
  .header-content p { font-size: 20px !important; }
}

/* Tablet - výrazně men?í paddingy */
@media (min-width: 768px) and (max-width: 991px) {
  .workspace-header { padding: 100px 0px !important; }
  .header-content { padding-left: 60px !important; padding-right: 60px !important; }
  .header-content h1 { font-size: 52px !important; }
  .header-content h2 { font-size: 36px !important; }
  .header-content p { font-size: 18px !important; }
}

/* Mobil landscape - je?t? men?í */
@media (min-width: 576px) and (max-width: 767px) {
  .workspace-header { padding: 80px 0px !important; }
  .header-content { padding-left: 40px !important; padding-right: 40px !important; text-align: center !important; }
  .header-content h1 { font-size: 42px !important; line-height: 1.2; }
  .header-content h2 { font-size: 30px !important; line-height: 1.3; }
  .header-content p { font-size: 16px !important; line-height: 1.5; }
  .header-content .btn { margin-left: auto; margin-right: auto; }
}

/* Mobil portrait - minimální paddingy */
@media (max-width: 575px) {
  .workspace-header { padding: 60px 0px !important; }
  .header-content { padding-left: 20px !important; padding-right: 20px !important; }
  .header-content h1 { font-size: 32px !important; line-height: 1.2; margin-bottom: 15px; }
  .header-content h2 { font-size: 24px !important; line-height: 1.3; margin-bottom: 12px; }
  .header-content p { font-size: 16px !important; line-height: 1.5; margin-bottom: 15px; }
  .header-content .btn { width: 100% !important; max-width: 200px; }
  .pagelet-columns { padding: 24px !important; }
}

/* Extra malé mobily */
@media (max-width: 400px) {
  .workspace-header { padding: 40px 0px !important; }
  .header-content { padding-left: 15px !important; padding-right: 15px !important; }
  .header-content h1 { font-size: 28px !important; }
  .header-content h2 { font-size: 20px !important; }
  .header-content p { font-size: 14px !important; }
}

/* Obecné vylep?ení pro background obrázky */
.workspace-header { background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important; top: 0;}

.workspace-work-section { margin-bottom: 0 !important; padding-left: 20px; padding-right: 20px;}

/* Zaji?t?ní správného zalamování textu */
.header-content h1, .header-content h2, .header-content p { word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; }

/* Responzivní mezery mezi elementy */
.header-content > * + * { margin-top: 0.75rem; }
@media (min-width: 768px) { .header-content > * + * { margin-top: 1rem; } }
@media (min-width: 1200px) { .header-content > * + * { margin-top: 1.25rem; } }

/* Zaji?t?ní ?itelnosti textu na background obrazcích */
.workspace-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.2); z-index: 0; pointer-events: none; }

/* Zajištění, že obsah je nad overlay */
.header-content { position: relative !important; z-index: 1 !important; }


/* ===========================
 COLUMNS (GRID LAYOUT)
 =========================== */

/* Skrytí administra?ních prvk? na ostrém webu */
.columns-toolbar, .section-toolbar, .header-controls, .image-toolbar, .text-toolbar, .button-toolbar, .file-toolbar, .gallery-toolbar, .html-toolbar, .admin-only, .text-inline-toolbar, .shared-badge { display: none !important; }

/* Pagelet wrapper bez extra paddingu */
.pagelet-columns { padding: 0; }

/* Kontejner sloupců pou?ívá GRID (ne FLEX) */
.columns-container { display: grid; gap: 10px; }

/* Mobil vynutit 1 sloupec bez ohledu na inline rozlo?ení */
@media (max-width: 576px) {
.columns-container { grid-template-columns: 1fr !important; }
}

/* Volitelné výchozí nastavení pro ?577px, pokud JS nic nenastaví:
 (*pozn.: BEZ !important, aby inline z JS m?lo p?ednost) */
@media (min-width: 577px) {
.columns-container { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* Sloupce ?ist? na ostrém webu, ale s paddingem pro obsah */
.sloupce, .workspace-column { border: none !important; min-height: auto !important; background-color: transparent !important; padding: 10px; box-sizing: border-box; flex: initial !important; max-width: none !important; min-width: 0 !important; }

/* Editor (admin) zvýrazn?ní sloupců */
body.in-editor .sloupce, body.in-editor .workspace-column { border: 1px dashed #aaa !important; min-height: 100px !important; padding: 10px !important; background-color: #fafafa !important; }

/* Ostrý web ?isté sloupce */
body:not(.in-editor) .sloupce, body:not(.in-editor) .workspace-column { border: none !important; min-height: auto !important; background-color: transparent !important; }

/* Vno?ené elementy v sloupcích */
.sloupce > *, .workspace-column > * { max-width: 100%; }

/* Obrázky v sloupcích budou responzivní */
.sloupce img, .workspace-column img { max-width: 100%; height: auto; }

/* Hover efekt pro tla?ítka */
.workspace-button-pagelet[data-pagelet="button"] .cta-button:hover { background: var(--button-hover-bg) !important; color: var(--button-hover-color) !important; border-color: var(--button-hover-border) !important; }

.cta-button { margin-top: 20px; margin-bottom: 20px; }

#lightboxOverlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 99999; }
#lightboxOverlay img { max-width: 90%; max-height: 90%; border-radius: 8px; }

.my-footer { display: block; margin: auto; text-align: center; font-size: 12px; padding: 7px; }
.my-footer a { font-size: 12px; font-weight: 600; text-decoration: none; }
.my-footer a { text-decoration: none; }

.lang-switcher .lang-flag { width: 22px; height: auto; display: inline-block; border-radius: 0; }
.lang-switcher a { display: inline-flex; align-items: center; }
.lang-switcher a:not(.fw-bold) .lang-flag { opacity: 0.9; }
.lang-switcher a.fw-bold .lang-flag { opacity: 1; }

.navbar-toggler { border: 0 !important; }
.navbar-toggler:focus { box-shadow: none; outline: none !important; }

.logo-img { max-height: 40px; }

.popup { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); }
.popup-content { position: relative; width: 90%; max-width: 550px; height: 386px; margin: 5% auto; background: #ffffff; border-radius: 8px; }
.popup-button { width: 200px; position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); padding: 14px 28px; background-color: #e6881b; color: #ffffff !important; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; }
.popup-button:hover { opacity: 0.9; color: #ffffff !important; text-decoration: none; }
.close-btn { position: absolute; top: 10px; right: 15px; font-size: 32px; color: #000000; cursor: pointer; font-weight: bold; z-index: 2; }
.close-btn:hover { opacity: 0.8; }
.popup-text { position: absolute; top: 0; left: 0; right: 0; bottom: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 40px 0 40px; text-align: center; gap: 12px; }
.popup-text h2 { font-size: 22px; font-weight: 400; color: #222; margin: 0; }
.popup-text p { font-size: 15px; color: #555; line-height: 1.6; margin: 0; }

/* Tabulky z text pageletu na ostrém webu */
body:not(.in-editor) .workspace-text-pagelet .editor-table { width: 100% !important; border-collapse: collapse; }
body:not(.in-editor) .workspace-text-pagelet .editor-table td, body:not(.in-editor) .workspace-text-pagelet .editor-table th { border: 1px solid #ddd; padding: 6px 8px; }

/* ?istý web ? odstran?ní admin styl? z pagelet? */
body:not(.in-editor) .workspace-text-pagelet { border: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; position: static !important; }
body:not(.in-editor) .workspace-image-pagelet { position: relative !important; border: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; }
body:not(.in-editor) .image-toolbar { display: none !important; }
body:not(.in-editor) .workspace-button-pagelet { position: static !important; }
body:not(.in-editor) .workspace-file-pagelet { position: static !important; }

/* Nejvy??í priorita ? p?ebije i inline display:flex !important */
body:not(.in-editor) .image-toolbar.admin-only, body:not(.in-editor) .columns-toolbar.admin-only, body:not(.in-editor) div.image-toolbar, body:not(.in-editor) div.admin-only { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; position: absolute !important; width: 0 !important; height: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }

/* PAGELET KARTA – OSTRÝ WEB */

body:not(.in-editor) .workspace-card-pagelet{position:relative;  width:100%;  margin:0;  padding:0;  background:var(--flowebitor-background, #ffffff);  border:1px solid color-mix(in srgb, var(--flowebitor-text, #334155) 18%, transparent);  border-radius:8px;  overflow:hidden;  box-sizing:border-box;}

/* Hlavička */

body:not(.in-editor) .workspace-card-pagelet .card-header{display:block;  padding:14px 18px;  background:color-mix(in srgb, var(--flowebitor-primary, #2563eb) 8%, var(--flowebitor-background, #ffffff));  border-bottom:1px solid color-mix(in srgb, var(--flowebitor-text, #334155) 15%, transparent);  color:var(--flowebitor-heading, #0f172a);  font-size:16px;  line-height:1.4;  font-weight:600;  box-sizing:border-box;}

/* Obrázek */

body:not(.in-editor) .workspace-card-pagelet .card-image-wrapper{position:relative;  width:100%;  margin:0;  padding:0;  background:color-mix(in srgb, var(--flowebitor-text, #334155) 5%, var(--flowebitor-background, #ffffff));  box-sizing:border-box;}
body:not(.in-editor) .workspace-card-pagelet .card-image{display:block;  width:100%;  max-width:100%;  height:auto;  margin:0;}

/* Tělo */

body:not(.in-editor) .workspace-card-pagelet .card-body{padding:20px;  box-sizing:border-box;  min-width:0;}
/* Nadpis */
body:not(.in-editor) .workspace-card-pagelet .card-title{margin:0 0 8px 0;  color:var(--flowebitor-heading, #0f172a);  font-size:24px;  line-height:1.25;  font-weight:700;}
/* Podnadpis */
body:not(.in-editor) .workspace-card-pagelet .card-subtitle{margin:0 0 12px 0;  color:var(--flowebitor-text, #334155);  font-size:16px;  line-height:1.4;}
/* Text */
body:not(.in-editor) .workspace-card-pagelet .card-text{margin:0 0 18px 0;  color:var(--flowebitor-text, #334155);  font-size:15px;  line-height:1.6;}

/* Tlačítko- */

body:not(.in-editor) .workspace-card-pagelet .card-button{display:inline-block;  padding:10px 18px;  background:var(--flowebitor-primary, #2563eb);  border:2px solid var(--flowebitor-primary, #2563eb);  border-radius:6px;  color:#ffffff !important;  font-size:15px;  line-height:1.4;  font-weight:600;  text-decoration:none;  cursor:pointer;  box-sizing:border-box;  }
body:not(.in-editor) .workspace-card-pagelet .card-button:hover{background:var(--flowebitor-secondary, #0f172a);  border-color:var(--flowebitor-secondary, #0f172a);  color:#ffffff !important;  cursor:pointer;}

/* Patička */

body:not(.in-editor) .workspace-card-pagelet .card-footer{padding:12px 18px;  background:color-mix(in srgb, var(--flowebitor-primary, #2563eb) 5%, var(--flowebitor-background, #ffffff));  border-top:1px solid color-mix(in srgb, var(--flowebitor-text, #334155) 15%, transparent);  color:var(--flowebitor-text, #334155);  font-size:13px;  line-height:1.4;  box-sizing:border-box;}

/* Editorové pomocné vlastnosti na ostrém webu */

body:not(.in-editor) .workspace-card-pagelet .card-editable{outline:none !important;  cursor:default;}
body:not(.in-editor) .workspace-card-pagelet .card-image-wrapper{cursor:default;}

/* Responzivita */

@media (max-width:700px){body:not(.in-editor) .workspace-card-pagelet .card-body{padding:16px;  }
body:not(.in-editor) .workspace-card-pagelet .card-title{font-size:21px;  }
body:not(.in-editor) .workspace-card-pagelet .card-text{font-size:15px;  }
}

/* Obrázek vlevo / vpravo */

@media (max-width:700px){body:not(.in-editor) .workspace-card-pagelet{display:flex !important;    flex-direction:column !important;  }
body:not(.in-editor) .workspace-card-pagelet .card-header,body:not(.in-editor) .workspace-card-pagelet .card-image-wrapper,body:not(.in-editor) .workspace-card-pagelet .card-body,body:not(.in-editor) .workspace-card-pagelet .card-footer{grid-column:auto !important;    grid-row:auto !important;  }
body:not(.in-editor) .workspace-card-pagelet .card-header{order:1 !important;  }
body:not(.in-editor) .workspace-card-pagelet .card-image-wrapper{order:2 !important;  }
body:not(.in-editor) .workspace-card-pagelet .card-body{order:3 !important;  }
body:not(.in-editor) .workspace-card-pagelet .card-footer{order:4 !important;  }
}

.workspace-product-pagelet{border:1px solid color-mix(in srgb, var(--flowebitor-text, #334155) 18%, transparent); padding:25px; }
.product-pagelet-price{font-weight:600; font-size:20px; }
.product-pagelet-availability{font-style:italic; font-size:14px; }
.product-pagelet-description { font-size: 12px; color: var(--flowebitor-text, #334155); }

.workspace-table-pagelet{position:relative;width:100%;margin:15px 0;box-sizing:border-box;}
.workspace-table-pagelet .table-responsive-wrapper{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;box-sizing:border-box;}
.workspace-table-pagelet .table-pagelet-table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:auto;box-sizing:border-box;}
.workspace-table-pagelet .table-pagelet-table td, .workspace-table-pagelet .table-pagelet-table th{padding:8px 10px;vertical-align:middle;min-width:40px;box-sizing:border-box;}
.workspace-table-pagelet .table-pagelet-table th{background:color-mix(in srgb, var(--flowebitor-primary, #2563eb) 8%, var(--flowebitor-background, #ffffff));color:var(--flowebitor-heading, #0f172a);font-weight:600;text-align:left;}
.workspace-table-pagelet .table-pagelet-table td:focus, .workspace-table-pagelet .table-pagelet-table th:focus{outline:1px solid var(--flowebitor-primary, #2563eb);outline-offset:-1px;}
body.in-editor .workspace-table-pagelet{outline:1px dashed #cccccc;outline-offset:2px;}
body.in-editor .workspace-table-pagelet .table-pagelet-table td, body.in-editor .workspace-table-pagelet .table-pagelet-table th{cursor:text;}
body:not(.in-editor) .workspace-table-pagelet .table-toolbar{display:none !important;}
body:not(.in-editor) .workspace-table-pagelet{outline:none;}
.table-edit-modal .modal-dialog{width:500px;max-width:calc(100% - 30px);margin:1.75rem auto;}
.table-edit-modal .modal-content{border:0;border-radius:8px;overflow:hidden;}
.table-edit-modal .modal-header{padding:16px 20px;border-bottom:1px solid #e5e5e5;}
.table-edit-modal .modal-title{margin:0;font-size:20px;font-weight:400;}
.table-edit-modal .modal-body{padding:20px;}
.table-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;}
.table-setting{margin-bottom:12px;}
.table-setting-full{width:100%;}
.table-setting label{display:block;margin-bottom:4px;font-size:14px;font-weight:500;}
.table-edit-modal .form-control, .table-edit-modal .form-select{width:100%;box-sizing:border-box;}
.table-edit-modal .modal-footer{padding:14px 20px;border-top:1px solid #e5e5e5;display:flex;justify-content:flex-end;gap:8px;}
@media (max-width:575px){.table-settings-grid{grid-template-columns:1fr;gap:0;}
}

/* Navigace – barvy podle barevné palety webu */
body:not(.in-editor) .navbar {
    background-color: var(--flowebitor-primary, #2563eb);
    color: #ffffff;
}

body:not(.in-editor) .navbar .navbar-brand,
body:not(.in-editor) .navbar .nav-link {
    color: #ffffff;
}

body:not(.in-editor) .navbar .nav-link:hover,
body:not(.in-editor) .navbar .nav-link:focus,
body:not(.in-editor) .navbar .nav-link.active {
    color: #ffffff;
    background-color: var(--flowebitor-secondary, #0f172a);
    border-radius: 4px;
}

body:not(.in-editor) .navbar .dropdown-menu {
    background-color: var(--flowebitor-background, #ffffff);
    border-color: color-mix(in srgb, var(--flowebitor-text, #334155) 18%, transparent);
}

body:not(.in-editor) .navbar .dropdown-item {
    color: var(--flowebitor-text, #334155);
}

body:not(.in-editor) .navbar .dropdown-item:hover,
body:not(.in-editor) .navbar .dropdown-item:focus,
body:not(.in-editor) .navbar .dropdown-item.active {
    background-color: var(--flowebitor-primary, #2563eb);
    color: #ffffff;
}

body:not(.in-editor) .navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

body:not(.in-editor) .navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.25);
}

/* Patička – sladění s navigací */
body:not(.in-editor) .my-footer {
    background-color: var(--flowebitor-primary, #2563eb);
    color: #ffffff;
    padding: 14px 10px;
    text-align: center;
}

body:not(.in-editor) .my-footer a,
body:not(.in-editor) .my-footer a:visited {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

body:not(.in-editor) .my-footer a:hover,
body:not(.in-editor) .my-footer a:focus {
    color: var(--flowebitor-background, #ffffff);
    text-decoration: underline;
}

/* Základní barvy textu a nadpisů */
body:not(.in-editor) {
    color: var(--flowebitor-text, #334155);
}

body:not(.in-editor) h1,
body:not(.in-editor) h2,
body:not(.in-editor) h3,
body:not(.in-editor) h4,
body:not(.in-editor) h5,
body:not(.in-editor) h6 {
    color: var(--flowebitor-heading, #0f172a);
}

/* Odkazy v běžném obsahu */
body:not(.in-editor) main a,
body:not(.in-editor) article a {
    color: var(--flowebitor-primary, #2563eb);
}


/* ==========================================================
   HERO PAGELET – veřejné zobrazení
   ========================================================== */

body:not(.in-editor) .workspace-hero-pagelet {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 48px 24px;
    margin: 0;
    color: var(--flowebitor-text, #334155);
    background: var(--flowebitor-background, #ffffff);
}

body:not(.in-editor) .workspace-hero-pagelet *,
body:not(.in-editor) .workspace-hero-pagelet *::before,
body:not(.in-editor) .workspace-hero-pagelet *::after {
    box-sizing: border-box;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-inner {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 1400px;
    margin: 0 auto;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-copy {
    flex: 1 1 50%;
    min-width: 0;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-copy h1 {
    color: var(--flowebitor-heading, #0f172a);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
    margin: 0 0 16px;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-description {
    margin: 0 0 22px;
    line-height: 1.65;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-image-wrap {
    flex: 1 1 50%;
    min-width: 0;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: cover;
    border-radius: 10px;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-action,
body:not(.in-editor) .workspace-hero-pagelet .hero-action:visited {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid var(--flowebitor-primary, #2563eb);
    border-radius: 6px;
    background: var(--flowebitor-primary, #2563eb);
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s ease;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-action:hover,
body:not(.in-editor) .workspace-hero-pagelet .hero-action:focus {
    color: #ffffff;
    opacity: 0.88;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-action-secondary,
body:not(.in-editor) .workspace-hero-pagelet .hero-action-secondary:visited {
    background: transparent;
    color: var(--flowebitor-primary, #2563eb);
}

body:not(.in-editor) .workspace-hero-pagelet .hero-action-secondary:hover,
body:not(.in-editor) .workspace-hero-pagelet .hero-action-secondary:focus {
    color: var(--flowebitor-primary, #2563eb);
}

body:not(.in-editor) .workspace-hero-pagelet[data-layout="center"] .hero-inner {
    display: block;
    text-align: center;
    max-width: 800px;
}

body:not(.in-editor) .workspace-hero-pagelet[data-layout="center"] .hero-copy {
    width: 100%;
}

body:not(.in-editor) .workspace-hero-pagelet[data-layout="center"] .hero-actions {
    justify-content: center;
}

body:not(.in-editor) .workspace-hero-pagelet[data-layout="center"] .hero-image-wrap {
    max-width: 650px;
    margin: 28px auto 0;
}

body:not(.in-editor) .workspace-hero-pagelet .hero-toolbar {
    display: none !important;
}

@media (max-width: 700px) {
    body:not(.in-editor) .workspace-hero-pagelet {
        padding: 38px 18px;
    }

    body:not(.in-editor) .workspace-hero-pagelet .hero-inner {
        flex-direction: column;
        gap: 24px;
    }

    body:not(.in-editor) .workspace-hero-pagelet .hero-copy,
    body:not(.in-editor) .workspace-hero-pagelet .hero-image-wrap {
        width: 100%;
        flex-basis: auto;
    }

    body:not(.in-editor) .workspace-hero-pagelet[data-layout="center"] .hero-inner {
        display: block;
    }

    body:not(.in-editor) .workspace-hero-pagelet .hero-actions {
        gap: 8px;
    }

    body:not(.in-editor) .workspace-hero-pagelet .hero-action {
        max-width: 100%;
    }
}

/* PAGELET SERVICES: Služby a výhody */
.workspace-services-pagelet {
    position: relative;
    padding: 56px 24px;
    background: var(--flowebitor-background, #ffffff);
    color: var(--flowebitor-text, #334155);
}

.workspace-services-pagelet .services-toolbar {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-height: 44px !important;
    gap: 4px !important;
    padding: 5px 8px !important;
    background: rgba(245, 245, 245, 0.95) !important;
    border: 1px solid #cccccc !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    z-index: 20 !important;
    box-sizing: border-box !important;
}

.workspace-services-pagelet .services-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.workspace-services-pagelet .services-heading {
    max-width: 800px;
    margin: 0 auto 36px;
    text-align: center;
}

.workspace-services-pagelet .services-title {
    margin: 0 0 14px;
    color: var(--flowebitor-heading, #0f172a);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
}

.workspace-services-pagelet .services-intro {
    margin: 0;
    color: var(--flowebitor-text, #334155);
    font-size: 1.05rem;
    line-height: 1.7;
}

.workspace-services-pagelet .services-grid {
    display: grid;
    grid-template-columns: repeat(var(--services-columns, 3), minmax(0, 1fr));
    gap: 24px;
}

.workspace-services-pagelet .services-item {
    min-width: 0;
    padding: 28px 24px;
    border: 1px solid var(--flowebitor-primary, #2563eb);
    border-color: color-mix(in srgb, var(--flowebitor-primary, #2563eb) 22%, transparent);
    border-radius: 12px;
    background: var(--flowebitor-background, #ffffff);
    text-align: center;
    overflow-wrap: anywhere;
}

.workspace-services-pagelet .services-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--flowebitor-primary, #2563eb);
    font-size: 42px;
    line-height: 1;
}

.workspace-services-pagelet .services-item-title {
    margin: 0 0 12px;
    color: var(--flowebitor-heading, #0f172a);
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
}

.workspace-services-pagelet .services-item-description {
    margin: 0;
    color: var(--flowebitor-text, #334155);
    font-size: 1rem;
    line-height: 1.7;
}

.workspace-services-pagelet .services-item-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--flowebitor-primary, #2563eb);
    font-weight: 600;
    text-decoration: none;
}

.workspace-services-pagelet .services-item-link:hover,
.workspace-services-pagelet .services-item-link:focus {
    color: var(--flowebitor-secondary, #0f172a);
    text-decoration: underline;
}

/* Režim VÝHODY: výraznější nadpis a jemné barevné akcenty */
.workspace-services-pagelet[data-mode="benefits"] .services-heading {
    max-width: 850px;
    margin-bottom: 48px;
}

.workspace-services-pagelet[data-mode="benefits"] .services-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.workspace-services-pagelet[data-mode="benefits"] .services-intro {
    max-width: 720px;
    margin-inline: auto;
}

.workspace-services-pagelet[data-mode="benefits"] .services-grid {
    gap: 18px;
}

.workspace-services-pagelet[data-mode="benefits"] .services-item {
    position: relative;
    padding: 32px 24px;
    border: 1px solid color-mix(in srgb, var(--flowebitor-primary, #2563eb) 35%, transparent);
    border-radius: 4px;
    text-align: left;
    transition: border-color 180ms ease, transform 180ms ease;
}

.workspace-services-pagelet[data-mode="benefits"] .services-item:hover {
    border-color: var(--flowebitor-primary, #2563eb);
    transform: translateY(-3px);
}

.workspace-services-pagelet[data-mode="benefits"] .services-item-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--flowebitor-primary, #2563eb) 12%, var(--flowebitor-background, #ffffff));
    color: var(--flowebitor-primary, #2563eb);
    font-size: 28px;
}

.workspace-services-pagelet[data-mode="benefits"] .services-item-title {
    font-size: 1.25rem;
}

@media (max-width: 900px) {
    .workspace-services-pagelet .services-grid {
        grid-template-columns: repeat(min(2, var(--services-columns, 3)), minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .workspace-services-pagelet {
        padding: 38px 18px;
    }

    .workspace-services-pagelet .services-heading {
        margin-bottom: 26px;
    }

    .workspace-services-pagelet[data-mode="benefits"] .services-heading {
        margin-bottom: 30px;
    }

    .workspace-services-pagelet .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .workspace-services-pagelet .services-item,
    .workspace-services-pagelet[data-mode="benefits"] .services-item {
        padding: 24px 20px;
    }
}

/* PRODUCT PAGELET: barvy tlačítka podle palety */
.product-pagelet-buy.btn {
    background-color: var(--flowebitor-primary, #2563eb) !important;
    border-color: var(--flowebitor-primary, #2563eb) !important;
    color: #ffffff !important;
}

.product-pagelet-buy.btn:hover,
.product-pagelet-buy.btn:focus-visible {
    background-color: var(--flowebitor-secondary, #0f172a) !important;
    border-color: var(--flowebitor-secondary, #0f172a) !important;
    color: #ffffff !important;
}

.product-pagelet-buy.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
