/* Common DEV product layout, adapted from the approved pilot. 20261003.2. */
body.sx-product-template { --sx-accent:#ba065f; --sx-ink:#282329; --sx-line:#eadfe5; }
body.sx-product-template #primary { color:var(--sx-ink); }
body.sx-product-template #primary .sx-main-product { max-width:1200px; margin:0 auto; }
body.sx-product-template #primary .sx-main-product > .images { width:49%; position:relative; }
body.sx-product-template #primary .sx-main-product > .summary { width:46%; }
body.sx-product-template #primary .images .woocommerce-product-gallery__image { position:relative; border:1px solid #f1e8ed; border-radius:20px; background:#fff; overflow:hidden; }
body.sx-product-template #primary .images .woocommerce-main-image { display:block; width:100%; }
body.sx-product-template #primary .images .wp-post-image { width:100%; height:500px; max-height:50vw; object-fit:contain; margin:0; padding:18px; box-sizing:border-box; }
body.sx-product-template #primary .images .thumbnails { margin-top:14px; }
body.sx-product-template #primary .images .thumbnails img { height:90px; width:100%; object-fit:contain; border:1px solid var(--sx-line); border-radius:10px; padding:5px; box-sizing:border-box; }
body.sx-product-template .sx-template-photo-count { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); background:#ffffffed; border-radius:20px; padding:5px 11px; color:#6d5864; font:500 12px/1.4 Arial,sans-serif; pointer-events:none; }
body.sx-product-template #primary .sx-main-product .product_title { font-size:clamp(26px,2.3vw,34px); font-weight:600; line-height:1.17; letter-spacing:-.6px; margin:0 0 18px; text-transform:none; }
body.sx-product-template #primary .sx-main-product .summary > .price { color:var(--sx-accent); font-size:30px; font-weight:700; margin:0 0 20px; }
body.sx-product-template #primary .summary .woocommerce-product-details__short-description { font-size:16px; line-height:1.65; color:#62525c; margin-bottom:18px; }
body.sx-product-template #primary .summary .woocommerce-product-details__short-description p { margin:0; }
body.sx-product-template .sx-template-facts { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 18px; }
body.sx-product-template .sx-template-facts > div { flex:1; padding:13px 16px; border-radius:12px; background:#fcf4f8; }
body.sx-product-template .sx-template-facts dt { color:#76636e; font-size:12px; font-weight:400; }
body.sx-product-template .sx-template-facts dd { margin:4px 0 0; font-size:17px; font-weight:600; color:var(--sx-ink); }
body.sx-product-template #primary .summary form.cart { border:0; padding:0; margin:15px 0 10px; gap:12px; }
body.sx-product-template #primary .summary form.cart div.quantity.sx-template-quantity { display:flex; flex:0 0 112px; width:112px; height:54px; border:1px solid var(--sx-line); border-radius:10px; overflow:hidden; }
body.sx-product-template #primary .summary form.cart input.qty { width:36px; min-width:0; min-height:52px; height:52px; padding:0; border:0; border-radius:0; background:#fff; color:var(--sx-ink); text-align:center; appearance:textfield; -moz-appearance:textfield; }
body.sx-product-template input.qty::-webkit-inner-spin-button,body.sx-product-template input.qty::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body.sx-product-template #primary .summary form.cart .sx-qty-step { position:static; width:37px; min-width:0; padding:0; margin:0; border:0; background:#fff; color:var(--sx-ink); font:400 23px/1 Arial,sans-serif; box-shadow:none; cursor:pointer; }
body.sx-product-template #primary .summary form.cart .sx-qty-step::before,body.sx-product-template #primary .summary form.cart .sx-qty-step::after { content:none; }
body.sx-product-template #primary .summary form.cart .single_add_to_cart_button { flex:1 1 170px; min-height:54px; background:var(--sx-accent); border:1px solid var(--sx-accent); border-radius:10px; color:#fff; font-size:17px; font-weight:600; padding:12px 16px; transition:background .15s,color .15s; }
body.sx-product-template #primary .summary form.cart .single_add_to_cart_button:hover,body.sx-product-template #primary .summary form.cart .single_add_to_cart_button:focus-visible { background:#fff; color:var(--sx-accent); }
body.sx-product-template #primary .summary .sx-product-reassurance { margin:18px 0; padding:18px 0; }
body.sx-product-template #primary .summary .product_meta { display:block; border:0; font-size:12px; line-height:1.7; color:#776771; margin:18px 0 0; }
body.sx-product-template #primary .summary .product_meta > span { display:block; }
body.sx-product-template .sx-template-express { border-bottom:1px solid var(--sx-line); padding:0 0 14px; margin:0; }
body.sx-product-template .sx-template-express > summary { cursor:pointer; padding:8px 0; font-size:13px; color:#62525c; }
body.sx-product-template .sx-template-express .ppc-button-wrapper { margin:12px 0 0; }
body.sx-product-template #primary .sx-template-content { clear:both; padding:32px 0 16px; max-width:920px; margin:auto; }
body.sx-product-template .sx-template-intro:empty { display:none; }
body.sx-product-template .sx-template-section { border-bottom:1px solid var(--sx-line); margin:0; padding:0; scroll-margin-top:110px; }
body.sx-product-template .sx-template-section:first-of-type { border-top:1px solid var(--sx-line); }
body.sx-product-template .sx-template-section > summary { display:flex; gap:20px; align-items:center; justify-content:space-between; list-style:none; padding:23px 0; cursor:pointer; }
body.sx-product-template .sx-template-section > summary::-webkit-details-marker { display:none; }
body.sx-product-template .sx-template-section > summary::after { content:'+'; color:var(--sx-accent); font:400 24px/1 Arial,sans-serif; flex:0 0 20px; text-align:center; }
body.sx-product-template .sx-template-section[open] > summary::after { content:'−'; }
body.sx-product-template #primary .sx-template-section > summary h2 { margin:0; padding:0; font-size:19px; font-weight:600; line-height:1.4; color:var(--sx-ink); text-transform:none; }
body.sx-product-template .sx-template-section-copy { padding:0 0 24px; font-size:16px; line-height:1.75; color:#594b54; }
body.sx-product-template .sx-template-section-copy p { margin:0 0 16px; }
body.sx-product-template .sx-template-section-copy p:last-child { margin-bottom:0; }
body.sx-product-template .sx-template-section-copy h3 { font-size:17px; line-height:1.5; margin:20px 0 8px; }
body.sx-product-template .sx-template-section-copy ul,body.sx-product-template .sx-template-section-copy ol { margin:12px 0; padding-left:22px; }
body.sx-product-template .sx-template-section-copy a { color:var(--sx-accent); text-decoration:underline; text-underline-offset:3px; }
body.sx-product-template #tab-additional_information .sx-template-section-copy > h2 { display:none; }
body.sx-product-template .sx-template-section-copy table { width:100%; border-collapse:collapse; }
body.sx-product-template .sx-template-section-copy th,body.sx-product-template .sx-template-section-copy td { border:0; border-bottom:1px solid var(--sx-line); text-align:left; padding:12px; background:#fcf8fa; }
body.sx-product-template .sx-template-section-copy td p { margin:0; }
body.sx-product-template #primary .related { clear:both; padding-top:44px; }
body.sx-product-template #primary .related > h2 { font-size:25px; font-weight:600; margin:0 0 24px; text-transform:none; }
body.sx-product-template #primary .related ul.products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
body.sx-product-template #primary .related ul.products::before,body.sx-product-template #primary .related ul.products::after { content:none; }
body.sx-product-template #primary .related ul.products li.product { width:auto; float:none; margin:0; border:1px solid #f1e8ed; border-radius:14px; padding:14px; min-width:0; }
body.sx-product-template #primary .related ul.products li.product img { height:230px; width:100%; object-fit:contain; }
body.sx-product-template :is(button,a,summary,input):focus-visible { outline:2px solid var(--sx-accent); outline-offset:4px; }
body.sx-product-template .sx-template-buybar { display:none; }
@media(max-width:767px) {
 body.sx-product-template #primary .sx-main-product > .images,body.sx-product-template #primary .sx-main-product > .summary { width:100%; float:none; margin-bottom:22px; }
 body.sx-product-template #primary .sx-main-product > .product_title { font-size:25px; line-height:1.2; margin:0 0 18px; }
 body.sx-product-template #primary .images .wp-post-image { height:320px; max-height:none; padding:12px; }
 body.sx-product-template #primary .images .thumbnails img { height:65px; }
 body.sx-product-template #primary .summary > .price { margin-bottom:14px; }
 body.sx-product-template #primary .summary .sx-product-reassurance li > a,body.sx-product-template #primary .summary .sx-product-reassurance .sx-reassurance-item { flex-direction:row; gap:8px; }
 body.sx-product-template #primary .summary .sx-product-reassurance svg { flex-basis:21px; width:21px; height:21px; }
 body.sx-product-template #primary .sx-template-content { padding-top:10px; }
 body.sx-product-template #primary .sx-template-section > summary h2 { font-size:17px; }
 body.sx-product-template .sx-template-section > summary { padding:19px 0; gap:12px; }
 body.sx-product-template .sx-template-section-copy { font-size:15px; }
 body.sx-product-template .sx-template-buybar:not([hidden]) { position:fixed; display:flex; align-items:center; gap:18px; left:0; right:0; bottom:0; z-index:990; padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px)); background:#fff; border-top:1px solid var(--sx-line); box-shadow:0 -4px 22px #30222b0a; }
 body.sx-product-template .sx-template-buybar-price { color:var(--sx-accent); font-size:22px; font-weight:700; white-space:nowrap; }
 body.sx-product-template .sx-template-buybar-price small { display:block; font-size:10px; font-weight:400; }
 body.sx-product-template .sx-template-buybar button { flex:1; min-height:48px; padding:12px; background:var(--sx-accent); border:1px solid var(--sx-accent); border-radius:10px; color:#fff; font-size:15px; font-weight:600; cursor:pointer; }
 body.sx-product-template .sx-template-buybar button:disabled { opacity:.6; cursor:wait; }
 body.sx-product-template.sx-template-bar-visible { padding-bottom:90px; }
 html.sx-cart-drawer-open body.sx-product-template .sx-template-buybar { display:none; }
 body.sx-product-template #primary .related ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 body.sx-product-template #primary .related ul.products li.product { padding:10px; }
 body.sx-product-template #primary .related ul.products li.product img { height:155px; }
}
@media(prefers-reduced-motion:reduce) { body.sx-product-template *,body.sx-product-template *::before,body.sx-product-template *::after { scroll-behavior:auto!important; transition:none!important; } }

body.sx-product-template #primary .images .thumbnails ul { list-style:none; padding:0; }
body.sx-product-template #primary .images .thumbnails li { float:left; list-style:none; }
body.sx-product-template #primary .images .thumbnails::after { content:""; display:block; clear:both; }
body.sx-product-template .sx-template-buybar button { text-transform:none; }

/* V2: let YITH place its external zoom pane beyond the image frame. */
body.sx-product-template #primary .sx-main-product > .images,
body.sx-product-template #primary .images .woocommerce-product-gallery__image,
body.sx-product-template #primary .images .woocommerce-main-image { overflow:visible; }
body.sx-product-template #primary .images .wp-post-image { display:block; height:auto; max-height:none; width:100%; padding:0; border-radius:20px; }
body.sx-product-template #primary .images .yith_magnifier_zoom_wrap { z-index:100; }
body.sx-product-template.woocommerce .woocommerce-breadcrumb { background:none; border:0; padding:0; margin:22px 0 28px; color:#71616c; font-size:12px; line-height:1.7; box-shadow:none; }
body.sx-product-template.woocommerce .woocommerce-breadcrumb a { color:#71616c; }
body.sx-product-template.woocommerce .woocommerce-breadcrumb a:hover { color:#ba065f; }
body.sx-product-template #primary .summary .product_meta > span { margin:0; padding:0; text-indent:0; float:none; line-height:1.8; }
/* Override the old theme's width:55% and its image-link containing block. */
body.sx-product-template #primary .related .wrap-image-sale { position:relative; width:100%; }
body.sx-product-template #primary .related .wrap-image-sale > a { display:block; width:100%; position:static; }
body.sx-product-template #primary .related .yith-wcwl-add-to-wishlist { position:absolute!important; top:0!important; right:0!important; left:auto!important; bottom:auto!important; width:44px!important; max-width:44px; height:44px; margin:0!important; padding:0!important; transform:none!important; z-index:5; }
/* Editorial content remains visible. Only individual FAQ answers collapse. */
body.sx-product-template #primary .sx-template-content { max-width:1120px; padding-top:48px; }
body.sx-product-template .sx-template-story { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px 46px; }
body.sx-product-template .sx-story-article { min-width:0; margin:0; padding:0; }
body.sx-product-template #primary .sx-template-story h2 { font-size:22px; line-height:1.35; font-weight:600; letter-spacing:-.3px; text-transform:none; margin:0 0 18px; color:#282329; }
body.sx-product-template #primary .sx-template-story h2 strong { font-weight:inherit; }
body.sx-product-template .sx-template-story .sx-template-section-copy { padding:0; line-height:1.8; color:#594b54; }
body.sx-product-template .sx-story-lead,body.sx-product-template .sx-story-wide,body.sx-product-template .sx-story-faq,body.sx-product-template .sx-story-specs { grid-column:1/-1; }
body.sx-product-template .sx-story-lead { padding:32px 38px; background:#fcf2f7; border-radius:18px; }
body.sx-product-template #primary .sx-story-lead h2 { max-width:780px; font-size:28px; }
body.sx-product-template .sx-story-lead em { color:#8f1752; }
body.sx-product-template .sx-story-wide:not(.sx-story-links) .sx-template-section-copy { columns:2; column-gap:46px; }
body.sx-product-template .sx-story-team { padding:28px; border-left:3px solid #ba065f; background:#fcf8fa; border-radius:0 14px 14px 0; }
body.sx-product-template .sx-story-faq { padding:26px 0; border-top:1px solid #eadfe5; border-bottom:1px solid #eadfe5; }
body.sx-product-template .sx-story-faq .sx-template-section:first-of-type { border-top:0; }
body.sx-product-template .sx-story-faq .sx-template-section:last-child { border-bottom:0; }
body.sx-product-template .sx-story-faq .sx-template-section > summary h3 { margin:0; font-size:16px; font-weight:600; line-height:1.5; }
body.sx-product-template .sx-story-faq .sx-template-section[open] .sx-template-section-copy { padding:0 0 20px; }
body.sx-product-template .sx-spec-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 36px; margin:0; border-top:1px solid #eadfe5; }
body.sx-product-template .sx-spec-grid > div { display:grid; grid-template-columns:42% minmax(0,1fr); gap:12px; align-items:baseline; padding:15px 0; border-bottom:1px solid #eadfe5; }
body.sx-product-template .sx-spec-grid dt { font-size:14px; color:#75616e; font-weight:400; }
body.sx-product-template .sx-spec-grid dd { font-size:14px; font-weight:600; color:#282329; margin:0; }
body.sx-product-template .sx-story-links .sx-template-section-copy p { display:flex; flex-wrap:wrap; gap:12px; }
body.sx-product-template .sx-story-links br { display:none; }
body.sx-product-template .sx-story-links a { display:inline-flex; align-items:center; min-height:44px; border:1px solid #eadfe5; border-radius:24px; padding:8px 16px; text-decoration:none; font-size:13px; }
@media(max-width:767px) {
 body.sx-product-template #primary .sx-template-content { padding-top:24px; }
 body.sx-product-template .sx-template-story { grid-template-columns:1fr; gap:28px; }
 body.sx-product-template #primary .sx-template-story h2 { font-size:21px; }
 body.sx-product-template .sx-story-lead { padding:24px; border-radius:14px; }
 body.sx-product-template #primary .sx-story-lead h2 { font-size:24px; }
 body.sx-product-template .sx-story-wide:not(.sx-story-links) .sx-template-section-copy { columns:auto; }
 body.sx-product-template .sx-story-team { padding:22px; }
 body.sx-product-template .sx-spec-grid { grid-template-columns:1fr; }
 body.sx-product-template .sx-spec-grid > div { grid-template-columns:40% minmax(0,1fr); }
 body.sx-product-template.woocommerce .woocommerce-breadcrumb { font-size:11px; margin:14px 0 20px; }
}
body.sx-product-template .sx-story-wide .sx-template-section-copy > p { break-inside:avoid; }
body.sx-product-template .sx-story-faves { grid-column:1/-1; }
body.sx-product-template .sx-template-story .sx-fave-points { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; padding:0; margin:0; list-style:none; }
body.sx-product-template .sx-fave-points li { border-top:2px solid #ba065f; padding:16px 0 0; margin:0; list-style:none; font-size:14px; }
@media(max-width:900px) { body.sx-product-template .sx-template-story .sx-fave-points { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:380px) { body.sx-product-template .sx-template-story .sx-fave-points { grid-template-columns:1fr; } }
/* Four clear editorial areas instead of a separate closed row for every heading. */
body.sx-product-template .sx-story-group { grid-column:1/-1; }
body.sx-product-template .sx-template-story { row-gap:26px; }
body.sx-product-template #primary .sx-story-group > summary h2 { margin:0; font-size:22px; }
body.sx-product-template .sx-story-group > summary { padding:20px 0; }
body.sx-product-template .sx-group-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 40px; padding:6px 0 28px; }
body.sx-product-template .sx-group-specs { display:block; }
body.sx-product-template .sx-group-specs .sx-story-specs > h2 { display:none; }
body.sx-product-template #primary .sx-group-description h2 { font-size:18px; }
body.sx-product-template .sx-group-description .sx-story-wide .sx-template-section-copy { columns:auto; max-width:900px; }
body.sx-product-template .sx-story-faq { padding-top:0; border-top:0; }
@media(max-width:767px) {
 body.sx-product-template .sx-group-grid { grid-template-columns:1fr; gap:24px; }
 body.sx-product-template #primary .sx-story-group > summary h2 { font-size:20px; }
}

/* V3: explicit hierarchy, consistent row rhythm, comfortable mobile reading. */
body.sx-product-template #primary .sx-template-story { display:block; }
body.sx-product-template #primary .sx-template-story > * { margin:0; }
body.sx-product-template #primary .sx-story-lead { padding:24px 28px; background:#fff7fb; border-radius:14px; margin-bottom:24px; }
body.sx-product-template #primary .sx-story-lead h2 { font-size:21px; font-weight:500; color:#ba065f; max-width:none; margin-bottom:16px; }
body.sx-product-template .sx-essentials-label { font-weight:600; color:#282329; font-size:14px; }
body.sx-product-template #primary .sx-essential-points { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 22px; list-style:none; padding:0; margin:12px 0 16px; }
body.sx-product-template #primary .sx-essential-points li,body.sx-product-template #primary .sx-fave-points li { position:relative; padding:0 0 0 25px; margin:0; border:0; list-style:none; font-size:14px; line-height:1.65; color:#242124; }
body.sx-product-template #primary .sx-essential-points li::before,body.sx-product-template #primary .sx-fave-points li::before { content:'✓'; position:absolute; top:3px; left:0; width:17px; height:17px; border-radius:50%; background:#f8e3ee; color:#ba065f; text-align:center; font:700 11px/17px Arial,sans-serif; }
body.sx-product-template #primary .sx-story-faves { padding:0 0 26px; }
body.sx-product-template #primary .sx-story-faves h2 { font-size:19px; color:#ba065f; font-weight:700; margin:0 0 14px; }
body.sx-product-template #primary .sx-fave-points { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 30px; padding:0; margin:0; }
body.sx-product-template #primary .sx-template-story > .sx-template-section { border-top:0; border-bottom:1px solid #eadfe5; padding:0; margin:0; }
body.sx-product-template #primary .sx-template-story > .sx-template-section:first-of-type { border-top:1px solid #eadfe5; }
body.sx-product-template #primary .sx-template-section > summary { min-height:70px; box-sizing:border-box; padding:20px 8px; margin:0; border:0; background:transparent; transition:background .15s ease; }
body.sx-product-template #primary .sx-template-section > summary:hover { background:#fff5fa; }
body.sx-product-template #primary .sx-template-section > summary::after { content:''; width:9px; height:9px; flex:0 0 9px; border:solid #ba065f; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); margin:0 4px 5px 12px; font-size:0; }
body.sx-product-template #primary .sx-template-section[open] > summary::after { content:''; transform:rotate(225deg); margin-bottom:-4px; }
body.sx-product-template #primary .sx-story-group > summary h2,body.sx-product-template #primary .sx-story-faq > h2 { color:#ba065f; font-size:21px; font-weight:700; line-height:1.4; margin:0; }
body.sx-product-template #primary .sx-group-grid { display:block; padding:8px 8px 26px; }
body.sx-product-template #primary .sx-group-grid > article { margin:0 0 24px; padding:0; border:0; background:transparent; border-radius:0; }
body.sx-product-template #primary .sx-group-grid > article:last-child { margin-bottom:0; }
body.sx-product-template #primary .sx-group-grid article h2,body.sx-product-template #primary .sx-group-grid article h2 strong { color:#ba065f; font-weight:400; font-size:19px; line-height:1.45; margin:0 0 12px; }
body.sx-product-template #primary .sx-template-section-copy { color:#242124; font-size:15px; line-height:1.8; }
body.sx-product-template #primary .sx-group-description .sx-template-section-copy { max-width:none; columns:auto; }
body.sx-product-template #primary .sx-group-team { background:#fff7fb; border-radius:12px; margin:0 8px 24px; padding:24px; }
body.sx-product-template #primary .sx-story-faq { border:0; padding:0; margin:0; }
body.sx-product-template #primary .sx-story-faq > h2 { padding:20px 8px; min-height:70px; box-sizing:border-box; }
body.sx-product-template #primary .sx-story-faq .sx-template-section { margin:0; padding:0; border-top:0; border-bottom:1px solid #eadfe5; }
body.sx-product-template #primary .sx-story-faq .sx-template-section > summary { min-height:60px; padding:17px 8px; }
body.sx-product-template #primary .sx-story-faq .sx-template-section > summary h3 { font-size:15px; font-weight:500; color:#242124; }
body.sx-product-template #primary .sx-story-faq .sx-template-section-copy { padding:0 8px 22px; }
body.sx-product-template #primary .sx-story-links { padding:26px 8px 0; }
body.sx-product-template #primary .sx-story-links h2 { color:#ba065f; font-size:19px; font-weight:600; }
body.sx-product-template .sx-full-description { display:inline-block; padding:10px 0 0; font-size:14px; color:#ba065f; text-decoration:underline; text-underline-offset:4px; font-weight:600; }
body.sx-product-template #sx-description-complete { scroll-margin-top:140px; }
body.sx-product-template .sx-mobile-gallery { display:none; }
body.sx-product-template .sx-photo-dialog { padding:45px 14px 14px; border:0; border-radius:16px; width:min(94vw,800px); max-width:94vw; height:auto; max-height:92dvh; background:#fff; box-sizing:border-box; }
body.sx-product-template .sx-photo-dialog::backdrop { background:#161016cc; }
body.sx-product-template .sx-photo-dialog img { display:block; width:100%; height:auto; max-height:calc(90dvh - 65px); object-fit:contain; }
body.sx-product-template .sx-photo-close { position:absolute; top:3px; right:6px; width:44px; height:44px; padding:0; background:#fff; color:#ba065f; border:0; font:400 32px/44px Arial,sans-serif; cursor:pointer; }
html.sx-photo-open { overflow:hidden; }
html.sx-photo-open body.sx-product-template .sx-template-buybar { display:none; }
@media(max-width:767px) {
 body.sx-product-template.sx-product-layout.woocommerce #primary { padding-left:20px!important; padding-right:20px!important; box-sizing:border-box; }
 body.sx-product-template #primary .sx-main-product { width:100%; box-sizing:border-box; }
 body.sx-product-template.woocommerce .woocommerce-breadcrumb { padding-left:20px; padding-right:20px; }
 body.sx-product-template #primary .woocommerce-breadcrumb { padding-left:0; padding-right:0; }
 body.sx-product-template #primary .sx-main-product > .product_title { font-size:23px; }
 body.sx-product-template #primary .sx-story-lead { padding:20px; margin-bottom:22px; }
 body.sx-product-template #primary .sx-story-lead h2 { font-size:19px; }
 body.sx-product-template #primary .sx-essential-points,body.sx-product-template #primary .sx-fave-points { grid-template-columns:1fr; gap:10px; }
 body.sx-product-template #primary .sx-story-group > summary h2,body.sx-product-template #primary .sx-story-faq > h2 { font-size:19px; }
 body.sx-product-template #primary .sx-group-grid article h2,body.sx-product-template #primary .sx-group-grid article h2 strong { font-size:18px; }
 body.sx-product-template #primary .sx-group-grid { padding-left:4px; padding-right:4px; }
 body.sx-product-template #primary .sx-group-team { margin-left:0; margin-right:0; padding:20px; }
 body.sx-product-template #sx-description-complete { scroll-margin-top:110px; }
 body.sx-product-template #primary .images.sx-has-mobile-gallery > :not(.sx-mobile-gallery):not(.sx-product-favorite) { display:none!important; }
 body.sx-product-template .sx-mobile-gallery { display:block; }
 body.sx-product-template .sx-mobile-photo-track { position:relative; display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
 body.sx-product-template .sx-mobile-photo-track::-webkit-scrollbar { display:none; }
 body.sx-product-template .sx-mobile-photo-slide { flex:0 0 94%; width:94%; display:block; scroll-snap-align:start; scroll-snap-stop:always; min-width:0; margin:0; padding:0; border:1px solid #f0e6ec; border-radius:15px; overflow:hidden; background:#fff; box-shadow:none; }
 body.sx-product-template .sx-mobile-photo-slide:last-child { margin-right:6%; }
 body.sx-product-template .sx-mobile-photo-slide img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
 body.sx-product-template .sx-mobile-photo-nav { display:flex; align-items:center; justify-content:space-between; padding:4px 0; color:#75616e; font-size:12px; }
 body.sx-product-template .sx-mobile-photo-dots { display:flex; gap:0; }
 body.sx-product-template .sx-mobile-photo-dots button { position:relative; width:32px; height:32px; margin:0; padding:0; background:none; border:0; box-shadow:none; }
 body.sx-product-template .sx-mobile-photo-dots button::after { content:''; position:absolute; width:6px; height:6px; top:13px; left:13px; border-radius:50%; background:#d8c7d0; }
 body.sx-product-template .sx-mobile-photo-dots button[aria-pressed=true]::after { background:#ba065f; width:8px; height:8px; top:12px; left:12px; }
 body.sx-product-template #primary .images.sx-has-mobile-gallery .sx-product-favorite { top:10px; right:calc(6% + 10px); }
 body.sx-product-template #primary .summary .sx-product-reassurance ul { gap:14px; }
 body.sx-product-template #primary .summary .sx-product-reassurance strong { font-family:inherit; font-size:12px; }
 body.sx-product-template #primary .summary .sx-product-reassurance small { font-family:inherit; font-size:11px; }
}
body.sx-product-template #primary .sx-story-lead em { color:#242124; }
body.sx-product-template #primary .summary .sx-product-reassurance strong,body.sx-product-template #primary .summary .sx-product-reassurance small { font-family:inherit; }
/* Neutralise the legacy theme's button overlay on photo controls. */
body.sx-product-template .sx-mobile-photo-slide::before,body.sx-product-template .sx-mobile-photo-slide::after,body.sx-product-template .sx-photo-close::before,body.sx-product-template .sx-photo-close::after,body.sx-product-template .sx-mobile-photo-dots button::before { content:none!important; }
body.sx-product-template .sx-mobile-photo-dots button::after { opacity:1!important; }
body.sx-product-template .sx-mobile-photo-slide { text-transform:none; }
/* Product-specific reminder; ordinary category link, never an automatic cart addition. */
body.sx-product-template #primary .summary .sx-template-battery { margin:0 0 14px; padding:11px 14px; border-left:2px solid #ba065f; background:#fff7fb; border-radius:0 8px 8px 0; font-size:13px; line-height:1.6; color:#282329; }
body.sx-product-template #primary .summary .sx-template-battery a { display:inline-block; color:#ba065f; text-decoration:underline; text-underline-offset:3px; }

/* Discreet reference/category information after the related products. */
body.sx-product-template #primary .sx-template-footer-meta { clear:both; padding:20px 0 0; margin:28px 0 0; border-top:1px solid #eadfe5; }
body.sx-product-template #primary .sx-template-footer-meta .product_meta { margin:0; padding:0; color:#71616c; font-size:12px; line-height:1.8; }
body.sx-product-template #primary .sx-template-footer-meta .product_meta > span { display:block; margin:0; padding:0; float:none; }
body.sx-product-template #primary .sx-template-footer-meta .product_meta span { padding:0; }
body.sx-product-template #primary .sx-template-footer-meta a { color:inherit; text-decoration:underline; text-underline-offset:3px; }

/* Four useful buying points; the complete description stays in native HTML. */
body.sx-product-template #primary .summary .sx-buy-highlights { list-style:none; margin:0 0 14px; padding:0; display:grid; gap:10px; color:#282329; font-size:15px; line-height:1.5; }
body.sx-product-template #primary .summary .sx-buy-highlights li { position:relative; padding-left:23px; margin:0; }
body.sx-product-template #primary .summary .sx-buy-highlights li::before { content:''; position:absolute; left:2px; top:.42em; width:6px; height:10px; border:solid #ba065f; border-width:0 1.6px 1.6px 0; transform:rotate(45deg); }
body.sx-product-template .sx-context-advice { padding:18px 20px; margin:0; font-size:15px; line-height:1.6; }
body.sx-product-template .sx-template-section-copy a,body.sx-product-template .sx-context-advice a { color:#ba065f; text-decoration:underline; text-underline-offset:3px; }
body.sx-product-template #primary .sx-complements > h2 { color:#ba065f; font-size:clamp(24px,2.2vw,30px); font-weight:600; border:0; padding:0; margin:0 0 8px; }
body.sx-product-template #primary .sx-complements-intro { margin:0 0 22px; color:#62525c; font-size:15px; }
body.sx-product-template #primary .sx-complements ul.products li.product { min-width:0; }
body.sx-product-template #primary .sx-complements ul.products li.product h3 { overflow-wrap:break-word; }
@media(max-width:767px) {
 body.sx-product-template #primary .sx-complements ul.products { display:grid; grid-template-columns:1fr; gap:18px; }
 body.sx-product-template #primary .sx-complements ul.products li.product { width:100%!important; display:grid; grid-template-columns:96px minmax(0,1fr); align-items:center; column-gap:14px; padding:14px; }
 body.sx-product-template #primary .sx-complements li.product .wrap-image-sale { grid-column:1; grid-row:1 / 4; width:96px; align-self:center; }
 body.sx-product-template #primary .sx-complements li.product .wrap-image-sale > a { width:100%!important; display:block; }
 body.sx-product-template #primary .sx-complements li.product .wrap-image-sale img { width:96px; height:110px; object-fit:contain; padding:0; }
 body.sx-product-template #primary .sx-complements li.product > a.woocommerce-loop-product__link { grid-column:2; margin:0; }
 body.sx-product-template #primary .sx-complements li.product h3.product-title { font-size:13px; line-height:1.4; margin:0 0 6px; }
 body.sx-product-template #primary .sx-complements li.product > .price { grid-column:2; margin:0 0 8px; font-size:17px; }
 body.sx-product-template #primary .sx-complements li.product > a.button { grid-column:2; width:100%; min-height:44px; font-size:12px; padding:10px 6px; margin:0; }
 body.sx-product-template #primary .sx-complements li.product .yith-wcwl-add-to-wishlist { top:0!important; right:0!important; }
}
/* Neutralise legacy card heights/margins in this replacement block only. */
body.sx-product-template #primary .sx-complements ul.products::before,
body.sx-product-template #primary .sx-complements ul.products::after { content:none; display:none; }
body.sx-product-template #primary .sx-complements ul.products li.product { margin:0!important; min-height:0; height:auto; }
body.sx-product-template #primary .sx-complements ul.products li.product > a.button { background:#ba065f; color:#fff; border:1px solid #ba065f; }
body.sx-product-template #primary .sx-complements ul.products li.product > a.button::before,
body.sx-product-template #primary .sx-complements ul.products li.product > a.button::after { content:none; }
body.sx-product-template #primary .sx-complements ul.products li.product > a.button:hover,
body.sx-product-template #primary .sx-complements ul.products li.product > a.button:focus-visible { background:#fff; color:#ba065f; }
/* Shared editorial markup: original content remains in server-rendered HTML. */
body.sx-product-template.woocommerce #primary .sx-main-product .summary > .price { color:#ba065f; font-size:30px; font-weight:700; }
body.sx-product-template.woocommerce #primary .sx-main-product .product_title { font-weight:600; }
body.sx-product-template #primary { isolation:isolate; }
body.sx-product-template #primary .sx-template-story .sx-group-copy { padding:8px 8px 26px; color:#242124; }
body.sx-product-template #primary .sx-editorial-section { margin:0 0 24px; }
body.sx-product-template #primary .sx-editorial-section:last-child { margin-bottom:0; }
body.sx-product-template #primary .sx-template-content h3 { color:#ba065f; font-size:19px; font-weight:400; line-height:1.5; margin:22px 0 12px; text-transform:none; }
body.sx-product-template #primary .sx-template-content h3:first-child { margin-top:0; }
body.sx-product-template #primary .sx-template-content h3 :is(strong,span) { font-weight:inherit; text-decoration:none!important; }
body.sx-product-template #primary .sx-template-content p { margin:0 0 16px; }
body.sx-product-template #primary .sx-template-content .sx-editorial-section hr { border:0; border-top:1px solid #eadfe5; margin:24px 0; }
body.sx-product-template #primary .sx-team-group .sx-group-copy { margin:0 8px 22px; padding:22px; background:#fff7fb; border-radius:12px; }
body.sx-product-template #primary .sx-template-content img { max-width:100%; height:auto; }
body.sx-product-template #primary .sx-template-content iframe { max-width:100%; }
body.sx-product-template #primary .sx-template-section-copy { overflow-wrap:anywhere; }
body.sx-product-template #primary .sx-template-extra { margin:28px 0; }
body.sx-product-template #primary .sx-template-extra > h2 { color:#ba065f; font-size:21px; font-weight:700; }
body.sx-product-template #primary #tab-additional_information > h3 { display:none; }
body.sx-product-template #primary .summary .variations,body.sx-product-template #primary .summary .single_variation_wrap { width:100%; min-width:0; }
body.sx-product-template #primary .summary .woocommerce-variation-add-to-cart { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
body.sx-product-template #primary .summary .woocommerce-variation-price { font-size:26px; color:#ba065f; margin-bottom:14px; }
body.sx-product-template #primary .summary form.cart select { max-width:100%; }
body.sx-product-template #primary .summary .sx-template-quantity input.qty { -webkit-appearance:textfield; }
body.sx-product-template #primary .summary input.qty[readonly] { cursor:default; }
body.sx-product-template .sx-template-buybar button:disabled { opacity:.5; cursor:not-allowed; }
@media(max-width:767px) {
 body.sx-product-template #primary .sx-main-product { min-width:0; }
 body.sx-product-template #primary .sx-template-content h3 { font-size:18px; }
 body.sx-product-template #primary .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex:1 1 145px; }
 body.sx-product-template #primary .sx-template-section-copy table { display:block; overflow-x:auto; max-width:100%; }
 body.sx-product-template .sx-mobile-photo-dots { flex-wrap:wrap; justify-content:flex-end; }
 body.sx-product-template .sx-single-photo .sx-mobile-photo-slide { flex-basis:100%; width:100%; margin-right:0; }
 body.sx-product-template .sx-single-photo .sx-mobile-photo-nav { display:none; }
 body.sx-product-template #primary .images.sx-has-mobile-gallery.sx-single-photo .sx-product-favorite { right:10px; }
}
