/* Theme Name: PillowRest storefront */
:root{--ink:#252923;--paper:#fdfcf9;--line:#dcdcd3;--body:Inter,Arial,sans-serif;--display:"DM Serif Text",Georgia,serif;--radius:2px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.62}address{font-style:normal}img{display:block;max-width:100%;height:auto}a{color:var(--accent);text-underline-offset:.2em}a:hover{text-decoration-thickness:2px}button{font:inherit}p{margin:.5rem 0 1rem}h1,h2,h3{color:var(--ink);margin:0 0 .75rem;line-height:1.08}h1,h2{font-family:var(--display);font-weight:500}h1{font-size:clamp(2.8rem,6vw,6.7rem);letter-spacing:-.05em}h2{font-size:clamp(2rem,3.4vw,3.6rem);letter-spacing:-.035em}h3{font-size:1.14rem}figure{margin:0}.wrap{width:min(94%,1420px);margin-inline:auto}.skip-link{position:absolute;left:1rem;top:-10rem;background:white;padding:1rem;z-index:10}.skip-link:focus{top:1rem}.topline{text-align:center;padding:.5rem;color:white;background:var(--accent);font-size:.78rem}.topline span{padding:0 .35rem}.masthead{border-bottom:1px solid var(--line)}.header-inner{min-height:4.6rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.wordmark{display:inline-flex;align-items:center;gap:.65rem;color:var(--ink);font:1.75rem/1 var(--display);text-decoration:none;flex-shrink:0}.wordmark img{border-radius:var(--radius)}.masthead nav{display:flex;gap:clamp(.8rem,2.4vw,2.1rem)}.masthead nav a,.cart-link{color:var(--ink);text-decoration:none;font-size:.9rem}.cart-link{white-space:nowrap}.cart-link span{background:var(--tint);padding:.12em .5em}.menu-toggle{display:none}
.hero{display:grid;margin-top:clamp(1.5rem,4vw,3rem);background:var(--tint);overflow:hidden;min-height:390px;align-items:stretch}.hero-copy{padding:clamp(1.25rem,4vw,4.5rem);align-self:center}.hero-copy p:not(.kicker){max-width:42ch}.kicker{font-weight:700;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}.hero-media{display:grid;gap:.6rem;min-width:0;align-content:stretch}.hero figure{min-width:0;min-height:0;overflow:hidden;background:#fff}.hero img{width:100%;height:100%;object-fit:contain;max-height:640px}.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;padding-top:.6rem}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce .button.alt{display:inline-flex;justify-content:center;text-align:center;align-items:center;padding:.73rem 1.2rem;border:1px solid var(--accent);border-radius:var(--radius);background:var(--accent);color:white;text-decoration:none;font-weight:700;font-size:.9rem;line-height:1.32;min-height:2.75rem}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce .button.alt:hover{background:var(--ink);color:white}.text-link{font-weight:700}.design-split .hero{grid-template-columns:.9fr 1.1fr}.design-split .hero-media{grid-template-columns:1.4fr .7fr}.design-panorama .hero-media{grid-row:1;grid-template-columns:1.35fr 1fr 1fr;height:clamp(240px,31vw,500px)}.design-panorama .hero-copy{padding-block:2rem;display:grid;grid-template-columns:1.4fr .7fr;column-gap:1.5rem}.design-panorama .kicker{grid-column:1/-1}.design-panorama h1{grid-row:2/4}.design-stack .hero{grid-template-columns:1fr 1fr}.design-stack .hero-media{grid-column:1;grid-row:1;grid-template-columns:1fr 1fr}.design-stack .hero-copy{grid-column:2;text-align:center}.design-stack .hero-actions{justify-content:center}.design-showcase .hero{grid-template-columns:.8fr 1fr}.design-showcase .hero-media{grid-column:1;grid-row:1;position:relative;min-height:440px}.design-showcase .hero-media figure:nth-child(2){position:absolute;right:5%;bottom:4%;width:34%;height:34%;box-shadow:0 0 0 .28rem var(--tint)}.design-showcase .hero-copy{grid-column:2}.design-gallery .hero-copy{text-align:center;padding-block:2.2rem}.design-gallery .hero-copy p,.design-stack .hero-copy p{margin-inline:auto}.design-gallery .hero-actions{justify-content:center}.design-gallery .hero-media{grid-template-columns:1fr 1.45fr 1fr;height:clamp(240px,29vw,460px)}.design-gallery .hero-media figure:nth-child(2){grid-column:2;grid-row:1}.benefits{display:flex;justify-content:space-between;gap:.8rem;padding:1rem 0;border-block:1px solid var(--line);margin-top:1.65rem;font-weight:700;font-size:.88rem}.section{margin-block:clamp(2.6rem,5vw,5.4rem)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.25rem}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.7rem,2vw,1.6rem);padding:0;margin:1.25rem 0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto!important;margin:0!important;padding:.7rem;min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);background:white}.woocommerce ul.products li.product a{color:var(--ink);display:flex;flex-direction:column;flex:1}.woocommerce ul.products li.product a img{height:auto;aspect-ratio:1;object-fit:contain;background:#f8f8f5;margin:0 0 .7rem}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem;line-height:1.35;font-weight:600;overflow-wrap:anywhere}.woocommerce ul.products li.product .price{color:var(--ink);font-weight:700;margin-top:auto}.woocommerce ul.products li.product a.button{color:white;flex:none;min-height:44px;margin-top:.5rem;width:100%;padding:.48rem .3rem}.category-grid,.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}.category{display:block;background:var(--tint);text-decoration:none;color:var(--ink);padding:.7rem}.category img{width:100%;aspect-ratio:1.5;object-fit:contain;background:#fff;margin-bottom:.7rem}.category h3{margin:.6rem}.info-grid article{border:1px solid var(--line);padding:1.2rem}.feature-pair{display:grid;grid-template-columns:1.1fr 1fr;gap:2.3rem;align-items:center;background:var(--tint)}.feature-pair div{padding:1.4rem}.feature-pair img{width:100%;height:360px;object-fit:contain;background:white}.tile{padding:clamp(1.25rem,4vw,3.7rem);background:var(--tint)}.tile p,.faq-box details p{max-width:70ch}details{border-top:1px solid var(--line);padding:.85rem 0}details:last-child{border-bottom:1px solid var(--line)}summary{cursor:pointer;font-weight:650}.service-grid h2{font-size:1.8rem}.site-footer{background:var(--tint);padding:2.5rem 0 1rem}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.15fr;gap:1.2rem}.footer-grid h2{font:700 1rem var(--body);letter-spacing:normal}.footer-grid a:not(.wordmark){display:block;margin:.25rem 0;overflow-wrap:anywhere}.copyright{padding-top:1.1rem;margin-top:1.5rem;border-top:1px solid var(--line);font-size:.83rem}.page-body{max-width:900px}.page-body:has(.woocommerce){max-width:1160px}.page-body h1{font-size:clamp(2.6rem,5.2vw,4.6rem)}.page-body h2{font-size:1.85rem;margin-top:2rem}.page-body h3{margin-top:1.5rem}.page-body address{line-height:1.75}
.woocommerce div.product .product_title{font-size:clamp(2.1rem,4.2vw,4.2rem);overflow-wrap:anywhere}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--accent);font-size:1.35rem;font-weight:750}.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:.55rem;align-items:stretch}.woocommerce div.product form.cart:before,.woocommerce div.product form.cart:after{display:none}.woocommerce .quantity{display:inline-flex;align-items:stretch;margin:0!important;min-height:44px;border:1px solid var(--line)}.quantity button,.woocommerce .quantity .qty{border:0;background:white;color:var(--ink);text-align:center;min-width:2rem;font-size:1rem}.quantity button{cursor:pointer;padding:0 .55rem}.quantity button:disabled{opacity:.5}.quantity .qty{appearance:textfield;width:2.7rem!important;margin:0}.quantity .qty::-webkit-inner-spin-button,.quantity .qty::-webkit-outer-spin-button{appearance:none;margin:0}.woocommerce button.buying-now{background:white;color:var(--accent);border-color:var(--accent)}.purchase-notes{background:var(--tint);padding:1rem 1.25rem;margin:1rem 0}.purchase-notes p{margin:0 0 .55rem}.product-detail-gallery{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2rem 0}.product-detail-gallery img{width:100%;height:360px;object-fit:contain;border:1px solid var(--line);background:white}.spec-list{display:grid;grid-template-columns:minmax(5em,.4fr) 1fr;margin:1rem 0}.spec-list dt,.spec-list dd{padding:.55rem;margin:0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.spec-list dt{font-weight:700}.pdp-faq{margin-block:2rem 3rem}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select{font:inherit;padding:.65rem;border:1px solid var(--line);background:white}.woocommerce table.shop_table{border-color:var(--line)}.woocommerce table.shop_table td.product-name{overflow-wrap:anywhere}
@media(max-width:780px){.masthead .header-inner{min-height:3.8rem;position:relative;flex-wrap:wrap}.wordmark{font-size:1.35rem}.wordmark img{width:31px;height:31px}.menu-toggle{display:block;margin-left:auto;min-height:44px;padding:0 .55rem;border:1px solid var(--line);background:white}.masthead nav{display:none;order:5;width:100%;padding:.45rem 0 1rem;flex-wrap:wrap}.masthead nav.open{display:flex}.hero{min-height:0}.design-split .hero,.design-stack .hero,.design-showcase .hero{display:flex;flex-direction:column}.design-stack .hero-media,.design-showcase .hero-media{order:-1;min-height:0}.design-panorama .hero-copy{display:block}.design-panorama .hero-media,.design-gallery .hero-media{height:230px}.hero-media{max-height:265px}.design-showcase .hero-media figure:first-child{height:245px}.hero h1{font-size:clamp(2.6rem,9vw,4.1rem)}.hero-copy{padding:1.35rem}.benefits{font-size:.73rem;text-align:center}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products li.product{padding:.45rem}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.87rem}.category-grid,.info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.feature-pair{grid-template-columns:1fr;gap:0}.feature-pair img{height:230px}.footer-grid{grid-template-columns:1fr 1fr}.product-detail-gallery img{height:180px}}
@media(max-width:390px){.hero-actions .button{width:100%}.category-grid{grid-template-columns:1fr}.benefits{flex-wrap:wrap;justify-content:center}.woocommerce div.product form.cart .single_add_to_cart_button,.woocommerce div.product form.cart .buying-now{flex:1;min-height:44px;padding:.55rem .43rem}.footer-grid{gap:.65rem}.footer-grid section{min-width:0}.cart-link{font-size:.8rem}}
.policy-nav{background:var(--tint);padding:.6rem 1.4rem}.policy-card{margin:1.35rem 0;padding:.25rem 1.1rem;border-left:3px solid var(--accent)}.policy-card h2{margin-top:.7rem}.policy-intro{font-size:1.15rem}

:root {--accent:#765276;--tint:#F1E9F2;--display:'Cormorant Garamond',Georgia,serif;--body:'Mulish',Arial,sans-serif;--radius:9px}
.hero .hero-copy{padding-inline:clamp(1.2rem,5.2vw,5.2rem)}

@font-face{font-family:'Cormorant Garamond';src:url('cormorant-garamond.woff2') format('woff2');font-display:swap;font-weight:400;font-style:normal}

@font-face{font-family:'Mulish';src:url('mulish.woff2') format('woff2');font-display:swap;font-weight:400;font-style:normal}

/* Product-specific composition 16 */
@media(min-width:781px){.hero{grid-template-columns:1.17fr .83fr}.hero-media{grid-template-columns:.7fr 1.2fr;align-content:center;padding:1rem}.hero-media figure:first-child{align-self:start}.hero-media figure:nth-child(2){margin-top:4rem}}
@media(max-width:520px){.hero-media{grid-template-columns:1fr 1fr}.hero-media figure:nth-child(3){display:none}.hero-media figure:nth-child(2){grid-column:2;grid-row:1}.hero-media figure:first-child{grid-column:1;grid-row:1}}
