:root {
    --color-bg: #f7f3ed;
    --color-surface: #ffffff;
    --color-surface-soft: #fff8ee;
    --color-text: #1d232b;
    --color-muted: #667085;
    --color-border: #e4ddd2;
    --color-primary: #8f5a32;
    --color-primary-dark: #684122;
    --color-accent: #c9864a;
    --shadow-soft: 0 18px 45px rgba(40, 30, 20, 0.10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-weight: 800;
    text-decoration: none;
    color: var(--color-primary-dark);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--color-muted);
    font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--color-primary-dark);
    background: var(--color-surface-soft);
}

.demo-banner {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 16px;
    text-align: center;
    background: #2f241c;
    color: #fff7ed;
    font-size: 0.95rem;
}

.demo-banner strong {
    color: #ffd89c;
}

.site-main {
    min-height: 70vh;
}

.hero,
.page-heading {
    padding: 82px 0 56px;
    background:
        radial-gradient(circle at top left, rgba(201, 134, 74, 0.20), transparent 34%),
        linear-gradient(135deg, #fffaf2 0%, #f4eadf 100%);
}

.hero h1,
.page-heading h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero p,
.page-heading p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.hero__actions,
.product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.section {
    padding: 72px 0;
}

.section--soft {
    background: var(--color-surface-soft);
    border-block: 1px solid var(--color-border);
}

.section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-head h2,
.section h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-head p,
.section > .container > p {
    color: var(--color-muted);
}

.section-kicker {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
}

.button:hover,
.button:focus-visible {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.button--secondary {
    background: transparent;
    color: var(--color-primary-dark);
}

.button--secondary:hover,
.button--secondary:focus-visible {
    color: #ffffff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--color-surface-soft);
}

.product-card__image-link {
    display: block;
    text-decoration: none;
}

.product-card__content {
    padding: 22px;
}

.product-card__category {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-card__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
}

.product-card__title a,
.product-card__link {
    text-decoration: none;
}

.product-card__title a:hover,
.product-card__link:hover {
    color: var(--color-primary);
}

.product-card__price {
    margin: 14px 0 0;
    font-weight: 800;
}

.product-card__price span,
.product-detail__price span {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

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

.product-card__link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--color-primary-dark);
    font-weight: 800;
}

.category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.category-filter__link {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 750;
}

.category-filter__link:hover,
.category-filter__link:focus-visible,
.category-filter__link.is-active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 42px;
    align-items: start;
}

.product-detail__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.product-detail__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-detail__content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 42px);
    box-shadow: var(--shadow-soft);
}

.product-detail__content h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.product-detail__intro {
    font-size: 1.15rem;
    color: var(--color-muted);
}

.product-detail__price {
    font-size: 1.45rem;
    font-weight: 850;
}

.notice {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface-soft);
}

.notice h2 {
    margin-top: 0;
}

.check-list {
    padding-left: 1.2rem;
}

.check-list li {
    margin: 8px 0;
}

.contact-placeholder {
    margin: 24px 0;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.site-footer {
    padding: 34px 0;
    background: #211914;
    color: #f7eee6;
}

.site-footer__inner {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.site-footer p {
    margin: 0;
    color: #e8d9cc;
}

@media (max-width: 860px) {
    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .site-nav {
        width: 100%;
    }

    .site-nav a {
        padding-inline: 10px;
    }

    .hero,
    .page-heading {
        padding: 56px 0 42px;
    }

    .section {
        padding: 52px 0;
    }

    .product-grid,
    .product-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container,
    .container.narrow,
    .site-header__inner,
    .site-footer__inner {
        width: min(100% - 24px, var(--container));
    }

    .demo-banner {
        font-size: 0.86rem;
    }

    .hero h1,
    .page-heading h1,
    .product-detail__content h1 {
        letter-spacing: -0.04em;
    }

    .hero__actions,
    .product-detail__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .product-card__content,
    .product-detail__content {
        padding: 20px;
    }
}
