/*
Theme Name: JanelGarden Nursery Marketplace
Theme URI: https://janelgarden.com
Author: JanelGarden
Description: Standalone nursery storefront with bundled marketplace foundation. No WooCommerce required. Checkout and vendor shipping exceptions are not implemented.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: janelgarden
*/
:root{--green:#176b45;--mint:#edf7ee;--ink:#17251e;--line:#e2e9e4}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{max-width:1240px;margin:auto;padding:0 20px}.site-header{border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:20}.header-inner{display:flex;align-items:center;gap:22px;min-height:78px}.brand{font-weight:800;font-size:25px;color:var(--green);white-space:nowrap}.search{flex:1;display:flex}.search input{width:100%;padding:13px 16px;border:1px solid #cbd9cf;border-radius:8px 0 0 8px;font:inherit}.search button,.btn{background:var(--green);border:0;color:white;padding:12px 19px;border-radius:0 8px 8px 0;cursor:pointer;font:inherit}.btn{border-radius:8px;display:inline-block}.header-links{display:flex;gap:16px;font-size:14px}.nav{background:var(--mint);padding:12px 0}.nav .wrap{display:flex;gap:25px;flex-wrap:wrap}.hero{background:linear-gradient(105deg,#e2f4dc,#f9fdf5);padding:52px 0}.hero h1{font-size:clamp(28px,4vw,48px);margin:0 0 12px}.hero p{font-size:18px;max-width:620px}.section{padding:35px 0}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-head h2{margin:0;font-size:25px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.product-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#f4f8f3}.product-info{padding:14px}.product-info h3{font-size:16px;margin:0 0 9px}.price{font-weight:750;color:var(--green)}.tag{font-size:12px;color:#607267}.horizontal{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;padding-bottom:12px}.horizontal .product-card{flex:0 0 calc((100% - 54px)/4);scroll-snap-align:start}.single-layout{display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:40px 0}.single-layout .featured{width:100%;aspect-ratio:1;object-fit:contain;border:1px solid var(--line);border-radius:12px}.field{padding:12px;border:1px solid #ccd8ce;border-radius:8px;max-width:100%}.site-footer{background:#153d2b;color:white;padding:38px 0;margin-top:40px}.notice{padding:15px;background:#fff5da;border-radius:8px}.pagination{padding:20px 0}.product-attrs{line-height:1.9}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:800px){.header-inner{flex-wrap:wrap;padding:12px 0;gap:10px}.search{order:3;flex-basis:100%}.header-links{margin-left:auto}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.horizontal .product-card{flex-basis:calc((100% - 10px)/2)}.single-layout{grid-template-columns:1fr}.hero{padding:30px 0}.section-head h2{font-size:21px}}
/* JanelGarden brand header */
.brand{display:flex;align-items:center;flex:0 1 340px;min-width:0}
.header-logo{display:block;width:100%;max-width:340px;height:auto;max-height:90px;object-fit:contain;object-position:left center}
.header-inner{min-height:104px}
@media(max-width:900px){.brand{flex:0 1 235px}.header-logo{max-width:235px}.header-inner{min-height:78px}}
@media(max-width:600px){.brand{flex:0 1 190px}.header-logo{max-width:190px}.header-links{gap:9px;font-size:12px}}

/* v1.1.1 layout fixes */
body{min-width:320px} .site-header .wrap,.section.wrap,.single-layout.wrap{width:100%;max-width:1320px;margin-left:auto;margin-right:auto}
.header-inner{gap:22px}.brand{flex:0 0 clamp(210px,26vw,340px)}.search{min-width:180px}.header-links{align-items:center;white-space:nowrap}.header-links a{color:var(--green);font-weight:600}.nav a{color:#195b3d;font-weight:600}.nav a:hover,.header-links a:hover{text-decoration:underline}.section-head h1{font-size:clamp(24px,2.5vw,34px);margin:0}.cards{width:100%}.product-card{min-width:0}.product-info h3{overflow-wrap:anywhere}
@media(max-width:800px){.header-inner{gap:10px}.brand{flex:0 1 235px}.search{min-width:0}.header-links{white-space:normal}}
@media(max-width:600px){.header-inner{align-items:center}.brand{flex:0 1 190px}.header-links{margin-left:auto}.nav .wrap{gap:14px}.section{padding:24px 0}}

/* v1.2.0 premium product detail layout */
.jg-product-page{max-width:1320px;padding-bottom:30px}.jg-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#68766e;padding:23px 0}.jg-breadcrumb a:hover{color:var(--green);text-decoration:underline}.jg-product-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,3vw,48px);align-items:start}.jg-gallery,.jg-purchase-panel{min-width:0}.jg-gallery-stage{border:1px solid var(--line);background:#f7faf6;border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center;aspect-ratio:1;cursor:zoom-in}.jg-gallery-stage img{width:100%;height:100%;object-fit:contain;display:block}.jg-gallery-placeholder{font-size:100px}.jg-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 0 6px;scroll-snap-type:x mandatory}.jg-thumb{flex:0 0 76px;width:76px;height:76px;background:#fff;border:2px solid #e0e9e2;border-radius:9px;padding:3px;cursor:pointer;scroll-snap-align:start}.jg-thumb.is-active,.jg-thumb:focus-visible{border-color:var(--green)}.jg-thumb img{width:100%;height:100%;object-fit:contain}.jg-gallery-dots{display:none;justify-content:center;gap:7px;padding:9px}.jg-gallery-dot{width:8px;height:8px;border-radius:50%;background:#c4d5c9;border:0;padding:0;cursor:pointer}.jg-gallery-dot.is-active{background:var(--green);width:19px;border-radius:10px}.jg-eyebrow{font-size:11px;letter-spacing:.11em;font-weight:750;color:var(--green);margin:4px 0 12px}.jg-purchase-panel h1{font-size:clamp(25px,2.6vw,38px);line-height:1.2;margin:0 0 8px;letter-spacing:-.02em}.jg-botanical{color:#64746a;margin:8px 0 14px}.jg-short-desc{color:#526259;line-height:1.65}.jg-purchase-price{font-size:32px;color:var(--green);font-weight:800;margin:18px 0 8px}.jg-stock{font-size:14px;font-weight:650;margin:0 0 22px}.jg-stock.available{color:#168044}.jg-stock.unknown{color:#8a6a24}.jg-quick-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 24px}.jg-quick-spec{min-width:0;display:grid;grid-template-columns:25px 1fr;grid-template-rows:auto auto;gap:3px 8px;padding:13px;background:#f3f8f2;border:1px solid #e5eee5;border-radius:11px}.jg-spec-icon{grid-row:span 2;color:var(--green);font-size:23px}.jg-spec-label{font-size:12px;color:#637469}.jg-quick-spec strong{font-size:13px;overflow-wrap:anywhere}.jg-pin-box{border-top:1px solid var(--line);padding-top:20px}.jg-pin-box label{display:block;font-weight:700;margin-bottom:10px}.jg-pin-controls{display:flex;gap:8px;max-width:360px}.jg-pin-controls .field{flex:1;min-width:0}.jg-pin-controls .btn{border-radius:8px}.jg-pin-box [role=status]{font-size:13px;color:#526259;line-height:1.5}.jg-checkout-notice{background:#fff8e7;border:1px solid #f1e6c9;padding:14px 16px;border-radius:10px;color:#604c22;font-size:13px;line-height:1.5}.jg-checkout-notice p{margin:5px 0 0}.jg-details{margin-top:42px;border-top:1px solid var(--line)}.jg-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line)}.jg-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:18px 20px;font:inherit;font-weight:650;color:#607168;white-space:nowrap;cursor:pointer}.jg-tabs button[aria-selected=true]{border-bottom-color:var(--green);color:var(--green)}.jg-tab-panel{padding:28px 0 18px;line-height:1.75;max-width:100%}.jg-tab-panel[hidden]{display:none}.jg-tab-panel h2{font-size:24px;line-height:1.3;margin:0 0 20px}.jg-description{max-width:920px}.jg-description h2,.jg-description h3{color:#203c2a}.jg-description img{max-width:100%;height:auto}.jg-care-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1000px}.jg-care-card{display:flex;gap:15px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#f9fbf9}.jg-care-symbol{font-size:30px;color:var(--green);line-height:1}.jg-care-card h3{margin:0 0 5px;font-size:16px}.jg-care-card p{margin:0;color:#536359}.jg-spec-table{width:100%;max-width:900px;border-collapse:collapse}.jg-spec-table tr{border-bottom:1px solid var(--line)}.jg-spec-table th,.jg-spec-table td{text-align:left;padding:14px 12px;vertical-align:top}.jg-spec-table th{width:38%;background:#f6faf6}.jg-related{padding:30px 0}.jg-related .section-head a{color:var(--green);font-weight:650}.jg-lightbox[hidden]{display:none}.jg-lightbox{position:fixed;inset:0;background:rgba(8,20,12,.92);z-index:99999;display:flex;justify-content:center;align-items:center;padding:40px}.jg-lightbox img{max-width:95vw;max-height:90vh;object-fit:contain}.jg-lightbox-close{position:absolute;top:10px;right:20px;background:transparent;border:0;color:#fff;font-size:42px;cursor:pointer}.jg-no-scroll{overflow:hidden}
@media(max-width:800px){.jg-product-top{grid-template-columns:1fr;gap:22px}.jg-gallery-stage{max-height:650px}.jg-details{margin-top:28px}.jg-purchase-panel h1{font-size:27px}}
@media(max-width:600px){.jg-breadcrumb{padding:14px 0}.jg-gallery-stage{border-radius:11px}.jg-gallery-thumbs{gap:7px}.jg-thumb{flex-basis:60px;width:60px;height:60px}.jg-gallery-dots{display:flex}.jg-purchase-price{font-size:27px}.jg-tabs button{padding:15px 12px;font-size:13px}.jg-tab-panel{padding-top:22px}.jg-care-grid{grid-template-columns:1fr}.jg-quick-spec{padding:10px}.jg-related{padding:15px 0}}
