/*
 * Performance Watcher — Global Custom CSS
 * Child theme Salient · v2.4
 */

/* Reset WP 6.1+ underline on links */
a:where(:not(.wp-element-button)) { text-decoration: none !important; }

/* Icons hero (homepage + subscription) */
#icons-hero .col .iwithtext .iwt-icon img:not([srcset]) { width: 20px; }
#icons-hero .iwithtext .iwt-text { padding-left: 30px; }
#icons-hero .iwithtext .iwt-icon { top: 4px; }

/* Header dropdowns — border radius */
#search-outer .ui-widget-content,
body:not([data-header-format="left-header"]) #header-outer .sf-menu li ul,
#header-outer nav > ul > .megamenu > .sub-menu,
body #header-outer nav > ul > .megamenu > .sub-menu > li > a,
#header-outer .widget_shopping_cart .cart_list a,
#header-secondary-outer ul ul li a,
#header-outer .widget_shopping_cart .cart_list li,
.woocommerce .cart-notification,
#header-outer .widget_shopping_cart_content {
    border-radius: 0 20px 20px 20px;
}

/* Testimonials */
.nectar_single_testimonial[data-style="bold"] p span { font-size: 16px; line-height: 16px; margin-bottom: 10px; }
.open-quote { font-size: 110px !important; line-height: 110px !important; margin-bottom: -30px !important; }

/* Border radius — override salient-dynamic-styles.css (200px → 0 30px 30px 30px)
   Must mirror exact selectors from Salient to win !important specificity battle */
.nectar-inherit-border-radius,
body[data-button-style^="rounded"] .nectar-cta:not([data-style="material"]) .link_wrap,
body[data-button-style^="rounded"] .nectar-button.see-through,
body[data-button-style^="rounded"] .nectar-button.see-through-2,
body[data-button-style^="rounded"] .nectar-button.see-through-3,
body[data-button-style^="rounded"] .portfolio-filters-inline .container ul li a,
body[data-button-style^="rounded"] .slide-out-widget-area-toggle[data-custom-color="true"] a:before,
body[data-button-style^="rounded"] #to-top,
body[data-button-style^="rounded"] .flex-direction-nav a,
body[data-button-style^="rounded"] #pagination span,
body[data-button-style^="rounded"] #pagination a,
body[data-button-style^="rounded"] #pagination .next.inactive,
body[data-button-style^="rounded"] #pagination .prev.inactive,
body[data-button-style^="rounded"].woocommerce nav.woocommerce-pagination ul li a,
body[data-button-style^="rounded"].woocommerce .container-wrap nav.woocommerce-pagination ul li span,
body[data-button-style^="rounded"] .container-wrap nav.woocommerce-pagination ul li span,
body[data-button-style^="rounded"].woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body[data-button-style^="rounded"] #infscr-loading,
body[data-button-style^="rounded"] input[type="submit"],
body[data-button-style^="rounded"] button[type="submit"],
body[data-button-style^="rounded"] input[type="button"],
body[data-button-style^="rounded"] button,
body[data-button-style^="rounded"] .nectar-button,
body[data-button-style^="rounded"] .swiper-slide .button a,
body[data-button-style^="rounded"] #top nav > ul > li[class*="button_solid_color"] > a:before,
body[data-button-style^="rounded"] #top nav > ul > li[class*="button_bordered"] > a:before,
body[data-button-style^="rounded"] .woocommerce.add_to_cart_inline a.button.add_to_cart_button,
body[data-button-style^="rounded"] #header-outer .widget_shopping_cart a.button,
.nectar-slide-in-cart.style_slide_in_click .widget_shopping_cart a.button,
li[class*="menu-item-btn-style"] > a:before,
li[class*="menu-item-btn-style"] > a:after {
    border-radius: 0 30px 30px 30px !important;
}

.force-radius .column-bg-overlay { border-radius: 0 20px 20px 20px !important; }

/* Responsive header */
@media (max-width: 1550px) { .menu-title-text { font-size: 16px; } }
@media (max-width: 1450px) {
    .menu-title-text { font-size: 14px; }
    #header-outer #logo img,
    #header-outer .logo-clone img,
    #header-outer .logo-spacing img { height: 55px; }
}

/* 7th menu item dropdown width (fragile: depends on menu order) */
.sf-menu > li:nth-child(7) ul { width: 7em !important; }