/* ===== الهيدر: الشعار + البحث + الحساب + السلة في صف واحد ===== */
@media (min-width:768px){
#masthead>.col-full{display:flex!important;flex-wrap:nowrap;align-items:center;gap:22px;padding-top:14px;padding-bottom:14px}
#masthead .site-branding{order:1!important;float:none!important;width:auto!important;margin:0!important;flex:0 0 auto}
#masthead .site-search{order:2!important;float:none!important;flex:1 1 auto;width:auto!important;max-width:none!important;margin:0!important;display:block!important}
#masthead .clq-header-account{order:3!important;flex:0 0 auto;margin:0!important}
body #masthead>.col-full>#site-header-cart.clq-header-cart-moved{order:4!important;float:none!important;width:auto!important;margin:0!important;flex:0 0 auto}
}
.clq-hero{display:none!important}
/* ===== الروابط الدائرية ===== */
.clsh-home #masthead{margin-bottom:10px!important}
.clsh{margin:0 0 6px}
.clsh-wrap{max-width:1064px;margin:0 auto;padding:0 16px;box-sizing:border-box}
.clsh-cats{display:flex;gap:20px;padding:24px 0 8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.clsh-cats::-webkit-scrollbar{display:none}
.clsh-cat:first-child{margin-inline-start:auto}
.clsh-cat:last-child{margin-inline-end:auto}
.clsh-cat{flex:0 0 auto;width:112px;text-align:center;text-decoration:none!important;color:#1a1a1a!important}
.clsh-cat .ic{display:flex;align-items:center;justify-content:center;width:86px;height:86px;margin:0 auto 10px;border-radius:50%;background:#f4f4f4;border:1.5px solid transparent;color:#d71a21;transition:all .2s}
.clsh-cat .ic svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.clsh-cat:hover .ic{border-color:#d71a21;background:#fff;transform:translateY(-3px)}
.clsh-cat b{display:block;font-size:13px;font-weight:600;line-height:1.45}
/* ===== السلايدر ===== */
.clsh-slider{position:relative;margin:14px 0 22px;border-radius:16px;overflow:hidden;background:#141414;color:#fff}
.clsh-slides{display:grid}
.clsh-slide{grid-area:1/1;position:relative;display:flex;align-items:center;min-height:330px;padding:38px 70px;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s;background-size:cover;background-position:center;background-color:#141414}
.clsh-slide.on{opacity:1;visibility:visible}
.clsh-slide.v0{background-image:radial-gradient(circle at 18% 50%,rgba(215,26,33,.38),transparent 55%),repeating-radial-gradient(circle at 18% 50%,transparent 0 24px,rgba(255,255,255,.045) 24px 25px),linear-gradient(135deg,#1c1c1c,#0c0c0c)}
.clsh-slide.v1{background-image:radial-gradient(circle at 82% 40%,rgba(215,26,33,.32),transparent 55%),repeating-radial-gradient(circle at 82% 40%,transparent 0 24px,rgba(255,255,255,.045) 24px 25px),linear-gradient(225deg,#1c1c1c,#0c0c0c)}
.clsh-slide.v2{background-image:radial-gradient(circle at 50% 110%,rgba(215,26,33,.4),transparent 60%),repeating-radial-gradient(circle at 50% 110%,transparent 0 24px,rgba(255,255,255,.045) 24px 25px),linear-gradient(180deg,#1c1c1c,#0c0c0c)}
.clsh-slide.has-img::before{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(0,0,0,.78),rgba(0,0,0,.25))}
.clsh-slide .tx{position:relative;z-index:2;max-width:520px}
.clsh-slide h2{margin:0 0 12px;color:#fff;font-size:34px;line-height:1.35;font-weight:800}
.clsh-slide p{margin:0 0 22px;color:rgba(255,255,255,.82);font-size:16px;line-height:1.8}
.clsh-slide .btn{display:inline-block;padding:12px 28px;border-radius:999px;background:#d71a21;color:#fff!important;font-weight:700;font-size:15px;text-decoration:none!important;transition:background .2s}
.clsh-slide .btn:hover{background:#b3141a}
.clsh-slide .art{position:absolute;inset-inline-end:7%;top:50%;transform:translateY(-50%);width:230px;height:230px;color:#d71a21;opacity:.9;z-index:1}
.clsh-slide .art svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:.55;stroke-linecap:round;stroke-linejoin:round}
.clsh-slider .ar{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:42px;height:42px;padding:0;border:0!important;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:28px;line-height:40px;cursor:pointer;transition:background .2s}
.clsh-slider .ar:hover{background:#d71a21}
.clsh-slider .pv{right:14px}
.clsh-slider .nx{left:14px}
.clsh-dots{position:absolute;bottom:14px;left:0;right:0;z-index:3;display:flex;justify-content:center;gap:8px}
.clsh-dots button{width:9px;height:9px;padding:0;border:0!important;border-radius:99px;background:rgba(255,255,255,.4);cursor:pointer;transition:all .25s}
.clsh-dots button.on{width:26px;background:#d71a21}
/* ===== البطاقات الثلاث ===== */
.clsh-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:0 0 30px}
.clsh-card{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;min-height:250px;padding:28px 26px;border-radius:16px;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.clsh-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.12)}
.clsh-card .tag{display:inline-block;margin-bottom:12px;padding:3px 12px;border-radius:99px;font-size:12px;font-weight:700;background:rgba(215,26,33,.1);color:#d71a21}
.clsh-card h3{position:relative;z-index:2;max-width:75%;margin:0 0 10px;font-size:22px;line-height:1.4;font-weight:800;color:inherit}
.clsh-card p{position:relative;z-index:2;max-width:78%;margin:0 0 18px;font-size:14px;line-height:1.8;opacity:.78;color:inherit}
.clsh-card .go{position:relative;z-index:2;margin-top:auto;padding:9px 20px;border-radius:999px;background:#d71a21;color:#fff;font-size:14px;font-weight:700}
.clsh-card .art{position:absolute;inset-inline-end:-14px;bottom:-14px;width:150px;height:150px;color:#d71a21;opacity:.22}
.clsh-card .art svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:.7;stroke-linecap:round;stroke-linejoin:round}
.clsh-card.c1{background:#fff;color:#1a1a1a;border:1.5px solid #ececec}
.clsh-card.c2{background:#f2f2f2;color:#1a1a1a}
.clsh-card.c3{background:#161616;color:#fff}
.clsh-card.c3 .tag{background:rgba(215,26,33,.22);color:#ff6a70}
@media (max-width:900px){.clsh-cards{grid-template-columns:1fr}.clsh-card{min-height:0}.clsh-card h3,.clsh-card p{max-width:80%}.clsh-card .go{margin-top:6px}}
@media (max-width:767px){
.clsh-wrap{padding:0 12px}
.clsh-cats{gap:14px;padding-top:16px}
.clsh-cat{width:88px}
.clsh-cat .ic{width:68px;height:68px}
.clsh-cat .ic svg{width:30px;height:30px}
.clsh-cat b{font-size:12px}
.clsh-slide{min-height:300px;padding:30px 24px 52px}
.clsh-slide h2{font-size:23px}
.clsh-slide p{font-size:14px;margin-bottom:16px}
.clsh-slide .art{width:120px;height:120px;opacity:.25}
.clsh-slider .ar{display:none}
.clsh-card .art{width:110px;height:110px}
#masthead>.col-full{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px}
#masthead .site-branding{order:1!important;flex:1 1 0!important;min-width:0!important;float:none!important;width:auto!important;margin:0!important}
#masthead .clq-header-account{order:2!important}
body #masthead>.col-full>#site-header-cart.clq-header-cart-moved{order:3!important;float:none!important;width:auto!important;margin:0!important}
#masthead .site-branding{flex-wrap:nowrap!important;align-items:center;gap:10px}
#masthead .clq-logo-wrap{flex:0 0 auto;width:auto}
#masthead .clq-logo-wrap img{width:46px;height:auto}
#masthead .clq-title-wrap{width:auto!important}
#masthead .site-title,#masthead .beta{font-size:19px!important;line-height:1.3;margin:0}
#masthead .site-description{font-size:11px;margin:0}
#masthead #site-header-cart .count{display:none!important}
#masthead #site-header-cart .cart-contents{padding:7px 10px!important;font-size:12px!important}
#masthead .site-search{order:4!important;flex:0 0 100%;display:block!important;float:none!important;width:100%!important;margin:0!important}
}
@media (prefers-reduced-motion:reduce){.clsh-slide,.clsh-card,.clsh-cat .ic{transition:none}}

/* ===== v1.1: ظل للبطاقات الثلاث ===== */
.clsh-card{box-shadow:0 6px 20px rgba(0,0,0,.11)}
.clsh-card:hover{box-shadow:0 16px 34px rgba(0,0,0,.2)}
.clsh-card.c3{box-shadow:0 8px 22px rgba(0,0,0,.24)}
/* ===== كلمة حسابي ===== */
#masthead .clq-account-label{color:#1a1a1a!important;font-weight:800!important;font-size:15px!important}
/* ===== إخفاء Uncategorized من التصفية ===== */
.clq-filter-option:has(input[value="uncategorized"]){display:none!important}
/* ===== بطاقات المنتجات ===== */
.woocommerce ul.products li.product{background:#fff;border:1px solid #e4e4e4;border-radius:14px;padding:12px 12px 12px;box-shadow:0 3px 12px rgba(0,0,0,.07);box-sizing:border-box;transition:box-shadow .2s,transform .2s,border-color .2s}
.woocommerce ul.products li.product:hover{border-color:#d9d9d9;box-shadow:0 12px 28px rgba(0,0,0,.14);transform:translateY(-3px)}
.woocommerce ul.products li.product img{width:100%;height:150px;object-fit:contain;margin:0 0 10px!important;border-radius:8px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.5;min-height:22px;margin:0 0 4px!important;padding:0!important;font-weight:700;color:#1a1a1a}
.woocommerce ul.products li.product .price{display:block;margin:0 0 4px;font-size:14px}
.clq-cat-badge{font-size:10.5px!important;padding:3px 9px!important}
.woocommerce ul.products li.product .clq-card-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0 0!important}
.clq-card-actions .screen-reader-text{display:none!important}
.clq-card-actions .add_to_cart_button,.clq-card-actions .clq-buy-now-btn,.clq-card-actions .added_to_cart{display:flex!important;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:auto!important;height:36px;min-height:0;margin:0!important;padding:0 8px!important;border-radius:9px!important;font-size:12.5px!important;font-weight:700!important;line-height:1!important;white-space:nowrap;text-decoration:none!important;text-align:center;transition:background .2s,color .2s,border-color .2s}
.clq-card-actions .add_to_cart_button{grid-column:1/-1;order:1;background:#d71a21!important;color:#fff!important;border:1.5px solid #d71a21!important}
.clq-card-actions .add_to_cart_button:hover{background:#b3141a!important;border-color:#b3141a!important}
.clq-card-actions .clq-buy-now-btn{order:2;background:#1a1a1a!important;color:#fff!important;border:1.5px solid #1a1a1a!important}
.clq-card-actions .clq-buy-now-btn:hover{background:#000!important}
.clq-card-actions .added_to_cart{order:3;background:#fff!important;color:#1a1a1a!important;border:1.5px solid #cfcfcf!important}
.clq-card-actions .added_to_cart:hover{border-color:#d71a21!important;color:#d71a21!important}
.clq-card-actions .add_to_cart_button::after,.clq-card-actions .clq-buy-now-btn::after,.clq-card-actions .added_to_cart::after{display:none!important;content:none!important}
.clq-card-actions .add_to_cart_button::before,.clq-card-actions .clq-buy-now-btn::before,.clq-card-actions .added_to_cart::before{content:"";display:inline-block!important;flex:0 0 auto;width:15px;height:15px;margin:0!important;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;font-family:inherit!important}
.clq-card-actions .add_to_cart_button{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h10.2L20 7H6'/%3E%3Ccircle cx='9' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E")}
.clq-card-actions .clq-buy-now-btn{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E")}
.clq-card-actions .added_to_cart{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9h14l-1.2 10H6.2z'/%3E%3Cpath d='M9 9V7a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E")}
.clq-card-actions .add_to_cart_button.loading{opacity:.7}
@media (max-width:600px){
.woocommerce ul.products li.product img{height:120px}
.clq-card-actions .clq-buy-now-btn::before,.clq-card-actions .added_to_cart::before{display:none!important}
.clq-card-actions .add_to_cart_button,.clq-card-actions .clq-buy-now-btn,.clq-card-actions .added_to_cart{font-size:11.5px!important;padding:0 4px!important}
}

/* ===== v1.2: سلة المشتريات والدفع ===== */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{color:#1a1a1a}
:is(.wc-block-cart,.wc-block-checkout) :where(div,span,td,th,h2,h3,p,label,input,select,textarea,button):not(:is(.wc-block-cart__submit-container,.wc-block-cart-item__remove-link,.wc-block-components-checkout-place-order-button,.wc-block-components-button) *):not(.wc-block-cart-item__remove-link):not(.wc-block-components-button){color:#1a1a1a!important}
:is(.wc-block-cart,.wc-block-checkout) :where(.wc-block-components-product-price,.wc-block-components-totals-item__value,.wc-block-components-totals-item__label,.wc-block-cart-item__total){font-weight:700}
.wc-block-cart-items__header span{font-weight:700!important}
.wc-block-cart-item__remove-link{color:#d71a21!important;opacity:1!important;display:inline-flex!important;align-items:center;justify-content:center;width:34px;height:34px;padding:0!important;border-radius:8px;transition:background .2s}
.wc-block-cart-item__remove-link:hover{background:rgba(215,26,33,.1)!important}
.wc-block-cart-item__remove-link svg{display:none!important}
.wc-block-cart-item__remove-link::before{content:"";display:block;width:22px;height:22px;background:#d71a21;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M9 7V4.5h6V7'/%3E%3Cpath d='M6 7l1 13h10l1-13'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M9 7V4.5h6V7'/%3E%3Cpath d='M6 7l1 13h10l1-13'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat}
