/* ============================================================
   PakAutoMart APEX — stock layout dark bridge
   Loaded in frontend/layouts/app.blade.php AFTER the old CSS.
   Makes product/cart/checkout/blog/seller pages match the dark theme.
   ============================================================ */

:root {
  --apx-bg: #0a0a0c;
  --apx-surface: #141418;
  --apx-surface-2: #1b1b21;
  --apx-line: #26262e;
  --apx-red: #e10600;
  --apx-text: #f4f4f6;
  --apx-muted: #a7a7b3;
  --apx-faint: #6d6d78;
}

/* page base */
body { background: var(--apx-bg) !important; color: var(--apx-text); }
.bg-white { background-color: var(--apx-surface) !important; }
.bg-light, .bg-gray-100 { background-color: var(--apx-bg) !important; }
.text-dark { color: var(--apx-text) !important; }
.text-muted { color: var(--apx-muted) !important; }
.border, .border-top, .border-bottom { border-color: var(--apx-line) !important; }
.card { background: var(--apx-surface); border: 1px solid var(--apx-line); color: var(--apx-text); }
.card-header, .card-footer { background: var(--apx-surface-2); border-color: var(--apx-line); }

/* header / nav (stock) */
.top-navbar, .header-wrapper { background: #0a0a0c !important; border-bottom: 1px solid var(--apx-line); }
.search-input-box input, .search-input-box select { background: var(--apx-surface) !important; color: var(--apx-text) !important; border-color: var(--apx-line) !important; }

/* product cards (stock listing) */
.aiz-card-box, .product-card { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; }
.product-title, .product-card a { color: var(--apx-text) !important; }
.price, .text-primary { color: #ff4d47 !important; }
.badge { background: var(--apx-red); }

/* product detail */
.product-details-area, .product-description { color: #cfcfd8; }
.nav-tabs .nav-link { color: var(--apx-muted); }
.nav-tabs .nav-link.active { background: var(--apx-surface-2); color: #fff; border-color: var(--apx-line); }
.table { color: var(--apx-text); }
.table td, .table th { border-color: var(--apx-line); }

/* forms */
.form-control { background: #0a0a0d !important; border: 1px solid var(--apx-line) !important; color: var(--apx-text) !important; }
.form-control:focus { border-color: var(--apx-red) !important; box-shadow: 0 0 0 3px rgba(225,6,0,0.15); }
.form-control::placeholder { color: var(--apx-faint); }
select.form-control option { background: #141418; }
.input-group-text { background: var(--apx-surface-2); border-color: var(--apx-line); color: var(--apx-muted); }
label { color: var(--apx-muted); }

/* buttons */
.btn-primary { background: linear-gradient(180deg, #f41a14, var(--apx-red) 60%, #a80400) !important; border: none !important; font-weight: 800; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-soft-primary { background: rgba(225,6,0,0.12) !important; color: #ff8a86 !important; }
.btn-outline-dark, .btn-light { background: var(--apx-surface-2) !important; border-color: var(--apx-line) !important; color: var(--apx-text) !important; }

/* cart / checkout */
.cart-item, .checkout-summary { background: var(--apx-surface); border: 1px solid var(--apx-line); }
.breadcrumb { background: transparent; }
.breadcrumb-item a { color: var(--apx-muted); }
.breadcrumb-item.active { color: var(--apx-text); }
.alert-info { background: rgba(56,189,248,0.1); border-color: rgba(56,189,248,0.3); color: #7dd3fc; }
.alert-success { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.3); color: #7ded9f; }
.alert-danger { background: rgba(225,6,0,0.1); border-color: rgba(225,6,0,0.3); color: #ff8a86; }

/* footer (stock) */
.footer-wrapper, .site-footer { background: #060607 !important; border-top: 1px solid var(--apx-line); }
.footer-wrapper a, .site-footer a { color: var(--apx-muted); }
.footer-wrapper h4, .site-footer h4 { color: #fff; }

/* modals */
.modal-content { background: var(--apx-surface); border: 1px solid var(--apx-line); color: var(--apx-text); }
.modal-header, .modal-footer { border-color: var(--apx-line); }
.close { color: #fff; }

/* pagination */
.page-link { background: var(--apx-surface); border-color: var(--apx-line); color: var(--apx-text); }
.page-item.active .page-link { background: var(--apx-red); border-color: var(--apx-red); }

/* misc stock widgets */
.slick-dots li button:before { color: var(--apx-faint); }
.slick-dots li.slick-active button:before { color: var(--apx-red); }
.dropdown-menu { background: var(--apx-surface-2); border: 1px solid var(--apx-line); }
.dropdown-item { color: var(--apx-text); }
.dropdown-item:hover { background: var(--apx-surface); color: #fff; }
.list-group-item { background: var(--apx-surface); border-color: var(--apx-line); color: var(--apx-text); }

/* ---------- gloss accents (approved v2) ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: -25%; bottom: -25%; width: 35%; left: -45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after { animation: apx-sheen 0.85s ease; }
@keyframes apx-sheen { 0% { left: -45%; } 100% { left: 135%; } }
.auth-form, .login-form, .register-form {
  background: linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012) 60%), #141418 !important;
  border: 1px solid #26262e !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 50px rgba(0,0,0,0.55) !important;
}

/* Brand detail hero — logo + name + description on brand listing pages */
.apx-brand-hero {
    background: linear-gradient(180deg, #101014 0%, #0b0b0d 100%);
    border-bottom: 1px solid rgba(225, 6, 0, 0.25);
    padding: 28px 0 24px;
    margin-bottom: 18px;
}
.apx-brand-hero__inner {
    display: flex;
    align-items: center;
    gap: 22px;
}
.apx-brand-hero__logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}
.apx-brand-hero h1 {
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.apx-brand-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    max-width: 720px;
}
@media (max-width: 576px) {
    .apx-brand-hero__inner { gap: 14px; }
    .apx-brand-hero__logo { width: 72px; height: 72px; padding: 8px; }
    .apx-brand-hero h1 { font-size: 1.4rem; }
}

/* ============================================================
   PakAutoMart APEX — full stock-layout dark unification (v2)
   Extends the bridge above. Covers every frontend.layouts.app
   page: search, product, cart, checkout, blog, shops, compare,
   flash deals, coupons, custom pages, policies, user panel.
   Golden rule: CSS only — no content changes.
   ============================================================ */

/* ---------- 1. base typography ---------- */
body { font-family: 'Public Sans', system-ui, sans-serif; }
h1, h2, h3, h4, h5, h6 { color: #fff !important; }
p { color: #cfcfd8; }
a { color: #ff6b66; }
a:hover { color: #ff8a86; }
strong, b { color: #f4f4f6; }
small, .small { color: var(--apx-muted); }
hr { border-color: var(--apx-line); }
.text-secondary { color: var(--apx-muted) !important; }
.text-body { color: #cfcfd8 !important; }
.bg-secondary { background: var(--apx-surface-2) !important; }
.shadow-sm, .shadow, .shadow-lg { box-shadow: 0 10px 30px rgba(0,0,0,.5) !important; }
.rounded, .rounded-lg { border-radius: 12px !important; }

/* kill inline white backgrounds (header theme-color inline styles) */
[style*="background-color: #ffffff"], [style*="background-color:#ffffff"],
[style*="background: #ffffff"], [style*="background:#ffffff"],
[style*="background-color: #fff"], [style*="background:#fff"] {
  background-color: #0a0a0c !important; background-image: none !important;
}

/* ---------- 2. stock header ---------- */
.aiz-main-wrapper { background: var(--apx-bg) !important; }
.top-navbar { background: #060607 !important; border-bottom: 1px solid var(--apx-line); }
.top-navbar a, .top-navbar span { color: var(--apx-muted) !important; }
header.sticky-top { background: #0a0a0c !important; border-bottom: 1px solid var(--apx-line); }
.front-header-search { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 10px; }
.front-header-search input { background: transparent !important; color: var(--apx-text) !important; }
.front-header-search input::placeholder { color: var(--apx-faint); }
.header-menu a, .hov-text-primary { color: var(--apx-text) !important; }
.header-menu a:hover { color: var(--apx-red) !important; }
.nav-cart-box .badge, .count-badge { background: var(--apx-red) !important; color: #fff !important; }

/* ---------- 3. filter sidebar (search / listing) ---------- */
.aiz-filter-sidebar, .collapse-sidebar-wrap, .sidebar-xl {
  background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px;
}
.aiz-accordion-wrap { border-color: var(--apx-line) !important; }
.aiz-accordion-heading { color: var(--apx-text) !important; background: transparent !important; }
.aiz-accordion-panel { background: transparent !important; }
.aiz-checkbox .aiz-square-check, .aiz-radio .aiz-square-check {
  border-color: var(--apx-line) !important; background: #0a0a0d !important;
}
.aiz-checkbox input:checked ~ .aiz-square-check { background: var(--apx-red) !important; border-color: var(--apx-red) !important; }
.aiz-checkbox-list label, .filter-section label { color: #cfcfd8 !important; }
.aiz-range-slider .noUi-target { background: #0a0a0d !important; border-color: var(--apx-line) !important; }
.aiz-range-slider .noUi-connect { background: var(--apx-red) !important; }
.aiz-range-slider .noUi-handle { background: var(--apx-surface-2) !important; border-color: var(--apx-red) !important; }
.border-bottom-listing-sidebar { border-color: var(--apx-line) !important; }
.btn-col-filter { background: var(--apx-surface-2) !important; border-color: var(--apx-line) !important; color: var(--apx-text) !important; }

/* sort bar + toolbar */
.aiz-selectpicker, .sort-by-box { background: var(--apx-surface) !important; border-color: var(--apx-line) !important; color: var(--apx-text) !important; }

/* ---------- 4. product cards (all listings) ---------- */
.aiz-card-box { border-radius: 12px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.aiz-card-box:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 0 1px rgba(225,6,0,.25) !important; }
.aiz-card-box .product-title a { color: #f4f4f6 !important; }
.aiz-card-box .price, .product-price { color: #ff4d47 !important; font-weight: 800; }
.old-price, .text-strike { color: var(--apx-faint) !important; text-decoration: line-through; }
.aiz-card-box .rating i, .rating i { color: #ffb800 !important; }
.badge-new, .badge.badge-success { background: #16a34a !important; }
.badge-discount, .badge.badge-danger { background: var(--apx-red) !important; }

/* ---------- 5. product detail ---------- */
.product-gallery-thumb .thumb { border: 1px solid var(--apx-line) !important; background: var(--apx-surface) !important; }
.product-gallery-thumb .thumb.active { border-color: var(--apx-red) !important; }
.product-detail-price { color: #ff4d47 !important; }
.product-quantity .input-group { border: 1px solid var(--apx-line); border-radius: 8px; overflow: hidden; }
.product-quantity .btn { background: var(--apx-surface-2) !important; color: var(--apx-text) !important; border: none !important; }
.product-quantity input { background: #0a0a0d !important; color: #fff !important; border: none !important; text-align: center; }
.nav-tabs { border-color: var(--apx-line) !important; }
.nav-tabs .nav-link { border: 1px solid transparent; border-radius: 8px 8px 0 0; }
.nav-tabs .nav-link:hover { color: #fff; border-color: var(--apx-line); }
.tab-content { background: var(--apx-surface); border: 1px solid var(--apx-line); border-top: none; border-radius: 0 0 12px 12px; padding: 20px; color: #cfcfd8; }
.review-box { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 12px; }
.seller-info-box { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 12px; }

/* ---------- 6. cart ---------- */
.cart-product-image { border: 1px solid var(--apx-line); border-radius: 8px; background: var(--apx-surface); }
.cart-item-row { border-bottom: 1px solid var(--apx-line) !important; }
.cart-summary, .checkout-summary { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; }
.cart-summary .total { color: #ff4d47 !important; font-weight: 800; }
.empty-box { background: var(--apx-surface); border: 1px dashed var(--apx-line); border-radius: 16px; color: var(--apx-muted); }

/* ---------- 7. checkout ---------- */
.address-card { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; }
.address-card.selected { border-color: var(--apx-red) !important; box-shadow: 0 0 0 2px rgba(225,6,0,.25); }
.payment-option { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; }
.payment-option.active { border-color: var(--apx-red) !important; }
.checkout-steps .step { color: var(--apx-muted); }
.checkout-steps .step.active { color: #fff; }
.checkout-steps .step.active .step-number { background: var(--apx-red); border-color: var(--apx-red); color: #fff; }

/* ---------- 8. blog ---------- */
.blog-card { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; overflow: hidden; }
.blog-card .card-title a { color: #fff !important; }
.blog-card .card-text { color: var(--apx-muted); }
.blog-sidebar .widget { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 12px; }
.blog-sidebar .widget-title { color: #fff; border-color: var(--apx-line) !important; }
.blog-details-content { color: #cfcfd8; }
.blog-details-content h1, .blog-details-content h2, .blog-details-content h3 { color: #fff; }
.blog-details-content img { border-radius: 12px; border: 1px solid var(--apx-line); }
.blog-details-content blockquote { border-left: 3px solid var(--apx-red); background: var(--apx-surface); padding: 12px 18px; border-radius: 0 8px 8px 0; color: #e8e8ee; }
.aiz-share a { background: var(--apx-surface-2) !important; border: 1px solid var(--apx-line) !important; color: var(--apx-text) !important; }

/* ---------- 9. shop pages ---------- */
.shop-banner { border-radius: 0 0 16px 16px; }
.shop-info-card { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; }
.shop-sidebar { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 12px; }
.shop-sidebar a { color: #cfcfd8; }
.shop-sidebar a:hover, .shop-sidebar a.active { color: var(--apx-red); }

/* ---------- 10. compare ---------- */
.compare-table { background: var(--apx-surface); border-radius: 12px; overflow: hidden; }
.compare-table th { background: var(--apx-surface-2) !important; color: #fff !important; border-color: var(--apx-line) !important; }
.compare-table td { border-color: var(--apx-line) !important; color: #cfcfd8; }
.compare-table .price { color: #ff4d47 !important; font-weight: 800; }

/* ---------- 11. flash deals / today's deal ---------- */
.flash-deal-card { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; }
.countdown-box { background: #0a0a0d !important; border: 1px solid var(--apx-line) !important; border-radius: 8px; color: #fff !important; }
.countdown-box span { color: #ff4d47 !important; }
.deal-progress .progress { background: #0a0a0d !important; }
.deal-progress .progress-bar { background: linear-gradient(90deg, #f41a14, var(--apx-red)) !important; }

/* ---------- 12. coupons ---------- */
.coupon-card { background: linear-gradient(135deg, rgba(225,6,0,.08), transparent 60%), var(--apx-surface) !important; border: 1px dashed rgba(225,6,0,.5) !important; border-radius: 12px; }
.coupon-code { background: #0a0a0d; border: 1px dashed var(--apx-line); color: #ff8a86; border-radius: 8px; }

/* ---------- 13. custom pages & policies ---------- */
.custom-page-content, .policy-content { color: #cfcfd8; }
.custom-page-content h1, .custom-page-content h2, .custom-page-content h3,
.policy-content h1, .policy-content h2, .policy-content h3 { color: #fff; }
.custom-page-content a, .policy-content a { color: #ff6b66; }
.custom-page-content table, .policy-content table { color: #cfcfd8; }
.custom-page-content table td, .custom-page-content table th,
.policy-content table td, .policy-content table th { border-color: var(--apx-line); }
.custom-page-content ul li, .policy-content ul li { color: #cfcfd8; }

/* ---------- 14. payment select & order confirmed ---------- */
.payment-select-option { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; }
.payment-select-option:hover, .payment-select-option.selected { border-color: var(--apx-red) !important; }
.order-confirmed-box { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 16px; }
.order-confirmed-box .success-icon { background: rgba(22,163,74,.15); border: 2px solid #16a34a; color: #16a34a; }

/* ---------- 15. user panel (dashboard) ---------- */
.user-panel-sidebar { background: var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; }
.user-panel-sidebar .nav-link { color: var(--apx-muted) !important; border-radius: 8px; }
.user-panel-sidebar .nav-link:hover { color: #fff !important; background: var(--apx-surface-2) !important; }
.user-panel-sidebar .nav-link.active { color: #fff !important; background: rgba(225,6,0,.15) !important; border-left: 3px solid var(--apx-red); }
.dashboard-stat-card { background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 60%), var(--apx-surface) !important; border: 1px solid var(--apx-line) !important; border-radius: 12px; }
.dashboard-stat-card .stat-number { color: #fff; }
.dashboard-stat-card .stat-icon { background: rgba(225,6,0,.12); color: #ff6b66; }

/* ---------- 16. tables (orders, wallet, packages) ---------- */
.table thead th { background: var(--apx-surface-2) !important; color: #fff !important; border-color: var(--apx-line) !important; }
.table tbody tr { background: transparent !important; }
.table tbody tr:hover { background: rgba(255,255,255,.02) !important; }
.table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,.02) !important; }
.badge-warning { background: rgba(255,184,0,.15) !important; color: #ffb800 !important; }
.badge-info { background: rgba(56,189,248,.15) !important; color: #7dd3fc !important; }

/* ---------- 17. forms & widgets ---------- */
.select2-container--default .select2-selection--single { background: #0a0a0d !important; border-color: var(--apx-line) !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--apx-text) !important; }
.select2-dropdown { background: var(--apx-surface-2) !important; border-color: var(--apx-line) !important; }
.select2-results__option { color: var(--apx-text) !important; }
.select2-results__option--highlighted { background: var(--apx-red) !important; }
.aiz-date-range, .datepicker { background: var(--apx-surface) !important; border-color: var(--apx-line) !important; color: var(--apx-text) !important; }
.custom-control-label { color: #cfcfd8 !important; }
.custom-control-label::before { background: #0a0a0d !important; border-color: var(--apx-line) !important; }
.custom-control-input:checked ~ .custom-control-label::before { background: var(--apx-red) !important; border-color: var(--apx-red) !important; }
textarea.form-control { background: #0a0a0d !important; }

/* file upload / dropzone */
.dropzone, .aiz-uploader { background: var(--apx-surface) !important; border: 1px dashed var(--apx-line) !important; border-radius: 12px; color: var(--apx-muted); }

/* ---------- 18. misc stock components ---------- */
.tooltip-inner { background: var(--apx-surface-2) !important; color: #fff !important; border: 1px solid var(--apx-line); }
.popover { background: var(--apx-surface-2) !important; border-color: var(--apx-line) !important; }
.popover-body { color: var(--apx-text) !important; }
.swal2-popup { background: var(--apx-surface) !important; color: var(--apx-text) !important; }
.swal2-title { color: #fff !important; }
.progress { background: #0a0a0d !important; }
.jumbotron { background: var(--apx-surface) !important; border: 1px solid var(--apx-line); color: var(--apx-text); }
.well { background: var(--apx-surface) !important; border-color: var(--apx-line) !important; }

/* ticket / conversation */
.ticket-message { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 12px; }
.ticket-message.admin { background: rgba(225,6,0,.06); border-color: rgba(225,6,0,.3); }

/* wallet */
.wallet-card { background: linear-gradient(135deg, #1a0505, #0a0a0c 70%) !important; border: 1px solid rgba(225,6,0,.35) !important; border-radius: 16px; }
.wallet-card .balance { color: #fff; }

/* ---------- 19. stock footer polish ---------- */
.footer-widget { background: transparent !important; }
.footer-widget a { color: var(--apx-muted) !important; }
.footer-widget a:hover { color: #ff6b66 !important; }
.footer-widget .widget-title, .footer-widget h4 { color: #fff !important; }
.copyright-bar { background: #060607 !important; border-top: 1px solid var(--apx-line); color: var(--apx-faint); }

/* ---------- 20. mobile ---------- */
@media (max-width: 768px) {
  .aiz-filter-sidebar { border-radius: 0; }
  .product-quantity .input-group { max-width: 140px; }
  .compare-table { font-size: .82rem; }
}

/* === CONTRAST FIXES 2026-10-09 === */
/* Search page: white category pill bars */
.aiz-filter-sidebar .border-bottom-listing-sidebar,
.aiz-filter-sidebar li a,
.filter-sidebar .cat-pill, .category-pills a {
    background: #1a1a1e !important;
    color: #e8e8ea !important;
}
/* Blog: white search input */
.blog-sidebar input[type="text"], .blog-search input,
.widget input.form-control {
    background: #141418 !important;
    color: #f0f0f2 !important;
    border: 1px solid #2a2a30 !important;
}
/* About/custom pages: dark-on-dark list text */
.apx-page-content ul li, .custom-page-content ul li,
.page-content ul li {
    color: #d8d8dc !important;
}

/* Sidebar white bars — kill bg-white in filter context */
.aiz-filter-sidebar .bg-white,
.sidebar-xl .bg-white.border-bottom-listing-sidebar {
    background: #1a1a1e !important;
    background-color: #1a1a1e !important;
}
.aiz-filter-sidebar .bg-white a,
.sidebar-xl .bg-white a {
    color: #e8e8ea !important;
}
/* Sort-by select unstyled */
.sort-by select, select[name="sort_by"], .aiz-select-sort {
    background: #141418 !important;
    color: #f0f0f2 !important;
    border: 1px solid #2a2a30 !important;
}

/* Brand company profile section */
.apx-brand-profile { padding: 34px 0 44px; }
.apx-brand-profile__card { background: linear-gradient(160deg, #141419 0%, #0e0e12 100%); border: 1px solid rgba(225,6,0,.18); border-radius: 18px; padding: 30px 32px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.apx-brand-profile__card h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 10px 0 14px; text-transform: uppercase; letter-spacing: .04em; }
.apx-brand-profile__card h2::after { content: ""; display: block; width: 56px; height: 3px; background: #e10600; border-radius: 2px; margin-top: 10px; }
.apx-brand-profile__card > p { color: rgba(255,255,255,.78); font-size: .98rem; line-height: 1.75; margin: 0 0 20px; }
.apx-brand-profile__cta .apx-btn { display: inline-block; }

/* ============ BEAUTIFUL BRAND HERO ============ */
.apx-bhero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 15% -10%, rgba(225,6,0,.16), transparent 60%), radial-gradient(900px 420px at 90% 110%, rgba(225,6,0,.1), transparent 60%), linear-gradient(180deg, #101014 0%, #0b0b0d 100%); border-bottom: 1px solid rgba(225,6,0,.22); padding: 26px 0 60px; margin-bottom: 8px; }
.apx-bhero__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.apx-bhero__orb--1 { width: 340px; height: 340px; background: rgba(225,6,0,.35); top: -120px; left: -80px; animation: apxFloat 9s ease-in-out infinite; }
.apx-bhero__orb--2 { width: 260px; height: 260px; background: rgba(255,255,255,.07); bottom: -100px; right: 6%; animation: apxFloat 12s ease-in-out infinite reverse; }
@keyframes apxFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
.apx-bhero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(700px 340px at 30% 20%, #000 30%, transparent 75%); pointer-events: none; }
.apx-bhero__inner { position: relative; z-index: 2; }
.apx-bhero__crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.apx-bhero__crumbs a { color: rgba(255,255,255,.65); text-decoration: none; }
.apx-bhero__crumbs a:hover { color: #e10600; }
.apx-bhero__crumbs i { font-size: 10px; opacity: .6; }
.apx-bhero__crumbs span { color: #fff; font-weight: 600; }
.apx-bhero__main { display: flex; align-items: center; gap: 30px; }
.apx-bhero__logo-wrap { position: relative; flex-shrink: 0; }
.apx-bhero__logo-glow { position: absolute; inset: -14px; border-radius: 26px; background: radial-gradient(circle, rgba(225,6,0,.35), transparent 70%); filter: blur(10px); animation: apxPulse 3.2s ease-in-out infinite; }
@keyframes apxPulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.05); } }
.apx-bhero__logo { position: relative; width: 128px; height: 128px; object-fit: contain; background: linear-gradient(150deg, #ffffff, #e8e8ec); border-radius: 22px; padding: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.7); }
.apx-bhero__copy { min-width: 0; }
.apx-kicker--red { color: #ff3b30 !important; }
.apx-bhero__copy h1 { color: #fff; font-size: 2.6rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; margin: 8px 0 10px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.apx-bhero__tagline { color: rgba(255,255,255,.72); font-size: 1.02rem; line-height: 1.6; max-width: 640px; margin: 0 0 20px; }
.apx-bhero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.apx-bhero__wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 34px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); pointer-events: none; }
/* ============ BEAUTIFUL COMPANY PROFILE ============ */
.apx-bprofile { padding: 40px 0 54px; }
.apx-bprofile__grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.apx-bprofile__text { background: linear-gradient(165deg, #15151b 0%, #0e0e12 100%); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 34px 36px; position: relative; overflow: hidden; }
.apx-bprofile__text::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #e10600, #ff5b4d, #e10600); }
.apx-bprofile__text h2 { color: #fff; font-size: 1.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 18px; }
.apx-bprofile__text h2::after { content: ""; display: block; width: 60px; height: 3px; background: #e10600; border-radius: 2px; margin-top: 12px; }
.apx-bprofile__body p { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.85; margin: 0; }
.apx-bprofile__body p::first-letter { font-size: 2.6em; font-weight: 800; color: #e10600; float: left; line-height: .9; margin: 4px 10px 0 0; }
.apx-bprofile__side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.apx-bprofile__logo-card { background: linear-gradient(150deg, #ffffff, #dcdce2); border-radius: 18px; padding: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 44px rgba(0,0,0,.5); }
.apx-bprofile__logo-card img { max-width: 100%; max-height: 110px; object-fit: contain; }
.apx-bprofile__cta-card { background: linear-gradient(165deg, #17171d, #101014); border: 1px solid rgba(225,6,0,.25); border-radius: 18px; padding: 24px; text-align: center; }
.apx-bprofile__cta-card > i { font-size: 30px; color: #e10600; }
.apx-bprofile__cta-card strong { display: block; color: #fff; font-size: 1.02rem; margin: 10px 0 8px; }
.apx-bprofile__cta-card p { color: rgba(255,255,255,.6); font-size: .86rem; line-height: 1.6; margin: 0 0 16px; }
.apx-bprofile__cta-card .apx-btn { margin-bottom: 10px; }
.apx-bprofile__cta-card .apx-btn:last-child { margin-bottom: 0; }
.apx-btn-block { display: block; width: 100%; text-align: center; }
@media (max-width: 860px) {
    .apx-bprofile__grid { grid-template-columns: 1fr; }
    .apx-bprofile__side { position: static; }
    .apx-bhero__main { flex-direction: column; align-items: flex-start; gap: 20px; }
    .apx-bhero__copy h1 { font-size: 1.9rem; }
    .apx-bhero { padding-bottom: 44px; }
}
