/* Shared single-product shell. Product copy, media and controls stay editable. */
/* WooCommerce inserts this wrapper around the template's main block. */
.woocommerce.product:has(> .fs-product) { max-width: none; margin: 0; padding: 0; }
.tovari-main.fs-product {
    width: var(--fs-shell);
    max-width: 1080px;
    margin-inline: auto;
    padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px);
}
.fs-product > .woocommerce { margin: 0 0 28px; padding: 0; }
.fs-product > .wc-block-store-notices:has(.woocommerce-notices-wrapper:empty) { margin: 0; }
.fs-product .woocommerce-breadcrumb { margin: 0; }
.fs-product .tovari-product-layout { gap: clamp(28px, 4vw, 56px); margin-bottom: 40px; }
.fs-product .tovari-product-layout > .wp-block-column { min-width: 0; }
.fs-product .tovari-product-summary h1 { font-size: clamp(36px, 3.5vw, 48px); overflow-wrap: anywhere; }
.fs-product .tovari-product-summary { overflow-wrap: anywhere; }
.fs-product .wp-block-woocommerce-product-image-gallery { max-width: none; }
.fs-product .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery { margin-bottom: 0; }

/* Keep native tabs and review validation; give their controls the site styling. */
.fs-product .woocommerce-tabs { padding-top: 24px; border-top: 1px solid var(--wp--preset--color--line); }
.fs-product .comment-form { max-width: 720px; }
.fs-product .comment-form :is(.comment-form-author, .comment-form-email, .comment-form-comment) label { display: block; margin-bottom: 6px; }
.fs-product .comment-form :is(input[type=text], input[type=email], textarea),
.fs-product .quantity .qty {
    min-height: 44px;
    border: 1px solid var(--site-color-navy);
    border-radius: 2px;
    background: white;
    color: var(--site-color-navy);
    padding: 10px 12px;
}
.fs-product .comment-form :is(input[type=text], input[type=email], textarea) { width: 100%; }
.fs-product #review_form #respond textarea { min-height: 144px; }
.fs-product .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
.fs-product .comment-form-cookies-consent input { flex: 0 0 auto; margin-top: 6px; }
.fs-product #review_form #respond .form-submit input,
.fs-product .single_add_to_cart_button {
    min-height: 44px;
    padding: 12px 22px;
    border: 2px solid var(--site-color-navy);
    border-radius: 2px;
    background: var(--site-color-navy);
    color: white;
    font: inherit;
    font-weight: 600;
}
.fs-product .wc-block-product-template > .wc-block-product { display: flex; flex-direction: column; min-width: 0; }
.fs-product .wc-block-product-template .wp-block-woocommerce-product-button { margin-top: auto; padding-top: 16px; }
