:root{--wppg-font:'Vazirmatn',Tahoma,Arial,sans-serif;--wppg-blue:#2450e8;--wppg-orange:#ff681d;--wppg-text:#222;--wppg-muted:#999}
.wppg-gallery,.wppg-gallery *,.wppg-single,.wppg-single *,.wppg-modal,.wppg-modal *,.wppg-toast{box-sizing:border-box;font-family:var(--wppg-font)!important;font-variant-numeric:normal}
.wppg-gallery button,.wppg-gallery input,.wppg-gallery select,.wppg-single button,.wppg-single input,.wppg-single select,.wppg-single textarea{font:inherit}
.wppg-gallery button,.wppg-single button{cursor:pointer}
.wppg-gallery svg,.wppg-single svg,.wppg-modal svg{display:block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wppg-template-wrap{width:100%;margin:0;padding:0 20px}

/* Main gallery — matched to supplied reference */
.wppg-gallery{position:relative;width:min(100%,1800px);margin:0 auto;color:var(--wppg-text);direction:rtl}
.wppg-gallery-hero{position:relative;display:grid;grid-template-columns:minmax(430px,.92fr) minmax(610px,1.08fr);grid-template-rows:auto auto;column-gap:64px;row-gap:68px;direction:ltr;padding:39px 0 0;margin:0 0 40px;border-top:3px solid #2f56e9;background:#fff}
.wppg-gallery-hero__visual{grid-column:1;grid-row:1;direction:rtl;align-self:start;width:100%;aspect-ratio:1.985/1;min-height:330px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}
.wppg-gallery-hero__visual img{display:block;width:100%;height:100%;object-fit:cover}
.wppg-gallery-hero__placeholder{position:relative;width:100%;height:100%;min-height:330px;background:#fff;border:1px solid #eceff3;overflow:hidden}
.wppg-gallery-hero__placeholder span{display:none}
.wppg-gallery-hero__placeholder i{position:absolute;inset:0;margin:auto;width:72px;height:72px;color:#d5d8df}
.wppg-gallery-hero__content{grid-column:2;grid-row:1;direction:rtl;align-self:stretch;display:flex;flex-direction:column;padding:10px 0 0;min-width:0}
.wppg-hero-stats{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 0 37px;padding:0 5px}
.wppg-hero-stats>div{display:flex;align-items:center;gap:13px;color:#a3a3a5;font-size:20px;font-weight:500;white-space:nowrap;line-height:1}
.wppg-hero-stats i{display:grid;place-items:center;width:44px;height:44px;color:var(--wppg-accent,var(--wppg-orange));font-style:normal;flex:0 0 auto}
.wppg-hero-stats i svg{width:42px;height:42px;stroke-width:1.55}
.wppg-hero-stats b{display:inline-block;margin-left:8px;color:#151515;font-size:26px;font-weight:900;line-height:1}
.wppg-hero-description{margin:0;color:#9a9a9c;font-size:20px;font-weight:500;line-height:1.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wppg-hero-search{display:flex;align-items:stretch;width:100%;height:72px;margin-top:auto;background:#f0f0f1;border-radius:15px;overflow:hidden;box-shadow:none}
.wppg-hero-select{position:relative;width:205px;flex:0 0 205px;border-left:2px solid #d8dce4}
.wppg-hero-select select{width:100%;height:100%;margin:0;border:0!important;background:transparent!important;appearance:none;-webkit-appearance:none;padding:0 53px 0 18px;color:#96979a;font-size:18px;font-weight:600;outline:0!important;box-shadow:none!important;text-align:right}
.wppg-hero-select>svg{position:absolute;right:19px;top:50%;width:24px;height:24px;color:#999ca1;transform:translateY(-50%);pointer-events:none}
.wppg-search{position:relative;display:flex;align-items:center;flex:1;min-width:0}
.wppg-search input{width:100%;height:100%;margin:0;border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;padding:0 22px 0 66px;color:#333;font-size:18px;font-weight:500;text-align:right}
.wppg-search input::placeholder{color:#a2a3a6;opacity:1}
.wppg-search>i{position:absolute;left:23px;color:#bec1c6;font-style:normal;pointer-events:none}
.wppg-search>i svg{width:34px;height:34px;stroke-width:1.45}
.wppg-search-loader{position:absolute;left:27px;width:26px;height:26px;border:2px solid #d5d7dc;border-top-color:var(--wppg-accent,var(--wppg-orange));border-radius:50%;opacity:0;animation:wppg-spin .7s linear infinite}
.wppg-search-loader.is-visible{opacity:1}.wppg-search-loader.is-visible+i{opacity:0}
.wppg-quick-tags{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;min-height:37px;margin:23px 0 0}
.wppg-quick-tags button{border:1px solid #dce2ec;background:#fff;color:#62738d;border-radius:999px;padding:7px 20px;font-size:13px;font-weight:500;line-height:1.2;transition:border-color .2s ease,color .2s ease,background .2s ease}
.wppg-quick-tags button:hover,.wppg-quick-tags button.is-active{border-color:var(--wppg-accent,var(--wppg-orange));color:var(--wppg-accent,var(--wppg-orange));background:#fff}
.wppg-category-strip{grid-column:1/-1;grid-row:2;direction:rtl;display:flex;align-items:center;justify-content:flex-start;gap:14px;overflow-x:auto;padding:0 50px 0;scrollbar-width:none;white-space:nowrap}
.wppg-category-strip::-webkit-scrollbar{display:none}
.wppg-category-strip .wppg-filter{flex:0 0 auto;border:0!important;background:#eeeeef;color:#727376;border-radius:999px;padding:12px 27px;font-size:16px;font-weight:600;line-height:1.4;box-shadow:none;transition:background .2s ease,color .2s ease,transform .2s ease}
.wppg-category-strip .wppg-filter:hover{color:#333;transform:translateY(-1px)}
.wppg-category-strip .wppg-filter.is-active{background:var(--wppg-accent,var(--wppg-orange));color:#fff;box-shadow:none}

/* Compact gallery toolbar */
.wppg-toolbar{display:flex;align-items:center;gap:18px;padding:18px;margin:0 0 30px;border:1px solid #e9ebef;background:#fff;border-radius:16px}
.wppg-toolbar .wppg-filter-shell{flex:1;min-width:0;overflow:hidden}.wppg-toolbar .wppg-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.wppg-toolbar .wppg-filter{border:1px solid #e2e5ea;background:#fff;border-radius:999px;padding:10px 18px;white-space:nowrap;color:#64676c}.wppg-toolbar .wppg-filter.is-active{background:var(--wppg-accent);border-color:var(--wppg-accent);color:#fff}
.wppg-toolbar .wppg-search{height:48px;max-width:360px;background:#f5f6f8;border-radius:12px}.wppg-result-meta{height:0;overflow:hidden;position:absolute;opacity:0;pointer-events:none}

/* Masonry cards — exact hover placement from reference */
.wppg-grid{position:relative;min-height:180px;column-count:var(--wppg-columns);column-gap:var(--wppg-gap)}
.wppg-card{position:relative;display:inline-block;width:100%;margin:0 0 var(--wppg-gap);vertical-align:top;break-inside:avoid;border-radius:19px;overflow:hidden;background:#f2f2f2;box-shadow:0 7px 20px rgba(18,22,32,.14);transform:translateZ(0);isolation:isolate}
.wppg-card__media{position:relative;width:100%;min-height:120px;overflow:hidden;background:#f2f2f2}
.wppg-card__image{display:block;width:100%;height:auto;min-height:120px;object-fit:cover;transform:scale(1.001);will-change:transform;transition:filter .42s ease}
.wppg-card__link{position:absolute;inset:0;z-index:2}
.wppg-card__veil{position:absolute;inset:0;z-index:1;opacity:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 16%,rgba(0,0,0,.04) 42%,rgba(0,0,0,.70) 100%);transition:opacity .28s ease;pointer-events:none}
.wppg-card:hover .wppg-card__veil,.wppg-card:focus-within .wppg-card__veil{opacity:1}
.wppg-card:hover .wppg-card__image,.wppg-card:focus-within .wppg-card__image{filter:saturate(1.025) contrast(1.01)}
.wppg-card__actions,.wppg-card__download{position:absolute;top:20px;z-index:6;display:flex;opacity:0;transform:translateY(-8px);transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1)}
.wppg-card__actions{right:20px;flex-direction:column;gap:10px}.wppg-card__download{left:20px}
.wppg-card:hover .wppg-card__actions,.wppg-card:hover .wppg-card__download,.wppg-card:focus-within .wppg-card__actions,.wppg-card:focus-within .wppg-card__download{opacity:1;transform:translateY(0)}
.wppg-action{display:grid;place-items:center;width:60px;height:60px;padding:0!important;border:0!important;border-radius:17px;background:rgba(91,92,96,.69);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);color:#fff;box-shadow:none;transition:transform .18s ease,background .18s ease,color .18s ease}
.wppg-action svg{width:32px;height:32px;stroke-width:1.8}.wppg-action:hover{background:rgba(71,72,75,.82);color:#fff;transform:scale(1.035)}
.wppg-action.is-active{background:#fff;color:#ff4f67}.wppg-save.is-active{color:var(--wppg-accent,var(--wppg-orange))}
.wppg-card__author{position:absolute;right:21px;bottom:20px;z-index:5;display:flex;align-items:center;gap:12px;color:#fff;opacity:0;transform:translateY(10px);transition:opacity .25s ease .03s,transform .3s cubic-bezier(.2,.8,.2,1) .03s;pointer-events:none;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.wppg-card__author img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.8)}
.wppg-card__author strong{font-size:17px;font-weight:700;line-height:1.4}.wppg-card:hover .wppg-card__author,.wppg-card:focus-within .wppg-card__author{opacity:1;transform:translateY(0)}
.wppg-badge{display:none!important}
.wppg-floating-title{position:fixed;top:0;left:0;z-index:2147483000;pointer-events:none;opacity:0;visibility:hidden;will-change:transform,opacity}
.wppg-floating-title span{display:block;max-width:min(900px,82vw);padding:13px 23px;border-radius:14px;background:#101010;color:#fff;font-size:19px;font-weight:700;line-height:1.65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 14px 40px rgba(0,0,0,.20)}
.wppg-load-more-wrap{display:flex;justify-content:center;padding:44px 0 12px}.wppg-load-more-wrap[hidden]{display:none!important}
.wppg-load-more{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:190px;height:54px;padding:0 26px;border:1px solid #e0e3e8;background:#fff;color:#333;border-radius:14px;font-weight:700;transition:border-color .2s ease,transform .2s ease}.wppg-load-more:hover{border-color:var(--wppg-accent);transform:translateY(-1px)}.wppg-load-more i svg{width:18px;height:18px}.wppg-load-more.is-loading span,.wppg-load-more.is-loading i{opacity:0}.wppg-button-loader{display:none;width:20px;height:20px;border:2px solid rgba(255,255,255,.4);border-top-color:currentColor;border-radius:50%;animation:wppg-spin .7s linear infinite}.wppg-load-more.is-loading .wppg-button-loader{display:block;position:absolute;color:var(--wppg-accent);border-color:#ddd;border-top-color:var(--wppg-accent)}
.wppg-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:260px;border:1px dashed #dfe3e9;border-radius:16px;background:#fafbfc;color:#8a9099;column-span:all;text-align:center}.wppg-empty span svg{width:44px;height:44px;margin-bottom:12px}.wppg-empty strong{color:#43474e;font-size:17px}.wppg-empty p{margin:6px 0 0;font-size:13px}

/* Single page — matched to supplied product-detail reference */
.wppg-single-page-wrap{padding-top:18px;padding-bottom:70px}
.wppg-single{width:min(calc(100% - 80px),1200px);margin:0 auto;color:#30343a;direction:rtl;padding:0 4px}
.wppg-single-searchbar{display:flex;align-items:stretch;width:100%;height:48px;margin:0 0 36px;background:#f0f0f1;border-radius:8px;overflow:hidden}
.wppg-single-searchbar__category{position:relative;width:145px;flex:0 0 145px;border-left:1px solid #d8dce4}.wppg-single-searchbar__category select{width:100%;height:100%;margin:0;padding:0 38px 0 12px;border:0!important;background:transparent!important;appearance:none;outline:0!important;box-shadow:none!important;color:#8f9298;font-size:12px}.wppg-single-searchbar__category>svg{position:absolute;right:13px;top:50%;width:17px;height:17px;transform:translateY(-50%);color:#969ba2;pointer-events:none}
.wppg-single-searchbar__input{position:relative;display:flex;align-items:center;flex:1}.wppg-single-searchbar__input input{width:100%;height:100%;margin:0;padding:0 15px 0 48px;border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;text-align:right;color:#333;font-size:12px}.wppg-single-searchbar__input input::placeholder{color:#a5a8ad}.wppg-single-searchbar__input i{position:absolute;left:14px;color:#b7bbc1}.wppg-single-searchbar__input i svg{width:24px;height:24px;stroke-width:1.5}
.wppg-breadcrumb{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px;margin:0 0 25px;color:#9a9fa7;font-size:10px}.wppg-breadcrumb a{color:#8a9098;text-decoration:none}.wppg-breadcrumb a:last-of-type,.wppg-breadcrumb strong{color:#2450e8;font-weight:700}.wppg-breadcrumb span{color:#ff681d}.wppg-breadcrumb span svg{width:12px;height:12px}
.wppg-single-heading{display:flex;align-items:center;justify-content:space-between;gap:22px}.wppg-single-heading h1{margin:0;color:#2e3238;font-size:22px;font-weight:800;line-height:1.7}.wppg-single-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;direction:rtl}.wppg-single-action{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border:0!important;border-radius:7px;background:#eef0f2;color:#666b72;font-size:10px;font-weight:600;box-shadow:none}.wppg-single-action svg{width:15px;height:15px}.wppg-single-action:hover,.wppg-single-action.is-active{background:#e5e8ec;color:#2450e8}.wppg-single-rule{height:1px;margin:18px 0 35px;background:#6f7379;opacity:.72}
.wppg-detail-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:74px;direction:ltr;align-items:start}
.wppg-detail-media{grid-column:1;direction:rtl;min-width:0}.wppg-detail-info{grid-column:2;direction:rtl;min-width:0;padding-top:14px}
.wppg-detail-main-image{position:relative;display:grid;place-items:center;width:100%;min-height:330px;margin:0;padding:0;border:0!important;background:#fff;overflow:hidden;border-radius:0}.wppg-detail-main-image img{display:block;width:100%;max-height:560px;object-fit:contain;transition:transform .35s ease}.wppg-detail-main-image:hover img{transform:scale(1.008)}.wppg-detail-main-image__hint{display:none!important}
.wppg-detail-main-image--empty{min-height:360px;border:1px dashed #dfe3ea!important;color:#9ca2ad;display:flex;gap:12px}.wppg-detail-main-image--empty svg{width:40px;height:40px}
.wppg-detail-thumbs{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;overflow-x:auto;padding:2px}.wppg-detail-thumb{flex:0 0 auto;width:58px;height:58px;padding:3px;border:1px solid #e2e5ea;background:#fff;border-radius:5px;overflow:hidden;transition:border-color .18s ease}.wppg-detail-thumb img{width:100%;height:100%;object-fit:cover;border-radius:3px}.wppg-detail-thumb.is-active,.wppg-detail-thumb:hover{border-color:#9aa1ab;box-shadow:none}
.wppg-detail-lead{margin:0 0 18px;color:#5d6269;font-size:11px;line-height:2}.wppg-detail-block{margin:0 0 24px}.wppg-detail-block>strong{display:block;margin-bottom:9px;color:#30343a;font-size:11px;font-weight:800}.wppg-detail-chips{display:flex;flex-wrap:wrap;gap:7px}.wppg-detail-chips a{padding:6px 10px;border-radius:6px;background:#eeeeef;color:#666b72;text-decoration:none;font-size:10px;line-height:1.4}.wppg-detail-chips a:hover{background:#e5e7ea;color:#333}
.wppg-detail-specs{display:flex;flex-direction:column;gap:14px;margin-top:28px}.wppg-detail-specs>div{display:flex;align-items:center;gap:9px;color:#5f646c;font-size:11px}.wppg-detail-specs span{display:flex;align-items:center;gap:7px;min-width:102px;color:#717781}.wppg-detail-specs svg{width:16px;height:16px;color:#9299a4}.wppg-detail-specs strong{color:#30353c;font-weight:600}
.wppg-detail-mini-stats{display:none!important}
.wppg-primary-download{display:flex;align-items:center;justify-content:center;gap:10px;width:235px;max-width:100%;min-height:54px;margin:31px 0 0;padding:12px 20px;border-radius:10px;background:#2450e8;color:#fff!important;text-decoration:none;font-size:13px;font-weight:800;box-shadow:none;transition:background .2s ease,transform .2s ease}.wppg-primary-download svg{width:18px;height:18px}.wppg-primary-download:hover{background:#1f48d5;color:#fff;transform:translateY(-1px)}
.wppg-section-line-title{display:flex;align-items:flex-end;gap:16px;margin-bottom:25px}.wppg-section-line-title span{color:#333;font-size:16px;font-weight:800;line-height:1.35;white-space:nowrap}.wppg-section-line-title i{height:1px;flex:1;margin-bottom:5px;background:#7f8287;opacity:.68}
.wppg-comments-section{margin-top:70px}.wppg-comment-form{padding:18px 18px 13px;border:1px solid #e1e5eb;border-radius:14px;background:#fff;box-shadow:0 7px 26px rgba(23,31,54,.025)}.wppg-comment-form__title{display:flex;align-items:center;gap:7px;margin-bottom:13px;color:#444950;font-size:10px}.wppg-comment-form__title>span{width:7px;height:7px;background:#3157e8;border-radius:50%}.wppg-comment-guest-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.wppg-comment-guest-fields label{display:flex;flex-direction:column;gap:6px;color:#666;font-size:10px}.wppg-comment-guest-fields input{height:40px;padding:0 11px;border:1px solid #e2e5ea!important;border-radius:8px;outline:0}.wppg-comment-guest-fields input:focus{border-color:#3157e8!important;box-shadow:0 0 0 3px rgba(49,87,232,.07)!important}
.wppg-comment-textarea{display:block;position:relative}.wppg-comment-textarea textarea{width:100%;min-height:112px;padding:16px;border:1px solid #e0e4ea!important;border-radius:10px;resize:vertical;outline:0!important;box-shadow:none!important;color:#3e434a;font-size:11px;line-height:2}.wppg-comment-textarea textarea:focus{border-color:#3157e8!important;box-shadow:0 0 0 3px rgba(49,87,232,.06)!important}.wppg-comment-textarea textarea::placeholder{color:#bbc0c8}.wppg-comment-textarea small{display:block;margin-top:7px;text-align:left;color:#a0a5ad;font-size:9px}
.wppg-comment-form__footer{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-top:9px}.wppg-comment-form__footer button{display:inline-flex;align-items:center;justify-content:center;min-width:105px;height:35px;border:0;border-radius:8px;background:#101828;color:#fff;font-size:10px;font-weight:700}.wppg-comment-form__footer button.is-loading span{display:none}.wppg-comment-form__footer button.is-loading .wppg-button-loader{display:block}.wppg-comment-message{color:#2f8a52;font-size:10px}.wppg-comment-message.is-error{color:#d94242}.wppg-honeypot{position:absolute!important;right:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.wppg-comments-list{display:flex;flex-direction:column;gap:13px;margin-top:20px}.wppg-comment-card{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:14px;border:1px solid #e5e8ed;border-radius:12px;background:#fff}.wppg-comment-card__avatar img{width:42px;height:42px;border-radius:50%}.wppg-comment-card__body header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.wppg-comment-card__body header>div{display:flex;align-items:center;gap:7px}.wppg-comment-card__body header strong{font-size:11px}.wppg-comment-card__body header span{padding:3px 7px;border-radius:999px;background:#3157e8;color:#fff;font-size:8px}.wppg-comment-card__body time{color:#a1a6ae;font-size:9px}.wppg-comment-card__content{color:#595f67;font-size:11px;line-height:2}.wppg-comment-card__content p{margin:0}
.wppg-comments-empty,.wppg-comment-locked{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:135px;padding:20px;border:1px dashed #dfe3e9;border-radius:14px;background:#fafbfc;color:#8a9099;text-align:center}.wppg-comments-empty svg,.wppg-comment-locked svg{width:25px;height:25px;margin-bottom:9px}.wppg-comments-empty strong,.wppg-comment-locked strong{color:#444a52;font-size:11px}.wppg-comments-empty p,.wppg-comment-locked p{margin:4px 0 0;font-size:9px}
.wppg-content-section{min-height:205px;margin-top:42px;padding:25px;border:1px solid #e0e4ea;border-radius:14px;background:#fff}.wppg-content-section__body{color:#525861;font-size:12px;line-height:2.15}.wppg-content-section__body>*:first-child{margin-top:0}.wppg-content-section__body>*:last-child{margin-bottom:0}
.wppg-related{margin-top:45px}.wppg-related__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.wppg-related .wppg-card{display:block;margin:0;border:0;border-radius:8px;box-shadow:none;background:#f2f3f5}.wppg-related .wppg-card__actions,.wppg-related .wppg-card__download,.wppg-related .wppg-card__author,.wppg-related .wppg-badge{display:none!important}.wppg-related .wppg-card__image{aspect-ratio:4/5;object-fit:cover}.wppg-related .wppg-card__veil{display:none}

/* Modal and notices */
body.wppg-modal-open{overflow:hidden!important}.wppg-modal{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:center;justify-content:center;padding:30px;background:rgba(8,10,14,.92);backdrop-filter:blur(9px);opacity:0;visibility:hidden}.wppg-modal.is-open{opacity:1;visibility:visible}.wppg-modal__stage{position:relative;display:flex;align-items:center;justify-content:center;max-width:min(1280px,92vw);max-height:88vh}.wppg-modal__image{display:block;max-width:100%;max-height:88vh;object-fit:contain;border-radius:8px;box-shadow:0 30px 100px rgba(0,0,0,.45)}.wppg-modal__close,.wppg-modal__nav{position:fixed;display:grid;place-items:center;border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:12px;backdrop-filter:blur(10px);transition:.2s}.wppg-modal__close{top:24px;left:24px;width:48px;height:48px}.wppg-modal__close svg{width:25px;height:25px}.wppg-modal__nav{top:50%;width:52px;height:70px;transform:translateY(-50%)}.wppg-modal__nav--next{right:25px}.wppg-modal__nav--prev{left:25px}.wppg-modal__nav svg{width:25px;height:25px}.wppg-modal__nav--prev svg{transform:rotate(180deg)}.wppg-modal__close:hover,.wppg-modal__nav:hover{background:#fff;color:#111}.wppg-modal__count{position:fixed;bottom:25px;left:50%;padding:7px 12px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:12px;transform:translateX(-50%)}
.wppg-toast{position:fixed;left:24px;bottom:24px;z-index:2147483300;min-width:250px;max-width:390px;padding:14px 17px;border-radius:12px;background:#101828;color:#fff;box-shadow:0 16px 50px rgba(0,0,0,.22);font-size:13px;line-height:1.8;opacity:0;transform:translateY(16px);pointer-events:none}.wppg-toast.is-error{background:#b42318}.wppg-toast.is-success{background:#18794e}
@keyframes wppg-spin{to{transform:rotate(360deg)}}

@media (max-width:1450px){
.wppg-gallery{width:min(100%,1320px)}.wppg-gallery-hero{grid-template-columns:minmax(370px,.9fr) minmax(540px,1.1fr);column-gap:48px;row-gap:52px}.wppg-hero-stats{gap:20px}.wppg-hero-stats>div{font-size:17px}.wppg-hero-stats b{font-size:22px}.wppg-hero-description{font-size:17px}.wppg-hero-search{height:64px}.wppg-category-strip{padding-inline:20px}.wppg-detail-layout{gap:52px}
}
@media (max-width:1080px){
.wppg-gallery-hero{display:flex;flex-direction:column;gap:28px;padding-top:28px}.wppg-gallery-hero__content{order:1;padding:0}.wppg-gallery-hero__visual{order:2;width:100%;aspect-ratio:1.9/1;min-height:280px}.wppg-gallery-hero__placeholder{min-height:280px}.wppg-category-strip{order:3;padding:10px 0 0}.wppg-hero-stats{justify-content:space-between}.wppg-hero-description{margin-bottom:34px}.wppg-hero-search{margin-top:0}.wppg-grid{column-count:var(--wppg-tablet-columns)}.wppg-detail-layout{grid-template-columns:1fr;gap:34px}.wppg-detail-media,.wppg-detail-info{grid-column:1}.wppg-detail-media{grid-row:1}.wppg-detail-info{grid-row:2}.wppg-detail-info{max-width:620px}.wppg-related__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:680px){
.wppg-template-wrap{padding:0 10px}.wppg-gallery-hero{margin-bottom:26px;border-top-width:2px}.wppg-hero-stats{gap:14px;margin-bottom:24px;overflow-x:auto;padding:0 0 5px}.wppg-hero-stats>div{gap:7px;font-size:12px}.wppg-hero-stats i{width:29px;height:29px}.wppg-hero-stats i svg{width:27px;height:27px}.wppg-hero-stats b{margin-left:3px;font-size:15px}.wppg-hero-description{margin-bottom:20px;font-size:13px;white-space:normal}.wppg-hero-search{height:54px;border-radius:12px}.wppg-hero-select{width:135px;flex-basis:135px}.wppg-hero-select select{padding-right:38px;font-size:13px}.wppg-hero-select>svg{right:13px;width:17px}.wppg-search input{padding-left:43px;font-size:13px}.wppg-search>i{left:13px}.wppg-search>i svg{width:23px;height:23px}.wppg-quick-tags{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;margin-top:15px;padding-bottom:4px}.wppg-quick-tags button{flex:0 0 auto;padding:6px 13px;font-size:11px}.wppg-gallery-hero__visual{min-height:210px}.wppg-gallery-hero__placeholder{min-height:210px}.wppg-category-strip{gap:8px}.wppg-category-strip .wppg-filter{padding:9px 17px;font-size:12px}.wppg-grid{column-count:var(--wppg-mobile-columns);column-gap:10px}.wppg-card{margin-bottom:10px;border-radius:12px}.wppg-card__actions,.wppg-card__download{top:10px;opacity:1;transform:none}.wppg-card__actions{right:10px;gap:6px}.wppg-card__download{left:10px}.wppg-action{width:38px;height:38px;border-radius:10px;background:rgba(45,46,49,.58)}.wppg-action svg{width:21px;height:21px}.wppg-card__author{right:12px;bottom:12px;opacity:1;transform:none}.wppg-card__author img{width:32px;height:32px}.wppg-card__author strong{font-size:11px}.wppg-floating-title{display:none}.wppg-load-more-wrap{padding-top:26px}
.wppg-single-page-wrap{padding-top:10px}.wppg-single{width:100%;padding:0}.wppg-single-searchbar{height:46px;margin-bottom:24px}.wppg-single-searchbar__category{width:120px;flex-basis:120px}.wppg-breadcrumb{font-size:9px;margin-bottom:18px}.wppg-single-heading{align-items:flex-start;flex-direction:column}.wppg-single-heading h1{font-size:19px}.wppg-single-actions{width:100%;justify-content:flex-start;overflow-x:auto}.wppg-single-action{flex:0 0 auto}.wppg-single-rule{margin:16px 0 24px}.wppg-detail-main-image{min-height:260px}.wppg-detail-main-image img{max-height:500px}.wppg-primary-download{width:100%}.wppg-comments-section{margin-top:45px}.wppg-section-line-title span{font-size:14px}.wppg-comment-form{padding:14px}.wppg-comment-guest-fields{grid-template-columns:1fr}.wppg-comment-form__footer{align-items:stretch;flex-direction:column}.wppg-comment-form__footer button{width:100%}.wppg-comment-card{grid-template-columns:42px 1fr;padding:12px}.wppg-comment-card__avatar img{width:38px;height:38px}.wppg-comment-card__body header{align-items:flex-start;flex-direction:column;gap:4px}.wppg-content-section{min-height:160px;padding:20px}.wppg-related__grid{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px}.wppg-related__grid .wppg-card{min-width:145px;flex:0 0 145px}.wppg-modal{padding:14px}.wppg-modal__nav{display:none}.wppg-modal__close{top:14px;left:14px}.wppg-toast{left:12px;right:12px;bottom:12px;min-width:0;max-width:none}
}
@media (prefers-reduced-motion:reduce){.wppg-gallery *,.wppg-single *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ======================================================================
   v1.4.0 — reference-accurate gallery header, filters and hover treatment
   ====================================================================== */
:root{
    --wppg-reference-orange:#ff6418;
    --wppg-reference-blue:#2450e8;
    --wppg-reference-gray:#9f9fa1;
    --wppg-reference-search:#f0f0f1;
}

.wppg-template-wrap{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding-inline:20px!important;
}

.wppg-gallery{
    width:min(calc(100% - 0px),1500px)!important;
    max-width:1500px!important;
    margin-inline:auto!important;
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
}

.wppg-gallery-hero{
    display:grid!important;
    grid-template-columns:675px minmax(0,1fr)!important;
    grid-template-rows:340px 40px!important;
    column-gap:54px!important;
    row-gap:56px!important;
    width:100%!important;
    margin:0 0 42px!important;
    padding:32px 0 0!important;
    border-top:3px solid var(--wppg-reference-blue)!important;
    background:#fff!important;
    direction:ltr!important;
    overflow:visible!important;
}

.wppg-gallery-hero__visual{
    grid-column:1!important;
    grid-row:1!important;
    width:675px!important;
    height:340px!important;
    min-height:340px!important;
    aspect-ratio:auto!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}

.wppg-gallery-hero__visual img,
.wppg-gallery-hero__image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
}

.wppg-gallery-hero__placeholder{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    border:1px solid #eceff3!important;
    background:#fff!important;
}
.wppg-gallery-hero__placeholder i{
    position:static!important;
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    margin:0!important;
    color:#d9dde5!important;
}
.wppg-gallery-hero__placeholder svg{width:22px!important;height:22px!important;}

.wppg-gallery-hero__content{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    align-self:stretch!important;
    min-width:0!important;
    height:340px!important;
    padding:7px 22px 0 0!important;
    direction:rtl!important;
}

.wppg-hero-stats{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    margin:0 0 31px!important;
    padding:0!important;
    gap:34px!important;
    direction:rtl!important;
}

.wppg-hero-stats>div,
.wppg-hero-stat{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    min-width:0!important;
    color:var(--wppg-reference-gray)!important;
    font-size:19px!important;
    font-weight:500!important;
    line-height:1!important;
    white-space:nowrap!important;
}

.wppg-hero-stat>i{
    order:0!important;
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    color:var(--wppg-reference-orange)!important;
}
.wppg-hero-stat>i svg{
    width:40px!important;
    height:40px!important;
    stroke-width:1.55!important;
}
.wppg-hero-stat>span{
    display:flex!important;
    align-items:baseline!important;
    gap:9px!important;
    direction:rtl!important;
}
.wppg-hero-stat b{
    order:0!important;
    margin:0!important;
    color:#151515!important;
    font-size:25px!important;
    font-weight:900!important;
    line-height:1!important;
}
.wppg-hero-stat em{
    order:1!important;
    color:#a4a4a5!important;
    font-style:normal!important;
    font-size:19px!important;
    font-weight:500!important;
}

.wppg-hero-description{
    width:100%!important;
    margin:0!important;
    color:#9e9e9f!important;
    font-size:18px!important;
    font-weight:500!important;
    line-height:1.85!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-align:right!important;
}

.wppg-hero-search{
    display:flex!important;
    align-items:stretch!important;
    width:calc(100% - 22px)!important;
    height:60px!important;
    min-height:60px!important;
    margin:auto 22px 0 0!important;
    border:0!important;
    border-radius:12px!important;
    background:var(--wppg-reference-search)!important;
    overflow:hidden!important;
    box-shadow:none!important;
    direction:rtl!important;
}

.wppg-hero-select{
    position:relative!important;
    display:block!important;
    width:160px!important;
    min-width:160px!important;
    flex:0 0 160px!important;
    height:60px!important;
    border:0!important;
    border-left:2px solid #d7dbe3!important;
}
.wppg-hero-select select{
    display:block!important;
    width:100%!important;
    height:60px!important;
    margin:0!important;
    padding:0 45px 0 13px!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    color:#969699!important;
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
    font-size:17px!important;
    font-weight:600!important;
    text-align:right!important;
}
.wppg-hero-select select:disabled{opacity:1!important;color:#aaa!important;}
.wppg-hero-select>svg{
    position:absolute!important;
    top:50%!important;
    right:17px!important;
    width:22px!important;
    height:22px!important;
    color:#96999d!important;
    transform:translateY(-50%)!important;
    pointer-events:none!important;
}

.wppg-hero-search .wppg-search{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    flex:1 1 auto!important;
    min-width:0!important;
    height:60px!important;
}
.wppg-hero-search .wppg-search input{
    display:block!important;
    width:100%!important;
    height:60px!important;
    margin:0!important;
    padding:0 23px 0 62px!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#333!important;
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
    font-size:17px!important;
    font-weight:500!important;
    text-align:right!important;
}
.wppg-hero-search .wppg-search input::placeholder{color:#a4a4a6!important;opacity:1!important;}
.wppg-hero-search .wppg-search>i{
    position:absolute!important;
    left:21px!important;
    top:50%!important;
    display:block!important;
    color:#c0c3c8!important;
    transform:translateY(-50%)!important;
}
.wppg-hero-search .wppg-search>i svg{width:31px!important;height:31px!important;stroke-width:1.45!important;}
.wppg-search-loader{left:24px!important;width:25px!important;height:25px!important;}

.wppg-quick-tags{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:calc(100% - 22px)!important;
    min-height:31px!important;
    margin:20px 22px 0 0!important;
    padding:0!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
}
.wppg-quick-tags::-webkit-scrollbar{display:none!important;}
.wppg-quick-tags[data-empty="true"]{min-height:31px!important;}
.wppg-quick-tags .wppg-filter{
    flex:0 0 auto!important;
    min-height:30px!important;
    margin:0!important;
    padding:5px 17px!important;
    border:1px solid #dce2eb!important;
    border-radius:999px!important;
    background:#fff!important;
    box-shadow:none!important;
    color:#64748d!important;
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:1.2!important;
}
.wppg-quick-tags .wppg-filter:hover,
.wppg-quick-tags .wppg-filter.is-active{
    border-color:#b9c5d5!important;
    background:#fff!important;
    color:#42536c!important;
    transform:none!important;
}

.wppg-category-strip{
    grid-column:1/-1!important;
    grid-row:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:11px!important;
    width:100%!important;
    height:40px!important;
    margin:0!important;
    padding:0 42px!important;
    overflow-x:auto!important;
    direction:rtl!important;
    white-space:nowrap!important;
    scrollbar-width:none!important;
}
.wppg-category-strip::-webkit-scrollbar{display:none!important;}
.wppg-category-strip .wppg-filter{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    min-height:40px!important;
    margin:0!important;
    padding:0 21px!important;
    border:0!important;
    border-radius:999px!important;
    background:#eeeeef!important;
    box-shadow:none!important;
    color:#737477!important;
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:1!important;
    transform:none!important;
}
.wppg-category-strip .wppg-filter:hover{background:#e7e7e8!important;color:#555!important;transform:none!important;}
.wppg-category-strip .wppg-filter.is-active{
    background:var(--wppg-reference-orange)!important;
    color:#fff!important;
}

/* Reference card hover */
.wppg-card{
    border-radius:17px!important;
    box-shadow:0 7px 22px rgba(20,22,30,.14)!important;
}
.wppg-card__veil{
    background:linear-gradient(180deg,rgba(0,0,0,.01) 12%,rgba(0,0,0,.05) 48%,rgba(0,0,0,.72) 100%)!important;
}
.wppg-card__actions,.wppg-card__download{
    top:20px!important;
    z-index:7!important;
    opacity:0!important;
    transform:translateY(-7px)!important;
}
.wppg-card__actions{right:20px!important;gap:10px!important;}
.wppg-card__download{left:20px!important;}
.wppg-card:hover .wppg-card__actions,
.wppg-card:hover .wppg-card__download,
.wppg-card:focus-within .wppg-card__actions,
.wppg-card:focus-within .wppg-card__download{
    opacity:1!important;
    transform:translateY(0)!important;
}
.wppg-action{
    width:60px!important;
    height:60px!important;
    border:0!important;
    border-radius:17px!important;
    background:rgba(91,92,96,.70)!important;
    color:#fff!important;
    -webkit-backdrop-filter:blur(7px)!important;
    backdrop-filter:blur(7px)!important;
    box-shadow:none!important;
}
.wppg-action svg{width:32px!important;height:32px!important;stroke-width:1.8!important;}
.wppg-action:hover{background:rgba(72,73,76,.84)!important;color:#fff!important;}
.wppg-action.is-active{background:#fff!important;color:#ff4f67!important;}
.wppg-save.is-active{color:var(--wppg-reference-orange)!important;}
.wppg-card__author{
    right:21px!important;
    bottom:19px!important;
    z-index:6!important;
    gap:11px!important;
}
.wppg-card__author img{width:48px!important;height:48px!important;border:1px solid rgba(255,255,255,.75)!important;}
.wppg-card__author strong{font-size:17px!important;font-weight:700!important;}

.wppg-floating-title{
    position:fixed!important;
    top:0!important;
    left:0!important;
    z-index:2147483000!important;
    display:block!important;
    opacity:0;
    visibility:hidden;
    pointer-events:none!important;
    will-change:transform,opacity!important;
}
.wppg-floating-title span{
    display:block!important;
    max-width:min(900px,82vw)!important;
    min-height:54px!important;
    padding:11px 22px!important;
    border:0!important;
    border-radius:14px!important;
    background:#101010!important;
    box-shadow:0 13px 36px rgba(0,0,0,.22)!important;
    color:#fff!important;
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
    font-size:19px!important;
    font-weight:700!important;
    line-height:1.55!important;
    text-align:right!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}

/* Single item — reference proportions and spacing */
.wppg-single-page-wrap{padding:18px 20px 70px!important;}
.wppg-single{
    width:min(100%,1200px)!important;
    max-width:1200px!important;
    margin:0 auto!important;
    padding:0!important;
    color:#30343a!important;
}
.wppg-single-searchbar{height:48px!important;margin:0 0 36px!important;border-radius:8px!important;background:#efeff0!important;}
.wppg-single-heading h1{font-size:22px!important;font-weight:800!important;}
.wppg-single-rule{margin:18px 0 35px!important;background:#70747a!important;opacity:.7!important;}
.wppg-detail-layout{grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr)!important;gap:72px!important;}
.wppg-detail-main-image{min-height:330px!important;background:#fff!important;}
.wppg-detail-main-image img{max-height:560px!important;object-fit:contain!important;}
.wppg-primary-download{background:var(--wppg-reference-blue)!important;}
.wppg-comment-form__title>span{background:var(--wppg-reference-blue)!important;}
.wppg-comment-form__footer button{background:#101828!important;}

@media (max-width:1540px){
    .wppg-gallery{width:min(calc(100% - 0px),1500px)!important;max-width:1500px!important;}
}

@media (max-width:1280px){
    .wppg-gallery{width:100%!important;max-width:none!important;}
    .wppg-gallery-hero{
        grid-template-columns:minmax(420px,45%) minmax(0,1fr)!important;
        grid-template-rows:auto 40px!important;
        column-gap:36px!important;
        row-gap:42px!important;
    }
    .wppg-gallery-hero__visual{width:100%!important;height:auto!important;min-height:280px!important;aspect-ratio:1.985/1!important;}
    .wppg-gallery-hero__content{height:auto!important;min-height:280px!important;padding-right:0!important;}
    .wppg-hero-stats{gap:18px!important;}
    .wppg-hero-stat>i{width:36px!important;height:36px!important;flex-basis:36px!important;}
    .wppg-hero-stat>i svg{width:34px!important;height:34px!important;}
    .wppg-hero-stat b{font-size:21px!important;}
    .wppg-hero-stat em{font-size:16px!important;}
    .wppg-hero-description{font-size:16px!important;}
}

@media (max-width:980px){
    .wppg-gallery-hero{
        display:flex!important;
        flex-direction:column!important;
        gap:26px!important;
        padding-top:26px!important;
    }
    .wppg-gallery-hero__content{order:1!important;min-height:0!important;height:auto!important;}
    .wppg-gallery-hero__visual{order:2!important;min-height:0!important;aspect-ratio:1.985/1!important;}
    .wppg-category-strip{order:3!important;padding-inline:0!important;}
    .wppg-hero-search,.wppg-quick-tags{width:100%!important;margin-right:0!important;}
    .wppg-hero-description{margin-bottom:25px!important;}
    .wppg-detail-layout{grid-template-columns:1fr!important;gap:34px!important;}
}

@media (max-width:680px){
    .wppg-template-wrap{padding-inline:10px!important;}
    .wppg-gallery-hero{margin-bottom:28px!important;border-top-width:2px!important;}
    .wppg-hero-stats{gap:12px!important;margin-bottom:22px!important;overflow-x:auto!important;}
    .wppg-hero-stat{gap:7px!important;}
    .wppg-hero-stat>i{width:28px!important;height:28px!important;flex-basis:28px!important;}
    .wppg-hero-stat>i svg{width:26px!important;height:26px!important;}
    .wppg-hero-stat b{font-size:15px!important;}
    .wppg-hero-stat em{font-size:11px!important;}
    .wppg-hero-description{font-size:13px!important;white-space:normal!important;}
    .wppg-hero-search{height:54px!important;min-height:54px!important;border-radius:11px!important;}
    .wppg-hero-select{width:132px!important;min-width:132px!important;flex-basis:132px!important;height:54px!important;}
    .wppg-hero-select select{height:54px!important;padding-right:37px!important;font-size:13px!important;}
    .wppg-hero-select>svg{right:12px!important;width:17px!important;height:17px!important;}
    .wppg-hero-search .wppg-search,.wppg-hero-search .wppg-search input{height:54px!important;}
    .wppg-hero-search .wppg-search input{padding-left:43px!important;font-size:13px!important;}
    .wppg-hero-search .wppg-search>i{left:13px!important;}
    .wppg-hero-search .wppg-search>i svg{width:23px!important;height:23px!important;}
    .wppg-quick-tags{justify-content:flex-start!important;margin-top:14px!important;}
    .wppg-category-strip{gap:8px!important;height:36px!important;}
    .wppg-category-strip .wppg-filter{min-height:36px!important;padding-inline:16px!important;font-size:12px!important;}
    .wppg-card__actions,.wppg-card__download{top:10px!important;opacity:1!important;transform:none!important;}
    .wppg-card__actions{right:10px!important;gap:6px!important;}
    .wppg-card__download{left:10px!important;}
    .wppg-action{width:38px!important;height:38px!important;border-radius:10px!important;}
    .wppg-action svg{width:21px!important;height:21px!important;}
    .wppg-floating-title{display:none!important;}
    .wppg-single-page-wrap{padding-inline:10px!important;}
    .wppg-single{width:100%!important;}
}

/* The reference screenshots were captured on a high-density desktop viewport.
   This breakpoint preserves the same physical proportions at that scale. */
.wppg-template-wrap{box-sizing:border-box!important;}

@media (min-width:981px) and (max-width:1540px){
    .wppg-gallery{width:min(100%,1200px)!important;max-width:1200px!important;}
    .wppg-gallery-hero{
        grid-template-columns:540px minmax(0,1fr)!important;
        grid-template-rows:272px 32px!important;
        column-gap:43px!important;
        row-gap:45px!important;
        padding-top:28px!important;
        margin-bottom:34px!important;
    }
    .wppg-gallery-hero__visual{
        width:540px!important;
        height:272px!important;
        min-height:272px!important;
        aspect-ratio:auto!important;
    }
    .wppg-gallery-hero__content{
        height:272px!important;
        min-height:272px!important;
        padding:6px 18px 0 0!important;
    }
    .wppg-hero-stats{gap:24px!important;margin-bottom:25px!important;}
    .wppg-hero-stats>div,.wppg-hero-stat{gap:10px!important;font-size:16px!important;}
    .wppg-hero-stat>i{width:34px!important;height:34px!important;flex-basis:34px!important;}
    .wppg-hero-stat>i svg{width:32px!important;height:32px!important;}
    .wppg-hero-stat b{font-size:20px!important;}
    .wppg-hero-stat em{font-size:16px!important;}
    .wppg-hero-description{font-size:16px!important;line-height:1.7!important;}
    .wppg-hero-search{
        width:calc(100% - 18px)!important;
        height:48px!important;
        min-height:48px!important;
        margin: auto 18px 0 0!important;
        border-radius:10px!important;
    }
    .wppg-hero-select{width:128px!important;min-width:128px!important;flex-basis:128px!important;height:48px!important;}
    .wppg-hero-select select{height:48px!important;padding-right:36px!important;font-size:14px!important;}
    .wppg-hero-select>svg{right:13px!important;width:18px!important;height:18px!important;}
    .wppg-hero-search .wppg-search,.wppg-hero-search .wppg-search input{height:48px!important;}
    .wppg-hero-search .wppg-search input{padding-right:18px!important;padding-left:50px!important;font-size:14px!important;}
    .wppg-hero-search .wppg-search>i{left:17px!important;}
    .wppg-hero-search .wppg-search>i svg{width:25px!important;height:25px!important;}
    .wppg-quick-tags{
        width:calc(100% - 18px)!important;
        min-height:25px!important;
        margin:16px 18px 0 0!important;
        gap:7px!important;
    }
    .wppg-quick-tags[data-empty="true"]{min-height:25px!important;}
    .wppg-quick-tags .wppg-filter{min-height:24px!important;padding:4px 14px!important;font-size:10px!important;}
    .wppg-category-strip{height:32px!important;padding:0 34px!important;gap:9px!important;}
    .wppg-category-strip .wppg-filter{min-height:32px!important;padding:0 17px!important;font-size:12px!important;}
}

/* Final reference alignment */
.wppg-gallery-hero{border-top:0!important;}
.wppg-gallery-hero::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    width:100vw;
    height:3px;
    background:var(--wppg-reference-blue);
    transform:translateX(-50%);
    pointer-events:none;
}

@media (min-width:981px) and (max-width:1540px){
    .wppg-gallery-hero__visual,.wppg-gallery-hero__content{margin-top:-3px!important;}
    .wppg-hero-search{
        width:100%!important;
        margin:76px 0 0!important;
    }
    .wppg-quick-tags{
        width:100%!important;
        margin:16px 0 0!important;
    }
}

@media (min-width:981px) and (max-width:1540px){
    .wppg-gallery-hero{row-gap:48px!important;}
    .wppg-gallery-hero__visual{margin-top:0!important;}
    .wppg-gallery-hero__content{margin-top:0!important;padding-top:13px!important;}
    .wppg-hero-search{margin-top:73px!important;}
}

/* ======================================================================
   v1.5.0 — exact hover title and product-detail reference reconstruction
   ====================================================================== */
.wppg-card__actions,.wppg-card__download{
    top:15px!important;
}
.wppg-card__actions{right:15px!important;gap:8px!important}
.wppg-card__download{left:15px!important}
.wppg-action{
    width:43px!important;
    height:43px!important;
    min-width:43px!important;
    min-height:43px!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.16)!important;
    border-radius:13px!important;
    background:rgba(85,87,91,.68)!important;
    color:#fff!important;
    box-shadow:0 7px 18px rgba(0,0,0,.13)!important;
    backdrop-filter:blur(7px)!important;
    -webkit-backdrop-filter:blur(7px)!important;
}
.wppg-action svg{width:23px!important;height:23px!important;stroke-width:1.85!important}
.wppg-action:hover,.wppg-action:focus-visible,.wppg-action.is-active{
    background:rgba(66,68,72,.86)!important;
    color:#fff!important;
    transform:translateY(-1px)!important;
}
.wppg-card__author{right:16px!important;bottom:15px!important;gap:9px!important}
.wppg-card__author img{width:40px!important;height:40px!important}
.wppg-card__author strong{font-size:14px!important;font-weight:700!important}

/* ======================================================================
   v1.6.0 — corrected cursor tooltip, two-part hero media and full-scale
   single view. This block intentionally overrides earlier reference passes.
   ====================================================================== */

/* Card controls: same placement as the reference, with a slightly smaller size. */
.wppg-gallery .wppg-card__actions,
.wppg-gallery .wppg-card__download{
    top:15px!important;
}
.wppg-gallery .wppg-card__actions{
    right:15px!important;
    gap:7px!important;
}
.wppg-gallery .wppg-card__download{
    left:15px!important;
}
.wppg-gallery .wppg-action{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:11px!important;
    background:rgba(74,76,80,.65)!important;
    color:#fff!important;
    box-shadow:0 7px 18px rgba(0,0,0,.13)!important;
    backdrop-filter:blur(7px)!important;
    -webkit-backdrop-filter:blur(7px)!important;
}
.wppg-gallery .wppg-action svg{
    width:20px!important;
    height:20px!important;
    stroke-width:1.85!important;
}
.wppg-gallery .wppg-action:hover,
.wppg-gallery .wppg-action:focus-visible,
.wppg-gallery .wppg-action.is-active{
    background:rgba(53,55,59,.88)!important;
    color:#fff!important;
    transform:translateY(-1px)!important;
}
.wppg-gallery .wppg-card__author{
    right:14px!important;
    bottom:13px!important;
    gap:8px!important;
}
.wppg-gallery .wppg-card__author img{
    width:34px!important;
    height:34px!important;
}
.wppg-gallery .wppg-card__author strong{
    font-size:12px!important;
    font-weight:700!important;
}

/* The fixed cursor tooltip is attached to body and positioned with translate3d. */
.wppg-floating-title{display:none!important}
html body .wppg-cursor-title{
    position:fixed!important;
    z-index:2147483640!important;
    left:0!important;
    top:0!important;
    display:block!important;
    max-width:min(760px,72vw)!important;
    opacity:0;
    visibility:hidden;
    pointer-events:none!important;
    transform:translate3d(-9999px,-9999px,0);
    transform-origin:right center;
    will-change:transform,opacity;
}
html body .wppg-cursor-title.is-visible{visibility:visible!important}
html body .wppg-cursor-title span{
    display:block!important;
    max-width:min(760px,72vw)!important;
    padding:9px 16px 10px!important;
    border-radius:9px!important;
    background:#0d0d0e!important;
    color:#fff!important;
    box-shadow:0 11px 30px rgba(0,0,0,.20)!important;
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.7!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    direction:rtl!important;
    text-align:right!important;
}

/* The original hero image footprint is preserved and divided into two equal parts. */
.wppg-gallery .wppg-gallery-hero__visual{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    gap:10px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    overflow:hidden!important;
    background:#fff!important;
}
.wppg-gallery .wppg-gallery-hero__visual-slot{
    min-width:0!important;
    min-height:0!important;
    height:100%!important;
    overflow:hidden!important;
    background:#fff!important;
}
.wppg-gallery .wppg-gallery-hero__visual-slot img,
.wppg-gallery .wppg-gallery-hero__visual-slot .wppg-gallery-hero__placeholder{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
}
.wppg-gallery .wppg-gallery-hero__visual-slot .wppg-gallery-hero__placeholder{
    position:relative!important;
    border:1px solid #eceff3!important;
}
.wppg-gallery .wppg-gallery-hero__visual-slot .wppg-gallery-hero__placeholder i{
    width:42px!important;
    height:42px!important;
}

/* Full-scale single page. */
.wppg-single-page-wrap{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:20px 24px 80px!important;
}
.wppg-template-wrap .wppg-single.wppg-single--reference{
    width:min(1280px,calc(100vw - 48px))!important;
    max-width:1280px!important;
    margin:0 auto!important;
    padding:0!important;
    color:#30343a!important;
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
    font-variant-numeric:normal!important;
}
.wppg-single--reference .wppg-single-searchbar{
    width:100%!important;
    height:48px!important;
    margin:0 0 30px!important;
    border:0!important;
    border-radius:10px!important;
    background:#f0f0f1!important;
    box-shadow:none!important;
}
.wppg-single--reference .wppg-single-searchbar__category{
    width:170px!important;
    flex:0 0 170px!important;
    border-left:1px solid #d9dce1!important;
}
.wppg-single--reference .wppg-single-searchbar__category select{
    height:48px!important;
    padding:0 42px 0 13px!important;
    color:#96999e!important;
    font-size:12px!important;
    font-weight:500!important;
}
.wppg-single--reference .wppg-single-searchbar__category>svg{
    right:15px!important;
    width:17px!important;
    height:17px!important;
}
.wppg-single--reference .wppg-single-searchbar__input input{
    height:48px!important;
    padding:0 15px 0 52px!important;
    font-size:12px!important;
}
.wppg-single--reference .wppg-single-searchbar__input i{left:16px!important}
.wppg-single--reference .wppg-single-searchbar__input i svg{width:23px!important;height:23px!important}
.wppg-single--reference .wppg-breadcrumb{
    gap:7px!important;
    margin:0 0 26px!important;
    font-size:10px!important;
    line-height:1.7!important;
}
.wppg-single--reference .wppg-breadcrumb span svg{width:10px!important;height:10px!important}
.wppg-single--reference .wppg-single-heading{
    min-height:42px!important;
    align-items:center!important;
    gap:24px!important;
}
.wppg-single--reference .wppg-single-heading h1{
    margin:0!important;
    color:#30343a!important;
    font-size:21px!important;
    font-weight:800!important;
    line-height:1.8!important;
}
.wppg-single--reference .wppg-single-actions{gap:7px!important}
.wppg-single--reference .wppg-single-action{
    min-height:34px!important;
    height:34px!important;
    padding:6px 10px!important;
    gap:5px!important;
    border-radius:7px!important;
    background:#eef0f2!important;
    color:#676c73!important;
    font-size:10px!important;
    font-weight:600!important;
}
.wppg-single--reference .wppg-single-action svg{width:15px!important;height:15px!important}
.wppg-single--reference .wppg-single-rule{
    height:1px!important;
    margin:18px 0 38px!important;
    background:#777b80!important;
    opacity:.72!important;
}
.wppg-single--reference .wppg-detail-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr)!important;
    gap:82px!important;
    align-items:start!important;
    direction:ltr!important;
    min-height:560px!important;
}
.wppg-single--reference .wppg-detail-media{
    grid-column:1!important;
    direction:rtl!important;
    min-width:0!important;
}
.wppg-single--reference .wppg-detail-info{
    grid-column:2!important;
    direction:rtl!important;
    min-width:0!important;
    padding:28px 0 0!important;
}
.wppg-single--reference .wppg-detail-main-image{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    width:100%!important;
    min-height:500px!important;
    max-height:760px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    overflow:hidden!important;
}
.wppg-single--reference .wppg-detail-main-image img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:760px!important;
    object-fit:contain!important;
}
.wppg-single--reference .wppg-detail-main-image--empty{
    min-height:500px!important;
}
.wppg-single--reference .wppg-detail-thumbs{
    justify-content:center!important;
    gap:7px!important;
    margin-top:14px!important;
}
.wppg-single--reference .wppg-detail-thumb{
    width:62px!important;
    height:62px!important;
    padding:2px!important;
    border-radius:4px!important;
}
.wppg-single--reference .wppg-detail-lead{
    margin:0 0 19px!important;
    color:#50555c!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:2!important;
}
.wppg-single--reference .wppg-detail-block{margin:0 0 28px!important}
.wppg-single--reference .wppg-detail-block>strong{
    display:block!important;
    margin-bottom:10px!important;
    font-size:12px!important;
    font-weight:800!important;
}
.wppg-single--reference .wppg-detail-chips{gap:7px!important}
.wppg-single--reference .wppg-detail-chips a{
    padding:6px 11px!important;
    border-radius:6px!important;
    background:#eeeeef!important;
    color:#62676e!important;
    font-size:10px!important;
    line-height:1.5!important;
}
.wppg-single--reference .wppg-detail-source{
    gap:6px!important;
    margin:28px 0 20px!important;
    color:#60656c!important;
    font-size:11px!important;
    line-height:1.8!important;
}
.wppg-single--reference .wppg-detail-source__icon{
    width:15px!important;
    height:15px!important;
    font-size:9px!important;
}
.wppg-single--reference .wppg-detail-specs{
    gap:14px!important;
    margin-top:16px!important;
}
.wppg-single--reference .wppg-detail-specs>div{
    gap:8px!important;
    color:#565c64!important;
    font-size:11px!important;
}
.wppg-single--reference .wppg-detail-specs span{
    min-width:108px!important;
    gap:7px!important;
    color:#686e77!important;
}
.wppg-single--reference .wppg-detail-specs svg{
    width:15px!important;
    height:15px!important;
    color:#9299a4!important;
}
.wppg-single--reference .wppg-detail-specs strong{
    font-size:11px!important;
    font-weight:600!important;
}
.wppg-single--reference .wppg-primary-download{
    width:250px!important;
    min-height:52px!important;
    margin:38px 0 0!important;
    padding:10px 18px!important;
    border-radius:9px!important;
    background:#2450e8!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:800!important;
}
.wppg-single--reference .wppg-comments-section{margin-top:76px!important}
.wppg-single--reference .wppg-section-line-title{
    align-items:flex-end!important;
    gap:16px!important;
    margin-bottom:25px!important;
}
.wppg-single--reference .wppg-section-line-title span{
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.35!important;
}
.wppg-single--reference .wppg-section-line-title i{
    height:1px!important;
    margin-bottom:5px!important;
    background:#7f8287!important;
    opacity:.7!important;
}
.wppg-single--reference .wppg-comment-form{
    padding:20px 20px 15px!important;
    border:1px solid #e1e5eb!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 6px 20px rgba(23,31,54,.02)!important;
}
.wppg-single--reference .wppg-comment-form__title{
    gap:7px!important;
    margin-bottom:13px!important;
    font-size:10px!important;
}
.wppg-single--reference .wppg-comment-form__title>span{width:7px!important;height:7px!important;background:#2450e8!important}
.wppg-single--reference .wppg-comment-guest-fields{gap:12px!important;margin-bottom:12px!important}
.wppg-single--reference .wppg-comment-guest-fields label{gap:5px!important;font-size:10px!important}
.wppg-single--reference .wppg-comment-guest-fields input{height:40px!important;padding:0 11px!important;border-radius:8px!important;font-size:11px!important}
.wppg-single--reference .wppg-comment-textarea textarea{
    min-height:125px!important;
    padding:15px!important;
    border:1px solid #e0e4ea!important;
    border-radius:10px!important;
    color:#3e434a!important;
    font-size:11px!important;
    line-height:2!important;
}
.wppg-single--reference .wppg-comment-textarea small{margin-top:7px!important;font-size:9px!important}
.wppg-single--reference .wppg-comment-form__footer{margin-top:10px!important}
.wppg-single--reference .wppg-comment-form__footer button{
    min-width:118px!important;
    height:36px!important;
    border-radius:8px!important;
    background:#101828!important;
    font-size:10px!important;
}
.wppg-single--reference .wppg-comment-message{font-size:10px!important}
.wppg-single--reference .wppg-comments-list{gap:13px!important;margin-top:20px!important}
.wppg-single--reference .wppg-comments-empty,
.wppg-single--reference .wppg-comment-locked{
    min-height:145px!important;
    padding:20px!important;
    border-radius:13px!important;
    background:#fafbfc!important;
}
.wppg-single--reference .wppg-comments-empty svg,
.wppg-single--reference .wppg-comment-locked svg{width:25px!important;height:25px!important;margin-bottom:9px!important}
.wppg-single--reference .wppg-comments-empty strong,
.wppg-single--reference .wppg-comment-locked strong{font-size:11px!important}
.wppg-single--reference .wppg-comments-empty p,
.wppg-single--reference .wppg-comment-locked p{font-size:9px!important}
.wppg-single--reference .wppg-comment-card{
    grid-template-columns:48px 1fr!important;
    gap:12px!important;
    padding:14px!important;
    border-radius:12px!important;
}
.wppg-single--reference .wppg-comment-card__avatar img{width:42px!important;height:42px!important}
.wppg-single--reference .wppg-comment-card__body header strong{font-size:11px!important}
.wppg-single--reference .wppg-comment-card__body time{font-size:9px!important}
.wppg-single--reference .wppg-comment-card__content{font-size:11px!important}
.wppg-single--reference .wppg-content-section{
    min-height:205px!important;
    margin-top:42px!important;
    padding:25px!important;
    border:1px solid #e0e4ea!important;
    border-radius:14px!important;
    background:#fff!important;
}
.wppg-single--reference .wppg-content-section h2{
    margin:0 0 15px!important;
    color:#30343a!important;
    font-size:16px!important;
    font-weight:800!important;
}
.wppg-single--reference .wppg-content-section__body{
    color:#525861!important;
    font-size:12px!important;
    line-height:2.15!important;
}
.wppg-single--reference .wppg-related{margin-top:42px!important}
.wppg-single--reference .wppg-related__grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:10px!important;
}
.wppg-single--reference .wppg-related .wppg-card{
    border-radius:9px!important;
    background:#f2f3f5!important;
    box-shadow:none!important;
}
.wppg-single--reference .wppg-related .wppg-card__image{
    aspect-ratio:4/5!important;
    object-fit:cover!important;
}

@media (max-width:1080px){
    .wppg-template-wrap .wppg-single.wppg-single--reference{
        width:min(900px,calc(100vw - 36px))!important;
    }
    .wppg-single--reference .wppg-detail-layout{
        grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr)!important;
        gap:48px!important;
        min-height:470px!important;
    }
    .wppg-single--reference .wppg-detail-main-image{
        min-height:420px!important;
        max-height:650px!important;
    }
    .wppg-single--reference .wppg-detail-main-image img{max-height:650px!important}
}

@media (max-width:760px){
    html body .wppg-cursor-title{display:none!important}
    .wppg-single-page-wrap{padding:12px 10px 52px!important}
    .wppg-template-wrap .wppg-single.wppg-single--reference{
        width:100%!important;
        max-width:none!important;
    }
    .wppg-single--reference .wppg-single-searchbar{height:44px!important;margin-bottom:20px!important}
    .wppg-single--reference .wppg-single-searchbar__category{width:112px!important;flex-basis:112px!important}
    .wppg-single--reference .wppg-single-searchbar__category select,
    .wppg-single--reference .wppg-single-searchbar__input input{height:44px!important;font-size:11px!important}
    .wppg-single--reference .wppg-single-heading{
        align-items:flex-start!important;
        flex-direction:column!important;
    }
    .wppg-single--reference .wppg-single-heading h1{font-size:18px!important}
    .wppg-single--reference .wppg-single-actions{width:100%!important;overflow-x:auto!important}
    .wppg-single--reference .wppg-single-action{height:32px!important;min-height:32px!important;font-size:9px!important}
    .wppg-single--reference .wppg-detail-layout{
        grid-template-columns:1fr!important;
        gap:26px!important;
        min-height:0!important;
    }
    .wppg-single--reference .wppg-detail-media{grid-column:1!important;grid-row:1!important}
    .wppg-single--reference .wppg-detail-info{grid-column:1!important;grid-row:2!important;padding-top:0!important}
    .wppg-single--reference .wppg-detail-main-image{min-height:250px!important;max-height:540px!important}
    .wppg-single--reference .wppg-detail-main-image img{max-height:540px!important}
    .wppg-single--reference .wppg-detail-lead,
    .wppg-single--reference .wppg-detail-block>strong,
    .wppg-single--reference .wppg-detail-specs>div,
    .wppg-single--reference .wppg-detail-specs strong,
    .wppg-single--reference .wppg-detail-source{font-size:11px!important}
    .wppg-single--reference .wppg-detail-chips a{font-size:10px!important}
    .wppg-single--reference .wppg-primary-download{width:100%!important;min-height:46px!important;font-size:12px!important}
    .wppg-single--reference .wppg-section-line-title span{font-size:14px!important}
    .wppg-single--reference .wppg-comment-form{padding:14px!important}
    .wppg-single--reference .wppg-comment-form__title,
    .wppg-single--reference .wppg-comment-guest-fields label,
    .wppg-single--reference .wppg-comment-textarea textarea,
    .wppg-single--reference .wppg-comment-form__footer button,
    .wppg-single--reference .wppg-content-section__body{font-size:11px!important}
    .wppg-single--reference .wppg-comment-textarea textarea{min-height:110px!important}
    .wppg-single--reference .wppg-related__grid{
        display:flex!important;
        overflow-x:auto!important;
        gap:8px!important;
    }
    .wppg-single--reference .wppg-related__grid .wppg-card{
        min-width:145px!important;
        flex:0 0 145px!important;
    }
    .wppg-gallery .wppg-gallery-hero__visual{gap:6px!important}
}

/* ========================================================================
 * Version 1.7.0 — professional single page refinements
 * ===================================================================== */

/* Keep the original hero footprint; divide it horizontally into two rows. */
.wppg-gallery .wppg-gallery-hero__visual{
    grid-template-columns:1fr!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
}
.wppg-gallery .wppg-gallery-hero__visual-slot{
    width:100%!important;
    height:100%!important;
}

.wppg-single-page-wrap{
    background:linear-gradient(180deg,#fff 0,#fbfcfe 100%)!important;
}
.wppg-template-wrap .wppg-single.wppg-single--reference{
    color:#15171a!important;
}
.wppg-single--reference,
.wppg-single--reference button,
.wppg-single--reference input,
.wppg-single--reference select,
.wppg-single--reference textarea,
.wppg-single--reference a,
.wppg-single--reference p,
.wppg-single--reference span,
.wppg-single--reference strong,
.wppg-single--reference small{
    font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;
}

/* AJAX search */
.wppg-single--reference .wppg-single-searchbar{
    position:relative!important;
    display:flex!important;
    align-items:stretch!important;
    height:58px!important;
    margin-bottom:28px!important;
    border:1px solid #e5e8ee!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 10px 30px rgba(20,31,55,.07)!important;
    overflow:visible!important;
    z-index:40!important;
}
.wppg-single--reference .wppg-single-searchbar:focus-within{
    border-color:rgba(36,80,232,.38)!important;
    box-shadow:0 14px 36px rgba(36,80,232,.11)!important;
}
.wppg-single--reference .wppg-single-searchbar__category{
    width:190px!important;
    flex:0 0 190px!important;
    border-left:1px solid #e7e9ee!important;
    border-radius:0 14px 14px 0!important;
    background:#f7f8fa!important;
}
.wppg-single--reference .wppg-single-searchbar__category select{
    height:56px!important;
    padding:0 43px 0 14px!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:600!important;
    cursor:pointer!important;
}
.wppg-single--reference .wppg-single-searchbar__category>svg{
    right:16px!important;
    width:18px!important;
    height:18px!important;
    color:#777d87!important;
}
.wppg-single--reference .wppg-single-searchbar__input{
    position:relative!important;
    flex:1 1 auto!important;
    min-width:0!important;
}
.wppg-single--reference .wppg-single-searchbar__input input{
    width:100%!important;
    height:56px!important;
    padding:0 20px 0 58px!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:500!important;
}
.wppg-single--reference .wppg-single-searchbar__input input::placeholder{
    color:#969ba4!important;
    opacity:1!important;
}
.wppg-single--reference .wppg-single-searchbar__input i{
    left:18px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    color:#7d8490!important;
}
.wppg-single--reference .wppg-single-searchbar__input i svg{
    width:24px!important;
    height:24px!important;
}
.wppg-single-searchbar__loader{
    position:absolute!important;
    left:54px!important;
    top:50%!important;
    width:18px!important;
    height:18px!important;
    margin-top:-9px!important;
    border:2px solid #dce1ea!important;
    border-top-color:var(--wppg-accent,#2450e8)!important;
    border-radius:50%!important;
    opacity:0!important;
    visibility:hidden!important;
    animation:wppg-spin .7s linear infinite!important;
}
.wppg-single-searchbar__loader.is-visible{opacity:1!important;visibility:visible!important}
.wppg-single-search-results{
    position:absolute!important;
    top:calc(100% + 10px)!important;
    right:0!important;
    left:0!important;
    max-height:440px!important;
    padding:9px!important;
    border:1px solid #e5e8ef!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 24px 60px rgba(19,31,58,.16)!important;
    overflow:auto!important;
    backdrop-filter:blur(14px)!important;
    z-index:100!important;
}
.wppg-single-search-results[hidden]{display:none!important}
.wppg-single-search-result{
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr) 22px!important;
    align-items:center!important;
    gap:13px!important;
    min-height:72px!important;
    padding:7px!important;
    border-radius:11px!important;
    color:#17191c!important;
    text-decoration:none!important;
    transition:background .2s ease,transform .2s ease!important;
}
.wppg-single-search-result:hover{
    background:#f4f6fb!important;
    transform:translateX(-2px)!important;
}
.wppg-single-search-result img{
    width:58px!important;
    height:58px!important;
    border-radius:9px!important;
    object-fit:cover!important;
    background:#f0f1f4!important;
}
.wppg-single-search-result__copy{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:5px!important;
    min-width:0!important;
}
.wppg-single-search-result__copy strong{
    max-width:100%!important;
    overflow:hidden!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:800!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.wppg-single-search-result__copy small{
    color:#707782!important;
    font-size:12px!important;
    font-weight:500!important;
}
.wppg-single-search-result>i svg{
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:#9aa0aa!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
.wppg-single-search-results__empty{
    padding:24px 18px!important;
    color:#555c65!important;
    font-size:14px!important;
    font-weight:600!important;
    text-align:center!important;
}

/* Breadcrumb */
.wppg-single--reference .wppg-breadcrumb{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    margin:0 0 24px!important;
    padding:0!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:500!important;
    line-height:1.8!important;
}
.wppg-single--reference .wppg-breadcrumb a{
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    color:#515862!important;
    font-size:14px!important;
    font-weight:600!important;
    text-decoration:none!important;
    transition:color .2s ease!important;
}
.wppg-single--reference .wppg-breadcrumb a:hover{color:var(--wppg-accent,#2450e8)!important}
.wppg-single--reference .wppg-breadcrumb>i{
    display:inline-flex!important;
    color:#b1b6bf!important;
}
.wppg-single--reference .wppg-breadcrumb>i svg{
    width:14px!important;
    height:14px!important;
}
.wppg-single--reference .wppg-breadcrumb strong{
    max-width:420px!important;
    overflow:hidden!important;
    color:var(--wppg-accent,#2450e8)!important;
    font-size:14px!important;
    font-weight:700!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.wppg-breadcrumb__home>span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:26px!important;
    height:26px!important;
    border-radius:8px!important;
    background:#f0f3fb!important;
    color:var(--wppg-accent,#2450e8)!important;
}
.wppg-breadcrumb__home>span svg{width:14px!important;height:14px!important}

/* Heading and actions */
.wppg-single--reference .wppg-single-heading{
    align-items:center!important;
    min-height:52px!important;
    gap:24px!important;
}
.wppg-single--reference .wppg-single-heading h1{
    color:#111317!important;
    font-size:25px!important;
    font-weight:900!important;
    letter-spacing:-.25px!important;
}
.wppg-single--reference .wppg-single-actions{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:9px!important;
}
.wppg-single--reference .wppg-single-action{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    min-width:max-content!important;
    min-height:42px!important;
    height:42px!important;
    padding:0 14px!important;
    border:1px solid #e1e5eb!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-shadow:0 6px 18px rgba(22,31,48,.055)!important;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease!important;
}
.wppg-single--reference .wppg-single-action span{
    display:inline-block!important;
    color:inherit!important;
    font-size:14px!important;
    line-height:1!important;
    white-space:nowrap!important;
}
.wppg-single--reference .wppg-single-action svg{
    flex:0 0 auto!important;
    width:18px!important;
    height:18px!important;
}
.wppg-single--reference .wppg-single-action:hover,
.wppg-single--reference .wppg-single-action.is-active{
    border-color:rgba(36,80,232,.32)!important;
    color:var(--wppg-accent,#2450e8)!important;
    box-shadow:0 10px 24px rgba(36,80,232,.10)!important;
    transform:translateY(-1px)!important;
}
.wppg-single--reference .wppg-single-rule{
    margin:20px 0 38px!important;
    background:linear-gradient(90deg,transparent,#cfd4dc 8%,#cfd4dc 92%,transparent)!important;
    opacity:1!important;
}

/* Detail area */
.wppg-single--reference .wppg-detail-layout{
    gap:58px!important;
    min-height:0!important;
}
.wppg-single--reference .wppg-detail-media{
    padding:18px!important;
    border:1px solid #e7eaf0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 18px 45px rgba(21,32,55,.07)!important;
}
.wppg-single--reference .wppg-detail-main-image{
    min-height:520px!important;
    border-radius:12px!important;
    background:#f6f7f9!important;
}
.wppg-single--reference .wppg-detail-main-image img{border-radius:10px!important}
.wppg-single--reference .wppg-detail-info{
    padding:24px!important;
    border:1px solid #e7eaf0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 18px 45px rgba(21,32,55,.07)!important;
}
.wppg-single--reference .wppg-detail-lead{
    margin:0 0 22px!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:2!important;
}
.wppg-single--reference .wppg-detail-block{margin-bottom:26px!important}
.wppg-single--reference .wppg-detail-block>strong{
    margin-bottom:12px!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:900!important;
}
.wppg-single--reference .wppg-detail-chips{gap:8px!important}
.wppg-single--reference .wppg-detail-chips a{
    padding:7px 12px!important;
    border:1px solid #e3e6eb!important;
    border-radius:8px!important;
    background:#f6f7f9!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:1.4!important;
    text-decoration:none!important;
}
.wppg-single--reference .wppg-detail-chips a:hover{
    border-color:rgba(36,80,232,.28)!important;
    background:#f2f5ff!important;
    color:var(--wppg-accent,#2450e8)!important;
}
.wppg-single--reference .wppg-detail-source{
    padding:13px 14px!important;
    margin:24px 0 18px!important;
    border-radius:10px!important;
    background:#fff8f2!important;
    color:#17191c!important;
    font-size:14px!important;
    line-height:1.8!important;
}
.wppg-single--reference .wppg-detail-source span,
.wppg-single--reference .wppg-detail-source strong,
.wppg-single--reference .wppg-detail-source a{
    color:#17191c!important;
    font-size:14px!important;
}
.wppg-single--reference .wppg-detail-source a{color:var(--wppg-accent,#2450e8)!important;font-weight:800!important}
.wppg-single--reference .wppg-detail-source__icon{
    width:20px!important;
    height:20px!important;
    background:#ff7a20!important;
    color:#fff!important;
    font-size:11px!important;
}
.wppg-single--reference .wppg-detail-specs{
    display:grid!important;
    gap:0!important;
    margin-top:14px!important;
    border:1px solid #e8ebf0!important;
    border-radius:12px!important;
    overflow:hidden!important;
}
.wppg-single--reference .wppg-detail-specs>div{
    min-height:48px!important;
    padding:0 13px!important;
    border-bottom:1px solid #edf0f4!important;
    color:#17191c!important;
    font-size:14px!important;
    background:#fff!important;
}
.wppg-single--reference .wppg-detail-specs>div:last-child{border-bottom:0!important}
.wppg-single--reference .wppg-detail-specs>div:nth-child(even){background:#fafbfc!important}
.wppg-single--reference .wppg-detail-specs span{
    min-width:125px!important;
    color:#17191c!important;
    font-size:14px!important;
    font-weight:600!important;
}
.wppg-single--reference .wppg-detail-specs svg{
    width:17px!important;
    height:17px!important;
    color:#8d95a1!important;
}
.wppg-single--reference .wppg-detail-specs strong{
    color:#17191c!important;
    font-size:14px!important;
    font-weight:800!important;
}
.wppg-single--reference .wppg-primary-download{
    width:100%!important;
    min-height:54px!important;
    margin-top:24px!important;
    border-radius:11px!important;
    background:linear-gradient(135deg,var(--wppg-accent,#2450e8),#5979f2)!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:900!important;
    box-shadow:0 14px 30px rgba(36,80,232,.22)!important;
    transition:transform .2s ease,box-shadow .2s ease!important;
}
.wppg-single--reference .wppg-primary-download:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 18px 38px rgba(36,80,232,.28)!important;
}

/* Description before comments */
.wppg-single--reference .wppg-content-section{
    min-height:0!important;
    margin-top:54px!important;
    padding:27px 30px!important;
    border:1px solid #e4e8ee!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 14px 35px rgba(22,33,55,.055)!important;
}
.wppg-single--reference .wppg-content-section h2{
    margin:0 0 14px!important;
    color:#111317!important;
    font-size:19px!important;
    font-weight:900!important;
}
.wppg-single--reference .wppg-content-section__body,
.wppg-single--reference .wppg-content-section__body p{
    color:#17191c!important;
    font-size:14px!important;
    font-weight:400!important;
    line-height:2.15!important;
}

/* Comments */
.wppg-single--reference .wppg-comments-section{margin-top:52px!important}
.wppg-single--reference .wppg-section-line-title span{
    color:#111317!important;
    font-size:17px!important;
    font-weight:900!important;
}
.wppg-single--reference .wppg-section-line-title i{background:#cfd4dc!important}
.wppg-single--reference .wppg-comment-form{
    padding:22px!important;
    border:1px solid #e4e8ef!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 12px 32px rgba(22,33,55,.05)!important;
}
.wppg-single--reference .wppg-comment-form__title,
.wppg-single--reference .wppg-comment-form__title strong,
.wppg-single--reference .wppg-comment-guest-fields label,
.wppg-single--reference .wppg-comment-guest-fields label span,
.wppg-single--reference .wppg-comment-textarea textarea,
.wppg-single--reference .wppg-comment-form__footer button,
.wppg-single--reference .wppg-comment-message,
.wppg-single--reference .wppg-comments-empty strong,
.wppg-single--reference .wppg-comments-empty p,
.wppg-single--reference .wppg-comment-card__body header strong,
.wppg-single--reference .wppg-comment-card__content{
    color:#17191c!important;
    font-size:14px!important;
}
.wppg-single--reference .wppg-comment-textarea textarea{
    min-height:135px!important;
    border-color:#e1e5eb!important;
    border-radius:12px!important;
    line-height:2!important;
}
.wppg-single--reference .wppg-comment-form__footer button{
    min-height:43px!important;
    padding:0 18px!important;
    border-radius:9px!important;
    background:#111827!important;
    color:#fff!important;
    font-weight:800!important;
}
.wppg-single--reference .wppg-comments-list{gap:12px!important}
.wppg-single--reference .wppg-comment-card{
    border:1px solid #e7eaf0!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(22,33,55,.04)!important;
}
.wppg-single--reference .wppg-comment-card__body time{font-size:12px!important;color:#7c838d!important}

@media (max-width:1080px){
    .wppg-single--reference .wppg-detail-layout{gap:32px!important}
    .wppg-single--reference .wppg-detail-media,
    .wppg-single--reference .wppg-detail-info{padding:18px!important}
}
@media (max-width:760px){
    .wppg-single--reference .wppg-single-searchbar{height:52px!important;margin-bottom:20px!important}
    .wppg-single--reference .wppg-single-searchbar__category{width:135px!important;flex-basis:135px!important}
    .wppg-single--reference .wppg-single-searchbar__category select,
    .wppg-single--reference .wppg-single-searchbar__input input{height:50px!important;font-size:12px!important}
    .wppg-single-search-results{top:calc(100% + 7px)!important;border-radius:12px!important}
    .wppg-single-search-result{grid-template-columns:48px minmax(0,1fr) 18px!important;min-height:62px!important}
    .wppg-single-search-result img{width:48px!important;height:48px!important}
    .wppg-single-search-result__copy strong{font-size:13px!important}
    .wppg-single--reference .wppg-breadcrumb,
    .wppg-single--reference .wppg-breadcrumb a,
    .wppg-single--reference .wppg-breadcrumb strong{font-size:12px!important}
    .wppg-single--reference .wppg-single-heading h1{font-size:20px!important}
    .wppg-single--reference .wppg-single-actions{padding-bottom:5px!important}
    .wppg-single--reference .wppg-single-action{height:38px!important;min-height:38px!important;padding-inline:11px!important;font-size:12px!important}
    .wppg-single--reference .wppg-single-action span{font-size:12px!important}
    .wppg-single--reference .wppg-detail-media,
    .wppg-single--reference .wppg-detail-info{padding:13px!important;border-radius:14px!important}
    .wppg-single--reference .wppg-detail-main-image{min-height:260px!important}
    .wppg-single--reference .wppg-detail-lead,
    .wppg-single--reference .wppg-detail-block>strong,
    .wppg-single--reference .wppg-detail-chips a,
    .wppg-single--reference .wppg-detail-source,
    .wppg-single--reference .wppg-detail-source span,
    .wppg-single--reference .wppg-detail-source strong,
    .wppg-single--reference .wppg-detail-source a,
    .wppg-single--reference .wppg-detail-specs>div,
    .wppg-single--reference .wppg-detail-specs span,
    .wppg-single--reference .wppg-detail-specs strong,
    .wppg-single--reference .wppg-content-section__body,
    .wppg-single--reference .wppg-content-section__body p{font-size:13px!important}
    .wppg-single--reference .wppg-content-section{margin-top:34px!important;padding:20px!important}
    .wppg-single--reference .wppg-comments-section{margin-top:38px!important}
}


/* ==========================================================
   1.8.0 — final detail-card alignment and side gallery
   ========================================================== */
@media (min-width: 761px){
    .wppg-single--reference .wppg-detail-layout{
        align-items:stretch!important;
    }
    .wppg-single--reference .wppg-detail-media,
    .wppg-single--reference .wppg-detail-info{
        height:100%!important;
        min-height:560px!important;
        box-sizing:border-box!important;
    }
    .wppg-single--reference .wppg-detail-media{
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        grid-template-rows:minmax(0,1fr)!important;
        gap:10px!important;
        padding:10px!important;
        align-items:stretch!important;
        overflow:hidden!important;
    }
    .wppg-single--reference .wppg-detail-media.has-thumbs{
        grid-template-columns:72px minmax(0,1fr)!important;
    }
    .wppg-single--reference .wppg-detail-main-image{
        grid-column:1!important;
        grid-row:1!important;
        width:100%!important;
        height:100%!important;
        min-height:0!important;
        max-height:none!important;
        padding:10px!important;
        margin:0!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        box-sizing:border-box!important;
        background:#f7f8fa!important;
        border-radius:13px!important;
    }
    .wppg-single--reference .wppg-detail-media.has-thumbs .wppg-detail-main-image{
        grid-column:2!important;
    }
    .wppg-single--reference .wppg-detail-main-image img{
        display:block!important;
        width:100%!important;
        height:100%!important;
        max-width:100%!important;
        max-height:100%!important;
        object-fit:contain!important;
        object-position:center!important;
        border-radius:9px!important;
    }
    .wppg-single--reference .wppg-detail-thumbs{
        grid-column:1!important;
        grid-row:1!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        justify-content:flex-start!important;
        gap:9px!important;
        width:72px!important;
        height:100%!important;
        max-height:100%!important;
        margin:0!important;
        padding:2px 4px 2px 2px!important;
        overflow-x:hidden!important;
        overflow-y:auto!important;
        scrollbar-width:thin!important;
        direction:rtl!important;
    }
    .wppg-single--reference .wppg-detail-thumb{
        flex:0 0 64px!important;
        width:64px!important;
        height:64px!important;
        padding:4px!important;
        border:1px solid #e0e4ea!important;
        border-radius:10px!important;
        background:#fff!important;
        box-shadow:0 5px 14px rgba(18,31,53,.06)!important;
        transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
    }
    .wppg-single--reference .wppg-detail-thumb img{
        width:100%!important;
        height:100%!important;
        object-fit:cover!important;
        border-radius:7px!important;
    }
    .wppg-single--reference .wppg-detail-thumb:hover{
        transform:translateY(-1px)!important;
        border-color:#b8c0cc!important;
        box-shadow:0 8px 18px rgba(18,31,53,.10)!important;
    }
    .wppg-single--reference .wppg-detail-thumb.is-active{
        border-color:var(--wppg-accent,#2450e8)!important;
        box-shadow:0 0 0 2px color-mix(in srgb,var(--wppg-accent,#2450e8) 16%,transparent)!important;
    }
    .wppg-single--reference .wppg-detail-info{
        display:flex!important;
        flex-direction:column!important;
    }
    .wppg-single--reference .wppg-primary-download{
        margin-top:auto!important;
        padding-top:0!important;
    }
}

.wppg-single--reference .wppg-detail-source{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    border:1px solid #ffe0c8!important;
    border-inline-start:3px solid #ff7a20!important;
    background:linear-gradient(135deg,#fffaf6,#fff5ed)!important;
    box-shadow:0 7px 18px rgba(255,122,32,.07)!important;
}
.wppg-single--reference .wppg-detail-source__icon{
    flex:0 0 24px!important;
    width:24px!important;
    height:24px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#ff7a20!important;
    color:#fff!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-shadow:0 5px 12px rgba(255,122,32,.22)!important;
    overflow:hidden!important;
}
.wppg-single--reference .wppg-detail-source__icon svg{
    display:block!important;
    width:18px!important;
    height:18px!important;
    overflow:visible!important;
}
.wppg-single--reference .wppg-detail-source__icon svg circle{
    fill:none!important;
    stroke:transparent!important;
}
.wppg-single--reference .wppg-detail-source__icon svg path{
    fill:none!important;
    stroke:#fff!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

.wppg-single--reference .wppg-content-section h2{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
}
.wppg-single--reference .wppg-content-section h2:before{
    content:""!important;
    display:block!important;
    width:4px!important;
    height:22px!important;
    border-radius:99px!important;
    background:var(--wppg-accent,#2450e8)!important;
}

@media (max-width:760px){
    .wppg-single--reference .wppg-detail-media{
        padding:10px!important;
    }
    .wppg-single--reference .wppg-detail-main-image{
        padding:10px!important;
    }
    .wppg-single--reference .wppg-detail-thumbs{
        display:flex!important;
        flex-direction:row!important;
        justify-content:flex-start!important;
        gap:8px!important;
        margin-top:10px!important;
        padding:2px!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
    }
}


/* ======================================================================
   v1.9.0 — tighter single layout, left thumbs, centered image, modal polish
   ====================================================================== */
.wppg-single--reference .wppg-detail-layout{
    grid-template-columns:minmax(0,1.02fr) minmax(330px,.78fr)!important;
    gap:38px!important;
    align-items:stretch!important;
}
.wppg-single--reference .wppg-detail-media,
.wppg-single--reference .wppg-detail-info{
    min-height:560px!important;
}
.wppg-single--reference .wppg-detail-media{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    padding:0!important;
    background:#fff!important;
    border:1px solid #e4e7ed!important;
    border-radius:18px!important;
    box-shadow:0 10px 26px rgba(15,23,42,.05)!important;
}
.wppg-single--reference .wppg-detail-media.has-thumbs{
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:12px!important;
    direction:ltr!important;
    padding:10px!important;
}
.wppg-single--reference .wppg-detail-media:not(.has-thumbs){
    padding:10px!important;
}
.wppg-single--reference .wppg-detail-main-image{
    grid-column:1!important;
    min-height:0!important;
    height:100%!important;
    max-height:540px!important;
    padding:10px!important;
    margin:0!important;
    border-radius:14px!important;
    border:1px solid #edf0f5!important;
    background:#f8f9fb!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
}
.wppg-single--reference .wppg-detail-media.has-thumbs .wppg-detail-main-image{
    grid-column:2!important;
}
.wppg-single--reference .wppg-detail-main-image img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:calc(100% - 20px)!important;
    max-height:calc(100% - 20px)!important;
    object-fit:contain!important;
    margin:auto!important;
    border-radius:10px!important;
}
.wppg-single--reference .wppg-detail-thumbs{
    grid-column:1!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:10px!important;
    margin:0!important;
    padding:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
}
.wppg-single--reference .wppg-detail-thumb{
    width:100%!important;
    height:64px!important;
    min-height:64px!important;
    padding:4px!important;
    border-radius:10px!important;
    border:1px solid #dce1e8!important;
    background:#fff!important;
    box-shadow:0 5px 14px rgba(15,23,42,.05)!important;
}
.wppg-single--reference .wppg-detail-thumb img{
    border-radius:7px!important;
}
.wppg-single--reference .wppg-detail-thumb.is-active,
.wppg-single--reference .wppg-detail-thumb:hover{
    border-color:var(--wppg-accent,#2450e8)!important;
    box-shadow:0 0 0 2px rgba(36,80,232,.12)!important;
}
.wppg-single--reference .wppg-detail-info{
    display:flex!important;
    flex-direction:column!important;
    padding:18px 18px 16px!important;
    border-radius:18px!important;
    border:1px solid #e4e7ed!important;
    background:#fff!important;
    box-shadow:0 10px 26px rgba(15,23,42,.05)!important;
}
.wppg-single--reference .wppg-detail-source{
    margin-top:10px!important;
}
body.wppg-modal-open{overflow:hidden!important}
.wppg-modal{
    background:rgba(10,12,17,.88)!important;
    backdrop-filter:blur(11px)!important;
    -webkit-backdrop-filter:blur(11px)!important;
}
.wppg-modal__stage{
    max-width:min(1440px,94vw)!important;
    max-height:90vh!important;
}
.wppg-modal__image{
    max-height:86vh!important;
    border-radius:18px!important;
    box-shadow:0 24px 70px rgba(0,0,0,.45)!important;
    background:#0f1012!important;
}
.wppg-modal__close,
.wppg-modal__nav{
    width:60px!important;
    height:60px!important;
    border-radius:17px!important;
    background:rgba(91,92,96,.69)!important;
    color:#fff!important;
    backdrop-filter:blur(7px)!important;
    -webkit-backdrop-filter:blur(7px)!important;
    box-shadow:none!important;
}
.wppg-modal__close{top:20px!important;left:20px!important}
.wppg-modal__nav{top:50%!important;transform:translateY(-50%)!important}
.wppg-modal__nav--next{right:20px!important}
.wppg-modal__nav--prev{left:20px!important}
.wppg-modal__close svg,
.wppg-modal__nav svg{width:32px!important;height:32px!important;stroke-width:1.8!important}
.wppg-modal__close:hover,
.wppg-modal__nav:hover{background:rgba(71,72,75,.82)!important;color:#fff!important;transform:translateY(-50%) scale(1.035)!important}
.wppg-modal__close:hover{transform:scale(1.035)!important}
.wppg-modal__count{
    bottom:20px!important;
    padding:10px 16px!important;
    border-radius:999px!important;
    background:rgba(16,16,16,.66)!important;
    font-size:13px!important;
    font-weight:700!important;
}
@media (max-width:1080px){
  .wppg-single--reference .wppg-detail-layout{grid-template-columns:1fr!important;gap:28px!important}
  .wppg-single--reference .wppg-detail-media,
  .wppg-single--reference .wppg-detail-info{min-height:0!important}
}
@media (max-width:760px){
  .wppg-single--reference .wppg-detail-media,
  .wppg-single--reference .wppg-detail-media.has-thumbs{padding:10px!important;display:flex!important;flex-direction:column!important;gap:10px!important}
  .wppg-single--reference .wppg-detail-main-image{order:1!important;max-height:none!important;min-height:260px!important}
  .wppg-single--reference .wppg-detail-thumbs{order:2!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;width:100%!important}
  .wppg-single--reference .wppg-detail-thumb{width:58px!important;height:58px!important;min-height:58px!important}
  .wppg-modal__close,.wppg-modal__nav{width:46px!important;height:46px!important;border-radius:12px!important}
  .wppg-modal__close svg,.wppg-modal__nav svg{width:24px!important;height:24px!important}
}


/* v1.9.2 download button polish */
.wppg-single--reference .wppg-primary-download{
    width:calc(100% - 24px)!important;
    min-height:58px!important;
    margin:22px auto 8px!important;
    padding:14px 18px!important;
    border-radius:14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    background:linear-gradient(135deg,#5b4df5 0%, #5366ee 52%, #5f79f4 100%)!important;
    box-shadow:0 16px 32px rgba(83,102,238,.24)!important;
    position:relative!important;
    overflow:hidden!important;
}
.wppg-single--reference .wppg-primary-download:before{
    content:""!important;
    position:absolute!important;
    inset:1px!important;
    border-radius:13px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0))!important;
    pointer-events:none!important;
}
.wppg-single--reference .wppg-primary-download i,
.wppg-single--reference .wppg-primary-download span{
    position:relative!important;
    z-index:1!important;
}
.wppg-single--reference .wppg-primary-download i{
    display:grid!important;
    place-items:center!important;
    width:28px!important;
    height:28px!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.14)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important;
    flex:0 0 28px!important;
}
.wppg-single--reference .wppg-primary-download i svg{
    width:16px!important;
    height:16px!important;
    color:#fff!important;
}
.wppg-single--reference .wppg-primary-download span{
    font-size:14px!important;
    font-weight:900!important;
    letter-spacing:0!important;
}
.wppg-single--reference .wppg-primary-download:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 18px 38px rgba(83,102,238,.30)!important;
}
@media (max-width:760px){
    .wppg-single--reference .wppg-primary-download{
        width:100%!important;
        margin:18px 0 4px!important;
        min-height:52px!important;
        padding:12px 16px!important;
    }
    .wppg-single--reference .wppg-primary-download i{
        width:24px!important;
        height:24px!important;
        flex-basis:24px!important;
    }
    .wppg-single--reference .wppg-primary-download i svg{
        width:14px!important;
        height:14px!important;
    }
}


/* ======================================================================
   v1.10.0 — dual downloads and tag-based related carousel
   ====================================================================== */
.wppg-single--reference .wppg-download-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    margin-top:auto!important;
    padding-top:22px!important;
}
.wppg-single--reference .wppg-download-actions.has-two{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.wppg-single--reference .wppg-download-actions .wppg-primary-download{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding-inline:13px!important;
}
.wppg-single--reference .wppg-primary-download--hq{
    background:linear-gradient(135deg,#ff7a1a 0%,#ff5f1b 55%,#f04418 100%)!important;
    box-shadow:0 16px 32px rgba(240,68,24,.22)!important;
}
.wppg-single--reference .wppg-primary-download--hq:hover{
    box-shadow:0 18px 38px rgba(240,68,24,.30)!important;
}
.wppg-single--reference .wppg-primary-download--hq i{
    background:rgba(255,255,255,.16)!important;
}
.wppg-related-carousel{
    position:relative!important;
    margin:28px 0 54px!important;
    padding:22px!important;
    border:1px solid #e5e8ee!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 16px 44px rgba(15,23,42,.06)!important;
    overflow:hidden!important;
}
.wppg-related-carousel:before{
    content:""!important;
    position:absolute!important;
    inset:0 auto 0 0!important;
    width:5px!important;
    background:linear-gradient(180deg,var(--wppg-accent,#2450e8),#7b61ff)!important;
}
.wppg-related-carousel__head{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:18px!important;
    margin-bottom:18px!important;
}
.wppg-related-carousel__head>div:first-child>span{
    display:block!important;
    margin-bottom:3px!important;
    color:var(--wppg-accent,#2450e8)!important;
    font-size:11px!important;
    font-weight:800!important;
}
.wppg-related-carousel__head h2{
    margin:0!important;
    color:#17191c!important;
    font-size:20px!important;
    font-weight:900!important;
}
.wppg-related-carousel__head p{
    margin:4px 0 0!important;
    color:#8b93a0!important;
    font-size:12px!important;
}
.wppg-related-carousel__arrows{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    direction:ltr!important;
}
.wppg-related-arrow{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    padding:0!important;
    border:1px solid #e2e6ed!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#333a45!important;
    box-shadow:0 7px 18px rgba(15,23,42,.06)!important;
    transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease!important;
}
.wppg-related-arrow svg{width:18px!important;height:18px!important}
.wppg-related-arrow--prev svg{transform:rotate(180deg)!important}
.wppg-related-arrow:hover{
    border-color:var(--wppg-accent,#2450e8)!important;
    background:var(--wppg-accent,#2450e8)!important;
    color:#fff!important;
    transform:translateY(-1px)!important;
}
.wppg-related-carousel__viewport{
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    direction:rtl!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    overscroll-behavior-inline:contain!important;
}
.wppg-related-carousel__viewport::-webkit-scrollbar{display:none!important}
.wppg-related-carousel__track{
    display:grid!important;
    grid-auto-flow:column!important;
    grid-auto-columns:clamp(210px,24vw,270px)!important;
    gap:16px!important;
    width:max-content!important;
    padding:2px!important;
}
.wppg-related-card{
    scroll-snap-align:start!important;
    border:1px solid #e7eaf0!important;
    border-radius:16px!important;
    background:#fff!important;
    overflow:hidden!important;
    box-shadow:0 8px 22px rgba(15,23,42,.06)!important;
    transition:transform .22s ease,box-shadow .22s ease!important;
}
.wppg-related-card:hover{
    transform:translateY(-4px)!important;
    box-shadow:0 16px 34px rgba(15,23,42,.11)!important;
}
.wppg-related-card__media{
    position:relative!important;
    display:block!important;
    aspect-ratio:4/3!important;
    overflow:hidden!important;
    background:#f1f3f6!important;
}
.wppg-related-card__media img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    transition:transform .4s cubic-bezier(.2,.8,.2,1)!important;
}
.wppg-related-card:hover .wppg-related-card__media img{transform:scale(1.045)!important}
.wppg-related-card__overlay{
    position:absolute!important;
    inset:0!important;
    background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.42))!important;
    opacity:.65!important;
}
.wppg-related-card__media>i{
    position:absolute!important;
    left:12px!important;
    bottom:12px!important;
    display:grid!important;
    place-items:center!important;
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.92)!important;
    color:#1f2937!important;
    box-shadow:0 8px 22px rgba(0,0,0,.16)!important;
    transform:translateY(8px)!important;
    opacity:0!important;
    transition:opacity .22s ease,transform .22s ease!important;
}
.wppg-related-card__media>i svg{width:17px!important;height:17px!important}
.wppg-related-card:hover .wppg-related-card__media>i{opacity:1!important;transform:translateY(0)!important}
.wppg-related-card__body{
    padding:14px 14px 15px!important;
}
.wppg-related-card__body h3{
    margin:0 0 8px!important;
    font-size:14px!important;
    font-weight:900!important;
    line-height:1.7!important;
}
.wppg-related-card__body h3 a{color:#17191c!important;text-decoration:none!important}
.wppg-related-card__body>span{
    display:inline-flex!important;
    align-items:center!important;
    min-height:25px!important;
    padding:4px 9px!important;
    border-radius:999px!important;
    background:#f1f3f7!important;
    color:#667085!important;
    font-size:10px!important;
    font-weight:700!important;
}
@media(max-width:760px){
    .wppg-single--reference .wppg-download-actions.has-two{grid-template-columns:1fr!important}
    .wppg-related-carousel{margin:22px 0 38px!important;padding:16px!important;border-radius:16px!important}
    .wppg-related-carousel__head{align-items:center!important}
    .wppg-related-carousel__head h2{font-size:17px!important}
    .wppg-related-carousel__head p{display:none!important}
    .wppg-related-arrow{width:38px!important;height:38px!important}
    .wppg-related-carousel__track{grid-auto-columns:min(76vw,245px)!important;gap:12px!important}
}

/* ======================================================================
   v1.11.0 — configurable theme, category banner and richer GSAP surfaces
   ====================================================================== */
.wppg-gallery,
.wppg-single{
    --wppg-accent:var(--wppg-theme-primary,#ff681d);
    color:var(--wppg-theme-text,#17191c)!important;
    background:var(--wppg-theme-background,#fff)!important;
}
.wppg-gallery-hero,
.wppg-single--reference,
.wppg-single-page-wrap{background:var(--wppg-theme-background,#fff)!important}
.wppg-hero-stats>div,
.wppg-hero-description,
.wppg-breadcrumb,
.wppg-detail-lead{color:var(--wppg-theme-muted,#9a9ca2)!important}
.wppg-hero-stats i,
.wppg-gallery .wppg-category-strip .wppg-filter.is-active,
.wppg-gallery .wppg-load-more:hover,
.wppg-content-section h2:before{color:var(--wppg-theme-primary,#ff681d)!important}
.wppg-gallery .wppg-category-strip .wppg-filter.is-active{background:var(--wppg-theme-primary,#ff681d)!important;color:#fff!important}
.wppg-gallery .wppg-hero-search,
.wppg-gallery .wppg-category-strip .wppg-filter,
.wppg-single-searchbar,
.wppg-single-search-results,
.wppg-detail-main-image,
.wppg-comments-empty{background:var(--wppg-theme-surface,#f3f4f6)!important}
.wppg-gallery .wppg-hero-search,
.wppg-single-searchbar,
.wppg-single-category-banner,
.wppg-detail-media,
.wppg-detail-info,
.wppg-content-section,
.wppg-related-carousel,
.wppg-comment-form,
.wppg-comments-empty,
.wppg-detail-specs{border-color:var(--wppg-theme-border,#e1e4ea)!important}
.wppg-single-heading h1,
.wppg-detail-block strong,
.wppg-detail-specs strong,
.wppg-content-section h2,
.wppg-related-carousel h2,
.wppg-comment-form strong{color:var(--wppg-theme-text,#17191c)!important}
.wppg-single-action:hover,
.wppg-single-action.is-active,
.wppg-detail-thumb.is-active{color:var(--wppg-theme-secondary,#2450e8)!important;border-color:var(--wppg-theme-secondary,#2450e8)!important}
.wppg-primary-download{background:linear-gradient(135deg,var(--wppg-theme-secondary,#2450e8),color-mix(in srgb,var(--wppg-theme-secondary,#2450e8) 78%,#fff))!important}
.wppg-primary-download--hq{background:linear-gradient(135deg,var(--wppg-theme-primary,#ff681d),color-mix(in srgb,var(--wppg-theme-primary,#ff681d) 78%,#ffbe8f))!important}
.wppg-detail-source{border-color:color-mix(in srgb,var(--wppg-theme-primary,#ff681d) 30%,#fff)!important;border-inline-start-color:var(--wppg-theme-primary,#ff681d)!important;background:color-mix(in srgb,var(--wppg-theme-primary,#ff681d) 7%,#fff)!important}
.wppg-detail-source__icon{background:var(--wppg-theme-primary,#ff681d)!important}

.wppg-single-category-banner{
    position:relative;
    display:block;
    width:100%;
    height:300px;
    margin:0 0 24px;
    border:1px solid var(--wppg-theme-border,#e1e4ea);
    border-radius:18px;
    overflow:hidden;
    background:var(--wppg-theme-surface,#f3f4f6);
    box-shadow:0 14px 36px rgba(15,23,42,.07);
    isolation:isolate;
}
.wppg-single-category-banner:after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:34%;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.12));
    pointer-events:none;
}
.wppg-single-category-banner img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    will-change:transform;
}

.wppg-hero-stats:has(.wppg-hero-stat:only-child){justify-content:flex-start!important}
.wppg-hero-stats:has(.wppg-hero-stat:nth-child(2):last-child){justify-content:space-around!important}
.wppg-card__download{pointer-events:auto!important}
.wppg-card__download .wppg-action--download{position:relative!important;z-index:9!important;pointer-events:auto!important}

@media(max-width:760px){
    .wppg-single-category-banner{height:180px;margin-bottom:18px;border-radius:13px}
}

/* v1.12.0 — per-item advertising banner after description */
.wppg-item-ad-banner{position:relative;width:100%;height:300px;margin:28px 0 34px;border-radius:18px;overflow:hidden;background:var(--wppg-card,#fff);border:1px solid var(--wppg-border,#e4e7ed);box-shadow:0 14px 34px rgba(15,23,42,.08);isolation:isolate}
.wppg-item-ad-banner a,.wppg-item-ad-banner__image{display:block;width:100%;height:100%;overflow:hidden}
.wppg-item-ad-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .7s cubic-bezier(.2,.8,.2,1),filter .4s ease;will-change:transform}
.wppg-item-ad-banner a:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.14) 50%,transparent 65%);transform:translateX(110%);transition:transform .8s ease;pointer-events:none}
.wppg-item-ad-banner:hover img{transform:scale(1.018);filter:saturate(1.03)}
.wppg-item-ad-banner:hover a:after{transform:translateX(-110%)}
@media(max-width:760px){.wppg-item-ad-banner{height:180px;margin:20px 0 26px;border-radius:14px}}
