/* Only the product gallery moves. Native form/gallery controls remain intact. */
@media(min-width:850px) and (min-height:600px){
 body.mason-starter-release .msp-gallery-col{align-self:stretch!important;position:relative!important;top:auto!important;overflow:visible!important}
 body.mason-starter-release .msp-media{position:relative!important;top:auto!important;transform:translateY(var(--msp-shift,0px))!important;overflow:visible!important}
 body.mason-starter-release .msp-media .product-images{margin-bottom:12px}
 body.mason-starter-release .msp-media .product-gallery-slider{margin-bottom:0}
 body.mason-starter-release .msp-media .product-gallery-slider .flickity-viewport{height:var(--msp-image-height)!important}
 body.mason-starter-release .msp-media .woocommerce-product-gallery__image>a>img{width:100%;height:var(--msp-image-height)!important;object-fit:contain}
 body.mason-starter-release .msp-media .product-thumbnails{max-width:360px!important;margin-inline:auto!important}
 body.mason-starter-release .msp-media .product-thumbnails .flickity-viewport{height:80px!important}
 body.mason-starter-release .msp-media .product-thumbnails img{height:72px;object-fit:contain}
}

/* Mirabella review only: the native theme columns already place gallery left / summary right. */
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .summary.entry-summary form.mason-configurator{width:100%;max-width:100%;margin:28px 0 0;padding:0;box-sizing:border-box}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .summary.entry-summary{min-width:0}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .summary.entry-summary .mason-sk-gift-grid,
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .summary.entry-summary .cuw-product-addons .cuw-gird{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:850px){body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}

body.mason-starter-release.mason-starter-kit .cuw-product-addons .cuw-gird{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch}
body.mason-starter-release.mason-starter-kit .cuw-product-row.mason-sk-addon{min-width:0;height:100%;box-sizing:border-box;align-self:stretch;border-radius:12px}
body.mason-starter-release.mason-starter-kit .cuw-product-row.mason-sk-addon .cuw-product-image img{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:contain;border-radius:12px}
body.mason-starter-release #mason-starter-bauble-colour-help{font-size:14px;line-height:1.5;margin:8px 0;font-weight:600}
@media(max-width:849px){body.mason-starter-release.mason-starter-kit .cuw-product-addons .cuw-gird{grid-template-columns:repeat(2,minmax(0,1fr))}}

body.mason-starter-release .mason-lights-guide{margin:12px 0;padding:0 12px;border:1px solid #d8ddcf;border-radius:8px;background:#f7f8f3;color:#30382a;text-align:left;clear:both;box-sizing:border-box;max-width:100%;font-size:14px}
body.mason-starter-release .mason-lights-guide summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:600;line-height:1.5}
body.mason-starter-release .mason-lights-guide summary{list-style:none}
body.mason-starter-release .mason-lights-guide summary::-webkit-details-marker{display:none}
body.mason-starter-release .mason-lights-guide summary::after{content:'';display:inline-block;float:right;margin-left:8px;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;transform:rotate(0deg)}
body.mason-starter-release .mason-lights-guide[open] summary::after{transform:rotate(180deg)}
body.mason-starter-release .mason-lights-guide summary:focus-visible{outline:2px solid #536447;outline-offset:3px}
body.mason-starter-release .mason-lights-guide p{margin:0 0 12px;line-height:1.5}
body.mason-starter-release .mason-lights-guide table{width:100%;margin:0 0 12px;font-size:14px}
body.mason-starter-release .mason-lights-guide th,body.mason-starter-release .mason-lights-guide td{padding:7px 10px;text-transform:none;letter-spacing:normal;color:inherit}
body.mason-starter-release .mason-lights-guide tr[aria-current=true]{background:#e7eddf;font-weight:700}
body.mason-starter-release .mason-lights-guide caption{text-align:left;font-weight:600;margin-bottom:8px}

/* Exact Mirabella staging preview; original gallery controls and form untouched. */
@media(min-width:850px) and (min-height:600px){
 body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .msp-native-boundary{align-self:flex-start!important;position:relative!important;overflow:visible!important}
 body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .msp-native-sticky{position:sticky!important;top:var(--msp-native-top,72px)!important;transform:none!important;transition:none!important;animation:none!important;overflow:visible!important}
}
@media(max-width:849px),(max-height:599px){
 body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .msp-native-sticky{position:relative!important;top:auto!important;transform:none!important;transition:none!important}
}

body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-native-size{display:none!important}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-enhanced{zoom:1!important}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-sizes{width:100%;margin:8px 0 0}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-sizes-title{display:block;font-size:12px;font-weight:600;margin-bottom:6px;color:#293c26}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options button{min-width:0;min-height:44px;width:100%;margin:0;padding:8px 7px;white-space:normal;text-transform:none;letter-spacing:normal;border:1px solid #d6dcd1;border-radius:7px;background:#fff;color:#293c26;font-size:12px;font-weight:500;line-height:1.3;box-shadow:none;cursor:pointer}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options button[aria-checked="true"]{border:2px solid #355612;background:#eef3e8;padding:7px 6px;font-weight:600}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options button:focus-visible{outline:3px solid #355612;outline-offset:2px}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options button:disabled{opacity:.5;cursor:default}
@media(max-width:549px){body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options{grid-template-columns:minmax(0,1fr)}}

body.mason-starter-release .mason-height-fallback>select[data-attribute_name="attribute_pa_tree-height"]{display:block!important;visibility:visible!important;opacity:1!important;width:100%;max-width:340px;min-height:44px;margin:0 0 12px}body.mason-starter-release .mason-height-fallback>ul[data-attribute_name="attribute_pa_tree-height"]{display:none!important}

@media(min-width:850px){body.mason-starter-release .summary.entry-summary .cuw-product-addons .cuw-gird{grid-template-columns:repeat(2,minmax(0,1fr))}}

body.mason-starter-release #product-32054 .mason-configurator-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}

/* Keep label wrapping, weight, padding and border widths stable on selection. */
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options{align-items:stretch;grid-auto-rows:1fr}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options button,
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options button[aria-checked="true"]{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:64px;min-height:64px;padding:8px 6px;border-width:2px;font-weight:600;line-height:1.25}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options .mason-collar-size-name,
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options .mason-collar-size-height{display:block;white-space:nowrap}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-collar-size-options .mason-collar-size-height{font-size:11px}

/* Component prices use a compact scale instead of the main product-price size. */
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .bundled_product_title{font-size:14px!important;line-height:1.4;font-weight:500}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .bundled_product_excerpt p{font-size:13px;line-height:1.45;margin:6px 0}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .variable-items-wrapper .variable-item{font-size:13px!important;line-height:1.35;min-height:44px;box-sizing:border-box}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .variable-item-span{font-size:inherit!important;line-height:inherit}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .woocommerce-variation-price{margin:10px 0 0;padding:8px 0 0}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .woocommerce-variation-price .price{display:block;font-size:16px!important;line-height:1.4;margin:0!important;padding:0;font-weight:600}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .woocommerce-variation-price .price .amount{font-size:inherit;line-height:inherit}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .woocommerce-variation-price .price del{font-size:14px;font-weight:400}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .woocommerce-variation-price .price ins .amount{font-weight:600}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator tr.bundled_product:not(.mason-sk-gift) .bundled_item_price_quantity{font-size:12px;font-weight:400}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator .mason-lights-guide{font-size:13px}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-configurator .mason-lights-guide summary{font-size:13px;line-height:1.45;min-height:44px;box-sizing:border-box}

/* Keep campaign terms visible; only the longer product introduction collapses. */
body.mason-starter-release .product-short-description .mason-intro-details{margin:0 0 14px}
/* Collapsed preview: text fades out and the last line blurs away; the same look is drawn by CSS before review.js runs, so nothing jumps. */
body.mason-starter-release .mason-intro-copy,body.mason-starter-release .product-short-description:not(:has(.mason-intro-details))>p:nth-of-type(2){position:relative;max-height:84px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 35%,transparent);mask-image:linear-gradient(#000 35%,transparent);transition:max-height .35s ease}
body.mason-starter-release .mason-intro-copy::after,body.mason-starter-release .product-short-description:not(:has(.mason-intro-details))>p:nth-of-type(2)::after{content:'';position:absolute;left:0;right:0;bottom:0;height:55%;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);-webkit-mask-image:linear-gradient(transparent,#000);mask-image:linear-gradient(transparent,#000);pointer-events:none;transition:opacity .25s}
body.mason-starter-release .mason-intro-details.is-open .mason-intro-copy{-webkit-mask-image:none;mask-image:none}
body.mason-starter-release .mason-intro-details.is-open .mason-intro-copy::after{opacity:0}
body.mason-starter-release .mason-intro-copy>p:last-child{margin-bottom:0}
body.mason-starter-release .product-short-description:not(:has(.mason-intro-details))>p:nth-of-type(2){height:84px;margin-bottom:60px}
body.mason-starter-release .product-short-description:not(:has(.mason-intro-details))>p:nth-of-type(n+3){display:none}
body.mason-starter-release .mason-intro-toggle{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:8px 2px;border:0;border-radius:0;background:none;box-shadow:none;font-size:13px;line-height:1.4;font-weight:600;letter-spacing:normal;text-transform:none;color:#355612;cursor:pointer}
body.mason-starter-release .mason-intro-toggle::after{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .25s ease}
body.mason-starter-release .mason-intro-details.is-open .mason-intro-toggle::after{transform:translateY(2px) rotate(-135deg)}
body.mason-starter-release .mason-intro-toggle:focus-visible{outline:2px solid #355612;outline-offset:3px;border-radius:3px}
@media(prefers-reduced-motion:reduce){body.mason-starter-release :is(.mason-intro-copy,.mason-intro-copy::after,.mason-intro-toggle::after){transition:none}}
body.mason-starter-release .product-short-description .mason-intro-gift-notice{width:auto;max-width:100%;margin:16px 0 18px}
body.mason-starter-release .product-short-description .mason-intro-gift-notice>.col{padding:0;margin:0}
body.mason-starter-release .product-short-description .mason-intro-gift-notice>.col>.mason-intro-gift-content{padding:16px!important;background:#f2f6ec!important;border:1px solid #d9e2ce;border-radius:12px;color:#34462a;font-size:13px;line-height:1.5;overflow-wrap:break-word}
body.mason-starter-release .mason-intro-gift-content>div{margin:0 0 8px}
body.mason-starter-release .mason-intro-gift-content>div:first-child{font-size:14px;line-height:1.4;margin-bottom:10px}
body.mason-starter-release .mason-intro-gift-content>div:last-child{margin-bottom:0;font-size:12px}
body.mason-starter-release .mason-intro-gift-content>.mason-intro-spacer{display:none}
@media(max-width:849px){
 body.mason-starter-release .product-short-description>p:first-child{margin-bottom:4px;font-size:14px;line-height:1.5}
 body.mason-starter-release .product-short-description .mason-intro-details{margin-bottom:10px}
 body.mason-starter-release .mason-intro-copy p{font-size:14px;line-height:1.5;margin:0 0 12px}
 body.mason-starter-release .product-short-description:not(:has(.mason-intro-details))>p:nth-of-type(2){font-size:14px;line-height:1.5;margin-bottom:54px}
 body.mason-starter-release .product-short-description .mason-intro-gift-notice{margin:10px 0 16px}
 body.mason-starter-release .product-short-description .mason-intro-gift-notice>.col>.mason-intro-gift-content{padding:14px!important}
}

/* Equalise neighbours only within their row; later rows keep their own height. */
body.mason-starter-release.mason-starter-kit .cuw-product-addons .cuw-gird{grid-auto-rows:auto}
body.mason-starter-release.mason-starter-kit .cuw-product-row.mason-sk-addon{height:auto}

/* Square photos with rounded corners, the same from first paint (no JS-driven resize). */
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .product-gallery .woocommerce-product-gallery__image>a>img{aspect-ratio:1/1;object-fit:cover!important;border-radius:12px}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .product-gallery .product-thumbnails img{width:100%;height:auto!important;aspect-ratio:1/1;object-fit:cover!important;border-radius:8px}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) form.bundle_form .bundled_product_images img{height:auto!important;aspect-ratio:1/1;object-fit:cover!important;border-radius:8px!important}
body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) form.bundle_form tr.mason-sk-gift .bundled_product_images img,
body.mason-starter-release.mason-starter-kit :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .mason-sk-addon .cuw-product-image img{height:auto!important;aspect-ratio:1/1;object-fit:cover!important;border-radius:12px!important}
@media(min-width:850px) and (min-height:600px){
 /* Side = min(column width, viewport below the sticky header): computed in CSS, so it matches before and after photo.js runs. */
 body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .product-gallery.col{container-type:inline-size;--msp-square:min(100cqi,calc(100vh - var(--msp-native-top,72px) - 116px))}
 body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .product-gallery-slider .flickity-viewport{height:var(--msp-square)!important}
 body.mason-starter-release :is(#product-6676,#product-6679,#product-8672,#product-32054,#product-86168,.mason-starter-kit-product) .product-gallery .woocommerce-product-gallery__image>a>img{display:block;width:var(--msp-square)!important;height:var(--msp-square)!important;margin-inline:auto}
}
