:root {
    --pl-brown: #5A3A14;
    --pl-ink: #2E241B;
    --pl-cream: #ECE3D0;
    --pl-paper: #F7F2E8;
    --pl-paper-2: #F1E9DA;
    --pl-tan: #7B5A35;
    --pl-ballet: #E5C5C0;
    --pl-mist: #BCC8CD;
    --pl-sand: #CBB89C;
    --pl-line: rgba(90,58,20,.22);
    --pl-serif: "EB Garamond", Georgia, serif;
    --pl-sans: "Instrument Sans", Arial, sans-serif;
    --pl-header-h: 64px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--pl-paper);
}

body.pl-product-page {
    margin: 0;
    color: #5a3a14;
    background: var(--pl-paper);
    font-family: var(--pl-serif);
    -webkit-font-smoothing: antialiased;
}

body.pl-product-page a {
    color: inherit;
}

body.pl-product-page button, body.pl-product-page input, body.pl-product-page select {
    font: inherit;
}

body.pl-product-page img, body.pl-product-page video {
    display: block;
    max-width: 100%;
}

.pl-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--pl-header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 48px;
    border-bottom: 1px solid var(--pl-line);
    background: rgba(247,242,232,.97);
    backdrop-filter: blur(10px);
}

.pl-header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.pl-header__nav a {
    text-decoration: none;
    font-size: 14px;
    text-transform: lowercase;
}

.pl-header__brand {
    justify-self: center;
    text-decoration: none;
    font: 600 26px/1 var(--pl-sans);
    letter-spacing: .08em;
}

.pl-header__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 18px;
}

.pl-market select {
    border: 0;
    outline: 0;
    color: inherit;
    background: transparent;
    font-size: 12px;
    cursor: pointer;
}

.pl-icon {
    position: relative;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

.pl-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.pl-bag span {
    position: absolute;
    right: -7px;
    top: -8px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    color: var(--pl-paper);
    background: var(--pl-brown);
    font-size: 9px;
}

.pl-pdp {
    width: 100%;
    overflow: clip;
}

.pl-product-stage {
    height: calc(100svh - var(--pl-header-h));
    min-height: 660px;
    max-height: 900px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 27vw);
    border-bottom: 1px solid var(--pl-line);
    background: var(--pl-paper);
}

.pl-gallery {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 104px;
    border-right: 1px solid var(--pl-line);
}

.pl-gallery__viewport {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: var(--pl-paper-2);
}

.pl-gallery__viewport > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pl-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(46,36,27,.18);
    border-radius: 50%;
    color: var(--pl-ink);
    background: rgba(247,242,232,.76);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    cursor: pointer;
    font: 300 27px/1 var(--pl-serif);
    opacity: 0;
    transition: opacity .2s ease;
}

.pl-gallery__viewport:hover .pl-gallery__arrow {
    opacity: 1;
}

.pl-gallery__arrow--prev {
    left: 20px;
}

.pl-gallery__arrow--next {
    right: 20px;
}

.pl-thumbs {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 24px;
    overflow-x: auto;
    background: var(--pl-paper);
    scrollbar-width: none;
}

.pl-thumbs::-webkit-scrollbar {
    display: none;
}

.pl-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border: 1px solid transparent;
    padding: 0;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.pl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-thumb.is-active {
    border-color: var(--pl-ink);
}

.pl-buy {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--pl-paper);
}

.pl-buy__inner {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    padding: 34px 42px 30px;
}

.pl-buy__inner::-webkit-scrollbar {
    display: none;
}

.pl-kicker {
    margin: 0 0 14px;
    font: 600 10px/1.2 var(--pl-sans);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pl-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.pl-title-row h1 {
    margin: 0;
    font: 400 clamp(38px, 3vw, 54px)/.95 var(--pl-serif);
    letter-spacing: -.035em;
}

.pl-price {
    flex: 0 0 auto;
    font-size: 14px;
}

.pl-lead {
    max-width: 520px;
    margin: 18px 0 0;
    font: 400 16px/1.45 var(--pl-serif);
}

.pl-benefits {
    display: grid;
    gap: 7px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.pl-benefits li {
    position: relative;
    padding-left: 15px;
    font-size: 12px;
    line-height: 1.45;
}

.pl-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pl-brown);
}

.pl-availability-row {
    margin-top: 16px;
}

.pdp-availability {
    font-size: 10px;
    text-transform: lowercase;
    opacity: .65;
}

.pl-options {
    display: grid;
    gap: 17px;
    margin-top: 22px;
}

.pl-options fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.pl-options legend {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    font: 600 10px/1 var(--pl-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pl-options legend strong {
    font-weight: 400;
    text-transform: none;
    opacity: .55;
}

.pdp-option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pdp-option-values button {
    min-width: 62px;
    height: 40px;
    border: 1px solid var(--pl-line);
    border-radius: 999px;
    padding: 0 15px;
    color: inherit;
    background: transparent;
    font: 500 10px/1 var(--pl-sans);
    cursor: pointer;
}

.pdp-option-values button.is-selected {
    color: var(--pl-paper);
    background: var(--pl-brown);
    border-color: var(--pl-brown);
}

.pl-buy-row {
    display: grid;
    grid-template-columns: 106px minmax(0,1fr);
    gap: 8px;
    margin-top: 22px;
}

.pl-buy-row--single {
    grid-template-columns: 1fr;
}

.quantity {
    height: 46px;
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    border: 1px solid var(--pl-line);
    border-radius: 999px;
}

.quantity button, .quantity input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: inherit;
    background: transparent;
    text-align: center;
}

.quantity input {
    width: 100%;
    appearance: textfield;
}

.quantity button {
    cursor: pointer;
}

.add-to-cart {
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: var(--pl-paper);
    background: var(--pl-brown);
    font: 600 11px/1 var(--pl-sans);
    cursor: pointer;
}

.add-to-cart:disabled {
    opacity: .42;
    cursor: default;
}

.pl-commerce-note {
    margin: 8px 0 0;
    font-size: 9px;
    opacity: .55;
}

.pl-pair {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--pl-line);
}

.pl-pair > p {
    margin: 0 0 10px;
    font: 400 22px/1 var(--pl-serif);
}

.pl-pair__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.pl-pair__list a {
    min-width: 0;
    display: grid;
    grid-template-columns: 56px minmax(0,1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--pl-line);
    border-radius: 8px;
    padding: 7px;
    text-decoration: none;
}

.pl-pair__list img {
    width: 56px;
    height: 56px;
    border-radius: 5px;
    object-fit: cover;
}

.pl-pair__list strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 400 13px/1.2 var(--pl-serif);
}

.pl-pair__list small {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    opacity: .55;
}

.pl-purchase-accordions {
    margin-top: 20px;
    border-top: 1px solid var(--pl-line);
}

.pl-purchase-accordions details {
    border-bottom: 1px solid var(--pl-line);
}

.pl-purchase-accordions summary {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
    font: 500 11px/1 var(--pl-sans);
    text-transform: lowercase;
}

.pl-purchase-accordions summary::-webkit-details-marker {
    display: none;
}

.pl-purchase-accordions details[open] summary span {
    transform: rotate(45deg);
}

.pl-accordion-body {
    max-height: 180px;
    overflow: auto;
    padding: 0 0 18px;
    font-size: 11px;
    line-height: 1.55;
}

.pl-accordion-body > :first-child {
    margin-top: 0;
}

.pl-accordion-body > :last-child {
    margin-bottom: 0;
}

.pl-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--pl-line);
    background: var(--pl-paper);
}

.pl-split__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 48px;
}

.pl-split__copy h2 {
    margin: 0 0 42px;
    font: 400 clamp(42px, 4vw, 64px)/.98 var(--pl-serif);
    letter-spacing: -.035em;
}

.pl-split__copy h2 em {
    font-weight: 400;
}

.pl-split__media {
    min-width: 0;
    min-height: 540px;
    margin: 0;
    overflow: hidden;
    background: var(--pl-paper-2);
}

.pl-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-rule-list > div {
    padding: 14px 0;
    border-top: 1px solid var(--pl-line);
}

.pl-rule-list > div:last-child {
    border-bottom: 1px solid var(--pl-line);
}

.pl-rule-list strong {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    text-transform: uppercase;
}

.pl-rule-list p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.pl-media-strip {
    padding: 46px 28px;
    overflow: hidden;
    background: var(--pl-paper);
}

.pl-media-strip__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(265px, 22vw, 390px);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.pl-media-strip__track::-webkit-scrollbar {
    display: none;
}

.pl-media-card {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--pl-paper-2);
    scroll-snap-align: start;
}

.pl-media-card img, .pl-media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-social-reel__play, .pdp-social-reel__sound {
    position: absolute;
    bottom: 17px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    background: rgba(30,25,20,.5);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.pdp-social-reel__play {
    left: 17px;
    width: 40px;
    border-radius: 50%;
}

.pdp-social-reel__sound {
    right: 17px;
    min-width: 58px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 9px;
}

.pl-numbers .pl-split__copy h2 {
    margin-bottom: 56px;
}

.pl-number-list > div {
    display: grid;
    grid-template-columns: 105px minmax(0,1fr);
    gap: 25px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--pl-line);
}

.pl-number-list strong {
    font: 400 22px/1 var(--pl-serif);
}

.pl-number-list span {
    font-size: 13px;
    line-height: 1.45;
}

.pl-marquee {
    overflow: hidden;
    border-block:1px solid var(--pl-line);background: var(--pl-cream);
}

.pl-marquee > div {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 46px;
    padding: 15px 0;
    animation: pl-marquee 34s linear infinite;
}

.pl-marquee span {
    font-size: 20px;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pl-marquee span::after {
    content: "·";
    margin-left: 46px;
}

@keyframes pl-marquee {
    to {
        transform: translateX(-50%);
    }
}

.pl-dark-story {
    min-height: 430px;
    display: grid;
    place-items: center;
    padding: 58px 24px;
    color: var(--pl-cream);
    background: #5a3a14;
    text-align: center;
}

.pl-dark-story__inner {
    max-width: 900px;
}

.pl-dark-story__inner > span {
    display: block;
    margin-bottom: 28px;
    font-size: 10px;
    letter-spacing: .18em;
}

.pl-dark-story h2 {
    margin: 0;
    font: 400 clamp(39px, 4.5vw, 66px)/1.03 var(--pl-serif);
    letter-spacing: -.02em;
}

.pl-dark-story p {
    max-width: 720px;
    margin: 24px auto 20px;
    font: 400 17px/1.5 var(--pl-serif);
}

.pl-dark-story small {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pl-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    color: #5a3a14;
    background: var(--feature-surface, var(--pl-sand));
}

.pl-feature__media {
    min-width: 0;
    min-height: 600px;
    margin: 0;
    overflow: hidden;
}

.pl-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-feature__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 72px;
}

.pl-feature__copy h2 {
    max-width: 600px;
    margin: 0;
    font: 400 clamp(42px,4vw,64px)/1 var(--pl-serif);
    letter-spacing: -.035em;
}

.pl-feature__copy > p:not(.pl-kicker) {
    max-width: 580px;
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 1.65;
}

.pl-feature__rows {
    margin-top: 30px;
}

.pl-feature__rows div {
    display: grid;
    grid-template-columns: 105px minmax(0,1fr);
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(46,36,27,.22);
}

.pl-feature__rows div:last-child {
    border-bottom: 1px solid rgba(46,36,27,.22);
}

.pl-feature__rows strong {
    font: 600 10px/1.4 var(--pl-sans);
    letter-spacing: .08em;
}

.pl-feature__rows span {
    font-size: 13px;
    line-height: 1.4;
}

.pl-info, .pl-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 70px max(32px, calc((100vw - 1240px)/2));
    border-top: 1px solid var(--pl-line);
    background: var(--pl-paper);
}

.pl-info > h2, .pl-faq > h2 {
    margin: 0;
    font: 400 clamp(38px,3.5vw,58px)/1 var(--pl-serif);
}

.pl-info__accordions details {
    border-top: 1px solid var(--pl-line);
}

.pl-info__accordions details:last-child {
    border-bottom: 1px solid var(--pl-line);
}

.pl-info__accordions summary {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
    font-size: 12px;
}

.pl-info__accordions summary::-webkit-details-marker {
    display: none;
}

.pl-info__accordions details[open] summary span {
    transform: rotate(45deg);
}

.pl-info__body {
    max-height: 280px;
    overflow: auto;
    padding: 0 0 22px;
    font-size: 11px;
    line-height: 1.6;
}

.pl-info__body ul {
    margin: 0;
    padding-left: 18px;
}

.pdp-faq__item {
    border-top: 1px solid var(--pl-line);
}

.pdp-faq__item:last-child {
    border-bottom: 1px solid var(--pl-line);
}

.pdp-faq__item > button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    text-align: left;
    font: 500 12px/1.35 var(--pl-sans);
    cursor: pointer;
}

.pdp-faq__item > button i {
    font-style: normal;
    font-size: 17px;
}

.pdp-faq__item > div {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease;
}

.pdp-faq__item > div > p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}

.pdp-faq__item.is-open > div {
    grid-template-rows: 1fr;
}

.pdp-faq__item.is-open > div > p {
    padding-bottom: 20px;
}

.pl-related {
    padding: 70px 28px 86px;
    border-top: 1px solid var(--pl-line);
    background: var(--pl-paper);
}

.pl-related > header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}

.pl-related > header h2 {
    margin: 0;
    font: 400 clamp(38px,3vw,54px)/1 var(--pl-serif);
}

.pl-related > header a {
    font-size: 11px;
}

.pl-related__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}

.pdp-related-card {
    min-width: 0;
    text-decoration: none;
}

.pdp-related-card__media {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 18px;
    background: var(--pl-paper-2);
}

.pdp-related-card__media img, .pdp-related-card__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-related-card__media video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .25s ease;
}

.pdp-related-card:hover video {
    opacity: 1;
}

.pdp-related-card > span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 2px 0;
}

.pdp-related-card strong {
    font: 400 16px/1.2 var(--pl-serif);
}

.pdp-related-card i {
    font-style: normal;
    font-size: 10px;
    opacity: .65;
}

.pdp-sticky-buy {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 900;
    width: min(760px, calc(100vw - 36px));
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(90,58,20,.18);
    border-radius: 999px;
    padding: 7px 8px 7px 10px;
    background: rgba(247,242,232,.9);
    box-shadow: 0 16px 45px rgba(46,36,27,.12);
    backdrop-filter: blur(18px);
    transform: translate(-50%, calc(100% + 50px));
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
}

.pdp-sticky-buy.is-visible {
    transform: translate(-50%,0);
    opacity: 1;
    pointer-events: auto;
}

.pdp-sticky-buy__product {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.pdp-sticky-buy__product img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.pdp-sticky-buy__product strong {
    display: block;
    font: 400 15px/1.1 var(--pl-serif);
}

.pdp-sticky-buy__product span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    opacity: .55;
}

.pdp-sticky-buy > button {
    min-width: 220px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--pl-paper);
    background: var(--pl-brown);
    font: 600 10px/1 var(--pl-sans);
    cursor: pointer;
}

.pdp-sticky-buy > button:disabled {
    opacity: .45;
}

.pl-footer {
    min-height: 250px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-content: center;
    gap: 14px 50px;
    padding: 50px 6vw;
    color: var(--pl-cream);
    background: var(--pl-brown);
}

.pl-footer__brand {
    text-decoration: none;
    font: 400 35px/1 var(--pl-serif);
}

.pl-footer p {
    margin: 8px 0 0;
    font: italic 18px/1.3 var(--pl-serif);
}

.pl-footer nav {
    justify-self: end;
    display: flex;
    gap: 25px;
}

.pl-footer nav a {
    text-decoration: none;
    font-size: 11px;
}

.pl-footer small {
    grid-column: 1/-1;
    margin-top: 25px;
    font-size: 9px;
    opacity: .7;
}

@media (max-width: 980px) {
    :root {
        --pl-header-h:58px;
    }

    .pl-header {
        padding: 0 20px;
        grid-template-columns: 1fr auto 1fr;
    }

    .pl-header__nav {
        gap: 16px;
    }

    .pl-header__nav a:nth-child(n+2) {
        display: none;
    }

    .pl-header__brand {
        font-size: 21px;
    }

    .pl-market {
        display: none;
    }

    .pl-product-stage {
        height: auto;
        min-height: 0;
        max-height: none;
        display: block;
    }

    .pl-gallery {
        height: min(78svh, 720px);
        grid-template-rows: minmax(0,1fr) 90px;
        border-right: 0;
        border-bottom: 1px solid var(--pl-line);
    }

    .pl-thumb {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .pl-buy {
        overflow: visible;
    }

    .pl-buy__inner {
        height: auto;
        overflow: visible;
        padding: 30px 22px 36px;
    }

    .pl-pair__list {
        grid-template-columns: 1fr;
    }

    .pl-split, .pl-feature {
        grid-template-columns: 1fr;
    }

    .pl-split__media, .pl-feature__media {
        min-height: 58svh;
    }

    .pl-split__copy {
        padding: 46px 24px;
    }

    .pl-split__copy h2 {
        margin-bottom: 32px;
    }

    .pl-good .pl-split__copy {
        order: 1;
    }

    .pl-good .pl-split__media {
        order: 2;
    }

    .pl-feature__copy {
        padding: 48px 24px;
    }

    .pl-info, .pl-faq {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 52px 24px;
    }

    .pl-related {
        padding: 52px 18px 76px;
    }

    .pl-related__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .pl-footer {
        grid-template-columns: 1fr;
    }

    .pl-footer nav {
        justify-self: start;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .pl-header {
        padding:0 14px;
    }

    .pl-header__nav a {
        font-size: 12px;
    }

    .pl-header__actions {
        gap: 10px;
    }

    .pl-gallery {
        height: 68svh;
        grid-template-rows: minmax(0,1fr) 82px;
    }

    .pl-gallery__arrow {
        display: none;
    }

    .pl-thumbs {
        justify-content: flex-start;
        padding-inline:12px;}

    .pl-thumb {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

    .pl-title-row {
        align-items: flex-start;
    }

    .pl-title-row h1 {
        font-size: 40px;
    }

    .pl-buy-row {
        grid-template-columns: 98px 1fr;
    }

    .pl-media-strip {
        padding: 28px 14px;
    }

    .pl-media-strip__track {
        grid-auto-columns: 76vw;
        gap: 12px;
    }

    .pl-media-card {
        height: 54svh;
        max-height: 520px;
        border-radius: 14px;
    }

    .pl-split__media, .pl-feature__media {
        min-height: 50svh;
    }

    .pl-dark-story {
        min-height: 390px;
        padding-inline:20px;}

    .pl-feature__rows div {
        grid-template-columns: 85px minmax(0,1fr);
    }

    .pl-related__grid {
        grid-template-columns: 1fr 1fr;
    }

    .pdp-sticky-buy {
        bottom: 10px;
        min-height: 58px;
    }

    .pdp-sticky-buy > button {
        min-width: 150px;
        height: 44px;
    }

    .pl-footer {
        padding: 44px 24px 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto!important;
        animation-duration: .01ms!important;
        animation-iteration-count: 1!important;
        transition-duration: .01ms!important;
    }
}

@media (max-width: 760px) {
    .pdp-social-reels {
        overflow:hidden;
    }

    .pdp-social-reels__grid {
        display: flex!important;
        grid-template-columns: none!important;
        gap: 12px!important;
        width: auto;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
    }

    .pdp-social-reels__grid::-webkit-scrollbar {
        display: none;
    }

    .pdp-social-reel {
        flex: 0 0 min(78vw, 310px);
        width: min(78vw, 310px);
        min-width: min(78vw, 310px);
        scroll-snap-align: start;
        scroll-snap-stop:always;}
}

.pl-gallery__viewport.is-trench-gallery {
    background: var(--pl-paper-2);
}

.pl-gallery__viewport.is-trench-gallery > img {
    object-fit: contain;
    object-position: center center;
    padding: clamp(18px, 3vw, 34px);
    transition: transform .25s ease;
}

.pl-gallery__viewport.is-trench-gallery > img.is-trench-dog-hero {
    transform: scale(1.22);
}

.pl-thumb.pl-thumb--trench {
    background: var(--pl-paper-2);
}

.pl-thumb.pl-thumb--trench img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--pl-paper-2);
}

@media (max-width: 980px) {
    .pl-gallery__viewport.is-trench-gallery > img {
        padding:14px;
    }

    .pl-gallery__viewport.is-trench-gallery > img.is-trench-dog-hero {
        transform: scale(1.12);
    }
}

.pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport {
    background: #ECE3D0!important;
    padding: 0!important;
}

.pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img {
    display: block;
    width: 100%;
    height: 100%;
    padding: clamp(4px, 1vw, 12px);
    object-fit: contain!important;
    object-position: center center!important;
    background: #ECE3D0!important;
    transform-origin: center center;
    transition: transform .28s ease;
}

.pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="front"], .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="back"] {
    transform: scale(1.20);
}

.pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="studio"] {
    transform: scale(1.12);
}

.pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="sofa"] {
    transform: scale(1.25);
}

.pl-gallery[data-trench-gallery="true"] .pl-thumbs {
    justify-content: center;
    background: #F7F2E8;
    gap: 12px;
}

.pl-gallery[data-trench-gallery="true"] .pl-thumb {
    background: #ECE3D0;
    border-radius: 2px;
    transition: border-color .2s ease, opacity .2s ease;
}

.pl-gallery[data-trench-gallery="true"] .pl-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain!important;
    background: #ECE3D0;
}

.pl-gallery[data-trench-gallery="true"] .pl-thumb:focus-visible {
    outline: 2px solid #5A3A14;
    outline-offset: 3px;
}

body.pl-product-page .pl-trench-good-photo:has(img[src*="trench-gallery/good-to-know.png"]) {
    background: #ECE3D0;
}

body.pl-product-page .pl-trench-good-photo img[src*="trench-gallery/good-to-know.png"] {
    width: 100%;
    height: 100%;
    object-fit: cover!important;
    object-position: center 38%;
}

@media (max-width: 980px) {
    .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="front"], .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="back"] {
        transform:scale(1.12);
    }

    .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="studio"] {
        transform: scale(1.06);
    }

    .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="sofa"] {
        transform: scale(1.14);
    }
}

@media (max-width: 640px) {
    .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img {
        padding:5px;
    }

    .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="front"], .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="back"] {
        transform: scale(1.07);
    }

    .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="studio"] {
        transform: scale(1.04);
    }

    .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img[data-trench-view="sofa"] {
        transform: scale(1.09);
    }

    .pl-gallery[data-trench-gallery="true"] .pl-thumbs {
        justify-content: flex-start;
        gap: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pl-gallery[data-trench-gallery="true"] .pl-gallery__viewport > img {
        transition: none;
    }
}

.pl-numbers .pl-trench-sizes-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ECE3D0;
}

.pl-numbers .pl-trench-sizes-media img.pl-trench-sizes-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain!important;
    object-position: center;
}
