/**
 * ==========================================================
 * ShopCore Single Product Page CSS
 * File: assets/css/single-product.css
 * ==========================================================
 */

.shopcore-single-product-page {
	padding: 20px 0 60px;
	background: #ffffff;
}

.shopcore-single-product-page .sc-container {
	width: min(100% - 32px, var(--container-width));
}

/* ==========================================================
   Breadcrumb
========================================================== */

.shopcore-sp-breadcrumb {
	margin-bottom: 24px;
	font-size: 13px;
	color: #64748b;
}

.shopcore-breadcrumbs-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.shopcore-breadcrumbs-list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.shopcore-breadcrumbs-list a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.shopcore-breadcrumbs-list a:hover {
	color: var(--primary-color, #ff0000);
}

.shopcore-breadcrumb-sep {
	font-size: 10px;
	color: #94a3b8;
}

/* ==========================================================
   Top Section (Gallery + Summary)
========================================================== */

.shopcore-sp-top-section {
	margin-bottom: 45px;
}

.shopcore-sp-top-grid {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

/* ==========================================================
   Gallery
========================================================== */

.shopcore-sp-gallery {
	position: sticky;
	top: 20px;
	width: 100%;
}

.shopcore-sp-main-image-wrap {
	position: relative;
	width: 100%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
	overflow: hidden;
	margin-bottom: 16px;
}

.shopcore-sp-discount-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #ff1f1f;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 6px;
	z-index: 2;
}

.shopcore-sp-main-image-box {
	width: 100%;
	height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shopcore-sp-main-image-box img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.3s ease;
}

.shopcore-sp-main-image-box:hover img {
	transform: scale(1.04);
}

/* Thumbnails */
.shopcore-sp-thumbnails-wrap {
	width: 100%;
	overflow-x: auto;
}

.shopcore-sp-thumbnails {
	display: flex;
	gap: 12px;
	padding: 2px;
}

.shopcore-sp-thumb-item {
	flex: 0 0 74px;
	height: 74px;
	padding: 6px;
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shopcore-sp-thumb-item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.shopcore-sp-thumb-item:hover {
	border-color: #cbd5e1;
}

.shopcore-sp-thumb-item.active {
	border-color: #ff0000;
	box-shadow: 0 0 0 1px #ff0000;
}

/* ==========================================================
   Summary & Purchase Box
========================================================== */

.shopcore-sp-summary {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Header, Price & Product Meta */
.shopcore-sp-header {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.shopcore-sp-meta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.shopcore-sp-badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 8px;
}

.shopcore-sp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	min-height: 34px;
	padding: 6px 12px;
	border-radius: 6px;
}

.shopcore-stock-badge.in-stock {
	background: #e8edf3;
	color: #16a34a;
}

.shopcore-stock-badge.out-of-stock {
	background: #e8edf3;
	color: #dc2626;
}

/* ==========================================================
   Single Product Social Proof & Urgency Badges
========================================================== */
.shopcore-sp-social-proof-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 16px 0;
	width: 100%;
}

.shopcore-sp-proof-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 50px;
	font-size: 13.5px;
	font-weight: 500;
	color: #1e293b;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	line-height: 1.35;
	user-select: none;
}

.shopcore-sp-proof-badge:hover {
	border-color: #cbd5e1;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.shopcore-sp-proof-badge strong {
	font-weight: 700;
	color: #0f172a;
}

.shopcore-sp-sold-badge {
	border-color: #e2e8f0;
	background: #ffffff;
}

.shopcore-sp-sold-badge .proof-icon-flame {
	font-size: 16px;
	line-height: 1;
	display: inline-block;
	filter: drop-shadow(0 1px 2px rgba(239, 29, 37, 0.15));
}

.shopcore-sp-watching-badge {
	border-color: #e2e8f0;
	background: #ffffff;
}

.shopcore-sp-watching-badge .proof-icon-eye {
	color: #059669;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Pulsing live green dot */
.proof-live-pulse {
	width: 8px;
	height: 8px;
	background: #10b981;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	animation: scPulseGreen 2s infinite cubic-bezier(0.66, 0, 0, 1);
	flex-shrink: 0;
}

@keyframes scPulseGreen {
	0% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}

@media (max-width: 576px) {
	.shopcore-sp-social-proof-wrap {
		gap: 8px;
		margin: 10px 0 14px 0;
	}

	.shopcore-sp-proof-badge {
		padding: 5px 12px;
		font-size: 12px;
	}
}

.shopcore-sp-category-meta {
	font-size: 13px;
	color: #64748b;
}

.shopcore-sp-category-meta a {
	color: #475569;
	text-decoration: none;
}

.shopcore-sp-category-meta a:hover {
	color: #ff0000;
}

.shopcore-sp-title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: #0f172a;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

/* Price Box */
.shopcore-sp-price-box {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	min-width: 0;
}

.shopcore-sp-price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 26px;
	font-weight: 700;
	color: #000000;
	min-width: 0;
}

.shopcore-sp-price del,
.shopcore-sp-regular-price {
	font-size: 16px;
	font-weight: 400;
	color: #94a3b8;
	text-decoration: line-through;
}

.shopcore-sp-price ins,
.shopcore-sp-sale-price,
.shopcore-sp-current-price {
	font-size: 28px;
	font-weight: 700;
	text-decoration: none;
}

.shopcore-sp-save-badge {
	display: inline-block;
	padding: 4px 10px;
	background: #dcfce7;
	color: #15803d;
	font-size: 12px;
	font-weight: 700;
	border-radius: 20px;
}

.shopcore-sp-meta-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 34px;
	padding: 6px 12px;
	background: #e8edf3;
	border-radius: 6px;
	font-size: 13px;
	color: #111827;
}

.shopcore-sp-brand-badge span {
	color: #ef1d25;
	font-weight: 700;
}

/* Core Features / Quick Overview Box */
.shopcore-sp-core-features {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
}

.shopcore-sp-section-heading {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.shopcore-sp-section-heading i {
	color: #f59e0b;
}

.shopcore-sp-features-content {
	font-size: 14px;
	line-height: 1.6;
	color: #334155;
}

.shopcore-sp-features-content ul {
	margin: 0;
	padding-left: 20px;
	list-style: disc;
}

.shopcore-sp-features-content li {
	margin-bottom: 6px;
}

.shopcore-sp-features-content p {
	margin-bottom: 8px;
}

.shopcore-sp-features-content p:last-child {
	margin-bottom: 0;
}

.shopcore-sp-features-content img,
.shopcore-sp-features-content iframe,
.shopcore-sp-features-content video {
	max-width: 100%;
	height: auto;
}

/* ==========================================================
   Variations & Purchase Form
========================================================== */

.shopcore-sp-purchase-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.shopcore-variations-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 10px;
}

.shopcore-attribute-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: relative;
}

.shopcore-native-select-wrap {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.shopcore-attribute-label {
	font-size: 14px;
	color: #1e293b;
}

.shopcore-attribute-label strong {
	font-weight: 600;
}

.shopcore-selected-attribute-val {
	color: #ff0000;
	font-weight: 600;
	margin-left: 4px;
}

/* Pill Swatches */
.shopcore-swatches-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.shopcore-pill-btn {
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.shopcore-pill-btn:hover {
	border-color: #ff0000;
	color: #ff0000;
}

.shopcore-pill-btn.active {
	background: #fff5f5;
	border-color: #ff0000;
	color: #ff0000;
	box-shadow: 0 0 0 1px #ff0000;
}

.shopcore-pill-btn.disabled {
	opacity: 0.4;
	cursor: not-allowed;
	text-decoration: line-through;
	border-color: #e2e8f0;
	color: #94a3b8;
}

/* Single variation wrap — WooCommerce Dynamic variation info */
.woocommerce-variation-price {
	display: block;
	margin: 0 0 14px;
}

.woocommerce-variation-price .price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	line-height: 1.2;
}

.woocommerce-variation-price del,
.woocommerce-variation-price del .amount {
	font-size: 16px;
	font-weight: 400;
	color: #94a3b8;
	text-decoration: line-through;
}

.woocommerce-variation-price ins,
.woocommerce-variation-price ins .amount,
.woocommerce-variation-price > .amount {
	font-size: 28px;
	font-weight: 700;
	color: #000000;
	text-decoration: none;
}

.woocommerce-variation-availability {
	font-size: 13px;
	margin-bottom: 10px;
}

/* Action Buttons & Quantity */
.shopcore-action-buttons-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

/* Quantity Box */
.shopcore-quantity-box {
	display: flex;
	align-items: center;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	overflow: hidden;
	height: 46px;
	background: #ffffff;
}

.shopcore-qty-btn {
	width: 40px;
	height: 100%;
	border: none;
	background: #f8fafc;
	color: #1e293b;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shopcore-qty-btn:hover {
	background: #e2e8f0;
}

.shopcore-quantity-box input.qty {
	width: 48px;
	height: 100%;
	border: none;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: #0f172a;
	padding: 0;
	appearance: textfield;
	-moz-appearance: textfield;
}

.shopcore-quantity-box input.qty::-webkit-outer-spin-button,
.shopcore-quantity-box input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Buttons Row */
.shopcore-buttons-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 280px;
}

.shopcore-btn-cart {
	flex: 1;
	height: 46px !important;
	min-height: 46px !important;
	background: #0f172a !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	border-radius: 8px !important;
	border: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	line-height: 1.2 !important;
	cursor: pointer;
	transition: background 0.25s ease !important;
	padding: 0 20px !important;
}

.shopcore-btn-cart:hover {
	background: #1e293b !important;
}

.shopcore-btn-cart.disabled,
.shopcore-btn-buy-now:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.shopcore-btn-buy-now {
	flex: 1;
	height: 46px !important;
	min-height: 46px !important;
	background: #ff0000;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	border-radius: 8px;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.25s ease;
	padding: 0 20px;
}

.shopcore-btn-buy-now:hover {
	background: #d90000;
}

/* WhatsApp Button */
.shopcore-whatsapp-wrap {
	width: 100%;
}

.shopcore-btn-whatsapp {
	width: 100%;
	height: 44px !important;
	min-height: 44px !important;
	background: #25D366;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.25s ease;
}

.shopcore-btn-whatsapp:hover {
	background: #20bd5a;
	color: #ffffff;
}

.shopcore-btn-whatsapp i {
	font-size: 20px;
}

/* Store Trust Perks */
.shopcore-sp-perks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	padding: 16px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	margin-top: 10px;
}

.shopcore-sp-perk-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.shopcore-sp-perk-item i {
	font-size: 22px;
	color: #ff0000;
}

.shopcore-sp-perk-item div {
	display: flex;
	flex-direction: column;
}

.shopcore-sp-perk-item strong {
	font-size: 12px;
	color: #0f172a;
}

.shopcore-sp-perk-item span {
	font-size: 11px;
	color: #64748b;
}

/* ==========================================================
   Middle Section (Tabs/Specs + Handpicked Sidebar)
========================================================== */

.shopcore-sp-middle-section {
	margin-bottom: 50px;
}

.shopcore-sp-middle-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 25px;
	align-items: start;
}

.shopcore-sp-col-tabs,
.shopcore-sp-col-sidebar {
	min-width: 0;
}

/* Tabs */
.shopcore-sp-tabs-wrapper {
	width: 100%;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
}

.shopcore-sp-tabs-nav {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	padding: 0 10px;
	overflow-x: auto;
}

.shopcore-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 22px;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	font-size: 15px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.shopcore-tab-btn:hover {
	color: #ff0000;
}

.shopcore-tab-btn.active {
	color: #ff0000;
	border-bottom-color: #ff0000;
	background: #ffffff;
}

.shopcore-sp-tabs-content {
	min-width: 0;
	padding: 30px;
}

.shopcore-tab-pane {
	display: none;
}

.shopcore-tab-pane.active {
	display: block;
}

.shopcore-tab-title {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
}

/* Specification Table */
.shopcore-specs-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.shopcore-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.shopcore-specs-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: background 0.15s ease;
}

.shopcore-specs-table tbody tr:nth-child(even) {
	background: #f8fafc;
}

.shopcore-specs-table tbody tr:hover {
	background: #f1f5f9;
}

.shopcore-spec-name {
	width: 32%;
	padding: 12px 18px;
	color: #334155;
	font-weight: 600;
	border-right: 1px solid #f1f5f9;
}

.shopcore-spec-value {
	padding: 12px 18px;
	color: #0f172a;
}

.shopcore-empty-notice {
	color: #64748b;
	font-size: 14px;
	margin: 0;
}

/* Description Typography */
.shopcore-description-content {
	font-size: 15px;
	line-height: 1.7;
	color: #334155;
	min-width: 0;
	overflow-wrap: anywhere;
}

.shopcore-description-content h2,
.shopcore-description-content h3,
.shopcore-description-content h4 {
	color: #0f172a;
	margin-top: 24px;
	margin-bottom: 12px;
}

.shopcore-description-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 15px 0;
}

/* ==========================================================
   Sidebar (Handpicked For You)
========================================================== */

.shopcore-sp-sidebar {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 20px;
}

.shopcore-sp-sidebar-header {
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}

.shopcore-sp-sidebar-title {
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.shopcore-sp-sidebar-title i {
	color: #ff0000;
}

.shopcore-sp-sidebar-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

/* Sidebar Product Cards */
.shopcore-sp-sidebar-products .shopcore-product-card {
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
}

.shopcore-sp-sidebar-products .shopcore-product-card-image {
	height: 140px;
	padding: 10px;
}

.shopcore-sp-sidebar-products .shopcore-product-card-content {
	padding: 10px 12px 14px;
}

.shopcore-sp-sidebar-products .shopcore-product-title {
	font-size: 13.5px;
	line-height: 1.4;
	min-height: 38px;
	margin-bottom: 6px;
}

.shopcore-sp-sidebar-products .shopcore-product-price {
	font-size: 13.5px;
	gap: 6px;
}

.shopcore-sp-sidebar-products .shopcore-product-discount-badge {
	top: 8px;
	left: 8px;
	height: 22px;
	min-width: 42px;
	font-size: 11px;
	padding: 0 6px;
}

/* Explicit underline removal for single product page product cards */
.shopcore-single-product-page .shopcore-product-card a,
.shopcore-single-product-page .shopcore-product-card-link,
.shopcore-sp-sidebar .shopcore-product-card a,
.shopcore-sp-sidebar .shopcore-product-card-link,
.shopcore-sp-related-section .shopcore-product-card a,
.shopcore-sp-related-section .shopcore-product-card-link {
	text-decoration: none !important;
	color: inherit;
}

.shopcore-single-product-page .shopcore-product-title,
.shopcore-sp-sidebar .shopcore-product-title,
.shopcore-sp-related-section .shopcore-product-title {
	color: #111111 !important;
	text-decoration: none !important;
}

.shopcore-single-product-page .shopcore-product-card:hover .shopcore-product-title,
.shopcore-sp-sidebar .shopcore-product-card:hover .shopcore-product-title,
.shopcore-sp-related-section .shopcore-product-card:hover .shopcore-product-title {
	color: #ff1f1f !important;
	text-decoration: none !important;
}

/* ==========================================================
   Bottom Related Products Carousel
========================================================== */

.shopcore-sp-related-section {
	padding-top: 20px;
	border-top: 1px solid #f1f5f9;
}

.shopcore-sp-related-slider-wrap {
	position: relative;
}

.shopcore-sp-related-slider {
	overflow: hidden;
	padding-bottom: 40px;
}

.shopcore-sp-related-slider .swiper-slide {
	height: auto;
	display: flex;
}

.shopcore-sp-related-slider .swiper-slide>* {
	width: 100%;
	height: 100%;
}

.shopcore-sp-related-prev,
.shopcore-sp-related-next {
	position: absolute;
	top: 45%;
	z-index: 10;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #0f172a;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.25s ease;
}

.shopcore-sp-related-prev {
	left: -20px;
}

.shopcore-sp-related-next {
	right: -20px;
}

.shopcore-sp-related-prev:hover,
.shopcore-sp-related-next:hover {
	background: #ff0000;
	border-color: #ff0000;
	color: #ffffff;
}

.shopcore-sp-related-pagination {
	text-align: center;
	margin-top: 10px;
}

.shopcore-sp-related-pagination .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	background: #cbd5e1;
	opacity: 1;
}

.shopcore-sp-related-pagination .swiper-pagination-bullet-active {
	width: 22px;
	border-radius: 10px;
	background: #ff0000;
}

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

/* Narrow desktop and tablet: keep tabs full width above Handpicked. */
@media (max-width: 1100px) {
	.shopcore-sp-middle-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.shopcore-sp-col-tabs,
	.shopcore-sp-col-sidebar {
		width: 100%;
		min-width: 0;
	}

	.shopcore-sp-tabs-wrapper {
		width: 100%;
	}

	.shopcore-sp-sidebar {
		width: 100%;
	}
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.shopcore-single-product-page {
		padding-top: 16px;
	}

	.shopcore-sp-top-grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 24px;
	}

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

	.shopcore-sp-main-image-wrap {
		padding: 16px;
		margin-bottom: 12px;
	}

	.shopcore-sp-main-image-box {
		height: 300px;
	}

	.shopcore-sp-summary {
		gap: 16px;
	}

	.shopcore-sp-title {
		font-size: 22px;
	}

	.shopcore-sp-meta-row {
		gap: 8px;
	}

	.shopcore-sp-price,
	.shopcore-sp-sale-price,
	.shopcore-sp-current-price {
		font-size: 22px;
	}

	.woocommerce-variation-price ins,
	.woocommerce-variation-price ins .amount,
	.woocommerce-variation-price > .amount {
		font-size: 22px;
	}

	.woocommerce-variation-price del,
	.woocommerce-variation-price del .amount {
		font-size: 14px;
	}

	.shopcore-sp-regular-price {
		font-size: 14px;
	}

	.shopcore-sp-pill-btn,
	.shopcore-pill-btn {
		padding: 7px 12px;
	}

	.shopcore-action-buttons-wrap {
		align-items: stretch;
	}

	.shopcore-quantity-box {
		flex: 0 0 auto;
	}

	.shopcore-buttons-row {
		min-width: 0;
	}

	.shopcore-btn-cart,
	.shopcore-btn-buy-now {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	.shopcore-sp-middle-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.shopcore-sp-sidebar {
		margin-top: 0;
	}

	.shopcore-sp-sidebar-products {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.shopcore-sp-related-prev {
		left: -10px;
	}

	.shopcore-sp-related-next {
		right: -10px;
	}
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
	.shopcore-single-product-page {
		padding: 8px 0 40px;
	}

	.shopcore-single-product-page .sc-container {
		width: min(100% - 20px, var(--container-width));
	}

	.shopcore-sp-breadcrumb {
		margin-bottom: 16px;
		font-size: 12px;
		overflow-x: auto;
		white-space: nowrap;
		padding-bottom: 2px;
	}

	.shopcore-sp-top-section {
		margin-bottom: 32px;
	}

	.shopcore-sp-top-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.shopcore-sp-main-image-wrap {
		padding: 16px;
		border-radius: 10px;
		margin-bottom: 12px;
	}

	.shopcore-sp-main-image-box {
		height: clamp(220px, 68vw, 300px);
	}

	.shopcore-sp-thumbnails {
		gap: 8px;
	}

	.shopcore-sp-thumb-item {
		flex-basis: 62px;
		height: 62px;
	}

	.shopcore-sp-summary {
		gap: 16px;
	}

	.shopcore-sp-header {
		gap: 12px;
	}

	.shopcore-sp-title {
		font-size: 20px;
		line-height: 1.3;
	}

	.shopcore-sp-meta-row {
		align-items: center;
		gap: 8px;
	}

	.shopcore-sp-price-box {
		flex: 1 1 100%;
		gap: 8px;
	}

	.shopcore-sp-price {
		gap: 7px;
		font-size: 22px;
	}

	.shopcore-sp-meta-badge,
	.shopcore-sp-badge {
		min-height: 32px;
		padding: 5px 9px;
		font-size: 11px;
	}

	.shopcore-sp-price ins,
	.shopcore-sp-sale-price,
	.shopcore-sp-current-price {
		font-size: 22px;
	}

	.woocommerce-variation-price {
		margin-bottom: 10px;
	}

	.woocommerce-variation-price ins,
	.woocommerce-variation-price ins .amount,
	.woocommerce-variation-price > .amount {
		font-size: 22px;
	}

	.woocommerce-variation-price del,
	.woocommerce-variation-price del .amount {
		font-size: 14px;
	}

	.shopcore-sp-regular-price,
	.shopcore-sp-price del {
		font-size: 14px;
	}

	.shopcore-sp-core-features {
		padding: 14px;
		border-radius: 10px;
	}

	.shopcore-sp-features-content {
		font-size: 13px;
	}

	.shopcore-variations-list {
		gap: 14px;
	}

	.shopcore-swatches-pills {
		gap: 8px;
	}

	.shopcore-pill-btn {
		padding: 7px 11px;
		font-size: 12px;
	}

	.shopcore-buttons-row {
		flex-direction: column;
		width: 100%;
	}

	.shopcore-action-buttons-wrap {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.shopcore-quantity-box {
		width: 100%;
		justify-content: space-between;
		height: 44px;
	}

	.shopcore-qty-btn {
		width: 46px;
	}

	.shopcore-quantity-box input.qty {
		flex: 1;
		width: auto;
	}

	.shopcore-buttons-row {
		flex-direction: column;
		gap: 10px;
		width: 100%;
		min-width: 0;
	}

	.shopcore-btn-cart,
	.shopcore-btn-buy-now {
		flex: 0 0 44px;
		width: 100%;
		height: 44px !important;
		min-height: 44px !important;
		line-height: 1.2 !important;
		white-space: nowrap;
	}

	.shopcore-btn-whatsapp {
		height: 44px !important;
		min-height: 44px !important;
		font-size: 14px;
		white-space: nowrap;
	}

	.shopcore-sp-perks {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.shopcore-sp-tabs-content {
		padding: 18px 14px;
	}

	.shopcore-sp-tabs-nav {
		padding: 0 4px;
		max-width: 100%;
	}

	.shopcore-tab-btn {
		padding: 13px 14px;
		font-size: 13px;
	}

	.shopcore-tab-title {
		font-size: 18px;
		margin-bottom: 14px;
	}

	.shopcore-specs-table {
		font-size: 13px;
	}

	.shopcore-spec-name,
	.shopcore-spec-value {
		padding: 10px 12px;
		min-width: 120px;
	}

	.shopcore-sp-sidebar {
		padding: 14px;
		border-radius: 10px;
	}

	.shopcore-sp-sidebar-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.shopcore-sp-related-prev,
	.shopcore-sp-related-next {
		display: none;
	}
}

/* ==========================================================
   TBA Price — Single Product
========================================================== */

.shopcore-sp-tba {
	display: inline-block;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 3px;
	color: #ff0000;
	background: #fff5f5;
	border: 2px dashed #ff0000;
	border-radius: 8px;
	padding: 4px 18px;
}

/* ==========================================================
   Pre-Order / Backorder Stock Badge
========================================================== */

.shopcore-stock-badge.on-backorder {
	background: #fffbeb;
	color: #b45309;
	border-color: #fcd34d;
}

.shopcore-stock-badge.on-backorder i {
	color: #f59e0b;
}

/* ==========================================================
   Disabled Purchase Buttons
========================================================== */

.shopcore-btn-cart:disabled,
.shopcore-btn-buy-now:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
	filter: grayscale(0.3);
}