.single-product {
	background: #f5f7fa;
	color: var(--ahan-color-text);
	font-family: var(--ahan-font-family);
}

.single-product .site-header,
.single-product .site-footer {
	display: none;
}

.single-product .site-main {
	box-sizing: border-box;
	width: min(1290px, calc(100% - 48px));
	padding: 24px 0 0;
}

.single-product.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 518px) minmax(390px, 1fr);
	gap: 32px;
	align-items: start;
}

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

.single-product.woocommerce div.product div.images,
.single-product.woocommerce div.product div.summary {
	float: none;
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	min-width: 0;
	margin: 0;
}

.single-product.woocommerce div.product div.images {
	grid-column: 1;
	padding: 14px;
	border: 1px solid var(--ahan-color-border);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--ahan-shadow-sm);
}

.single-product.woocommerce div.product div.summary {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow-wrap: anywhere;
	word-break: normal;
}

.single-product.woocommerce div.product .woocommerce-tabs,
.single-product.woocommerce div.product .related,
.single-product.woocommerce div.product .upsells,
.ahan-product-sections {
	grid-column: 1 / -1;
}

.single-product.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
}

.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--ahan-color-border);
	border-radius: 6px;
	background: #fff;
}

.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 1.32;
	border-color: #e0e7f0;
}

.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child) {
	aspect-ratio: 1;
	cursor: pointer;
}

.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child).is-active-thumb {
	border-color: var(--ahan-color-brand-blue);
	box-shadow: inset 0 0 0 1px var(--ahan-color-brand-blue);
}

.single-product.woocommerce div.product div.images a {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.single-product.woocommerce div.product div.images img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.single-product.woocommerce div.product div.images .woocommerce-product-gallery__trigger,
.single-product.woocommerce div.product div.images .flex-control-thumbs {
	display: none;
}

.ahan-product-breadcrumbs {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	color: var(--ahan-color-text-muted);
	font-family: var(--ahan-font-family);
	font-size: 0.88rem;
	font-weight: 800;
}

.ahan-product-breadcrumbs a {
	color: var(--ahan-color-brand-blue);
	text-decoration: none;
}

.ahan-product-status-panel {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
	color: var(--ahan-color-text-muted);
	font-size: 0.86rem;
	font-weight: 800;
}

.ahan-product-status-panel__stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ahan-color-status-green);
}

.ahan-product-status-panel__stock span {
	width: 11px;
	height: 11px;
	border-radius: 999px;
	background: currentColor;
}

.ahan-product-status-panel__stock.is-out-of-stock {
	color: var(--ahan-color-status-red);
}

.single-product.woocommerce div.product .product_title {
	margin: 0;
	color: #071122;
	font-size: clamp(1.9rem, 2vw, 2.55rem);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.16;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.ahan-product-trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 12px;
	color: #344766;
	font-size: 0.88rem;
	font-weight: 820;
}

.ahan-product-trust-row span {
	display: inline-flex;
	align-items: center;
	gap: 0;
	min-width: 0;
}

.ahan-product-trust-row span + span::before {
	content: "·";
	margin-right: 12px;
	color: var(--ahan-color-brand-blue);
	font-weight: 900;
}

.single-product.woocommerce div.product .price {
	display: block;
	margin: 0;
	color: var(--ahan-color-brand-blue);
	font-family: var(--ahan-font-family);
	font-size: clamp(2.18rem, 2.7vw, 2.85rem);
	font-weight: 900;
	line-height: 1;
}

.single-product.woocommerce div.product .price del {
	color: var(--ahan-color-text-muted);
	font-size: 0.72em;
	font-weight: 800;
}

.single-product.woocommerce div.product .price ins {
	text-decoration: none;
}

.single-product.woocommerce div.product .price .ahan-price__currency {
	font-size: 0.48em;
}

.single-product.woocommerce div.product div.summary > .stock {
	display: none;
}

.single-product .product form.cart {
	display: grid;
	grid-template-columns: auto minmax(240px, 320px);
	gap: 12px;
	align-items: center;
	justify-content: start;
	margin: 2px 0 0;
}

.single-product .product form.cart::before,
.single-product .product form.cart::after {
	display: none;
}

.single-product .product form.cart .ahan-qty-control {
	grid-column: 1;
	grid-row: 1;
	flex: 0 0 auto;
}

.single-product .product form.cart .single_add_to_cart_button {
	grid-column: 2;
	grid-row: 1;
	float: none;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 24px;
	background: var(--ahan-color-brand-blue);
	color: #fff;
	font-family: var(--ahan-font-family);
	font-size: 0.96rem;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	white-space: normal;
}

.ahan-product-info-card {
	display: grid;
	gap: 10px;
	padding: 16px 18px;
	border: 1px solid var(--ahan-color-border);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--ahan-shadow-sm);
}

.ahan-product-info-card h2 {
	margin: 0;
	color: #071122;
	font-size: 1rem;
	font-weight: 900;
}

.single-product.woocommerce div.product .product_meta {
	display: grid;
	gap: 8px;
	margin: 0;
	color: var(--ahan-color-text-muted);
	font-family: var(--ahan-font-family);
	font-size: 0.92rem;
	font-weight: 800;
}

.single-product.woocommerce div.product .product_meta > span {
	display: block;
}

.single-product.woocommerce div.product .sku_wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.single-product.woocommerce div.product .sku {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid #d7dee8;
	border-radius: 6px;
	background: #f8fafc;
	color: #071122;
	font-weight: 900;
	line-height: 1;
}

.single-product.woocommerce div.product .posted_in a {
	color: var(--ahan-color-brand-blue);
	font-weight: 800;
}

.ahan-product-info-card__service {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding-top: 6px;
	border-top: 1px solid var(--ahan-color-border);
	color: #344766;
	font-size: 0.86rem;
	font-weight: 800;
}

.ahan-product-sections {
	margin-top: 14px;
}

.ahan-product-sections__nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-bottom: 1px solid var(--ahan-color-border);
}

.ahan-product-sections__nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	border-bottom: 3px solid transparent;
	color: #071122;
	font-weight: 900;
	text-align: center;
	text-decoration: none;
}

.ahan-product-sections__nav a.is-active {
	border-color: var(--ahan-color-brand-blue);
	color: var(--ahan-color-brand-blue);
}

.ahan-product-sections__grid {
	display: block;
	padding: 20px 0 32px;
}

.ahan-product-section {
	min-width: 0;
}

.ahan-product-section:not(.is-active) {
	display: none;
}

.ahan-product-section__toggle {
	display: none;
}

.ahan-product-section h2 {
	margin: 0 0 14px;
	color: #071122;
	font-size: 1.45rem;
	font-weight: 900;
	line-height: 1.15;
}

.ahan-product-section p {
	margin: 0 0 12px;
	color: #172033;
	font-size: 1rem;
	line-height: 1.55;
}

.ahan-product-section dl {
	display: grid;
	margin: 0;
	border-top: 1px solid var(--ahan-color-border);
}

.ahan-product-section dl div {
	display: grid;
	grid-template-columns: minmax(120px, 0.65fr) minmax(0, 1fr);
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--ahan-color-border);
}

.ahan-product-section dt,
.ahan-product-section dd {
	margin: 0;
}

.ahan-product-section dt {
	color: var(--ahan-color-text-muted);
	font-weight: 800;
}

.ahan-product-section dd {
	color: #071122;
	font-weight: 850;
}

.ahan-product-section--note {
	padding: 18px;
	border: 1px solid var(--ahan-color-border);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--ahan-shadow-sm);
}

@media (max-width: 1100px) and (min-width: 768px) {
	.single-product .site-main {
		width: min(1000px, calc(100% - 32px));
	}

	.single-product.woocommerce div.product {
		grid-template-columns: minmax(0, 48%) minmax(360px, 52%);
		gap: 24px;
	}

	.ahan-product-trust-row {
		gap: 6px 10px;
	}
}

@media (max-width: 767px) {
	body.single-product {
		padding-bottom: 76px;
		background: #f6f8fb;
		overflow-x: hidden;
	}

	.single-product .ahan-desktop-header,
	.single-product .ahan-desktop-footer,
	.single-product .site-header,
	.single-product .site-footer {
		display: none;
	}

	.single-product .site-main {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
		padding: 0 14px;
	}

	.single-product.woocommerce div.product {
		display: flex;
		flex-direction: column;
		gap: 14px;
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}

	.ahan-product-breadcrumbs {
		order: 0;
		margin: 0;
		font-size: 0.72rem;
		font-weight: 720;
		line-height: 1.35;
	}

	.ahan-product-breadcrumbs__current,
	.ahan-product-breadcrumbs__separator:nth-last-child(2) {
		display: none;
	}

	.single-product.woocommerce div.product div.images {
		order: 1;
		width: 100%;
		padding: 8px;
		border-radius: 8px;
	}

	.single-product.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 7px;
	}

	.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child {
		aspect-ratio: 1.55;
	}

	.single-product.woocommerce div.product div.summary {
		order: 2;
		gap: 8px;
		margin-top: 0;
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}

	.ahan-product-status-panel {
		order: 3;
		font-size: 0.76rem;
		font-weight: 760;
	}

	.ahan-product-status-panel__delivery {
		display: none;
	}

	.single-product.woocommerce div.product .product_title {
		order: 1;
		display: block;
		inline-size: 100%;
		max-inline-size: 100%;
		min-width: 0;
		box-sizing: border-box;
		font-size: 1.1rem;
		line-height: 1.22;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: normal;
		hyphens: auto;
	}

	.ahan-product-trust-row {
		display: none;
	}

	.single-product.woocommerce div.product .price {
		order: 2;
		font-size: 1.86rem;
	}

	.single-product .product form.cart {
		order: 4;
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 8px;
		justify-content: stretch;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		margin-top: 0;
	}

	.single-product .product form.cart .single_add_to_cart_button {
		grid-column: 2;
		grid-row: 1;
		width: 220px !important;
		max-width: 100%;
		min-width: 0;
		justify-self: start;
		min-height: 44px;
		padding: 0 12px;
		border-radius: 22px;
		font-size: 0.78rem;
	}

	.ahan-product-info-card {
		order: 5;
		gap: 8px;
		padding: 12px 14px;
	}

	.ahan-product-info-card h2 {
		font-size: 0.92rem;
	}

	.single-product.woocommerce div.product .product_meta {
		gap: 7px;
		font-size: 0.84rem;
		font-weight: 740;
	}

	.single-product.woocommerce div.product .sku {
		min-height: 28px;
		padding: 0 10px;
	}

	.ahan-product-info-card__service {
		font-size: 0.8rem;
		font-weight: 720;
	}

	.ahan-product-info-card__service {
		grid-template-columns: 1fr;
	}

	.ahan-product-sections {
		order: 3;
		margin-top: 0;
	}

	.ahan-product-sections__nav {
		display: none;
	}

	.ahan-product-sections__grid {
		display: grid;
		gap: 8px;
		padding: 12px 0 24px;
	}

	.ahan-product-section {
		display: block;
		margin: 0;
		border: 1px solid var(--ahan-color-border);
		border-radius: 8px;
		background: #fff;
		box-shadow: var(--ahan-shadow-sm);
	}

	.ahan-product-section:not(.is-active) {
		display: block;
	}

	.ahan-product-section__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 50px;
		padding: 0 14px;
		border: 0;
		background: transparent;
		color: #071122;
		font-family: var(--ahan-font-family);
		font-size: 0.94rem;
		font-weight: 820;
		line-height: 1.2;
		text-align: left;
	}

	.ahan-product-section__toggle span:last-child {
		flex: 0 0 auto;
		color: var(--ahan-color-brand-blue);
		font-size: 1.2rem;
		transform: rotate(0deg);
		transition: transform 0.16s ease;
	}

	.ahan-product-section.is-active .ahan-product-section__toggle span:last-child {
		transform: rotate(90deg);
	}

	.ahan-product-section h2 {
		display: none;
	}

	.ahan-product-section p {
		padding: 0 14px 14px;
		font-size: 0.9rem;
		line-height: 1.48;
	}

	.ahan-product-section--note {
		padding: 0;
	}

	.ahan-product-section__content[hidden] {
		display: none;
	}

	.ahan-product-section dl div {
		grid-template-columns: minmax(104px, 0.58fr) minmax(0, 1fr);
		gap: 10px;
		padding: 9px 14px;
		font-size: 0.84rem;
	}
}
