/*
Theme Name: Shoptimizer Child
Description: Child theme for Shoptimizer
Author: Your Name
Template: shoptimizer
Version: 1.1.1
*/

/* Add your custom CSS below this line */

html, body, button, input, select, textarea, strong, h1, h2, h3, h4, h5, h6, a, span, .woocommerce-loop-product__title {
  font-family: Arial, sans-serif !important;
}

.page-id-7375 .site-content, .page-id-7373 .site-content, .page-id-3 .site-content{
	max-width: 1000px;
    margin: 50px auto 0
}

.page-id-7394 header.entry-header{
	display: none;
}

.wp-block-cover.about-us-block{
	min-height: 600px;
}

/* transparent header
.header-4-container, .m-search-bh .site-search, .m-search-toggled .site-search{
	backdrop-filter: blur(30px) brightness(130%) !important;
	-webkit-backdrop-filter: blur(30px) !important;
	background: #fff !important;
    background-color: hsla(0, 0%, 100%, .65) !important;
}
*/

ul.products li.product{
	padding-right: 5px !important;
	padding-left: 5px !important;
}

body.single-product:has(:not(.woocommerce-breadcrumb)) .site-main, body:has(:not(.woocommerce-breadcrumb)) .site-content {
    padding-top: 0px !important;
	padding-bottom: 0px !important;
}

.summary h1 {
    margin-bottom: 0 !important;
}

@media (min-width: 993px){
	#sspotReviews, .product-details-wrapper, .related.products, .upsells.products, .wc-prl-recommendations, .woocommerce-Tabs-panel, .woocommerce-tabs.wc-tabs-wrapper, .yith-wfbt-section.woocommerce{
		padding-right: 20px !important;
		padding-left: 5px !important;
	}	
	
	.product .images, .product .woocommerce-product-gallery{
		width: 64% !important;
	}
	
	.product .summary{
		width: 34% !important;
	}
	
	.theme-shoptimizer.single-product div.product .summary{
		top: 0px !important;
	}
	
}

/* Cart and Checkout */

.woocommerce-cart p.woocommerce-shipping-destination, .woocommerce-cart form.woocommerce-shipping-calculator, .woocommerce-cart p.woo_lithuaniapost_lpexpress_terminal_select_container{
	display: none;
}

.shoptimizer-cart a.cart-contents .count:after{
	height: 10px !important;
	bottom: 85% !important;
}

.shoptimizer-cart a.cart-contents .count{
	border-bottom-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

.payment_box .bank_item label{
	display: flex !important;
	padding: 15px 15px 15px 5px;
}

.woo_lithuaniapost_lpexpress_terminal_select_container{
	max-width: 100% !important;
}

.checkout .includes_tax, .woocommerce-cart .includes_tax{
    display: none !important;
}

ul#shipping_method li label[for="woo_lithuaniapost_lpexpress_terminal_id"]:before{
	display: none !important;
}

span.shipping-price{
	float: right;
}

span.free-shipping{
	color: #3bb54a;
    	font-weight: 600 !important;
	text-transform: uppercase;
}

p.woo_lithuaniapost_lpexpress_terminal_select_container{
	margin-top: 10px;
}

.neopay-bank-img img{
	margin-top: 0px !important;
}

.country_bank_list .bank_item input {
    margin-right: 10px;
}

#payment .payment_methods li img{
	float: none !important;
	max-height: 22px !important;
}

ul#shipping_method li {
    margin-bottom: 0.75rem !important;
}

.omnivalt_terminal_container{
	margin-top: 10px;
}

.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-button{
	margin-right: 13px;
}

.variations strong, .variations .cgkit-chosen-attribute, .variations .ckit-chosen-attribute_semicolon{
	font-weight: 400;
	font-size: 16px !important;
	text-transform: none;
}

.summary .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color > button {
	height: 36px;
	width: 36px;
	padding: 2px;
}

.woocommerce-privacy-policy-text {
    display: none !important;
}

.checkout_coupon {
    display: block !important;
}

a.showcoupon, .neopay-extra-info {
    display: none !important;
}

.omniva-terminals-list .search-input{
	font-size: 16px;
    font-weight: 600;
    padding-left: 20px;
}

.cg-customer-reviews{
		margin-top: 15px;
}

.cg-customer-reviews a{
	font-size: 13px;
	color: #767676;
	text-decoration: underline;
}

.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-button button{
	border: none;
	background-color: #f0f0f0;
	border-radius: 7px;
	min-width: 39px;
	min-height: 37px;
	line-height: 37px;
	font-weight: 500;
}

.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color > button:before{
	border-color: #fff;
}

.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color > button:hover:before{
	border-color: #fff;
}

.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color[data-cgkit-tooltip="Kreminė"] > button.cgkit-swatch-selected:before{
	border: 1px solid #ebeadf;
}
.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color[data-cgkit-tooltip="Chaki"] > button.cgkit-swatch-selected:before{
	border: 1px solid #656448;
}
.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color[data-cgkit-tooltip="Pilka"] > button.cgkit-swatch-selected:before{
	border: 1px solid #d9d9d9;
}
.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color[data-cgkit-tooltip="Tamsiai mėlyna"] > button.cgkit-swatch-selected:before{
	border: 1px solid #161c4b;
}
.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color[data-cgkit-tooltip="Tamsiai pilka"] > button.cgkit-swatch-selected:before{
	border: 1px solid #545454;
}

button.single_add_to_cart_button{
	font-weight: 700 !important;
}

.single-product .single_add_to_cart_button {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        line-height: 1.2 !important;
	justify-content: center;
	font-size: 16px !important;
}

.single-product .single_add_to_cart_button .atc-line-2 {
        font-size: 13px;
	font-weight: 400;
	text-transform: none;
}

.product p.price{
	font-size: 22px !important;
}

.cgkit-as-variation-price{
	display: inline-block;
}

.product p.price{
	margin-bottom: 0px !important;
}

.discount-text{
    width: fit-content;
	margin-bottom: 20px;
    padding: 8px 20px;
    font-size: 14px;
	background-color: #c9f2da;
	letter-spacing: 0.3px;
}

.summary details summary{
	padding-top: 1.2rem !important;
	padding-bottom: 1.2rem !important;
	padding-left: 15px !important;
	font-weight: 400 !important;
    font-size: 17px !important;
	border-top: 1px solid #ccc !important;
	text-transform: none !important;
	align-items: center;
    display: flex !important;
    justify-content: flex-start;
}

.woocommerce-product-details__short-description details:last-of-type {
    border-bottom: 1px solid #ccc !important;
}

.summary details summary:after{
	width: 22px !important;
    height: 22px !important;
	right: 15px !important;
	top: 45% !important;
}

.summary details .cg-accordion-item{
	padding-left: 15px;
	font-size: 16px !important;
	padding-bottom: 18px !important;
}

.material-description{
	align-items: center;
    display: flex;
	justify-content: space-around;
}

.material-single{
	align-items: center;
	display: flex;
	flex-direction: column;
    max-width: 90px;
    text-align: center;
    width: 25%;
	font-size: 13px;
}

.material-title{
	text-align: center;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
	margin-top: 20px;
}

.product_meta{
	display: none;
}

.cgkit-image-caption{
    background-color: hsla(0, 0%, 100%, .75) !important;
    border-radius: 2px !important;
    bottom: 5px !important;
    right: 5px !important;
    color: #333 !important;
    font-size: 11px !important;
    padding: 2px 4px !important;
    left: unset !important;
    pointer-events: none;
    position: absolute;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.testimonial-image img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonial-content {
  background: #fff;
  padding: 5px 15px 15px;
}


.testimonial-name{
	margin: 0;
	font-size: 14px;
}

.testimonial-date{
	margin: 0;
	font-size: 12px;
}

.testimonial-date img.emoji{
	margin: 0 4px 0 0 !important;
}

.testimonial-rating {
  margin: 0;
}

.testimonial-title{
	margin: 0;
	text-transform: uppercase;
	font-weight: 600;
}

.testimonial-description{
	margin: 0;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 12px;
}

.mini-loader {
    border: 2px solid #eee;
    border-top: 2px solid #333;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.6s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 770px) {
      .ckit-mobile-pdp-gallery-active.ckit-mobile-show-edge .cg-main-swiper.swiper-container-initialized .swiper-wrapper.cg-psp-gallery .swiper-slide{
		  margin-right: 2px !important;
	}
	
	.pswp__top-bar, .pswp__caption{
		background-color: transparent !important;
	}
	
	.page-id-7105 h2#testimonials{
		padding-left: 0px !important;
	}
	
	div.product p.price{
		font-size: 16px !important;
	}
}

@media (max-width: 992px) {
	
	.menu-toggle .bar{
		height: 1px !important;
	}
	
	.ckit-mobile-pdp-gallery-active .swiper-container.cg-thumb-swiper{
		display: none !important;
	}
	
.m-search-bh .site-search, .m-search-toggled .site-search, .site-branding button.menu-toggle, .site-branding button.menu-toggle:hover{
	margin-top: 4px;
	}
	
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
	
	.woocommerce-checkout .checkout-wrap{
		margin-top: 0;
		margin-bottom: 30px !important;
	}
	
	.woocommerce-checkout .checkout_coupon{
		margin-top: 0;
	}
	
}

/* Testimonials modal */
.testimonial-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  overflow: auto;
  justify-content: center;
  align-items: center;
}

/* Modal content box */
.testimonial-modal-content {
  margin: auto;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: calc(100vh - 60px); /* limit modal height */
  overflow-y: auto; /* enable vertical scrolling */
  position: relative;
  animation: fadeIn 0.3s ease;
}

/* Close button */
.testimonial-close {
  position: absolute;
  padding: 2px 8px;
  right: 15px;
  top: 10px;
  font-size: 25px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  line-height: 28px;
  color: #fff;
  cursor: pointer;
}

.testimonial-modal .testimonial-description{
	margin: 0;
	-webkit-line-clamp: none;
	-webkit-box-orient: inherti;
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 12px;
}


/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

/* Ticker */
.topbar-wrapper{
	display: none;
}
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: black;
    color: white;
    height: 26px;
  }

.ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.ticker-item {
    padding: 0 40px;
    line-height: 26px;
    font-size: 13px;
}

  /* Seamless scrolling */
@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* move exactly 1 copy left */
}

.below-content{
	display: none !important;
}

/* Size guides */
dialog.size-guide-modal{
	max-width: 550px !important;
}

.size-guide-modal table td{
	text-align: center;
}

.size-guide-modal .ckit-modal-content{
	padding-top: 0px !important;
}

/* Homepage */
span.home-price{
	display: block;
	font-size: 16px;
}

/* Category styles */
ul.products li.product:hover::before,
ul.products li.product:focus-within::before {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

ul.products li.product .price{
    margin-bottom: 0.5rem !important;
    font-size: 16px;
    Line-height: 1em;
}

ul.products li.product .discount-text{
    margin-bottom: 0.5rem;
    padding: 6px 10px;
    font-size: 11px;
}

li.product:hover .woocommerce-image__wrapper{
    transform: none !important;
}

.woocommerce-card__header{
    padding-top: 0 !important;
}

h1.woocommerce-products-header__title {
    Margin-top: 1rem;
    text-align: center;
    font-weight: 400;
}

.shoptimizer-sorting{
    display: none !important;
}

@media (max-width: 992px) {
    ul.products {
	column-gap: 0px !important;
    }

    .archive #content .col-full{
        padding: 0 !important;
    }

    .m-grid-2 ul.products li.product .woocommerce-loop-product__title {
        font-size: initial !important;
    }
}