/* ✅ Container Setup */
ul li {
  color: #000 !important;
}


/* ✅ Vendor Section - One Vendor Per Row */
.vendor-section {
    display: flex;
    flex-direction: row; /* Keeps all three columns in a single row */
    flex-wrap: nowrap; /* Prevents stacking */
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 2px solid #ddd; /* ✅ Light border */
    border-radius: 8px;
    background: #fff;
    padding: 15px;
    margin-bottom: 15px; /* Adds space between vendors */
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08); /* ✅ Subtle shadow */
}

/* ✅ Add subtle vertical dividers between columns */
.vendor-column {
    flex-grow: 1;
    padding: 15px;
    position: relative;
}

/* ✅ Divider between columns (Except last column) */
.vendor-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background-color: #ccc; /* ✅ Light Gray Divider */
}

/* ✅ Left Column: Product Image (25%) */
.vendor-image {
    width: 30%;
    text-align: center;
    flex-shrink: 0;
}

.vendor-image img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 5px;
    border: 3px solid #0073e6; /* ✅ Attractive Blue Border */
    padding: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15); /* ✅ Slight shadow effect */
}

/* ✅ Middle Column: Product Name & Description (50%) */
.vendor-details {
    width: 40%;
    padding: 0 20px;
    text-align: left;
}

/* ✅ Product Name (Left Aligned, Bold) */
.product-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: left; /* ✅ Left Align */
}

.product-title a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
}

.product-title a:hover {
    color: #0073e6;
}

/* ✅ Product Description (Black) */
.product-description {
     margin-bottom: 5px; /* Reduce space below paragraph */
    padding: 3px 0; /* Adjust padding to remove extra space */
    font-size: 16px; /* Keep text readable */
    line-height: 1.4; 
    color: #333; /* Slightly darker text for readability */
    text-align: left; /* Keeps alignment natural */
    font-weight: 400; /* Makes it look professional */
}
/* ✅ Prevents extra space if no description */
.product-description:empty {
    display: none;
}

/* ✅ Centering "Send Inquiry" Button */
.inquiry-button {
    text-align: center; /* ✅ Centers the button */
    margin-top: 10px;
}

.btn-inquiry {
    display: inline-block;
    background: #0073e6;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.btn-inquiry:hover {
    background: #005bb5;
}

/* ✅ Right Column: Vendor Info (25%) */
.vendor-info {
    width: 30%;
    text-align: left;
    font-size: 16px;
    color: #333;
    padding-left: 20px;
    flex-shrink: 0;
}

/* ✅ Highlight Company Name */
.vendor-info h3 {
    font-size: 20px;
    font-weight: bold;
    color: #0073e6; /* ✅ Make Company Name Stand Out */
    margin-bottom: 5px;
}

/* ✅ Align Verified Supplier & Trusted Vendor Side by Side */
.vendor-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* ✅ Verified & Trusted Badges */
.badge {
display: inline-flex;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    line-height: 1.2;
    white-space: nowrap;
}

.verified {
    background: #28a745;
    color: white;
}

.trusted {
    background: #ffcc00;
    color: black;
}

/* ✅ Brands Sold List */
.brands-list {
    list-style: none;
    padding: 0;
    margin: 5px 0;
}

.brands-list li {
    font-size: 14px;
    color: #555;
    display: inline-block;
    margin-right: 8px;
    
}

/* ✅ "View Products" Button Below Badges */
.view-products-button {
    text-align: center; /* ✅ Centers button */
    margin-top: 8px;
}

.btn-products {
    display: inline-block;
    background: #0073e6;
    color: white;
    padding: 8px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.btn-products:hover {
    background: #005bb5;
}

/* ✅ Fix for Wrapping Issues */
.vendor-section::after {
    content: "";
    display: table;
    clear: both;
}

/* ✅ Mobile Responsive */
@media screen and (max-width: 768px) {
    .vendor-section {
        flex-direction: column;
        text-align: center;
    }

    .vendor-column {
        width: 100%;
    }

    .vendor-image img {
        max-width: 150px;
    }

    /* ✅ Show badges in center on mobile */
    .vendor-badges {
        justify-content: center;
    }
}


.related-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0073e6; /* Attractive Blue */
    text-transform: uppercase;
    border-bottom: 2px solid #0073e6; /* Underline effect */
    padding-bottom: 5px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

/* ✅ Animated Underline Effect */
.related-section h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #0073e6;
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

/* ✅ Underline Appears on Hover */
.related-section h3:hover::after {
    transform: scaleX(1);
}

.related-brands, .related-products {
    list-style: none;
    padding: 0;
}

.related-brands li, .related-products li {
    font-size: 16px;
    margin-bottom: 5px;
}

.related-brands a, .related-products a {
    text-decoration: none;
    color: #0073e6;
}

.related-brands a:hover, .related-products a:hover {
    text-decoration: underline;
}

/* ✅ Related Section Styling */
.related-section {
    margin-bottom: 20px;
}

.related-section h3 {
    font-size: 18px;
    font-weight: bold;
    color: #0073e6;
    margin-bottom: 10px;
}

.related-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-section ul li {
    padding: 5px 0;
}

.related-section ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.related-section ul li a:hover {
    color: #0073e6;
    text-decoration: underline;
}

/* ✅ Mobile Responsive - Stack Sections on Small Screens */
@media screen and (max-width: 768px) {
    .product-page-layout {
        flex-direction: column;
    }

    .sidebar,
    .main-content {
        width: 100%;
    }
}
.product-listing-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 16px 24px;
}


/* ✅ Right Column (90%): Main Section */
.main-content-sellers {
    width: 100%;
}

/* ✅ Location List */
.location-list {
font-size: 18px;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    color: #222;
}

.location-icon {
    font-size: 20px;
    color: #0073e6;
    margin-right: 5px;
}
/* ✅ Location Container: Aligns Locations in One Line */
.location-container {
    display: inline-block;
    margin-top: 10px;
}

/* ✅ Location Link Styling */
.location-link {
    font-size: 16px;
    font-weight: bold;
    color: #0073e6;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    transition: 0.3s ease-in-out;
}
.location-list {
        font-size: 16px;
        color: black;
        font-weight: 600;
        margin-bottom: 15px;
    }
    .location-list a {
        color: black; /* ✅ Makes location text black */
        font-weight: bold;
        text-decoration: none;
    }
    .location-list a:hover {
        text-decoration: underline;
        color: #0073e6;
    }
    .location-icon {
        font-weight: bold;
        margin-right: 5px;
    }
    
    /* ✅ H1 Styling: Bold & Black */
.product-listing-container h1 {
    font-weight: bold;
    color: black;
    font-size: 28px; /* Adjust size if needed */
    margin-bottom: 10px; /* Adds spacing below H1 */
}

/* ✅ Fix: Only Target Paragraphs Inside Product Listing */
.product-listing-container p {
    color: black !important; /* Keeps product text black */
    font-size: 16px;
    line-height: 1.5;
}

.product-listing-container li {
    color: black !important; /* Keeps product text black */
    font-size: 16px;
    line-height: 1.5;
}

/* ✅ Keep Footer Text Light & Readable */
.site-footer p {
    color: #999 !important; /* Light Gray */
    font-size: 14px;
}


/* ✅ Paragraph Styling: Black Text */
.product-listing-container .intro-paragraph {
    color: black;
    font-size: 16px; /* Adjust size if needed */
    line-height: 1.5; /* Improves readability */
    margin-bottom: 15px; /* Adds spacing below paragraph */
}


/* ✅ No Locations Available */
.no-locations {
    font-size: 16px;
    color: white; /* ✅ White text for contrast */
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    background-color: #d00000; /* 🔴 Bright Red Background */
    padding: 10px; /* ✅ Adds spacing inside */
    border-radius: 5px; /* ✅ Soft rounded corners */
    display: inline-block; /* ✅ Adjusts width to content */
}
/* ✅ H1 Styling: Bigger, Bold, & Underlined */
.styled-h1 {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* ✅ Underline Effect */
.styled-h1::after {
    content: "";
    display: block;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, #0073e6, #00c853);
    margin: auto;
    border-radius: 2px;
}

/* ✅ Paragraph Styling: Elegant and Readable */
.styled-paragraph {
    font-size: 18px;
    color: #444;
    text-align: left;
    margin-top: 8px;
    line-height: 1.6;
}
/* ✅ Reduce Extra Space Between Location & Brands Sell */
.vendor-info-line {
    margin-bottom: 3px;
    padding: 2px 0;
    font-size: 16px;
    line-height: 1.3;
    color: black;
    white-space: normal; /* Prevents extra spaces */
    text-align: left; /* Ensures natural word spacing */
}

/* ✅ Ensure Strong Tags Don’t Add Extra Space */
.vendor-info-line strong {
    font-weight: bold;
    color: #333;
    padding: 0; /* Removes extra padding from strong tags */
}
/* ✅ Highlight the Current Location */
.highlight-location {
    font-weight: bold;
    color: #fffff; 
    text-decoration: underline;
    background-color: #ffcc00; /* Light Yellow Background */
    padding: 2px 5px;
    border-radius: 3px;
}

/* ✅ Styling for Not Verified Supplier */
.not-verified {
    background: #ff4d4d; /* Red Background */
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}
/* ✅ Vendor Name Link Styling */
.vendor-link {
    color: #0073e6; /* Attractive Blue */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.vendor-link:hover {
    color: #005bb5; 
    text-decoration: underline;
}

/* ✅ Mobile Responsive: Show .main-content First & .sidebar Last */
@media screen and (max-width: 768px) {
    .product-page-layout {
        display: flex;
        flex-direction: column; /* ✅ Stack sections vertically */
        gap: 15px;
            }

    .main-content {
        order: 1; /* ✅ Appears first */
        width: 100%;
    }

    .sidebar {
        order: 2; /* ✅ Appears last */
    }
}
/* ✅ Style for "📍 Locations:" Label */
.locations-icon {
    font-size: 22px; /* Increase font size */
    font-weight: bold; /* Make text bold */
    color: #222; /* Dark gray for better contrast */
    display: inline-block; /* Ensures proper spacing */
    margin-bottom: 5px; /* Add slight spacing below */
    letter-spacing: 0.5px; /* Improves readability */
    text-decoration: underline;
}

/* ✅ Improved Promotional Banner Styling */
.promo-banner {
    text-align: center;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* ✅ Adds a glowing animated effect */
.promo-banner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.2), transparent);
    transform: translate(-50%, -50%);
    opacity: 0.8;
    z-index: 1;
    animation: glowEffect 2s infinite alternate;
}

/* ✅ Animation for glowing effect */
@keyframes glowEffect {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 0.4;
    }
}

/* ✅ Enhanced Image Styling */
.promo-banner img {
    width: 100%;
    max-width: 1080px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25);
    border: 3px solid #ff9800; /* Eye-catching border */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}

/* ✅ Hover Effect for Interactive Feel */
.promo-banner img:hover {
    transform: scale(1.03);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.35);
}

/* ✅ Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .promo-banner {
        padding: 10px 0;
    }

    .promo-banner img {
        max-width: 90%;
        border-radius: 8px;
    }
}

.disabled-vendor {
    opacity: 0.5;
    pointer-events: none;
}
.not-verified-msg {
    color: red;
    font-weight: bold;
}

/* ✅ Call Back Button Styling */
.call-back-button {
    display: flex;
    align-items: center;
    background-color: #007bff; /* Blue for Call */
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.call-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: white;
}

.call-back-button strong {
    display: block;
    text-align: center;
    flex-grow: 1; /* Ensures text takes remaining space */
}

/* ✅ Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: opacity 0.3s ease-in-out;
}
.notification.error {
    background-color: #dc3545;
}
.fade-out {
    opacity: 0;
}

/* ✅ Single-Line, Eye-Catching Quote Button */
.quote-button-container {
    text-align: center;
    margin-top: 10px;
}

/* 🎨 Clean, Bold, & Single Line */
.quote-button {
    display: inline-block;
    font-size: 20px; /* Optimized size for single-line */
    font-weight: bold;
    letter-spacing: 1px;
    padding: 10px 50px;
    border-radius: 50px;
    background: linear-gradient(90deg, #ff6b00, #ff3d00);
    color: white;
    text-align: center;
    white-space: nowrap; /* Ensures single-line text */
    box-shadow: 0px 5px 15px rgba(255, 61, 0, 0.6);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    cursor: default; /* Not clickable */
}

/* ✅ Hover Effect */
.quote-button:hover {
    background: linear-gradient(90deg, #ff3d00, #ff6b00);
    box-shadow: 0px 7px 20px rgba(255, 61, 0, 0.8);
    transform: scale(1.05);
}

/* ✅ Mobile Optimization */
@media (max-width: 768px) {
    .quote-button {
        font-size: 16px;
        padding: 12px 24px;
        white-space: normal; /* Allows wrapping if needed on smaller screens */
        text-align: center;
    }
}
.button-container {
    display: flex;
    gap: 10px; /* Space between buttons */
    align-items: center; /* Align vertically */
}

.whatsapp-button,
.call-back-button {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
}

.call-back-button {
    background-color: #007bff;
    color: white;
}

.whatsapp-button img {
    width: 16px;
    margin-right: 8px;
}

.call-icon {
    margin-right: 8px;
}

.no-vendors-note {
  background-color: #fff8f0;
  border: 1px solid #f59e0b;
  padding: 16px 20px;
  margin-top: 24px;
  border-radius: 8px;
  color: #78350f;
  font-family: "Segoe UI", Roboto, sans-serif;
}

.no-vendors-note p {
  margin: 8px 0 !important;  /* override global p margin */
  font-size: 15px !important; /* override font size */
  line-height: 1.6;
}

.no-vendors-note a {
  color: #b45309;
  text-decoration: underline;
  font-weight: 600;
}
/* ===============================
   REMOVE SIDEBAR – Sellers Listing
   =============================== */

body.page-template-product-listing-by-locations .sidebar {
    display: none !important;
}

/* Make main content full width */
body.page-template-product-listing-by-locations .product-page-layout {
    display: block !important;
}

body.page-template-product-listing-by-locations .main-content {
    width: 100% !important;
    max-width: 100% !important;
}

/* =========================================
   FORCE FULL WIDTH – HARD BREAKOUT
   ========================================= */

body.page-template-product-listing-by-locations .product-listing-container {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 24px;
    padding-right: 24px;
}

/* =================================================
   KILL THE THEME CONTAINER (PAGE-SPECIFIC ONLY)
   ================================================= */

body.page-template-product-listing-by-locations .container,
body.page-template-product-listing-by-locations .container-fluid,
body.page-template-product-listing-by-locations .wrap,
body.page-template-product-listing-by-locations .site-content,
body.page-template-product-listing-by-locations .content-area,
body.page-template-product-listing-by-locations .row {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
