.top .pf {
    margin-left: auto;
    font-size: .88rem;
    font-weight: 600;
    color: var(--tdd);
    text-decoration: none;
    border: 1.5px solid var(--t);
    border-radius: 999px;
    padding: 7px 14px;
    white-space: nowrap
}

.crumb {
    font-size: .82rem;
    color: var(--mu);
    padding: 14px 0 4px
}

.crumb a {
    color: var(--mu);
    text-decoration: none
}

h1 {
    font-size: 1.9rem;
    line-height: 1.15;
    margin: 4px 0 6px;
    letter-spacing: -.3px
}

.pod {
    color: var(--mu);
    margin: 0 0 14px
}

.grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start
}

.karta {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--ln);
    border-radius: 14px;
    margin-bottom: 14px;
    background: #fff
}

.karta.pr {
    border: 2px solid var(--y);
    box-shadow: 0 2px 10px rgba(242, 183, 5, .12)
}

.foto {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg)
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.foto .pocet {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: .74rem;
    border-radius: 6px;
    padding: 2px 7px
}

.obl {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--td);
    text-decoration: none;
    font-size: 1rem
}

.karta h2 {
    font-size: 1.15rem;
    margin: 0 0 2px
}

.karta h2 a {
    color: var(--tx);
    text-decoration: none
}

.adr {
    color: var(--mu);
    font-size: .9rem
}

.akcie {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    border: 0;
    cursor: pointer
}

.btn.p {
    background: var(--t);
    color: var(--y)
}

.btn.s {
    background: #fff;
    color: var(--tdd);
    border: 1.5px solid var(--t)
}

.karta.zakl {
    grid-template-columns: 120px 1fr;
    padding: 12px 14px
}

.karta.zakl .foto {
    aspect-ratio: 1/1
}

.karta.zakl h2 {
    font-size: 1rem
}

.medzi {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--mu);
    margin: 22px 0 10px;
    font-weight: 700
}

aside {
    position: sticky;
    top: 84px
}

.dalsie {
    display: block;
    text-align: center;
    margin: 6px 0 0
}

.malo {
    font-size: .8rem;
    color: var(--mu)
}

[hidden] {
    display: none;
}


@media (max-width:1050px) {
    .grid {
        grid-template-columns: 1fr
    }

    aside {
        display: none
    }
}

@media (max-width:640px) {
    h1 {
        font-size: 1.45rem
    }

    .karta {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .karta.zakl {
        grid-template-columns: 88px 1fr
    }
}

.top .pri {
    margin-left: auto;
    font-size: .88rem;
    font-weight: 600;
    color: var(--tdd);
    text-decoration: none;
    white-space: nowrap
}

.top .pri+.pf {
    margin-left: 12px
}

@media (max-width:640px) {
    .top .pri {
        font-size: .82rem
    }

    .top .pf {
        padding: 6px 10px;
        font-size: .82rem
    }
}

section.subheader {
    padding: 0px;
}

section.subheader ol {
    margin: 0;
    padding-left: 0px;
}

section.subheader .breadcrumb {
    font-size: 13px;
    background: transparent;
}

@media (max-width: 576px) {
    section.subheader .breadcrumb {
        font-size: 8px;
    }

    section.subheader .breadcrumb img {
        max-height: 13px;
    }
}

section.subheader .breadcrumb img {
    max-height: 20px;
}

section.subheader .breadcrumb a {
    color: #333;
}

section.subheader ul.actions {
    list-style: none;
    padding: 0.50rem 1rem;
    text-align: right;
}

section.subheader ul.actions li {
    display: inline-block;
    font-size: 14px;
    margin-left: 20px;
}

section.subheader ul.actions li img {
    max-height: 20px;
}

@media (max-width: 576px) {
    section.subheader ul.actions {
        text-align: center;
    }

    section.subheader ul.actions li {
        font-size: 10px;
        margin-left: 5px;
    }
}

section.subheader ul.actions i {
    padding-right: 5px;
    color: #555;
}

section h1 {
    font-size: 35px;
    font-weight: bold;
    clear: both;
    color: #555;
}

/**
    Prečo my
**/
#step-0 .hero-section {
    background: linear-gradient(0.81turn, #1c6f7d, #70b7c2);
    color: white;
    padding: 20px;
    border-radius: 0.3em;
}
#step-0 .hero-title {
    font-weight: bold;
    color: #FFF;
    font-size: 28px;
}
#step-0 .hero-price {
    font-size: 18px;
}
#step-0 .hero-price-highlight {
    font-size: 32px;
    font-weight: bold;
    color: #ffc107;
}
#step-0 .hero-subtitle {
    font-size: 14px;
    opacity: 0.8;
    color: #FFF;
}

/* Karty výhod */
#step-0 .feature-cards-container {
    background-color: white;
    padding: 30px 20px 20px;
}
#step-0 .feature-card {
    border: 1px solid #e1e8ed;
    border-radius: 0.3em;
    padding: 9px;
    margin-bottom: 20px;
    border-left: 4px solid #1c6f7d;
}
#step-0 .feature-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    color: #1c6f7d;
}
#step-0 .feature-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

/* Žltý highlight box */
#step-0 .highlight-box {
    background-color: #fff9db; /* bledožltá */
    border-left: 5px solid #ffc107; /* žltá */
    padding: 15px;
    border-radius: 0.3em;
    margin-bottom: 20px;
    font-size: 14px;
}
#step-0 .highlight-box strong,
#step-0 .highlight-box b {
    color: #1c6f7d;
}

/* Príklad (Príklad box) */
#step-0 .example-box {
    border-radius: 0.3em;
    padding: 5px;
    font-size: 14px;
    margin-bottom: 30px;
    border: 2px dashed #1c6f7d;
}

#step-0 .example-box strong {
    color: #1c6f7d;
}

/* Hlavné tlačidlo a footer */
#step-0 .cta-button {
    background: linear-gradient(0.81turn, #1c6f7d, #70b7c2);
    font-weight: bold;
    font-size: 18px;
    color: #ffc107;
    border: 1px solid #70b7c2;
    transition: all 0.4s;
}
#step-0 .cta-button:hover {
    border: 1px solid #1c6f7d;
}
#step-0 .footer-note {
    font-size: 12px;
    color: #6c757d;
    margin-top: 15px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.hidden {
    display: none !important;
}

.drop-zone {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.drop-zone.dragover {
    background: #e2e6ea;
    border-color: #0056b3;
}

.img-container img {
    max-width: 100%;
}

.link {
    text-decoration: underline;
    color: #0056b3;
}

#shop-categories h3 {
    font-size: 14pt;
}

#shop-categories ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#shop-categories li {
    border-radius: 10em;
    border: 2px solid #61c2d0;
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
    transition: 0.4s all;
}

#shop-categories li:hover {
    background-color: #61c1d06e;
}

#shop-categories li.active {
    background-color: #61c2d0;
    color: #FFF;
}

.search-container { position: relative; font-family: sans-serif; }
.search-input { width: 100%; padding: 10px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; }
.search-results { 
    position: absolute; top: 100%; left: 0; right: 0; 
    background: #fff; border: 1px solid #ccc; border-top: none; 
    border-radius: 0 0 4px 4px; max-height: 200px; overflow-y: auto; 
    display: none; z-index: 1000; 
}
.search-item { padding: 10px; cursor: pointer; border-bottom: 1px solid #eee; }
.search-item:last-child { border-bottom: none; }
.search-item:hover { background-color: #f0f0f0; }

#profile span {
    display: block;
}
#profile span img {
    border-radius: 10em;
}

#profile .profile-categories {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
}

.profile-preview-viewport {
    max-height: 72vh;
    overflow: auto;
    background: #fff;
    border: 1px solid #d8e0e2;
    border-radius: .35rem;
    transition: max-width .2s ease;
    width: 100%;
    min-height: 500px;
}
.profile-preview-viewport.is-mobile { max-width: 390px; margin: 0 auto; }
.profile-preview-viewport:fullscreen { max-width: none; max-height: none; padding: 1rem; }
.portal-profile-preview { color: #30343b; font: 14px Arial, sans-serif; background: #fff; }
.portal-preview-banner { padding: 10px 16px; color: #fff; background: #328f9a; font-weight: 700; text-align: center; }
.portal-preview-breadcrumb { padding: 12px 16px; color: #66727a; border-bottom: 1px solid #eee; }
.portal-preview-gallery, .portal-preview-about, .portal-preview-columns { padding: 12px 16px; }
.portal-preview-gallery h1 { margin: 0 0 18px; font-size: 30px; font-weight: 700; }
.portal-preview-media { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
.portal-preview-media img, .portal-preview-map iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; object-fit: cover; }
.portal-preview-map { grid-row: span 2; min-height: 240px; }
.portal-preview-empty { display: grid; place-items: center; color: #68767b; background: #eef4f5; border-radius: 8px; }
.portal-preview-about h2 { font-size: 22px; font-weight: 700; }
.portal-preview-about p { color: #68767b; line-height: 1.65; white-space: normal; }
.portal-preview-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.portal-preview-columns h3 { padding-bottom: 7px; border-bottom: 1px solid #ddd; font-size: 20px; }
.portal-preview-columns ul { padding: 0; list-style: none; line-height: 1.7; overflow-wrap: anywhere; }
.payment-hero { margin-bottom: 1rem; padding: 1rem; color: #fff; background: linear-gradient(110deg, #3899a6, #19727d); border-radius: .35rem; }
.payment-hero h2 { margin: 0 0 .35rem; font-size: 1.45rem; font-weight: 700; }
.payment-summary, .payment-billing { margin-bottom: 1rem; padding: 1rem; background: #fff; border: 1px solid #e1e8e9; border-left: 4px solid #328f9a; border-radius: .55rem; box-shadow: 0 2px 8px rgba(30, 65, 70, .08); }
.payment-summary h3 { margin-bottom: .5rem; color: #255c63; font-size: 1.05rem; font-weight: 700; }
.payment-summary ul { margin-bottom: .65rem; padding-left: 1.2rem; }
.payment-summary li { margin: .15rem 0; }
.payment-price-row, .payment-total { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.payment-discount { color: #47856c; }
.payment-total { margin-top: .35rem; padding-top: .6rem; border-top: 1px solid #e2e6e7; color: #28616a; font-size: 1.2rem; }
.payment-annual-note { margin: .6rem 0 .35rem; color: #59676a; font-size: .9rem; }
.payment-thanks { margin: 0; color: #1c6f7d; font-weight: 800; }
.payment-options { display: flex; align-items: stretch; gap: .75rem; margin-bottom: 1rem; }
.payment-option { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; padding: 1rem; text-align: center; background: #fff; border: 1px solid #d7e1e3; border-radius: .55rem; box-shadow: 0 2px 8px rgba(30, 65, 70, .06); }
.payment-option h3 { color: #28616a; font-size: 1.1rem; font-weight: 700; }
.payment-option p { flex: 1; margin-bottom: .55rem; color: #667276; }
.payment-option .payment-methods { flex: 0; font-size: .9rem; }
.payment-option .payment-small-note { font-size: .78rem; }
.payment-option .payment-action { width: 100%; margin-top: auto; color: #fff; font-weight: 700; }
.payment-billing { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.payment-billing strong { color: #28616a; }
.payment-billing span { overflow-wrap: anywhere; }
.payment-billing .btn { padding: 0; text-decoration: underline; }
.payment-secure-note { margin: 1rem 0 .25rem; color: #647276; font-size: .88rem; }
.payment-action-message { min-height: 1.5rem; color: #80642b; }
.payment-error { margin: .75rem 0; }
@media (max-width: 575.98px) {
    .payment-options { gap: .5rem; }
    .payment-option { padding: .7rem .55rem; font-size: .85rem; }
    .payment-option h3 { font-size: 1rem; }
    .payment-option .btn { padding: .45rem .25rem; font-size: .85rem; }
}
@media (max-width: 600px) {
    .portal-preview-gallery h1 { font-size: 23px; }
    .portal-preview-media { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
    .portal-preview-map { grid-column: span 2; grid-row: span 1; min-height: 180px; }
    .portal-preview-columns { grid-template-columns: 1fr 1fr; gap: 10px; }
}
/* Kontaktné údaje majiteľa v kroku Údaje o firme */
#step-2 .registration-contact-note {
    border: 1px solid #c7dfe3;
    border-radius: 0.3rem;
    padding: 10px;
    line-height: 1.45;
}

/* Registration palette and the fixed hours/video controls from the approved brief. */
.registration-window { background: #eef4f5; border: 1px solid #c3d6da; }
.registration-window > .card-body { background: #eef4f5; }
#company-reg-form { background: #eef4f5; }
#step-indicator .nav-link.active,
#company-reg-form .btn-primary { background-color: #2a8fa0; border-color: #2a8fa0; }
#company-reg-form .btn-primary:hover,
#company-reg-form .btn-primary:focus { background-color: #1c6f7d; border-color: #1c6f7d; }
#company-reg-form input:not([type="checkbox"]):not([type="radio"]),
#company-reg-form select,
#company-reg-form textarea { background-color: #fff; }
#step-0 .hero-section { background: linear-gradient(110deg, #2a8fa0, #1c6f7d); }
#step-0 .hero-price-highlight { color: #ffd25a; }
#step-0 .feature-card { border-color: #c3d6da; border-left-color: #2a8fa0; background: #fff; }
#step-0 .feature-title,
#step-0 .feature-card strong,
#step-0 .example-box strong { color: #1c5c66; }
#step-0 .highlight-box { border-left-color: #ffd25a; background: #fff8df; }
#step-0 .cta-button { color: #ffd25a; font-size: 1.15rem; background: #2a8fa0; border-color: #2a8fa0; }
#step-3 { background: #eef4f5; }
#step-3 .shop-substep-number,
#step-3 .shop-substep-progress .progress-bar,
#shop-categories li.active { background-color: #2a8fa0; }
#step-3 .shop-contact-card,
#step-3 .registration-text-frame { background: #fff; border-color: #c3d6da; border-left: 4px solid #2a8fa0; }
#step-3 .registration-text-frame { padding: .85rem; border: 1px solid #c3d6da; border-left: 4px solid #2a8fa0; border-radius: .35rem; }
#step-3 .shop-hours-table { width: 100%; table-layout: fixed; }
#step-3 .shop-hours-table .hours-day { width: 16%; }
#step-3 .shop-hours-table .hours-open { width: 17%; }
#step-3 .shop-hours-table .hours-time { width: 19%; }
#step-3 .shop-hours-table .hours-dash { width: 3%; text-align: center; }
#step-3 .shop-hours-table .hours-break { width: 26%; }
#step-3 .shop-hours-table thead th { white-space: nowrap; color: #1c5c66; }
#step-3 .shop-hours-table .shop-hours-dash { min-width: 0; }
#step-3 .shop-hours-table td, #step-3 .shop-hours-table th { vertical-align: middle; }
#step-3 .shop-hours-table .shop-day-has-break,
#step-3 .shop-hours-table .shop-hours-break { background: #f4fafb; }
#step-3 .shop-hours-table input[type="time"] { width: 100%; min-width: 0; padding: .25rem; }
#step-3 .shop-hours-table label { margin: 0; white-space: nowrap; }
#step-0 .feature-card, .payment-summary, .payment-billing { border-left-color: #2a8fa0; }
.payment-hero { background: linear-gradient(110deg, #2a8fa0, #1c6f7d); }
.payment-option .payment-action { background: #2a8fa0; border-color: #2a8fa0; }
.payment-summary h3, .payment-option h3 { color: #1c5c66; }

.shop-video-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.shop-video-tile { position: relative; display: flex; width: 150px; min-height: 100px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #c3d6da; border-radius: .4rem; background: #e5eff1 center/cover no-repeat; cursor: grab; }
.shop-video-play { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: 50%; color: #fff; background: #2a8fa0; }
.shop-video-source { position: absolute; left: .35rem; bottom: .35rem; padding: .15rem .4rem; border-radius: .2rem; color: #fff; background: #1c6f7d; font-size: .75rem; }
.shop-video-remove { position: absolute; top: .2rem; right: .25rem; border: 0; border-radius: 50%; color: #fff; background: #bd4141; }
.shop-video-move { position: absolute; bottom: .25rem; border: 0; color: #1c5c66; background: rgba(255,255,255,.85); }
.shop-video-move[data-direction="left"] { left: .25rem; }
.shop-video-move[data-direction="right"] { right: .25rem; }
.shop-video-move:disabled { opacity: .35; }
#gallery-preview .gallery-item { touch-action: none; }
.shop-video-tile { touch-action: none; }
#gallery-preview .gallery-new-badge { position: absolute; left: .35rem; bottom: .35rem; padding: .1rem .35rem; border-radius: .2rem; color: #1c5c66; background: #ffd25a; font-size: .7rem; font-weight: 700; }

#step-3 {
    padding: 1rem;
    border-radius: 0.3rem;
    background: #d5eaed;
}

#step-3 .shop-substep-progress .progress {
    height: 5px;
    background-color: #e3edef;
}

#step-3 .shop-substep-progress .progress-bar {
    background-color: #39aaba;
    transition: width 0.25s ease;
}

#step-3 .shop-substep-number {
    display: inline-flex;
    width: 1.8rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: #45b6c5;
    color: #fff;
    font-size: 0.9rem;
}

#step-3 .shop-substep-actions {
    display: flow-root;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #d8e5e7;
}

#step-3 .shop-service-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

#step-3 .shop-service-options label {
    margin: 0;
    padding: 0.35rem 0.65rem;
    border: 1px solid #9fcdd3;
    border-radius: 2rem;
    background: #f3fbfc;
    cursor: pointer;
}

#step-3 .shop-service-group {
    margin-bottom: 1.25rem;
}

#step-3 .shop-contact-card {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #c7dfe3;
    border-radius: 0.3rem;
}

#step-3 .shop-hours-table th {
    min-width: 6rem;
    vertical-align: middle;
}

#step-3 .shop-hours-table td {
    vertical-align: middle;
}

#step-3 .shop-hours-table input[type="time"] {
    min-width: 6.5rem;
}

#step-3 .shop-day-closed {
    opacity: 0.55;
}

#step-3 .shop-map-preview {
    overflow: hidden;
    min-height: 220px;
    border-radius: 0.3rem;
}

#step-3 .shop-map-preview #shop-map-preview {
    width: 100%;
    height: 220px;
    z-index: 0;
}

#step-3 .shop-map-location-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
}

@media (max-width: 575.98px) {
    #step-3 .shop-map-location-controls { align-items: flex-start; flex-direction: column; }
}

#gallery-preview .gallery-item {
    cursor: grab;
}

#gallery-preview .gallery-item-dragging {
    opacity: 0.45;
}

#gallery-preview .gallery-image-wrap {
    overflow: hidden;
    border-radius: 0.3rem;
}

#gallery-preview .gallery-preview-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

#gallery-preview .gallery-order-badge {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    display: inline-flex;
    min-width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(35, 45, 48, 0.8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
}

#gallery-preview .gallery-item-controls {
    display: flex;
    min-height: 1.8rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.15rem;
    border: 1px dashed #9fcdd3;
    border-radius: 0.25rem;
    background: #f3fbfc;
}

#gallery-preview .gallery-item-controls .btn {
    padding: 0 0.45rem;
}

#gallery-preview .gallery-drag-hint {
    color: #60777b;
    font-size: 0.7rem;
}

@media (max-width: 575.98px) {
    #step-3 .shop-hours-table th {
        min-width: 4.75rem;
    }

    #step-3 .shop-hours-table input[type="time"] {
        min-width: 0;
    }
    #step-3 .shop-hours-table th, #step-3 .shop-hours-table td { padding: .2rem; font-size: .75rem; }
    #step-3 .shop-hours-table .hours-day { width: 17%; }
    #step-3 .shop-hours-table .hours-open { width: 21%; }
    #step-3 .shop-hours-table .hours-time { width: 18%; }
    #step-3 .shop-hours-table .hours-dash { width: 3%; }
    #step-3 .shop-hours-table .hours-break { width: 23%; }
    #step-3 .shop-hours-table .shop-add-break { padding: 0; font-size: .7rem; }
    #step-3 .shop-hours-table { min-width: 620px; }
}
