/*
Theme Name: FIELDEN
Author: GEZGIN OUTDOOR s.r.o.
Description: FIELDEN rice, pulses and staples – self-contained bilingual (EN + CS) theme. No plugin needed. Czech at the site root (default), English under /en/.
Version: 1.6.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: fielden
*/
:root{--green:#0a4733;--ink:#173e30;--cream:#f6f3eb;--gold:#b39560;--red:#b62031;--muted:#657267;--line:#e4e5dc}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.08;letter-spacing:-.035em}h1{font-size:clamp(42px,5.8vw,78px)}h2{font-size:clamp(32px,3.4vw,48px)}h3{font-size:23px;line-height:1.2;font-weight:500;letter-spacing:-.02em}.wrap{width:min(1200px,calc(100% - 80px));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:98px;gap:25px}.brand img{width:215px;height:auto}.site-header nav{display:flex;align-items:center;gap:30px;font-size:14px}.nav-links{display:flex;list-style:none;padding:0;gap:25px;margin:0}.site-header nav a:hover{color:var(--red)}.button{display:inline-flex;align-items:center;justify-content:center;gap:25px;padding:16px 24px;background:var(--green);color:white;border-radius:5px;font-size:14px;font-weight:600;border:1px solid transparent}.button:hover{background:#123c2e;color:white!important}.button.small{padding:12px 18px}.hero{position:relative;min-height:600px;color:#fff;background-image:linear-gradient(90deg,rgba(6,38,27,.89),rgba(7,35,24,.44)),var(--hero-image);background-position:center;background-size:cover;display:flex;flex-direction:column;justify-content:center}.hero-content{padding-top:75px;padding-bottom:100px}.eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:.18em;line-height:1.4;margin-bottom:20px;text-transform:uppercase;color:var(--red)}.hero .eyebrow{color:#e2ca9b}.hero h1{max-width:820px;margin-bottom:25px}.hero p{max-width:480px;color:#f1eee4;font-size:18px;line-height:1.7}.hero-actions{display:flex;gap:30px;align-items:center;margin-top:35px}.hero .button{background:var(--cream);color:var(--green)}.hero .button:hover{background:white;color:var(--green)!important}.light-link{font-size:14px;color:#fff}.hero-bottom{display:flex;justify-content:space-between;position:absolute;bottom:25px;left:0;right:0;font-size:11px;letter-spacing:.1em;color:#eee7d8}.range-strip{background:var(--cream);border-bottom:1px solid #e7e2d5}.range-strip .wrap{display:flex;justify-content:space-between;gap:15px;padding-top:23px;padding-bottom:23px;font-size:11px;letter-spacing:.13em;font-weight:700}.section{padding-top:85px;padding-bottom:85px}.intro-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:100px;align-items:center}.intro-grid h2{margin:0}.intro-text{font-size:17px;color:var(--muted)}.text-link{display:inline-flex;align-items:center;gap:35px;font-size:13px;font-weight:600;border-bottom:1px solid #a8b6ab;padding-bottom:6px}.text-link:hover{color:var(--red);border-color:var(--red)}.products-section{padding:75px 0 90px;background:var(--cream)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:40px;gap:20px}.section-heading h2{margin:0}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.product-card{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;transition:box-shadow .2s,transform .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px #173e3010}.product-card[hidden]{display:none}.product-picture{display:block;position:relative;padding:20px 25px 5px;background:#fff}.product-picture img{width:100%;height:280px;object-fit:contain}.pack-tag{position:absolute;bottom:12px;right:15px;background:var(--cream);border:1px solid var(--line);padding:3px 10px;border-radius:3px;font-size:10px}.card-body{padding:27px}.card-body .eyebrow{font-size:10px;margin-bottom:10px}.card-body h3{margin-bottom:7px}.cz-name{color:var(--muted);font-size:12px;letter-spacing:.06em}.card-body .text-link{margin-top:13px}.page-hero{background:var(--green);color:white;padding:60px 0}.page-hero h1{margin-bottom:20px}.page-hero .eyebrow{color:#d2ba88}.page-hero p{max-width:580px;color:#dce4dc;margin-bottom:0}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}.filters button{background:var(--cream);color:var(--green);border:1px solid var(--line);padding:10px 19px;border-radius:30px;font-size:13px}.filters button.active{background:var(--green);color:white;border-color:var(--green)}.result-count{font-size:12px;color:var(--muted);margin-bottom:28px}.catalogue{padding-top:35px}.contact-section{background:#e9ede5;padding:65px 0}.contact-inner{display:flex;justify-content:space-between;gap:35px;align-items:center}.contact-inner h2{font-size:40px;margin:0}.contact-email{font-size:clamp(16px,2vw,24px);border-bottom:1px solid #8c9c8b;padding-bottom:8px;display:inline-block}.contact-inner p{margin:16px 0 0}footer{background:#083b2b;color:#fff;padding:45px 0 20px}.footer-inner{display:grid;grid-template-columns:1fr 1.5fr .7fr;gap:30px;font-size:12px}.footer-inner strong{letter-spacing:.08em}.footer-inner p{color:#b8cabe;margin-top:8px;max-width:350px}.copyright{border-top:1px solid #ffffff25;margin-top:25px;padding-top:18px;font-size:10px;color:#b8cabe}.detail-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:70px;margin-top:40px;align-items:start}.detail-picture{border:1px solid var(--line);border-radius:10px;padding:25px}.detail-picture img{width:100%;height:auto}.detail-content h1{font-size:52px;margin-bottom:16px}.pack-heading{font-family:Arial,sans-serif;font-size:18px;letter-spacing:0;margin-top:30px}table{border-collapse:collapse;width:100%;margin-bottom:30px;font-size:14px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:13px 10px}thead{background:var(--cream)}.prose{max-width:850px}.menu-toggle{display:none;border:0;background:transparent;font-size:26px;color:var(--green)}.skip-link{position:fixed;top:-100px;left:20px;padding:10px;background:white;z-index:100}.skip-link:focus{top:10px}:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.empty-state{grid-column:1/-1}
@media(max-width:950px){.wrap{width:calc(100% - 48px)}.site-header nav{gap:17px}.brand img{width:170px}.intro-grid{gap:40px}.product-grid{gap:18px}.card-body{padding:20px}.product-picture{padding:15px}.product-picture img{height:230px}.detail-grid{gap:35px}.hero{min-height:560px}}@media(max-width:720px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:78px}.menu-toggle{display:block}.site-header nav{display:none;position:absolute;top:78px;left:0;right:0;background:white;padding:25px;box-shadow:0 10px 20px #0001;align-items:stretch}.site-header nav.open{display:flex;flex-direction:column}.nav-links{flex-direction:column}.hero{min-height:565px}.hero-content{padding-top:55px;padding-bottom:95px}.hero h1{font-size:48px}.hero p{font-size:16px}.hero-actions{gap:22px;flex-wrap:wrap}.hero-bottom{font-size:9px;gap:20px}.hero-bottom span:first-child{max-width:200px}.range-strip .wrap{flex-wrap:wrap;justify-content:center;gap:14px 23px;padding:18px 0;font-size:9px}.section{padding-top:55px;padding-bottom:55px}.intro-grid,.detail-grid{grid-template-columns:1fr;gap:30px}.products-section{padding:55px 0}.section-heading{align-items:start;flex-direction:column;gap:20px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.product-picture img{height:190px}.card-body{padding:17px}.card-body h3{font-size:19px}.card-body .cz-name{font-size:10px}.card-body .text-link{font-size:11px;gap:12px}.pack-tag{font-size:9px;padding:2px 6px}.contact-inner{flex-direction:column;align-items:start}.contact-inner h2{font-size:34px}.footer-inner{grid-template-columns:1fr;gap:18px}.detail-content h1{font-size:44px}.page-hero{padding:45px 0}.filters{gap:8px}.filters button{padding:8px 12px;font-size:12px}}@media(max-width:420px){.product-grid{grid-template-columns:1fr}.product-picture img{height:300px}.hero h1{font-size:42px}.card-body h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.product-picture{padding:0;background:var(--cream)}.product-picture img{height:260px;object-fit:cover}.pack-tag{background:#fffef3e8}.categories-section{padding-bottom:80px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.category-tile{border-radius:8px;overflow:hidden;background:var(--cream);border:1px solid var(--line)}.category-tile img{width:100%;height:170px;object-fit:cover;transition:transform .3s}.category-tile:hover img{transform:scale(1.025)}.category-tile span{display:flex;justify-content:space-between;padding:15px 18px;font-size:16px}.category-tile b{font-weight:400;color:var(--red)}.detail-picture{padding:0;overflow:hidden}.detail-picture img{aspect-ratio:3/2;object-fit:cover}.packaging-section{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin-top:80px;padding-top:50px;border-top:1px solid var(--line)}.packaging-photo{max-height:430px;width:100%;object-fit:contain}.category-enquiry{grid-column:1/-1;padding:50px;background:var(--cream);border-radius:8px}.category-enquiry[hidden]{display:none}@media(max-width:950px){.category-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.category-tile img{height:140px}.category-tile span{font-size:14px;padding:12px}.product-picture img{height:180px}.packaging-section{grid-template-columns:1fr;gap:25px;margin-top:50px}.categories-section{padding-bottom:50px}.category-enquiry{padding:25px}}@media(max-width:420px){.product-picture img{height:240px}}
/* FIELDEN revision 1.1 */
.hero{background-image:linear-gradient(90deg,rgba(5,32,23,.16),rgba(5,32,23,0)),var(--hero-image);background-position:center}.range-strip a{color:inherit}.range-strip a:hover,.range-strip a:focus-visible{text-decoration:underline;text-underline-offset:4px}.detail-grid{align-items:start}.product-description{font-size:16px;color:var(--muted)}.product-uses ul{padding-left:18px;margin:0;display:flex;flex-wrap:wrap;gap:7px 30px;font-size:13px;color:var(--green)}.product-uses li::marker{color:var(--gold)}.spec-table{border:1px solid var(--line);border-collapse:separate;border-spacing:0;border-radius:7px;overflow:hidden}.spec-table th{width:45%;background:var(--cream);font-weight:500;font-size:12px;padding:12px 14px}.spec-table td{font-size:13px;padding:12px 14px}.spec-table tr:last-child th,.spec-table tr:last-child td{border-bottom:0}.detail-packaging{border:1px solid var(--line);border-radius:9px;margin-top:25px;padding:25px;background:#fff}.detail-packaging h2{font-size:30px;margin-bottom:10px}.detail-packaging .packaging-photo{max-height:400px}.product-logistics{padding-top:55px;margin-top:55px;border-top:1px solid var(--line)}.product-logistics h2{font-size:36px}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:7px}.table-scroll table{margin:0;min-width:620px}.table-scroll th,.table-scroll td{padding:15px}.table-scroll tbody tr:last-child th,.table-scroll tbody tr:last-child td{border-bottom:0}.preparation-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:35px}.preparation-grid article{background:var(--cream);padding:25px;border-radius:8px}.about-photo{border-radius:9px;overflow:hidden}.about-photo img{width:100%;height:440px;object-fit:cover;object-position:right}.about-page .intro-grid{gap:50px;grid-template-columns:1fr 1fr}.contact-intro{margin-bottom:35px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.contact-card{padding:30px;background:var(--cream);border:1px solid var(--line);border-radius:9px}.contact-card h2{font-size:30px;line-height:1.2}.contact-card p{margin-bottom:0}footer{background:#fff;color:var(--ink);border-top:1px solid var(--line);padding-top:60px}.footer-inner{grid-template-columns:1.25fr 1.2fr .9fr .9fr;gap:45px;font-size:12px}.footer-brand img{width:215px;height:auto}.footer-inner p{color:var(--muted);margin-top:15px}.footer-inner strong{letter-spacing:0}.footer-heading{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin:0 0 22px;line-height:1.3}.footer-inner nav a{display:block;margin-bottom:11px}.footer-inner a:hover{color:var(--red)}.social-icons{display:flex;gap:10px;margin-top:20px}.social-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;color:var(--green);background:var(--cream);border:1px solid var(--line);border-radius:50%}.copyright{color:var(--muted);border-color:var(--line);margin-top:40px;padding-top:25px}.site-header .button{white-space:nowrap}@media(max-width:950px){.footer-inner{grid-template-columns:1fr 1fr;gap:35px}.about-page .intro-grid{gap:30px}.spec-table th,.spec-table td{padding:10px}}@media(max-width:720px){.detail-packaging{padding:20px}.detail-packaging .packaging-photo{max-height:330px}.product-logistics{padding-top:35px;margin-top:35px}.about-page .intro-grid,.contact-grid,.preparation-grid{grid-template-columns:1fr}.about-photo img{height:300px}.contact-card{padding:25px}.footer-inner{grid-template-columns:1fr 1fr;gap:35px 20px}.footer-brand{grid-column:1/-1}.footer-inner>div:nth-child(2){grid-column:1/-1}.hero{background-position:62% center}.hero-content{background:linear-gradient(90deg,rgba(5,32,23,.26),transparent)}}

/* Revision 1.2 */
.footer-contact a{display:flex;align-items:center;gap:9px;margin:9px 0;overflow-wrap:anywhere}.footer-contact svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5}.footer-brand .gezgin-family{width:85px;height:auto;margin-top:18px}.option-label{display:block;font-size:10px;color:var(--muted);font-weight:400}.category-followup{margin-top:45px;background:var(--cream);padding:35px;border-radius:9px}.legal-document{padding:30px;background:var(--cream);border:1px solid var(--line);border-radius:9px;margin:30px 0}.legal-document h2{font-size:32px}.legal-document .text-link{margin-left:18px}.hero{background-image:linear-gradient(90deg,rgba(5,32,23,.65),rgba(5,32,23,.18) 47%,transparent 75%),var(--hero-image)}.hero h1{max-width:660px}.hero-bottom{gap:30px}.pack-tag{max-width:calc(100% - 20px)}@media(max-width:720px){.hero{background-position:center}.hero-bottom span:last-child{max-width:170px;text-align:right}.category-followup{padding:25px}.legal-document .text-link{margin:20px 0 0}}

/* ===== Version 1.3: bilingual build ===== */
.cz-name{text-transform:uppercase}
.site-header nav a.active{color:var(--red)}
.site-header nav a.button.active{color:#fff;background:var(--green)}
.lang-switch{display:inline-flex;align-items:center;padding:3px;border:1px solid var(--line);border-radius:30px;font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1}
.lang-switch>*{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:7px 9px;border-radius:30px;color:var(--muted)}
.lang-switch a:hover{color:var(--green)}
.lang-switch .on{background:var(--green);color:#fff}
.site-header nav a.nav-catalogue{font-weight:600;color:var(--green);white-space:nowrap}
.contact-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
@media(max-width:720px){.contact-inner{flex-direction:column;align-items:flex-start}.site-header nav .lang-switch{align-self:flex-start}}
.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.category-tile img{height:200px}
.hero-bottom{text-shadow:0 1px 8px rgba(0,0,0,.65);color:#fff;font-weight:600}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:110px;background:linear-gradient(transparent,rgba(5,32,23,.55));pointer-events:none}
.hero-bottom{z-index:1}
.related-products{margin-top:20px}
.product-page{padding-bottom:30px}
.muted-note{color:var(--muted);font-size:13px;margin:16px 0 0}
.contact-grid{margin-top:45px}
.enquiry-form{background:var(--cream);border:1px solid var(--line);border-radius:9px;padding:32px;margin-top:10px}
.enquiry-form h2{font-size:30px;margin-bottom:22px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;margin-bottom:18px}
.enquiry-form label{display:block;font-size:12px;font-weight:700;letter-spacing:.05em;color:var(--green)}
.enquiry-form input,.enquiry-form select,.enquiry-form textarea{display:block;width:100%;margin-top:7px;padding:13px 14px;border:1px solid #cfd5c9;border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:400;letter-spacing:0}
.enquiry-form textarea{resize:vertical;min-height:140px}
.enquiry-form .wide{margin-bottom:18px}
.enquiry-form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form-note{font-size:12px;color:var(--muted);margin:14px 0 0}
.form-status{margin-top:16px;padding:14px 16px;border-radius:6px;background:#fff;border:1px solid var(--line);font-size:14px}
.form-status[hidden]{display:none}
button.social-icon{padding:0;cursor:default;font:inherit}
button.social-icon:disabled{opacity:.45}
a.social-icon:hover{border-color:var(--green)}
.footer-inner h2.footer-heading{font-family:Arial,Helvetica,sans-serif}
/* legal pages */
.legal-copy{max-width:900px}
.legal-copy h2{font-size:30px;margin:38px 0 14px}
.legal-copy h3{font-size:19px;margin:26px 0 10px}
.legal-copy p,.legal-copy li{color:#34493e;font-size:15px}
.legal-copy a:not(.button){border-bottom:1px solid #a8b6ab}
.doc-download{margin:0 0 26px}
.legal-doc-body .doc-table{border:1px solid var(--line);background:var(--cream);margin-bottom:28px}
.legal-doc-body .doc-table td{border-bottom:0;font-size:13px;padding:12px 14px}
.legal-doc-body h2.toc-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;letter-spacing:.14em;margin:26px 0 12px}
.legal-doc-body h2.toc-title+p,.legal-doc-body h2.toc-title~p:not(.clause){margin-bottom:6px}
.legal-doc-body .clause{margin:0 0 10px;padding-left:64px;position:relative}
.legal-doc-body .clause .cn{position:absolute;left:0;top:0;width:56px;color:var(--green);font-weight:700;font-size:13px}
.legal-doc-body .doc-subtitle{color:var(--muted);font-style:italic}
.legal-doc-body table:not(.doc-table){font-size:13px}
@media(max-width:720px){.form-grid{grid-template-columns:1fr}.enquiry-form{padding:22px}.category-grid{grid-template-columns:repeat(2,1fr)}.category-grid .category-tile:last-child:nth-child(odd){grid-column:1/-1}.category-tile img{height:150px}.legal-doc-body .clause{padding-left:48px}.legal-doc-body .clause .cn{width:42px;font-size:12px}.site-header nav .lang-switch{align-self:flex-start}}

/* ===== Version 1.4 ===== */
.eyebrow{font-size:14px;letter-spacing:.14em;margin-bottom:16px}
.card-body .eyebrow{font-size:12.5px;letter-spacing:.12em}
.page-hero .eyebrow{font-size:14px}
.footer-brand .gezgin-family{width:150px;margin-top:22px}
.catalogue-bar{display:flex;align-items:center;gap:30px;flex-wrap:wrap;margin-bottom:22px}
.catalogue-frame{display:block;width:100%;height:82vh;min-height:560px;border:1px solid var(--line);border-radius:9px;background:var(--cream)}
.catalogue-fallback{font-size:13px;color:var(--muted);margin-top:14px}
.catalogue-fallback a{text-decoration:underline}
@media(max-width:720px){.footer-brand .gezgin-family{width:120px}.catalogue-frame{height:70vh}}

/* catalogue pages (A4 portrait) */
.catalogue-pages{display:flex;flex-direction:column;align-items:center;gap:34px;margin:10px 0 10px}
.catalogue-pages img{width:min(860px,100%);height:auto;aspect-ratio:595/842;background:#fff;border:1px solid var(--line);border-radius:3px;box-shadow:0 18px 42px #173e3022}
.catalogue-bar{justify-content:center}
.catalogue-bar-end{margin:30px 0 0}
/* menu */
.site-header nav{gap:34px;font-size:16px}
.site-header nav>a:not(.button){position:relative;font-weight:600;letter-spacing:.015em;padding:8px 0}
.site-header nav>a:not(.button)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .22s}
.site-header nav>a:not(.button):hover::after,.site-header nav>a.active::after{transform:scaleX(1)}
.site-header nav>a.active,.site-header nav>a:not(.button):hover{color:var(--green)}
.site-header nav a.nav-catalogue{color:var(--green)}
.site-header .button.small{padding:15px 24px;font-size:15px;letter-spacing:.01em}
.lang-switch{font-size:12px}
@media(max-width:1180px){.site-header nav{gap:22px;font-size:15px}.site-header .button.small{padding:13px 18px}}
@media(max-width:950px){.site-header nav{gap:17px}}
@media(max-width:720px){.site-header nav{gap:14px;font-size:17px}.site-header nav>a:not(.button){padding:6px 0}.catalogue-pages{gap:20px}}
