.s9-pdp .productView { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.s9-pdp .productView-image, .s9-pdp .s9-gallery { max-width: 600px; }
.s9-gallery { margin: 12px 0 0; }
.s9-gallery h2, .s9-product-facts h2, .s9-related-fallback h2,
.s9-product-facts h3, .s9-pack-overview-item h3 {
    color: var(--s9-green);
    font-family: Georgia, serif;
    font-weight: normal;
    text-transform: none;
}
.s9-gallery h2, .s9-product-facts h3 { font-size: 22px; margin: 0 0 7px; }
.s9-gallery-thumbs { display: grid; gap: 8px; }
.s9-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.s9-gallery-tile {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    width: 100%;
    padding: 4px;
    border: 1px solid var(--s9-line);
    border-radius: 6px;
    background: var(--s9-paper);
    color: var(--s9-green);
    text-align: center;
    font: 650 12px/1.2 system-ui, sans-serif;
}
.s9-gallery-tile > span { display: grid; place-content: center; min-height: 33px; padding: 3px; }
.s9-gallery-tile:hover, .s9-zoom-catalogue:hover { border-color: var(--s9-green); }
.s9-gallery-tile:focus-visible, .s9-zoom-catalogue:focus-visible, 
.s9-image-viewer button:focus-visible, .s9-line-stepper button:focus-visible, .s9-continue:focus-visible {
    outline: 2px solid var(--s9-green);
    outline-offset: 2px;
}
.s9-zoom-catalogue {
    min-height: 44px;
    margin: 0 0 9px;
    padding: 6px 12px;
    border: 1px solid var(--s9-line);
    border-radius: 5px;
    color: var(--s9-green);
    background: var(--s9-paper);
    font-weight: 650;
}
.s9-pack-shot, .s9-kernel-shot {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    background: #f4ebdc;
    container-type: inline-size;
}
.s9-pack-shot img, .s9-kernel-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.s9-pack-sizes a { display: inline-block; margin-top: 8px; text-decoration: underline; }
.s9-product-facts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(16px, 4vw, 52px);
    margin: 24px auto;
    padding: clamp(16px, 4vw, 44px);
    background: var(--s9-ivory);
    border: 1px solid var(--s9-line);
    border-radius: 9px;
    scroll-margin-top: 15px;
}
.s9-product-facts h2, .s9-related-fallback h2 { font-size: clamp(25px, 3.3vw, 41px); margin: 0 0 10px; line-height: 1.1; }
.s9-facts-grid { display: grid; margin: 0; }
.s9-facts-grid > div { display: grid; grid-template-columns: minmax(105px, .72fr) minmax(0, 1fr); gap: 8px; border-top: 1px solid var(--s9-line); padding: 9px 0; }
.s9-facts-grid dt, .s9-facts-grid dd { margin: 0; font-size: 14px; }
.s9-facts-grid dt { font-weight: 700; color: var(--s9-green); }
.s9-product-facts > div > p { margin-bottom: 9px; }
.s9-pack-overview { padding-top: clamp(30px, 5vw, 65px); padding-bottom: 8px; }
.s9-pack-overview > p:not(.s9-kicker) { max-width: 67ch; }
.s9-pack-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 20px); }
.s9-pack-overview-item { min-width: 0; padding: 10px; border: 1px solid var(--s9-line); border-radius: 8px; background: var(--s9-paper); }
.s9-pack-overview-item h3 { margin: 8px 0 1px; font-size: clamp(17px, 2vw, 22px); }
.s9-pack-overview-item p { margin: 0 0 7px; font-size: 13px; }
.s9-pack-overview-item a { display: inline-block; padding: 6px 0; text-decoration: underline; font-size: 13px; }
.s9-pack-overview-item > .s9-gallery-tile > span { min-height: 23px; }
.s9-related-fallback { margin: 25px auto 32px; }
.s9-related-fallback .s9-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.s9-image-viewer { width: min(94vw, 560px); max-width: 94vw; max-height: 93vh; padding: 0; border: 1px solid var(--s9-line); border-radius: 8px; color: var(--s9-green); background: var(--s9-paper); }
.s9-image-viewer:not([open]) { display: none; }
.s9-image-viewer::backdrop { background: rgb(20 39 30 / 72%); }
.s9-image-viewer header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--s9-ivory); }
.s9-image-viewer h2 { margin: 0; color: inherit; font: normal clamp(17px, 3.2vw, 24px)/1.2 Georgia, serif; text-transform: none; }
.s9-image-viewer form { margin: 0; }
.s9-image-viewer button { width: 44px; height: 44px; font-size: 25px; }
.s9-image-viewer [data-s9-image-stage] { display: grid; justify-items: center; padding: 10px; }
.s9-image-viewer [data-s9-image-stage] > div { width: min(100%, 48vh); }
.s9-image-viewer [data-s9-image-stage] > img { display: block; width: auto; max-width: 100%; max-height: 73vh; object-fit: contain; }
.s9-image-actions { display: flex; flex: 0 0 auto; }
.s9-image-viewer [data-s9-image-stage] { max-height: 76dvh; overflow: auto; align-items: start; }
.s9-image-viewer.s9-image-magnified [data-s9-image-stage] { justify-items: start; }
.s9-image-viewer.s9-image-magnified [data-s9-image-stage] > :is(div, img) {
    width: 850px;
    max-width: none;
    max-height: none;
}
body.s9-viewer-open { overflow: hidden; }
.s9-preview-image { align-self: start; text-align: center; }
.s9-cart-pack-image { display: grid; width: 72px; gap: 2px; justify-items: center; }
.s9-cart-pack-image img { width: 72px; height: 86px; object-fit: contain; border-radius: 4px; }
.s9-cart-pack-image small { color: var(--s9-green); font-size: 10px; line-height: 1.2; white-space: nowrap; }
.s9-line-price { margin-top: 3px; }
.s9-line-actions, .s9-line-stepper { display: flex; align-items: center; }
.s9-line-actions { gap: 8px 14px; flex-wrap: wrap; margin-top: 6px; }
.s9-line-stepper { border: 1px solid var(--s9-line); border-radius: 5px; background: #fff; }
.s9-line-stepper button { min-width: 44px; min-height: 44px; color: var(--s9-green); font-size: 21px; }
.s9-line-stepper button:disabled { opacity: .42; cursor: default; }
.s9-line-stepper output { min-width: 22px; color: var(--s9-green); text-align: center; font-weight: 650; }
.s9-preview-list [data-s9-cart-action="remove"] { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; }
.s9-preview-subtotal small { margin-left: 4px; font-weight: normal; }
.s9-drawer-footer { display: grid; gap: 8px; text-align: center; }
.s9-drawer-footer form { margin: 0; }
.s9-drawer-footer > a:not(.s9-cta) { min-height: 44px; display: grid; place-items: center; color: var(--s9-green); text-decoration: underline; }
.s9-drawer-footer .s9-preview-checkout { margin: 0; }
.s9-drawer-footer .s9-preview-subtotal { margin: 0; }
.s9-drawer-footer [data-s9-cart-summary]:empty { display: none; }
.s9-continue { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--s9-green); border-radius: 5px; color: var(--s9-green); font-weight: 700; }
@media (max-width: 900px) {
    .s9-related-fallback .s9-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .s9-pdp .s9-gallery { width: 100%; order: 1; margin-top: 0; }
    .s9-product-facts { grid-template-columns: 1fr; width: calc(100% - 30px); }
    .s9-pack-overview-grid, .s9-related-fallback .s9-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s9-pack-overview-item { padding: 7px; }
}
@media (max-width: 420px) {
    .s9-gallery-tile { font-size: 11px; }
}

.s9-hero figure { margin: 0; min-width: 0; align-self: center; }
.s9-hero figure img { height: auto; max-height: none; aspect-ratio: 2 / 1; object-fit: contain; }
.s9-hero figcaption { margin: 4px 10px 8px; color: var(--s9-green); font-size: 12px; text-align: right; }
.s9-pack-shot { background: #f6efe2; }
.s9-pack-shot img, .s9-tile .s9-pack-shot img { height: 100%; object-fit: contain; }
.s9-tile .s9-pack-shot { aspect-ratio: 1; border-radius: 7px 7px 0 0; }
.s9-tile-copy small { display: block; color: #654c28; margin: 0 0 5px; }
.s9-gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 180px)); }
.s9-gallery .s9-gallery-tile { margin: 0; }
.s9-gallery .s9-kernel-shot { display: grid; place-items: center; }
.s9-kernel-shot img { width: auto; height: auto; max-width: 100%; object-fit: contain; }
.s9-kernel-tile figcaption { padding: 5px; }
.s9-packaging-details > .s9-gallery-tile { max-width: 155px; }
