/* Vendor Shop Page Specific Styles */

ul {
  
    list-style-type: none;}

/* Vendor Shop Styles */

/* Products grid layout */
.vendor-products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
    .vendor-products ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vendor-products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .vendor-products ul.products {
        grid-template-columns: repeat(1, 1fr);
    }
}

.vendor-products ul.products li.product {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Product card styles */
.vendor-product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vendor-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.vendor-product-card .product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vendor-product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.vendor-product-card .product-title {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
    font-weight: 600;
}

.vendor-product-card .product-price {
    font-size: 22px;
    font-weight: bold;
    color: #e03a3a;
    margin: 10px 0 20px;
}

.vendor-product-card .add-to-cart-button {
    background-color: #d70000;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.vendor-product-card .add-to-cart-button:hover {
    background-color: #b50000;
}

/* Modern vendor profile section styling */
.vendor-info-section {
    padding: 35px;
    background-color: #fff;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.vendor-info-section::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.03), rgba(0, 0, 0, 0));
    border-radius: 50%;
    z-index: 0;
}

.vendor-profile-container {
    display: flex;
    gap: 35px;
    position: relative;
    z-index: 1;
}

.vendor-profile-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vendor-contact-column {
    flex: 1;
}

.vendor-profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.vendor-profile-picture {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    border: 5px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    position: relative;
}

.vendor-profile-picture::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.vendor-profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vendor-profile-picture:hover img {
    transform: scale(1.05);
}

.vendor-headline {
    flex: 1;
    min-width: 250px;
    padding-right: 15px;
}

.vendor-headline h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 32px;
    color: #222;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 12px;
}

.vendor-headline h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0073aa, #00a0d2);
    border-radius: 2px;
}

.vendor-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 25px;
}

.vendor-stat {
    padding: 0;
    text-align: center;
    position: relative;
}

.vendor-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -12px;
    height: 80%;
    width: 1px;
    background-color: #eee;
}

.vendor-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #222;
    margin-bottom: 8px;
    line-height: 1;
}

.vendor-stat-label {
    font-size: 11px;
    color: #666;
    font-weight: 600;
    letter-spacing: 1px;
}

.vendor-description {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    background-color: #f9fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #0073aa;
    position: relative;
}

.description-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #0073aa, #00a0d2);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 115, 170, 0.3);
}

.vendor-contact-button-wrapper {
    margin-top: auto;
    padding-top: 20px;
}

.vendor-contact-button-wrapper a{
    color: white !important;
}

.contact-vendor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(to right, #0073aa, #00a0d2);
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.25);
    border: none;
    cursor: pointer;
}

.contact-vendor-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.35);
}

.contact-vendor-button:active {
    transform: translateY(-1px);
}

.contact-vendor-button i {
    margin-right: 10px;
}

/* Contact card styling */
.vendor-contact-card {
   
   
    
    height: 100%;
    position: relative;
    overflow: hidden;
    
}

.vendor-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.03), rgba(0, 0, 0, 0));
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.vendor-contact-card h3 {
    margin: 0 0 25px 0;
    font-size: 20px;
    color: #222;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.vendor-contact-card h3 i {
    margin-right: 10px;
    color: #0073aa;
}

.vendor-contact-card h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #0073aa, #00a0d2);
    border-radius: 2px;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 115, 170, 0.2);
}

.contact-icon {
    margin-right: 18px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0073aa, #00a0d2);
    box-shadow: 0 4px 10px rgba(0, 115, 170, 0.3);
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    color: white;
    font-size: 18px;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    word-break: break-word;
}

.contact-value.address {
    line-height: 1.6;
}

.contact-details a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: #0073aa;
}

/* Products section improvements */
.vendor-products {
    padding: 20px;
}

.vendor-products h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.vendor-products h2 i {
    margin-right: 10px;
    color: #0073aa;
}

.vendor-products h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0073aa, #00a0d2);
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .vendor-profile-container {
        flex-direction: column;
    }
    
    .vendor-contact-column {
        margin-top: 25px;
    }
    
    .vendor-headline h2::after,
    .vendor-products h2::after,
    .vendor-contact-card h3::after {
        width: 40px;
    }
}

@media (max-width: 768px) {
    .vendor-info-section {
        padding: 25px;
    }
    
    .vendor-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .vendor-profile-picture {
        margin-right: 0;
        margin-bottom: 25px;
    }
    
    .vendor-headline {
        padding-right: 0;
    }
    
    .vendor-headline h2 {
        text-align: center;
    }
    
    .vendor-headline h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .vendor-stats {
        justify-content: center;
    }
    
    .vendor-contact-card h3 {
        text-align: center;
        justify-content: center;
    }
    
    .vendor-contact-card h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .vendor-products h2 {
        text-align: center;
        justify-content: center;
    }
    
    .vendor-products h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .vendor-products ul.products {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .vendor-contact-button-wrapper {
        display: flex;
        justify-content: center;
    }
}

/* Parallax Banner Styles */
.vendor-banner-parallax {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.parallax-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.vendor-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.vendor-banner-content {
    padding: 30px;
    max-width: 800px;
}


.vendor-banner-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.vendor-banner-content .vendor-description {
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    display: none;
}

.vendor-banner-content .contact-vendor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: linear-gradient(to right, #0073aa, #00a0d2);
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.vendor-banner-content .contact-vendor-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Add JavaScript for the parallax effect */
@media (min-width: 768px) {
    .vendor-shop {
        position: relative;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}

/* Load More Button Styles */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.load-more-button:hover {
    background-color: #45a049;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.load-more-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

.load-more-button.loading {
    opacity: 0.7;
    cursor: wait;
}

.load-more-button i {
    margin-right: 8px;
}

.load-more-button i.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}