/* MEGANET product page. Scoped to the WooCommerce single-product view. */
body.single-product {--mgp-ink:#102742;--mgp-accent:#e31b2d;--mgp-line:#e7edf3;--mgp-soft:#f6f8fb;}
body.single-product .site-main {min-width:0;}
body.single-product .mgp-hero {display:flow-root;margin:12px 0 38px;}
body.single-product .mgp-hero:after {content:"";display:block;clear:both;}
body.single-product .mgp-hero > .woocommerce-product-gallery,
body.single-product .mgp-hero > .summary {box-sizing:border-box;min-width:0;}
body.single-product .woocommerce-product-gallery {overflow:hidden;border:1px solid var(--mgp-line);border-radius:20px;background:#fff;padding:18px;}
body.single-product .woocommerce-product-gallery__wrapper {margin:0;}
body.single-product .woocommerce-product-gallery__image {display:flex!important;align-items:center;justify-content:center;background:#fff;min-height:350px;}
body.single-product .woocommerce-product-gallery__image a {display:flex;justify-content:center;align-items:center;width:100%;cursor:zoom-in;}
body.single-product .woocommerce-product-gallery__image img {display:block!important;max-width:100%!important;width:auto!important;height:auto!important;max-height:min(58vw,540px);margin-inline:auto!important;object-fit:contain!important;transform:none!important;transition:none!important;}
body.single-product .woocommerce-product-gallery .zoomImg {display:none!important;}
body.single-product .woocommerce-product-gallery .flex-control-nav {display:flex!important;gap:9px;flex-wrap:nowrap;overflow-x:auto;padding:10px 2px 2px!important;margin:8px 0 0!important;scrollbar-width:thin;}
body.single-product .woocommerce-product-gallery .flex-control-nav li {float:none!important;flex:0 0 72px!important;width:72px!important;height:72px;border:1px solid var(--mgp-line);border-radius:10px;overflow:hidden;margin:0!important;}
body.single-product .woocommerce-product-gallery .flex-control-nav li:has(.flex-active){border-color:var(--mgp-accent);}
body.single-product .woocommerce-product-gallery .flex-control-nav img {width:100%!important;height:100%!important;object-fit:contain!important;background:#fff;cursor:pointer;}
body.single-product .summary {padding:10px 4px 0;}
body.single-product .summary .mgp-brand {font-size:12px;letter-spacing:.11em;text-transform:uppercase;font-weight:800;color:var(--mgp-accent);margin:0 0 9px;}
body.single-product .summary .product_title {font-size:clamp(27px,2.5vw,38px);line-height:1.18;letter-spacing:-.025em;color:var(--mgp-ink);margin-bottom:16px;}
body.single-product .summary .price {font-size:clamp(26px,2.2vw,34px);font-weight:800;color:var(--mgp-ink);background:transparent!important;}
body.single-product .summary .price del {font-size:.57em;color:#7e8998;opacity:1;font-weight:500;}
body.single-product .summary .price ins {background:none;color:var(--mgp-accent);text-decoration:none;}
body.single-product .summary .stock {font-size:14px;font-weight:700;}
body.single-product .summary form.cart {display:flex;align-items:stretch;flex-wrap:wrap;gap:10px;margin-block:22px!important;}
body.single-product .summary form.variations_form {display:block;}
body.single-product .summary .variations {width:100%;}
body.single-product .summary .single_variation_wrap .variations_button {display:flex;gap:10px;flex-wrap:wrap;align-items:stretch;}
body.single-product .summary .quantity {margin:0!important;}
body.single-product .summary .single_add_to_cart_button {min-height:48px;padding:12px 26px!important;border-radius:10px!important;background:var(--mgp-ink)!important;color:#fff!important;font-weight:800!important;}
body.single-product .summary .single_add_to_cart_button:hover {background:var(--mgp-accent)!important;}
body.single-product .summary .single_add_to_cart_button:disabled {opacity:.5;cursor:not-allowed;}
body.single-product .mgp-trust {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:22px;padding:15px;border:1px solid var(--mgp-line);border-radius:14px;background:var(--mgp-soft);font-size:12px;font-weight:700;color:#364a60;}
body.single-product .mgp-trust span {display:flex;align-items:center;gap:7px;}
body.single-product .mgp-trust span:before {content:"✓";color:#16805c;font-weight:900;}
body.single-product .woocommerce-tabs {clear:both;margin-block:34px;padding:22px 26px;border:1px solid var(--mgp-line);border-radius:18px;background:#fff;}
body.single-product .woocommerce-Tabs-panel {line-height:1.75;overflow-wrap:anywhere;}
body.single-product .woocommerce-Tabs-panel h2 {color:var(--mgp-ink);font-size:clamp(21px,2vw,28px);margin:24px 0 12px;}
body.single-product .woocommerce-Tabs-panel h2:first-child {margin-top:0;}
body.single-product .woocommerce-Tabs-panel table {width:100%;border-collapse:collapse;}
body.single-product .woocommerce-Tabs-panel td,body.single-product .woocommerce-Tabs-panel th {padding:10px 12px;border-bottom:1px solid var(--mgp-line);text-align:start;}
body.single-product .related.products {clear:both;margin-block:38px;}
body.single-product .mgp-discover {clear:both;margin:50px 0 70px;padding:25px 0;border-top:1px solid var(--mgp-line);}
body.single-product .mgp-section-head {display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;}
body.single-product .mgp-eyebrow {font-size:11px;letter-spacing:.14em;font-weight:900;color:var(--mgp-accent);}
body.single-product .mgp-section-head h2 {font-size:clamp(23px,2.6vw,32px);color:var(--mgp-ink);letter-spacing:-.025em;margin:4px 0 0;}
body.single-product .mgp-controls {display:flex;gap:8px;}
body.single-product .mgp-controls button {width:38px;height:38px;border:1px solid var(--mgp-line);border-radius:50%;background:#fff;color:var(--mgp-ink);font-size:25px;cursor:pointer;line-height:1;}
body.single-product .mgp-controls button:hover {border-color:var(--mgp-accent);color:var(--mgp-accent);}
body.single-product .mgp-rail {display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scroll-padding-inline:2px;overscroll-behavior-inline:contain;padding-bottom:12px;}
body.single-product .mgp-group {flex:0 0 min(580px,85vw);min-width:0;scroll-snap-align:start;}
body.single-product .mgp-group-title {display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none!important;color:var(--mgp-ink);font-size:17px;font-weight:800;padding:0 3px 12px;}
body.single-product .mgp-group-title:hover {color:var(--mgp-accent);}
body.single-product .mgp-group-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
body.single-product .mgp-card {display:flex;flex-direction:column;min-width:0;border:1px solid var(--mgp-line);border-radius:14px;overflow:hidden;background:#fff;}
body.single-product .mgp-card-image {position:relative;display:flex;align-items:center;justify-content:center;height:188px;padding:12px;}
body.single-product .mgp-card-image img {width:100%;height:100%;object-fit:contain;background:#fff;}
body.single-product .mgp-card-sale {position:absolute;inset-block-start:10px;inset-inline-start:10px;background:var(--mgp-accent);color:#fff;padding:4px 7px;font-size:11px;font-weight:800;border-radius:6px;}
body.single-product .mgp-card-content {display:flex;flex-direction:column;align-items:flex-start;flex:1;gap:7px;padding:11px 13px 14px;}
body.single-product .mgp-card-content h3 {font-size:13px;line-height:1.4;min-height:2.8em;margin:0;}
body.single-product .mgp-card-content h3 a {color:var(--mgp-ink);text-decoration:none;}
body.single-product .mgp-card-price {font-size:16px;font-weight:800;color:var(--mgp-ink);}
body.single-product .mgp-card-price del {font-size:12px;color:#8290a0;}
body.single-product .mgp-card-price ins {color:var(--mgp-accent);background:none;text-decoration:none;}
body.single-product .mgp-card-stock {font-size:11px;color:#617083;}
body.single-product .mgp-card-cta {display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:44px;min-width:44px;background:var(--mgp-ink);color:#fff!important;text-decoration:none!important;border-radius:8px;padding:10px 12px;font-weight:700;font-size:12px;margin-top:auto;}
body.single-product .mgp-card-cta:hover {background:var(--mgp-accent);}
@media(max-width:767px){
 body.single-product .mgp-hero {display:flex;flex-direction:column;margin-top:8px;gap:18px;}
 body.single-product .mgp-hero > .woocommerce-product-gallery,body.single-product .mgp-hero > .summary {float:none!important;width:100%!important;margin:0!important;}
 body.single-product .woocommerce-product-gallery {padding:10px;}
 body.single-product .woocommerce-product-gallery__image {min-height:245px;}
 body.single-product .woocommerce-product-gallery__image img {max-height:360px;}
 body.single-product .summary {padding:0;}
 body.single-product .woocommerce-tabs {padding:14px;margin-block:22px;}
 body.single-product .mgp-group {flex-basis:min(510px,90vw);}
 body.single-product .mgp-card-image {height:150px;}
}
@media(max-width:430px){
 body.single-product .mgp-trust {font-size:11px;padding:11px;gap:7px;}
 body.single-product .summary .single_add_to_cart_button {flex:1;}
 body.single-product .mgp-group {flex-basis:90vw;}
 body.single-product .mgp-group-cards {gap:8px;}
 body.single-product .mgp-card-image {height:130px;}
 body.single-product .mgp-card-content {padding:9px;}
 body.single-product .mgp-card-content h3 {font-size:12px;}
 body.single-product .mgp-controls button {width:44px;height:44px;min-width:44px;min-height:44px;}
}
@media(prefers-reduced-motion:no-preference){body.single-product .mgp-rail {scroll-behavior:smooth;}}
body.single-product.meganet-lang-ar .mgp-discover {direction:rtl;}
/* v4 — Blocksy-specific fixes after a real product-page screenshot. */
body.single-product .summary .product_meta,
body.single-product .summary .ct-product-meta,
body.single-product .summary [data-id="product_meta"] {display:none!important;}
body.single-product .summary .mgp-sku {font-size:12px;font-weight:600;color:#738397;margin:2px 0 8px;letter-spacing:.015em;}
body.single-product .summary .stock {color:#187650!important;}
body.single-product .ct-product-gallery-container .flexy-view .ct-media-container {height:min(47vw,455px)!important;aspect-ratio:auto!important;background:#fff;}
body.single-product .ct-product-gallery-container .flexy-view .ct-media-container img {width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;}
body.single-product .ct-product-gallery-container .zoomImg,
body.single-product .ct-product-gallery-container .ct-image-zoom {display:none!important;}
@media(max-width:767px){body.single-product .ct-product-gallery-container .flexy-view .ct-media-container {height:min(83vw,390px)!important;}}
