/* AEM Labs - Product Listing CSS */
/* ============================== */

#no-products.carousel-header {
    margin-bottom: 0;
}

#no-products .no-products-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 20px 0;
}

@media (max-width: 480px) {
    #no-products .no-products-content h3 {
        font-size: 16px;
    }

    #no-products .no-products-content p {
        font-size: 12px;
    }
}

.product-listing-container {
    max-width: min(75%, var(--section-max-width));
    margin: 40px auto 0;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Main Product Section */
.product-main-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Product Left Side Wrapper */
.product-left-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Product Gallery (Left Side) */
.product-gallery {
    display: grid;
    grid-template-columns: 22% 1fr;
    gap: 3%;
    width: 100%;
    height: fit-content;
    align-items: start;
}

.main-image-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    align-self: stretch;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-container:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: background 0.3s ease;
}

.zoom-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Image Carousel */
.image-carousel {
    display: flex;
    flex-direction: column;
    min-width: 80px;
    max-width: 140px;
    aspect-ratio: 1;
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
}

.listing-carousel-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
}

/* Image carousel specific styles - NOT for universal product carousel */
.image-carousel .carousel-nav {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    width: 100%;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    z-index: 2;
    display: none;
}

.image-carousel .carousel-nav:hover {
    background: white;
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-carousel .carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #ccc;
}

.image-carousel .carousel-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #ccc;
    border-color: #e0e6ed;
    box-shadow: none;
}

.image-carousel .carousel-prev {
    margin-bottom: 10px;
}

.image-carousel .carousel-next {
    margin-top: 10px;
}

.image-carousel .carousel-track-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 0;
    /* Allows flex item to shrink */
}

.image-carousel .carousel-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease;
    padding: 0;
    height: 100%;
}

.image-carousel .carousel-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.image-carousel .carousel-image:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.image-carousel .carousel-image.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(167, 28, 28, 0.2);
}

/* Legacy thumbnail styles for mobile fallback */
.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    width: 100px;
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(167, 28, 28, 0.2);
}

/* Product Details (Right Side) */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.product-card-title-row h1 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.action-buttons-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.action-btn-header {
    padding: 8px !important;
    font-size: 12px !important;
    width: 36px !important;
    height: 36px !important;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 36px;
    min-height: 36px;
}

.action-btn-header i {
    font-size: 12px;
}

.share-btn {
    padding: 8px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-id {
    color: #666;
    font-size: 12px;
}

.stars {
    color: #ffd700;
    display: flex;
    gap: 2px;
    font-size: 14px;
}

.rating-text {
    color: #666;
    font-size: 12px !important;
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-color);
}

.original-price {
    font-size: 14px;
    color: #666;
    text-decoration: line-through;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.stock-status.in-stock {
    color: #28a745;
}

.stock-status.out-of-stock {
    color: #dc3545;
}

.quantity-stock-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-section label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: background 0.2s ease;
}

.qty-btn:hover {
    background: #e9ecef;
}

#quantity {
    border: none;
    width: 60px;
    height: 40px;
    text-align: center;
    font-weight: 500;
    background: white;
    outline: none;
    -moz-appearance: textfield;
    /* Firefox: hide spinners */
}

/* Hide spinners in WebKit browsers (Chrome, Safari, Edge) */
#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stock-count {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 8px 12px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 14px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    width: fit-content;
}

.stock-number {
    font-weight: 700;
    font-size: 14px;
    color: #28a745;
}

.stock-label {
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
}

/* Product Highlights */
.product-highlights {
    padding: 20px 20px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-highlights h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    border-bottom: 1px solid #c7ced4;
    padding-bottom: 10px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.features-list i {
    color: var(--accent-color);
    width: 16px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buy-now-primary {
    width: 100%;
}

.action-buttons-row {
    display: flex;
    gap: 12px;
}

.action-buttons-row .btn {
    flex: 1;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: #d64545;
    border-color: #d64545;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.3);
}

.btn-secondary {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.btn-secondary:hover {
    background: #218838;
    border-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

/* Seller Info */
.seller-info {
    padding-top: 12px;
}

.seller-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e0e6ed;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-details {
    flex: 1;
}

.seller-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.seller-details h4 a {
    font-size: 14px;
    text-decoration: none;
    color: #1a1a1a;
}

.seller-details h4 a:hover {
    color: var(--accent-color);
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 500;
}

.seller-stats {
    color: #666;
    font-size: 11px;
    font-weight: 500;
}

.contact-seller-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    flex-shrink: 0;
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: transparent;
}

.contact-seller-btn:hover {
    background: var(--accent-color);
    color: white;
}

.product-tabs-section {
    margin-top: 40px;
}

.tabs-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 12px 12px 0 0;
    overflow-x: auto;
    display: flex;
    gap: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 28, 28, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    color: var(--accent-color);
    background-color: rgba(167, 28, 28, 0.05);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-color), #d64545);
    color: white;
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.8);
    border-bottom-color: var(--accent-color);
}

.tab-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 28, 28, 0.4);
}

.tabs-content {
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    padding: 18px 24px;
}

.content-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* Description Tab */
.description-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 25px 0 15px 0;
}

.description-content p {
    line-height: 1.6;
    color: #333;
    font-size: 14px;
    margin-bottom: 14px;
}

.description-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.description-content li {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

/* Specifications Tab */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.spec-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

.spec-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-category li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.spec-category li:last-child {
    border-bottom: none;
}

/* Reviews Tab */
.reviews-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-score {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
}

.total-reviews {
    color: #666;
    margin-left: 10px;
    font-size: 12px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    background: white;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-name {
    font-weight: 600;
    color: #1a1a1a;
}

.review-rating {
    font-size: 12px;
}

.review-date {
    color: #666;
    font-size: 11px;
    font-weight: 500;
}

.review-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.review-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.review-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
}

.seller-response {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.response-badge {
    background: linear-gradient(135deg, var(--accent-color, #6907c5) 0%, #8b5cf6 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.response-date {
    font-size: 11px;
    font-weight: 500;
    color: #666;
}

.response-text {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.no-reviews-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-reviews-message p {
    font-size: 16px;
    margin: 0;
}

.view-all-reviews {
    text-align: center;
}

.view-all-btn {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
}

/* Seller Products Grid */
#seller .content-section {
    padding: 12px 10px;
}

#seller .content-section h3 {
    margin-bottom: 0;
    font-size: 14px;
}
#seller .carousel-container {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0 auto;
}

#seller .carousel-header h3 {
    padding: 0;
}

.carousel-track .product-original-price {
    font-size: 10px;
    color: #666;
    text-decoration: line-through;
    font-weight: 600;
}

.carousel-track .product-discount-badge {
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Shipping Tab */
.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shipping-options-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
}

.shipping-option {
    flex: 1;
    padding: 20px;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    background: white;
}

.shipping-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.shipping-header i {
    color: var(--accent-color);
    font-size: 20px;
}

.shipping-header h4 {
    margin: 0;
    font-size: 16px;
    color: #1a1a1a;
}

.shipping-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.returns-policy {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.returns-policy h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #1a1a1a;
}

.returns-policy ul {
    margin: 0;
    font-size: 14px;
    padding-left: 20px;
}

.returns-policy li {
    margin-bottom: 8px;
    color: #333;
}

/* Product Info Cards */
.product-info-cards {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

.info-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    color: white;
    font-size: 16px;
}

.financing-card .card-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.protection-card .card-icon {
    background: linear-gradient(135deg, var(--accent-color), #d64545);
}

.card-content {
    flex: 1;
}

.card-content h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.card-content p {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

/* --- Global Main Container Start --- */
@media (max-width: 1400px) {
    .product-listing-container {
        max-width: min(98%, var(--section-max-width));
    }

    .image-carousel {
        max-width: 120px;
    }

    .product-gallery {
        grid-template-columns: none;
    }

    .product-left-side {
        gap: 3%;
    }

    .product-info-cards {
        margin-top: 0;
    }

    .product-main-section .product-details .product-title {
        font-size: 28px;
    }

    .product-meta {
        margin-bottom: 6px;
    }

    .current-price {
        font-size: 24px;
    }

    .stock-count {
        font-size: 14px;
        padding: 6px 10px;
    }

    .qty-btn {
        width: 35px;
        height: 35px;
    }

    .qty-btn i {
        font-size: 14px;
    }

    #quantity {
        width: 50px;
        height: 35px;
    }

    .action-buttons .btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .action-buttons-row .btn i {
        font-size: 14px;
    }

    .seller-info {
        padding-top: 12px;
    }

    .seller-card {
        padding: 16px;
    }

    .seller-card .seller-avatar {
        width: 50px;
        height: 50px;
    }

    .tabs-content h3 {
        font-size: 22px;
    }

    .content-section {
        padding: 20px 30px 30px 30px;
    }

    #description .description-content h4 {
        font-size: 18px;
    }

    #description .description-content p {
        font-size: 15px;
    }

    #description .description-content ul li {
        font-size: 14px;
    }

    #specifications .specs-grid h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    #specifications .specs-grid ul li {
        font-size: 15px;
    }

    #reviews .reviews-summary {
        padding: 20px;
        margin-bottom: 24px;
    }

    #reviews .reviews-summary .rating-score {
        font-size: 32px;
        font-weight: 800;
    }

    #reviews .reviews-summary .overall-rating {
        font-size: 14px;
    }

    #reviews .review-item p {
        font-size: 14px;
    }

    #shipping .shipping-info {
        gap: 15px;
    }

    #shipping .shipping-option {
        padding: 16px;
    }

    #shipping .shipping-option h4 {
        font-size: 16px;
    }

    #shipping .shipping-option p {
        font-size: 14px;
    }

    #shipping .returns-policy h4 {
        font-size: 16px;
    }

    #shipping .returns-policy ul li {
        font-size: 14px;
    }

    #shipping .returns-policy li {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .product-listing-container {
        margin-top: 20px;
    }

    .product-main-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .product-left-side {
        max-width: min(80%, var(--section-max-width));
        margin: 0 auto;
        gap: 12px;
    }

    .product-gallery {
        gap: 40px;
    }

    .product-tabs-section {
        margin-top: 0;
    }

    .product-tabs-section .tabs-nav .tab-btn {
        font-size: 12px;
        padding: 14px;
    }

    .content-section {
        padding: 20px;
    }

    .content-section h3 {
        font-size: 20px;
    }

    #specifications .specs-grid {
        gap: 12px 30px;
    }

    #specifications .specs-grid h4 {
        font-size: 16px;
    }

    #specifications .specs-grid ul li {
        font-size: 14px;
    }

    #reviews .reviews-summary {
        padding: 14px;
        margin-bottom: 12px;
    }

    #reviews .reviews-summary .rating-score {
        font-size: 28px;
    }

    #reviews .reviews-summary .overall-rating {
        font-size: 14px;
    }

    #reviews .review-item i {
        font-size: 12px;
    }

    #reviews .review-item p {
        font-size: 14px !important;
    }

    #reviews .reviews-list {
        gap: 12px;
    }

    #reviews .reviews-list .review-item {
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .product-listing-container {
        margin-top: 20px;
        padding-top: 0;
    }

    .product-main-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .product-left-side {
        max-width: min(80%, var(--section-max-width));
    }

    .product-header h1 {
        font-size: 22px;
    }

    .action-buttons-group {
        gap: 6px;
    }

    .action-btn-header {
        align-self: flex-end;
        padding: 6px !important;
        font-size: 10px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        min-height: 32px;
    }

    .share-btn {
        font-size: 12px !important;
        padding: 6px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        min-height: 32px;
    }

    .tabs-nav {
        overflow-x: auto;
        gap: 0;
        border-radius: 8px 8px 0 0;
    }

    .tab-btn {
        font-size: 11px;
        padding: 10px;
    }

    .tabs-content {
        border-radius: 0 0 8px 8px;
    }

    .content-section {
        padding: 20px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-buttons {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px 0;
        border-top: 1px solid #e0e6ed;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
        gap: 10px;
    }

    .action-buttons-row {
        gap: 10px;
    }

    .quantity-stock-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .quantity-section {
        gap: 10px;
    }

    .stock-count {
        padding: 6px 10px;
    }

    .stock-number {
        font-size: 1rem;
    }

    .stock-label {
        font-size: 0.85rem;
    }

    .info-card {
        padding: 14px;
    }

    .card-content h4 {
        font-size: 13px;
    }

    .card-content p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .product-listing-container {
        margin-top: 0;
        padding: 0;
        width: 95%;
    }

    .product-left-side {
        max-width: 100%;
        gap: 8px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 6px;
        width: 100%;
    }

    .main-image-container {
        grid-column: 1;
        grid-row: 1;
        width: 70%;
        margin: 0 auto;
        aspect-ratio: 1;
        max-height: auto;
    }

    .image-carousel {
        flex-direction: row;
        align-items: center;
        max-width: 100%;
        gap: 8px;
        height: 60px;
        aspect-ratio: 0;
        grid-row: none !important;
    }

    .listing-carousel-container {
        flex-direction: row;
        height: 100%;
    }

    .image-carousel .carousel-track-container {
        height: 60px;
        width: 100%;
        order: 2;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .image-carousel .carousel-track {
        flex-direction: row;
        height: 100%;
        gap: 10px;
    }

    .image-carousel .carousel-image {
        height: 100%;
        width: 60px;
        aspect-ratio: 1;
    }

    .image-carousel .carousel-nav {
        width: 35px;
        height: 35px;
        border-radius: 6px;
        flex-shrink: 0;
        margin: 0;
    }

    .image-carousel .carousel-prev {
        order: 1;
    }

    .image-carousel .carousel-next {
        order: 3;
    }

    .product-info-cards {
        gap: 8px;
        flex-direction: column;
    }

    .info-card {
        padding: 12px;
        gap: 10px;
    }

    .info-card .card-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .card-content h4 {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .card-content p {
        font-size: 10px;
        line-height: 1.4;
    }

    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .image-overlay {
        top: 10px;
        right: 10px;
    }

    .product-main-section .product-details .product-title {
        font-size: 22px;
    }

    .product-id {
        font-size: 10px;
        margin-top: 6px;
    }

    .pricing-section {
        padding: 12px 16px;
    }

    .pricing-section .price-container {
        margin-bottom: 8px;
    }

    .stock-status {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .quantity-stock-row {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .quantity-section label {
        font-size: 12px;
    }

    .qty-btn,
    #quantity {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .stock-count {
        padding: 4px 8px;
        border-radius: 8px;
    }

    .stock-number {
        font-size: 10px;
    }

    .stock-label {
        font-size: 10px;
    }

    .current-price {
        font-size: 20px;
    }

    .original-price {
        font-size: 12px;
    }

    .discount-badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    .product-highlights {
        padding: 12px 16px;
    }

    .product-highlights h3 {
        font-size: 14px;
        padding-bottom: 8px;
        margin-bottom: 2px;
    }

    .features-list {
        gap: 0 4px;
    }

    .features-list li {
        font-size: 11px;
        padding: 6px 0;
        gap: 4px;
    }

    .seller-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .seller-card .contact-seller-btn {
        width: 100%;
        margin-top: 5px;
    }

    .seller-card .btn {
        font-size: 12px;
        padding: 6px 10px;
        width: 100%;
    }

    .seller-card .btn i {
        font-size: 12px;
    }

    .seller-details {
        margin-right: 0;
    }

    .tabs-nav {
        flex-direction: column;
        overflow-x: visible;
        border-radius: 8px;
        gap: 1px;
        background: #e9ecef;
        padding: 1px;
    }

    .tab-btn {
        width: 100%;
        min-width: 100%;
        padding: 12px 16px !important;
        font-size: 12px;
        border-radius: 0;
        background: white;
        justify-content: flex-start;
        gap: 12px;
    }

    .tab-btn:first-child {
        border-radius: 8px 8px 0 0;
    }

    .tab-btn:last-child {
        border-radius: 0 0 8px 8px;
    }

    .tab-btn i {
        font-size: 14px;
    }

    .tab-btn.active {
        border-radius: 6px;
    }

    .content-section h3 {
        font-size: 16px;
    }

    .content-section p {
        font-size: 12px !important;
    }

    #description .description-content h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    #description .description-content p,
    #description .description-content ul li {
        font-size: 12px !important;
    }

    #description .description-content ul {
        margin-bottom: 0;
    }

    #description .description-content ul li:last-child {
        margin-bottom: 0;
    }

    #specifications .specs-grid h4 {
        font-size: 14px;
        padding-bottom: 6px;
        margin-bottom: 6px;
    }

    #specifications .specs-grid ul li {
        font-size: 12px;
    }

    #shipping .content-section .shipping-options-container {
        flex-direction: column;
    }

    #shipping .shipping-option h4 {
        font-size: 14px;
    }

    #shipping .shipping-option p {
        font-size: 12px;
        margin-bottom: 0;
    }

    #shipping .returns-policy {
        padding: 16px;
    }

    #shipping .returns-policy h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    #shipping .returns-policy ul li {
        font-size: 12px;
    }

    #shipping .returns-policy ul li:last-child {
        margin-bottom: 0;
    }

    .review-header {
        margin-bottom: 6px;
    }

    #reviews .reviewer-name {
        font-size: 12px;
    }

    #reviews .review-item i,
    #reviews .review-item p {
        font-size: 10px !important;
    }

    .review-date,
    .response-date {
        font-size: 9px;
    }

    .response-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .seller-response {
        margin-top: 8px;
        padding: 12px 10px;
    }

    .view-all-btn {
        font-size: 10px;
        padding: 6px 10px;
        margin-top: 16px;
    }
}

/* --- Global Main Container End --- */


/* --- Latest Posts Section Start --- */
.latest-posts-section {
    padding: 20px 0;
    background-color: #f9f9f9;
}

.blog-posts-container {
    max-width: min(82%, var(--section-max-width));
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.latest-posts-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.latest-posts-section .section-title {
    font-size: 32px;
    color: #333;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.latest-posts-section .section-title i {
    color: var(--accent-color);
}

.section-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 100%;
}

.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.post-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.1);
}

.post-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(167, 28, 28, 0.8), rgba(214, 69, 69, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.post-card:hover .post-card-overlay {
    opacity: 1;
}

.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    color: var(--accent-color);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.post-card:hover .read-more-btn {
    transform: scale(1);
}

.read-more-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: var(--accent-color);
}

.post-card-content {
    padding: 16px 24px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.post-category {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-category.general {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.post-category.dev-logs {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.post-category.updates {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.post-category.tutorials {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.post-category.community {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.post-category.tech-insights {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: white;
}

.post-date {
    color: #666;
    font-size: 10px;
    font-weight: 500;
}

.post-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 10px;
    font-weight: 500;
}

.post-title {
    margin-bottom: 6px;
}

.post-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-title a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.post-author-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-author-mini img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author-mini span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.post-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1400px) {
    .blog-posts-container {
        max-width: min(90%, var(--section-max-width));
    }
}

@media (max-width: 768px) {
    .latest-posts-section .section-header {
        margin-bottom: 12px;
    }

    .latest-posts-section .section-title {
        font-size: 24px;
    }

    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .post-card-content {
        padding: 12px 18px;
    }

    .post-card-image {
        height: 180px;
    }
}

.posts-container {
    display: block;
}

.posts-carousel-nav {
    display: none;
}

@media (max-width: 480px) {
    .posts-container {
        position: relative;
        width: 100%;
    }

    .latest-posts-section .section-title {
        margin-bottom: 0;
    }

    .latest-posts-section .section-title h2 {
        display: block;
        font-size: 24px !important;
    }

    .section-filters {
        width: 150px;
    }

    .filter-btn {
        font-size: 10px;
        padding: 8px 12px;
    }

    .posts-carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid #e0e6ed;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(5px);
    }

    .posts-carousel-prev {
        left: 10px;
    }

    .posts-carousel-next {
        right: 10px;
    }

    .posts-carousel-nav:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    .posts-carousel-nav:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        transform: translateY(-50%);
    }

    .posts-carousel-nav:disabled:hover {
        background: rgba(255, 255, 255, 0.95);
        border-color: #e0e6ed;
        color: initial;
        transform: translateY(-50%);
    }

    .posts-carousel-nav i {
        font-size: 12px;
    }

    .posts-grid {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 15px;
        padding: 20px 60px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        grid-template-columns: none;
        scroll-snap-type: x mandatory;
    }

    .posts-grid::-webkit-scrollbar {
        display: none;
    }

    .posts-grid .post-card {
        flex: 0 0 calc(100vw - 120px);
        min-width: 280px;
        max-width: 400px;
        scroll-snap-align: center;
    }

    .latest-posts-section {
        padding: 10px 0 20px;
    }

    .posts-grid {
        gap: 15px;
    }

    .post-card-image {
        height: 160px;
    }

    .post-card-content {
        padding: 12px 18px 10px;
    }

    .post-category {
        font-size: 8px;
        padding: 4px 8px;
    }

    .post-title a {
        font-size: 14px;
    }

    .post-excerpt,
    .post-read-time,
    .post-views {
        font-size: 10px;
    }

    .post-footer {
        gap: 10px;
        padding-top: 8px;
    }

    .post-author-mini img {
        width: 30px;
        height: 30px;
    }

    .post-author-mini span {
        font-size: 10px;
    }
}

/* --- Latest Posts Section End --- */


/* --- Login Prompt Modal Start --- */
.login-prompt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-prompt-modal.active {
    display: flex;
    opacity: 1;
}

.login-prompt-modal-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
}

.login-prompt-modal.active .login-prompt-modal-content {
    transform: scale(1);
}

.login-prompt-icon-section {
    margin-bottom: 25px;
}

.login-prompt-icon-section i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.login-prompt-icon-section h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.login-prompt-icon-section p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.login-prompt-buttons {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.login-cta-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-cta-btn:hover {
    background: #d64545;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-cta-btn i {
    font-size: 1rem;
}

.cancel-login-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-login-btn:hover {
    border-color: #bbb;
    color: #555;
    background: #f8f9fa;
}

/* Responsive adjustments for login modal */
@media (max-width: 768px) {
    .login-prompt-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .login-prompt-icon-section i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .login-prompt-icon-section h3 {
        font-size: 1.3rem;
    }

    .login-prompt-icon-section p {
        font-size: 0.9rem;
    }

    .login-cta-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* --- Login Prompt Modal End --- */


/* --- Make Offer Modal Start --- */
.make-offer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.make-offer-modal.active {
    display: flex;
    opacity: 1;
}

.make-offer-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.make-offer-modal.active .make-offer-modal-content {
    transform: scale(1);
}

.make-offer-modal h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.current-price-display {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 1rem;
}

.current-price-display strong {
    color: var(--accent-color);
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(167, 28, 28, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.offer-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.offer-cancel-btn,
.offer-submit-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid;
}

.offer-cancel-btn {
    background: white;
    color: #666;
    border-color: #ddd;
}

.offer-cancel-btn:hover {
    background: #f8f9fa;
    border-color: #bbb;
    color: #555;
}

.offer-submit-btn {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.offer-submit-btn:hover {
    background: #d64545;
    border-color: #d64545;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.3);
}

.offer-submit-btn:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .make-offer-modal-content {
        padding: 25px 20px;
        margin: 20px;
    }

    .make-offer-modal h3 {
        font-size: 1.3rem;
    }

    .current-price-display {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .offer-buttons {
        flex-direction: column;
    }

    .offer-cancel-btn,
    .offer-submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* --- Make Offer Modal End --- */