/* ===================================
   PRODUCT LIST PAGE STYLES
   =================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* ===================================
   CONTAINER
   =================================== */
.container {
    max-width: 1348px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HERO SECTION
   =================================== */
.product-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    /*margin-top: 80px;*/
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white" opacity="0.05"/></svg>');
    background-size: 200px;
    background-position: center;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 25px;
}

.breadcrumb {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===================================
   PRODUCT SECTION
   =================================== */
.product-section {
    padding: 50px 0 80px;
    background: var(--light);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* ===================================
   PRODUCT GRID
   =================================== */
.product-grid {
    display: flex;
    flex-direction: column;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.product-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: var(--light);
}

.product-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-thumb {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 28px;
    border: 2px solid var(--white);
    border-radius: 25px;
    transition: var(--transition);
}

.view-btn:hover {
    background: var(--white);
    color: var(--primary);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

.product-link:hover .product-title {
    color: var(--primary);
}

.product-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 12px;
    min-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.product-category {
    background: var(--light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ===================================
   SIDEBAR
   =================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
}

/* Contact Widget */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    font-size: 14px;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--primary);
    width: 20px;
    height: 20px;
}

/* Categories Widget */
.category-widget {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray);
    transition: var(--transition);
    font-size: 14px;
}

.category-link:hover,
.category-link.active {
    background: var(--primary);
    color: var(--white);
    transform: translateX(3px);
}

.category-link .count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.category-link.active .count {
    background: rgba(255, 255, 255, 0.3);
}

/* ===================================
   PAGINATION
   =================================== */
.pagination {
    margin-top: 35px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--border);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pagination .current,
.pagination span.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .disabled:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--border);
    transform: none;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-wrapper {
    display: flex;
    justify-content: center;
}

.cta-box {
    background: var(--white);
    padding: 40px 50px;
    border-radius: 12px;
    text-align: center;
    color: var(--dark);
    max-width: 550px;
    box-shadow: var(--shadow-lg);
}

.cta-box h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-box p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
    }
    
    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .product-hero {
        padding: 80px 0 50px;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 70px 0 40px;
        margin-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .product-section {
        padding: 40px 0 60px;
    }
    
    .product-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .cta-box h3 {
        font-size: 22px;
    }
    
    .cta-box p {
        font-size: 14px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-desc {
        font-size: 13px;
    }
    
    .sidebar-widget {
        padding: 18px;
    }
    
    .widget-title {
        font-size: 16px;
    }
    
    .contact-item {
        font-size: 13px;
    }
    
    .breadcrumb {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ===================================
   TEXT SELECTION
   =================================== */
.product-hero,
.product-section,
.search-tips,
.search-hero-content ,
.news-result-card ,
.result-content,
.news-result-card,
.suggestions-wrapper,
.suggestion-box,
.product-info,
.search-tips,
.search-subtitle,










.cta-section {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}
