:root {
    --brs-gold: #f0b028;
    --brs-gold-light: #f8d860;
    --brs-gold-deep: #906c20;
    --brs-bg: #000810;
    --brs-panel: #001018;
    --brs-panel-soft: #06141d;
    --brs-text: #f8f8f8;
    --brs-muted: #d0d0d0;
    --brs-green: #67cf62;
    --brs-red: #ff4545;
    --brs-line: rgba(208, 208, 208, .24);
}

body:has(.brs-commerce-page),
body:has(.ck-page) {
    color: var(--brs-text);
    background: radial-gradient(circle at 72% 8%, #051b29 0, var(--brs-bg) 42%, #00050a 100%);
}

body:has(.brs-commerce-page) .header,
body:has(.ck-page) .header {
    position: static;
    height: 90px;
    background: rgba(0, 8, 16, .96);
    border-bottom: 1px solid var(--brs-gold-deep);
}

body:has(.brs-commerce-page) .header-inner,
body:has(.ck-page) .header-inner {
    max-width: 1534px;
    padding: 0 24px;
    gap: 30px;
}

.shop-brand {
    position: relative;
    display: flex;
    align-items: center;
    width: 245px;
    height: 76px;
    overflow: hidden;
    flex: 0 0 auto;
}

.shop-brand-symbol,
.shop-brand-word { position: relative; overflow: hidden; flex: 0 0 auto; }
.shop-brand-symbol { width: 78px; height: 72px; }
.shop-brand-symbol img { position: absolute; left: -16px; top: -6px; width: 108px; height: 108px; max-width: none; }
.shop-brand-word { width: 148px; height: 61px; }
.shop-brand-word img { position: absolute; left: -56px; top: -159px; width: 220px; height: 220px; max-width: none; }

body:has(.brs-commerce-page) .nav-links,
body:has(.ck-page) .nav-links { order: 3; gap: 12px; }
body:has(.brs-commerce-page) .nav-link,
body:has(.ck-page) .nav-link { color: var(--brs-text); font-weight: 700; font-size: 16px; background: transparent; }
body:has(.brs-commerce-page) .nav-link:hover,
body:has(.brs-commerce-page) .nav-link.active,
body:has(.ck-page) .nav-link:hover,
body:has(.ck-page) .nav-link.active { color: var(--brs-gold); background: transparent; }

body:has(.brs-commerce-page) .search-box,
body:has(.ck-page) .search-box { order: 2; margin: 0; max-width: 550px; min-width: 330px; }
body:has(.brs-commerce-page) .search-input,
body:has(.ck-page) .search-input { height: 51px; padding-left: 48px; color: var(--brs-text); background: transparent; border: 1px solid var(--brs-gold-deep); font-size: 15px; }
body:has(.brs-commerce-page) .search-input:focus,
body:has(.ck-page) .search-input:focus { background: #020c13; border-color: var(--brs-gold); box-shadow: 0 0 0 3px rgba(240, 176, 40, .12); }
body:has(.brs-commerce-page) .search-icon,
body:has(.ck-page) .search-icon { left: 17px; color: var(--brs-text); }
body:has(.brs-commerce-page) .header-actions,
body:has(.ck-page) .header-actions { order: 4; gap: 9px; margin-left: auto; }
body:has(.brs-commerce-page) .header-btn,
body:has(.ck-page) .header-btn { color: var(--brs-text); background: transparent; }
.header-action-label { width: auto; gap: 8px; padding: 0 9px; font-size: 14px; }
.header-action-label:hover, .shop-cart-button:hover { color: var(--brs-gold) !important; background: transparent !important; }
.shop-help-icon { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; }
.shop-cart-button { margin-left: 2px; }
body:has(.brs-commerce-page) .badge-count,
body:has(.ck-page) .badge-count { color: #080808; background: var(--brs-gold); }

.brs-commerce-page { min-height: calc(100vh - 90px); padding: 14px 0 48px; }
.brs-cart-page { box-sizing: border-box; min-height: 790px; padding-top: 30px; padding-bottom: 20px; }
.brs-container { width: min(1534px, calc(100% - 48px)); margin: 0 auto; }
.brs-breadcrumb { display: flex; gap: 18px; align-items: center; margin: 0 0 7px; font-size: 15px; color: var(--brs-muted); }
.brs-breadcrumb a { color: var(--brs-gold); }
.brs-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.brs-page-heading h1 { margin: 0 0 4px; color: var(--brs-text); font: 700 42px/1.1 var(--font-heading); }
.brs-page-heading p { color: var(--brs-muted); font-size: 17px; }
.brs-cart-page .brs-page-heading { position: relative; }
.brs-cart-page .brs-reference { position: absolute; top: 4px; right: 448px; }
.brs-reference { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border: 1px solid var(--brs-gold); border-radius: 9px; color: var(--brs-muted); }
.brs-reference i { color: var(--brs-gold); font-style: normal; }
.brs-reference strong { color: var(--brs-text); }
.brs-alert { display: flex; gap: 11px; align-items: center; margin-bottom: 12px; padding: 12px 15px; border: 1px solid var(--brs-red); border-radius: 8px; color: #ffc6c6; background: rgba(255, 69, 69, .08); }
.brs-alert > span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; }
.brs-card { border: 1px solid var(--brs-gold); border-radius: 9px; color: var(--brs-text); background: linear-gradient(145deg, rgba(0, 16, 24, .98), rgba(2, 24, 35, .96)); }
.brs-cart-grid { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(330px, .85fr); gap: 30px; align-items: start; }
.brs-cart-main { display: grid; gap: 14px; min-width: 0; padding-top: 5px; }
.brs-cart-table { padding: 0 18px 13px; overflow: hidden; }
.brs-cart-head, .brs-cart-row { display: grid; grid-template-columns: minmax(350px, 2fr) .7fr .8fr .8fr .7fr; gap: 18px; align-items: center; }
.brs-cart-head { height: 48px; color: var(--brs-muted); border-bottom: 1px solid var(--brs-line); font-size: 13px; }
.brs-cart-row { min-height: 146px; padding: 11px 0; border-bottom: 1px solid var(--brs-line); }
.brs-product-cell { display: flex; gap: 18px; align-items: center; min-width: 0; }
.brs-product-cell > img { width: 148px; height: 112px; object-fit: cover; border: 1px solid var(--brs-gold); border-radius: 9px; background: #080d11; }
.brs-product-cell h2 { margin: 7px 0 2px; color: var(--brs-text); font-size: 18px; }
.brs-product-cell p { color: var(--brs-muted); }
.brs-product-badge { display: inline-flex; padding: 3px 7px; border-radius: 4px; color: #080808; background: var(--brs-gold); font-size: 11px; font-weight: 800; }
.brs-line-actions { display: flex; gap: 12px; align-items: center; margin-top: 15px; }
.brs-line-actions button { color: var(--brs-gold); font-size: 13px; }
.brs-line-actions button.danger { color: var(--brs-red); }
.brs-line-actions i { width: 1px; height: 14px; background: var(--brs-line); }
.brs-money { color: var(--brs-gold); font-size: 16px; }
.brs-stock { color: var(--brs-green); font-size: 16px; font-weight: 700; }
.brs-stock.warning { color: var(--brs-red); }
.brs-quantity { display: inline-grid; grid-template-columns: 40px 40px 40px; justify-self: start; height: 38px; overflow: hidden; border: 1px solid var(--brs-line); border-radius: 7px; }
.brs-quantity button, .brs-quantity span { display: grid; place-items: center; color: var(--brs-text); border-right: 1px solid var(--brs-line); }
.brs-quantity button:last-child { border-right: 0; }
.brs-quantity button:hover { color: var(--brs-gold); background: rgba(240, 176, 40, .09); }
.brs-remove-panel { display: grid; grid-template-columns: 68px minmax(180px, 1fr) minmax(230px, 1.2fr) 116px 144px; gap: 16px; align-items: center; margin: 0 2px; padding: 18px 20px; border: 1px solid var(--brs-gold); border-radius: 8px; background: rgba(0, 12, 19, .98); }
.brs-warning-symbol { display: grid; place-items: center; width: 54px; height: 48px; color: var(--brs-gold); border: 3px solid var(--brs-gold); border-radius: 50% 50% 44% 44%; font-size: 25px; font-weight: 800; }
.brs-remove-panel h2 { margin: 0 0 4px; font-size: 21px; }
.brs-remove-panel p { color: var(--brs-muted); }
.brs-remove-panel p strong { color: var(--brs-gold); }
.brs-remove-panel label { display: grid; gap: 6px; color: var(--brs-muted); font-size: 13px; }
.brs-remove-panel input { height: 40px; padding: 0 11px; color: var(--brs-text); background: transparent; border: 1px solid var(--brs-line); border-radius: 6px; }
.brs-cart-advisory { display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; align-items: center; min-height: 109px; padding: 18px 20px; border: 1px solid var(--brs-gold-deep); border-radius: 8px; color: var(--brs-muted); background: rgba(5, 15, 21, .92); }
.brs-cart-advisory p { margin-bottom: 5px; color: var(--brs-text); font-size: 15px; }
.brs-cart-advisory > div:last-child { display: grid; justify-items: end; gap: 12px; }
.brs-cart-advisory button { color: var(--brs-gold); font-weight: 700; }
.brs-cart-advisory small { color: var(--brs-muted); }
.brs-cart-summary { position: sticky; top: 14px; min-height: 673px; margin-top: -90px; padding: 22px 20px; }
.brs-summary-row { display: flex; justify-content: space-between; gap: 18px; padding: 9px 4px; color: var(--brs-muted); font-size: 16px; }
.brs-summary-row span { display: grid; gap: 3px; }
.brs-summary-row small { color: var(--brs-gold); font-size: 12px; }
.brs-summary-row strong { color: var(--brs-text); white-space: nowrap; }
.brs-summary-row.grand { margin-top: 14px; padding-top: 20px; border-top: 1px solid var(--brs-line); color: var(--brs-text); font-size: 20px; font-weight: 700; }
.brs-summary-row.grand strong { color: var(--brs-gold); font-size: 28px; }
.brs-summary-row.khr { color: var(--brs-gold); font-size: 14px; }
.brs-summary-row.khr strong { color: var(--brs-gold); }
.brs-quote-state { margin: 16px 0 18px; padding: 18px 4px 2px; border-top: 1px solid var(--brs-line); }
.brs-quote-state > span { color: var(--brs-muted); }
.brs-quote-state > div { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.brs-quote-state strong { color: var(--brs-green); }
.brs-quote-state div span { color: var(--brs-muted); font-size: 12px; }
.brs-primary-btn, .brs-secondary-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 14px; border: 1px solid var(--brs-gold); border-radius: 7px; font-weight: 800; text-align: center; }
.brs-primary-btn { color: #080808; background: linear-gradient(120deg, var(--brs-gold-light), var(--brs-gold)); }
.brs-primary-btn.compact, .brs-secondary-btn { min-height: 46px; margin: 0; }
.brs-secondary-btn { color: var(--brs-gold); background: transparent; }
.brs-primary-btn:disabled { opacity: .56; cursor: not-allowed; }
.brs-safe-note { display: flex; gap: 13px; margin: 22px 3px 0; padding-top: 18px; border-top: 1px solid var(--brs-line); color: var(--brs-muted); line-height: 1.6; }
.brs-safe-note > span { color: var(--brs-text); font-size: 27px; }
.brs-empty-cart { max-width: 720px; margin: 50px auto; padding: 50px; text-align: center; }
.brs-empty-cart > div { font-size: 48px; }
.brs-empty-cart h2 { margin: 12px 0 5px; font-size: 28px; }
.brs-empty-cart p { margin-bottom: 20px; color: var(--brs-muted); }
.brs-empty-cart .brs-primary-btn { max-width: 260px; margin: auto; }

.brs-marketplace { position: relative; padding-top: 22px; }
.brs-marketplace > .container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 350px; column-gap: 28px; width: min(1534px, calc(100% - 48px)); max-width: none; padding: 0; }
.brs-marketplace > .container > :not(.market-cart) { grid-column: 1; }
.market-heading h1 { color: var(--brs-text); font: 700 42px/1.1 var(--font-heading); }
.market-heading p { margin-top: 4px; color: var(--brs-muted); font-size: 17px; }
.market-tabs { display: flex; gap: 6px; margin-top: 18px; border-bottom: 1px solid var(--brs-line); }
.market-tabs a { padding: 10px 24px 12px; color: var(--brs-muted); font-size: 17px; font-weight: 700; }
.market-tabs a.active { color: var(--brs-gold); border-bottom: 3px solid var(--brs-gold); }
.brs-marketplace .search-container, .brs-marketplace .filter-bar { display: none; }
.market-select-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 19px 0 23px; }
.market-select-filters label { display: grid; padding: 7px 14px 8px; border: 1px solid var(--brs-line); border-radius: 7px; background: rgba(5, 17, 25, .75); }
.market-select-filters label > span { color: #a9adb0; font-size: 12px; }
.market-select-filters select { color: var(--brs-text); background: transparent; border: 0; outline: 0; font-size: 15px; }
.market-select-filters option { color: #111; }
.brs-marketplace .products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.brs-marketplace .product-card { overflow: hidden; color: var(--brs-text); border: 1px solid var(--brs-gold); border-radius: 10px; background: linear-gradient(145deg, rgba(0, 16, 24, .98), rgba(2, 24, 35, .96)); box-shadow: none; }
.brs-marketplace .product-img-wrap { height: 220px; background: #050c12; }
.brs-marketplace .product-img { width: 100%; height: 100%; object-fit: cover; }
.brs-marketplace .product-badges { inset: 11px auto auto 11px; }
.brs-marketplace .badge { color: #080808; background: var(--brs-gold); }
.brs-marketplace .quick-actions, .brs-marketplace .add-cart-overlay { display: none; }
.brs-marketplace .product-info { padding: 13px 14px 11px; color: var(--brs-text); background: transparent; }
.brs-marketplace .product-brand { display: none; }
.brs-marketplace .product-name { color: var(--brs-text); font-size: 17px; }
.brs-marketplace .product-rating { display: none; }
.brs-marketplace .product-price { margin: 6px 0 3px; }
.brs-marketplace .price-now { color: var(--brs-gold); font-size: 16px; }
.brs-marketplace .price-was { color: var(--brs-muted); }
.brs-marketplace .product-stock { display: block; min-height: 20px; color: var(--brs-gold); }
.market-product-meta { display: flex; gap: 13px; align-items: center; min-height: 25px; color: var(--brs-muted); font-size: 13px; }
.market-product-meta i { width: 1px; height: 14px; background: var(--brs-line); }
.market-product-meta b { color: var(--brs-gold); font-weight: 500; }
.market-campaign-card .product-info { min-height: 110px; }
.market-campaign-card .market-buy-now { color: var(--brs-gold); border: 1px solid var(--brs-gold); background: transparent; text-decoration: none; }
.brs-marketplace .market-buy-now { display: grid; place-items: center; width: calc(100% - 28px); min-height: 38px; margin: 0 14px 12px; color: #090d10; border: 0; border-radius: 6px; background: linear-gradient(90deg, #f6c43f, var(--brs-gold)); font-weight: 800; cursor: pointer; }
.brs-marketplace .market-buy-now:disabled { color: var(--brs-muted); background: #26323a; cursor: not-allowed; }
.brs-marketplace .social-board { border-top-color: var(--brs-line); background: transparent; }
.brs-marketplace .social-counts { color: var(--brs-muted); }
.brs-marketplace .social-actions { display: none; }
.brs-marketplace .social-action { color: var(--brs-text); }
.brs-marketplace .social-inline-comment:nth-of-type(n+2), .brs-marketplace .social-compose-inline { display: none !important; }
.brs-marketplace .scroll-sentinel { color: var(--brs-muted); }
.market-cart { position: sticky; top: 12px; grid-column: 2 !important; grid-row: 1 / span 8; align-self: start; min-height: 530px; padding: 21px 18px; }
.market-cart h2 { display: flex; gap: 10px; align-items: center; color: var(--brs-text); font-size: 18px; }
.market-cart-lines { margin-top: 14px; }
.market-cart-lines article { display: grid; grid-template-columns: 78px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--brs-line); }
.market-cart-lines img { width: 78px; height: 78px; object-fit: cover; border: 1px solid var(--brs-gold-deep); border-radius: 7px; }
.market-cart-lines article div { display: grid; gap: 3px; }
.market-cart-lines article div b { color: var(--brs-text); }
.market-cart-lines article strong { color: var(--brs-gold); }
.market-cart-lines article div span, .market-cart-lines > p { color: var(--brs-muted); font-size: 12px; }
.market-cart-lines article > span { align-self: end; color: var(--brs-text); font-size: 12px; }
.market-cart-total { display: flex; justify-content: space-between; margin-top: 12px; padding: 13px 0; color: var(--brs-text); font-size: 16px; }
.market-cart-total strong { color: var(--brs-gold); }
.market-cart > a { display: grid; place-items: center; height: 54px; border: 1px solid var(--brs-gold); border-radius: 7px; color: var(--brs-gold); font-size: 17px; font-weight: 800; }
.market-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 27px; padding-top: 23px; border-top: 1px solid var(--brs-line); }
.market-trust > span { display: grid; justify-items: center; color: var(--brs-text); font-size: 31px; text-align: center; }
.market-trust small { color: var(--brs-muted); font-size: 12px; font-weight: 400; line-height: 1.15; }

.brs-product-detail { padding: 17px 0 24px; }
.brs-product-detail > .container { width: min(1534px, calc(100% - 48px)); max-width: none; padding: 0; }
.brs-product-heading { display: flex; align-items: center; gap: 28px; margin: 8px 0 14px; }
.brs-product-heading h1 { color: var(--brs-text); font: 700 37px/1.1 var(--font-heading); }
.brs-product-heading > span { padding: 4px 13px; color: #080808; border-radius: 999px; background: var(--brs-gold); font-size: 12px; font-weight: 800; }
.brs-product-heading > b { color: var(--brs-green); font-size: 16px; }
.brs-product-detail .product-detail-grid { grid-template-columns: minmax(420px, 1fr) minmax(430px, 1.02fr); gap: 30px; align-items: start; }
.brs-product-detail .brs-product-grid-with-campaign { grid-template-columns: minmax(440px, 1.2fr) minmax(420px, 1.16fr) minmax(285px, .72fr); gap: 18px; }
.brs-product-detail .gallery-main { height: 312px; aspect-ratio: auto; overflow: hidden; border: 1px solid var(--brs-gold); border-radius: 10px; background: #050c12; }
.brs-product-detail .gallery-main-img { width: 100%; height: 100%; object-fit: cover; }
.brs-product-detail .gallery-thumbs { gap: 15px; margin-top: 9px; }
.brs-product-detail .gallery-thumb { flex: 1; width: auto; height: 79px; overflow: hidden; border: 1px solid var(--brs-gold); border-radius: 7px; }
.brs-product-detail .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.brs-product-purchase { display: flex; min-height: 404px; padding: 24px 28px; gap: 12px; border: 1px solid var(--brs-gold); border-radius: 9px; color: var(--brs-text); background: linear-gradient(145deg, rgba(0, 16, 24, .98), rgba(2, 24, 35, .96)); }
.brs-product-purchase .product-brand-label, .brs-product-purchase .product-title, .brs-product-purchase .product-rating-section { display: none; }
.brs-product-purchase .product-price-section { display: flex; gap: 24px; align-items: end; margin: 0; padding-bottom: 11px; border-bottom: 1px solid var(--brs-line); }
.brs-price-block { display: grid; gap: 3px; }
.brs-price-block small { color: var(--brs-muted); font-size: 12px; }
.brs-product-purchase .price-current { color: var(--brs-gold); font-size: 30px; }
.brs-product-purchase .price-original { color: var(--brs-muted); font-size: 20px; }
.brs-product-purchase .price-discount { padding: 7px 11px; color: var(--brs-gold); border: 1px solid var(--brs-gold); border-radius: 6px; }
.brs-product-stock { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin: 0; color: var(--brs-muted); }
.brs-product-stock span:first-child, .brs-product-stock b { color: var(--brs-gold); }
.brs-product-options { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0; }
.brs-product-options > div { display: grid; gap: 8px; }
.brs-product-options > div > span { color: var(--brs-muted); font-size: 13px; }
.brs-size-options, .brs-quantity-control { display: flex; gap: 7px; }
.brs-size-options button, .brs-quantity-control button, .brs-quantity-control b { display: grid; place-items: center; min-width: 39px; height: 38px; color: var(--brs-text); border: 1px solid var(--brs-line); border-radius: 5px; background: rgba(0, 8, 14, .7); }
.brs-size-options button.active { color: #080d10; border-color: var(--brs-gold); background: var(--brs-gold); font-weight: 800; }
.brs-quantity-control button { cursor: pointer; }
.brs-quantity-control button:disabled { opacity: .45; cursor: not-allowed; }
.brs-quantity-control b { min-width: 48px; }
.brs-product-stock b { flex-basis: 100%; color: var(--brs-green); }
.brs-product-purchase .product-description { color: var(--brs-muted); line-height: 1.55; }
.brs-product-purchase .product-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.brs-product-purchase .product-actions .btn { min-height: 52px; border: 1px solid var(--brs-gold); border-radius: 7px; }
.brs-product-purchase .brs-buy-now { color: #080808; background: linear-gradient(120deg, var(--brs-gold-light), var(--brs-gold)); }
.brs-product-purchase .btn-cart, .brs-product-purchase .btn-wishlist { color: var(--brs-gold); background: transparent; }
.brs-product-purchase .trust-signals { display: none; }
.brs-guest-purchase { margin-top: 12px; color: var(--brs-muted); }
.brs-product-facts { margin-top: 14px; min-height: 170px; color: var(--brs-text); }
.brs-product-facts nav { display: flex; gap: 30px; padding: 0 8px 12px; border-bottom: 1px solid var(--brs-line); color: var(--brs-muted); font-size: 12px; }
.brs-product-facts nav b { position: relative; color: var(--brs-gold); }
.brs-product-facts nav b::after { position: absolute; right: -7px; bottom: -13px; left: -7px; height: 2px; background: var(--brs-gold); content: ""; }
.brs-product-facts > p { margin: 14px 8px; color: var(--brs-muted); }
.brs-product-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.brs-product-facts dl div { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 6px 8px; }
.brs-product-facts dt { color: var(--brs-muted); }
.brs-product-facts dd { margin: 0; text-align: right; }
.brs-campaign-purchase-rule { min-height: 404px; padding: 21px 18px; color: var(--brs-text); border: 1px solid var(--brs-gold); border-radius: 9px; background: linear-gradient(145deg, rgba(0, 16, 24, .98), rgba(2, 24, 35, .96)); }
.brs-campaign-purchase-rule h2 { margin: 0 0 16px; color: var(--brs-gold); font-size: 16px; }
.brs-campaign-purchase-rule > span { display: inline-flex; margin-bottom: 7px; padding: 3px 8px; color: #080808; border-radius: 999px; background: var(--brs-gold); font-size: 10px; font-weight: 800; }
.brs-campaign-purchase-rule img { display: block; width: 100%; height: 144px; object-fit: cover; border: 1px solid var(--brs-gold-deep); border-radius: 6px; }
.brs-campaign-purchase-rule h3 { margin: 11px 0 5px; font-size: 16px; }
.brs-campaign-purchase-rule > b { color: var(--brs-gold); font-size: 13px; }
.brs-campaign-purchase-rule p { min-height: 80px; color: var(--brs-muted); font-size: 12px; line-height: 1.45; }
.brs-campaign-purchase-rule a { display: grid; place-items: center; min-height: 42px; color: var(--brs-gold); border: 1px solid var(--brs-gold); border-radius: 5px; font-weight: 800; }
.brs-product-social { grid-column: 2; margin-top: 0; overflow: hidden; border-left: 1px solid var(--brs-line); }
.brs-product-grid-with-campaign .brs-product-social { grid-column: 2; }
.brs-product-social .social-board { color: var(--brs-text); background: rgba(2, 20, 29, .95); }
.brs-product-detail + .section { color: var(--brs-text); background: var(--brs-bg); }

/* CR24-CW02 locked desktop hierarchy: each column keeps its own vertical flow. */
.brs-product-detail .brs-product-grid-with-campaign {
    grid-template-rows: 404px auto;
}
.brs-product-grid-with-campaign > .product-gallery {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.brs-product-grid-with-campaign > .brs-product-purchase {
    grid-column: 2;
    grid-row: 1;
    height: 404px;
    min-height: 404px;
    padding: 20px 28px;
    gap: 8px;
}
.brs-product-grid-with-campaign .brs-product-purchase .product-actions {
    margin-top: 4px;
}
.brs-product-grid-with-campaign .brs-product-purchase .product-actions .btn {
    min-height: 45px;
}
.brs-product-grid-with-campaign > .brs-campaign-purchase-rule {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    min-height: 510px;
    padding: 21px 26px;
}
.brs-product-grid-with-campaign > .brs-campaign-purchase-rule h2 { margin-bottom: 23px; }
.brs-product-grid-with-campaign > .brs-campaign-purchase-rule a {
    margin-top: auto;
}
.brs-product-grid-with-campaign > .brs-product-social {
    grid-column: 2;
    grid-row: 2;
    margin-top: 10px;
}
.brs-product-grid-with-campaign > .brs-product-social .social-board {
    padding: 0 28px 12px;
    border-top: 0;
    background: transparent;
}
.brs-product-grid-with-campaign > .brs-product-social .social-counts {
    display: none;
}
.brs-product-grid-with-campaign > .brs-product-social .social-actions {
    padding-top: 0;
    border-top: 0;
}
.brs-product-grid-with-campaign > .brs-product-social .social-action {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.brs-product-grid-with-campaign > .brs-product-social .social-action span {
    color: var(--brs-muted);
    font-weight: 500;
}
.brs-product-grid-with-campaign > .brs-product-social .social-compose-inline {
    grid-template-columns: 42px 1fr 55px;
    align-items: center;
}
.brs-product-grid-with-campaign > .brs-product-social .social-compose-inline::before {
    content: "G";
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--brs-gold);
    border: 1px solid var(--brs-gold-deep);
    border-radius: 50%;
}
.brs-product-grid-with-campaign > .brs-product-social .social-compose-inline button {
    position: relative;
    height: 42px;
    padding: 0;
    border: 0;
    color: transparent;
    background: transparent;
    font-size: 0;
}
.brs-product-grid-with-campaign > .brs-product-social .social-compose-inline button::after {
    content: "➤";
    color: var(--brs-gold);
    font-size: 27px;
}
.brs-product-grid-with-campaign > .brs-product-social::after {
    display: block;
    margin: 0 28px;
    color: var(--brs-muted);
    font-size: 12px;
    content: "Guest sign-in is only required to post social content, not to buy.";
}
.brs-product-gallery-share {
    min-height: 39px;
    padding: 10px 8px 0;
}
.brs-product-gallery-share button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    color: var(--brs-text);
    background: transparent;
    font: inherit;
    cursor: pointer;
}
.brs-product-gallery-share button > span:first-child {
    font-size: 23px;
    line-height: 1;
}
.brs-product-gallery-share b {
    color: var(--brs-muted);
    font-weight: 500;
}
.brs-product-grid-with-campaign .brs-product-brand-fact {
    display: none;
}
.brs-product-grid-with-campaign .brs-product-facts {
    margin-top: 40px;
}
.brs-product-detail:has(.brs-product-grid-with-campaign) {
    min-height: 0;
    padding-top: 21px;
    background: #00050b;
}
body:has(.brs-product-grid-with-campaign) {
    background: #00050b;
}
body:has(.brs-product-grid-with-campaign) .header {
    background: #00050b;
}
body:has(.brs-product-grid-with-campaign) .header-inner {
    width: 100%;
    max-width: none;
    padding: 0 34px;
    gap: 38px;
}
body:has(.brs-product-grid-with-campaign) .search-box {
    max-width: 519px;
}
.brs-product-detail:has(.brs-product-grid-with-campaign) > .container {
    width: min(1518px, calc(100% - 68px));
}
.brs-product-detail:has(.brs-product-grid-with-campaign) .brs-product-heading {
    margin-top: 12px;
    margin-bottom: 17px;
}
.brs-product-detail .brs-product-grid-with-campaign {
    grid-template-columns: minmax(440px, 555fr) minmax(420px, 567fr) minmax(285px, 340fr);
    gap: 28px;
}
.brs-product-grid-with-campaign > .brs-product-purchase,
.brs-product-grid-with-campaign > .brs-campaign-purchase-rule {
    background: linear-gradient(145deg, #040a0e, #050d12);
}
.brs-product-grid-with-campaign > .product-gallery {
    gap: 0;
}
.brs-product-grid-with-campaign .gallery-thumbs {
    padding: 0;
}
.brs-product-grid-with-campaign .brs-campaign-purchase-rule > span {
    align-self: flex-start;
}
.brs-product-grid-with-campaign .brs-product-facts dl div:nth-of-type(2) { order: 2; }
.brs-product-grid-with-campaign .brs-product-facts dl div:nth-of-type(3) { order: 1; }
.brs-product-grid-with-campaign .brs-product-facts dl div:nth-of-type(4) { order: 3; }
.brs-product-grid-with-campaign .brs-product-facts dl div:nth-of-type(5) { order: 4; }
.brs-product-grid-with-campaign .brs-product-facts dl div {
    grid-template-columns: 78px 1fr;
}
.brs-product-grid-with-campaign .brs-product-facts dl div:nth-of-type(even) {
    grid-template-columns: 92px 1fr;
}
.brs-product-grid-with-campaign .brs-product-facts dd {
    text-align: left;
}
.brs-product-grid-with-campaign > .brs-product-social .social-inline-comments {
    margin-top: 7px;
}
.brs-product-grid-with-campaign > .brs-product-social .social-compose-inline {
    margin-top: 7px;
}
.brs-product-grid-with-campaign > .brs-product-social .social-compose-inline textarea {
    box-sizing: border-box;
    height: 47px;
    min-height: 47px;
}

body:has(.brs-commerce-page) .footer,
body:has(.ck-page) .footer { margin-top: 0; padding: 0; color: var(--brs-text); background: rgba(0, 8, 16, .96); border-top: 1px solid var(--brs-gold-deep); }
.shop-trust-strip { display: flex; justify-content: center; align-items: center; gap: 33px; min-height: 109px; font-size: 17px; }
.shop-trust-marketplace, .shop-trust-checkout { display: none; }
body:has(.brs-marketplace) .shop-trust-default { display: none; }
body:has(.brs-marketplace) .shop-trust-marketplace { display: flex; }
body:has(.ck-page) .shop-trust-default { display: none; }
body:has(.ck-page) .shop-trust-checkout { display: flex; }
.shop-trust-strip span, .shop-trust-strip a { display: flex; align-items: center; gap: 12px; }
.shop-trust-strip > i { color: var(--brs-gold); font-style: normal; }
.trust-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--brs-text); border-radius: 50%; font-size: 18px; }

/* CR24-CW01 locked marketplace hierarchy and independent social preview rows. */
body:has(.brs-marketplace) {
    background: #00050b;
}
body:has(.brs-marketplace) .header {
    height: 107px;
    background: #00050b;
}
body:has(.brs-marketplace) .header-inner {
    width: 100%;
    max-width: none;
    padding: 0 29px;
    gap: 44px;
}
body:has(.brs-marketplace) .search-box {
    max-width: 500px;
}
.brs-marketplace {
    min-height: 0;
    padding-bottom: 16px;
    background: #00050b;
}
.brs-marketplace > .container {
    grid-template-columns: minmax(0, 1124fr) 362px;
    column-gap: 41px;
    width: min(1528px, calc(100% - 58px));
}
.brs-marketplace .market-select-filters {
    gap: 18px;
    margin-top: 14px;
}
.brs-marketplace .products-grid {
    grid-template-columns: minmax(0, 363fr) minmax(0, 360fr) minmax(0, 345fr);
    gap: 28px;
    align-items: start;
}
.brs-marketplace .product-card {
    display: grid;
    grid-template-rows: 220px auto auto auto auto;
    align-content: start;
    background: linear-gradient(145deg, #040a0e, #050d12);
}
.brs-marketplace .product-img-wrap { grid-row: 1; }
.brs-marketplace .product-info { grid-row: 2; }
.brs-marketplace .social-board { display: contents; }
.brs-marketplace .social-counts { display: none; }
.brs-marketplace .social-actions {
    display: grid;
    grid-row: 3;
    padding: 3px 14px;
    border-top: 1px solid var(--brs-line);
}
.brs-marketplace .social-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 4px;
    font-size: 0;
    font-weight: 500;
}
.brs-marketplace .social-action span { color: var(--brs-muted); font-size: 14px; }
.brs-marketplace .social-action:nth-child(1)::before { content: "♡"; font-size: 25px; }
.brs-marketplace .social-action:nth-child(2)::before { content: "▢"; font-size: 20px; }
.brs-marketplace .social-action:nth-child(3)::before { content: "⌁"; font-size: 24px; }
.brs-marketplace .market-buy-now { grid-row: 4; min-height: 44px; }
.brs-marketplace .social-inline-comments {
    grid-row: 5;
    margin: 0;
    padding: 12px 14px 19px;
    border-top: 1px solid var(--brs-line);
}
.brs-marketplace .social-inline-comment p { margin: 2px 0; }
.brs-marketplace .social-inline-comment .comment-meta { color: var(--brs-gold); }
.brs-marketplace .reaction-tray { display: none !important; }
.brs-marketplace .market-cart {
    min-height: 617px;
    margin-top: 12px;
    background: linear-gradient(145deg, #040a0e, #050d12);
}
.brs-marketplace .market-cart-lines article { padding-top: 19px; padding-bottom: 19px; }
.brs-marketplace .market-cart > a { margin-top: 18px; }

/* CR24-CW04 locked checkout: progress remains over the main flow while payment controls stay safe. */
body:has(.ck-page) {
    background: #00050b;
}
body:has(.ck-page) .header {
    background: #00050b;
}
body:has(.ck-page) .header-inner {
    width: 100%;
    max-width: none;
    padding: 0 28px;
}
body:has(.ck-page) .search-box { max-width: 568px; }
.ck-page {
    min-height: 0;
    padding-bottom: 17px;
    background: #00050b;
}
.ck-page .brs-container {
    width: min(1528px, calc(100% - 58px));
}
.ck-heading {
    position: relative;
    margin-bottom: 5px;
}
.ck-heading .ck-progress {
    position: absolute;
    top: -15px;
    left: 523px;
    width: 528px;
}
.ck-layout {
    grid-template-columns: minmax(0, 1032fr) 463px;
    gap: 32px;
}
.ck-main { gap: 15px; }
.ck-side { margin-top: -92px; }
.ck-card { background: linear-gradient(145deg, #040a0e, #050d12); }
.ck-order { padding-bottom: 4px; }
.ck-order-row { min-height: 43px; }
.ck-order-row img { width: 89px; height: 40px; }
.ck-quote { height: 216px; }
.ck-payment {
    display: grid;
    grid-template-columns: 384px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 20px;
    height: 222px;
    margin-top: -3px;
}
.ck-payment > h2 { grid-column: 1; grid-row: 1; }
.ck-payment-grid { display: contents; }
.ck-methods { grid-column: 1; grid-row: 2; }
.ck-provider { grid-column: 2; grid-row: 1 / span 2; }
.ck-provider-body { grid-template-columns: 140px minmax(0, 1fr); gap: 100px; margin-top: 11px; }
.ck-qr { width: 140px; height: 140px; }
.ck-provider-details > div { position: relative; left: -87px; width: calc(100% + 87px); }
.ck-secure { margin-top: -5px; }
.ck-before .brs-primary-btn:disabled { opacity: 1; }
.ck-before { min-height: 416px; }
.ck-dont-close { padding-top: 14px !important; padding-bottom: 14px !important; }
.ck-dont-close { min-height: 94px; }
.ck-pending { position: relative; top: 3px; height: 204px; }

@media (max-width: 1180px) {
    .shop-brand { width: 80px; }
    .shop-brand-word { display: none; }
    body:has(.brs-commerce-page) .search-box, body:has(.ck-page) .search-box { min-width: 240px; }
    .brs-cart-grid { grid-template-columns: 1fr; }
    .brs-cart-summary { position: static; min-height: 0; margin-top: 0; }
    .brs-cart-page .brs-reference { position: static; }
    .brs-cart-head, .brs-cart-row { grid-template-columns: minmax(300px, 2fr) .7fr .8fr .8fr; }
    .brs-cart-head span:last-child, .brs-cart-row > strong:last-child { display: none; }
    .brs-remove-panel { grid-template-columns: 60px 1fr 1fr; }
    .brs-remove-panel button { min-width: 0; }
    .brs-marketplace > .container { grid-template-columns: 1fr; }
    .brs-marketplace > .container > :not(.market-cart), .market-cart { grid-column: 1 !important; }
    .market-cart { position: static; grid-row: auto; margin-top: 24px; min-height: 0; }
    .brs-product-detail .product-detail-grid, .brs-product-detail .brs-product-grid-with-campaign { grid-template-columns: 1fr; }
	.brs-product-detail .brs-product-grid-with-campaign { grid-template-rows: auto; }
	.brs-product-grid-with-campaign > .product-gallery,
	.brs-product-grid-with-campaign > .brs-product-purchase,
	.brs-product-grid-with-campaign > .brs-campaign-purchase-rule,
	.brs-product-grid-with-campaign > .brs-product-social { grid-column: 1; grid-row: auto; }
	.brs-product-grid-with-campaign > .brs-product-purchase { height: auto; }
	.brs-product-grid-with-campaign > .brs-product-social { margin-top: 0; }
    .brs-product-social { width: 100%; }
	.brs-product-social, .brs-product-grid-with-campaign .brs-product-social { grid-column: 1; }
}

@media (max-width: 800px) {
    body:has(.brs-commerce-page) .header, body:has(.ck-page) .header { height: auto; min-height: 72px; }
    body:has(.brs-commerce-page) .header-inner, body:has(.ck-page) .header-inner { flex-wrap: wrap; padding: 8px 14px; }
    body:has(.brs-commerce-page) .search-box, body:has(.ck-page) .search-box { order: 5; flex-basis: 100%; max-width: none; }
    .header-action-label > span:last-of-type { display: none; }
    .brs-container { width: min(100% - 24px, 1534px); }
    .brs-page-heading { align-items: flex-start; flex-direction: column; }
    .brs-page-heading h1 { font-size: 34px; }
    .brs-cart-head { display: none; }
    .brs-cart-row { grid-template-columns: 1fr auto; gap: 12px; }
    .brs-product-cell { grid-column: 1 / -1; }
    .brs-product-cell > img { width: 100px; height: 88px; }
    .brs-stock { display: none; }
    .brs-remove-panel { grid-template-columns: 52px 1fr; }
    .brs-remove-panel label, .brs-remove-panel button { grid-column: 1 / -1; }
    .brs-cart-advisory { grid-template-columns: 52px 1fr; }
    .brs-cart-advisory > div:last-child { grid-column: 1 / -1; justify-items: start; }
    .shop-trust-strip { flex-wrap: wrap; gap: 16px; padding: 22px; }
    .market-select-filters, .brs-marketplace .products-grid { grid-template-columns: 1fr; }
}
