/* Extracted CSS from products.php */
.shop-area {
    padding: 80px 0;
}
.shop-sidebar {
    margin-bottom: 40px;
}
.sidebar-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.category-list {
    list-style: none;
    padding: 0;
}
.category-list li {
    margin-bottom: 10px;
}
.category-list li a {
    color: var(--text-color);
    transition: all 0.3s;
}
.category-list li a:hover,
.category-list li a.active {
    color: var(--primary-color);
    padding-left: 5px;
}
.product-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
}
.product-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s;
}
.product-box:hover .product-image img {
    transform: scale(1.03);
}
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 50px;
}
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}
.product-desc {
    margin-bottom: 15px;
    font-size: 14px;
    color: #777;
    min-height: 42px; /* Height for 2 lines of text */
}
.specs-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
    flex-grow: 1;
}
.specs-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}
.specs-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}
.product-bottom {
    margin-top: auto;
    text-align: center;
    width: 100%;
}
.add-to-cart {
    width: 100%;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}
.add-to-cart:hover {
    background: var(--secondary-color);
}
.shop-pagination {
    margin-top: 50px;
    text-align: center;
}
.shop-pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.shop-pagination .page-link {
    color: var(--primary-color);
}
.shop-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}
.shop-breadcrumb .breadcrumb-item {
    color: #ccc;
}
.shop-breadcrumb .breadcrumb-item.active {
    color: #fff;
}
.shop-breadcrumb .breadcrumb-item a {
    color: #fff;
}
.cart-container {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: all 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}
.cart-container.active {
    right: 0;
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.close-cart {
    font-size: 20px;
    cursor: pointer;
}
.cart-items {
    max-height: 60vh;
    overflow-y: auto;
}
.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.cart-item-img {
    width: 80px;
    margin-right: 15px;
}
.cart-item-img img {
    width: 100%;
    border-radius: 5px;
}
.cart-item-content {
    flex: 1;
}
.cart-item-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}
.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
}
.cart-item-remove {
    color: #dc3545;
    cursor: pointer;
    margin-left: 15px;
    font-size: 16px;
}
.cart-total {
    margin-top: 20px;
    text-align: right;
    font-size: 18px;
    font-weight: 600;
}
.cart-buttons {
    margin-top: 20px;
}
.cart-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
}
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}
.cart-icon {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 99;
}
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.inquiry-form {
    margin-top: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-control {
    height: 50px;
    border-radius: 5px;
}
textarea.form-control {
    height: 120px;
}
.specs-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}
.specs-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}
.specs-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.cart-actions {
    margin: 15px 0;
}
.btn-outline-danger {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #dc3545;
    color: #dc3545;
    background-color: transparent;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}
.w-100 {
    width: 100%;
}
.mb-3 {
    margin-bottom: 15px;
}

/* Responsive styles for mobile views */
@media (max-width: 991px) {
    .product-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 200px;
    }
    
    .product-title {
        font-size: 16px;
        min-height: auto;
    }
    
    .product-info {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .product-box {
        margin-bottom: 20px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-image img {
        padding: 5px;
    }
    
    .shop-area {
        padding: 40px 0;
    }
    
    .product-desc {
        margin-bottom: 10px;
        min-height: auto;
    }
}