/* Photo-first product page; native gallery, variants, forms and modal remain intact. */
.mgm-editorial-gallery {display:none;}
body.page-product #wrapper>.container,body.page-product #wrapper>.container-fluid {width:100%;max-width:1920px;padding-inline:24px;}
body.page-product #center-column {--mgm-product-columns:minmax(0,2.25fr) minmax(330px,1fr);--mgm-product-column-gap:clamp(28px,3vw,56px);}
body.page-product #center-column .product__container {grid-template-columns:var(--mgm-product-columns);gap:var(--mgm-product-column-gap);}
body.page-product #center-column .product__right {padding:12px 24px 0 0;align-self:start;min-width:0;color:#242424;}
body.page-product #center-column .product__name {font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.02em;padding:0;border:0;margin:0 0 14px!important;}
body.page-product #center-column .product__name:after {display:none;}
body.page-product #center-column .mgm-demo-note {font-size:10px;line-height:1.6;color:#707070;margin:0 0 28px;}
body.page-product #center-column .product__price {font-size:25px;font-weight:500;letter-spacing:-.025em;line-height:1.3;}
body.page-product #center-column .product__prices {margin-bottom:8px;}
body.page-product #center-column .product__prices-block {display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 12px;}
body.page-product #center-column :is(.product__discount-price,.product__pack-price,.product__taxless-price) {flex-basis:100%;}
body.page-product #center-column .product__tax-infos {font-size:11px;color:#707070;margin:0;}
body.page-product #center-column .product__description-short {font-size:13px;line-height:1.7;margin-bottom:22px;}
body.page-product #center-column .product__manufacturer {font-size:11px;margin-bottom:14px;}
body.page-product #center-column .mgm-variant>legend {font-size:13px;font-weight:500;}
body.page-product #center-column .mgm-variant__choices {display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:7px;}
body.page-product #center-column .mgm-variant__choices .btn {width:100%;min-width:0;min-height:48px;padding:10px 6px;font-size:13px;border-color:#dcdcdc;border-radius:4px;transition:background .15s,border-color .15s;}
body.page-product #center-column .mgm-variant__choices .btn:hover {border-color:#353535;background:#f6f6f6;}
body.page-product #center-column .mgm-variant__choices .btn-check:checked+.btn {background:#252525;border-color:#252525;color:#fff;}
body.page-product #center-column .mgm-variant__choices .btn {position:relative;}
body.page-product #center-column .mgm-variant--unavailable .btn {color:#767676;background:#fafafa;border-color:#dedede;}
body.page-product #center-column .mgm-variant--unavailable .btn::after {content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(to bottom right,transparent calc(50% - .5px),#c4c4c4 calc(50% - .5px),#c4c4c4 calc(50% + .5px),transparent calc(50% + .5px));}
body.page-product #center-column .mgm-variant--unavailable .btn>span {position:relative;z-index:1;}
body.page-product #center-column .mgm-variant--unavailable .btn-check:checked+.btn {color:#333;background:#fff;border-color:#252525;box-shadow:0 0 0 1px #252525;}
body.page-product #center-column .mgm-variant--unavailable .btn-check:checked+.btn>span {text-decoration:none;}
.mgm-variant__notify-icon {position:absolute;top:5px;right:5px;z-index:1;}
body.page-product #center-column .mgm-variant {margin-bottom:12px;}
body.page-product #center-column .product__variants {gap:0;margin-bottom:18px;}
body.page-product #center-column .mgm-model-colors {margin:0 0 26px;}
body.page-product #center-column .mgm-model-colors__title {font-size:13px;font-weight:500;margin-bottom:12px;}
body.page-product #center-column .mgm-model-colors__list {gap:10px;align-items:stretch;}
body.page-product #center-column .mgm-model-colors__item {flex-direction:column;justify-content:flex-start;gap:7px;width:78px;padding:5px 5px 8px;font-size:11px;line-height:1.4;text-align:center;border:1px solid transparent;border-radius:4px;background:#f7f7f7;box-shadow:none;transition:border-color .15s;}
body.page-product #center-column .mgm-model-colors__item:hover {border-color:#999;}
body.page-product #center-column .mgm-model-colors__item.is-current {border-color:#252525;box-shadow:0 0 0 1px #252525;background:#fff;}
body.page-product #center-column .mgm-model-colors__item img {width:66px;height:82px;object-fit:contain;}
body.page-product #center-column .mgm-size-chart {margin:5px 0 0;font-size:13px;border:1px solid #e4e4e4;border-radius:6px;background:#fafafa;overflow:hidden;}
body.page-product #center-column .mgm-size-chart>summary {font-size:13px;font-weight:400;min-height:68px;padding:13px 16px;gap:13px;text-decoration:none;transition:background .15s;}
body.page-product #center-column .mgm-size-chart>summary:hover {background:#f2f2f2;}
body.page-product #center-column .mgm-size-chart>summary::after {font-size:21px;color:#525252;margin-left:auto;line-height:1;}
body.page-product #center-column .mgm-size-chart__icon {flex:0 0 24px;color:#343434;}
body.page-product #center-column .mgm-size-chart__label {display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.5;}
body.page-product #center-column .mgm-size-chart__label strong {font-size:14px;font-weight:600;}
body.page-product #center-column .mgm-size-chart__label>span {font-size:12px;color:#676767;}
body.page-product #center-column .mgm-size-chart[open]>summary {border-bottom:1px solid #e4e4e4;}
body.page-product #center-column .mgm-size-chart__content {padding:17px 16px 18px;background:#fff;}
body.page-product #center-column .mgm-size-chart__kind {font-size:13px;font-weight:600;margin:0 0 8px;}
body.page-product #center-column .mgm-size-chart__content>p:not(.mgm-size-chart__kind) {font-size:12px;color:#626262;margin:0 0 10px;}
body.page-product #center-column .mgm-size-chart__scroll {margin:14px 0 0;border:1px solid #e6e6e6;border-radius:4px;scrollbar-width:thin;scrollbar-color:#b4b4b4 #f1f1f1;}
body.page-product #center-column .mgm-size-chart table {margin:0;background:#fff;font-variant-numeric:tabular-nums;}
body.page-product #center-column .mgm-size-chart :is(th,td) {border:0;border-bottom:1px solid #e8e8e8;padding:12px;text-align:center;white-space:nowrap;overflow-wrap:normal;}
body.page-product #center-column .mgm-size-chart thead th {background:#f1f1f1;font-size:12px;font-weight:600;}
body.page-product #center-column .mgm-size-chart tr>:first-child {position:sticky;left:0;text-align:left;background:#f7f7f7;box-shadow:1px 0 #e2e2e2;z-index:1;}
body.page-product #center-column .mgm-size-chart tbody tr:last-child>* {border-bottom:0;}
body.page-product #center-column .mgm-size-chart tbody tr:nth-child(even)>td {background:#fafafa;}
.mgm-size-dialog {color:#292929;background:#fff;border:0;border-radius:8px;width:min(960px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 64px);padding:0;box-shadow:0 20px 80px #0003;overscroll-behavior:contain;}
.mgm-size-dialog::backdrop {background:#0007;}
html.mgm-size-guide-open {overflow:hidden;}
.mgm-size-dialog__header {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 28px;border-bottom:1px solid #e5e5e5;position:sticky;top:0;background:#fff;z-index:2;}
.mgm-size-dialog__header h2 {font-size:23px;line-height:1.35;font-weight:600;letter-spacing:-.3px;margin:0;}
.mgm-size-dialog__close {flex:0 0 40px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:50%;background:#fff;font-size:28px;line-height:1;color:#333;cursor:pointer;}
.mgm-size-dialog__close:hover {background:#f3f3f3;}
.mgm-size-dialog .mgm-size-chart__content {padding:22px 28px 26px;font-size:14px;line-height:1.7;}
.mgm-size-dialog .mgm-size-chart__kind {font-size:14px;font-weight:600;margin:0 0 8px;}
.mgm-size-dialog .mgm-size-chart__content>p:not(.mgm-size-chart__kind) {font-size:13px;line-height:1.7;color:#626262;margin:0 0 14px;}
.mgm-size-dialog .mgm-size-chart__scroll {overflow-x:auto;overflow-y:hidden;max-width:100%;margin:17px 0 0;border:1px solid #e1e1e1;border-radius:4px;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#b4b4b4 #f1f1f1;}
.mgm-size-dialog table {width:100%;min-width:640px;border-collapse:collapse;margin:0;background:#fff;font-size:14px;font-variant-numeric:tabular-nums;}
.mgm-size-dialog :is(th,td) {padding:12px 14px;text-align:center;border:0;border-bottom:1px solid #e7e7e7;white-space:nowrap;}
.mgm-size-dialog thead th {background:#f1f1f1;font-weight:600;font-size:12px;}
.mgm-size-dialog tr>:first-child {position:sticky;left:0;text-align:left;background:#f7f7f7;box-shadow:1px 0 #e2e2e2;z-index:1;font-weight:600;}
.mgm-size-dialog tbody tr:nth-child(even)>td {background:#fafafa;}
.mgm-size-dialog tbody tr:last-child>* {border-bottom:0;}
.mgm-size-dialog .mgm-size-chart__instructions {font-size:13px;line-height:1.75;margin-top:18px;color:#555;}
.mgm-size-chart__hint {display:none;}
.mgm-size-dialog :is(button,.mgm-size-chart__scroll):focus-visible {outline:2px solid var(--magmara-action,#a80a0b);outline-offset:3px;}
body.page-product #center-column .product__availability {font-size:12px;margin-bottom:12px;}
body.page-product #center-column .product__availability-status {gap:8px;align-items:center;}
body.page-product #center-column .product__availability-status.text-warning {--bs-warning-rgb:128,84,31;color:#80541f!important;}
body.page-product #center-column .product__availability-icon {font-size:17px;}
body.page-product #center-column .product__actions-qty-add {grid-template-columns:minmax(0,1fr);gap:0;}
body.page-product #center-column .product__quantity {width:100px;min-height:52px;}
body.page-product #center-column .product__quantity .quantity-button__group {border:1px solid #dedede;border-radius:4px;overflow:hidden;flex-wrap:nowrap;}
body.page-product #center-column .product__quantity :is(button,input) {height:50px;min-height:50px;border:0;background:#fff;color:#252525;box-shadow:none;}
body.page-product #center-column .product__quantity input {font-size:13px;padding-inline:0;min-width:0;text-align:center;}
body.page-product #center-column .product__quantity button {min-width:29px;width:29px;padding:0;}
body.page-product #center-column .product__quantity button:hover {background:#f3f3f3;}
body.page-product #center-column .product__add-to-cart-button {font-size:14px;font-weight:500;min-height:52px;padding:13px 12px;border-radius:4px;background:var(--magmara-action,#a80a0b);border-color:var(--magmara-action,#a80a0b);box-shadow:none;}
body.page-product #center-column .product__add-to-cart-button:not(:disabled):hover {background:#80090a;border-color:#80090a;}
body.page-product #center-column .product__add-to-cart-button:disabled {opacity:.5;}
.mgm-stock-notify {width:100%;min-width:0;}
.mgm-stock-notify__open,.mgm-stock-notify__saved {display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:13px 14px;margin:0;border:1px solid #333;border-radius:4px;background:#fff;color:#252525;font-size:14px;font-weight:500;line-height:1.5;}
.mgm-stock-notify__open {cursor:pointer;}
.mgm-stock-notify__open:hover {background:#f4f4f4;}
.mgm-stock-notify__open:focus-visible {outline:2px solid var(--magmara-action,#a80a0b);outline-offset:4px;}
.mgm-stock-dialog {width:min(480px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:7px;background:#fff;color:#292929;box-shadow:0 20px 80px #0003;overscroll-behavior:contain;}
.mgm-stock-dialog::backdrop {background:#0007;}
html:has(.mgm-stock-dialog[open]) {overflow:hidden;}
.mgm-stock-dialog__header {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 24px;border-bottom:1px solid #e5e5e5;}
.mgm-stock-dialog__header h2 {font-size:21px;font-weight:600;line-height:1.4;letter-spacing:-.25px;margin:0;}
.mgm-stock-dialog__header button {flex:0 0 36px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #ddd;border-radius:50%;background:#fff;color:#333;font-size:26px;line-height:1;cursor:pointer;}
.mgm-stock-dialog__body {padding:22px 24px 24px;font-size:14px;line-height:1.7;}
.mgm-stock-dialog p {margin:0 0 14px;}
.mgm-stock-dialog .mgm-stock-dialog__product {font-size:16px;font-weight:600;line-height:1.5;margin:0 0 6px;}
.mgm-stock-dialog .mgm-stock-dialog__variant {display:flex;gap:4px 18px;flex-wrap:wrap;font-size:13px;color:#626262;margin:0 0 21px;}
.mgm-stock-dialog__label {display:block;font-size:13px;font-weight:600;line-height:1.5;margin:18px 0 7px;}
.mgm-stock-dialog .form-control {min-height:48px;padding:11px 12px;border:1px solid #cfcfcf;border-radius:3px;font-size:15px;line-height:1.5;}
.mgm-stock-dialog .mgm-stock-dialog__submit {width:100%;min-height:48px;padding:12px 16px;margin:16px 0 0;font-size:14px;font-weight:600;border-radius:3px;}
.mgm-stock-dialog .mgm-stock-dialog__privacy {font-size:12px;line-height:1.7;color:#686868;margin:14px 0 0;}
.mgm-stock-dialog__privacy a {color:inherit;text-decoration:underline;text-underline-offset:3px;}
.mgm-stock-dialog__consent {font-size:12px;line-height:1.6;margin-top:14px;}
.mgm-stock-dialog [data-ps-target='emailalerts-alerts'] {margin-top:16px;font-size:14px;line-height:1.7;}
.mgm-stock-dialog :is(button,input,a):focus-visible {outline:2px solid var(--magmara-action,#a80a0b);outline-offset:3px;box-shadow:none;}
body.page-product #center-column .product__additional-info {margin-top:28px;gap:0;}
body.page-product #center-column .mgm-product-intro {order:0;width:100%;border-block:1px solid #e5e5e5;}
body.page-product #center-column .mgm-product-information {width:100%;border-top:0;}
body.page-product #center-column :is(.mgm-product-intro,.mgm-product-information .mgm-faq)>summary {display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;cursor:pointer;font-size:13px;font-weight:400;padding:17px 0;min-height:52px;}
body.page-product #center-column :is(.mgm-product-intro,.mgm-product-information .mgm-faq)>summary::-webkit-details-marker {display:none;}
body.page-product #center-column :is(.mgm-product-intro,.mgm-product-information .mgm-faq)>summary::after {content:'+';font-size:20px;font-weight:300;line-height:1;}
body.page-product #center-column :is(.mgm-product-intro,.mgm-product-information .mgm-faq)[open]>summary::after {content:'−';}
body.page-product #center-column :is(.mgm-product-intro,.mgm-product-information .mgm-faq)>summary:focus-visible {outline:2px solid var(--magmara-action,#a80a0b);outline-offset:3px;}
body.page-product #center-column .mgm-product-intro>.rich-text {padding:0 0 18px;font-size:13px;line-height:1.75;color:#626262;}
body.page-product #center-column .mgm-product-intro>.rich-text p:last-child {margin-bottom:0;}
/* One native accordion, aligned with the photo column instead of centred in the page. */
body.page-product #center-column .product__bottom {width:100%;max-width:none;margin:28px 0 40px;grid-template-columns:var(--mgm-product-columns);column-gap:var(--mgm-product-column-gap);row-gap:0;align-items:start;}
body.page-product #center-column .product__accordion {width:100%;border-top:1px solid #e5e5e5;}
body.page-product #center-column .product__accordion .accordion-item {border:0;border-bottom:1px solid #e5e5e5;border-radius:0;background:#fff;}
body.page-product #center-column .product__accordion .accordion-header {margin:0;}
body.page-product #center-column .product__accordion .mgm-restored-block {margin:0;padding:0;border:0;max-width:none;}
body.page-product #center-column .product__accordion .accordion-body p:last-child {margin-bottom:0;}
body.page-product #center-column .product__accordion .accordion-button {font-size:18px;}
@media(min-width:992px){
 body.page-product #center-column .product__left>.product__images>.product__carousel,
 body.page-product #center-column .product__left>.product__images>.product__thumbnails {display:none;}
 body.page-product #center-column .mgm-editorial-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:start;}
 .mgm-editorial-photo {display:block;width:100%;padding:0;border:0;border-radius:0;background:#f6f6f6;cursor:zoom-in;line-height:0;}
 .mgm-editorial-photo img {display:block;width:100%;height:auto;aspect-ratio:7/10;object-fit:contain;}
 body.page-product #center-column .mgm-editorial-gallery:has(>.mgm-editorial-photo:only-child) {grid-template-columns:1fr;}
 .mgm-editorial-photo:only-child {max-width:700px;margin-inline:auto;}
 body.page-product #center-column .product__right.mgm-sticky-purchase {position:sticky;top:195px;}
}
@media(max-width:1199px) and (min-width:992px){
 body.page-product #center-column {--mgm-product-columns:minmax(0,1.65fr) minmax(300px,1fr);--mgm-product-column-gap:26px;}
 body.page-product #center-column .product__right {padding-right:0;}
}
@media(max-width:991px){
 body.page-product #wrapper>.container,body.page-product #wrapper>.container-fluid {padding-inline:16px;}
 body.page-product #center-column {--mgm-product-columns:minmax(0,1fr);--mgm-product-column-gap:24px;}
 body.page-product #center-column .product__right {padding:0;}
 body.page-product #center-column .product__name {font-size:22px;}
 body.page-product #center-column .product__carousel img {max-height:none;}
 body.page-product #center-column .product__thumbnails {margin-top:10px;}
 body.page-product #center-column .product__thumbnail {width:48px;}
}
@media(max-width:575px){
 body.page-product #wrapper>.container,body.page-product #wrapper>.container-fluid {padding-inline:12px;}
 body.page-product #center-column {--mgm-product-column-gap:20px;}
 body.page-product #center-column .product__thumbnails-list {gap:6px;}
 body.page-product #center-column .product__actions-qty-add {grid-template-columns:minmax(0,1fr);}
 body.page-product #center-column .product__quantity {width:94px;}
}
@media(max-width:575px){.mgm-size-dialog {width:calc(100% - 24px);max-height:calc(100dvh - 32px);border-radius:7px;}.mgm-size-dialog__header {padding:17px 18px;gap:12px;}.mgm-size-dialog__header h2 {font-size:19px;}.mgm-size-dialog .mgm-size-chart__content {padding:19px 18px 22px;}.mgm-size-dialog :is(th,td) {padding:11px 12px;}.mgm-size-dialog table {font-size:13px;}.mgm-size-chart__hint {display:block;}}
@media(prefers-reduced-motion:reduce){body.page-product #center-column .mgm-size-chart>summary {transition:none;}}
