* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #17202a;
    background: #f5f5f1;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 92vh;
    display: grid;
    align-content: space-between;
    padding: 24px clamp(18px, 4vw, 56px) 70px;
    color: #fff;
    background: #17251f;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(17, 26, 24, .92), rgba(17, 26, 24, .42));
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--hero-bg, url("/media/hero-sauna-party-tent.png")) center/cover;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1600ms ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    min-height: 58px;
    padding: 7px 10px;
    border-radius: 6px;
    color: #17202a;
    background: rgba(255, 255, 255, .94);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 150px;
    height: 44px;
    object-fit: contain;
}

.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: .95rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
}

.lang-switch {
    display: inline-flex;
    gap: 4px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
    background: rgba(0, 0, 0, .18);
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: .82rem;
}

.lang-switch a.active {
    color: #17202a;
    background: #fff;
}

.hero-content {
    width: min(790px, 100%);
}

.eyebrow {
    margin: 0 0 10px;
    color: #8a6d28;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f0d27b;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: 0;
}

h3 {
    font-size: 1.35rem;
}

p {
    color: #53606a;
    line-height: 1.65;
}

.hero p {
    max-width: 610px;
    color: #eef3f1;
    font-size: 1.1rem;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #22362e;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

button.secondary {
    color: #17202a;
    background: #e2e7dd;
}

button.danger {
    background: #8a2d28;
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 62px 0;
}

.section-head {
    margin-bottom: 26px;
}

.wide-head {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(260px, .75fr);
    gap: 28px;
    align-items: end;
}

.notice,
.empty,
.panel {
    padding: 22px;
    border: 1px solid #dde3d8;
    border-radius: 8px;
    background: #fff;
}

.category {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid #dde3d8;
}

.category-head {
    display: grid;
    grid-template-columns: minmax(220px, .45fr) minmax(260px, .8fr);
    gap: 22px;
    margin-bottom: 16px;
}

.category-head p {
    margin-bottom: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.product-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 20px;
    border: 1px solid #dfe5da;
    border-radius: 8px;
    background: #fff;
}

.product-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    background: #e2e7dd;
}

.product-type {
    margin-bottom: 8px;
    color: #8a6d28;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-card h4 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

dl {
    display: grid;
    gap: 8px;
    margin: 16px 0;
}

dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

dt {
    color: #6d7867;
    font-weight: 800;
}

dd {
    margin: 0;
    text-align: right;
}

.text-link {
    color: #22362e;
    font-weight: 800;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border: 1px solid rgba(240, 210, 123, .65);
    border-radius: 999px;
    color: #17202a;
    background: #f0d27b;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.admin-edit:hover {
    background: #fff;
    text-decoration: none;
}

.hero-content .admin-edit,
.contact-band .admin-edit {
    margin-bottom: 12px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 10px;
    width: min(820px, 100%);
}

.trust-row span {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    font-weight: 800;
}

.process-band {
    background: #17251f;
    color: #fff;
}

.process-band h2 {
    color: #fff;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: process;
}

.process-list li {
    min-height: 128px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    font-weight: 800;
    counter-increment: process;
}

.process-list li::before {
    content: counter(process, decimal-leading-zero);
    display: block;
    margin-bottom: 22px;
    color: #f0d27b;
    font-size: .86rem;
}

.split {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(320px, 1fr);
    gap: 32px;
    align-items: start;
}

form {
    display: grid;
    gap: 13px;
}

.status-form {
    display: block;
}

.status-form select {
    min-width: 130px;
}

label {
    display: grid;
    gap: 7px;
    color: #26313a;
    font-weight: 800;
}

.check {
    display: flex;
    align-items: center;
    gap: 9px;
}

.check input {
    width: auto;
    min-height: 0;
}

input,
select,
textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 11px;
    border: 1px solid #cfd8c9;
    border-radius: 6px;
    background: #fff;
    color: #17202a;
    font: inherit;
}

textarea {
    resize: vertical;
}

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

.contact-band {
    border-top: 1px solid #dde3d8;
}

.site-footer {
    color: #f4f5ef;
    background: #111a18;
}

.site-footer-inner {
    width: min(1180px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) minmax(190px, .7fr) minmax(180px, .55fr);
    gap: 24px;
    margin: 0 auto;
    padding: 34px 0;
}

.site-footer p,
.site-footer a,
.site-footer address {
    color: #dfe6dc;
}

.site-footer address,
.site-footer nav {
    display: grid;
    gap: 8px;
    font-style: normal;
}

.site-footer strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 10px;
    border-radius: 6px;
    color: #17202a;
    background: #fff;
    font-weight: 900;
    text-decoration: none;
}

.footer-brand-logo {
    display: block;
    width: auto;
    max-width: 150px;
    height: 44px;
    object-fit: contain;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.legal-page {
    min-height: 70vh;
}

.legal-block {
    margin: 24px 0;
}

.legal-block h2 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.narrow {
    width: min(620px, calc(100% - 32px));
}

.success {
    border-color: #bed3b6;
    background: #f2f8ef;
}

.error,
.form-error {
    color: #822;
    background: #fff0f0;
}

.form-error {
    padding: 10px 12px;
    border-radius: 6px;
}

.access-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(17, 26, 24, .88), rgba(17, 26, 24, .5)),
        url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.access-panel {
    width: min(520px, 100%);
}

.access-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #22362e;
    font-weight: 900;
    text-decoration: none;
}

.access-brand-logo {
    display: block;
    width: auto;
    max-width: 190px;
    height: 62px;
    object-fit: contain;
}

.access-panel h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 5vw, 3rem);
}

.site-access-reset {
    margin: 0;
    font-size: .92rem;
}

.site-access-reset a {
    color: #22362e;
    font-weight: 800;
}

.admin-shell {
    width: min(1380px, calc(100% - 24px));
}

.admin-popup {
    width: min(980px, calc(100% - 24px));
    padding-top: 24px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid #dde3d8;
    border-radius: 8px;
    background: #fff;
}

.admin-sidebar-brand {
    color: #17202a;
    font-size: 1.05rem;
    font-weight: 900;
    text-decoration: none;
}

.admin-side-nav {
    display: grid;
    gap: 6px;
}

.admin-side-nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 6px;
    color: #26313a;
    font-weight: 800;
    text-decoration: none;
}

.admin-side-nav a:hover,
.admin-side-nav a.active {
    color: #17202a;
    background: #f2e4b8;
}

.admin-sidebar-logout {
    padding-top: 14px;
    border-top: 1px solid #e7ebe4;
}

.admin-sidebar-logout button {
    width: 100%;
}

.admin-content {
    min-width: 0;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #dde3d8;
    border-radius: 8px;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.stat-card {
    display: grid;
    gap: 8px;
}

.stat-card strong {
    color: #65705f;
    font-size: .78rem;
    text-transform: uppercase;
}

.stat-card span {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.visitor-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.visitor-card {
    display: grid;
    align-content: start;
    gap: 12px;
}

.visitor-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.visitor-card-head > div:first-child {
    display: grid;
    gap: 4px;
}

.visitor-card-head > div:first-child span,
.visitor-card-note {
    color: #65705f;
    font-size: .86rem;
    font-weight: 800;
}

.visitor-card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.visitor-card dl {
    margin: 0;
    display: grid;
    gap: 8px;
}

.visitor-card dl div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
}

.visitor-card dt,
.visitor-card dd {
    text-align: left;
    font-size: .9rem;
}

.visitor-card-note {
    margin: 0;
}

.blocked-ip-panel {
    margin-bottom: 14px;
}

.blocked-ip-panel h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.blocked-ip-list {
    display: grid;
    gap: 8px;
}

.blocked-ip-item {
    display: grid;
    grid-template-columns: minmax(130px, .7fr) minmax(120px, .6fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e7ebe4;
    border-radius: 6px;
    background: #fafbf7;
}

.blocked-ip-item small {
    color: #65705f;
}

.breakable {
    overflow-wrap: anywhere;
    word-break: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #e7ebe4;
    text-align: left;
    vertical-align: top;
}

th {
    color: #65705f;
    font-size: .78rem;
    text-transform: uppercase;
}

.feedback-thumb {
    display: block;
    width: 132px;
    height: 82px;
    object-fit: cover;
    border: 1px solid #dfe5da;
    border-radius: 6px;
    background: #111;
}

.admin-image-thumb {
    display: block;
    width: 116px;
    height: 74px;
    object-fit: cover;
    border: 1px solid #dfe5da;
    border-radius: 6px;
    background: #f7f7f2;
}

.admin-image-preview {
    display: block;
    width: min(220px, 100%);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid #dfe5da;
    border-radius: 6px;
    background: #f7f7f2;
}

.admin-image-empty {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 6px;
    color: #65705f;
    background: #f2f4ef;
    font-size: .86rem;
    font-weight: 800;
}

.feedback-admin-form {
    min-width: 220px;
}

.feedback-admin-form textarea {
    min-height: 70px;
}

.settings-panel {
    max-width: 760px;
}

.settings-panel h2 {
    margin-bottom: 6px;
    font-size: 1.35rem;
}

.product-edit-form {
    max-width: 920px;
}

.product-edit-form textarea {
    min-height: 92px;
}

.product-media-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 10px;
    max-height: 250px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #dfe5da;
    border-radius: 8px;
    background: #f7f7f2;
}

.product-media-option {
    display: grid;
    gap: 6px;
    min-height: 0;
    padding: 7px;
    border: 2px solid transparent;
    border-radius: 8px;
    color: #26313a;
    background: #fff;
    font-size: .75rem;
    font-weight: 800;
    text-align: left;
}

.product-media-option.active {
    border-color: #8a6d28;
    background: #f2e4b8;
}

.product-media-option img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 5px;
    background: #e2e7dd;
}

.product-media-option span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-media-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    max-height: 330px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #dfe5da;
    border-radius: 8px;
    background: #f7f7f2;
}

.hero-media-option {
    display: grid;
    gap: 7px;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    font-size: .76rem;
    cursor: pointer;
}

.hero-media-option.active,
.hero-media-option:has(input:checked) {
    border-color: #8a6d28;
    background: #f2e4b8;
}

.hero-media-option input {
    width: auto;
    min-height: 0;
}

.hero-media-option img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 5px;
    background: #e2e7dd;
}

.hero-media-option span {
    overflow: hidden;
    color: #26313a;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.media-manager-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.media-manager-main {
    min-width: 0;
}

.media-folder-panel {
    position: sticky;
    top: 18px;
}

.media-upload-panel {
    margin-bottom: 18px;
}

.media-folder-panel h2,
.media-upload-panel h2 {
    margin-bottom: 6px;
    font-size: 1.35rem;
}

.media-folder-create {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.media-folder-nav {
    display: grid;
    gap: 8px;
}

.media-folder-nav a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid #dfe5da;
    border-radius: 6px;
    color: #22362e;
    background: #fafbf7;
    font-weight: 800;
    text-decoration: none;
}

.media-folder-nav strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-folder-nav a.active,
.media-folder-nav a:hover {
    border-color: #d4b967;
    background: #f2e4b8;
}

.media-folder-nav span {
    min-width: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    color: #fff;
    background: #22362e;
    font-size: .78rem;
    text-align: center;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.media-card {
    display: grid;
    gap: 12px;
    align-content: start;
}

.media-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border: 1px solid #dfe5da;
    border-radius: 6px;
    background: #f7f7f2;
}

.media-card small {
    display: block;
    margin-top: 4px;
    color: #65705f;
    overflow-wrap: anywhere;
}

.media-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.media-folder-move {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.media-folder-move select {
    flex: 1 1 150px;
    min-width: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #22362e;
    background: #f2e4b8;
    font-weight: 800;
    font-size: .86rem;
}

@media (max-width: 720px) {
    .hero {
        min-height: 82vh;
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .split,
    .form-row,
    .wide-head,
    .category-head,
    .process-list {
        grid-template-columns: 1fr;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-side-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-manager-layout {
        grid-template-columns: 1fr;
    }

    .media-folder-panel {
        position: static;
    }
}
