/* Shared footer replaces the repetitive trending strip and empty theme rows. */
.ct-trending-block,footer#footer {display:none!important;}
header .ct-social-box a[href="#"] {display:none!important;}
.dm-store-footer {direction:rtl;text-align:right;background:#301b50;color:#fff7ed;margin:0;padding:48px 24px 0;font-family:'Tajawal',sans-serif;}
.dm-footer-grid {max-width:1140px;margin:auto;display:grid;grid-template-columns:1.1fr .8fr 1fr;gap:64px;}
.dm-store-footer h2 {font-size:22px;color:#fff7ed;margin:0 0 18px;line-height:1.5;}
.dm-store-footer p,.dm-store-footer li {font-size:16px;line-height:1.9;color:#eee5f2;}
.dm-store-footer a {color:#fff7ed;text-decoration:none;transition:color .2s;}
.dm-store-footer a:hover {color:#ffb88f;}
.dm-store-footer ul {list-style:none;padding:0;margin:0;display:grid;gap:10px;}
.dm-store-footer .dm-footer-wa {display:inline-block;padding:10px 16px;border:1px solid #c5b2d7;border-radius:10px;}
.dm-store-footer .dm-footer-wa:hover {background:#ad461b;color:#fff;}
.dm-footer-logo {max-width:140px!important;max-height:90px;object-fit:contain;background:#fffdf9;border-radius:12px;padding:10px;margin-bottom:12px;}
.dm-footer-bottom {max-width:1140px;margin:28px auto 0;padding:20px 0;border-top:1px solid #ffffff26;font-size:14px;}
.dm-store-footer a:focus-visible {outline:2px solid #ffb88f;outline-offset:4px;}
.post-type-archive-product .hero-section {padding-block:32px 24px!important;margin-bottom:24px!important;}
.post-type-archive-product .page-description {font-size:17px;line-height:1.8;max-width:720px;margin:12px auto;}
.dm-store-tools {margin:0 0 24px;direction:rtl;}
.dm-result-count {font-weight:700;color:#301b50;margin:0 0 12px;}
.dm-store-filters {background:#faf7f2;border:1px solid #ede4dc;border-radius:16px;padding:20px;}
.dm-store-filters summary {font-weight:700;color:#301b50;cursor:pointer;margin-bottom:16px;}
.dm-store-filters:not([open]) summary {margin-bottom:0;}
.dm-filter-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(260px,1.4fr);gap:24px;align-items:start;}
.dm-price-filter {border:0;padding:0;margin:0;min-width:0;color:#301b50;font-size:14px;}
.dm-price-filter legend {font-weight:700;padding:0;margin-bottom:8px;font-size:14px;}
.dm-price-values {display:flex;justify-content:space-between;gap:10px;}
.dm-price-track {position:relative;height:40px;direction:ltr;margin:0 10px;}
.dm-price-track:before {content:'';position:absolute;top:18px;left:0;right:0;height:5px;border-radius:5px;background:linear-gradient(to right,#d8cddd var(--start,0%),#301b50 var(--start,0%),#301b50 var(--end,100%),#d8cddd var(--end,100%));}
.dm-filter-grid .dm-price-track input {position:absolute;inset:0;width:100%;height:40px;min-height:0;margin:0;padding:0;border:0;background:transparent;appearance:none;-webkit-appearance:none;pointer-events:none;}
.dm-price-track input::-webkit-slider-thumb {appearance:none;-webkit-appearance:none;width:21px;height:21px;border-radius:50%;background:#301b50;border:3px solid #fffdf9;box-shadow:0 0 0 1px #301b50;pointer-events:auto;cursor:grab;}
.dm-price-track input::-moz-range-thumb {width:16px;height:16px;border-radius:50%;background:#301b50;border:3px solid #fffdf9;pointer-events:auto;cursor:grab;}
.dm-price-track input:focus-visible {outline:2px solid #ad461b;outline-offset:2px;border-radius:8px;}
.dm-price-track input:disabled {opacity:.5;}
.dm-price-status {display:block;font-size:12px;line-height:1.6;}
.dm-filter-actions button:disabled {opacity:.6;cursor:wait;}
.dm-filter-grid label {font-size:14px;font-weight:700;color:#301b50;display:grid;gap:8px;}
.dm-filter-grid select,.dm-filter-grid input {width:100%;min-width:0;min-height:44px;background:#fffdf9;border:1px solid #d8cddd;border-radius:8px;font:inherit;padding:8px;color:#301b50;}
.dm-filter-actions {display:flex;align-items:center;gap:20px;margin-top:18px;flex-wrap:wrap;}
.dm-filter-actions button {background:#301b50;color:#fff;border-radius:9px;font:inherit;font-weight:700;min-height:44px;}
.dm-filter-actions button:hover {background:#ad461b;}
.dm-filter-actions a {color:#ad461b;text-decoration:underline;}
.post-type-archive-product ul.products {gap:24px!important;align-items:stretch;}
.post-type-archive-product li.product {display:flex!important;flex-direction:column;border:1px solid #ede4dc!important;border-radius:18px!important;background:#fffdf9!important;padding:16px!important;overflow:hidden;gap:14px;}
.post-type-archive-product li.product figure {margin:0!important;}
.post-type-archive-product li.product figure img {height:270px!important;width:100%;object-fit:contain!important;}
.post-type-archive-product li.product .woocommerce-loop-product__title {font-size:17px!important;line-height:1.7!important;min-height:3.4em;margin:0!important;color:#301b50;}
.post-type-archive-product li.product .ct-woo-card-actions {display:flex!important;flex-direction:column;gap:12px!important;align-items:stretch!important;margin-top:auto!important;}
.post-type-archive-product li.product .price {text-align:center;font-size:18px!important;font-weight:700;color:#301b50;}
.post-type-archive-product li.product .price del {font-size:14px;opacity:.65;}
.post-type-archive-product li.product .button {position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;width:100%!important;min-height:46px;border-radius:10px!important;background:#301b50!important;color:white!important;font-size:15px!important;line-height:1.6;padding:10px!important;white-space:normal;}
.post-type-archive-product li.product .button:hover {background:#ad461b!important;}
.post-type-archive-product .onsale {background:#ad461b!important;color:#fff!important;}
.post-type-archive-product .woo-listing-top {margin-bottom:20px!important;}
@media(max-width:1024px){.dm-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.dm-price-filter{grid-column:1/-1;}.dm-footer-grid{gap:28px;}}
@media(max-width:767px){
 .dm-footer-grid{grid-template-columns:1fr;gap:28px;}.dm-store-footer{padding:32px 24px 0;}
 .dm-store-filters{padding:16px;}.dm-filter-grid{grid-template-columns:1fr;}
 .post-type-archive-product ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
 .post-type-archive-product li.product{padding:12px!important;gap:10px;}
 .post-type-archive-product li.product figure img{height:180px!important;}
 .post-type-archive-product li.product .woocommerce-loop-product__title{font-size:14px!important;min-height:0;overflow-wrap:anywhere;}
 .post-type-archive-product li.product .price{font-size:16px!important;}
 .post-type-archive-product li.product .button{font-size:13px!important;}
}
