.shop-page-wrapper {
	max-width: 100%;
	padding: 20px 0
}

.shop-page-header {
	text-align: center;
	padding: 20px 0;
	margin-bottom: 20px
}

.shop-page-header .page-title {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	color: #1f2b37
}

.shop-page-header {
	display: none
}

.archive #page .site-content {
	margin-top: 20px !important;
}

.shop-search-pagination-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 15px 0;
	margin-bottom: 15px;
	border-bottom: 1px solid #e2e6ee
}

.shop-search-header-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	border: 1px solid #e2e6ee;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.shop-search-box {
	display: flex;
	gap: 12px;
	flex: 1;
	max-width: 800px;
}

.shop-search-field {
	flex: 1;
	height: 48px;
	padding: 0 20px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.2s;
}

.shop-search-field:focus {
	outline: none;
	border-color: #2B82E5;
	box-shadow: 0 0 0 3px rgba(43, 130, 229, 0.1);
}

.shop-new-search-btn {
	height: 48px;
	padding: 0 24px;
	background: #2B82E5;
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.2s;
	white-space: nowrap;
}

.shop-new-search-btn:hover {
	background: #1e3a8a;
	transform: translateY(-1px);
}

.shop-result-count {
	font-size: 16px;
	font-weight: 600;
	color: #4b5563;
	white-space: nowrap;
	padding: 12px 20px;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

#products-count-number {
	color: #2B82E5;
	font-weight: 700;
}

.shop-table-controls-top {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 20px;
	margin-top: 10px;
}

.shop-pagination-info {
	display: inline-flex;
	align-items: center;
	gap: 20px
}

.products-count {
	font-weight: 600;
	color: #1f2b37
}

.shop-pagination-controls {
	display: flex;
	align-items: center;
	gap: 10px
}

.pagination-prev,
.pagination-next {
	width: 32px;
	height: 32px;
	border: 1px solid #d1d5db;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	font-size: 20px;
	line-height: 1;
	color: #374151;
	font-weight: bold;
	padding: 0;
	margin: 0
}

.pagination-prev:hover:not(:disabled),
.pagination-next:hover:not(:disabled) {
	background: #f3f4f6;
	border-color: #9ca3af
}

.pagination-prev:disabled,
.pagination-next:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	color: #9ca3af
}

.pagination-page {
	font-size: 14px;
	color: #6b7280
}


.product-category-tiles-wrapper {
	margin-bottom: 30px
}

.product-category-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 15px
}

.product-category-tile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 18px;
	border: 1px solid #eef1f4;
	border-radius: 12px;
	background: #f6f9fc;
	color: #1f2b37;
	text-decoration: none;
	min-height: 90px;
	cursor: pointer;
	transition: all 0.2s;
	border: none
}

.product-category-tile:hover {
	background: #eef4ff;
	border: 1px solid #2B82E5;
	color: #2B82E5;
}

.product-category-tile.no-image {
	justify-content: center;
	text-align: center;
}

.product-category-tile.no-image .tile-left {
	padding-right: 0;
	text-align: center;
}

.product-category-tile.active {
	background: #EEF4FF !important;
	border: 1px solid #2B82E5;
	color: #2B82E5;
}

.product-category-tile.active:hover {
	background: #EEF4FF !important;
	border: 1px solid #2B82E5;
	color: #2B82E5;
}

.product-category-tile .tile-left {
	flex: 1 1 auto;
	min-width: 0;
	overflow: visible;
	padding-right: 12px
}

.product-category-tile .tile-left .tile-name {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
	display: block;
	width: 100%;
	white-space: normal
}

.product-category-tile .tile-right {
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	flex-grow: 0
}

.product-category-tile .tile-right img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	display: block
}

.shop-attribute-filters {
	margin-bottom: 0;
	padding-top: 0
}

.attribute-tab-nav {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #e2e6ee;
	margin-bottom: 0px !important;
	flex-wrap: wrap;
	display: none;
}

.attribute-tab-btn {
	padding: 12px 20px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: all 0.2s;
	white-space: nowrap
}

.attribute-tab-btn:hover {
	color: #1f2937
}

.attribute-tab-btn.active {
	color: #2B82E5;
	border-bottom-color: #2B82E5;
	font-weight: 600
}

.attribute-filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px
}

.attribute-filter-option {
	padding: 8px 16px;
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	color: #374151;
	transition: all 0.2s
}

.attribute-filter-option:hover {
	background: #e5e7eb;
	border-color: #9ca3af
}

.attribute-filter-option.active {
	background: #2B82E5;
	border-color: #2B82E5;
	color: #fff
}

.acf-field-tab-nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 25px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	border-bottom: 2px solid #e2e6ee;
}

.acf-field-tab-nav {
	display: flex;
	gap: 0;
	margin-bottom: -2px;
	/* Pull tabs onto border */
}

.acf-field-tab-content-area {
	padding: 10px 0;
}

.acf-field-tab-panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

/* Contextual Pills for Active Filters */
.contextual-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-right: 10px;
	/* Space between pills and potential options */
}

.pill-item {
	display: inline-flex;
	align-items: center;
	background: #EEF4FF;
	border: 1px solid #2B82E5;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #2B82E5;
	line-height: 1;
	transition: all 0.2s;
}

.pill-item:hover {
	background: #fff;
}

.pill-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	background: #ef4444;
	color: #fff;
	border-radius: 4px;
	margin-left: 10px;
	cursor: pointer;
	font-size: 11px;
	line-height: 1;
	font-weight: 700;
}

.pill-remove:hover {
	background: #dc2626;
	transform: scale(1.1);
}

.acf-field-tab-btn {
	padding: 12px 20px;
	background: #f9fafb;
	border: 1px solid #e2e6ee;
	border-bottom: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	margin-right: 2px;
	transition: all 0.2s;
	white-space: nowrap;
	border-radius: 0
}

.acf-field-tab-btn:first-child {
	border-top-left-radius: 0
}

.acf-field-tab-btn:last-child {
	border-top-right-radius: 0
}

.acf-field-tab-btn:hover {
	background: #f3f4f6;
	color: #1f2937
}

.acf-field-tab-btn.active {
	background: #fff;
	color: #2B82E5;
	border-color: #e2e6ee;
	border-bottom-color: #fff;
	font-weight: 600;
	position: relative;
	z-index: 1
}

.acf-field-filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-bottom: 20px
}

.acf-field-filter-option {
	padding: 8px 16px;
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	color: #374151;
	transition: all 0.2s
}

.acf-field-filter-option:hover {
	background: #e5e7eb;
	border-color: #9ca3af
}

.acf-field-filter-option.active {
	background: #2B82E5;
	border-color: #2B82E5;
	color: #fff
}

.shop-products-table-wrapper {
	margin-top: 20px
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
	display: none !important
}

table#product-table {
	width: 100%
}

#product-table tbody tr {
	cursor: pointer;
	transition: background-color 0.2s;
}

#product-table tbody tr:hover {
	background-color: #f1f5f9 !important;
}

/* Loading Interstitial */
.shop-products-table-wrapper {
	position: relative;
	min-height: 400px;
}

#table-loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.7);
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	backdrop-filter: blur(2px);
}

.spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #f3f4f6;
	border-top: 4px solid #2B82E5;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Zero Results State */
#zero-results-message {
	display: none;
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border-radius: 12px;
	border: 1px dashed #cbd5e1;
	margin-top: 20px;
}

#zero-results-message .zero-icon {
	font-size: 48px;
	color: #94a3b8;
	margin-bottom: 15px;
}

#zero-results-message h3 {
	font-size: 20px;
	font-weight: 700;
	color: #1f2937;
	margin-bottom: 10px;
}

#zero-results-message p {
	color: #64748b;
	margin-bottom: 25px;
}

/* Hubspot-style Animations */
.product-category-tile {
	animation: fadeInUp 0.4s ease backwards;
}

.product-category-tiles .product-category-tile:nth-child(n) {
	animation-delay: calc(var(--tile-index, 0) * 0.05s);
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.acf-field-tab-content-area {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.acf-field-filter-option {
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.acf-field-filter-option:active {
	transform: scale(0.95);
}

#product-table td.row-toggle,
#product-table th:first-child {
	width: 34px;
	text-align: center
}

#product-table td.row-toggle .toggle-icon {
	cursor: pointer;
	display: inline-block;
	width: 22px;
	height: 22px;
	line-height: 20px;
	border: 1px solid #cfd6df;
	border-radius: 50%;
	text-align: center;
	font-weight: 600;
	background: #fff
}

tr.shown td.row-toggle .toggle-icon {
	cursor: pointer;
	background: #2B82E5;
	color: #fff;
	border-color: #2B82E5
}

.dt-details {
	padding: 20px;
	border-top: 1px dashed #e2e6ee;
	display: grid;
	grid-template-columns: 200px 1fr 300px;
	gap: 24px;
	align-items: start
}

.dt-details__thumbnail {
	width: 100%
}

.dt-details__thumbnail img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: contain;
	max-height: 300px
}

.dt-details__tabs {
	min-width: 0
}

.dt-details__tabs-nav {
	display: flex;
	gap: 0;
	border-bottom: 1px solid #e2e6ee;
	margin-bottom: 16px;
	flex-wrap: wrap
}

.dt-details__tabs-nav button {
	padding: 12px 20px;
	background: #f9fafb;
	border: 1px solid #e2e6ee;
	border-bottom: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	margin-right: 2px;
	transition: all 0.2s;
	white-space: nowrap;
	border-radius: 0
}

.dt-details__tabs-nav button:first-child {
	border-top-left-radius: 0
}

.dt-details__tabs-nav button:last-child {
	border-top-right-radius: 0
}

.dt-details__tabs-nav button:hover {
	background: #f3f4f6;
	color: #1f2937
}

.dt-details__tabs-nav button.active {
	background: #fff;
	color: #2B82E5;
	border-color: #e2e6ee;
	border-bottom-color: #fff;
	font-weight: 600;
	position: relative;
	z-index: 1
}

.dt-details__tabs-content {
	min-height: 200px
}

.dt-details__tabs-panel {
	display: none;
	color: #4b5563;
	line-height: 1.6
}

.acf-field-tab-panel, .attribute-tab-panel {
	animation: slideFadeIn 0.3s ease-out backwards;
}

@keyframes slideFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.dt-details__tabs-panel.active {
	display: block;
	animation: fadeIn 0.3s ease-out;
}

.dt-details__tabs-panel table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px
}

.dt-details__tabs-panel table th,
.dt-details__tabs-panel table td {
	padding: 8px 12px;
	text-align: left;
	border: 1px solid #e5e7eb
}

.dt-details__tabs-panel table th {
	background: #f9fafb;
	font-weight: 600
}

.dt-details__title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3
}

.dt-details__title a {
	color: #1f2937;
	text-decoration: none
}

.dt-details__title a:hover {
	color: #2B82E5
}

.dt-details__price {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #1f2937
}

.dt-details__sku {
	margin: 0 0 16px;
	font-size: 14px;
	color: #6b7280
}

.dt-details__sku b {
	color: #374151;
	margin-right: 4px
}

.dt-details__actions {
	margin-top: 16px
}

.dt-qty {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px
}

.dt-qty__minus,
.dt-qty__plus {
	width: 36px;
	height: 36px;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #2B82E5;
	border-radius: 4px;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s
}

.dt-qty__minus:hover,
.dt-qty__plus:hover {
	background: #f3f4f6;
	border-color: #9ca3af
}

.dt-qty__input {
	width: 60px;
	height: 36px;
	text-align: center;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	font-size: 14px
}

.dt-details__actions .button {
	width: 100%;
	padding: 12px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none;
	display: block;
	transition: all 0.2s
}

.dt-details__actions .add_to_cart_button {
	background: #2B82E5;
	color: #fff;
	border: none
}

.dt-details__actions .add_to_cart_button:hover {
	background: #1e3a8a
}

.dt-details__actions .button:not(.add_to_cart_button) {
	background: #f3f4f6;
	color: #374151;
	border: 1px solid #d1d5db
}

.dt-details__actions .button:not(.add_to_cart_button):hover {
	background: #e5e7eb
}

@media (max-width: 1200px) {
	.dt-details {
		grid-template-columns: 180px 1fr 280px;
		gap: 20px
	}

	.product-category-tiles {
		grid-template-columns: repeat(3, 1fr)
	}

	.shop-search-pagination-row {
		flex-direction: column;
		align-items: stretch
	}

	.shop-search-box {
		max-width: 100%
	}
}

@media (max-width: 992px) {
	.dt-details {
		grid-template-columns: 1fr;
		gap: 20px
	}

	.dt-details__thumbnail {
		max-width: 300px;
		margin: 0 auto
	}
}

@media (max-width: 768px) {
	.product-category-tiles {
		grid-template-columns: repeat(2, 1fr)
	}

	.product-category-tile .tile-right img {
		width: 40px;
		height: 40px
	}

	.attribute-tab-nav {
		overflow-x: auto;
		flex-wrap: nowrap
	}

	.shop-pagination-info {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start
	}
}

.category-explorer-wrapper {
	margin-bottom: 30px;
	background: #fff;
	border: 1px solid #e2e6ee;
	border-radius: 12px;
	padding: 20px;
}

.category-explorer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f3f4f6;
}

.category-explorer-nav {
	display: flex;
	align-items: center;
	gap: 15px;
}

.category-back-btn {
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s;
}

.category-back-btn:hover {
	background: #e5e7eb;
	color: #1f2937;
}

#explorer-title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1f2b37;
}

.explorer-path {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #6b7280;
	flex-wrap: wrap;
}

.path-segment {
	padding: 4px 10px;
	border-radius: 4px;
	background: #f3f4f6;
	cursor: pointer;
	transition: all 0.2s;
	font-size: 13px;
	white-space: nowrap;
}

.path-segment:hover:not(.path-current) {
	background: #e5e7eb;
	color: #1f2b37;
}

.path-segment.path-current {
	background: transparent;
	color: #1f2b37;
	font-weight: 700;
	cursor: default;
	padding-left: 0;
}

.path-divider {
	color: #d1d5db;
	font-size: 12px;
}

.category-explorer-pagination {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Specific selector to override .product-category-tile.active color: #fff */
.product-category-tile.active {
	background: #eef4ff !important;
	border: 1px solid #2B82E5 !important;
	color: #2B82E5 !important;
}

.product-subcategory-tile.active:hover {
	background: #dbeafe !important;
}

.product-subcategory-tile .tile-right {
	width: 40px !important;
	height: 40px !important;
	flex: 0 0 40px !important;
}

.product-subcategory-tile .tile-right img {
	width: 40px !important;
	height: 40px !important;
}

/* Mobile Optimization */
@media (max-width: 768px) {

	/* Header & Layout */
	.shop-page-wrapper {
		padding: 10px 0;
	}

	/* Search & Pagination */
	.shop-search-pagination-row {
		gap: 12px;
		padding: 10px 0;
		flex-direction: column;
	}

	.shop-search-box {
		width: 100%;
		max-width: 100%;
		flex-direction: row;
		/* Keep input and button side-by-side if they fit */
	}

	.shop-search-field {
		height: 48px;
		/* Touch friendly */
		font-size: 16px;
		/* ID: prevent-zoom */
	}

	.shop-new-search-btn {
		height: 48px;
		padding: 0 15px;
		white-space: nowrap;
	}

	.shop-pagination-info {
		width: 100%;
		justify-content: space-between;
		font-size: 13px;
	}

	/* Filter Badges */
	.shop-filter-badges-wrapper {
		margin-bottom: 15px;
		gap: 8px;
	}

	.filter-badge {
		padding: 4px 10px;
		font-size: 12px;
		height: 28px;
	}

	/* Category Tiles - Compact Grid */
	.product-category-tiles {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px !important;
	}

	.product-category-tile {
		min-height: 60px !important;
		padding: 8px 10px !important;
		border-radius: 8px !important;
	}

	.product-category-tile .tile-left .tile-name {
		font-size: 13px !important;
		line-height: 1.3 !important;
	}

	.product-category-tile .tile-right {
		width: 32px !important;
		height: 32px !important;
		flex: 0 0 32px !important;
	}

	.product-category-tile .tile-right img {
		width: 32px !important;
		height: 32px !important;
		object-fit: contain;
	}

	/* Sub-categories */
	.product-subcategory-tiles-wrapper {
		margin-bottom: 20px;
		padding: 10px;
	}

	.product-subcategory-tile {
		min-height: 50px !important;
	}

	.product-subcategory-tile .tile-right {
		width: 30px !important;
		height: 30px !important;
		flex: 0 0 30px !important;
	}

	.product-subcategory-tile .tile-right img {
		width: 30px !important;
		height: 30px !important;
	}


	/* Tabs (Scrollable) */
	.attribute-tab-nav,
	.acf-field-tab-nav {
		padding-bottom: 0;
		margin-bottom: 15px !important;
		border-bottom: 1px solid #e2e6ee;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		display: none;
		/* Firefox */
	}

	.attribute-tab-nav::-webkit-scrollbar,
	.acf-field-tab-nav::-webkit-scrollbar {
		display: none;
	}

	.attribute-tab-btn,
	.acf-field-tab-btn {
		padding: 10px 15px;
		font-size: 13px;
	}

	.attribute-filter-options,
	.acf-field-filter-options {
		gap: 8px;
	}

	.attribute-filter-option,
	.acf-field-filter-option {
		padding: 6px 12px;
		font-size: 13px;
	}

	/* Table Mobile View - Card Layout Fix */
	.shop-products-table-wrapper {
		margin-top: 10px;
		width: 100%;
		display: block;
	}

	/* Force strict block display to break table layout */
	table#product-table,
	table#product-table tbody,
	table#product-table tr,
	table#product-table td {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box !important;
		float: none !important;
		clear: both !important;
		margin: 0 !important;
	}

	table#product-table {
		border: none !important;
		box-shadow: none !important;
		background: transparent !important;
	}

	table#product-table thead {
		display: none !important;
	}

	table#product-table tbody tr {
		position: relative !important;
		background: #fff !important;
		border: 1px solid #eef1f4 !important;
		border-radius: 12px !important;
		margin-bottom: 12px !important;
		padding: 15px 15px 15px 60px !important;
		/* Left padding for toggle */
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
		display: flex !important;
		/* Use flex column for content flow */
		flex-direction: column !important;
		align-items: flex-start !important;
	}

	/* Toggle Button - Absolute Left, Fixed Width */
	table#product-table td.row-toggle {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		bottom: 0 !important;
		width: 50px !important;
		max-width: 50px !important;
		height: auto !important;
		padding: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		border-right: 1px solid #f3f4f6 !important;
		background: transparent !important;
		z-index: 10;
	}

	table#product-table td.row-toggle .toggle-icon {
		width: 28px;
		height: 28px;
		line-height: 26px;
	}

	/* Content Cells */
	table#product-table td {
		padding: 2px 0 !important;
		border: none !important;
		text-align: left !important;
	}

	/* SKU */
	table#product-table td:nth-child(2) {
		order: 1;
		font-size: 12px !important;
		color: #9ca3af;
		margin-bottom: 4px !important;
	}

	/* Name */
	table#product-table td:nth-child(3) {
		order: 2;
		font-size: 15px !important;
		font-weight: 600;
		color: #1f2937;
		line-height: 1.4 !important;
		margin-bottom: 8px !important;
		white-space: normal !important;
	}

	/* Price */
	table#product-table td:nth-child(6) {
		order: 3;
		font-size: 16px !important;
		font-weight: 700;
		color: #2B82E5;
	}

	/* Hide other columns in card view */
	table#product-table td:nth-child(4),
	table#product-table td:nth-child(5),
	table#product-table td:nth-child(7) {
		display: none !important;
	}


	/* Expanded Child Row */
	table#product-table tr.child {
		display: block !important;
		padding: 0 !important;
		border: none !important;
		background: transparent !important;
		box-shadow: none !important;
		margin-top: -12px !important;
		margin-bottom: 12px !important;
	}

	table#product-table tr.child td {
		padding: 0 !important;
	}

	/* Details Inside Child Row */
	.dt-details {
		margin-top: 0;
		border-top: none;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		border-bottom-left-radius: 12px;
		border-bottom-right-radius: 12px;
		background: #f9fafb;
		padding: 15px;
	}
}

table#product-table tbody tr {
	cursor: pointer !important;
}

/* DT Details Expansion (3-Column Layout) */
.dt-details {
	display: grid !important;
	grid-template-columns: 320px 1fr 280px !important;
	gap: 25px !important;
	padding: 25px !important;
	background: #fff !important;
	border-bottom: 2px solid #eef2f6 !important;
	width: 100% !important;
}

.dt-details__thumbnail {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	min-height: 400px;
}

.dt-details__thumbnail img {
	width: 100%;
	height: auto;
	max-height: 370px;
	object-fit: contain;
}

.dt-details__tabs {
	min-width: 0;
}

.dt-details__tabs-nav {
	display: flex;
	gap: 20px;
	border-bottom: 2px solid #edf2f7;
	margin-bottom: 20px;
}

.dt-tab-btn {
	padding: 10px 0;
	border: none;
	background: none;
	font-weight: 700;
	color: #64748b;
	cursor: pointer;
	position: relative;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: color 0.2s;
}

.dt-tab-btn.active {
	color: #1e3a8a;
}

.dt-tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: #1e3a8a;
}

.dt-details__tabs-panel {
	display: none;
	font-size: 14px;
	color: #334155;
	line-height: 1.6;
}

.dt-details__tabs-panel.active {
	display: block;
}

.details-tab-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

.detail-item {
	display: flex;
	flex-direction: column;
}

.detail-label {
	font-size: 10px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	margin-bottom: 2px;
}

.detail-value {
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
}

.dt-details__sidebar {
	border-left: 1px solid #e2e8f0;
	padding-left: 25px;
	display: flex;
	flex-direction: column;
}

.dt-details__title {
	font-size: 18px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 10px 0;
}

.dt-details__price {
	font-size: 22px;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 10px;
}

.dt-details__sku {
	font-size: 12px;
	color: #64748b;
	margin-bottom: 20px;
}

.dt-details__actions {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.dt-qty {
	display: flex;
	border: 1px solid #cbd5e1;
	width: fit-content;
	border-radius: 6px;
	overflow: hidden;
}

.dt-qty__input {
	width: 60px !important;
	height: 36px !important;
	text-align: center !important;
	border: none !important;
	border-left: 1px solid #cbd5e1 !important;
	border-right: 1px solid #cbd5e1 !important;
	padding: 0 !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	background: #fff !important;
	line-height: 36px !important;
	-moz-appearance: textfield;
	appearance: textfield;
}

.dt-qty__input::-webkit-outer-spin-button,
.dt-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

.dt-qty__minus,
.dt-qty__plus {
	width: 36px;
	height: 36px;
	border: none;
	background: #f8fafc;
	cursor: pointer;
	font-weight: 700;
	color: #1e3a8a;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.dt-qty__minus:hover,
.dt-qty__plus:hover {
	background: #f1f5f9;
}

.dt-details .button.add_to_cart_button {
	background: #1e3a8a !important;
	color: #fff !important;
	border-radius: 4px !important;
	font-weight: 700 !important;
	padding: 14px !important;
	text-align: center;
	display: block;
	width: 100%;
}

@media (max-width: 991px) {
	.dt-details {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
		padding: 20px !important;
	}

	.dt-details__sidebar {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid #e2e8f0;
		padding-top: 20px;
	}

	.dt-details__thumbnail {
		min-height: auto;
	}
}