:root{
    --primary: #c9a793;
    --bg:#f7f7f7;
    --text:#0f172a;
    --muted:#e5e7eb;
    --card:#ffffff;
    --radius:12px;
    --container:1200px;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--muted);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111827
}

.logo {
    width: 24px;
    height: 24px;
    color: var(--primary)
}

.nav {
    display: none;
    align-items: center;
    gap: 28px
}

.nav a {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px
}

.nav a:hover {
    color: var(--primary)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer
}

.menu-btn {
    background: transparent;
    border: none;
    cursor: pointer
}

@media (min-width: 992px) {
    .nav {
        display: flex
    }

    .menu-btn {
        display: none
    }
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    margin: 18px 0
}

.breadcrumbs a {
    color: #64748b;
    text-decoration: none
}

.breadcrumbs a:hover {
    color: var(--primary)
}

.breadcrumbs .current {
    color: #111827;
    font-weight: 700
}

/* Title row */
.title-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px
}

.page-title {
    font-size: 34px;
    letter-spacing: -.02em;
    margin: 0;
    font-weight: 600;
    color: #0b1220
}

.subtitle {
    margin: 6px 0 0;
    color: #64748b
}

/* Layout grid */
.grid {
    display: grid;
    gap: 24px;
    grid-template-columns:1fr;
    align-items: self-start;
}

@media (min-width: 1100px) {
    .grid {
        grid-template-columns:3fr 2fr;
        gap: 40px
    }
}

/* Card */
.card {
    background: var(--card);
    border: 1px solid var(--muted);
    border-radius: 16px;
    padding: 20px
}

/* Splide gallery */
.gallery .splide {
    border-radius: 16px;
    overflow: hidden
}

.gallery .splide__slide {
    position: relative
}

.gallery .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.gallery .main-splide {
    --ratio: 0.75
}

.gallery .main-splide .splide__track {
    height: 0;
    padding-top: calc(var(--ratio) * 100%);
    position: relative
}

.gallery .main-splide .splide__list {
    position: absolute;
    inset: 0
}

.thumb-splide {
    margin-top: 10px
}

.thumb-splide .splide__slide {
    opacity: .6;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer
}

.thumb-splide .splide__slide.is-active {
    opacity: 1;
    border-color: var(--primary)
}

.overlay-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 5
}

.icon-btn {
    background: rgba(255, 255, 255, .8);
    border: none;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #1f2937;
    cursor: pointer
}

.icon-btn[data-active="1"] {
    background: #fff;
    color: #ef4444
}

.fav-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, .92);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #374151
}

/* Prose */
.prose {
    color: #334155;
    line-height: 1.7
}

.prose p {
    margin: 0 0 12px
}

/* Tabs (rzuty) */
.tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--muted);
    margin-bottom: 16px
}

.tab {
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.tab.active {
    border-color: var(--primary);
    color: #0b1220
}

/* Tab panels */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Info grid */
.info-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 18px
}

.feature-item {
    display: flex;
    gap: 10px;
    align-items: center
}

.feature-item .icon {
    color: var(--primary);
    font-size: 24px
}

.feature-item .k {
    color: #64748b;
    font-size: 12px
}

.feature-item .v {
    font-weight: 700;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 6px
}

.price-total .label {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937
}

.price-total .value {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 24px
}

.btn-outline {
    flex: 1;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 10px;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all .3s ease;
}

.btn-primary {
    flex: 1;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all .3s ease;
}

.btn-outline:hover,
.btn-primary:hover {
	background: transparent;
	color: var(--primary);
	border: 1px solid var(--primary);
	transition: all .3s ease;
}

/* Form */
.form .field {
    margin-bottom: 12px
}

.input, .textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    outline: none;
    transition: border .15s, box-shadow .15s
}

.input:focus, .textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(36, 39, 54, .12)
}

.textarea {
    min-height: 120px;
    resize: vertical
}

.check-wrap {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 8px 0 14px
}

.check {
    margin-top: 4px
}

/* Sidebar sticky */
.sticky {
    position: sticky;
    top: 96px
}

.gallery.card {
    margin-top: 0;
}

.card h1,
.card h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    color: #000;
    margin-bottom: 20px;
}

.card h3 {
     font-size: 25px;
     font-weight: 600;
     line-height: 34px;
     color: #000;
     margin-bottom: 15px;
 }

.card h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    color: #000;
    margin-bottom: 15px;
}

.card h5 {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: #000;
    margin-bottom: 15px;
}

.card h6 {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #000;
    margin-bottom: 12px;
}

.card,
.card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #000;
}

.card ul,
.card ol {
    padding-left: 20px;
}

.card ul li {
    list-style: disc;
    margin-bottom: 5px;
}

.card ol li {
    list-style: decimal;
    margin-bottom: 5px;
}

/* === GLOBAL === */
.hmp-wrapper {
    background: rgb(245, 242, 235);
    padding: 20px;
    border-radius: 14px;
    color: #111;
    margin-top: 30px;
}

.hmp-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.hmp-tab-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #d6dbe8;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.hmp-tab-btn.hmp-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.hmp-section {
    display: none;
    animation: hmpFade .28s ease;
}

.hmp-section.hmp-active {
    display: block;
}

@keyframes hmpFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hmp-title {
    font-size: 28px;
    font-weight: 700;
    color: #112057;
    text-align: center;
    margin-bottom: 18px;
}

/* level tabs */
.hmp-level-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.hmp-level-tab {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid #d6dbe8;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.hmp-level-tab.hmp-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* GRID */
.hmp-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 22px;
    align-items: start;
}

.hmp-plan {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hmp-plan a {
	width: 100%;
}

.hmp-plan img {
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    display: block;
}

.hmp-table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
    overflow: hidden;
    max-height: 720px;
}

table.hmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

table.hmp-table thead {
    background: #163dce;
    color: #fff;
    font-weight: 700;
}

table.hmp-table th, table.hmp-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eef2fb;
    text-align: center;
}

table.hmp-table tbody tr:nth-child(even) {
    background: #fbfbff;
}

.hmp-status-green, .hmp-status-red, .hmp-status-yellow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hmp-status-green {
    background: #20c933;
}

.hmp-status-red {
    background: #ff4b4b;
}

.hmp-status-yellow {
    background: #FCD57B;
}

.hmp-legend {
	padding: 10px;
}

.hmp-legend ul {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.hmp-legend ul li {
    display: flex;
    align-items: center;
}

.hmp-legend ul li span {
	margin-right: 10px;
}

.hmp-legend__title {
	margin-bottom: 10px;
}

/* IMPORTANT: hide levels by default, show only .hmp-active */
.hmp-level {
    display: none;
}

.hmp-level.hmp-active {
    display: block;
}

@media (max-width: 1000px) {
    .hmp-grid {
        grid-template-columns:1fr;
    }

    .hmp-table-container {
        max-height: 420px;
    }
}

.hmp-table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(16,24,40,0.06);
    overflow-y: auto;          /* <-- Вмикаємо pionowy скрол */
    overflow-x: hidden;
    max-height: 600px;         /* <-- обмеження висоти, можеш змінити */
    scrollbar-width: thin;     /* Firefox */
    scrollbar-color: #c5c8d0 #f1f3f9;  /* Firefox кольори */
}

/* Chrome / Edge / Safari */
.hmp-table-container::-webkit-scrollbar {
    width: 8px;
}
.hmp-table-container::-webkit-scrollbar-thumb {
    background: #c5c8d0;
    border-radius: 10px;
}
.hmp-table-container::-webkit-scrollbar-thumb:hover {
    background: #a3a7b3;
}

/* === TABLE CONTAINER SCROLL === */
.hmp-table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(16,24,40,0.06);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;          /* można zmienić */
    scrollbar-width: thin;
    scrollbar-color: #c5c8d0 #f1f3f9;
}

/* Scrollbar stylizacja (Chrome/Safari/Edge) */
.hmp-table-container::-webkit-scrollbar { width: 8px; }
.hmp-table-container::-webkit-scrollbar-thumb {
    background: #c5c8d0;
    border-radius: 10px;
}
.hmp-table-container::-webkit-scrollbar-thumb:hover {
    background: #a3a7b3;
}

/* === STICKY HEADER === */
.hmp-table thead th {
    position: sticky;
    top: 0;
    background: var(--primary);      
    color: #fff;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-send {
	width:100%;
	height:48px;
	font-size:16px;
	font-weight: 700;
	border: 1px solid var(--primary);
	transition: all .3s ease;
}

.btn-send:hover {
	color: var(--primary);
	background: transparent;
	transition: all .3s ease;
}

.recc-item {
        border: 1px solid var(--main-cl);
        border-radius: 12px;
    }

    .recc-item__inner figure,
    .recc-item__inner figure img {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .recc-item__inner figure img {
        transition: all .3s ease;
    }

    .recc-item__inner figure {
        overflow: hidden;
        transition: all .3s ease;
    }
    .recc-item__inner figure:hover img {
        transform: scale(1.1);
        transition: all .3s ease;
    }


    .recc-item__content {
        padding: 16px 16px;
    }

    .recc-item__top {
        display: flex;
        justify-content: space-between;
    }

    .recc-item__title {
        font-size: 24px;
        font-weight: 600;
        line-height: 28px;
        color: var(--mblue);
        margin-bottom: 5px;
        transition: all .3s ease;
    }

    .recc-item__title:hover {
        color: var(--main-cl);
        transition: all .3s ease;
    }

    .recc-item__subtitle {
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
        color: var(--mgrey);
    }

    .recc-item__price {
        font-size: 22px;
        font-weight: 600;
        line-height: 28px;
        color: var(--main-cl);
        margin-bottom: 5px;
    }

    .recc-item__pricem2 {
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
        color: var(--mgrey);
        text-align: right;
    }

    .recc-item__center-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        color: var(--mgrey);
    }

    .recc-item__center {
        display: flex;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 16px;
    }

    .recc-item__center span {
        color: var(--main-cl);
    }

    .recc-item__bot {
        border-top: 1px solid var(--main-cl);
        border-bottom: 1px solid var(--main-cl);
        padding: 12px 0;
    }

    .recc-item__itm-top {
        font-size: 10px;
        font-weight: 500;
        line-height: 16px;
        color: var(--mgrey);
        text-transform: uppercase;
        margin-bottom: 5px;
        text-align: center;
    }

    .recc-item__itm-center {
        font-size: 20px;
        font-weight: 500;
        line-height: 28px;
        color: var(--mblue);
        text-align: center;
    }

    .recc-item__bots {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-gap: 16px;
    }

    .recc-item__itm {
        border-right: 1px solid var(--main-cl);
    }

    .recc-item__itm:last-child {
        border-right: 0;
    }

    .recc-item__link {
        padding: 0px 16px 16px;
    }

    .recc-item__link a {
        text-align: center;
    }

    .recc-items {
        padding-top: 40px;
    }

    .recc-items .splide__arrows {
        position: absolute;
        top: -40px;
        left: 4rem;
    }


    .recc-items .splide__arrow--prev {
        left: -4em;
    }

    .recc-items .splide__arrow--next {
        right: -2em;
    }

    .recc-items .splide__arrow {
        width: 40px;
        height: 40px;
        border-radius: 0px;
        background: transparent;
        border: 1px solid var(--main-cl);
        cursor: pointer;
    }

    .recc-items .splide__arrow svg {
        color: var(--main-cl);
        fill: var(--main-cl);
    }

    .recc-items .splide__pagination {
        bottom: -0.5em;
    }

    .recc-items .splide__pagination__page.is-active {
        background: var(--main-cl);
        opacity: 1;
    }

    .recc-items .splide__pagination__page {
        background: var(--main-cl);
        opacity: 0.4;
    }

    .recc-items .splide__track {
        padding-bottom: 50px;
    }

    .recc-item {
        transition: all .3s ease;
    }

    .recc-item:hover {
        --tw-shadow-color: rgb(19 236 91 / 0.3);
        --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
        --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
        transition: all .3s ease;
    }
.info-grid__top-item {
	margin-bottom: 15px;
}
.info-grid__top-item h4 {
	margin-bottom: 0;
}
.info-grid__top-item span {
	color: var(--primary);
}