/* Shop Page Custom Styles - Professional Layout */

/* Shop Grid Layout */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1199px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Product Card Redesign */
.optech-shop-wrap {
    margin-bottom: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10, 22, 94, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f2f5;
}

.optech-shop-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10, 22, 94, 0.12);
    border-color: transparent;
}

/* Product Image */
.optech-shop-thumb {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4/3;
    max-height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.optech-shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.optech-shop-wrap:hover .optech-shop-thumb img {
    transform: scale(1.08);
}

/* Wishlist Icon */
.wishlist_icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 5;
}

.wishlist_icon:hover {
    background: #ff4757;
    transform: scale(1.1);
}

.wishlist_icon:hover svg path {
    stroke: #fff;
    fill: #fff;
}

.wishlist_icon.active {
    background: #ff4757;
}

.wishlist_icon.active svg path {
    stroke: #fff;
    fill: #fff;
}

.wishlist_icon svg path {
    stroke: #0a165e;
    transition: all 0.3s ease;
}

/* Add to Cart Button */
.optech-shop-btn.cart-add-btn {
    position: absolute;
    bottom: -60px;
    left: 16px;
    right: 16px;
    width: auto;
    padding: 14px 20px;
    background: #2b4dff;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

.optech-shop-wrap:hover .optech-shop-btn.cart-add-btn {
    bottom: 16px;
}

.optech-shop-btn.cart-add-btn:hover {
    background: #1a3ad6;
}

.optech-shop-btn.cart-add-btn .btn-wraper {
    transform: none !important;
    opacity: 1 !important;
}

.optech-shop-btn.cart-add-btn::before,
.optech-shop-btn.cart-add-btn::after {
    display: none !important;
}

/* Product Info */
.optech-shop-data {
    padding: 20px;
    background: #fff;
}

.optech-shop-data h5 {
    font-size: 16px;
    font-weight: 600;
    color: #0a165e;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.optech-shop-data h5:hover {
    color: #2b4dff;
}

.optech-shop-data h6 {
    font-size: 18px;
    font-weight: 700;
    color: #2b4dff;
    margin: 0;
}

.optech-shop-data h6 del {
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    margin-right: 8px;
}

/* Sidebar Styling */
.shop_sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(10, 22, 94, 0.06);
    border: 1px solid #f0f2f5;
    position: sticky;
    top: 100px;
}

.shop_sidebar_item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f2f5;
}

.shop_sidebar_item:last-of-type {
    border-bottom: none;
}

.shop_sidebar_text h6 {
    font-size: 15px;
    font-weight: 600;
    color: #0a165e;
    margin-bottom: 16px;
}

.shop_sidebar_search_box {
    position: relative;
}

.shop_sidebar_search_box input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.shop_sidebar_search_box input:focus {
    border-color: #2b4dff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 77, 255, 0.1);
}

.shop_sidebar_search_box .search_btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #2b4dff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.shop_sidebar_search_box .search_btn:hover {
    background: #1a3ad6;
}

.shop_sidebar_search_box .search_btn svg path {
    fill: #fff;
}

/* Select Dropdown */
.shop_sidebar .form-select {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    background-color: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop_sidebar .form-select:focus {
    border-color: #2b4dff;
    box-shadow: 0 0 0 3px rgba(43, 77, 255, 0.1);
}

/* Checkbox Styling */
.shop_sidebar_item_box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.shop_sidebar_item_box .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
}

.shop_sidebar_item_box .form-check-input:checked {
    background-color: #2b4dff;
    border-color: #2b4dff;
}

.shop_sidebar_item_box .form-check-label {
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    transition: color 0.2s ease;
}

.shop_sidebar_item_box .form-check-label:hover {
    color: #0a165e;
}

/* Apply Button */
.shop_sidebar .optech-default-btn {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 10px;
}

/* Shop Header */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f2f5;
}

.shop-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0a165e;
    margin: 0;
}

.shop-header span {
    color: #6b7280;
    font-weight: 400;
}

/* Pagination */
.optech-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.optech-pagination .pagination {
    gap: 8px;
}

.optech-pagination .page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
}

.optech-pagination .page-link:hover,
.optech-pagination .page-item.active .page-link {
    background: #2b4dff;
    border-color: #2b4dff;
    color: #fff;
}

/* No Products Found */
.shop-not-found {
    text-align: center;
    padding: 60px 20px;
}

.shop-not-found i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.shop-not-found h4 {
    font-size: 20px;
    color: #0a165e;
    margin-bottom: 10px;
}

.shop-not-found p {
    color: #6b7280;
}
