/* Standard EuroSmart WooCommerce single-product layout. Product data stays native to WooCommerce. */
html:has(body.single-product) { overflow-x: clip; }
body.single-product { overflow-x: clip; background: var(--es-surface, #f5f8fc); color: var(--es-ink, #12213f); }
body.single-product .site-content { display: block; width: 100%; }
body.single-product #primary { float: none; width: 100%; max-width: 100%; }
body.single-product #secondary { display: none; }
body.single-product .es-page-hero,
body.single-product .es-hero-engine,
body.single-product .es-product-hero,
body.single-product .espd-hero { display: none !important; }
body.single-product .inside-article { box-sizing: border-box; padding: clamp(18px, 3vw, 38px); background: transparent; }
body.single-product .entry-content { width: 100%; max-width: none; margin: 0; }
body.single-product .woocommerce-breadcrumb { width: min(100%, 1320px); margin: 0 auto 18px; color: var(--es-muted, #63728a); font-size: 13px; }
body.single-product .woocommerce-breadcrumb a { color: var(--es-blue, #244594); text-decoration: none; }
body.single-product .woocommerce-notices-wrapper { width: min(100%, 1320px); margin: 0 auto 14px; }
body.single-product div.product { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: start; gap: clamp(24px, 4vw, 58px); width: min(100%, 1320px); margin: 0 auto clamp(48px, 7vw, 84px); padding: clamp(18px, 3vw, 38px); border: 1px solid var(--es-border, #e2e9f3); border-radius: var(--es-radius-lg, 16px); background: var(--es-white, #fff); box-shadow: var(--es-shadow-sm, 0 8px 24px rgba(12, 39, 83, .07)); }
body.single-product div.product::before, body.single-product div.product::after { display: none; content: none; }
body.single-product div.product div.images, body.single-product div.product div.summary { float: none !important; box-sizing: border-box; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; }
body.single-product div.product div.images { position: relative; }
body.single-product .woocommerce-product-gallery__wrapper { overflow: hidden; border: 1px solid #e8eef6; border-radius: 15px; background: linear-gradient(145deg, #f7faff, #fff 62%); }
body.single-product .woocommerce-product-gallery__image { display: grid; min-height: clamp(320px, 30vw, 430px); place-items: center; padding: clamp(20px, 4vw, 54px); }
body.single-product .woocommerce-product-gallery__image img { width: 100%; max-height: 540px; object-fit: contain; }
body.single-product .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0 !important; padding: 0; }
body.single-product .flex-control-thumbs li { float: none; width: 100% !important; margin: 0; overflow: hidden; border: 1px solid var(--es-border, #e2e9f3); border-radius: 9px; }
body.single-product .flex-control-thumbs img { width: 100%; margin: 0; }
body.single-product div.product .summary { padding: clamp(4px, 1vw, 12px) 0; }
body.single-product .product_title { margin: 0 0 14px; color: var(--es-blue-dark, #071b49); font-size: clamp(29px, 3.3vw, 43px); font-weight: 800; letter-spacing: -.035em; line-height: 1.16; }
body.single-product .summary .woocommerce-product-rating { margin: 0 0 13px; }
body.single-product .summary .star-rating span::before { color: #f5a623; }
body.single-product div.product p.price, body.single-product div.product span.price { margin: 0 0 18px; color: var(--es-blue, #244594); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
body.single-product .summary .woocommerce-product-details__short-description { margin: 0 0 22px; color: #435570; font-size: 15px; line-height: 1.75; }
body.single-product .summary .product_title { margin: 0 0 14px !important; color: var(--es-blue, #244594) !important; font-size: clamp(22px, 2.4vw, 29px) !important; font-weight: 780 !important; letter-spacing: -.02em; line-height: 1.25 !important; }
body.single-product .summary .stock { color: #237a4b; font-size: 13px; font-weight: 700; }
body.single-product div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0; }
body.single-product div.product form.cart .quantity { margin: 0; }
body.single-product div.product form.cart .quantity .qty { box-sizing: border-box; width: 76px; min-height: 48px; border: 1px solid #d4dfed; border-radius: 9px; background: #fff; color: var(--es-ink, #12213f); }
body.single-product div.product form.cart .single_add_to_cart_button { min-height: 48px; padding: 12px 24px; border: 0; border-radius: 9px; background: var(--es-red, #ed1c24); color: #fff; font-size: 14px; font-weight: 800; }
body.single-product div.product form.cart .single_add_to_cart_button:hover { background: #c91520; }
body.single-product .product_meta { display: grid; gap: 8px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--es-border, #e2e9f3); color: var(--es-muted, #63728a); font-size: 12px; }
body.single-product .product_meta a { color: var(--es-blue, #244594); text-decoration: none; }
body.single-product div.product > .woocommerce-tabs, body.single-product div.product > .related.products, body.single-product div.product > .up-sells.upsells { grid-column: 1 / -1; width: 100%; max-width: 1240px; justify-self: center; }
body.single-product .woocommerce-tabs, body.single-product .related.products, body.single-product .up-sells.upsells { margin: 0 auto clamp(42px, 6vw, 72px); }
body.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; background: transparent; }
body.single-product .woocommerce-tabs ul.tabs::before, body.single-product .woocommerce-tabs ul.tabs::after, body.single-product .woocommerce-tabs ul.tabs li::before, body.single-product .woocommerce-tabs ul.tabs li::after { display: none; content: none; }
body.single-product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 999px; background: #eaf1fb; }
body.single-product .woocommerce-tabs ul.tabs li a { padding: 11px 18px; color: #455a78; font-weight: 750; }
body.single-product .woocommerce-tabs ul.tabs li.active { background: var(--es-blue, #244594); }
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
body.single-product .woocommerce-Tabs-panel { padding: clamp(18px, 3vw, 30px); border: 1px solid var(--es-border, #e2e9f3); border-radius: var(--es-radius-md, 12px); background: #fff; color: #435570; line-height: 1.8; }
body.single-product .woocommerce-Tabs-panel > h2 { margin: 0 0 14px; color: var(--es-blue-dark, #071b49); font-size: clamp(20px, 2vw, 24px); font-weight: 780; line-height: 1.3; }
body.single-product .woocommerce-Tabs-panel p:last-child { margin-bottom: 0; }
body.single-product .woocommerce-Tabs-panel a { color: var(--es-blue, #244594); text-underline-offset: 3px; }
body.single-product .es-product-spec-sheet h2 { margin: 0 0 10px; color: var(--es-blue-dark, #071b49); font-size: 20px; font-weight: 780; line-height: 1.35; }
body.single-product .es-product-spec-sheet a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 15px; border: 1px solid #d7e5f7; border-radius: 8px; background: #eef5fd; font-size: 13px; font-weight: 730; text-decoration: none; }
body.single-product .es-product-spec-sheet a:hover { border-color: var(--es-blue, #244594); background: #e4effc; }
body.single-product .related.products > h2, body.single-product .up-sells.upsells > h2 { margin: 0 0 20px; color: var(--es-blue-dark, #071b49); font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; }
body.single-product .related ul.products, body.single-product .up-sells ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
body.single-product .related ul.products::before, body.single-product .related ul.products::after, body.single-product .up-sells ul.products::before, body.single-product .up-sells ul.products::after { display: none; content: none; }
body.single-product .related ul.products li.product, body.single-product .up-sells ul.products li.product { float: none; box-sizing: border-box; width: auto; margin: 0; padding: 14px; border: 1px solid var(--es-border, #e2e9f3); border-radius: var(--es-radius-md, 12px); background: #fff; box-shadow: 0 6px 20px rgba(12, 39, 83, .05); }
body.single-product .related ul.products li.product img, body.single-product .up-sells ul.products li.product img { width: 100%; border-radius: 8px; }
body.single-product .related ul.products li.product .woocommerce-loop-product__title, body.single-product .up-sells ul.products li.product .woocommerce-loop-product__title { color: var(--es-blue-dark, #071b49); font-weight: 750; }
body.single-product .related ul.products li.product .button, body.single-product .up-sells ul.products li.product .button { border-radius: 7px; background: var(--es-blue, #244594); color: #fff; }

@media (max-width: 800px) {
	body.single-product .inside-article { padding: 16px; }
	body.single-product div.product { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 16px; }
	body.single-product .woocommerce-product-gallery__image { min-height: min(88vw, 520px); padding: 22px; }
	body.single-product div.product .summary { padding: 0; }
	body.single-product .related ul.products, body.single-product .up-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
	body.single-product #page, body.single-product .site, body.single-product .site-content, body.single-product .content-area, body.single-product .inside-article, body.single-product .entry-content, body.single-product .woocommerce, body.single-product div.product { box-sizing: border-box; min-width: 0; max-width: 100%; }
	body.single-product .inside-article { padding: 12px; }
	body.single-product .woocommerce-breadcrumb { margin-bottom: 12px; font-size: 11px; }
	body.single-product div.product { margin-bottom: 38px; padding: 12px; border-radius: 12px; }
	body.single-product .woocommerce-product-gallery__image { min-height: 88vw; padding: 14px; }
	body.single-product .product_title { font-size: 28px; }
	body.single-product div.product form.cart { align-items: stretch; }
	body.single-product div.product form.cart .quantity .qty { width: 68px; }
	body.single-product div.product form.cart .single_add_to_cart_button { flex: 1; padding-inline: 14px; }
	body.single-product .woocommerce-tabs ul.tabs { flex-wrap: wrap; }
	body.single-product .woocommerce-tabs ul.tabs li a { padding: 9px 13px; font-size: 12px; }
	body.single-product .woocommerce-Tabs-panel > h2 { font-size: 20px; }
	body.single-product .related ul.products, body.single-product .up-sells ul.products { gap: 10px; }
	body.single-product .related ul.products li.product, body.single-product .up-sells ul.products li.product { padding: 9px; }
}
