/* The card studio uses the site's type and its existing primary action colour. */
.swpc-card-product .pdp-columns {
    display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);
    column-gap:clamp(26px,3.4vw,56px);row-gap:0;align-items:start;
}
.swpc-card-product .pdp-columns>.pdp-heading {grid-area:1/2;margin:0;min-height:0}
.swpc-card-product .pdp-heading h1 {font-size:clamp(28px,2.45vw,40px);line-height:1.09;letter-spacing:-.04em}
.swpc-card-product .pdp-heading-meta {margin:10px 0 0}
.swpc-card-product .swpc-card-gallery {grid-area:1/1/3/2;min-width:0}
.swpc-card-gallery .pdp-photo {border-radius:10px}
.swpc-card-gallery .pdp-photo>img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.swpc-card-product .pdp-columns>.pdp-configuration {grid-area:2/2;position:static;min-width:0}
.swpc-card-product .pdp-columns>.pdp-editorial {
    grid-area:3/1/4/-1;display:block;width:100%;min-width:0;
    max-width:940px;margin:42px auto 0;border-top:1px solid #d9dfdb;padding-top:12px;
}
.swpc-card-product .pdp-config-heading {
    margin:15px 0 0;padding:5px 0 17px;border-bottom:1px solid #d9dfdb;align-items:center
}
.swpc-card-config .pdp-config-heading h2 {
    width:1px;height:1px;position:absolute;clip-path:inset(50%);overflow:hidden;white-space:nowrap;
}
.swpc-card-config .pdp-share-status:empty {display:none}
.swpc-card-topprice {display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.swpc-card-topprice strong {font-size:clamp(22px,2vw,29px);line-height:1.05;letter-spacing:-.045em}
.swpc-card-topprice small,.swpc-card-view-label {font-size:13px;line-height:1.45;color:#48534e}
.swpc-card-gallerybar {display:flex;gap:8px;align-items:center;margin-top:12px}
.swpc-card-gallerybar .swpc-card-view {flex:0 0 auto;width:56px;height:56px;border:1px solid #c9d0ca;background:white;padding:3px;border-radius:7px;cursor:pointer}
.swpc-card-gallerybar .swpc-card-view[aria-pressed=true] {border-color:#17654d;box-shadow:inset 0 0 0 1px #17654d}
.swpc-card-gallerybar img {display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}
.swpc-card-view-label {margin-left:5px;font-weight:650}
.swpc-card-gallery .pdp-caption {color:#53605a;line-height:1.4;font-size:11px;margin:7px 0 0}
.swpc-card-config {container-type:inline-size}
.swpc-card-options [hidden] {display:none!important}
.swpc-card-options fieldset {border:0;padding:0;margin:17px 0 0;min-width:0}
.swpc-card-options legend {margin:0 0 8px;padding:0;font-size:16px;color:#15281e;font-weight:750;line-height:1.35}
.swpc-card-choices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.swpc-card-choice {
    position:relative;min-width:0;cursor:pointer;display:flex;flex-direction:column;
    align-items:stretch;color:#202c25;background:#fff;border:1px solid #cbd3ce;border-radius:8px;
    padding:4px 4px 7px;text-transform:none;letter-spacing:normal;line-height:1.3;
}
.swpc-card-choice:hover {border-color:#708c7c}
.swpc-card-choice:has(:checked) {border-color:#18674d;box-shadow:inset 0 0 0 1px #18674d;background:#f0f7f2}
.swpc-card-choice:has(:checked)::after {
    content:'';position:absolute;top:7px;right:7px;width:16px;height:16px;
    border:2px solid #fff;border-radius:50%;background:#18674d;box-sizing:content-box;pointer-events:none;
}
.swpc-card-choice:has(:checked)::before {
    content:'';position:absolute;top:13px;right:13px;width:6px;height:3px;
    border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg);z-index:1;pointer-events:none;
}
.swpc-card-choice input {width:1px;height:1px;position:absolute;clip-path:inset(50%);overflow:hidden}
.swpc-card-choice:has(:focus-visible),.swpc-card-view:focus-visible,.swpc-card-price-guide :focus-visible {
    outline:3px solid #235f83;outline-offset:3px;
}
.swpc-card-swatch {display:block;overflow:hidden;background:#e8dfd2;border-radius:4px;height:clamp(52px,11cqw,74px)}
.swpc-card-swatch img {width:100%;height:100%;display:block;object-fit:cover;object-position:center 50%}
.swpc-card-choice-label,.swpc-card-choice small {padding:0 4px;overflow-wrap:break-word}
.swpc-card-choice-label {font-size:13px;line-height:1.24;font-weight:700;margin-top:6px}
.swpc-card-choice small {font-size:11px;color:#4c5850;line-height:1.3;margin:3px 0 0;font-weight:500}
.swpc-card-group[data-card-group=format] .swpc-card-swatch {
    height:clamp(48px,9cqw,59px);display:grid;place-items:center;background:#f1f3ee;
}
.swpc-card-outline {
    display:block;width:48px;height:31px;box-sizing:border-box;background:#e1ede2;
    border:1.5px solid #34705b;border-radius:1px;box-shadow:2px 2px 0 #c4d4c6;
}
.swpc-card-outline[data-shape=square] {width:33px;height:33px}
.swpc-card-outline[data-shape=folded] {position:relative;width:24px;height:31px;transform:translateX(-12px) skewY(9deg)}
.swpc-card-outline[data-shape=folded]::after {
    content:'';position:absolute;top:-1.5px;left:100%;width:24px;height:31px;box-sizing:border-box;
    background:#f9fbf6;border:1.5px solid #34705b;transform-origin:left top;transform:skewY(-18deg);
}
.swpc-card-group[data-card-group=finish] .swpc-card-choices {grid-template-columns:repeat(auto-fit,minmax(min(92px,100%),1fr))}
.swpc-card-group[data-card-group=finish] img {transform:scale(1.4);object-position:center 52%}
.swpc-card-finish-note {margin:8px 0 0;line-height:1.45;font-size:13px;color:#4b584f}
.swpc-card-config .swpc-priced .pdp-config-card {border:0;box-shadow:none;padding:17px 0 0;border-radius:0;background:transparent}
.swpc-card-config .swpc-priced .pdp-config-card>.pdp-field:first-of-type:has([data-swpc-recipe-label][hidden]) {margin:0}
.swpc-card-config .swpc-priced .swpc-quantity-field {margin:0}
.swpc-card-config .swpc-quantity-field label {font-size:16px;font-weight:750}
.swpc-card-config .swpc-card-price-guide {margin:4px 0 12px}
.swpc-card-quantity-note {font-size:13px;line-height:1.45;color:#334d40;margin:6px 0}
.swpc-card-quantity-note:empty {display:none}
.swpc-card-config .swpc-card-price-guide summary {display:list-item;width:fit-content;color:#17634b;text-decoration:underline;text-underline-offset:3px}
.swpc-card-price-guide table {border-collapse:collapse;width:100%;margin:6px 0 14px;font-variant-numeric:tabular-nums}
.swpc-card-price-guide th,.swpc-card-price-guide td {font-size:13px;text-align:right;padding:5px 9px;border-bottom:1px solid #dce3dd}
.swpc-card-price-guide th:first-child,.swpc-card-price-guide td:first-child {text-align:left}
.swpc-card-price-guide tr:has([aria-pressed=true]) {background:#eef6f1}
.swpc-card-price-guide button {color:#195c45;background:none;border:0;text-decoration:underline;padding:6px;min-width:54px;min-height:36px;text-align:left;cursor:pointer;font:inherit;font-weight:700}
.swpc-card-config .swpc-priced .pdp-order-summary {border:0;padding:0;margin-top:12px}
.swpc-card-config .swpc-priced .pdp-order-summary>button {text-align:center}
.swpc-card-config .swpc-priced .swpc-price-panel {padding:12px 16px}
.swpc-card-config .swpc-priced .swpc-price-panel p {margin:5px 0}
.swpc-card-config .swpc-priced .swpc-recipe-details,.swpc-card-config .swpc-priced .swpc-special-note {margin:12px 0}
@container (max-width:410px) {
    .swpc-card-group[data-card-group=finish] .swpc-card-choices {grid-template-columns:repeat(3,minmax(0,1fr))}
    .swpc-card-choices {gap:6px}
    .swpc-card-choice-label {font-size:12px}
}
@media (min-width:761px) and (min-height:770px) {
    .swpc-card-product .swpc-card-gallery {position:sticky;top:16px}
}
@media (max-width:760px) {
    .swpc-card-product .pdp-columns {grid-template-columns:minmax(0,1fr);row-gap:15px}
    .swpc-card-product .pdp-columns>.pdp-heading {grid-area:1/1}
    .swpc-card-product .swpc-card-gallery {grid-area:2/1}
    .swpc-card-product .pdp-columns>.pdp-configuration {grid-area:3/1}
    .swpc-card-product .pdp-columns>.pdp-editorial {grid-area:4/1;margin:14px 0 0}
    .swpc-card-product .swpc-card-gallery .pdp-photo img {aspect-ratio:1.6;width:100%;max-height:330px;object-fit:cover;object-position:center}
    .swpc-card-product .pdp-config-heading {margin-top:0;padding-top:0}
    .swpc-card-gallerybar {margin-top:7px}
    .swpc-card-gallerybar .swpc-card-view {width:44px;height:44px}
    .swpc-card-view-label,.swpc-card-topprice small {font-size:12px}
    .swpc-card-topprice {gap:4px 7px}
    .swpc-card-product .pdp-heading-meta {margin-top:8px}
}
@media (forced-colors:active) {
    .swpc-card-choice:has(:checked),.swpc-card-view[aria-pressed=true] {outline:2px solid Highlight;outline-offset:-2px}
}
.swpc-card-group[data-card-group=finish] img {transform:none}
.swpc-card-group .swpc-card-swatch,.swpc-card-group[data-card-group=format] .swpc-card-swatch {
    display:block;height:auto;aspect-ratio:1.65;
}
@media(max-width:760px){
    .swpc-card-product .swpc-card-gallery .pdp-photo img {aspect-ratio:1;max-height:none;object-fit:cover}
}
