/**
 * DX Marketplace - Front Office CSS
 *
 * @author    Christos A. Daggas
 * @copyright 2026 Christos A. Daggas
 * @license   Commercial
 */

/* Form Sections */
.dxmarketplace-submit-offer,
.dxmarketplace-shop-profile,
.dxmarketplace-my-offers {
    max-width: 900px;
}

.dxmarketplace-submit-offer .form-section,
.dxmarketplace-shop-profile .form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.dxmarketplace-submit-offer .section-title,
.dxmarketplace-shop-profile .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #2fb5d2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #232323;
}

.dxmarketplace-submit-offer .section-title i,
.dxmarketplace-shop-profile .section-title i {
    color: #2fb5d2;
    font-size: 1.25rem;
}

/* Form Groups */
.dxmarketplace-submit-offer .form-group,
.dxmarketplace-shop-profile .form-group {
    margin-bottom: 1.25rem;
}

.dxmarketplace-submit-offer .form-control-label,
.dxmarketplace-shop-profile .form-control-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: #232323;
}

.dxmarketplace-submit-offer .form-control,
.dxmarketplace-shop-profile .form-control {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.dxmarketplace-submit-offer .form-control:focus,
.dxmarketplace-shop-profile .form-control:focus {
    border-color: #2fb5d2;
    box-shadow: 0 0 0 0.2rem rgba(47, 181, 210, 0.15);
}

.dxmarketplace-submit-offer select.form-control,
.dxmarketplace-shop-profile select.form-control {
    height: auto;
    padding: 0.5rem 0.75rem;
}

.dxmarketplace-submit-offer textarea.form-control,
.dxmarketplace-shop-profile textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Lang Tabs - Cleaner design */
.lang-tabs {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.lang-tabs .nav-tabs {
    margin-bottom: 0;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f9fa;
    padding: 0;
}

.lang-tabs .nav-item {
    margin-bottom: 0;
}

.lang-tabs .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    border: none;
    border-radius: 0;
    background: transparent;
}

.lang-tabs .nav-link.active {
    color: #2fb5d2;
    background: #fff;
    border-bottom: 2px solid #2fb5d2;
}

.lang-tabs .nav-link:hover:not(.active) {
    color: #232323;
    background: #e9ecef;
}

.lang-tabs .tab-content {
    padding: 0.75rem;
    background: #fff;
}

.lang-tabs .tab-pane .form-control {
    border: none;
    padding: 0;
    box-shadow: none;
}

.lang-tabs .tab-pane .form-control:focus {
    box-shadow: none;
}

/* Tiers Table */
#tiersTable {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

#tiersTable th {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.75rem 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

#tiersTable td {
    padding: 0.5rem;
    vertical-align: middle;
}

#tiersTable .form-control {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
}

#tiersTable .tier-saving .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
}

#tiersTable .remove-tier {
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

#tiersTable .remove-tier i {
    font-size: 1rem;
}

/* Input Groups */
.input-group-text {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #ced4da;
}

/* Pricing Preview */
.pricing-preview {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
}

.pricing-preview h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2e7d32;
}

.pricing-preview table {
    margin-bottom: 0;
    font-size: 0.8rem;
}

.pricing-preview .table-success {
    background: #c8e6c9 !important;
}

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.form-footer .btn {
    min-width: 140px;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-footer .btn i {
    font-size: 1.1rem;
}

.form-footer .btn-primary {
    background: #2fb5d2;
    border-color: #2fb5d2;
}

.form-footer .btn-primary:hover {
    background: #28a1bc;
    border-color: #28a1bc;
}

/* Required Field Indicator */
.form-control-label.required::after {
    content: " *";
    color: #e74c3c;
}

/* Custom Switch */
.custom-switch {
    padding-left: 2.5rem;
}

.custom-switch .custom-control-label {
    font-weight: normal;
    cursor: pointer;
}

.custom-switch .custom-control-label::before {
    left: -2.5rem;
    width: 2rem;
    border-radius: 1rem;
    background-color: #dee2e6;
    border: none;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #2fb5d2;
}

.custom-switch .custom-control-label::after {
    left: calc(-2.5rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    border-radius: 50%;
    background-color: #fff;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(1rem);
}

.offer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #232323;
    margin-bottom: 8px;
}

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

.offer-price {
    font-weight: 700;
    color: #2e7d32;
    font-size: 1.1rem;
}

.admin-note {
    background: #fff3cd;
    border-color: #ffc107;
    font-size: 0.9rem;
}

/* Badges */
.badge-warning {
    background: #ffc107;
    color: #212529;
}

.badge-success {
    background: #28a745;
    color: #fff;
}

.badge-danger {
    background: #dc3545;
    color: #fff;
}

.badge-info {
    background: #17a2b8;
    color: #fff;
}

.dxmarketplace-volume-pricing{
  margin: 15px auto;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  float: none;
  margin-top: 36px;
  display: block;
  overflow: hidden;
}

/* ── Volume Pricing in product miniatures ── */
.product-miniature .product-miniature__prices {
  flex-wrap: wrap;
}

.product-miniature .dxmarketplace-volume-pricing {
  flex-basis: 100%;
  margin-top: 10px;
  padding: 10px;
  font-size: 0.85rem;
}

.volume-pricing-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #232323;
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-pricing-title .material-icons {
  color: #4caf50;
  font-size: 1.2rem;
}

.volume-pricing-table {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.volume-pricing-table th {
  background: #fff;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
}

.volume-pricing-table td {
  vertical-align: middle;
}

.base-price-row {
  background: #fff;
}

.tier-row {
  background: #e8f5e9 !important;
}

.price-discount {
  color: #2e7d32;
}

.savings-badge {
  font-size: 0.8rem;
  padding: 4px 8px;
}

.product-miniature .volume-pricing-title {
  font-size: 0.8rem;
  margin-bottom: 8px;
  gap: 4px;
}

.product-miniature .volume-pricing-title .material-icons {
  font-size: 1rem;
}

.product-miniature .volume-pricing-table {
  font-size: 0.75rem;
}

.product-miniature .volume-pricing-table th,
.product-miniature .volume-pricing-table td {
  padding: 4px 6px;
}

.product-miniature .savings-badge {
  font-size: 0.7rem;
  padding: 2px 5px;
}

/* Responsive */
@media (max-width: 767px) {
    .dxmarketplace-account-links a {
        padding: 10px;
    }
    
    .dxmarketplace-account-links .link-item {
        padding: 15px;
    }
    
    .offer-actions .btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .form-footer {
        flex-direction: column;
    }
    
    .form-footer .btn {
        width: 100%;
    }
}

/* Modern Image Upload */
.image-upload-wrapper {
    width: 100%;
}

.image-upload-dropzone {
    position: relative;
    border: 2px dashed #d0d0d0;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-upload-dropzone:hover {
    border-color: #2fb5d2;
    background: #f0fafc;
}

.image-upload-dropzone.dragover {
    border-color: #2fb5d2;
    background: #e6f7fa;
    transform: scale(1.01);
}

.image-upload-dropzone.banner-dropzone {
    min-height: 150px;
    aspect-ratio: 4 / 1;
}

.image-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    pointer-events: none;
}

.upload-placeholder i {
    font-size: 3rem;
    color: #b0b0b0;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.image-upload-dropzone:hover .upload-placeholder i {
    color: #2fb5d2;
}

.upload-placeholder .upload-text {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.upload-placeholder .upload-hint {
    font-size: 0.8rem;
    color: #888;
}

.image-preview {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-preview.banner-preview {
    width: 100%;
    height: auto;
    max-height: 150px;
    padding: 15px;
}

.image-preview.banner-preview img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
}

.image-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 3;
    padding: 0;
}

.image-remove-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.image-remove-btn i {
    font-size: 18px;
}

/* Multi-image Upload */
.multi-upload-dropzone {
    min-height: 200px;
    flex-direction: column;
}

.multi-upload-dropzone .upload-placeholder {
    width: 100%;
}

.multi-image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px;
    width: 100%;
}

.multi-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.multi-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.multi-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.multi-remove-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.multi-remove-btn i {
    font-size: 16px;
}

/* Existing images grid */
.existing-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.existing-image-item {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 2px solid #e5e5e5;
}

.existing-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Vendor Dashboard
   ======================================== */
.dx-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dx-dashboard-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.dx-dashboard-card .card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #232323;
}

.dx-dashboard-card .card-label {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.25rem;
}

.dx-dashboard-chart {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* ========================================
   Vendor List
   ======================================== */
.dx-vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dx-vendor-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    background: #fff;
}

.dx-vendor-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dx-vendor-card .vendor-card-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e5e5;
}

.dx-vendor-card .vendor-card-body {
    padding: 1.25rem;
}

.dx-vendor-card .vendor-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.dx-vendor-card .vendor-card-name a {
    color: #232323;
    text-decoration: none;
}

.dx-vendor-card .vendor-card-meta {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   Vendor Reviews
   ======================================== */
.dx-review-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dx-star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}

.dx-star-rating input {
    display: none;
}

.dx-star-rating label {
    cursor: pointer;
    font-size: 24px;
    color: #ccc;
    transition: color 0.15s;
}

.dx-star-rating label:hover,
.dx-star-rating label:hover ~ label,
.dx-star-rating input:checked ~ label {
    color: #ffc107;
}

.dx-review-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.dx-review-item:last-child {
    border-bottom: none;
}

.dx-review-stars {
    display: inline-flex;
    gap: 1px;
}

.dx-review-stars i {
    font-size: 14px;
    color: #ffc107;
}

.dx-rating-distribution {
    max-width: 300px;
}

.dx-rating-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.dx-rating-bar .bar-fill {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.dx-rating-bar .bar-fill span {
    display: block;
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
}

/* ========================================
   Stock Update Modal
   ======================================== */
.dx-stock-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dx-stock-modal {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.dx-stock-modal h4 {
    margin-bottom: 1rem;
}

.dx-stock-modal input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.dx-stock-modal .btn-group {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* ========================================
   Vendor Shop Sort Bar
   ======================================== */
.dx-shop-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.dx-shop-sort-bar select {
    padding: 0.35rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Vacation mode banner */
.dx-vacation-banner {
    background: #fff3cd;
    border: 1px solid #ffecb5;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dx-vacation-banner i {
    color: #856404;
    font-size: 24px;
}

/* ══════════════════════════════════════════════
   Promoted Vendors – Homepage (displayHome)
   ══════════════════════════════════════════════ */
.dxmarketplace-promoted-vendors {
    padding: 30px 0;
}

.promoted-vendor-block {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Vendor Header */
.promoted-vendor-block .vendor-block-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 25px;
    border-bottom: 1px solid #e5e5e5;
}

.promoted-vendor-block .vendor-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.promoted-vendor-block .vendor-logo {
    flex-shrink: 0;
}

.promoted-vendor-block .vendor-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eee;
    padding: 5px;
}

.promoted-vendor-block .vendor-title {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.promoted-vendor-block .vendor-title a {
    color: #232323;
    text-decoration: none;
}

.promoted-vendor-block .vendor-title a:hover {
    color: #2fb5d2;
}

.promoted-vendor-block .vendor-details .btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    padding: 6px 14px;
}

.promoted-vendor-block .vendor-details .btn i {
    font-size: 16px;
}

/* Offers Grid */
.promoted-vendor-block .vendor-offers-grid {
    padding: 25px;
    background: #fafafa;
}

.promoted-vendor-block .offers-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .promoted-vendor-block .offers-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .promoted-vendor-block .offers-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .promoted-vendor-block .offers-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .promoted-vendor-block .offers-row {
        grid-template-columns: 1fr;
    }
}

/* Offer Card (Homepage) */
.offer-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.offer-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

/* Offer Image */
.offer-card .offer-image-link {
    display: block;
    padding: 15px;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.offer-card .offer-image {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.offer-card .offer-no-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    background: #f8f8f8;
}

.offer-card .offer-no-image i {
    font-size: 60px;
}

/* Offer Info */
.offer-card .offer-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-card .offer-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 10px 0;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-card .offer-title a {
    color: #232323;
    text-decoration: none;
}

.offer-card .offer-title a:hover {
    color: #2fb5d2;
}

/* Price */
.offer-card .offer-price {
    margin-bottom: 10px;
}

.offer-card .offer-price .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2fb5d2;
}

/* Volume Pricing in Offer Card */
.offer-card .offer-volume-pricing {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
    flex-grow: 1;
}

.offer-card .volume-header {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.offer-card .volume-header i {
    font-size: 14px;
    color: #28a745;
}

.offer-card .volume-tiers {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offer-card .tier-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    padding: 4px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.offer-card .tier-row:last-child {
    border-bottom: none;
}

.offer-card .tier-qty {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.75rem;
    min-width: 45px;
    text-align: center;
}

.offer-card .tier-price {
    color: #232323;
    font-weight: 600;
    flex-grow: 1;
}

.offer-card .tier-discount {
    background: #d4edda;
    color: #155724;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Action Button */
.offer-card .offer-actions {
    margin-top: auto;
}

.offer-card .offer-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.offer-card .offer-actions .btn i {
    font-size: 18px;
}

.offer-card .offer-actions .btn-primary {
    background: #2fb5d2;
    border-color: #2fb5d2;
    color: #fff;
}

.offer-card .offer-actions .btn-primary:hover {
    background: #249cb5;
    border-color: #249cb5;
}

.offer-card .offer-actions .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.offer-card .offer-actions .btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
}

/* ══════════════════════════════════════════════
   Vendor Badge – Product Miniature (listings)
   ══════════════════════════════════════════════ */
.dxmarketplace-vendor-badge {
    margin: 6px 0;
}

.dxmarketplace-vendor-badge .vendor-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #666;
    font-size: 0.82rem;
    padding: 3px 0;
    transition: color 0.2s ease;
}

.dxmarketplace-vendor-badge .vendor-badge-link:hover {
    color: #2fb5d2;
}

.dxmarketplace-vendor-badge .vendor-badge-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.dxmarketplace-vendor-badge .vendor-badge-icon {
    font-size: 18px;
    color: #999;
    flex-shrink: 0;
}

.dxmarketplace-vendor-badge .vendor-badge-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}

/* ══════════════════════════════════════════════
   Vendor Info Block – Product Page Footer
   ══════════════════════════════════════════════ */
.dxmarketplace-vendor-block {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.dxmarketplace-vendor-block .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
}

.dxmarketplace-vendor-block .card-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.dxmarketplace-vendor-block .card-body {
    padding: 1.25rem;
}

.dxmarketplace-vendor-block .vendor-name a {
    color: #333;
    font-weight: 600;
}

.dxmarketplace-vendor-block .vendor-name a:hover {
    color: #007bff;
}

.dxmarketplace-vendor-block .locations-title {
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dxmarketplace-vendor-block .location-card {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #dee2e6;
}

.dxmarketplace-vendor-block .location-card.is-primary {
    border-left-color: #007bff;
}

.dxmarketplace-vendor-block .location-name {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.dxmarketplace-vendor-block .location-address {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.dxmarketplace-vendor-block .location-contact {
    font-size: 0.85rem;
}

.dxmarketplace-vendor-block .location-contact a {
    color: #007bff;
}

.dxmarketplace-vendor-block .location-contact i {
    color: #888;
    margin-right: 2px;
}

.dxmarketplace-vendor-block .vendor-email {
    font-size: 0.9rem;
}

.dxmarketplace-vendor-block .vendor-email a {
    color: #007bff;
}

.dxmarketplace-vendor-block .vendor-email i {
    color: #888;
    margin-right: 4px;
}

.dxmarketplace-vendor-block .vendor-logo img {
    border: 1px solid #eee;
}

.dxmarketplace-vendor-block .badge {
    font-size: 0.7rem;
    font-weight: normal;
}

.dxmarketplace-vendor-block .location-map-link a {
    color: #6c757d;
}

.dxmarketplace-vendor-block .location-map-link a:hover {
    color: #007bff;
}

/* Leaflet Map Customization */
#dxmarketplace-vendor-map {
    z-index: 1;
}

#dxmarketplace-vendor-map .leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

#dxmarketplace-vendor-map .leaflet-popup-content strong {
    display: block;
    margin-bottom: 4px;
}
