
.linkprint-homepage {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #F8FAFC;
}


/* LinkPrint Header Styles */
.linkprint-top-banner {
    background: #1A202C;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}


.linkprint-top-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:  var(--theme-var-page_width_boxed);
    max-width: 1400px !important;
    margin: 0 auto;
    padding-left: var(--theme-var-page_fullwide_extra);
    padding-right: var(--theme-var-page_fullwide_extra);
}



.banner-location, .banner-brand {
    color: #e59c0e;
    font-size: 0.85rem;
    font-weight: bold;
}

.linkprint-header {
    background: #1A202C;
    color: white;
    padding: 0;
}
.linkprint-header .container,.header-navigation .container,.linkprint-footer .container {
    width:  var(--theme-var-page_width_boxed);
    max-width: 1400px !important;
    margin: 0 auto;
    padding-left: var(--theme-var-page_fullwide_extra);
    padding-right: var(--theme-var-page_fullwide_extra);
}

.header-content {
    display: flex;
    align-items: center;
    padding: 5px 0;
    justify-content: space-between;
    width: 100%;
    
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-image {
    width: 40px !important;
    height: 40px !important;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.header-search {
    flex: 1;
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 40px;
    width: 500px !important;
    max-width: 550px !important;
}

.search-field {
    width: 100%;
    padding: 15px 60px 15px 25px !important;
    border: none;
    border-radius: 30px !important;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.search-field::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.search-submit {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    color: black !important;
    cursor: pointer;
    padding: 12px 15px !important;
    border-radius: 30px !important;
    display: flex;
    align-items: center;
    background: white !important;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3) !important;
}

.search-submit:hover {
    
    color: black !important;
}

.search-submit svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* 搜索按钮加载动画 */
.search-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.search-submit .animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 搜索框聚焦效果 */
.search-field:focus {
    outline: none;
}

.search-wrapper:focus-within {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* 搜索框响应式优化 */
@media (max-width: 768px) {
    .search-wrapper {
        height: 45px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .search-field {
        padding: 12px 55px 12px 20px;
        font-size: 15px;
    }
    
    .search-submit {
        padding: 10px 12px;
    }
    
    .search-submit svg {
        width: 16px;
        height: 16px;
    }
}

.header-actions {
    display: flex;
    gap: 20px;
    margin-left: auto;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: fit-content;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.header-action:hover {
    color: #60A5FA;
}

.header-action svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #EF4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-navigation {
    padding-top: 0;
    background: #1A202C;
    width: 100%;
    position: relative;
    /* 当菜单项目过多时允许横向滚动（桌面端也启用） */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.header-navigation::-webkit-scrollbar { /* WebKit */
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    justify-content: center; /* 水平居中 */
    height: 40px;
    align-items: center;
    font-size: 0.9rem;
    /* 防止换行，内容超出时配合父级产生横向滚动 */
    flex-wrap: nowrap;
    min-width: max-content;
}

/* 确保导航菜单始终可见 */
.header-navigation {
    min-height: 50px;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-item {
    position: relative;
    flex-shrink: 0; /* 保持每个项目宽度，避免挤压换行 */
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap; /* 文本不换行 */
}

.nav-link:hover,
.nav-item.current .nav-link {
    color: #60A5FA;
}

/* 强制 header 导航项目文字不换行，提升优先级覆盖父主题样式 */
.header-navigation .nav-item,
.header-navigation .nav-item .nav-link {
    white-space: nowrap !important;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    -webkit-hyphens: none;
}

.nav-item.current .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #60A5FA;
}

/* 平板端样式 (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Top Banner 平板端优化 */
    .linkprint-top-banner {
        padding: 8px 0;
        font-size: 14px;
    }
    
    .linkprint-top-banner .container {
        padding: 0 20px;
    }
    
    /* Header 平板端优化 */
    .linkprint-header .container {
        padding: 0 20px;
    }
    
    .header-content {
        padding: 12px 0;
        gap: 25px;
    }
    
    /* Logo 调整 */
    .logo-image {
        width: 38px;
        height: 38px;
    }
    
    .logo-text {
        font-size: 1.15rem;
    }
    
    /* 搜索框 平板端优化 */
    .header-search {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .search-wrapper {
        height: 42px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .search-field {
        padding: 14px 58px 14px 22px !important;
        font-size: 15px;
    }
    
    .search-submit {
        padding: 11px 14px !important;
    }
    
    .search-submit svg {
        width: 17px;
        height: 17px;
    }
    
    /* 操作按钮 平板端优化 */
    .header-actions {
        gap: 18px;
    }
    
    .header-action {
        font-size: 0.85rem;
    }
    
    .header-action svg {
        width: 22px;
        height: 22px;
    }
    
    /* 隐藏部分文字，显示图标 */
    .header-action span {
        display: none;
    }
    
    /* 导航菜单 平板端 */
    .header-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu {
        gap: 22px;
        justify-content: center;
        min-width: max-content;
        padding: 0 20px;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 12px 0;
    }
}

/* 移动端汉堡菜单样式 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* 汉堡菜单动画 */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 移动端导航覆盖层 */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-nav-overlay.active {
    display: block;
}

/* 移动端导航菜单 */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #1A202C;
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-menu .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.mobile-nav-menu .nav-item {
    width: 100%;
    border-bottom: 1px solid #374151;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 0;
    background: none;
    transition: color 0.3s ease;
}

.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-item.current .nav-link {
    color: #60A5FA;
    background: none;
}

/* 小屏幕样式 (最大768px) */
@media (max-width: 768px) {
    /* 显示汉堡菜单按钮 */
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }
    
    /* Top Banner 手机端优化 */
    .linkprint-top-banner .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding: 0 15px;
    }
    
    /* Header 手机端布局 */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
    }
    
    .header-logo {
        order: 1;
        justify-content: flex-start;
    }
    

    
    /* 隐藏桌面版导航 */
    .header-navigation {
        display: none;
    }
    
    /* 移动端搜索和操作区域 */
    .mobile-header-bottom {
        background: #1A202C;
        border-top: 1px solid #374151;
        padding: 12px 15px;
    }
    
    .mobile-search {
        margin-bottom: 15px;
    }
    
    .mobile-search .search-wrapper {
        height: 45px;
    }
    
    .mobile-search .search-field {
        padding: 12px 55px 12px 20px !important;
        font-size: 15px;
    }
    
    .mobile-actions {
        display: flex;
        justify-content: center;
        gap: 25px;
    }
    
    .mobile-actions .header-action {
        flex-direction: column;
        gap: 4px;
        font-size: 0.8rem;
    }
    
    .mobile-actions .header-action svg {
        width: 18px;
        height: 18px;
    }
}

/* Hero Section */
.linkprint-hero {
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #EC4899 100%);
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1000" height="500" fill="url(%23grid)"/></svg>');
    background-size: 100px 100px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    color: white;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    background: linear-gradient(45deg, #fff, #E2E8F0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 30px 0;
    opacity: 0.9;
    color: #E2E8F0;
}

.hero-description p {
    font-size: 1.1rem;
    opacity: 0.8;
    color: #CBD5E1;
}

.hero-character {
    flex: 1;
    text-align: center;
    position: relative;
}

.character-image {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Features Section */
.linkprint-features {
    padding: 80px 0;
    background: #F8FAFC;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0 15px;
    color: #1E293B;
}

.feature-item p {
    color: #64748B;
    line-height: 1.6;
}

/* Products Section */
.linkprint-products {
    padding: 80px 0;
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1E293B;
}

.navigation-arrows {
    display: flex;
    gap: 10px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid #E2E8F0;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748B;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    border-color: #6366F1;
    color: #6366F1;
    background: #F8FAFC;
}

.products-slider {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-slider::-webkit-scrollbar {
    display: none;
}

.product-item {
    flex: 0 0 220px;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: #F8FAFC;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.mystery-box {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.mystery-icon {
    font-size: 60px;
    color: white;
    font-weight: bold;
}

.product-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1E293B;
    margin: 0;
}

.product-item p {
    font-size: 0.9rem;
    color: #64748B;
    margin: 8px 0 0;
}

/* Recommendations Section */
.linkprint-recommendations {
    padding: 80px 0;
    background: #F8FAFC;
}

.linkprint-recommendations h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1E293B;
    text-align: center;
    margin-bottom: 50px;
}

.recommendations-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748B;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    color: #EF4444;
    background: #FEF2F2;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1E293B;
    margin: 0 0 15px;
    line-height: 1.4;
}

.price {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #EF4444;
}

.original-price {
    font-size: 1rem;
    color: #94A3B8;
    text-decoration: line-through;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: #6366F1;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.95rem;
}

.add-to-cart:hover {
    background: #4F46E5;
}

/* CTA Banners Section */
.linkprint-cta-banners {
    padding: 80px 0;
    background: white;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-banner {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}

.service-banner {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.partner-banner {
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    height: 100%;
}

.linkprint-top-banner .container .banner-text {
    flex: 1;
    min-width: 70%;
    text-align: left;
} 

.linkprint-top-banner .container .banner-brand {
    flex: 1;
    min-width: 30%;
    text-align: right;
    background: linear-gradient(90deg, #F8DDE6 0%, #E97F84 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} 

.cta-button {
    padding: 12px 24px;
    background: #6366F1;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.cta-button:hover {
    background: #4F46E5;
}

.banner-image {
    flex: 1;
    text-align: right;
}

.banner-image img {
    max-width: 200px;
    height: auto;
}

/* LinkPrint Footer Styles */
.linkprint-footer {
    background: #1A202C;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer 平板端优化 */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .newsletter-form {
        max-width: 280px;
    }
}

/* Footer 手机端优化 */
@media (max-width: 768px) {
    .linkprint-footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .footer-section.menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-section.menu li {
        margin-bottom: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .newsletter-input {
        font-size: 15px;
        padding: 14px 50px 14px 15px;
    }
    
    .newsletter-checkbox {
        font-size: 0.8rem;
        justify-content: center;
        text-align: center;
    }
}

.footer-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-section.contacts,
.footer-section.menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white ;
    display: block !important;
    visibility: visible !important;
}

.footer-section p {
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #6366F1;
}

.contact-item {
    margin-bottom: 15px;
    color: #CBD5E1;
    line-height: 1.5;
}

.contact-item strong {
    color: white;
}

.quick-links ul,
.footer-section.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.quick-links li,
.footer-section.menu li {
    margin-bottom: 10px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.quick-links a,
.footer-section.menu a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.quick-links a:hover,
.footer-section.menu a:hover {
    color: #60A5FA;
}

.newsletter-form {
    max-width: 300px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #374151;
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: #9CA3AF;
}

.newsletter-button {
    position: absolute;
    right: 0px;
    top: 10px;
    transform: translateY(-50%);
    background: none !important;
    color: white;
    border: 0px !important;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.newsletter-button:hover {
    background: none !important ;
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #CBD5E1;
    cursor: pointer;
    line-height: 1.4;
}

.newsletter-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #374151;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.newsletter-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #6366F1;
    border-color: #6366F1;
}

.newsletter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #374151;
}

.footer-copyright p {
    margin: 0;
    color: #9CA3AF;
    font-size: 0.9rem;
}

.scroll-top-btn {
    width: 35px;
    height: 35px;
    background: #6366F1;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.scroll-top-btn:hover {
    background: #4F46E5;
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: none;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Container */
/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .products-slider {
        gap: 20px;
    }
    
    .product-item {
        flex: 0 0 180px;
    }
    
    .recommendations-slider {
        grid-template-columns: 1fr;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .banner-text {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .product-item {
        flex: 0 0 160px;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content {
        padding: 20px;
    }
}

/* ================================================================ */
/* LinkPrint Header 响应式设计 */
/* ================================================================ */

/* 平板端 (768px - 1024px) */
@media (max-width: 1024px) {
    .linkprint-top-banner .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 8px 0;
        gap: 20px;
    }
    
    .header-search {
        max-width: 400px;
        margin-left: 25px;
    }
    
    .header-actions {
        gap: 15px;
        margin-left: 20px;
    }
    
    /* 平板端导航菜单优化 */
    .header-navigation {
        display: block;
        width: 100%;
        background: #374151 !important;
        border-top: 1px solid #374151;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .header-navigation::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        gap: 20px;
        justify-content: flex-start;
        padding: 12px 15px;
        min-width: max-content;
    }
    
    .nav-item {
        flex-shrink: 0;
    }
    
    .nav-link {
        padding: 10px 20px;
        font-size: 0.95rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-item.current .nav-link {
        background: rgba(99, 102, 241, 0.2);
        color: #A5B4FC;
    }
    
   
}

/* 手机端 (最大768px) */
@media (max-width: 768px) {
    /* Top Banner 手机端优化 */
    .linkprint-top-banner {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .linkprint-top-banner .container {
        padding: 0 10px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .linkprint-top-banner .container .banner-text,
    .linkprint-top-banner .container .banner-brand {
        font-size: 12px;
        text-align: center;
    }
    
    /* Header 手机端布局 */
    .linkprint-header .container {
        padding: 0 10px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
        align-items: center;
    }
    
    /* Logo 调整 */
    .header-logo {
        order: 1;
        justify-content: center;
    }
    
    .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    /* 搜索框 手机端优化 */
    .header-search {
        order: 2;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .search-wrapper {
        height: 45px;
        width: calc(100% - 60px + 70px) !important;
        max-width: calc(100% - 60px + 70px) !important;
        margin: 0 auto;
    }
    
    .search-field {
        padding: 12px 55px 12px 20px !important;
        font-size: 15px;
    }
    
    .search-submit {
        padding: 10px 12px !important;
    }
    
    .search-submit svg {
        width: 16px;
        height: 16px;
    }
    
    /* 操作按钮 手机端优化 */
    .header-actions {
        order: 3;
        margin-left: 0;
        justify-content: center;
        gap: 25px;
    }
    
    .header-action {
        flex-direction: column;
        gap: 4px;
        font-size: 0.8rem;
    }
    
    .header-action svg {
        width: 18px;
        height: 18px;
    }
    
    /* 导航菜单 手机端 */
    .header-navigation {
        display: block !important;
        width: 100%;
        background: #1A202C;
        border-top: 1px solid #374151;
        margin-top: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 15px;
        justify-content: flex-start;
        padding: 12px 10px;
        min-width: max-content;
        margin: 0;
    }
    
    .nav-item {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .nav-link {
        display: block;
        padding: 8px 16px;
        font-size: 0.9rem;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:hover,
    .nav-item.current .nav-link {
        background: rgba(99, 102, 241, 0.2);
        color: #A5B4FC;
    }
    
   
}

/* 小手机端 (最大480px) */
@media (max-width: 480px) {
    .linkprint-top-banner {
        padding: 4px 0;
        font-size: 11px;
    }
    
    .linkprint-top-banner .container {
        padding: 0 8px;
    }
    
    .header-content {
        padding: 10px 0;
        gap: 12px;
    }
    
    .logo-image {
        width: 30px;
        height: 30px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .search-wrapper {
        height: 40px;
        width: calc(100% - 60px + 70px) !important;
        max-width: calc(100% - 60px + 70px) !important;
        margin: 0 auto;
    }
    
    .search-field {
        padding: 10px 50px 10px 16px !important;
        font-size: 14px;
    }
    
    .search-submit {
        padding: 8px 10px !important;
    }
    
    .search-submit svg {
        width: 14px;
        height: 14px;
    }
    
    .header-actions {
        gap: 20px;
    }
    
    .header-action {
        font-size: 0.75rem;
    }
    
    .header-action svg {
        width: 16px;
        height: 16px;
    }
    
    .header-navigation {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .header-navigation::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu {
        gap: 12px;
        padding: 10px 8px;
        justify-content: flex-start;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 4px;
    }
}

/* ================================================================ */
/* Dynamic Product Category Navigation Styles */
/* ================================================================ */

/* Dropdown navigation styles */
.nav-dropdown.nav-menu .nav-item.has-dropdown {
    position: relative;
}

.nav-dropdown.nav-menu .dropdown-arrow {
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-dropdown.nav-menu .nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1A202C;
    border: 1px solid #374151;
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-item.has-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    margin: 0;
}

.nav-dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown-link:hover {
    background: #374151;
    color: #ffffff;
    border-left-color: #6366F1;
}

.nav-dropdown-item.current .nav-dropdown-link {
    background: #374151;
    color: #6366F1;
    border-left-color: #6366F1;
}

/* Product category specific styling */
.nav-item .nav-link[href*="product-category"] {
    position: relative;
}

.nav-item .nav-link[href*="product-category"]:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6366F1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item.current .nav-link[href*="product-category"]:after,
.nav-item .nav-link[href*="product-category"]:hover:after {
    width: 80%;
}

/* Mobile responsive adjustments for dynamic navigation */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #0F172A;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.has-dropdown:hover .nav-dropdown-menu,
    .nav-item.has-dropdown.active .nav-dropdown-menu {
        max-height: 300px;
    }
    
    .nav-dropdown-link {
        padding: 10px 15px;
        font-size: 0.85rem;
        border-left: none;
        border-bottom: 1px solid #374151;
    }
    
    .dropdown-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-dropdown-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
} 