.ddtc-shop-shell,
.ddtc-shop-shell *,
.ddtc-search-shell,
.ddtc-search-shell *,
.ddtc-shop-sidebar,
.ddtc-shop-sidebar * {
	box-sizing: border-box;
}

.ddtc-shop-shell,
.ddtc-search-shell {
	position: relative;
	clear: both;
}

.ddtc-shop-main {
	min-width: 0;
}

.ddtc-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 42px;
	margin: 0 0 18px;
}

.ddtc-shop-toolbar .woocommerce-result-count,
.ddtc-shop-toolbar .woocommerce-ordering {
	float: none !important;
	margin: 0 !important;
}

.ddtc-shop-toolbar .woocommerce-ordering select {
	max-width: 100%;
}

.ddtc-shop-main ul.products li.product img {
	display: block;
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
}

.ddtc-shop-sidebar-panel {
	padding: 18px;
	border: 1px solid rgba(48, 15, 153, 0.20);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 5px 18px rgba(32, 18, 76, 0.14);
}

.ddtc-sidebar-section + .ddtc-sidebar-section {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(48, 15, 153, 0.14);
}

.ddtc-sidebar-section h2 {
	margin: 0 0 5px;
	color: #300f99;
	font-size: 23px;
	line-height: 1.15;
}

.ddtc-sidebar-section > p {
	margin: 0 0 12px;
	color: #4c465b;
	font-size: 13px;
	line-height: 1.35;
}

.ddtc-order-destination-buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.ddtc-order-destination-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 46px;
	padding: 8px 7px;
	border: 2px solid #300f99;
	border-radius: 8px;
	background: #300f99;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ddtc-order-destination-button:hover,
.ddtc-order-destination-button:focus-visible {
	background: #ffc098;
	color: #300f99;
	text-decoration: none;
}

.ddtc-order-destination-button:hover {
	transform: translateY(-1px);
}

.ddtc-order-destination-button:focus-visible,
.ddtc-order-nav-link:focus-visible,
.ddtc-mobile-shop-dock button:focus-visible,
.ddtc-mobile-panel-close:focus-visible {
	outline: 3px solid rgba(255, 192, 152, 0.95);
	outline-offset: 2px;
}

.ddtc-category-tree,
.ddtc-category-children {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
}

.ddtc-category-tree {
	padding: 2px 0;
}

.ddtc-category-branch {
	min-width: 0;
}

.ddtc-category-row {
	position: relative;
	display: block;
}

.ddtc-category-tree > .ddtc-category-branch + .ddtc-category-branch {
	margin-top: 1px;
}

.ddtc-order-nav-link {
	display: flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 7px;
	border: 0;
	border-left: 3px solid transparent;
	border-radius: 4px;
	background: transparent;
	color: #300f99;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 100ms ease, color 100ms ease;
}

.ddtc-order-nav-link:hover,
.ddtc-order-nav-link:focus-visible {
	background: #f3effb;
	color: #300f99;
	text-decoration: none;
}

.ddtc-order-nav-link.is-current {
	border-left-color: #300f99;
	background: #fff0e7;
	color: #300f99;
	font-weight: 800;
}

.ddtc-order-nav-link.is-ancestor {
	color: #300f99;
	font-weight: 750;
}

.ddtc-order-nav-link-all,
.ddtc-order-nav-link-level-1 {
	min-height: 28px;
	font-size: 13.5px;
	font-weight: 750;
}

.ddtc-category-children {
	margin: 0 0 1px 10px;
	padding-left: 10px;
	border-left: 1px solid rgba(48, 15, 153, 0.28);
}

.ddtc-category-children > .ddtc-category-branch > .ddtc-category-row::before {
	position: absolute;
	top: 50%;
	left: -10px;
	width: 8px;
	border-top: 1px solid rgba(48, 15, 153, 0.28);
	content: "";
}

.ddtc-order-nav-link-level-2 {
	min-height: 23px;
	padding: 3px 6px;
	font-size: 12.75px;
	font-weight: 625;
}

.ddtc-category-level-2.has-children > .ddtc-category-row > .ddtc-order-nav-link {
	font-weight: 750;
}

.ddtc-order-nav-link-level-3 {
	min-height: 22px;
	padding: 3px 6px;
	font-size: 12.25px;
	font-weight: 575;
}

.ddtc-mobile-panel-header,
.ddtc-mobile-shop-dock,
.ddtc-mobile-backdrop {
	display: none;
}

/*
 * The custom theme renders WordPress search results as full-width articles,
 * even when every result is a WooCommerce product. Convert only the product
 * articles into compact cards while allowing the search heading, pagination,
 * and any non-product results to span the full row.
 */
body.ddtc-has-product-search-grid #primary.site-main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 18px;
	align-items: start;
}

body.ddtc-has-product-search-grid #primary.site-main > :not(article.product) {
	grid-column: 1 / -1;
}

body.ddtc-has-product-search-grid #primary.site-main > article.product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.ddtc-has-product-search-grid #primary.site-main > article.product .entry-header {
	order: 2;
	margin: 0 0 8px;
}

body.ddtc-has-product-search-grid #primary.site-main > article.product .entry-title {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
}

body.ddtc-has-product-search-grid #primary.site-main > article.product .post-thumbnail {
	order: 1;
	display: block;
	width: 100%;
	margin: 0 0 12px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

body.ddtc-has-product-search-grid #primary.site-main > article.product .post-thumbnail img {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
}

body.ddtc-has-product-search-grid #primary.site-main > article.product .entry-summary {
	order: 3;
	margin: 0;
}

body.ddtc-has-product-search-grid #primary.site-main > article.product .entry-footer {
	order: 4;
	margin-top: 10px;
}

@media screen and (min-width: 1100px) {
	body.ddtc-has-product-search-grid #primary.site-main {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body.ddtc-has-shop-sidebar #page,
	body.ddtc-has-product-search-grid #page {
		overflow: visible !important;
	}

	body.ddtc-has-shop-sidebar,
	body.ddtc-has-product-search-grid {
		overflow-x: clip;
	}

	.ddtc-shop-shell,
	.ddtc-search-shell {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 292px;
		gap: 28px;
		align-items: start;
	}

	.ddtc-shop-shell > .ddtc-shop-sidebar,
	.ddtc-search-shell > .ddtc-shop-sidebar {
		position: sticky;
		top: calc(var(--ddtc-site-header-height, 0px) + 12px);
		z-index: 850;
		max-height: calc(100vh - var(--ddtc-site-header-height, 0px) - 24px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		scrollbar-color: rgba(48, 15, 153, 0.35) transparent;
	}

	.ddtc-shop-shell > .ddtc-shop-sidebar::-webkit-scrollbar,
	.ddtc-search-shell > .ddtc-shop-sidebar::-webkit-scrollbar {
		width: 6px;
	}

	.ddtc-shop-shell > .ddtc-shop-sidebar::-webkit-scrollbar-thumb,
	.ddtc-search-shell > .ddtc-shop-sidebar::-webkit-scrollbar-thumb {
		border-radius: 999px;
		background: rgba(48, 15, 153, 0.35);
	}

	.ddtc-shop-main ul.products {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 30px 18px;
		clear: both;
	}

	.ddtc-shop-main ul.products::before,
	.ddtc-shop-main ul.products::after {
		display: none !important;
	}

	.ddtc-shop-main ul.products li.product {
		float: none !important;
		width: auto !important;
		margin: 0 !important;
	}

	body.ddtc-has-product-controls .woocommerce div.product div.images.woocommerce-product-gallery {
		float: left;
		width: 300px !important;
		max-width: 30%;
	}

	body.ddtc-has-product-controls .woocommerce div.product div.summary {
		float: right;
		width: calc(100% - 340px) !important;
	}

	body.ddtc-has-product-controls .woocommerce-product-gallery__image img {
		display: block;
		width: 100%;
		height: auto !important;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls {
		position: fixed;
		inset: 0;
		z-index: 1200;
		pointer-events: none;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls .ddtc-mobile-backdrop {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(20, 10, 48, 0.54);
		opacity: 0;
		pointer-events: none;
		transition: opacity 180ms ease;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls .ddtc-shop-sidebar-panel {
		position: absolute;
		right: 20px;
		bottom: 86px;
		width: 340px;
		max-width: calc(100vw - 40px);
		max-height: calc(100dvh - 116px);
		padding: 0 16px 18px;
		overflow-y: auto;
		border-radius: 16px;
		opacity: 0;
		pointer-events: none;
		transform: translateY(22px);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls .ddtc-mobile-panel-header {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 50px;
		margin: 0 -16px 16px;
		padding: 8px 12px 8px 16px;
		border-bottom: 1px solid rgba(48, 15, 153, 0.14);
		border-radius: 16px 16px 0 0;
		background: #ffffff;
		color: #300f99;
		font-size: 17px;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls .ddtc-mobile-panel-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #f1edf8;
		color: #300f99;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls .ddtc-mobile-shop-dock {
		position: absolute;
		right: 20px;
		bottom: 18px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 340px;
		max-width: calc(100vw - 40px);
		gap: 8px;
		padding: 7px;
		border: 1px solid rgba(48, 15, 153, 0.22);
		border-radius: 13px;
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 7px 24px rgba(32, 18, 76, 0.24);
		backdrop-filter: blur(9px);
		pointer-events: auto;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls .ddtc-mobile-shop-dock button {
		min-height: 44px;
		padding: 8px 12px;
		border: 2px solid #300f99;
		border-radius: 8px;
		background: #300f99;
		color: #ffffff;
		font-size: 15px;
		font-weight: 750;
		cursor: pointer;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls.is-open {
		pointer-events: auto;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls.is-open .ddtc-mobile-backdrop,
	body.ddtc-has-product-controls .ddtc-product-page-controls.is-open .ddtc-shop-sidebar-panel {
		opacity: 1;
		pointer-events: auto;
	}

	body.ddtc-has-product-controls .ddtc-product-page-controls.is-open .ddtc-shop-sidebar-panel {
		transform: translateY(0);
	}

	body.ddtc-has-product-controls.ddtc-shop-drawer-open {
		overflow: hidden;
	}
}

@media screen and (max-width: 1099px) {
	body.ddtc-has-product-controls #page {
		padding-bottom: 74px;
	}

	.ddtc-shop-shell,
	.ddtc-search-shell {
		display: block;
		padding-bottom: 74px;
	}

	.ddtc-shop-sidebar {
		position: fixed;
		inset: 0;
		z-index: 1200;
		pointer-events: none;
	}

	.ddtc-mobile-backdrop {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(20, 10, 48, 0.54);
		opacity: 0;
		pointer-events: none;
		transition: opacity 180ms ease;
	}

	.ddtc-shop-sidebar-panel {
		position: absolute;
		left: max(10px, env(safe-area-inset-left));
		right: max(10px, env(safe-area-inset-right));
		bottom: calc(74px + env(safe-area-inset-bottom));
		max-height: calc(100dvh - 98px - env(safe-area-inset-bottom));
		padding: 0 16px 18px;
		overflow-y: auto;
		border-radius: 16px;
		opacity: 0;
		pointer-events: none;
		transform: translateY(22px);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.ddtc-mobile-panel-header {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 50px;
		margin: 0 -16px 16px;
		padding: 8px 12px 8px 16px;
		border-bottom: 1px solid rgba(48, 15, 153, 0.14);
		border-radius: 16px 16px 0 0;
		background: #ffffff;
		color: #300f99;
		font-size: 17px;
	}

	.ddtc-mobile-panel-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #f1edf8;
		color: #300f99;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
	}

	.ddtc-mobile-shop-dock {
		position: absolute;
		left: max(10px, env(safe-area-inset-left));
		right: max(10px, env(safe-area-inset-right));
		bottom: max(8px, env(safe-area-inset-bottom));
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 7px;
		border: 1px solid rgba(48, 15, 153, 0.22);
		border-radius: 13px;
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 7px 24px rgba(32, 18, 76, 0.24);
		backdrop-filter: blur(9px);
		pointer-events: auto;
	}

	.ddtc-mobile-shop-dock button {
		min-height: 44px;
		padding: 8px 12px;
		border: 2px solid #300f99;
		border-radius: 8px;
		background: #300f99;
		color: #ffffff;
		font-size: 15px;
		font-weight: 750;
		cursor: pointer;
	}

	.ddtc-shop-sidebar.is-open {
		pointer-events: auto;
	}

	.ddtc-shop-sidebar.is-open .ddtc-mobile-backdrop,
	.ddtc-shop-sidebar.is-open .ddtc-shop-sidebar-panel {
		opacity: 1;
		pointer-events: auto;
	}

	.ddtc-shop-sidebar.is-open .ddtc-shop-sidebar-panel {
		transform: translateY(0);
	}

	body.ddtc-shop-drawer-open {
		overflow: hidden;
	}

	.ddtc-shop-toolbar {
		margin-bottom: 14px;
	}
}

@media screen and (min-width: 768px) and (max-width: 1099px) {
	body.ddtc-has-product-search-grid #primary.site-main {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.ddtc-has-product-controls .woocommerce div.product div.images.woocommerce-product-gallery {
		float: left;
		width: 300px !important;
		max-width: 38%;
	}

	body.ddtc-has-product-controls .woocommerce div.product div.summary {
		float: right;
		width: calc(100% - 330px) !important;
	}
}

@media screen and (max-width: 767px) {
	body.ddtc-has-product-controls .woocommerce div.product div.images.woocommerce-product-gallery {
		float: none;
		width: 100% !important;
		max-width: 300px;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	body.ddtc-has-product-controls .woocommerce div.product div.summary {
		float: none;
		clear: both;
		width: 100% !important;
	}
}

@media screen and (max-width: 560px) {
	body.ddtc-has-product-search-grid #primary.site-main {
		grid-template-columns: 1fr;
	}

	.ddtc-shop-toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 7px;
	}

	.ddtc-shop-toolbar .woocommerce-result-count,
	.ddtc-shop-toolbar .woocommerce-ordering {
		width: 100%;
	}

	.ddtc-shop-toolbar .woocommerce-ordering select {
		width: 100%;
	}

	.ddtc-shop-sidebar-panel {
		left: 7px;
		right: 7px;
	}

	.ddtc-sidebar-section h2 {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ddtc-order-destination-button,
	.ddtc-order-nav-link,
	.ddtc-mobile-backdrop,
	.ddtc-shop-sidebar-panel {
		transition: none;
	}
}
