:root {
    --rdtp-header-yellow: #ffcc00;
    --rdtp-header-text: #111;
}

.rdtp-header {
    width: 100%;
    background: var(--rdtp-header-yellow);
    color: var(--rdtp-header-text);
    position: sticky;
    top: 0;
    z-index: 999999;
    font-family: inherit;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.rdtp-header * {
    box-sizing: border-box;
}

.rdtp-header-top {
    height: 66px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
}

.rdtp-logo {
    display: flex;
    align-items: center;
    color: var(--rdtp-header-text);
    text-decoration: none;
    flex-shrink: 0;
}

.rdtp-logo img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

.rdtp-search {
    flex: 1;
    max-width: 720px;
    height: 38px;
    background: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-width: 180px;
    border: 1px solid rgba(0,0,0,.08);
    margin-left: 6px;
    margin-right: auto;
}

.rdtp-search input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 14px;
    font-size: 15px;
    background: transparent;
    min-width: 0;
}

.rdtp-search button {
    width: 34px;
    height: 34px;
    margin-right: 2px;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    flex-shrink: 0;
}

.rdtp-cart {
    position: relative;
    color: var(--rdtp-header-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    margin-left: 8px;
}

.rdtp-cart-icon {
    font-size: 25px;
    line-height: 1;
}

.rdtp-cart-count {
    position: absolute;
    top: -6px;
    right: -4px;
    background: #111;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    min-width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rdtp-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: var(--rdtp-header-text);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.rdtp-info-bar {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 8px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,.12);
    color: var(--rdtp-header-text);
}

.rdtp-nav {
    height: 48px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    overflow-x: auto;
    padding: 0 18px;
    border-bottom: 1px solid #eee;
    -webkit-overflow-scrolling: touch;
}

.rdtp-nav::-webkit-scrollbar {
    display: none;
}

.rdtp-nav a {
    color: #111;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 13px;
    border-radius: 999px;
    background: #f5f5f5;
}

body .rdtp-header:not(:first-of-type) {
    display: none !important;
}

@media (max-width: 768px) {
    .rdtp-header-top {
        height: 60px;
        gap: 8px;
        padding: 8px 12px;
    }

    .rdtp-logo img {
        height: 34px;
        max-width: 145px;
    }

    .rdtp-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 99;
        font-size: 28px;
        width: 34px;
        height: 34px;
    }

    .rdtp-search {
        height: 36px;
        min-width: 110px;
        max-width: none;
        margin-left: 4px;
    }

    .rdtp-search input {
        font-size: 14px;
        padding: 0 10px;
    }

    .rdtp-search button {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .rdtp-cart {
        width: 34px;
        height: 34px;
    }

    .rdtp-info-bar {
        font-size: 12px;
        gap: 5px;
    }

    .rdtp-nav {
        height: 46px;
        padding: 0 12px;
    }

    .rdtp-nav a {
        font-size: 14px;
        padding: 7px 12px;
    }
}

@media (min-width: 769px) {
    .rdtp-menu-btn {
        display: none !important;
    }
}
