/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* TBT Shopee-style product page base */

.single-product .tbt-product-page {
	max-width: 520px;
	margin: 0 auto;
	background: #fff;
}

.single-product .tbt-product-gallery {
	width: 100%;
	overflow: hidden;
}

.single-product .tbt-product-gallery .woocommerce-product-gallery {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

.single-product .tbt-product-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.single-product .tbt-product-gallery img {
	display: block;
	width: 100%;
	height: auto;
}

.single-product .tbt-product-info,
.single-product .tbt-product-description {
	padding: 16px;
}

.single-product .tbt-product-title {
	margin: 8px 0 16px;
	font-size: 22px;
	line-height: 1.35;
}

.single-product .tbt-product-price {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 8px;
}

.single-product .tbt-product-buy select,
.single-product .tbt-product-buy .quantity,
.single-product .tbt-product-buy .single_add_to_cart_button {
	width: 100%;
}

.single-product .tbt-product-buy .single_add_to_cart_button {
	margin-top: 10px;
}

.single-product .tbt-product-description {
	border-top: 8px solid #f5f5f5;
}
/* =========================================
   TbT Shop Page - Mobile Product Grid
   ========================================= */

@media (max-width: 767px) {

	/* Remove giant Shop title / hero */
	body.post-type-archive-product .hero-section {
		display: none !important;
	}

	/* Main shop spacing */
	body.post-type-archive-product .site-main {
		padding-top: 18px !important;
	}

	/* 2-column grid */
	body.post-type-archive-product ul.products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;

		margin: 0 !important;
		padding: 0 14px 30px !important;
	}

	body.post-type-archive-product ul.products li.product {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;

		background: #fff;
		border: 0;
	}

	/* Product image */
	body.post-type-archive-product ul.products li.product img {
		width: 100% !important;
		aspect-ratio: 1 / 1;
		object-fit: cover;

		margin: 0 0 9px !important;

		border-radius: 8px;
	}

	/* Product title */
	body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
		margin: 0 0 5px !important;

		font-size: 14px !important;
		line-height: 1.35 !important;
		font-weight: 600 !important;
		color: #222 !important;
	}

	/* Price */
	body.post-type-archive-product ul.products li.product .price {
		display: block !important;

		margin: 0 0 7px !important;

		font-size: 16px !important;
		line-height: 1.2 !important;
		font-weight: 700 !important;
		color: #c62828 !important;
	}

	/* Rating */
	body.post-type-archive-product ul.products li.product .star-rating {
		margin: 0 0 8px !important;
		font-size: 12px !important;
	}

	/* Button */
	body.post-type-archive-product ul.products li.product .button {
		display: flex !important;
		align-items: center;
		justify-content: center;

		width: 100% !important;
		min-height: 38px;

		margin: 0 !important;
		padding: 8px 6px !important;

		background: #c62828 !important;
		color: #fff !important;

		border: 0 !important;
		border-radius: 6px !important;

		font-size: 13px !important;
		font-weight: 700 !important;
		text-align: center;
	}

	/* Remove category labels */
	body.post-type-archive-product ul.products li.product .product-categories,
	body.post-type-archive-product ul.products li.product .entry-meta {
		display: none !important;
	}

	/* Clean toolbar */
	body.post-type-archive-product .woocommerce-result-count {
		display: none !important;
	}

	/* Make sorting compact */
	body.post-type-archive-product .woocommerce-ordering {
		margin: 0 14px 16px !important;
	}

}
/* =========================================
   Disable Blocksy Header Mini Cart Sitewide
   ========================================= */

.ct-cart-content {
	display: none !important;
}