:root {
    --brand-page-bg: linear-gradient(180deg, rgba(239, 246, 255, 0.82) 0%, rgba(248, 250, 252, 0.98) 46%, rgba(240, 253, 250, 0.9) 100%);
    --brand-surface: rgba(255, 255, 255, 0.92);
    --brand-surface-strong: rgba(255, 255, 255, 0.98);
    --brand-border: rgba(203, 213, 225, 0.82);
    --brand-text: #0f172a;
    --brand-muted: #64748b;
    --brand-blue: #2563eb;
    --brand-blue-soft: rgba(37, 99, 235, 0.1);
    --brand-green: #0f766e;
    --brand-orange: #f97316;
    --brand-gold: #f59e0b;
    --brand-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --brand-shadow-soft: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.brand_page {
    position: relative;
    margin: 1.4rem auto 0;
    padding: clamp(0.85rem, 2vw, 1.25rem);
    border-radius: 34px;
    background:
        radial-gradient(circle at 7% 0%, rgba(14, 165, 233, 0.14), transparent 28%),
        radial-gradient(circle at 96% 8%, rgba(20, 184, 166, 0.12), transparent 30%),
        var(--brand-page-bg);
    color: var(--brand-text);
    overflow: hidden;
}

.brand_page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent 72%);
}

.brand_page > * {
    position: relative;
    z-index: 1;
}

.brand_hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 300px);
    gap: 0.85rem;
    align-items: start;
    margin-bottom: 1rem;
    padding: clamp(1rem, 2.2vw, 1.3rem);
    border-radius: 26px;
    background:
        radial-gradient(circle at 84% 12%, rgba(45, 212, 191, 0.26), transparent 24%),
        linear-gradient(135deg, #07111f 0%, #12335c 50%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.brand_hero::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -8rem;
    width: 13rem;
    height: 13rem;
    border-radius: 44%;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(-16deg);
}

.brand_hero_copy,
.brand_hero_panel {
    position: relative;
    z-index: 1;
}

.brand_eyebrow,
.brand_section_kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--brand-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand_eyebrow {
    margin-bottom: 0.75rem;
    padding: 0.38rem 0.66rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #99f6e4;
}

.brand_hero h1 {
    max-width: 620px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.85rem, 3vw, 2.85rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.brand_hero p {
    max-width: 560px;
    margin: 0.7rem 0 0;
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.96rem;
    line-height: 1.55;
}

.brand_metric_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.95rem;
}

.brand_metric_card {
    flex: 1 1 180px;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
}

.brand_metric_card span {
    display: block;
    color: #bfdbfe;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand_metric_card strong {
    display: block;
    margin-top: 0.3rem;
    color: #ffffff;
    font-family: var(--display-font);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.brand_metric_card small {
    display: block;
    margin-top: 0.18rem;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.8rem;
    line-height: 1.35;
}

.brand_filter_strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.brand_filter_link,
.brand_active_chip,
.brand_clear_filters,
.brand_action_link,
.brand_inline_link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    text-decoration: none;
}

.brand_filter_link {
    min-height: 36px;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
    font-size: 0.92rem;
}

.brand_filter_link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    text-decoration: none;
}

.brand_filter_link.is_active {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(251, 191, 36, 0.26);
    color: #fde68a;
}

.brand_active_filters {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.brand_active_label {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand_active_row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.brand_active_chip {
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e0f2fe;
    font-size: 0.9rem;
}

.brand_active_chip:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    text-decoration: none;
}

.brand_clear_filters {
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #bfdbfe;
    font-size: 0.9rem;
}

.brand_clear_filters:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.brand_hero_panel {
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
}

.brand_panel_primary {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.brand_panel_copy {
    display: grid;
    gap: 0.3rem;
}

.brand_mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.92) 0%, rgba(37, 99, 235, 0.92) 100%);
    color: #ffffff;
    font-family: var(--display-font);
    font-size: 1.2rem;
    letter-spacing: -0.04em;
}

.brand_panel_label {
    display: inline-flex;
    width: fit-content;
    margin-top: 0;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    color: #bfdbfe;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand_hero_panel strong {
    margin-top: 0.08rem;
    color: #ffffff;
    font-family: var(--display-font);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.brand_hero_panel small {
    margin-top: 0;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.84rem;
    line-height: 1.45;
}

.brand_panel_categories {
    display: grid;
    gap: 0.45rem;
    margin-top: 0;
    padding: 0.75rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.16);
}

.brand_panel_categories header {
    color: #99f6e4;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand_panel_categories ul {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0;
}

.brand_panel_categories li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.9rem;
}

.brand_panel_categories li strong {
    margin: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.8rem;
    line-height: 1;
    letter-spacing: 0;
}

.brand_category_empty {
    color: rgba(226, 232, 240, 0.72);
    line-height: 1.6;
}

.brand_section {
    padding: 1rem;
    border: 1px solid var(--brand-border);
    border-radius: 30px;
    background: var(--brand-surface-strong);
    box-shadow: var(--brand-shadow);
}

.brand_popular_section {
    margin-bottom: 1rem;
}

.brand_section_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.88);
}

.brand_section_head h2 {
    margin: 0.28rem 0 0;
    color: var(--brand-text);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.brand_section_head p {
    max-width: 620px;
    margin: 0.55rem 0 0;
    color: var(--brand-muted);
    line-height: 1.7;
}

.brand_section_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.brand_action_link {
    min-height: 42px;
    padding: 0.68rem 0.88rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--brand-blue);
}

.brand_action_link:hover,
.brand_inline_link:hover {
    color: var(--brand-text);
    text-decoration: none;
}

.brand_inline_link {
    color: var(--brand-blue);
}

.brand_products_grid {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

.brand_products_stream {
    min-height: 220px;
}

.brand_products_grid .pdt_div,
.brand_products_grid .load_ad {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0.82rem !important;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%) !important;
    box-shadow: var(--brand-shadow-soft);
    overflow: hidden;
}

.brand_products_grid .pdt_div::before,
.brand_products_grid .load_ad::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.92) 0%, rgba(37, 99, 235, 0.9) 100%);
}

.brand_products_grid .pdt_div:hover,
.brand_products_grid .load_ad:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
}

.brand_products_grid .pdt_div img:nth-child(1),
.brand_products_grid .pdt_div img {
    width: 100%;
    max-width: none;
    margin: 0 0 0.75rem;
    border-radius: 18px;
    background: rgba(241, 245, 249, 0.92);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.brand_products_grid .pdt_div img:nth-child(2) {
    position: absolute;
    left: 1rem;
    bottom: 5.4rem;
    width: 46px;
    height: 46px;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.94);
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    object-fit: cover;
}

.brand_products_grid .pdt_div > .pdt_trigger_div {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    width: auto;
    padding-left: 0;
}

.brand_products_grid .pdt_div .pdt_trigger_div span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.brand_products_grid .pdt_name {
    min-height: 46px;
    margin-top: 0.15rem;
    color: var(--brand-text);
    font-weight: 800;
    line-height: 1.45;
}

.brand_products_grid .pdt_price {
    color: var(--brand-text);
    font-size: 1rem;
    font-weight: 900;
}

.brand_products_grid .pdt_old_price {
    color: #94a3b8;
}

.brand_products_grid .auction_tag,
.brand_products_grid .pdt_img_tag {
    top: 0.9rem;
    left: 0.9rem;
    width: fit-content;
    padding: 0.28rem 0.56rem;
    border-radius: 999px;
    font-weight: 800;
}

.brand_products_grid .pdt_img_tag {
    color: #ffffff;
}

.brand_products_grid .small,
.brand_products_grid .event_tag {
    color: var(--brand-muted);
}

.brand_products_grid .event_tag {
    display: inline-flex;
    margin-top: 0.4rem;
    padding: 0.24rem 0.5rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-blue);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.brand_products_grid .load_ad .bg-light {
    min-height: 100%;
    padding: 0 !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12), transparent 42%),
        rgba(241, 245, 249, 0.92) !important;
}

.brand_products_grid .load_ad .ad_left_article {
    min-height: 100%;
    padding: 0.4rem !important;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%) !important;
}

.brand_products_grid .load_ad .ad_left_article .store_ad_name {
    margin-top: 0.6rem;
    font-size: 1rem;
}

.brand_products_grid .load_ad .store_stars {
    color: var(--brand-gold);
}

.brand_placeholder_ad {
    min-height: 100%;
}

.brand_loader_wrap {
    padding-top: 0.6rem;
}

.brand_empty_state {
    display: grid;
    justify-items: center;
    gap: 0.7rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    border: 1px dashed rgba(148, 163, 184, 0.34);
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.86);
}

.brand_empty_icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(15, 118, 110, 0.14));
    color: var(--brand-blue);
    font-size: 1.6rem;
}

.brand_empty_state h2 {
    margin: 0;
    color: var(--brand-text);
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.04em;
}

.brand_empty_state p {
    max-width: 620px;
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.78;
}

.brand_empty_actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.35rem;
}

@media (max-width: 1199px) {
    .brand_metric_card {
        flex-basis: calc(50% - 0.3rem);
    }
}

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

    .brand_hero_panel {
        max-width: none;
    }

    .brand_section_head {
        flex-direction: column;
    }

    .brand_section_actions {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .brand_page {
        margin-top: 1rem;
        padding: 0.7rem;
        border-radius: 24px;
    }

    .brand_hero,
    .brand_section {
        border-radius: 24px;
    }

    .brand_hero {
        padding: 1rem;
    }

    .brand_hero h1 {
        font-size: 2rem;
    }

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

    .brand_metric_card {
        flex-basis: 100%;
    }

    .brand_filter_strip,
    .brand_active_row,
    .brand_empty_actions,
    .brand_section_actions {
        flex-direction: column;
    }

    .brand_filter_link,
    .brand_action_link,
    .brand_clear_filters {
        width: 100%;
        justify-content: center;
    }

    .brand_products_grid .pdt_div,
    .brand_products_grid .load_ad,
    .brand_empty_state {
        border-radius: 22px;
    }
}
