/**
Theme Name: Robintek Child Theme
Author: Robintek
Author URI: https://robintek.com/
Description: Robintek Child Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: robintek-child-theme
Template: astra
*/


/*==== BUTTONS =======================================================================================*/



/*==== HEADER =======================================================================================*/

.ast-advanced-headers-layout-1 .ast-container {
    border-bottom: 1px solid var(--ast-global-color-0);
    padding-bottom: 20px;
}
.ast-advanced-headers-title {
    margin-bottom: 0;
}
.ast-breadcrumbs {
    font-size: 14px;
}

/*==== FOOTER =======================================================================================*/



/*==== HOME PAGE ====================================================================================*/



/*==== CUSTOM =======================================================================================*/

.archive #primary {
    margin-top: 20px;
}
.box-featured-product-cat .uabb-infobox-module-link {
    border: 1px solid #cecece;
}
#box-form input {
    margin-bottom: 0!important;
}
#box-form .gform-theme--foundation .gform_fields {
    row-gap: 10px;
}
.row-cta,
.row-cta h2,
.row-cta a {
    color: #fff;
    text-align: center;;
}

/*==== PRODUCTS =====================================================================================*/

.ast-woo-shop-product-description table td {
    font-size: 12px;
    padding: 5px;
}
.related.products .ast-woo-shop-product-description {
    display: none;
}
.astra-shop-thumbnail-wrap {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-main .woocommerce-product-search {
    display: block;
}
.sidebar-main .woocommerce-product-search input {
    margin-bottom: 10px;
}
.sidebar-main .widget_product_search .search-field {
    width: 100%;
}
.sidebar-main .widget_product_categories .children {
    padding-left: 0;
}
.sidebar-main .product-categories li {
    margin: 10px 0;
}
.sidebar-main .cat-item a {
    border-bottom: 1px solid var(--ast-border-color);
    display: block;
    padding-bottom: 5px;
}
.sidebar-main .children .cat-item a {
    border-bottom: 0;
}
.sidebar-main ul.product-categories > li ul li:before {
    top: 10px;
}
.ast-article-single img {
    box-shadow: none!important;
}
.pswp__zoom-wrap {
    background-color: #fff;
}
.related.products > h2 {
    font-size: 32px;
    text-align: center;
    border-bottom: 1px solid var(--ast-global-color-0);
    padding-bottom: 20px;
}
.related.products li.product {
    margin-bottom: 0;
}
.related.products h2.woocommerce-loop-product__title {
    font-size: 16px!important;
}
.related.products .astra-shop-summary-wrap {
    padding: 0 10px!important;
}
.woocommerce-tabs input {
    margin-bottom: 0!important;
}
.woocommerce-tabs .gform-theme--foundation .gform_fields {
    row-gap: 10px;
}
.woocommerce-tabs .gform-footer input {
    background-color: var(--ast-global-color-0)!important;
    border-radius: 0!important;
    font-weight: 800!important;
    font-size: 18px!important;
}
.woocommerce-tabs .gform-footer input:hover {
    background-color: var(--ast-global-color-8)!important;
}
.woocommerce-tabs .ywtm_default_content_tab h2,
.woocommerce-tabs .gform_title {
    margin: 0!important;
    font-size: 32px;
}
.woocommerce-tabs ul.tabs li a {
    font-weight: 400!important;
}
.woocommerce-tabs ul.tabs li.active a {
    color: #fff!important;
}
.woocommerce-tabs ul.tabs li.active {
    background-color: var(--ast-global-color-1)!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before, .woocommerce div.ast-product-tabs-layout-vertical .woocommerce-tabs ul.tabs li:hover::before {
   background: var(--ast-global-color-1); 
}



/*==== MEDIA QUERIES ================================================================================*/

@media (max-width:1060px){
    header .custom-logo-link img {
        max-width: 350px;
        width: 350px;
    }
    .ast-logo-title-inline .site-logo-img {
        padding-right: 0!important;
    }
}

@media (max-width:921px){
    .site-primary-footer-wrap .ast-builder-footer-grid-columns {
        grid-template-columns: 1fr!important;
    }
    .site-primary-footer-wrap .site-footer-section {
        padding-bottom: 40px;
    }
    .site-primary-footer-wrap .footer-widget-area-inner {
        text-align: center!important;
    }
}

@media (max-width:768px){
    .ast-default-shop-page-grid-style .columns-3:has(li.product-category) {
        grid-template-columns: repeat(3, 1fr)!important;
    }
    .col-featured-icon,
    .col-featured-box,
    .col-half-pic-image,
    .col-half-pic-content {
        max-width: 100%!important;
    }
}

@media (max-width: 544px){
	.ast-default-shop-page-grid-style .columns-3:has(li.product-category) {
        grid-template-columns: repeat(2, 1fr)!important;
    }
}
@media (max-width: 450px){
    header .custom-logo-link img {
        max-width: 200px!important;
        width: 200px!important;
    }
}