* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff;
}

/* Header Styles */
.baijia_header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.baijia_header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Left - Menu Icon */
.baijia_header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.baijia_menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.baijia_menu-icon span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.baijia_header.scrolled .baijia_menu-icon span {
    background-color: #000;
}

/* Center - Logo */
.baijia_header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.baijia_logo {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.baijia_header.scrolled .baijia_logo {
    filter: brightness(0) invert(0);
}

.baijia_logo[data-logo-default] {
    filter: none;
}

.baijia_header.scrolled .baijia_logo[data-logo-default] {
    filter: none;
}

/* Right - Icon Group */
.baijia_header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.baijia_icon-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 5px;
}

.baijia_icon-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 1;
    transition: stroke 0.3s ease;
}

.baijia_header.scrolled .baijia_icon-btn svg {
    stroke: #000;
}

/* Language Icon */
.baijia_lang-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 1;
    transition: stroke 0.3s ease;
}

.baijia_header.scrolled .baijia_lang-icon svg {
    stroke: #000;
}

/* Demo Content */
.baijia_content {
    padding-top: 100px;
    text-align: center;
    color: #fff;
}

.baijia_content h1 {
    margin-bottom: 20px;
}

.baijia_content p {
    opacity: 0.7;
}

/* Sidebar Overlay */
.baijia_sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1999;
}

.baijia_sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.baijia_sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    max-width: 90vw;
    height: 100%;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    padding: 30px 40px;
}

.baijia_sidebar.active {
    transform: translateX(0);
}

/* Close Button */
.baijia_sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 40px;
}

.baijia_sidebar-close svg {
    width: 28px;
    height: 28px;
    stroke: #000;
    stroke-width: 1.5;
}

/* Menu List */
.baijia_sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.baijia_sidebar-menu li {
    border-bottom: none;
}

.baijia_sidebar-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.baijia_sidebar-menu-item:hover {
    color: #666;
}

.baijia_sidebar-menu-item .plus-icon {
    font-size: 24px;
    font-weight: 300;
    color: #999;
    transition: transform 0.3s ease;
}

/* Submenu */
.baijia_submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.baijia_sidebar-menu li.active > .baijia_submenu {
    max-height: 500px;
}

.baijia_submenu-item {
    display: block;
    padding: 5px 0 5px 20px;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.has-submenu > .baijia_submenu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.baijia_submenu-item .plus-icon {
    font-size: 20px;
    font-weight: 300;
    color: #999;
    transition: transform 0.3s ease;
}

.baijia_submenu-item:hover {
    color: #000;
}

/* 3rd level submenu: deeper indent */
.baijia_submenu .baijia_submenu .baijia_submenu-item {
    padding-left: 40px;
    font-size: 16px;
}

.baijia_submenu .baijia_submenu .has-submenu > .baijia_submenu-item {
    padding-left: 40px;
}

/* Contact Link */
.baijia_sidebar-contact {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.baijia_sidebar-contact:hover {
    color: #333;
}

/* Right Sidebar (Language) */
.baijia_lang-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100%;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    padding: 30px 40px;
}

.baijia_lang-sidebar.active {
    transform: translateX(0);
}

.baijia_lang-sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.baijia_lang-sidebar-close svg {
    width: 28px;
    height: 28px;
    stroke: #000;
    stroke-width: 1.5;
}

.baijia_lang-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.3;
}

.baijia_lang-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.baijia_lang-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.baijia_lang-notice svg {
    width: 20px;
    height: 20px;
    stroke: #666;
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 2px;
}

.baijia_lang-notice-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.baijia_lang-notice-text strong {
    display: block;
    color: #000;
    margin-bottom: 5px;
}

.baijia_lang-select-wrapper {
    margin-bottom: 30px;
}

.baijia_lang-select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.baijia_lang-select-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.baijia_lang-select svg {
    width: 20px;
    height: 20px;
    stroke: #333;
    stroke-width: 1.5;
}

.baijia_lang-select .arrow {
    transition: transform 0.3s ease;
    stroke: #333;
    stroke-width: 2;
    fill: none;
}

.baijia_lang-select-wrapper.active .baijia_lang-select .arrow {
    transform: rotate(180deg);
}

.baijia_lang-dropdown {
    max-height: 0;
    overflow: hidden;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    transform-origin: top center;
}

.baijia_lang-select-wrapper.active .baijia_lang-dropdown {
    max-height: 400px;
    overflow-y: auto;
    opacity: 1;
}

.baijia_lang-group-title {
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.baijia_lang-country {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.baijia_lang-country:hover {
    background-color: #f5f5f5;
}

.baijia_lang-country:last-child {
    border-bottom: none;
}

.baijia_lang-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border: 1px solid #ddd;
    overflow: hidden;
}

.baijia_lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baijia_lang-other {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.baijia_lang-global-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #000;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.baijia_lang-global-btn:hover {
    background-color: #cc0000;
}

/* Footer Styles */
.baijia_footer {
    background-color: #f5f5f5;
    padding: 60px 60px 40px;
}

.baijia_footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 50px;
}

.baijia_footer-left {
    flex: 1;
    max-width: 25%;
}

.baijia_footer-center {
    flex: 2;
    max-width: 50%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.baijia_footer-right {
    flex: 1;
    max-width: 25%;
}

.baijia_footer-brand h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.baijia_footer-brand p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.baijia_footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.baijia_footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.baijia_footer-col ul li {
    margin-bottom: 10px;
}

.baijia_footer-col ul li a {
    font-size: 13px;
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.baijia_footer-col ul li a:hover {
    color: #cc0000;
}

.baijia_footer-newsletter p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.baijia_footer-newsletter-btn {
    display: block;
    width: 100%;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.baijia_footer-newsletter-btn:hover {
    background-color: rgb(183, 8, 38);
}

.baijia_footer-bottom {
    display: flex;
    align-items: center;
    padding-top: 0;
}

.baijia_footer-bottom-left {
    flex: 0 0 25%;
}

.baijia_footer-bottom-center {
    flex: 0 0 50%;
}

.baijia_footer-bottom-right {
    flex: 0 0 25%;
}

.baijia_footer-copyright {
    font-size: 12px;
    color: #000;
}

.baijia_footer-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #000;
}

.baijia_footer-lang svg {
    width: 18px;
    height: 18px;
    stroke: #000;
    stroke-width: 1.5;
    fill: none;
}

.baijia_footer-lang a {
    color: #000;
    text-decoration: underline;
}

.baijia_footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.baijia_footer-social-title {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.baijia_footer-social-icons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.baijia_footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    position: relative;
    text-decoration: none;
}

.baijia_footer-social-icons a:hover {
    background-color: rgb(183, 8, 38);
}

.baijia_footer-social-icons a span {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #000;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.baijia_footer-social-icons a:hover span {
    opacity: 1;
}

.baijia_footer-social-icons a svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Cart Sidebar */
.baijia_cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.baijia_cart-sidebar.active {
    transform: translateX(0);
}

.baijia_cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.baijia_cart-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    letter-spacing: 1px;
}

.baijia_cart-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.baijia_cart-close svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 1.5;
}

.baijia_cart-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.baijia_cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Cart Items */
.baijia_cart-items {
    flex: 1;
    padding: 15px 20px;
    overflow-y: auto;
}

.baijia_cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.baijia_cart-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.baijia_cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baijia_cart-item-info {
    flex: 1;
    min-width: 0;
}

.baijia_cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin: 0 0 4px;
    line-height: 1.3;
}

.baijia_cart-item-meta {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.baijia_cart-item-remove {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
}

.baijia_cart-item-remove:hover {
    color: #e74c7c;
}

/* Cart Footer */
.baijia_cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.baijia_cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.baijia_cart-view-btn,
.baijia_cart-checkout-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    margin-bottom: 8px;
}

.baijia_cart-view-btn {
    background-color: #fff;
    color: #222;
    border: 1px solid #222;
}

.baijia_cart-view-btn:hover {
    background-color: #f5f5f5;
}

.baijia_cart-checkout-btn {
    background-color: #222;
    color: #fff;
    border: 1px solid #222;
}

.baijia_cart-checkout-btn:hover {
    background-color: #000;
}

/* Cart Skeleton Loading */
@keyframes baijia-skeleton-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.baijia_cart-skeleton {
    padding: 15px 20px;
}

.baijia_cart-skeleton-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.baijia_cart-skeleton-img {
    width: 80px;
    height: 80px;
    background: #eee;
    flex-shrink: 0;
    animation: baijia-skeleton-pulse 1.2s ease-in-out infinite;
}

.baijia_cart-skeleton-info {
    flex: 1;
}

.baijia_cart-skeleton-line {
    height: 12px;
    background: #eee;
    margin-bottom: 8px;
    animation: baijia-skeleton-pulse 1.2s ease-in-out infinite;
}

.baijia_cart-skeleton-line:nth-child(1) {
    width: 70%;
}

.baijia_cart-skeleton-line:nth-child(2) {
    width: 40%;
    margin-bottom: 0;
}

/* Cart Item Variation */
.baijia_cart-item-variation {
    font-size: 11px;
    color: #999;
    margin: 2px 0 0;
}

.baijia_cart-empty-icon {
    width: 80px;
    height: 80px;
    stroke: #ccc;
    stroke-width: 1;
    margin-bottom: 20px;
}

.baijia_cart-empty-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.baijia_cart-shop-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.baijia_cart-shop-btn:hover {
    background-color: rgb(183, 8, 38);
}

/* Auth Modal */
.baijia_auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.baijia_auth-overlay.active {
    opacity: 1;
    visibility: visible;
}

.baijia_auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    color: #000;
    width: 400px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 9999;
    padding: 50px 40px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.baijia_auth-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.baijia_auth-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.baijia_auth-close svg {
    width: 20px;
    height: 20px;
    stroke: #000;
    stroke-width: 2;
    fill: none;
}

.baijia_auth-close:hover svg {
    stroke: #999;
}

.baijia_auth-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    margin: 0 0 30px;
    color: #000;
}

.baijia_auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.baijia_auth-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #000;
    margin-bottom: 8px;
}

.baijia_auth-field input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #000;
    font-size: 14px;
    color: #000;
    background: transparent;
    outline: none;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.baijia_auth-field input:focus {
    border-bottom-color: #666;
}

.baijia_auth-msg {
    font-size: 13px;
    min-height: 0;
    transition: min-height 0.2s ease;
}

.baijia_auth-msg.error {
    color: #c00;
}

.baijia_auth-msg.success {
    color: #090;
}

.baijia_auth-submit {
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 5px;
}

.baijia_auth-submit:hover {
    background: #333;
}

.baijia_auth-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

.baijia_auth-switch {
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
    color: #999;
    margin-top: 25px;
}

.baijia_auth-switch a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid #000;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.baijia_auth-switch a:hover {
    color: #666;
    border-color: #666;
}

/* Profile Modal */
.baijia_profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.baijia_profile-avatar-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.baijia_profile-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #000;
}

.baijia_profile-avatar-edit {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.baijia_profile-avatar-edit svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.baijia_profile-avatar-edit:hover {
    background: #333;
}

.baijia_profile-name-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.baijia_profile-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
}

.baijia_profile-edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
}

.baijia_profile-edit-btn svg {
    width: 14px;
    height: 14px;
    stroke: #999;
    stroke-width: 2;
    fill: none;
}

.baijia_profile-edit-btn:hover svg {
    stroke: #000;
}

.baijia_profile-name-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 5px;
}

.baijia_profile-name-form input {
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #000;
    font-size: 14px;
    color: #000;
    background: transparent;
    outline: none;
    border-radius: 0;
    text-align: center;
    width: 180px;
}

.baijia_profile-name-save {
    padding: 6px 14px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

.baijia_profile-name-save:hover {
    background: #333;
}

.baijia_profile-email {
    font-size: 13px;
    color: #999;
    letter-spacing: 0.5px;
    margin: 5px 0 0;
}

.baijia_profile-msg {
    font-size: 12px;
    min-height: 18px;
    margin-top: 5px;
}

.baijia_profile-msg.error {
    color: #c00;
}

.baijia_profile-msg.success {
    color: #090;
}

.baijia_profile-logout {
    display: block;
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 25px;
    transition: background-color 0.2s ease;
}

.baijia_profile-logout:hover {
    background: #333;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .baijia_header {
        padding: 20px 20px;
    }

    .baijia_header-right {
        gap: 5px;
    }

    .baijia_logo {
        height: 18px;
    }

    .baijia_footer {
        padding: 40px 20px;
    }

    .baijia_footer-main {
        flex-direction: column;
    }

    .baijia_footer-left,
    .baijia_footer-center,
    .baijia_footer-right {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .baijia_footer-center {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .baijia_footer-col h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        margin-bottom: 0;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
    }

    .baijia_footer-col h4::after {
        content: '+';
        font-size: 20px;
        font-weight: 300;
        color: #999;
        transition: transform 0.3s ease;
    }

    .baijia_footer-col.active h4::after {
        content: '-';
    }

    .baijia_footer-col ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .baijia_footer-col.active ul {
        max-height: 300px;
        padding: 10px 0;
    }

    .baijia_footer-col ul li {
        margin-bottom: 12px;
    }

    .baijia_footer-bottom {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .baijia_footer-social {
        align-items: center;
    }

    .baijia_footer-social-icons {
        justify-content: center;
        width: auto;
        gap: 10px;
    }
}

/* ------------------------------------------------------------------
 * Keep header logo consistent on single product pages
 * ------------------------------------------------------------------ */
.single-product .baijia_header .baijia_logo {
    height: 26px;
    max-height: 26px;
    width: auto;
}

@media (max-width: 768px) {
    .single-product .baijia_header .baijia_logo {
        height: 18px;
        max-height: 18px;
    }
}

/* ------------------------------------------------------------------
 * Header logo: enforce a single, consistent size on every page
 * （Elementor 的全局 img 规则会覆盖普通选择器，这里用 !important 兜底）
 * ------------------------------------------------------------------ */
header.baijia_header img.baijia_logo {
    height: 26px !important;
    max-height: 26px !important;
    width: auto !important;
    object-fit: contain;
}

@media (max-width: 768px) {
    header.baijia_header img.baijia_logo {
        height: 18px !important;
        max-height: 18px !important;
    }
}
