.wafra-shop-page { padding-top: 42px; padding-bottom: 95px; color: #171814; font-family: 'Cairo', Tahoma, Arial, sans-serif; }
.wafra-shop-intro { margin-bottom: 30px; padding: 34px 42px; background: #26332b; color: #fff; border-radius: 22px; }
.wafra-shop-intro > span { color: #e0bd7b; font-size: 13px; font-weight: 800; }
.wafra-shop-intro h1 { height: auto !important; margin: 7px 0 10px; overflow: visible !important; color: #fff !important; font: 800 clamp(34px, 4vw, 52px)/1.45 'Cairo', sans-serif !important; }
.wafra-shop-intro > div { max-width: 900px; color: #dce1dd; font-size: 14px; font-weight: 500; line-height: 2; }
.wafra-shop-intro p { margin: 0; }

.wafra-shop-toolbar { min-height: 70px; margin-bottom: 24px; padding: 12px 20px; display: flex; align-items: center; gap: 22px; background: #f5f4f0; border: 1px solid #ebe8df; border-radius: 14px; }
.wafra-filter-toggle { display: none; min-height: 44px; padding: 0 16px; color: #fff; background: #26332b; border: 0; border-radius: 9px; font-size: 12px; font-weight: 800; }
.wafra-filter-toggle i { margin-left: 7px; }
.wafra-result-count { margin-left: auto; color: #65665f; font-size: 13px; font-weight: 600; }
.wafra-result-count p { margin: 0; }
.wafra-shop-ordering { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; }
.wafra-shop-ordering .woocommerce-ordering { margin: 0; }
.wafra-shop-ordering select { min-width: 170px; height: 44px; padding: 0 14px; background: #fff; border: 1px solid #ddd9cf; border-radius: 9px; outline: 0; font-size: 12px; }

.wafra-shop-layout { display: grid; grid-template-columns: 292px minmax(0, 1fr); align-items: start; gap: 30px; }
.wafra-shop-filters { position: sticky; top: 20px; background: #fff; border: 1px solid #e8e6df; border-radius: 18px; box-shadow: 0 13px 35px #24291e0d; }
.wafra-filter-head { min-height: 70px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ebe9e3; }
.wafra-filter-head h2 { height: auto !important; margin: 0; overflow: visible !important; color: #1b1c17 !important; font: 800 23px/1.4 'Cairo', sans-serif !important; }
.wafra-filter-head button { display: none; width: 38px; height: 38px; background: transparent; border: 0; font-size: 18px; }
.wafra-filter-group { border-bottom: 1px solid #ebe9e3; }
.wafra-filter-group:last-child { border-bottom: 0; }
.wafra-filter-group > button { width: 100%; min-height: 62px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; color: #20211c; background: transparent; border: 0; font-size: 15px; font-weight: 800; text-align: right; }
.wafra-filter-content { display: none; padding: 0 22px 22px; }
.wafra-filter-group.is-open .wafra-filter-content { display: block; }
.wafra-filter-search { height: 43px; margin-bottom: 14px; padding: 0 13px; display: flex; align-items: center; background: #f7f6f2; border: 1px solid #e5e2d9; border-radius: 22px; }
.wafra-filter-search input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 11px; }
.wafra-filter-search i { color: #73746e; }
.wafra-category-options { max-height: 270px; overflow-y: auto; scrollbar-width: thin; }
.wafra-category-options a { min-height: 36px; display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; color: #575852; font-size: 12px; font-weight: 600; }
.wafra-category-options a > span { width: 16px; height: 16px; display: block; border: 1px solid #a9aaa5; border-radius: 4px; }
.wafra-category-options a.is-active { color: #26332b; font-weight: 800; }
.wafra-category-options a.is-active > span { background: #26332b; border-color: #26332b; box-shadow: inset 0 0 0 3px #fff; }
.wafra-category-options small { color: #999a94; font-size: 10px; }
.wafra-price-options, .wafra-rating-options { display: none; gap: 8px; }
.wafra-filter-group.is-open .wafra-price-options, .wafra-filter-group.is-open .wafra-rating-options { display: grid; }
.wafra-price-options a, .wafra-rating-options a { padding: 9px 11px; color: #565751; background: #f7f6f2; border-radius: 8px; font-size: 11px; font-weight: 600; }
.wafra-rating-options a { color: #d8a23f; }

.wafra-shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.wafra-shop-card { position: relative; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e5e5e1; border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.wafra-shop-card:hover { transform: translateY(-5px); border-color: #d9cfbd; box-shadow: 0 16px 38px #23302816; }
.wafra-shop-card-wish { position: absolute; z-index: 4; top: 15px; right: 15px; width: 38px; height: 38px; display: grid; place-items: center; color: #222; background: #fff; border: 1px solid #e8e7e2; border-radius: 50%; font-size: 19px; box-shadow: 0 5px 16px #2221; }
.wafra-shop-card-media { height: 270px; position: relative; display: grid; place-items: center; overflow: hidden; background: #fbfbfa; border-bottom: 1px solid #ecebe7; }
.wafra-shop-card-media img { width: 86%; height: 86%; display: block; object-fit: contain; transition: transform .4s ease; }
.wafra-shop-card:hover .wafra-shop-card-media img { transform: scale(1.055); }
.wafra-shop-sale { position: absolute; z-index: 3; top: 18px; left: 14px; padding: 5px 9px; color: #fff; background: #15975b; border-radius: 99px; font-size: 10px; font-weight: 800; }
.wafra-shop-card-body { padding: 18px 16px 16px; }
.wafra-shop-card-body h2 { height: auto !important; min-height: 52px; margin: 0 0 9px; overflow: visible !important; color: #22231e !important; font: 700 14px/1.85 'Cairo', sans-serif !important; }
.wafra-shop-card-body h2 a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wafra-shop-card-price { min-height: 34px; display: flex; align-items: center; color: #171812; font-size: 17px; font-weight: 900; }
.wafra-shop-card-price .price { margin: 0 !important; color: inherit !important; font-size: inherit !important; }
.wafra-shop-card-price ins { text-decoration: none; }
.wafra-shop-card-price del { margin-left: 7px; color: #93948f; font-size: 12px; font-weight: 500; }
.wafra-shop-add { position: relative; width: 100%; min-height: 47px; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 9px; overflow: hidden; color: #26332b !important; background: #fff !important; border: 1px solid #26332b !important; border-radius: 9px !important; font-size: 12px !important; font-weight: 800 !important; transition: color .2s, background .2s, transform .2s !important; }
.wafra-shop-add:hover, .wafra-shop-add.is-adding, .wafra-shop-add.is-added { color: #fff !important; background: #26332b !important; transform: translateY(-1px); }
.wafra-shop-add.is-added { background: #15975b !important; border-color: #15975b !important; }
.wafra-add-ripple { position: absolute; width: 20px; height: 20px; pointer-events: none; background: #dcb76f80; border-radius: 50%; transform: scale(0); animation: wafra-shop-ripple .65s ease-out forwards; }
@keyframes wafra-shop-ripple { to { opacity: 0; transform: scale(14); } }
.wafra-shop-results .tbay-pagination { margin-top: 45px; text-align: center; }
.wafra-shop-results .page-numbers { display: flex; justify-content: center; gap: 8px; list-style: none; }
.wafra-shop-results .page-numbers a, .wafra-shop-results .page-numbers span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #dfddd6; border-radius: 9px; }
.wafra-shop-results .page-numbers .current { color: #fff; background: #26332b; border-color: #26332b; }
.wafra-filter-backdrop { display: none; }

@media (max-width: 1350px) {
	.wafra-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.wafra-filter-toggle { display: inline-flex; align-items: center; }
	.wafra-result-count { margin-left: 0; }
	.wafra-shop-layout { display: block; }
	.wafra-shop-filters { position: fixed; z-index: 10020; top: 0; right: 0; bottom: 0; width: min(350px, 88vw); overflow-y: auto; border-radius: 0; transform: translateX(105%); transition: transform .28s ease; }
	body.wafra-filter-open .wafra-shop-filters { transform: translateX(0); }
	.wafra-filter-head button { display: grid; place-items: center; }
	.wafra-filter-backdrop { position: fixed; z-index: 10010; inset: 0; background: #10181399; }
	body.wafra-filter-open .wafra-filter-backdrop { display: block; }
}
@media (max-width: 767px) {
	.wafra-shop-page { padding-top: 22px; padding-bottom: 70px; }
	.wafra-shop-intro { padding: 25px 22px; border-radius: 16px; }
	.wafra-shop-intro h1 { font-size: 32px !important; }
	.wafra-shop-intro > div { max-height: 82px; overflow: hidden; font-size: 12px; }
	.wafra-shop-toolbar { padding: 10px; gap: 8px; flex-wrap: wrap; }
	.wafra-result-count { order: 3; width: 100%; font-size: 11px; }
	.wafra-shop-ordering { margin-right: auto; }
	.wafra-shop-ordering > span { display: none; }
	.wafra-shop-ordering select { min-width: 126px; height: 42px; }
	.wafra-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.wafra-shop-card { border-radius: 12px; }
	.wafra-shop-card-media { height: 190px; }
	.wafra-shop-card-wish { top: 10px; right: 10px; width: 34px; height: 34px; }
	.wafra-shop-sale { top: auto; bottom: 9px; left: 9px; }
	.wafra-shop-card-body { padding: 12px 10px 11px; }
	.wafra-shop-card-body h2 { min-height: 47px; font-size: 11px !important; line-height: 1.9 !important; }
	.wafra-shop-card-price { font-size: 14px; }
	.wafra-shop-add { min-height: 42px; font-size: 10px !important; }
}
