.market-product-container {
    display: flex;
    gap: 24px;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.market-left-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.market-right-col {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.market-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.market-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 500px;
}

.market-image-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.market-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.market-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: #333;
}

.market-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.market-title-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.market-product-title {
    margin: 0;
    font-size: 24px;
    color: #0b4b8a;
    font-weight: 700;
}

.market-product-subtitle {
    margin: 4px 0 0;
    color: #888;
    font-size: 14px;
}

.market-premium-badge {
    background: #ffa800;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.market-premium-badge svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.market-product-attributes {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.market-attr {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.market-attr svg {
    width: 18px;
    height: 18px;
    stroke: #555;
    fill: none;
}

.market-section-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.market-overview-grid {
    display: flex;
    gap: 40px;
}

.market-overview-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.market-overview-label {
    font-size: 12px;
    color: #888;
    text-transform: capitalize;
}

.market-overview-val {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    gap: 6px;
}

.market-overview-val svg {
    width: 16px;
    height: 16px;
    stroke: #555;
    fill: none;
}

.market-desc-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Right column */
.market-price-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.market-price-label {
    font-size: 12px;
    color: #555;
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.market-price-value {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #0b4b8a;
}

.market-btn-blue {
    background: #0b4b8a;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.market-btn-blue:hover {
    background: #09396b;
    color: #fff;
}

.market-btn-blue svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.market-seller-card {
    background: #0b4b8a;
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(11, 75, 138, 0.2);
}

.market-seller-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.market-seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.market-seller-info {
    flex: 1;
}

.market-seller-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

.market-seller-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.market-seller-rating {
    background: #fff;
    color: #333;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.market-seller-rating svg {
    width: 14px;
    height: 14px;
    fill: #ffa800;
}

.market-seller-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.market-stat {
    text-align: center;
}

.market-stat-val {
    font-weight: 700;
    font-size: 16px;
}

.market-stat-lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.market-seller-location {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.market-seller-location svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    flex-shrink: 0;
}

.market-seller-map {
    background: #fff;
    border-radius: 12px;
    height: 140px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="%23e0e0e0"/><path d="M0 50 Q 50 0 100 50 T 200 50" fill="none" stroke="%23ccc" stroke-width="8"/></svg>');
    background-size: cover;
}

.market-map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 75, 138, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.market-map-overlay svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.market-btn-yellow {
    background: #ffa800;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.market-seller-actions {
    display: flex;
    gap: 12px;
}

.market-btn-yellow-outline {
    flex: 1;
    background: rgba(255, 168, 0, 0.1);
    border: 2px solid #ffa800;
    color: #ffa800;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.market-btn-yellow-outline:hover {
    background: #ffa800;
    color: #fff;
}

.market-btn-yellow-outline svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Related Ads */
.market-related-section {
    margin-top: 24px;
}

.market-related-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #222;
}

.market-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.market-related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.market-related-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    position: relative;
    display: block;
}

.market-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-related-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.market-related-actions .market-icon-btn {
    width: 28px;
    height: 28px;
}

.market-related-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #ffa800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-related-badge svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.market-related-info {
    padding: 12px;
}

.market-related-price {
    font-size: 18px;
    font-weight: 700;
    color: #0b4b8a;
    margin: 0 0 8px;
}

.market-related-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.market-related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #888;
}

.market-related-meta-loc {
    display: flex;
    align-items: center;
    gap: 4px;
}

.market-related-meta-loc svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
}

@media (max-width: 992px) {
    .market-product-container {
        flex-direction: column;
    }

    .market-right-col {
        width: 100%;
    }

    .market-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .market-related-grid {
        grid-template-columns: 1fr;
    }

    .market-overview-grid {
        flex-direction: column;
        gap: 16px;
    }
}

/* ── Image Slider ─────────────────────────────────── */
.market-slider-track {
    position: relative;
    width: 100%;
    height: 400px;
}

.market-slide {
    display: none;
}

.market-slide.active {
    display: block;
    cursor: zoom-in;
}

/* Prev / Next arrow buttons */
.market-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background 0.2s, transform 0.2s;
}

.market-slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.market-slider-btn svg {
    width: 22px;
    height: 22px;
    fill: #333;
}

.market-slider-prev {
    left: 12px;
}

.market-slider-next {
    right: 12px;
}

/* Dot indicators */
.market-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.market-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.market-slider-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Image counter (top-left) */
.market-slider-counter {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
    backdrop-filter: blur(4px);
}