/* Products Page Specific Styles */

.prod-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.prod-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.prod-banner .container {
    position: relative;
    z-index: 1;
}

.prod-banner__content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.prod-banner__breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.prod-banner__breadcrumb a {
    color: #fff;
    transition: color 0.3s;
}

.prod-banner__breadcrumb a:hover {
    color: #EF7721;
}

.prod-banner__breadcrumb span {
    margin: 0 10px;
}

.prod-page {
    padding: 80px 0;
    background: #fcfcfc;
}

.prod-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.prod-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.prod-sidebar__box {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.prod-sidebar__title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.prod-sidebar__title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #EF7721;
}

.prod-category {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prod-category li {
    margin-bottom: 10px;
}

.prod-category li:last-child {
    margin-bottom: 0;
}

.prod-category a {
    display: block;
    padding: 12px 20px;
    color: #555;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.prod-category a:hover {
    background: #fff3eb;
    color: #EF7721;
    border-left-color: #EF7721;
}

.prod-category li.active a {
    background: #EF7721;
    color: #fff;
    border-left-color: #d86515;
    font-weight: 500;
}

.prod-contact-mini {
    color: #666;
    font-size: 14px;
}

.prod-contact-mini .mini-item {
    margin-bottom: 15px;
}

.prod-contact-mini strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.prod-contact-mini p {
    color: #EF7721;
    font-size: 16px;
    font-weight: 600;
}

.prod-btn-outline {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 24px;
    border: 1px solid #EF7721;
    color: #EF7721;
    border-radius: 99px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
}

.prod-btn-outline:hover {
    background: #EF7721;
    color: #fff;
}

/* Main Content */
.prod-main {
    flex-grow: 1;
    min-width: 0;
}

.prod-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.prod-filter__title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.prod-filter__count {
    color: #888;
    font-size: 14px;
}

.prod-filter__count span {
    color: #EF7721;
    font-weight: 700;
    font-size: 16px;
    margin: 0 5px;
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.prod-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    max-width: 100%;
}

.prod-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(239, 119, 33, 0.1);
}

.prod-card__img {
    display: block;
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.prod-card__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.prod-card:hover .prod-card__img img {
    transform: scale(1.08);
}

.prod-card__body {
    padding: 24px;
}

.prod-card__body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.prod-card__body h3 a {
    color: #333;
    transition: color 0.3s;
}

.prod-card:hover .prod-card__body h3 a {
    color: #EF7721;
}

.prod-card__body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    height: 42px; /* Approx 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.prod-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #EF7721;
    transition: gap 0.3s;
}

.prod-card__link:hover {
    gap: 12px;
}

/* Pagination */
.prod-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.prod-pagination a,
.prod-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 15px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.prod-pagination a{
    border:0px;
    height:30px;
}
.prod-pagination a:hover {
    border-color: #EF7721;
    color: #EF7721;
}

.prod-pagination a.active {
    background: #EF7721;
    border-color: #EF7721;
    color: #fff;
}

.prod-pagination span.page-dots {
    border: none;
    background: transparent;
    padding: 0;
    min-width: auto;
}
