.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--topbar-height);
    background: #050505;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 1100;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.topbar.hide-topbar {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

.topbar-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.topbar-wrap a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.topbar-wrap a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: #d2a467;
    transition: width 0.3s ease;
}

.topbar-wrap a:hover {
    color: #d2a467;
}

.topbar-wrap a:hover::after {
    width: 100%;
}

.site-header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 250, 243, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1300;
    border-bottom: 1px solid rgba(210, 164, 103, 0.22);
    transition: top 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    top: 0;
    background: rgba(255, 250, 243, 0.98);
    box-shadow: 0 10px 32px rgba(79, 54, 25, 0.1);
}

.header-row {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: #2d2230;
    font-size: 22px;
    cursor: pointer;
    margin-right: 8px;
    justify-content: center;
    align-items: center;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo img {
    max-height: 68px;
    width: auto;
}

.video-logo {
    width: 80px;
    height: 46px;
    overflow: hidden;
    border-radius: 4px;
}

.video-logo video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

/* Desktop nav */
.desktop-nav {
    min-width: 0;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    font-family: "Times New Roman", Georgia, serif;
}

.desktop-nav li {
    position: relative;
}

.desktop-nav a {
    position: relative;
    font-size: 20px;
    color: #2f2b42;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 1.5px;
    background: #c9934f;
    transition: width 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #9b6428;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav-item.has-nav-dropdown,
.desktop-nav-item.has-live-dropdown,
.desktop-nav-item.has-sip-dropdown {
    padding: 18px 0;
    margin: -18px 0;
}

.desktop-nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 220px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1400;
}

.desktop-nav-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #ececec;
    border-top: 1px solid #ececec;
    transform: translateX(-50%) rotate(45deg);
}

.desktop-nav-item.has-nav-dropdown:hover .desktop-nav-dropdown,
.desktop-nav-item.has-nav-dropdown:focus-within .desktop-nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.desktop-nav-dropdown a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: #111;
}

.desktop-nav-dropdown a::after {
    display: none;
}

.desktop-nav-dropdown a:hover,
.desktop-nav-dropdown a.active {
    background: #f7f4ef;
    color: #111;
}

/* LIVE nav */
.live-link,
.mobile-live-link,
.sip-link,
.mobile-sip-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.live-link-text,
.mobile-live-text,
.sip-link-text,
.mobile-sip-text {
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2f43;
    display: inline-block;
    flex-shrink: 0;
    animation: liveBlink 1.15s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 47, 67, 0.65);
}

.live-dot-lg {
    width: 10px;
    height: 10px;
}

.live-link .live-dot.live-link-arrow {
    animation: liveBlink 1.15s ease-in-out infinite !important;
}

.sip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9934f;
    display: inline-block;
    flex-shrink: 0;
    animation: sipBlink 1.25s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(201, 147, 79, 0.62);
}

.sip-dot-lg {
    width: 10px;
    height: 10px;
}

@keyframes sipBlink {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 147, 79, 0.55);
    }
    50% {
        opacity: 0.72;
        transform: scale(0.92);
        box-shadow: 0 0 0 8px rgba(201, 147, 79, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 147, 79, 0);
    }
}

@keyframes liveBlink {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 47, 67, 0.6);
    }
    50% {
        opacity: 0.65;
        transform: scale(0.92);
        box-shadow: 0 0 0 8px rgba(255, 47, 67, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 47, 67, 0);
    }
}

/* Desktop live mini dropdown */
.live-mini-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 305px;
    padding: 16px;
    border: 1px solid #ece4d8;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
    z-index: 1450;
}

.live-mini-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #ece4d8;
    border-top: 1px solid #ece4d8;
    transform: translateX(-50%) rotate(45deg);
}

.desktop-nav-item.has-live-dropdown.active .live-mini-dropdown,
.desktop-nav-item.has-live-dropdown.live-hover-enabled:hover .live-mini-dropdown,
.desktop-nav-item.has-live-dropdown.live-hover-enabled:focus-within .live-mini-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.live-mini-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.live-mini-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.live-mini-title span:last-child {
    font-size: 16px;
    font-weight: 700;
    color: #17171f;
    line-height: 1.1;
}

.live-mini-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(32, 166, 83, 0.08);
    color: #1c7d45;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.live-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.live-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eee7dc;
}

.live-mini-metal {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.live-mini-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4ecdf 0%, #e5d0ad 100%);
    color: #5b4a2d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.live-mini-name {
    font-size: 14px;
    font-weight: 600;
    color: #17171f;
    line-height: 1.2;
}

.live-mini-value-wrap {
    text-align: right;
    flex-shrink: 0;
}

.live-mini-value-wrap strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #18181f;
    line-height: 1.2;
    margin-bottom: 2px;
}

.live-mini-value-wrap small {
    display: block;
    font-size: 11px;
    color: #7a7368;
    line-height: 1.2;
}

.live-mini-foot {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.live-mini-updated {
    font-size: 11px;
    color: #7b7468;
    text-align: center;
    line-height: 1.4;
}

.live-mini-btn {
    width: 100%;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 13px;
    background: linear-gradient(135deg, #1e1e24 0%, #353542 100%);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.35px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.live-mini-btn::after {
    display: none !important;
}

.live-mini-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(27, 27, 34, 0.18);
    opacity: 0.96;
}



/* SIP mini dropdown */
.sip-mini-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 320px;
    padding: 16px;
    border: 1px solid #ece4d8;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
    z-index: 1450;
}

.sip-mini-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #ece4d8;
    border-top: 1px solid #ece4d8;
    transform: translateX(-50%) rotate(45deg);
}

.desktop-nav-item.has-sip-dropdown.active .sip-mini-dropdown,
.desktop-nav-item.has-sip-dropdown:hover .sip-mini-dropdown,
.desktop-nav-item.has-sip-dropdown:focus-within .sip-mini-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sip-mini-head,
.mobile-sip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sip-mini-title,
.mobile-sip-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sip-mini-title span:last-child,
.mobile-sip-title span:last-child {
    font-size: 16px;
    font-weight: 700;
    color: #17171f;
    line-height: 1.1;
}

.sip-lang-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 13px;
    padding: 4px;
    border: 1px solid #eee7dc;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
}

.sip-lang-btn {
    min-height: 36px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #645342;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25px;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.sip-lang-btn.active,
.sip-lang-btn:hover {
    background: #17171f;
    color: #fff;
    box-shadow: 0 10px 18px rgba(17, 17, 17, 0.1);
}

.sip-info-text {
    display: none;
    margin: 0 0 14px;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #eee7dc;
    color: #3b342d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
}

.sip-info-text.active {
    display: block;
}

.sip-book-btn {
    width: 100%;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 13px;
    background: linear-gradient(135deg, #1e1e24 0%, #353542 100%);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.sip-book-btn::after {
    display: none !important;
}

.sip-book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(27, 27, 34, 0.18);
    opacity: 0.96;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.header-dropdown,
.mobile-header-dropdown {
    position: relative;
}

.icon-link,
.mobile-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2b2b49;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-toggle {
    border: none;
    cursor: pointer;
    padding: 0;
}

.icon-circle {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(201, 147, 79, 0.22);
    border-radius: 50%;
    background: #fffaf3;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(91, 58, 24, 0.06);
}

.header-dropdown.active .icon-circle,
.header-model-dropdown:hover .icon-circle,
.icon-circle:hover {
    background: #2f2433;
    border-color: #2f2433;
    color: #fff;
    transform: translateY(-2px);
}

.icon-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Dropdown */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #ece0cf;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(73, 47, 18, 0.14);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1400;
}

.header-dropdown.active .dropdown-panel,
.mobile-header-dropdown.active .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .header-model-dropdown:hover .dropdown-panel,
    .header-model-dropdown:focus-within .dropdown-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.dropdown-panel::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #ece0cf;
    border-top: 1px solid #ece0cf;
    transform: rotate(45deg);
}

.header-model-panel {
    background: linear-gradient(180deg, #ffffff 0%, #fff9f1 100%);
}

.user-panel h4,
.panel-head h4 {
    font-size: 20px;
    color: #111;
    margin-bottom: 8px;
}

.user-panel p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 18px;
}

.model-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.model-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f2e4d1;
    color: #5f3b17;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    font-size: 18px;
}

.model-icon img,
.header-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.header-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
}

.auth-btn,
.panel-btn {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    margin-top: 10px;
    text-decoration: none;
}

.primary-btn,
.panel-btn {
    background: #161116;
    color: #fff;
}

.primary-btn:hover,
.panel-btn:hover {
    background: #c9934f;
    color: #fff;
}

.secondary-btn {
    border: 1px solid #decbb2;
    background: #fff;
    color: #111;
}

.secondary-btn:hover {
    background: #fff4e7;
    color: #111;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.panel-head span {
    font-size: 13px;
    color: #7a7a7a;
}

.mini-product {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #f0e6d8;
}

.mini-product:first-of-type {
    border-top: none;
}

.mini-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: #f2f2f2;
    flex-shrink: 0;
}

.mini-product-info h5 {
    font-size: 14px;
    color: #111;
    line-height: 1.35;
    margin-bottom: 6px;
}

.mini-product-info p {
    font-size: 13px;
    color: #777;
}

/* Mobile header live trigger */
.mobile-right-icons {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-right-icons .mobile-icon {
    width: 32px;
    height: 32px;
    font-size: 17px;
    color: #202020;
    background: transparent;
    border: none;
}

.mobile-right-icons .icon-count {
    top: -5px;
    right: -7px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
}

.mobile-avatar {
    width: 26px;
    height: 26px;
}

.mobile-live-trigger,
.mobile-sip-trigger {
    display: none;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid #eadfce;
    border-radius: 999px;
    background: #fff;
    color: #17171f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mobile-live-trigger:hover,
.mobile-live-trigger.active,
.mobile-sip-trigger:hover,
.mobile-sip-trigger.active {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(17, 17, 17, 0.08);
    border-color: #d8c29c;
}

/* Mobile live dropdown */

.mobile-sip-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    padding: 14px;
    border: 1px solid #ece4d8;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 1455;
}

.mobile-sip-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-live-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    padding: 14px;
    border: 1px solid #ece4d8;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 1455;
}

.mobile-live-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-live-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.mobile-live-title span:last-child {
    font-size: 15px;
    font-weight: 700;
    color: #17171f;
}

.mobile-live-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(32, 166, 83, 0.08);
    color: #1c7d45;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.mobile-live-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-live-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #eee7dc;
}

.mobile-live-metal {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.mobile-live-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4ecdf 0%, #e5d0ad 100%);
    color: #5b4a2d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.mobile-live-metal span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: #17171f;
}

.mobile-live-value-wrap {
    text-align: right;
    flex-shrink: 0;
}

.mobile-live-value-wrap strong {
    display: block;
    font-size: 13px;
    color: #18181f;
    line-height: 1.2;
    margin-bottom: 2px;
}

.mobile-live-value-wrap small {
    display: block;
    font-size: 10px;
    color: #7a7368;
    line-height: 1.2;
}

.mobile-live-foot {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.mobile-live-updated {
    font-size: 10px;
    color: #7b7468;
    text-align: center;
}

.mobile-live-btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e1e24 0%, #353542 100%);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.mobile-live-btn::after {
    display: none !important;
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    z-index: 1290;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(88vw, 360px);
    max-width: 360px;
    height: 100vh;
    background: #fffaf3;
    z-index: 1310;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar-top {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fffaf3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px;
    border-bottom: 1px solid #eadfce;
}

.mobile-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
}

.mobile-user i {
    width: 32px;
    height: 32px;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.mobile-sidebar-avatar {
    width: 36px;
    height: 36px;
}

.mobile-sidebar-close {
    width: 38px;
    height: 38px;
    border: 1px solid #dddddd;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.25s ease;
}

.mobile-sidebar-close:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.mobile-nav {
    padding: 8px 0 0;
}

.mobile-nav > a,
.mobile-nav-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 17px 18px;
    border-bottom: 1px solid #efe2d0;
    font-size: 13px;
    color: #111;
    letter-spacing: 0.3px;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
}

.mobile-live-link {
    font-weight: 700;
    color: #1a1a21;
}

.mobile-nav > a i,
.mobile-nav-toggle i {
    font-size: 11px;
    color: #888;
    transition: transform 0.25s ease;
}

.mobile-nav-item.active .mobile-nav-toggle i {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    background: #faf8f4;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: 14px 34px;
    font-size: 12px;
    color: #3a332d;
    border-top: 1px solid #f0ebe3;
    text-decoration: none;
}

.mobile-submenu a:hover {
    background: #f3ede4;
}

.mobile-contact-box {
    margin-top: auto;
    padding: 24px 18px 20px;
    border-top: 1px solid #eadfce;
    background: #fff5e8;
}

.mobile-contact-box h4 {
    font-size: 15px;
    text-align: center;
    margin-bottom: 18px;
    color: #111;
    font-weight: 700;
}

.mobile-contact-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.mobile-contact-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 12px;
    text-decoration: none;
}

.mobile-contact-icons span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #7b5a35;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.mobile-sidebar-footer {
    padding: 14px 18px 20px;
    border-top: 1px solid #eadfce;
    text-align: center;
    font-size: 11px;
    color: #777;
    background: #fff5e8;
}

@media (max-width: 1400px) {
    .desktop-nav ul {
        gap: 22px;
    }

    .desktop-nav a {
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .desktop-nav ul {
        gap: 18px;
    }

    .desktop-nav a {
        font-size: 13px;
    }

    .live-mini-dropdown {
        width: 290px;
    }

    .video-logo {
        width: 65px;
        height: 40px;
    }
}

@media (max-width: 991px) {
    .topbar-wrap {
        gap: 18px;
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
    }

    .topbar-wrap a:nth-child(2),
    .topbar-wrap a:nth-child(4) {
        display: none;
    }

    .site-header {
        top: var(--topbar-height);
    }

    .site-header.scrolled {
        top: 0;
    }

    .desktop-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn,
    .mobile-right-icons,
    .mobile-live-trigger,
.mobile-sip-trigger {
        display: inline-flex;
    }

    .header-row {
        grid-template-columns: 1fr auto;
    }

    .site-logo img {
        max-height: 68px;
    }

    .video-logo {
        width: 61px;
        height: 40px;
    }

    .mobile-live-dropdown,
    .mobile-sip-dropdown {
        display: block;
    }

    .mobile-header-dropdown .dropdown-panel {
        position: fixed;
        top: calc(var(--topbar-height) + var(--header-height) + 10px);
        left: 14px;
        right: 14px;
        width: auto;
        max-width: none;
        z-index: 1460;
    }

    .site-header.scrolled .mobile-header-dropdown .dropdown-panel {
        top: calc(var(--header-height) + 10px);
    }

    .mobile-header-dropdown .dropdown-panel::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-left {
        gap: 6px;
    }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        font-size: 19px;
        margin-right: 10px;
    }

    .site-logo img {
        max-height: 68px;
    }

    .video-logo {
        width: 51px;
        height: 40px;
    }

    .mobile-right-icons {
        gap: 10px;
    }

    .mobile-right-icons .mobile-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .mobile-sidebar {
        width: 86vw;
        max-width: 340px;
    }

    .mobile-nav > a,
    .mobile-nav-toggle {
        font-size: 13px;
        padding: 16px 18px;
    }

    .mobile-live-trigger,
.mobile-sip-trigger {
        padding: 7px 10px;
        font-size: 10px;
    }

    .dropdown-panel {
        padding: 18px;
    }
}

@media (max-width: 575px) {
    .topbar-wrap {
        justify-content: center;
        gap: 16px;
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .site-logo img {
        max-height: 58px;
    }

    .video-logo {
        width: 30px;
        height: 25px;
    }

    .mobile-menu-btn {
        margin-right: 8px;
    }

    .mobile-sidebar {
        width: calc(100vw - 48px);
        max-width: 320px;
    }

    .mobile-live-dropdown,
    .mobile-sip-dropdown {
        right: 12px;
        left: 12px;
        padding: 12px;
    }

    .mobile-live-row {
        padding: 10px 10px;
    }

    .mobile-live-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .mobile-right-icons {
        gap: 7px;
    }

    .mobile-live-trigger,
.mobile-sip-trigger {
        padding: 7px 8px;
        font-size: 9px;
    }

    .mobile-right-icons .mobile-icon {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .mini-product img {
        width: 62px;
        height: 62px;
    }
}
/* Dynamic cart/wishlist direct links */
.header-direct-link,
.mobile-direct-link {
    text-decoration: none;
}

.header-direct-link.has-count,
.mobile-direct-link.has-count {
    position: relative;
}

.header-direct-link .icon-count,
.mobile-direct-link .icon-count {
    pointer-events: none;
}

.header-direct-link .icon-count:empty,
.mobile-direct-link .icon-count:empty {
    display: none;
}

.header-direct-link[data-header-cart-link],
.header-direct-link[data-header-wishlist-link] {
    flex-shrink: 0;
}

.mobile-right-icons .mobile-direct-link {
    width: 32px;
    height: 32px;
    font-size: 17px;
    color: #202020;
    background: transparent;
    border: none;
}

.mobile-right-icons .mobile-direct-link:hover {
    color: #9b6428;
    transform: translateY(-1px);
}

/* =========================================================
   Header direct profile/cart/wishlist link polish
   User icon is now a direct link: signin.php when guest,
   profile.php when logged in. No signup/signin dropdown model.
========================================================= */
.header-profile-link,
.header-direct-link,
.mobile-profile-link,
.mobile-direct-link {
    text-decoration: none !important;
}

.header-profile-link.icon-circle,
.header-direct-link.icon-circle {
    color: #2f2433;
    background: linear-gradient(180deg, #fffaf3 0%, #f4e7d7 100%);
    border-color: rgba(169, 118, 61, 0.24);
    box-shadow:
        0 9px 20px rgba(91, 58, 24, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.header-profile-link.icon-circle:hover,
.header-direct-link.icon-circle:hover {
    color: #ffffff;
    background: linear-gradient(180deg, #8f6638 0%, #5b3f22 100%);
    border-color: rgba(91, 63, 34, 0.55);
    transform: translateY(-2px);
    box-shadow:
        0 14px 26px rgba(91, 58, 24, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.header-profile-link.is-user-logged {
    padding: 3px;
    overflow: hidden;
}

.header-profile-link.is-user-logged .header-user-avatar {
    border: 1px solid rgba(169, 118, 61, 0.28);
    background: #f4e7d7;
}

.mobile-profile-link,
.mobile-direct-link {
    color: #2f2433 !important;
    transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.mobile-profile-link:hover,
.mobile-direct-link:hover {
    color: #9b6428 !important;
    transform: translateY(-1px);
}

.mobile-profile-link .header-user-avatar.mobile-avatar {
    border: 1px solid rgba(169, 118, 61, 0.28);
    background: #f4e7d7;
}

.header-direct-link .icon-count,
.mobile-direct-link .icon-count {
    background: linear-gradient(180deg, #111 0%, #5b3f22 100%);
    color: #fff;
    border: 1px solid rgba(255, 250, 243, 0.88);
    box-shadow: 0 5px 12px rgba(59, 39, 20, 0.18);
}

.header-profile-link::after,
.header-direct-link::after,
.mobile-profile-link::after,
.mobile-direct-link::after {
    display: none !important;
}

/* Customize Ring question mark dropdown */
.header-customize-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.customize-question-toggle {
    border: 1px solid rgba(201, 147, 79, 0.22);
    cursor: pointer;
    padding: 0;
}

.customize-question-mark,
.customize-question-inline,
.customize-question-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 800;
    line-height: 1;
}

.customize-question-mark {
    width: 18px;
    height: 18px;
    color: #ff2f43;
    font-size: 20px;
    animation: customizeQuestionBlink 1.15s ease-in-out infinite;
    text-shadow: 0 0 0 rgba(255, 47, 67, 0.65);
}

.customize-question-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    background: #ff2f43;
    font-size: 15px;
    animation: customizeQuestionPulse 1.15s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 47, 67, 0.58);
    flex-shrink: 0;
}

.customize-question-inline {
    width: 18px;
    height: 18px;
    color: #ff2f43;
    font-size: 16px;
    animation: customizeQuestionBlink 1.15s ease-in-out infinite;
}

@keyframes customizeQuestionBlink {
    0% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 0 rgba(255, 47, 67, 0.65);
    }
    50% {
        opacity: 0.64;
        transform: scale(0.9);
        text-shadow: 0 0 12px rgba(255, 47, 67, 0.72);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 0 rgba(255, 47, 67, 0.65);
    }
}

@keyframes customizeQuestionPulse {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 47, 67, 0.58);
    }
    50% {
        opacity: 0.72;
        transform: scale(0.92);
        box-shadow: 0 0 0 8px rgba(255, 47, 67, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 47, 67, 0);
    }
}

.customize-mini-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 330px;
    padding: 16px;
    border: 1px solid #ece4d8;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
    z-index: 1450;
}

.customize-mini-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 18px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #ece4d8;
    border-top: 1px solid #ece4d8;
    transform: rotate(45deg);
}

.header-customize-dropdown.active .customize-mini-dropdown,
.header-customize-dropdown:hover .customize-mini-dropdown,
.header-customize-dropdown:focus-within .customize-mini-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.customize-mini-head,
.mobile-customize-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.customize-mini-title,
.mobile-customize-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.customize-mini-title span:last-child,
.mobile-customize-title span:last-child {
    font-size: 16px;
    font-weight: 700;
    color: #17171f;
    line-height: 1.1;
}

.customize-lang-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 13px;
    padding: 4px;
    border: 1px solid #eee7dc;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
}

.customize-lang-btn {
    min-height: 36px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #645342;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25px;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.customize-lang-btn.active,
.customize-lang-btn:hover {
    background: #17171f;
    color: #fff;
    box-shadow: 0 10px 18px rgba(17, 17, 17, 0.1);
}

.customize-info-text {
    display: none;
    margin: 0 0 14px;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #eee7dc;
    color: #3b342d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
}

.customize-info-text.active {
    display: block;
}

.customize-book-btn {
    width: 100%;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 13px;
    background: linear-gradient(135deg, #1e1e24 0%, #353542 100%);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.customize-book-btn::after {
    display: none !important;
}

.customize-book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(27, 27, 34, 0.18);
    opacity: 0.96;
}

.mobile-customize-trigger {
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-customize-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    padding: 14px;
    border: 1px solid #ece4d8;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 1455;
}

.mobile-customize-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-customize-link {
    font-weight: 700;
    color: #1a1a21;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.custom-ring-section-anchor,
.product-section-anchor {
    scroll-margin-top: calc(var(--topbar-height) + var(--header-height) + 18px);
}

@media (max-width: 991px) {
    .mobile-customize-dropdown {
        display: block;
    }

    .mobile-customize-trigger {
        display: inline-flex;
    }
}

@media (max-width: 575px) {
    .mobile-customize-dropdown {
        right: 12px;
        left: 12px;
        padding: 12px;
    }

    .mobile-customize-trigger .customize-question-mark {
        font-size: 17px;
    }
}