/* WooCommerce archive only — visual tokens come from theme.json. */
.glam-shop { --shop-ink:var(--wp--preset--color--ink); --shop-muted:var(--wp--preset--color--muted); --shop-paper:var(--wp--preset--color--paper); --shop-line:var(--wp--preset--color--line); --shop-mint:var(--wp--preset--color--mint); --shop-sky:var(--wp--preset--color--sky); color:var(--shop-ink); }
.glam-shop .woocommerce { width:100%; max-width:none; margin:0; }
.glam-shop .woocommerce-products-header { display:none; }
.glam-shop-hero { position:relative; isolation:isolate; width:100vw; margin:0 calc(50% - 50vw) 24px; overflow:hidden; background:linear-gradient(100deg,#f8f5f0 0%,#fffdf9 40%,#f0f5f4 100%); }
.glam-shop-hero::before { content:""; position:absolute; z-index:-1; left:-90px; bottom:-125px; width:320px; height:320px; border:1px solid rgba(168,211,228,.28); border-radius:48% 52% 58% 42%; background:rgba(198,228,222,.28); transform:rotate(-25deg); }
.glam-shop-hero::after { content:""; position:absolute; z-index:-1; right:-95px; top:-145px; width:310px; height:430px; border-radius:48%; background:rgba(168,211,228,.22); transform:rotate(28deg); }
.glam-shop-hero__inner { width:min(1280px,calc(100% - 64px)); min-height:226px; margin-inline:auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,.9fr); align-items:center; gap:40px; padding-block:30px; }
.glam-shop-hero__copy { max-width:620px; }
.glam-shop-eyebrow,.glam-shop-filter__title { display:flex; align-items:center; gap:14px; margin:0 0 14px; color:var(--shop-ink); font:600 .68rem/1.4 var(--wp--preset--font-family--body); letter-spacing:.24em; text-transform:uppercase; }
.glam-shop-eyebrow::after,.glam-shop-filter__title::after { content:""; display:block; width:48px; height:1px; background:#a9b3c5; }
.glam-shop-hero h1 { margin:0 0 12px; color:var(--shop-ink); font:400 clamp(2.1rem,3.4vw,3.1rem)/1.13 var(--wp--preset--font-family--heading); letter-spacing:-.035em; }
.glam-shop-hero__copy>p:last-child { max-width:460px; margin:0; color:var(--shop-muted); font-size:1rem; line-height:1.6; }
.glam-shop-hero__visual { position:relative; display:flex; align-items:center; justify-content:center; gap:clamp(8px,2vw,22px); min-width:0; min-height:178px; padding:12px 24px; }
.glam-shop-hero__visual::after { content:""; position:absolute; right:3%; top:4%; width:90px; height:90px; border:1px solid rgba(24,33,57,.32); border-radius:50% 0 50% 0; transform:rotate(35deg); pointer-events:none; }
.glam-shop-hero__product { display:grid; place-items:center; width:31%; max-width:175px; aspect-ratio:1; margin:0; padding:10px; border-radius:14px; background:rgba(255,254,252,.84); box-shadow:0 12px 30px rgba(24,33,57,.07); }
.glam-shop-hero__product:nth-child(2) { transform:translateY(12px); }
.glam-shop-hero__product:nth-child(3) { transform:translateY(-5px); }
.glam-shop-hero__product img { display:block; width:100%; height:100%; margin:0; border-radius:8px; object-fit:contain; }
.glam-shop-layout { display:grid; grid-template-columns:minmax(220px,270px) minmax(0,1fr); gap:24px; width:min(1280px,calc(100% - 48px)); margin:0 auto 40px; align-items:start; }
.glam-shop-sidebar { min-width:0; padding:0 24px 18px 0; border-right:1px solid #eef0f1; }
.glam-shop-search { position:relative; display:flex; margin:0 0 26px; }
.glam-shop-search input[type=search] { width:100%; min-width:0; min-height:46px; padding:10px 46px 10px 42px; border:1px solid #d9dfe5; border-radius:11px; background:var(--shop-paper); color:var(--shop-ink); font:400 .875rem/1.4 var(--wp--preset--font-family--body); }
.glam-shop-search input::placeholder { color:#8790a4; opacity:1; }
.glam-shop-search button { position:absolute; right:4px; top:4px; display:grid; place-items:center; width:38px; height:38px; padding:8px; border:0; border-radius:8px; background:transparent; color:var(--shop-ink); cursor:pointer; }
.glam-shop-search svg,.glam-shop-view-switch svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.glam-shop-filter { margin:0 0 28px; }
.glam-shop-filter__title { margin-bottom:12px; font-size:.68rem; }
.glam-shop-category-list { display:grid; gap:2px; margin:0; padding:0; list-style:none; }
.glam-shop-category-list li { min-width:0; margin:0; padding:0; }
.glam-shop-category-link { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:34px; padding:7px 10px; border-radius:7px; color:var(--shop-muted); font-size:.875rem; line-height:1.35; text-decoration:none; transition:background-color .15s ease,color .15s ease; }
.glam-shop-category-link:hover,.glam-shop-category-link:focus-visible,.glam-shop-category-link.is-active { background:#e3f3f2; color:var(--shop-ink); }
.glam-shop-category-count { flex:0 0 auto; color:#7b8497; font-size:.75rem; }
.glam-shop-more-categories { margin-top:8px; color:var(--shop-muted); font-size:.8rem; }
.glam-shop-more-categories summary { min-height:36px; padding:9px 10px; cursor:pointer; }
.glam-shop-more-categories[open] summary { color:var(--shop-ink); }
.glam-shop-price-widget .widget_price_filter { margin:0; }
.glam-shop-price-widget .price_slider_wrapper { padding:3px 3px 0; }
.glam-shop-price-widget .price_slider { height:4px; margin:16px 0 18px; border:0; border-radius:99px; background:#dce8e9; }
.glam-shop-price-widget .ui-slider .ui-slider-range { border:0; border-radius:99px; background:#91c7d3; }
.glam-shop-price-widget .ui-slider .ui-slider-handle { top:-7px; width:18px; height:18px; border:0; border-radius:50%; background:#91c7d3; cursor:ew-resize; }
.glam-shop-price-widget .price_label { display:flex; justify-content:space-between; color:var(--shop-muted); font-size:.8rem; }
.glam-shop-price-widget .price_slider_amount { display:flex; flex-direction:column-reverse; gap:8px; }
.glam-shop-price-widget .button { align-self:flex-start; min-height:36px; padding:8px 16px; border:0; border-radius:99px; background:var(--shop-mint); color:var(--shop-ink); font:500 .8rem/1.3 var(--wp--preset--font-family--body); cursor:pointer; }
.glam-shop-brand-widget .widget_brand_nav,.glam-shop-brand-widget ul { margin:0; padding:0; }
.glam-shop-brand-widget ul { display:grid; gap:7px; list-style:none; }
.glam-shop-brand-widget li { margin:0; padding:0; }
.glam-shop-brand-widget a { display:flex; align-items:center; gap:9px; color:var(--shop-muted); font-size:.84rem; text-decoration:none; }
.glam-shop-brand-widget a::before { content:""; flex:0 0 15px; width:15px; height:15px; border:1px solid #c6ced8; border-radius:4px; background:#fff; }
.glam-shop-brand-widget .chosen a::before { border-color:#83bbc5; background:var(--shop-mint); box-shadow:inset 0 0 0 3px #fff; }
.glam-shop-results { min-width:0; }
.glam-shop-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:18px; min-height:48px; margin:0 0 18px; }
.glam-shop .woocommerce-result-count { float:none; margin:0; color:var(--shop-ink); font-size:.875rem; }
.glam-shop .woocommerce-ordering { float:none; margin:0; }
.glam-shop .woocommerce-ordering select { width:196px; min-height:42px; padding:8px 34px 8px 12px; border:1px solid #d9dfe5; border-radius:7px; background:var(--shop-paper); color:var(--shop-ink); font:400 .82rem/1.4 var(--wp--preset--font-family--body); }
.glam-shop-view-switch { display:flex; gap:5px; }
.glam-shop-view-switch button { display:grid; place-items:center; width:39px; height:39px; padding:8px; border:0; border-radius:7px; background:transparent; color:#718097; cursor:pointer; }
.glam-shop-view-switch button[aria-pressed=true] { background:#e1f2f1; color:var(--shop-ink); }
.glam-shop ul.products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:0 0 28px; padding:0; }
.glam-shop ul.products::before,.glam-shop ul.products::after { display:none; }
.glam-shop ul.products li.product { position:relative; display:flex; flex-direction:column; float:none; width:auto; min-width:0; min-height:0; margin:0; padding:0 0 54px; overflow:hidden; border:1px solid #f0f0ee; border-radius:8px; background:var(--shop-paper); box-shadow:0 5px 16px rgba(24,33,57,.035); }
.glam-shop ul.products li.product a.woocommerce-LoopProduct-link { display:flex; flex:1 1 auto; flex-direction:column; color:var(--shop-ink); text-decoration:none; }
.glam-shop ul.products li.product a img { width:100%; height:auto; aspect-ratio:1/1; object-fit:contain; border-radius:0; margin:0 0 12px; padding:9px; background:#fbf9f6; }
.glam-shop-product-category { display:block; margin:0 13px 4px; color:#7e8797; font:600 .56rem/1.4 var(--wp--preset--font-family--body); letter-spacing:.2em; text-transform:uppercase; }
.glam-shop ul.products li.product .woocommerce-loop-product__title { min-height:2.7em; padding:0 13px; margin:0 0 7px; color:var(--shop-ink); font-family:var(--wp--preset--font-family--heading); font-size:1rem; font-weight:400; line-height:1.32; overflow-wrap:anywhere; }
.glam-shop ul.products li.product .price { display:block; margin:auto 0 0; padding:0 58px 0 13px; color:var(--shop-ink); font-size:.9rem; line-height:1.4; }
.glam-shop .price del { color:var(--shop-muted); }
.glam-shop .price ins { background:transparent; font-weight:600; text-decoration:none; }
.glam-shop ul.products li.product .button { display:inline-flex; align-items:center; justify-content:center; min-width:42px; min-height:42px; margin:0; padding:10px; position:absolute; right:10px; bottom:9px; border:0; border-radius:50%; background:#def1ef; color:var(--shop-ink); font-size:.77rem; line-height:1.2; font-weight:500; text-align:center; white-space:normal; }
.glam-shop ul.products li.product .button.add_to_cart_button.product_type_simple { width:42px; height:42px; overflow:hidden; font-size:0; }
.glam-shop ul.products li.product .button.add_to_cart_button.product_type_simple::before { content:""; width:21px; height:21px; display:block; background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182139' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 11.2a2 2 0 0 0 2 1.6h7.4a2 2 0 0 0 1.9-1.4L21 8H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E"); }
.glam-shop ul.products li.product .added_to_cart { margin:0 54px 0 13px; padding-top:8px; font-size:.75rem; }
.glam-shop ul.products li.product .onsale { top:9px; right:9px; min-height:0; min-width:0; padding:5px 9px; margin:0; border-radius:99px; background:var(--shop-sky); color:var(--shop-ink); font-size:.72rem; line-height:1.5; }
.glam-shop .stock { margin:5px 13px; color:var(--shop-muted); font-size:.76rem; }
.glam-shop .woocommerce-pagination { margin:28px 0 0; }
.glam-shop .woocommerce-pagination ul { display:flex; justify-content:center; align-items:center; gap:6px; flex-wrap:wrap; border:0; }
.glam-shop .woocommerce-pagination ul li { border:0; }
.glam-shop .woocommerce-pagination ul li :is(a,span) { display:grid; place-items:center; min-width:40px; min-height:40px; padding:8px; border-radius:50%; color:var(--shop-ink); }
.glam-shop .woocommerce-pagination ul li span.current { background:#def1ef; }
.glam-shop .glam-shop-results ul.products.is-list-view { grid-template-columns:minmax(0,1fr); gap:12px; }
.glam-shop .glam-shop-results ul.products.is-list-view li.product { min-height:148px; padding:0 150px 0 0; }
.glam-shop .glam-shop-results ul.products.is-list-view li.product a.woocommerce-LoopProduct-link { display:grid; grid-template-columns:140px minmax(0,1fr); grid-template-rows:auto auto 1fr; align-items:start; }
.glam-shop .glam-shop-results ul.products.is-list-view li.product a img { grid-column:1; grid-row:1/5; width:140px; height:148px; margin:0; }
.glam-shop .glam-shop-results ul.products.is-list-view .glam-shop-product-category { grid-column:2; margin:16px 15px 4px; }
.glam-shop .glam-shop-results ul.products.is-list-view li.product .woocommerce-loop-product__title { grid-column:2; min-height:0; margin:0 15px 8px; padding:0; }
.glam-shop .glam-shop-results ul.products.is-list-view li.product .price { grid-column:2; margin:0 15px 12px; padding:0; }
.glam-shop .glam-shop-results ul.products.is-list-view li.product .button { right:14px; bottom:50%; transform:translateY(50%); }
.glam-shop :is(a,button,select,input,summary):focus-visible { outline:2px solid var(--shop-ink); outline-offset:3px; }
@media(max-width:1180px) { .glam-shop ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:900px) {
 .glam-shop-layout { grid-template-columns:minmax(205px,235px) minmax(0,1fr); gap:18px; width:calc(100% - 36px); }
 .glam-shop-sidebar { padding-right:16px; }
 .glam-shop ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
 .glam-shop-hero__inner { width:calc(100% - 44px); grid-template-columns:1fr .8fr; gap:20px; min-height:205px; }
}
@media(max-width:680px) {
 .glam-shop-hero { margin-bottom:18px; }
 .glam-shop-hero__inner { width:calc(100% - 36px); min-height:0; grid-template-columns:1fr; gap:8px; padding-block:26px 20px; }
 .glam-shop-hero h1 { max-width:500px; font-size:clamp(2rem,9vw,2.65rem); }
 .glam-shop-hero__break { display:none; }
 .glam-shop-hero__copy>p:last-child { max-width:34rem; font-size:.92rem; }
 .glam-shop-hero__visual { justify-content:flex-start; min-height:120px; padding:6px 0; }
 .glam-shop-hero__product { width:min(27%,130px); padding:6px; }
 .glam-shop-layout { grid-template-columns:minmax(0,1fr); gap:22px; width:calc(100% - 32px); margin-bottom:32px; }
 .glam-shop-sidebar { padding:0 0 18px; border-right:0; border-bottom:1px solid #eef0f1; }
 .glam-shop-filter { margin-bottom:18px; }
 .glam-shop-category-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 8px; }
 .glam-shop-toolbar { grid-template-columns:minmax(0,1fr) auto; gap:10px; margin-bottom:14px; }
 .glam-shop .woocommerce-result-count { grid-column:1; grid-row:1; }
 .glam-shop .woocommerce-ordering { grid-column:1/-1; grid-row:2; width:100%; }
 .glam-shop .woocommerce-ordering select { width:100%; }
 .glam-shop-view-switch { grid-column:2; grid-row:1; }
 .glam-shop ul.products { grid-template-columns:minmax(0,1fr); gap:14px; }
 .glam-shop ul.products li.product { min-height:0; padding-bottom:54px; }
 .glam-shop ul.products li.product a img { max-height:320px; }
 .glam-shop .glam-shop-results ul.products.is-list-view li.product { min-height:116px; padding-right:58px; }
 .glam-shop .glam-shop-results ul.products.is-list-view li.product a.woocommerce-LoopProduct-link { grid-template-columns:100px minmax(0,1fr); }
 .glam-shop .glam-shop-results ul.products.is-list-view li.product a img { width:100px; height:116px; }
 .glam-shop .glam-shop-results ul.products.is-list-view .glam-shop-product-category { margin:10px 10px 3px; font-size:.5rem; }
 .glam-shop .glam-shop-results ul.products.is-list-view li.product .woocommerce-loop-product__title { margin-inline:10px; font-size:.9rem; }
 .glam-shop .glam-shop-results ul.products.is-list-view li.product .price { margin:0 10px 8px; }
 .glam-shop .glam-shop-results ul.products.is-list-view li.product .button { right:8px; bottom:50%; width:38px; min-width:38px; min-height:38px; height:38px; transform:translateY(50%); }
}
@media(max-width:360px) {
 .glam-shop-layout { width:calc(100% - 24px); }
 .glam-shop-hero__inner { width:calc(100% - 28px); }
 .glam-shop-toolbar { gap:6px; }
 .glam-shop-view-switch button { width:34px; height:36px; }
 .glam-shop ul.products li.product .woocommerce-loop-product__title { font-size:.96rem; }
}

/* Polishing for the native WooCommerce controls and the shop-only archive. */
body.post-type-archive-product .glam-shop .woocommerce-breadcrumb { display:none; }
.glam-shop-hero__inner { position:relative; }
.glam-shop-hero__inner::before { content:""; position:absolute; left:-205px; bottom:2px; width:126px; height:178px; background:url("../images/footer-botanical.svg") center/contain no-repeat; opacity:.78; pointer-events:none; }
.glam-shop-hero__copy,.glam-shop-hero__visual { position:relative; z-index:1; }
.glam-shop-toolbar > .woocommerce-notices-wrapper:empty { display:none; }
.glam-shop .woocommerce-notices-wrapper:empty { display:none; }
.glam-shop-price-widget .price_slider_amount input[type="text"] { display:none; }
.glam-shop-price-widget .price_slider_amount .price_label { display:flex!important; }
.glam-shop-price-widget .price_slider_amount { align-items:flex-start; }
.glam-shop-brand-widget .wc-brand-list-layered-nav-product_brand { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.glam-shop-brand-widget .wc-brand-list-layered-nav-product_brand li { display:flex; align-items:center; justify-content:space-between; margin:0; }
.glam-shop-brand-widget .wc-brand-list-layered-nav-product_brand .count { color:#7b8497; font-size:.75rem; }
.glam-shop-brand-widget .wc-brand-list-layered-nav-product_brand a { flex:1 1 auto; }
.glam-shop-brand-widget .wc-brand-list-layered-nav-product_brand a:hover { color:var(--shop-ink); }
@media(max-width:680px) { .glam-shop-hero__inner::before { display:none; } }
/* The block template is constrained globally; let the shop hero reach the viewport without 100vw overflow. */
main.glam-main.glam-shop { width:100%; max-width:none; padding:0; }
.glam-shop-hero { width:100%; margin:0 0 24px; }
@media(max-width:680px) { .glam-shop-hero { margin-bottom:18px; } }
body.post-type-archive-product .glam-shop .content-area.alignwide { width:100%; max-width:none; margin-inline:0; }
.glam-shop-hero__inner::before { left:clamp(-68px,calc((1280px - 100vw)/2 - 8px),-20px); width:90px; height:145px; }
.glam-shop-price-widget .ui-slider .ui-slider-handle { box-shadow:0 0 0 2px #fff,0 2px 7px rgba(24,33,57,.16); }
@media(max-width:900px) { .glam-shop-hero__inner::before { display:none; } }
.glam-shop ul.products li.product { width:auto!important; float:none!important; }
.glam-shop-price-widget .price_slider { position:relative; }
.glam-shop-price-widget .ui-slider .ui-slider-range { position:absolute; top:0; height:100%; }
.glam-shop-price-widget .ui-slider .ui-slider-handle { position:absolute; z-index:2; display:block; top:-7px; margin-left:-9px; cursor:ew-resize; }
