/* ==============================
   UC MIXCOCO HEADER LUXURY
   Black / White / Red Premium
   ============================== */

html,
body {
    overflow-x: hidden;
}

#uc-mixcoco-header {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    left: 0;
    right: 0;
}

#uc-mixcoco-header {
    --ucmh-black: #070707;
    --ucmh-ink: #121212;
    --ucmh-soft-black: #111111;
    --ucmh-white: #ffffff;
    --ucmh-cream: #fbf7ef;
    --ucmh-gold: #b7955b;
    --ucmh-gold-2: #e6d3aa;
    --ucmh-gold-dark: #8c6a35;
    --ucmh-red: #c70000;
    --ucmh-red-dark: #8f0000;
    --ucmh-gray: #6b7280;
    --ucmh-border: rgba(183, 149, 91, 0.22);
    --ucmh-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);

    position: sticky;
    top: 0;
    z-index: 99950;

    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    background: var(--ucmh-white);
    color: var(--ucmh-ink);
    font-family: "Poppins", sans-serif;
    isolation: isolate;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
}

.admin-bar #uc-mixcoco-header {
    top: 32px;
}

.ucmh-container {
    width: min(1460px, calc(100% - 32px));
    margin: 0 auto;
}

/* Luxury strip */
.ucmh-luxury-strip {
    background: #ffffff;
    border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.ucmh-luxury-strip-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ucmh-luxury-text {
    color: #171717;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Promo */
.ucmh-promo {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, #780000, #c70000, #780000);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    padding: 10px 0;
}

.ucmh-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.18) 45%, transparent 58%);
    transform: translateX(-120%);
    animation: ucmh-shine 5.5s ease-in-out infinite;
}

.ucmh-promo .ucmh-container {
    position: relative;
    z-index: 1;
}

.ucmh-promo strong {
    color: var(--ucmh-gold-2);
    font-weight: 900;
}

.ucmh-promo-star {
    color: var(--ucmh-gold-2);
    margin: 0 8px;
}

.ucmh-promo-sep {
    color: rgba(255,255,255,0.5);
    margin: 0 8px;
}

.ucmh-promo-note {
    margin-left: 10px;
    color: #ffffff;
    opacity: 0.86;
}

/* Main */
.ucmh-main {
    background:
        linear-gradient(180deg, #ffffff, #fbf7ef);
    border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.ucmh-main-inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: auto minmax(170px, 230px) minmax(280px, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.ucmh-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ucmh-logo::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 4px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(183,149,91,0.55), transparent);
}

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

/* Search */
.ucmh-search {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, 0.11);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.045);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ucmh-search:focus-within {
    border-color: rgba(183, 149, 91, 0.55);
    box-shadow: 0 0 0 4px rgba(183, 149, 91, 0.11);
}

.ucmh-search input[type="search"] {
    width: 100%;
    height: 48px;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 18px 0 22px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #111111;
    box-shadow: none !important;
}

.ucmh-search input[type="search"]::placeholder {
    color: #9ca3af;
}

.ucmh-search button {
    width: 56px;
    height: 48px;
    border: none !important;
    outline: none !important;
    background: #111111;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.ucmh-search button:hover {
    background: var(--ucmh-red);
}

.ucmh-search svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}   

/* Actions */
.ucmh-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.ucmh-action-link {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(18, 18, 18, 0.1);
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

button.ucmh-action-link {
    appearance: none;
}

.ucmh-action-link:hover {
    color: var(--ucmh-red);
    border-color: rgba(199, 0, 0, 0.22);
    background: #fff8f8;
    transform: translateY(-1px);
}

.ucmh-action-link svg {
    width: 23px;
    height: 23px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ucmh-register-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.ucmh-register-link:hover {
    background: var(--ucmh-red);
    color: #ffffff;
}

.ucmh-cart-count {
    position: absolute;
    top: -11px;
    right: -12px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--ucmh-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 6px 18px rgba(199, 0, 0, 0.45);
}

/* Nav */
.ucmh-nav {
    position: relative;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.ucmh-menu {
    min-height: 52px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.ucmh-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.ucmh-menu > li > a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    color: #ffffff;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s ease, background 0.2s ease;
}

.ucmh-menu > li > a:hover {
    color: var(--ucmh-gold-2);
    background: linear-gradient(180deg, rgba(214, 173, 69, 0.13), rgba(214, 173, 69, 0.02));
}

.ucmh-menu > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ucmh-gold), transparent);
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ucmh-menu > li > a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.ucmh-has-mega > a svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mega menu */
#uc-mixcoco-header .ucmh-menu > li.ucmh-has-mega {
    position: static;
}

.ucmh-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 60;
    width: min(1120px, calc(100vw - 32px));
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.ucmh-has-mega:hover .ucmh-mega,
.ucmh-has-mega:focus-within .ucmh-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.ucmh-mega-inner {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(214, 173, 69, 0.34);
    border-radius: 22px;
    background:
    radial-gradient(circle at top left, rgba(183, 149, 91, 0.10), transparent 34%),
    linear-gradient(145deg, #111111, #050505 58%, #0e0a06);
    box-shadow: 0 28px 80px rgba(0,0,0,0.36);
}

.ucmh-mega-copy {
    padding: 18px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(214,173,69,0.14), rgba(255,255,255,0.03));
    border: 1px solid rgba(214, 173, 69, 0.22);
}

.ucmh-mega-kicker {
    display: inline-flex;
    color: var(--ucmh-gold-2);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
}

.ucmh-mega-copy h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ucmh-mega-copy p {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.68);
    font-size: 13px;
    line-height: 1.6;
}

.ucmh-mega-copy a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ucmh-gold-2), var(--ucmh-gold), var(--ucmh-gold-dark));
    color: #080808;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ucmh-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ucmh-cat-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ucmh-cat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 173, 69, 0.55);
    background: rgba(214, 173, 69, 0.1);
}

.ucmh-cat-media {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
    linear-gradient(135deg, #f3ead8, #b7955b, #8c6a35);
    color: #090909;
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.ucmh-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ucmh-cat-info {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.ucmh-cat-name {
    overflow: hidden;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ucmh-cat-count {
    color: var(--ucmh-gold-2);
    font-size: 10px;
    font-weight: 700;
    opacity: 0.82;
}

/* Mobile menu */
.ucmh-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(214,173,69,0.35) !important;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    padding: 11px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.ucmh-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ucmh-gold-2);
    border-radius: 999px;
}

.ucmh-mobile-panel,
.ucmh-cart-panel {
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
    visibility: hidden;
}

.ucmh-mobile-panel.is-open,
.ucmh-cart-panel.is-open {
    pointer-events: auto;
    visibility: visible;
}

.ucmh-mobile-backdrop,
.ucmh-cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ucmh-mobile-panel.is-open .ucmh-mobile-backdrop,
.ucmh-cart-panel.is-open .ucmh-cart-backdrop {
    opacity: 1;
}

.ucmh-mobile-drawer,
.ucmh-cart-drawer {
    position: absolute;
    top: 0;
    height: 100%;
    background:
        radial-gradient(circle at top left, rgba(214,173,69,0.14), transparent 36%),
        linear-gradient(180deg, #111111, #050505);
    color: #ffffff;
    box-shadow: 24px 0 70px rgba(0,0,0,0.45);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-color: rgba(214,173,69,0.28);
    transition: transform 0.28s ease;
}

.ucmh-mobile-drawer {
    left: 0;
    width: min(90vw, 410px);
    padding: 18px;
    border-right: 1px solid rgba(214,173,69,0.28);
    transform: translateX(-105%);
}

.ucmh-mobile-panel.is-open .ucmh-mobile-drawer {
    transform: translateX(0);
}

.ucmh-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(214,173,69,0.24);
}

.ucmh-mobile-logo img {
    display: block;
    width: 148px;
    height: auto;
}

.ucmh-mobile-close,
.ucmh-cart-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(214,173,69,0.3) !important;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--ucmh-gold-2);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.ucmh-mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin: 18px 0;
}

.ucmh-mobile-search input {
    min-width: 0;
    height: 44px;
    border: 1px solid rgba(214,173,69,0.3) !important;
    border-radius: 12px;
    padding: 0 12px;
    outline: none !important;
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.ucmh-mobile-search input::placeholder {
    color: rgba(255,255,255,0.55);
}

.ucmh-mobile-search button {
    height: 44px;
    border: none !important;
    border-radius: 12px;
    padding: 0 14px;
    background: linear-gradient(135deg, var(--ucmh-gold-2), var(--ucmh-gold), var(--ucmh-gold-dark));
    color: #080808;
    font-weight: 900;
    cursor: pointer;
}

.ucmh-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ucmh-mobile-menu li {
    margin: 0;
    padding: 0;
}

.ucmh-mobile-section-title {
    margin-top: 18px !important;
    padding: 10px 0 6px !important;
    color: var(--ucmh-gold-2);
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.ucmh-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 45px;
    padding: 0 2px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.ucmh-mobile-menu a:hover {
    color: var(--ucmh-gold-2);
}

.ucmh-mobile-cta {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.ucmh-mobile-cta a,
.ucmh-mobile-cta button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: none !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ucmh-gold-2), var(--ucmh-gold), var(--ucmh-gold-dark));
    color: #080808;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Cart drawer */
.ucmh-cart-drawer {
    right: 0;
    width: min(92vw, 430px);
    border-left: 1px solid rgba(214,173,69,0.28);
    transform: translateX(105%);
}

.ucmh-cart-panel.is-open .ucmh-cart-drawer {
    transform: translateX(0);
}

.ucmh-cart-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(17,17,17,0.98), rgba(5,5,5,0.96));
    border-bottom: 1px solid rgba(214,173,69,0.28);
}

.ucmh-cart-head span {
    display: block;
    color: var(--ucmh-gold-2);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 4px;
}

.ucmh-cart-head h3 {
    margin: 0;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    line-height: 1;
}

.ucmh-cart-drawer-body {
    padding: 18px 20px;
}

.ucmh-cart-drawer-body .woocommerce-mini-cart,
.ucmh-cart-drawer-body .woocommerce-mini-cart li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.ucmh-cart-drawer-body .woocommerce-mini-cart li {
    position: relative;
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ucmh-cart-drawer-body .woocommerce-mini-cart li img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(214,173,69,0.26);
}

.ucmh-cart-drawer-body .woocommerce-mini-cart li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.25;
}

.ucmh-cart-drawer-body .woocommerce-mini-cart li a:hover {
    color: var(--ucmh-gold-2);
}

.ucmh-cart-drawer-body .woocommerce-mini-cart li .remove,
.ucmh-cart-drawer-body .woocommerce-mini-cart li a.remove {
    position: absolute;
    right: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(199,0,0,0.14);
    color: #ffb4b4 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    line-height: 1;
}

.ucmh-cart-drawer-body .quantity {
    display: block;
    margin-top: 7px;
    color: var(--ucmh-gold-2);
    font-size: 12px;
    font-weight: 800;
}

.ucmh-cart-drawer-body .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0 10px;
    color: #ffffff;
    border-bottom: 1px solid rgba(214,173,69,0.26);
    font-weight: 900;
}

.ucmh-cart-drawer-body .woocommerce-mini-cart__buttons {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
}

.ucmh-cart-drawer-body .woocommerce-mini-cart__buttons a {
    min-height: 46px;
    border-radius: 999px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ucmh-cart-drawer-body .woocommerce-mini-cart__buttons a:first-child {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(214,173,69,0.28);
}

.ucmh-cart-drawer-body .woocommerce-mini-cart__buttons a:last-child {
    background: linear-gradient(135deg, var(--ucmh-gold-2), var(--ucmh-gold), var(--ucmh-gold-dark));
    color: #080808;
}

.ucmh-cart-drawer-body .woocommerce-mini-cart__empty-message {
    margin: 0;
    padding: 42px 14px;
    color: rgba(255,255,255,0.76);
    text-align: center;
    border: 1px dashed rgba(214,173,69,0.3);
    border-radius: 20px;
}

.ucmh-cart-extra-actions {
    display: none;
}

/* Body states */
body.ucmh-menu-open,
body.ucmh-cart-open {
    overflow: hidden;
}

/* WP accessibility */
#uc-mixcoco-header .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive */
@media (max-width: 1240px) {
    .ucmh-main-inner {
        grid-template-columns: auto 180px 1fr auto;
        gap: 16px;
    }

    .ucmh-menu > li > a {
        padding: 0 10px;
        font-size: 11px;
    }

    .ucmh-cats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .ucmh-register-link {
    display: none;
}
    #uc-mixcoco-header {
        top: 0;
    }

    .admin-bar #uc-mixcoco-header {
        top: 46px;
    }

    .ucmh-container {
        width: min(100% - 22px, 1460px);
    }

    .ucmh-luxury-strip {
        display: none;
    }

    .ucmh-promo {
        font-size: 11px;
        padding: 8px 0;
    }

    .ucmh-promo-sep,
    .ucmh-promo-note {
        display: none;
    }

    .ucmh-main-inner {
        min-height: 76px;
        grid-template-columns: 44px 1fr auto;
        gap: 12px;
    }

    .ucmh-mobile-toggle {
        display: inline-flex;
    }

    .ucmh-logo {
        justify-content: center;
    }

    .ucmh-logo img {
        width: 142px;
    }

    .ucmh-search,
    .ucmh-account-link {
        display: none;
    }

    .ucmh-actions {
        gap: 0;
    }

    .ucmh-action-link {
        min-height: 44px;
        padding: 0;
        border: none;
        background: transparent;
    }

    .ucmh-action-link:hover {
        transform: none;
        background: transparent;
    }

    .ucmh-action-link > span:not(.ucmh-cart-icon-wrap) {
        display: none;
    }

    .ucmh-action-link svg {
        width: 29px;
        height: 29px;
    }

    .ucmh-nav {
        display: none;
    }
}

@media (max-width: 440px) {
    .ucmh-logo img {
        width: 124px;
    }

    .ucmh-promo {
        font-size: 10px;
    }

    .ucmh-mobile-drawer {
        width: 92vw;
    }

    .ucmh-cart-drawer {
        width: 94vw;
    }
}

@keyframes ucmh-shine {
    0% {
        transform: translateX(-120%);
    }
    40%,
    100% {
        transform: translateX(120%);
    }
}

/* ==============================
   Documentación dropdown hover
   No rompe el navbar
   ============================== */

#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs {
    position: relative !important;
}

#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs > a svg {
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
    stroke-width: 2.6 !important;
    fill: none !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: transform 0.2s ease !important;
}

#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs:hover > a svg,
#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs:focus-within > a svg {
    transform: rotate(180deg) !important;
}

#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs > .ucmh-docs-submenu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 999999 !important;

    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;

    display: block !important;
    list-style: none !important;

    margin: 0 !important;
    padding: 10px !important;

    background: #ffffff !important;
    border: 1px solid rgba(18, 18, 18, 0.08) !important;
    border-top: 3px solid #c70000 !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16) !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateY(10px) !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
}

#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs:hover > .ucmh-docs-submenu,
#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs:focus-within > .ucmh-docs-submenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

#uc-mixcoco-header .ucmh-docs-submenu > li {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

#uc-mixcoco-header .ucmh-docs-submenu > li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 42px !important;
    width: 100% !important;

    padding: 10px 12px !important;
    border-radius: 12px !important;

    background: transparent !important;
    color: #111111 !important;

    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: normal !important;

    text-decoration: none !important;
    box-shadow: none !important;
}

#uc-mixcoco-header .ucmh-docs-submenu > li > a:hover {
    background: #fff4f4 !important;
    color: #c70000 !important;
}

/* Blindaje: el submenu no puede aumentar el alto del navbar */
#uc-mixcoco-header .ucmh-nav,
#uc-mixcoco-header .ucmh-menu {
    overflow: visible !important;
}

#uc-mixcoco-header .ucmh-menu > li.ucmh-has-docs > .ucmh-docs-submenu::before {
    content: "" !important;
    position: absolute !important;
    top: -10px !important;
    left: 0 !important;
    width: 100% !important;
    height: 10px !important;
}


/* ==============================
   Ajuste final Sergio:
   - Header 100% full width real
   - Megamenu como antes, centrado y sin salirse
   - Sin dorados saturados: negro/blanco/rojo
   ============================== */

html,
body {
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
}

#uc-mixcoco-header {
    --ucmh-gold: #c70000;
    --ucmh-gold-2: #ffffff;
    --ucmh-gold-dark: #8f0000;
    --ucmh-border: rgba(18, 18, 18, 0.12);

    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#uc-mixcoco-header .ucmh-luxury-strip,
#uc-mixcoco-header .ucmh-promo,
#uc-mixcoco-header .ucmh-main,
#uc-mixcoco-header .ucmh-nav {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#uc-mixcoco-header .ucmh-container {
    width: min(1460px, 100%) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Para cuando Elementor encierra el shortcode en una sección con ancho fijo */
.elementor-widget-shortcode:has(#uc-mixcoco-header),
.elementor-widget-shortcode:has(#uc-mixcoco-header) .elementor-widget-container,
.elementor-shortcode:has(#uc-mixcoco-header) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Sin dorado visual */
#uc-mixcoco-header .ucmh-logo::after,
#uc-mixcoco-header .ucmh-menu > li > a::after {
    background: linear-gradient(90deg, transparent, #c70000, transparent) !important;
}

#uc-mixcoco-header .ucmh-promo strong,
#uc-mixcoco-header .ucmh-promo-star {
    color: #ffffff !important;
}

#uc-mixcoco-header .ucmh-search:focus-within {
    border-color: rgba(199, 0, 0, 0.28) !important;
    box-shadow: 0 0 0 4px rgba(199, 0, 0, 0.08) !important;
}

#uc-mixcoco-header .ucmh-mobile-toggle {
    border-color: rgba(255,255,255,0.22) !important;
}

#uc-mixcoco-header .ucmh-mobile-toggle span {
    background: #ffffff !important;
}

#uc-mixcoco-header .ucmh-menu > li > a:hover {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(199, 0, 0, 0.62), rgba(199, 0, 0, 0.22)) !important;
}

#uc-mixcoco-header .ucmh-mega-inner {
    border-color: rgba(255,255,255,0.10) !important;
    background:
        radial-gradient(circle at top left, rgba(199, 0, 0, 0.13), transparent 34%),
        linear-gradient(145deg, #111111, #050505 58%, #080808) !important;
}

#uc-mixcoco-header .ucmh-mega-copy {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)) !important;
    border-color: rgba(255,255,255,0.10) !important;
}

#uc-mixcoco-header .ucmh-mega-kicker,
#uc-mixcoco-header .ucmh-cat-count {
    color: rgba(255,255,255,0.78) !important;
}

#uc-mixcoco-header .ucmh-mega-copy a,
#uc-mixcoco-header .ucmh-mobile-search button,
#uc-mixcoco-header .ucmh-mobile-cta a,
#uc-mixcoco-header .ucmh-mobile-cta button,
#uc-mixcoco-header .ucmh-cart-drawer-body .woocommerce-mini-cart__buttons a:last-child {
    background: #c70000 !important;
    color: #ffffff !important;
}

#uc-mixcoco-header .ucmh-cat-media {
    background: #ffffff !important;
    color: #111111 !important;
}

#uc-mixcoco-header .ucmh-cat-card:hover {
    border-color: rgba(199, 0, 0, 0.55) !important;
    background: rgba(199, 0, 0, 0.12) !important;
}

#uc-mixcoco-header .ucmh-mobile-drawer,
#uc-mixcoco-header .ucmh-cart-drawer {
    background:
        radial-gradient(circle at top left, rgba(199,0,0,0.12), transparent 36%),
        linear-gradient(180deg, #111111, #050505) !important;
    border-color: rgba(255,255,255,0.10) !important;
}

#uc-mixcoco-header .ucmh-mobile-section-title,
#uc-mixcoco-header .ucmh-mobile-menu a:hover,
#uc-mixcoco-header .ucmh-cart-head span,
#uc-mixcoco-header .ucmh-cart-drawer-body .quantity,
#uc-mixcoco-header .ucmh-cart-drawer-body .woocommerce-mini-cart li a:hover {
    color: #ffffff !important;
}

/* Megamenu centrado como antes, pero relativo a la barra completa para que no se corte */
#uc-mixcoco-header .ucmh-nav {
    position: relative !important;
    overflow: visible !important;
}

#uc-mixcoco-header .ucmh-menu {
    overflow: visible !important;
}

#uc-mixcoco-header .ucmh-menu > li.ucmh-has-mega {
    position: static !important;
}

#uc-mixcoco-header .ucmh-mega {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(10px) !important;
    width: min(1120px, calc(100vw - 32px)) !important;
}

#uc-mixcoco-header .ucmh-has-mega:hover .ucmh-mega,
#uc-mixcoco-header .ucmh-has-mega:focus-within .ucmh-mega {
    transform: translateX(-50%) translateY(0) !important;
}

@media (max-width: 980px) {
    #uc-mixcoco-header .ucmh-container {
        padding-left: 11px !important;
        padding-right: 11px !important;
    }
}
