.shocx-h3 *,
.shocx-h3 *::before,
.shocx-h3 *::after { box-sizing: border-box; }

.shocx-h3-bar {
    background: #fff;
    border-bottom: 1px solid #e6e3df;
    position: relative;
    z-index: 100;
}

.shocx-h3-bar__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: 1700px;
    margin: 0 auto;
    gap: var(--space-5);
    min-height: 64px;
}
@media (min-width: 961px) {
    .shocx-h3-bar__row { width: 92.5%; padding-left: 0; padding-right: 0; }
}
.shocx-h3-bar__left {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    min-width: 0;
}
.shocx-h3-bar__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    background: none;
    border: none;
    cursor: pointer;
    color: #4a4a4a;
    transition: background 200ms cubic-bezier(0.23, 1, 0.32, 1), color 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.shocx-h3-bar__burger:hover { background: #f0f0f0; color: #1a1a1a; }
.shocx-h3-bar__burger:active { transform: scale(0.97); }
.shocx-h3-bar__burger svg { display: block; }

.shocx-h3-bar__quick {
    display: inline-flex;
    gap: var(--space-5);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #4a4a4a;
}
.shocx-h3-bar__quick a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.shocx-h3-bar__quick a:hover { color: #1a1a1a; }
.shocx-h3-bar__quick a.is-sale { color: var(--c-red); font-weight: 400; }
.shocx-h3-bar__center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 1;
}
.shocx-h3-bar__logo {
    display: inline-block;
    text-decoration: none;
    color: var(--c-ink);
    font-family: 'Normalidad Text', sans-serif;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    pointer-events: auto;
}
.shocx-h3-bar__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}
.shocx-h3-bar__search {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    color: var(--c-muted);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 200ms cubic-bezier(0.23, 1, 0.32, 1), color 200ms cubic-bezier(0.23, 1, 0.32, 1);
    min-width: 240px;
}
.shocx-h3-bar__search:hover { border-color: #1a1a1a; color: #1a1a1a; }
.shocx-h3-bar__search svg { flex-shrink: 0; }
.shocx-h3-bar__search-m { display: none; }

.shocx-h3-bar__iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    background: none;
    border: none;
    cursor: pointer;
    color: #4a4a4a;
    text-decoration: none;
    position: relative;
    transition: background 200ms cubic-bezier(0.23, 1, 0.32, 1), color 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.shocx-h3-bar__iconbtn:hover { background: #f0f0f0; color: #1a1a1a; }
.shocx-h3-bar__iconbtn:active { transform: scale(0.97); }
.shocx-h3-bar__iconbtn svg { display: block; }
.shocx-h3-user {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.shocx-h3-user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 208px;
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-line, #e6e3df);
    border-radius: var(--r-md, 12px);
    box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.24);
    padding: 6px;
    z-index: 130;
    opacity: 0;
    transform: scale(0.96) translateY(-4px);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 160ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.shocx-h3-user-menu.is-open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}
.shocx-h3-user-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--r-sm, 8px);
    font-family: var(--font-display, sans-serif);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--c-ink, #1a1a1a);
    text-decoration: none;
    white-space: nowrap;
    transition: background 140ms cubic-bezier(0.23, 1, 0.32, 1),
        color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.shocx-h3-user-menu__item svg { flex-shrink: 0; opacity: 0.7; }
.shocx-h3-user-menu__item:hover { background: var(--c-warm, #f0f0f0); color: #1a1a1a; }
.shocx-h3-user-menu__item:hover svg { opacity: 1; }
.shocx-h3-user-menu__item--logout { color: var(--c-ink-2, #4a4a4a); }
.shocx-h3-user-menu__item--logout:hover { background: #faf0ee; color: var(--c-red, #8b253b); }
.shocx-h3-user-menu__points {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: var(--r-sm, 8px);
    border-bottom: 1px solid #ececec;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    text-decoration: none;
    transition: background 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.shocx-h3-user-menu__points:hover { background: #f2f2f2; }
.shocx-h3-user-menu__points-label {
    font-family: var(--font-display, sans-serif);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--c-ink-2, #4a4a4a);
}
.shocx-h3-user-menu__points-val {
    font-family: var(--font-display, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-red, #8b253b);
}

@media (prefers-reduced-motion: reduce) {
    .shocx-h3-user-menu { transition-duration: 0.001s; transform: none; }
}
.shocx-h3-bar__badge[hidden] { display: none; }
.shocx-h3-bar__badge {
    position: absolute;
    top: 4px; right: 4px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: var(--r-pill);
    background: var(--c-ochre);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: var(--fw-bold);
    line-height: 18px;
    text-align: center;
}
@keyframes shocx-badge-bump {
    0%   { transform: scale(0.6); opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1);   opacity: 1; }
}
.shocx-h3-bar__badge.is-bump {
    animation: shocx-badge-bump 220ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (prefers-reduced-motion: reduce) {
    .shocx-h3-bar__badge.is-bump { animation: none; }
}
@media (max-width: 1100px) {
    .shocx-h3-bar__quick { display: none; }
    .shocx-h3-bar__search { min-width: 0; padding: 0 12px; }
    .shocx-h3-bar__search-label { display: none; }
}
.shocx-h3-bar__iconbtn--phone { display: none; }

@media (max-width: 720px) {
    .shocx-h3-bar__row { padding: 12px 16px; gap: 8px; }
    .shocx-h3-bar__left { gap: 12px; }
    .shocx-h3-bar__search { display: none; }
    .shocx-h3-bar__search-m {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px; height: 40px;
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
        color: var(--c-ink-2);
        transition: color 200ms var(--ease-out, cubic-bezier(0.23,1,0.32,1)),
                    transform 140ms var(--ease-out, cubic-bezier(0.23,1,0.32,1));
    }
    .shocx-h3-bar__search-m svg { display: block; width: 19px; height: 19px; }
    .shocx-h3-bar__search-m:active { transform: scale(0.94); }
    .shocx-h3-bar__logo { font-size: 26px; }
    .shocx-h3-bar__iconbtn.shocx-h3-bar__iconbtn--login,
    .shocx-h3-user { display: none; }
    .shocx-h3-bar__iconbtn.shocx-h3-bar__iconbtn--wish { display: inline-flex; }
    .shocx-h3-bar__iconbtn.basket-link { display: none; }
    .shocx-h3-bar__iconbtn--phone { display: inline-flex; }
}
.shocx-topbar {
    position: relative;
    min-height: var(--shocx-topbar-h, 38px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    background: var(--c-surface, #fff);
    color: var(--c-ink-2, #4a4a4a);
    border-bottom: 1px solid var(--c-line, #e6e3df);
    text-align: center;
    padding: 6px 44px;
}
.shocx-topbar__ico {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--c-accent, #8b253b);
}
.shocx-topbar__text {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .005em;
    color: var(--c-ink-2, #4a4a4a);
}
.shocx-topbar__sum {
    font-weight: 700;
    color: var(--c-accent, #8b253b);
    white-space: nowrap;
}
.shocx-topbar__cta {
    color: var(--c-accent, #8b253b);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 37, 59, .35);
    padding-bottom: 1px;
    transition: border-color .16s var(--ease, ease);
}
@media (hover: hover) { .shocx-topbar__cta:hover { border-color: var(--c-accent, #8b253b); } }
.shocx-topbar__cta:active { opacity: .6; }
.shocx-topbar__w-mobile { display: none; }
.shocx-topbar__x {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-muted, #8a8a8a);
    cursor: pointer;
    border-radius: 50%;
    opacity: .55;
    transition: opacity .2s var(--ease, ease), background .2s var(--ease, ease);
}
.shocx-topbar__x svg { width: 13px; height: 13px; display: block; }
@media (hover: hover) { .shocx-topbar__x:hover { opacity: 1; background: var(--c-warm, #f0f0f0); } }
.shocx-topbar__x:active { transform: translateY(-50%) scale(.92); }
.shocx-topbar--sale {
    background: var(--c-accent, #8b253b);
    color: #fff;
    border-bottom-color: var(--c-accent-dark, #6e1d30);
}
.shocx-topbar--sale .shocx-topbar__text { color: #fff; }
.shocx-topbar--sale .shocx-topbar__ico { color: rgba(255, 255, 255, .85); }
.shocx-topbar--sale .shocx-topbar__sum { color: #fff; font-weight: 700; }
.shocx-topbar--sale .shocx-topbar__timer { font-variant-numeric: tabular-nums; white-space: nowrap; }
.shocx-topbar--sale .shocx-topbar__cta { color: #fff; border-bottom-color: rgba(255, 255, 255, .45); }
@media (hover: hover) { .shocx-topbar--sale .shocx-topbar__cta:hover { border-color: #fff; } }
.shocx-topbar--sale .shocx-topbar__x { color: #fff; opacity: .7; }
@media (hover: hover) { .shocx-topbar--sale .shocx-topbar__x:hover { opacity: 1; background: rgba(255, 255, 255, .14); } }
@media (max-width: 600px) {
    .shocx-topbar { padding: 6px 38px; gap: 7px; }
    .shocx-topbar__text { font-size: 12.5px; }
    .shocx-topbar__ico { width: 16px; height: 16px; }
    .shocx-topbar__x { right: 8px; }
    .shocx-topbar__w-desktop { display: none; }
    .shocx-topbar__w-mobile { display: inline; }
}

