.bc-ai-wrapper {
    --bc-ai-accent: #b58a45;
    --bc-ai-dark: #151515;
    --bc-ai-muted: #6f6f6f;
    --bc-ai-border: rgba(0, 0, 0, .10);
    --bc-ai-soft: #f7f3ed;
    width: 100%;
    max-width: 1180px;
    margin: 48px auto;
    padding: 0 18px;
    font-family: inherit;
    box-sizing: border-box;
}

.bc-ai-wrapper *,
.bc-ai-wrapper *::before,
.bc-ai-wrapper *::after {
    box-sizing: border-box;
}

.bc-ai-section-heading {
    margin-bottom: 22px;
    text-align: left;
}

.bc-ai-section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--bc-ai-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bc-ai-section-heading span::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 1px;
    background: currentColor;
}

.bc-ai-section-heading h2 {
    margin: 0;
    color: var(--bc-ai-dark);
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.12;
}

.bc-ai-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 28px;
}

.bc-ai-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--bc-ai-border);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .08);
}

.bc-ai-card-single {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.bc-ai-media {
    position: relative;
    min-height: 460px;
    background: var(--bc-ai-soft);
}

.bc-ai-badge {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--bc-ai-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    backdrop-filter: blur(12px);
}

.bc-ai-gallery,
.bc-ai-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bc-ai-gallery-main {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    background: transparent;
}

.bc-ai-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-ai-gallery-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #1b1b1b;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.bc-ai-gallery-prev { left: 16px; }
.bc-ai-gallery-next { right: 16px; }

.bc-ai-thumbs {
    position: absolute;
    z-index: 3;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .70);
    backdrop-filter: blur(16px);
}

.bc-ai-thumb {
    flex: 0 0 70px;
    width: 70px;
    height: 56px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    opacity: .75;
}

.bc-ai-thumb.is-active {
    border-color: var(--bc-ai-accent);
    opacity: 1;
}

.bc-ai-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-ai-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(181, 138, 69, .20), rgba(21, 21, 21, .04)),
        radial-gradient(circle at top left, rgba(181, 138, 69, .22), transparent 36%);
    color: var(--bc-ai-dark);
}

.bc-ai-placeholder::before {
    content: "⌂";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: #fff;
    color: var(--bc-ai-accent);
    font-size: 42px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.bc-ai-placeholder span {
    font-size: 22px;
    font-weight: 800;
}

.bc-ai-placeholder small {
    max-width: 260px;
    color: var(--bc-ai-muted);
    font-size: 14px;
}

.bc-ai-content {
    padding: clamp(28px, 5vw, 54px);
    color: var(--bc-ai-dark);
}

.bc-ai-eyebrow {
    color: var(--bc-ai-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bc-ai-content h3 {
    margin: 10px 0 14px;
    color: var(--bc-ai-dark);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
}

.bc-ai-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 20px;
    color: var(--bc-ai-muted);
    font-size: 16px;
    line-height: 1.55;
}

.bc-ai-price-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.bc-ai-price-box {
    padding: 18px;
    border: 1px solid rgba(181, 138, 69, .22);
    border-radius: 18px;
    background: rgba(181, 138, 69, .08);
}

.bc-ai-price-box span {
    display: block;
    margin-bottom: 4px;
    color: var(--bc-ai-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bc-ai-price-box strong {
    color: var(--bc-ai-dark);
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1;
}

.bc-ai-price-box small {
    margin-left: 2px;
    color: var(--bc-ai-muted);
    font-size: 13px;
    font-weight: 600;
}

.bc-ai-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.bc-ai-features div {
    padding: 14px 15px;
    border: 1px solid var(--bc-ai-border);
    border-radius: 16px;
    background: #fff;
}

.bc-ai-features dt {
    margin: 0 0 4px;
    color: var(--bc-ai-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.bc-ai-features dd {
    margin: 0;
    color: var(--bc-ai-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.bc-ai-description {
    color: #333;
    font-size: 16px;
    line-height: 1.72;
}

.bc-ai-description p:first-child { margin-top: 0; }
.bc-ai-description p:last-child { margin-bottom: 0; }

.bc-ai-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 26px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--bc-ai-accent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .14);
}

.bc-ai-button:hover {
    transform: translateY(-2px);
    opacity: .94;
}

.bc-ai-empty {
    padding: 28px;
    border: 1px dashed var(--bc-ai-border);
    border-radius: 18px;
    background: #fff;
    color: var(--bc-ai-muted);
}

.bc-ai-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .86);
}

.bc-ai-lightbox.is-open { display: flex; }

.bc-ai-lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 26px 90px rgba(0, 0, 0, .5);
}

.bc-ai-lightbox button {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 920px) {
    .bc-ai-card,
    .bc-ai-card-single {
        grid-template-columns: 1fr;
    }

    .bc-ai-media {
        min-height: 360px;
    }
}

@media (max-width: 620px) {
    .bc-ai-wrapper {
        margin: 34px auto;
        padding: 0 14px;
    }

    .bc-ai-card {
        border-radius: 20px;
    }

    .bc-ai-media {
        min-height: 290px;
    }

    .bc-ai-content {
        padding: 24px;
    }

    .bc-ai-price-row,
    .bc-ai-features {
        grid-template-columns: 1fr;
    }

    .bc-ai-thumbs {
        display: none;
    }

    .bc-ai-gallery-nav {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
}
