.beauty-product > *, .beauty-details > * { min-width: 0; }
.beauty-info h1 { overflow-wrap: anywhere; font-size: clamp(23px, 2.5vw, 32px); line-height: 1.35; }
.product-photo-open { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: zoom-in; }
.beauty-photo .product-photo-open img { width: auto; height: auto; max-width: 90%; max-height: 400px; object-fit: contain; }
.beauty-photo-caption { font-size: 13px; line-height: 1.5; letter-spacing: 0; color: #58675e; text-align: center; }
.detail-facts { margin: 16px 0; }
.detail-hit { display: inline-block; padding: 5px 10px; border-radius: 8px; background: #edf4e9; color: #41644b; font-size: 13px; }
.beauty-description-text { line-height: 1.75; overflow-wrap: anywhere; }
.beauty-characteristics th, .beauty-characteristics td { overflow-wrap: anywhere; }
.product-photo-open:focus-visible, .product-mobile-purchase button:focus-visible, .photo-dialog-heading button:focus-visible { outline: 3px solid #87536b; outline-offset: 4px; }
.product-photo-active { overflow: hidden; }
.product-photo-dialog { width: min(800px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 20px; border: 1px solid #e6dddd; border-radius: 18px; color: #263d32; background: #fff; }
.product-photo-dialog::backdrop { background: rgb(20 35 29 / 65%); }
.photo-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-dialog-heading h2 { font-size: 18px; margin: 0; }
.photo-dialog-heading button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e5d9dc; border-radius: 50%; background: #faf1f3; cursor: pointer; }
.photo-dialog-image { display: flex; justify-content: center; align-items: center; min-height: 180px; margin: 16px 0; background: #faf8f6; }
.photo-dialog-image img { width: auto; height: auto; max-width: 100%; max-height: 65dvh; object-fit: contain; }
.product-photo-dialog p { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.product-mobile-purchase { display: none; }
@media (max-width: 650px) {
    .beauty-photo .product-photo-open img { max-height: 280px; }
    .beauty-info { padding: 20px 16px; }
    .beauty-price-box { padding: 16px; }
    .beauty-buy-button { min-height: 52px; font-size: 16px; }
    .beauty-details { gap: 20px; }
    body.has-product-purchase { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
    .product-mobile-purchase:not([hidden]) { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e5d9dc; box-shadow: 0 -4px 20px rgb(36 58 45 / 8%); }
    .product-mobile-purchase span { display: block; font-size: 12px; color: #58675e; }
    .product-mobile-purchase strong { font-size: 20px; white-space: nowrap; }
    .product-mobile-purchase button { min-height: 48px; padding: 10px 16px; border: 0; border-radius: 10px; background: #456653; color: white; font: inherit; font-weight: 700; }
    body.cart-open .product-mobile-purchase, .product-photo-active .product-mobile-purchase, body:has(#categoryNav.open) .product-mobile-purchase { display: none; }
}
