/* 
 * Supplier Cards Mobile Styles
 * Professional mobile layout with proper vertical flow
 * Fixed expandable section with proper content ordering
 */

@media (max-width: 850px) {
    
    /* ========================================
       FILTERS - STANDAARD DICHTGEKLAPT (ACCORDEON STIJL)
       ======================================== */
    
    /* Filter groepen standaard dichtgeklapt */
    .filter-group-content,
    .filter-category-content,
    .filter-section-content {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease;
    }
    
    /* Open state voor filters */
    .filter-group.open .filter-group-content,
    .filter-group.active .filter-group-content,
    .filter-category.open .filter-category-content,
    .filter-category.active .filter-category-content,
    .filter-section.open .filter-section-content,
    .filter-section.active .filter-section-content {
        max-height: 500px !important;
        overflow: visible !important;
    }
    
    /* Verberg de extra pijltjes die per ongeluk zijn toegevoegd */
    .filter-section-header::after,
    .filter-group-header::after,
    .filter-category-header::after {
        display: none !important;
    }
    
    /* ========================================
       MOBILE CARD CONTAINER - NO ACCENT BORDER FOR ANY CARD
       ======================================== */
    
    .supplier-card {
        position: relative;
        background: white;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 24px rgba(0,0,0,0.08);
        margin-bottom: 20px;
        overflow: visible;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .supplier-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    }
    
    /* Remove accent border completely for ALL cards */
    .supplier-card::before,
    .supplier-card.premium-card::before,
    .premium-card::before {
        display: none !important;
        content: none !important;
    }
    
    /* Hide premium badge in mobile */
    .premium-badge {
        display: none !important;
    }
    
    /* Ensure no premium styling creates accent borders */
    .supplier-card.premium-card {
        border-left: 1px solid #e2e8f0 !important;
    }
    
    /* ========================================
       MOBILE HEADER - CENTRALIZED
       ======================================== */
    
    .supplier-header {
        background: #FFF3E0;
        padding: 16px 20px;
        text-align: center;
        border-bottom: 1px solid #f5f5f5;
        position: relative;
    }
    
    .supplier-header-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }
    
    .supplier-logo {
        margin: 0 auto 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        height: 40px;
    }
    
    .supplier-logo-img {
        max-width: 100px;
        max-height: 40px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    .supplier-no-logo {
        width: 100px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 16px;
        font-weight: 700;
        background: #d2691e;
        border-radius: 6px;
        letter-spacing: 0.5px;
    }
    
    .supplier-info {
        text-align: center;
        width: 100%;
    }
    
    .supplier-title {
        font-size: 16px;
        font-weight: 600;
        color: #1e293b;
        line-height: 1.4;
        margin: 0 0 12px 0;
    }
    
    /* Hide email in mobile */
    .supplier-email {
        display: none;
    }
    
    /* ========================================
       MOBILE CATEGORIES - ORANGE HOVER
       ======================================== */
    
    .supplier-categories {
        display: flex;
        gap: 8px;
        justify-content: center;
        margin: 8px 0 0 0;
        flex-wrap: wrap;
    }
    
.category-tag {
    background: white !important;
    color: var(--primary-color, #d2691e) !important;
    border: 1px solid var(--primary-color, #d2691e) !important;
        border-radius: 20px;
        padding: 6px 16px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
    }
    
.category-tag:hover {
    background: var(--primary-color, #d2691e) !important;
    color: white !important;
        transform: translateY(-1px);
    }
    
    .more-categories {
        display: none;
    }
    
    /* ========================================
       HIDE COMPARE BUTTON IN MOBILE
       ======================================== */
    
    .compare-container-new {
        display: none !important;
    }
    
    /* ========================================
       MOBILE CONTENT - MINIMAL SPACING
       ======================================== */
    
    .supplier-content-area {
        padding: 16px 20px 0px 20px;
    }
    
    .main-content-flex {
        display: flex;
        flex-direction: column;
        gap: 0px;
        width: 100%;
    }
    
    .properties-section {
        flex: 1;
        order: 1;
        margin-bottom: 0px;
        width: 100%;
    }
    
    .right-column {
        flex: 1;
        order: 2;
        margin-left: 0;
        margin-top: 0px !important;
        padding-top: 0px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0px !important;
    }
    
    /* ========================================
       MOBILE FEATURES - SMALLER CIRCLES, NO WHITESPACE
       ======================================== */
    
    .features-section-title {
        font-size: 13px;
        font-weight: 500;
        color: #555;
        margin: 0 0 8px 0;
        text-align: center;
    }
    
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 0px !important;
        justify-items: center;
        padding-left: 0;
        width: 100%;
        padding-bottom: 0px !important;
    }
    
    /* Hide 4th and 5th feature items in mobile */
    .features-grid .feature-item:nth-child(n+4) {
        display: none !important;
    }
    
    .feature-item {
        text-align: center;
        position: relative;
        padding: 0 4px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
        margin-bottom: 0px !important;
    }
    
    .feature-icon-container {
        width: 60px !important; 
        height: 60px !important; 
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 4px !important;
        border: 2px solid #f0f0f0 !important;
        position: relative;
        transition: all 0.2s ease;
        min-width: 60px !important; 
        min-height: 60px !important; 
    }
    
    .feature-icon-container.selected {
        border-color: #FFD4B3 !important;
    }
    
    .feature-icon-container.unselected {
        border-color: #f0f0f0 !important;
    }
    
    .feature-icon-container img {
        max-width: 28px !important;
        max-height: 28px !important;
        width: auto;
        height: auto;
    }
    
    .feature-icon-container span {
        font-size: 14px !important;
    }
    
    .feature-icon-container.selected img,
    .feature-icon-container.selected span {
        opacity: 1;
    }
    
    .feature-icon-container.unselected img,
    .feature-icon-container.unselected span {
        opacity: 0.6;
    }
    
    .status-indicator-small {
        position: absolute;
        bottom: -2px;
        right: -2px;
        width: 20px !important;
        height: 20px !important;
        border-radius: 50%;
        color: white;
        font-size: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid white;
        z-index: 5;
        background-color: #4caf50;
    }
    
    .status-indicator-small.cross {
        background-color: #f44336 !important;
    }
    
    .feature-text {
        font-size: 11px;
        text-align: center;
        line-height: 1.2;
        min-height: 20px;
        display: block;
        word-break: break-word;
        hyphens: auto;
        overflow-wrap: break-word;
        width: 100%;
        margin: 0;
        padding: 2px 0;
    }
    
    .feature-text.selected {
        color: #333;
    }
    
    .feature-text.unselected {
        color: #999;
    }
    
    /* ========================================
       MOBILE ACTIONS - PERFECTLY CENTERED, NO WHITESPACE
       ======================================== */
    
    .actions-section {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 12px auto 0px auto !important;
        order: 1;
        width: calc(100% - 40px) !important;
        align-items: center;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    .primary-cta-compact {
        width: 100%;
        max-width: 280px !important;
        background: var(--primary-color, #d2691e);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        text-decoration: none;
        display: block;
        box-shadow: 0 2px 8px rgba(210, 105, 30, 0.2);
        margin: 0 auto 6px auto !important;
    }
    
    .primary-cta-compact:hover {
        background: #b8611a;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(210, 105, 30, 0.3);
        color: white;
    }
    
    .secondary-buttons-row {
        display: flex;
        gap: 8px;
        margin: 0 auto 0px auto !important;
        width: 100%;
        max-width: 280px !important;
        justify-content: center;
    }
    
    .info-btn-compact,
    .website-btn-compact {
        flex: 1;
        background: white;
        color: #64748b;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 40px;
    }
    
    .info-btn-compact:hover,
    .website-btn-compact:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #475569;
        text-decoration: none;
    }
    
    .info-btn-compact .info-icon,
    .website-btn-compact .external-icon {
        width: 12px;
        height: 12px;
    }
    
    /* ========================================
       MOBILE CENTRAL MORE INFO LINK - NO SPACING ABOVE
       ======================================== */
    
    .central-more-info-container {
        text-align: center;
        margin: 0px auto 0 auto !important;
        order: 2;
        width: 100%;
        padding: 0;
    }
    
    .central-more-info-link {
        color: var(--primary-color, #d2691e);
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
        display: inline-block;
        padding: 4px 12px;
        transition: color 0.2s ease;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    .central-more-info-link:hover {
        color: #b8611a;
        text-decoration: underline;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .central-more-info-link:focus {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    /* ========================================
       COMPLETELY HIDE ALL CERTIFICATION RELATED CONTENT - NO SPACE
       ======================================== */
    
    .certifications-container,
    .certifications-section,
    .section-heading,
    .visible-certifications,
    .hidden-certifications,
    .more-certifications-link,
    .certification-item,
    h4.section-heading,
    .right-column .section-heading,
    .right-column h4 {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        line-height: 0 !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .right-column > div:has(.certifications-container),
    .right-column > div:has(.section-heading) {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }
    
    .price-section,
    .price-display,
    .price-period {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }
    
    .more-functions-container-left {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }
    
    .block-features-section {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }
    
    .right-column {
        gap: 0 !important;
    }
    
    .right-column > *:not(.actions-section) {
        display: none !important;
    }
    
    /* ========================================
       MOBILE EXPANDABLE SECTION - CSS GRID STRUCTUUR
       ======================================== */
    
    .supplier-expandable {
        background: #f9f9f9;
        padding: 16px 20px;
        border-top: 1px solid #e2e8f0;
        display: none;
        position: relative;
        overflow: visible;
    }
    
    .supplier-expandable.visible,
    .supplier-expandable[style*="block"] {
        display: grid !important; /* GRID in plaats van FLEX */
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }
    
    /* ========================================
       EXPANDABLE CONTENT - EXPLICIETE GRID POSITIONERING
       ======================================== */
    
    /* Block features section - ROW 1 - EXPLICIET ZICHTBAAR */
    .supplier-expandable .block-features-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: white;
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        margin: 0;
        grid-row: 1 !important; /* Expliciete eerste rij */
        position: relative;
        isolation: isolate; /* Creëert nieuwe stacking context */
        width: 100%;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    /* Block features heading - ZICHTBAAR MET PADDING */
    .supplier-expandable .block-features-section h4,
    .supplier-expandable .block-features-section .section-heading {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin: 0 0 8px 0 !important;
        padding: 0 0 0 16px !important; /* 16px padding links voor alignment */
        height: auto !important;
        line-height: normal !important;
        position: static !important;
        background: transparent !important;
        left: auto !important;
    }
    
    /* Block features grid - CORRECT DISPLAY */
    .supplier-expandable .block-features-section .block-features-grid {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }
    
    /* More features link - ROW 2 */
    .supplier-expandable .more-features-link {
        color: var(--primary-color, #d2691e);
        font-size: 12px;
        text-decoration: none;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 8px 0 8px 16px; /* 16px padding links toegevoegd */
        margin: 0;
        grid-row: 2 !important; /* Tweede rij */
        position: relative;
    }
    
    .supplier-expandable .more-features-link:hover {
        color: #b8611a;
        text-decoration: underline;
    }
    
    /* Hidden features collapsible - ROW 3 - FIXED VOOR DAADWERKELIJKE CLASSES */
    .supplier-expandable .hidden-features,
    .supplier-expandable [class*="hidden-block-features"],
    .supplier-expandable .hidden-block-features-8688 {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
        background: white;
        padding: 0;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        margin: 0;
        grid-row: 3 !important; /* Derde rij */
        position: relative;
        isolation: isolate;
        z-index: 50 !important; /* Hogere z-index dan tekst */
    }
    
    .supplier-expandable .hidden-features.visible,
    .supplier-expandable .hidden-features.expanded,
    .supplier-expandable [class*="hidden-block-features"][style*="display: block"],
    .supplier-expandable .hidden-block-features-8688[style*="display: block"] {
        max-height: 1000vh !important;
        padding: 12px 12px 12px 28px !important;
        overflow: visible !important;
        display: block !important;
        z-index: 50 !important;
    }
    
    /* Hidden features content - FORCEER ZICHTBAAR EN BOVEN TEKST */
    .supplier-expandable [class*="hidden-block-features"] .block-features-grid,
    .supplier-expandable [class*="hidden-block-features"] .property-item,
    .supplier-expandable .hidden-block-features-8688 .block-features-grid,
    .supplier-expandable .hidden-block-features-8688 .property-item {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        position: relative !important;
        z-index: 51 !important; /* Nog hogere z-index */
    }
    
    /* Grid binnen hidden features */
    .supplier-expandable [class*="hidden-block-features"] .block-features-grid,
    .supplier-expandable .hidden-block-features-8688 .block-features-grid {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }
    
    /* Additional functions section - ROW 4 */
    .supplier-expandable .additional-functions {
        display: block !important;
        background: white;
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        margin: 0;
        grid-row: 4 !important; /* Vierde rij */
        position: relative;
        isolation: isolate;
    }
    
    /* Additional functions heading - MET PADDING */
    .supplier-expandable .additional-functions h4,
    .supplier-expandable .additional-functions .section-heading {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin: 0 0 8px 0 !important;
        padding: 0 0 0 16px !important; /* 16px padding links voor alignment */
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        line-height: normal !important;
        position: static !important;
        background: transparent !important;
        left: auto !important;
    }
    
    /* Subfeatures section heading - MET PADDING */
    .supplier-expandable .subfeatures-section h4,
    .supplier-expandable .subfeatures-section .section-heading {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin: 0 0 8px 0 !important;
        padding: 0 0 0 16px !important; /* 16px padding links voor alignment */
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        line-height: normal !important;
        position: static !important;
        background: transparent !important;
        left: auto !important;
    }
    
    /* Subfeatures section - ROW 5 */
    .supplier-expandable .subfeatures-section {
        display: block !important;
        background: white;
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        margin: 0;
        grid-row: 5 !important; /* Vijfde rij */
        position: relative;
        isolation: isolate;
    }
    
    /* ALLE TEKST CONTENT - FORCEERT NAAR ONDERSTE RIJEN */
    
    /* Custom content - ROW 100+ */
    .supplier-expandable .supplier-custom-content {
        display: block !important;
        margin: 0 !important;
        font-size: 13px;
        line-height: 1.4;
        color: #333;
        background: white;
        padding: 16px;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        grid-row: 100 !important; /* Ver naar beneden */
        position: relative;
    }
    
    /* Other text content - ROW 101+ */
    .supplier-expandable > p,
    .supplier-expandable > .text-content,
    .supplier-expandable > .description {
        display: block !important;
        margin: 0 !important;
        font-size: 13px;
        line-height: 1.4;
        color: #333;
        background: white;
        padding: 16px;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        grid-row: 101 !important; /* Nog verder naar beneden */
        position: relative;
    }
    
    /* Direct P tags - ROW 102+ */
    .supplier-expandable > p:not([class]) {
        grid-row: 102 !important;
        display: block !important;
        margin: 0 !important;
        font-size: 13px;
        line-height: 1.4;
        color: #333;
        background: white;
        padding: 16px;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        position: relative;
    }
    
    /* Specifieke selector voor tekst die kan overlappen */
    .supplier-expandable > :not(.block-features-section):not(.more-features-link):not(.hidden-features):not(.additional-functions):not(.subfeatures-section) {
        grid-row-start: 100; /* Alles wat geen property is gaat naar beneden */
    }
    
    /* Section headings styling */
    .supplier-expandable .block-features-section h4,
    .supplier-expandable .subfeatures-section h4,
    .supplier-expandable .block-features-section .section-heading,
    .supplier-expandable .subfeatures-section .section-heading {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        display: block !important;
        position: static !important;
        background: transparent !important;
        visibility: visible !important;
        height: auto !important;
        line-height: normal !important;
        left: auto !important;
    }
    
    /* Grid layouts for properties */
    .supplier-expandable .block-features-grid,
    .supplier-expandable .hidden-features .block-features-grid,
    .supplier-expandable .subfeatures-grid,
    .supplier-expandable .additional-functions-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        grid-auto-rows: minmax(min-content, auto);
    }
    
    /* Property items styling - ALLE ITEMS ZICHTBAAR MET PADDING LINKS */
    .supplier-expandable .property-item,
    .supplier-expandable .block-features-section .property-item,
    .supplier-expandable .block-features-grid .property-item {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        line-height: 1.4;
        padding: 6px 0 6px 16px !important; /* 16px padding links toegevoegd */
        background: transparent !important;
        margin: 0 !important;
        border: none !important;
        position: static !important;
        width: 100%;
        box-sizing: border-box;
        height: auto !important;
        max-height: none !important;
    }
    
    /* Additional functions property items - ook padding links */
    .supplier-expandable .additional-functions .property-item,
    .supplier-expandable .additional-functions-grid .property-item,
    .supplier-expandable .subfeatures-grid .property-item,
    .supplier-expandable .hidden-features .property-item {
        padding: 6px 0 6px 16px !important; /* Consistente 16px padding links */
    }
    
    /* Ensure all property items are visible */
    .supplier-expandable .block-features-grid .property-item,
    .supplier-expandable .additional-functions .property-item,
    .supplier-expandable .additional-functions-grid .property-item,
    .supplier-expandable .subfeatures-grid .property-item,
    .supplier-expandable .hidden-features .property-item {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .property-item .check,
    .property-item .cross {
        font-size: 14px;
        font-weight: bold;
        flex-shrink: 0;
        margin-right: 4px;
    }
    
    .property-item .check {
        color: #10b981;
    }
    
    .property-item .cross {
        color: #f87171;
    }
    
    .property-item span:last-child {
        color: #374151;
        flex: 1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* ========================================
       MOBILE TOOLTIPS - SIMPLIFIED
       ======================================== */
    
    .tooltip-text {
        display: none !important;
    }
    
    /* ========================================
       MOBILE ANIMATIONS
       ======================================== */
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            max-height: 500px;
            transform: translateY(0);
        }
    }
    
    /* ========================================
       MOBILE TOUCH INTERACTIONS
       ======================================== */
    
    .supplier-card {
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }
    
    .primary-cta-compact,
    .info-btn-compact,
    .website-btn-compact,
    .category-tag {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
        user-select: none;
    }
    
    .primary-cta-compact:active {
        transform: scale(0.98);
    }
    
    .info-btn-compact:active,
    .website-btn-compact:active {
        transform: scale(0.95);
    }
    
    .category-tag:active {
        transform: scale(0.95);
    }
    
    /* ========================================
       MOBILE GRAYSCALE OVERRIDES
       ======================================== */
    
    .grayscale-logo .supplier-logo-img,
    .grayscale-logo .supplier-no-logo {
        filter: grayscale(100%);
        opacity: 0.9;
    }
    
    .grayscale-icons .feature-icon-container img,
    .grayscale-icons .feature-icon-container span {
        filter: grayscale(100%);
        opacity: 0.8;
    }
    
    /* ========================================
       MOBILE ACCESSIBILITY
       ======================================== */
    
    .compare-wrapper {
        min-height: 44px;
        min-width: 44px;
        padding: 8px 12px;
    }
    
    .primary-cta-compact,
    .info-btn-compact,
    .website-btn-compact {
        min-height: 44px;
    }
    
    .central-more-info-link {
        min-height: 44px;
        padding: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .primary-cta-compact:focus,
    .info-btn-compact:focus,
    .website-btn-compact:focus {
        outline: 2px solid var(--primary-color, #d2691e);
        outline-offset: 2px;
    }
    
    /* ========================================
       MOBILE UTILITIES
       ======================================== */
    
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .supplier-card * {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .feature-text,
    .supplier-title,
    .property-item span:last-child,
    .supplier-custom-content {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
}

/* ========================================
   VERY SMALL MOBILE (400px and below)
   ======================================== */

@media (max-width: 400px) {
    .supplier-card {
        margin-bottom: 16px;
        border-radius: 8px;
    }
    
    .supplier-header {
        padding: 12px 16px;
    }
    
    .supplier-content-area {
        padding: 12px 16px;
    }
    
    .supplier-title {
        font-size: 15px;
        line-height: 1.3;
    }
    
    .features-grid {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .feature-icon-container {
        width: 50px !important;
        height: 50px !important;
        font-size: 12px;
    }
    
    .feature-text {
        font-size: 9px;
    }
    
    .status-indicator-small {
        width: 16px !important;
        height: 16px !important;
        font-size: 8px;
    }
    
    .primary-cta-compact {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .info-btn-compact,
    .website-btn-compact {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 36px;
    }
    
    .category-tag {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .supplier-expandable {
        padding: 12px 16px;
    }
}