/* Soft, Minimal & Soothing Natural Sage Green Palette (เขียวนุ่มนวล สบายตา มินิมอล) */

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background-color: #FFFFFF;
    color: #334155;
    line-height: 1.5;
}

/* Touch targets and responsive polish for mobile & tablet */
#mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

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

@layer utilities {
    .glass-green {
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

/* Prevent text wrapping on navbar & headers */
.no-wrap, .nav-item, .logo-title, .logo-tagline {
    white-space: nowrap !important;
    word-break: keep-all !important;
}

/* Minimal Soft Sage Color Palette */
.bg-white {
    background-color: #FFFFFF; /* Airy minimal soft sage */
}

.bg-slate-50 {
    background-color: #FFFFFF;
}

.bg-ninegreen-800 {
    background-color: #166534; /* Softer, lighter deep green */
}

.bg-ninegreen-700 {
    background-color: #15803d;
}

.bg-ninered-600 {
    background-color: #dc2626; /* Soft gentle matcha green */
}

.text-ninered-600 {
    color: #dc2626;
}

/* Custom Soft Minimal Scrollbar */
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: #FFFFFF;
}
::-webkit-scrollbar-thumb {
    background: #9EC090;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* Subtle & Minimal Card Transitions */
.img-zoom-container {
    overflow: hidden;
    position: relative;
    border-radius: 1.25rem;
}

.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom-container:hover img {
    transform: scale(1.03);
}

/* Soothing Minimal Card */
.eco-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1px solid #E5EBE2;
    border-radius: 1.5rem;
}

.eco-card:hover {
    transform: translateY(-3px);
    border-color: #A3C998;
    box-shadow: 0 12px 24px -8px rgba(45, 82, 53, 0.06);
}

/* Feature Soft Card */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 1.25rem;
}

.feature-card:hover {
    transform: translateY(-2px);
}

/* Category Filter Tabs */
.product-card.hidden-card {
    display: none !important;
}

/* Curved Section Divider */
.curved-banner {
    border-radius: 2rem;
}

.bg-nature-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
}

.text-nature-gradient {
    color: #166534;
}

/* Language Switcher */
.lang-switcher {
    user-select: none;
}

.lang-switcher button {
    cursor: pointer;
    line-height: 1.25;
    outline: none;
}

.lang-switcher button:focus-visible {
    outline: 2px solid #166534;
    outline-offset: 1px;
}
