:root{--pp-blue:#075af2;--pp-navy:#10224e;--pp-border:#e2eaf6;--pp-muted:#65748d;--pp-soft:#f4f8ff}
body.pp-product-page{direction:rtl;background:#fff;color:var(--pp-navy);font-family:Tahoma,Arial,sans-serif;margin:0}
.pp-product-page *{box-sizing:border-box}.pp-product-page a{text-decoration:none}.pp-product-page .pp-container{max-width:1240px;margin-inline:auto;padding-inline:22px}.pp-product-page .pp-header{background:#fff;border-bottom:1px solid #edf1f8}.pp-product-page .pp-top{display:flex;align-items:center;gap:32px;padding-block:10px}.pp-product-page .pp-brand{flex:none}.pp-product-page .pp-brand img{width:88px;height:auto;object-fit:contain}.pp-product-page .pp-search{display:flex;flex:1;max-width:530px;margin-inline:auto;flex-direction:row}.pp-product-page .pp-search input{min-width:0;flex:1;border:1px solid #e1e8f4;background:#fafcff;padding:13px 16px;border-radius:0 12px 12px 0;font:inherit}.pp-product-page .pp-search button{border:0;border-radius:12px 0 0 12px;background:var(--pp-blue);color:#fff;padding:10px 19px;font:inherit;cursor:pointer}.pp-product-page .pp-actions{display:flex;gap:20px;white-space:nowrap;font-size:13px;font-weight:700}.pp-product-page .pp-actions a,.pp-product-page .pp-nav a{color:var(--pp-navy)}.pp-product-page .pp-nav{display:flex;gap:25px;align-items:center;min-height:48px;flex-wrap:wrap}.pp-product-page .pp-nav ul{display:flex;gap:25px;list-style:none;margin:0;padding:0}.pp-product-page .pp-skip{position:absolute;top:-200px}.pp-product-page .pp-skip:focus{top:0;z-index:99;background:#fff}.pp-single{padding-block:18px 60px}.pp-breadcrumb{font-size:12px;color:var(--pp-muted);margin:4px 0 20px}.pp-breadcrumb a{color:var(--pp-muted)}
.pp-single-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:26px;align-items:start}.pp-single-summary{grid-column:1;grid-row:1;min-width:0}.pp-single-gallery{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:12px;min-width:0}.pp-gallery-main{border:1px solid var(--pp-border);border-radius:20px;background:radial-gradient(circle at 50% 45%,#e0efff,#f8fbff 65%,#fff);min-height:475px;display:grid;place-items:center;overflow:hidden;padding:16px}.pp-gallery-main img{max-width:100%;width:auto;height:auto;max-height:455px;object-fit:contain}.pp-gallery-thumbs{display:flex;flex-direction:column;gap:9px;max-height:490px;overflow:auto}.pp-gallery-thumb{border:1px solid var(--pp-border);border-radius:12px;background:#fff;cursor:pointer;padding:5px;min-height:75px;display:grid;place-items:center}.pp-gallery-thumb.is-active{border:2px solid var(--pp-blue)}.pp-gallery-thumb img{max-width:100%;max-height:67px;object-fit:contain}.pp-product-badge{display:inline-block;background:#fff0f1;color:#c72639;border-radius:8px;padding:7px 12px;font-size:12px;font-weight:700}.pp-woo-summary h1.product_title{font-size:clamp(22px,2.4vw,32px);line-height:1.7;color:var(--pp-navy);margin:9px 0}.pp-woo-summary .woocommerce-product-rating{display:flex;gap:10px;align-items:center}.pp-woo-summary .price{color:var(--pp-blue)!important;font-weight:800!important;font-size:clamp(22px,2.5vw,34px)!important;margin:12px 0!important}.pp-woo-summary .woocommerce-product-details__short-description{color:var(--pp-muted);line-height:1.95;font-size:14px}.pp-woo-summary .cart{border:1px solid var(--pp-border);background:var(--pp-soft);border-radius:16px;padding:16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pp-woo-summary .cart .quantity .qty{width:65px;border:1px solid var(--pp-border);border-radius:8px;padding:9px}.pp-woo-summary .single_add_to_cart_button{background:var(--pp-blue)!important;border-radius:10px!important;min-height:45px;padding:12px 24px!important;color:#fff!important;flex:1}.pp-woo-summary .variations_form.cart{display:block}.pp-woo-summary .variations{width:100%}.pp-woo-summary .variations td{padding:8px}.pp-woo-summary .variations select{max-width:100%}.pp-woo-summary .product_meta{font-size:12px;color:var(--pp-muted);line-height:2.1}.pp-payment-note{margin-top:14px;padding:16px 20px;border:1px solid var(--pp-border);border-radius:14px;background:#fff}.pp-payment-note strong{font-size:15px}.pp-payment-note p{font-size:13px;line-height:1.9;color:var(--pp-muted);margin:5px 0 0}
.pp-single-benefits{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--pp-border);border-radius:16px;margin:22px 0;background:#fafdff}.pp-single-benefits>div{padding:17px 10px;text-align:center;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.pp-single-benefits>div+div{border-right:1px solid var(--pp-border)}.pp-single-benefits span{font-size:25px;color:var(--pp-blue)}.pp-single-benefits strong{font-size:13px}.pp-single-benefits small{color:var(--pp-muted);font-size:11px}.pp-content-nav{display:flex;flex-wrap:wrap;gap:22px;padding:17px 18px;border:1px solid var(--pp-border);border-radius:15px 15px 0 0;background:#fff}.pp-content-nav a{color:var(--pp-navy);font-weight:700;font-size:14px}.pp-content-nav a:hover{color:var(--pp-blue)}.pp-long-content,.pp-specifications,.pp-reviews{padding:24px;border:1px solid var(--pp-border);border-top:0;background:#fff}.pp-long-content{border-radius:0 0 16px 16px}.pp-long-content>h2,.pp-specifications>h2{font-size:23px;color:var(--pp-navy);margin:0 0 22px}.pp-article-body{font-size:15px;line-height:2.15;color:#334360;overflow-wrap:anywhere}.pp-article-body h2{font-size:23px;line-height:1.6;color:var(--pp-navy);margin:32px 0 15px;padding:14px 20px;background:linear-gradient(90deg,#fff,#eff6ff);border-right:4px solid var(--pp-blue);border-radius:12px}.pp-article-body h3{font-size:19px;color:#064bb9;margin:24px 0 12px}.pp-article-body h4{font-size:16px;color:var(--pp-navy)}.pp-article-body p{margin:0 0 18px}.pp-article-body ul,.pp-article-body ol{padding:18px 42px 18px 18px;border:1px solid #e8eef9;border-radius:14px;background:#f8fbff;margin:18px 0;display:grid;gap:8px}.pp-article-body li::marker{color:var(--pp-blue)}.pp-article-body blockquote{background:#edf5ff;border-right:4px solid var(--pp-blue);padding:20px;border-radius:12px;margin:22px 0}.pp-article-body img{max-width:100%;height:auto;border-radius:14px}.pp-article-body figure{max-width:100%}.pp-article-body .wp-block-columns{gap:20px}.pp-article-body .pp-table-scroll{overflow-x:auto;margin:24px 0;border:1px solid var(--pp-border);border-radius:14px}.pp-article-body table,.pp-specifications table{border-collapse:collapse;width:100%;margin:15px 0}.pp-article-body table th,.pp-article-body table td,.pp-specifications th,.pp-specifications td{border:1px solid var(--pp-border);padding:12px 14px;text-align:right}.pp-article-body table tr:nth-child(even),.pp-specifications tr:nth-child(even){background:#f5f9ff}.pp-article-body a{color:#075af2;text-decoration:underline}.pp-article-body iframe{max-width:100%}.pp-related{margin-top:28px}.pp-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.pp-section-head h2{font-size:22px;margin:0}.pp-section-head a{color:var(--pp-blue);font-size:13px}.pp-related-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.pp-related-card{border:1px solid var(--pp-border);border-radius:15px;padding:12px;text-align:center;min-width:0}.pp-related-card img{width:100%;height:150px;object-fit:contain}.pp-related-card h3{font-size:13px;line-height:1.9;min-height:50px;color:var(--pp-navy)}.pp-related-price{color:var(--pp-blue);font-size:14px;font-weight:700;min-height:30px}.pp-related-link{display:block;background:var(--pp-blue);color:#fff!important;border-radius:9px;padding:10px 8px;margin-top:8px;font-size:12px}.pp-single-footer{background:#f3f7fe;border-top:1px solid var(--pp-border);padding:30px 0}.pp-single-footer .pp-container{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.pp-single-footer a{font-weight:800;color:var(--pp-blue)}.pp-single-footer span{font-size:13px;color:var(--pp-muted)}
@media(max-width:950px){.pp-single-top{grid-template-columns:1fr}.pp-single-summary{grid-column:1;grid-row:2}.pp-single-gallery{grid-column:1;grid-row:1}.pp-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-product-page .pp-top{gap:12px}.pp-product-page .pp-actions{gap:10px}.pp-product-page .pp-nav{gap:12px}}
@media(max-width:620px){.pp-product-page .pp-container{padding-inline:12px}.pp-product-page .pp-top{flex-wrap:wrap}.pp-product-page .pp-brand img{width:65px}.pp-product-page .pp-search{order:3;flex-basis:100%;max-width:none}.pp-product-page .pp-actions{margin-inline-start:auto}.pp-product-page .pp-nav{overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;padding-block:10px;font-size:12px}.pp-single-gallery{grid-template-columns:1fr}.pp-gallery-main{min-height:330px}.pp-gallery-main img{max-height:320px}.pp-gallery-thumbs{flex-direction:row;grid-row:2;max-height:none;overflow-x:auto}.pp-gallery-thumb{min-width:70px}.pp-single-benefits{grid-template-columns:repeat(2,1fr)}.pp-single-benefits>div{border-bottom:1px solid var(--pp-border)}.pp-content-nav{gap:14px}.pp-long-content,.pp-specifications,.pp-reviews{padding:15px}.pp-article-body{font-size:14px}.pp-article-body h2{font-size:19px}.pp-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-related-card img{height:125px}}
/* Auto-arranged long-form copy: existing headings and text are moved, never duplicated or hidden. */
.pp-auto-toc{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#eef5ff;border:1px solid #dce9fc;border-radius:14px;padding:15px 18px;margin:12px 0 25px}.pp-auto-toc strong{color:var(--pp-navy);margin-left:10px}.pp-auto-toc a{font-size:13px;text-decoration:none;border-radius:30px;padding:5px 12px;background:#fff;border:1px solid #d8e5fb;color:#075af2}.pp-auto-section{border:1px solid #e3eaf6;border-radius:18px;padding:22px 26px;margin:18px 0 26px;background:#fff;box-shadow:0 5px 20px rgba(9,53,130,.035)}.pp-auto-section:nth-of-type(even){background:linear-gradient(115deg,#f4f9ff,#fff)}.pp-auto-section h2:first-child{margin-top:0}.pp-auto-section:has(>figure),.pp-auto-section:has(>img){display:flow-root}.pp-auto-section>figure,.pp-auto-section>img{max-width:42%;float:left;margin:4px 18px 15px 0}.pp-auto-section:nth-of-type(even)>figure,.pp-auto-section:nth-of-type(even)>img{float:right;margin:4px 0 15px 18px}@media(max-width:620px){.pp-auto-section{padding:14px}.pp-auto-section>figure,.pp-auto-section>img{max-width:100%;float:none;margin:12px auto}}

/* v2.1 visual fidelity: hero stage, compact purchase column, segmented article */
body.pp-product-page{background:#fff;color:#0b2455}
.pp-product-page .pp-container{max-width:1510px;padding-inline:clamp(14px,3vw,42px)}
.pp-product-page .pp-top{min-height:65px}.pp-product-page .pp-header{box-shadow:0 2px 14px rgba(12,60,130,.035)}
.pp-single-top{grid-template-columns:minmax(390px,.88fr) minmax(0,1.25fr);gap:22px}
.pp-gallery-main{position:relative;isolation:isolate;min-height:460px;border-radius:12px;background:radial-gradient(ellipse at 51% 43%,#b8ddff 0,#d9ecff 45%,#f1f8ff 84%);padding:28px 55px 40px}
.pp-hero-halo{position:absolute;z-index:-1;width:64%;aspect-ratio:1;border-radius:50%;top:12%;left:18%;background:radial-gradient(circle,#78c3ff 10%,#addbff 48%,transparent 69%);border:2px solid #c7e7ff;box-shadow:0 0 0 25px #ffffff38}
.pp-hero-plinth{position:absolute;z-index:-1;bottom:5%;width:70%;height:17%;left:15%;border-radius:50%;background:linear-gradient(#fff,#b3d7fb);box-shadow:0 17px 20px #6a9bca33}
.pp-gallery-main img{position:relative;z-index:1;max-height:405px;filter:drop-shadow(0 15px 16px #173a6650)}
.pp-gallery-tag{position:absolute;z-index:2;right:12px;top:14px;padding:9px 12px;border-radius:24px;background:#ffffffe8;color:#1252ad;font-size:11px;font-weight:700;max-width:42%;line-height:1.6}
.pp-gallery-tag-bottom{right:auto;left:12px;top:auto;bottom:15px;max-width:45%;font-size:10px}
.pp-feature-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:13px 0}
.pp-feature-chip{border:1px solid #e1eafb;background:#f9fbff;border-radius:12px;text-align:center;padding:13px 4px;font-size:11px;font-weight:700;line-height:1.8;overflow-wrap:anywhere}
.pp-feature-chip span{display:block;font-size:20px;color:#075af2}
.pp-woo-summary .price{background:#f4f8ff;border:1px solid #e2eafa;border-radius:14px;padding:12px 14px}
.pp-woo-summary .cart{background:#f3f8ff}.pp-woo-summary .single_add_to_cart_button{background:linear-gradient(100deg,#004de8,#126dff)!important;box-shadow:0 5px 12px #0062e729}
.pp-payment-note{background:linear-gradient(110deg,#f6faff,#fff);border-color:#dce8f9}
.pp-single-benefits{margin-top:12px}.pp-product-detail-frame{border:1px solid #e2eaf6;border-radius:18px;overflow:hidden;margin-top:12px}
.pp-product-detail-frame .pp-content-nav{border:0;border-radius:0;justify-content:space-evenly;border-bottom:1px solid #e2eaf6}
.pp-product-detail-frame .pp-long-content{border:0;padding:24px 30px}
.pp-article-body .pp-auto-section{padding:26px 30px;margin:22px 0;border-radius:18px}
.pp-article-body .pp-auto-section:nth-of-type(3n+1){background:linear-gradient(115deg,#f2f8ff,#fff)}
.pp-article-body .pp-auto-section:nth-of-type(3n+2){background:#fff}
.pp-article-body .pp-auto-section:nth-of-type(3n){background:linear-gradient(115deg,#fff,#f5faff)}
.pp-article-body .pp-auto-section h2{background:none;border-right:0;padding:0;margin:0 0 16px;font-size:clamp(20px,2vw,27px)}
.pp-article-body .pp-auto-section>ul{grid-template-columns:repeat(2,minmax(0,1fr))}
.pp-auto-toc{position:relative}
.pp-related{padding:18px;border:1px solid #e1eaf6;border-radius:17px;background:#fcfdff}
@media(max-width:1100px){.pp-single-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pp-gallery-main{min-height:390px;padding:20px}.pp-gallery-tag{display:none}}
@media(max-width:850px){.pp-single-top{grid-template-columns:1fr}.pp-gallery-main{min-height:400px}.pp-gallery-tag{display:block}.pp-feature-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.pp-gallery-main{min-height:320px;padding:18px}.pp-gallery-tag{font-size:9px}.pp-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-article-body .pp-auto-section>ul{grid-template-columns:1fr}.pp-product-detail-frame .pp-long-content{padding:14px}.pp-article-body .pp-auto-section{padding:17px}}

/* v2.2.2: Use exactly the homepage header on product pages. */
body.pp-product-page .pp-header{background:#fff;box-shadow:0 1px 12px #173a6012;border-bottom:0}
body.pp-product-page .pp-header .pp-container{width:min(1180px,calc(100% - 36px));max-width:none;padding-inline:0}
body.pp-product-page .pp-header .pp-top{min-height:94px;padding:0;gap:32px;flex-wrap:nowrap}
body.pp-product-page .pp-header .pp-brand{width:110px;flex:none;display:flex;justify-content:center}
body.pp-product-page .pp-header .pp-brand img{width:90px;height:73px;object-fit:contain}
body.pp-product-page .pp-header .pp-search{display:flex;flex:1;max-width:650px;margin:0;background:#f6f8fc;border:1px solid #e6edf5;border-radius:12px;overflow:hidden}
body.pp-product-page .pp-header .pp-search input{flex:1;min-width:0;border:0;background:transparent;padding:14px;border-radius:0;font:inherit}
body.pp-product-page .pp-header .pp-search button{border:0;border-radius:0;background:#076bfa;color:#fff;padding:0 22px;font:inherit}
body.pp-product-page .pp-header .pp-actions{display:flex;gap:18px;font-size:13px;font-weight:700;white-space:nowrap}
body.pp-product-page .pp-header .pp-nav{min-height:48px;display:flex;align-items:center;gap:0;flex-wrap:nowrap;border-top:1px solid #f1f4f9}
body.pp-product-page .pp-header .pp-menu{display:flex;gap:24px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
body.pp-product-page .pp-header .pp-menu li{position:relative}
body.pp-product-page .pp-header .pp-menu .sub-menu{display:none;position:absolute;top:100%;right:0;background:#fff;min-width:190px;box-shadow:0 10px 30px #122d4c22;padding:10px;list-style:none;z-index:15}
body.pp-product-page .pp-header .pp-menu li:hover>.sub-menu,body.pp-product-page .pp-header .pp-menu li:focus-within>.sub-menu{display:block}
@media(max-width:900px){body.pp-product-page .pp-header .pp-top{gap:12px}body.pp-product-page .pp-header .pp-nav{overflow:auto;white-space:nowrap}body.pp-product-page .pp-header .pp-menu{flex-wrap:nowrap}}
@media(max-width:600px){body.pp-product-page .pp-header .pp-container{width:min(100% - 24px,1180px)}body.pp-product-page .pp-header .pp-top{min-height:75px;flex-wrap:wrap;padding-bottom:12px}body.pp-product-page .pp-header .pp-brand{width:78px}body.pp-product-page .pp-header .pp-brand img{width:70px;height:60px}body.pp-product-page .pp-header .pp-search{order:3;flex-basis:100%;max-width:none}body.pp-product-page .pp-header .pp-actions{margin-inline-start:auto}body.pp-product-page .pp-header .pp-nav{overflow:auto;white-space:nowrap;padding-block:10px}body.pp-product-page .pp-header .pp-menu{flex-wrap:nowrap}}

/* v2.3: Optional product video and natural inline links */
.pp-product-video{margin:24px 0;padding:24px;border:1px solid #dbe8f8;border-radius:18px;background:linear-gradient(135deg,#f3f8ff,#fff)}
.pp-product-video h2{font-size:clamp(20px,2vw,26px);margin:0 0 18px;color:#102b5c}
.pp-product-video-frame{max-width:940px;margin:auto;aspect-ratio:16/9;background:#0a1831;border-radius:15px;overflow:hidden}
.pp-product-video-frame iframe,.pp-product-video-frame video,.pp-product-video-frame .wp-video,.pp-product-video-frame .mejs-container{width:100%!important;max-width:100%;height:100%!important}
.pp-auto-internal-link{color:#065fe9;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.pp-auto-internal-link:hover{color:#003b9a}
@media(max-width:620px){.pp-product-video{padding:14px}}
