/* ============================================================
   Unikoll — Spices Brochure
   Design: Warm amber & earth tones + Unikoll teal brand
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&display=swap');
@import url('https://fonts.cdnfonts.com/css/utendo');

:root {
    /* Brand */
    --teal: #00d2d3;
    --teal-dark: #01a3a4;
    --navy: #1e272e;
    --charcoal: #2d3436;

    /* Spice palette */
    --amber: #e8a020;
    --amber-dark: #c47d0e;
    --amber-light: #fdf1d6;
    --spice-red: #c0392b;
    --earth: #6b4226;
    --sage: #6c7a5f;

    /* Neutrals */
    --white: #ffffff;
    --bg: #fffdf7;
    --bg-warm: #fdf6ec;
    --border: #e8ddd0;
    --text: #2d3436;
    --muted: #7f8c8d;

    --font: 'Utendo', sans-serif;
    --font-display: 'Playfair Display', serif;

    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-full: 999px;
    --sh-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
    --sh-md: 0 12px 24px -4px rgba(0, 0, 0, 0.1);
    --sh-lg: 0 24px 40px -8px rgba(0, 0, 0, 0.14);
    --sh-amber: 0 0 28px rgba(232, 160, 32, 0.3);
    --ease: 0.3s ease;
    --smooth: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-weight: 700;
    font-family: var(--font);
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--ease);
}

.btn-amber {
    background: var(--amber);
    color: #fff;
    box-shadow: var(--sh-sm);
}

.btn-amber:hover {
    background: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: var(--sh-amber);
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--teal);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.btn-ghost-cta {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.btn-ghost-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.nav-cta {
    padding: 9px 20px;
    font-size: 0.85rem;
}

/* EYEBROW + TITLES */
.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    font-family: var(--font-display);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: var(--amber);
    border-radius: var(--r-full);
}

.light-title {
    color: #fff;
}

.light-title::after {
    background: var(--amber);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 580px;
    margin: 24px auto 0;
    line-height: 1.7;
}

.light-sub {
    color: rgba(255, 255, 255, 0.78);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--ease);
}

.navbar.scrolled {
    box-shadow: var(--sh-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.nav-logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    font-size: 0.94rem;
}

.nav-links a:hover {
    color: var(--amber);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(20, 12, 5, 0.88) 0%, rgba(100, 46, 16, 0.65) 55%, rgba(20, 12, 5, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 160px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 20px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.text-gold {
    color: var(--amber);
    font-style: italic;
}

.hero-desc {
    font-size: 1.15rem;
    opacity: 0.88;
    max-width: 520px;
    margin-bottom: 38px;
    line-height: 1.75;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 60px;
}

.hero-stats {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 0;
}

.hstat {
    text-align: center;
    padding: 0 40px;
}

.hstat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--amber);
}

.hstat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.hstat-sep {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.18);
}

/* ORIGIN SECTION */
.origin-section {
    background: var(--bg);
}

.origin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.origin-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.origin-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform var(--smooth);
}

.origin-image:hover img {
    transform: scale(1.04);
}

.origin-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--amber);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--sh-md);
}

.origin-text .section-title {
    display: block;
    text-align: left;
}

.origin-text .section-title::after {
    left: 0;
    transform: none;
}

.origin-text p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 1rem;
}

.origin-text p strong {
    color: var(--text);
}

.origin-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.opoint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.opoint i {
    color: var(--amber);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* SPICES SHOWCASE */
.spices-section {
    background: linear-gradient(160deg, var(--earth) 0%, #3d1f0d 55%, var(--navy) 100%);
}

/* Feature card */
.spice-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 40px;
    backdrop-filter: blur(6px);
}

.spice-feature-img {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.spice-feature-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.spice-num {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    font-family: var(--font-display);
    line-height: 1;
}

.spice-feature-text {
    color: #fff;
}

.spice-feature-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin: 10px 0 6px;
}

.spice-latin {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-size: 0.92rem;
    margin-bottom: 16px;
    display: block;
}

.spice-feature-text p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 22px;
}

.spice-origin-badge {
    display: inline-block;
    background: var(--amber);
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spice-origin-badge.sm {
    font-size: 0.7rem;
    padding: 4px 12px;
}

.spice-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.spice-tags span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.spice-tags.sm span {
    font-size: 0.75rem;
    padding: 4px 11px;
}

.spice-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.smeta {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

.smeta i {
    color: var(--amber);
    font-size: 1.1rem;
}

/* Spice 3-grid */
.spice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.spice-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    overflow: hidden;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.spice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), var(--sh-amber);
    border-color: rgba(232, 160, 32, 0.4);
}

.spice-card-top {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.spice-card-img {
    height: 100%;
}

.spice-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--smooth);
}

.spice-card:hover .spice-card-img img {
    transform: scale(1.08);
}

.spice-card-num {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
    font-family: var(--font-display);
    line-height: 1;
}

.spice-card-body {
    padding: 28px;
    color: #fff;
}

.spice-card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin: 8px 0 4px;
}

.spice-card-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 10px 0 18px;
}

/* QUALITY SECTION */
.quality-section {
    background: var(--bg-warm);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quality-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--sh-sm);
    transition: transform var(--ease), box-shadow var(--ease);
    position: relative;
    overflow: hidden;
}

.quality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--amber);
}

.quality-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

.qc-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--amber-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.qc-icon i {
    font-size: 1.8rem;
    color: var(--amber);
}

.quality-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.quality-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

.quality-quote {
    margin-top: 56px;
    text-align: center;
    background: var(--white);
    border-radius: 0;
    padding: 40px 60px;
    border-left: 5px solid var(--amber);
    box-shadow: var(--sh-sm);
    position: relative;
}

.quality-quote i {
    font-size: 3rem;
    color: rgba(232, 160, 32, 0.2);
    display: block;
    margin-bottom: 12px;
}

.quality-quote p {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 12px;
}

.quality-quote span {
    color: var(--amber);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* WHY SECTION */
.why-section {
    background: linear-gradient(150deg, var(--earth) 0%, #3d1a08 60%, var(--navy) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 32px 24px;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(232, 160, 32, 0.4);
}

.why-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(232, 160, 32, 0.15);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 12px;
}

.why-card i {
    font-size: 2rem;
    color: var(--amber);
    display: block;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
}

/* ─────────────── Contact Section ─────────────── */
.contact-section {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--amber);
}

.info-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.info-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-wrap {
    background: var(--white);
    padding: 48px;
    border-radius: var(--r-md);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-size: 1rem;
    color: var(--charcoal);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FOOTER */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.62);
    padding-top: 60px;
}

.footer-inner {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.footer-contact a:hover {
    color: var(--amber);
}

.footer-contact i {
    color: var(--amber);
    font-size: 1.1rem;
}

.footer-col h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
}

.footer-col ul li a:hover {
    color: var(--amber);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
    font-size: 0.87rem;
}

/* RESPONSIVE */
@media (max-width:1100px) {
    .quality-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

@media (max-width:900px) {
    .hero-title {
        font-size: 3.5rem;
    }

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

    .spice-feature {
        grid-template-columns: 1fr;
    }

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats-inner {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hstat {
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px 5%;
        box-shadow: var(--sh-md);
        gap: 16px;
    }

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

    .mobile-toggle {
        display: block;
    }
}

@media (max-width:600px) {
    .hero-title {
        font-size: 2.6rem;
    }

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

    .quality-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .quality-quote {
        padding: 30px;
    }

    .quality-quote p.quote-text {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        font-style: italic;
        color: var(--primary);
    }

    .hstat-sep {
        display: none;
    }
}

/* ====================  PRINT STYLES FOR PDF  ==================== */
@media print {

    /* 1. Reset Base & Remove Animations */
    .fade-in,
    .fade-up,
    .visible {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    * {
        animation: none !important;
        transition: none !important;
    }

    @page {
        size: A4 portrait;
        margin: 15mm;
    }

    /* 2. Color & Typography Scaling */
    html,
    body {
        background-color: #fff !important;
        color: #111 !important;
        font-size: 14pt !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    h2.section-title {
        font-size: 24pt !important;
        margin-bottom: 20px !important;
    }

    h3 {
        font-size: 18pt !important;
    }

    p {
        font-size: 12pt !important;
        line-height: 1.6 !important;
    }

    /* 3. Hide Web-Only Elements */
    .navbar,
    footer,
    .contact-section,
    .btn {
        display: none !important;
    }

    /* 4. Magazine Pagination */
    .hero-section {
        min-height: 250mm !important;
        /* Force near full A4 page for cover */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 0 20mm !important;
        page-break-after: always !important;
        /* Start content on next page */
    }

    .section {
        padding: 10mm 0 !important;
        page-break-before: always !important;
        /* Each section on a new page */
        page-break-inside: avoid !important;
    }

    /* 5. A4 Optimized Grids (Forced 2-Column for Readability) */
    .spice-grid,
    .why-grid,
    .origin-grid,
    .quality-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15mm !important;
        page-break-inside: auto !important;
    }

    .spice-card,
    .why-card,
    .quality-card {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        margin-bottom: 5mm !important;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

    .spice-feature {
        display: flex !important;
        flex-direction: column !important;
        /* Stack vertically for A4 */
        gap: 10mm !important;
        page-break-inside: avoid !important;
    }

    .spice-image img {
        max-height: 100mm !important;
        object-fit: contain !important;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid !important;
    }

    ul,
    ol,
    p {
        page-break-inside: avoid !important;
    }
}