

.breadcrumb {
    padding: 15px 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #9ca3af;
}

.breadcrumb-current {
    color: #1f2937;
    font-weight: 500;
}

.category-header {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.category-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.category-logo-wrapper {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.category-logo-wrapper:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    border-color: #2563eb;
    background: rgba(255, 255, 255, 1);
}

.category-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    max-width: 100%;
    max-height: 100%;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.category-header-text {
    flex: 1;
    min-width: 300px;
}

.category-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 15px 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-header p {
    font-size: 1.2rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
    max-width: 700px;
    font-weight: 400;
    opacity: 0.9;
}

@media (max-width: 968px) {
    .category-header {
        padding: 50px 0;
    }

    .category-logo-wrapper {
        width: 180px;
        height: 180px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .category-header {
        padding: 30px 0;
    }

    .category-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .category-logo-wrapper {
        width: 160px;
        height: 160px;
        padding: 18px;
        margin: 0 auto;
        border-radius: 12px;
        border-width: 2px;
    }

    .category-header h1 {
        font-size: 1.75rem;
    }

    .category-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 25px 0;
    }

    .category-logo-wrapper {
        width: 140px;
        height: 140px;
        padding: 15px;
        border-radius: 10px;
        border-width: 2px;
    }

    .category-header h1 {
        font-size: 1.5rem;
    }

    .category-header p {
        font-size: 0.9rem;
    }
}

.category-products {
    padding: 40px 0;
    background: #f9fafb;
}

.products-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.products-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.subcategories-info {
    margin-top: 10px;
    padding: 12px 16px;
    background: #eff6ff;
    border-radius: 8px;
    font-size: 14px;
    color: #1e40af;
    border-left: 4px solid #2563eb;
}

.subcategories-info i {
    margin-right: 8px;
}

.subcategories-info a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.subcategories-info a:hover {
    text-decoration: underline;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f9fafb;
}

.product-card h3 {
    padding: 15px 15px 8px 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    min-height: 50px;
}

.product-card .product-sku {
    padding: 0 15px 8px 15px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    text-align: left;
}

.product-card .product-sku strong {
    color: #374151;
    font-weight: 600;
    margin-right: 4px;
}

.product-card .product-info {
    padding: 0 15px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card .price {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

.product-card .stock {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.product-card .stock.in-stock {
    background: #d1fae5;
    color: #065f46;
}

.product-card .stock.out-stock {
    background: #fee2e2;
    color: #991b1b;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.page-link.active {
    background: #2563eb;
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.page-link i {
    font-size: 14px;
}

.no-products {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.no-products h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.no-products p {
    margin: 0 0 24px 0;
    font-size: 16px;
    color: #6b7280;
}

@media (max-width: 968px) {
    .category-header {
        padding: 30px 0;
    }

    .category-header img {
        width: 100px;
        height: 100px;
    }

    .category-header h1 {
        font-size: 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .category-header {
        padding: 20px 0;
    }

    .category-header .container {
        flex-direction: column;
        text-align: center;
    }

    .category-header img {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }

    .category-header h1 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .category-header p {
        font-size: 0.9rem;
    }

    .category-products {
        padding: 20px 0;
    }

    .products-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .products-header p {
        font-size: 14px;
    }

    .subcategories-info {
        padding: 10px 12px;
        font-size: 13px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .product-card img {
        height: 180px;
    }

    .product-card h3 {
        padding: 12px 12px 6px 12px;
        font-size: 14px;
        min-height: 45px;
    }

    .product-card .product-sku {
        padding: 0 12px 6px 12px;
        font-size: 12px;
        text-align: left;
    }

    .product-card .product-info {
        padding: 0 12px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-card .price {
        font-size: 16px;
    }

    .pagination {
        gap: 8px;
        margin-top: 30px;
    }

    .page-link {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .category-header {
        padding: 15px 0;
    }

    .category-header img {
        width: 70px;
        height: 70px;
    }

    .category-header h1 {
        font-size: 1.1rem;
    }

    .category-header p {
        font-size: 0.85rem;
    }

    .category-products {
        padding: 15px 0;
    }

    .products-header p {
        font-size: 13px;
    }

    .subcategories-info {
        padding: 8px 10px;
        font-size: 12px;
    }

    
    .product-grid {
        
        grid-template-columns: 1fr !important;
        
        gap: 12px;
    }

    .product-card img {
        height: 150px;
    }

    .product-card h3 {
        padding: 10px 10px 5px 10px;
        font-size: 13px;
        min-height: 40px;
        line-height: 1.3;
    }

    .product-card .product-sku {
        padding: 0 10px 5px 10px;
        font-size: 11px;
        text-align: left;
    }

    .product-card .product-info {
        padding: 0 10px 10px;
    }

    .product-card .price {
        font-size: 15px;
    }

    .product-card .stock {
        font-size: 11px;
        padding: 3px 8px;
    }

    .pagination {
        gap: 6px;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    .no-products {
        padding: 60px 15px;
    }

    .no-products h3 {
        font-size: 20px;
    }

    .no-products p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .category-logo-wrapper {
        width: 250px;
        height: 250px;
        padding: 25px;
    }

    .category-header h1 {
        font-size: 1.5rem;
    }

    .category-header p {
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card img {
        height: 200px;
    }

    .product-card h3 {
        font-size: 14px;
        min-height: auto;
        padding: 10px 10px 5px 10px;
    }

    .product-card .product-sku {
        padding: 0 10px 5px 10px;
        font-size: 11px;
        text-align: left;
    }

    .product-card .product-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
}