.maqaze-options-open.button { height: 50px; box-sizing: border-box; font-weight: 400; }
.single-product .summary.entry-summary .price, .maqaze-options-body .price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; max-width: 100%; margin-inline: 0; }
.single-product .summary.entry-summary .cart .price { justify-content: flex-end; margin-inline-start: auto; }
.single-product .summary.entry-summary .price > .onsale, .maqaze-options-body .price > .onsale { position: static; inset: auto; flex: 0 0 auto; margin: 0; }
.single-product .summary.entry-summary .price > del, .single-product .summary.entry-summary .price > ins, .maqaze-options-body .price > del, .maqaze-options-body .price > ins { white-space: nowrap; }
.single-product .summary.entry-summary .price .amount, .maqaze-options-body .price .amount { display: inline-block; white-space: nowrap; margin-inline: 0; }
.single-product .summary.entry-summary .price del .amount, .maqaze-options-body .price del .amount { text-decoration: line-through; text-decoration-thickness: 1px; }
.single-product .summary.entry-summary .price .woocommerce-Price-currencySymbol, .maqaze-options-body .price .woocommerce-Price-currencySymbol { display: inline; position: static; margin: 0; font-size: 13px; font-weight: 400; }
.single-product .summary form.cart, .maqaze-options-body form.cart { min-width: 0; max-width: 100%; }
.single-product .summary form.cart select, .single-product .summary form.cart input, .single-product .summary form.cart textarea { box-sizing: border-box; max-width: 100%; min-width: 0; }
.single-product .summary .variations { width: 100%; table-layout: fixed; }
.single-product .summary .variations th, .single-product .summary .variations td { display: block; text-align: start; padding: 0 0 10px; width: 100%; }
.maqaze-choices { display: flex; flex-wrap: wrap; gap: 10px 20px; max-width: 100%; margin: 8px 0 12px; }
.maqaze-choices .maqaze-choice { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 44px; max-width: 100%; height: auto; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: #212121; font-size: 14px; font-weight: 400; line-height: 1.8; text-align: start; box-shadow: none; }
.maqaze-choice-mark, .wc-pao-addon .maqaze-choice-input { width: 40px; height: 40px; flex: 0 0 40px; box-sizing: border-box; border: 1px solid #cdd1d8; border-radius: 0; background: #fff; }
.maqaze-choice-mark { display: grid; place-items: center; }
.maqaze-choice[aria-checked="true"] .maqaze-choice-mark::after { content: '✓'; font-size: 24px; color: #38178a; }
.maqaze-choice[aria-checked="true"] .maqaze-choice-mark, .wc-pao-addon .maqaze-choice-input:checked { border-color: #38178a; background-color: #f7f4fc; }
.maqaze-choice-label { min-width: 0; overflow-wrap: anywhere; }
.maqaze-choice:disabled { opacity: .4; cursor: not-allowed; }
.maqaze-choice[hidden] { display: none !important; }
.maqaze-choice:focus-visible, .wc-pao-addon .maqaze-choice-input:focus-visible { outline: 2px solid #38178a !important; outline-offset: 3px; }
.maqaze-choice-field { position: relative; min-width: 0; }
.maqaze-choice-field > select.maqaze-choice-source { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.maqaze-choice-field > .wc-pao-addon-image-swatch, .maqaze-choice-field > .wc-pao-addon-image-swatch-selected-swatch { display: none !important; }
.wc-pao-addon .maqaze-native-choice { display: flex; align-items: center; gap: 10px; margin: 10px 0; min-width: 0; }
.wc-pao-addon .maqaze-choice-input { appearance: none; -webkit-appearance: none; display: inline-block; margin: 0; cursor: pointer; background-position: center; background-repeat: no-repeat; background-size: 22px; }
.wc-pao-addon .maqaze-choice-input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338178a' stroke-width='2'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E"); }
.wc-pao-addon .maqaze-native-choice label { min-width: 0; font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.wc-pao-addon .maqaze-choice-input:disabled { opacity: .4; cursor: not-allowed; }
@media(max-width: 768px) { .single-product #sticky.maqaze-mobile-navigation { display: block !important; } }
.single-product .product-gallery .woocommerce-product-gallery__image > a { display: block; aspect-ratio: 1; background: #fff; }
.single-product .product-gallery .woocommerce-product-gallery__image > a > img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; max-height: none; }
.single-product .product-gallery .flex-viewport { aspect-ratio: 1; height: auto !important; }
.single-product .product-gallery .woocommerce-product-gallery__image, .single-product .product-gallery .woocommerce-product-gallery__image--placeholder { max-height: none; }
.single-product .product-gallery .woocommerce-product-gallery__image--placeholder > img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.single-product .flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; }
.maqaze-options-dialog { width: 450px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); border: 0; padding: 0; background: transparent; color: var(--primary-color, #212121); margin: auto; overflow: visible; }
.maqaze-options-dialog:not([open]) { display: none; }
.maqaze-options-dialog::backdrop { background: #ffffff8f; backdrop-filter: blur(5px); }
.maqaze-options-dialog .popup-cart-content { width: 100%; margin: 0; padding: 24px; max-height: calc(100dvh - 32px); overflow: auto; align-items: stretch; text-align: right; }
.maqaze-options-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.maqaze-options-heading h2 { font-size: 19px; font-weight: 400; }
.maqaze-options-dialog .maqaze-options-close { width: 36px; height: 36px; padding: 0; color: #212121; background: #fff; border: 1px solid #e6e2eb; font-size: 24px; line-height: 1; }
.maqaze-options-dialog .popup-cart-content > .maqaze-options-product { font-size: 14px; color: #625d69; margin: 12px 0 16px; }
.maqaze-options-body form.cart { width: 100%; }
.maqaze-options-body .variations { width: 100%; margin-bottom: 16px; }
.maqaze-options-body .variations th, .maqaze-options-body .variations td { display: block; text-align: right; padding-bottom: 8px; }
.maqaze-options-body select, .maqaze-options-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .maqaze-options-body textarea { max-width: 100%; box-sizing: border-box; }
.maqaze-options-body select { width: 100%; min-height: 44px; }
.maqaze-options-body .single_add_to_cart_button { height: 50px; font-weight: 400; margin-bottom: 0; }
.maqaze-options-feedback { font-size: 14px; line-height: 1.9; }
.maqaze-options-feedback.is-error { color: #a32424; }
.maqaze-options-feedback:empty { display: none; }
.maqaze-options-check-cart { margin-top: 12px; text-decoration: underline; }
.maqaze-options-check-cart[hidden] { display: none; }
.maqaze-options-dialog :focus-visible { outline: 2px solid var(--secondary-color, #38178a) !important; outline-offset: 3px; }
@media(max-width: 480px) { .maqaze-options-dialog .popup-cart-content { padding: 20px; } }

/* Secondary international collection link matches the local purchase button. */
.single-product .summary.entry-summary .maqaze-world-shop-link { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 50px; min-height: 50px; gap: 10px; -webkit-tap-highlight-color: transparent; margin: 0 0 20px; padding: 8px 16px; border: 1px solid #212121; border-radius: 0; background: transparent; color: #212121; font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; text-align: center; text-decoration: none; box-shadow: none; }
.single-product .summary.entry-summary form.cart:has(+ .maqaze-world-shop-link) { margin-bottom: 6px; }
.single-product .summary.entry-summary .maqaze-world-shop-link:is(:hover, :active, :focus, :visited) { background: transparent; color: #212121; }
.single-product .summary.entry-summary .maqaze-world-shop-link:focus-visible { outline: 2px solid #212121; outline-offset: 3px; }

.single-product .summary.entry-summary form.cart:has(+ .maqaze-world-shop-link) .single_add_to_cart_button { margin-bottom: 10px; }
.single-product .summary.entry-summary .maqaze-world-shop-link svg { flex: 0 0 16px; width: 16px; height: 16px; }

/* Compact direction guide for the existing RTL review stars. */
.single-product #review_form .maqaze-review-scale { display: flex; direction: rtl; align-items: center; justify-content: space-between; gap: 8px; width: 80px; margin: 6px 0 0; padding: 0; color: #625d58; font-size: 11px; line-height: 1.5; }
.single-product #review_form .maqaze-review-scale svg { display: block; flex: 1 1 auto; min-width: 0; height: 10px; }
.single-product #review_form .comment-form-rating:has(.maqaze-review-scale) p.stars { margin-bottom: 0; }



