/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* === HEADER FIXES === */

/* Reduce header-main height */
.header-main, .header-main-wrap {
    height: 85px !important;
}

.header-main .page-width {
    height: 85px !important;
    display: flex !important;
    align-items: center !important;
}

/* Logo sizing */
.header-main .header_logo {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.header-main .header_logo img {
    max-height: 55px;
    width: auto;
}

/* Navigation container */
.header-1 .header-top {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    flex-grow: 1;
    justify-content: flex-end;
}

.header-1 .header-top #pk_top_menu {
    display: flex !important;
    align-items: center !important;
    height: 100%;
}

.header-1 .header-top #top-menu {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    margin: 0;
}

/* Nav items - CRITICAL: position relative for dropdown positioning */
.header-1 .header-top #top-menu > li {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative !important;
}

.header-1 .header-top #top-menu > li > a {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    padding: 0 15px;
    line-height: 1;
}

/* === NAV DROPDOWN FIX === */
/* Force dropdown to appear below the nav item */
#top-menu > li > .pk-sub-menu,
#top-menu > li > ul.pk-sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1000 !important;
    min-width: 260px !important;
}

/* Dropdown column - wider to fit long text */
#top-menu .pk-sub-menu .pk-menu-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Dropdown items - proper spacing and line height */
#top-menu .pk-sub-menu .ul-column li {
    padding: 0 !important;
}

#top-menu .pk-sub-menu .ul-column li a {
    padding: 6px 15px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    display: block !important;
}

#top-menu .pk-sub-menu .ul-column li a:hover {
    color: #2fb5d2 !important;
    background: #f5f5f5 !important;
}

/* Products category dropdown */
#top-menu > li > ul.cat-drop-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1000 !important;
}

/* Sticky header fix */
#header .header-main-wrap.sticky {
    height: 70px !important;
}

/* === BREADCRUMB FIX - vertically center text === */
nav.breadcrumb {
    display: flex !important;
    align-items: center !important;
    min-height: 30px;
    padding: 0 !important;
}

nav.breadcrumb .container {
    display: flex !important;
    align-items: center !important;
    height: 100%;
}

nav.breadcrumb ol {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    min-height: 30px;
    margin: 0 !important;
    padding: 0 !important;
}

nav.breadcrumb ol li {
    display: flex !important;
    align-items: center !important;
    line-height: 30px;
}

nav.breadcrumb ol li a,
nav.breadcrumb ol li span {
    line-height: 30px;
}

/* === REASSURANCE BAR - hidden per client request === */
#header .container-blockreassurance,
.container-blockreassurance {
    display: none !important;
}

/* === NAV HOVER EFFECT === */
.header-1 .header-top #top-menu > li > a:hover {
    color: #2fb5d2 !important;
}

.header-1 .header-top #top-menu > li:hover > a {
    color: #2fb5d2 !important;
}

/* === WRAPPER FIX - remove excessive bottom padding === */
#wrapper {
    padding-bottom: 0 !important;
}

/* === FOOTER FIX === */
/* Override pspagebuilder inline padding (90px is too much) */
.footer-container .pts-container-wrap {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Copyright row - less padding */
.footer-container .pts-container-wrap + .pts-container-wrap {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.footer-container .pts-container-wrap .col-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure footer headers are visible */
.footer-container .module-title,
.footer-container .module-title a,
.footer-container .module-title span {
    color: #fff !important;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.footer-container .nav-links a {
    color: #bbb;
}

.footer-container .nav-links a:hover {
    color: #fff;
}

/* Tawk.to chat widget */
#tawkchat-container,
.tawk-min-container {
    right: 15px !important;
    left: auto !important;
    bottom: 15px !important;
}

iframe[title="chat widget"] {
    right: 15px !important;
    left: auto !important;
}
