/* Editorial image treatments */
.manifesto-copy{background:rgba(255,255,255,.09);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.2);box-shadow:0 18px 45px rgba(0,0,0,.18)}
.manifesto-image{background-image:url('images/atelier-note-new.jpg')!important;background-position:center;background-size:cover}
.note-image{width:100%;aspect-ratio:1/1;background-position:center;background-size:cover;background-repeat:no-repeat;margin-bottom:22px}
.note-image-one{background-image:url('images/detail.jpg')}.note-image-two{background-image:url('images/process.jpg')}.note-image-three{background-image:url('images/editorial.jpg')}

/* Keep the theme chrome flush with the viewport even when a host wrapper adds a max width. */
.notice,.site-header,.site-footer{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important}
html,body{margin:0!important;padding:0!important}
body>.notice{margin-top:0!important}
main.woocommerce{margin-top:0!important;margin-bottom:0!important}

/* WooCommerce archive: remove pseudo grid items and escape constrained wrappers. */
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important;content:none!important}
body.woocommerce-shop,body.post-type-archive-product,body.page-template-page-shop{overflow-x:hidden}
body.woocommerce-shop main.shop-page-shell,body.post-type-archive-product main.woocommerce,body.page-template-page-shop main.shop-page-shell{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;padding-left:clamp(22px,7vw,100px)!important;padding-right:clamp(22px,7vw,100px)!important}
body.woocommerce-shop .shop-page-shell .woocommerce-products-header,body.post-type-archive-product .woocommerce-products-header,body.page-template-page-shop .woocommerce-products-header{width:100%;max-width:none}
body.woocommerce-shop ul.products,body.post-type-archive-product ul.products,body.page-template-page-shop ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:48px 24px!important;width:100%!important;margin:0!important;padding:0!important;list-style:none!important}
body.woocommerce-shop ul.products li.product,body.post-type-archive-product ul.products li.product,body.page-template-page-shop ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0}

/* Product detail: full-size gallery and a structured purchase panel. */
body.single-product{background:#f5f0e8}
body.single-product .woocommerce{width:100vw;max-width:none;margin-left:calc(50% - 50vw);padding:28px clamp(22px,5vw,80px) 36px;background:#f5f0e8}
body.single-product .woocommerce div.product{display:block;background:#fffaf3;padding:clamp(26px,4vw,64px)}
body.single-product .woocommerce div.product .product-main-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(380px,.78fr);gap:clamp(34px,5vw,76px);align-items:start}
body.single-product .woocommerce div.product .product-gallery-column{min-width:0}
body.single-product .woocommerce div.product div.images{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0!important;width:100%!important;min-width:0}
body.single-product .woocommerce div.product div.images .flex-control-thumbs{grid-column:1;grid-row:2;display:flex;gap:10px;align-content:start;margin:0;padding:0;list-style:none}
body.single-product .woocommerce div.product div.images .flex-control-thumbs li{width:72px!important;float:none!important;margin:0!important;padding:0}
body.single-product .woocommerce div.product div.images .flex-control-thumbs img{width:72px;height:88px;object-fit:cover;opacity:.6;border:1px solid transparent}
body.single-product .woocommerce div.product div.images .flex-control-thumbs .flex-active{opacity:1}
body.single-product .woocommerce div.product div.images .flex-control-thumbs .flex-active{border-color:#29221d}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper{grid-column:1;grid-row:1;min-width:0;width:100%!important;margin:0!important}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image{width:100%!important;aspect-ratio:4/5;overflow:hidden;margin:0!important;background:#e9e2d8}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image>a{display:block;width:100%!important;height:100%!important}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img,body.single-product .woocommerce div.product div.images img.wp-post-image{display:block;width:100%!important;max-width:none!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;background:#e9e2d8}
body.single-product .woocommerce div.product div.summary{position:sticky;top:24px;padding:clamp(28px,3.2vw,50px);margin:0!important;width:100%!important;background:#f1ebe3;border:1px solid #d9cfc2}
body.single-product .woocommerce div.product div.summary::before{content:'ATELIER OBJECT';display:block;margin-bottom:18px;color:#bd6e4a;font:10px Arial,sans-serif;letter-spacing:.22em}
body.single-product .woocommerce div.product div.summary::after{content:'Complimentary insured shipping · Easy 14-day returns';display:block;margin-top:26px;padding-top:18px;border-top:1px solid #d9cfc2;color:#746960;font:11px Arial,sans-serif;letter-spacing:.06em}
body.single-product .woocommerce div.product .product_title{font-size:clamp(42px,4.8vw,72px);font-weight:400;line-height:.92;letter-spacing:-.075em;margin:0 0 18px}
body.single-product .woocommerce div.product p.price{color:#bd6e4a;font-size:22px;border-bottom:1px solid #d9cfc2;margin:0 0 22px;padding-bottom:22px}
body.single-product .woocommerce div.product .woocommerce-product-details__short-description{font-size:16px;line-height:1.7;margin-bottom:22px}
body.single-product .woocommerce div.product form.cart{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;border-top:1px solid #d9cfc2;border-bottom:1px solid #d9cfc2;margin:0!important;padding:24px 0}
body.single-product .woocommerce div.product form.cart::before{content:'QUANTITY';grid-column:1/-1;color:#746960;font:10px Arial,sans-serif;letter-spacing:.16em}
body.single-product .woocommerce div.product form.cart .quantity{float:none!important;margin:0!important;width:76px}
body.single-product .woocommerce div.product form.cart .qty{width:76px;height:52px;padding:0 10px;border:1px solid #bfb4a7;background:#fffaf3;text-align:center;font:15px Arial,sans-serif}
body.single-product .woocommerce div.product form.cart .button{width:100%;min-height:52px;background:#29221d;color:#f5f0e8;padding:15px 26px;border:0;border-radius:0;text-transform:uppercase;letter-spacing:.16em}
body.single-product .woocommerce div.product form.cart .button:hover{background:#bd6e4a}
body.single-product .woocommerce div.product .product_meta{display:grid;gap:8px;margin-top:22px;color:#746960;font-size:13px}
body.single-product .woocommerce div.product .woocommerce-tabs,body.single-product .woocommerce div.product .related{width:100%;border-top:1px solid #29221d;padding-top:25px;margin-top:clamp(38px,5vw,70px)}
body.single-product .woocommerce div.product .related{display:block!important;clear:both;width:100%!important;margin:0!important}
body.single-product .woocommerce div.product .related>h2{display:block!important;width:100%!important;margin:0 0 24px!important}
body.single-product .woocommerce div.product .related ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;width:100%!important;margin:0!important;padding:0!important;clear:both}
body.single-product .woocommerce div.product .related ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0}

@media(max-width:800px){
  body.woocommerce-shop ul.products,body.post-type-archive-product ul.products,body.page-template-page-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:35px 16px!important}
  body.single-product .woocommerce div.product{padding:22px}
  body.single-product .woocommerce div.product .product-main-grid{grid-template-columns:1fr}
  body.single-product .woocommerce div.product div.summary{position:static;padding:28px 22px}
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image{aspect-ratio:4/5}
  body.single-product .woocommerce div.product .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
