/*
Theme Name: Nikgol
Description: قالب اختصاصی فروشگاه گیاهان مینیاتوری نیک گل
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nikgol
*/
:root{--green:#06462f;--gold:#b59749;--ink:#172a21;--line:#e6e9e4;--soft:#f7f8f5}*{box-sizing:border-box}body.nk-site{margin:0;color:var(--ink);background:#fff;font:15px/1.9 Vazirmatn,'B Yekan',Tahoma,Arial,sans-serif;direction:rtl}a{color:inherit;text-decoration:none}a:hover{color:#987c38}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}svg{vertical-align:middle;flex-shrink:0}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.nk-wrap{width:min(92%,1440px);margin:auto}.nk-header{border-bottom:1px solid var(--line);background:#fff}.nk-head{min-height:84px;display:flex;align-items:center;gap:22px;justify-content:space-between}.nk-brand{display:flex;align-items:center;gap:8px;color:var(--green);flex-shrink:0}.nk-brand b{display:block;font-size:34px;line-height:1.2;font-weight:900}.nk-brand small{display:block;font-size:10px;margin-top:3px;color:var(--gold)}.nk-head nav{display:flex;gap:19px;flex-wrap:wrap;font-size:13px;font-weight:700}.nk-head nav a:first-child{color:var(--green);border-bottom:2px solid var(--gold)}.nk-search{display:flex;align-items:center;border:1px solid #dfe3dd;border-radius:10px;overflow:hidden;max-width:220px;min-width:100px}.nk-search input{border:0;min-width:0;width:100%;padding:7px 10px;background:#fff;font-size:12px}.nk-search button{border:0;background:#fff;color:var(--green);padding:7px}.nk-tools{display:flex;gap:15px;color:var(--green)}.nk-hero{position:relative;background:#f8f8f5}.nk-slide{display:grid;grid-template-columns:42% 58%;height:clamp(280px,23vw,420px);overflow:hidden;align-items:stretch}.nk-slide[hidden]{display:none}.nk-hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px 7%;position:relative;background:linear-gradient(90deg,#f8f8f500,#f8f8f5 15%)}.nk-eyebrow{font-size:13px;color:#987b35;font-weight:bold}.nk-hero h1,.nk-hero h2{color:var(--green);font-size:clamp(25px,3vw,49px);line-height:1.5;margin:8px 0;font-weight:900}.nk-hero p{margin:0 0 18px;font-size:clamp(14px,1.3vw,19px)}.nk-button{display:inline-flex;align-items:center;gap:9px;justify-content:center;border-radius:30px;background:var(--green);color:white!important;padding:9px 24px;font-weight:bold;border:0}.nk-button:hover{background:#087047}.nk-hero-photo{width:100%;height:100%;object-fit:cover;object-position:center}.nk-secondary{background:#f4f6f1}.nk-slide-art{height:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f2f4ef}.nk-slide-art img{height:100%;width:auto;object-fit:contain;max-width:100%}.nk-controls{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px}.nk-controls button{border:1px solid #abb8ad;background:white;border-radius:50%;width:11px;height:11px;padding:0}.nk-controls button[aria-pressed=true]{background:var(--green)}.nk-controls [data-prev],.nk-controls [data-next]{width:28px;height:28px;font-size:20px;line-height:1;color:var(--green)}.nk-section{padding:18px 0 6px}.nk-section-title{display:flex;align-items:center;justify-content:center;gap:15px;color:var(--green);font-size:25px;margin:0 0 16px}.nk-section-title:before,.nk-section-title:after{content:'';height:1px;background:var(--gold);width:min(14vw,200px)}.nk-section-title span{color:var(--gold)}.nk-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.nk-category{display:grid;grid-template-columns:48% 52%;min-width:0;overflow:hidden;min-height:190px;background:#f8f8f5;border:1px solid #e6decb;border-radius:16px;color:var(--green)}.nk-cat-copy{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:14px 9px}.nk-cat-copy svg{color:var(--gold);width:30px;height:30px}.nk-cat-copy h3{font-size:clamp(16px,1.45vw,22px);line-height:1.55;margin:5px 0}.nk-cat-copy p{font-size:12px;color:#566257;margin:4px 0 10px}.nk-cat-copy span{border:1px solid var(--gold);border-radius:20px;padding:4px 11px;font-size:12px}.nk-cat-photo{min-width:0;min-height:0;position:relative}.nk-cat-photo img{width:100%;height:100%;object-fit:cover;display:block}.nk-category:hover{box-shadow:0 6px 20px #173a2420}.nk-section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:16px}.nk-section-head h2{margin:0;color:var(--green);font-size:25px}.nk-section-head a{font-size:13px;color:var(--green)}.nk-story{display:grid;grid-template-columns:1.15fr 1.25fr .7fr;align-items:center;gap:25px;padding:22px 0 32px}.nk-story>img{width:100%;height:180px;object-fit:cover;border-radius:15px;order:3}.nk-story>div{order:2}.nk-story h2{color:var(--green);font-size:25px;margin:5px 0}.nk-story p{font-size:14px}.nk-story aside{display:grid;gap:12px;border-left:1px solid var(--gold);padding-left:12px;order:1}.nk-story aside span{display:flex;align-items:center;gap:10px;font-size:13px}.nk-story aside svg{color:var(--gold)}.nk-footer{background:#06442e;color:#fff;padding:30px 0 0;border-top:2px solid var(--gold)}.nk-foot-grid{display:grid;grid-template-columns:1.05fr 1fr 1fr 1.25fr;gap:30px}.nk-footer .nk-brand{color:white}.nk-footer h3{font-size:17px;color:#e5ca88;margin:0 0 12px}.nk-footer section>a:not(.nk-brand){display:block;font-size:13px;padding:4px 0;overflow-wrap:anywhere}.nk-footer p{font-size:13px;margin:8px 0}.nk-footer .nk-contact{display:flex!important;align-items:center;gap:8px}.nk-contact svg{color:#e5ca88;width:19px;height:19px}.nk-copyright{text-align:center;border-top:1px solid #ffffff25;margin-top:20px;padding:14px;font-size:12px}.nk-inner{min-height:50vh;padding:32px 0}.nk-inner h1{color:var(--green)}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;float:none!important;clear:none!important;margin:0!important;min-width:0;padding:13px;border:1px solid var(--line);border-radius:12px;text-align:center;background:white;display:flex;flex-direction:column}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px}.woocommerce ul.products li.product .price{color:var(--green);font-weight:bold}.woocommerce a.button,.woocommerce button.button,.woocommerce button.button.alt,.woocommerce input.button{background:var(--green)!important;color:white!important;border-radius:8px}.woocommerce input,.woocommerce select,.woocommerce textarea{max-width:100%;border:1px solid #d6ddd4;padding:8px}.woocommerce span.onsale{background:var(--green)}@media(max-width:1100px){.nk-head{flex-wrap:wrap;padding:12px 0;gap:12px}.nk-head nav{order:4;justify-content:center;flex-basis:100%}.nk-search{max-width:300px;flex:1}.nk-categories{gap:10px}.nk-category{min-height:165px}.nk-cat-copy p{display:none}}@media(max-width:700px){.nk-brand b{font-size:27px}.nk-brand img{width:40px;height:40px}.nk-brand small{font-size:9px}.nk-head nav{gap:9px 15px;font-size:12px}.nk-search{order:5;flex-basis:100%;max-width:none}.nk-slide{height:430px;grid-template-columns:1fr;grid-template-rows:52% 48%}.nk-hero-copy{grid-row:2;padding:8px 15px 32px}.nk-hero-photo,.nk-slide-art{grid-row:1;grid-column:1}.nk-hero h1,.nk-hero h2{font-size:25px;margin:4px 0}.nk-hero p{font-size:12px;margin:0 0 8px}.nk-button{padding:6px 15px;font-size:12px}.nk-categories{grid-template-columns:1fr;gap:12px}.nk-category{height:180px}.nk-cat-copy p{display:block}.nk-cat-copy h3{font-size:19px}.nk-cat-photo img{object-position:center}.nk-section-title{font-size:20px;gap:8px}.nk-section-head h2{font-size:19px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nk-story{grid-template-columns:1fr;gap:15px}.nk-story>img{order:0;height:200px}.nk-story>div{order:1}.nk-story aside{order:2;border:0}.nk-foot-grid{grid-template-columns:1fr 1fr;gap:20px}.nk-footer .nk-brand small{white-space:normal}}@media(max-width:400px){.nk-foot-grid{grid-template-columns:1fr}.nk-brand small{display:none}}

/* Accessible links and uniform WooCommerce product cards. */
.nk-tools{position:relative;z-index:2;align-items:center;gap:8px;flex-shrink:0}.nk-tool{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-height:44px;min-width:44px;gap:3px;padding:4px 6px;border-radius:8px;line-height:1.4;font-size:10px;white-space:nowrap;touch-action:manipulation}.nk-tool:hover{background:var(--soft)}.nk-head nav{min-width:0}.woocommerce ul.products{align-items:stretch}.woocommerce ul.products li.product .woocommerce-loop-product__link{display:flex;flex-direction:column;flex:1;min-width:0}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.65;min-height:3.3em;padding:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0}.woocommerce ul.products li.product .price{margin-top:auto;margin-bottom:8px;line-height:1.7;overflow-wrap:anywhere}.woocommerce ul.products li.product .woocommerce-Price-currencySymbol{margin-inline-start:.35em}.woocommerce ul.products li.product .button{margin-top:auto;min-height:42px;width:100%;display:flex;align-items:center;justify-content:center;white-space:normal;line-height:1.5;padding:8px 5px;text-align:center;font-size:13px}.woocommerce ul.products li.product .added_to_cart{font-size:12px;padding:6px}.woocommerce .woocommerce-MyAccount-navigation ul{padding:0;list-style:none}.woocommerce .woocommerce-MyAccount-navigation li a{display:block;border-bottom:1px solid var(--line);padding:10px 12px}.woocommerce .woocommerce-MyAccount-navigation li.is-active a{background:var(--soft);font-weight:bold}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{width:100%;border-radius:8px}.woocommerce form.login,.woocommerce form.register{border-radius:12px}.nk-inner{overflow-wrap:anywhere}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{overflow-wrap:anywhere}.woocommerce table.shop_table{max-width:100%}.woocommerce ul.products li.product a img{margin:0 0 8px}
@media(max-width:700px){.nk-head{gap:8px}.nk-brand{max-width:calc(100% - 112px)}.nk-tools{margin-inline-start:auto}.nk-tool{padding:4px;min-width:44px;font-size:9px}.nk-head nav{width:100%}.woocommerce ul.products li.product{padding:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px}.woocommerce ul.products li.product .price{font-size:13px}.woocommerce ul.products li.product .button{font-size:11px;min-height:44px}.woocommerce .woocommerce-MyAccount-navigation,.woocommerce .woocommerce-MyAccount-content{width:100%;float:none}.woocommerce .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:20px}}
