/*
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
*/

/* Brand + Stock Row en PDP */
.pluma-brand-stock-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 4px;
}

.pluma-brand-name {
	font-family: 'Outfit', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	color: #9C9B99;
	text-decoration: none;
	text-transform: uppercase;
}

.pluma-brand-name:hover {
	color: #6D6C6A;
}

.pluma-stock-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 100px;
	font-family: 'Outfit', sans-serif;
	font-size: 10px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

.pluma-stock-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
}

/* Tiered Pricing - Descuento por mayoreo */
.tiered-pricing-wrapper > h3 {
	display: flex !important;
	align-items: center;
	gap: 6px;
	font-family: 'Outfit', sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.3px !important;
	color: #1A1918 !important;
	margin: 0 0 12px 0 !important;
	padding: 0 !important;
}

.tiered-pricing-wrapper > h3::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231A1918' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231A1918' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 01-2.83 0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

.tiered-pricing-blocks {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 8px !important;
	margin: 0 !important;
}

.tiered-pricing-block {
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 4px !important;
	padding: 14px 10px !important;
	background: #FFFFFF !important;
	border: 1px solid #E5E4E1 !important;
	border-radius: 12px !important;
	transition: border-color 0.2s ease !important;
	transform: none !important;
}

.tiered-pricing-blocks .tiered-pricing--active {
	border-color: #3D8A5A !important;
	border-width: 1.5px !important;
	transform: none !important;
}

.tiered-pricing-block__quantity {
	font-family: 'Outfit', sans-serif !important;
	font-size: 10px !important;
	font-weight: 500 !important;
	color: #9C9B99 !important;
	background: none !important;
	padding: 0 !important;
	text-align: center !important;
	order: -1;
}

.tiered-pricing-block__price {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #1A1918 !important;
	letter-spacing: -0.3px !important;
	text-align: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tiered-pricing-block__price .woocommerce-Price-amount {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #1A1918 !important;
}

.tiered-pricing-block__price-discount {
	display: inline-block !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 9px !important;
	font-weight: 600 !important;
	color: #3D8A5A !important;
	background: #E8F5E0 !important;
	padding: 2px 6px !important;
	border-radius: 100px !important;
	margin-top: 2px !important;
}

/* Override style-1 specific overrides */
.tiered-pricing-blocks--style-1 .tiered-pricing-block {
	overflow: visible !important;
	padding: 14px 10px !important;
}

.tiered-pricing-blocks--style-1 .tiered-pricing-block .tiered-pricing-block__quantity {
	color: #9C9B99 !important;
	background: none !important;
	padding: 0 !important;
}

.tiered-pricing-blocks--style-1 .tiered-pricing-block .tiered-pricing-block__price {
	padding: 0 !important;
}

/* Rating y Precio PDP spacing */
.wiser_review.wsr_rating {
	margin-bottom: 8px !important;
}

.summary .price {
	margin-bottom: 16px !important;
}

/* Cashback Banner */
.cashback-banner {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background: #F0F7ED !important;
	color: #3D8A5A !important;
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	font-weight: 500;
	border-radius: 12px;
	margin: 0 0 8px 0 !important;
	box-shadow: none !important;
	position: static !important;
	overflow: visible !important;
	animation: none !important;
	width: 100%;
	box-sizing: border-box;
}

.cashback-banner::before {
	display: none !important;
}

.cashback-banner svg {
	flex-shrink: 0;
}

.cashback-banner span {
	color: #3D8A5A;
}

/* Ticker */
.ticker {
	display: flex;
	width: 100%;
	height: 40px;
	background: #1A1918;
	color: #FFFFFF;
	font-family: 'Outfit', sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.5px;
	align-items: center;
	overflow: hidden;
	position: relative;
	-webkit-user-select: none;
	user-select: none;
}

.ticker::before,
.ticker::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 48px;
	z-index: 2;
	pointer-events: none;
}

.ticker::before {
	left: 0;
	background: linear-gradient(to right, #1A1918, transparent);
}

.ticker::after {
	right: 0;
	background: linear-gradient(to left, #1A1918, transparent);
}

.ticker:hover .ticker-wrap {
	animation-play-state: paused;
}

.ticker-wrap {
	display: flex;
	align-items: center;
	white-space: nowrap;
	animation: ticker-scroll linear infinite;
	will-change: transform;
}

.ticker-wrap span {
	display: inline-block;
	padding: 0 2em;
	color: rgba(255, 255, 255, 0.78);
	position: relative;
	line-height: 40px;
}

.ticker-wrap span::after {
	content: '·';
	position: absolute;
	right: -0.15em;
	font-size: 18px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.3);
}

.ticker-wrap span b,
.ticker-wrap span strong {
	color: #FFFFFF;
	font-weight: 700;
}

@keyframes ticker-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-25%); }
}

@media (max-width: 767px) {
	.ticker {
		height: 36px;
		font-size: 11px;
	}

	.ticker::before,
	.ticker::after {
		width: 24px;
	}

	.ticker-wrap span {
		padding: 0 1.5em;
	}
}

.top-bar {
	padding: 0px !important;
}

.top-bar .textwidget {
	padding: 0px !important;
	width: 100%;
}

.topbar-wrapper {
	padding: 0px !important;
}

.top-bar .col-full {
	max-width: 100% !important;
}

/* Wiser rating stars PDP */
.wiser_review.wsr_rating .Wsrspfapp-review-count {
	color: #9C9B99 !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 12px !important;
	font-weight: 500 !important;
}

.wiser_review.wsr_rating .Wsrspfapp-stars-list {
	font-size: 14px !important;
}

/* Wiser reviews container mobile */
@media only screen and (max-width: 767px) {
	.Wsrspfapp-container {
		padding-right: 1em !important;
		padding-left: 1em !important;
	}
}

/* Elementor Accordion */
.elementor-accordion {
	border: 1px solid #E5E4E1 !important;
	border-radius: 16px !important;
	overflow: hidden;
	box-shadow: none !important;
}

.elementor-accordion-item,
.elementor-accordion-item .elementor-tab-title,
.elementor-accordion-item .elementor-tab-content {
	box-shadow: none !important;
}

.elementor-accordion-item {
	border: none !important;
	border-bottom: 1px solid #E5E4E1 !important;
}

.elementor-accordion-item:last-child {
	border-bottom: none !important;
}

.elementor-accordion-item .elementor-tab-title {
	font-family: 'Outfit', sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #1A1918 !important;
	padding: 18px 20px !important;
	background: #FFFFFF !important;
}

.elementor-accordion-item .elementor-tab-title:hover {
	background: #F8F7F4 !important;
}

.elementor-accordion-item .elementor-tab-title .elementor-accordion-icon {
	color: #9C9B99 !important;
}

.elementor-accordion-item .elementor-tab-content {
	font-family: 'Outfit', sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #6D6C6A !important;
	line-height: 1.7 !important;
	padding: 0 20px 20px 20px !important;
	background: #FFFFFF !important;
	border-top: none !important;
}

/* Short description color */
.woocommerce-product-details__short-description,
.woocommerce-product-details__short-description * {
	color: #6D6C6A !important;
}

.woocommerce-product-details__short-description {
	padding-top: 0.5rem !important;
	padding-bottom: 0 !important;
}

/* Cannabinoides pills */
.pluma-cannabinoids {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.pluma-cannabinoid-pill {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	background: #1A1918;
	color: #FFFFFF;
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	font-weight: 500;
	border-radius: 100px;
	text-decoration: none;
	transition: background 0.2s;
}

.pluma-cannabinoid-pill:hover {
	background: #333230;
	color: #FFFFFF;
}

/* Especificaciones (Tipo, Contenido, Strain) */
.pluma-specs-row {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 14px;
	background: #FFFFFF;
	border: 1px solid #E5E4E1;
	border-radius: 14px;
	overflow: hidden;
}

.pluma-spec-card {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 18px 12px;
}

.pluma-spec-card svg {
	flex-shrink: 0;
}

.pluma-spec-divider {
	width: 1px;
	background: #E5E4E1;
	align-self: stretch;
}

.pluma-spec-label {
	font-family: 'Outfit', sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.5px;
	color: #9C9B99;
}

.pluma-spec-value {
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #1A1918;
	text-align: center;
	word-break: break-word;
}

/* Fondo blanco galería de producto */
.woocommerce-product-gallery {
	background: #FFFFFF;
	border-radius: 12px;
}

/* Títulos de sección PDP */
.pluma-section-title {
	font-family: 'Outfit', sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px !important;
	color: #1A1918 !important;
	margin: 12px 0 0 0 !important;
	padding: 0 !important;
}

.pluma-section-divider {
	border: none;
	border-top: 1px solid #E5E4E1;
	margin: 20px 0 0 0 !important;
}

/* Trust Banners - Envío gratis / Compra segura */
.pluma-trust-banners {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	margin-top: 16px;
}

.pluma-trust-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: #FFFFFF;
	border-radius: 12px;
}

.pluma-trust-banner svg {
	flex-shrink: 0;
}

.pluma-trust-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pluma-trust-title {
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #1A1918;
}

.pluma-trust-sub {
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #9C9B99;
}

.pluma-base-label {
	font-family: 'Outfit', sans-serif;
	font-size: 9px;
	font-weight: 400;
	color: #9C9B99;
}

/* Loop product image wrapper - fondo blanco y bordes redondeados */
ul.products li.product .woocommerce-image__wrapper {
	background: #FFFFFF;
	border-radius: 12px;
	overflow: hidden;
}

/* Loop product card hover - bordes redondeados */
ul.products li.product:focus-within::before,
ul.products li.product:hover::before {
	border-radius: 12px;
}

/* =============================================
   Mobile Drawer Menu
   ============================================= */

/* Hide mobile-only drawer elements on desktop */
.pluma-drawer-header,
.pluma-drawer-divider,
.pluma-drawer-promo,
.pluma-drawer-spacer,
.pluma-drawer-bottom,
.pluma-nav-icon {
	display: none;
}

@media (max-width: 992px) {

	.pluma-drawer-header,
	.pluma-drawer-divider,
	.pluma-drawer-promo,
	.pluma-drawer-bottom,
	.pluma-nav-icon {
		display: flex;
	}

	.pluma-drawer-spacer {
		display: block;
	}

	/* -- Panel -- */
	.col-full-nav {
		width: 340px;
		left: -340px;
		padding: 0;
		background: #FFFFFF;
		box-shadow: 4px 0 40px rgba(0, 0, 0, 0.12);
		display: flex;
		flex-direction: column;
	}

	/* -- Hide theme's default close button (we use our own inside the drawer) -- */
	.mobile-menu.close-drawer {
		display: none !important;
	}

	/* -- Drawer header with close btn -- */
	.pluma-drawer-header {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding: 16px 20px;
	}

	.pluma-drawer-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border-radius: 100px;
		background: #F5F4F1;
		border: none;
		cursor: pointer;
		padding: 0;
	}

	.pluma-drawer-close svg {
		color: #6D6C6A;
	}

	.pluma-drawer-divider {
		height: 1px;
		background: #E5E4E1;
		width: 100%;
	}

	/* -- Search bar -- */
	.col-full-nav .site-search {
		padding: 16px 24px;
	}

	.col-full-nav .site-search input[type="search"] {
		font-family: 'Outfit', sans-serif;
		font-size: 14px;
		font-weight: 400;
		color: #1A1918;
		background: #F5F4F1;
		border: 1px solid #F5F4F1;
		border-radius: 12px;
		padding: 12px 16px 12px 42px;
		transition: border-color 0.2s ease;
	}

	.col-full-nav .site-search input[type="search"]:focus {
		border-color: #E5E4E1;
		background: #FFFFFF;
		outline: none;
	}

	.col-full-nav .site-search input[type="search"]::placeholder {
		color: #9C9B99;
		font-weight: 400;
	}

	.col-full-nav .site-search form:before {
		opacity: 0.4;
	}

	/* -- Menu items -- */
	.main-navigation {
		padding-top: 8px;
	}

	.menu-primary-menu-container > ul > li > a,
	.menu-primary-menu-container > ul > li.nolink {
		font-family: 'Outfit', sans-serif;
		font-size: 15px;
		font-weight: 600;
		color: #1A1918;
		padding: 14px 24px;
		display: flex;
		align-items: center;
		gap: 14px;
	}

	.menu-primary-menu-container > ul > li:last-child > a,
	.menu-primary-menu-container > ul > li:last-child.nolink {
		border-bottom: none;
	}

	/* -- Expanded state background -- */
	.menu-primary-menu-container > ul > li.dropdown-open > a {
		background: #FAFAF8;
	}

	.main-navigation ul.menu > li.menu-item-has-children.dropdown-open > .sub-menu-wrapper {
		background: #FAFAF8;
		border-bottom: none;
	}

	/* -- Sub-menu items -- */
	.main-navigation ul.menu ul li > a,
	.main-navigation ul.menu ul li.nolink {
		font-family: 'Outfit', sans-serif;
		font-size: 14px;
		font-weight: 500;
		color: #6D6C6A;
		padding: 6px 24px 6px 58px;
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.main-navigation ul.menu .sub-menu-wrapper {
		padding-left: 0;
		padding-bottom: 6px;
		padding-top: 0;
		margin-top: 0;
	}

	.main-navigation ul.menu .sub-menu-wrapper .container {
		padding-top: 0;
		padding-bottom: 0;
	}

	/* -- Sub-item colored dots (cycle every 5) -- */
	.main-navigation ul.menu .sub-menu-wrapper ul li > a::before {
		content: '';
		display: inline-block;
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: #3D8A5A;
		flex-shrink: 0;
	}

	.main-navigation ul.menu .sub-menu-wrapper ul li:nth-child(5n+2) > a::before {
		background: #D89575;
	}

	.main-navigation ul.menu .sub-menu-wrapper ul li:nth-child(5n+3) > a::before {
		background: #D4A64A;
	}

	.main-navigation ul.menu .sub-menu-wrapper ul li:nth-child(5n+4) > a::before {
		background: #7B9ACC;
	}

	.main-navigation ul.menu .sub-menu-wrapper ul li:nth-child(5n+5) > a::before {
		background: #C57BAC;
	}

	/* -- Caret / Chevron arrows -- */
	.main-navigation ul.menu li.menu-item-has-children span.caret {
		width: 40px;
		height: 48px;
		right: 10px;
	}

	.main-navigation ul.menu li.menu-item-has-children span.caret:after {
		width: 18px;
		height: 18px;
		background-color: #D1D0CD;
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
		mask-size: contain;
		-webkit-mask-size: contain;
		mask-repeat: no-repeat;
		-webkit-mask-repeat: no-repeat;
	}

	.main-navigation ul.menu > li.menu-item-has-children.dropdown-open > span.caret:after {
		background-color: #3D8A5A;
	}

	.main-navigation ul.menu li.menu-item-has-children li.menu-item-has-children span.caret {
		height: 32px;
		opacity: 0.6;
	}

	/* -- Nav icon -- */
	.pluma-nav-icon {
		flex-shrink: 0;
		width: 20px;
		height: 20px;
		color: #3D8A5A;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.pluma-nav-icon svg {
		width: 20px;
		height: 20px;
	}

	/* -- Hide theme's mobile-extra, we replace it -- */
	.mobile-extra {
		display: none !important;
	}

	/* -- Cashback promo card -- */
	.pluma-drawer-promo {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 16px 24px;
		text-decoration: none;
	}

	.pluma-drawer-promo:hover {
		background: #FAFAF8;
	}

	.pluma-drawer-promo-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 12px;
		background: #E8F5E0;
		flex-shrink: 0;
	}

	.pluma-drawer-promo-icon svg {
		color: #3D8A5A;
	}

	.pluma-drawer-promo-text {
		display: flex;
		flex-direction: column;
		gap: 2px;
		flex: 1;
	}

	.pluma-drawer-promo-title {
		font-family: 'Outfit', sans-serif;
		font-size: 14px;
		font-weight: 600;
		color: #3D8A5A;
	}

	.pluma-drawer-promo-desc {
		font-family: 'Outfit', sans-serif;
		font-size: 12px;
		font-weight: 400;
		color: #9C9B99;
	}

	.pluma-drawer-promo-arrow {
		color: #3D8A5A;
		flex-shrink: 0;
	}

	/* -- Spacer -- */
	.pluma-drawer-spacer {
		flex: 1;
	}

	/* -- Bottom section -- */
	.pluma-drawer-bottom {
		display: flex;
		flex-direction: column;
		gap: 16px;
		padding: 16px 24px 24px 24px;
	}

	/* -- Mi cuenta button -- */
	.pluma-drawer-account {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 14px 18px;
		background: #F5F4F1;
		border-radius: 12px;
		text-decoration: none;
		transition: background 0.2s;
	}

	.pluma-drawer-account:hover {
		background: #EEEDEA;
	}

	.pluma-drawer-account svg:first-child {
		color: #6D6C6A;
		flex-shrink: 0;
	}

	.pluma-drawer-account span {
		font-family: 'Outfit', sans-serif;
		font-size: 14px;
		font-weight: 500;
		color: #1A1918;
		flex: 1;
	}

	.pluma-drawer-account svg:last-child {
		color: #D1D0CD;
		flex-shrink: 0;
	}

	/* -- Social icons -- */
	.pluma-drawer-social {
		display: flex;
		justify-content: center;
		gap: 12px;
	}

	.pluma-drawer-social a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 100px;
		background: #F5F4F1;
		transition: background 0.2s;
	}

	.pluma-drawer-social a:hover {
		background: #EEEDEA;
	}

	.pluma-drawer-social a svg {
		color: #6D6C6A;
	}

	/* -- Copyright -- */
	.pluma-drawer-copyright {
		font-family: 'Outfit', sans-serif;
		font-size: 11px;
		font-weight: 400;
		color: #9C9B99;
		text-align: center;
	}
}

/* Loop product titles - bold */
ul.products li.product .woocommerce-loop-product__title {
	font-weight: 700;
}