/* Consultative product layout v0.1.3. Scoped to product pages. */
.single-kto_product_family { background: #fff; }
.single-kto_product_family .kto-container { width: min(1320px, calc(100% - 64px)); }
.single-kto_product_family .kto-header-main { grid-template-columns: 240px minmax(0, 620px) auto; gap: 36px; }
.single-kto_product_family .kto-header-search { background: #f5f7f9; }
.single-kto_product_family .kto-header-search button { background: transparent; color: #526171; }
.single-kto_product_family .kto-header-search:focus-within { outline: 2px solid var(--kto-red); outline-offset: 3px; }
.single-kto_product_family .kto-nav__list { justify-content: center; }
.single-kto_product_family :focus-visible { outline: 2px solid var(--kto-red); outline-offset: 4px; }
.kto-breadcrumbs { padding: 22px 0 30px; font-size: 14px; color: var(--kto-muted); }
.kto-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; padding: 0; margin: 0; }
.kto-breadcrumbs li { display: flex; align-items: center; gap: 12px; }
.kto-breadcrumbs li + li::before { content: '\203A'; color: var(--kto-muted); }
.kto-breadcrumbs [aria-current] { color: var(--kto-ink); font-weight: 600; }
.kto-product-detail { padding: 4px 0 64px; border: 0; }
.kto-product-detail__grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 48px; align-items: center; }
.kto-gallery, .kto-product-detail__content { min-width: 0; }
.kto-product-detail__media { position: relative; aspect-ratio: 1.12; background: #fff; }
.kto-product-detail__media .kto-gallery__main { width: 100%; height: 100%; object-fit: contain; }
.kto-gallery__thumbs { position: relative; display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin-top: 14px; scrollbar-width: thin; }
.kto-gallery__thumb { flex: 0 0 88px; width: 88px; height: 88px; padding: 4px; background: #fff; border: 1px solid var(--kto-line); border-radius: 5px; cursor: pointer; }
.kto-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.kto-gallery__thumb[aria-current="true"] { border: 2px solid var(--kto-red); padding: 3px; }
.kto-gallery__arrow { position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #344454; background: rgba(238,240,242,.94); cursor: pointer; }
.kto-gallery__arrow:hover { background: #dfe4ea; }
.kto-gallery__arrow--prev { left: 12px; }
.kto-gallery__arrow--next { right: 12px; }
.kto-gallery [hidden] { display: none; }
.kto-product-detail h1 { font-size: 46px; line-height: 1.12; margin: 16px 0 0; overflow-wrap: anywhere; letter-spacing: 0; }
.kto-product-detail__category { font-size: 14px; }
.kto-product-detail__summary { font-size: 18px; line-height: 1.65; margin-top: 18px; }
.kto-product-detail__actions { margin-top: 26px; }
.kto-product-detail__actions .kto-btn { gap: 12px; min-height: 58px; font-size: 18px; padding: 16px 24px; }
.kto-product-detail__actions .dashicons { width: 26px; height: 26px; font-size: 26px; }
.kto-product-notices { display: grid; gap: 22px; padding: 0; margin: 34px 0 0; list-style: none; }
.kto-product-notices li { display: flex; align-items: flex-start; gap: 16px; }
.kto-product-notices .dashicons { width: 30px; height: 30px; font-size: 30px; flex: 0 0 30px; color: #526171; margin-top: 2px; }
.kto-product-notices li:first-child .dashicons { color: #198349; }
.kto-product-notices strong { font-size: 18px; line-height: 1.3; }
.kto-product-notices p { margin: 3px 0 0; color: var(--kto-muted); line-height: 1.5; }
.kto-product-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 26px 0 0; margin: 32px 0 0; border-top: 1px solid var(--kto-line); }
.kto-product-benefits li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.kto-product-benefits .dashicons { width: 26px; height: 26px; font-size: 26px; flex: 0 0 26px; color: #344454; }
.kto-product-benefits strong { display: block; font-size: 13px; }
.kto-product-benefits span:not(.dashicons) { display: block; font-size: 12px; color: var(--kto-muted); }
@media (max-width: 1060px) {
	.single-kto_product_family .kto-header-main { grid-template-columns: 1fr auto; gap: 16px; }
	.single-kto_product_family .kto-header-search { grid-row: 2; grid-column: 1 / -1; }
	.kto-mobile-header-compact .single-kto_product_family .kto-header-search:not(:focus-within) { display: none; }
	.kto-product-detail__grid { gap: 32px; }
	.kto-product-detail h1 { font-size: 34px; }
	.kto-product-benefits { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 800px) {
	.single-kto_product_family .kto-container { width: calc(100% - 32px); }
	.kto-product-detail__grid { grid-template-columns: 1fr; gap: 32px; }
	.kto-product-detail__media { aspect-ratio: 1.12; }
	.kto-product-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kto-product-benefits li { flex-direction: column; }
	.kto-product-detail__actions .kto-btn { width: 100%; }
	.kto-breadcrumbs { padding: 20px 0 24px; font-size: 12px; }
	.kto-product-detail { padding-bottom: 40px; }
}
