:root {
            color-scheme: light;
            --brand: #F5B400;
            --brand-dark: #8a6200;
            --brand-soft: #fff1bf;
            --secondary: #4CAF50;
            --secondary-soft: #e7f6e8;
            --ink: #202124;
            --muted: #5f6368;
            --line: #e4e1d8;
            --bg: #fcfaf4;
            --card: #ffffff;
            --card-soft: rgba(255, 255, 255, .76);
            --radius: 12px;
            --radius-lg: 24px;
            --shadow: 0 10px 30px rgba(32, 33, 36, .08);
            --shadow-soft: 0 24px 60px rgba(32, 33, 36, .08);
            --bs-body-font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
            --bs-body-color: var(--ink);
            --bs-body-bg: var(--bg);
            --bs-primary: var(--brand);
            --bs-success: var(--secondary);
            --bs-border-radius: var(--radius);
            --bs-link-color: var(--brand-dark);
            --bs-link-hover-color: #6f5000;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: var(--bs-body-font-family);
            color: var(--ink);
            background: var(--bg);
            line-height: 1.5;
            font-size: .92rem;
        }

        body:not(.backend-ui) {
            background:
                radial-gradient(circle at top left, rgba(245, 180, 0, .14), transparent 24%),
                radial-gradient(circle at top right, rgba(76, 175, 80, .1), transparent 20%),
                linear-gradient(180deg, #fffdf8 0%, #fcfaf4 38%, #f8f5ec 100%);
        }

        body::selection {
            background: #fde8a8;
            color: var(--ink);
        }

        h1,
        h2,
        h3 {
            color: var(--ink);
            font-weight: 800;
            letter-spacing: 0;
        }

        h1 {
            margin: 0 0 .85rem;
            font-size: clamp(1.65rem, 3vw, 2.45rem);
        }

        h2 {
            font-size: 1.08rem;
            margin-bottom: .75rem;
        }

        a {
            color: var(--brand-dark);
            text-decoration: none;
            font-weight: 700;
        }

        a:hover {
            color: #6f5000;
            text-decoration: underline;
            text-underline-offset: .2em;
        }

        .site-header {
            background: rgba(252, 250, 244, .74);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(228, 225, 216, .72);
            position: sticky;
            top: 0;
            z-index: 20;
        }

        .site-shell {
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .site-nav {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            gap: 1rem;
            align-items: center;
            min-height: 86px;
        }

        .brand-mark {
            display: inline-flex;
            align-items: center;
            gap: .9rem;
            color: var(--ink);
            text-decoration: none;
        }

        .brand-mark:hover {
            color: var(--ink);
            text-decoration: none;
        }

        .brand-mark img {
            width: 56px;
            height: 56px;
            object-fit: contain;
            border-radius: 16px;
            box-shadow: 0 10px 24px rgba(245, 180, 0, .18);
        }

        .brand-mark__title {
            display: block;
            font-weight: 800;
            font-size: 1.15rem;
            line-height: 1;
        }

        .brand-mark__subtitle {
            display: block;
            margin-top: .18rem;
            color: var(--muted);
            font-size: .76rem;
            font-weight: 700;
            letter-spacing: .05em;
            text-transform: uppercase;
        }

        .site-nav__center {
            min-width: 0;
        }

        .site-nav__center.collapse:not(.show) {
            display: block;
        }

        .site-nav__links {
            display: flex;
            gap: .6rem;
            align-items: center;
            flex-wrap: wrap;
        }

        .site-nav__links--public {
            justify-content: center;
        }

        .site-nav__link {
            color: var(--ink);
            border-radius: 999px;
            padding: .55rem .82rem;
            font-weight: 700;
            font-size: .92rem;
            transition: background-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
        }

        .site-nav__link:hover {
            background: rgba(255, 243, 199, .88);
            color: var(--ink);
            text-decoration: none;
            transform: translateY(-1px);
        }

        .site-nav__link.is-active {
            background: var(--brand);
            box-shadow: 0 10px 18px rgba(245, 180, 0, .22);
        }

        .site-nav__link-icon {
            display: inline-flex;
            align-items: center;
            gap: .45rem;
        }

        .site-nav__actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: .55rem;
        }

        .site-nav__mobile-bar {
            display: none;
        }

        .site-nav__icon-link,
        .site-nav__user-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            min-width: 44px;
            min-height: 44px;
            padding: 0 .85rem;
            border-radius: 999px;
            border: 1px solid rgba(32, 33, 36, .08);
            background: rgba(255, 255, 255, .72);
            color: var(--ink);
            text-decoration: none;
            transition: background-color .16s ease, transform .16s ease, border-color .16s ease;
        }

        .site-nav__icon-link:hover,
        .site-nav__user-toggle:hover,
        .site-nav__icon-link:focus-visible,
        .site-nav__user-toggle:focus-visible {
            background: #fff6d8;
            border-color: rgba(245, 180, 0, .42);
            color: var(--ink);
            text-decoration: none;
            transform: translateY(-1px);
        }

        .site-nav__icon-link {
            position: relative;
            padding: 0;
        }

        .site-nav__cart-badge {
            position: absolute;
            top: 4px;
            right: 4px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 17px;
            height: 17px;
            padding: 0 4px;
            border-radius: 999px;
            background: var(--brand);
            border: 1px solid #fff;
            color: var(--ink);
            font-size: .68rem;
            font-weight: 800;
            box-shadow: 0 8px 16px rgba(245, 180, 0, .25);
        }

        .site-nav__user-toggle.dropdown-toggle::after {
            margin-left: .15rem;
        }

        .site-nav__user-label {
            font-size: .84rem;
            font-weight: 800;
        }

        .site-nav__toggle {
            align-items: center;
            background: rgba(255, 255, 255, .78);
            border: 1px solid rgba(32, 33, 36, .08);
            border-radius: 999px;
            color: var(--ink);
            display: inline-flex;
            justify-content: center;
            min-width: 44px;
            min-height: 44px;
            padding: 0;
        }

        .site-nav__toggle:hover,
        .site-nav__toggle:focus-visible {
            background: #fff6d8;
            border-color: rgba(245, 180, 0, .42);
        }

        .site-nav__account-menu {
            min-width: 240px;
            padding: .5rem;
            border-radius: 16px;
            border: 1px solid rgba(32, 33, 36, .08);
            box-shadow: 0 18px 42px rgba(32, 33, 36, .12);
        }

        .site-nav__account-menu .dropdown-item {
            border-radius: 10px;
            font-weight: 700;
            padding: .7rem .85rem;
        }

        .site-nav__account-menu .dropdown-item i {
            margin-right: .55rem;
        }

        .site-nav__account-menu .dropdown-divider {
            margin: .35rem 0;
        }

        .site-nav__logout-form {
            margin: 0;
        }

        .site-nav__logout-button {
            width: 100%;
            border: 0;
            background: transparent;
            color: #b42318;
            justify-content: flex-start;
            min-height: 0;
            box-shadow: none;
            padding: .7rem .85rem;
        }

        .site-nav__logout-button:hover,
        .site-nav__logout-button:focus-visible {
            background: #fff1f0;
            color: #b42318;
            box-shadow: none;
            transform: none;
        }

        .site-nav__mobile-auth {
            display: none;
        }

        .panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            min-height: 72px;
            padding: .9rem 0;
        }

        .panel-header__brand {
            display: inline-flex;
            align-items: center;
            gap: .8rem;
            color: var(--ink);
            text-decoration: none;
        }

        .panel-header__brand:hover {
            color: var(--ink);
            text-decoration: none;
        }

        .panel-header__brand img {
            width: 42px;
            height: 42px;
            object-fit: contain;
        }

        .panel-header__brand-copy {
            display: grid;
            gap: .1rem;
        }

        .panel-header__title {
            font-size: 1rem;
            font-weight: 800;
            line-height: 1;
        }

        .panel-header__subtitle {
            color: var(--muted);
            font-size: .75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .04em;
        }

        .panel-header__actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: wrap;
            gap: .55rem;
        }

        .panel-header__link {
            display: inline-flex;
            align-items: center;
            gap: .45rem;
            min-height: 40px;
            padding: 0 .9rem;
            border-radius: 999px;
            border: 1px solid rgba(32, 33, 36, .08);
            background: rgba(255, 255, 255, .78);
            color: var(--ink);
            text-decoration: none;
            font-size: .86rem;
            font-weight: 800;
        }

        .panel-header__link:hover,
        .panel-header__link:focus-visible {
            background: #fff6d8;
            border-color: rgba(245, 180, 0, .42);
            color: var(--ink);
            text-decoration: none;
        }

        .panel-header__logout {
            min-height: 40px !important;
            padding: 0 .9rem !important;
            box-shadow: none !important;
        }

        .panel-header__user {
            align-items: center;
            background: #202124;
            border: 1px solid #202124;
            border-radius: 999px;
            color: #fff;
            display: inline-flex;
            font-size: .86rem;
            font-weight: 800;
            gap: .5rem;
            min-height: 40px;
            padding: 0 .95rem;
        }

        .panel-header__user:hover,
        .panel-header__user:focus-visible {
            background: #3a3b3d;
            border-color: #3a3b3d;
            color: #fff;
            outline: 3px solid #0b5ed7;
            outline-offset: 2px;
        }

        .public-main {
            position: relative;
        }

        main {
            max-width: 1180px;
            margin: 0 auto;
            padding: 1.8rem 1rem 3.4rem;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1.25rem;
        }

        .card {
            background: var(--card);
            border: 1px solid rgba(32, 33, 36, .06);
            border-radius: 14px;
            box-shadow: var(--shadow-soft);
            padding: 1.25rem;
        }

        .page-kicker {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            padding: .38rem .78rem;
            border-radius: 999px;
            background: rgba(255, 255, 255, .72);
            border: 1px solid rgba(32, 33, 36, .08);
            color: var(--brand-dark);
            font-weight: 800;
            margin-bottom: .75rem;
            text-transform: uppercase;
            font-size: .72rem;
            letter-spacing: .08em;
        }

.page-intro {
            max-width: 680px;
            margin-bottom: 1.4rem;
            color: var(--muted);
            font-size: .93rem;
        }

        .product-card {
            display: grid;
            gap: .9rem;
            min-height: 100%;
            align-content: start;
            position: relative;
            overflow: hidden;
            padding: .9rem;
            border-radius: 22px;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .94)),
                linear-gradient(135deg, rgba(245, 180, 0, .06), rgba(76, 175, 80, .04));
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
        }

        .product-card__image {
            aspect-ratio: 4 / 3;
            border-radius: 18px;
            display: block;
            margin: 0 auto;
            object-fit: cover;
            width: 100%;
            background: #f3eee3;
            box-shadow: inset 0 0 0 1px rgba(32, 33, 36, .05);
        }

        .product-card:hover {
            transform: translateY(-4px);
            border-color: rgba(245, 180, 0, .34);
            box-shadow: 0 22px 44px rgba(32, 33, 36, .11);
        }

        .product-card h2 {
            margin: 0;
            font-size: 1.08rem;
            line-height: 1.2;
        }

        .product-card__seller {
            color: #1f6b23;
            font-weight: 800;
            margin: 0;
            font-size: .84rem;
        }

        .product-card__seller-link {
            color: #1f6b23;
            font-weight: 800;
        }

        .product-card__description {
            min-height: 2.6em;
        }

        .product-card > .button,
        .product-card > form {
            margin-top: auto;
        }

        .product-card > form > button {
            width: 100%;
        }

        .product-card__seller-link:hover {
            color: #164d19;
            text-decoration: underline;
        }

        .product-card__description {
            color: var(--muted);
            margin: 0;
            font-size: .88rem;
            line-height: 1.55;
        }

        .product-card__meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: .5rem;
            margin-top: auto;
        }

        .product-card__title-link {
            color: inherit;
            font-weight: inherit;
        }

        .product-card__title-link:hover {
            color: inherit;
            text-decoration: none;
        }

        .product-card form {
            display: block;
            width: 100%;
        }

        .product-card .button,
        .product-card form button {
            width: 100%;
        }

        .catalog-detail {
            display: grid;
            gap: 1.2rem;
        }

        .catalog-detail__back {
            width: max-content;
        }

        .catalog-detail__card {
            display: grid;
            gap: 1.5rem;
            grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
            align-items: start;
            padding: 1.4rem;
            border-radius: 24px;
            background:
                radial-gradient(circle at top left, rgba(245, 180, 0, .12), transparent 22%),
                linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(255, 255, 255, .95));
        }

        .catalog-detail__media {
            min-width: 0;
            width: 100%;
            max-width: 420px;
        }

        .catalog-detail__image {
            width: 100%;
            max-width: 420px;
            aspect-ratio: 1/1;
            object-fit: cover;
            border-radius: 22px;
            background: #fff8dd;
            display: block;
            box-shadow: inset 0 0 0 1px rgba(32, 33, 36, .06);
        }

        .catalog-detail__content {
            display: grid;
            gap: 1rem;
            align-content: start;
        }

        .catalog-detail__title {
            margin: 0;
            font-size: clamp(2rem, 4vw, 2.8rem);
            line-height: .98;
        }

        .catalog-detail__description {
            margin: 0;
            color: var(--muted);
            font-size: .98rem;
            line-height: 1.7;
        }

        .catalog-detail__options {
            display: grid;
            gap: .9rem;
        }

        .catalog-option-group {
            display: grid;
            gap: .45rem;
        }

        .catalog-option-group__label {
            font-size: .8rem;
            font-weight: 800;
            color: var(--ink);
            text-transform: uppercase;
            letter-spacing: .04em;
        }

        .catalog-option-group__chips {
            display: flex;
            flex-wrap: wrap;
            gap: .6rem;
        }

        .catalog-variant-chip {
            align-items: center;
            background: transparent;
            border: 1px solid #d7ceb9;
            border-radius: 999px;
            color: #202124;
            cursor: pointer;
            display: inline-flex;
            font-size: .82rem;
            font-weight: 700;
            justify-content: center;
            min-height: 38px;
            padding: .42rem .86rem;
        }

        .catalog-variant-chip:hover {
            background: rgba(245, 180, 0, .08);
            border-color: rgba(138, 98, 0, .34);
            color: #202124;
        }

        .catalog-variant-chip.is-active,
        .catalog-variant-chip[aria-pressed="true"] {
            background: #fff6d8;
            border-color: #202124;
            color: #202124;
            box-shadow: inset 0 0 0 1px rgba(32, 33, 36, .08);
        }

.catalog-detail__purchase {
            display: flex;
            align-items: center;
            gap: .55rem;
            padding-top: .1rem;
        }

        .catalog-detail__purchase-info {
            flex: 1 1 auto;
            min-width: 0;
        }

        .catalog-detail__purchase .custom-qty-container {
            flex: 0 0 auto;
            order: 2;
        }

        .catalog-detail__purchase > button,
        .catalog-detail__purchase > a {
            flex: 0 0 auto;
            order: 3;
        }

        .catalog-detail__purchase-info { order: 1; }

        .market-carousel {
            margin-bottom: 2rem;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            background: #fff;
            border: 1px solid rgba(32, 33, 36, .06);
        }

        .market-carousel img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .market-carousel__item {
            background: linear-gradient(110deg, #f7f0dc 8%, #fffaf0 18%, #f7f0dc 33%);
            background-size: 220% 100%;
            min-height: clamp(180px, 25vw, 480px);
            animation: market-carousel-shimmer 1.6s linear infinite;
        }

        .market-carousel__item.is-loaded {
            animation: none;
        }

.market-carousel__image {
            opacity: 1;
            transition: opacity .28s ease;
        }

        .market-carousel__item.is-loaded .market-carousel__image {
            opacity: 1;
        }

        @keyframes market-carousel-shimmer {
            to { background-position: -220% 0; }
        }

        .market-carousel .carousel-caption {
            background: linear-gradient(180deg, rgba(18, 18, 20, .78), rgba(18, 18, 20, .64));
            border: 1px solid rgba(255, 255, 255, .08);
            border-radius: 16px;
            color: #fff;
            left: 1rem;
            right: 1rem;
            bottom: 1rem;
            padding: .9rem 1rem;
            text-align: left;
            backdrop-filter: blur(10px);
            max-width: min(38rem, calc(100% - 2rem));
        }

        .market-carousel .carousel-caption h2 {
            color: #fff;
            font-size: clamp(1.1rem, 2.4vw, 1.8rem);
            line-height: 1.15;
            margin: 0;
        }

        .market-carousel .carousel-caption p {
            margin: .35rem 0 0;
            color: rgba(255, 255, 255, .92);
            font-size: clamp(.85rem, 1.4vw, 1rem);
            font-weight: 500;
            line-height: 1.45;
        }

        .market-carousel .carousel-control-prev,
        .market-carousel .carousel-control-next {
            align-items: center;
            background: transparent;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            display: flex;
            justify-content: center;
            min-height: auto;
            padding: 0;
            width: 9%;
            opacity: 1;
        }

        .market-carousel .carousel-control-prev:hover,
        .market-carousel .carousel-control-next:hover,
        .market-carousel .carousel-control-prev:focus,
        .market-carousel .carousel-control-next:focus,
        .market-carousel .carousel-control-prev:focus-visible,
        .market-carousel .carousel-control-next:focus-visible {
            background: transparent;
            border-color: transparent;
            box-shadow: none;
            outline: 0;
        }

        .market-carousel .carousel-control-prev-icon,
        .market-carousel .carousel-control-next-icon {
            width: 2rem;
            height: 2rem;
            border-radius: 999px;
            background-color: rgba(255, 255, 255, .18);
            background-size: .62rem;
            box-shadow: none;
            backdrop-filter: blur(8px);
        }

        .market-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
        .market-carousel .carousel-control-next:hover .carousel-control-next-icon {
            background-color: rgba(255, 255, 255, .28);
        }

        .market-carousel .carousel-indicators [data-bs-target] {
            border: 0;
            border-radius: 999px;
            min-height: 3px;
            padding: 0;
        }

        .carousel-admin-preview {
            border-radius: 14px !important;
            height: auto;
            max-width: 160px;
            width: 100%;
        }

        .chip-list {
            display: flex;
            flex-wrap: wrap;
            gap: .5rem;
        }

        .chip {
            align-items: center;
            background: #fff8dd;
            border: 1px solid #f1d46f;
            border-radius: 999px;
            color: var(--ink);
            display: inline-flex;
            gap: .35rem;
            padding: .35rem .7rem;
        }

        .button,
        button:not(.btn):not(.catalog-variant-chip):not(.carousel-control-prev):not(.carousel-control-next) {
            align-items: center;
            background: linear-gradient(180deg, #f8c021 0%, #f0af00 100%);
            border: 1px solid #e2a400;
            border-radius: 999px;
            box-shadow: 0 10px 20px rgba(245, 180, 0, .2);
            color: var(--ink);
            cursor: pointer;
            display: inline-flex;
            font-size: .89rem;
            font-weight: 800;
            justify-content: center;
            min-height: 46px;
            padding: .65rem 1.05rem;
            text-decoration: none;
            transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
        }

        .button:hover,
        button:not(.btn):not(.catalog-variant-chip):not(.carousel-control-prev):not(.carousel-control-next):hover {
            background: linear-gradient(180deg, #fcc72f 0%, #e6a700 100%);
            border-color: #d59c00;
            box-shadow: 0 14px 22px rgba(245, 180, 0, .24);
            color: var(--ink);
            text-decoration: none;
            transform: translateY(-1px);
        }

        .button.is-busy,
        button.is-busy:not(.btn):not(.catalog-variant-chip):not(.carousel-control-prev):not(.carousel-control-next) {
            opacity: .82;
            cursor: progress;
        }

        .button[aria-disabled="true"] {
            opacity: .6;
            pointer-events: none;
        }

        .button.secondary,
        button.secondary:not(.btn):not(.catalog-variant-chip):not(.carousel-control-prev):not(.carousel-control-next) {
            background: rgba(255, 255, 255, .72);
            border-color: rgba(76, 175, 80, .32);
            box-shadow: none;
            color: #1f6b23;
        }

        .button.secondary:hover,
        button.secondary:not(.btn):not(.catalog-variant-chip):not(.carousel-control-prev):not(.carousel-control-next):hover {
            background: #ecf7ed;
            color: #164d19;
            transform: translateY(-1px);
        }

        .pagination-nav {
            align-items: center;
            display: flex;
            flex-wrap: wrap;
            gap: .75rem;
            justify-content: space-between;
            margin-top: 1rem;
        }

        .pagination-nav__summary {
            color: var(--muted);
            font-size: .86rem;
        }

        .pagination-nav__actions {
            display: flex;
            gap: .5rem;
        }

        input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
        select,
        textarea {
            background: #fcfcfb;
            border: 1px solid #b5b8bd;
            border-radius: var(--radius);
            color: var(--ink);
            display: block;
            margin: .4rem 0 1rem;
            min-height: 40px;
            padding: .58rem .8rem;
            font-size: .92rem;
            width: 100%;
        }

        textarea {
            min-height: 96px;
        }

        input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):focus,
        select:focus,
        textarea:focus,
        button:not(.btn):focus-visible,
        a:focus-visible {
            border-color: #0b5ed7;
            box-shadow: 0 0 0 .22rem rgba(11, 94, 215, .16);
            outline: 0;
        }

        label {
            color: var(--ink);
            font-weight: 700;
            font-size: .84rem;
        }

        label input[type="checkbox"] {
            display: inline-block;
            min-height: auto;
            width: auto;
            margin: .25rem .5rem .25rem 0;
            accent-color: var(--secondary);
        }

        a.btn,
        .btn {
            font-weight: 800;
            text-decoration: none;
        }

        a.btn:hover {
            text-decoration: none;
        }

        .btn-close {
            --bs-btn-close-color: var(--ink);
            --bs-btn-close-bg: none;
            align-items: center;
            background: #f3efe4;
            border: 1px solid var(--line);
            border-radius: 999px;
            color: var(--ink);
            display: inline-flex;
            flex: 0 0 auto;
            font-size: 1rem;
            height: 2rem;
            justify-content: center;
            opacity: 1;
            padding: 0;
            position: relative;
            width: 2rem;
        }

        .btn-close::before,
        .btn-close::after {
            background: currentColor;
            border-radius: 999px;
            content: "";
            height: 2px;
            position: absolute;
            width: .85rem;
        }

        .btn-close::before {
            transform: rotate(45deg);
        }

        .btn-close::after {
            transform: rotate(-45deg);
        }

        .btn-close:hover {
            background: #ebe4d2;
            color: var(--ink);
            opacity: 1;
        }

        .btn-close:focus {
            box-shadow: 0 0 0 .22rem rgba(245, 180, 0, .28);
            opacity: 1;
        }

        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background: white;
            border: 1px solid var(--line);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        th,
        td {
            padding: .85rem;
            border-bottom: 1px solid var(--line);
            text-align: left;
            vertical-align: middle;
        }

        th {
            background: #fff8dd;
            font-size: .74rem;
            text-transform: uppercase;
            letter-spacing: .03em;
        }

        tr:last-child td {
            border-bottom: 0;
        }

        .notice {
            padding: .85rem 1rem;
            border-radius: var(--radius);
            margin-bottom: 1rem;
            background: #edf8ee;
            border: 1px solid #cfead1;
            color: #1f5b22;
            font-size: .9rem;
        }

        .error {
            background: #fff1f0;
            border-color: #ffd3cf;
            color: #9b2118;
        }

        .muted {
            color: var(--muted);
        }

        .password-validator {
            margin: -4px 0 12px;
        }

        .password-validator__track {
            height: 6px;
            overflow: hidden;
            border-radius: 999px;
            background: #e5e7eb;
        }

        .password-validator__bar {
            width: 0;
            height: 100%;
            background: #dc2626;
            transition: width .18s ease, background .18s ease;
        }

        .password-validator__message {
            min-height: 18px;
            margin: 6px 0 0;
            font-size: .9rem;
            color: var(--muted);
        }

        .password-validator.is-invalid .password-validator__bar {
            width: 100%;
            background: #dc2626;
        }

        .password-validator.is-valid .password-validator__bar {
            width: 100%;
            background: #16a34a;
        }

        .password-validator.is-invalid .password-validator__message {
            color: #b91c1c;
        }

        .password-validator.is-valid .password-validator__message {
            color: #15803d;
        }

        .price {
            font-weight: 800;
            font-size: 1rem;
            color: var(--ink);
        }

        .price-stack {
            display: inline-flex;
            flex-direction: column;
            gap: .1rem;
            line-height: 1.15;
        }

        .price-old {
            color: var(--muted);
            text-decoration: line-through;
            font-size: .82em;
            font-weight: 600;
        }

        .price-offer,
        .price-current {
            color: var(--ink);
            font-weight: 800;
        }

        .content-page {
            max-width: 760px;
            margin: 0 auto;
        }

        .content-page__body {
            display: grid;
            gap: .85rem;
            color: var(--ink);
        }

        .content-page__body p {
            margin: 0;
            color: var(--muted);
        }

        .content-form {
            display: grid;
            gap: 1rem;
        }

        .content-form__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .content-form__full {
            grid-column: 1 / -1;
        }

        .content-form__actions {
            display: flex;
            justify-content: flex-end;
        }

        .site-footer {
            position: relative;
            margin-top: 3rem;
            padding: 2rem 0 2.4rem;
            background:
                radial-gradient(circle at bottom right, rgba(245, 180, 0, .14), transparent 22%),
                linear-gradient(180deg, rgba(255, 255, 255, .56), rgba(255, 255, 255, .86));
            border-top: 1px solid rgba(228, 225, 216, .8);
        }

        .site-footer__inner {
            align-items: center;
            display: flex;
            gap: 1rem;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 1.2rem 1.4rem;
            background: rgba(255, 255, 255, .78);
            border: 1px solid rgba(32, 33, 36, .06);
            border-radius: 22px;
            box-shadow: var(--shadow);
        }

        .site-footer__links {
            display: flex;
            flex-wrap: wrap;
            gap: .85rem 1rem;
        }

        .site-footer__links a {
            color: var(--brand-dark);
            font-size: .88rem;
            font-weight: 700;
        }

        .site-footer__links a:hover {
            color: #6f5000;
            text-decoration: underline;
        }

        .footer-badge img {
            display: block;
            height: 20px;
            width: auto;
        }

        .admin-sku-field {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: .75rem;
            min-height: 44px;
        }

        .admin-sku-field__value {
            font-weight: 700;
            color: var(--ink);
            word-break: break-word;
        }

        .admin-flow-steps {
            display: grid;
            gap: .75rem;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        }

        .admin-flow-step {
            display: flex;
            align-items: center;
            gap: .75rem;
            padding: .9rem 1rem;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: #fff;
        }

        .admin-flow-step.is-active {
            border-color: #f5b400;
            background: #fff8dd;
        }

        .admin-flow-step__index {
            width: 1.9rem;
            height: 1.9rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #202124;
            color: #fff;
            font-weight: 700;
            font-size: .85rem;
            flex: 0 0 auto;
        }

        .admin-flow-step.is-active .admin-flow-step__index {
            background: #f5b400;
            color: #202124;
        }

        .admin-flow-step__label {
            font-weight: 600;
            color: var(--ink);
        }

        .admin-variant-hint {
            padding: .9rem 1rem;
            border: 1px solid #f2deb0;
            border-radius: 12px;
            background: #fffaf0;
        }

        .admin-variant-hint__title {
            font-weight: 700;
            color: var(--ink);
            margin-bottom: .2rem;
        }

        .admin-variant-hint__text {
            color: var(--muted);
            font-size: .95rem;
        }

        .admin-cell-label {
            display: none;
            font-size: .72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .03em;
            color: var(--muted);
            margin-bottom: .35rem;
        }

        [x-cloak] {
            display: none !important;
        }

        .busy-overlay {
            position: fixed;
            inset: 0;
            z-index: 3000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            background: rgba(252, 250, 244, .78);
            backdrop-filter: blur(12px);
            opacity: 0;
            pointer-events: none;
            transition: opacity .18s ease;
        }

        .busy-overlay.is-visible {
            opacity: 1;
            pointer-events: auto;
        }

        .busy-overlay__dialog {
            width: min(100%, 420px);
            padding: 1.5rem;
            border-radius: 24px;
            border: 1px solid rgba(32, 33, 36, .08);
            background:
                radial-gradient(circle at top left, rgba(245, 180, 0, .14), transparent 28%),
                linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .94));
            box-shadow: 0 30px 80px rgba(32, 33, 36, .14);
            text-align: center;
        }

        .busy-overlay__spinner {
            width: 58px;
            height: 58px;
            margin: 0 auto 1rem;
            border-radius: 999px;
            border: 4px solid rgba(245, 180, 0, .2);
            border-top-color: var(--brand);
            animation: busy-spin .8s linear infinite;
        }

        .busy-overlay__title {
            margin: 0 0 .45rem;
            font-size: 1.25rem;
            font-weight: 800;
        }

        .busy-overlay__message {
            margin: 0;
            color: var(--muted);
            font-size: .95rem;
            line-height: 1.6;
        }

        @keyframes busy-spin {
            to {
                transform: rotate(360deg);
            }
        }

        @media (max-width: 992px) {
            .site-nav {
                grid-template-columns: auto 1fr;
                align-items: center;
                padding: .9rem 0;
                min-height: auto;
            }

            .site-nav__center {
                grid-column: 1 / -1;
                width: 100%;
            }

            .site-nav__center.collapse:not(.show) {
                display: none;
            }

            .site-nav__center.collapse.show {
                display: block;
            }

            .site-nav__links {
                justify-content: flex-start;
                width: 100%;
            }

            .site-nav__links--public {
                flex-direction: column;
                align-items: stretch;
                gap: .25rem;
                padding-top: .8rem;
            }

            .site-nav__link {
                width: 100%;
                text-align: left;
            }

            .site-nav__actions--desktop {
                display: none;
            }

            .site-nav__mobile-bar {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                gap: .45rem;
            }

            .site-nav__mobile-auth {
                display: flex;
                align-items: center;
                gap: .6rem;
                padding-top: .85rem;
                margin-top: .85rem;
                border-top: 1px solid rgba(32, 33, 36, .08);
            }

            main {
                padding-top: 1.3rem;
            }

            .catalog-detail__card {
                grid-template-columns: 280px minmax(0, 1fr);
                gap: 1.25rem;
            }

            .catalog-detail__media,
            .catalog-detail__image {
                max-width: 280px;
            }
        }

        @media (max-width: 720px) {
            .site-nav {
                padding: 1rem 0;
            }

            .site-nav__link {
                padding: .45rem .65rem;
            }

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

            .panel-header__actions {
                justify-content: flex-start;
            }

            main {
                padding-top: 1.25rem;
            }

            table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }

            .content-form__grid {
                grid-template-columns: 1fr;
            }

            .catalog-detail__card {
                grid-template-columns: 1fr;
                padding: 1rem;
            }

            .catalog-detail__media,
            .catalog-detail__image {
                max-width: none;
                width: 100%;
            }

            .catalog-detail__title {
                font-size: 1.45rem;
            }

            .catalog-option-group__chips {
                gap: .45rem;
            }

            .catalog-variant-chip {
                font-size: .82rem;
                min-height: 36px;
                padding: .4rem .7rem;
            }

            .site-footer__inner {
                align-items: flex-start;
                flex-direction: column;
                padding: 1rem;
            }

            .admin-cell-label {
                display: block;
            }
        }

/* --- checkout --- */
.checkout-page {
    padding: 1.25rem 0 2rem;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, .75fr);
    gap: 1.25rem;
    align-items: start;
}

.account-card { padding: 1.35rem; }
.account-card__heading { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.account-card__heading h2 { margin: 0; font-size: 1.12rem; }
.account-card__heading p { margin: .35rem 0 0; color: var(--muted); font-size: .86rem; }
.account-card__icon { color: var(--brand-dark); font-size: 1.45rem; }
.account-sidebar { display: grid; gap: 1rem; }
.account-password-layout { max-width: 620px; }
.account-form { display: grid; gap: 1rem; }
.account-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.account-form label { display: grid; gap: .4rem; color: var(--ink); font-weight: 800; font-size: .82rem; }
.account-form input, .account-form select { width: 100%; min-height: 44px; border: 1px solid rgba(32,33,36,.2); border-radius: 12px; padding: .65rem .8rem; background: #fff; color: var(--ink); font: inherit; font-weight: 500; }
.account-form input:focus, .account-form select:focus { border-color: var(--brand); outline: 3px solid rgba(245,180,0,.2); }
.account-form input:disabled, .account-form select:disabled { background: #f1f0eb; color: #777; cursor: not-allowed; opacity: 1; }
.account-form__actions { display: flex; justify-content: flex-end; padding-top: .25rem; }
.account-form__hint, .account-lock-note { display: flex; align-items: flex-start; gap: .55rem; margin: 0; padding: .75rem .85rem; border-radius: 12px; font-size: .82rem; }
.account-form__hint { background: #fff9e8; color: #725a10; }
.account-lock-note { background: #f5f4ef; color: var(--muted); }

@media (max-width: 760px) {
    .account-layout, .account-form__grid { grid-template-columns: 1fr; }
    .account-form__actions .button { width: 100%; }
}

.checkout-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
    align-items: start;
}

.checkout-page__header {
    align-items: end;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
    margin-bottom: 1rem;
}

.checkout-page__header > div {
    grid-column: 1;
    grid-row: 1;
}

.checkout-page__header > a {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.checkout-form,
.checkout-summary {
    padding: 1.15rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.checkout-form__section {
    background: rgba(255, 255, 255, .58);
    border: 1px solid #ebe4d5;
    border-radius: 20px;
    display: grid;
    gap: .85rem;
    padding: 1rem;
}

.checkout-form__section + .checkout-form__section {
    border-top: 1px solid #ebe4d5;
    padding-top: 1rem;
}

.checkout-form__section h2 {
    margin: 0;
}

.checkout-form__grid {
    display: grid;
    gap: .85rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-form__full {
    grid-column: 1 / -1;
}

.checkout-form label {
    display: grid;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.35;
}

.checkout-form__grid > label,
.checkout-bank-panel > label {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.checkout-form__grid > label > input,
.checkout-form__grid > label > select,
.checkout-bank-panel > label > select {
    flex: 0 0 44px;
    height: 44px;
    margin: 0 !important;
}

.checkout-form__grid > label > textarea {
    margin: 0 !important;
}

.checkout-form label.checkout-payment-option {
    display: grid;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    background-color: #fcfcfb;
    border: 1px solid #b5b8bd;
    border-radius: 14px !important;
    font-size: .92rem;
    line-height: 1.2;
    margin: 0;
    padding: .72rem .85rem;
    width: 100%;
}

.checkout-form label > input,
.checkout-form label > select,
.checkout-form label > textarea {
    align-self: start;
    margin: 0 !important;
}

.checkout-form label > select {
    display: block;
}

.checkout-form input:hover,
.checkout-form select:hover,
.checkout-form textarea:hover {
    border-color: #737981;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    border-color: #0b5ed7;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, .16);
    outline: 0;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    border-radius: 14px !important;
}

.checkout-form input,
.checkout-form select {
    min-height: 44px;
}

.checkout-form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%235f6368' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right .85rem center;
    background-repeat: no-repeat;
    background-size: .9rem;
    height: 44px;
    padding-bottom: .55rem;
    padding-right: 2.4rem;
    padding-top: .55rem;
}

.checkout-form textarea {
    min-height: 112px;
    padding-block: .78rem;
    resize: vertical;
}

.checkout-payment-options,
.checkout-delivery-options {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.checkout-payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-payment-option {
    align-content: start;
    background: #fff;
    border: 1px solid #b5b8bd;
    border-radius: 20px;
    cursor: pointer;
    display: grid;
    gap: .4rem;
    min-height: 92px;
    padding: .85rem .95rem;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, transform .15s ease;
}

.checkout-payment-option:hover {
    border-color: #737981;
    box-shadow: 0 3px 10px rgba(32, 33, 36, .1);
    transform: translateY(-2px);
}

.checkout-payment-option__input {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    left: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    top: 0;
    white-space: nowrap;
    width: 1px;
}

.checkout-payment-option__head {
    align-items: center;
    display: flex;
    gap: .65rem;
    justify-content: space-between;
}

.checkout-payment-option__title {
    align-items: center;
    display: inline-flex;
    gap: .55rem;
    font-size: .92rem;
    font-weight: 700;
}

.checkout-payment-option__meta {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
}

.checkout-payment-option__check {
    align-items: center;
    background: #fff;
    border: 1px solid #8a9098;
    border-radius: 14px;
    color: transparent;
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.35rem;
    justify-content: center;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
    width: 1.35rem;
}

.checkout-payment-option.is-selected {
    background: #fff9eb;
    border-color: #9b6c00;
    box-shadow: 0 0 0 2px rgba(245, 180, 0, .2);
}

.checkout-payment-option:has(.checkout-payment-option__input:focus-visible) {
    outline: 3px solid #0b5ed7;
    outline-offset: 3px;
}

.checkout-payment-option.is-selected .checkout-payment-option__check {
    background: #f5b400;
    border-color: #f5b400;
    color: #1f1f1f;
}

.checkout-bank-panel {
    background: #f5f3ed;
    border: 1px solid #b7afa0;
    border-radius: 16px;
    display: grid;
    gap: .75rem;
    padding: .9rem;
}

.checkout-bank-details {
    background: #fff;
    border: 1px solid #9ea4aa;
    border-radius: 14px;
    color: var(--ink);
    font-size: .84rem;
    padding: .8rem;
    white-space: pre-line;
}

.checkout-bank-details--pickup {
    padding: .55rem .7rem;
}

.checkout-summary {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 1rem;
    background:
        radial-gradient(circle at top right, rgba(245, 180, 0, .14), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(255, 255, 255, .95));
}

.checkout-summary__items {
    display: grid;
    gap: .75rem;
}

.checkout-summary__item {
    display: grid;
    gap: .15rem;
}

.checkout-summary__item-name {
    font-weight: 800;
}

.checkout-summary__item-meta {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
}

.checkout-summary__totals {
    border-top: 1px solid var(--line);
    display: grid;
    gap: .6rem;
    padding-top: .9rem;
}

.checkout-summary__row {
    align-items: center;
    display: flex;
    font-size: .88rem;
    gap: 1rem;
    justify-content: space-between;
}

.checkout-summary__row strong {
    font-size: .98rem;
}

.checkout-summary__row--discount span:last-child {
    color: #1e7e34;
    font-weight: 800;
}

.checkout-summary__submit {
    display: grid;
    gap: .65rem;
}

.checkout-summary__help {
    color: var(--muted);
    font-size: .78rem;
    margin: 0;
}

.checkout-inline-feedback {
    font-size: .78rem;
    font-weight: 700;
    min-height: 1.1rem;
}

.checkout-inline-feedback.is-success {
    color: #1e7e34;
}

.checkout-inline-feedback.is-error {
    color: #a61b1b;
}

.altcha-status {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: .45rem;
    margin-top: .45rem;
}

.altcha-status[hidden] {
    display: none;
}

.altcha-status__spinner {
    animation: altcha-spin .8s linear infinite;
    border: 2px solid rgba(95, 99, 104, .2);
    border-radius: 50%;
    border-top-color: #8a8f96;
    height: .82rem;
    width: .82rem;
}

@keyframes altcha-spin {
    to { transform: rotate(360deg); }
}

.checkout-document-input.is-valid {
    border-color: #69b982;
    box-shadow: 0 0 0 3px rgba(105, 185, 130, .14);
}

.checkout-form input.checkout-document-input.is-invalid,
.checkout-form input.checkout-document-input.is-invalid:focus {
    background-color: #fff4f4;
    border: 2px solid #b42318;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, .2);
}

.register-document-input.is-valid {
    border-color: #69b982;
    box-shadow: 0 0 0 3px rgba(105, 185, 130, .14);
}

.register-document-input.is-invalid,
.register-document-input.is-invalid:focus {
    background-color: #fff4f4;
    border: 2px solid #b42318;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, .2);
}

.checkout-coupon-row {
    align-items: start;
    display: grid;
    gap: .65rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.checkout-coupon-row input,
.checkout-coupon-row button {
    margin: 0;
    min-height: 42px;
}

.custom-qty-container {
    align-items: stretch !important;
    background: #fffdf7 !important;
    border: 1px solid #d9d2c4 !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    height: 38px !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 117px !important;
}

.custom-qty-container .qty-btn {
    align-items: center !important;
    background: #f5b400 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #202124 !important;
    display: inline-flex !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    height: 38px !important;
    justify-content: center !important;
    margin: 0 !important;
    min-height: 38px !important;
    min-width: 36px !important;
    padding: 0 !important;
    width: 36px !important;
}

.custom-qty-container .qty-btn:hover { background: #e5a900 !important; }
.custom-qty-container.is-disabled { opacity: .52; }
.custom-qty-container .qty-btn:disabled { cursor: not-allowed; }

.custom-qty-container .qty-input,
.custom-qty-container .qty-input:focus {
    box-sizing: border-box !important;
    -moz-appearance: textfield !important;
    background: #fffdf7 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #202124 !important;
    font-size: .9rem !important;
    font-weight: 800 !important;
    display: block !important;
    height: 38px !important;
    max-height: 38px !important;
    min-height: 0 !important;
    line-height: 38px !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    width: 45px !important;
}

.custom-qty-container .qty-input::-webkit-inner-spin-button,
.custom-qty-container .qty-input::-webkit-outer-spin-button {
    appearance: none !important;
    display: none !important;
    margin: 0 !important;
}

.checkout-coupon-row button {
    align-self: start;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: .55rem .9rem;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .checkout-page__header {
        grid-template-columns: 1fr;
    }

    .checkout-page__header > a {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        margin-top: .65rem;
    }
}

@media (max-width: 767.98px) {
    .catalog-detail__purchase {
        flex-wrap: wrap;
    }

    .catalog-detail__purchase-info {
        flex-basis: 100%;
    }

    .checkout-form__grid {
        grid-template-columns: 1fr;
    }

    .checkout-form__full {
        grid-column: auto;
    }

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

    .checkout-payment-options {
        grid-template-columns: 1fr;
    }
}

/* --- contact --- */
.contact-page {
    display: grid;
    gap: 1.5rem;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(245, 180, 0, .26), transparent 32%),
        linear-gradient(135deg, #fff7df 0%, #ffffff 52%, #eef7ef 100%);
    border: 1px solid rgba(32, 33, 36, .06);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: auto -56px -56px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(76, 175, 80, .12);
}

.contact-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .9rem;
    padding: .36rem .72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(32, 33, 36, .08);
    color: var(--brand-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 10ch;
    margin-bottom: .8rem;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: .96;
}

.contact-hero p {
    max-width: 56ch;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    gap: 1.25rem;
    align-items: start;
    justify-content: center;
}

.contact-aside,
.contact-form-card {
    background: var(--card);
    border: 1px solid rgba(32, 33, 36, .06);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-aside {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.contact-aside__item {
    display: grid;
    gap: .3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.contact-aside__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-aside__label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.contact-aside__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.contact-aside__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: .92rem;
}

.contact-form-card {
    padding: 1.5rem;
}

.contact-form-card__header {
    display: grid;
    gap: .45rem;
    margin-bottom: 1.1rem;
}

.contact-form-card__header h2 {
    margin: 0;
    font-size: 1.35rem;
}

.contact-form-card__header p {
    margin: 0;
    color: var(--muted);
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.1rem;
}

.contact-field {
    display: grid;
    gap: .4rem;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field label {
    margin: 0;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--ink);
}

.contact-field input,
.contact-field textarea {
    margin: 0;
    background: #fbfaf5;
}

.contact-field textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .35rem;
}

.contact-form__note {
    color: var(--muted);
    font-size: .86rem;
}

.contact-form__submit {
    min-width: 180px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 1.35rem;
    }

    .contact-form-card,
    .contact-aside {
        padding: 1rem;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }
}
