/* ==========================================================
   ROYAL BUSINESS GROUP - STOREFRONT
   ========================================================== */

.rbg-store {
    --rbg-purple: #4A148C;
    --rbg-purple-dark: #2f075e;
    --rbg-gold: #d4af37;
    --rbg-dark: #171717;
    --rbg-text: #27272a;
    --rbg-muted: #71717a;
    --rbg-line: #e6e6e6;
    --rbg-soft: #f7f7f8;

    width: 100%;
    margin-left: 0;
    overflow-x: hidden;
    color: var(--rbg-text);
}

.rbg-hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;

    background: linear-gradient(
        120deg,
        var(--rbg-purple-dark) 0%,
        var(--rbg-purple) 65%,
        #6420aa 100%
    );

    color: #fff;
}

.rbg-hero__content {
    padding: 110px max(40px, calc((100vw - 1240px) / 2));
    padding-right: 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rbg-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rbg-hero .rbg-eyebrow {
    color: var(--rbg-gold);
}

.rbg-hero h1 {
    margin: 0;
    max-width: 760px;
    color: #fff !important;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 750;
}

.rbg-hero p {
    max-width: 630px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.75;
}

.rbg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.rbg-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 50px;

    background: radial-gradient(
        circle at center,
        rgba(255,255,255,.16),
        transparent 62%
    );
}

.rbg-hero-card {
    width: 100%;
    max-width: 420px;
    min-height: 430px;
    padding: 42px;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 28px;

    background: rgba(255,255,255,.10);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    box-shadow: 0 40px 100px rgba(0,0,0,.18);
}

.rbg-hero-card span {
    color: var(--rbg-gold);
    font-size: 13px;
    font-weight: 700;
}

.rbg-hero-card strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 34px;
    line-height: 1.1;
}

.rbg-hero-card small {
    margin-top: 16px;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
}

.rbg-btn {
    min-height: 50px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    text-decoration: none !important;
    font-weight: 700;

    transition: transform .2s ease, background .2s ease;
}

.rbg-btn-primary {
    background: var(--rbg-gold);
    color: #211500 !important;
}

.rbg-btn-primary:hover {
    transform: translateY(-2px);
}

.rbg-btn-outline {
    border: 1px solid rgba(255,255,255,.45);
    color: #fff !important;
}

.rbg-btn-outline:hover {
    background: rgba(255,255,255,.10);
}

.rbg-store .rbg-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 90px 30px;
}

.rbg-section-heading {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.rbg-section-heading .rbg-eyebrow {
    color: var(--rbg-purple);
}

.rbg-section-heading h2 {
    margin: 0;
    color: var(--rbg-dark) !important;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.035em;
}

.rbg-text-link {
    color: var(--rbg-purple) !important;
    text-decoration: none !important;
    font-weight: 700;
}

.rbg-business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.rbg-business-card {
    min-height: 285px;
    padding: 30px;
    display: block;

    border: 1px solid var(--rbg-line);
    border-radius: 18px;

    background: #fff;
    color: var(--rbg-text) !important;
    text-decoration: none !important;

    transition: transform .22s ease, box-shadow .22s ease;
}

.rbg-business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,.09);
}

.rbg-business-number {
    color: var(--rbg-purple);
    font-size: 13px;
    font-weight: 800;
}

.rbg-business-card h3 {
    margin: 70px 0 10px;
    color: var(--rbg-dark) !important;
    font-size: 23px;
}

.rbg-business-card p {
    color: var(--rbg-muted);
    line-height: 1.65;
}

.rbg-card-link {
    display: block;
    margin-top: 22px;
    color: var(--rbg-purple);
    font-weight: 700;
}

.rbg-products-section {
    background: var(--rbg-soft);
}

.rbg-placeholder-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.rbg-placeholder-product {
    overflow: hidden;
    border: 1px solid var(--rbg-line);
    border-radius: 16px;
    background: #fff;
}

.rbg-placeholder-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #ececef, #fafafa);
}

.rbg-placeholder-body {
    padding: 20px;
}

.rbg-placeholder-body span {
    color: var(--rbg-purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rbg-placeholder-body h4 {
    margin: 8px 0;
    color: var(--rbg-dark) !important;
}

.rbg-placeholder-body p {
    margin: 0;
    color: var(--rbg-muted);
}

.rbg-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.rbg-feature-panel {
    min-height: 520px;
    padding: 80px max(50px, calc((100vw - 1240px) / 2));
    background: var(--rbg-purple-dark);
    color: #fff;
}

.rbg-feature-panel-light {
    background: var(--rbg-gold);
    color: var(--rbg-dark);
}

.rbg-feature-panel h2 {
    max-width: 470px;
    margin: 14px 0;
    color: inherit !important;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.rbg-feature-panel p {
    max-width: 500px;
    margin-bottom: 30px;
    color: inherit;
    opacity: .82;
    font-size: 17px;
    line-height: 1.7;
}

.rbg-btn-light {
    background: #fff;
    color: var(--rbg-dark) !important;
}

.rbg-btn-dark {
    background: var(--rbg-dark);
    color: #fff !important;
}

.rbg-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--rbg-line);
}

.rbg-trust-grid > div {
    padding: 30px 28px;
    border-right: 1px solid var(--rbg-line);
}

.rbg-trust-grid > div:last-child {
    border-right: 0;
}

.rbg-trust-grid strong {
    color: var(--rbg-purple);
}

.rbg-trust-grid h4 {
    margin: 35px 0 10px;
    color: var(--rbg-dark) !important;
}

.rbg-trust-grid p {
    color: var(--rbg-muted);
    line-height: 1.65;
}

@media (max-width: 991px) {
    .rbg-hero {
        grid-template-columns: 1fr;
    }

    .rbg-hero__visual {
        display: none;
    }

    .rbg-business-grid,
    .rbg-placeholder-products,
    .rbg-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rbg-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .rbg-hero {
        min-height: auto;
    }

    .rbg-hero__content {
        padding: 80px 24px;
    }

    .rbg-store .rbg-section {
        padding: 60px 20px;
    }

    .rbg-business-grid,
    .rbg-placeholder-products,
    .rbg-trust-grid {
        grid-template-columns: 1fr;
    }

    .rbg-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .rbg-feature-panel {
        min-height: auto;
        padding: 65px 24px;
    }

    .rbg-trust-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--rbg-line);
    }
}


body {
    overflow-x: hidden;
}
