/*
Theme Name: Seminka26
Theme URI: https://seminka26.cz
Author: Seminka26
Description: Vlastní téma pro e-shop Seminka26 - kvalitní konopná semínka pro domácí pěstování.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: seminka26
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-dark: #2d5a27;
    --green-medium: #4a8c3f;
    --green-light: #7cb342;
    --green-pale: #e8f5e1;
    --cream: #f5f0e8;
    --brown: #8b5e3c;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --white: #ffffff;
    --indica-purple: #7B2D8E;
    --indica-purple-light: #f3e5f5;
    --sativa-red: #C41E3A;
    --sativa-red-light: #fce4ec;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* ========== HEADER ========== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--green-dark);
}

.site-logo img {
    height: 48px;
    width: auto;
}

.site-logo .logo-text span {
    color: var(--green-light);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-medium);
    transition: all var(--transition);
}

.main-nav a:hover {
    background: var(--green-pale);
    color: var(--green-dark);
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    margin-left: 4px;
    border-radius: 8px;
    transition: all var(--transition);
}

.cart-link:hover {
    background: var(--green-pale);
}

.cart-icon {
    height: 28px;
    width: auto;
    display: block;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.header-right {
    display: none;
    align-items: center;
    gap: 4px;
}

.mobile-cart {
    display: none;
}

.nav-check {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 6px 0;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-medium) 50%, var(--green-light) 100%);
    color: var(--white);
    padding: 26px 0 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    margin-bottom: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero .eyebrow {
    color: #d8f0d2;
    margin-bottom: 8px;
}

.hero h1 em {
    font-style: italic;
    color: #c8e6c9;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    max-width: 780px;
    margin: 0 auto;
}

/* ========== LEGAL BANNER ========== */
.legal-banner {
    background: linear-gradient(90deg, #c8e6c9, #a5d6a7);
    padding: 8px 0;
    text-align: center;
}

.legal-banner p {
    font-weight: 600;
    color: var(--green-dark);
    font-size: 0.88rem;
}

.legal-banner strong {
    display: inline;
    font-size: 0.95rem;
    margin-right: 8px;
}

/* ========== INTRO SECTION ========== */
.intro-section {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--white);
}

.intro-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--green-dark);
    margin-bottom: 16px;
}

.intro-section p {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 8px;
    font-size: 1.05rem;
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
    padding: 34px 0 88px;
    background: var(--white);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.chameleon-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.chameleon-mobile {
    display: none;
}

.swipe-hint {
    display: none;
}

.product-card {
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}

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

.product-card-header {
    padding: 32px 32px 0;
}

.product-card-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.product-card-header .tagline {
    font-style: italic;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1rem;
}

.product-card-body {
    padding: 0 32px 32px;
}

.product-card-body p {
    color: var(--text-medium);
    margin-bottom: 12px;
    line-height: 1.7;
}

.product-card-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card-image img {
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* Cannabis seed images */
.seed-image {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    transition: transform var(--transition);
}

.product-card:hover .seed-image {
    transform: scale(1.08) rotate(-3deg);
}

.product-card.sativa:hover .seed-image {
    transform: scale(1.08) rotate(3deg);
}

.btn-detail {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition);
    margin-top: 16px;
}

/* Indica card */
.product-card.indica .product-card-header h3 { color: var(--indica-purple); }
.product-card.indica .tagline { color: var(--indica-purple); }
.product-card.indica .btn-detail {
    background: var(--indica-purple);
    color: var(--white);
}
.product-card.indica .btn-detail:hover {
    background: #5c1f6e;
    box-shadow: 0 4px 16px rgba(123, 45, 142, 0.4);
}
.product-card.indica:hover {
    border-color: var(--indica-purple);
}

/* Sativa card */
.product-card.sativa .product-card-header h3 { color: var(--sativa-red); }
.product-card.sativa .tagline { color: var(--sativa-red); }
.product-card.sativa .btn-detail {
    background: var(--sativa-red);
    color: var(--white);
}
.product-card.sativa .btn-detail:hover {
    background: #9a1830;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4);
}
.product-card.sativa:hover {
    border-color: var(--sativa-red);
}

/* Tlačítko Vybrat na product kartách */
.product-card-btn {
    display: block;
    margin-top: 20px;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background var(--transition), box-shadow var(--transition);
    color: var(--white);
    pointer-events: none;
    text-align: center;
}

.product-card.indica .product-card-btn {
    background: var(--indica-purple);
}
.product-card.indica:hover .product-card-btn {
    background: #5c1f6e;
    box-shadow: 0 4px 16px rgba(123, 45, 142, 0.4);
}

.product-card.sativa .product-card-btn {
    background: var(--sativa-red);
}
.product-card.sativa:hover .product-card-btn {
    background: #9a1830;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4);
}

/* ========== CHAMELEON ========== */
/* .chameleon-wrapper defined in products section above */

.chameleon-mascot {
    width: 140px;
    height: auto;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: hue-rotate(0deg) saturate(1);
}

.chameleon-mascot.indica-hover {
    filter: hue-rotate(270deg) saturate(1.5);
    transform: scaleX(-1) scale(1.05);
}

.chameleon-mascot.sativa-hover {
    filter: hue-rotate(330deg) saturate(1.8) brightness(0.9);
    transform: scale(1.05);
}

/* ========== FEATURES ========== */
.features-section {
    padding: 80px 0;
    background: var(--green-pale);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-icon-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition);
}

.feature-card:hover .feature-icon-img {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    color: var(--green-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--green-dark);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.85rem;
}

/* ========== CONTENT PAGES ========== */
.default-page {
    padding: 72px 24px;
}

.default-page h1,
.info-page h1,
.shop-hero h1 {
    color: var(--green-dark);
    font-size: clamp(2rem, 3.4vw, 3rem);
    margin-bottom: 18px;
}

.info-page {
    background: linear-gradient(180deg, var(--white) 0%, #f7fbf3 100%);
    padding: 72px 0 96px;
}

.info-container {
    max-width: 1050px;
}

.info-container.narrow {
    max-width: 840px;
}

.mascot-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.mascot-intro .mascot-img {
    flex: 0 0 200px;
    width: 200px;
    height: auto;
}

.mascot-intro .mascot-text {
    flex: 1;
}

.mascot-intro .mascot-text h1 {
    margin-top: 0;
}

.mascot-intro .mascot-text .lead {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .mascot-intro {
        flex-direction: column;
        gap: 20px;
    }

    .mascot-intro .mascot-img {
        flex: none;
        width: 150px;
        margin: 0 auto;
    }
}

.eyebrow {
    color: var(--green-medium);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lead {
    color: var(--text-medium);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 760px;
}

.info-hero {
    margin-bottom: 34px;
}

.info-hero.compact {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px;
}

.info-hero.compact .lead {
    margin-bottom: 0;
}

.step-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.step-card,
.company-box,
.terms-grid > div,
.notice-box {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.step-card {
    min-height: 220px;
    padding: 28px;
    position: relative;
}

.step-card span {
    align-items: center;
    background: var(--green-dark);
    border-radius: 999px;
    color: var(--white);
    display: inline-flex;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    margin-bottom: 18px;
    width: 36px;
}

.step-card h2,
.text-section h2,
.company-box h2,
.terms-grid h2,
.notice-box h2,
.terms-document h2 {
    color: var(--green-dark);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-card p,
.text-section p,
.terms-grid p,
.company-box p,
.notice-box p,
.terms-document p {
    color: var(--text-medium);
    line-height: 1.8;
}

.text-section {
    border-bottom: 1px solid rgba(45, 90, 39, 0.12);
    padding: 28px 0;
}

.styled-section {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
    padding: 28px 30px;
}

.text-section:first-of-type {
    padding-top: 14px;
}

.link-row {
    margin-top: 12px;
}

.link-row a {
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.law-summary {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 22px;
}

.law-summary div {
    background: #eef7e8;
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    padding: 22px;
}

.law-summary span {
    color: var(--green-dark);
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.law-summary p {
    color: var(--text-medium);
    line-height: 1.55;
}

.resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.resource-links a {
    background: var(--green-dark);
    border-radius: var(--radius);
    color: var(--white);
    display: inline-flex;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 12px 18px;
}

.resource-links a:hover {
    background: var(--green-medium);
}

.notice-box {
    margin-top: 28px;
    padding: 26px 28px;
}

.notice-box.calm {
    background: #f2f8ef;
    box-shadow: none;
}

/* Odkazy zpět na produkty (Legislativa, Pro pěstitele) */
.shop-cta {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 28px;
    padding: 26px 28px;
    text-align: center;
}

.shop-cta h2 {
    color: var(--green-dark);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.shop-cta p {
    color: var(--text-medium);
    line-height: 1.8;
}

.shop-cta-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 22px;
}

.shop-cta-chameleon {
    flex: 0 0 auto;
    line-height: 0;
}

.shop-cta-chameleon .chameleon-mascot {
    width: 110px;
}

.shop-cta-btn {
    align-items: center;
    border-radius: var(--radius);
    color: var(--white);
    display: inline-flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    gap: 3px;
    min-width: 210px;
    padding: 15px 26px;
    transition: all var(--transition);
}

.shop-cta-btn-name {
    font-size: 0.95rem;
    font-weight: 800;
}

.shop-cta-btn-note {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.85;
}

.shop-cta-btn.sativa {
    background: var(--sativa-red);
}

.shop-cta-btn.sativa:hover {
    background: #9a1830;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4);
}

.shop-cta-btn.indica {
    background: var(--indica-purple);
}

.shop-cta-btn.indica:hover {
    background: #5c1f6e;
    box-shadow: 0 4px 16px rgba(123, 45, 142, 0.4);
}

@media (max-width: 640px) {
    .shop-cta-row {
        flex-direction: column;
    }

    .shop-cta-chameleon {
        order: -1;
    }

    .shop-cta-btn {
        width: 100%;
    }
}

.company-box {
    margin: 34px 0;
    padding: 28px;
}

.company-box p {
    margin-bottom: 6px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.contact-grid a {
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: none;
}

.contact-grid a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    margin-top: 10px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.terms-grid > div {
    padding: 24px;
}

.terms-document {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.terms-document h2 {
    margin: 28px 0 10px;
}

.terms-document h2:first-child {
    margin-top: 0;
}

.terms-document p {
    margin-bottom: 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.withdrawal-form {
    background: var(--pale-green);
    border: 1px solid rgba(45, 90, 39, 0.2);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 16px;
}

.withdrawal-form p {
    margin-bottom: 10px;
}

/* ========== WOOCOMMERCE SHOP ========== */
.shop-page {
    background: #f7fbf3;
}

.shop-hero {
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--white) 65%);
    padding: 72px 0 54px;
    text-align: center;
}

.shop-hero p:not(.eyebrow) {
    color: var(--text-medium);
    font-size: 1.12rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 760px;
}

.shop-content {
    padding: 44px 0 96px;
}

.woo-container {
    max-width: 1180px;
}

.shop-toolbar {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.woocommerce-result-count {
    color: var(--text-medium);
    font-weight: 600;
}

.woocommerce-ordering select {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.18);
    border-radius: var(--radius);
    color: var(--text-dark);
    font: inherit;
    min-height: 44px;
    padding: 0 14px;
}

.woocommerce ul.products {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    padding: 0 0 24px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    color: inherit;
    display: block;
}

.woocommerce ul.products li.product img {
    display: block;
    height: auto;
    margin: 0;
    object-fit: contain;
    width: 100%;
}

.product-image-wrap {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #edf8e8 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 28px;
}

.product-image-wrap img {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
    max-height: 250px;
    object-fit: contain;
    transition: transform var(--transition);
}

.seminka-product-card:hover .product-image-wrap img {
    transform: scale(1.06);
}

.seminka-product-card.indica .product-image-wrap {
    background: linear-gradient(135deg, #f3e8f7 0%, #ffffff 100%);
}

.seminka-product-card.sativa .product-image-wrap {
    background: linear-gradient(135deg, #fdebee 0%, #ffffff 100%);
}

.woocommerce ul.products li.product > a > img {
    padding: 26px;
}

.woocommerce-loop-product__title {
    color: var(--green-dark);
    font-size: 1.45rem;
    margin: 24px 24px 10px;
}

.woocommerce ul.products li.product .price {
    color: var(--green-medium);
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.22rem;
    font-weight: 800;
    margin: 0 24px 18px;
}

.product-card-note {
    color: var(--text-medium);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 24px 18px;
}

.woocommerce ul.products li.product .price del {
    color: #8b8b8b;
    font-size: 0.95rem;
    font-weight: 600;
    margin-right: 8px;
    opacity: 0.75;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    align-self: flex-start;
    background: var(--green-dark);
    border: 0;
    border-radius: var(--radius);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    justify-content: center;
    margin: auto 24px 0;
    padding: 13px 22px;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--green-medium);
    color: var(--white);
}

.woocommerce .wc-proceed-to-checkout {
    padding: 0;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button.button.alt.wc-forward {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 12px 0 0;
    padding: 16px 28px;
    background: var(--green-dark);
    color: var(--white);
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.25);
    transition: all var(--transition);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button::after {
    content: "→";
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce a.checkout-button.button.alt.wc-forward:hover {
    background: var(--green-medium);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.35);
    transform: translateY(-1px);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover::after {
    transform: translateX(3px);
}

/* Smutný chameleon — prázdný košík */
.cart-empty-chameleon-wrap {
    text-align: center;
    padding: 40px 24px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

img.cart-empty-chameleon {
    width: 160px !important;
    max-width: 160px !important;
    height: auto !important;
    display: block;
    margin: 0 auto 12px;
}

p.cart-empty-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-dark);
    margin: 0 0 4px;
}

p.cart-empty-sub {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 0 0 16px;
}

/* Prokliky na produkty v prázdném košíku */
.cart-empty-crosssell {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 32px;
    max-width: 900px;
    text-align: left;
    width: 100%;
}

.cart-empty-crosssell .product-info-crosssell {
    height: 100%;
}

.cart-empty-crosssell .product-info-crosssell h2 {
    font-size: 1.25rem;
}

.cart-empty-crosssell .product-info-crosssell-btn {
    color: #fff !important;
    margin-top: auto;
    text-decoration: none !important;
}

@media (max-width: 640px) {
    .cart-empty-crosssell {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Skrýt výchozí WooCommerce obsah prázdného košíku */
.wc-block-cart__empty-cart__image,
.wp-block-woocommerce-empty-cart-block .wp-block-image,
.wp-block-woocommerce-empty-cart-block .wp-block-separator,
.wc-block-cart__empty-cart__title {
    display: none !important;
}

/* "New in store" sekce */
.wp-block-woocommerce-empty-cart-block .wp-block-heading {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

/* Block-based cart (WooCommerce Blocks) */
.wp-block-woocommerce-proceed-to-checkout-block,
.wc-block-cart__submit,
.wc-block-cart__submit-container {
    width: 100%;
}

.wc-block-cart__submit-container a,
.wc-block-cart__submit-button,
a.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 12px 0 0;
    padding: 16px 28px !important;
    background: var(--green-dark) !important;
    color: var(--white) !important;
    border: 0 !important;
    border-radius: var(--radius) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.25);
    transition: all var(--transition);
    cursor: pointer;
}

.wc-block-cart__submit-container a::after,
.wc-block-cart__submit-button::after,
.wp-block-woocommerce-proceed-to-checkout-block a::after {
    content: "→";
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.wc-block-cart__submit-container a:hover,
.wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block a:hover {
    background: var(--green-medium) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.35);
    transform: translateY(-1px);
}

.wc-block-cart__submit-container a:hover::after,
.wc-block-cart__submit-button:hover::after,
.wp-block-woocommerce-proceed-to-checkout-block a:hover::after {
    transform: translateX(3px);
}

.woocommerce nav.woocommerce-pagination {
    margin-top: 36px;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
}

.woocommerce nav.woocommerce-pagination a,
.woocommerce nav.woocommerce-pagination span {
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.14);
    border-radius: var(--radius);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    padding: 0 12px;
}

.woocommerce nav.woocommerce-pagination .current {
    background: var(--green-dark);
    color: var(--white);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--white);
    border-left: 4px solid var(--green-medium);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    list-style: none;
    margin: 0 0 24px;
    padding: 18px 20px;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail-page {
    background: #f7fbf3;
}

.product-detail-hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--green-pale) 100%);
    padding: 72px 0;
}

.product-detail-grid {
    align-items: center;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.product-detail-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-gallery-main {
    align-items: center;
    aspect-ratio: 1 / 0.82;
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 46px;
}

.product-detail-page.sativa .product-gallery-main {
    background: linear-gradient(135deg, #fdebee 0%, var(--white) 72%);
}

.product-detail-page.indica .product-gallery-main {
    background: linear-gradient(135deg, #f3e8f7 0%, var(--white) 72%);
}

.product-gallery-main img {
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.18));
    max-height: 440px;
    object-fit: contain;
    width: 100%;
    transition: opacity 0.2s ease;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    background: var(--white);
    border: 2px solid rgba(45, 90, 39, 0.15);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    padding: 6px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--green-medium);
}

.product-detail-summary h1 {
    color: var(--green-dark);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin-bottom: 14px;
}

.product-tagline {
    color: var(--green-medium);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.product-intro {
    color: var(--text-medium);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.product-benefits li {
    align-items: flex-start;
    color: var(--text-medium);
    display: flex;
    gap: 10px;
    line-height: 1.6;
}

.product-benefits li::before {
    background: var(--green-medium);
    border-radius: 999px;
    content: '';
    flex: 0 0 auto;
    height: 8px;
    margin-top: 9px;
    width: 8px;
}

.product-buy-panel {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.product-price-row {
    align-items: baseline;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.product-price-row span {
    color: var(--text-medium);
    font-weight: 700;
}

.product-price-row strong,
.product-price-row .price {
    color: var(--green-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
}

.product-buy-panel form.cart {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.product-buy-panel .quantity {
    display: flex;
}

.product-buy-panel .qty {
    background: #f7fbf3;
    border: 1px solid rgba(45, 90, 39, 0.18);
    border-radius: var(--radius);
    color: var(--text-dark);
    font: inherit;
    font-weight: 700;
    height: 48px;
    padding: 0 8px;
    text-align: center;
    width: 76px;
}

.product-buy-panel .single_add_to_cart_button {
    background: var(--green-dark);
    border: 0;
    border-radius: var(--radius);
    color: var(--white);
    cursor: pointer;
    flex: 1 1 180px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    min-height: 48px;
    padding: 0 24px;
    text-transform: uppercase;
}

.product-buy-panel .single_add_to_cart_button:hover {
    background: var(--green-medium);
}

.product-grow-specs {
    padding: 48px 0 0;
}

.product-grow-specs h2 {
    color: var(--green-dark);
    margin-bottom: 20px;
    text-align: center;
}

.grow-specs-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grow-spec-card {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    text-align: center;
}

.grow-spec-icon {
    font-size: 2rem;
    line-height: 1;
}

.grow-spec-value {
    color: var(--green-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}

.grow-spec-label {
    color: var(--text-medium);
    font-size: 0.85rem;
}

.product-detail-page.sativa .grow-spec-value {
    color: var(--sativa-red);
}

.product-detail-page.sativa .grow-spec-card {
    border-color: rgba(196, 30, 58, 0.18);
}

.product-detail-page.indica .grow-spec-value {
    color: var(--indica-purple);
}

.product-detail-page.indica .grow-spec-card {
    border-color: rgba(123, 45, 142, 0.18);
}

@media (max-width: 640px) {
    .grow-specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product-detail-info {
    padding: 64px 0;
}

.product-info-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-care-box {
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.product-care-box h2,
.trust-grid h3 {
    color: var(--green-dark);
    margin-bottom: 12px;
}

.product-info-crosssell {
    padding: 30px;
    background: var(--white);
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.product-info-crosssell h2 {
    color: var(--green-dark);
    margin: 0;
}

.product-info-crosssell p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.product-info-crosssell-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background var(--transition), box-shadow var(--transition);
}

.product-info-crosssell-btn.sativa {
    background: var(--sativa-red);
}

.product-info-crosssell-btn.sativa:hover {
    background: #9a1830;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4);
}

.product-info-crosssell-btn.indica {
    background: var(--indica-purple);
}

.product-info-crosssell-btn.indica:hover {
    background: #5c1f6e;
    box-shadow: 0 4px 16px rgba(123, 45, 142, 0.4);
}

.product-description,
.product-description p,
.product-care-box p,
.trust-grid p {
    color: var(--text-medium);
    line-height: 1.8;
}

.product-care-box a {
    background: var(--green-dark);
    border-radius: var(--radius);
    color: var(--white);
    display: inline-flex;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    margin-top: 20px;
    padding: 12px 18px;
    text-transform: uppercase;
}

.product-care-box a:hover {
    background: var(--green-medium);
}

.product-crosssell {
    background: var(--cream);
    padding: 32px 0 40px;
    text-align: center;
}

.product-crosssell p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.product-crosssell a {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 8px;
    background: var(--green-dark);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition), box-shadow var(--transition);
}

.product-crosssell a:hover {
    background: var(--green-medium);
    box-shadow: 0 4px 16px rgba(45, 90, 39, 0.35);
}

.product-trust-strip {
    background: var(--white);
    padding: 0 0 76px;
}

.trust-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid div {
    border-top: 3px solid var(--green-medium);
    padding-top: 18px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .header-right {
        display: flex;
        margin-left: auto;
    }

    .desktop-cart {
        display: none;
    }

    .mobile-cart {
        display: inline-flex;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 1;
        flex-basis: 100%;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 8px 0 16px;
        border-top: 1px solid #eee;
    }

    .nav-check:checked ~ .header-inner .main-nav {
        display: flex;
    }

    .products-grid {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        /* Větší boční odsazení = sousední karta zřetelně vykukuje a je jasné, že lze swipovat. */
        padding: 0 38px 16px;
        scroll-padding: 0 38px;
        scrollbar-width: none;
    }

    .products-grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 74vw;
        max-width: 320px;
        scroll-snap-align: center;
        margin: 0 7px;
        /* Sloupcové uspořádání + stejná výška obou karet bez ohledu na délku textu. */
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .product-card-body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    .product-card-body .product-card-btn {
        margin-top: auto;
    }

    .chameleon-desktop {
        display: none;
    }

    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 12px;
        color: var(--green-medium);
        opacity: 0.85;
        font-size: 0.82rem;
        letter-spacing: 0.05em;
        pointer-events: none;
    }

    .swipe-hint--below {
        margin-top: 6px;
        margin-bottom: 4px;
    }

    .swipe-arrow {
        font-size: 1.1rem;
    }

    .swipe-arrow:first-child {
        animation: swipeNudgeLeft 1.6s ease-in-out infinite;
    }

    .swipe-arrow:last-child {
        animation: swipeNudgeRight 1.6s ease-in-out infinite;
    }

    .swipe-label {
        font-weight: 600;
        text-transform: uppercase;
    }

    .chameleon-mobile {
        display: flex;
        justify-content: center;
        margin-top: 4px;
    }

    .chameleon-mobile .chameleon-mascot {
        width: 160px;
        transform: rotate(-10deg);
        filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero {
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .products-section {
        padding-top: 26px;
        padding-bottom: 24px;
    }

    .info-page,
    .shop-hero {
        padding: 48px 0;
    }

    .step-list,
    .terms-grid,
    .contact-grid,
    .law-summary,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .info-hero.compact,
    .styled-section,
    .terms-document {
        padding: 24px;
    }

    .shop-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .product-detail-grid,
    .product-info-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .product-info-main-inner {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .product-info-img-wrap {
        width: 120px;
        height: 120px;
        align-self: center;
    }

    .product-info-img {
        width: 90px;
        height: 90px;
    }

    .product-detail-hero {
        padding: 48px 0;
    }

    .product-detail-media {
        padding: 28px;
    }

    .woocommerce-ordering select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-card-header,
    .product-card-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ========== WOOCOMMERCE THANK-YOU PAGE ========== */
.sk-thankyou {
    max-width: 860px;
    margin: 48px auto 80px;
    padding: 0 24px;
}

.sk-thankyou .woocommerce-order-received,
.sk-thankyou .woocommerce-thankyou-order-received {
    display: none;
}

.sk-thankyou-hero {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--white);
    border-radius: calc(var(--radius) * 2);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
    border: 2px solid var(--green-pale);
}

.sk-thankyou-mascot {
    width: 180px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 16px rgba(45, 90, 39, 0.18));
    animation: sk-mascot-bounce 2.4s ease-in-out infinite;
}

@keyframes sk-mascot-bounce {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-8px) rotate(2deg); }
}

.sk-thankyou-hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--green-dark);
    font-size: 2.25rem;
    margin-bottom: 12px;
    line-height: 1.15;
}

.sk-thankyou-hero-text p {
    color: var(--text-medium);
    font-size: 1.05rem;
    margin: 0;
}

.sk-order-overview.order_details {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 0 0 32px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--green-medium);
}

.sk-order-overview li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    border: none;
}

.sk-order-overview .sk-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green-medium);
}

.sk-order-overview strong {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
}

/* Payment / order details blocks */
.sk-thankyou .woocommerce-order-details,
.sk-thankyou .woocommerce-customer-details,
.sk-thankyou .woocommerce-bacs-bank-details,
.sk-thankyou > p {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

/* Czech QR-payment plugin dumps a raw, unclassed div with inline styles
   straight onto the page — restyle it to match the card look above.
   Flex + order flips the markup order (heading/text/table, then QR image)
   so the QR code renders first, since it's the actionable part. */
.sk-thankyou > div:not([class]) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: var(--white) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
    margin: 0 0 24px !important;
    padding: 24px 32px !important;
    max-width: 100% !important;
    border-left: 4px solid var(--green-medium);
}

.sk-thankyou > div:not([class]) > div {
    order: -1;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.sk-thankyou > div:not([class]) h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--green-dark) !important;
    font-size: 1.15rem !important;
    margin: 0 0 6px !important;
}

.sk-thankyou > div:not([class]) p {
    color: var(--text-medium) !important;
    margin: 0 0 12px !important;
}

.sk-thankyou > div:not([class]) table {
    border-spacing: 4px 6px !important;
    margin: 0 auto !important;
}

.sk-thankyou > div:not([class]) table td {
    padding: 2px 4px !important;
    font-size: 0.95rem;
}

.sk-thankyou h2,
.sk-thankyou h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--green-dark);
    margin-bottom: 16px;
    font-size: 1.35rem;
}

.sk-thankyou table.woocommerce-table,
.sk-thankyou table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.sk-thankyou table.shop_table th,
.sk-thankyou table.shop_table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid var(--green-pale);
}

.sk-thankyou table.shop_table tfoot th,
.sk-thankyou table.shop_table tfoot td {
    font-weight: 700;
    color: var(--green-dark);
}

.sk-thankyou .wc-bacs-bank-details-heading,
.sk-thankyou .woocommerce-order-details__title,
.sk-thankyou .woocommerce-column__title {
    color: var(--green-dark);
    border-bottom: 2px solid var(--green-pale);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.sk-thankyou .button,
.sk-thankyou .wp-element-button {
    background: var(--green-medium);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    display: inline-block;
    margin-right: 8px;
}

.sk-thankyou .button:hover,
.sk-thankyou .wp-element-button:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.sk-thankyou address {
    font-style: normal;
    line-height: 1.7;
    color: var(--text-medium);
}

/* QR code centering */
.sk-thankyou img[src*="qr"],
.sk-thankyou img[alt="QRCode"],
.sk-thankyou .qr-code,
.sk-thankyou .bacs-qr-code img {
    display: block;
    margin: 16px auto !important;
    max-width: 180px !important;
    height: auto;
    border-radius: var(--radius);
    border: 4px solid var(--green-pale);
    padding: 8px;
    background: var(--white);
}

@media (max-width: 640px) {
    .sk-thankyou-hero {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
    .sk-thankyou-mascot {
        width: 140px;
    }
    .sk-thankyou-hero-text h1 {
        font-size: 1.75rem;
    }
}

/* === Checkout: přesun expresní platby (Apple/Google Pay) pod Možnosti dopravy ===
   Express je za běhu vykreslen jako <div> BEZ TŘÍDY (React zahazuje wrapper
   .wp-block-...-express-payment-block), ale je přímým potomkem checkout <form>,
   stejně jako Možnosti dopravy. Reorder tedy řešíme čistým flex order – express
   wrapper cílíme přes :has(), který obsahuje .wc-block-components-express-payment. */
.woocommerce-checkout .wc-block-checkout__form,
.woocommerce-checkout .wc-block-components-form {
    display: flex;
    flex-direction: column;
}
/* Express wrapper (beztřídní <div>) hned za Možnosti dopravy (order 0 zůstává nahoře). */
.woocommerce-checkout .wc-block-checkout__form > div:has(.wc-block-components-express-payment),
.woocommerce-checkout .wc-block-components-form > div:has(.wc-block-components-express-payment) {
    order: 1;
}
/* Možnosti platby a vše za nimi až za expresní blok. */
.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block {
    order: 2;
}
/* Oddělovač „Nebo pokračujte níže" po přesunu doprostřed formuláře nedává smysl. */
.woocommerce-checkout .wc-block-components-express-payment-continue-rule {
    display: none;
}

/* ========== AGE GATE (21+) ========== */
.age-gate {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(45,90,39,0.97) 0%, rgba(74,140,63,0.97) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto;
}

/* Zobraz bránu jen neověřeným návštěvníkům a zamkni scroll na pozadí. */
html.age-lock .age-gate {
    display: flex;
}
html.age-lock body {
    overflow: hidden;
}

.age-gate__card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    max-width: 440px;
    width: 100%;
    padding: 40px 32px 32px;
    text-align: center;
    position: relative;
    animation: ageGateIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.age-gate__logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--green-dark);
    margin-bottom: 18px;
}
.age-gate__logo span {
    color: var(--green-light);
}

.age-gate h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.age-gate__text {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.age-gate__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.age-gate__btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.age-gate__btn--yes {
    background: linear-gradient(135deg, var(--green-medium), var(--green-light));
    color: var(--white);
    box-shadow: 0 6px 18px rgba(74,140,63,0.35);
}
.age-gate__btn--yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(74,140,63,0.45);
}

.age-gate__btn--no {
    background: transparent;
    color: var(--text-medium);
    border: 2px solid #e0e0e0;
}
.age-gate__btn--no:hover {
    border-color: var(--text-medium);
    color: var(--text-dark);
}

.age-gate__note {
    font-size: 0.8rem;
    color: #8b8b8b;
    line-height: 1.5;
    margin: 0;
}
.age-gate__note a {
    color: var(--green-medium);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .age-gate__card {
        padding: 34px 22px 26px;
    }
    .age-gate h2 {
        font-size: 1.3rem;
    }
}

/* ========== TERMS DISCLAIMER BOX ========== */
.terms-disclaimer {
    background: linear-gradient(135deg, #edf8e8 0%, #ffffff 100%);
    border: 1px solid #c8e6c9;
    border-left: 5px solid var(--green-medium);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin: 8px 0 32px;
    box-shadow: var(--shadow);
}
.terms-disclaimer h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--green-dark);
    font-size: 1.25rem;
    margin-bottom: 14px;
}
.terms-disclaimer p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 12px;
}
.terms-disclaimer ul {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}
.terms-disclaimer li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-medium);
    line-height: 1.7;
}
.terms-disclaimer li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green-medium);
    font-weight: 800;
}
.terms-disclaimer strong {
    color: var(--text-dark);
}
.terms-disclaimer__note {
    font-size: 0.9rem;
    color: #6b7a68;
    font-style: italic;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
}

/* Disclaimer na stránce Pro pěstitele */
.grow-disclaimer {
    margin-top: 28px;
}

/* Animace šipek swipe nápovědy (mobil) */
@keyframes swipeNudgeLeft {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50%      { transform: translateX(-4px); opacity: 1; }
}
@keyframes swipeNudgeRight {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50%      { transform: translateX(4px); opacity: 1; }
}

/* Disclaimer na stránce produktu */
.product-disclaimer {
    margin: 8px 0 48px;
}

.terms-disclaimer a {
    color: var(--green-medium);
    font-weight: 600;
    text-decoration: underline;
}
.terms-disclaimer a:hover {
    color: var(--green-dark);
}
