.editorial-catalog,
.editorial-product-page {
    --catalog-rule: #dedbd8;
    --catalog-serif: var(--serif);
    max-width: none;
    padding: 0;
    color: #111;
}

.editorial-catalog > .page-title {
    margin: 0;
    padding: 29px 20px 2px;
    text-align: center;
    font: 300 60px/1.2 var(--catalog-serif);
    letter-spacing: -.045em;
}

.editorial-catalog > .term-description {
    max-width: 680px;
    margin: 0 auto;
    padding: 8px 20px;
    text-align: center;
}
.catalog-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 73px;
    padding: 0 clamp(20px, 3.48vw, 50px);
    border-bottom: 1px solid var(--catalog-rule);
    color: #404040;
}
.catalog-controls .woocommerce-result-count {
    margin: 0;
    font-size: 12px;
}
.catalog-filter > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 4px 0;
    cursor: pointer;
    list-style: none;
    text-transform: uppercase;
    font-size: 12px;
}
.catalog-filter > summary::-webkit-details-marker { display: none; }
.catalog-filter-icon { font-size: 21px; line-height: .75; }
.catalog-controls:has(.catalog-filter[open]) { z-index: 10; }
body:has(.catalog-filter[open]) { overflow: hidden; }
.catalog-filter-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 2;
    width: min(360px, 100%);
    height: 100dvh;
    overflow: auto;
    padding: 68px 28px 30px;
    background: #fff;
    overscroll-behavior: contain;
}
.catalog-filter-close { position:absolute; top: 14px; left: 18px; width:44px; height:44px; border:0; background:transparent; font-size:25px; }
.catalog-filter-panel select { min-height: 44px; width: 100%; max-width: 310px; }
.catalog-sort-label { display:grid; gap:8px; margin-bottom:25px; font-weight:700; }
.catalog-sort-label select { font-weight:400; }
.catalog-filter-group { display:grid; gap:4px; margin:0 0 14px; padding:0 0 17px; border:0; border-bottom:1px solid var(--catalog-rule); }
.catalog-filter-group legend { margin-bottom:9px; padding:0; text-transform:uppercase; font-weight:700; font-size:13px; }
.catalog-filter-group label { display:flex; align-items:center; gap:8px; min-height:28px; }
.catalog-filter-group input { accent-color:#111; margin:0; }
.catalog-filter-actions { position:sticky; bottom:0; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 0; background:#fff; }
.catalog-filter-actions button { min-height:42px; padding:5px 29px; border:0; background:#111; color:#fff; }
.catalog-refill-mobile { display: none; }
.catalog-refill-feature { position: relative; height: 100%; }
.catalog-refill-feature img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center;
}
.catalog-refill-copy {
    position: relative;
    width: min(215px, 48%);
    padding: clamp(20px, 3.2vw, 48px) 0 24px 24px;
    color: #fff;
    text-shadow: 0 1px 6px #35150c;
}
.catalog-refill-copy h2 {
    margin: 0 0 19px;
    font-size: clamp(19px, 1.64vw, 24px);
    font-weight: 500;
    line-height: 1.12;
    text-transform: uppercase;
}
.catalog-refill-copy p { margin: 0; font-size: 14px; }
.editorial-catalog ul.products,
.editorial-catalog ul.products.columns-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    list-style: none;
}
.editorial-catalog ul.products::before,
.editorial-catalog ul.products::after { display: none; }
.editorial-catalog ul.products .catalog-refill-desktop {
    grid-column: span 2;
    align-self: stretch;
    margin: 0;
}
main#main.editorial-catalog ul.products li.product {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 0 18px;
    border: solid var(--catalog-rule);
    border-width: 0 1px 1px 0;
    text-align: center;
}
.editorial-catalog ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
}
.editorial-catalog ul.products li.product a img {
    width: 100%;
    margin: 0 0 22px;
    background: #fff;
}
.editorial-catalog ul.products li.product h2.woocommerce-loop-product__title {
    order: 2;
    max-width: min(92%, 280px);
    padding: 7px 4px 4px;
    font: 500 14px/1.2 var(--sans-display);
    letter-spacing: .16px;
    text-transform: uppercase;
    text-align: center;
    overflow-wrap: anywhere;
}
.editorial-catalog ul.products li.product .product-scent {
    order: 1;
    min-height: 20px;
    padding: 0 8px;
    margin: 0;
    font-size: 12px;
}
.editorial-catalog ul.products li.product .editorial-review,
.editorial-catalog ul.products li.product .price,
.editorial-catalog ul.products li.product .star-rating { order: 3; }
.editorial-catalog ul.products li.product .editorial-review { margin-top: 2px; }
.editorial-catalog ul.products li.product .onsale {
    z-index: 1;
    right: 14px;
    top: 13px;
    margin: 0;
    background: #f8f6eb;
    color: #16110e;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.14;
    text-transform: uppercase;
}
.editorial-catalog ul.products li.product:has(.catalog-product-awards) .onsale {
    left: 15px;
    right: auto;
}
.editorial-catalog ul.products li.product .catalog-product-awards {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: clamp(36px, 21%, 72px);
    gap: 8px;
}
.editorial-catalog ul.products li.product .catalog-product-awards img {
    margin: 0;
    background: transparent;
}
.editorial-catalog ul.products li.product a.button {
    display: inline-block;
    max-width: 95%;
    min-height: 0;
    margin: 10px 0 6px;
    padding: 6px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    color: #b7191d;
    font: 700 14px/1.2 var(--sans-display);
    text-transform: uppercase;
}
.editorial-catalog ul.products li.product a.button:hover { color: #871416; }
.editorial-catalog .woocommerce-pagination,
.editorial-catalog .woocommerce-info { padding-inline: 20px; }
.editorial-review {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: #111;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}
.editorial-review-hearts { font-size: 18px; letter-spacing: 2px; }

.editorial-product-page > div.product { color: #111; }
.editorial-product-page div.product > div.woocommerce-product-gallery {
    position: relative;
    float: left;
    width: 50%;
    container-type: inline-size;
    margin: 0 0 54px;
    border-right: 1px solid var(--catalog-rule);
}
.editorial-product-page .woocommerce-product-gallery__image { max-width: 100cqw; }
.editorial-product-page .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
    display:none;
}
.editorial-product-page div.product > div.summary {
    float: right;
    width: 50%;
    margin: 0 0 36px;
    padding: clamp(66px, 8.33vw, 120px) clamp(38px, 8.33vw, 120px) 36px;
}
.editorial-gallery-meter {
    position: absolute;
    top: 36px;
    left: clamp(20px, 3.48vw, 50px);
    right: calc(50% + clamp(20px, 3.48vw, 50px));
    display: flex;
    align-items: center;
    gap: 8px;
    height: 24px;
    pointer-events: none;
    font-size: 12px;
    z-index: 1;
}
.editorial-gallery-track { flex: 1; height: 2px; background: #e3e3e3; }
.editorial-gallery-track::before {
    display: block;
    width: calc(var(--gallery-progress, 1) * 100%);
    height: 100%;
    background: #111;
    content: '';
}
.editorial-gallery-count { white-space: nowrap; }
.editorial-product-page div.product .woocommerce-product-gallery__trigger {
    top: 68px;
    z-index: 2;
}
@media (min-width: 901px) {
    .editorial-product-page div.product div.images .woocommerce-product-gallery__image > a > img,
    .editorial-product-page .woocommerce-product-gallery__image .josie-gallery-video {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 500 / 551;
        object-fit: cover;
    }
}
.editorial-product-page .woocommerce-product-gallery .flex-direction-nav {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(12px, 2.25vw, 33px);
    margin: 0;
    pointer-events: none;
    list-style: none;
}
.editorial-product-page .flex-direction-nav a {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    pointer-events: auto;
    background: rgb(255 255 255 / 73%);
    color: #333;
    font-size: 0;
    text-decoration: none;
}
.editorial-product-page .flex-direction-nav a::after {
    width: 14px;
    height: 14px;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
    content: '';
}
.editorial-product-page .flex-direction-nav .flex-prev::after { transform: rotate(-135deg); }
.editorial-product-page .flex-direction-nav .flex-disabled { visibility: hidden; }
.editorial-product-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 22px;
    margin-bottom: 31px;
}
.editorial-product-badges:empty { display: none; }
.editorial-bestseller {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.editorial-product-page div.product .product_title {
    margin-bottom: 23px;
    color: #111;
    font: 300 45px/1.2 var(--catalog-serif);
    letter-spacing: -.036em;
}
.editorial-product-intro {
    margin: 0 0 24px;
    border-bottom: 1px solid #727272;
    padding: 0 0 23px;
    font-size: 15px;
    line-height: 1.5;
}
.editorial-product-page .product-option { margin: 0 0 5px; font-size: 14px; }
.editorial-product-page .product-option strong { font-weight: 500; }
.editorial-product-page .product-alternates { margin: 16px 0 23px; }
.editorial-product-page .product-alternates ul { margin: 0; gap: 10px; }
.editorial-product-page .product-alternates li > * {
    display: grid;
    min-height: 40px;
    place-items: center;
    padding: 6px 12px;
    border: 1px solid #d4d2cf;
    font-size: 13px;
}
.editorial-product-page .product-alternates [aria-current] { border-color: #151515; font-weight: 700; }
.editorial-product-page .product-alternates a:hover { border-color: #444; text-decoration: underline; }
.editorial-butter-options p { margin: 0; font-size: 15.4px; line-height: 22px; }
.editorial-butter-options strong { font-weight: 500; }
.editorial-butter-scents,
.editorial-butter-sizes { list-style: none; padding: 0; margin: 16px 0 20px; }
.editorial-butter-scents {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 82px));
    gap: 15px 16px;
    position: relative;
}
.editorial-butter-scents a {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    position: relative;
    text-decoration: none;
    font-size: 12px;
    text-align: center;
}
.editorial-butter-scents img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial-butter-scents [aria-current]::after {
    content: '';
    position: absolute;
    inset: auto 0 -7px;
    height: 2px;
    background: #111;
}
.editorial-butter-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 20px;
}
.editorial-butter-sizes a {
    display: grid;
    min-height: 39px;
    place-items: center;
    padding: 6px 17px;
    border: 1px solid #757575;
    font-size: 14px;
    text-decoration: none;
}
.editorial-butter-sizes a[aria-current],
.editorial-butter-sizes a:hover { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.editorial-purchase-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 21px 0 20px;
    padding: 12px 16px;
    border: 1px solid #111;
    font-size: 13px;
}
.editorial-purchase-price .price { font-size: inherit !important; margin: 0; }
.editorial-product-page .summary form.cart {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.editorial-product-page .summary form.cart .quantity { margin: 0; }
.editorial-product-page .summary form.cart .single_add_to_cart_button {
    flex: 1 1 auto;
    min-height: 44px;
    background: #e10600;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}
.editorial-product-page .summary form.cart .single_add_to_cart_button:hover { background: #b32114; }
.editorial-product-page .product-type-simple .summary form.cart {
    display: block;
    padding: 0;
}
.editorial-product-page .product-type-simple .summary form.cart .quantity { display: none; }
.editorial-product-page .product-type-simple .summary form.cart .single_add_to_cart_button {
    width: 100%;
    min-height: 37px;
    padding: 8px 14px;
    font: 500 14px/1.2 var(--sans-display);
}
.editorial-product-page .summary .stock.in-stock { display: none; }
.editorial-product-page .woocommerce-tabs,
.editorial-product-page .source-details,
.editorial-product-page .source-rating,
.editorial-product-page .source-videos,
.editorial-product-page .review-extract,
.editorial-product-page .related,
.editorial-product-page > .woocommerce-notices-wrapper {
    padding-inline: clamp(20px, 6vw, 86px);
}
.editorial-product-page .editorial-full-intro { padding-block: 16px 0; }
.editorial-top-reviews { border:0; background:transparent; padding:0; }
.editorial-review-section { clear:both; margin:0 clamp(20px,6vw,86px) 30px; border-block:1px solid var(--catalog-rule); }
.editorial-review-section summary { padding:15px 0; cursor:pointer; font-weight:500; }
.editorial-review-section .review-trigger { margin-bottom:17px; }
.catalog-review-dialog { width:min(760px,100%); max-height:95dvh; padding:0; border:0; background:#fff; color:#111; }
.catalog-review-dialog::backdrop { background:#0005; }
.catalog-review-dialog > header { position:sticky; top:0; z-index:1; display:flex; justify-content:space-between; align-items:center; padding:12px 25px; background:#fff; border-bottom:1px solid #ddd; }
.catalog-review-dialog h2,.catalog-public-review h3 { margin:0; }
.catalog-review-dialog header button { width:44px;height:44px;border:0;background:transparent;font-size:26px }
.catalog-review-body { padding:24px; }
.catalog-review-rating { margin:0; font-weight:700; }
.catalog-review-distribution { padding:0; margin:0 0 20px; border:0; max-width:320px; }
.catalog-review-distribution legend { margin-bottom:6px; }
.catalog-review-distribution button { display:grid; grid-template-columns:48px 1fr 48px; align-items:center; gap:10px; width:100%; padding:5px 0; background:none; border:0; color:inherit; text-align:left; }
.catalog-review-distribution button[aria-pressed="true"] { font-weight:700; text-decoration:underline; }
.catalog-review-distribution button span:last-child { text-align:right; }
.catalog-review-distribution meter { width:100%; height:10px; }
.catalog-review-search { display:flex; gap:8px; }
.catalog-review-search input { width:100%; min-width:0; padding:9px; border:1px solid #777; }
.catalog-review-search button,.catalog-review-navigation button,.catalog-review-load { min-height:38px; border:1px solid #777; background:#fff; padding:5px 14px; }
.catalog-public-review { padding:18px 0; border-bottom:1px solid #ddd; }
.catalog-review-stars { margin:0 0 6px; }
.catalog-review-navigation { padding-top:24px; display:flex; align-items:center; justify-content:center; gap:14px; }
.catalog-review-media { display:block; width:110px; max-height:100px; object-fit:contain; }
.catalog-review-load { display:none; margin:20px auto; }
.product-media-text { clear:both; display:flex; justify-content:flex-end; align-items:center; gap:7vw; padding:35px clamp(20px,8.33vw,120px); background:#f4efe6; }
.product-media-text__media { position:relative; width:min(100%,479px); aspect-ratio:1; }
.product-media-text video,.josie-gallery-video { width:100%; height:100%; display:block; object-fit:cover; aspect-ratio:1; }
.product-media-toggle { position:absolute; right:10px; bottom:10px; min-height:32px; background:#fff; border:1px solid #222; padding:2px 11px; }

@media (max-width: 900px) {
    .editorial-product-page div.product > div.woocommerce-product-gallery,
    .editorial-product-page div.product > div.summary { float: none; width: 100%; }
    .editorial-product-page div.product > div.woocommerce-product-gallery {
        border: 0;
        margin-bottom: 55px;
        padding-top: 16.34px;
    }
    .editorial-gallery-meter { top: 17px; left: 24px; right: 24px; }
    .editorial-product-page div.product > div.summary { padding: 14px 20px 25px; }
    .editorial-product-page .woocommerce-product-gallery .flex-direction-nav { top: auto; bottom: 39px; }
    .editorial-product-page div.product .woocommerce-product-gallery__trigger { top: 43px; right: 17px; }
    .editorial-product-page div.product .product_title {
        font-size: 32px;
        margin-bottom: 18px;
    }
    .editorial-product-badges { margin-bottom: 25px; }
    .editorial-butter-scents {
        display: flex;
        overflow-x: auto;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
        padding-bottom: 14px;
    }
    .editorial-butter-scents li { flex: 0 0 82px; scroll-snap-align: start; }
}
@media (max-width: 760px) {
    .editorial-catalog > .page-title { padding: 38px 20px 35px; font-size: 45px; }
    .catalog-refill-mobile { display: block; height: 67vw; }
    .catalog-refill-mobile .catalog-refill-copy { padding-top: 42px; }
    .editorial-catalog ul.products,
    .editorial-catalog ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .editorial-catalog ul.products .catalog-refill-desktop { display: none; }
    .editorial-catalog ul.products li.product h2.woocommerce-loop-product__title { font-size: 13px; }
    .editorial-catalog ul.products li.product a.button { font-size: 14px; }
    .catalog-review-dialog { width:100%; height:100dvh; max-height:none; margin:0; }
    .catalog-review-navigation { display:none; }
    .catalog-review-load:not([hidden]) { display:block; }
    .product-media-text { flex-direction:column; padding-block:25px; }
}
