:root { --uqora-navy: #023866; --uqora-coral: #c94b2d; --uqora-coral-hover: #a93920; --uqora-pale: #eef7fb; --uqora-border: #bed7e3; --uqora-sale-red: #c62828; }

/* Header, navigation, and links */
#header .nav > li > a, #header .header-nav > li > a { color: var(--uqora-navy) !important; }
#header .nav > li > a:hover, #header .nav > li.active > a, #header .nav > li.current-menu-item > a,
.mfp-content .nav-sidebar > li > a:hover { color: var(--uqora-coral) !important; }
.mfp-content .nav-sidebar > li > a { color: var(--uqora-navy) !important; }

/* Real WooCommerce sale badges and prices */
body .badge-inner.on-sale, body .badge-inner.secondary.on-sale { background: var(--uqora-sale-red) !important; color: #fff !important; border-radius: 5px; }
body .badge-inner.on-sale .onsale { color: #fff !important; }
body .price ins, body .price ins .amount, body .price ins bdi { color: var(--uqora-sale-red) !important; text-decoration: none; }
body .price del, body .price del .amount { color: #61778a !important; }

/* Native purchase, checkout, and primary controls */
body .button.primary:not(.is-outline), body .button.alt:not(.is-outline),
body button.single_add_to_cart_button, body .woocommerce button.button.alt,
body .woocommerce a.button.alt, body .woocommerce .button.add_to_cart_button,
body .wc-proceed-to-checkout .button, body #place_order {
  background: var(--uqora-coral) !important; border-color: var(--uqora-coral) !important; color: #fff !important;
  box-shadow: none !important; border-radius: 6px;
}
body .button.primary:not(.is-outline):hover, body .button.alt:not(.is-outline):hover,
body button.single_add_to_cart_button:hover, body .woocommerce button.button.alt:hover,
body .woocommerce a.button.alt:hover, body .woocommerce .button.add_to_cart_button:hover,
body .wc-proceed-to-checkout .button:hover, body #place_order:hover {
  background: var(--uqora-coral-hover) !important; border-color: var(--uqora-coral-hover) !important; color: #fff !important;
}
body :is(a, button, input):focus-visible { outline: 2px solid var(--uqora-navy); outline-offset: 3px; }
body .woocommerce-pagination .page-number.current { background: var(--uqora-coral) !important; border-color: var(--uqora-coral) !important; color: #fff !important; }
body .woocommerce-pagination a.page-number { color: var(--uqora-navy); }

/* Footer 2 retains its existing provider and columns. */
body .footer-2 { background: var(--uqora-pale) !important; color: var(--uqora-navy) !important; border-top: 1px solid var(--uqora-border); }
body .footer-2 .widget, body .footer-2 p, body .footer-2 h3, body .footer-2 h4 { color: var(--uqora-navy) !important; }
body .footer-2 a { color: var(--uqora-navy) !important; text-decoration: none; }
body .footer-2 a:hover, body .footer-2 a:focus-visible { color: var(--uqora-coral) !important; text-decoration: underline; }
body .absolute-footer { background: #e2f0f6 !important; color: var(--uqora-navy) !important; }
body .absolute-footer a { color: var(--uqora-navy) !important; }
body .absolute-footer a:hover { color: var(--uqora-coral) !important; }
#custom_html-3 .uqora-footer-shop h4 { font-size: 15px; line-height: 1.4; font-weight: 700; margin: 0 0 16px; }
#custom_html-3 .uqora-footer-shop-menu { list-style: none; margin: 0; padding: 0; }
#custom_html-3 .uqora-footer-shop-menu > li { list-style: none; margin: 0 0 12px; padding: 0; border: 0; font-size: 12px; line-height: 1.5; }
#custom_html-3 .uqora-footer-shop-menu > li::before { display: none; }
#custom_html-3 .uqora-footer-shop-menu > li > a { display: inline-block; }
#custom_html-6 .custom-html-widget > div { background: transparent !important; color: var(--uqora-navy) !important; }
#custom_html-6 h3, #custom_html-6 p { color: var(--uqora-navy) !important; }
#custom_html-6 input[type=email] { background: #fff !important; border: 1px solid var(--uqora-border) !important; color: var(--uqora-navy) !important; }
#custom_html-6 input[type=email]::placeholder { color: #516d80; opacity: 1; }
#custom_html-6 button[type=submit] { background: var(--uqora-coral) !important; color: #fff !important; border: 1px solid var(--uqora-coral) !important; }
#custom_html-6 button[type=submit]:hover { background: var(--uqora-coral-hover) !important; border-color: var(--uqora-coral-hover) !important; }
body .back-to-top { border-color: var(--uqora-navy) !important; color: var(--uqora-navy) !important; }

/* Flatsome Quick View is available on every native product card. */
body .product-small .box-image .image-tools.grid-tools {
  display: flex !important;
  left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100% !important; transform: translateY(0) !important;
  pointer-events: auto !important;
}
body .product-small .box-image .image-tools.grid-tools .quick-view {
  display: block !important; width: 100% !important; margin: 0 !important;
  padding: 9px 8px !important; border-radius: 0 !important;
  background: rgba(2, 56, 102, .96) !important; color: #fff !important;
  font-weight: 700 !important; letter-spacing: .04em; line-height: 1.25;
  text-align: center; text-transform: uppercase;
}
body .product-small .box-image .image-tools.grid-tools .quick-view:hover,
body .product-small .box-image .image-tools.grid-tools .quick-view:focus-visible {
  background: var(--uqora-coral) !important; color: #fff !important;
}
@media (min-width: 768px) {
  body .product-small .box-image:not(:hover):not(:focus-within) .image-tools.grid-tools {
    opacity: 0 !important; pointer-events: none !important;
  }
  body .product-small .box-image:is(:hover, :focus-within) .image-tools.grid-tools {
    opacity: 1 !important;
  }
}
@media (max-width: 767px) {
  body .product-small .box-image .image-tools.grid-tools { opacity: 1 !important; }
  body .product-small .box-image .image-tools.grid-tools .quick-view {
    padding: 8px 5px !important; font-size: 11px !important;
  }
}

/* Native archive controls and long-form pages use the storefront palette. */
body .widget_price_filter .price_slider_amount .button {
  background: var(--uqora-coral) !important; border-color: var(--uqora-coral) !important;
  color: #fff !important; border-radius: 6px !important;
}
body .widget_price_filter .price_slider_amount .button:hover {
  background: var(--uqora-coral-hover) !important; border-color: var(--uqora-coral-hover) !important;
}
body:is(.page-id-300, .page-id-303, .page-id-304, .page-id-305, .page-id-306, .page-id-307, .page-id-313) .entry-content {
  max-width: 980px; margin: 0 auto; padding: 28px 18px 55px;
  color: #24445e; line-height: 1.7;
}
body:is(.page-id-300, .page-id-303, .page-id-304, .page-id-305, .page-id-306, .page-id-307, .page-id-313) .entry-content :is(h1, h2, h3) {
  color: var(--uqora-navy) !important;
}

/* Working contact form and its return-home confirmation. */
.uqora-contact-page { max-width: 1080px; margin: 36px auto 70px; padding: 0 18px; }
.uqora-contact-page h1 { color: var(--uqora-navy); margin-bottom: 12px; }
.uqora-contact-page > p { color: #24445e; font-size: 17px; line-height: 1.6; }
.uqora-contact-form { background: var(--uqora-pale); border: 1px solid var(--uqora-border); border-radius: 16px; padding: 30px; margin-top: 25px; }
.uqora-contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.uqora-contact-form p { margin: 0 0 20px; }
.uqora-contact-form p:last-child { margin-bottom: 0; }
.uqora-contact-form label { display: block; color: var(--uqora-navy); font-weight: 700; margin-bottom: 6px; }
.uqora-contact-form :is(input:not([type=hidden]), textarea) {
  display: block; width: 100%; background: #fff; color: var(--uqora-navy);
  border: 1px solid var(--uqora-border); border-radius: 6px; padding: 12px 14px;
  box-sizing: border-box; font: inherit;
}
.uqora-contact-form :is(input, textarea):focus-visible { outline: 2px solid var(--uqora-navy); outline-offset: 2px; }
.uqora-contact-form button { min-width: 190px; }
.uqora-contact-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .uqora-contact-page { margin-top: 24px; }
  .uqora-contact-form { padding: 20px; }
  .uqora-contact-form__row { grid-template-columns: 1fr; gap: 0; }
}
.uqora-contact-dialog {
  width: min(460px, calc(100vw - 32px)); max-width: none; padding: 32px;
  border: 1px solid var(--uqora-border); border-radius: 16px;
  background: #fff; color: var(--uqora-navy);
  box-shadow: 0 24px 60px rgba(2, 56, 102, .22);
}
.uqora-contact-dialog::backdrop { background: rgba(2, 32, 58, .55); }
.uqora-contact-dialog h2 { color: var(--uqora-navy); font-size: 26px; margin: 0 28px 12px 0; }
.uqora-contact-dialog p { color: #24445e; line-height: 1.6; margin: 0 0 22px; }
.uqora-contact-dialog__close {
  position: absolute; top: 12px; right: 14px; width: 32px !important;
  min-width: 0 !important; height: 32px !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important;
  box-shadow: none !important; background: transparent !important;
  color: var(--uqora-navy) !important; font-size: 30px !important;
  font-weight: 400 !important; line-height: 1 !important; cursor: pointer;
}
