/*
Theme Name: MOODD Things
Author: MOODD
Description: Playful editorial WooCommerce theme for MOODD.
Version: 1.0.0
Text Domain: moodd-things
*/
:root{--ink:#171717;--paper:#fffaf5;--pink:#f7c8d5;--yellow:#f5d66b;--blue:#c9e7e8;--green:#d8e9d4;--cream:#f3e8dc;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);line-height:1.45}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.site-topbar{background:var(--ink);color:#fff;text-align:center;font-size:12px;letter-spacing:.08em;padding:9px}.site-header{background:var(--paper);border-bottom:1px solid var(--ink);position:sticky;top:0;z-index:20}.header-main{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:20px 34px;gap:20px}.brand{font:28px var(--serif);letter-spacing:.1em;text-transform:uppercase}.tools{justify-self:end;display:flex;gap:18px;font-size:13px}.main-nav{border-top:1px solid var(--ink);display:flex;justify-content:center;gap:30px;align-items:center;flex-wrap:nowrap;overflow:auto;white-space:nowrap;padding:13px 22px;font-size:13px}.main-nav ul{display:flex;gap:30px;list-style:none;margin:0;padding:0;flex-wrap:nowrap}.main-nav li{display:inline-flex}.hero{display:grid;grid-template-columns:1.1fr .9fr;min-height:590px;border-bottom:1px solid var(--ink)}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:70px clamp(28px,7vw,110px);background:var(--pink)}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:700}.hero h1{font:400 clamp(52px,7vw,96px)/.9 var(--serif);margin:20px 0}.hero p{max-width:450px;font-size:18px}.button{display:inline-block;background:var(--ink);color:#fff;padding:14px 22px;text-transform:uppercase;letter-spacing:.08em;font-size:13px}.hero-art{background:var(--yellow);display:flex;align-items:center;justify-content:center;padding:38px}.hero-art div{width:min(75%,430px);aspect-ratio:1;background:var(--blue);border:1px solid var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;padding:35px;font:clamp(26px,4vw,52px) var(--serif);transform:rotate(-8deg)}.section{padding:72px 34px}.head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section h2{font:400 clamp(32px,4vw,56px)/1 var(--serif);margin:0}.category-strip{display:grid;grid-template-columns:repeat(5,1fr);border-block:1px solid var(--ink)}.category-strip a{min-height:150px;padding:22px;display:flex;align-items:end;border-right:1px solid var(--ink);font:25px var(--serif)}.category-strip a:nth-child(1){background:var(--yellow)}.category-strip a:nth-child(2){background:var(--blue)}.category-strip a:nth-child(3){background:var(--pink)}.category-strip a:nth-child(4){background:var(--green)}.category-strip a:nth-child(5){background:var(--cream);border:0}.products-grid,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:0!important;padding:0!important}.product-card .thumb,.woocommerce ul.products li.product a img{background:#eee;aspect-ratio:1/1.1;object-fit:cover}.product-card h3{font-size:14px;font-weight:400;margin:12px 0 5px}.quick-add{display:inline-block;margin-top:10px;border-bottom:1px solid var(--ink);font-size:12px;text-transform:uppercase}.editorial{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid var(--ink)}.editorial-block{padding:70px 8vw;min-height:360px;display:flex;flex-direction:column;justify-content:center}.editorial-block:first-child{background:var(--green)}.editorial-block:last-child{background:var(--cream);border-left:1px solid var(--ink)}.editorial h2{font:400 clamp(34px,4vw,58px)/.95 var(--serif);margin:12px 0 22px}.newsletter{background:var(--ink);color:#fff;text-align:center;padding:70px 24px}.newsletter h2{font:400 clamp(36px,5vw,64px) var(--serif);margin:0 0 12px}.newsletter form{display:flex;max-width:520px;margin:28px auto 0}.newsletter input{flex:1;padding:14px;border:1px solid #fff;background:transparent;color:#fff}.newsletter button{padding:14px 20px;border:1px solid #fff;background:#fff;color:var(--ink)}.site-footer{padding:45px 34px;background:var(--cream);display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-title{font:30px var(--serif)}.site-footer ul{list-style:none;padding:0}.woocommerce .site-main,.site-main{padding:50px 34px}.woocommerce ul.products li.product{width:auto!important;margin:0!important}.woocommerce button.button,.woocommerce a.button{background:var(--ink);color:#fff;border-radius:0}@media(max-width:800px){.header-main{grid-template-columns:1fr auto;padding:16px 18px}.brand{font-size:22px}.main-nav{justify-content:flex-start;gap:20px}.main-nav ul{gap:20px}.hero{grid-template-columns:1fr}.hero-art{min-height:360px}.category-strip{grid-template-columns:repeat(2,1fr)}.category-strip a:nth-child(even){border-right:0}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.section{padding:50px 18px}.head{display:block}.editorial{grid-template-columns:1fr}.editorial-block:last-child{border-left:0;border-top:1px solid var(--ink)}.site-footer{grid-template-columns:1fr;padding:38px 18px}}


/* WB-HOMEPAGE-IMAGE-FIX */
/* Home product cards: load the 768px derivative and keep a consistent crop. */
.product-card .thumb{display:block;width:100%;aspect-ratio:1/1.1;overflow:hidden;background:#eee}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* WB-LOOP-FULL-IMAGE: keep WooCommerce loop cards cropped and aligned
   when the img source is the un-cropped original. */
.woocommerce ul.products li.product a img{width:100%;height:auto;aspect-ratio:1/1.1;object-fit:cover;display:block;max-width:100%}
