:root{--mg-blue:#1769e0;--mg-blue-dark:#0d3f86;--mg-text:#10294b;--mg-muted:#5d708b;--mg-line:#d6e2f0;--mg-soft:#f2f7fd;--mg-green:#138a64;--mg-gold:#f1a719}
body.mg-product-page{margin:0;background:#f4f8fd;color:var(--mg-text);font-family:Vazirmatn,Arial,sans-serif;overflow-x:hidden}
.mg-product-page *{box-sizing:border-box}
.mg-product-page a{text-decoration:none}
.mg-product-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:32px 0 80px}
.mg-breadcrumb{display:flex;align-items:center;gap:9px;color:#71829a;font-size:13px;margin:4px 0 24px}
.mg-breadcrumb a{color:#315d93}.mg-breadcrumb a:hover{color:var(--mg-blue)}
.mg-product-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:24px;align-items:stretch}
.mg-product-media,.mg-product-summary,.mg-product-about,.mg-reviews,.mg-related-products{background:#fff;border:1px solid var(--mg-line);border-radius:24px;box-shadow:0 18px 50px rgba(26,68,120,.09)}
.mg-product-media{padding:24px;display:flex;align-items:center;justify-content:center;min-height:520px;overflow:hidden}
.mg-product-media img{display:block;width:100%;height:auto;max-height:500px;aspect-ratio:16/9;object-fit:contain;border-radius:17px;background:#f8fafc}
.mg-product-fallback{width:100%;aspect-ratio:16/9;display:grid;place-items:center;border-radius:17px;background:color-mix(in srgb,var(--accent),white 88%);color:var(--accent);font-size:70px;font-weight:900}
.mg-product-summary{padding:38px;display:flex;flex-direction:column;align-items:stretch}
.mg-product-badge{align-self:flex-start;padding:7px 14px;border-radius:999px;background:#fff5db;border:1px solid #f2d899;color:#94630a;font-size:12px;font-weight:700}
.mg-product-summary h1{margin:18px 0 9px;color:#0b2648;font-size:clamp(30px,3vw,44px);line-height:1.4;font-weight:900}
.mg-product-lead{margin:0;color:#4f627d;font-size:16px;line-height:2.05;font-weight:500}
.mg-rating-link{display:flex;align-items:center;gap:8px;margin-top:16px;color:#52647d;font-size:13px}.mg-rating-link b{color:#132f54}.mg-rating-link small{font-size:12px}
.mg-stars-static{color:var(--mg-gold);letter-spacing:2px;direction:ltr;white-space:nowrap}.mg-stars-static i{color:#d4dce5;font-style:normal}
.mg-product-price{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:auto;padding-top:28px;border-top:1px solid var(--mg-line)}
.mg-product-price div{display:grid;gap:7px}.mg-product-price small{font-size:12px;color:#6c7c92}.mg-product-price del{font-size:14px;color:#9aa9bb}
.mg-product-price strong{color:#0d4f9e;font-size:clamp(25px,2.4vw,36px);line-height:1;font-weight:900;white-space:nowrap}.mg-product-price strong span{font-size:16px}
.mg-promotion-label{margin-top:13px;background:#eaf9f3;color:#087450;border-radius:10px;padding:9px 12px;font-size:13px;font-weight:700}
.mg-buy-button{margin-top:18px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border-radius:13px;background:linear-gradient(110deg,#1167db,#2f7cec);color:#fff!important;font-size:16px;font-weight:800;box-shadow:0 12px 28px rgba(23,105,224,.25)}
.mg-buy-button:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(23,105,224,.32)}
.mg-product-assurances{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:19px;color:#4d617c;font-size:12px}.mg-product-assurances span::first-letter{color:var(--mg-green)}
.mg-info-note{margin-top:20px;border:1px solid #9fdccc;background:#effbf7;color:#275d50;border-radius:13px;padding:13px 15px;font-size:12px;line-height:1.9}
.mg-product-about{margin-top:24px;padding:42px 48px}
.mg-section-heading>span{display:block;color:var(--mg-blue);font-size:12px;font-weight:800;margin-bottom:7px}.mg-section-heading h2{margin:0;color:#102b50;font-size:clamp(24px,2.4vw,32px);font-weight:900;line-height:1.55}
.mg-product-prose{margin-top:23px;color:#263f61;font-size:17px;line-height:2.35;font-weight:500;white-space:normal}
.mg-order-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:32px;padding-top:28px;border-top:1px solid var(--mg-line)}
.mg-order-steps>div{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid #dae6f3;background:#f8fbff;border-radius:15px}.mg-order-steps b{width:38px;height:38px;border-radius:12px;background:#e4efff;color:#1769e0;display:grid;place-items:center;font-size:17px}.mg-order-steps span{display:grid;gap:5px}.mg-order-steps strong{font-size:14px;color:#17385f}.mg-order-steps small{font-size:11px;color:#6c7f97;line-height:1.8}
.mg-reviews{margin-top:24px;padding:42px 48px}.mg-review-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;margin-top:26px}
.mg-review-summary,.mg-review-form-card{border:1px solid var(--mg-line);border-radius:18px;background:#f8fbff;padding:24px}.mg-review-summary{text-align:center;display:flex;flex-direction:column;justify-content:center}.mg-review-summary>strong{font:900 47px Arial;color:#123661}.mg-review-summary .mg-stars-static{font-size:20px;margin:6px 0}.mg-review-summary p{font-size:13px;font-weight:700;margin:5px 0;color:#334d6d}.mg-review-summary small{font-size:11px;color:#76869a}
.mg-review-form-card h3{margin:0 0 10px;font-size:18px;color:#14365f}.mg-review-state{font-size:12px;color:#6b7e95;margin:0 0 15px}.mg-review-success{padding:12px 14px;border-radius:11px;background:#e8f8f1;border:1px solid #a2dcc8;color:#0b7552;font-size:13px;margin-bottom:16px}.mg-review-errors{padding:10px 12px;border-radius:9px;background:#fff1f1;color:#a53030;font-size:12px;margin-bottom:12px}
.mg-rating-input{border:0;padding:0;margin:13px 0 18px;display:flex;flex-direction:row;justify-content:flex-end;direction:ltr;gap:3px}.mg-rating-input legend{width:100%;text-align:right;direction:rtl;color:#50627b;font-size:12px;margin-bottom:5px}.mg-rating-input input{position:absolute;opacity:0;pointer-events:none}.mg-rating-input label{font-size:31px;color:#cad4df;cursor:pointer;line-height:1}.mg-rating-input input:checked~label,.mg-rating-input label:hover,.mg-rating-input label:hover~label{color:var(--mg-gold)}
.mg-field{display:block;margin:13px 0;color:#334d6d;font-size:12px;font-weight:700}.mg-field>span{font-weight:400;color:#8290a3}.mg-field input,.mg-field textarea{display:block;width:100%;margin-top:7px;border:1px solid #cbd9e9;border-radius:11px;background:#fff;color:#173452;padding:12px 14px;font:500 14px Vazirmatn;outline:0}.mg-field textarea{resize:vertical;line-height:1.9}.mg-field input:focus,.mg-field textarea:focus{border-color:#4a8ce4;box-shadow:0 0 0 3px rgba(23,105,224,.09)}
.mg-review-submit,.mg-review-login a{border:0;border-radius:11px;background:#1769e0;color:#fff!important;padding:12px 20px;font:800 13px Vazirmatn;cursor:pointer}.mg-review-login{text-align:center;padding:18px}.mg-review-login h3{font-size:20px}.mg-review-login p{font-size:13px;color:#61748d;margin-bottom:23px}
.mg-review-list{display:grid;gap:14px;margin-top:24px}.mg-review-card{padding:22px;border:1px solid var(--mg-line);border-radius:16px;background:#fff}.mg-review-card header{display:flex;align-items:center;gap:11px}.mg-review-avatar{width:42px;height:42px;border-radius:13px;background:#e6f0ff;color:#1769e0;display:grid;place-items:center;font-size:17px;font-weight:900}.mg-review-card header>div:nth-child(2){display:grid}.mg-review-card header strong{font-size:14px}.mg-review-card header small{font-size:10px;color:#8190a2}.mg-review-rating{margin-right:auto;color:var(--mg-gold);letter-spacing:1px;direction:ltr}.mg-review-rating span{color:#d4dce5}.mg-verified-badge{display:inline-block;margin-top:13px;padding:5px 9px;border-radius:8px;background:#e9f8f2;color:#0f7855;font-size:10px;font-weight:700}.mg-review-card h3{font-size:16px;margin:15px 0 5px}.mg-review-card>p{margin:8px 0 0;color:#425875;font-size:14px;line-height:2}.mg-admin-reply{margin-top:17px;padding:14px 17px;border-radius:12px;background:#f1f6fd;border-right:3px solid #1769e0}.mg-admin-reply b{font-size:12px;color:#145dbd}.mg-admin-reply p{margin:5px 0 0;color:#425875;font-size:13px;line-height:1.9}.mg-reviews-empty{text-align:center;border:1px dashed #c6d5e6;border-radius:14px;padding:28px;color:#697c94;font-size:13px}
.mg-related-products{margin-top:24px;padding:36px 40px}.mg-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:22px}.mg-related-grid>a{display:flex;flex-direction:column;gap:10px;border:1px solid #d6e2ef;border-radius:15px;padding:14px;color:#163a64;background:#fff;min-width:0}.mg-related-grid img{width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:10px;background:#f6f9fd}.mg-related-icon{width:48px;height:48px;border-radius:13px;background:#e7f0fd;color:#1769e0;display:grid;place-items:center;font-weight:900}.mg-related-grid strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mg-related-grid small{font-size:13px;color:#1769e0;font-weight:800}
@media(max-width:900px){.mg-product-hero{grid-template-columns:1fr}.mg-product-media{min-height:0}.mg-product-summary{min-height:500px}.mg-review-grid{grid-template-columns:1fr}.mg-review-summary{min-height:190px}.mg-related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.mg-product-wrap{width:min(100% - 24px,1180px);padding-top:18px}.mg-breadcrumb{font-size:11px;overflow:hidden;white-space:nowrap}.mg-product-media,.mg-product-summary,.mg-product-about,.mg-reviews,.mg-related-products{border-radius:18px}.mg-product-media{padding:12px}.mg-product-media img{border-radius:12px}.mg-product-summary{padding:25px 20px;min-height:0}.mg-product-summary h1{font-size:29px}.mg-product-lead{font-size:14px}.mg-product-price{align-items:flex-start;flex-direction:column}.mg-product-price strong{font-size:29px}.mg-product-assurances{justify-content:flex-start;gap:9px}.mg-product-about,.mg-reviews,.mg-related-products{padding:28px 20px}.mg-product-prose{font-size:15px;line-height:2.25}.mg-order-steps{grid-template-columns:1fr}.mg-review-form-card,.mg-review-summary{padding:20px 16px}.mg-review-card header{align-items:flex-start;flex-wrap:wrap}.mg-review-rating{width:100%;margin:4px 53px 0 0}.mg-related-grid{grid-template-columns:1fr 1fr;gap:10px}.mg-related-grid>a{padding:10px}.mg-related-grid strong{font-size:12px}.mg-related-grid small{font-size:11px}}
