/* /d:/Workspace/Healing Hands/style.css */
body {
    margin: 0;
    /* page background image outside the centered white area */
    background: url('healinghands_background.webp') no-repeat center center fixed;
    background-size: cover;
}

/* Real content wrapper - semantic main element */
.page {
    background: transparent;
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-left: 150px;
    padding-right: 150px;
    min-height: 100vh;
    padding-bottom: 50px;
    box-sizing: border-box;
}

/* Titles should use brand color */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: rgb(87, 91, 74);
}

/* =============================================
   NAVIGATION — desktop
   ============================================= */
.nav-row {
    position: sticky;
    top: 0;
    margin-left: -150px;
    margin-right: -150px;
    width: calc(100% + 300px);
    max-width: 100vw;
    display: flex;
    gap: 0;
    align-items: stretch;
    z-index: 10;
    padding: 0;
    justify-content: center;
    background-color: rgba(87, 91, 74, 0.98);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    min-height: 44px;
    background-color: rgba(87, 91, 74, 0.95);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px 8px 0px 0px;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
    align-self: stretch;
}

.nav-button:hover,
.nav-button:focus {
    background: #ffffff;
    color: rgb(87, 91, 74);
    outline: none;
}

.nav-button.active {
    background: #ffffff;
    color: rgb(87, 91, 74);
}

/* Dropdown styling */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    align-self: stretch;
}

.dropdown-button {
    background-color: rgba(87, 91, 74, 0.5);
    color: #ffffff;
    padding: 0 8px;
    font-size: 0.9em;
    cursor: pointer;
    border: none;
    border-radius: 8px 8px 0px 0px;
    font-weight: 600;
    width: 90px;
    min-height: 44px;
    height: 100%;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 180ms ease, color 180ms ease;
}

.dropdown-button:hover,
.dropdown-button:focus {
    background: #ffffff;
    color: rgb(87, 91, 74);
}

.dropdown-button.active {
    background: #ffffff;
    color: rgb(87, 91, 74);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgb(87, 91, 74);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 8px 0;
    z-index: 11;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0px 0px 8px 8px;
    margin-top: 0;
}

.dropdown-menu a {
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 180ms ease;
}

.dropdown-menu a:hover {
    background-color: #ffffff;
    color: rgb(87, 91, 74);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* =============================================
   NAVIGATION — mobile hamburger
   ============================================= */
/* Mobile nav bar: hidden on desktop */
.nav-mobile {
    display: none;
}

@media (max-width: 480px) {
    /* Hide desktop nav */
    .nav-row {
        display: none !important;
    }

    /* Show mobile nav */
    .nav-mobile {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 100;
        width: 100vw;
        flex-direction: column;
        background-color: rgba(87, 91, 74, 0.98);
    }

    /* Top bar: current page label + hamburger button */
    .nav-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        padding: 0 16px;
    }

    .nav-mobile-label {
        color: #ffffff;
        font-weight: 600;
        font-size: 0;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        padding: 0;
    }

    .nav-mobile-home {
        width: 36px;
        height: 36px;
        flex: 0 0 auto;
    }

    .nav-mobile-home-icon {
        width: 22px;
        height: 22px;
        display: block;
        color: inherit;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linejoin: round;
        stroke-linecap: round;
        fill: none;
    }

    .nav-mobile-toggle {
        background: none;
        border: none;
        color: #ffffff;
        font-size: 22px;
        cursor: pointer;
        line-height: 1;
        padding: 6px 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
    }

    /* Dropdown panel — hidden by default */
    .nav-mobile-panel {
        display: none;
        flex-direction: column;
        background-color: rgba(87, 91, 74, 0.98);
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .nav-mobile-panel.open {
        display: flex;
    }

    /* Each row in the dropdown */
    .nav-mobile-item {
        display: flex;
        align-items: stretch;
    }

    /* Main link inside a row */
    .nav-mobile-link {
        flex: 1;
        color: #ffffff;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        padding: 13px 16px;
        display: block;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .nav-mobile-link:hover,
    .nav-mobile-link.active {
        background-color: #ffffff;
        color: rgb(87, 91, 74);
    }

    /* Arrow toggle button for Storitve sub-menu */
    .nav-mobile-arrow {
        background: none;
        border: none;
        border-left: 1px solid rgba(255,255,255,0.2);
        color: #ffffff;
        font-size: 13px;
        cursor: pointer;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .nav-mobile-arrow:hover {
        background-color: rgba(255,255,255,0.15);
    }

    /* Sub-menu for Storitve */
    .nav-mobile-submenu {
        display: none;
        flex-direction: column;
        background-color: rgba(65, 68, 55, 0.98);
    }

    .nav-mobile-submenu.open {
        display: flex;
    }

    .nav-mobile-submenu a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 400;
        font-size: 13px;
        padding: 11px 16px 11px 28px;
        display: block;
        border-top: 1px solid rgba(255,255,255,0.08);
        transition: background-color 180ms ease, color 180ms ease;
    }

    .nav-mobile-submenu a:hover {
        background-color: #ffffff;
        color: rgb(87, 91, 74);
    }
}

/* =============================================
   HEADINGS
   ============================================= */
h1 {
    margin-top: 75px;
    color: rgb(87, 91, 74);
}

/* =============================================
   HERO TILE
   ============================================= */
.hero-tile {
    width: 90%;
    aspect-ratio: 16 / 9;
    border: 3px solid rgb(87, 91, 74);
    margin: 75px auto 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255, 0.95);
}

.hero-tile h1 {
    margin: 0;
    text-align: center;
}

.hero-tile h2 {
    margin: 0;
    text-align: center;
}
.hero-tile p {
    margin: 15px 0 0;
    text-align: center;
}

.hero-back-button {
    display: block;
    margin: 32px auto 0;
    padding: 12px 24px;
    background-color: rgb(87, 91, 74);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
}

.hero-back-button:hover,
.hero-back-button:focus {
    background-color: rgb(70, 75, 63);
    outline: none;
}

/* =============================================
   CAROUSEL — shared (desktop + mobile base)
   ============================================= */
.carousel-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 60px;
}

.carousel-slides {
    position: relative;
    width: 90%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Slide content fills the box */
.carousel-slide > * {
    width: 100%;
    height: 100%;
}

.carousel-slide .hero-tile {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Override generic carousel-slide rules for named layout classes */
.carousel-slide a.carousel-slide-link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Prevent generic img override for named containers */
.carousel-slide .carousel-img-full-container img,
.carousel-slide .carousel-img-side-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ---- Title bar: full-width, top of slide ---- */
.carousel-slide-title {
    width: 100%;
    background-color: rgb(87, 91, 74);
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.carousel-slide-title h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

/* ---- Body row: image left + textbox right ---- */
.carousel-slide-body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 1 1 auto;
    overflow: hidden;
    width: 100%;
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(87, 91, 74, 0.7);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 200ms ease;
    z-index: 5;
}

.carousel-arrow:hover {
    background-color: rgb(87, 91, 74);
}

.carousel-arrow-left  { left:  10px; }
.carousel-arrow-right { right: 10px; }

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background-color: rgb(87, 91, 74);
    opacity: 0.5;
    transition: width 200ms ease, height 200ms ease, opacity 200ms ease;
    cursor: pointer;
    flex-shrink: 0;
}

.carousel-indicator.active {
    width: 20px;
    height: 20px;
    opacity: 1;
}

.carousel-link {
    color: rgb(87, 91, 74);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgb(87, 91, 74);
    transition: color 200ms ease, border-color 200ms ease;
}

.carousel-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* =============================================
   CAROUSEL — new / renamed classes
   ============================================= */

.carousel-img-full-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.carousel-img-full-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.carousel-img-side-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.carousel-img-side-container img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* carousel-slide-link: column layout — title on top, body below */
.carousel-slide-link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

/* carousel-textbox: text area to the right of the side image */
.carousel-textbox {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.25rem 2rem 1.25rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
}

.carousel-textbox p {
    margin: 0;
    text-align: left;
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
}

.carousel-textbox p + p {
    margin-top: 0.75rem;
}

@media (min-width: 481px) and (max-width: 900px) {
    .carousel-slides {
        aspect-ratio: auto;
        height: var(--carousel-tablet-height, clamp(1040px, calc(108vw + 400px), 1120px));
    }

    .carousel-arrow {
        top: 15%;
    }

    .carousel-slide-body {
        flex-direction: column;
        align-items: stretch;
    }

    .carousel-img-side-container {
        width: 100%;
        height: 20%;
        align-items: center;
        justify-content: center;
        padding: 6px 16px;
    }

    .carousel-textbox {
        min-height: 0;
        padding: 6px 14px;
        overflow: visible;
    }

    .carousel-textbox p,
    .carousel-textbox ul,
    .carousel-textbox li {
        font-size: 1rem;
        line-height: 1.5;
    }

    .carousel-textbox p + p {
        margin-top: 0.75rem;
    }
}

/* Remove extra gap above lists inside carousel text area and align text close to bullets */
.carousel-textbox ul {
    margin: 0;
    padding-left: 0.9rem;
    list-style-position: outside;
}

.carousel-textbox ul li {
    margin: 0 0 0.25rem;
    text-align: left;
}

/* =============================================
   CAROUSEL — mobile overrides
   ============================================= */
@media (max-width: 480px) {
    .carousel-arrow { display: none; }

    .carousel-container {
        touch-action: pan-y;
        cursor: grab;
        margin-bottom: 50px;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .carousel-container.dragging { cursor: grabbing; }

    /* Remove aspect-ratio on mobile so height can grow */
    .carousel-slides {
        width: 100vw;
        margin: 0;
        aspect-ratio: unset;
        height: var(--carousel-mobile-height, auto);
        overflow: hidden;
        touch-action: pan-y;
    }

    /* Each slide: static positioning stacked column */
    .carousel-slide {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    /* The link fills the slide and stacks vertically */
    .carousel-slide-link {
        flex-direction: column;
        height: 100%;
        gap: 8px;
    }

    /* Title bar on mobile */
    .carousel-slide-title {
        padding: 10px 14px;
        flex-shrink: 0;
    }

    .carousel-slide-title h1 {
        font-size: 1.15rem;
    }

    /* Body row becomes column on mobile */
    .carousel-slide-body {
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    /* Image fills width, fixed height */
    .carousel-img-side-container {
        width: 100%;
        height: 145px;
        padding: 0;
        flex-shrink: 0;
    }

    /* Center images inside the fixed-height container on mobile */
    .carousel-img-side-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 145px;
        padding: 0;
        flex-shrink: 0;
    }

    .carousel-img-side-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    /* Textbox below image */
    .carousel-textbox {
        padding: 12px 14px;
        overflow: hidden;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        justify-content: flex-start;
    }

    .carousel-textbox p {
        font-size: 0.92rem;
        margin: 0;
        line-height: 1.6;
    }

    .carousel-textbox p:first-child {
        min-height: 0;
    }

    .carousel-textbox p:last-child {
        margin-top: auto;
        align-self: flex-end;
        text-align: right;
        flex-shrink: 0;
    }

    .carousel-extended-copy {
        display: none;
    }

    /* Indicators */
    .carousel-indicators {
        bottom: -30px;
    }

    /* hero-tile inside carousel on mobile */
    .carousel-slide .hero-tile {
        aspect-ratio: unset;
        height: 100%;
    }
}

/* =============================================
   SERVICE TILES
   ============================================= */
.service-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.service-tile {
    width: 325px;
    height: 180px;
    border: 3px solid rgb(87, 91, 74);
    position: relative;
    display: block;
    text-decoration: none;
    transition: border 0.3s ease;
    box-sizing: border-box;
}

.service-tile:hover {
    border: 6px solid rgb(87, 91, 74);
}

.service-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1em;
    -webkit-text-stroke: 0.75px black;
    paint-order: stroke fill;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    min-height: 220px;
    background-color: rgba(87, 91, 74, 0.99);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-top: 20px;
    padding-bottom: 10px;
    z-index: 20;
}
.site-header a { display: block; }
.site-header img { max-height: 240px; width: auto; }

/* =============================================
   TILE CENTERING
   ============================================= */
.tile {
    text-align: center;
}

@media (max-width: 480px) {
    .tile { width: 100%; }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    height: auto;
    background-color: rgb(87, 91, 74, 0.75);
    z-index: 10;
    padding: 20px 0;
}
.site-footer .footer-col {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.3em;
    margin: 0;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
}
.footer-partners {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-partners img {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
}

.site-footer .footer-right a { display: block; margin-top: 8px; }
.site-footer .footer-right img {
    display: block;
    margin: 8px auto 0;
    max-height: 140px;
    width: auto;
    cursor: pointer;
    border: 0;
}

.site-footer .socials,
.contact-info .socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 12.5px;
}
.site-footer .social,
.contact-info .social {
    text-align: center;
}
.site-footer .social .social-label,
.contact-info .social .social-label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 6px;
}
.site-footer .social img,
.contact-info .social img { max-height: 34px; display: block; margin: 0 auto; }

.contact-info {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 32px;
}
.contact-column {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
}
.contact-left,
.contact-right {
    max-width: none;
}
.info-block {
    background-color: rgb(255, 255, 255, 0.95);
    border: 3px solid rgb(87, 91, 74);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    margin-bottom: 24px;
}
.info-block h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: rgb(87, 91, 74);
    font-size: 1.45em;
}
.contact-info .contact-details,
.contact-info .footer-details,
.contact-info .address-text {
    font-weight: 400;
    margin-top: 8px;
    font-size: 1em;
    line-height: 1.6;
}
.contact-info .address-text {
    margin-bottom: 16px;
}
.contact-info img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
}
.info-block {
    width: 100%;
}
.instagram-link,
.facebook-link,
.tiktok-link {
    display: inline-block;
    position: relative;
}
.instagram-link .instagram-icon,
.facebook-link .facebook-icon,
.tiktok-link .tiktok-icon {
    display: block;
    max-height: 84px;
    width: auto;
    transition: transform 180ms ease, opacity 180ms ease;
}
.instagram-link .instagram-icon.hover,
.facebook-link .facebook-icon.hover,
.tiktok-link .tiktok-icon.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
}
.instagram-link .instagram-icon.default,
.facebook-link .facebook-icon.default,
.tiktok-link .tiktok-icon.default {
    opacity: 0;
}
.instagram-link:hover .instagram-icon.default,
.facebook-link:hover .facebook-icon.default,
.tiktok-link:hover .tiktok-icon.default {
    opacity: 1;
    transform: scale(1.15);
}
.instagram-link:hover .instagram-icon.hover,
.facebook-link:hover .facebook-icon.hover,
.tiktok-link:hover .tiktok-icon.hover {
    opacity: 0;
}

.instagram-link:hover .instagram-icon.hover,
.facebook-link:hover .facebook-icon.hover,
.tiktok-link:hover .tiktok-icon.hover {
    transform: none;
}

.instagram-link .instagram-icon.hover,
.facebook-link .facebook-icon.hover,
.tiktok-link .tiktok-icon.hover {
    transform: scale(1);
}

.instagram-link .instagram-icon.default,
.facebook-link .facebook-icon.default,
.tiktok-link .tiktok-icon.default {
    transform: scale(1);
}

@media (max-width: 900px) {
    .contact-info { gap: 18px; }
}

/* Footer copyright bar */
.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    color: #ffffff;
    font-size: 0.9em;
    font-weight: 400;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.25);
}

.footer-copyright .footer-row {
    display: inline;
}

.footer-copyright .footer-row + .footer-row::before {
    content: ' ';
}

.footer-copyright a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-copyright a:hover {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .footer-copyright .footer-row {
        display: block;
    }

    .footer-copyright .footer-row + .footer-row::before {
        content: none;
    }
}

.site-footer .footer-details {
    font-weight: 400;
    margin-top: 6px;
    font-size: 0.9em;
}

.site-footer .contact-details {
    font-weight: 400;
    margin-top: 6px;
    font-size: 0.9em;
}

.site-footer .address-text {
    font-weight: 400;
    margin-top: 6px;
    font-size: 0.9em;
}

@media (max-width: 900px) {
    .site-footer .social img { max-height: 63px; }
}

@media (min-width: 481px) and (max-width: 900px) {
    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-footer .footer-col {
        min-width: 0;
        padding: 0 12px;
        font-size: 1.1em;
        overflow-wrap: anywhere;
    }
    .site-footer .footer-right img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* =============================================
   RESPONSIVE — 900px tablet
   ============================================= */
@media (max-width: 900px) {
    .page {
        padding-left: 32px;
        padding-right: 32px;
    }
    .nav-row {
        margin-left: -32px;
        margin-right: -32px;
        width: calc(100% + 64px);
    }
}

/* =============================================
   RESPONSIVE — 480px mobile
   ============================================= */
@media (max-width: 480px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 20;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
        min-height: auto;
    }

    .site-header img {
        max-height: 120px;
        width: auto;
    }

    .page {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        margin: 0;
    }

    .page:has(.carousel-container) {
        min-height: 57vh;
    }

    body { background-color: white; }

    /* Footer */
    .site-footer { display: flex; flex-direction: column; align-items: center; padding: 24px 12px 48px; }
    .site-footer .footer-col { width: 100%; max-width: 380px; text-align: center; margin: 12px auto 0; font-size: 1em; }
    .site-footer .footer-col:not(:last-child) { margin-right: 0; }
    .site-footer .socials { margin-top: 12px; gap: 20px; }
    .site-footer .footer-right img { max-height: 100px; }
    .instagram-link .instagram-icon { max-height: 56px; }
    .facebook-link .facebook-icon { max-height: 56px; }
    .tiktok-link .tiktok-icon { max-height: 25px; }
    .footer-copyright { width: 100%; max-width: 380px; margin: 12px auto 0; }

    .site-footer .socials,
    .contact-info .socials { gap: 20px; }
    .site-footer .social img,
    .contact-info .social img { max-height: 56px; }

    .contact-info { flex-direction: column; align-items: center; }
    .contact-column { max-width: 100%; width: 100%; }
    .info-block { max-width: 100%; }

    /* Hero tile full-width on mobile */
    .hero-tile,
    .hero-tile-brazgotine,
    .hero-tile-omeni {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-top: 75px;
        margin-bottom: 0;
        border-radius: 0;
        padding: 0 0 16px;
        box-sizing: border-box;
    }

    .hero-tile.hero-tile-text {
        padding: 16px 12px;
    }

    .hero-tile.hero-tile-text > h1,
    .hero-tile-brazgotine > h1,
    .hero-tile-omeni > h1 {
        text-align: left;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
        margin-bottom: 16px;
    }

    .hero-tile.hero-tile-text > p:not(.page-body-text),
    .hero-tile.hero-tile-text > ul {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .brazgotine-intro,
    .accordion-body,
    .page-body-text,
    .contact-info {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-tile-omeni h1 {
        padding: 16px 16px 0;
        margin: 0 0 12px;
    }

    .page-h1-left {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .page-body-text {
        padding: 0 16px;
    }

    .gift-voucher-tile .page-body-text {
        padding-left: 12px;
        padding-right: 12px;
        overflow-wrap: anywhere;
    }

    .hero-tile.hero-tile-text.gift-voucher-tile {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-tile.hero-tile-text.gift-voucher-tile > h1 {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gift-voucher-tile .gift-voucher-info {
        text-align: center !important;
    }

    .gift-voucher-tile .gift-voucher-contact {
        text-align: center !important;
    }

    .brazgotine-intro,
    .accordion-body {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .omeni-img-box {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        margin: 0 16px 20px;
        float: none;
        box-sizing: border-box;
    }

    .brazgotine-intro p,
    .brazgotine-intro li,
    .accordion-body p,
    .accordion-body li {
        padding-left: 0;
        padding-right: 0;
    }
}

/* =============================================
   PAGE TEXT STYLING
   ============================================= */
.page-body-text {
    font-size: 1.2em;
    text-align: left !important;
    line-height: 1.7;
    color: #222222;
    align-self: stretch;
}

/* =============================================
   OBRAVNAVA BRAZGOTIN – hero tile & accordion
   ============================================= */

.hero-tile-brazgotine {
    width: 90%;
    border: 3px solid rgb(87, 91, 74);
    margin: 75px auto 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 40px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 480px) {
    .hero-tile-brazgotine {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-top: 0;
        margin-bottom: 0;
        border-left: none;
        border-right: none;
        border-radius: 0;
        padding: 12px;
    }
}

/* Clearfix for brazgotine-intro without flex reordering side-effects */
.brazgotine-clearfix::after {
    content: '';
    display: block;
    clear: both;
}

/* LimfniSistem image: float on desktop, block below heading on mobile */
.limfni-sistem-mobile {
    display: none;
}

.limfni-sistem-mobile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 600px) {
    .img-float-right.limfni-sistem-desktop {
        display: none !important;
    }
    .limfni-sistem-mobile {
        display: block !important;
        width: 100%;
        max-width: 100%;
        border: 3px solid rgb(87, 91, 74);
        box-sizing: border-box;
        overflow: hidden;
        margin: 0 0 16px 0;
    }
}

.hero-tile-brazgotine h1 {
    text-align: left;
    margin: 0 0 28px;
}

.brazgotine-intro p {
    margin: 0 0 14px;
    font-size: 1.2em;
    line-height: 1.7;
    text-align: left;
    color: #222222;
}

.brazgotine-intro ul {
    text-align: left;
    margin: 0 0 14px;
    padding-left: 24px;
    color: #222222;
}

.brazgotine-intro li {
    text-align: left;
    font-size: 1.2em;
    line-height: 1.6;
    color: #222222;
}

.brazgotine-intro p:last-child {
    margin-bottom: 0;
}

.inline-strong {
    font-weight: 700;
    color: inherit;
}

.brazgotine-intro p strong {
    display: block;
    text-align: center;
    margin: 16px 0 8px;
}

.brazgotine-intro p strong.pilates-section-heading {
    text-align: left;
}

.brazgotine-intro p strong.pilates-inline-emphasis {
    display: inline;
    text-align: left;
    margin: 0;
}

.accordion-body p strong,
.accordion-body li strong {
    display: block;
    text-align: center;
    margin: 0 0 8px;
}

.pilates-schedule-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 24px;
    padding: 24px 28px;
    max-width: 300px;
    min-height: 180px;
    border: 4px solid rgb(87, 91, 74);
    box-sizing: border-box;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.99);
    /*background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('Leaf2.png');*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.pilates-schedule-box p {
    margin: 0;
    font-size: 1.2em;
    line-height: 1.35;
    color: #222222;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.pilates-schedule-box strong {
    display: block;
    margin-bottom: 2px;
}

.pilates-schedule-note {
    display: block;
    margin-top: 10px;
    font-size: 0.75em;
    line-height: 1.3;
}

.accordion {
    margin-top: 36px;
}

.accordion-item {
    border: 2px solid rgb(87, 91, 74);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background-color: rgb(87, 91, 74);
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 600;
    text-align: left;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 180ms ease;
    box-sizing: border-box;
}

.accordion-header::after {
    content: '▼';
    font-size: 0.8em;
    transition: transform 300ms ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.accordion-header[aria-expanded="true"] {
    background-color: rgb(65, 68, 55);
}

.accordion-header[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background-color: rgba(255, 255, 255, 0.97);
    color: #000000;
    text-align: left;
}

.accordion-body--text,
.accordion-body--pilates {
    overflow: visible;
}

.accordion-body--text .cenik-pricing-sheet--desktop,
.accordion-body--pilates .cenik-pricing-sheet--desktop {
    display: block;
}

.accordion-body--text .cenik-image-box--mobile,
.accordion-body--pilates .cenik-image-box--mobile {
    display: none;
}

@media (max-width: 600px) {
    .accordion-body--text .cenik-pricing-sheet--desktop,
    .accordion-body--pilates .cenik-pricing-sheet--desktop {
        display: block;
    }

    .accordion-body--text .cenik-image-box--mobile,
    .accordion-body--pilates .cenik-image-box--mobile {
        display: none;
    }

    .accordion-body--text .cenik-image-box--mobile img,
    .accordion-body--pilates .cenik-image-box--mobile img {
        width: 100%;
        height: auto;
        display: block;
    }
}

.accordion-body.open {
    max-height: 9999px;
    padding: 20px 24px;
}

.accordion-body.animating {
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-body ul {
    margin: 0 0 16px;
    padding-left: 24px;
    color: #000000;
}

.accordion-body li {
    margin-bottom: 6px;
    font-size: 1.2em;
    line-height: 1.6;
    color: #000000;
    text-align: left;
}

.accordion-body p {
    margin: 0 0 12px;
    font-size: 1.2em;
    line-height: 1.6;
    color: #000000;
    text-align: left;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* =============================================
   PILATES – float image inside brazgotine tile
   ============================================= */

.hero-tile-brazgotine.has-float-img {
    display: block;
}

.hero-tile-brazgotine.has-float-img::after {
    content: '';
    display: block;
    clear: both;
}

.body-img-box1 {
    float: right;
    width: 340px;
    max-width: 40%;
    margin: 0 0 24px 32px;
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
}

.body-img-box1.body-img-box1-mobile {
    display: none;
}

.body-img-box1 img,
.body-img-box2 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.body-img-box2 {
    float: right;
    width: 340px;
    max-width: 40%;
    margin: 0 0 24px 32px;
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
}

.accordion-fascija-image {
    display: block;
    width: 50%;
    max-width: 420px;
    min-width: 200px;
    margin: 1rem auto 0;
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    height: auto;
    background: #fff;
}

@media (max-width: 480px) {
    .accordion-fascija-image {
        width: 100%;
        max-width: 100%;
    }
}

/* =============================================
   OMENI – hero tile with side image
   ============================================= */

.hero-tile-omeni {
    width: 90%;
    border: 3px solid rgb(87, 91, 74);
    margin: 75px auto 0;
    display: block;
    padding: 40px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.95);
}

.hero-tile-omeni::after {
    content: '';
    display: block;
    clear: both;
}

.hero-tile-omeni h1 {
    margin: 0 0 20px;
    text-align: left;
}

.omeni-text {
    display: block;
}

.omeni-img-box {
    float: right;
    width: 340px;
    max-width: 40%;
    margin: 0 0 24px 32px;
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
}

.omeni-img-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 900px) {
    .omeni-img-box {
        width: 100%;
        max-width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
}

@media (max-width: 480px) {
    .hero-tile-omeni {
        padding: 0 0 16px;
        border-left: none;
        border-right: none;
    }

    .hero-tile-omeni h1 {
        padding: 16px 16px 0;
        margin: 0 0 12px;
    }

    .page-body-text {
        padding: 0 16px;
        margin: 0;
    }

    .omeni-img-box {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        float: none;
        margin: 0 16px 20px;
    }
}

/* =============================================
   HERO TILE TEXT VARIANT
   ============================================= */

.hero-tile.hero-tile-text {
    aspect-ratio: unset;
    align-items: stretch;
    text-align: left;
}

.hero-tile.hero-tile-text h1 {
    text-align: center;
    margin-bottom: 20px;
}

.gift-voucher-tile > h1 {
    text-align: left !important;
    margin-left: 0;
}

@media (max-width: 480px) {
    .hero-tile.hero-tile-text > h1 {
        text-align: left;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
        margin-bottom: 16px;
    }
}

.hero-tile.hero-tile-text p,
.hero-tile.hero-tile-text ul {
    text-align: left;
    margin-top: 0;
    line-height: 1.7;
    font-size: 1.2em;
}

.hero-tile.hero-tile-text li {
    text-align: left;
    line-height: 1.7;
}

.hero-tile.hero-tile-text p + p {
    margin-top: 12px;
}

.hero-tile.hero-tile-text ul {
    margin: 8px 0 8px 0;
    padding-left: 24px;
}

/* =============================================
   CERT IMAGE BOX
   ============================================= */

.cert-img-box {
    margin: 16px auto 20px;
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
    max-width: 420px;
    display: block;
}

.cert-img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.cert-img-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin: 16px auto 20px;
    justify-content: center;
    align-items: flex-start; /* size cert boxes to their images, don't stretch */
}

.cert-img-row .cert-img-box {
    margin: 0;
    flex: 0 0 auto;
    max-width: 420px;
}

@media (max-width: 600px) {
    .cert-img-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .cert-img-row .cert-img-box {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    .cert-img-row-mobile {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cert-img-row-mobile .cert-img-box {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .cert-img-row-mobile .cert-img-box img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .hero-tile.hero-tile-text > .cert-img-box {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px) !important;
        margin: 16px 16px 20px;
    }
}

/* =============================================
   KONTAKT PAGE
   ============================================= */

.review-box {
    background-color: rgba(255, 255, 255, 0.95);
    border: 3px solid rgb(87, 91, 74);
    border-radius: 16px;
    padding: 20px 18px;
    box-sizing: border-box;
    margin-top: 16px;
    text-align: center;
}

.review-box h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: rgb(87, 91, 74);
    font-size: 1.3em;
}

.review-box a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.review-box img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 12px;
}

.review-box .review-caption {
    font-weight: 600;
    color: rgb(87, 91, 74);
    text-decoration: underline;
}

.contact-col-left {
    flex: 0 0 auto;
    min-width: 280px;
}

.contact-col-right {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-block-vhod {
    background-color: rgba(255, 255, 255, 0.95);
    border: 3px solid rgb(87, 91, 74);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    height: auto;
    margin: 0;
}

.info-block-vhod h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: rgb(87, 91, 74);
    font-size: 1.45em;
}

.info-block-vhod img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 12px;
}

.info-block-vhod img:last-child {
    margin-bottom: 0;
}

.lokacija-map-img {
    width: 60% !important;
    max-width: 60% !important;
    height: auto !important;
    display: block;
    margin: 8px auto 0;
    border-radius: 12px;
    cursor: pointer;
}

 .review-box-mobile {
    display: none;
}

@media (max-width: 700px) {
    .contact-col-left,
    .contact-col-right {
        width: 100%;
        min-width: 0;
    }

    .review-box-desktop {
        display: none;
    }

    .review-box-mobile {
        display: block;
        margin-top: 16px;
    }

    .lokacija-map-img {
        width: 80% !important;
        max-width: 80% !important;
    }
}

/* =============================================
   FLOAT IMAGE BOXES
   ============================================= */

.img-float-right {
    float: right;
    margin: 0 0 16px 24px;
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
    max-width: 38%;
    flex-shrink: 0;
}

.img-float-right img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.float-clearfix::after {
    content: '';
    display: block;
    clear: both;
}

.img-stack-right {
    float: right;
    margin: 0 0 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 38%;
}

.img-stack-right .img-box {
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
}

.img-stack-right .img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.img-row-below {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 24px;
    clear: both;
    align-items: flex-start; /* don't stretch boxes to equal height */
}

.img-row-below .img-box {
    flex: 0 0 auto; /* size to image content */
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
}

.img-row-below .img-box {
    flex: 1 1 48%; /* allow two boxes side-by-side */
    max-width: 48%;
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
}
.img-row-below .img-box img {
    width: 100%;
    height: auto;
    max-height: 320px; /* keep images from overflowing the hero tile */
    display: block;
    object-fit: contain;
}

/* Special taller variant for IndVaje3: allow greater height on desktop
   while keeping the image fully visible (no cropping). On mobile
   revert to the standard full-width behavior. */
.img-row-below .img-box--tall {
    /* keep box in the row but allow it to grow taller than sibling */
    align-self: flex-start;
}

.img-row-below .img-box--desktop-right {
    margin-left: auto;
}

.img-row-below .img-box--tall img.img-tall {
    width: 100%; /* fill the box horizontally to remove side gaps */
    height: auto;
    max-height: 520px; /* taller than default so bottom can extend lower */
    display: block;
    object-fit: contain;
    object-position: center top;
    transform: scale(1.1);
    transform-origin: center top;
}

@media (max-width: 600px) {
    /* Mobile: keep current visual — image fills its box like others */
    .img-row-below .img-box--tall img.img-tall {
        width: 100%;
        height: auto;
        max-height: none;
        transform: none;
    }

    .body-img-box1 {
        display: none;
    }

    .body-img-box1.body-img-box1-mobile {
        display: block;
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    .body-img-box2 {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    .brazgotine-intro > p + .body-img-box1.body-img-box1-mobile,
    .brazgotine-intro > p + .body-img-box2,
    .brazgotine-intro > p + .pilates-schedule-box {
        margin-top: 12px;
    }

    .pilates-schedule-box {
        margin: 16px auto 20px;
        padding: 20px 16px;
        width: 60%;
        max-width: 60%;
        min-height: 150px;
    }
}

.hero-tile.hero-tile-text h1.h1-left,
.hero-tile-brazgotine h1.h1-left {
    text-align: left;
    margin-bottom: 20px;
}

.page-h1-left {
    text-align: left !important;
}

@media (max-width: 600px) {
    .img-float-right,
    .img-stack-right {
        float: none;
        max-width: 100%;
        width: 100%;
        margin: 0 0 16px 0;
    }

    .float-clearfix {
        display: flex;
        flex-direction: column;
    }

    .float-clearfix .img-float-right {
        order: 2;
    }

    .img-row-below {
        flex-direction: column;
    }
}

/* Pricing page */
.cenik-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cenik-accordion {
    margin-top: 12px;
}

.cenik-accordion .accordion-item {
    margin-bottom: 12px;
}

.cenik-accordion .accordion-body {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 0;
}

.cenik-pricing-sheet {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 60px;
    box-sizing: border-box;
    border: 3px solid rgb(87, 91, 74);
    background-image: linear-gradient(rgba(253, 251, 247, 0.9), rgba(253, 251, 247, 0.9)), url('cenik_background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #4a4a4a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.cenik-pricing-sheet .header {
    text-align: center;
    margin-bottom: 40px;
}

.cenik-pricing-sheet .header h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 44px;
    letter-spacing: 4px;
    color: #5b634b;
    margin: 0;
    font-weight: 500;
}

.cenik-pricing-sheet .header p {
    font-size: 15px;
    letter-spacing: 1px;
    color: #7a7a7a;
    margin-top: 5px;
}

.cenik-pricing-sheet .section-title {
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 22px;
    letter-spacing: 2px;
    color: #5b634b;
    margin-top: 35px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.cenik-pricing-sheet .section-subtitle {
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-size: 15px;
    color: #7a7a7a;
    margin-bottom: 15px;
}

.cenik-pricing-sheet .item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin: 0 auto 10px;
    gap: 12px;
    letter-spacing: 0.5px;
    max-width: 700px;
}

.cenik-pricing-sheet .item-name {
    color: #555;
}

.cenik-pricing-sheet .item-price {
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

.cenik-pricing-sheet .quote-box {
    text-align: center;
    margin-top: 50px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-size: 18px;
    color: #5b634b;
}

.cenik-pricing-sheet .quote-author {
    font-style: normal;
    font-size: 14px;
    margin-top: 4px;
}

.cenik-pricing-sheet .notes {
    text-align: center;
    font-size: 10px;
    color: #888;
    margin-top: 30px;
    line-height: 1.5;
}

.cenik-pricing-sheet .pilates-pricing-section {
    border: 1px solid #7f866c;
    border-radius: 18px;
    overflow: hidden;
    margin: 22px auto 0;
    max-width: 620px;
    background-color: rgba(255, 255, 255, 0.7);
}

.cenik-pricing-sheet .pilates-pricing-header {
    background-color: #5b634b;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}

.cenik-pricing-sheet .pilates-pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.cenik-pricing-sheet .pilates-pricing-table th,
.cenik-pricing-sheet .pilates-pricing-table td {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid #dcd7c9;
    font-size: 15px;
    color: #4a4a4a;
}

.cenik-pricing-sheet .pilates-pricing-table th {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #5b634b;
}

.cenik-pricing-sheet .pilates-individual-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    max-width: 560px;
    margin: 24px auto 0;
    padding: 12px 18px;
    border: 1px solid #7f866c;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.7);
}

.cenik-pricing-sheet .pilates-individual-text {
    font-size: 15px;
    letter-spacing: 1px;
    color: #5b634b;
    text-transform: uppercase;
    font-weight: 600;
}

.cenik-pricing-sheet .pilates-individual-price {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}

.cenik-pricing-sheet .footer {
    margin-top: 40px;
    border-top: 1px solid #e0ddd5;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #555;
}

.cenik-pricing-sheet .footer h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 2px;
    color: #5b634b;
    margin-bottom: 10px;
}

.cenik-image-box {
    border: 3px solid rgb(87, 91, 74);
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 12px;
    background: #ffffff;
}

.cenik-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.cenik-image-link {
    color: rgb(87, 91, 74);
    text-decoration: underline;
    font-weight: 600;
    display: inline-block;
}

@media (max-width: 600px) {
    .cenik-content {
        gap: 0;
    }

    .cenik-pricing-sheet {
        padding: 20px 14px;
    }

    .cenik-pricing-sheet .header h1 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .cenik-pricing-sheet .item-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .cenik-image-box {
        display: none;
    }

    .cenik-image-link {
        margin-left: 0;
    }

    .cenik-pricing-sheet .item-name {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
    }

    .cenik-pricing-sheet .item-price {
        flex: 0 0 auto;
        text-align: right;
        margin-left: auto;
    }

    .cenik-pricing-sheet .section-title {
        font-size: 18px;
        margin-top: 28px;
    }

    .cenik-pricing-sheet .section-subtitle {
        font-size: 13px;
    }

    .cenik-pricing-sheet .notes {
        font-size: 9px;
    }
}

/* Ensure img-row-below boxes fully wrap their images and stack on small phones */
@media (max-width: 600px) {
    .img-row-below {
        display: block; /* fall back to block layout on very small screens */
        gap: 12px;
    }
    .img-row-below .img-box {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        border: 3px solid rgb(87, 91, 74);
        margin-bottom: 12px;
        margin-left: 16px;
        margin-right: 16px;
        overflow: visible;
    }
    .img-row-below .img-box img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .img-row-below .img-box--desktop-right {
        margin-left: 16px;
    }

    .img-row-below .img-box--mobile-gap {
        margin-top: 24px;
    }

    .img-row-below--mobile-gap-top {
        margin-top: 10px;
    }
}
