:root {
    --color-bg: #f3f6f4;
    --color-surface: #ffffff;
    --color-ink: #14201c;
    --color-muted: #5b6b64;
    --color-accent: #0f766e;
    --color-accent-deep: #0b5a54;
    --color-line: rgba(20, 32, 28, 0.12);
    --color-hero-1: #0d3b36;
    --color-hero-2: #1a5c52;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --radius: 14px;
    --shadow: 0 18px 50px rgba(13, 59, 54, 0.12);
    --container: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(15, 118, 110, 0.12), transparent 60%),
        radial-gradient(900px 400px at 100% 0%, rgba(26, 92, 82, 0.08), transparent 55%),
        var(--color-bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 720px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(243, 246, 244, 0.86);
    border-bottom: 1px solid var(--color-line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.25rem;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
}

.brand-mark {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-hero-1));
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

.brand-logo {
    display: block;
    max-height: 36px;
    width: auto;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a {
    color: var(--color-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--color-ink);
}

.nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--color-line);
    border-radius: 0.7rem;
    background: var(--color-surface);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1.1rem;
    height: 2px;
    margin: 0.28rem auto;
    background: var(--color-ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-deep);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

.hero {
    position: relative;
    min-height: min(88vh, 760px);
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #f7fbf9;
    background: linear-gradient(145deg, var(--color-hero-1), var(--color-hero-2) 55%, #24756a);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(180deg, transparent 40%, rgba(8, 28, 25, 0.55));
    pointer-events: none;
}

.hero-content {
    position: relative;
    padding: 5rem 0 4rem;
    animation: rise 0.8s ease both;
}

.hero-brand {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.03em;
}

.hero-title {
    margin: 0;
    max-width: 14ch;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-lead {
    margin: 1.1rem 0 0;
    max-width: 38ch;
    color: rgba(247, 251, 249, 0.86);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.section {
    padding: 4.5rem 0;
}

.section-title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
}

.section-text {
    color: var(--color-muted);
}

.site-footer {
    margin-top: 2rem;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--color-line);
    background: #eef3f0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 2fr 1fr 1fr;
}

.footer-brand {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.footer-text,
.footer-links a,
.footer-bottom {
    color: var(--color-muted);
}

.footer-heading {
    margin: 0 0 0.7rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li + li {
    margin-top: 0.4rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 1rem 1.25rem 1.25rem;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.page-hero {
    padding: 2.5rem 0 1.5rem;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), transparent);
}

.page-hero h1 {
    margin: 0.5rem 0 0.4rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.03em;
}

.page-lead {
    color: var(--color-muted);
    max-width: 42ch;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.35rem;
    opacity: 0.6;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
}

.search-box {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.search-box input {
    flex: 1;
    min-height: 2.75rem;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font: inherit;
}

.post-list {
    display: grid;
    gap: 1.4rem;
}

.post-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--color-line);
}

.post-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.post-item h2,
.post-item h3 {
    margin: 0.2rem 0 0.45rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.meta {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.text-link {
    color: var(--color-accent);
    font-weight: 600;
}

.blog-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.sidebar-block {
    padding: 1rem;
    border-top: 2px solid var(--color-accent);
    background: rgba(255, 255, 255, 0.7);
}

.sidebar-block h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
}

.sidebar-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-block li + li {
    margin-top: 0.45rem;
}

.sidebar-block a {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--color-muted);
}

.article-header h1 {
    margin: 0.3rem 0 0.8rem;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    letter-spacing: -0.03em;
}

.article-cover {
    margin: 0 0 1.5rem;
}

.article-cover img {
    width: 100%;
    border-radius: 16px;
    max-height: 420px;
    object-fit: cover;
}

.prose {
    font-size: 1.05rem;
    line-height: 1.75;
}

.prose h2,
.prose h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.prose img {
    border-radius: 12px;
    margin: 1rem 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1rem 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    background: #fff;
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.chip.is-active {
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.3);
    color: var(--color-accent-deep);
}

.toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-card-plain h2,
.product-card-plain h3 {
    margin: 0.35rem 0;
    font-family: var(--font-display);
}

.product-card-plain img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 0.7rem;
}

.price,
.price-lg {
    font-weight: 700;
}

.price-lg {
    font-size: 2rem;
    margin: 0.2rem 0 1rem;
    font-family: var(--font-display);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
}

.buy-panel {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    padding: 1.2rem;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    background: #fff;
}

.buy-panel ul {
    padding-left: 1.1rem;
    color: var(--color-muted);
}

.buy-panel .excludes {
    color: #b42318;
}

.btn-block {
    width: 100%;
    margin: 0.35rem 0;
}

.feature-list {
    display: grid;
    gap: 1rem;
    margin: 1rem 0 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    margin: 1rem 0 1.5rem;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.contact-form .field {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--color-line);
    border-radius: 0.7rem;
    padding: 0.7rem 0.85rem;
    font: inherit;
    font-weight: 400;
}

.pagination {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.pagination a {
    min-width: 2.2rem;
    min-height: 2.2rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0.55rem;
    border: 1px solid var(--color-line);
    background: #fff;
    font-weight: 600;
}

.pagination a.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

@media (max-width: 900px) {
    .blog-layout,
    .product-detail,
    .post-item {
        grid-template-columns: 1fr;
    }

    .buy-panel {
        position: static;
    }
}


/* —— Product cards & sections —— */
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-head .section-title {
    margin-bottom: 0;
}

.section-muted {
    background: rgba(255, 255, 255, 0.45);
    border-block: 1px solid var(--color-line);
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    animation: rise 0.7s ease both;
}

.product-card-media {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(145deg, #d7e8e3, #eef5f2);
}

.product-card-media img,
.product-card-placeholder {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.product-card:hover .product-card-media img {
    transform: scale(1.04);
}

.product-card-placeholder {
    background:
        radial-gradient(circle at 30% 30%, rgba(15, 118, 110, 0.25), transparent 50%),
        linear-gradient(145deg, #cfe3de, #e8f2ef);
}

.product-card h2,
.product-card h3 {
    margin: 0.2rem 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.product-type-badge {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-accent);
}

.product-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1rem 0 1.5rem;
}

.buy-panel-note {
    margin: -0.5rem 0 1rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.feature-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-line);
}

.feature-item h3 {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
}

.btn-whatsapp {
    background: #128c7e;
    color: #fff;
    border-color: #128c7e;
}

.btn-whatsapp:hover {
    background: #0e6f64;
}

.btn-paypal {
    background: #ffc439;
    color: #003087;
    border-color: #ffc439;
    font-weight: 700;
}

.btn-paypal:hover {
    background: #f5b820;
}

.field-hint {
    display: block;
    margin-top: 0.35rem;
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

/* —— Checkout —— */
.checkout-body {
    min-height: 100vh;
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(15, 118, 110, 0.14), transparent 55%),
        linear-gradient(180deg, #e8efec, #f3f6f4 40%);
}

.checkout-shell {
    display: grid;
    place-items: center;
    padding: 2.5rem 1rem 1rem;
}

.checkout-card {
    width: min(100%, 440px);
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: rise 0.55s ease both;
}

.checkout-card-head {
    padding: 1.25rem 1.4rem 1rem;
    background: linear-gradient(135deg, var(--color-hero-1), var(--color-hero-2));
    color: #f7fbf9;
}

.checkout-brand {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
}

.checkout-card-head h1 {
    margin: 0;
    font-size: 1.35rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.checkout-form,
.checkout-card > .order-summary,
.checkout-card > .info-box,
.checkout-card > .btn,
.checkout-card > .checkout-hint,
.checkout-card > .checkout-success-text,
.checkout-card > .checkout-back,
.checkout-card > .payment-actions {
    margin-left: 1.35rem;
    margin-right: 1.35rem;
}

.checkout-form {
    padding: 1.35rem 0 0.5rem;
    margin-left: 1.35rem;
    margin-right: 1.35rem;
}

.checkout-form .order-summary,
.checkout-form .payment-actions {
    margin-left: 0;
    margin-right: 0;
}

.checkout-field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    font-weight: 600;
}

.checkout-field input {
    width: 100%;
    min-height: 2.85rem;
    border: 1px solid var(--color-line);
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    font: inherit;
    font-weight: 400;
}

.order-summary {
    margin: 0 1.35rem 1.1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(15, 118, 110, 0.08);
}

.product-badge {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.2rem 0.55rem;
    border-radius: 0.4rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.item-details,
.total-price {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.item-details {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.total-price {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(15, 118, 110, 0.18);
    font-weight: 700;
    font-size: 1.1rem;
}

.payment-actions {
    display: grid;
    gap: 0.65rem;
    margin: 0 1.35rem 1.2rem;
}

.info-box {
    margin: 0.4rem 0;
    padding: 0.85rem 0.95rem;
    border-left: 3px solid #e6b800;
    border-radius: 0 0.6rem 0.6rem 0;
    background: #fff8e6;
    color: #5c4a12;
    font-size: 0.9rem;
}

.secure-info,
.checkout-hint {
    margin: 0.35rem 0 0;
    color: var(--color-muted);
    font-size: 0.85rem;
    text-align: center;
}

.checkout-success-text {
    margin: 0 1.35rem 1rem;
    color: var(--color-muted);
}

.checkout-back {
    margin: 0.5rem 1.35rem 1.4rem;
    text-align: center;
}

.checkout-back a {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.checkout-alert {
    margin: 1rem 1.35rem 0;
    padding: 0.75rem 0.9rem;
    border-radius: 0.7rem;
    font-size: 0.92rem;
}

.checkout-alert-error {
    background: #fef3f2;
    color: #b42318;
}

.checkout-alert-success {
    background: #ecfdf3;
    color: #027a48;
}

.checkout-footer {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.88rem;
    padding-bottom: 2rem;
}

.checkout-card .btn-block {
    margin-left: 1.35rem;
    margin-right: 1.35rem;
    width: calc(100% - 2.7rem);
}

.checkout-form .btn-block {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

/* —— Floating WhatsApp —— */
.wa-float {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 40;
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 32px rgba(18, 140, 126, 0.42);
}

.wa-float svg {
    width: 1.55rem;
    height: 1.55rem;
    fill: currentColor;
}
