/* ============================================================
   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;
}

/* ============================================================
   Root Variables — Handloom & Handicraft Palette
   ============================================================ */
:root {
    --hh-maroon:     #7b1c32;
    --hh-maroon-dk:  #551424;
    --hh-saffron:    #c0622a;
    --hh-gold:       #c9963a;
    --hh-ochre:      #d4a847;
    --hh-cream:      #fdf6ee;
    --hh-cream2:     #faf0e4;
    --hh-sand:       #f3e8d6;
    --hh-sand2:      #ecdcc8;
    --hh-indigo:     #2c3e6b;
    --hh-indigo-lt:  #3a5080;
    --hh-teal:       #2a6b5e;
    --hh-text:       #2b2218;
    --hh-text-light: #5c4a38;
    --hh-border:     #d9c4ac;
}

/* ============================================================
   Wrapper & Container
   ============================================================ */
.custom-seller-aboutus-wrapper {
    clear: both !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    font-family: inherit;
    color: var(--hh-text);
    box-sizing: border-box;
    background: var(--hh-cream);
}

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

/* ============================================================
   Page Header — Woven-style decorative banner
   ============================================================ */
.seller-about-header {
    text-align: center;
    padding: 52px 20px 42px;
    background: var(--hh-maroon);
    position: relative;
    overflow: hidden;
}

/* Ikat diamond background pattern */
.seller-about-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.04) 0px,
            rgba(255,255,255,0.04) 2px,
            transparent 2px,
            transparent 18px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,0.04) 0px,
            rgba(255,255,255,0.04) 2px,
            transparent 2px,
            transparent 18px
        );
    pointer-events: none;
}

/* Top & bottom kantha-stitch border bands */
.seller-about-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--hh-gold) 0px,
        var(--hh-gold) 12px,
        var(--hh-saffron) 12px,
        var(--hh-saffron) 24px,
        var(--hh-ochre) 24px,
        var(--hh-ochre) 36px,
        transparent 36px,
        transparent 48px
    );
}

.seller-about-page-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    font-variant: small-caps;
}

.seller-about-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.seller-about-title-divider .divider-line {
    display: inline-block;
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hh-gold), transparent);
}

.seller-about-title-divider .divider-icon {
    color: var(--hh-gold);
    font-size: 20px;
    animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Corner SVG craft motifs inside header */
.hh-corner-motif {
    position: absolute;
    width: 90px;
    height: 90px;
    opacity: 0.22;
    pointer-events: none;
}
.hh-corner-motif.tl { top: 10px;  left: 14px;  }
.hh-corner-motif.tr { top: 10px;  right: 14px; transform: scaleX(-1); }
.hh-corner-motif.bl { bottom: 14px; left: 14px; transform: scaleY(-1); }
.hh-corner-motif.br { bottom: 14px; right: 14px; transform: scale(-1,-1); }

/* ============================================================
   Section Separator — Weave-stitch divider
   ============================================================ */
.hh-section-separator {
    display: block;
    width: 100%;
    height: 14px;
    background: repeating-linear-gradient(
        90deg,
        var(--hh-maroon)  0px,
        var(--hh-maroon)  10px,
        var(--hh-gold)    10px,
        var(--hh-gold)    20px,
        var(--hh-saffron) 20px,
        var(--hh-saffron) 30px,
        var(--hh-ochre)   30px,
        var(--hh-ochre)   40px,
        var(--hh-maroon)  40px,
        var(--hh-maroon)  50px
    );
    margin: 0;
}

/* ============================================================
   Sections General
   ============================================================ */
.seller-about-section {
    clear: both !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    padding: 56px 20px !important;
    box-sizing: border-box !important;
    position: relative;
}

.seller-about-section .section-inner {
    max-width: 1160px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ============================================================
   Section Alternate Colors
   ============================================================ */

/* Section 1 — Artisan: cream/warm white */
.artisan-section {
    background: var(--hh-cream) !important;
}

/* Section 2 — Craft & Heritage: saffron-sand */
.craft-section {
    background: var(--hh-sand) !important;
}
.craft-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(192,98,42,0.07) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(201,150,58,0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* Section 3 — Workshop: deep indigo */
.workshop-section {
    background: var(--hh-indigo) !important;
    color: #fff !important;
}
.workshop-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.025) 0px,
            rgba(255,255,255,0.025) 1px,
            transparent 1px,
            transparent 22px
        );
    pointer-events: none;
}

/* Section 4 — Video: dark teal */
.video-section {
    background: var(--hh-cream2) !important;
}
.video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(42,107,94,0.05) 0px,
            rgba(42,107,94,0.05) 1px,
            transparent 1px,
            transparent 28px
        );
    pointer-events: none;
}

/* ============================================================
   Craft decorative border strips (top of each section)
   ============================================================ */
.artisan-section::before,
.craft-section-topbar,
.workshop-section-topbar,
.video-section-topbar {
    display: none;
}

.seller-about-section .hh-craft-topbar {
    display: block;
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        var(--hh-gold) 0px,
        var(--hh-gold) 8px,
        var(--hh-maroon) 8px,
        var(--hh-maroon) 16px,
        var(--hh-saffron) 16px,
        var(--hh-saffron) 24px
    );
    position: absolute;
    top: 0;
    left: 0;
}

/* ============================================================
   Section headings inside sections
   ============================================================ */
.section-title-wrap {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.section-subheading {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

/* Underline motif for section headings */
.section-subheading::after {
    content: '';
    display: block;
    margin: 6px auto 0;
    width: 60%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--hh-gold), transparent);
}

.artisan-section .section-subheading,
.craft-section .section-subheading {
    color: var(--hh-maroon);
}

.workshop-section .section-subheading {
    color: var(--hh-gold);
}

.video-section .section-subheading {
    color: var(--hh-indigo);
}

.section-tagline {
    font-size: 14px;
    margin: 0;
    opacity: 0.75;
}

.workshop-section .section-tagline {
    color: rgba(255,255,255,0.75);
}

/* ============================================================
   Section 1: Meet the Artisan
   ============================================================ */
.artisan-card-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 44px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.artisan-card-layout.no-photo {
    max-width: 800px;
    margin: 0 auto;
}

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

/* Frame with woven/stitched look */
.artisan-photo-frame {
    width: 100%;
    max-width: 290px;
    height: 360px;
    border-radius: 4px;
    overflow: visible;
    background: var(--hh-sand2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

/* Outer decorative frame with dashed kantha-stitch border */
.artisan-photo-frame::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 3px dashed var(--hh-gold);
    border-radius: 6px;
    pointer-events: none;
    z-index: 2;
}

/* Corner accent squares */
.artisan-photo-frame::after {
    content: '';
    position: absolute;
    inset: -13px;
    border: 1px solid var(--hh-saffron);
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}

.artisan-photo-inner {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.artisan-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

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

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

.artisan-content-col.full-width {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

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

.artisan-section-badge,
.craft-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--hh-maroon);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 16px;
    border-radius: 2px;
    box-shadow: 3px 3px 0 var(--hh-gold);
}

.artisan-section-badge .badge-icon,
.craft-section-badge .badge-icon {
    font-size: 14px;
    color: var(--hh-gold);
}

.artisan-name-heading {
    font-size: 30px;
    font-weight: 800;
    color: var(--hh-maroon-dk);
    margin: 0 0 16px 0;
    line-height: 1.25;
    word-break: break-word;
    letter-spacing: 0.3px;
}

/* Decorative "thread" left border for the intro text */
.artisan-intro-text {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--hh-text-light);
    border-left: 4px solid var(--hh-gold);
    padding-left: 18px;
    margin-left: 2px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Small loom shuttle icon before the intro block */
.artisan-intro-text::before {
    content: '🪡';
    position: absolute;
    left: -12px;
    top: 0;
    font-size: 16px;
    background: var(--hh-cream);
    line-height: 1.5;
}

/* ============================================================
   Section 2: Craft & Heritage
   ============================================================ */
.craft-card-box {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 40px 48px;
    background: rgba(255,255,255,0.72);
    border-radius: 4px;
    box-shadow: 0 6px 28px rgba(123,28,50,0.08);
    box-sizing: border-box;
}

/* Block-print inspired corner ornament (CSS only) */
.craft-card-box::before,
.craft-card-box::after {
    content: '❖';
    position: absolute;
    font-size: 22px;
    color: var(--hh-maroon);
    opacity: 0.25;
    line-height: 1;
}
.craft-card-box::before { top: 12px;    left: 16px; }
.craft-card-box::after  { bottom: 12px; right: 16px; }

/* Additional corner ticks via a pseudo-element on the badge wrap */
.craft-badge-wrap::after {
    display: none;
}

.craft-name-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--hh-maroon);
    margin: 4px 0 16px 0;
    line-height: 1.3;
    border-bottom: 2px solid var(--hh-sand2);
    padding-bottom: 12px;
}

.craft-brief-text {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--hh-text-light);
}

/* ============================================================
   Section 3: Workshop Gallery (dark indigo bg)
   ============================================================ */
.workshop-section .section-inner {
    position: relative;
    z-index: 1;
}

.workshop-gallery-grid {
    display: block;
}

.workshop-gallery-grid .owl-nav button {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 2px !important;
    width: 34px;
    height: 34px;
    line-height: 34px !important;
    text-align: center;
    margin: 0 5px;
    border: 1px solid rgba(255,255,255,0.3) !important;
    transition: background 0.3s;
}

.workshop-gallery-grid .owl-nav button:hover {
    background: var(--hh-gold) !important;
    border-color: var(--hh-gold) !important;
}

.workshop-gallery-item {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    height: 210px;
    background: #1a2544;
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.45);
    border-color: var(--hh-gold);
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
    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: 26px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

/* ============================================================
   Section 4: Video Player (warm cream)
   ============================================================ */
.video-section .section-subheading {
    color: var(--hh-indigo);
}
.video-section .section-tagline {
    color: var(--hh-text-light);
}

.video-player-container {
    position: relative;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    /* Kantha-stitch style border */
    border: 5px solid var(--hh-maroon);
    outline: 3px dashed var(--hh-gold);
    outline-offset: 5px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
    background: #000;
    z-index: 1;
    position: relative;
}

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

/* ============================================================
   Footer Craft Banner — bottom of page
   ============================================================ */
.hh-footer-banner {
    text-align: center;
    padding: 28px 20px;
    background: var(--hh-maroon-dk);
    position: relative;
    overflow: hidden;
}

.hh-footer-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 7px;
    background: repeating-linear-gradient(
        90deg,
        var(--hh-gold)    0px,  var(--hh-gold)    12px,
        var(--hh-saffron) 12px, var(--hh-saffron) 24px,
        var(--hh-ochre)   24px, var(--hh-ochre)   36px,
        transparent       36px, transparent        48px
    );
}

.hh-footer-banner .hh-footer-text {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.hh-footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    font-size: 22px;
    opacity: 0.55;
    filter: brightness(2);
}

/* ============================================================
   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.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

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

.lightbox-img-content {
    width: 90vw;
    height: 85vh;
    border-radius: 4px;
    object-fit: contain;
    border: 3px solid rgba(255,255,255,0.12);
}

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

.lightbox-close-btn:hover { color: var(--hh-gold); }

.lightbox-nav-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 3px;
    user-select: none;
    z-index: 1000000;
    transition: background 0.3s;
}

.lightbox-nav-btn:hover { background: var(--hh-maroon); }
.lightbox-nav-btn.prev-btn { left: 20px; }
.lightbox-nav-btn.next-btn { right: 20px; }

/* ============================================================
   Responsive — Tablet & Mobile
   ============================================================ */
@media screen and (max-width: 860px) {
    .artisan-card-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .artisan-photo-col {
        flex: 0 0 auto;
        max-width: 260px;
        width: 100%;
    }

    .artisan-photo-frame {
        max-width: 260px;
        height: 320px;
    }

    .artisan-content-col {
        align-items: center;
        text-align: center;
    }

    .artisan-intro-text {
        text-align: left;
    }

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

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

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

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

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

    .seller-about-section {
        padding: 40px 16px !important;
    }

    .hh-corner-motif {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .seller-about-page-title {
        font-size: 22px;
    }

    .section-subheading {
        font-size: 21px;
    }

    .artisan-photo-frame {
        max-width: 220px;
        height: 270px;
    }

    .hh-corner-motif {
        display: none;
    }
}
