.a2-product-dialog.swal2-popup {
    max-width: calc(100vw - 24px);
    padding: 22px;
    background: #0f172a !important;
    border: 1px solid #a78bfa50 !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 80px #0009 !important;
}
.a2-product-dialog .swal2-html-container { margin: 0; overflow: visible; }
.a2-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; text-align: left; align-items: start; }
.a2-product-figure { min-width: 0; margin: 0; }
.a2-product-photo { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #000; cursor: zoom-in; }
.a2-product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.a2-product-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12px; color: #d8c3ad !important; }
.a2-product-share { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 7px 11px; background: #a78bfa0d; color: #dccbff !important; border: 1px solid #a78bfa38; border-radius: 10px; font: inherit; font-size: 12px; cursor: pointer; }
.a2-product-share i { color: inherit !important; }
.a2-product-share:hover { background: #a78bfa20; border-color: #a78bfa70; }
.a2-figure-tools { display: flex; align-items: center; gap: 6px; }
.a2-share-panel { margin-top: 18px; padding: 15px; border: 1px solid #a78bfa35; border-radius: 14px; background: #ffffff03; text-align: left; }
.a2-share-panel[hidden] { display: none !important; }
.a2-share-panel > label { display: block; color: #bfb4d0 !important; font-size: 12px; margin-bottom: 8px; }
.a2-share-link-row { display: flex; gap: 8px; }
.a2-share-link-row input { min-width: 0; flex: 1; background: #080e1b; color: #e4dcf5 !important; border: 1px solid #a78bfa35; border-radius: 9px; padding: 9px 10px; font-size: 12px; }
.a2-share-panel p { margin: 8px 0 0; font-size: 12px; color: #a2ddbe !important; line-height: 1.6; }
.a2-product-info { min-width: 0; }
.a2-product-info h2 { margin: 12px 0 10px; font-size: 21px; line-height: 1.35; font-weight: 700; color: #fff !important; }
.a2-product-description-label { display: block; margin-bottom: 5px; color: #e4e8f1 !important; font-size: 13px; font-weight: 600; text-decoration: underline; }
.a2-product-dialog .a2-desc { max-height: 260px; overflow-y: auto; padding-right: 4px; font-size: 13px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.a2-product-dialog .a2-desc,.a2-product-dialog .a2-desc * { color: #d6dce7 !important; background-color: transparent !important; }
.a2-product-dialog .a2-desc p { margin: 0 0 8px; }
.a2-product-dialog .a2-desc ul,.a2-product-dialog .a2-desc ol { padding-left: 19px; }
.a2-product-dialog .a2-desc a { color: #c7b6ff !important; text-decoration: underline; }
.a2-product-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.a2-product-stat { padding: 12px; border: 1px solid #ffffff16; border-radius: 15px; background: #ffffff04; }
.a2-product-stat > span { display: block; color: #afb7c9 !important; font-size: 11px; }
.a2-product-stat i { color: #bfa5f8 !important; margin-right: 5px; }
.a2-product-stat strong { display: block; margin-top: 4px; color: #fff !important; font-size: 14px; }
.a2-product-dialog .a2-product-actions { display: grid !important; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #ffffff12; }
.a2-product-buy,.a2-product-close { width: 100%; min-height: 46px; margin: 0; padding: 11px 16px; border-radius: 13px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.a2-product-dialog .a2-product-buy { color: #25180f !important; background: var(--ui-accent,#ffa76b) !important; border: 1px solid var(--ui-accent,#ffa76b); box-shadow: 0 7px 20px #ffa76b1c !important; border-radius: 13px !important; padding: 11px 16px !important; }
.a2-product-dialog .a2-product-close { color: #e7eaf1 !important; background: #ffffff07 !important; border: 1px solid #ffffff16; border-radius: 13px !important; padding: 11px 16px !important; }
.a2-product-buy:disabled { opacity: .45; cursor: default; }
.a2-product-dialog button:focus-visible { outline: 2px solid #d3b9ff; outline-offset: 4px; }
.a2-product-zoom.swal2-popup { background: #0f172a !important; border: 1px solid #a78bfa50 !important; border-radius: 22px !important; }
.a2-product-zoom .swal2-title { color: #fff !important; font-size: 20px; }
.a2-product-zoom .swal2-image { width: 100%; max-height: 65vh; object-fit: contain; border-radius: 15px; }
@media (max-width: 575.98px) {
    .a2-product-dialog.swal2-popup { padding: 17px; border-radius: 20px; }
    .a2-product-layout { grid-template-columns: 1fr; gap: 12px; }
    .a2-product-photo { max-height: 220px; aspect-ratio: auto; height: 220px; }
    .a2-product-info h2 { margin-top: 2px; font-size: 19px; }
    .a2-product-dialog .a2-desc { max-height: 200px; font-size: 12px; }
    .a2-product-buy,.a2-product-close { padding: 10px 8px; font-size: 12px; }
    .a2-share-link-row input { font-size: 16px; }
}
