/* Reset Webkul layout floats and container constraints */
.marketplace-seller-about .page-main,
.marketplace-seller-about .columns,
.marketplace-seller-about .column.main {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

.marketplace-seller-about .wk-mp-collection-header-box,
.wk-mp-collection-header-box {
    clear: both !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wk-mp-collection-header-box::after,
.custom-seller-aboutus-wrapper::after,
.seller-about-main-container::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

.custom-seller-aboutus-wrapper {
    clear: both !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 16px;
    font-family: inherit;
    color: #2b2b2b;
    box-sizing: border-box;
}

.seller-about-main-container {
    clear: both !important;
    float: none !important;
    display: block !important;
    width: 100%;
    max-width: 1180px;
    margin: 20px auto 60px auto;
    padding: 0;
    box-sizing: border-box;
}

/* Page Header & Decorative Divider */
.seller-about-header {
    text-align: center;
    margin-bottom: 35px;
}

.seller-about-page-title {
    font-size: 34px;
    font-weight: 700;
    color: #6b1d2f;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
    text-transform: capitalize;
}

.seller-about-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.seller-about-title-divider .divider-line {
    display: inline-block;
    width: 55px;
    height: 2px;
    background: #deb8a7;
    border-radius: 2px;
}

.seller-about-title-divider .divider-icon {
    color: #8e2133;
    font-size: 16px;
}

/* Sections General */
.seller-about-section {
    margin-bottom: 40px;
}

/* =========================================================
   Section 1: Meet the Artisan (Horizontal Showcase Card)
   ========================================================= */
.artisan-card-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 36px;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ede3dc;
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.artisan-card-layout.no-photo {
    padding: 36px 40px;
}

.artisan-photo-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 0 0 280px;
    max-width: 280px;
    width: 280px;
    box-sizing: border-box;
}

.artisan-photo-frame {
    width: 100%;
    max-width: 280px;
    height: 340px;
    border-radius: 14px;
    overflow: hidden;
    margin: 0;
    background: linear-gradient(180deg, #faf7f4 0%, #f3eae4 100%);
    border: 1px solid #e8ded8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.artisan-photo-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    transition: transform 0.4s ease;
}

.artisan-photo-frame:hover .artisan-photo-img {
    transform: scale(1.03);
}

.artisan-content-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.artisan-content-col.full-width {
    width: 100%;
}

.artisan-badge-wrap,
.craft-badge-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.artisan-section-badge,
.craft-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #faf0eb;
    color: #8e2133;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #f1d7cb;
}

.artisan-section-badge .badge-icon,
.craft-section-badge .badge-icon {
    font-size: 13px;
    color: #c04a25;
}

.artisan-name-heading {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 4px 0 14px 0;
    line-height: 1.3;
    word-break: break-word;
    max-width: 100%;
}

.artisan-intro-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444444;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   Section 2: Craft & Heritage
   ========================================================= */
.craft-card-box {
    background: #ffffff;
    border-left: 5px solid #8e2133;
    border-radius: 0 16px 16px 0;
    padding: 32px 38px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-top: 1px solid #ede3dc;
    border-right: 1px solid #ede3dc;
    border-bottom: 1px solid #ede3dc;
    box-sizing: border-box;
}

.craft-name-title {
    font-size: 22px;
    font-weight: 700;
    color: #6b1d2f;
    margin: 4px 0 12px 0;
    line-height: 1.35;
}

.craft-brief-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444444;
}

/* =========================================================
   Section 3: Workshop Gallery
   ========================================================= */
.section-title-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.section-subheading {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 6px 0;
}

.section-tagline {
    font-size: 14px;
    color: #777777;
    margin: 0;
}

.workshop-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.workshop-gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 195px;
    background: #f3f3f3;
    border: 1px solid #eee;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.workshop-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.workshop-gallery-item:hover .workshop-gallery-img {
    transform: scale(1.06);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.workshop-gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    font-size: 24px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* =========================================================
   Section 4: Video Player
   ========================================================= */
.video-player-container {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid #ede3dc;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
    background: #000;
}

.embedded-video-frame,
.native-video-player {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================================
   Lightbox Modal
   ========================================================= */
.seller-lightbox-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.seller-lightbox-modal.active {
    display: flex;
}

.lightbox-img-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 38px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.lightbox-close-btn:hover {
    color: #eb5202;
}

/* =========================================================
   Responsive Tablet & Mobile Layout
   ========================================================= */
@media screen and (max-width: 860px) {
    .artisan-card-layout {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        gap: 25px;
        text-align: center;
    }

    .artisan-photo-frame {
        max-width: 240px;
        height: 300px;
    }

    .artisan-badge-wrap,
    .craft-badge-wrap {
        justify-content: center;
    }

    .seller-about-page-title {
        font-size: 28px;
    }

    .artisan-name-heading {
        font-size: 24px;
    }

    .craft-card-box {
        padding: 24px 22px;
    }

    .workshop-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .workshop-gallery-item {
        height: 135px;
    }
}
