:root {
    --ink: #1c2430;
    --muted: #5d6773;
    --accent: #14e0cf;
    --accent-dark: #0e8f86;
    --accent-hover: #7ff8ef;
    --accent-ink: #102226;
    --bg: #dfe7ee;
    --paper: #f7fafc;
    --line: #d3dde4;
    --header: #12151a;
    --header-text: #cfd6dd;
    --shadow: 0 10px 28px rgba(18, 28, 36, 0.08);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
    line-height: 1.7;
}

html { overflow-x: clip; }

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(rgba(18, 28, 36, 0.05) 1px, transparent 1px);
    background-size: 18px 18px;
}

h1, h2, h3, .brand, .nav-toggle, .product-tabs-button, .kicker {
    font-family: Outfit, "Source Sans 3", "Segoe UI", sans-serif;
}

a { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    min-width: 0;
}

.site-header {
    border-bottom: 3px solid var(--accent);
    background: var(--header);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
    flex-wrap: wrap;
}

.brand {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}
.brand img {
    display: block;
    height: 48px;
    width: auto;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--accent-hover);
    background: var(--accent);
    color: var(--accent-ink);
    padding: .5rem .9rem;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 3px 0 #0a6f68;
}

.main-navigation {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
}

.main-navigation a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    padding: .48rem .85rem;
    border-radius: 8px;
    background: #252a32;
    border: 1px solid #3d4450;
    box-shadow: 0 3px 0 #070809, inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a.is-current {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent-hover);
    box-shadow: 0 3px 0 #0a6f68;
}

main.wrap {
    padding-top: 1.6rem;
    padding-bottom: 3.2rem;
    overflow-x: clip;
}

main.wrap article {
    min-width: 0;
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    padding: 1.8rem 2rem 2.4rem;
    box-shadow: var(--shadow);
}

.kicker {
    margin: 0 0 .45rem;
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.guide-header h1,
.static-page > h1 {
    margin: 0 0 .55rem;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.breadcrumbs, .meta, .disclosure { color: var(--muted); font-size: .95rem; }
.breadcrumbs a { color: var(--muted); }
.stars { color: #f4c150; letter-spacing: .05em; }

.disclosure {
    display: inline-block;
    margin: .4rem 0 0;
    padding: .35rem .7rem;
    background: #eef6f6;
    border: 1px solid #d5e8e6;
    border-radius: 999px;
    font-size: .86rem;
}

.guide h2 { margin-top: 2rem; letter-spacing: -0.02em; padding-left: .75rem; border-left: 4px solid var(--accent); }
.wp-block-cover h2 {
    margin-top: 0;
    padding-left: 0;
    border-left: 0;
}
.guide ul { padding-left: 1.2rem; }
main.wrap img,
main.wrap video,
main.wrap figure,
main.wrap .wp-caption,
main.wrap .wp-block-image,
main.wrap .aligncenter,
main.wrap .alignnone,
main.wrap .alignleft,
main.wrap .alignright {
    max-width: 100%;
}
main.wrap figure,
main.wrap .wp-caption,
main.wrap .wp-block-image {
    width: auto !important;
    height: auto !important;
    box-sizing: border-box;
}
main.wrap iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
figure { margin: 1.2rem 0; }
.home-guide img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.home-guide figure {
    text-align: center;
}
figcaption, .wp-caption-text, .elementor-image-carousel-caption {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .4rem;
}
.swiper-slide-inner {
    display: inline-block;
    width: calc(33.33% - .6rem);
    vertical-align: top;
    margin: .25rem;
}
.e-eicon-chevron-left, .e-eicon-chevron-right { display: none; }
.elementor-icon-list-icon { display: none; }
.elementor-icon-list-items { list-style: disc; padding-left: 1.2rem; }
.elementor-icon-list-item { margin: .25rem 0; }

.wp-block-cover {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -1.8rem -2rem 1.8rem;
    border-radius: 18px 18px 0 0;
    background: #161a20;
}
.wp-block-cover__background {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 21, 26, 0.15), rgba(18, 21, 26, 0.55));
}
.wp-block-cover__image-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    padding: 2.4rem 1.4rem;
    text-align: center;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}
.wp-block-cover .wp-block-heading {
    margin: 0 0 .6rem;
    font-family: Outfit, "Source Sans 3", sans-serif;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
}

.product-tabs {
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.product-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    background: #eef3f6;
}

.product-tabs-button {
    border: 0;
    background: transparent;
    padding: .8rem 1rem;
    cursor: pointer;
    font-weight: 600;
}

.product-tabs-button.is-active {
    background: var(--paper);
    color: var(--accent-dark);
}

.product-tabs-panel { padding: 1rem; }

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { padding: 0; margin: 0 0 .9rem; border: 0; }
.news-list a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    padding: .9rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}
.news-list a:has(img) {
    grid-template-columns: 160px 1fr;
}
.news-list a:hover {
    border-color: #b7eae4;
    box-shadow: 0 8px 18px rgba(18, 28, 36, 0.06);
}
.news-list img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    background: #1a222c;
}
.news-list h2 { margin: 0 0 .3rem; font-size: 1.2rem; color: var(--header); }
.news-list p { margin: 0; }
.pagination { display: flex; gap: 1rem; margin-top: 1.5rem; }
.pagination a {
    display: inline-block;
    padding: .4rem .8rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 600;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.product-grid a {
    display: block;
    background: #fff;
    padding: .8rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: 14px;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.product-grid a:hover {
    transform: translateY(-3px);
    border-color: #b7eae4;
    box-shadow: 0 12px 22px rgba(18, 28, 36, 0.08);
}
.product-grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    padding: .7rem;
    background: #2a333d;
    border-radius: 10px;
}
.product-grid h3 { margin: .7rem 0 0; font-size: 1rem; line-height: 1.35; }
.product-grid-section { margin-top: 2.5rem; }
.product-grid-section > p a {
    font-weight: 700;
}

.product-hero,
.post-hero {
    margin: 0 0 1.4rem;
    padding: 1rem;
    background: #1a222c;
    border-radius: 14px;
    text-align: center;
}
.product-hero img,
.post-hero img {
    max-height: 280px;
    width: auto;
    margin: 0 auto;
}

.wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}
.wc-block-grid__product {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .8rem;
}
.wc-block-grid__product-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    padding: .7rem;
    background: #2a333d;
    border-radius: 10px;
}
.wp-block-button__link {
    display: inline-block;
    margin-top: .5rem;
    padding: .45rem .8rem;
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink) !important;
    text-decoration: none;
    font-weight: 700;
}

.site-footer {
    background: var(--header);
    color: #d5dde3;
    padding: 2.2rem 0;
    font-size: .95rem;
    border-top: 3px solid var(--accent);
}
.site-footer .tagline {
    margin: 0 0 .8rem;
    color: var(--accent);
    font-family: Outfit, sans-serif;
    font-weight: 600;
    letter-spacing: .02em;
}
.site-footer a { color: #fff; }
.footer-guides { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin: 1rem 0; }

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #12151a;
    color: #fff;
    padding: 1rem 1.2rem;
    display: none;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    z-index: 1000;
    pointer-events: auto;
    border-top: 3px solid var(--accent);
}
.cookie-banner.is-visible {
    display: flex;
}
.cookie-banner[hidden] {
    display: none !important;
}
.cookie-actions { display: flex; gap: .6rem; }
.cookie-banner button {
    border: 0;
    padding: .55rem .9rem;
    cursor: pointer;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    border-radius: 8px;
}
.cookie-banner button.secondary { background: #3a4048; color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .product-grid a { transition: none; }
}

@media (max-width: 800px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        flex-wrap: unset;
    }
    .nav-toggle { display: inline-block; justify-self: end; }
    .brand img { height: 40px; max-width: min(220px, 62vw); }
    .main-navigation { display: none; width: 100%; flex-direction: column; padding: .2rem 0 1rem; grid-column: 1 / -1; }
    .main-navigation.is-open { display: flex; }
    main.wrap article { padding: 1.2rem 1rem 1.6rem; border-radius: 14px; }
    .wp-block-cover { margin: -1.2rem -1rem 1.2rem; border-radius: 14px 14px 0 0; min-height: 180px; }
    .news-list a { grid-template-columns: 1fr; }
    .swiper-slide-inner { width: 100%; margin: 0 0 1rem; }
    .cookie-banner.is-visible { flex-direction: column; align-items: stretch; }
}
