/* Content Listing Styles */

/* Cart AJAX Styles */
.cart-messages {
    margin-bottom: 20px;
}

.btn.loading {
    position: relative;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#add-to-cart-button {
    transition: all 0.3s ease;
}

#add-to-cart-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Custom Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.custom-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.custom-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
}

.custom-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.custom-modal-close:hover,
.custom-modal-close:focus {
    color: #000;
}

.custom-modal-body {
    padding: 20px;
    text-align: center;
}

.custom-modal-body p {
    margin-bottom: 20px;
    color: #666;
    font-size: 1rem;
}

.custom-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-modal-actions .btn {
    min-width: 100px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .custom-modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .custom-modal-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

.auction-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.auction-title-section {
    flex: 1;
}

.auction-title {
    font-size: 2.15rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
}

.auction-price {
    font-size: 2rem;
    font-weight: 600;
    color: #2c5aa0;
}

.auction-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background-color: #1e3f6b;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-outline {
    background-color: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background-color: #2c5aa0;
    color: white;
}

.btn-block {
    width: 100%;
    margin-bottom: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.auction-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auction-description h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.description-content {
    line-height: 1.6;
    color: #666;
}

.related-items h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.related-items-grid {
    display: grid;
    gap: 20px;
}

.related-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.related-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.related-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.related-item-content {
    flex: 1;
}

.related-item-content h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.related-item-content h4 a {
    color: #2c5aa0;
    text-decoration: none;
}

.related-item-content h4 a:hover {
    text-decoration: underline;
}

.related-item-category,
.related-item-location,
.related-item-ending {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.related-item-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5aa0;
    margin: 8px 0;
}

.auction-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.bidding-info h4,
.seller-info h4,
.item-details h4 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #333;
}

.bid-count {
    color: #2c5aa0;
    margin-bottom: 15px;
}

.seller-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.seller-address {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.seller-join-date {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.detail-label {
    font-weight: 500;
    color: #333;
}

.detail-value {
    color: #666;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

.payment-icon {
    height: 50px;
    vertical-align: middle;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auction-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .auction-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .auction-actions {
        justify-content: center;
    }
    
    .auction-title {
        font-size: 2rem;
    }
    
    .auction-price {
        font-size: 1.5rem;
    }
}






.payment-icon-james {
    height: 32px;
width: 50px;
    vertical-align: middle;


   
}
























