.mp039-shell { max-width: 1320px; margin-inline: auto; padding: clamp(24px,4vw,64px) clamp(16px,4vw,64px); color: #24372d; }
.mp039-collection-head, .mp039-details { margin-bottom: 2rem; }
.mp039-collection-head h1, .mp039-summary .product_title { margin: 0 0 1rem; font: 500 clamp(2rem,4vw,3.5rem)/1.05 Georgia,serif; color: #24372d; text-wrap: balance; }
.mp039-intro, .mp039-details { max-width: 75ch; line-height: 1.6; }
.mp039-crumbs { font-size: .875rem; margin: 0 0 1.4rem; }
.mp039-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,2vw,28px); }
.mp039-card { min-width: 0; }
.mp039-card a { color: inherit; text-decoration: none; }
.mp039-card a:hover h3 { text-decoration: underline; }
.mp039-card img, .mp039-photo img { display: block; width: 100%; height: auto; border-radius: .65rem; background: #f6f5f1; }
.mp039-card img { aspect-ratio: 1; object-fit: contain; }
.mp039-card h3 { font-family: inherit; font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin: .7rem 0 .25rem; }
.mp039-product { display: grid; grid-template-columns: minmax(0,1.36fr) minmax(0,1fr); gap: clamp(24px,5vw,76px); align-items: start; margin-bottom: 3rem; }
.woocommerce div.mp039-product::before, .woocommerce div.mp039-product::after { display: none; }
.mp039-gallery { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.mp039-photo:first-child { grid-column: 1 / -1; }
.mp039-summary > * { margin-bottom: 1rem; }
.mp039-summary .price { font-size: 1.4rem; }
.mp039-summary .cart { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.mp039-summary .cart input.qty { width: 5rem; min-height: 44px; padding: .4rem; text-align: center; }
.mp039-summary .cart .single_add_to_cart_button { border: 0; border-radius: 2rem; padding: .85rem 1.8rem; background: #263f48; color: #fff; font-weight: 600; cursor: pointer; }
.mp039-summary .product_meta span { display: block; }
.mp039-summary .product_meta span span { display: inline; }
.mp039-summary .out-of-stock { font-weight: 600; }
.mp039-brand { font-weight: 600; }
.mp039-footer-link { padding: .65rem 1rem; text-align: center; background: #f6f5f1; }
.mp039-footer-link a { color: #263f48; text-underline-offset: .18em; }
.mp039-shell a:focus-visible, .mp039-footer-link a:focus-visible { outline: 3px solid #305d8e; outline-offset: 3px; }
.mp039-shell .navigation.pagination { margin-block: 2rem; }
.mp039-details .shop_attributes { width: 100%; }
#mp039-search-matches { padding-inline: 0; }
.mp039-shelf { padding: clamp(18px,3vw,36px); margin-block: 1.7rem 3rem; border-radius: 1rem; color: #253d36; background: #f3f5ef; }
.mp039-shelf-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1rem; margin-bottom: 1rem; }
.mp039-shelf-head h2 { margin: 0; font: 500 clamp(1.55rem,3vw,2.25rem)/1.15 Georgia,serif; }
.mp039-shelf-head a { color: inherit; text-underline-offset: .18em; font-weight: 600; }
@media (max-width: 820px) { .mp039-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) {
    .mp039-product { grid-template-columns: 1fr; }
    .mp039-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: .15rem; }
    .mp039-photo { flex: 0 0 85%; scroll-snap-align: start; }
}

.mp039-filters { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem 1rem; margin: 0 0 1.5rem; }
.mp039-filters label { display: grid; gap: .35rem; color: #263f48; font-size: .94rem; }
.mp039-filters select, .mp039-filters button { min-height: 44px; padding: .5rem .9rem; font: inherit; border-radius: .5rem; }
.mp039-filters select { color: #24372d; background: #fff; border: 1px solid #75887d; }
.mp039-filters button { color: white; background: #263f48; border: 1px solid #263f48; }
.mp039-filters a { align-self: center; color: #263f48; }
#mp039-collection-link a + a { margin-inline-start: 1.5em; }
@media (max-width: 600px) {
    .mp039-filters label { flex: 1 1 10rem; }
    #mp039-collection-link a { display: block; padding: .35rem; }
    #mp039-collection-link a + a { margin: 0; }
}
