.my-shop-container {
    direction: rtl;
    margin: 25px 0;
}

/* استایل کادر جستجو */
.my-shop-search-box {
    margin-bottom: 25px;
    text-align: center;
}

.my-shop-search-box input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    font-size: 15px;
    border: 2px solid #ddd;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.my-shop-search-box input:focus {
    border-color: #0073aa;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,115,170,0.15);
}

.my-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.my-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.my-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.my-product-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f9f9f9;
    padding: 10px;
}

.my-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.my-product-img-wrap img:hover {
    transform: scale(1.03);
}

.my-product-thumbs {
    display: flex;
    gap: 8px;
    padding: 0 10px 10px 10px;
    overflow-x: auto;
}

.my-thumb-item {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
    flex-shrink: 0;
    background: #f4f4f4;
}

.my-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.my-product-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.my-product-meta-tag {
    font-size: 11px;
    background: #eef5fc;
    color: #0073aa;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 8px;
    font-weight: bold;
}

.my-product-title {
    font-size: 17px;
    font-weight: bold;
    color: #222;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.my-product-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.my-product-price {
    font-size: 15px;
    font-weight: bold;
    color: #d35400;
}

.my-product-status {
    background-color: #e8f8f0;
    color: #27ae60;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.my-product-desc-box {
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.my-product-desc-preview {
    margin-bottom: 5px;
}

.my-product-details {
    border-top: 1px dashed #ddd;
    margin-top: 5px;
    padding-top: 5px;
}

.my-product-summary {
    font-weight: bold;
    color: #0073aa;
    cursor: pointer;
    font-size: 12px;
    user-select: none;
}

.my-product-desc-full {
    margin-top: 8px;
    padding: 8px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #eee;
    color: #444;
}

.my-product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.my-btn-bale {
    flex: 1;
    background-color: #2ecc71;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
}

.my-btn-bale:hover {
    background-color: #27ae60;
    color: #fff;
}

.my-btn-call {
    flex: 1;
    background-color: #ffa500;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
}

.my-btn-call:hover {
    background-color: #e67e22;
    color: #fff;
}

/* لایت‌باکس با کادر ثابت */
.lightbox .lb-image {
    width: auto !important;
    height: auto !important;
    max-width: 750px !important;
    max-height: 70vh !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}

.lightbox .lb-outerContainer {
    width: 750px !important;
    max-width: 90vw !important;
    height: auto !important;
    max-height: 75vh !important;
    background-color: #fff !important;
    border-radius: 12px;
}

.lightbox .lb-container {
    padding: 10px !important;
}

@media (max-width: 768px) {
    .my-shop-grid {
        grid-template-columns: 1fr;
    }
    .lightbox .lb-outerContainer {
        width: 95vw !important;
    }
    .lightbox .lb-image {
        max-width: 100% !important;
        max-height: 60vh !important;
    }
}