/* Product editorial, native panels and related items share the collection grid. */
.pem-product .pem-product__details {padding-block:clamp(30px,4vw,72px);color:var(--claret)}
.pem-product .pem-product__details .woocommerce-tabs {
    padding:0;border:0;border-radius:0;margin:0 0 clamp(38px,6vw,94px);background:transparent;box-shadow:none;
}
.pem-product .pem-product__details ul.wc-tabs {
    display:flex;flex-wrap:wrap;align-items:stretch;gap:0 clamp(18px,3vw,48px);
    padding:0!important;margin:0 0 clamp(18px,3vw,42px);list-style:none;border-block:1px solid var(--jm-color-rule);
}
.pem-product .pem-product__details .wc-tabs::before,
.pem-product .pem-product__details .wc-tabs li::before,
.pem-product .pem-product__details .wc-tabs li::after {display:none!important}
.pem-product .pem-product__details .wc-tabs li {
    margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0;box-shadow:none;
}
.pem-product .pem-product__details .wc-tabs li a {
    display:flex;align-items:center;min-height:48px;padding:8px 0;color:var(--jl-slate-blue);
    font:600 clamp(19px,1.8vw,28px)/1.18 var(--serif);border:0;border-radius:0;background:transparent;text-decoration:none;
}
.pem-product .pem-product__details .wc-tabs li.active a {
    color:var(--wine);box-shadow:inset 0 -2px var(--wine);
}
.pem-product .pem-product__details .wc-tabs li a:focus-visible {outline:2px solid var(--jm-color-brass);outline-offset:3px}
.pem-product .pem-product__details .woocommerce-Tabs-panel {max-inline-size:none;padding:0!important;background:transparent;border:0;box-shadow:none}
.jm-story {border-bottom:1px solid var(--jm-color-rule);padding-bottom:clamp(20px,3vw,46px)}
.jm-story--with-cards {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:clamp(24px,6vw,94px)}
.jm-story__copy {min-width:0;max-width:72ch}
.pem-product .pem-product__details .jm-story h2 {
    margin:0 0 12px;font:500 clamp(34px,4.1vw,68px)/.99 var(--serif);letter-spacing:-.035em;color:var(--wine)
}
.jm-story .jm-story__intro {font:500 clamp(21px,2.1vw,32px)/1.2 var(--serif);margin:16px 0;color:var(--claret)}
.jm-story__tags {display:flex;flex-wrap:wrap;gap:.5em 1.2em;padding:0;margin:0;list-style:none}
.jm-story__tags li {color:var(--jl-slate-blue);font:600 .84rem/1.45 var(--sans);border-bottom:1px solid var(--jm-color-rule)}
.jm-story__body,.jm-story__cards p {font:400 1rem/1.65 var(--sans);margin:0;color:var(--claret)}
.jm-story__cards {display:grid;align-content:start;gap:16px}
.jm-story__cards section {
    padding:clamp(18px,2vw,32px);background:var(--wine);border-left:2px solid var(--jm-color-brass);border-radius:2px;
}
.jm-story__cards section:nth-child(even) {background:var(--porcelain);border-block:1px solid var(--jm-color-rule)}
.jm-story__cards h3 {font:600 clamp(24px,2.2vw,36px)/1.08 var(--serif);color:var(--champagne);margin:0 0 10px}
.jm-story__cards section:first-child p {color:var(--porcelain)}
.jm-story__cards section:nth-child(even) h3 {color:var(--wine)}
.pem-product .pem-product__details #tab-additional_information > h2 {
    margin:0 0 .5em;color:var(--wine);font:500 clamp(32px,3.5vw,54px)/1.05 var(--serif);letter-spacing:-.025em;
}
.pem-product .pem-product__details .woocommerce-product-attributes {
    width:100%;max-width:68rem;margin:0;border:0;border-block:1px solid var(--jm-color-brass);
    table-layout:fixed;border-collapse:collapse;color:var(--claret);
}
.pem-product .pem-product__details .woocommerce-product-attributes :is(th,td) {
    vertical-align:top;text-align:start;padding:clamp(12px,1.7vw,24px) clamp(10px,2.1vw,32px);
    border:0;border-bottom:1px solid var(--jm-color-rule);overflow-wrap:anywhere;
}
.pem-product .pem-product__details .woocommerce-product-attributes th {
    width:32%;color:var(--champagne);background:var(--wine);font:600 clamp(19px,1.7vw,28px)/1.18 var(--serif);
}
.pem-product .pem-product__details .woocommerce-product-attributes td {
    color:var(--claret);background:var(--jm-color-surface);font:500 1rem/1.55 var(--sans);
}
.pem-product .pem-product__details .woocommerce-product-attributes td p {margin:0;padding:0;font:inherit;color:inherit}
.pem-product .pem-product__details .woocommerce-product-attributes td a {
    color:var(--wine);text-decoration:underline;text-underline-offset:.18em;
}
.pem-product .pem-product__details .woocommerce-product-attributes td a:focus-visible {
    outline:2px solid var(--jm-color-focus);outline-offset:2px
}
.pem-product .pem-product__details .related > h2,.pem-product .pem-product__details .upsells > h2 {
    margin:0 0 .5em;color:var(--wine);font:500 clamp(34px,4vw,64px)/1.05 var(--serif)
}
.pem-product .pem-product__details :is(.related,.upsells) ul.products {
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,32px);margin:0;padding:0
}
.pem-product .pem-product__details :is(.related,.upsells) ul.products::before,
.pem-product .pem-product__details :is(.related,.upsells) ul.products::after {display:none}
.pem-product .pem-product__details :is(.related,.upsells) .pem-product-card {
    width:100%!important;margin:0!important;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none
}
.pem-product .pem-product__details :is(.related,.upsells) .pem-product-card__image {height:auto;aspect-ratio:1/1.05;overflow:hidden}
.pem-product .pem-product__details :is(.related,.upsells) .pem-product-card__image img {width:100%;height:100%;object-fit:contain}
.pem-product .pem-product__details :is(.related,.upsells) .pem-product-card__body {padding:12px 0;color:var(--claret)}
.pem-product .pem-product__details :is(.related,.upsells) .pem-product-card__body h2 {
    font:600 clamp(22px,2.2vw,36px)/1.06 var(--serif)!important;color:var(--wine)
}
@media(max-width:760px) {
    .jm-story--with-cards {grid-template-columns:minmax(0,1fr)}
    .pem-product .pem-product__details :is(.related,.upsells) ul.products {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px) {
    .pem-product .pem-product__details .wc-tabs li a {font-size:18px}
    .pem-product .pem-product__details .woocommerce-product-attributes th {width:38%}
}

