:root {
    --brand-forest: #1f4332;
    --brand-forest-deep: #13271d;
    --brand-sage: #728c69;
    --brand-gold: #c99a3a;
    --brand-clay: #f6ede2;
    --brand-cream: #fcf8f2;
    --brand-ink: #243328;
    --brand-muted: #68756b;
    --brand-surface: rgba(255, 255, 255, 0.84);
    --brand-line: rgba(31, 67, 50, 0.12);
    --brand-shadow: 0 24px 60px rgba(31, 49, 36, 0.1);
}

html,
body {
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at top left, rgba(201, 154, 58, 0.18), transparent 24%),
        radial-gradient(circle at top right, rgba(114, 140, 105, 0.18), transparent 24%),
        radial-gradient(circle at bottom left, rgba(31, 67, 50, 0.12), transparent 26%),
        linear-gradient(145deg, #f8f0e3 0%, #fef9f3 46%, #edf5ed 100%);
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

.public-shell::before {
    width: 360px;
    height: 360px;
    top: -120px;
    left: -140px;
    background: rgba(201, 154, 58, 0.28);
}

.public-shell::after {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: 30px;
    background: rgba(114, 140, 105, 0.26);
}

.public-nav {
    background: rgba(252, 248, 242, 0.82);
    border-bottom-color: rgba(31, 67, 50, 0.08);
}

.public-nav .navbar {
    gap: 1rem;
}

.brand-logo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 36px rgba(31, 49, 36, 0.16);
}

.brand-wordmark {
    font-size: clamp(1.6rem, 2vw, 2rem);
}

.brand-tagline {
    color: var(--brand-sage);
}

.public-menu-toggle {
    box-shadow: 0 12px 26px rgba(31, 67, 50, 0.12);
}

.public-nav-link {
    position: relative;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.public-nav-link:hover,
.public-nav-link.active {
    transform: translateY(-1px);
}

.public-nav-link.active::after,
.public-nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.28rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-forest) 100%);
}

.public-btn-primary,
.public-btn-outline,
.btn.public-btn-primary,
.btn.public-btn-outline {
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
}

.public-btn-primary {
    box-shadow: 0 18px 30px rgba(31, 67, 50, 0.18);
}

.public-mobile-drawer {
    max-width: 330px;
    background:
        radial-gradient(circle at top right, rgba(201, 154, 58, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(252, 248, 242, 0.98) 0%, rgba(244, 236, 223, 0.98) 100%);
    border-left: 1px solid rgba(31, 67, 50, 0.08);
}

.public-mobile-brand-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 67, 50, 0.08);
    box-shadow: 0 14px 30px rgba(31, 49, 36, 0.08);
}

.public-mobile-nav {
    display: grid;
    gap: 0.7rem;
}

.public-mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(31, 67, 50, 0.08);
    color: var(--brand-ink);
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(31, 49, 36, 0.06);
}

.public-mobile-nav-link.active {
    background: linear-gradient(135deg, rgba(31, 67, 50, 0.12) 0%, rgba(201, 154, 58, 0.14) 100%);
    color: var(--brand-forest);
}

.public-mobile-nav-link-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding-inline: 0.55rem;
    border-radius: 999px;
    background: rgba(31, 67, 50, 0.1);
    color: var(--brand-forest);
    font-size: 0.78rem;
    font-weight: 800;
}

.public-mobile-support {
    padding: 1rem;
    border-radius: 1.3rem;
    background: linear-gradient(135deg, rgba(31, 67, 50, 0.1) 0%, rgba(201, 154, 58, 0.12) 100%);
    border: 1px solid rgba(31, 67, 50, 0.08);
}

.glass-card,
.hero-panel,
.filter-card,
.offer-card,
.product-related-card,
.home-product-grid-card,
.product-summary-card,
.product-benefit-tile,
.product-fact-card,
.product-detail-tile {
    border-color: var(--brand-line) !important;
    box-shadow: var(--brand-shadow) !important;
}

.glass-card,
.hero-panel,
.filter-card,
.product-related-card {
    background: var(--brand-surface) !important;
}

.glass-card,
.hero-panel,
.catalog-card,
.home-product-grid-card,
.product-related-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.glass-card:hover,
.hero-panel:hover,
.catalog-card:hover,
.home-product-grid-card:hover,
.product-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 70px rgba(31, 49, 36, 0.14) !important;
}

.lead,
.text-muted,
.muted-note,
.brand-tagline,
.small.text-muted {
    color: var(--brand-muted) !important;
}

.form-control,
.form-select,
.input-group-text {
    min-height: 50px;
    border-radius: 1.05rem;
    border-color: rgba(31, 67, 50, 0.14);
    background: rgba(255, 255, 255, 0.94);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(31, 67, 50, 0.26);
    box-shadow: 0 0 0 0.24rem rgba(31, 67, 50, 0.1);
}

.table-responsive {
    border-radius: 1.4rem;
    overflow: auto;
    background: rgba(255, 255, 255, 0.72);
}

.table th,
.table td,
.brand-wordmark,
.public-mobile-nav-link,
.public-mobile-support,
.muted-note,
.price-chip,
.quick-benefit-pill {
    overflow-wrap: anywhere;
}

.btn-group,
.dropdown-menu,
.modal-body,
.accordion-body,
.breadcrumb,
.public-mobile-drawer,
.offer-card,
.product-stage-card,
.glass-card,
.hero-panel {
    min-width: 0;
}

.btn-group {
    flex-wrap: wrap;
    gap: 0.55rem;
}

.dropdown-menu {
    max-width: min(92vw, 360px);
}

.site-footer {
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(201, 154, 58, 0.18), transparent 22%),
        radial-gradient(circle at bottom left, rgba(114, 140, 105, 0.12), transparent 22%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 1199.98px) {
    .brand-logo-wrap {
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 767.98px) {
    .brand-logo-wrap {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .brand-wordmark {
        font-size: 1.35rem;
    }

    .glass-card,
    .hero-panel,
    .filter-card,
    .product-stage-card {
        border-radius: 1.5rem !important;
    }

    .product-stage-media {
        min-height: 280px !important;
        border-radius: 1.45rem !important;
    }

    .table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
        width: 100%;
    }

    .table-responsive thead {
        display: none;
    }

    .table-responsive tbody {
        display: grid;
        gap: 0.85rem;
    }

    .table-responsive tr {
        padding: 0.9rem;
        border-radius: 1.15rem;
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid rgba(31, 67, 50, 0.08);
        box-shadow: 0 14px 28px rgba(31, 49, 36, 0.06);
    }

    .table-responsive td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.18rem;
        text-align: left;
        padding: 0.42rem 0;
        border: 0;
        border-bottom: 1px dashed rgba(31, 67, 50, 0.1);
    }

    .table-responsive td:last-child {
        border-bottom: 0;
    }

    .table-responsive td::before {
        content: attr(data-label);
        color: var(--brand-forest);
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .table-responsive td[colspan] {
        display: block;
        text-align: center;
    }

    .table-responsive td[colspan]::before {
        display: none;
    }

    .d-flex.gap-2,
    .d-flex.gap-3,
    .d-flex.gap-4 {
        flex-wrap: wrap;
    }
}
