.tr-header,
.tr-header * {
    box-sizing: border-box;
}

.tr-social-media {
    display: none;
}

.tr-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tr-header a {
    text-decoration: none;
    color: inherit;
}

.tr-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--tr-border);
    position: sticky;
    z-index: 1000;
}

.tr-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.tr-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--tr-header-height);
    gap: 24px;
}

.tr-logo {
    flex-shrink: 0;
}

.tr-logo a {
    display: flex;
    align-items: center;
}

.tr-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.tr-nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tr-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.tr-nav-list>li {
    position: relative;
}

.tr-nav-list>li>a {
    display: inline-block;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--tr-text-dark);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.tr-nav-list>li>a:hover {
    color: var(--tr-primary);
}

.tr-has-children>a::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.tr-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 50;
}

.tr-has-children:hover .tr-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tr-submenu li a {
    display: block;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--tr-text-dark);
    transition: background 0.15s ease, color 0.15s ease;
}

.tr-submenu li a:hover {
    background: #FFF1E6;
    color: var(--tr-primary);
}

.tr-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    background-color: var(--tr-accent-green);
    border-radius: 30px;
    padding: 8px 12px;
}

.tr-whatsapp-pill {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tr-icon-circle {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
}

.tr-whatsapp-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    white-space: nowrap;
}

.tr-whatsapp-label {
    font-size: 12px;
    color: var(--third-color);
}

.tr-whatsapp-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--third-color);
}

.tr-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tr-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    color: var(--third-color);
    border: var(--third-color) 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tr-social-icons a:hover {
    background: var(--tr-primary);
    color: #ffffff;
}

.tr-currency-select {
    height: 36px;
    padding: 0 14px;
    border-radius: 24px;
    border: 1px solid var(--third-color);
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #b1b1b1;
    cursor: pointer;
}

.tr-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--tr-border);
    background: #ffffff;
    font-size: 18px;
    color: var(--tr-text-dark);
    cursor: pointer;
}

.d-none {
    display: none !important;
}

.d-lg-block,
.d-lg-flex {
    display: none !important;
}

.d-lg-none {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .tr-social-media {
        width: 100%;
        background-color: var(--tr-primary);
        padding: 5px 20px;
        display: flex;
        align-items: center;
        justify-content: right;
        gap: 25px;
    }

    .d-lg-block {
        display: block !important;
    }

    .d-lg-flex {
        display: flex !important;
    }

    .d-lg-none {
        display: none !important;
    }
}

.tr-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1100;
}

.tr-mobile-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.tr-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 320px;
    max-width: 88vw;
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1200;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.tr-mobile-menu-open {
    transform: translateX(0);
}

.tr-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 10px 0;
    border-bottom: 1px solid var(--tr-border);
}

.tr-mobile-menu-header .tr-logo img {
    height: 45px;
}

.tr-mobile-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--tr-accent-green);
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tr-mobile-nav-list {
    padding: 8px 20px;
}

.tr-mobile-nav-list>li {
    border-bottom: 1px solid var(--tr-border);
}

.tr-mobile-nav-list>li>a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--tr-text-dark);
}

.tr-mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tr-mobile-nav-row>a {
    flex: 1;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--tr-text-dark);
}

.tr-mobile-toggle {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--tr-text-dark);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.tr-mobile-submenu-open .tr-mobile-toggle {
    transform: rotate(45deg);
}

.tr-mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding-left: 12px;
}

.tr-mobile-submenu-open .tr-mobile-submenu {
    max-height: 600px;
}

.tr-mobile-submenu li a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: var(--tr-text-dark);
}

.tr-mobile-submenu li a:hover {
    color: var(--tr-primary);
}

.tr-mobile-extra {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid var(--tr-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tr-currency-select-mobile {
    width: 100%;
}

.tr-mobile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tr-mobile-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F4F4F6;
    color: var(--tr-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.tr-mobile-social a:hover {
    background: var(--tr-primary);
    color: #ffffff;
}