/*
Theme Name: Verdant Market
Description: Verdant Market storefront for WooCommerce.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: verdant-market
License: GNU General Public License v2 or later
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Playfair+Display:wght@600;700&display=swap');
:root{--ink:#2d1833;--ink-strong:#311634;--muted:#685c69;--paper:#fffdf9;--line:#e8e0e6;--plum:#45234f;--peach:#ffbca8;--rose:#f8d9d3;--white:#fff;--serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-family:var(--sans);font-size:16px;line-height:1.5}
*,*::before,*::after{box-sizing:border-box}
body{margin:0}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{color:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.5}
:focus-visible{outline:3px solid #a24cab;outline-offset:4px}
svg{width:22px;height:22px;flex:none;vertical-align:middle}
img{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
.wrap{max-width:1392px;width:calc(100% - 112px);margin-inline:auto}
.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;z-index:10;left:12px;top:12px;background:white;padding:10px}
.preview-banner{background:#f5dfeb;text-align:center;font-size:.8125rem;font-weight:700;padding:5px 12px;letter-spacing:.02em}
.site-header{background:var(--ink);color:var(--white)}
.header-row{display:grid;grid-template-columns:1fr minmax(300px,590px) 1fr;align-items:center;gap:32px;min-height:74px}
.wordmark{display:inline-flex;align-items:center;gap:9px;width:max-content;font-size:2rem;letter-spacing:-.075em;font-weight:700;line-height:1}
.wordmark span{color:#f7b5a3;margin-left:-7px}
.search{display:flex;min-width:0;height:43px;background:#fff9fc;border-radius:8px;color:var(--ink);overflow:hidden}
.search input{width:100%;min-width:0;padding:0 14px;border:0;background:transparent;color:inherit}
.search input:focus-visible{outline-offset:-3px}
.search button{background:#f2c6d4;border:0;display:grid;place-items:center;width:52px;flex:none}
.search button:hover{background:#ecb8ca}
.search button:focus-visible{outline-offset:-3px}
.header-actions{display:flex;justify-content:flex-end;gap:20px;align-items:center}
.header-button{display:flex;align-items:center;gap:7px;background:transparent;border:0;padding:8px 0;font-size:.875rem;white-space:nowrap}
.header-button:hover,.main-nav button:hover{color:#ffd5cb}
.nav-wrap{border-top:1px solid #523958}
.main-nav{display:flex;align-items:stretch;gap:clamp(17px,3vw,43px);overflow:auto;scrollbar-width:none}
.main-nav::-webkit-scrollbar{display:none}
.hero{margin-top:26px;display:grid;grid-template-columns:46% 54%;min-height:402px;border-radius:20px;overflow:hidden;background:#f8dbdf}
.hero-copy{padding:38px clamp(25px,4.8vw,75px) 42px;align-self:center}
.eyebrow{display:flex;align-items:center;gap:9px;font-size:.75rem;font-weight:700;letter-spacing:.12em}
.eyebrow span{width:8px;height:8px;background:#ab5279;border-radius:50%}
.hero h1{font:700 clamp(2.65rem,5.05vw,5.25rem)/.99 var(--serif);letter-spacing:-.069em;margin:15px 0 19px}
.hero h1 span{color:#a44872}
.hero p{color:#50364e;max-width:31ch;margin-bottom:24px;font-size:1.0625rem}
.hero-image{width:100%;height:100%;max-height:460px;object-fit:cover;object-position:center}
.primary{display:inline-flex;align-items:center;justify-content:center;background:var(--ink);color:white;border:1px solid transparent;border-radius:8px;font-weight:700;padding:10px 17px;min-height:44px;text-align:center}
.primary:hover{background:#58315c}
h2{font:700 clamp(1.65rem,2.55vw,2.3rem)/1.12 var(--serif);letter-spacing:-.04em}
.departments{padding:30px 0}
.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:16px}
.category-card{min-width:0;min-height:86px;background:var(--tint);border:1px solid transparent;border-radius:12px;display:flex;align-items:center;gap:10px;text-align:left;padding:10px;font-weight:700;font-size:.875rem;line-height:1.2}
.category-card:hover,.category-card[aria-pressed=true]{border-color:#694773}
.category-icon{display:grid;place-items:center;flex:none;background:#ffffff99;width:37px;height:37px;border-radius:50%}
.category-icon svg{width:20px;height:20px}
footer{background:var(--ink);color:white;padding:34px 0}
.footer-row{display:flex;justify-content:space-between;gap:20px}
.footer-meta{text-align:right}
.footer-meta a:hover{text-decoration:underline}
.detail-note{font-size:.8125rem;color:var(--muted)}
@media(prefers-reduced-motion:no-preference){a,button{transition:background-color .16s ease,border-color .16s ease,color .16s ease}}
.main-nav a{white-space:nowrap;border-bottom:2px solid transparent;padding:11px 2px 10px;font-size:.875rem;color:#f8edf8}
.main-nav a:hover,.main-nav a[aria-current=page]{border-bottom-color:#f5b5a3;color:#ffd5cb}
#bag-count{display:grid;place-items:center;border-radius:30px;min-width:23px;height:23px;padding:0 5px;background:#f4c5d4;color:var(--ink);font-size:.75rem;font-weight:700}
.category-card{justify-content:flex-start}
.hero{background:#f8dbdf}
.content-area{padding-block:34px 62px;min-height:40vh}
.page-title,.entry-title{font:700 clamp(2rem,4.2vw,3.4rem)/1.05 var(--serif);letter-spacing:-.055em}
.verdant-featured{padding-top:26px;border-top:1px solid var(--line);margin-bottom:48px}
.verdant-featured-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:16px}
.verdant-featured-heading a,.entry-content a{color:#743476;text-decoration:underline;text-underline-offset:3px}
.verdant-filter-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:15px 0 20px;padding:13px 15px;border:1px solid var(--line);background:#fff;border-radius:9px}
.verdant-filter-field{display:grid;gap:3px;font-size:.875rem;font-weight:700;min-width:125px}
.verdant-filter-form select,.verdant-filter-form input,.woocommerce-ordering select{padding:7px 9px;border:1px solid #dcd1da;color:var(--ink);border-radius:6px;background:#fff;min-height:40px}
.verdant-filter-form input{max-width:125px}
.verdant-filter-form .primary{min-height:40px;padding:6px 12px}
.verdant-filter-form a{font-size:.875rem;text-decoration:underline;padding:9px 0}
.woocommerce-result-count{color:var(--muted)}
.woocommerce ul.products::before,.woocommerce ul.products::after,.woocommerce-page ul.products::before,.woocommerce-page ul.products::after{display:none}
.woocommerce ul.products,.woocommerce-page ul.products{clear:both;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:10px}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{position:relative;float:none;width:auto;margin:0;padding:0 0 12px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}
.woocommerce ul.products li.product a img{margin:0 0 10px;aspect-ratio:1.18;object-fit:cover;background:#f1e6f4}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .verdant-brand{padding-inline:12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem;padding-top:3px}
.woocommerce ul.products li.product .price{font-size:1rem;color:var(--ink);font-weight:700;margin-bottom:0}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{margin:8px 12px 0;display:inline-flex}
.verdant-brand{color:#6b4372;font-size:.75rem;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.verdant-fav{display:grid;place-items:center;background:#fffffff0;border:1px solid #d3b9d1;border-radius:30px;width:38px;height:38px;color:var(--ink)}
li.product>.verdant-fav{position:absolute;right:8px;top:8px;z-index:1}
.verdant-fav svg{width:18px;height:18px}
.verdant-fav[aria-pressed=true] svg{fill:#aa4b78;stroke:#8f3f68}
.woocommerce .summary .verdant-fav{margin-bottom:10px}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wc-block-components-button{color:#fff;background:var(--ink);border-radius:7px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover,.wc-block-components-button:hover{background:#58315c;color:#fff}
.woocommerce .woocommerce-breadcrumb,.woocommerce div.product .product_meta{color:var(--muted)}
.woocommerce div.product .product_title{font:700 clamp(2rem,4vw,3.5rem)/1.05 var(--serif);letter-spacing:-.05em}
.woocommerce div.product p.price{color:var(--ink);font-weight:700}
.woocommerce div.product div.images img{border-radius:12px}
.woocommerce-message,.woocommerce-info{border-color:#9b6397}
.woocommerce div.product form.cart .variations select,.woocommerce .quantity .qty,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{border:1px solid #dcd1da;border-radius:6px;padding:7px}
.verdant-dialog{color:var(--ink);border:0;border-radius:14px;width:min(520px,calc(100% - 26px));max-height:85vh;padding:20px;box-shadow:0 20px 90px #210c3052}
.verdant-dialog::backdrop{background:#22122b88}
.verdant-dialog form{float:right}
.verdant-dialog form button,.verdant-dialog [data-remove]{border:1px solid #d3b9d1;border-radius:7px;padding:5px 8px;background:white}
.verdant-dialog ul{padding:0;list-style:none}
.verdant-dialog li{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-block:10px}
.verdant-footer-meta{text-align:right}
@media(max-width:1110px){.wrap{width:calc(100% - 60px)}.category-card{flex-direction:column;justify-content:center;text-align:center;gap:6px}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:920px){.hero{min-height:344px}.header-row{gap:18px}.header-actions{gap:13px}.header-text{display:none}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.header-row{grid-template-columns:1fr auto;gap:10px;min-height:auto;padding:12px 0}.search{grid-row:2;grid-column:1/-1}.hero{grid-template-columns:1fr;min-height:auto;margin-top:18px}.hero-copy{padding:26px 25px}.hero h1{font-size:clamp(2.8rem,10vw,4.4rem)}.hero-image{aspect-ratio:1.6;height:auto}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
