/* YAGYU Bull Logo v1.9.2 */
.yme-hero-head:has(.yagyu-bull-logo-replaced) {
    min-height: clamp(250px, 16.8vw, 320px) !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 32px !important;
    background: #03070c !important;
}

.yme-hero-head:has(.yagyu-bull-logo-replaced)::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

.yme-brand-wrap.yagyu-bull-logo-active {
    width: min(clamp(620px, 40.6vw, 806px), 100%) !important;
    min-width: 0 !important;
    justify-self: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 {
    position: relative !important;
    overflow: hidden !important;
    justify-self: center !important;
    align-self: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    width: min(700px, 100%) !important;
    min-width: 0 !important;
    min-height: clamp(172px, 11.7vw, 224px) !important;
    margin: 0 !important;
    padding: clamp(27px, 1.9vw, 36px) clamp(36px, 2.5vw, 48px) !important;
    border: 3px solid #e3b64f !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #071321 0%, #0b1d31 52%, #071321 100%) !important;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, .38),
        inset 0 0 34px rgba(227, 182, 79, .08),
        0 0 0 1px rgba(227, 182, 79, .13) !important;
}

.yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5::before {
    display: none !important;
    content: none !important;
}

.yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 small {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    padding-bottom: 14px !important;
    font-size: clamp(19px, 1.3vw, 25px) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-align: center !important;
}

.yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 small::after {
    display: none !important;
    content: none !important;
}

.yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 strong {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin-top: 2px !important;
    font-size: 0 !important;
    line-height: 1.15 !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-shadow: 0 2px 16px rgba(227, 182, 79, .18) !important;
    transform: none !important;
}

.yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 strong::before {
    content: "PICK UP 5" !important;
    font-size: clamp(62px, 4.2vw, 80px) !important;
    letter-spacing: 2.5px !important;
    line-height: 1.15 !important;
    flex: 0 1 auto !important;
    white-space: nowrap !important;
}

.yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 strong::after {
    display: inline-block !important;
    content: "→" !important;
    margin-left: clamp(36px, 2.5vw, 48px) !important;
    font-size: clamp(52px, 3.7vw, 70px) !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
    transform: translateY(2px) !important;
}

@media (max-width: 1500px) and (min-width: 1241px) {
    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5::before {
        display: none !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 strong {
        transform: none !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 strong::before {
        font-size: 56px !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 strong::after {
        margin-left: 32px !important;
        font-size: 52px !important;
    }
}

/* Keep every category card on the same visual grid. */
.yme-catnav > a {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) 24px !important;
    column-gap: 12px !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.yme-catnav .yme-nav-icon {
    width: 40px !important;
    margin-right: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    justify-self: center !important;
}

.yme-catnav .yme-nav-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-self: center !important;
    min-width: 0 !important;
}

.yme-catnav .yme-nav-text strong {
    margin: 0 !important;
    line-height: 1.2 !important;
}

.yme-catnav .yme-nav-text > span {
    display: block !important;
    margin-top: 4px !important;
    padding: 0 !important;
    line-height: 1.45 !important;
}

.yme-catnav .yme-nav-arrow {
    position: static !important;
    right: auto !important;
    align-self: center !important;
    justify-self: end !important;
    width: 24px !important;
    line-height: 1 !important;
    text-align: right !important;
}

.yme-brand-wrap.yagyu-bull-logo-active > .yme-powered {
    display: none !important;
}

.yme-hero-head .yme-brand.yagyu-bull-logo-replaced,
.yme-trust-brand.yagyu-bull-logo-replaced {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.yme-hero-head .yme-brand.yagyu-bull-logo-replaced {
    width: 100% !important;
    justify-content: center !important;
}

.yagyu-bull-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    color: inherit !important;
    text-decoration: none !important;
}

.yagyu-bull-logo-image {
    display: block !important;
    width: auto !important;
    height: clamp(176px, 12vw, 229px) !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
}

.yme-brand-wrap.yagyu-bull-logo-active > .yme-tagline {
    width: auto !important;
    margin: -18px auto 0 !important;
    position: relative !important;
    left: clamp(52px, 6.45vw, 114px) !important;
    text-align: center !important;
    line-height: 1.35 !important;
}

.yme-trust-brand.yagyu-bull-logo-replaced .yagyu-bull-logo-image {
    height: 164px !important;
}

.logo-header .yagyu-bull-logo-image,
.site-logo .yagyu-bull-logo-image,
#header-container .logo .yagyu-bull-logo-image,
.header-in .logo .yagyu-bull-logo-image {
    width: auto !important;
    height: auto !important;
    max-height: 176px !important;
}

@media (max-width: 1240px) and (min-width: 761px) {
    .yme-hero-head:has(.yagyu-bull-logo-replaced) {
        min-height: 226px !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
    }

    .yme-brand-wrap.yagyu-bull-logo-active {
        flex: 1 1 auto !important;
        width: 100% !important;
    }

    .yagyu-bull-logo-image {
        height: 176px !important;
    }

    .yme-brand-wrap.yagyu-bull-logo-active > .yme-tagline {
        margin: -18px auto 0 !important;
    }

    .yme-top5 {
        display: none !important;
    }
}

.yagyu-bull-logo-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 760px) {
    .yme-hero-head:has(.yagyu-bull-logo-replaced) {
        min-height: 178px !important;
        padding: 12px 14px 14px !important;
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
    }

    .yme-brand-wrap.yagyu-bull-logo-active {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .yagyu-bull-logo-image {
        height: auto !important;
        width: min(330px, calc(100vw - 28px)) !important;
        max-height: none !important;
    }

    .yme-brand-wrap.yagyu-bull-logo-active > .yme-tagline {
        margin: -8px auto 0 !important;
        left: clamp(42px, 13.8vw, 52px) !important;
        font-size: 11px !important;
    }

    .yme-trust-brand.yagyu-bull-logo-replaced .yagyu-bull-logo-image {
        width: min(330px, calc(100vw - 28px)) !important;
        height: auto !important;
        max-height: none !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) {
        min-height: 0 !important;
        height: auto !important;
        row-gap: 8px !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 {
        display: flex !important;
        width: min(330px, 100%) !important;
        min-height: 72px !important;
        padding: 7px 12px !important;
        border-width: 2px !important;
        border-radius: 8px !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 small {
        padding-bottom: 3px !important;
        font-size: 11px !important;
        letter-spacing: .4px !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 strong::before {
        font-size: 25px !important;
        letter-spacing: 1px !important;
    }

    .yme-hero-head:has(.yagyu-bull-logo-replaced) > .yme-top5 strong::after {
        margin-left: 16px !important;
        font-size: 24px !important;
        transform: translateY(1px) !important;
    }

    .yme-catnav > a {
        min-height: 68px !important;
        padding: 10px 14px !important;
        grid-template-columns: 36px minmax(0, 1fr) 24px !important;
        column-gap: 10px !important;
        border-radius: 8px !important;
    }

    .yme-catnav .yme-nav-icon {
        width: 36px !important;
        font-size: 27px !important;
    }

    .yme-catnav .yme-nav-text strong {
        font-size: 20px !important;
    }

    .yme-catnav .yme-nav-text > span {
        margin-top: 3px !important;
        font-size: 12px !important;
    }

    .yme-catnav .yme-nav-arrow {
        width: 24px !important;
        font-size: 27px !important;
    }
}

@media (max-width: 390px) {
    .yagyu-bull-logo-image {
        width: min(330px, calc(100vw - 28px)) !important;
        max-height: none !important;
    }

    .yme-brand-wrap.yagyu-bull-logo-active > .yme-tagline {
        margin-left: auto !important;
        margin-right: auto !important;
        letter-spacing: .6px !important;
    }
}
