:root {
    --primary: #FF7A00;
    --primary-light: #FF9D33;
    --primary-dark: #FF6100;
    --text-dark: #333333;
    --bg-light: #FFF9F0;
    --border-gray: #F0F0F0;
}
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Microsoft YaHei', sans-serif;
    padding-top: 0;
    padding-bottom: 80px;
}
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 1.5rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.item-gallery {
    margin-bottom: 20px;
    padding-right: 15px;
}
.main-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.main-image img {
    width: 100%;
    height: auto;
}
.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    flex-shrink: 0;
}
.thumbnail-item:hover,
.thumbnail-item.active {
    opacity: 1;
    border: 2px solid var(--primary);
}
.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-info {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.item-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}
.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-gray);
}
.meta-item {
    display: flex;
    align-items: center;
    color: #666;
}
.meta-item i {
    margin-right: 5px;
    color: var(--primary);
}
#qrcode {
    width: 150px !important;
    height: 150px !important;
    margin: 15px auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: 1px solid #ddd !important;
    background-color: white !important;
    padding: 5px !important;
    box-sizing: border-box !important;
}

#qrcode canvas, #qrcode table {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border-collapse: collapse !important;
}

#qrcode table td {
    width: 4px !important;
    height: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
}

#qrcode table td.dark, #qrcode table td.black {
    background-color: #000000 !important;
}

#qrcode table td.light, #qrcode table td.white {
    background-color: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
}

.item-price {
    font-size: 1.8rem;
    color: var(--primary-dark);
    font-weight: bold;
    margin-bottom: 20px;
}
.item-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}
.section-title {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--primary-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}
.item-description {
    line-height: 1.8;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}
.seller-info {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
}
.seller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}
.seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.seller-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.seller-rating {
    margin: 5px 0;
    font-size: 16px;
    line-height: 1;
}

.seller-rating i {
    margin-right: 2px;
    font-size: 16px;
}

.seller-rating .text-warning {
    color: #ffc107 !important;
}

.seller-rating .text-muted {
    color: #6c757d !important;
    margin-left: 5px;
}
.seller-rating {
    color: #FFB800;
    margin: 5px 0;
    font-size: 16px;
    line-height: 1;
}

.seller-rating i {
    margin-right: 2px;
    font-size: 16px;
    color: #ffc107;
}

.seller-rating .text-muted {
    color: #6c757d !important;
    margin-left: 5px;
}
.status-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 0 5px;
}
.status-99 {
    background-color: #e3f2fd;
    color: #1976d2;
}
.status-95 {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.status-90 {
    background-color: #fff8e1;
    color: #ff8f00;
}
.status-80 {
    background-color: #ffebee;
    color: #c62828;
}
.trade-type-tag {
    display: inline-block;
    padding: 2px 3px;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: var(--primary-light);
    color: white;
    /* margin-bottom: 15px; */
}
.related-items { margin-top: 40px; }
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
/* 删除重复定义，响应式布局已在上方媒体查询中设置 */
/* .related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; } */

/* 移动端响应式布局 - 强制两列显示 */
@media (max-width: 767px) {
    .related-items .row > .col-6,
    .related-items .row > .col-md-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 575px) {
    .related-items .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
    }
    .related-items .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
    }
    .related-item-card {
        margin-bottom: 10px;
    }
    .related-item-image {
        height: 100px;
    }
    .related-item-title {
        font-size: 0.8rem;
    }
    .related-item-price {
        font-size: 0.9rem;
    }
}

/* 移动端响应式布局 */
@media (max-width: 767px) {
    .related-items .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .related-items .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .related-items .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
    }
    .related-items .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
    }
    .related-item-card {
        margin-bottom: 10px;
    }
    .related-item-image {
        height: 100px;
    }
    .related-item-title {
        font-size: 0.8rem;
    }
    .related-item-price {
        font-size: 0.9rem;
    }
}
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; width: 100%; box-sizing: border-box; }

/* 禁用状态按钮样式 */
.btn-primary:disabled, .btn-primary.disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.65;
}
.action-buttons { display: flex; gap: 10px; }

.seller-contact {
    background-color: #28a745;
    color: white;
    padding: 0.5rem 0.75rem;
    line-height: 1.8;
    border-radius: 0.25rem;
    margin: 3px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 44px;
}

.item-actions .btn {
    line-height: 1.8;
    padding: 0.5rem 0.75rem;
}
.seller-contact i {
    margin-right: 8px;
}
.seller-contact strong {
    font-weight: bold;
}
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }

.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0.3s; height: 100%; }
.related-item-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item-image { height: 120px; overflow: hidden; }
.related-item-image img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { font-size: 0.9rem; margin: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-item-price { font-size: 1rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 10px; }
.fixed-action-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: white; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; z-index: 1000; }
.action-buttons { display: flex; gap: 10px; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.success-message { position: fixed; top: 20px; right: 20px; background-color: #4CAF50; color: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1050; display: none; }
.related-items .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.related-items .col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.related-items .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-items .col-md-3 { padding: 0 10px; margin-bottom: 20px; flex: 0 0 25%; max-width: 25%; }
.related-item-card { border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: transform 0