/**
 * Fanstorevivo - WooCommerce Styles
 * Match vivobarefoot.com clean, minimal aesthetic
 */

/* ========================================
   General WooCommerce Overrides
   ======================================== */

.woocommerce {
	font-family: "Rubik", sans-serif;
	color: #444444;
}

.woocommerce a {
	color: #111111;
	text-decoration: none;
	transition: color 0.2s ease;
}

.woocommerce a:hover {
	color: #666666;
}

.woocommerce h2,
.woocommerce h3,
.woocommerce h4 {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	color: #111111;
}

/* ========================================
   Product Loop / Archive
   ======================================== */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	padding: 0;
	margin: 40px 0;
}

.woocommerce ul.products li.product {
	margin: 0;
	padding: 0;
	width: 100%;
	float: none;
	list-style: none;
}

.woocommerce ul.products li.product a img {
	margin: 0 0 15px 0;
	padding: 0;
	border: none;
	border-radius: 0;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product a:hover img {
	opacity: 0.9;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: "Rubik", sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #111111;
	padding: 0 0 5px;
	margin: 0;
	text-align: left;
	line-height: 1.4;
}

.woocommerce ul.products li.product .price {
	font-size: 15px;
	color: #444444;
	margin: 0 0 10px;
}

.woocommerce ul.products li.product .price del {
	color: #999999;
	margin-right: 8px;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: #111111;
	font-weight: 600;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: #111111;
	color: #ffffff;
	border: none;
	padding: 10px 24px;
	border-radius: 0;
	transition: background 0.2s ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .added_to_cart:hover {
	background: #333333;
}

/* Product count & ordering */
.woocommerce .woocommerce-result-count {
	font-size: 14px;
	color: #666666;
	margin: 0 0 20px;
}

.woocommerce .woocommerce-ordering {
	margin: 0 0 20px;
}

.woocommerce .woocommerce-ordering select {
	font-family: "Rubik", sans-serif;
	font-size: 14px;
	padding: 8px 12px;
	border: 1px solid #dddddd;
	border-radius: 0;
	background: #ffffff;
}

/* ========================================
   Single Product
   ======================================== */

.woocommerce div.product {
	margin-bottom: 60px;
}

.woocommerce div.product div.images {
	margin-bottom: 30px;
}

.woocommerce div.product div.images img {
	border: none;
	border-radius: 0;
	width: 100%;
	height: auto;
}

.woocommerce div.product div.summary {
	margin-bottom: 40px;
}

.woocommerce div.product .product_title {
	font-family: "Poppins", sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #111111;
	margin: 0 0 10px;
}

.woocommerce div.product p.price {
	font-size: 20px;
	color: #111111;
	margin: 0 0 20px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	font-size: 15px;
	line-height: 1.7;
	color: #444444;
	margin: 0 0 25px;
}

/* Add to cart form */
.woocommerce div.product form.cart {
	margin: 0 0 30px;
}

.woocommerce div.product form.cart .quantity {
	margin-right: 15px;
}

.woocommerce div.product form.cart .qty {
	font-family: "Rubik", sans-serif;
	font-size: 14px;
	width: 60px;
	height: 45px;
	text-align: center;
	border: 1px solid #dddddd;
	border-radius: 0;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 14px 40px;
	background: #111111;
	color: #ffffff;
	border: none;
	border-radius: 0;
	transition: background 0.2s ease;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background: #333333;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 30px;
	border: none;
	background: transparent;
	display: flex;
	gap: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: none;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: "Rubik", sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #999999;
	padding: 12px 24px;
	border: none;
	border-bottom: 2px solid transparent;
	transition: all 0.2s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #111111;
	border-bottom-color: #111111;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: 30px 0;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

/* ========================================
   Cart
   ======================================== */

.woocommerce-cart main.site-main {
	display: flex;
	flex-direction: column;
}

.woocommerce-cart main .entry-content {
	flex: 1 0 auto;
	max-width: none;
	width: 100%;
}

.woocommerce-cart main .wp-block-post-title {
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
	max-width: 1480px;
	width: calc(100% - 240px);
}

.woocommerce-cart main .entry-content > .woocommerce {
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
	max-width: 1480px;
	min-height: calc(100vh - 450px);
	width: calc(100% - 240px);
}

.woocommerce-cart main .entry-content > .woocommerce:has(.fanstorevivo-cart-page) {
	max-width: 100%;
	min-height: 0;
	width: 100%;
}

.woocommerce-cart main .fanstorevivo-cart-page {
	max-width: 100%;
	width: 100%;
}

.woocommerce-cart .cart-collaterals {
	margin-top: 40px;
}

.woocommerce-cart .wc-empty-cart-message {
	align-items: center;
	/* display: flex; */
	font-size: 1.5rem;
	line-height: 1.4;
	min-height: 4.25rem;
}

.woocommerce-cart .return-to-shop > a {
	font-size: 1.3rem !important;
}

.fanstorevivo-cart-page > .page-width {
	width: calc(100% - 240px) !important;
	max-width: 1480px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	transform: none !important;
}

.fanstorevivo-cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 56px;
	align-items: start;
	width: 100%;
}

.fanstorevivo-cart-layout__main {
	min-width: 0;
}

.fanstorevivo-cart-layout__sidebar {
	display: flex;
	flex-direction: column;
	gap: 22px;
	position: sticky;
	top: 24px;
	align-self: start;
}

.fanstorevivo-cart-page.is-updating {
	opacity: 0.72;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

@media (max-width: 1200px) {
	.woocommerce-cart main .wp-block-post-title {
		width: calc(100% - 96px);
	}

	.woocommerce-cart main .entry-content > .woocommerce {
		width: calc(100% - 96px);
	}

	.fanstorevivo-cart-page > .page-width {
		width: calc(100% - 96px) !important;
	}

	.fanstorevivo-cart-layout {
		grid-template-columns: minmax(0, 1fr) 380px !important;
		gap: 36px !important;
	}

	.fanstorevivo-cart-layout__sidebar {
		max-width: 380px !important;
		width: 380px !important;
	}
}

@media (max-width: 991px) {
	.woocommerce-cart main .wp-block-post-title {
		width: calc(100% - 72px);
	}

	.woocommerce-cart main .entry-content > .woocommerce {
		width: calc(100% - 72px);
	}

	.fanstorevivo-cart-page > .page-width {
		width: calc(100% - 72px) !important;
	}

	.fanstorevivo-cart-layout {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 36px !important;
	}

	.fanstorevivo-cart-layout__main {
		width: 100% !important;
	}

	.fanstorevivo-cart-layout__sidebar {
		max-width: none !important;
		width: auto !important;
		margin-top: 40px;
		position: static;
	}
}

@media (max-width: 767px) {
	.woocommerce-cart main .wp-block-post-title {
		width: calc(100vw - 36px);
	}

	.woocommerce-cart main .entry-content > .woocommerce {
		min-height: calc(100vh - 390px);
		width: calc(100vw - 36px);
	}

	.woocommerce-cart .wc-empty-cart-message {
		font-size: 1.25rem;
	}

	.fanstorevivo-cart-page > .page-width {
		width: calc(100vw - 36px) !important;
		padding: 40px 0 64px !important;
	}

	.fanstorevivo-cart-layout__sidebar {
		margin-right: 0 !important;
		margin-left: 0 !important;
		max-width: none !important;
		width: 100% !important;
	}

	.fanstorevivo-cart-summary {
		box-sizing: border-box !important;
		padding: 28px 18px !important;
		width: 100% !important;
	}

	.fanstorevivo-cart-page__title {
		font-size: 40px !important;
		margin-bottom: 30px !important;
	}

	.fanstorevivo-cart-coupon .woocommerce-form-coupon {
		display: block !important;
	}

	.fanstorevivo-cart-coupon .woocommerce-form-coupon .input-text,
	.fanstorevivo-cart-coupon .woocommerce-form-coupon .button {
		box-sizing: border-box !important;
		width: 100% !important;
	}

	.fanstorevivo-cart-coupon .woocommerce-form-coupon .button {
		margin-top: 10px;
	}
}

.fanstorevivo-cart-page__title {
	font-family: "Poppins", sans-serif;
	font-size: 56px;
	line-height: 1;
	font-weight: 700;
	color: #111111;
	margin: 0 0 34px;
	text-align: left;
	letter-spacing: -0.03em;
}

.fanstorevivo-cart-intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 0 0 20px;
	margin-bottom: 18px;
	border-bottom: 1px solid #ececec;
}

.fanstorevivo-cart-intro__eyebrow {
	font-family: "Rubik", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #111111;
	margin-bottom: 6px;
}

.fanstorevivo-cart-intro__text {
	font-family: "Rubik", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #666666;
	margin: 0;
}

.fanstorevivo-cart-intro__cta {
	flex: 0 0 auto;
}

.fanstorevivo-cart-intro__cta > * {
	margin: 0;
}

.fanstorevivo-cart-items {
	width: 100%;
}

.fanstorevivo-cart-items__row {
	align-items: start;
	border-bottom: 1px solid #dcdcdc;
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr) max-content;
	grid-template-areas:
		"thumb name price"
		"thumb quantity remove";
	gap: 0 1.75rem;
	/* min-height: 11.25rem; */
	padding: 1.75rem 0;
}

.fanstorevivo-cart-items .product-remove {
	/* align-self: end; */
	grid-area: remove;
	/* text-align: right; */
}

.fanstorevivo-cart-items .product-remove .remove {
	align-items: center;
	color: #111111;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 0.5rem;
	letter-spacing: 0;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	border: 1px solid #ff4343;
	border-radius: 0px;
	width: auto;
	padding: 10px 15px;
}

.fanstorevivo-cart-items .product-thumbnail {
	grid-area: thumb;
}

.fanstorevivo-cart-items .product-thumbnail img {
	width: 8rem;
	height: 8rem;
	object-fit: cover;
	background: #f6f6f6;
}

.fanstorevivo-cart-items .product-name {
	grid-area: name;
	min-width: 0;
}

.fanstorevivo-cart-items .product-name a {
	display: block;
	color: #111111;
	font-size: clamp(1.125rem, 1rem + 0.35vw, 1.45rem);
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
	text-transform: uppercase;
}

.fanstorevivo-cart-item-attributes {
	color: #666666;
	font-size: clamp(0.8rem, 0.76rem + 0.12vw, 0.92rem);
	font-weight: 400;
	line-height: 1.35;
	margin-top: 0.5rem;
	text-transform: uppercase;
}

/* .fanstorevivo-cart-item-attributes span {
	color: #aaaaaa;
	margin: 0 0.35rem;
} */

.fanstorevivo-cart-items .product-price {
	font-size: clamp(1.05rem, 0.95rem + 0.28vw, 1.35rem);
	grid-area: price;
	line-height: 1.2;
	text-align: right;
	white-space: nowrap;
}

.fanstorevivo-cart-items .product-quantity {
	grid-area: quantity;
	/* margin-top: 2.5rem; */
}

.fanstorevivo-cart-qty {
	align-items: center;
	display: inline-flex;
	gap: 0.75rem;
}

.fanstorevivo-cart-qty .qty-btn {
	align-items: center;
	background: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.15rem;
	height: 2rem;
	justify-content: center;
	line-height: 1;
	width: 2rem;
}

.fanstorevivo-cart-qty .qty {
	appearance: textfield;
	border: 0;
	font-family: "Rubik", sans-serif;
	font-size: 1.25rem;
	height: 2rem;
	padding: 0;
	text-align: center;
	width: 1.6rem;
}

.fanstorevivo-cart-qty .qty::-webkit-outer-spin-button,
.fanstorevivo-cart-qty .qty::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.fanstorevivo-cart-qty__divider {
	color: #111111;
	font-size: 1rem;
	font-weight: 700;
}

@media (max-width: 1200px) and (min-width: 992px) {
	.fanstorevivo-cart-items__row {
		grid-template-columns: 6rem minmax(0, 1fr) max-content;
		gap: 0 1.25rem;
	}

	.fanstorevivo-cart-items .product-thumbnail img {
		width: 6rem;
		height: 6rem;
	}
}

@media (max-width: 767px) {
	.fanstorevivo-cart-items__row {
		grid-template-columns: 5.5rem minmax(0, 1fr);
		grid-template-areas:
			"thumb name"
			"thumb price"
			"actions actions";
		gap: 0.75rem 1rem;
		min-height: 0;
		padding: 1.25rem 0;
	}

	.fanstorevivo-cart-items .product-thumbnail img {
		width: 5.5rem;
		height: 5.5rem;
	}

	.fanstorevivo-cart-items .product-price,
	.fanstorevivo-cart-items .product-remove {
		text-align: left;
	}

	.fanstorevivo-cart-items .product-price {
		margin-top: 0.15rem;
	}

	.fanstorevivo-cart-items .product-quantity {
		grid-area: actions;
		margin-top: 0.75rem;
	}

	.fanstorevivo-cart-items .product-remove {
		align-self: center;
		grid-area: actions;
		justify-self: end;
		margin-top: 0.75rem;
		text-align: right;
	}
}

.woocommerce table.cart {
	border: none;
	width: 100%;
}

.woocommerce table.cart th {
	font-family: "Rubik", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #999999;
	border-bottom: 1px solid #eeeeee;
	padding: 12px 10px;
}

.woocommerce table.cart td {
	border-bottom: 1px solid #eeeeee;
	padding: 20px 10px;
	vertical-align: middle;
}

.woocommerce table.cart tbody tr:last-child td {
	border-bottom: 1px solid #dcdcdc;
}

.woocommerce table.cart img {
	width: 64px;
	height: auto;
	border: none;
}

.fanstorevivo-cart-actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 28px;
}

.fanstorevivo-cart-actions .button {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 12px 30px;
	background: #111111;
	color: #ffffff;
	border: none;
	cursor: pointer;
}

.fanstorevivo-cart-summary,
.fanstorevivo-cart-coupon {
	background: #f7f7f7;
	padding: 28px;
	border: 1px solid #f0f0f0;
}

.fanstorevivo-cart-summary__header {
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid #e5e5e5;
}

.fanstorevivo-cart-summary__eyebrow {
	font-family: "Rubik", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #777777;
	margin-bottom: 6px;
}

.fanstorevivo-cart-summary h2,
.fanstorevivo-cart-coupon h2 {
	font-family: "Poppins", sans-serif;
	font-size: 22px;
	line-height: 1.05;
	font-weight: 700;
	color: #111111;
	margin: 0;
	letter-spacing: -0.02em;
}

.fanstorevivo-cart-summary__line {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	font-family: "Rubik", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #444444;
}

.fanstorevivo-cart-summary__line--total {
	padding-top: 16px;
	margin-top: 12px;
	border-top: 1px solid #e5e5e5;
	font-weight: 700;
	font-size: 16px;
	color: #111111;
}

.fanstorevivo-cart-summary__checkout {
	margin-top: 20px;
}

.fanstorevivo-cart-summary__checkout .checkout-button {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 14px 24px;
	background: #111111;
	color: #ffffff;
	border: none;
	text-decoration: none;
}

.fanstorevivo-cart-coupon h2 {
	margin-bottom: 12px;
}

.fanstorevivo-cart-coupon p {
	font-family: "Rubik", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #666666;
	margin: 0 0 14px;
}

.fanstorevivo-cart-coupon .woocommerce-form-coupon {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.fanstorevivo-cart-coupon .woocommerce-form-coupon .input-text {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 12px 14px;
	border: 1px solid #dcdcdc;
	background: #ffffff;
	font-family: "Rubik", sans-serif;
	font-size: 14px;
}

.fanstorevivo-cart-coupon .woocommerce-form-coupon .button {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 22px;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.fanstorevivo-cart-summary .woocommerce-message,
.fanstorevivo-cart-coupon .woocommerce-message {
	margin-bottom: 16px;
}

.woocommerce .cart_totals h2 {
	font-size: 20px;
	margin: 0 0 20px;
}

.woocommerce .cart_totals table {
	border: none;
}

.woocommerce .cart_totals td,
.woocommerce .cart_totals th {
	padding: 10px 0;
	border: none;
}

.woocommerce .cart_totals .order-total td {
	font-size: 18px;
	font-weight: 600;
}

/* Cart buttons */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 14px 40px;
	background: #111111;
	color: #ffffff;
	border: none;
	border-radius: 0;
	display: inline-block;
	transition: background 0.2s ease;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
	background: #333333;
	color: #ffffff;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.checkout-button,
.woocommerce #respond input#submit {
	font-family: "Rubik", sans-serif;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: #111111;
	color: #ffffff;
	border: none;
	border-radius: 0;
	padding: 12px 30px;
	transition: background 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: #333333;
	color: #ffffff;
}

/* ========================================
   Checkout
   ======================================== */

.woocommerce-checkout #payment {
	background: #f7f7f7;
	border: none;
	border-radius: 0;
	padding: 30px;
}

.woocommerce-checkout #payment div.payment_box {
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 0;
	font-size: 14px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	font-family: "Rubik", sans-serif;
	font-size: 15px;
	padding: 12px 16px;
	border: 1px solid #dddddd;
	border-radius: 0;
	background: #ffffff;
	transition: border-color 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	border-color: #111111;
	outline: none;
}

.woocommerce form .form-row label {
	font-family: "Rubik", sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #444444;
	margin-bottom: 6px;
}

/* Order review */
.woocommerce-checkout #order_review {
	padding: 30px;
	background: transparent;
}

/* ========================================
   Notices
   ======================================== */

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
	font-family: "Rubik", sans-serif;
	font-size: 14px;
	border-radius: 0;
	border: none;
	padding: 15px 20px;
	margin: 0 0 20px;
}

.woocommerce .woocommerce-info {
	background: #f0f0f0;
	color: #444444;
}

.woocommerce .woocommerce-error {
	background: #fff0f0;
	color: #cc0000;
}

/* ========================================
   Responsive
   ======================================== */

@media screen and (max-width: 1024px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
	.sp-gallery-col .wp-block-woocommerce-product-gallery,
	.sp-gallery-col .woocommerce-product-gallery,
	.sp-gallery-col .wc-block-product-gallery,
	.sp-gallery-col .wc-block-components-product-gallery {
		flex-direction: column !important;
	}
	.sp-gallery-col .woocommerce-product-gallery__wrapper,
	.sp-gallery-col .wc-block-product-gallery__image,
	.sp-gallery-col .wc-block-components-product-gallery__image,
	.sp-gallery-col .flex-viewport {
		width: 100% !important;
		order: 1 !important;
	}
	.sp-gallery-col .flex-control-thumbs,
	.sp-gallery-col .wc-block-product-gallery-thumbnails,
	.sp-gallery-col .wc-block-components-product-gallery-thumbnails,
	.sp-gallery-col .wc-block-components-product-gallery__thumbnails,
	.sp-gallery-col ul.wc-block-components-product-gallery-thumbnails {
		width: 100% !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		order: 2 !important;
	}
	.sp-gallery-col .flex-control-thumbs li,
	.sp-gallery-col .wc-block-product-gallery-thumbnails__thumbnail,
	.sp-gallery-col .wc-block-components-product-gallery-thumbnails__thumbnail {
		width: 60px !important;
		flex-shrink: 0 !important;
	}
}

@media screen and (max-width: 768px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.woocommerce ul.products li.product {
		margin: 0;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs {
		flex-direction: column;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		padding: 12px 0;
		border-bottom: 1px solid #eeeeee;
	}
}

@media screen and (max-width: 480px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 13px;
	}

	.woocommerce ul.products li.product .price {
		font-size: 13px;
	}
}

/* ========================================
   Block Template - Single Product (vivobarefoot.com clone)
   ======================================== */

/* Layout: 2-column grid */
.sp-product-layout {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: start;
}

/* Gallery Column */
.sp-gallery-col {
	position: sticky;
	top: 90px;
}

.wp-block-woocommerce-product-gallery {
	margin-bottom: 0;
}

/* Gallery Styling: Thumbnails on the right */
.sp-gallery-col .wp-block-woocommerce-product-gallery,
.sp-gallery-col .woocommerce-product-gallery,
.sp-gallery-col .wc-block-product-gallery,
.sp-gallery-col .wc-block-components-product-gallery {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 15px !important;
}
.sp-gallery-col .woocommerce-product-gallery__wrapper,
.sp-gallery-col .wc-block-product-gallery__image,
.sp-gallery-col .wc-block-components-product-gallery__image,
.sp-gallery-col .flex-viewport {
	flex: 1 !important;
	order: 1 !important;
	width: calc(100% - 95px) !important;
	margin: 0 !important;
	flex-shrink: 0 !important;
}
.sp-gallery-col .flex-control-thumbs,
.sp-gallery-col .wc-block-product-gallery-thumbnails,
.sp-gallery-col .wc-block-components-product-gallery-thumbnails,
.sp-gallery-col .wc-block-components-product-gallery__thumbnails,
.sp-gallery-col ul.wc-block-components-product-gallery-thumbnails {
	width: 80px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	order: 2 !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-shrink: 0 !important;
}
.sp-gallery-col .flex-control-thumbs li,
.sp-gallery-col .wc-block-product-gallery-thumbnails__thumbnail,
.sp-gallery-col .wc-block-components-product-gallery-thumbnails__thumbnail {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	display: block !important;
}
.sp-gallery-col figure {
	margin: 0;
}

.sp-gallery-col img {
	width: 50px;
	height: auto;
	object-fit: cover;
}

/* Info Column */
.sp-info-col {
	padding-top: 10px;
}

/* Product Title in block template */
h1.sp-product-title {
	font-family: 'Rubik', sans-serif !important;
	font-size: 36px !important;
	font-weight: 600 !important;
	color: #111 !important;
	margin: 0 0 10px !important;
	line-height: 1.2 !important;
}

/* Price in block template */
.sp-product-price,
.sp-product-price .wc-block-components-price {
	font-family: 'Rubik', sans-serif;
	margin-bottom: 8px;
}

.sp-product-price ins,
.sp-product-price ins span.amount,
.sp-product-price > .wc-block-components-product-price > span.amount {
	font-size: 28px !important;
	font-weight: 400 !important;
	color: #111 !important;
	text-decoration: none !important;
}

.sp-product-price del,
.sp-product-price del span.amount {
	color: #999 !important;
	font-weight: 400 !important;
	font-size: 18px !important;
	margin-right: 8px;
	text-decoration: line-through !important;
}



/* Shipping Note */
.sp-shipping-note {
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
	line-height: 1.5;
}

/* Trust Badges */
.sp-trust {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 25px;
	margin-top: 25px;
}

.sp-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #333;
}

.sp-trust-item svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Add to Cart Block */
.sp-add-to-cart-block {
	margin-top: 20px;
}

.sp-add-to-cart-block .single_add_to_cart_button,
.sp-add-to-cart-block .wp-block-button__link {
	width: 100%;
	padding: 16px;
	background: #111;
	color: #fff;
	border: none;
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	font-weight: 600;
	transition: background 0.2s;
}

.sp-add-to-cart-block .single_add_to_cart_button:hover,
.sp-add-to-cart-block .wp-block-button__link:hover {
	background: #333;
}

/* Quantity Selector in block template */
.sp-add-to-cart-block .quantity {
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: 15px;
}

.sp-add-to-cart-block .quantity input.qty {
	width: 60px;
	height: 45px;
	text-align: center;
	border: 1px solid #ddd;
	border-left: none;
	border-right: none;
	font-family: 'Rubik', sans-serif;
	font-size: 15px;
}

/* Variations (Variable Products) */
.variations {
	width: 100%;
	margin-bottom: 20px;
}

.variations td,
.variations th {
	padding: 8px 0;
	border: none;
}

.variations label {
	font-size: 13px;
	font-weight: 600;
	color: #111;
	margin-bottom: 8px;
	display: block;
}

.vp-sp-variation-label {
	font-size: 13px;
	font-weight: 600;
	color: #111;
	margin-bottom: 8px;
	display: block;
	text-transform: capitalize;
}

/* Color Swatch Grid */
.sp-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.sp-color-swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	min-width: 64px;
}

.sp-color-swatch .sp-swatch-img {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	overflow: hidden;
	border: 1px solid #ddd;
	background: #f5f5f5;
	transition: border-color 0.2s ease;
}

.sp-color-swatch .sp-swatch-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sp-color-swatch:hover .sp-swatch-img {
	border-color: #999;
}

.sp-color-swatch.active .sp-swatch-img {
	border-color: #111;
	border-width: 2px;
}

.sp-color-swatch.disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.sp-color-swatch .sp-swatch-label {
	font-size: 12px;
	color: #666;
	text-align: center;
	line-height: 1.2;
}

/* Size Grid */
.sp-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.sp-size-btn {
	padding: 8px 20px;
	border: 1px solid #ddd;
	background: #fff;
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 2px;
	min-width: 60px;
	text-align: center;
}

.sp-size-btn:hover {
	border-color: #999;
	color: #111;
}

.sp-size-btn.active {
	background: #111;
	color: #fff;
	border-color: #111;
}

.sp-size-btn.disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

/* Selected variant text */
.sp-selected-variant-text {
	font-size: 13px;
	color: #666;
	margin-top: 5px;
}

/* Variant stock info */
.sp-variant-stock-info {
	/* margin-bottom: -16px; */
	padding: 12px 0;
	display: none;
}
.sp-selected-product {
	font-size: 16px;
	margin-bottom: 0;
}
.sp-selected-product .sp-selected-label {
	font-size: 14px;
	font-weight: 400;
	color: #666;
}
.sp-selected-product .sp-selected-value {
	font-weight: 600;
	color: #111;
}
.sp-stock-qty {
	font-size: 14px;
	color: #666;
}
.sp-stock-qty.sp-stock-habis {
	color: #e44;
	font-weight: 500;
}
.sp-habis-label {
	font-size: 10px;
	color: #e44;
	font-weight: 600;
	text-transform: uppercase;
	display: block;
	margin-top: 2px;
}
.sp-size-btn .sp-habis-label {
	font-size: 10px;
	color: #e44;
	display: block;
	margin-top: 1px;
}

/* Size Guide Link */
.size-guide-link {
	display: inline-block;
	font-size: 13px;
	color: #666;
	text-decoration: underline;
	margin-top: 5px;
	cursor: pointer;
}

/* ===== Tabs in Block Template ===== */
.sp-single-product .wp-block-tabs {
	margin-top: 60px;
	border-top: 1px solid #eee;
}

.sp-single-product .wp-block-tabs .wp-block-tab {
	padding: 30px 0;
	font-size: 14px;
	line-height: 1.7;
	color: #333;
}

.sp-single-product .wp-block-tabs .tabs-list {
	display: flex;
	gap: 0;
	border-bottom: 1px solid #eee;
}

.sp-single-product .wp-block-tabs .tabs-list button {
	padding: 16px 24px;
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #999;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: all 0.2s;
}

.sp-single-product .wp-block-tabs .tabs-list button[aria-selected="true"],
.sp-single-product .wp-block-tabs .tabs-list button.active {
	color: #111;
	border-bottom-color: #111;
}

/* Product Description in tabs */
.wp-block-woocommerce-product-description {
	font-size: 17px;
	line-height: 1.7;
	color: #333;
}

/* Product Meta in tabs */
.wp-block-woocommerce-product-meta table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-woocommerce-product-meta td,
.wp-block-woocommerce-product-meta th {
	padding: 10px 15px;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.wp-block-woocommerce-product-meta th {
	font-weight: 600;
	white-space: nowrap;
}

/* ===== Related Products ===== */
.wp-block-woocommerce-product-related {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #eee;
}

.wp-block-woocommerce-product-related h2 {
	font-family: 'Rubik', sans-serif;
	font-size: 22px;
	font-weight: 600;
	color: #111;
	text-align: center;
	margin-bottom: 30px;
}

.wp-block-woocommerce-product-related .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 20px;
}

.wp-block-woocommerce-product-related .wc-block-grid__product {
	text-decoration: none;
}

.wp-block-woocommerce-product-related .wc-block-grid__product-image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: #f5f5f5;
	margin-bottom: 10px;
}

.wp-block-woocommerce-product-related .wc-block-grid__product-title {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	margin-bottom: 4px;
}

.wp-block-woocommerce-product-related .wc-block-grid__product-price {
	font-size: 14px;
	color: #666;
}

/* ===== Product Reviews ===== */
.single-product .sp-single-product .sp-product-reviews-heading {
	max-width: 1200px;
	margin: 50px auto 0;
	font-family: 'Rubik', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
}

.single-product .sp-single-product .wp-block-woocommerce-product-reviews,
.single-product .sp-single-product .woocommerce-Reviews {
	max-width: 1200px;
	margin: 18px auto 0;
	padding: 0px 0 0;
	/* border-top: 1px solid #e8e8e8; */
}

.single-product .sp-single-product .wp-block-woocommerce-product-reviews h2,
.single-product .sp-single-product .woocommerce-Reviews-title,
.single-product .sp-single-product #reply-title {
	font-family: 'Rubik', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
	margin: 0 0 18px;
	text-align: left;
}

.single-product .sp-single-product .commentlist {
	display: grid;
	gap: 18px;
	margin: 0 0 44px;
	padding: 0;
	list-style: none;
}

.single-product .sp-single-product .commentlist > .review,
.single-product .sp-single-product .commentlist > .comment {
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product .sp-single-product .commentlist .comment_container {
	position: relative;
	display: flex;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 0 12px;
	align-items: start;
	margin: 0;
	padding: 20px 24px 20px 20px;
	background: #ffffff;
	border: 1px solid #e6e1dc;
	border-radius: 6px;
	box-shadow: 0 14px 34px rgba(17, 17, 17, 0.05);
}

.single-product .sp-single-product .commentlist .children {
	display: grid;
	gap: 14px;
	margin: 16px 0 0 50px;
	padding: 0 0 0 16px;
	border-left: 1px solid #e6e1dc;
	list-style: none;
}

.single-product .sp-single-product .commentlist .children .comment {
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product .sp-single-product .commentlist .children .comment_container {
	background: #f7f5f2;
	box-shadow: none;
}

.single-product .sp-single-product .commentlist .children .comment-text .meta {
	margin-right: 0;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar,
.single-product .sp-single-product .commentlist .avatar {
	position: relative;

	grid-column: 1;
	width: 42px;
	height: 42px;
	margin: 0;
	border: 1px solid #e6e1dc;
	border-radius: 50%;
	background: #f5f3f0;
	object-fit: cover;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text,
.single-product .sp-single-product .commentlist .comment-text {
	grid-column: 2;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.single-product .sp-single-product .commentlist .comment-text .meta,
.single-product .sp-single-product .commentlist .comment-author,
.single-product .sp-single-product .commentlist .comment-metadata {
	margin: 0 120px 10px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}

.single-product .sp-single-product .commentlist .woocommerce-review__author,
.single-product .sp-single-product .commentlist .comment-author {
	font-weight: 700;
	color: #111;
}

.single-product .sp-single-product .commentlist .star-rating {
	position: absolute;
	top: 24px;
	right: 34px;
	float: none;
	margin: 0;
	color: #111;
	letter-spacing: 1px;
}

.single-product .sp-single-product .commentlist .description,
.single-product .sp-single-product .commentlist .comment-content {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
}

.single-product .sp-single-product .commentlist .description p,
.single-product .sp-single-product .commentlist .comment-content p {
	margin: 0;
}

.single-product .sp-single-product #review_form_wrapper {
	padding: 0;
}

.single-product .sp-single-product #review_form {
	padding: 28px;
	background: #f7f5f2;
	border: 1px solid #e6e1dc;
	border-radius: 6px;
}

.single-product .sp-single-product #review_form #reply-title {
	display: block;
	margin-bottom: 10px;
}

.single-product .sp-single-product #review_form .comment-notes,
.single-product .sp-single-product #review_form .comment-form-cookies-consent {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}

.single-product .sp-single-product #review_form .comment-form-rating,
.single-product .sp-single-product #review_form .comment-form-comment,
.single-product .sp-single-product #review_form .comment-form-author,
.single-product .sp-single-product #review_form .comment-form-email {
	margin: 0 0 18px;
}

.single-product .sp-single-product #review_form label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #222;
}

.single-product .sp-single-product #review_form textarea,
.single-product .sp-single-product #review_form input[type="text"],
.single-product .sp-single-product #review_form input[type="email"] {
	width: 100%;
	min-height: 46px;
	box-sizing: border-box;
	padding: 12px 14px;
	font: inherit;
	color: #111;
	background: #ffffff;
	border: 1px solid #d8d3ce;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-product .sp-single-product #review_form textarea {
	min-height: 132px;
	resize: vertical;
}

.single-product .sp-single-product #review_form textarea:focus,
.single-product .sp-single-product #review_form input[type="text"]:focus,
.single-product .sp-single-product #review_form input[type="email"]:focus {
	border-color: #111;
	box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
}

.single-product .sp-single-product #review_form .comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 2px 0 20px;
}

.single-product .sp-single-product #review_form .comment-form-cookies-consent input {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	flex: 0 0 auto;
}

.single-product .sp-single-product #review_form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.single-product .sp-single-product #review_form .stars {
	margin: 4px 0 0;
	font-size: 24px;
	line-height: 1;
}

.single-product .sp-single-product #review_form .stars a {
	color: #111;
}

.single-product .sp-single-product #review_form .form-submit {
	margin: 0;
}

.single-product .sp-single-product #review_form .submit {
	min-width: 128px;
	min-height: 46px;
	padding: 13px 24px;
	font-family: 'Rubik', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
	background: #111111;
	border: 1px solid #111111;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.single-product .sp-single-product #review_form .submit:hover {
	color: #111111;
	background: #ffffff;
}

/* ===== Custom Product Gallery (thumb left, main right) ===== */
.sp-custom-gallery {
	display: flex;
	gap: 15px;
	align-items: flex-start;
}

.sp-thumb-strip {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-shrink: 0;
	width: 80px;
	max-height: 392px; /* 5 thumbs x 72px + 4 gaps x 8px */
	overflow-y: auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
}
.sp-thumb-strip::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

.sp-thumb {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color 0.2s;
	background: #f5f5f5;
}

.sp-thumb:hover {
	border-color: #999;
}

.sp-thumb.active {
	border-color: #111;
}

.sp-main-image-wrapper {
	flex: 1;
	aspect-ratio: 1;
	overflow: hidden;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: zoom-in;
}

.sp-main-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sp-main-image-clone {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #f5f5f5;
	pointer-events: none;
}

/* ===== Lightbox ===== */
.sp-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.sp-lightbox img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
}

.sp-lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 40px;
	color: #fff;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
	z-index: 1;
}

.sp-lightbox-close:hover {
	color: #ccc;
}


@media (max-width: 768px) {
	.sp-custom-gallery {
		flex-direction: row-reverse;
		gap: 8px;
	}

	.sp-thumb-strip {
		flex-direction: column;
		width: 55px;
		max-height: 320px;
		overflow-y: auto;
	}

	.sp-thumb {
		width: 50px;
		height: 50px;
		flex-shrink: 0;
	}
}

/* ===== Spacing Fixes ===== */
.sp-single-product {
	margin-top: 20px !important;
	padding-top: 0 !important;
}

/* ===== Separator ===== */
.sp-single-product .wp-block-separator.is-style-wide {
	border-top-color: #eee;
	margin: 0;
}

/* ===== Breadcrumb in Block Template ===== */
.sp-breadcrumb {
	font-size: 13px;
	color: #888;
	margin-bottom: 30px;
}

.sp-breadcrumb a {
	color: #888;
	text-decoration: none;
}

.sp-breadcrumb a:hover {
	color: #111;
}

/* ===== Responsive - Block Template ===== */
@media (max-width: 768px) {
	.single-product main#wp--skip-link--target,
	.single-product .site-main,
	.sp-single-product,
	.sp-product-layout,
	.sp-breadcrumb,
	.sp-single-product > .wp-block-separator,
	.sp-single-product > .wp-block-tabs {
		padding-left: 10px !important;
		padding-right: 10px !important;
		box-sizing: border-box !important;
		width: 100% !important;
	}

	.sp-product-layout {
		grid-template-columns: 1fr !important;
		gap: 30px;
	}

	.sp-gallery-col {
		position: static;
	}

	.sp-product-title h1 {
		font-size: 24px !important;
	}

	.sp-product-price .wc-block-components-price {
		font-size: 20px;
	}

	.wp-block-woocommerce-product-related .wc-block-grid__products {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.single-product .sp-single-product .wp-block-woocommerce-product-reviews,
	.single-product .sp-single-product .woocommerce-Reviews {
		margin-top: 30px;
		/* padding-top: 34px; */
	}

	.single-product .sp-single-product .wp-block-woocommerce-product-reviews h2,
	.single-product .sp-single-product .woocommerce-Reviews-title,
	.single-product .sp-single-product #reply-title {
		font-size: 21px;
	}

	.single-product .sp-single-product .commentlist .comment_container {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 0 10px;
		padding: 16px;
		flex-direction: column;
	}

	.single-product .sp-single-product .commentlist .children {
		margin-left: 16px;
		padding-left: 12px;
	}

	.single-product .sp-single-product .commentlist .avatar {
		width: 36px;
		height: 36px;
	}

	.single-product .sp-single-product .commentlist .comment-text .meta,
	.single-product .sp-single-product .commentlist .comment-author,
	.single-product .sp-single-product .commentlist .comment-metadata {
		margin-right: 0;
		padding-right: 0;
	}

	.single-product .sp-single-product .commentlist .star-rating {
		position: absolute;
		margin: 0px;
		left: 75px;
		width: 5.5em;
		top: 32px;
	}

	.single-product .sp-single-product #review_form {
		padding: 20px;
	}
}

/* ========================================
   WooCommerce Pagination
   ======================================== */
.woocommerce nav.woocommerce-pagination {
	margin-top: 60px !important;
	margin-bottom: 60px !important;
	text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
	border: none;
	margin: 0;
	padding: 0;
	max-width: 100%;
	overflow-x: auto;
}
.woocommerce nav.woocommerce-pagination ul::-webkit-scrollbar {
	display: none;
}
.woocommerce nav.woocommerce-pagination ul li {
	border: none;
	float: none;
	margin: 0;
	padding: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #666666;
	font-family: 'Rubik', sans-serif;
	font-weight: 500;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.3s ease;
	padding: 4px 10px;
	border-radius: 4px;
	min-width: 24px;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
	color: #111111;
	background: #f9f9f9;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	color: #111111;
	background: #e0e0e0;
	font-weight: 600;
}
/* Previous and Next Buttons */
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev {
	min-width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #111111;
	color: #ffffff !important;
	font-size: 0;
	padding: 0;
}
.woocommerce nav.woocommerce-pagination ul li a.next:hover,
.woocommerce nav.woocommerce-pagination ul li a.prev:hover {
	background: #333333;
}
.woocommerce nav.woocommerce-pagination ul li a.prev::before {
	content: "←";
	font-size: 16px;
}
.woocommerce nav.woocommerce-pagination ul li a.next::before {
	content: "→";
	font-size: 16px;
}
.woocommerce nav.woocommerce-pagination ul li a.prev svg,
.woocommerce nav.woocommerce-pagination ul li a.next svg {
	display: none;
}

@media screen and (max-width: 480px) {
	.woocommerce nav.woocommerce-pagination ul {
		gap: 4px;
	}
	.woocommerce nav.woocommerce-pagination ul li a,
	.woocommerce nav.woocommerce-pagination ul li span.current {
		padding: 4px 6px;
		font-size: 14px;
		min-width: 20px;
	}
	.woocommerce nav.woocommerce-pagination ul li a.next,
	.woocommerce nav.woocommerce-pagination ul li a.prev {
		min-width: 36px;
		height: 36px;
	}
}

/* Hide default WC related products block completely */
.wp-block-woocommerce-product-related,
.wc-block-related-products,
section.related.products,
.wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/related"] {
	display: none !important;
}

/* Custom Related Products Grid */
.fanstorevivovivo-most-popular .most-popular__products {
	display: grid;
	grid-template-columns: repeat(var(--grid-columns, 4), 1fr);
	gap: 20px;
	margin-top: 20px;
}

@media screen and (max-width: 1024px) {
	.fanstorevivovivo-most-popular .most-popular__products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 768px) {
	.fanstorevivovivo-most-popular .most-popular__products {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}

@media screen and (max-width: 480px) {
	.fanstorevivovivo-most-popular .most-popular__products {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =========================================
   SIZE GUIDE MODAL
   ========================================= */

.sp-size-guide-btn {
	background: none;
	border: none;
	padding: 0;
	margin: 15px 0 0 0;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	color: #555;
	text-decoration: underline;
	cursor: pointer;
	transition: color 0.2s ease;
}
.sp-size-guide-btn:hover {
	color: #111;
}
.sp-size-guide-btn svg {
	width: 18px;
	height: 18px;
}

/* Modal Overlay */
.fanstorevivovivo-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
	padding: 20px;
	box-sizing: border-box;
}
.fanstorevivovivo-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* Modal Content Box */
.fanstorevivovivo-modal-content {
	background: #fff;
	width: 100%;
	max-width: 800px;
	max-height: 90vh;
	border-radius: 8px;
	position: relative;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
	transform: translateY(20px);
	transition: transform 0.3s ease;
	min-width: 0;
	box-sizing: border-box;
}
.fanstorevivovivo-modal-overlay.is-open .fanstorevivovivo-modal-content {
	transform: translateY(0);
}

/* Close Button */
.fanstorevivovivo-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 0;
	margin: 0;
	z-index: 10;
	transition: color 0.2s ease;
}
.fanstorevivovivo-modal-close:hover {
	color: #111;
}

/* Modal Header & Body */
.fanstorevivovivo-modal-header {
	padding: 24px 30px 10px;
	border-bottom: 1px solid #eee;
}
.fanstorevivovivo-modal-title {
	font-family: 'Rubik', sans-serif;
	font-size: 24px;
	font-weight: 600;
	margin: 0;
	color: #111;
}
.fanstorevivovivo-modal-body {
	padding: 20px 30px 30px;
	overflow-y: auto;
	overflow-x: auto;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	color: #444;
	line-height: 1.6;
}
.fanstorevivovivo-modal-body table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}
.fanstorevivovivo-modal-body table th,
.fanstorevivovivo-modal-body table td {
	padding: 12px 15px;
	border: 1px solid #eee;
	text-align: left;
}
.fanstorevivovivo-modal-body table th {
	background: #f7f7f7;
	font-weight: 600;
}
.fanstorevivovivo-modal-body img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 15px 0;
}

@media screen and (max-width: 768px) {
	.fanstorevivovivo-modal-overlay {
		padding: 10px;
	}
	.fanstorevivovivo-modal-content {
		max-width: calc(100vw - 20px);
	}
	.fanstorevivovivo-modal-header {
		padding: 15px 20px 10px;
	}
	.fanstorevivovivo-modal-title {
		font-size: 20px;
	}
	.fanstorevivovivo-modal-body {
		padding: 15px 20px 20px;
	}
	.fanstorevivovivo-modal-body table th,
	.fanstorevivovivo-modal-body table td {
		padding: 8px 10px;
		font-size: 13px;
	}
	.fanstorevivovivo-modal-close {
		top: 10px;
		right: 10px;
		font-size: 24px;
	}
}

/* =========================================
   SHOP FILTER DRAWER
   ========================================= */

.fanstorevivovivo-shop-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #111;
	color: #fff;
	border: none;
	padding: 10px 20px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	border-radius: 4px;
	transition: background 0.3s ease;
}
.fanstorevivovivo-shop-filter-btn:hover {
	background: #333;
}

.fanstorevivovivo-filter-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}
.fanstorevivovivo-filter-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.fanstorevivovivo-filter-drawer {
	position: fixed;
	top: 0;
	left: -400px; /* Slide from left */
	width: 100%;
	max-width: 350px;
	height: 100%;
	background: #fff;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 2px 0 20px rgba(0,0,0,0.1);
}
.fanstorevivovivo-filter-drawer.is-open {
	left: 0;
}

.fanstorevivovivo-filter-drawer-header {
	padding: 24px 30px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.fanstorevivovivo-filter-drawer-title {
	font-family: 'Poppins', sans-serif;
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	color: #111;
}
.fanstorevivovivo-filter-close {
	background: none;
	border: none;
	padding: 0;
	color: #999;
	cursor: pointer;
	transition: color 0.2s ease;
	display: flex;
}
.fanstorevivovivo-filter-close:hover {
	color: #111;
}

.fanstorevivovivo-filter-drawer-content {
	padding: 0 15px 30px;
	overflow-y: auto;
	flex: 1;
}

/* Accordion Widget Styles */
.fanstorevivovivo-filter-widget {
	border-bottom: 1px solid #eee;
	padding: 20px 0;
}
.fanstorevivovivo-filter-widget:last-child {
	border-bottom: none;
}
.fanstorevivovivo-filter-widget .widget-title {
	font-family: 'Rubik', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #111;
	margin: 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}
.fanstorevivovivo-accordion-icon {
	transition: transform 0.3s ease;
	color: #666;
	display: flex;
}
.fanstorevivovivo-filter-widget .widget-title.is-active .fanstorevivovivo-accordion-icon {
	transform: rotate(180deg);
}

/* Hide content when collapsed */
.fanstorevivovivo-filter-widget.is-collapsed > *:not(.widget-title) {
	display: none;
}

/* WooCommerce Standard Widget Tweaks inside Drawer */
.fanstorevivovivo-filter-widget > *:not(.widget-title) {
	padding-top: 15px;
}
.fanstorevivovivo-filter-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.fanstorevivovivo-filter-widget ul li {
	margin-bottom: 10px;
}
.fanstorevivovivo-filter-widget ul li:last-child {
	margin-bottom: 0;
}
.fanstorevivovivo-filter-widget ul li a {
	color: #555;
	text-decoration: none;
	transition: color 0.2s ease;
}
.fanstorevivovivo-filter-widget ul li a:hover {
	color: #111;
}
.fanstorevivovivo-filter-widget ul li .count {
	color: #999;
	font-size: 0.9em;
	margin-left: 5px;
}

/* Fix iOS click delegation for all interactive elements inside the custom drawer */
.fanstorevivovivo-filter-drawer-content button,
.fanstorevivovivo-filter-drawer-content a,
.fanstorevivovivo-filter-drawer-content input,
.fanstorevivovivo-filter-drawer-content label,
.fanstorevivovivo-filter-drawer-content *[role="checkbox"],
.fanstorevivovivo-filter-drawer-content .wc-block-product-filter-chips__item,
.fanstorevivovivo-filter-drawer-content .wc-block-product-filter-chips__item * {
	cursor: pointer !important;
	pointer-events: auto !important;
	touch-action: manipulation;
}

/* Drawer Footer */
.fanstorevivovivo-filter-drawer-footer {
	padding: 20px 30px;
	border-top: 1px solid #eee;
	display: flex;
	gap: 15px;
	background: #fff;
}
.fanstorevivovivo-btn-reset,
.fanstorevivovivo-btn-apply {
	flex: 1;
	padding: 12px;
	text-align: center;
	border: 1px solid #111;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s ease;
}
.fanstorevivovivo-btn-reset {
	background: #fff;
	color: #111;
}
.fanstorevivovivo-btn-reset:hover {
	background: #f5f5f5;
}
.fanstorevivovivo-btn-apply {
	background: #111;
	color: #fff;
}
.fanstorevivovivo-btn-apply:hover {
	background: #333;
}

/* Force WooCommerce native filter overlay to render inline inside our custom drawer */
.wc-block-product-filters__overlay {
	position: static !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	width: 100% !important;
	background: transparent !important;
	z-index: auto !important;
}
.wc-block-product-filters__overlay-wrapper,
.wc-block-product-filters__overlay-dialog {
	position: static !important;
	display: block !important;
	transform: none !important;
	width: 100% !important;
	height: auto !important;
	background: transparent !important;
	box-shadow: none !important;
}
.wc-block-product-filters__overlay-header,
.wc-block-product-filters__overlay-footer {
	display: none !important;
}
/* Hide the native toggle button since we use our own custom toolbar button */
.wc-block-product-filters__open-overlay {
	display: none !important;
}
