/*
Theme Name: Bad Laundry Co.
Theme URI: https://badlaundryco.com
Author: Bad Laundry Co.
Description: A clean, modern and playful WooCommerce theme built for Bad Laundry Co.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: bad-laundry
*/

:root{
  --ink:#111111;
  --paper:#fffdf8;
  --white:#ffffff;
  --muted:#68636d;
  --line:#e9e5e8;
  --pink:#ff4f87;
  --orange:#ff8a3d;
  --yellow:#ffd84d;
  --green:#51c878;
  --blue:#45a7ff;
  --purple:#8c62ff;
  --radius:24px;
  --shadow:0 18px 50px rgba(20,15,25,.10);
  --max:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.6;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.site-wrap{overflow:hidden}
.container{width:min(calc(100% - 36px),var(--max));margin-inline:auto}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.rainbow-line{height:7px;background:linear-gradient(90deg,var(--pink),var(--orange),var(--yellow),var(--green),var(--blue),var(--purple))}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,253,248,.94);
  backdrop-filter:blur(15px);
  border-bottom:1px solid rgba(17,17,17,.08)
}
.header-inner{min-height:84px;display:flex;align-items:center;gap:28px}
.custom-logo{display:block;max-height:64px;width:auto}
.site-title{font-size:1.3rem;font-weight:900;letter-spacing:-.04em}
.site-branding{margin-right:auto}
.primary-nav ul{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}
.primary-nav a{font-weight:750;font-size:.96rem}
.primary-nav a:hover{color:var(--pink)}
.header-actions{display:flex;align-items:center;gap:10px}
.icon-link,.menu-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;height:44px;border:1px solid var(--line);
  border-radius:999px;background:var(--white);cursor:pointer
}
.menu-toggle{display:none}
.cart-count{
  min-width:20px;height:20px;border-radius:999px;background:var(--ink);color:white;
  font-size:.72rem;display:inline-flex;align-items:center;justify-content:center;margin-left:5px
}

.hero{padding:70px 0 58px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:55px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid var(--line);
  border-radius:999px;background:white;font-size:.8rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase
}
.eyebrow-dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,var(--pink),var(--purple))}
.hero h1{
  font-size:clamp(3.25rem,7vw,6.8rem);line-height:.9;letter-spacing:-.075em;
  margin:22px 0 24px;max-width:800px
}
.gradient-word{
  color:transparent;background:linear-gradient(90deg,var(--pink),var(--orange),var(--green),var(--blue),var(--purple));
  -webkit-background-clip:text;background-clip:text
}
.hero-copy{font-size:1.18rem;color:var(--muted);max-width:650px}
.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.btn,.wp-element-button,.button,button.button,input.button{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:52px;padding:0 22px!important;border-radius:999px!important;border:2px solid var(--ink)!important;
  background:var(--ink)!important;color:#fff!important;font-weight:850!important;line-height:1!important;
  transition:.2s ease;box-shadow:none!important
}
.btn:hover,.button:hover{transform:translateY(-2px);opacity:.9}
.btn-secondary{background:transparent!important;color:var(--ink)!important}
.hero-art{
  min-height:540px;border-radius:36px;background:
  radial-gradient(circle at 25% 24%,rgba(255,216,77,.92),transparent 25%),
  radial-gradient(circle at 77% 20%,rgba(69,167,255,.72),transparent 28%),
  radial-gradient(circle at 65% 78%,rgba(255,79,135,.72),transparent 30%),
  #efe8ff;
  position:relative;box-shadow:var(--shadow);overflow:hidden;border:1px solid rgba(17,17,17,.08)
}
.washer{
  position:absolute;width:260px;height:330px;border-radius:26px;background:#fff;box-shadow:0 24px 70px rgba(20,15,25,.18);
  left:50%;top:50%;transform:translate(-50%,-50%) rotate(-3deg);padding:26px
}
.washer-panel{height:44px;border:3px solid var(--ink);border-radius:12px;display:flex;align-items:center;justify-content:flex-end;padding:8px;gap:8px}
.washer-panel span{width:13px;height:13px;border-radius:50%;background:var(--pink);border:2px solid var(--ink)}
.washer-door{width:190px;height:190px;margin:28px auto 0;border:12px solid var(--ink);border-radius:50%;background:
 conic-gradient(var(--pink),var(--orange),var(--yellow),var(--green),var(--blue),var(--purple),var(--pink));position:relative}
.washer-door:after{content:"";position:absolute;inset:28px;border-radius:50%;background:rgba(255,255,255,.65);border:4px solid var(--ink)}
.sticker{
 position:absolute;padding:12px 16px;background:#fff;border:3px solid var(--ink);border-radius:14px;font-weight:950;
 box-shadow:6px 6px 0 var(--ink);transform:rotate(var(--r, -4deg))
}
.sticker.one{top:40px;left:22px;--r:-8deg}
.sticker.two{right:16px;bottom:52px;--r:7deg}
.sticker.three{left:26px;bottom:40px;--r:-5deg;background:var(--yellow)}
.spark{position:absolute;font-size:3rem;font-weight:900}
.spark.a{right:40px;top:36px}.spark.b{left:45px;top:180px;font-size:2rem}

.trust-strip{background:var(--ink);color:white;padding:14px 0}
.trust-list{display:flex;justify-content:center;gap:42px;flex-wrap:wrap;font-weight:800;font-size:.9rem}
.trust-list span:before{content:"✦";color:var(--yellow);margin-right:9px}

.section{padding:78px 0}
.section-alt{background:#fff}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}
.section-heading h2{font-size:clamp(2.2rem,4vw,4rem);line-height:1;letter-spacing:-.055em;margin:0}
.section-heading p{color:var(--muted);max-width:560px;margin:0}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.category-card{
 min-height:310px;border-radius:var(--radius);padding:25px;display:flex;flex-direction:column;justify-content:flex-end;
 border:2px solid var(--ink);position:relative;overflow:hidden;transition:.2s ease
}
.category-card:hover{transform:translateY(-5px);box-shadow:8px 8px 0 var(--ink)}
.category-card h3{font-size:1.65rem;line-height:1;margin:0 0 6px;letter-spacing:-.04em}
.category-card p{margin:0;font-weight:700}
.category-card:nth-child(1){background:#ffd9e6}
.category-card:nth-child(2){background:#dceeff}
.category-card:nth-child(3){background:#e4f7dc}
.category-card:nth-child(4){background:#eee2ff}
.category-icon{font-size:5rem;position:absolute;right:18px;top:16px;transform:rotate(7deg)}

.product-section .products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:24px}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{
 width:auto!important;margin:0!important;float:none!important;background:white;border-radius:22px;padding:12px 12px 20px;
 border:1px solid var(--line);transition:.2s ease
}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.woocommerce ul.products li.product img{border-radius:16px;margin:0 0 16px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.02rem!important;padding:0!important;font-weight:850}
.woocommerce ul.products li.product .price{color:var(--ink)!important;font-weight:900!important}
.woocommerce span.onsale{background:var(--pink)!important;min-width:auto!important;min-height:auto!important;padding:7px 11px!important;border-radius:999px!important;line-height:1!important}

.statement{background:var(--ink);color:#fff;border-radius:36px;padding:55px;display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}
.statement h2{font-size:clamp(2.4rem,5vw,5rem);line-height:.95;letter-spacing:-.06em;margin:0 0 18px}
.statement p{color:#d7d2d8;max-width:740px;font-size:1.06rem}
.statement-badge{
 width:190px;height:190px;border-radius:50%;display:grid;place-items:center;text-align:center;padding:25px;
 background:conic-gradient(var(--pink),var(--orange),var(--yellow),var(--green),var(--blue),var(--purple),var(--pink));
 color:var(--ink);font-weight:950;border:8px solid white;transform:rotate(6deg)
}

.newsletter{display:grid;grid-template-columns:1fr .8fr;gap:50px;align-items:center}
.newsletter h2{font-size:clamp(2.4rem,5vw,4.8rem);line-height:.95;letter-spacing:-.055em;margin:0 0 18px}
.newsletter-form{display:flex;background:white;border:2px solid var(--ink);border-radius:999px;padding:6px}
.newsletter-form input[type=email]{flex:1;border:0;background:transparent;padding:0 18px;min-width:0;outline:0}

.site-footer{background:#111;color:#fff;padding:60px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:45px}
.site-footer h3,.site-footer h4{margin-top:0}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:9px 0}
.site-footer a{color:#d8d4db}
.site-footer a:hover{color:white}
.footer-brand p{color:#aaa4af;max-width:390px}
.footer-bottom{border-top:1px solid #37323a;margin-top:45px;padding-top:22px;display:flex;justify-content:space-between;color:#aaa4af;font-size:.88rem}

.content-area{padding:60px 0}
.entry-header h1,.page-title{font-size:clamp(2.5rem,5vw,5rem);line-height:1;letter-spacing:-.055em}
.entry-content{max-width:820px}
.entry-content h2{margin-top:2.2em;letter-spacing:-.03em}
.entry-content a{text-decoration:underline}
.policy-meta{padding:14px 18px;background:white;border:1px solid var(--line);border-radius:14px;color:var(--muted)}

.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:55px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important}
.woocommerce div.product .product_title{font-size:clamp(2.3rem,4vw,4.3rem);line-height:1;letter-spacing:-.05em}
.woocommerce div.product p.price{color:var(--ink)!important;font-size:1.5rem!important;font-weight:900}
.woocommerce-message,.woocommerce-info{border-top-color:var(--purple)!important;background:#fff!important}
.woocommerce-message:before,.woocommerce-info:before{color:var(--purple)!important}
.woocommerce table.shop_table{border-radius:18px!important;background:white}
.woocommerce-checkout #payment{background:white!important;border:1px solid var(--line);border-radius:18px!important}

@media(max-width:980px){
 .primary-nav{display:none;position:absolute;left:18px;right:18px;top:80px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow)}
 .primary-nav.is-open{display:block}
 .primary-nav ul{display:block}.primary-nav li{margin:12px 0}
 .menu-toggle{display:inline-flex}
 .hero-grid,.newsletter,.statement{grid-template-columns:1fr}
 .hero-art{min-height:460px}
 .category-grid,.product-section .products{grid-template-columns:repeat(2,1fr)!important}
 .footer-grid{grid-template-columns:1fr 1fr}
 .statement-badge{width:155px;height:155px}
}
@media(max-width:640px){
 .container{width:min(calc(100% - 24px),var(--max))}
 .header-inner{min-height:72px;gap:10px}
 .custom-logo{max-height:48px}
 .hero{padding-top:42px}.hero h1{font-size:3.25rem}
 .hero-art{min-height:390px}.washer{width:220px;height:290px}.washer-door{width:155px;height:155px}
 .category-grid,.product-section .products{grid-template-columns:1fr!important}
 .section{padding:58px 0}.section-heading{display:block}.section-heading p{margin-top:14px}
 .statement{padding:34px 24px}.statement-badge{display:none}
 .newsletter-form{display:block;border-radius:18px}.newsletter-form input{width:100%;height:48px}.newsletter-form .button{width:100%}
 .footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}
 .woocommerce div.product{grid-template-columns:1fr}
}
