/*
Theme Name: Calvexa Picnic Counter
Description: An Americana storefront for picnic goods.
Version: 1.0
*/
@font-face{font-family:Bree;src:url(assets/bree.woff2) format("woff2");font-display:swap}
@font-face{font-family:Mulish;src:url(assets/mulish.woff2) format("woff2");font-weight:200 900;font-display:swap}
:root{--navy:#1b2a41;--red:#a23b2a;--oat:#f2ebdd;--paper:#fffdf8;--line:#d6c8b3;--light:#faf6ee;--r:6px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--navy);font:600 1rem/1.6 Mulish,sans-serif}
img{max-width:100%;height:auto}
h1,h2,h3,h4{font-family:Bree,serif;font-weight:400;line-height:1.08;margin:0 0 .45em;letter-spacing:-.02em}
h1{font-size:clamp(2.5rem,7vw,5.5rem)}
h2{font-size:clamp(1.8rem,3.6vw,3rem)}
h3{font-size:clamp(1.25rem,2.25vw,1.7rem)}
p{margin:0 0 1rem}
a{color:inherit;text-underline-offset:3px}
a:hover{color:var(--red)}
:focus-visible{outline:3px solid #ba5f36;outline-offset:3px}
button,input,textarea,select{font:inherit}
button,.button,a.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce button.button.alt,.woocommerce a.button.alt{display:inline-block;border:1px solid var(--red);border-radius:var(--r);background:var(--red);color:white;cursor:pointer;font-weight:850;padding:.72rem 1.05rem;text-decoration:none;line-height:1.25}
button:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--navy);border-color:var(--navy);color:#fff}
input:not([type=checkbox], [type=radio], [type=submit]),textarea,select{min-height:42px;border:1px solid #9b8e7b;border-radius:var(--r);padding:.5rem .68rem;background:#fff;color:var(--navy);max-width:100%}
.wrap{width:min(1220px,calc(100% - 72px));margin-inline:auto}
.skip-link{position:fixed;top:5px;left:5px;z-index:20;transform:translateY(-150%);background:white;padding:.5rem}
.skip-link:focus{transform:none}
.notice{background:var(--navy);color:#fff;text-align:center;font-weight:800;padding:.42rem .6rem;font-size:.79rem;letter-spacing:.045em}
.notice a{text-decoration:none;color:#fff;display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.1rem .9rem}
.notice a span:first-child{display:inline-flex;align-items:center;gap:.9rem}
@media(min-width:641px){.notice a span:first-child::after{content:"";height:.7rem;width:1px;background:#ffffff70}}
.mast{background:var(--paper);position:relative;z-index:5;border-bottom:1px solid var(--line)}
.mast-inner{min-height:84px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:2rem}
.brand{display:inline-flex;width:164px;align-items:center}
.brand img{display:block}
.mast nav,.utility{display:flex;align-items:center;gap:1.4rem}
.mast nav a,.utility a,.mast summary{font-size:.93rem;font-weight:850;text-decoration:none;white-space:nowrap}
.utility{justify-content:flex-end;gap:1rem}
.cart-link{display:flex;align-items:center;gap:.35rem}
.mast details{position:relative}
.mast summary{display:flex;align-items:center;cursor:pointer;list-style:none}
.mast summary::-webkit-details-marker{display:none}
.collections summary::after{content:"⌄";margin-left:.35rem}
.mast details[open] > div,.mast details[open] form{position:absolute;top:calc(100% + 15px);background:var(--paper);border:1px solid var(--line);padding:.85rem;box-shadow:0 12px 26px #1b2a4126;z-index:6}
.collections details[open],.collections[open] > div{left:0}
.collections a{display:block;padding:.4rem}
.search form{right:0;width:min(340px,85vw)}
.search form div{display:flex;gap:.35rem}
.search input{min-width:0;width:100%}
.hero{display:grid;margin:22px auto 24px;border:1px solid var(--line);background:var(--oat)}
.hero-copy{text-align:center;padding:1.55rem 1.5rem 1.7rem;display:grid;place-content:center;justify-items:center;background:linear-gradient(90deg,transparent 0 2%,#a23b2a2a 2% calc(2% + 1px),transparent calc(2% + 1px) calc(98% - 1px),#a23b2a2a calc(98% - 1px) 98%,transparent 98%)}
.hero-copy h1{font-size:clamp(2.8rem,7.4vw,6.4rem);margin:0 0 .13em}
.hero-copy > p:not(.eyebrow){max-width:56ch;margin:0 auto 1rem}
.eyebrow{font-weight:900;text-transform:uppercase;letter-spacing:.16em;font-size:.69rem}
.eyebrow{display:flex;align-items:center;gap:.6rem;color:var(--red);margin-bottom:1.15rem}
.eyebrow span{width:1.5rem;height:1px;background:var(--red)}
.hero-art{position:relative;height:clamp(225px,31vw,415px);overflow:hidden;border-top:1px solid var(--line)}
.hero-art img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 58%}
.button span{margin-left:.4rem}
.stripe{height:8px;background:repeating-linear-gradient(115deg,var(--red) 0 5px,var(--paper) 5px 10px,var(--navy) 10px 15px,var(--paper) 15px 20px)}
.section{padding-block:48px}
.section + .section{padding-top:5px}
.section-top{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:17px}
.section-top h2{margin:0}
.section-top > a{font-size:.86rem;flex:none;font-weight:850;color:var(--red)}
.category-grid,.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.65rem,2vw,1.35rem)}
.category{display:grid;grid-template-columns:1fr auto;align-items:center;padding:.45rem .7rem .7rem;border:1px solid var(--line);background:var(--light);text-decoration:none;font-weight:900;gap:.45rem}
.category img{grid-column:1/-1;width:100%;aspect-ratio:1.58;object-fit:contain;background:#fff;border-radius:2px;mix-blend-mode:multiply}
.category span{color:var(--red)}
.category:hover{border-color:var(--red)}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0;border:1px solid var(--line);padding:.72rem;background:#fff;display:flex;flex-direction:column;align-items:flex-start}
.woocommerce ul.products li.product a:first-child{width:100%;text-decoration:none}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:contain;margin:0;background:#faf8f2}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:clamp(1rem,1.7vw,1.3rem);padding:.65rem 0 .2rem;color:var(--navy)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--red);font-weight:900}
.woocommerce ul.products li.product .button{font-size:.78rem;padding:.48rem .6rem;margin-top:auto}
.woocommerce ul.products li.product .added_to_cart{font-size:.75rem}
.occasion{background:var(--oat);border-block:1px solid var(--line)}
.occasion-grid,.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.occasion-grid article{border:1px solid var(--line);background:var(--paper);padding:1.2rem;border-top:4px solid var(--red)}
.occasion-grid p,.service-grid p{margin-bottom:.55rem}
.service-grid{padding-block:40px}
.service-grid a{font-weight:850}
.footer{background:var(--navy);color:var(--paper);border-top:6px double var(--oat);padding-top:40px}
.foot-grid{display:grid;grid-template-columns:1.45fr .8fr 1fr 1.15fr;gap:1.75rem}
.footer h2{font-size:1.35rem;margin-bottom:.65rem}
.footer a:not(.brand),.footer .link-button{display:block;width:max-content;max-width:100%;color:var(--paper);font-size:.87rem;margin:0 0 .3rem;text-decoration:underline}
.footer .brand{width:185px;background:var(--oat);padding:.42rem;border-radius:var(--r);margin-bottom:.85rem}
.footer p,.footer address,.foot-end{font-size:.87rem}
.footer address{font-style:normal}
.foot-end{margin-top:30px;padding-block:14px;border-top:1px solid #ffffff42}
.footer .link-button{padding:0;border:0;background:transparent;text-align:left;font-weight:650}
.card-marks{display:flex;flex-wrap:wrap;gap:.28rem;margin:.6rem 0}
.card-marks img{display:block;width:42px;height:26px;object-fit:contain}
.cookie-banner{position:fixed;bottom:16px;left:16px;width:min(395px,calc(100vw - 32px));z-index:20;background:var(--paper);border:1px solid var(--line);border-left:5px solid var(--red);padding:.85rem 1rem;box-shadow:0 8px 26px #1b2a4140;font-size:.88rem}
[hidden]{display:none!important}
.cookie-banner p{margin-bottom:.55rem}
.cookie-banner button{font-size:.83rem;margin-right:.35rem;padding:.48rem .75rem}
.cookie-banner .outline{background:transparent;color:var(--navy);border-color:var(--navy)}
.cookie-banner .outline:hover{background:var(--navy);color:white}
.interior{padding-block:35px 60px;min-height:55vh}
.story{max-width:780px;margin-inline:auto}
.story > h1,.commerce-page > h1,.catalog h1{font-size:clamp(2.35rem,5.5vw,4rem);padding-bottom:.45em;border-bottom:1px solid var(--line)}
.story h2{font-size:clamp(1.6rem,3vw,2.25rem);margin-top:1.15em}
.story details{border-bottom:1px solid var(--line);padding:.75rem 0}
.story summary{cursor:pointer;font-size:1.12rem;font-weight:850}
.story details p{margin:.65rem 0 0}
.price-filter{clear:both;display:flex;gap:.55rem;align-items:end;margin:1rem 0 1.2rem;flex-wrap:wrap}
.price-filter label{display:grid;gap:.15rem;font-size:.79rem}
.price-filter input{width:112px}
.woocommerce .woocommerce-breadcrumb{font-size:.8rem;color:#5b5148}
.woocommerce div.product .product_title{font-size:clamp(2rem,4.4vw,3.75rem)}
.woocommerce div.product div.images .woocommerce-product-gallery__image{background:var(--light)}
.woocommerce div.product div.images img{object-fit:contain;max-height:620px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding-left:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0 5px 0 0;border-radius:0;box-shadow:none;background:var(--oat)}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce-product-details__short-description{margin-bottom:1rem}
.specs{border-collapse:collapse;width:min(100%,700px);margin-bottom:1.25rem}
.specs th,.specs td{padding:.55rem .75rem;border:1px solid var(--line);text-align:left;overflow-wrap:anywhere}
.specs th{background:var(--oat);width:35%}
.service-note{background:var(--oat);border-left:4px solid var(--red);padding:.65rem .85rem;margin:1rem 0 1.2rem;font-size:.89rem}
.service-note p{margin:0 0 .17rem}
.woocommerce .quantity .qty{width:4rem}
.woocommerce table.shop_table{background:white}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:.65rem}
.woocommerce #content table.cart img,.woocommerce table.cart img{width:76px;height:76px;object-fit:contain}
.woocommerce form .form-row .required{visibility:visible}
.woocommerce-checkout #payment{background:var(--oat)}
.woocommerce-checkout #payment .payment_box{background:#fff}
.woocommerce .select2-container .select2-selection--single{height:42px;padding:6px 4px}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{height:40px}
@media(max-width:900px){
  .wrap{width:calc(100% - 40px)}
  .mast-inner{gap:.8rem}
  .mast nav{gap:1rem}
  .foot-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .wrap{width:calc(100% - 30px)}
  .mast-inner{grid-template-columns:1fr auto;gap:0;min-height:auto;padding:.4rem 0 0}
  .mast .brand{width:135px}
  .mast nav{grid-row:2;grid-column:1/-1;justify-content:center;border-top:1px solid var(--line);margin-top:.35rem;padding:.45rem 0;gap:1.4rem}
  .mast nav a,.mast summary,.utility a{font-size:.81rem}
  .utility{grid-column:2;grid-row:1}
  .notice{font-size:.68rem}
  .search form{right:-45px}
  .hero{margin-top:16px;margin-bottom:16px}
  .hero-copy{padding:1.45rem .8rem 1.55rem}
  .hero-copy h1{font-size:clamp(2.55rem,12.5vw,4rem)}
  .hero-copy > p:not(.eyebrow){font-size:.9rem}
  .eyebrow{margin-bottom:.55rem}
  .hero-art{height:auto;aspect-ratio:1.58}
  .section{padding-block:30px}
  .section-top{align-items:flex-start;flex-direction:column;gap:.3rem}
  .category-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category{padding:.35rem .42rem .48rem;font-size:.85rem}
  .occasion-grid,.service-grid{grid-template-columns:1fr;gap:.72rem}
  .service-grid{padding-block:26px}
  .foot-grid{gap:1.15rem .7rem}
  .foot-brand{grid-column:1/-1}
  .footer{padding-top:22px}
  .footer .foot-grid > div:last-child{grid-column:1/-1}
  .interior{padding-block:24px 40px}
  .woocommerce table.shop_table_responsive tr td.product-thumbnail,.woocommerce-page table.shop_table_responsive tr td.product-thumbnail{display:flex!important;justify-content:flex-end}
  .woocommerce table.shop_table_responsive tr td.product-thumbnail::before{content:none}
  .woocommerce-cart .cookie-banner,.woocommerce-checkout .cookie-banner{position:static;margin:1rem auto}
}
.wpforms-container button[type=submit].wpforms-submit{background:var(--red);color:white;font-weight:850;box-shadow:none}
.wpforms-container button[type=submit].wpforms-submit:hover{background:var(--navy)}
.woocommerce .woocommerce-ordering select{padding-right:.4rem}
@media(max-width:640px){
 .woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none}
 .woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block}
 .woocommerce div.product form.cart .variations select{width:100%;margin:0}
}
