/* ============================================================
   Brand Slider Plugin — Frontend Styles
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;1,300;1,400&family=Inter:wght@300;400&display=swap");

/* ── Reset for plugin elements */
.bs-section-head,
.bs-brand-row,
.bs-gallery-popup,
.bs-gallery-popup * {
    box-sizing: border-box;
}

/* ── Section heading */
.bs-section-head {
    text-align: center;
    padding: 70px 20px 50px;
    background: #0b131c;
}

.bs-section-head h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 300;
    font-style: italic;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.bs-section-head h2 span {
    font-style: italic;
    font-family: "Cormorant Garamond", serif;
}

.bs-section-head p {
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    margin-top: 10px;
    font-family: "Inter", sans-serif;
}

/* ── Brand row */
.bs-brand-row {
    background: #0b131c;
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 28px 0;
    font-family: "Inter", sans-serif;
}

.bs-brand-row-inner {
    display: flex;
    align-items: center;
}

/* ── Brand label */
.bs-brand-label {
    width: 140px;
    min-width: 140px;
    padding: 0 24px;
    text-align: left;
    flex-shrink: 0;
}

.bs-brand-label span {
    font-size: 9px;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.bs-brand-label strong {
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255,255,255,.6);
    font-weight: 400;
    text-transform: uppercase;
}

/* ── Slider outer */
.bs-slider-outer {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.bs-slider-outer::before,
.bs-slider-outer::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.bs-slider-outer::before {
    left: 0;
    background: linear-gradient(to right, #0B131C, transparent);
}

.bs-slider-outer::after {
    right: 0;
    background: linear-gradient(to left, #0B131C, transparent);
}

/* ── Slider track */
.bs-slider-track {
    display: flex;
    gap: 6px;
    width: max-content;
}

.bs-slider-track.scroll-left {
    animation: bsScrollLeft var(--dur, 30s) linear infinite;
}

.bs-slider-track.scroll-right {
    animation: bsScrollRight var(--dur, 32s) linear infinite;
}

.bs-slider-track:hover {
    animation-play-state: paused;
}

@keyframes bsScrollLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes bsScrollRight {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* ── Slide image */
.bs-slide-img {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.bs-slide-img img {
    display: block;
    object-fit: cover;
    height: var(--h, 185px);
    width: var(--w, 260px);
    transition: transform .4s ease, filter .4s ease;
    filter: brightness(.85);
}

.bs-slide-img:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

/* ── Nav arrows */
.bs-brand-nav {
    display: flex;
    gap: 5px;
    padding: 0 24px;
    align-items: center;
}

.bs-nav-arrow {
    background: none;
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.5);
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.bs-nav-arrow:hover {
    border-color: rgba(255,255,255,.5);
    color: #fff;
}

/* ============================================================
   POPUP
   ============================================================ */

.bs-gallery-popup {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .45s;
    z-index: 999999;
}

.bs-gallery-popup.active {
    opacity: 1;
    visibility: visible;
}

.bs-popup-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    cursor: pointer;
}

/* ── Popup wrapper */
.bs-popup-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr 120px;
    gap: 40px;
    width: 1400px;
    max-width: 95%;
    height: 92vh;
    align-items: start;
    z-index: 5;
}

/* ── Left: text */
.bs-popup-left {
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 50px;
}

.bs-popup-content {
    max-width: 290px;
}

.bs-popup-content h2 {
    font-size: 48px;
    font-family: Georgia, serif;
    font-weight: 400;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.15;
}

.bs-popup-content .bs-ps {
    display: block;
    color: #707070;
    margin-bottom: 35px;
    font-size: 16px;
    font-family: "Inter", sans-serif;
}

.bs-popup-content .bs-pd {
    color: #d2d2d2;
    line-height: 1.8;
    font-size: 16px;
    font-family: "Inter", sans-serif;
}

/* ── Center: gallery */
.bs-popup-gallery {
    width: 100%;
    height: 92vh;
}

.bs-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.bs-gallery-item {
    overflow: hidden;
    background: #111;
}

.bs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.bs-gallery-item:hover img {
    transform: scale(1.05);
}

/* ── Close button */
.bs-popup-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.bs-popup-close {
    width: 84px;
    height: 84px;
    border: 1px solid rgba(255,255,255,.3);
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .35s;
    font-family: "Inter", sans-serif;
}

.bs-popup-close:hover {
    background: #fff;
    color: #000;
}

.bs-close-icon {
    font-size: 22px;
    margin-bottom: 6px;
    display: block;
}

.bs-close-text {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
@media (max-width: 991px) {
    .bs-popup-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 95%;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .bs-popup-wrapper {
        display: flex;
        flex-direction: column;
        width: calc(100% - 30px);
        max-width: 100%;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        gap: 20px;
        padding: 20px 15px;
        border-radius: 15px;
    }

    .bs-popup-left {
        width: 100%;
    }

    .bs-popup-left img {
        width: 100%;
        height: auto;
        display: block;
    }

    .bs-popup-content {
        width: 100%;
    }

    .bs-popup-right {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 15px;
    }
	.bs-brand-row-inner{
    display:block;
}
.bs-brand-label {
    margin-bottom: 20px;
}

.bs-brand-nav {
    margin-top: 20px;
}
}
