/* 
 * notenzadenshop.nl - Stylesheet
 * Custom Vanilla CSS with Organic HSL Color Palette
 */

:root {
    /* Brand Colors */
    --primary: #4A6041;
    --primary-light: #607A56;
    --primary-dark: #2F3E29;
    --primary-bg: #F4F6F3;
    
    --accent: #C88D2D;
    --accent-light: #E5A93B;
    --accent-dark: #A4701E;
    --accent-bg: #FAF3E7;

    /* Neutrals */
    --bg-body: #FAF8F5;
    --bg-card: #FFFFFF;
    --text-main: #222D1D;
    --text-muted: #5C6E55;
    --border: #E8E5DD;
    --border-focus: #C88D2D;
    --shadow: 0 4px 20px rgba(74, 96, 65, 0.06);
    --shadow-hover: 0 10px 30px rgba(74, 96, 65, 0.12);
    --white: #FFFFFF;
    --error: #D9534F;
    --success: #2E7D32;
    
    /* Layout */
    --header-height: 140px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* Sticky Navigation */
.navbar {
    height: var(--header-height);
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    height: 96px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-bottom-color: transparent;
    background: rgba(250, 248, 245, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 125px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s;
}

.navbar.scrolled .logo-img {
    height: 76px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn-cart {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(74, 96, 65, 0.2);
}

.btn-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 96, 65, 0.3);
}

.cart-count {
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(200, 141, 45, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 141, 45, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1A2715 100%);
    color: var(--white);
    padding: 160px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-body), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.badge-organic {
    background: rgba(96, 122, 86, 0.2);
    border: 1px solid var(--primary-light);
    color: #A3C296;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Kraft Bag Mockup - 3D Styled CSS Pouch */
.kraft-bag-showcase {
    width: 280px;
    height: 400px;
    position: relative;
    perspective: 1000px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
}

.kraft-pouch {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #DECCA7 0%, #C9B283 50%, #BCA374 100%);
    border-radius: 12px 12px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    overflow: hidden;
    box-shadow: inset 0 3px 6px rgba(255,255,255,0.4), inset 0 -5px 15px rgba(0,0,0,0.15);
}

/* Paper texture overlay */
.kraft-pouch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Tear notch and ziplock */
.pouch-ziplock {
    height: 2px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 12px -20px 20px -20px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
}

.pouch-ziplock::before, .pouch-ziplock::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 8px;
    height: 10px;
    background: #FAF8F5;
}
.pouch-ziplock::before { left: 0; border-radius: 0 4px 4px 0; }
.pouch-ziplock::after { right: 0; border-radius: 4px 0 0 4px; }

/* Printed logo inside bag */
.pouch-logo {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0.85;
}

.pouch-logo img {
    max-width: 130px;
    height: auto;
    filter: saturate(0.9) contrast(1.1);
}

/* Transparent Window showing content */
.pouch-window {
    flex-grow: 1;
    background: #1a1612;
    border-radius: 20px;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(74, 58, 41, 0.4);
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(255,255,255,0.15);
}

.pouch-window-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
    transition: transform 0.5s ease;
}

/* Shiny plastic reflection overlay on the window */
.pouch-window::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(125deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.15) 30%, 
        rgba(255, 255, 255, 0) 31%, 
        rgba(255, 255, 255, 0) 40%, 
        rgba(255, 255, 255, 0.08) 41%, 
        rgba(255, 255, 255, 0.08) 45%, 
        rgba(255, 255, 255, 0) 46%, 
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    transform: rotate(-10deg);
}

/* Pouch label at the bottom */
.pouch-label {
    background: #FAF8F5;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--text-main);
    z-index: 2;
}

.pouch-label-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.pouch-label-subtitle {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.pouch-label-weight {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    color: var(--accent);
    margin-top: 4px;
    display: inline-block;
    background: var(--accent-bg);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Core Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.concept-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.concept-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.concept-card.accent-card .concept-icon {
    background-color: var(--accent-bg);
    color: var(--accent);
}

.concept-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.concept-card p {
    color: var(--text-muted);
}

/* Category Switcher Filters */
.shop-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--primary);
    border-color: var(--primary-light);
    background-color: var(--primary-bg);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(74, 96, 65, 0.15);
}

/* Product Catalog Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-card:hover .pouch-window-img {
    transform: scale(1.08);
}

/* Bag inside product card */
.product-card-bag-container {
    height: 260px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    perspective: 800px;
}

.product-card .kraft-pouch {
    width: 175px;
    height: 250px;
    padding: 14px 12px;
    border-radius: 8px 8px 12px 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.product-card .pouch-ziplock {
    margin: 8px -12px 12px -12px;
}

.product-card .pouch-logo {
    margin-bottom: 8px;
}

.product-card .pouch-logo img {
    max-width: 90px;
}

.product-card .pouch-label {
    display: none; /* Hide internal label on catalog card, we show details on card itself */
}

/* Premium Honey Jar Container */
.honey-jar-showcase {
    width: 180px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    overflow: hidden;
    border-radius: 12px;
}

.honey-jar-img {
    width: 130%;
    height: 130%;
    object-fit: cover;
    object-position: center center;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.product-card:hover .honey-jar-img {
    transform: scale(1.10) translateY(-2px);
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}

/* Detail page honey jar sizing */
.product-detail-images .honey-jar-showcase {
    width: 320px;
    height: 440px;
    overflow: hidden;
    border-radius: 16px;
}

.product-detail-images .honey-jar-img {
    width: 125%;
    height: 125%;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.18));
}

/* Dynamic pot for honey in shop card */
.pot-glass {
    width: 130px;
    height: 190px;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px 24px 30px 30px;
    position: relative;
    align-self: center;
    box-shadow: inset 0 8px 10px rgba(255,255,255,0.6), inset 0 -8px 15px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.15);
    overflow: hidden;
}

.pot-lid {
    height: 22px;
    background: linear-gradient(to right, #BCA374, #DECCA7, #BCA374);
    border-radius: 8px 8px 2px 2px;
    margin: 0 auto;
    width: 110px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pot-honey-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, #A46D08, #D8981A, #F5B025);
    border-radius: 0 0 20px 20px;
}

.pot-honey-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.pot-label {
    position: absolute;
    top: 28%;
    left: 10%;
    width: 80%;
    height: 58%;
    background: #FAF8F5;
    border-radius: 8px;
    padding: 6px 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.pot-label .pot-logo-img {
    max-width: 50px;
    margin: 0 auto;
}

.pot-label-img-container {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--border);
    margin: 2px auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pot-label-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pot-label span {
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-dark);
    line-height: 1.1;
    max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Text details */
.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

/* Interactive weights & prices */
.product-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 8px;
}

.weight-selector-container {
    flex-grow: 1;
}

.weight-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--bg-body);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.weight-select:focus {
    border-color: var(--border-focus);
    background-color: var(--white);
}

.product-price-box {
    text-align: right;
    min-width: 75px;
}

.price-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-dark);
}

.btn-add-to-cart {
    width: 100%;
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Sliding Shopping Cart Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 45, 29, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-overlay.active .cart-drawer {
    transform: translateX(0);
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close-drawer {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.btn-close-drawer:hover {
    color: var(--text-main);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    gap: 16px;
}

.cart-empty-icon {
    font-size: 48px;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-img-container {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-body);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border);
}

.cart-item-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.cart-item-details h4 {
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.cart-item-details p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: max-content;
    background: var(--bg-body);
}

.qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.qty-val {
    width: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.cart-item-price-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 55px;
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.btn-remove-item:hover {
    text-decoration: underline;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--primary-bg);
}

.cart-totals-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.cart-totals-row span {
    font-size: 16px;
    font-weight: 600;
}

.cart-totals-row strong {
    font-size: 22px;
    color: var(--accent-dark);
}

.btn-checkout {
    width: 100%;
}

/* Modals (Checkout & Info) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 45, 29, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-box-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-box-header h2 {
    font-size: 24px;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-box-body {
    padding: 24px;
}

/* Checkout Checkout Forms Steps */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--border);
    z-index: 1;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    color: var(--text-muted);
    transition: all 0.3s;
}

.step-indicator.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--accent-bg);
}

.step-indicator.completed {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.checkout-step-content {
    display: none;
}

.checkout-step-content.active {
    display: block;
}

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

.form-group-full {
    grid-column: span 2;
}

.form-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

.checkout-buttons-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

/* Order Summary Review List */
.summary-items-list {
    margin-bottom: 20px;
    background: var(--primary-bg);
    border-radius: 8px;
    padding: 16px;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dotted rgba(74, 96, 65, 0.2);
}

.summary-item-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.payment-methods-box {
    margin-top: 20px;
}

.payment-option {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: var(--primary-light);
    background-color: var(--primary-bg);
}

.payment-option input {
    cursor: pointer;
}

.payment-option-text h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.payment-option-text p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Success state modal styling */
.success-box {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 24px;
}

.success-box h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.success-box p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.order-number-badge {
    background: var(--accent-bg);
    border: 1px dashed var(--accent);
    color: var(--accent-dark);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 30px;
}

/* FAQ Accordion Styling */
.faq-section {
    background: var(--primary-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-trigger {
    padding: 24px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content p {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    font-size: 15px;
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

/* Footer styling */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px 0;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 22px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-links-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.footer-bottom > div {
    display: flex;
    gap: 20px;
}

.powered-by {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.3px;
    margin-top: 4px;
}

.powered-by a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.powered-by a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 110px;
    }
    
    .logo-img {
        height: 80px;
    }
    
    .navbar.scrolled .logo-img {
        height: 55px;
    }
    
    .navbar.scrolled {
        height: 75px;
    }
    
    .hero {
        padding: 130px 0 80px 0;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
}

/* Product Detail Page Layout */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    margin-top: 40px;
}

.product-detail-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.product-detail-images .kraft-pouch {
    width: 280px;
    height: 400px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-detail-images .pot-glass {
    width: 220px;
    height: 320px;
}

.product-detail-images .pot-label {
    padding: 10px 8px;
    border-radius: 12px;
}

.product-detail-images .pot-label .pot-logo-img {
    max-width: 90px;
}

.product-detail-images .pot-label-img-container {
    width: 80px;
    height: 80px;
    border-width: 2px;
    margin: 6px auto;
}

.product-detail-images .pot-label span {
    font-size: 11px;
}

.loose-ingredients-box {
    width: 100%;
    max-width: 280px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.loose-ingredients-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
}

.loose-ingredients-caption {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Info side styling */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-category-tag {
    background-color: var(--accent-bg);
    color: var(--accent-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: max-content;
}

.product-detail-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.product-detail-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.detail-price-selector-box {
    background-color: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qty-input-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
    width: max-content;
}

.qty-input-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.qty-input-btn:hover {
    background-color: var(--bg-body);
}

.qty-input-val {
    width: 45px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    outline: none;
}

/* Characteristics list */
.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.specs-list svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Applications cards */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.application-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.application-box h4 {
    font-size: 14px;
    color: var(--primary-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.application-box p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border);
    padding: 60px 0;
    text-align: center;
}
.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}
.newsletter-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 700;
}
.newsletter-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}
.newsletter-input {
    flex-grow: 1;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}
.newsletter-input:focus {
    border-color: var(--border-focus);
}
.newsletter-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.newsletter-btn:hover {
    background-color: var(--primary-light);
}
@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
    }
}

/* Milk Machine Guide & Calculator Section */
.milk-guide-section {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    margin-top: 48px;
    box-shadow: var(--shadow);
}
.milk-guide-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}
@media (max-width: 992px) {
    .milk-guide-grid {
        grid-template-columns: 1fr;
    }
}
.milk-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.milk-step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.milk-step-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.milk-step-content h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.milk-step-content p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}
.calculator-box {
    background-color: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}
.calculator-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-weight: 700;
}
.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}
.calc-row strong {
    font-size: 16px;
    color: var(--primary-dark);
}
.calc-savings {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin: 16px 0;
}
.calc-savings span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}
.calc-savings strong {
    font-size: 24px;
    color: var(--success);
    font-family: var(--font-heading);
}
.calc-footer {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
}

