/* ==========================================================================
   HEADER CUSTOM STYLES (NO CSS ROOT VARIABLES, FONT ARIAL)
   ========================================================================== */

/* --- Container Utility --- */
body {
    font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
    font-size: unset;
    font-family: Arial, Helvetica, sans-serif;
}

.ctnr {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* --- Global Header Rules --- */
.dt-header {
    background-color: #ffffff;
    width: 100%;
    position: relative;
    z-index: 1000;
}

a:hover {
    color: #E77919;
}

/* --- Top Bar --- */
.dt-top-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    color: #222;
}

.dt-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dt-top-left {
    display: flex;
    align-items: center;
}

.dt-sep {
    color: #cccccc;
    margin: 0 10px;
}

.dt-top-right {
    display: flex;
}

.dt-top-link {
    color: #666666;
    font-size: 12px;
}

/* --- Middle Bar (Logo & Menu Toggle) --- */
.dt-middle-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 3px solid #E77919;
}

.dt-logo img {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
}

/* Hamburger button (Mobile toggle) */
.dt-menu-toggle {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 30px;
    background: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 6px;
    cursor: pointer;
    outline: none;
}

.dt-menu-toggle:hover {
    border-color: #E77919;
}

.dt-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.25s ease-in-out;
}

.dt-menu-toggle:hover .dt-bar {
    background-color: #E77919;
}

/* --- Navigation Bar (Desktop Menu) --- */
.dt-nav-bar {
    background-color: #ffffff;
    position: relative;
}

.dt-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.dt-menu-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-menu-item {
    position: relative;
}

.dt-menu-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 15px;
    width: 2px;
    background-color: rgba(0, 0, 0, 0.3);
    right: 0;
    transform: translateY(-50%);
}

.dt-menu-item>a {
    display: block;
    padding: 14px 10px;
    font-size: 13px;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
}

.dt-home-item>a {
    padding: 12px 10px 12px 0;
}

.dt-home-icon {
    display: inline-block;
    vertical-align: middle;
    color: #333333;
    transition: color 0.2s;
}

.dt-home-item:hover .dt-home-icon {
    color: #E77919;
}

.dt-arrow {
    font-size: 9px;
    margin-left: 5px;
    color: #888888;
    display: inline-block;
    transition: transform 0.2s;
}

.dt-menu-item:hover>a {
    color: #E77919;
}

.dt-menu-item:hover>a .dt-arrow {
    color: #E77919;
    transform: rotate(180deg);
}

/* Dropdown Menu - Level 2 */
.dt-submenu {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    position: absolute;
    background-color: #ffffff;
    border-top: 2px solid #E77919;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dt-submenu-l2 {
    top: 100%;
    left: 0;
}

.dt-menu-item:hover>.dt-submenu-l2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dt-submenu li {
    position: relative;
}

.dt-submenu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 13.5px;
    color: #444444;
    font-weight: normal;
    text-transform: none;
}

.dt-submenu a:hover {
    background-color: #fafafa;
    color: #E77919;
}

.dt-arrow-right {
    font-size: 9px;
    color: #999999;
}

.dt-submenu li:hover>a .dt-arrow-right {
    color: #E77919;
}

/* Dropdown Menu - Level 3 */
.dt-submenu-l3 {
    top: -8px;
    left: 100%;
    border-top: 2px solid #E77919;
}

.dt-submenu li:hover>.dt-submenu-l3 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Search Box Area --- */
.dt-search-wrapper {
    position: relative;
}

.dt-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    color: #444444;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: color 0.2s;
}

.dt-search-btn:hover {
    color: #E77919;
}

.dt-search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    display: none;
    z-index: 999;
}

.dt-search-dropdown.active {
    display: block;
    animation: dtFadeInUp 0.2s ease-out forwards;
}

.dt-search-form {
    display: flex;
    gap: 8px;
}

.dt-search-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    font-size: 13.5px;
    outline: none;
}

.dt-search-form input:focus {
    border-color: #E77919;
}

.dt-search-form button {
    background-color: #E77919;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    padding: 8px 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13.5px;
    transition: background-color 0.2s;
}

.dt-search-form button:hover {
    background-color: #d1660f;
}

@keyframes dtFadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Drawer Layout --- */
.dt-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.dt-mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.dt-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 310px;
    max-width: 85%;
    background-color: #ffffff;
    z-index: 9999;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.dt-mobile-drawer.open {
    transform: translateX(0);
}

.dt-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1.5px solid #eeeeee;
}

.dt-drawer-logo img {
    height: 48px;
    max-height: 50px;
    width: auto;
    display: block;
}

.dt-drawer-close {
    font-size: 32px;
    background: none;
    border: none;
    color: #888888;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.dt-drawer-close:hover {
    color: #E77919;
}

.dt-drawer-body {
    padding: 15px;
    overflow-y: auto;
    flex: 1;
}

/* Mobile Search Inside Drawer */
.dt-drawer-search {
    margin-bottom: 25px;
}

.dt-drawer-search form {
    display: flex;
    border: 1.5px solid #dddddd;
    border-radius: 4px;
    overflow: hidden;
}

.dt-drawer-search input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
}

.dt-drawer-search button {
    background-color: #f5f5f5;
    border: none;
    border-left: 1.5px solid #dddddd;
    padding: 10px 14px;
    color: #555555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt-drawer-search button:hover {
    background-color: #eeeeee;
    color: #E77919;
}

/* Mobile Menu Accordion */
.dt-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-mobile-menu li {
    border-bottom: 1px solid #f2f2f2;
}

.dt-mobile-menu li>a {
    display: block;
    padding: 13px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
}

.dt-m-menu-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dt-m-menu-row>a {
    flex: 1;
    display: block;
    padding: 13px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
}

/* CSS Accordion Toggle Button (Plus/Minus) */
.dt-m-toggle-btn {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    outline: none;
}

.dt-m-toggle-btn::before,
.dt-m-toggle-btn::after {
    content: '';
    position: absolute;
    background-color: #888888;
    transition: transform 0.25s ease-in-out, background-color 0.2s;
}

/* Horizontal line */
.dt-m-toggle-btn::before {
    top: 21px;
    left: 16px;
    width: 12px;
    height: 2px;
}

/* Vertical line */
.dt-m-toggle-btn::after {
    top: 16px;
    left: 21px;
    width: 2px;
    height: 12px;
}

/* When expanded, rotate the vertical line to align with the horizontal (making it a minus) */
.dt-mobile-menu li.expanded>.dt-m-menu-row>.dt-m-toggle-btn::after {
    transform: rotate(90deg);
    opacity: 0;
}

.dt-mobile-menu li.expanded>.dt-m-menu-row>.dt-m-toggle-btn::before {
    transform: rotate(180deg);
}

/* Mobile Submenu Collapse */
.dt-m-submenu {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
    display: none;
    border-left: 1.5px solid #eeeeee;
}

.dt-m-submenu-l2 li>a,
.dt-m-submenu-l2 li>.dt-m-menu-row>a {
    font-size: 13.5px;
    font-weight: bold;
    color: #555555;
}

.dt-m-submenu-l3 li>a {
    font-size: 13px;
    font-weight: normal;
    color: #666666;
    padding-left: 15px;
}

.dt-no-scroll {
    overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* --- Tablet / Mobile Breakpoint (max-width: 1024px) --- */
@media screen and (max-width: 1024px) {
    .dt-top-bar {
        font-size: 12px;
        padding: 6px 0;
    }

    .dt-top-left {
        justify-content: center;
    }

    .dt-logo img {
        height: 52px;
        width: auto;
    }

    .dt-menu-toggle {
        display: flex;
        /* Show Hamburger menu button */
    }

    .dt-nav-bar {
        display: none;
        /* Hide Desktop menu bar */
    }
}

@media screen and (max-width: 768px) {
    .dt-top-bar {
        display: none;
    }
}