/* Account and vendor pages only. Preserve native visibility, forms and permissions. */
body.ld-readable { --ld-view-gap:20px; }
body.ld-readable .content-container.site-container { max-width:1440px; width:100%; }
body.ld-readable .content-area { margin-top:24px; margin-bottom:32px; }
body.ld-readable .entry-content-wrap { padding:24px; }
body.ld-readable .entry-content { font-size:16px; line-height:1.55; }
body.ld-readable .entry-content p { margin-top:0; margin-bottom:16px; }
body.ld-readable .entry-content :is(h1,h2,h3) { line-height:1.3; margin-top:24px; margin-bottom:16px; }
body.ld-readable .entry-content :is(input,select,textarea,button) { font-size:16px; }
body.ld-readable .entry-content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=submit]),select) { min-height:44px; max-width:100%; }
body.ld-readable .entry-content :is(button,.button,.wcv-button) { min-height:44px; }
body.ld-readable .entry-content textarea { min-height:112px; max-width:100%; }
body.ld-readable .entry-content :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #2269b0!important; outline-offset:3px; }
body.ld-readable .woocommerce form :is(.form-row,fieldset) { margin-bottom:16px; }
body.ld-readable .woocommerce fieldset { padding:16px; min-width:0; }
body.ld-readable .woocommerce fieldset legend { font-weight:700; padding:0 6px; }
body.ld-readable .woocommerce-MyAccount-content { min-width:0; overflow-wrap:anywhere; }
body.ld-readable .woocommerce-MyAccount-navigation a { display:block; padding:10px 14px; min-height:44px; }
body.ld-readable .woocommerce-MyAccount-navigation a[href*="vendor_dashboard"]::before,
body.ld-readable .woocommerce-MyAccount-navigation a[href*="vendor-dashboard"]::before { content:none!important; display:none!important; }
body.ld-readable .wcv-grid { font-size:16px; line-height:1.5; min-width:0; }
body.ld-readable .wcv-grid :is(.wcv-gap-bottom,.wcv-bottom-space,.wcv-section-gap,.wcv-dashboard-nav-wrapper) { margin-bottom:20px!important; }
body.ld-readable .wcv-grid .wcv-gap-top { margin-top:20px!important; }
body.ld-readable .wcv-grid .wcv-section { padding:20px!important; border-radius:12px!important; }
body.ld-readable .wcv-grid .wcv-section .wcv-section-header { margin-bottom:16px!important; gap:12px!important; }
body.ld-readable .wcv-grid .wcv-sales-snapshot-content .wcv-sales-snapshot-item { padding:24px 16px!important; height:auto!important; }
body.ld-readable .wcv-grid .wcv-form .control-group { margin-bottom:16px!important; line-height:1.5; }
body.ld-readable .wcv-grid .wcv-form .control-group.no-margin { margin-bottom:0!important; }
body.ld-readable .wcv-grid .wcv-filter-wrapper .control-group { margin-bottom:12px!important; }
body.ld-readable .wcv-grid .wcv-filter-wrapper { margin-top:16px!important; margin-bottom:20px!important; }
body.ld-readable .wcv-grid .wcv-navigation .wcv-dashboard-nav-item-link { padding:12px 16px; min-height:48px; }
body.ld-readable .wcv-grid .wcv-product-media { padding:20px; margin-top:16px; }
body.ld-readable .wcv-grid #wcv-product-edit>div.wcv_desktop[style],
body.ld-readable .wcv-grid #wcv-product-edit>div.wcv_mobile[style] { margin-top:16px!important; margin-bottom:20px!important; }
body.ld-readable .wcv-grid table :is(th,td) { padding:12px 14px; line-height:1.5; vertical-align:top; }
body.ld-readable .wcv-grid table .row-actions .row-action-item { margin-bottom:8px; }
body.ld-readable .wcv-grid table .row-actions a { display:inline-block; min-height:36px; padding-top:4px; padding-bottom:4px; }
body.ld-readable .ld-table-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
body.ld-readable .ld-table-scroll>table { width:100%; margin-bottom:8px; }
body.ld-readable .ld-table-scroll:focus-visible { outline:3px solid #2269b0; outline-offset:2px; }
@media(max-width:767px) {
 body.ld-readable .site-container { padding-left:12px; padding-right:12px; }
 body.ld-readable .entry-content-wrap { padding:16px; }
 body.ld-readable .content-area { margin-top:16px; }
 body.ld-readable .woocommerce-MyAccount-navigation,
 body.ld-readable .woocommerce-MyAccount-content { float:none!important; width:100%!important; }
 body.ld-readable .woocommerce-MyAccount-navigation { margin-bottom:20px; }
 body.ld-readable .woocommerce-MyAccount-navigation ul { display:flex; flex-wrap:wrap; gap:4px; padding:0; }
 body.ld-readable .woocommerce-MyAccount-navigation li { list-style:none; margin:0; }
 body.ld-readable .wcv-grid .wcv-section { padding:16px!important; }
 body.ld-readable .wcv-grid .wcv-navigation .wcv-dashboard-nav-item-link { padding:10px 12px; }
 body.ld-readable .wcv-grid .wcv-filter-wrapper [class*="all-"] { width:100%; }
 body.ld-readable .ld-table-scroll>table.ld-wide-table { min-width:620px; }
}
@media(prefers-reduced-motion:reduce) { body.ld-readable * { scroll-behavior:auto!important; } }
/* Product previews: contain the complete item, rather than cropping parts. */
body.ld-readable .wcv-grid .wcv-thumb-wrap>img { width:80px!important; height:80px!important; max-width:80px!important; object-fit:contain!important; }
body.ld-readable .wcv-grid .wcv-featuredimg.has-image { width:220px!important; height:220px!important; max-width:100%; }
body.ld-readable .wcv-grid .wcv-featuredimg.has-image img { width:100%; height:100%; object-fit:contain!important; }
body.ld-readable .wcv-grid .wcv-media-uploader-featured-replace { max-width:220px; margin-top:12px; padding:10px 12px!important; }
body.ld-readable .wcv-grid #product_images_container ul { gap:16px; }
body.ld-readable .wcv-grid #product_images_container ul.has-images { grid-template-columns:repeat(auto-fill,112px); }
body.ld-readable .wcv-grid #product_images_container ul li.wcv-gallery-image { width:112px; height:112px; }
body.ld-readable .wcv-grid #product_images_container ul li.wcv-gallery-image img { object-fit:contain; }
body.ld-readable .wcv-grid .wcv-order-thumb img { object-fit:contain!important; }
@media(max-width:767px) {
 body.ld-readable .wcv-grid .wcv-thumb-wrap>img { width:64px!important; height:64px!important; max-width:64px!important; }
 body.ld-readable .wcv-grid .wcv-featuredimg.has-image { width:160px!important; height:160px!important; }
 body.ld-readable .wcv-grid #product_images_container ul.has-images { grid-template-columns:repeat(auto-fill,88px); }
 body.ld-readable .wcv-grid #product_images_container ul li.wcv-gallery-image { width:88px; height:88px; }
}
/* The shared Kadence footer is compact on every public page. */
#colophon .site-bottom-footer-inner-wrap { padding-top:18px!important; padding-bottom:18px!important; min-height:0!important; row-gap:8px; }
#colophon .footer-widget-area-inner { font-size:14px; line-height:1.5; }
#colophon .footer-widget-area-inner .widget { margin-bottom:8px; }
#colophon .footer-widget-area-inner .widget:last-child { margin-bottom:0; }
#colophon .footer-widget-area-inner p { margin-top:0; margin-bottom:0; }
#colophon .footer-widget-area-inner .widget:has(>p:empty) { display:none; }
