/* DenaGraph 4.5 — video download library, 3 rows + accessible modal. */
.dg45-download-section{background:linear-gradient(180deg,#f4f7fb 0%,#eaf0f8 100%);padding:46px 0 55px;direction:rtl;isolation:isolate}
.dg45-download-section .dg-wrap{max-width:1480px}
.dg45-section-top{display:flex;gap:24px;justify-content:space-between;align-items:center;margin-bottom:26px}
.dg45-eyebrow{display:block;color:#c38836;font-size:11px;font-weight:800;letter-spacing:1.4px;margin-bottom:8px}
.dg45-section-top h2{font-size:clamp(25px,2.5vw,40px);font-weight:900;color:#0d2943;margin:0 0 8px}
.dg45-section-top h2 em{font-style:normal;color:#d88b26}
.dg45-section-top p{font-size:14px;color:#52677d;margin:0}
.dg45-shop-link{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;color:#12334f;background:#fff;border:1px solid #c9d8e7;border-radius:12px;padding:12px 18px;font-size:14px;font-weight:800;text-decoration:none}
.dg45-shop-link:hover{background:#102c46;color:#fff}
.dg45-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;align-items:stretch}
.dg45-product-card{background:#fff;border:1px solid #dce5ef;border-radius:14px;box-shadow:0 9px 25px #0c27400a;overflow:hidden;min-width:0;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.dg45-product-card:hover{transform:translateY(-4px);border-color:#dfb56f;box-shadow:0 18px 38px #112f461a}
.dg45-product-media{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#082039,#234a65);overflow:hidden}
.dg45-product-media>img,.dg45-product-media>a>img,.dg45-product-media>video{display:block;width:100%;height:100%;object-fit:cover;margin:0;border:0}
.dg45-product-media video{background:#0c1d2d;cursor:pointer}
.dg45-inline-play{position:absolute;inset:auto 12px 12px auto;display:inline-flex;align-items:center;gap:9px;background:#0d2943e6;color:#fff;border:1px solid #ffffff70;border-radius:25px;padding:9px 13px;cursor:pointer;font-size:12px}
.dg45-inline-play:hover{background:#e4a247;color:#0e2940}
.dg45-inline-play span{font-weight:700}
.dg45-product-media iframe{display:block;width:100%;height:100%;border:0;background:#000}
.dg45-no-video{position:absolute;bottom:10px;right:10px;background:#082943db;color:#fff;font-size:11px;padding:6px 10px;border-radius:7px}
.dg45-product-body{padding:13px 14px 12px}
.dg45-product-body h3{margin:0 0 8px;font-size:16px;line-height:1.7;font-weight:800;min-height:27px}
.dg45-product-body h3 a{text-decoration:none;color:#122f49}
.dg45-product-body h3 a:hover{color:#cd831e}
.dg45-product-meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}
.dg45-product-meta span{font-size:11px;border-radius:6px;padding:3px 8px;background:#edf2f8;color:#405d77}
.dg45-product-meta span:nth-child(2){background:#fff1d8;color:#8e5611}
.dg45-product-footer{display:flex;justify-content:space-between;align-items:center;gap:9px;padding-top:12px;border-top:1px solid #edf1f6}
.dg45-product-footer strong{font-size:13px;color:#12334d;white-space:nowrap}
.dg45-product-footer a{font-size:12px;font-weight:800;color:#fff;background:#12334f;border-radius:8px;padding:9px 12px;text-decoration:none;white-space:nowrap}
.dg45-product-footer a:hover{background:#e4a247;color:#132e45}
.dg45-showmore{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:27px}
.dg45-showmore>span{font-size:13px;color:#69809a}
.dg45-showmore button{border:0;border-radius:12px;color:#082b43;background:#f4b451;cursor:pointer;font-weight:900;font-size:15px;padding:13px 27px;box-shadow:0 8px 17px #cb87212b}
.dg45-showmore button:hover{background:#ffcb79;transform:translateY(-2px)}
.dg45-product-dialog{position:fixed;top:5vh;left:50%;right:auto;bottom:auto;transform:translateX(-50%);margin:0;box-sizing:border-box;width:min(1280px,calc(100vw - 32px));max-width:none;max-height:90vh;margin:auto;border:1px solid #d8e1ec;background:#f6f9fd;border-radius:20px;color:#12334c;padding:0;box-shadow:0 35px 110px #0618279c}
.dg45-product-dialog::backdrop{background:#061c32cf;backdrop-filter:blur(7px)}
.dg45-modal-head,.dg45-modal-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 24px;background:#fff}
.dg45-modal-head{border-bottom:1px solid #e5ebf1}
.dg45-modal-head h2{font-size:25px;margin:0;color:#12324e}
.dg45-modal-head>button{width:39px;height:39px;border:0;border-radius:50%;font-size:25px;background:#eaf0f5;color:#18344f;cursor:pointer}
.dg45-modal-content{overflow-y:auto;max-height:calc(90vh - 164px);padding:24px}
.dg45-modal-bottom{border-top:1px solid #e6eaf0}
.dg45-modal-bottom>button{background:#e8eef4;border:1px solid #d5e1ea;color:#18344e;border-radius:9px;padding:10px 20px;cursor:pointer}
.dg45-empty{padding:34px 20px;background:#fff;border:1px dashed #c7d7e7;border-radius:14px;text-align:center}
.dg45-empty h3{margin:0 0 8px;color:#1b3c53}
.dg45-empty p{margin:0;color:#526b84}
.dg45-admin-create{margin:16px 0}
.dg45-purchase-panel .plan-price{font-weight:900}
.dg45-purchase-panel .btn{display:inline-flex;justify-content:center;margin:6px 0}
@media(max-width:1150px){.dg45-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.dg45-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dg45-section-top{align-items:flex-start}.dg45-section-top h2{font-size:27px}.dg45-product-dialog .dg45-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.dg45-download-section{padding:26px 0 35px}.dg45-product-grid{grid-template-columns:1fr 1fr;gap:9px}.dg45-section-top{flex-wrap:wrap}.dg45-product-body{padding:10px}.dg45-product-body h3{font-size:13px}.dg45-product-footer{align-items:flex-start;flex-direction:column}.dg45-product-footer a{width:100%;text-align:center;box-sizing:border-box}.dg45-no-video{font-size:9px}.dg45-modal-content{padding:10px}.dg45-modal-head{padding:12px}.dg45-modal-head h2{font-size:18px}.dg45-modal-bottom{padding:10px}.dg45-showmore{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.dg45-product-card,.dg45-showmore button{transition:none;transform:none!important}}
