a {
    text-decoration: none;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.product-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.product-hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.product-hero .container {
    position: relative;
    z-index: 2;
}

.product-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    max-width: 800px;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards 0.3s;
}

.product-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-top: 20px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.breadcrumb {
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 20px;
    position: absolute;
    top: 110px;
    padding: 0px;
    opacity: 0;
    animation: fadeInDown 0.6s ease forwards 0.1s;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0ea3df;
}

.search-section {
    padding: 40px 0 80px;
    background: #f8faff;
}

.search-box-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.search-box-wrap .search-input-wrap {
    display: flex;
    width: 100%;
    max-width: 920px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: border-color 0.3s;
    background: #fff;
}

.search-box-wrap .search-input-wrap:focus-within {
    border-color: #0066cc;
    box-shadow: 0 4px 30px rgba(0, 102, 204, 0.12);
}

.search-box-wrap .search-input-wrap input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
    background: transparent;
    min-width: 0;
}

.search-box-wrap .search-input-wrap input::placeholder {
    color: #bbb;
}

.search-box-wrap .search-input-wrap .search-btn {
    padding: 0 28px;
    background: #0066cc;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-box-wrap .search-input-wrap .search-btn:hover {
    background: #004d99;
}

.search-results {
    max-width: 1200px;
    margin: 0 auto;
}

.result-item {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s;
    border: 1px solid #f0f2f7;
    background: #fff;
}

.result-item:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.result-item .result-img {
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.result-item .result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-item .result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.result-item .result-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-item .result-title:hover {
    color: #0066cc;
}

.result-item .result-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.result-item .result-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #bbb;
}

.result-item .result-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #f5f5f5;
    border-color: #0066cc;
    color: #0066cc;
}

.pagination a.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    .product-hero {
        padding: 80px 0 60px;
    }

    .product-hero h1 {
        font-size: 24px !important;
    }

    .product-hero p {
        font-size: 14px !important;
    }

    .breadcrumb {
        top: 20px;
        font-size: 12px;
    }

    .search-section {
        padding: 20px 0 50px;
    }

    .search-box-wrap .search-input-wrap {
        max-width: 100%;
        border-radius: 30px;
    }

    .search-box-wrap .search-input-wrap input {
        padding: 14px 18px;
        font-size: 14px;
    }

    .search-box-wrap .search-input-wrap .search-btn {
        padding: 0 18px;
        font-size: 14px;
    }

    .result-item {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .result-item .result-img {
        width: 100%;
        height: 160px;
    }

    .result-item .result-title {
        font-size: 16px;
    }

    .result-item .result-desc {
        font-size: 13px;
    }

    .pagination a {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .result-item .result-img {
        height: 130px;
    }

    .result-item .result-title {
        font-size: 15px;
    }

    .search-box-wrap .search-input-wrap {
        border-radius: 24px;
    }

    .search-box-wrap .search-input-wrap input {
        padding: 12px 14px;
        font-size: 13px;
    }

    .search-box-wrap .search-input-wrap .search-btn {
        padding: 0 14px;
        font-size: 13px;
    }

    .pagination a {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 0 6px;
    }
}