/* Product Page Layout */

.product-page-layout {
    margin-top: 20px;
}

/* Product Sidebar */
.product-sidebar {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.sidebar-header {
    background: -webkit-linear-gradient(#f62f38, #bb1017);
    background: linear-gradient(to bottom, #f62f38, #bb1017);
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.sidebar-header i {
    margin-right: 8px;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #e8e8e8;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background: #f5f5f5;
    color: #e67e22;
    padding-left: 20px;
}

.sidebar-menu li a i {
    width: 20px;
    margin-right: 0;
    color: #666;
    font-size: 14px;
}

.sidebar-menu li a:hover i,
.sidebar-menu li.active a i {
    color: #e67e22;
}

.sidebar-menu li a span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Product Toolbar */
.product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #e8e8e8;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-left span {
    font-size: 13px;
    color: #666;
}

.toolbar-left select {
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 3px;
}

.toolbar-right {
    display: flex;
    gap: 5px;
}

.view-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
}

.view-icon:hover,
.view-icon.active {
    background: #e67e22;
    border-color: #e67e22;
    color: #fff;
}

/* Main Title adjustments for product page */
.product-page-layout .mainTitle {
    margin-bottom: 15px;
}

.product-page-layout .mainTitle h1 {
    font-size: 24px;
    margin: 0;
    display: inline-block;
}

.product-page-layout .mainTitle .subtit {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

/* Product Grid - 3 columns */
.product-grid-3 .box_pro {
    width: 31.33%;
    margin-right: 3%;
    margin-bottom: 20px;
}

.product-grid-3 .box_pro:nth-child(3n) {
    margin-right: 0;
}

/* Product Box styling */
.product-grid-3 .box_pro {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-grid-3 .box_pro:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product-grid-3 .box_pro img {
    width: 100%;
    height: auto;
}

.product-grid-3 .box_pro h3 {
    padding: 10px;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.product-grid-3 .box_pro h3 a {
    color: #333;
    text-decoration: none;
}

.product-grid-3 .box_pro h3 a:hover {
    color: #e67e22;
}

/* Responsive */
@media (max-width: 991px) {
    .product-grid-3 .box_pro {
        width: 48%;
        margin-right: 4%;
    }

    .product-grid-3 .box_pro:nth-child(3n) {
        margin-right: 4%;
    }

    .product-grid-3 .box_pro:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .product-sidebar {
        margin-bottom: 15px;
    }

    .product-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .toolbar-left {
        flex-wrap: wrap;
    }

    .product-grid-3 .box_pro {
        width: 48%;
    }
}

@media (max-width: 480px) {
    .product-grid-3 .box_pro {
        width: 100%;
        margin-right: 0;
    }
}
