/**
 * Conversionauts PrestaShop Module
 * Copyright (c) Conversionauts (https://conversionauts.pl)
 * All rights reserved.
 */

/* ==========================================================================
   Product Detail Banner
   ========================================================================== */
.custom-banner-9 {
    background: #fafafa;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    width: 100%;
}
.overcover_banner {
    position: relative;
}

.about-us__image-wrapper {
    width: 14%;
    max-width: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.about-us__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.custom-banner__caption {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-banner__content h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.custom-banner__job-title {
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 3px;
}

.custom-banner__phone-note {
    font-size: 9px;
    color: #6b7280;
    font-weight: 400;
}

.custom-banner__description {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.3;
}

.custom-banner__description p {
    margin: 0;
}

.custom-banner__content p {
    margin: 0;
    font-size: 10px;
    line-height: 1.3;
}

.custom-banner__content a {
    color: #000;
    text-decoration: none;
}

.custom-banner__content a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Seller Lists (Hook Blocks)
   ========================================================================== */
.cv-seller-list {
    margin: 2rem 0;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.cv-seller-list__header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.cv-seller-list__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.cv-seller-list__description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.cv-seller-list__description p {
    margin: 0 0 0.5rem 0;
}

/* Default / Grid Layout */
.cv-seller-list__items,
.cv-seller-list__items--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* Vertical List Layout */
.cv-seller-list__items--list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Card Design */
.cv-seller-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.cv-seller-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

/* Avatar */
.cv-seller-card__avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cv-seller-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cv-seller-card__avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #6b7280;
}

.cv-seller-card__avatar-placeholder .cv-seller-icon-user {
    width: 36px;
    height: 36px;
}

/* Body / Info */
.cv-seller-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cv-seller-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-seller-card__role {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.cv-seller-card__phone-note {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 400;
}

.cv-seller-card__description {
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cv-seller-card__description p {
    margin: 0 0 0.25rem 0;
}

.cv-seller-card__description p:last-child {
    margin-bottom: 0;
}

.cv-seller-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cv-seller-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    transition: color 0.15s ease;
    word-break: break-all;
}

.cv-seller-card__link:hover {
    color: #2563eb;
    text-decoration: none;
}

.cv-seller-card__link .cv-seller-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #6b7280;
    transition: color 0.15s ease;
}

.cv-seller-card__link:hover .cv-seller-icon {
    color: #2563eb;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .cv-seller-list__items--grid {
        grid-template-columns: 1fr;
    }

    .cv-seller-card {
        padding: 1rem;
        gap: 0.85rem;
    }

    .cv-seller-card__avatar {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
}
