/* My Products Page - Unique Classes */
.my-products-page {
    padding: 50px 0;
    background-color: #ffffff;
}

/* Categories Box */
.my-categories-box {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 30px;
}

.my-categories-header {
    background-color: #ffffff;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
}

.my-categories-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.my-categories-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.my-categories-list ul li {
    border-bottom: 1px solid #e8e8e8;
}

.my-categories-list ul li:last-child {
    border-bottom: none;
}

.my-categories-list ul li a {
    display: block;
    padding: 15px 25px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.my-categories-list ul li a::after {
    content: ">";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-weight: bold;
}

.my-categories-list ul li a:hover,
.my-categories-list ul li.active a {
    background-color: #fff5f0;
    color: #ff6b35;
    text-decoration: none;
}

.my-categories-list ul li.active a::after,
.my-categories-list ul li a:hover::after {
    color: #ff6b35;
}

/* Products Header */
.my-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.my-results-text p {
    margin: 0;
    color: #999;
    font-size: 14px;
}

.my-sort-dropdown select {
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    color: #666;
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    cursor: pointer;
}

.my-sort-dropdown select:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Products Grid */
.my-products-grid .row {
    margin: 0 -15px;
}

.my-products-grid [class*="col-"] {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Product Card */
.my-product-card {
    background-color: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.my-product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Product Image */
.my-product-image {
    height: 220px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.my-product-card:hover .my-product-image img {
    transform: scale(1.05);
}

/* Product Overlay */
.my-product-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.my-product-card:hover .my-product-overlay {
    opacity: 1;
}

.my-product-btn {
    background-color: #ff6b35;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
}

.my-product-btn:hover {
    background-color: #e55a2b;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* Product Info */
.my-product-info {
    padding: 20px;
    text-align: center;
}

.my-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.my-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.my-product-title a:hover {
    color: #ff6b35;
    text-decoration: none;
}

.my-product-desc {
    color: #999;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 991px) {
    .my-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .my-sort-dropdown select {
        width: 200px;
    }
}

@media (max-width: 767px) {
    .my-products-page {
        padding: 30px 0;
    }
    
    .my-categories-header {
        padding: 15px 20px;
    }
    
    .my-categories-list ul li a {
        padding: 12px 20px;
    }
    
    .my-product-image {
        height: 180px;
    }
    
    .my-product-info {
        padding: 15px;
    }
    
    .my-sort-dropdown select {
        width: 100%;
    }
}