/**
Theme Name: SRW
Author: teclan ltd
Author URI: https://www.teclan.com
Description: Child theme for SRW by teclan.com
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teclansrw
Template: astra
*/

/*
Uncomment this to restore the white space on pages if there is no sidebar
.ast-plain-container.ast-no-sidebar #primary {margin:4em 0}
*/

/*
Uncomment this to fix Astra submenu bug and set background manually
.main-header-menu .sub-menu {background-color:#ccc}
*/

#elementor-menu-cart__toggle_button {padding:10px 0;}
#elementor-menu-cart__toggle_button .elementor-button-icon {flex-direction:column}
#elementor-menu-cart__toggle_button .elementor-button-icon .elementor-screen-only,
.ast-search-icon .astra-search-icon .screen-reader-text {
    height: auto;
    overflow: visible;
    margin: 4px 0 0;
    top: 0;
    width: auto;
    display: block;
    clip: auto;
    position: relative !important;
    font-size: 13px;
    font-weight: 400;
	color: #fff;
	clip-path:none;
}

.elementor-location-header .ast-icon.icon-search svg {fill:#fff;margin-top:0;}
.elementor-location-header .astra-search-shortcode {padding:0 5px;}
.ast-search-icon .astra-search-icon .screen-reader-text {margin-top:0}
.ast-search-icon .astra-search-icon {display:flex;flex-direction:column-reverse;}
.ast-search-icon .ast-icon {margin:-1px auto -2px;}

@media screen and (min-width:768px) {
	
	#elementor-menu-cart__toggle_button .elementor-button-icon .elementor-screen-only {color: #315265;}
	.single-product .upsell-carousel .e-loop-item {max-width:25%}
}

.elementor-location-header .ast-icon.icon-search svg {fill:#fff}

@media screen and (max-width:1260px) {
	.elementor-345 .elementor-element.elementor-element-22ad4fe {--padding-left: 10px;--padding-right: 10px;}
}
	
ul.products li.product .astra-shop-summary-wrap .card-cart .button {padding: 11px 20px;font-size: 16px;background-color:#74ad52;display:inline-block;}
.elementor-products-grid ul.products.elementor-grid li.product {display:flex;flex-direction:column;}

.archive.ast-woocommerce-shop-page-list-view .elementor-products-grid ul.products.elementor-grid li.product {display:block;border-bottom: 1px solid var(--ast-border-color);padding-bottom:1em;margin-bottom:1em;}
/* add .has-post-thumbnail to below for hidden empty thumbnails */
.archive.ast-woocommerce-shop-page-list-view .elementor-products-grid ul.products.elementor-grid li.product {display:grid;grid-template-columns: 1fr 4fr;}
.tec-hidden-thumbnails.archive.ast-woocommerce-shop-page-list-view .elementor-products-grid ul.products.elementor-grid li.product {grid-template-columns: 1fr;}

.archive ul.products li.product ul.products li.product .astra-shop-summary-wrap {display:flex;}
.archive ul.products li.product ul.products li.product .astra-shop-summary-wrap {}
.archive.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap {flex-direction:row;}
.archive.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap > div {width:60%;display: flex;flex-direction: column;justify-content: space-between;text-align:left;}

.woocommerce ul.products li.product .astra-shop-summary-wrap, .woocommerce-page ul.products li.product .astra-shop-summary-wrap {display:flex;flex-direction:column;flex-grow:1}

.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-thumbnail-wrap {max-width:130px}
/* hides empty thumbnails
 * .ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-thumbnail-wrap,
.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-thumbnail-wrap img {display:none;}
.ast-woocommerce-shop-page-list-view ul.products li.product.has-post-thumbnail .astra-shop-thumbnail-wrap,
.ast-woocommerce-shop-page-list-view ul.products li.product.has-post-thumbnail .astra-shop-thumbnail-wrap img {display:block;}*/

.archive ul.products li.product .astra-shop-summary-wrap .card-brand {display:none;}

.archive ul.products li.product .astra-shop-summary-wrap .card-brand > span,
.archive ul.products li.product .astra-shop-summary-wrap .card-sku > span {text-transform:uppercase;font-weight:400;color:#666}
.archive ul.products li.product .astra-shop-summary-wrap .card-brand,
.archive ul.products li.product .astra-shop-summary-wrap .card-sku {font-size:13px;font-weight:600;color:#d90707;line-height:1;}

.archive ul.products li.product .astra-shop-summary-wrap .stock-info {line-height: 1.2;}
.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap .stock-info {text-align: right;margin-bottom:auto;padding-bottom:10px}

.tec-hidden-thumbnails.ast-woocommerce-shop-page-list-view ul.products li.product .stock-info {padding-bottom:0;margin-right:10px;margin-bottom:0;}
.tec-hidden-thumbnails.ast-woocommerce-shop-page-list-view ul.products li.product .right-column .stock-info {display:none;}
.tec-hidden-thumbnails.archive.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap > div.right-column {width:40%;}

.archive ul.products li.product .astra-shop-summary-wrap .stock {margin-bottom:0.5em;color:#666;text-transform:uppercase;}
.archive ul.products li.product .astra-shop-summary-wrap .quantity {display:none}
.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap .quantity {display:block}
.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap .price {text-align:right;margin-bottom:0}

.woocommerce ul.products li.product .price del {opacity:1;}

.archive ul.products li.product .astra-shop-summary-wrap .right-column {margin-top:auto}
.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap .right-column {width:40%;margin-top:0;}
.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap .right-column > a {text-align:right}
.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap .card-cart {text-align:right;justify-content:flex-end;display:flex;align-items:flex-end;gap:10px;}

.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap .card-cart .button {margin:0;padding: 11px 20px;font-size: 16px;}
.ast-shop-product-out-of-stock {display:none;}

@media screen and (min-width:640px) {
	.archive.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-summary-wrap {height: 100%;}
}

.ast-woocommerce-shop-page-list-view .elementor-products-grid ul.products.elementor-grid:not(.subcategory-grid) {grid-template-columns:repeat(1,1fr);display:block}
.elementor-products-grid ul.products:not(.subcategory-grid) li.product.product-category {display:none;} /* hide dupes in main loop */
.woocommerce ul.products.subcategory-grid {margin-bottom:20px;}

ul.products .product-icons {display:flex;justify-content:center;flex-wrap:wrap}
.ast-woocommerce-shop-page-list-view ul.products .product-icons {justify-content:flex-start;}

ul.products .woocommerce-brand-image-single {display:none}

.ast-woocommerce-shop-page-list-view ul.products .woocommerce-brand-image-single,
.product-icons .icon-item, 
.ast-woocommerce-shop-page-list-view .product-icons .icon-item, 
.elementor-shortcode .product-icons-wrap .icon-item {
    max-width: 60px;display:block;margin-right:10px;
}

.ast-woocommerce-shop-page-list-view .product-icons, .elementor-shortcode .product-icons-wrap {display:flex; align-items: center;}
.elementor-shortcode .product-icons-wrap {margin-bottom:20px}

/*
.ast-woocommerce-shop-page-list-view ul.products .woocommerce-brand-image-single,
.product-icons .icon-item, 
.ast-woocommerce-shop-page-list-view .product-icons .icon-item, 
.elementor-shortcode .product-icons-wrap .icon-item {
    max-width: 90px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.product-icons .icon-item img,
.ast-woocommerce-shop-page-list-view .product-icons .icon-item img,
.elementor-shortcode .product-icons-wrap .icon-item img{
  /* width: 90px; */
  height: 40px;
  object-fit: contain;   /* keeps whole icon visible */
  display: block;
}
*/

.ast-woocommerce-shop-page-list-view .product-icons,
.elementor-shortcode .product-icons-wrap {
    display: flex;
    align-items: center;
}

.elementor-shortcode .product-icons-wrap {
    margin-bottom: 20px;
}


.elementor-add-to-cart .ast-stock-detail {display:none}
.woocommerce div.product p.ast-stock-detail, .woocommerce .woocommerce-breadcrumb, .single-product .elementor-heading-title p.stock {margin-bottom:0;}
.single-product .elementor-heading-title p.stock.out-of-stock {color:var(--ast-global-color-3)};
.single-product .woocommerce-price-suffix {display: block;font-weight: 400;font-size: 14px;}

.single-product div.product .product_title {margin:0}
.single-product .brand-logo img{width: 100px;}

.woocommerce .quantity .minus, .woocommerce-js .quantity .plus {font-weight:700; color:var(--ast-global-color-0);}
.woocommerce-cart-form__cart-item .ast-product-name {line-height:1.2}
.woocommerce-cart-form__cart-item .ast-product-name .item-sku {font-size:13px;font-weight:400;}
.woocommerce .cart .coupon .button {padding: 10px 15px 11px;}
.woocommerce #content table.cart [name=coupon_code], .woocommerce-page #content table.cart [name=coupon_code] {max-height:none;}

@media (min-width: 922px) {
    .ast-woo-shop-archive .site-content > .ast-container {
        max-width: 1280px;
    }
}


li::marker {color: #f24f3f;}

#primary {margin: 1em 0}

.ast-archive-description {margin-bottom: 0.5em; padding-bottom: 0.5em}

.related-categories-heading {font-size: 16px;font-weight: 600;text-transform: uppercase;line-height:1.3em; background-color: var( --e-global-color-astglobalcolor7 );padding: 10px 10px 10px 10px;}
.related-categories-list {list-style-type:none;margin:0;padding:10px 10px 0;}
.related-categories-list li {display:flex;align-items:center;margin-bottom:10px;}
.related-categories-list li img {max-width:50px;border:1px solid;margin-right:5px}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {font-weight:600;font-size:18px;}
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    padding: 15px 20px;
}
.woocommerce ul.products li.product.product-category a {height:200px}
.woocommerce ul.products.subcategory-grid li.product.product-category a {height:170px;width:100%}

.search-filter-label {margin: 15px 0;text-transform:uppercase;}
.search-filter-field {border-bottom:1px solid var(--e-global-color-astglobalcolor7);}
.search-filter-input-checkbox__label {font-size:14px;font-weight:500}
.search-filter-field__input:not(.search-filter-field__input--hidden) {padding-bottom:10px;}
.sort-dropdown .search-filter-field__input {padding:0}
.sort-dropdown .search-filter-component-combobox__selection, .sort-dropdown input.search-filter-component-combobox__actions-input {padding-left:10px}
/*.selected-filters button[data-option-value*="field_1"] {display:none;}*/

.bulk-pricing-table {font-size:14px;max-width:400px}
.bulk-pricing-table td, .bulk-pricing-table th {
    padding: 2px 10px;text-align:center;
}

.display-subcategories .archive-sidebar, .display-subcategories #main-product-grid {display:none}
.display-subcategories .archive-main {width:100%}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview {background-color: var( --e-global-color-astglobalcolor6 );}
.woocommerce-checkout .e-woocommerce-login-anchor {display:block !important;}
.woocommerce-checkout .woocommerce-info.heavy-ship-note {padding-left:20px}
.woocommerce-info.heavy-ship-note:before {left:0;}

div#brands_a_z h3 {text-transform:uppercase}
div#brands_a_z a.top {padding:10px;}
ul.brands_index {padding-left:0;display:flex;margin-top:0;}
ul.brands_index li {float: none;margin: 0 5px 0 0;}
ul.brands_index li a, ul.brands_index li span {padding:10px;float:none;display:block;text-transform:uppercase;text-decoration:none !important;color:#1e293b;border-color:#f24f3f;font-weight:700}
ul.brands_index li a:hover {border-width: 1px;padding: 10px;text-decoration: none !important;background-color:#f24f3f;color:#ffffff;}


/* ACF Tooltip styles */
.acf-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    color: #333;margin-bottom:20px;
}

.acf-tooltip-icon {
    color: var(--ast-global-color-0);
    border: 1px solid;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Tooltip text container */
.acf-tooltip .acf-tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 99;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85em;
    line-height: 1.4;
    white-space: normal;
}

/* Tooltip arrow */
.acf-tooltip .acf-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Reveal tooltip on hover or focus */
.acf-tooltip:hover .acf-tooltip-text,
.acf-tooltip:focus-within .acf-tooltip-text,
.acf-tooltip.active .acf-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.woocommerce-account .woocommerce-form-register #billing_first_name_field {
    width: inherit;
}
.woocommerce-form-login .ast-woo-form-actions {display:none}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-order-details table.shop_table tr td a.button.invoice {color:#fff}

/*  added by DV 23/10/25 */
.inline-mail form {display:flex}
.inline-mail form p {margin-bottom:0; display:flex} 
.inline-mail form label {display:none}
/* Targets CF7's submit input with your class */
.wpcf7 form input[type="submit"].emailButton {
  border-radius: 5px;
  padding: 5px 20px; /* give horizontal padding too */
	background:#74ad52;
}
/* Card container */
.srw-form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  color: #1b2a40;
  font-family: "Open Sans", Arial, sans-serif;
}

/* Title & intro */
.srw-form-title {
  font-size: 30px;
  margin: 0 0 15px;
  color: #003366;
}

.srw-form-intro {
  margin: 0 0 30px;
  line-height: 1.6;
}

/* Fields */
.srw-field { margin: 0 0 15px; }

.srw-input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccd6e0;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.25;
  background: #fff;
  box-sizing: border-box;
}

.srw-textarea { margin-bottom: 10px; }

/* Submit */
.srw-actions { margin-top: 15px; }

.wpcf7 form input[type="submit"].emailButton,
.wpcf7 form input[type="submit"].srw-submit {
  background-color: #004b8d;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: background-color .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.wpcf7 form input[type="submit"].emailButton:hover,
.wpcf7 form input[type="submit"].srw-submit:hover {
  opacity: .9;
}

.wpcf7 form input[type="submit"].emailButton:focus-visible,
.wpcf7 form input[type="submit"].srw-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,75,141,0.25);
}

/*  end added by DV 23/10/25 */

/* Ensure product image wrapper is positioned for absolute badge placement */
.elementor-widget-woocommerce-product-images .elementor-widget-container,
.woocommerce ul.products li.product,
.woocommerce div.product div.images,
.woocommerce div.product {
  position: relative;
}

/* Astra/WooCommerce: ensure a positioning context */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce div.product div.images,
.woocommerce ul.products li.product {
  position: relative;
}

/* Astra/WooCommerce: ensure the image area is the positioning context */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce div.product div.images {
  position: relative;
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.elementor-widget-woocommerce-product-images .elementor-widget-container,
.holder-product-images {overflow:hidden;}

/* main + product page */
span.tec-sash {
  margin: 0;
  padding: 0;
  background: var(--e-global-color-astglobalcolor3);
 border-radius:0 !important;
  color:white;
  padding:1em 0;
  position: absolute;
  top:0 !important;
  left:0 !important;
  transform: translateX(0%) translateY(30%) rotate(-45deg);
  transform-origin: top right;
}
span.tec-sash:before,
span.tec-sash:after {
  content: '';
  position: absolute;
  top:0;
  margin: 0 -1px; /* tweak */
  width: 100%;
  height: 100%;
  background: var(--e-global-color-astglobalcolor3);
}
span.tec-sash:before {
  right:100%;
}

span.tec-sash:after {
  left:100%;
}

/* listings page */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap span.tec-sash {
	transform: translateX(-50%) translateY(-100%) rotate(-45deg);
	min-height:30px !important;
	line-height:30px !important;
}

.woocommerce.ast-woocommerce-shop-page-list-view ul.products li.product .astra-shop-thumbnail-wrap span.tec-sash {
	transform: translateX(-50%) translateY(-75%) rotate(-45deg);
}

.single-product span.tec-sash {top:-20px !important;left:-20px!important;}

/* hides carousel containers if empty to get rid of headers */
.carousel-holder:has(.e-loop-nothing-found-message){
display:none;
}
.product-section-title {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px;
}
h1.category-title {
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.3em;
}
h2.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

h3.category-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.product-faqs {
    margin-top: 1.5rem;
}

.faq-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.product-faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.product-faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.product-faq-answer p {
    margin-bottom: 0.75rem;
}

.product-faq-answer p:last-child {
    margin-bottom: 0;
}
/* Hide Brand filter block on brand pages

body.tax-product_brand .archive-sidebar {
    display: none !important;
} */