/* ============================================================
   MYB Brands v4 — Frontend CSS
   Brand Archive + Single Model Page + Gallery Modal
   Gold: #917240 | Navy: #031D41
   ============================================================ */

/* ══ SHARED ══ */
.myb-brand-archive,
.myb-brand-single {
    width: 100%;
    background: #fff;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.myb-ba__inner,
.myb-bs__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* ════════════════════════════════════
   1. HERO IMAGE (full-width) + LOGO OVERLAY
════════════════════════════════════ */
.myb-ba__hero {
    width: 100%;
    height: 420px;
    background-color: #0d1e2e;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;

}

.myb-ba__hero--placeholder { background-color: #1a2e40; }

.myb-ba__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.10) 55%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Logo overlaid bottom-left on the hero image */
.myb-ba__hero-logo-wrap {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
    margin: 0 auto;
}

.myb-ba__hero-logo {
    display: block;
    max-width: 280px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

/* ════════════════════════════════════
   2. DEALER STRIP (dark navy)
════════════════════════════════════ */
.myb-ba__dealer-strip {
    background: #031D41;
    padding: 16px 24px;
    text-align: center;
}

.myb-ba__dealer-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

/* ════════════════════════════════════
   3. BRAND INFO (name + tagline subheading + desc)
════════════════════════════════════ */
.myb-ba__info {
    padding: 52px 0 40px;
    background: #fff;
    text-align: center;
}

.myb-ba__brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: #917240;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-align: left;
}

/* Tagline as sub-heading (not label) */
.myb-ba__tagline {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #917240;
    margin: 0 0 22px;
    text-align: left;
    line-height: 1.5;
}

.myb-ba__desc {
    font-size: 15.5px;
    color: rgba(78, 94, 111, 1);
    line-height: 1.8;
    margin: 0 auto;
    text-align: left;
}

/* ════════════════════════════════════
   4. ALL MODELS GRID (3 col)
════════════════════════════════════ */
.myb-ba__models {
    padding: 0 0 52px;
    background: #fff;
}

.myb-ba__models-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    color: #333;
    text-align: center;
    margin: 0 0 28px;
    line-height: 1.3;
}

.myb-ba__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
}

.myb-ba__card {
    display: flex;
    flex-direction: column;
}

/* Card image wrapper */
.myb-ba__card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    margin-bottom: 12px;
    line-height: 0;
    background: #e0e8ef;
}

.myb-ba__card-img-link { display: block; line-height: 0; }

.myb-ba__card-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.38s ease;
}

.myb-ba__card-img--placeholder {
    height: 200px;
    background: linear-gradient(135deg, #c8d8e8 0%, #9fb8cc 100%);
}

.myb-ba__card-img-wrap:hover .myb-ba__card-img { transform: scale(1.04); }

/* ── New wave/sofa icon buttons ── */
.myb-top-icons {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.myb-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #917240;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 6px;
    box-sizing: border-box;
    transition: background 0.18s ease, transform 0.15s ease;
    line-height: 0;
    border: none;
}
span.myb-top-icon.btmbtn {
    background-color: #917240;
    color: #fff;
}
.myb-top-icon:hover {
    transform: scale(1.08);
}

.myb-top-icon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Card body */
.myb-ba__card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 2px;
}

.myb-ba__card-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #917240;
    margin: 0 0 6px;
    line-height: 1.3;
}

.myb-ba__card-desc {
    font-size: 14px;
    color: #4e5e6f;
    line-height: 1.6;
    margin: 0 0 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.myb-ba__card-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(3, 29, 65, 1);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    margin-top: auto;
    text-decoration: underline;
}

.myb-ba__card-link:hover { color: #917240; }

/* ════════════════════════════════════
   5. SOCIAL FEED SECTION
════════════════════════════════════ */
.myb-ba__social-feed {
    padding: 40px 0 48px;
    background: #fff;
}

/* ════════════════════════════════════
   6. GOLD CTA SECTION
════════════════════════════════════ */
.myb-ba__cta {
    background: #917240;
    padding: 56px 24px 64px;
    text-align: center;
}

.myb-ba__cta-heading {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2%;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.myb-ba__cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin: 10px auto 32px;
    max-width: 560px;
}

.myb-ba__cta-btn {
      display: inline-block;
    padding: 14px 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 50px;
    color: #917240 !important;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    background: #fff !important;
}

.myb-ba__cta-btn:hover {     background: transparent !important;
    border-color: #ffffff;
    color: #ffffff !important; }

/* ════════════════════════════════════
   GALLERY MODAL
════════════════════════════════════ */
.myb-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.myb-modal.is-open { opacity: 1; }

.myb-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 29, 65, 0.90);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.myb-modal__box {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 6px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.45);
    transform: scale(0.96);
    transition: transform 0.28s ease;
}

.myb-modal.is-open .myb-modal__box { transform: scale(1); }

.myb-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid #ebebeb;
    flex-shrink: 0;
}

.myb-modal__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #031D41;
    margin: 0;
}

.myb-modal__close {
    background: none !important; border: none;
    font-size: 30px; line-height: 1;
    color: #424141 !important;  cursor: pointer;
    padding: 0 0 0 12px;
    transition: color 0.2s;
}
.myb-modal__close:hover {  background: none !important;color: #424141 !important;   }

.myb-modal__body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.myb-modal__main-wrap {
    position: relative;
    width: 100%;
    background: #0d1e2e;
    flex-shrink: 0;
    line-height: 0;
}

.myb-modal__main-img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
}

.myb-modal__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    border: none; color: #fff;
    font-size: 28px; line-height: 1;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0; z-index: 5;
    transition: background 0.2s;
}
.myb-modal__nav:hover { background: rgba(255,255,255,0.32); }
.myb-modal__nav--prev { left: 10px; }
.myb-modal__nav--next { right: 10px; }

.myb-modal__counter {
    position: absolute;
    bottom: 10px; right: 14px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 20px;
    letter-spacing: 0.04em; line-height: 1.4;
}

.myb-modal__thumbs {
    display: flex;
    gap: 5px;
    padding: 10px 14px;
    overflow-x: auto;
    flex-shrink: 0;
    background: #f8f8f8;
    border-top: 1px solid #ebebeb;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.myb-modal__thumb {
    flex-shrink: 0;
    width: 56px; height: 42px;
    border-radius: 3px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer; padding: 0;
    background: #e0e0e0;
    transition: border-color 0.18s;
}
.myb-modal__thumb.is-active { border-color: #917240; }
.myb-modal__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ════════════════════════════════════
   SINGLE MODEL — HERO SLIDER
════════════════════════════════════ */
.myb-bs__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.myb-bs__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.myb-bs__slide { flex: 0 0 100%; min-width: 100%; line-height: 0; }

.myb-bs__slide-img {
    display: block;
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
}

.myb-bs__logo-wrap { position: absolute; bottom: 50px; left: 200px; z-index: 10; }
.myb-bs__logo { display: block; max-width: 170px; max-height: 68px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); }

.myb-bs__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10; background: rgba(255,255,255,0.18);
    border: none; color: #fff; font-size: 30px; line-height: 1;
    width: 42px; height: 42px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); transition: background 0.2s; padding: 0;
}
.myb-bs__arrow:hover { background: rgba(255,255,255,0.32); }
.myb-bs__arrow--prev { left: 12px; }
.myb-bs__arrow--next { right: 12px; }

.myb-bs__dots { position: absolute; bottom: 12px; right: 18px; display: flex; gap: 5px; z-index: 10; }
.myb-bs__dot { width: 6px; height: 6px; border-radius: 50%; border: none; background: rgba(255,255,255,0.45); cursor: pointer; padding: 0; transition: background 0.2s; }
.myb-bs__dot.is-active { background: #fff; }

/* ════════════════════════════════════
   SINGLE MODEL — CONTENT
════════════════════════════════════ */
.myb-bs__info { background: #fff; padding: 26px 0 20px; }

.myb-bs__title { font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 700; color: #917240; margin: 0 0 6px; line-height: 1.3; }
.myb-bs__subtitle { font-size: 18px; color: #917240; font-weight: 500; margin: 0 0 14px; letter-spacing: 0.01em; line-height: 1.4; }
.myb-bs__desc { font-size: 15.5px; color: rgba(78,94,111,1); line-height: 1.75; margin: 0; }

.myb-bs__gallery-block { padding: 14px 0 8px; }

.myb-bs__gallery-label {
    font-size: 20px; font-weight: 500; letter-spacing: 0.05em;
    text-transform: uppercase; color: #917240;
    text-align: center; margin: 0 0 30px; line-height: 1;
}
.myb-bs__gallery-label--center { text-align: center; }

.myb-bs__gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }

.myb-bs__gallery-item { display: block; position: relative; overflow: hidden; border-radius: 2px; line-height: 0; }
.myb-bs__gallery-item img { display: block; width: 100%; height: 188px; max-height: 188px; object-fit: cover; transition: transform 0.3s ease; }
.myb-bs__gallery-item:hover img { transform: scale(1.05); }
.myb-bs__gallery-item--hidden { display: none; }

.myb-bs__gallery-more { position: absolute; inset: 0; background: rgba(0,0,0,0.5); color: #fff; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.myb-bs__gallery-count { font-size: 10px; color: #aaa; text-align: right; margin: 5px 0 0; }

.myb-bs__video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 3px; overflow: hidden; }
.myb-bs__video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.myb-bs__req-wrap { text-align: center; padding: 22px 20px 18px; }
.myb-bs__req-btn { display: inline-block; background: #031D41; color: #fff; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; text-decoration: none; padding: 12px 30px; border-radius: 50px; transition: background 0.2s ease; }
.myb-bs__req-btn:hover { background: #917240; color: #fff; }

.myb-bs__specs-block { padding: 58px 0 28px; }

.myb-bs__spec-tabs { display: flex; justify-content: center; margin: 0 0 18px; flex-wrap: wrap; }
.myb-bs__spec-tab { background: transparent; border: 1.5px solid #917240; color: #031D41; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 18px; cursor: pointer; transition: background 0.2s, color 0.2s; line-height: 1; }
.myb-bs__spec-tab:first-child { border-radius: 50px 0 0 50px; border-right: none; }
.myb-bs__spec-tab:last-child  { border-radius: 0 50px 50px 0; }
.myb-bs__spec-tab.is-active   { background: #917240; color: #fff; }
.myb-bs__spec-tab:hover:not(.is-active) { background: #fff; color: #917240; }

.myb-bs__spec-table { width: 100%; max-width: 844px; margin: 0 auto; border-collapse: collapse; }
.myb-bs__spec-row { border-bottom: 1px solid #ebebeb; }
.myb-bs__spec-row:last-child { border-bottom: none; }

.myb-bs__spec-label,
.myb-bs__spec-value { font-size: 16px; padding: 11px 4px; line-height: 1.4; vertical-align: middle; }
.myb-bs__spec-label { color: #555; font-weight: 600; width: 55%; }
.myb-bs__spec-value { color: #031D41; font-weight: 600; text-align: right; width: 45%; }

/* ════════════════════════════════════
   LAYOUT SLIDER (replaces static grid)
════════════════════════════════════ */
.myb-bs__gallery-block--layouts { padding: 8px 0 36px; }

.myb-bs__layout-slider {
    position: relative;
    overflow: hidden;
}

.myb-bs__layout-track {
    display: flex;
    gap: 8px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.myb-bs__layout-slide {
    flex: 0 0 calc(33.333% - 6px);
    min-width: calc(33.333% - 6px);
    display: block;
    overflow: hidden;
    border-radius: 3px;
    line-height: 0;
    border: 1px solid #e4e4e4;
    background: #f5f5f3;
}

.myb-bs__layout-slide img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: contain;
    object-position: center;
    background: #f5f5f3;
    transition: transform 0.3s ease;
}

.myb-bs__layout-slide:hover img { transform: scale(1.03); }

/* Layout slider arrows */
.myb-bs__layout-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(3,29,65,0.65);
    backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}
.myb-bs__layout-arrow:hover { background: rgba(145,114,64,0.90); }
.myb-bs__layout-arrow--prev { left: 6px; }
.myb-bs__layout-arrow--next { right: 6px; }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 900px) {
    .myb-ba__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
    .myb-ba__card-img { height: 160px; }
}

@media (max-width: 768px) {
    .myb-ba__hero { height: 280px; }
    .myb-ba__brand-name { font-size: 22px; }
    .myb-ba__cta-heading { font-size: 15px; }
    .myb-bs__layout-slide { flex: 0 0 calc(50% - 4px); min-width: calc(50% - 4px); }
}

@media (max-width: 540px) {
    .myb-ba__inner,
    .myb-bs__inner { padding: 0 16px; }
    .myb-ba__hero { height: 220px; }
    .myb-ba__hero-logo { max-width: 130px; }
    .myb-ba__hero-logo-wrap { padding: 0 20px 20px; }
    .myb-ba__grid { grid-template-columns: 1fr; gap: 20px; }
    .myb-ba__card-img { height: 180px; }
    .myb-top-icons { flex-direction: row; }

    .myb-modal__main-img { height: 220px; }
    .myb-modal__box { max-height: 95vh; }

    .myb-bs__logo { max-width: 130px; }
    .myb-bs__logo-wrap { bottom: 18px; left: 16px; }
    .myb-bs__gallery-strip { grid-template-columns: repeat(2, 1fr); }
    .myb-bs__gallery-item img { height: 100px; }
    .myb-bs__layout-slide { flex: 0 0 calc(100% - 0px); min-width: 100%; }
    .myb-bs__spec-tabs { flex-direction: column; align-items: center; }
    .myb-bs__spec-tab:first-child { border-radius: 50px 50px 0 0; border-right: 1.5px solid #917240; border-bottom: none; }
    .myb-bs__spec-tab:last-child  { border-radius: 0 0 50px 50px; }
    .myb-bs__title { font-size: 22px; }
    .myb-bs__arrow { width: 34px; height: 34px; font-size: 22px; }
    .myb-bs__spec-table { width: 100%; }
}

/* ── Overlay ── */
.myb-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9998;
}

/* ── Box ── */
.myb-popup-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    background: #917240;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.myb-popup-box::-webkit-scrollbar { width: 4px; }
.myb-popup-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

/* ── Close button ── */
.myb-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10000;
    line-height: 1;
    padding: 0;
}
/* ── Form title ── */
.myb-popup-box .modal-title {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    text-transform: uppercase !important;
    margin: 0 0 20px !important;
}

/* ── WhatsApp button ── */
.myb-popup-box .whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fff !important;
    color: #917240 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 8px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
}
.myb-popup-box .whatsapp-btn i {
    font-size: 16px !important;
    color: #25D366 !important;
}

/* ── Phone text ── */
.myb-popup-box .phone-text {
    color: rgba(255,255,255,0.85) !important;
    font-size: 14px !important;
    text-align: center !important;
    margin: 0 0 24px !important;
    line-height: 1.6 !important;
}

/* ── Input fields ── */
.myb-popup-box .ff-el-form-control {
  background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    padding: 13px 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    box-shadow: none !important;
    outline: none !important;
}

.myb-popup-box .ff-el-form-control::placeholder {
    color: #fff !important;
}
.myb-popup-box textarea.ff-el-form-control {
    resize: vertical !important;
    min-height: 90px !important;
}

/* ── Field groups spacing ── */
.myb-popup-box .ff-el-group,
.myb-popup-box .form-group {
    margin-bottom: 12px !important;
}

/* ── Hide labels (placeholders used instead) ── */
.myb-popup-box .ff-el-input--label {
    display: none !important;
}

/* ── Privacy policy checkbox ── */
.myb-popup-box .ff_tc_label {
    color: rgba(255,255,255,0.85) !important;
    font-size: 13px !important;
}
.myb-popup-box .ff_tc_label a {
    color: #fff !important;
    text-decoration: underline !important;
}

/* ── Submit button ── */
.myb-popup-box .ff-btn-submit {
    background: #fff !important;
    color: #917240 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    margin-top: 8px !important;
}
.myb-popup-box .ff-btn-submit:hover {
    background: #f5f0e8 !important;
}

/* ── Remove fieldset default styles ── */
.myb-popup-box fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* ── Fix bootstrap btn-light override ── */
.myb-popup-box .btn.btn-light.whatsapp-btn,
.myb-popup-box .myb-whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fff !important;
    color: #917240 !important;
    border: 2px solid #fff !important;
    border-radius: 50px !important;
    padding: 8px 24px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    margin: 12px auto !important;
    /* Remove any bootstrap teal/green */
    box-shadow: none !important;
    background-image: none !important;
}

.myb-popup-box .myb-whatsapp-btn i,
.myb-popup-box .whatsapp-btn i {
    color: #25D366 !important;
    font-size: 18px !important;
}

/* ── Header block centering ── */
.myb-popup-box .modal-title {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-align: center !important;
    text-transform: uppercase !important;
    margin: 0    !important;
}

.myb-popup-box .myb-form-header,
.myb-popup-box .ff-custom_html {
    text-align: center !important;
    margin-bottom :0px !important;
}

.myb-popup-box .myb-phone-text,
.myb-popup-box .phone-text {
    color: rgba(255,255,255,0.9) !important;
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}


/* ══════════════════════════════════════════
   Inline card image slider (outside/inside)
══════════════════════════════════════════ */

/* Active icon state */
.myb-top-icon.myb-icon-active {
    background: #917240;
    color: #fff;
}
.myb-top-icon.myb-icon-active svg {
    stroke: #fff;
}

/* Prev / Next arrows */
.myb-ba__slide-prev,
.myb-ba__slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #0b213d;
    padding: 0;
    transition: background 0.2s;
}
.myb-ba__slide-prev:hover,
.myb-ba__slide-next:hover { background: #917240; }
.myb-ba__slide-prev { left: 8px; }
.myb-ba__slide-next { right: 8px; }

/* Show arrows when gallery is active */
.myb-ba__slide-prev.is-visible,
.myb-ba__slide-next.is-visible {
    display: flex;
}

/* Counter */
.myb-ba__slide-counter {
    display: none;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    z-index: 6;
    pointer-events: none;
}

/* Card image transition on swap */
.myb-ba__card-img {
    transition: transform 0.38s ease, opacity 0.2s ease;
}
