﻿/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/
.promo-menu a span{
	color:#F84848 !important;
	font-weight:bold !important;
}
#menu-primary-menu{
	
  display: flex;
  justify-content: space-between;

}
@media (min-width: 993px) {
    .shoptimizer-primary-navigation {
        display: block;
    }
}
.topbar-wrapper{
	border-bottom: 1px solid #D5D5D5 !important;
}
    .header-5 .shoptimizer-cart .cart-contents .amount {
        font-size: 14px;
        display: contents;
        color: #3D3D3D;
    }
.top-bar .col-full{
	padding:5px 0px;
}
#woocommerce-product-search-field-0{
	border: 1px solid #D5D5D5;
border-radius: 26px;
}
.woocommerce-product-search{
	max-width:650px;
	margin:auto;
}
.secondary-navigation ul li a{
	color:#6E6E6E !important;
	font-size:11px;
	font-weight:500;
}
@media (min-width: 993px) {
    .header-5 .shoptimizer-cart a.cart-contents {
      border: 1px solid #D5D5D5;
border-radius: 5px;
    }
}
.top-bar-left{
	font-weight:600;
}
.below-content {
	padding:50px 0px;
	background:#F7F5F7;
}
.copyright ul{
	    display: flex;
    gap: 31px;
	    justify-content: end;
}
.copyright, .copyright a{
	color:#FFFFFF70 !important;
}
.copyright .col-full{
	border-top: 1px solid #FFFFFF50;
	padding-top:37px !important;
	padding-bottom: 68px !important;
}
.copyright{
	padding-bottom: 0px !important;
	
}

.site-footer .col-full {
  display: flex;
  flex-wrap: wrap;
	
}

.site-footer .col-full .widget {
  flex: 1;
}

/* Primeira coluna com 30% */
.site-footer .col-full .widget:first-child {
  flex: 0 0 30%;
  max-width: 30%;
}
 footer .widget, footer.copyright .col-full{
	padding:0px;
}
.site footer.site-footer .widget .widget-title, .site-footer .widget.widget_block h2{
	margin-bottom:28px;
}
#text-9 img{
	margin-bottom:43px;
}
.site-footer{
	padding-top: 75px;
    padding-bottom: 116px;
}
footer .widget li {
    margin-bottom: 15px;
}
.site footer.site-footer .widget .widget-title, .site-footer .widget.widget_block h2{
	font-weight:600;
}
ul.products li.product .price{
	color:#C47499 !important;
	font-size:16px !important;
	font-weight:600;
}
li.menu-item-product p.product__categories a, li.product p.product__categories a{
	font-size:11px !important;
	color:#A8A8A8 !important;
	font-weight:500 !important;}
.archive-header{
	background:#f8f8f8 !important;
	margin-bottom:46px !important;
}
.page-id-7  .archive-header{
	background:#fff !important;
	margin-bottom:46px !important;
}
.woocommerce-breadcrumb{
	padding:20px 0px;
	color:#6E6E6E;
	font-size:14px !important;
	font-weight:400;
}

/* Product page: wrapper white, breadcrumb light gray */
.single-product .col-full:has(> .woocommerce-breadcrumb) {
	background: #ffffff !important;
}

/* Fallback when :has() is unavailable */
.single-product .site-main > .col-full {
	background: #ffffff !important;
}

.single-product .col-full > .woocommerce-breadcrumb {
	position: relative;
	z-index: 1;
	background: transparent;
	padding: 20px 0;
	max-width: var(--shoptimizer-col-full-max-width, 1240px);
	margin-left: auto;
	margin-right: auto;
}

.single-product .site-main > .col-full,
.single-product .col-full {
	overflow: visible !important;
}

.single-product .site-content .col-full {
	background-color: #ffff !important;
}

.single-product .col-full > .woocommerce-breadcrumb:before {
	content: none;
}

.single-product .col-full > .woocommerce-breadcrumb {
	background: #f8f8f8 !important;
	box-shadow: 0 0 0 100vmax #f8f8f8;
	clip-path: inset(0 -100vmax);
}

.single-product .woocommerce .woocommerce-message {
	margin-top: 25px !important;
}
#secondary .widget .widget-title{
	color:#6E6E6E ;
	font-size:12px;
	font-weight:600;
}
h1.woocommerce-products-header__title{
	margin-bottom:40px !important; 
	background:#F7F5F7;
	border-radius: 10px;
	padding:38px 60px;
	color:#4D146C;
	font-size:28px;
	font-weight:bold;
}
select.orderby, .shoptimizer-sorting .woocommerce-result-count, .woocommerce-pagination a{
	color:#B2B2B2 ;
	font-size:14px !important;
	font-weight:400 !important;
	   
}
select.orderby{
	 max-width: 175px;
}
.woocommerce-breadcrumb a, .woocommerce-breadcrumb a:hover{
	color:#6E6E6E;
}
.single-product .product{
	background: #fff;
}
div.product p.price{
	font-size:24px;
	font-weight:600;
}
@media (min-width: 993px) {
    .product .product-details-wrapper .images, .product .woocommerce-product-gallery {
        width: 54%;
		height:auto;
    }
}
@media (min-width: 993px) {
    .product .summary {
        width: 40%;
    }
}
.home .archive-header{
	margin-bottom:0px !important;
}
.woocommerce-breadcrumb{
	max-width: 1420px !important;
}
/* Product gallery: desktop thumbs left + main image right (no crop) */
@media (min-width: 993px) {
	#commercegurus-pdp-gallery {
		display: flex !important;
		gap: 14px;
		align-items: flex-start;
	}

	#commercegurus-pdp-gallery-wrapper .cg-thumb-swiper {
		width: 110px !important;
		flex: 0 0 110px;
		height: 720px !important;
		overflow: hidden !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-thumb-swiper .swiper-wrapper {
		align-items: flex-start !important;
		justify-content: flex-start !important;
		transform: translate3d(0, 0, 0) !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-thumb-swiper .swiper-slide {
		height: auto !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-thumb-swiper img {
		width: 110px !important;
		height: 110px !important;
		object-fit: cover;
		border: 1px solid #B2B2B2;
		border-radius: 10px;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper {
		flex: 1 1 auto;
		width: 650px !important;
		max-width: 650px !important;
		height: 650px !important;
		position: relative;
		border: 1px solid #b2b2b2;
		border-radius: 10px;
		background: #fff;
		overflow: hidden;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper .swiper-wrapper {
		height: 100% !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper .swiper-slide {
		height: 100% !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper .swiper-slide > a,
	#commercegurus-pdp-gallery-wrapper .cg-main-swiper .swiper-slide .woocommerce-product-gallery__image {
		display: block;
		width: 100% !important;
		height: 100% !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper img.pdp-img {
		display: block;
		width: 100% !important;
		height: 100% !important;
		object-fit: fill;
		object-position: center center;
		border: 0 !important;
		border-radius: 0;
		background: #fff;
	}
}

@media (max-width: 992px) {
	#commercegurus-pdp-gallery {
		display: block !important;
	}

	/* Mobile: show thumbs below main image in horizontal strip */
	#commercegurus-pdp-gallery-wrapper .cg-thumb-swiper {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		margin-top: 10px;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper {
		width: 100% !important;
		max-width: 100%;
		height: auto !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper .swiper-wrapper,
	#commercegurus-pdp-gallery-wrapper .cg-main-swiper .swiper-slide {
		height: auto !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper .swiper-slide > a,
	#commercegurus-pdp-gallery-wrapper .cg-main-swiper .swiper-slide > .woocommerce-product-gallery__image {
		display: block;
		width: 100%;
	}

	#commercegurus-pdp-gallery-wrapper .cg-main-swiper img.pdp-img {
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
		object-fit: fill;
		border: 1px solid #B2B2B2;
		border-radius: 10px;
	}

	#commercegurus-pdp-gallery-wrapper .cg-thumb-swiper .swiper-wrapper {
		transform: none !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-thumb-swiper .swiper-slide {
		width: 72px !important;
		height: 72px !important;
		margin-right: 8px !important;
		margin-bottom: 0 !important;
	}

	#commercegurus-pdp-gallery-wrapper .cg-thumb-swiper img {
		width: 72px !important;
		height: 72px !important;
		object-fit: cover;
		border: 1px solid #B2B2B2;
		border-radius: 10px;
	}
}


/* Meter-product buy block (server-rendered, no JS DOM injection) */
.single-product .summary form.cart #price_calculator .price-table-row.length-input td {
	vertical-align: middle !important;
}

.single-product .summary form.cart #price_calculator .price-table-row.length-input td label {
	display: inline-block;
	margin: 0;
}

.single-product .summary form.cart #price_calculator .price-table-row.length-input td:last-child {
	vertical-align: middle;
}

/* On measurement products, hide sticky unit quantity selector but keep add-to-cart button */
.single-product.riera-measurement-product .summary form.cart .commercekit-pdp-simple-form .quantity,
.single-product.riera-measurement-product .summary form.cart .commercekit-pdp-simple-form .quantity.buttons_added,
.single-product.riera-measurement-product .summary form.cart .commercekit-pdp-simple-form .quantity-nav,
.single-product.riera-measurement-product .summary form.cart .commercekit-pdp-simple-form input.qty[type="number"] {
	display: none !important;
}

.single-product .summary #price_calculator input.amount_needed {
	width: 112px;
	height: 36px;
	border: 1px solid #d8d8d8 !important;
	border-radius: 8px;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: #606060;
	padding: 0 8px;
	background: #fff;
	appearance: auto !important;
	-webkit-appearance: auto !important;
	-moz-appearance: auto !important;
	flex: 0 0 112px;
}

.single-product .summary #price_calculator input.amount_needed::-webkit-outer-spin-button,
.single-product .summary #price_calculator input.amount_needed::-webkit-inner-spin-button {
	-webkit-appearance: auto !important;
	opacity: 1 !important;
	margin: 0;
}

.single-product .summary #price_calculator input.amount_needed:focus {
	outline: none;
	box-shadow: none;
}

.single-product .summary #price_calculator .riera-length-row-inline {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	min-width: 250px;
}

.single-product .summary #price_calculator .riera-inline-product-price {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	font-size: 20px;
	font-weight: 600;
	color: #c3749d;
	white-space: nowrap;
	min-width: 105px;
	flex: 0 0 105px;
}

.single-product .summary #price_calculator .riera-calculated-meta-row > td:first-child,
.single-product .summary #price_calculator .riera-calculated-meta-row .riera-meta-price {
	display: none !important;
}

.single-product .summary #price_calculator .riera-calculated-meta-row td {
	padding: 0 !important;
	border: 0 !important;
}

.single-product .summary .riera-meter-minstep {
	margin: 10px 0 12px;
	font-size: 12px;
	font-weight: 500;
	color: #6e6e6e;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.single-product .summary .riera-meter-stock-label {
	color: #1c9e7b !important;
	font-weight: 500;
	text-transform: uppercase;
}

.single-product .summary .riera-meter-stock-label:before {
	content: '●';
	margin-right: 8px;
	font-size: 10px;
	vertical-align: middle;
}

/* Meter buy block closer to requested layout */
.single-product.riera-measurement-product .summary #price_calculator {
	margin-bottom: 8px;
}

.single-product.riera-measurement-product .summary #price_calculator .length-input td:first-child {
	font-size: 0;
}

.single-product.riera-measurement-product .summary #price_calculator .length-input td:first-child label {
	display: none !important;
}

.single-product.riera-measurement-product .summary #price_calculator .calculated-price td:first-child {
	font-size: 0;
}

.single-product.riera-measurement-product .summary #price_calculator .calculated-price td:first-child:before {
	content: 'Product Price';
	font-size: 14px;
}

.single-product.riera-measurement-product .summary p.riera-meter-minstep {
	margin: 8px 0 10px;
}

.single-product.riera-measurement-product .summary .single_add_to_cart_button.button.alt {
	width: 100%;
}

.single-product .summary .yith-add-to-wishlist-button-block {
	margin-top: 10px;
}

.single-product .summary .yith-add-to-wishlist-button-block a.yith-wcwl-add-to-wishlist-button {
	color: #a8a8a8 !important;
	font-weight: 500;
	text-decoration: none;
}

.single-product .summary .yith-add-to-wishlist-button-block .yith-wcwl-icon {
	color: #a8a8a8 !important;
	fill: none !important;
	stroke: currentColor !important;
}

/* Coração rosa quando produto está nos favoritos */
.single-product .summary .yith-wcwl-add-to-wishlist-button--added,
.single-product .summary .yith-wcwl-add-to-wishlist-button--added .yith-wcwl-icon,
.single-product .summary .yith-wcwl-add-to-wishlist-button--added .yith-wcwl-icon-svg,
.single-product .summary .yith-wcwl-add-to-wishlist-button--added:hover,
.single-product .summary .yith-wcwl-add-to-wishlist-button--added:hover .yith-wcwl-icon,
.single-product .summary .yith-wcwl-add-to-wishlist-button--added:hover .yith-wcwl-icon-svg {
	color: #c3749d !important;
}

/* Product identifiers (REF/MPN/GTIN) */
.single-product .summary .riera-product-identifiers {
	display: block;
	clear: both;
	float: none;
	margin: 8px 0 12px !important;
	line-height: 1.2;
}

.single-product .summary .riera-ref-highlight {
	float: none;
	clear: both;
	display: inline-block;
	padding: 0;
	border: 0;
	background: transparent;
}

.single-product .summary .riera-ref-highlight.is-hidden {
	display: none !important;
}

.single-product .summary .riera-identifier-value {
	display: inline-block;
	margin-left: 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	color: #111111;
}

.single-product .woocommerce-product-attributes .riera-subtle-identifier {
	font-size: 12px;
	color: #666;
	letter-spacing: 0.01em;
}

/* Omnibus message: subtle, near price, no visual emphasis */
.single-product .summary .riera-omnibus-row {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	margin: 6px 0 10px !important;
	padding: 0 !important;
}

.single-product .summary > .iworks-omnibus,
.single-product .summary .riera-omnibus-row > .iworks-omnibus,
.single-product .summary .price .iworks-omnibus {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 1.35;
	color: #7a7a7a !important;
}

.single-product .summary > .iworks-omnibus strong,
.single-product .summary > .iworks-omnibus b,
.single-product .summary .price .iworks-omnibus strong,
.single-product .summary .price .iworks-omnibus b {
	font-weight: 400 !important;
	color: inherit !important;
}

.single-product .summary .yith-wcwl-add-to-wishlist-button--added .yith-wcwl-icon-svg path {
	stroke: currentColor !important;
	fill: currentColor !important;
}
.woocommerce ul.products .yith-add-to-wishlist-button-block {
    display: none !important;
}
