@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
    --ink: #1a2b1e;
    --ink-soft: #3e5c44;
    --leaf-900: #14532d;
    --leaf-700: #166534;
    --leaf-500: #22c55e;
    --leaf-400: #4ade80;
    --hay: #f59e0b;
    --hay-light: #fbbf24;
    --cream: #faf9f5;
    --mist: #ecfdf5;
    --card: #ffffff;
    --line: #d1e7d5;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-xs: 0 1px 2px rgba(16, 54, 30, 0.05);
    --shadow-soft: 0 4px 6px -1px rgba(16, 54, 30, 0.07), 0 10px 28px -5px rgba(16, 54, 30, 0.1);
    --shadow-md: 0 8px 24px -4px rgba(16, 54, 30, 0.1), 0 16px 40px -8px rgba(16, 54, 30, 0.12);
    --shadow-hard: 0 20px 50px -12px rgba(16, 54, 30, 0.18), 0 30px 60px -15px rgba(16, 54, 30, 0.14);
    --shadow-glow: 0 0 0 1px rgba(22, 101, 52, 0.06), 0 8px 30px rgba(22, 101, 52, 0.12);
    --container: min(1200px, calc(100% - 48px));
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    box-sizing: border-box;
}

::selection {
    background: rgba(22, 101, 52, 0.15);
    color: var(--leaf-900);
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(236, 253, 245, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(254, 249, 195, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(220, 252, 231, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #faf9f5 0%, #f5f7f2 40%, #f0f5ed 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.container {
    width: var(--container);
    margin: 0 auto;
}

.page-shell {
    padding-bottom: 80px;
}

:focus-visible {
    outline: 3px solid rgba(34, 197, 94, 0.4);
    outline-offset: 3px;
    border-radius: 4px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--leaf-700);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--leaf-500), var(--hay));
    border-radius: 2px;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(250, 249, 245, 0.72);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
    transition: all var(--transition-smooth);
}

.site-header.is-scrolled {
    background: rgba(250, 249, 245, 0.92);
    box-shadow: 0 1px 3px rgba(16, 54, 30, 0.04), 0 8px 32px rgba(16, 54, 30, 0.08);
}

.top-strip {
    border-bottom: 1px solid rgba(22, 101, 52, 0.06);
    background: linear-gradient(125deg, #fef3c7 0%, #d1fae5 100%);
    color: var(--leaf-900);
}

.top-strip-inner {
    min-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.top-strip-inner p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-strip-inner i {
    opacity: 0.7;
}

.header-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 28px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    transition: transform var(--transition-fast);
}

.brand:hover {
    transform: scale(1.02);
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--hay), var(--hay-light));
    color: #78350f;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
    transition: transform var(--transition-bounce);
}

.brand:hover .brand-badge {
    transform: rotate(-8deg) scale(1.08);
}

.brand-text {
    font-size: 1.18rem;
    background: linear-gradient(135deg, var(--leaf-900), var(--leaf-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: var(--shadow-xs);
}

.nav-link {
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink-soft);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--leaf-900);
    background: rgba(22, 101, 52, 0.08);
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--leaf-900), var(--leaf-700));
    box-shadow: 0 2px 8px rgba(20, 83, 45, 0.3);
}

.header-btn {
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--leaf-900), var(--leaf-700));
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 2px 8px rgba(20, 83, 45, 0.25);
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
}

.header-btn:hover {
    box-shadow: 0 4px 16px rgba(20, 83, 45, 0.35);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    border: 0;
    background: transparent;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.hamburger:hover {
    background: rgba(22, 101, 52, 0.06);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--leaf-900);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 0;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

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

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--leaf-900) 0%, var(--leaf-700) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(20, 83, 45, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(20, 83, 45, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid var(--line);
    color: var(--ink);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--leaf-500);
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-soft);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 40px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-photo);
    background-position: center;
    background-size: cover;
    opacity: 0.06;
    transform: scale(1.15);
    filter: blur(2px);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250,249,245,0.4) 0%, transparent 60%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 3vw + 0.8rem, 4rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--ink) 0%, var(--leaf-900) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-copy > p {
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-visual {
    display: flex;
    perspective: 1000px;
}

.hero-visual img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center;
    box-shadow: var(--shadow-hard);
    animation: heroFloat 8s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0.5deg); }
    50% { transform: translateY(-10px) rotate(-0.5deg); }
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-facts div,
.hero-fact-card {
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(22, 101, 52, 0.1);
    min-width: 150px;
    transition: all var(--transition-fast);
}

.hero-facts div:hover,
.hero-fact-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.hero-facts strong {
    display: block;
    font-size: 1.2rem;
    color: var(--leaf-900);
}

.hero-facts span {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.trust-strip {
    margin: 28px auto 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.trust-card,
.trust-strip > article {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(22, 101, 52, 0.1);
    border-radius: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-smooth);
}

.trust-card:hover,
.trust-strip > article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(22, 101, 52, 0.18);
}

.trust-card-icon,
.trust-strip > article i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #ecfdf5, #d1fae5);
    color: var(--leaf-700);
    font-size: 1.05rem;
    transition: transform var(--transition-bounce);
}

.trust-card:hover .trust-card-icon,
.trust-strip > article:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.trust-card h3 {
    font-size: 1.05rem;
    margin: 0 0 6px;
}

.trust-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

.photo-ribbon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 16px auto 48px;
}

.photo-ribbon figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.photo-ribbon figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(20, 83, 45, 0.1) 100%);
    pointer-events: none;
}

.photo-ribbon img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95) contrast(1.02);
    transition: transform var(--transition-smooth);
}

.photo-ribbon figure:hover img {
    transform: scale(1.04);
}

.section-head {
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: clamp(1.5rem, 1.2vw + 1rem, 2.4rem);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}

.category-square {
    border-radius: 18px;
    padding: 20px 14px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(22, 101, 52, 0.08);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.category-square:hover {
    background: linear-gradient(150deg, #ecfdf5, #d1fae5);
    border-color: rgba(22, 101, 52, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.category-square.active {
    background: linear-gradient(150deg, #dcfce7, #bbf7d0);
    border-color: var(--leaf-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15), var(--shadow-soft);
}

.category-square i {
    color: var(--leaf-700);
    font-size: 1.3rem;
    transition: transform var(--transition-bounce);
}

.category-square:hover i {
    transform: scale(1.15);
}

.products-title {
    text-align: center;
    margin: 28px 0 28px;
    font-size: clamp(1.4rem, 1.1vw + 1rem, 2.1rem);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(22, 101, 52, 0.08);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hard);
    border-color: rgba(22, 101, 52, 0.15);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    aspect-ratio: 5 / 4;
    height: auto;
    object-fit: cover;
    object-position: 50% 45%;
    transition: transform var(--transition-smooth);
}

.product-card:hover img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hay), var(--hay-light));
    color: #78350f;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    letter-spacing: 0.02em;
}

.product-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-content h4,
.product-title {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.product-content p,
.product-description {
    color: var(--ink-soft);
    font-size: 0.9rem;
    min-height: 64px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(22, 101, 52, 0.06);
}

.product-footer .btn {
    white-space: nowrap;
}

.product-footer .price,
.product-footer .product-price {
    white-space: nowrap;
}

.price,
.product-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--leaf-900);
}

.centered {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.story-block {
    margin-top: 56px;
}

.how-it-works {
    margin-top: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(22, 101, 52, 0.08);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--leaf-500), var(--hay));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-card:hover::before {
    opacity: 1;
}

.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: var(--leaf-900);
    font-weight: 800;
    font-size: 0.84rem;
    box-shadow: 0 2px 6px rgba(22, 101, 52, 0.1);
}

.step-card h3 {
    margin: 14px 0 8px;
    font-size: 1.1rem;
}

.step-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

.story-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(236,253,245,0.6), rgba(254,252,232,0.5));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(22, 101, 52, 0.1);
    box-shadow: var(--shadow-soft);
}

.story-photo img {
    border-radius: 22px;
    width: 100%;
    height: 360px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth);
}

.story-photo:hover img {
    transform: scale(1.02);
}

.story-copy h2 {
    margin-bottom: 12px;
}

.story-copy p {
    color: var(--ink-soft);
    margin: 0 0 16px;
    line-height: 1.7;
}

.story-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.story-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background var(--transition-fast);
}

.story-list li:hover {
    background: rgba(255, 255, 255, 0.6);
}

.story-list i {
    color: var(--leaf-500);
    font-size: 0.9rem;
}

/* Compact hero for subpages */
.hero-compact {
    margin-top: 28px;
    position: relative;
    overflow: hidden;
}

.hero-compact::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: var(--hero-photo) center/cover no-repeat;
    opacity: 0.12;
    filter: blur(1px);
}

.hero-compact-inner {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.92), rgba(236, 253, 245, 0.85));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: var(--shadow-md);
}

.hero-compact-inner h1 {
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--leaf-900) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-compact-inner p {
    max-width: 60ch;
    color: var(--ink-soft);
    line-height: 1.7;
}

.search-panel {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(22, 101, 52, 0.08);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

#catalog-container {
    transition: opacity 0.2s ease;
}

#catalog-container.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 220px;
    border: 1.5px solid rgba(22, 101, 52, 0.12);
    border-radius: 999px;
    padding: 12px 20px;
    font: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--leaf-500);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.filter-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(22, 101, 52, 0.08);
    font-weight: 600;
    color: var(--ink-soft);
    transition: all var(--transition-fast);
    cursor: pointer;
}
}

.filter-tag.active,
.filter-tag:hover {
    color: var(--leaf-900);
    background: #dcfce7;
    border-color: var(--leaf-500);
}

.filter-tag.active {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}

.results-info {
    color: var(--ink-soft);
    margin: 18px 0;
    font-size: 0.92rem;
}

.catalog-notes {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.catalog-notes article {
    border-radius: 16px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    padding: 12px 14px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    transition: all var(--transition-fast);
}

.catalog-notes article:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xs);
}

.catalog-notes i {
    color: var(--leaf-700);
    font-size: 1rem;
}

/* Product detail */
.product-breadcrumb {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.product-breadcrumb a {
    transition: color var(--transition-fast);
}

.product-breadcrumb a:hover {
    color: var(--leaf-700);
}

.product-breadcrumb strong {
    color: var(--leaf-900);
}

.product-detail-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.product-media-card,
.product-info-card,
.product-description-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: var(--shadow-soft);
    transition: box-shadow var(--transition-fast);
}

.product-media-card:hover,
.product-info-card:hover {
    box-shadow: var(--shadow-md);
}

.product-media-card {
    padding: 16px;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    transition: transform var(--transition-smooth);
}

.product-media-card:hover .product-main-image {
    transform: scale(1.01);
}

.product-thumbs {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-thumb {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-thumb:hover {
    border-color: rgba(22, 101, 52, 0.2);
}

.product-thumb img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 9px;
}

.product-thumb.is-active {
    border-color: var(--leaf-700);
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.12);
}

.product-info-card {
    padding: 26px;
}

.product-info-card h1 {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 1.8vw + 1rem, 3rem);
}

.product-short {
    color: var(--ink-soft);
    margin: 0 0 16px;
    line-height: 1.7;
}

.product-price-box {
    background: linear-gradient(145deg, #fef3c7, #fde68a);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.product-price-box span,
.product-price-box small {
    color: #92400e;
}

.product-price-box strong {
    font-size: 2.2rem;
    color: #78350f;
    letter-spacing: -0.02em;
}

.product-meta-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.product-meta-grid div {
    background: rgba(236, 253, 245, 0.5);
    border: 1px solid rgba(22, 101, 52, 0.08);
    border-radius: 14px;
    padding: 12px;
    transition: all var(--transition-fast);
}

.product-meta-grid div:hover {
    background: rgba(236, 253, 245, 0.8);
}

.product-meta-grid span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-meta-grid strong {
    display: block;
    margin-top: 3px;
    color: var(--leaf-900);
}

.product-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-share {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.share-btn {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(22, 101, 52, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    color: var(--leaf-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.share-btn:hover {
    background: #ecfdf5;
    border-color: var(--leaf-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xs);
}

.product-description-card {
    margin-top: 20px;
    padding: 26px;
}

.product-description-card h2 {
    margin-bottom: 14px;
}

.product-description-card p {
    color: var(--ink-soft);
    line-height: 1.75;
}

.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 13, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 16px;
}

.product-modal.is-open {
    display: flex;
}

.product-modal-card {
    width: min(480px, 100%);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(22, 101, 52, 0.1);
    box-shadow: var(--shadow-hard);
    padding: 28px;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-modal-close {
    position: absolute;
    right: 14px;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(236, 253, 245, 0.8);
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--leaf-900);
    transition: all var(--transition-fast);
}

.product-modal-close:hover {
    background: #dcfce7;
    transform: scale(1.05);
}

.product-modal-form {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.product-modal-form input,
.product-modal-form textarea {
    font: inherit;
    border: 1.5px solid rgba(22, 101, 52, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.9);
}

.product-modal-form input:focus,
.product-modal-form textarea:focus {
    outline: none;
    border-color: var(--leaf-500);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.empty-state {
    padding: 36px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    border: 2px dashed rgba(22, 101, 52, 0.12);
    text-align: center;
    color: var(--ink-soft);
    grid-column: 1 / -1;
    font-size: 0.95rem;
}

.empty-state a {
    color: var(--leaf-700);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(22, 101, 52, 0.3);
    text-underline-offset: 3px;
}

.empty-state a:hover {
    text-decoration-color: var(--leaf-700);
}

/* Contact */
.contact-grid-section {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: var(--shadow-soft);
    padding: 26px;
    transition: all var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-card h2 {
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--ink-soft);
    line-height: 1.7;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background var(--transition-fast);
}

.contact-list li:hover {
    background: rgba(236, 253, 245, 0.5);
}

.contact-list i {
    color: var(--leaf-700);
    width: 20px;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 10px;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink);
}

.contact-form input,
.contact-form textarea {
    font: inherit;
    border: 1.5px solid rgba(22, 101, 52, 0.12);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--leaf-500);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.form-msg {
    min-height: 20px;
    margin: 4px 0 0;
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-highlights {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-highlights article {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(22, 101, 52, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 22px;
    transition: all var(--transition-smooth);
}

.contact-highlights article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-highlights i {
    color: var(--leaf-700);
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 253, 245, 0.6);
    border-radius: 14px;
}

.contact-highlights h3 {
    margin: 12px 0 8px;
    font-size: 1.1rem;
}

.contact-highlights p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    margin-top: 80px;
    background: linear-gradient(180deg, #14352a 0%, #0f2920 100%);
    color: #d1fae5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.3), transparent);
}

.footer-grid {
    padding: 56px 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1fr;
    gap: 24px;
}

.footer-grid h4 {
    margin-bottom: 14px;
    color: var(--hay-light);
    font-size: 1.1rem;
}

.footer-grid p,
.footer-grid a {
    color: rgba(209, 250, 229, 0.75);
    margin: 0 0 10px;
    display: block;
    line-height: 1.7;
    transition: all var(--transition-fast);
}

.footer-note {
    margin-top: 12px;
    color: rgba(254, 243, 199, 0.9) !important;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
}

.footer-grid a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(209, 250, 229, 0.5);
    font-size: 0.85rem;
}

.to-top-btn {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--leaf-900), var(--leaf-700));
    color: #fff;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: all var(--transition-smooth);
    z-index: 120;
    font-size: 1rem;
}

.to-top-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-hard);
}

.to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.18s;
}

/* Admin compatibility */
.admin-layout {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    gap: 30px;
}

.admin-header-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-box {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(20, 53, 34, 0.08);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--leaf-900);
    margin: 0;
}

.stat-box p {
    color: var(--ink-soft);
    margin: 5px 0 0;
}

.admin-section {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(20, 53, 34, 0.08);
    padding: 30px;
    border: 1px solid #e6ece3;
}

.admin-section h2 {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: var(--leaf-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #213c2a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admin-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2d3a31;
    border-bottom: 2px solid #e6ece3;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.table-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.action-btn {
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 0.9rem;
}

.btn-del {
    background: #dc3545;
}

.btn-edit {
    background: #ffc107;
    color: #333;
}

.btn-save {
    background: var(--leaf-900);
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-ok {
    background: #d4edda;
    color: #155724;
}

.alert-err {
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 980px) {
    .top-strip-inner {
        justify-content: center;
    }

    .top-strip-inner p:last-child {
        display: none;
    }

    .header-row {
        grid-template-columns: 1fr auto;
    }

    .hamburger {
        display: inline-block;
    }

    .main-nav {
        display: none;
        position: absolute;
        right: 20px;
        top: 78px;
        border-radius: 14px;
        padding: 10px;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        width: min(250px, calc(100% - 40px));
        box-shadow: var(--shadow-soft);
        border: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .hero-layout,
    .steps-grid,
    .catalog-notes,
    .story-layout,
    .product-detail-grid,
    .contact-grid-section,
    .contact-highlights,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-layout,
    .product-detail-grid,
    .contact-grid-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual img {
        min-height: 0;
    }

    .photo-ribbon {
        grid-template-columns: 1fr 1fr;
    }

    .header-btn {
        display: none;
    }

    .admin-form-row {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        min-height: 0;
    }

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

@media (max-width: 900px) {
    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .steps-grid,
    .catalog-notes,
    .contact-highlights {
        grid-template-columns: 1fr;
    }

    .product-footer {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .top-strip-inner {
        min-height: 32px;
        font-size: 0.75rem;
    }

    .photo-ribbon {
        grid-template-columns: 1fr;
    }

    .hero-compact-inner,
    .story-layout,
    .search-panel,
    .contact-card {
        padding: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-facts div,
    .hero-fact-card {
        min-width: 0;
        width: 100%;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }
}

/* Page load animation */
body {
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.is-loaded {
    opacity: 1;
}

/* Smooth gradient text for headings */
.section-head h2,
.story-copy h2 {
    background: linear-gradient(135deg, var(--ink) 0%, var(--leaf-900) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    mix-blend-mode: multiply;
}
