/* =========================================================================
   Alekh Holidays — tour category / shop listing
   Container-width, filter sidebar on the left + product grid on the right.
   ========================================================================= */
.tax-product_cat, .post-type-archive-product, .tax-product_tag{ --b:#0673AD; }

/* backstop: remove Astra's (empty) sidebar column so content fills the container */
.tax-product_cat #secondary,
.tax-product_tag #secondary,
.post-type-archive-product #secondary{display:none!important}
.tax-product_cat #primary,
.tax-product_tag #primary,
.post-type-archive-product #primary{width:100%!important;max-width:100%!important;
	flex:1 1 100%!important;padding-left:20px !important;padding-right:20px !important;margin:40px 0!important}

/* two columns INSIDE the normal site container (no full-width override) */
.ah-shop{display:grid;grid-template-columns:262px minmax(0,1fr);gap:34px;align-items:start;margin-top:8px}

/* ---- filter panel ---- */
.ah-shop-filter{background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:18px 18px 8px;
	position:sticky;top:calc(var(--ah-header,0px) + 120px)}
.ah-filter-title{font-size:16px;font-weight:800;color:#12232e;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #eef2f5}
.ah-filter-note{font-size:13px;line-height:1.6;color:#5b6b78}
.ah-filter-note code{background:#eef2f5;padding:1px 5px;border-radius:4px;font-size:12px}
.ah-filter-widget{margin-bottom:16px}
.ah-filter-wtitle{font-size:14px;font-weight:700;color:#12232e;margin:14px 0 8px}

/* ---- products grid fills the right column ---- */
.woocommerce ul.products{list-style:none;display:grid!important;
	grid-template-columns:repeat(auto-fill,minmax(228px,1fr));gap:24px;margin:0!important;padding:0!important;max-width:none;width:100%}
.woocommerce ul.products::before,.woocommerce ul.products::after{content:none!important;display:none!important}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{display:none!important}

/* ---- card ---- */
.woocommerce ul.products li.product,
.woocommerce ul.products li.ah-card-item{
	width:auto!important;margin:0!important;padding:0!important;float:none!important;
	background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 6px 22px rgba(0,0,0,.06);
	display:flex!important;flex-direction:column;text-align:left;transition:transform .15s,box-shadow .15s}
.woocommerce ul.products li.ah-card-item:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(6,25,40,.12)}
.ah-ci-link{display:flex;flex-direction:column;height:100%;text-decoration:none!important;color:inherit}
.ah-ci-thumb{display:block;width:100%;height:190px;overflow:hidden}
.ah-ci-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block;margin:0!important;border-radius:0!important;max-width:none}
.ah-ci-body{display:flex;flex-direction:column;flex:1;padding:15px 16px 16px}
.ah-ci-cat{display:block;font-size:11.5px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--b);margin-bottom:5px}
.ah-ci-title{display:block;font-size:17px;font-weight:700;line-height:1.3;color:#12232e;margin:0 0 7px}
.ah-ci-desc{display:block;font-size:13.5px;line-height:1.55;color:#5b6b78;margin:0 0 14px}
.ah-ci-foot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.ah-ci-price{display:flex;flex-direction:column;line-height:1.1}
.ah-ci-from{font-size:11px;color:#5b6b78}
.ah-ci-price strong{font-size:17px;color:#12232e;font-weight:800}
.ah-ci-price .woocommerce-Price-amount{font-weight:800;color:#12232e}
.ah-ci-btn{background:linear-gradient(90deg,#0a8ecb,#0673AD);color:#fff;font-weight:600;font-size:13px;padding:9px 15px;border-radius:9px;white-space:nowrap}
.woocommerce-pagination{margin-top:40px;}

/* ---- HUSKY / WOOF filter styling to match the site ---- */
.ah-shop-filter .woof_container{margin:0}
.ah-shop-filter .woof_container_inner{padding:0;border:0;background:none}
.ah-shop-filter .woof_redraw_zone > div{margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #eef2f5}
.ah-shop-filter .woof_redraw_zone > div:last-child{border-bottom:0;margin-bottom:6px;padding-bottom:0}

/* block titles: "Search by Price", "Search by Places" -> smaller, on-brand */
.ah-shop-filter .woof_container h4,
.ah-shop-filter .woof_block_html_items > b,
.ah-shop-filter .woof_sid_auto_shortcode h4{font-size:13px!important;font-weight:700!important;
	letter-spacing:.04em;text-transform:uppercase;color:var(--mut,#5b6b78)!important;margin:0 0 12px!important}

/* checkboxes list */
.ah-shop-filter ul.woof_list{list-style:none;margin:0;padding:0}
.ah-shop-filter ul.woof_list li{margin:0 0 9px;padding:0}
.ah-shop-filter ul.woof_list li label{display:flex;align-items:center;gap:9px;cursor:pointer;
	font-size:14.5px;color:#2c3e4c;font-weight:500}
.ah-shop-filter input[type=checkbox]{appearance:none;-webkit-appearance:none;flex:0 0 auto;
	width:18px;height:18px;border:1.5px solid #cdd6de;border-radius:5px;background:#fff;cursor:pointer;position:relative;transition:.15s}
.ah-shop-filter input[type=checkbox]:hover{border-color:var(--b)}
.ah-shop-filter input[type=checkbox]:checked{background:var(--b);border-color:var(--b)}
.ah-shop-filter input[type=checkbox]:checked::after{content:"";position:absolute;left:5px;top:1.5px;
	width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ah-shop-filter .woof_checkbox_count,.ah-shop-filter .count{color:#9aa7b2;font-size:12px}

/* price slider -> brand blue */
.ah-shop-filter .irs--flat .irs-bar,
.ah-shop-filter .irs--flat .irs-handle > i:first-child{background-color:var(--b)!important}
.ah-shop-filter .irs--flat .irs-handle{border-color:var(--b)}
.ah-shop-filter .irs--flat .irs-line{background:#e6ebf0}
.ah-shop-filter .irs--flat .irs-from,.ah-shop-filter .irs--flat .irs-to,
.ah-shop-filter .irs--flat .irs-single{background-color:var(--b)!important}
.ah-shop-filter .irs--flat .irs-from:before,.ah-shop-filter .irs--flat .irs-to:before,
.ah-shop-filter .irs--flat .irs-single:before{border-top-color:var(--b)!important}
.ah-shop-filter .woof_price_filter,.ah-shop-filter .woof_price_search_container{font-size:13.5px;color:#5b6b78}
.ah-shop-filter .woof_price_filter b{color:#12232e}

/* "Show more" + any buttons */
.ah-shop-filter .woof_show_auto_hide,
.ah-shop-filter a.woof_reset_search_form,
.ah-shop-filter .woof_submit_search_form{color:var(--b);font-weight:600;font-size:14px}
.ah-shop-filter .woof_container input[type=submit],
.ah-shop-filter .woof_submit_search_form_button{background:linear-gradient(90deg,#0a8ecb,#0673AD)!important;
	color:#fff!important;border:0!important;border-radius:9px!important;padding:10px 18px!important;font-weight:600!important;cursor:pointer}

/* ---- responsive ---- */
@media(max-width:900px){
	.ah-shop{grid-template-columns:1fr;gap:20px}
	.ah-shop-filter{position:static; display:none}
	.ast-container{padding-right:0px;padding-left:0px}
}
@media(max-width:600px){
	.woocommerce ul.products{grid-template-columns:1fr}
	.ah-ci-thumb{height:200px}
	.ah-shop-filter{position:static; display:none}
	.ast-container{padding-right:0px;padding-left:0px}
}
