/* --- Product Center Specific Styles --- */

/* Page Banner */
.page-banner {
    margin-top: 105px;
    height: 350px;
    background: #222 url('../../repository/image/10421297-fea3-4e6e-b8d8-5ade5994528f.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.page-banner h1 {
    position: relative;
    z-index: 1;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.page-banner p {
    position: relative;
    z-index: 1;
    font-size: 14px;
    letter-spacing: 4px;
    opacity: 0.8;
    text-transform: uppercase;
}

/* Main Content Layout */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 40px;
    font-size: 14px;
    color: #999;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary-color); }

/* Sidebar */
.sidebar {
    border-right: 1px solid #eee;
    padding-right: 40px;
}

.sidebar h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 20px;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 15px;
    color: #666;
    transition: all 0.3s;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background: var(--secondary-color);
    color: #fff;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 20px;
    background: #fff;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
    border-top: 1px solid #f9f9f9;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    color: var(--text-dark);
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-btn {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.product-card:hover .product-btn {
    background: var(--primary-color);
    color: #fff;
}

/* Pagination */
.pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.page-link.active, .page-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Sidebar Contact Widget */
.sidebar-contact {
    margin-top: 50px;
    background: #f9f5ef;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.sidebar-contact i { font-size: 40px; color: var(--primary-color); display: block; margin-bottom: 15px; }
.sidebar-contact h4 { margin-bottom: 10px; }
.sidebar-contact p { font-size: 13px; color: #777; line-height: 1.6; }

/* Responsive */
@media (max-width: 1200px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar { border-right: none; padding-right: 0; border-bottom: 1px solid #eee; padding-bottom: 40px; }
}

@media (max-width: 768px) {
    .header-content { padding: 0 20px; }
    .page-banner h1 { font-size: 32px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
}
