/*
Theme Name: ZöldMancs Kisállatbolt
Theme URI: https://example.org/
Author: Egyedi WooCommerce dizájn
Description: Természetközeli, mobilbarát magyar WordPress/WooCommerce webáruház téma nyusziknak, tengerimalacoknak és deguknak kínált eleségekhez.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zoldmancs
Tags: e-commerce, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/
:root{--forest:#334b1f;--olive:#5d782e;--leaf:#718844;--pale:#eff1df;--cream:#fbf8f0;--sand:#f3ebd9;--taupe:#ded3b7;--ink:#2a3223;--muted:#68715d;--line:#e5dfd1;--radius:17px;--shadow:0 12px 35px rgba(55,60,33,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.6}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}a:hover{color:var(--olive)}button,input,select,textarea{font:inherit}button{cursor:pointer}input,textarea,select{max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #aabb74;outline-offset:2px}.wrap{width:min(1220px,calc(100% - 40px));margin:auto}.sr-only,.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.skip-link:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;background:#fff;padding:10px;z-index:1000}.top-strip{background:#64793e;color:#fff;font-size:12px}.top-strip .wrap{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.top-strip span{white-space:nowrap}.site-header{background:#fffdf8;border-bottom:1px solid var(--line);position:relative;z-index:50}.header-main{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:18px 0}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-icon{width:57px;height:57px;background:#ebefdc;border-radius:50%;display:grid;place-items:center;font-size:31px}.brand strong{font:700 clamp(23px,2.5vw,31px)/1.05 Georgia,serif;color:var(--forest);display:block;letter-spacing:-.7px}.brand small{color:#6a742a;font:600 14px Georgia,serif}.custom-logo-link img{max-width:220px;max-height:75px;width:auto}.header-search{display:flex;flex:1;max-width:455px;min-width:170px;border:1px solid #d7d8c6;border-radius:10px;overflow:hidden;background:#fff}.header-search input{min-width:0;flex:1;border:0;padding:13px 15px;outline:0;background:transparent}.header-search button,.search-submit{background:var(--olive);border:0;color:white;padding:0 18px;font-size:20px}.header-actions{display:flex;gap:18px;align-items:center}.header-actions a{display:flex;flex-direction:column;align-items:center;font-size:12px;white-space:nowrap;position:relative}.header-actions .action-icon{font-size:25px;line-height:1.3}.cart-count{position:absolute;top:-5px;right:0;background:var(--olive);color:#fff;border-radius:50%;min-width:18px;height:18px;font-size:11px;display:grid;place-items:center}.menu-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:8px;padding:6px 10px;font-size:22px}.main-nav{background:#fffdf8;border-top:1px solid #f0e9d9}.nav-wrap{display:flex;align-items:center;justify-content:center;gap:38px}.primary-menu{display:flex;align-items:center;justify-content:center;gap:34px;list-style:none;margin:0;padding:0}.primary-menu a{display:block;font-size:14px;font-weight:650;padding:13px 2px}.primary-menu .current-menu-item>a,.primary-menu a:hover{color:var(--olive)}.primary-menu li{position:relative}.primary-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:195px;z-index:99;background:#fff;list-style:none;margin:0;padding:7px 12px;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:8px}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:block}.primary-menu .sub-menu a{padding:8px}.nav-sale{color:#985027!important}.main-content{min-height:52vh}.hero{background:#f1eedf url('assets/images/hero-animals.webp') center/cover no-repeat;min-height:434px;display:flex;align-items:center}.hero-inner{padding:55px 0}.hero-copy{max-width:440px;padding:12px 0}.eyebrow{color:#6a7b32;font-weight:800;letter-spacing:2px;text-transform:uppercase;font-size:12px}.hero h1{font:700 clamp(37px,4.4vw,60px)/1.05 Georgia,serif;letter-spacing:-1.5px;color:#343b26;margin:15px 0 20px}.hero p{max-width:360px;font-size:16px;line-height:1.65;margin-bottom:26px}.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0!important;border-radius:10px!important;background:var(--forest)!important;color:#fff!important;padding:12px 23px!important;font-weight:750!important;line-height:1.3;transition:.18s}.button:hover,.wp-block-button__link:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--olive)!important;color:#fff!important;transform:translateY(-1px)}.btn-light{background:#e7edcf!important;color:var(--forest)!important}.home-section{padding:54px 0 20px}.section-heading{text-align:center;margin-bottom:30px}.section-heading h2{font:700 clamp(27px,3vw,38px) Georgia,serif;margin:4px 0;color:#313b24;line-height:1.2}.section-heading p{color:var(--muted);margin:9px 0 0}.leaf-accent{font-size:17px;color:#718844;letter-spacing:4px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.category-card{background:#f2ebdc;border:1px solid #eae2d1;min-height:156px;border-radius:17px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:end;text-align:center;transition:.2s;box-shadow:0 5px 18px rgba(52,73,31,.035)}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.category-card .cat-visual{width:100%;height:112px;display:grid;place-items:center;background:linear-gradient(145deg,#f9f6ea,#e6e6cb);overflow:hidden}.cat-visual img{width:100%;height:100%;object-fit:cover}.cat-visual .cat-emoji{font-size:66px}.category-card strong{font:700 15px Georgia,serif;padding:10px 4px 14px;display:block;line-height:1.25}.category-card strong span{font-family:Arial;font-size:13px;color:var(--olive)}.product-section{padding-top:57px}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.product-tile{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 5px 16px rgba(0,0,0,.035);display:flex;flex-direction:column;min-width:0;transition:transform .2s,box-shadow .2s}.product-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-image{position:relative;aspect-ratio:1/1;background:#f3f0e8;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;display:block}.product-image img.placeholder-photo{object-fit:contain;padding:25px}.pill{position:absolute;top:12px;left:12px;background:#fff4cf;border-radius:40px;padding:3px 10px;font-size:12px;font-weight:700;color:#66531f}.pill.sale{background:#f7dfd0;color:#9d4828}.product-info{padding:16px;display:flex;flex-direction:column;flex:1}.product-title{font-weight:750;line-height:1.35;margin-bottom:8px;min-height:2.7em;font-size:15px}.rating{color:#d89c23;font-size:13px;letter-spacing:1px}.stock-note{color:#43712c;font-size:12px;font-weight:600;margin:5px 0}.product-price{font-size:19px;font-weight:800;margin:3px 0 14px;color:#2d3626}.product-price del{color:#8b8b7e;font-weight:400;font-size:13px}.product-price ins{text-decoration:none}.product-info .button{width:100%;margin-top:auto;font-size:13px!important;padding:11px 10px!important}.home-view-all{text-align:center;margin-top:30px}.promo{margin:55px 0 22px;min-height:190px;border-radius:18px;background:linear-gradient(90deg,rgba(244,239,220,.98) 0%,rgba(244,239,220,.92) 47%,rgba(244,239,220,.12) 100%),url('assets/images/szena.webp') center right/cover no-repeat;display:flex;align-items:center;padding:32px 7%;overflow:hidden}.promo div{max-width:540px}.promo h2{font:700 clamp(25px,3vw,36px)/1.1 Georgia,serif;margin:0 0 12px}.promo p{margin:0;color:#4d593e}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:26px 0 48px}.benefit{display:flex;gap:12px;align-items:center;background:#f8f3e7;border-radius:13px;padding:17px}.benefit-icon{font-size:30px;color:var(--olive)}.benefit strong{display:block;font-size:13px;line-height:1.25}.benefit small{font-size:11px;color:#737362;display:block;margin-top:4px;line-height:1.35}.newsletter{background:#c9d2a5;padding:24px 0}.newsletter .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px}.newsletter h2{font:700 26px Georgia,serif;margin:0}.newsletter p{margin:2px 0;font-size:13px}.newsletter .newsletter-link{white-space:nowrap}.site-footer{background:#394b26;color:#fbfff5}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1fr;gap:50px;padding:55px 0}.footer-grid h3{font:700 18px Georgia,serif;margin:0 0 17px}.footer-grid p,.footer-grid a{font-size:13px;color:#eef1df}.footer-grid ul{list-style:none;padding:0;margin:0}.footer-grid li{margin:7px 0}.footer-grid a:hover{color:white;text-decoration:underline}.footer-bottom{background:#2e3b20;color:#d8dec7;padding:15px 0;font-size:12px}.footer-bottom .wrap{display:flex;justify-content:space-between;gap:15px}.inner-content{padding:45px 0 90px}.page-title{font:700 clamp(29px,3.5vw,43px) Georgia,serif;color:var(--forest);margin:0 0 20px}.page-card{background:white;border-radius:16px;padding:30px;box-shadow:var(--shadow)}.page-card p:first-child{margin-top:0}.entry-meta{color:var(--muted);font-size:13px}.woocommerce .woocommerce-breadcrumb{margin-bottom:25px;color:var(--muted)}.woocommerce .woocommerce-breadcrumb a{color:var(--forest)}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;clear:both}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:0 0 16px!important;background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;min-width:0}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:cover;margin:0 0 10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 15px!important;color:var(--ink);font-weight:700;min-height:3em;font-size:15px!important}.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .star-rating{margin:8px 15px!important;color:var(--forest)!important}.woocommerce ul.products li.product .button{margin:10px 15px 0!important;width:calc(100% - 30px)}.woocommerce span.onsale{background:#778d48;border-radius:9px;min-height:auto;min-width:auto;padding:3px 12px;top:12px;left:12px;line-height:1.7}.woocommerce div.product .product_title{font:700 34px Georgia,serif;color:var(--forest)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--forest);font-weight:700;font-size:25px}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--cream)}.woocommerce .quantity .qty{border:1px solid #cbd1bb;border-radius:8px;padding:8px}.woocommerce-message,.woocommerce-info{border-top-color:var(--olive)}.woocommerce-message::before,.woocommerce-info::before{color:var(--olive)}.woocommerce-cart table.cart img{width:75px}.woocommerce a.remove{color:#a55434!important}.woocommerce div.product div.images img{border-radius:13px}.woocommerce form.checkout,.woocommerce-cart .cart-collaterals,.woocommerce-checkout #order_review{background:white;border-radius:14px;padding:20px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{padding:11px;border:1px solid var(--line);border-radius:7px}.woocommerce table.shop_table{border-color:var(--line)}.woocommerce .select2-container .select2-selection--single{height:43px;border:1px solid var(--line);border-radius:7px}.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{line-height:41px}.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{height:41px}.no-products{text-align:center;padding:35px;border-radius:15px;border:1px dashed #b6c4a0}.comment-form input:not([type=submit]),.comment-form textarea{border:1px solid var(--line);border-radius:8px;padding:10px;display:block}.pagination .page-numbers{padding:8px 12px}.pagination .current{background:var(--forest);color:#fff;border-radius:5px}
@media(max-width:1024px){.top-strip span:last-child{display:none}.header-main{gap:15px}.header-actions{gap:10px}.primary-menu{gap:16px}.category-grid{grid-template-columns:repeat(3,1fr)}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-grid{gap:25px}.hero{background-position:55% center}.hero-copy{max-width:385px}.benefits{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.wrap{width:min(100% - 28px,1220px)}.top-strip .wrap{justify-content:center}.top-strip span:nth-child(2){display:none}.header-main{display:grid;grid-template-columns:auto 1fr auto;gap:9px;padding:13px 0}.brand-icon{width:39px;height:39px;font-size:24px}.brand strong{font-size:21px}.brand small{font-size:11px}.menu-toggle{display:block;grid-column:1}.brand{grid-column:2}.header-actions{grid-column:3}.header-actions .account-link{display:none}.header-actions a{font-size:10px}.header-actions .action-icon{font-size:23px}.header-search{grid-column:1 / -1;grid-row:2;max-width:none;min-width:0;width:100%}.header-search input{padding:10px}.main-nav{display:none}.main-nav.is-open{display:block}.nav-wrap{display:block}.primary-menu{flex-direction:column;align-items:stretch;gap:0}.primary-menu a{padding:12px;border-bottom:1px solid var(--line)}.primary-menu .sub-menu{display:block;position:static;box-shadow:none;border:0;padding-left:15px;background:transparent}.hero{min-height:565px;align-items:flex-start;background-position:60% bottom;background-size:auto 340px;background-color:#f4f0e0;background-repeat:no-repeat}.hero-inner{padding:34px 0}.hero-copy{max-width:100%;padding:0}.hero h1{font-size:37px;max-width:330px}.hero p{font-size:14px;max-width:320px}.home-section{padding-top:40px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.category-card{min-height:125px}.category-card .cat-visual{height:88px}.cat-visual .cat-emoji{font-size:48px}.category-card strong{font-size:12px;padding:7px 2px 12px}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-info{padding:11px}.product-title{font-size:13px}.product-price{font-size:16px}.product-image{aspect-ratio:1}.product-info .button{font-size:12px!important}.promo{min-height:205px;padding:25px;background-position:center right}.promo div{max-width:85%}.benefits{gap:10px}.benefit{padding:11px;align-items:flex-start}.benefit-icon{font-size:23px}.benefit strong{font-size:12px}.newsletter .wrap{flex-direction:column;align-items:flex-start}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;padding:38px 0}.footer-bottom .wrap{flex-direction:column}.inner-content{padding:27px 0 55px}.page-card{padding:19px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;padding:0 10px!important}.woocommerce ul.products li.product .price{margin:6px 10px!important}.woocommerce ul.products li.product .button{margin:10px 10px 0!important;width:calc(100% - 20px);padding:10px 4px!important;font-size:12px}.woocommerce div.product .product_title{font-size:27px}}
@media(max-width:360px){.category-grid{grid-template-columns:repeat(2,1fr)}.brand strong{font-size:18px}.hero h1{font-size:33px}}

/* v1.1: Négy állatkategória az eredeti natúr kártyastílusban. */
.category-grid{max-width:1050px;margin-inline:auto}
.category-card .cat-visual{height:165px}
.category-card strong{padding:12px 7px 16px;font-size:17px}
@media(max-width:1024px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.category-card .cat-visual{height:128px}}
@media(max-width:700px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card .cat-visual{height:145px}.category-card strong{font-size:15px}}
@media(max-width:360px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card .cat-visual{height:120px}}

/* 1.2: reviewed header, portrait categories and improved hero */
.hero{background-position:center center; background-size:cover}
.hero-copy{max-width:470px;text-shadow:0 1px 0 rgba(255,255,255,.25)}
.category-card .cat-visual{height:175px}
.category-card .cat-visual img{object-fit:cover;object-position:center 43%;transition:transform .35s ease}
.category-card:hover .cat-visual img{transform:scale(1.04)}
.legal-links{padding-top:10px!important;margin-top:10px!important;border-top:1px solid rgba(255,255,255,.18)}
@media(max-width:1024px){.category-card .cat-visual{height:145px}}
@media(max-width:700px){.hero{background-size:cover;background-position:66% bottom;position:relative;isolation:isolate;min-height:560px}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(247,242,223,.96) 0%,rgba(247,242,223,.91) 37%,rgba(247,242,223,.12) 73%);z-index:-1}
.hero-copy{position:relative;z-index:1}.hero h1{font-size:clamp(30px,8vw,37px)}
.category-card .cat-visual{height:145px}}

/* NG Széna 1.3 – KIZÁRÓLAG a jogi oldalak formázása; az eredeti shop dizájnhoz nem nyúl. */
.zm-legal-document{max-width:1020px;margin:0 auto;color:var(--ink,#293823);font-size:15px;line-height:1.75}
.zm-legal-document .zm-doc-lead{background:#f4f6ed;border-left:4px solid #7b965d;border-radius:0 12px 12px 0;padding:18px 22px;margin:0 0 24px;color:#405337}
.zm-legal-document .zm-doc-toc{border:1px solid #e3e9d6;background:#fbfcf7;border-radius:14px;padding:20px 23px;margin:22px 0 30px}
.zm-legal-document .zm-doc-toc strong{font:700 21px Georgia,serif;color:#354d2e}
.zm-legal-document .zm-doc-toc div{display:flex;gap:10px 15px;flex-wrap:wrap;margin-top:13px}
.zm-legal-document .zm-doc-toc a{display:inline-block;border:1px solid #dce4d0;background:white;border-radius:25px;padding:5px 13px;font-size:13px;color:#3b5b36;text-decoration:none}
.zm-legal-document .zm-doc-toc a:hover{background:#e8eee0}
.zm-legal-document .zm-doc-section{padding:10px 0 18px;border-bottom:1px solid #edf0e5;scroll-margin-top:25px}
.zm-legal-document .zm-doc-section h2{font:700 clamp(21px,2.3vw,29px) Georgia,serif;line-height:1.3;color:#304d31;margin:22px 0 16px}
.zm-legal-document .zm-doc-section p{margin:0 0 16px}
.zm-legal-document .zm-doc-section ul,.zm-legal-document .zm-doc-section ol{padding-left:25px;margin:8px 0 20px}
.zm-legal-document .zm-doc-section li{margin-bottom:7px}
.zm-legal-document .zm-doc-section a{color:#3e682e;text-decoration:underline;text-underline-offset:2px}
.zm-legal-document .zm-doc-section table{display:block;overflow-x:auto;border-collapse:collapse;width:100%;margin:14px 0 22px;font-size:14px}
.zm-legal-document .zm-doc-section th,.zm-legal-document .zm-doc-section td{border:1px solid #dbe4d2;padding:12px 14px;vertical-align:top;text-align:left;min-width:135px}
.zm-legal-document .zm-doc-section th{background:#edf2e5;color:#304630}
.zm-legal-document .zm-doc-section tr:nth-child(even) td{background:#fbfcf8}
.zm-legal-document .zm-doc-section dl{display:grid;grid-template-columns:minmax(160px,34%) 1fr;margin:16px 0;background:#fbfcf7;border:1px solid #e4e9d9;border-radius:12px;overflow:hidden}
.zm-legal-document .zm-doc-section dt,.zm-legal-document .zm-doc-section dd{padding:11px 16px;border-bottom:1px solid #e4e9d9;margin:0;overflow-wrap:anywhere}
.zm-legal-document .zm-doc-section dt{font-weight:700;background:#f1f5ea}
.zm-to-fill{display:inline;padding:2px 5px;background:#fff4cd;color:#704b12;border-radius:3px;font-weight:700;box-decoration-break:clone}
.zm-legal-document details{border:1px solid #e4e9d9;border-radius:10px;padding:13px;margin:18px 0}
.zm-legal-document details summary{cursor:pointer;color:#3b5a31;font-weight:700}
.zm-withdrawal-form{background:#f7f9f2;border:1px solid #e0e7d8;border-radius:16px;padding:23px;margin:20px 0}
.zm-withdrawal-form label{display:block;font-weight:700;margin:0 0 16px}
.zm-withdrawal-form input,.zm-withdrawal-form textarea{display:block;border-radius:8px;border:1px solid #cad6c5;width:100%;margin-top:6px;padding:12px;font:inherit;background:white}
.zm-withdrawal-form .button,.zm-withdrawal-form button{background:#43633a;color:white;border:0;border-radius:9px;padding:13px 25px;font-size:16px;font-weight:700;cursor:pointer}
.zm-form-note{font-size:13px;color:#616b5c}.zm-form-message{border-radius:10px;padding:12px 16px;margin:18px 0;background:#e9f1e4;color:#274722}
.zm-form-message.error{background:#fff0e8;color:#8d3d25}.zm-antispam{position:absolute;left:-9999px;top:-9999px;opacity:0;pointer-events:none}
.zm-withdrawal-link{display:inline-block;color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.zm-legal-document .zm-doc-section dl{grid-template-columns:1fr}.zm-legal-document .zm-doc-section dt{border-bottom:0}.zm-legal-document .zm-doc-section dd{padding-top:3px}.zm-legal-document .zm-doc-toc{padding:15px}.zm-withdrawal-form{padding:16px}}
