/*
Theme Name: Otaku Child - ANIMEAIPRINT
Description: OTAKU主题的子主题，专为ANIMEAIPRINT定制，包含LinkPrint功能
Author: ANIMEAIPRINT Team
Template: otaku
Version: 1.0.0
Text Domain: otaku-child
*/

/* 
==========================================================================
ANIMEAIPRINT 自定义样式
==========================================================================
*/


/* ANIMEAIPRINT 品牌Logo优化 */
.header-logo .logo-text {
    color: #EE9CA7 !important;
    font-family: Helvetica !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
}

.page_content_wrap {
    padding-top: 2.1rem !important;
    padding-bottom: 3.4rem !important;
}

/* 搜索框增强效果 */
.search-field:focus {
    box-shadow: 0 0 0 3px rgba(111, 201, 205, 0.2);
    border-color: #6FC9CD;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        max-width: none;
    }
    
    .linkprint-top-banner {
        padding: 6px 0;
    }
    
    .linkprint-top-banner .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* 自定义按钮样式 */
.btn-animeai {
    background: linear-gradient(135deg, #6FC9CD, #5AB8BC);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-animeai:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 201, 205, 0.3);
    color: white;
}
.content_wrap, .content_container{
    width:  var(--theme-var-page_width_boxed,1400px);
    max-width: 1400px !important;
    margin: 0 auto;
    padding-left: var(--theme-var-page_fullwide_extra);
    padding-right: var(--theme-var-page_fullwide_extra);
}

/* ================================================================ */
/* 核心LinkPrint Header和Footer样式 - 确保所有页面都有基本样式 */
/* ================================================================ */

/* LinkPrint Top Banner */
.linkprint-top-banner {
    background: #000000;
    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 */
.linkprint-header {
    background: #000000;
    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;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.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: 400px !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;
}

.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;
}

.header-actions {
    display: flex;
    gap: 15px;
    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: 7px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.header-action:hover span {
    color: #EE9CA7;
}

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

.cart-count, .wishlist-count {
    position: absolute;
    top: -8px;
    left: 15px;
    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 */
.header-navigation {
    background: #1A1A1A;
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    justify-content: center;
    height: 50px;
    align-items: center;
    font-size: 0.9rem;
}

.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: #EE9CA7;
}

/* LinkPrint Footer */
.linkprint-footer {
    background: #000000;
    color: white;
    padding: 60px 0 20px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    clear: both !important;
}

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

.footer-section {
    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: 6px;
}

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

.footer-section.menu li {
    margin-bottom: 6px;
    display: block !important;
    visibility: visible !important;
}

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

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

.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;
}

/* 响应式设计 - 基本版本 */
@media (max-width: 768px) {
    .linkprint-top-banner .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
        align-items: center;
    }
    
    .header-search {
        order: 2;
        max-width: 100%;
        width: 100%;
    }
    
    .search-wrapper {
        width: calc(100% - 60px) !important;
        max-width: calc(100% - 60px) !important;
    }
    
    .header-actions {
        order: 3;
        justify-content: center;
        gap: 25px;
    }
    
    .header-action {
        flex-direction: column;
        gap: 8px;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 12px 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

