body.tj-archive-v320{background:#f8f5ef}
.tj-archive-v320 .wp-block-query-title,.tj-archive-v320 .wp-block-woocommerce-breadcrumbs,.tj-archive-v320 .woocommerce-breadcrumb,.tj-archive-v320 .wc-block-product-results-count,.tj-archive-v320 .wp-block-woocommerce-product-results-count,.tj-archive-v320 .wc-block-catalog-sorting,.tj-archive-v320 .wp-block-woocommerce-catalog-sorting,.tj-archive-v320 .woocommerce-result-count,.tj-archive-v320 .woocommerce-ordering{display:none!important}
.tj-shop-shell{--gold:#d6a530;--gold-dark:#a86f00;--ink:#171717;--cream:#f8f5ef;max-width:1500px;margin:0 auto;padding:30px 26px 0;box-sizing:border-box;color:var(--ink);font-family:inherit}
.tj-archive-head{text-align:right;margin-bottom:24px}.tj-breadcrumb{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700;color:#333;margin-bottom:20px}.tj-breadcrumb a,.tj-breadcrumb span{color:#333;text-decoration:none}.tj-breadcrumb a:hover{color:var(--gold-dark)}.tj-breadcrumb i{font-style:normal;color:#777}.tj-home-icon{font-size:21px}.tj-archive-head h1{font-size:clamp(38px,4.2vw,64px);line-height:1.15;margin:0;font-weight:900;letter-spacing:-1px}.tj-title-mark{display:flex;align-items:center;justify-content:flex-start;gap:0;width:205px;margin:18px 0 0 auto}.tj-title-mark span{height:2px;flex:1;background:linear-gradient(90deg,transparent,var(--gold))}.tj-title-mark span:last-child{background:linear-gradient(90deg,var(--gold),transparent)}.tj-title-mark b{width:16px;height:16px;border-radius:50%;background:var(--gold);display:block;margin:0 8px}
.tj-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:18px;margin:0 0 28px;padding-bottom:26px;border-bottom:1px solid #d9d4cc}.tj-count,.tj-order-form select{height:58px;border:1.5px solid var(--gold);border-radius:13px;background:#fff;box-sizing:border-box;font-size:18px;font-weight:700;color:#292929}.tj-count{display:flex;align-items:center;gap:10px;padding:0 24px}.tj-count strong{color:#d22;font-weight:900}.tj-grid-icon{font-size:30px;color:#111}.tj-order-form select{min-width:265px;padding:0 22px;cursor:pointer;outline:none}
.tj-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.tj-card{background:#fff;border:1.5px solid rgba(214,165,48,.92);border-radius:20px;overflow:hidden;position:relative;display:flex;flex-direction:column;min-width:0;box-shadow:0 7px 22px rgba(61,43,9,.045);transition:transform .25s,box-shadow .25s}.tj-card:hover{transform:translateY(-5px);box-shadow:0 17px 36px rgba(111,75,8,.14)}.tj-brand-badge{position:absolute;top:14px;right:14px;z-index:3;background:#111;color:var(--gold);border:1.5px solid var(--gold);border-radius:13px;padding:7px 17px;font-weight:900;font-size:15px;box-shadow:0 3px 9px rgba(0,0,0,.14)}.tj-image{height:390px;display:flex;align-items:center;justify-content:center;padding:44px 22px 12px;background:#fff;box-sizing:border-box;overflow:hidden;border-bottom:1.5px solid rgba(214,165,48,.9)}.tj-image img{width:100%;height:100%;object-fit:contain;transition:transform .35s}.tj-card:hover .tj-image img{transform:scale(1.035)}.tj-card-body{padding:18px 18px 20px;text-align:center;display:flex;flex-direction:column;flex:1}.tj-card h3{font-size:20px;line-height:1.5;margin:0 0 10px;min-height:30px;font-weight:900}.tj-card h3 a{color:#171717;text-decoration:none}.tj-sku{font-size:16px;color:#777;margin-bottom:18px;min-height:24px}.tj-meta-row{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.tj-price-pill,.tj-options-pill{border-radius:12px;padding:8px 13px;font-size:15px;font-weight:800;line-height:1.3}.tj-price-pill{background:#fff;border:1px solid #e6c77d;color:#333}.tj-price-pill strong{color:#d22}.tj-price-pill .woocommerce-Price-currencySymbol{font-size:.9em}.tj-options-pill{background:#111;color:var(--gold);border:1px solid var(--gold)}.tj-swatches{display:flex;justify-content:center;gap:11px;margin:16px 0 18px}.tj-swatches span{width:20px;height:20px;border-radius:50%;display:block;border:2px solid #d8a52e;box-shadow:0 0 0 2px #fff}.tj-swatches .is-gold{background:#d5a329}.tj-swatches .is-black{background:#f4e2ae}.tj-actions{display:grid;grid-template-columns:1fr 58px;gap:13px;margin-top:auto}.tj-view,.tj-fav{height:58px;border-radius:11px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.tj-view{background:linear-gradient(135deg,#111,#242424);border:1.5px solid var(--gold);color:#fff;text-decoration:none;font-size:20px;font-weight:900;transition:.2s}.tj-view:hover{background:linear-gradient(135deg,#d9aa39,#b47a0f);color:#111}.tj-fav{background:#fff;border:1.5px solid var(--gold);color:#111;font-size:34px;cursor:pointer;padding:0}.tj-fav span{line-height:1;transform:translateY(-2px)}.tj-fav.active,.tj-fav.is-added{color:#d3152c;background:#fff7f8}
.tj-benefits{margin:34px -26px 0;background:linear-gradient(90deg,#111,#202020,#111);color:#fff;display:grid;grid-template-columns:repeat(4,1fr);padding:28px 40px}.tj-benefits div{display:grid;grid-template-columns:54px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;padding:0 30px;border-left:1px solid rgba(255,255,255,.18)}.tj-benefits div:last-child{border-left:0}.tj-benefits i{grid-row:1/3;font-style:normal;color:var(--gold);font-size:44px;text-align:center}.tj-benefits b{font-size:18px}.tj-benefits span{font-size:13px;color:#d5b665;margin-top:4px}.tj-pagination ul{list-style:none;display:flex;gap:8px;justify-content:center;padding:30px 0;margin:0}.tj-pagination a,.tj-pagination span{display:flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid #d8a52e;border-radius:8px;text-decoration:none;color:#222;background:#fff}.tj-pagination .current{background:#111;color:var(--gold)}.tj-empty{background:#fff;border:1px solid #e3c470;border-radius:16px;padding:55px;text-align:center;font-size:18px}
@media(max-width:1150px){.tj-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tj-benefits{grid-template-columns:repeat(2,1fr);row-gap:28px}.tj-benefits div:nth-child(2){border-left:0}.tj-image{height:340px}}
@media(max-width:720px){.tj-shop-shell{padding:22px 14px 0}.tj-archive-head h1{font-size:38px}.tj-toolbar{flex-direction:column;align-items:stretch}.tj-count,.tj-order-form select,.tj-order-form{width:100%}.tj-products-grid{grid-template-columns:1fr;gap:16px}.tj-image{height:330px}.tj-benefits{margin-left:-14px;margin-right:-14px;grid-template-columns:1fr;padding:24px 16px}.tj-benefits div,.tj-benefits div:nth-child(2){border-left:0;border-bottom:1px solid rgba(255,255,255,.13);padding:15px 4px}.tj-benefits div:last-child{border-bottom:0}.tj-title-mark{width:150px}.tj-breadcrumb{font-size:13px;flex-wrap:wrap}}


/* v3.1 final polish */
.tj-shop-shell{padding-top:22px}
.tj-archive-head{margin-bottom:16px}
.tj-breadcrumb{margin-bottom:12px;font-size:14px}
.tj-archive-head h1{font-size:clamp(36px,3.6vw,56px)}
.tj-title-mark{margin-top:12px;width:180px}
.tj-toolbar{margin-bottom:20px;padding-bottom:18px;gap:14px}
.tj-count,.tj-order-form select{height:54px;font-size:16px}
.tj-count{padding:0 20px}
.tj-order-form select{min-width:245px}
.tj-products-grid{gap:22px}
.tj-card{border-radius:18px;box-shadow:0 8px 24px rgba(66,43,7,.07)}
.tj-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(101,67,7,.16)}
.tj-brand-badge{top:13px;right:13px;padding:7px 19px;border-radius:12px;font-size:14px}
.tj-image{height:420px;padding:36px 16px 8px}
.tj-card:hover .tj-image img{transform:scale(1.055)}
.tj-card-body{padding:16px 16px 18px}
.tj-card h3{font-size:18px;line-height:1.45;margin-bottom:6px;min-height:52px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tj-sku{font-size:14px;margin-bottom:12px;min-height:20px;color:#858585}
.tj-meta-row{gap:9px}
.tj-price-pill,.tj-options-pill{padding:7px 11px;font-size:14px}
.tj-price-pill{font-weight:700}
.tj-swatches{margin:13px 0 15px}
.tj-swatches span{width:18px;height:18px}
.tj-actions{grid-template-columns:1fr 54px;gap:10px}
.tj-view,.tj-fav{height:54px}
.tj-view{font-size:18px;box-shadow:0 5px 14px rgba(0,0,0,.08)}
.tj-view:hover{box-shadow:0 8px 20px rgba(181,122,15,.28);transform:translateY(-1px)}
.tj-fav{font-size:31px}
.tj-benefits{margin-top:28px}
@media(max-width:1150px){.tj-image{height:370px}}
@media(max-width:720px){.tj-shop-shell{padding-top:16px}.tj-archive-head{margin-bottom:12px}.tj-archive-head h1{font-size:34px}.tj-toolbar{margin-bottom:16px;padding-bottom:14px}.tj-image{height:350px;padding-top:30px}.tj-card h3{min-height:auto;font-size:17px}.tj-actions{grid-template-columns:1fr 52px}.tj-view,.tj-fav{height:52px}}


/* v3.2 — compact cards + agreed sans-serif heading */
.tj-shop-shell,
.tj-shop-shell button,
.tj-shop-shell select,
.tj-shop-shell input{font-family:Tahoma,Arial,sans-serif!important}
.tj-archive-head h1{font-family:Tahoma,Arial,sans-serif!important;font-size:clamp(34px,3.2vw,50px);font-weight:800;letter-spacing:0;line-height:1.25}
.tj-breadcrumb,.tj-count,.tj-order-form select{font-family:Tahoma,Arial,sans-serif!important}
.tj-archive-head{margin-bottom:12px}
.tj-title-mark{margin-top:10px}
.tj-toolbar{margin-bottom:18px;padding-bottom:16px}
.tj-image{height:300px;padding:40px 18px 8px}
.tj-card-body{padding:14px 16px 16px}
.tj-card h3{font-family:Tahoma,Arial,sans-serif!important;font-size:17px;line-height:1.4;min-height:48px;margin-bottom:5px}
.tj-sku{font-family:Tahoma,Arial,sans-serif!important;font-size:13px;margin-bottom:9px;min-height:18px}
.tj-meta-row{gap:8px}
.tj-price-pill,.tj-options-pill{font-family:Tahoma,Arial,sans-serif!important;padding:6px 10px;font-size:13px}
.tj-swatches{margin:10px 0 12px}
.tj-actions{grid-template-columns:1fr 50px;gap:9px}
.tj-view,.tj-fav{height:50px}
.tj-view{font-family:Tahoma,Arial,sans-serif!important;font-size:17px}
.tj-fav{font-size:29px}
.tj-brand-badge{font-family:Tahoma,Arial,sans-serif!important;padding:6px 17px;font-size:13px}
@media(max-width:1150px){.tj-image{height:285px}}
@media(max-width:720px){.tj-archive-head h1{font-size:32px}.tj-image{height:280px;padding-top:34px}.tj-card h3{font-size:16px;min-height:auto}.tj-view,.tj-fav{height:48px}.tj-actions{grid-template-columns:1fr 48px}}

/* v3.3 — approved compact card, conditional size/price, synced favourite */
body.tj-archive-v330{background:#f8f5ef}
.tj-archive-v330 .wp-block-query-title,.tj-archive-v330 .wp-block-woocommerce-breadcrumbs,.tj-archive-v330 .woocommerce-breadcrumb,.tj-archive-v330 .wc-block-product-results-count,.tj-archive-v330 .wp-block-woocommerce-product-results-count,.tj-archive-v330 .wc-block-catalog-sorting,.tj-archive-v330 .wp-block-woocommerce-catalog-sorting,.tj-archive-v330 .woocommerce-result-count,.tj-archive-v330 .woocommerce-ordering{display:none!important}
.tj-shop-shell,.tj-shop-shell button,.tj-shop-shell select{font-family:"Cairo","Tajawal",Arial,sans-serif}
.tj-archive-head h1{font-family:"Cairo","Tajawal",Arial,sans-serif;font-weight:900;letter-spacing:-1.6px;font-size:clamp(38px,4vw,62px);line-height:1.2}
.tj-breadcrumb{font-family:"Cairo","Tajawal",Arial,sans-serif;font-weight:600}
.tj-products-grid{gap:22px}
.tj-card{border-radius:15px}
.tj-image{height:300px;padding:48px 18px 10px}
.tj-card-body{padding:13px 14px 14px}
.tj-card h3{font-size:17px;min-height:28px;margin-bottom:4px;line-height:1.45}
.tj-sku{font-size:13px;margin-bottom:10px;min-height:19px;color:#777}
.tj-meta-row{gap:9px;min-height:38px;margin-top:1px}
.tj-price-pill,.tj-options-pill{padding:7px 11px;font-size:14px;border-radius:10px}
.tj-meta-row.single-option .tj-price-pill{border:0;background:transparent;color:#c1830b;font-size:18px;font-weight:900;padding:4px 8px}
.tj-meta-row.single-option .tj-price-pill .amount{color:#c1830b}
.tj-meta-row.has-options .tj-price-pill strong,.tj-meta-row.has-options .tj-price-pill .amount{color:#d21f2b}
.tj-swatches{margin:10px 0 12px}
.tj-swatches span{width:17px;height:17px}
.tj-actions{display:block;margin-top:auto}
.tj-view{height:48px;font-size:17px;border-radius:9px}
.tj-brand-badge{top:10px;right:10px;padding:5px 14px;font-size:12px;border-radius:10px}
.tj-fav{position:absolute;top:10px;left:10px;z-index:4;width:46px!important;height:46px!important;min-width:46px;border:1.5px solid #d6a530!important;border-radius:10px!important;background:#fff!important;color:#111!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 3px 9px rgba(0,0,0,.08)!important;cursor:pointer;transition:transform .18s,background .18s,box-shadow .18s!important}
.tj-fav:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(0,0,0,.13)!important}
.tj-fav svg{width:25px;height:25px;display:block;overflow:visible}
.tj-fav svg path{fill:#fff;stroke:#111;stroke-width:1.8;stroke-linejoin:round;transition:fill .18s,stroke .18s}
.tj-fav.is-added,.tj-fav.active{background:#fff!important}
.tj-fav.is-added svg path,.tj-fav.active svg path{fill:#e00018;stroke:#e00018}
.tj-fav.is-loading{opacity:.6;cursor:wait}
.tj-fav:focus-visible{outline:3px solid rgba(214,165,48,.35);outline-offset:2px}
@media(max-width:1150px){.tj-image{height:285px}}
@media(max-width:720px){.tj-image{height:275px}.tj-card h3{font-size:16px}.tj-archive-head h1{font-size:38px}.tj-fav{width:43px!important;height:43px!important;min-width:43px}.tj-fav svg{width:23px;height:23px}}


/* v3.4 — ACF price/size logic + slightly larger product image */
body.tj-archive-v350{background:#f8f5ef}
.tj-archive-v350 .wp-block-query-title,.tj-archive-v350 .wp-block-woocommerce-breadcrumbs,.tj-archive-v350 .woocommerce-breadcrumb,.tj-archive-v350 .wc-block-product-results-count,.tj-archive-v350 .wp-block-woocommerce-product-results-count,.tj-archive-v350 .wc-block-catalog-sorting,.tj-archive-v350 .wp-block-woocommerce-catalog-sorting,.tj-archive-v350 .woocommerce-result-count,.tj-archive-v350 .woocommerce-ordering{display:none!important}
.tj-image{height:315px;padding:32px 8px 6px}
.tj-image img{width:108%;height:108%;max-width:none;object-fit:contain}
.tj-card:hover .tj-image img{transform:scale(1.035)}
.tj-meta-row.single-option .tj-price-pill{font-size:19px}
.tj-price-pill{display:inline-flex;align-items:center;gap:5px;justify-content:center}
.tj-price-pill small{font-size:13px;font-weight:800;color:#555}
.tj-price-pill strong,.tj-price-pill .amount{color:#c1830b!important;font-weight:900}
.tj-meta-row.has-options .tj-price-pill strong,.tj-meta-row.has-options .tj-price-pill .amount{color:#d21f2b!important}
.tj-price-request{color:#c1830b!important;font-weight:900!important}
.tj-fav{overflow:hidden}
.tj-fav.is-added svg,.tj-fav.active svg{animation:tjFavPop .24s ease}
@keyframes tjFavPop{0%{transform:scale(.8)}60%{transform:scale(1.18)}100%{transform:scale(1)}}
@media(max-width:1150px){.tj-image{height:300px}}
@media(max-width:720px){.tj-image{height:288px;padding:30px 6px 5px}.tj-image img{width:106%;height:106%}}


/* v3.5 — preserve native WooCommerce query + compact larger imagery */
body.tj-archive-v350 .tj-image{height:300px;padding:24px 4px 4px}
body.tj-archive-v350 .tj-image img{width:112%;height:112%;max-width:none;object-fit:contain}
body.tj-archive-v350 .tj-card-body{padding-top:12px}
body.tj-archive-v350 .tj-products-area{min-height:0}
@media(max-width:1150px){body.tj-archive-v350 .tj-image{height:286px}}
@media(max-width:720px){body.tj-archive-v350 .tj-image{height:276px;padding:22px 3px 3px}body.tj-archive-v350 .tj-image img{width:109%;height:109%}}


/* v3.6 — red clean price + larger image + tighter card */
body.tj-archive-v350 .tj-image{height:280px;padding:12px 0 0}
body.tj-archive-v350 .tj-image img{width:118%;height:118%;max-width:none;object-fit:contain}
body.tj-archive-v350 .tj-card-body{padding:11px 14px 13px}
body.tj-archive-v350 .tj-card h3{margin-bottom:2px;min-height:26px;font-size:17px;line-height:1.35}
body.tj-archive-v350 .tj-sku{margin-bottom:8px;min-height:18px;font-size:14px}
body.tj-archive-v350 .tj-meta-row{min-height:34px}
body.tj-archive-v350 .tj-price-pill,
body.tj-archive-v350 .tj-meta-row.single-option .tj-price-pill{background:transparent;border:0;padding:2px 6px;color:#d90018!important;font-size:21px;font-weight:900}
body.tj-archive-v350 .tj-price-pill small{color:#555;font-size:13px;font-weight:800}
body.tj-archive-v350 .tj-price-pill strong,
body.tj-archive-v350 .tj-price-pill .amount,
body.tj-archive-v350 .tj-price-number,
body.tj-archive-v350 .tj-price-currency{color:#d90018!important;font-weight:900}
body.tj-archive-v350 .tj-options-pill{padding:6px 10px;font-size:13px}
body.tj-archive-v350 .tj-swatches{margin:9px 0 10px}
body.tj-archive-v350 .tj-actions{margin-top:0}
body.tj-archive-v350 .tj-view{height:47px}
@media(max-width:1150px){body.tj-archive-v350 .tj-image{height:270px}body.tj-archive-v350 .tj-image img{width:116%;height:116%}}
@media(max-width:720px){body.tj-archive-v350 .tj-image{height:262px;padding-top:10px}body.tj-archive-v350 .tj-image img{width:114%;height:114%}body.tj-archive-v350 .tj-price-pill,body.tj-archive-v350 .tj-meta-row.single-option .tj-price-pill{font-size:19px}}


/* v3.7 — approved wishlist button + final card polish */
body.tj-archive-v350 .tj-card{border-radius:16px;box-shadow:0 7px 22px rgba(76,50,9,.07)}
body.tj-archive-v350 .tj-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(96,65,11,.15)}
body.tj-archive-v350 .tj-image{height:274px;padding:8px 0 0}
body.tj-archive-v350 .tj-image img{width:122%;height:122%;max-width:none;object-fit:contain}
body.tj-archive-v350 .tj-card:hover .tj-image img{transform:scale(1.045)}
body.tj-archive-v350 .tj-card-body{padding:10px 14px 13px}
body.tj-archive-v350 .tj-card h3{font-size:17px;line-height:1.35;min-height:23px;margin:0 0 2px}
body.tj-archive-v350 .tj-sku{font-size:13px;line-height:1.4;margin:0 0 7px;min-height:18px;color:#747474}
body.tj-archive-v350 .tj-meta-row{min-height:36px;gap:10px;flex-wrap:nowrap}
body.tj-archive-v350 .tj-meta-row.has-options{direction:rtl}
body.tj-archive-v350 .tj-price-pill{white-space:nowrap}
body.tj-archive-v350 .tj-price-pill small{margin-inline-end:3px}
body.tj-archive-v350 .tj-options-pill{white-space:nowrap;border-radius:9px;padding:6px 11px}
body.tj-archive-v350 .tj-swatches{margin:8px 0 10px}
body.tj-archive-v350 .tj-view{position:relative;height:48px;border-radius:10px;padding-inline:42px 18px;overflow:hidden}
body.tj-archive-v350 .tj-view::before{content:'←';position:absolute;left:20px;top:50%;transform:translateY(-52%);font-size:25px;line-height:1;color:var(--gold);transition:transform .22s,color .22s}
body.tj-archive-v350 .tj-view:hover::before{color:#111;transform:translate(-3px,-52%)}
body.tj-archive-v350 .tj-brand-badge{top:10px;right:10px;padding:6px 16px;border-radius:11px;box-shadow:0 4px 10px rgba(0,0,0,.12)}

body.tj-archive-v350 .tj-fav{
  top:10px;left:10px;width:48px!important;height:48px!important;min-width:48px!important;
  border:1.5px solid #d6a530!important;border-radius:14px!important;background:rgba(255,255,255,.98)!important;
  color:#171717!important;box-shadow:0 4px 12px rgba(35,25,7,.10)!important;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease!important;
}
body.tj-archive-v350 .tj-fav:hover{transform:translateY(-2px) scale(1.03);background:#fffaf0!important;border-color:#b9800e!important;box-shadow:0 8px 18px rgba(94,62,8,.16)!important}
body.tj-archive-v350 .tj-fav:active{transform:scale(.92)}
body.tj-archive-v350 .tj-fav svg{width:26px;height:26px}
body.tj-archive-v350 .tj-fav svg path{fill:#fff;stroke:#171717;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round;transition:fill .2s ease,stroke .2s ease,transform .2s ease;transform-origin:center}
body.tj-archive-v350 .tj-fav:hover svg path{stroke:#b9800e}
body.tj-archive-v350 .tj-fav.is-added,
body.tj-archive-v350 .tj-fav.active{background:#fff!important;border-color:#e00018!important;box-shadow:0 5px 14px rgba(224,0,24,.14)!important}
body.tj-archive-v350 .tj-fav.is-added svg path,
body.tj-archive-v350 .tj-fav.active svg path{fill:#e00018;stroke:#e00018;animation:tjHeartBeat .34s ease}
@keyframes tjHeartBeat{0%{transform:scale(.72)}55%{transform:scale(1.22)}78%{transform:scale(.94)}100%{transform:scale(1)}}

@media(max-width:1150px){
  body.tj-archive-v350 .tj-image{height:264px}
  body.tj-archive-v350 .tj-image img{width:120%;height:120%}
}
@media(max-width:720px){
  body.tj-archive-v350 .tj-image{height:255px;padding-top:7px}
  body.tj-archive-v350 .tj-image img{width:117%;height:117%}
  body.tj-archive-v350 .tj-fav{width:45px!important;height:45px!important;min-width:45px!important;border-radius:13px!important}
  body.tj-archive-v350 .tj-fav svg{width:24px;height:24px}
  body.tj-archive-v350 .tj-meta-row.has-options{gap:7px}
  body.tj-archive-v350 .tj-price-pill small{font-size:12px}
  body.tj-archive-v350 .tj-options-pill{font-size:12px;padding:6px 8px}
}

/* v5.0 — final approved archive refinements */
body.tj-archive-v350 .tj-shop-shell{
  margin-top:-42px;
  padding-top:0;
  font-family:inherit!important;
}
body.tj-archive-v350 .tj-shop-shell,
body.tj-archive-v350 .tj-shop-shell button,
body.tj-archive-v350 .tj-shop-shell select,
body.tj-archive-v350 .tj-shop-shell input{
  font-family:inherit!important;
}
body.tj-archive-v350 .tj-archive-head{
  margin-bottom:14px;
}
body.tj-archive-v350 .tj-breadcrumb{
  margin-bottom:22px;
  font-family:inherit!important;
  font-size:15px;
  font-weight:700;
  line-height:1.7;
}
body.tj-archive-v350 .tj-archive-head h1{
  font-family:inherit!important;
  font-size:clamp(34px,3.1vw,50px);
  font-weight:800;
  line-height:1.3;
  letter-spacing:0;
}
body.tj-archive-v350 .tj-title-mark{
  margin-top:12px;
}
body.tj-archive-v350 .tj-toolbar{
  margin-top:14px;
}

/* Small transparent official logo, without frame or background */
body.tj-archive-v350 .tj-brand-badge{
  top:10px;
  right:12px;
  width:74px;
  height:32px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  opacity:.82;
  pointer-events:none;
}
body.tj-archive-v350 .tj-brand-badge img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

/* Modern wishlist control */
body.tj-archive-v350 .tj-fav{
  position:absolute;
  top:10px;
  left:10px;
  z-index:4;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  border:1px solid rgba(214,165,48,.85)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(35,25,7,.08)!important;
  color:#171717!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background-color .2s ease!important;
}
body.tj-archive-v350 .tj-fav:hover{
  transform:translateY(-1px) scale(1.04);
  border-color:#b87d0b!important;
  background:#fffdf8!important;
  box-shadow:0 7px 16px rgba(91,61,9,.14)!important;
}
body.tj-archive-v350 .tj-fav:active{transform:scale(.93)}
body.tj-archive-v350 .tj-fav svg{width:23px;height:23px;overflow:visible}
body.tj-archive-v350 .tj-fav svg path{
  fill:transparent!important;
  stroke:#171717!important;
  stroke-width:1.75!important;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:fill .2s ease,stroke .2s ease,transform .2s ease;
  transform-origin:center;
}
body.tj-archive-v350 .tj-fav.is-added,
body.tj-archive-v350 .tj-fav.active{
  background:#fff!important;
  border-color:rgba(214,165,48,.85)!important;
  box-shadow:0 4px 12px rgba(35,25,7,.08)!important;
}
body.tj-archive-v350 .tj-fav.is-added svg path,
body.tj-archive-v350 .tj-fav.active svg path{
  fill:#e30622!important;
  stroke:#e30622!important;
  animation:tjHeartBeat .34s ease;
}

/* Price is always clear red */
body.tj-archive-v350 .tj-price-pill,
body.tj-archive-v350 .tj-price-pill strong,
body.tj-archive-v350 .tj-price-pill .amount,
body.tj-archive-v350 .tj-price-number,
body.tj-archive-v350 .tj-price-currency{
  color:#e00018!important;
}
body.tj-archive-v350 .tj-price-pill{
  white-space:nowrap;
  direction:rtl;
}
body.tj-archive-v350 .tj-price-pill small{
  color:#444!important;
}

@media(max-width:720px){
  body.tj-archive-v350 .tj-shop-shell{margin-top:-24px}
  body.tj-archive-v350 .tj-breadcrumb{margin-bottom:14px}
  body.tj-archive-v350 .tj-archive-head h1{font-size:32px}
  body.tj-archive-v350 .tj-brand-badge{width:64px;height:28px;top:9px;right:10px}
  body.tj-archive-v350 .tj-fav{width:40px!important;height:40px!important;min-width:40px!important;top:9px;left:9px}
  body.tj-archive-v350 .tj-fav svg{width:22px;height:22px}
}


/* v5.1 — approved modern archive heading + home icon */
body.tj-archive-v350 .tj-archive-head{
  padding-top:8px;
}
body.tj-archive-v350 .tj-breadcrumb{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  margin:0 0 15px;
  font-family:Arial,Tahoma,sans-serif!important;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
  color:#2a2a2a;
}
body.tj-archive-v350 .tj-breadcrumb a,
body.tj-archive-v350 .tj-breadcrumb span{
  color:#2a2a2a;
  font-family:inherit!important;
}
body.tj-archive-v350 .tj-breadcrumb a:hover{color:#b9800e}
body.tj-archive-v350 .tj-breadcrumb i{
  color:#6d6d6d;
  font-size:13px;
  margin-inline:1px;
}
body.tj-archive-v350 .tj-home-icon{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
  color:#d6a530;
}
body.tj-archive-v350 .tj-home-icon svg{
  display:block;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.tj-archive-v350 .tj-archive-head h1{
  font-family:Arial,Tahoma,sans-serif!important;
  font-size:clamp(38px,3.7vw,58px);
  font-weight:900;
  line-height:1.18;
  letter-spacing:-1.1px;
  color:#111;
  margin:0;
}
body.tj-archive-v350 .tj-title-mark{
  width:200px;
  margin-top:15px;
}
body.tj-archive-v350 .tj-title-mark span{height:2px}
body.tj-archive-v350 .tj-title-mark b{
  width:15px;
  height:15px;
  margin:0 9px;
}
body.tj-archive-v350 .tj-toolbar{margin-top:18px}
@media(max-width:720px){
  body.tj-archive-v350 .tj-archive-head{padding-top:4px}
  body.tj-archive-v350 .tj-breadcrumb{font-size:12.5px;margin-bottom:11px;gap:7px}
  body.tj-archive-v350 .tj-home-icon{width:19px;height:19px;flex-basis:19px}
  body.tj-archive-v350 .tj-home-icon svg{width:18px;height:18px}
  body.tj-archive-v350 .tj-archive-head h1{font-size:36px;letter-spacing:-.5px}
  body.tj-archive-v350 .tj-title-mark{width:155px;margin-top:11px}
}


/* v5.2.1 — lower title block slightly so breadcrumb is fully visible */
body.tj-archive-v350 .tj-shop-shell{
  margin-top:-28px;
}
body.tj-archive-v350 .tj-archive-head{
  padding-top:0;
  margin-bottom:14px;
}
body.tj-archive-v350 .tj-breadcrumb{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  margin:0 0 18px;
  font-family:"Cairo","Tajawal","Noto Kufi Arabic",Tahoma,Arial,sans-serif!important;
  font-size:14px;
  font-weight:700;
  line-height:1.6;
  color:#252525;
}
body.tj-archive-v350 .tj-breadcrumb a,
body.tj-archive-v350 .tj-breadcrumb span{
  color:#252525;
  font-family:inherit!important;
  text-decoration:none;
}
body.tj-archive-v350 .tj-breadcrumb a:hover{color:#c59018}
body.tj-archive-v350 .tj-breadcrumb i{
  color:#c59018;
  font-style:normal;
  font-size:14px;
  opacity:.85;
}
body.tj-archive-v350 .tj-home-icon{
  width:23px;
  height:23px;
  flex:0 0 23px;
  color:#c59018;
}
body.tj-archive-v350 .tj-home-icon svg{
  width:21px;
  height:21px;
  stroke-width:2;
}
body.tj-archive-v350 .tj-archive-head h1{
  font-family:"Cairo","Tajawal","Noto Kufi Arabic",Tahoma,Arial,sans-serif!important;
  font-size:clamp(40px,4vw,60px);
  font-weight:900;
  line-height:1.22;
  letter-spacing:0;
  color:#111;
  margin:0;
}
body.tj-archive-v350 .tj-title-mark{
  width:205px;
  margin-top:14px;
}
body.tj-archive-v350 .tj-title-mark span{height:2px;background:#d6a530}
body.tj-archive-v350 .tj-title-mark b{
  width:15px;
  height:15px;
  margin:0 9px;
  background:#d6a530;
}
body.tj-archive-v350 .tj-toolbar{margin-top:18px}

@media(max-width:720px){
  body.tj-archive-v350 .tj-shop-shell{margin-top:-12px}
  body.tj-archive-v350 .tj-breadcrumb{font-size:12.5px;margin-bottom:12px;gap:6px}
  body.tj-archive-v350 .tj-home-icon{width:20px;height:20px;flex-basis:20px}
  body.tj-archive-v350 .tj-home-icon svg{width:18px;height:18px}
  body.tj-archive-v350 .tj-archive-head h1{font-size:36px;line-height:1.28}
  body.tj-archive-v350 .tj-title-mark{width:160px;margin-top:10px}
}
/* التصنيفات الفرعية */
.tuhfa-child-categories{
    width:min(1120px,100%);
    margin:0 auto;
    padding:25px 20px 35px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    direction:rtl;
    box-sizing:border-box;
}

.tuhfa-child-category{
    background:#fff;
    border:1.5px solid #d9a522;
    border-radius:16px;
    overflow:hidden;
    box-sizing:border-box;
    transition:transform .2s ease,box-shadow .2s ease;
}

.tuhfa-child-category:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 24px rgba(0,0,0,.10);
}

.tuhfa-child-category a{
    display:block;
    color:#111;
    text-decoration:none;
}

.tuhfa-child-category-image{
    height:255px;
    padding:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fffaf0;
    box-sizing:border-box;
}

.tuhfa-child-category-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.tuhfa-child-category h2{
    display:none;
    margin:0;
    padding:18px 14px 12px;
    text-align:center;
    font-size:21px;
    line-height:1.5;
    font-weight:800;
}

.tuhfa-child-category-button{
    margin:0 14px 15px;
    padding:13px 16px;
    border-radius:10px;
    background:#171717;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:16px;
    font-weight:700;
}

@media (max-width:900px){
    .tuhfa-child-categories{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:600px){
    .tuhfa-child-categories{
        grid-template-columns:1fr;
        padding:18px 14px 28px;
    }

.tuhfa-child-category-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    transform:scale(1.18);
    display:block;
}    }
}
body.tax-product_cat:has(.tuhfa-child-categories) .tj-pagination,
body.tax-product_cat:has(.tuhfa-child-categories) .woocommerce-pagination,
body.tax-product_cat:has(.tuhfa-child-categories) nav[aria-label*="صفحات"]{
    display:none !important;
}
/* تكبير صورة بطاقات التصنيفات *//* ضبط بطاقات التصنيفات الفرعية */
.tuhfa-child-category{
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

/* إخفاء الاسم المكتوب خارج الصورة */
.tuhfa-child-category h2{
    display:none !important;
}

/* مساحة الصورة */
/* مساحة الصورة بدون إطار داخلي */
.tuhfa-child-category-image{
    height:340px !important;
    padding:12px !important;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff8ef;
    border:none !important;
    box-shadow:none !important;
    border-radius:15px !important;
    overflow:hidden;
    box-sizing:border-box;
}

.tuhfa-child-category-image img{
    width:90% !important;
    height:90% !important;
    object-fit:contain !important;
    transform:scale(1.10) !important;
    border:none !important;
    border-radius:18px !important;
    box-shadow:none !important;
    display:block;
}

/* تثبيت زر عدد المنتجات أسفل البطاقة */
.tuhfa-child-category-button{
    margin:0 12px 12px !important;
    margin-top:auto !important;
}

/* إخفاء ترقيم الصفحات في صفحة التصنيفات الأب */
body.tax-product_cat:has(.tuhfa-child-categories) .tj-pagination,
body.tax-product_cat:has(.tuhfa-child-categories) .woocommerce-pagination,
body.tax-product_cat:has(.tuhfa-child-categories) nav[aria-label*="صفحات"]{
    display:none !important;
}
/* تأثير احترافي */
.tuhfa-child-category{
    transition:.3s ease;
}

.tuhfa-child-category:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* تكبير الصورة قليلاً */
.tuhfa-child-category-image img{
    transform:scale(1.10) !important;
    transition:.3s ease;
}

.tuhfa-child-category:hover .tuhfa-child-category-image img{
    transform:scale(1.15) !important;
}

/* تحسين زر عدد المنتجات */
.tuhfa-child-category-button{
    font-size:17px !important;
    font-weight:700;
}
.tuhfa-child-category-button{
    width:calc(92% - 24px);
    margin:0 11px 11px;
}
/* إطار الصورة بزوايا دائرية */
.tuhfa-child-category-image{
    border-radius:22px !important;
    overflow:hidden;
    background:#fff8ef;
    border:1px solid #e8c16b;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* الصورة داخل الإطار */
.tuhfa-child-category-image img{
    border-radius:18px !important;
}
.tuhfa-child-category-image{
    border-radius:28px !important;
}

.tuhfa-child-category-image img{
    border-radius:24px !important;
}
/* رسالة التصنيف الفارغ */
.tuhfa-empty-category{
    width:min(1050px, 100%);
    margin:20px auto 40px;
    padding:38px 28px;
    background:#fff;
    border:1px solid #d9a929;
    border-radius:22px;
    text-align:center;
    box-sizing:border-box;
    box-shadow:0 12px 32px rgba(0,0,0,.06);
}

.tuhfa-empty-category__icon{
    width:58px;
    height:58px;
    margin:0 auto 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#171717;
    color:#d9a929;
    font-size:34px;
    font-weight:900;
}

.tuhfa-empty-category h2{
    margin:0 0 12px;
    color:#171717;
    font-size:clamp(24px, 3vw, 34px);
    line-height:1.4;
}

.tuhfa-empty-category__text{
    max-width:720px;
    margin:0 auto 28px;
    color:#555;
    font-size:17px;
    line-height:1.9;
}

.tuhfa-empty-category h3{
    margin:0 0 18px;
    color:#171717;
    font-size:21px;
}

/* شبكة الأقسام المتوفرة */
.tuhfa-active-categories{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
    margin:0 auto 26px;
}

.tuhfa-active-category{
    display:flex;
    align-items:center;
    gap:13px;
    min-height:92px;
    padding:12px;
    color:#171717;
    background:#fff9ee;
    border:1px solid #e0b23d;
    border-radius:16px;
    text-decoration:none !important;
    box-sizing:border-box;
    transition:transform .25s ease, box-shadow .25s ease;
}

.tuhfa-active-category:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 22px rgba(0,0,0,.10);
}

.tuhfa-active-category__image{
    width:72px;
    height:72px;
    flex:0 0 72px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
}

.tuhfa-active-category__image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.tuhfa-active-category__content{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    text-align:right;
    gap:5px;
}

.tuhfa-active-category__content strong{
    font-size:17px;
    line-height:1.5;
}

.tuhfa-active-category__content small{
    color:#8a6816;
    font-size:14px;
}

.tuhfa-active-category__arrow{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#171717;
    color:#d9a929;
    font-size:18px;
}

.tuhfa-empty-category__home{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:10px 24px;
    color:#fff !important;
    background:#171717;
    border:1px solid #d9a929;
    border-radius:12px;
    text-decoration:none !important;
    font-weight:800;
    transition:.25s ease;
}

.tuhfa-empty-category__home:hover{
    color:#171717 !important;
    background:#d9a929;
}

/* تابلت */
@media (max-width:900px){
    .tuhfa-active-categories{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

/* جوال */
@media (max-width:600px){
    .tuhfa-empty-category{
        padding:28px 15px;
        border-radius:16px;
    }

    .tuhfa-active-categories{
        grid-template-columns:1fr;
    }

    .tuhfa-active-category{
        min-height:84px;
    }

    .tuhfa-active-category__image{
        width:64px;
        height:64px;
        flex-basis:64px;
    }
}
.tuhfa-empty-category h3{
    position:relative;
    display:inline-block;
    font-size:48px !important;
    font-weight:900 !important;
    color:#e10600 !important;
    line-height:1.35;
    margin:24px 0 34px !important;
    padding:0 72px;
    text-align:center;
    text-shadow:0 2px 3px rgba(0,0,0,.10);
}

.tuhfa-empty-category h3::before,
.tuhfa-empty-category h3::after{
    content:"";
    position:absolute;
    top:50%;
    width:26px;
    height:4px;
    background:#e10600;
}

.tuhfa-empty-category h3::before{
    right:18px;
    transform:translateY(-50%) rotate(25deg);
    box-shadow:
        0 -14px 0 #e10600,
        0 14px 0 #e10600;
}

.tuhfa-empty-category h3::after{
    left:18px;
    transform:translateY(-50%) rotate(-25deg);
    box-shadow:
        0 -14px 0 #e10600,
        0 14px 0 #e10600;
}

@media(max-width:768px){
    .tuhfa-empty-category h3{
        font-size:30px !important;
        padding:0 48px;
    }

    .tuhfa-empty-category h3::before{
        right:10px;
        width:20px;
        box-shadow:
            0 -10px 0 #e10600,
            0 10px 0 #e10600;
    }

    .tuhfa-empty-category h3::after{
        left:10px;
        width:20px;
        box-shadow:
            0 -10px 0 #e10600,
            0 10px 0 #e10600;
    }
}
.tuhfa-empty-category h3{
    font-size:54px !important;
    letter-spacing:-1px;
    text-shadow:0 2px 6px rgba(0,0,0,.08);
}

.tuhfa-empty-category h3::before{
    right:6px;
}

.tuhfa-empty-category h3::after{
    left:6px;
}