/* Final production layout layer. */
:root {
    --layout-max: 1200px;
    --layout-gutter: clamp(18px, 4vw, 40px);
    --brand-green: #075e20;
    --brand-green-dark: #034817;
    --brand-gold: #b6924b;
    --ink: #263129;
    --muted: #657069;
    --border: rgba(7, 94, 32, .13);
    --radius: 18px;
}

html { font-size: 16px; }
body { min-width: 320px; background: #fff; color: var(--ink); }
#main-content { min-height: 60vh; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.site-header .navbar { width: 100%; }
.site-header .language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 6px 8px;
    color: var(--brand-green);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}
.site-header .language-switch a.active { color: #fff; background: var(--brand-green); }
.nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    color: #fff;
    background: var(--brand-green);
    border: 1px solid var(--brand-green);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.nav-cta:hover {
    color: #fff;
    background: var(--brand-green-dark);
    box-shadow: 0 8px 22px rgba(7, 94, 32, .18);
    transform: translateY(-1px);
}

.hero, .hero2 {
    width: min(calc(100% - (var(--layout-gutter) * 2)), var(--layout-max));
    min-height: 280px;
    max-height: 540px;
    aspect-ratio: 12 / 5.4;
    height: auto !important;
    background-position: center;
}
.hero + .hero-content,
.hero + section:not(.gmp-section):not(.featured-blog):not(.product-catalog),
.page-promotion > .hero-content {
    width: min(100%, 1400px);
    padding: clamp(42px, 6vw, 72px) var(--layout-gutter) !important;
}
.hero-content { margin-block: 0; }
.hero-content h1, .luxury-title, .blog-intro h1 {
    margin-bottom: 18px;
    font-family: 'Kanit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-transform: none;
}
.hero-content h5, .hero-content p, .blog-intro p {
    max-width: 780px;
    margin-inline: auto;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.8;
}
section:not(.hero):not(.hero2) {
    padding-left: var(--layout-gutter);
    padding-right: var(--layout-gutter);
}
.product-section, .promotion-grid, .blog-listing, .contact-buttons,
.contact-form-section, .map-section, .article-shell, .gmp-section, .brand-steps {
    width: min(calc(100% - (var(--layout-gutter) * 2)), var(--layout-max));
    max-width: var(--layout-max) !important;
}
.product-card, .service-item, .step, .promo-card, .blog-card,
.contact-form-card, .map-section, .sub-product-card, .balm-card {
    overflow: hidden;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    background: #fff;
}
.contact-form-field input, .contact-form-field select, .contact-form-field textarea {
    min-height: 48px;
    border-radius: 10px;
    background: #fff;
}
.contact-form-field textarea { min-height: 150px; }
.contact-form-submit, .blog-read-more, .back-btn, .article-back { min-height: 44px; }
.privacy-banner {
    display: flex;
    gap: 16px;
    margin: 0 0 26px;
    padding: 20px;
    color: #36533e;
    background: #eef7f0;
    border: 1px solid rgba(7, 94, 32, .22);
    border-left: 5px solid var(--brand-green);
    border-radius: 12px;
}
.privacy-banner > i { margin-top: 3px; color: var(--brand-green); font-size: 1.35rem; }
.privacy-banner h3 {
    margin: 0 0 6px;
    color: var(--brand-green);
    font-family: 'Kanit', sans-serif;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}
.privacy-banner p { margin: 0 0 6px; line-height: 1.65; }
.privacy-banner a { color: var(--brand-green); font-weight: 500; }
.privacy-summary {
    margin-top: 24px;
    padding: 20px;
    color: var(--muted);
    background: #f7faf7;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.privacy-summary h3 {
    margin: 0 0 8px;
    color: var(--brand-green);
    font-family: 'Kanit', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
}
.privacy-summary p { margin: 0 0 12px; line-height: 1.7; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.privacy-check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; }
.privacy-check a { color: var(--brand-green); font-weight: 500; }
.privacy-warning { margin: 12px 0 0 !important; color: #8a4c21; font-size: .9rem; }
.map-container iframe { display: block; }

@media (max-width: 1180px) {
    .site-header .navbar { gap: 12px; }
    .site-header .logo { order: 1; }
    .site-header .navbar > .language-switch { display: flex; order: 2; margin-left: auto; }
    .site-header .toggle-button { order: 3; }
    .site-header .menu { z-index: 2; order: 4; }
}
@media (max-width: 900px) {
    .nav-cta { display: none; }
    .site-header .toggle-button { margin-left: 0 !important; }
    .product-section .product-card { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    :root { --layout-gutter: 16px; }
    .site-header .logo img, .site-header.scrolled .logo img { width: auto; height: 44px; }
    .nav-cta { min-height: 40px; padding: 8px 13px; font-size: .82rem; }
    .hero, .hero2 {
        width: calc(100% - 24px);
        min-height: 220px;
        aspect-ratio: 16 / 10;
        border-radius: 14px;
    }
    section:not(.hero):not(.hero2) { padding-top: 56px; padding-bottom: 56px; }
    .product-section, .promotion-grid, .blog-listing, .contact-buttons,
    .contact-form-section, .map-section, .article-shell, .gmp-section, .brand-steps {
        width: calc(100% - 24px);
    }
    .contact-buttons { grid-template-columns: 1fr !important; }
    .map-section { padding: 18px !important; }
    .map-container { height: 360px !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
}
@media (max-width: 430px) {
    .hero, .hero2 { min-height: 200px; }
    .contact-form-card { padding: 28px 18px !important; }
}
@media (hover: none) {
    .product-card:hover, .service-item:hover, .step:hover, .promo-card:hover,
    .blog-card:hover, .sub-product-card:hover, .balm-card:hover { transform: none !important; }
}
