/*
Theme Name:     Risolives Child
Theme URI:      https://risolives.id/
Description:    Child theme for Risolives theme
Author:         Mayantara.id
Author URI:     https://mayantara.id/
Template:       risolives
Version:        1.0.0
*/

body {
    font-family: "Quicksand", Sans-serif;
}

header .site-logo-img img {
    filter: brightness(0) invert(1);
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
	margin-left: 16px;
	margin-right: 16px;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item > a {
	padding-left: 0;
  padding-right: 0;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item > a,
.site-above-footer-wrap li a.menu-link {
    border-bottom: 2px transparent solid;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item.current-menu-item > a,
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:hover > a,
.site-above-footer-wrap li:hover a.menu-link,
.site-above-footer-wrap li.current-menu-item a.menu-link {
    border-color: #fff;
    text-decoration: unset;
}

.service-cover figure.elementor-image-box-img {
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.products-carousel img.swiper-slide-image {
    width: 100%;
}

.service-cover .elementor-image-box-content, .products-carousel figcaption.elementor-image-carousel-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 10px 10px 1.5rem;
}

.products-carousel figcaption.elementor-image-carousel-caption {
    background: #b31a36;
    color: #fff;
    padding-top: 6px;
    padding-bottom: 7px;
}

.products-carousel figure.swiper-slide-inner {
    border-radius: 10px;
    overflow: hidden;
}

.service-cover .elementor-image-box-content h3, .products-carousel figcaption.elementor-image-carousel-caption h4 {
    margin: 0;
    color: #fff;
}

.products-carousel figcaption.elementor-image-carousel-caption h4 {
    font-size: 16px;
}

.products-carousel figcaption.elementor-image-carousel-caption p {
    margin: 3px 0 0;
}

.service-cover .elementor-image-box-content p.elementor-image-box-description {
    border: 1px #fff solid;
    border-radius: 20px;
    padding: 4px 28px;
}

.package-desc {
    font-size: 16px;
    line-height: 1;
    margin-bottom: 5px;
}

.service-cover.package-cover .elementor-image-box-content p.elementor-image-box-description {
    border: 0;
    padding: 0;
    font-size: 24px;
}

.service-cover.package-cover .elementor-image-box-content {
    align-items: flex-end;
    padding-right: 1.5rem;
}

.highlight {
	color: #B31B36;
	font-weight: 700;
}

/* === Footer Styling === */
.site-above-footer-wrap img {
    filter: brightness(0) invert(1);
    width: 190px;
}

.site-above-footer-wrap, .site-primary-footer-wrap, .site-above-footer-wrap a, .site-primary-footer-wrap h2, .site-primary-footer-wrap a {
    color: #fff;
}

.site-above-footer-wrap {
    padding: 4rem 0 0 ;
}

.site-above-footer-wrap .site-above-footer-inner-wrap {
    border-bottom: 2px #fff solid;
    padding-bottom: 1rem;
}

.site-above-footer-wrap a.menu-link {
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 16px;
    padding: 0;
}

.footer-nav-wrap {
    margin-top: 6rem;
    text-align: right;
}

.site-primary-footer-wrap i.fa {
    font-size: 23px;
    width: 23px;
    margin-right: 10px;
    text-align: center;
}

.site-primary-footer-wrap ul li {margin-bottom: 10px;display: flex;align-items: center;}

.site-footer-primary-section-2 {
    margin-top: 61px;
}

.site-primary-footer-wrap h2 {
    font-weight: 500;
    font-size: 24px;
}

.footer-qrcode {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 18px;
}

.qrcode-heading {
    text-align: right;
}

.site-primary-footer-wrap, .site-primary-footer-wrap h2, .site-primary-footer-wrap a {
    font-size: 24px;
    font-weight: 600;
}

/* === PRODUK === */
.product-template-default .site-content .ast-container {
    display: block;
}

.single-product .site-content {
    padding-top: 6rem;
}

.product_meta {
    border: 0;
    padding-top: .5em;
    font-size: .9em;
    margin: 0 0 .8em;
}

.product_meta span, .product_meta span a {
    display: inline-block;
    margin-right: 15px;
    align-items: center;
    font-weight: 500;
    text-decoration: inherit;
    color: #0c0d0d;
}

a.button.single_add_to_cart_button {
    padding: 15px 25px;
    border-radius: 30px;
    margin-bottom: 10px;
    display: inline-block;
    transition: .3s all;
}

a.button.single_add_to_cart_button:hover {
    background: #C6CED7;
    color: #0a152e;
    text-decoration: none;
    transform: scale(1.05);
}

.carousel-thumbnails {
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.carousel-thumbnails img.thumb-img {
  border: 2px solid transparent;
  border-radius: 20px;
  transition: border 0.3s;
}

.carousel-thumbnails img.thumb-img.active,
.carousel-thumbnails img.thumb-img:hover {
  border: 2px solid #C6CED7;
}

.archive-produk {
    width: 100%;
}

ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* jarak antar item */
}

ul.products li.produk {
  background: transparent !important;
  display: block;
  flex: 0 0 calc(25% - 15px); /* 4 kolom dikurangi sedikit karena gap */
  box-sizing: border-box;
  margin-bottom: 2.5em;
  padding: 0;
  border: 0;
}

.product.woocommerce {
    margin-bottom: .8em;
}

.shop-summary-wrap {
    text-align: center;
}

ul.products li.produk .woocommerce-loop-product__link {
    border-radius: 20px;
    overflow: hidden;
    display: block;
}

ul.products li.produk a img {
    width: 100%;
    margin: 0;
    transition: .3s all;
}

ul.products li.produk a:hover img {
    opacity: .9;
    transform: scale(1.05);
}

.shop-thumbnail-wrap {
    margin-bottom: .8em;
}

.woo-product-category a {
    font-size: .85em;
    margin-bottom: .5em;
    display: block;
    line-height: 1.3;
    color: inherit;
    opacity: .6;
    transition: .3s all;
}

.woo-product-category a:hover, a.loop-product__link:hover {
    text-decoration: none;
}

h2.woocommerce-loop-product__title {
    margin-bottom: .5em;
    padding: 0;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.3em;
}

.post-type-archive-produk #primary, .archive #primary {
    margin-top: 5rem;
}

h1.woocommerce-products-header__title.page-title {
    font-size: 52px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.woocommerce-breadcrumb {
    font-size: 16px;
    font-weight: 400;
    color: #0A152E;
    /* margin-bottom: 0; */
}

.woocommerce-breadcrumb a {
    /* color: #0C0D0D; */
}

p.woocommerce-result-count, .woocommerce-ordering select, .woocommerce-ordering select {
    font-size: 16px;
    color: #0C0D0D;
    margin-bottom: 0;
}

.woocommerce-ordering select, .woocommerce-ordering select {
    font-size: 16px;
    background-color: #C6CED7;
    padding: 7px 15px;
    border-radius: 20px;
    background-position-x: 93%;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 0;
    margin-top: 4px;
}

h1.product_title.entry-title {
    font-size: 32px;
    font-weight: 600;
}

.woocommerce-tabs ul.tabs {
    display: none;
}

.woocommerce-tabs {
    /* border-top: 1px #C6CED74D solid; */
    /*background: #C6CED7;*/
    /*padding: 2rem;*/
    /*border-radius: 50px;*/
    margin-top: 1.5rem;
}

section.related.products {
    border-top: 1px #c6ced799 solid;
    padding-top: 2rem;
    margin-top: 3rem;
}

section.related.products h2.section-title {
    font-size: 32px;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3em;
}

div.summary {
    margin-bottom: 0rem;
}

.woocommerce-product-gallery__image {
    border-radius: 50px;
    overflow: hidden;
}

.flex-control-nav.flex-control-thumbs li {
    border-radius: 20px;
    overflow: hidden;
}

/* === FLOATING BUTTON === */
.footer-whatsapp {
    padding: 12px 14px;
    background: #25d366;
    border-radius: 100%;
    font-size: 30px;
    line-height: 1;
    position: fixed;
    bottom: 4.5rem;
    right: 20px;
    z-index: 99;
    transition: .3s all;
}

.footer-whatsapp:hover {
    background: #1E1E1E;
}

.footer-whatsapp .whatsapp-icon {
    color: #fff;
	transition: .3s all;
}

.footer-whatsapp:hover .whatsapp-icon {
    /*color: #fff;*/
}

.mobile-text {
    display: none;
}

.ast-theme-transparent-header [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: #b31b36;
}

@media screen and (max-width: 1200px) {
    .site-above-footer-wrap, .site-primary-footer-wrap, .site-below-footer-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .site-primary-footer-wrap, .site-primary-footer-wrap a {
        font-size: 16px;
    }
    
    .site-footer-primary-section-2 {
        margin-top: 51px;
    }
    
    .footer-qrcode {
        margin-top: 0;
        flex-direction: column;
    }
    
    .qrcode-img img {
        height: 80px;
        width: auto;
    }
    
    .qrcode-heading {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 1100px) {
	.service-cover .elementor-image-box-content p.elementor-image-box-description {
			display: none;
	}
}

@media screen and (max-width: 922px) {
	.ast-theme-transparent-header header .site-logo-img img {
        filter: unset;
	}
	.footer-nav-wrap {
        margin-top: 0;
    }
    
    .site-above-footer-wrap li {
        margin-bottom: 1px;
    }
    
    .site-above-footer-wrap a.menu-link {
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
	.service-cover .elementor-image-box-content p.elementor-image-box-description {
			display: block;
	}
	
	.heading-about {
			display: flex;
			flex-direction: row !important;
			flex-wrap: nowrap;
			justify-content: space-between;
	}

	.heading-about > div {
			width: 50%;
			flex-basis: 50%;
	}

	.heading-about > div:last-child {
			text-align: right;
	}

	.halal > div {
			text-align: left !important;
	}

	.halal {
			padding-top: 0;
	}
	
	a.button.single_add_to_cart_button {
		display: block;
		text-align: center;
	}
}

@media screen and (max-width: 560px) {
	.hero-desc {
			padding-right: 10% !important;
	}
}

@media screen and (max-width: 544px) {
    .site-above-footer-wrap figure, .site-above-footer-wrap section, .site-primary-footer-wrap section, .site-primary-footer-wrap li {
        text-align: center;
    }
    
    .site-above-footer-wrap li {
        margin-bottom: 10px;
    }
    
    .site-primary-footer-wrap ul li {
        justify-content: center;
    }
    
    .site-footer-primary-section-2 {
        margin-top: 0;
    }
    
    .site-footer-primary-section-1 {
        margin-bottom: 0 !important;
    }
    
    .footer-qrcode {
        align-items: center;
        margin-top: 2rem;
    }
    
    .qrcode-heading {
        text-align: center;
    }
    
    .woocommerce-tabs {
			padding: 2rem;
			margin-bottom: 3rem;
	}
	
	ul.products li.produk {
        flex-basis: calc(33.3333% - 15px);
    }
    
    section.related.products {
        margin-top: 0;
    }
}

@media screen and (max-width: 480px) {
    ul.products li.produk {
        flex-basis: calc(50% - 15px);
    }
}