/*
 * Blue component system
 * -------------------------
 * Structural and component rules only. All colors live in
 * blue-colors.css.
 */

html[data-site-theme="blue"] {
    background: var(--pb-canvas);
    scroll-behavior: smooth;
}

html[data-site-theme="blue"] body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 2%, var(--pb-hero-glow), transparent 26rem),
        linear-gradient(180deg, var(--pb-canvas-elevated), var(--pb-canvas) 28rem) !important;
    color: var(--pb-text) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 15px;
    line-height: 1.6;
    transition: background-color 180ms ease, color 180ms ease;
}

html[data-site-theme="blue"] body::-webkit-scrollbar-thumb {
    background: var(--pb-primary);
    border-color: var(--pb-canvas);
}

html[data-site-theme="blue"] * {
    scrollbar-color: var(--pb-primary) var(--pb-canvas);
}

html[data-site-theme="blue"] :focus-visible {
    outline: 3px solid var(--pb-focus) !important;
    outline-offset: 3px !important;
}

html[data-site-theme="blue"] :is(.theme-bg, .auth-background) {
    background: var(--pb-canvas) !important;
}

html[data-site-theme="blue"] :is(.theme-shape, .auth-shape) {
    display: none !important;
}

html[data-site-theme="blue"] :is(h1, h2, h3, h4, h5, h6) {
    color: var(--pb-heading) !important;
    font-family: inherit !important;
    letter-spacing: -0.025em;
}

html[data-site-theme="blue"] :is(p, label, li, dd) {
    color: var(--pb-text);
}

html[data-site-theme="blue"] a {
    text-underline-offset: 3px;
}

html[data-site-theme="blue"] a:hover {
    color: var(--pb-primary-hover);
}

html[data-site-theme="blue"] .container {
    width: min(100%, 1500px) !important;
    max-width: 1500px !important;
    margin-inline: auto !important;
    padding-inline: clamp(16px, 3vw, 48px) !important;
}

/* Top bar and primary navigation */
html[data-site-theme="blue"] .navbar-top-bar {
    position: relative;
    z-index: 1001;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px;
    min-height: 36px;
    padding: 6px clamp(18px, 4vw, 64px) !important;
    background: var(--pb-topbar) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pb-topbar-border) !important;
    color: var(--pb-topbar-text) !important;
}

html[data-site-theme="blue"] :is(.navbar-top-left, .navbar-top-right) {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    gap: 16px !important;
}

html[data-site-theme="blue"] .navbar-top-right {
    margin-left: auto;
}

html[data-site-theme="blue"] .navbar-top-deals,
html[data-site-theme="blue"] .theme-switch-btn,
html[data-site-theme="blue"] .country-selector {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html[data-site-theme="blue"] :is(.top-bar-link, .theme-switch-btn, .country-selector-btn) {
    min-height: 28px;
    padding: 4px 10px !important;
    border: 1px solid var(--pb-topbar-border) !important;
    border-radius: 7px !important;
    background: var(--pb-topbar-control) !important;
    box-shadow: none !important;
    color: var(--pb-topbar-text) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

html[data-site-theme="blue"] :is(.top-bar-link, .theme-switch-btn, .country-selector-btn):hover {
    background: var(--pb-topbar-control-hover) !important;
    color: var(--pb-on-dark) !important;
    transform: none !important;
}

html[data-site-theme="blue"] .navbar {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    display: grid !important;
    grid-template-columns: minmax(150px, auto) minmax(0, 1fr) minmax(150px, auto) !important;
    gap: clamp(16px, 3vw, 48px) !important;
    min-height: 74px !important;
    padding: 11px clamp(18px, 4vw, 64px) !important;
    background: var(--pb-nav) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pb-border) !important;
    box-shadow: var(--pb-shadow-sm) !important;
    backdrop-filter: blur(22px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
}

html[data-site-theme="blue"] .navbar::after {
    display: none !important;
}

html[data-site-theme="blue"] .navbar-left {
    gap: 10px;
}

html[data-site-theme="blue"] .navbar-logo {
    display: inline-flex !important;
    align-items: center;
    padding: 6px 10px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] .navbar-logo:hover {
    border-color: var(--pb-border) !important;
    background: var(--pb-primary-soft) !important;
}

html[data-site-theme="blue"] .navbar-logo::before,
html[data-site-theme="blue"] .navbar-logo::after {
    content: none !important;
    display: none !important;
}

html[data-site-theme="blue"] .navbar-logo .navbar-wordmark {
    color: var(--pb-heading) !important;
    font-family: inherit !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.1;
    letter-spacing: -0.04em !important;
}

html[data-site-theme="blue"] .navbar-center {
    justify-self: end;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 !important;
}

html[data-site-theme="blue"] .navbar-search {
    width: 100% !important;
    max-width: 500px !important;
    min-height: 50px;
    margin: 0 !important;
    background: var(--pb-input) !important;
    border: 0 !important;
    border-radius: 15px !important;
    box-shadow: inset 0 0 0 1px var(--pb-border-strong) !important;
    box-sizing: border-box;
    transition: background-color 160ms ease, box-shadow 160ms ease !important;
}

html[data-site-theme="blue"] .navbar-search:focus-within {
    background: var(--pb-input-focus) !important;
    box-shadow: inset 0 0 0 1px var(--pb-primary) !important;
}

html[data-site-theme="blue"] .navbar-search-input {
    min-width: 0;
    padding: 13px 66px 13px 18px !important;
    color: var(--pb-heading) !important;
    -webkit-text-fill-color: var(--pb-heading) !important;
    font-size: 14px !important;
    font-weight: 500;
}

html[data-site-theme="blue"] .navbar-search-input:focus,
html[data-site-theme="blue"] .navbar-search-input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] .navbar-search-input::placeholder {
    color: var(--pb-muted) !important;
    -webkit-text-fill-color: var(--pb-muted) !important;
    opacity: 0.88 !important;
}

html[data-site-theme="blue"] .navbar-search-btn {
    right: 5px !important;
    display: inline-flex !important;
    width: 44px !important;
    min-width: 44px;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 11px !important;
    background: var(--pb-primary) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: none !important;
    font-size: 12px;
    font-weight: 800;
}

html[data-site-theme="blue"] .navbar-search-btn:hover {
    background: var(--pb-primary-hover) !important;
    filter: none;
    transform: none !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] .navbar-search-btn:active {
    background: var(--pb-primary-active) !important;
}

html[data-site-theme="blue"] .navbar-search-clear {
    right: 58px !important;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] .navbar-right {
    gap: 9px !important;
}

html[data-site-theme="blue"] .navbar-right .btn,
html[data-site-theme="blue"] .mobile-search-toggle {
    min-height: 42px;
    padding: 10px 15px !important;
    border: 1px solid var(--pb-border) !important;
    border-radius: 11px !important;
    background: var(--pb-surface) !important;
    color: var(--pb-heading) !important;
    box-shadow: var(--pb-shadow-xs) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

html[data-site-theme="blue"] .navbar-right :is(.login-btn, .dashboard-btn) {
    border-color: transparent !important;
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 9px 20px rgba(var(--pb-primary-rgb), 0.22) !important;
}

html[data-site-theme="blue"] .navbar-right .logout-btn {
    border-color: transparent !important;
    background: var(--pb-gradient-danger) !important;
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] .navbar-right .notification-btn {
    width: 42px;
    padding: 0 !important;
    border-color: transparent !important;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] .notification-badge {
    background: var(--pb-danger) !important;
    color: var(--pb-on-primary) !important;
    border-color: var(--pb-surface) !important;
}

html[data-site-theme="blue"] :is(.country-dropdown, .search-suggestions-dropdown) {
    background: var(--pb-surface-raised) !important;
    border: 1px solid var(--pb-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--pb-shadow-lg) !important;
    backdrop-filter: blur(24px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
}

html[data-site-theme="blue"] :is(.country-dropdown-header, .search-dd-viewmore) {
    background: var(--pb-surface-soft) !important;
    border-color: var(--pb-divider) !important;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] :is(.country-dropdown-item, .search-dd-item) {
    border-color: var(--pb-divider) !important;
    color: var(--pb-text) !important;
}

html[data-site-theme="blue"] :is(.country-dropdown-item, .search-dd-item):hover,
html[data-site-theme="blue"] .country-dropdown-item.active {
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] :is(.country-item-currency, .search-dd-empty) {
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] :is(.search-dd-name, .country-item-name) {
    color: var(--pb-heading) !important;
}

html[data-site-theme="blue"] :is(.search-dd-price, .search-dd-viewmore) {
    color: var(--pb-primary) !important;
}

/* Homepage hero */
html[data-site-theme="blue"] .hero-section {
    position: relative;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: clamp(38px, 6vw, 86px);
    min-height: 530px !important;
    margin: 30px 0 34px !important;
    padding: clamp(42px, 6vw, 82px) !important;
    overflow: hidden;
    border: 1px solid var(--pb-border) !important;
    border-radius: 28px !important;
    background: var(--pb-gradient-hero) !important;
    box-shadow: var(--pb-shadow-lg) !important;
    text-align: left !important;
}

html[data-site-theme="blue"] .hero-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    top: -20rem;
    right: -10rem;
    border-radius: 50%;
    background: var(--pb-hero-glow);
    filter: blur(1px);
}

html[data-site-theme="blue"] .hero-content {
    max-width: 680px !important;
    padding: 0 !important;
    text-align: left !important;
}

html[data-site-theme="blue"] .blue-hero-eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 11px;
    border: 1px solid var(--pb-border-strong);
    border-radius: 999px;
    background: var(--pb-surface);
    color: var(--pb-primary);
    box-shadow: var(--pb-shadow-xs);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

html[data-site-theme="blue"] .hero-title {
    max-width: 700px;
    margin: 0 0 20px !important;
    color: var(--pb-heading) !important;
    background: none !important;
    -webkit-text-fill-color: var(--pb-heading) !important;
    font-size: clamp(42px, 5.2vw, 72px) !important;
    font-weight: 800 !important;
    line-height: 1.03 !important;
    letter-spacing: -0.055em !important;
    text-shadow: none !important;
}

html[data-site-theme="blue"] .hero-subtitle {
    max-width: 610px;
    margin: 0 !important;
    color: var(--pb-muted) !important;
    font-size: clamp(16px, 1.5vw, 20px) !important;
    font-weight: 520;
    line-height: 1.75 !important;
}

html[data-site-theme="blue"] .blue-hero-actions {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

html[data-site-theme="blue"] :is(.blue-hero-primary, .blue-hero-secondary) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

html[data-site-theme="blue"] .blue-hero-primary {
    border: 1px solid transparent;
    background: var(--pb-gradient-brand);
    color: var(--pb-on-primary);
    box-shadow: 0 12px 26px rgba(var(--pb-primary-rgb), 0.25);
}

html[data-site-theme="blue"] .blue-hero-secondary {
    border: 1px solid var(--pb-border-strong);
    background: var(--pb-surface);
    color: var(--pb-heading);
    box-shadow: var(--pb-shadow-xs);
}

html[data-site-theme="blue"] :is(.blue-hero-primary, .blue-hero-secondary):hover {
    transform: translateY(-2px);
}

html[data-site-theme="blue"] .blue-hero-proof {
    display: flex !important;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    color: var(--pb-muted);
    font-size: 11px;
    font-weight: 750;
}

html[data-site-theme="blue"] .blue-hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

html[data-site-theme="blue"] .blue-hero-proof i {
    color: var(--pb-positive);
}

html[data-site-theme="blue"] .blue-hero-panel {
    display: block !important;
    position: relative;
    padding: 20px;
    border: 1px solid var(--pb-border);
    border-radius: 20px;
    background: var(--pb-surface-raised);
    color: var(--pb-text);
    box-shadow: var(--pb-shadow-md);
    transform: none;
}

html[data-site-theme="blue"] .blue-hero-panel::before {
    display: none;
}

html[data-site-theme="blue"] .blue-panel-head,
html[data-site-theme="blue"] .blue-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

html[data-site-theme="blue"] .blue-product-meta {
    display: flex;
    align-items: center;
    gap: 11px;
}

html[data-site-theme="blue"] .blue-product-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--pb-primary-soft);
    color: var(--pb-primary);
    font-size: 18px;
}

html[data-site-theme="blue"] .blue-product-meta > div {
    display: grid;
    gap: 2px;
}

html[data-site-theme="blue"] .blue-product-meta small,
html[data-site-theme="blue"] .blue-price-row small,
html[data-site-theme="blue"] .blue-panel-foot small {
    color: var(--pb-muted);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

html[data-site-theme="blue"] .blue-product-meta strong {
    color: var(--pb-heading);
    font-size: 14px;
}

html[data-site-theme="blue"] .blue-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--pb-positive-soft);
    color: var(--pb-positive) !important;
}

html[data-site-theme="blue"] .blue-price-row {
    margin-top: 18px;
    padding: 0 2px;
}

html[data-site-theme="blue"] .blue-price-row > div {
    display: grid;
    gap: 2px;
}

html[data-site-theme="blue"] .blue-price-row strong {
    color: var(--pb-heading);
    font-size: clamp(27px, 2.5vw, 36px);
    line-height: 1;
    letter-spacing: -0.04em;
}

html[data-site-theme="blue"] .blue-price-row > div > span {
    color: var(--pb-muted);
    font-size: 10px;
    font-weight: 650;
}

html[data-site-theme="blue"] .blue-price-row > .blue-price-drop {
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr;
    gap: 8px !important;
    padding: 8px 10px;
    border: 1px solid var(--pb-positive-soft);
    border-radius: 10px;
    background: var(--pb-positive-soft);
    color: var(--pb-positive);
}

html[data-site-theme="blue"] .blue-price-drop > i {
    font-size: 17px;
}

html[data-site-theme="blue"] .blue-price-drop > span {
    display: grid;
    gap: 1px;
}

html[data-site-theme="blue"] .blue-price-drop strong {
    color: var(--pb-positive);
    font-size: 10px;
    letter-spacing: 0;
}

html[data-site-theme="blue"] .blue-price-drop small {
    color: var(--pb-positive);
    font-size: 8px;
    opacity: 0.82;
}

html[data-site-theme="blue"] .blue-chart-shell {
    margin-top: 16px;
    padding: 12px 13px 9px;
    border: 1px solid var(--pb-divider);
    border-radius: 15px;
    background: var(--pb-input);
}

html[data-site-theme="blue"] .blue-chart-toolbar,
html[data-site-theme="blue"] .blue-chart-axis {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

html[data-site-theme="blue"] .blue-chart-toolbar > span {
    color: var(--pb-text);
    font-size: 10px;
    font-weight: 800;
}

html[data-site-theme="blue"] .blue-chart-range {
    display: inline-flex;
    gap: 3px;
    padding: 2px;
    border-radius: 8px;
    background: var(--pb-surface-soft);
}

html[data-site-theme="blue"] .blue-chart-range span {
    min-width: 28px;
    padding: 3px 5px;
    border-radius: 6px;
    color: var(--pb-muted);
    font-size: 8px;
    font-weight: 800;
    text-align: center;
}

html[data-site-theme="blue"] .blue-chart-range .active {
    background: var(--pb-primary-soft);
    color: var(--pb-primary);
}

html[data-site-theme="blue"] .blue-chart {
    position: relative;
    height: 132px;
    margin-top: 8px;
    overflow: hidden;
}

html[data-site-theme="blue"] .blue-chart-grid {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--pb-chart-grid);
}

html[data-site-theme="blue"] .blue-chart-grid.grid-one { top: 25%; }
html[data-site-theme="blue"] .blue-chart-grid.grid-two { top: 50%; }
html[data-site-theme="blue"] .blue-chart-grid.grid-three { top: 75%; }

html[data-site-theme="blue"] .blue-chart svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    color: var(--pb-chart-line);
}

html[data-site-theme="blue"] .blue-chart-area {
    fill: url("#blue-chart-fill");
    stroke: none;
}

html[data-site-theme="blue"] .blue-chart-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 3.5;
    stroke-linecap: round;
}

html[data-site-theme="blue"] .blue-chart circle {
    fill: var(--pb-surface);
    stroke: currentColor;
    stroke-width: 3.5;
}

html[data-site-theme="blue"] .blue-chart-axis {
    padding-top: 5px;
    color: var(--pb-subtle);
    font-size: 8px;
    font-weight: 700;
}

html[data-site-theme="blue"] .blue-panel-foot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

html[data-site-theme="blue"] .blue-panel-foot span {
    display: grid;
    gap: 3px;
    padding: 9px 10px;
    border: 1px solid var(--pb-divider);
    border-radius: 11px;
    background: var(--pb-surface-soft);
}

html[data-site-theme="blue"] .blue-panel-foot strong {
    color: var(--pb-heading);
    font-size: 11px;
}

/* Homepage content and product discovery */
html[data-site-theme="blue"] .home-category-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
    margin: 26px 0 !important;
    padding: clamp(20px, 2.5vw, 32px) !important;
    border: 1px solid var(--pb-border) !important;
    border-radius: 22px !important;
    background: var(--pb-surface) !important;
    box-shadow: var(--pb-shadow-sm) !important;
}

html[data-site-theme="blue"] .category-header {
    margin-bottom: 22px !important;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pb-divider);
}

html[data-site-theme="blue"] .category-title {
    color: var(--pb-heading) !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    font-weight: 800 !important;
}

html[data-site-theme="blue"] .view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 9px;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
    font-size: 11px;
    font-weight: 800;
}

html[data-site-theme="blue"] .products-carousel {
    gap: 17px !important;
}

html[data-site-theme="blue"] .product-card {
    overflow: hidden;
    border: 1px solid var(--pb-border) !important;
    border-radius: 17px !important;
    background: var(--pb-surface-raised) !important;
    color: var(--pb-text) !important;
    box-shadow: var(--pb-shadow-xs) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html[data-site-theme="blue"] .product-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--pb-border-strong) !important;
    box-shadow: var(--pb-shadow-md) !important;
}

html[data-site-theme="blue"] .product-image {
    background: var(--pb-surface-soft) !important;
    border-bottom: 1px solid var(--pb-divider);
}

html[data-site-theme="blue"] .product-info {
    padding: 17px !important;
}

html[data-site-theme="blue"] .product-title {
    color: var(--pb-heading) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}

html[data-site-theme="blue"] .current-price {
    color: var(--pb-heading) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

html[data-site-theme="blue"] .original-price {
    color: var(--pb-subtle) !important;
}

html[data-site-theme="blue"] .discount-badge {
    border-radius: 0 0 10px 0 !important;
    background: var(--pb-danger) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] .tracking-badge {
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] :is(.btn-view-details, .btn-buy-now) {
    min-height: 38px;
    border-radius: 9px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

html[data-site-theme="blue"] .btn-view-details {
    border-color: var(--pb-border-strong) !important;
    background: var(--pb-surface-soft) !important;
    color: var(--pb-heading) !important;
}

html[data-site-theme="blue"] .btn-buy-now {
    border-color: transparent !important;
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] .stats-section {
    margin: 36px 0 0 !important;
    padding: 44px clamp(16px, 3vw, 48px) !important;
    background: transparent !important;
}

html[data-site-theme="blue"] .stats-section::before {
    display: none !important;
}

html[data-site-theme="blue"] .stats-container {
    max-width: 1404px !important;
    gap: 16px !important;
}

html[data-site-theme="blue"] .stats-container .stat-card {
    min-height: 126px;
    padding: 22px !important;
    border: 1px solid var(--pb-border) !important;
    border-radius: 18px !important;
    background: var(--pb-surface) !important;
    box-shadow: var(--pb-shadow-sm) !important;
}

html[data-site-theme="blue"] .stats-container .stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--pb-primary);
}

html[data-site-theme="blue"] .stats-container .stat-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] .stat-number {
    color: var(--pb-heading) !important;
    font-size: 25px !important;
    font-weight: 800 !important;
}

html[data-site-theme="blue"] .stat-label {
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] .how-it-works-section {
    margin: 0 !important;
    padding: clamp(54px, 7vw, 88px) clamp(16px, 3vw, 48px) !important;
    background: var(--pb-band) !important;
    border-block: 1px solid var(--pb-band-border);
}

html[data-site-theme="blue"] .how-it-works-section .section-title,
html[data-site-theme="blue"] .how-it-works-section .step-title {
    color: var(--pb-band-text) !important;
    -webkit-text-fill-color: var(--pb-band-text) !important;
    background: none !important;
}

html[data-site-theme="blue"] .how-it-works-section :is(.section-subtitle, .step-description) {
    color: var(--pb-band-muted) !important;
}

html[data-site-theme="blue"] .steps-container {
    gap: 18px !important;
}

html[data-site-theme="blue"] .step-card {
    min-height: 260px;
    padding: 28px !important;
    border: 1px solid var(--pb-band-border) !important;
    border-radius: 18px !important;
    background: var(--pb-band-raised) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

html[data-site-theme="blue"] .step-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] :is(.step-icon, .step-number) {
    background: var(--pb-primary) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] .step-arrow {
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] .faq-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
    padding: clamp(58px, 7vw, 92px) clamp(16px, 3vw, 48px) !important;
    background: var(--pb-canvas) !important;
    border-color: var(--pb-border) !important;
}

html[data-site-theme="blue"] .faq-section .section-title {
    color: var(--pb-heading) !important;
    background: none !important;
    -webkit-text-fill-color: var(--pb-heading) !important;
}

html[data-site-theme="blue"] .faq-section .section-subtitle,
html[data-site-theme="blue"] .faq-section .faq-answer p {
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] .faq-eyebrow {
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] .faq-all-link {
    border-color: transparent !important;
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 10px 22px rgba(var(--pb-primary-rgb), 0.2) !important;
}

html[data-site-theme="blue"] .faq-category {
    padding: 20px !important;
    border: 1px solid var(--pb-border) !important;
    border-radius: 18px !important;
    background: var(--pb-surface) !important;
    box-shadow: var(--pb-shadow-sm) !important;
}

html[data-site-theme="blue"] .faq-category-title,
html[data-site-theme="blue"] .faq-question {
    color: var(--pb-heading) !important;
}

html[data-site-theme="blue"] .faq-category-title i,
html[data-site-theme="blue"] .faq-question i {
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] .faq-item {
    border: 1px solid var(--pb-divider) !important;
    border-radius: 12px !important;
    background: var(--pb-surface-soft) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] .faq-item:hover,
html[data-site-theme="blue"] .faq-item.active {
    border-color: var(--pb-border-strong) !important;
    background: var(--pb-primary-soft) !important;
}

/* Shared content cards, forms, tables and overlays */
html[data-site-theme="blue"] :is(
    .premium-glass-card,
    .glass-card,
    .card,
    .search-card,
    .search-main-card,
    .category-card,
    .brand-card,
    .content-card,
    .checkout-card,
    .pricing-card,
    .settings-card,
    .profile-settings-card,
    .notification-card,
    .alert-card,
    .bot-card,
    .reward-card,
    .filter-card,
    .filters-card,
    .table-card,
    .pay-stat-card,
    .quick-stat-card,
    .subscription-plan-card,
    .auth-card,
    .modal-content,
    .modal-box,
    .confirm-popup,
    .popup
) {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface) !important;
    color: var(--pb-text) !important;
    box-shadow: var(--pb-shadow-sm) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html[data-site-theme="blue"] :is(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    .form-control,
    .form-input,
    .filter-input,
    .custom-dropdown-btn,
    .custom-select-search
) {
    border: 1px solid var(--pb-border-strong) !important;
    border-radius: 10px !important;
    background: var(--pb-input) !important;
    color: var(--pb-heading) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] :is(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    .form-control,
    .form-input,
    .filter-input
):focus {
    border-color: var(--pb-primary) !important;
    background: var(--pb-input-focus) !important;
    box-shadow: var(--pb-ring) !important;
}

html[data-site-theme="blue"] :is(input, textarea)::placeholder {
    color: var(--pb-subtle) !important;
    opacity: 1 !important;
}

html[data-site-theme="blue"] :is(.form-label, .form-group label, .detail-label) {
    color: var(--pb-muted) !important;
    font-weight: 750 !important;
}

html[data-site-theme="blue"] :is(
    .btn-primary,
    .btn-submit,
    .btn-save,
    .search-button,
    .filter-btn-apply,
    .pagination-btn-active,
    .pagination-number-active,
    .page-item.active .page-link
) {
    border-color: transparent !important;
    border-radius: 10px !important;
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 9px 20px rgba(var(--pb-primary-rgb), 0.2) !important;
}

html[data-site-theme="blue"] :is(.btn-secondary, .btn-cancel, .filter-btn-reset, .pagination-btn, .pagination-number) {
    border-color: var(--pb-border-strong) !important;
    border-radius: 10px !important;
    background: var(--pb-surface) !important;
    color: var(--pb-heading) !important;
    box-shadow: var(--pb-shadow-xs) !important;
}

html[data-site-theme="blue"] :is(.btn-success, .alert-success, .badge-success) {
    border-color: rgba(var(--pb-positive-rgb), 0.3) !important;
    background: var(--pb-positive-soft) !important;
    color: var(--pb-positive) !important;
}

html[data-site-theme="blue"] :is(.btn-warning, .alert-warning, .badge-warning) {
    border-color: rgba(var(--pb-warning-rgb), 0.3) !important;
    background: var(--pb-warning-soft) !important;
    color: var(--pb-warning) !important;
}

html[data-site-theme="blue"] :is(.btn-danger, .btn-delete, .alert-danger, .badge-danger) {
    border-color: rgba(var(--pb-danger-rgb), 0.3) !important;
    background: var(--pb-danger-soft) !important;
    color: var(--pb-danger) !important;
}

html[data-site-theme="blue"] :is(.alert-info, .badge-info, .info-box) {
    border-color: rgba(var(--pb-primary-rgb), 0.26) !important;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] :is(.modal, .modal-overlay, .confirm-overlay) {
    background: var(--pb-overlay) !important;
    backdrop-filter: blur(5px) !important;
}

html[data-site-theme="blue"] :is(table, .admin-table, .data-table) {
    overflow: hidden;
    border: 1px solid var(--pb-border) !important;
    border-radius: 14px;
    background: var(--pb-surface) !important;
    color: var(--pb-text) !important;
    box-shadow: var(--pb-shadow-xs);
}

html[data-site-theme="blue"] :is(table, .admin-table, .data-table) thead,
html[data-site-theme="blue"] :is(table, .admin-table, .data-table) th {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface-muted) !important;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] :is(table, .admin-table, .data-table) td {
    border-color: var(--pb-divider) !important;
    background: var(--pb-surface) !important;
    color: var(--pb-text) !important;
}

html[data-site-theme="blue"] :is(table, .admin-table, .data-table) tbody tr:hover td {
    background: var(--pb-surface-soft) !important;
}

/* User and admin workspaces */
html[data-site-theme="blue"] :is(.admin-container, .user-container) {
    align-items: flex-start;
    min-height: calc(100vh - 74px) !important;
    background: transparent !important;
    color: var(--pb-text) !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar, .user-sidebar) {
    top: 88px !important;
    width: 272px !important;
    max-height: calc(100vh - 108px) !important;
    margin: 20px 0 20px 20px;
    padding: 16px 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid var(--pb-border) !important;
    border-radius: 19px !important;
    background: var(--pb-sidebar) !important;
    box-shadow: var(--pb-shadow-sm) !important;
    backdrop-filter: blur(22px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(140%) !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar, .user-sidebar):not(.active) {
    width: 0 !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar, .user-sidebar).active {
    width: 272px !important;
}

html[data-site-theme="blue"] .blue-sidebar-heading {
    display: flex !important;
    align-items: center;
    gap: 11px;
    margin: 0 7px 14px;
    padding: 7px 7px 15px;
    border-bottom: 1px solid var(--pb-divider);
}

html[data-site-theme="blue"] .blue-sidebar-heading-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: var(--pb-primary-soft);
    color: var(--pb-primary);
}

html[data-site-theme="blue"] .blue-sidebar-heading > span:last-child {
    display: grid;
    gap: 1px;
}

html[data-site-theme="blue"] .blue-sidebar-heading strong {
    color: var(--pb-heading);
    font-size: 12px;
    font-weight: 800;
}

html[data-site-theme="blue"] .blue-sidebar-heading small {
    color: var(--pb-muted);
    font-size: 9px;
    font-weight: 650;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) {
    min-width: 250px !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) li {
    margin-bottom: 3px !important;
    padding: 0 5px !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) a,
html[data-site-theme="blue"] .sidebar-logout-btn {
    min-height: 44px;
    gap: 11px !important;
    padding: 7px 10px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: var(--pb-muted) !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 750 !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) a:hover {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
    color: var(--pb-heading) !important;
    transform: none !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) a.active {
    border-color: transparent !important;
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 8px 18px rgba(var(--pb-primary-rgb), 0.22) !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) .sidebar-icon {
    width: 29px !important;
    height: 29px !important;
    border-radius: 8px !important;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) .sidebar-icon i {
    color: var(--pb-primary) !important;
    font-size: 13px !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) a.active .sidebar-icon {
    background: var(--pb-topbar-control-hover) !important;
}

html[data-site-theme="blue"] :is(.admin-sidebar-menu, .user-sidebar-menu) a.active .sidebar-icon i {
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] .admin-sidebar-menu .submenu {
    margin: 4px 0 8px 16px !important;
    padding-left: 7px !important;
    border-left: 1px solid var(--pb-border) !important;
}

html[data-site-theme="blue"] .admin-sidebar-menu .submenu li {
    padding: 0 !important;
}

html[data-site-theme="blue"] .admin-sidebar-menu .submenu a {
    min-height: 39px;
    padding: 5px 8px !important;
    font-size: 10px !important;
}

html[data-site-theme="blue"] .user-sidebar-menu .logout-item {
    border-color: var(--pb-divider) !important;
}

html[data-site-theme="blue"] .sidebar-logout-btn {
    color: var(--pb-danger) !important;
}

html[data-site-theme="blue"] .sidebar-logout-btn .sidebar-icon {
    background: var(--pb-danger-soft) !important;
}

html[data-site-theme="blue"] .sidebar-logout-btn .sidebar-icon i {
    color: var(--pb-danger) !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) {
    padding: clamp(24px, 3vw, 42px) !important;
    color: var(--pb-text) !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) > :first-child {
    width: 100%;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) h1 {
    color: var(--pb-heading) !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
}

html[data-site-theme="blue"] :is(.dashboard-welcome, .admin-header, .account-header, .favorites-header, .tracking-header, .hotdeals-header) {
    margin-bottom: 24px !important;
    padding: 22px !important;
    border: 1px solid var(--pb-border) !important;
    border-radius: 17px !important;
    background: var(--pb-surface) !important;
    box-shadow: var(--pb-shadow-sm) !important;
}

html[data-site-theme="blue"] :is(.dashboard-welcome, .admin-header, .account-header, .favorites-header, .tracking-header, .hotdeals-header) p,
html[data-site-theme="blue"] :is(.welcome-subtitle, .favorites-subtitle, .tracking-subtitle, .hotdeals-subtitle) {
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] :is(.welcome-date, .settings-status, .discord-status-badge) {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) :is(
    .stat-card,
    .quick-action-card,
    .activity-card,
    .favorites-stat-item,
    .profile-settings-card,
    .notification-stat,
    .notification-card
) {
    border: 1px solid var(--pb-border) !important;
    border-radius: 16px !important;
    background: var(--pb-surface) !important;
    color: var(--pb-text) !important;
    box-shadow: var(--pb-shadow-sm) !important;
    backdrop-filter: none !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) .stat-card::before {
    width: 3px !important;
    background: var(--pb-primary) !important;
    opacity: 1 !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) .stat-card:hover {
    transform: translateY(-3px) !important;
    border-color: var(--pb-border-strong) !important;
    background: var(--pb-surface-raised) !important;
    box-shadow: var(--pb-shadow-md) !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) :is(.stat-icon, .quick-action-icon, .activity-icon-wrapper, .plan-usage-icon, .empty-state-icon) {
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] :is(.stat-value, .favorites-stat-value, .detail-value) {
    color: var(--pb-heading) !important;
}

html[data-site-theme="blue"] :is(.stat-label, .stat-subtitle, .favorites-stat-label) {
    color: var(--pb-muted) !important;
}

/* Normalize legacy inline glass surfaces without changing their content. */
html[data-site-theme="blue"] :is(.admin-content, .user-content) div[style*="background: rgba(255, 255, 255, 0.06)"],
html[data-site-theme="blue"] :is(.admin-content, .user-content) div[style*="background: rgba(255, 255, 255, 0.08)"],
html[data-site-theme="blue"] :is(.admin-content, .user-content) div[style*="background:rgba(255,255,255,0.08)"] {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface) !important;
    color: var(--pb-text) !important;
    box-shadow: var(--pb-shadow-sm) !important;
    backdrop-filter: none !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) :is(button, a)[style*="background: linear-gradient"] {
    border-color: transparent !important;
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 9px 20px rgba(var(--pb-primary-rgb), 0.2) !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) :is(.settings-tabs, .hotdeals-tabs, .offers-tabs) {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) :is(.settings-tab, .hotdeals-tab, .offers-tab) {
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] :is(.admin-content, .user-content) :is(.settings-tab, .hotdeals-tab, .offers-tab).active {
    background: var(--pb-surface) !important;
    color: var(--pb-primary) !important;
    box-shadow: var(--pb-shadow-xs) !important;
}

html[data-site-theme="blue"] .notification-hero {
    border: 1px solid var(--pb-border-strong) !important;
    background: var(--pb-gradient-brand) !important;
    box-shadow: var(--pb-shadow-md) !important;
}

html[data-site-theme="blue"] .notification-hero :is(h1, p) {
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] .notification-filter {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface) !important;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] .notification-filter.active {
    border-color: transparent !important;
    background: var(--pb-primary) !important;
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] .notification-card.unread {
    background: var(--pb-primary-soft) !important;
    border-color: var(--pb-border-strong) !important;
}

/* Footer */
html[data-site-theme="blue"] .footer {
    margin-top: 0 !important;
    padding-top: 48px !important;
    overflow: hidden;
    border-top: 1px solid var(--pb-footer-border) !important;
    background: var(--pb-footer) !important;
    color: var(--pb-footer-text) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] .footer::before,
html[data-site-theme="blue"] :is(.footer-shape, .footer-title::after) {
    display: none !important;
}

html[data-site-theme="blue"] .footer-main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(22px, 4vw, 64px) 38px;
}

html[data-site-theme="blue"] .footer-content {
    grid-template-columns: minmax(280px, 1.25fr) repeat(2, minmax(150px, 0.58fr)) minmax(250px, 0.9fr) !important;
    gap: clamp(28px, 4vw, 58px) !important;
}

html[data-site-theme="blue"] .footer-logo {
    max-width: 220px;
}

html[data-site-theme="blue"] .footer-logo img {
    filter: brightness(0) invert(1) !important;
    width: 220px !important;
    height: auto !important;
    aspect-ratio: 1000 / 175;
}

html[data-site-theme="blue"] .blue-footer-badge {
    display: inline-flex !important;
    align-self: flex-start;
    align-items: center;
    gap: 7px;
    margin: 16px 0 13px;
    padding: 7px 10px;
    border: 1px solid var(--pb-footer-border);
    border-radius: 8px;
    background: var(--pb-footer-raised);
    color: var(--pb-footer-text);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.025em;
}

html[data-site-theme="blue"] :is(.footer-title, .telegram-widget h5) {
    color: var(--pb-footer-text) !important;
}

html[data-site-theme="blue"] .footer-title {
    margin-bottom: 14px !important;
    padding-bottom: 7px !important;
    font-size: 15px !important;
}

html[data-site-theme="blue"] :is(.footer-description, .footer-links a, .footer-copyright p, .footer-location, .footer-disclaimer p) {
    color: var(--pb-footer-muted) !important;
}

html[data-site-theme="blue"] .footer-links {
    gap: 2px !important;
}

html[data-site-theme="blue"] .footer-links a {
    padding: 4px 0 !important;
    font-size: 12px !important;
}

html[data-site-theme="blue"] .footer-links a:hover {
    color: var(--pb-footer-text) !important;
    transform: translateX(3px);
}

html[data-site-theme="blue"] .telegram-widget {
    padding: 12px !important;
    border: 1px solid var(--pb-footer-border) !important;
    border-radius: 12px !important;
    background: var(--pb-footer-raised) !important;
}

html[data-site-theme="blue"] .tg-btn {
    min-height: 36px;
    padding: 7px 8px !important;
    border-color: var(--pb-footer-border) !important;
    border-radius: 8px !important;
    background: var(--pb-footer-raised) !important;
    color: var(--pb-footer-text) !important;
}

html[data-site-theme="blue"] .footer-bottom {
    padding: 16px clamp(22px, 4vw, 64px) !important;
    border-top: 1px solid var(--pb-footer-border) !important;
    background: var(--pb-footer-raised) !important;
}

html[data-site-theme="blue"] .footer-bottom-content {
    max-width: 1500px !important;
    padding-inline: 0 !important;
    gap: 16px !important;
}

/*
 * Dashboard pages use the same legal footer content but do not need the full
 * public marketing directory. Keeping only the bottom bar prevents the footer
 * from dominating short admin and user screens.
 */
html[data-site-theme="blue"] body.dashboard-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html[data-site-theme="blue"] body.dashboard-layout > :is(.admin-container, main) {
    width: 100%;
    flex: 1 0 auto;
}

html[data-site-theme="blue"] body.dashboard-layout .footer {
    flex: 0 0 auto;
    margin-top: auto !important;
    padding-top: 0 !important;
}

html[data-site-theme="blue"] body.dashboard-layout .footer-main {
    display: none !important;
}

html[data-site-theme="blue"] body.dashboard-layout .footer-bottom {
    min-height: 66px;
    padding-block: 13px !important;
}

html[data-site-theme="blue"] body.dashboard-layout .footer-bottom-content {
    width: 100%;
    max-width: none !important;
    flex-wrap: nowrap;
}

html[data-site-theme="blue"] body.dashboard-layout .footer-copyright {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    white-space: nowrap;
}

html[data-site-theme="blue"] body.dashboard-layout .footer-location {
    padding-left: 12px;
    border-left: 1px solid var(--pb-footer-border);
}

html[data-site-theme="blue"] body.dashboard-layout .footer-disclaimer {
    max-width: 680px;
    text-align: right;
}

/* Product detail page
 * The Blade card structure stays intact; this layer only adapts the legacy
 * product UI to the Blue semantic design system in both color modes.
 */
html[data-site-theme="blue"] body.product-detail-page {
    background:
        radial-gradient(circle at 82% 8%, rgba(var(--pb-primary-rgb), 0.1), transparent 27rem),
        linear-gradient(180deg, var(--pb-canvas-elevated) 0, var(--pb-canvas) 32rem) !important;
    color: var(--pb-text) !important;
}

html[data-site-theme="blue"] body.product-detail-page .auth-background {
    display: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main {
    width: min(100%, 1500px) !important;
    max-width: 1500px !important;
    padding-top: clamp(24px, 3vw, 42px) !important;
    padding-bottom: 96px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main > .premium-glass-card,
html[data-site-theme="blue"] body.product-detail-page .product-detail-main > div > .premium-glass-card,
html[data-site-theme="blue"] body.product-detail-page .product-detail-main > div > div > .premium-glass-card {
    border: 1px solid var(--pb-border) !important;
    background: var(--pb-surface) !important;
    box-shadow: var(--pb-shadow-sm) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-hero-card {
    position: relative;
    gap: clamp(26px, 3vw, 48px) !important;
    padding: clamp(22px, 3vw, 40px) !important;
    overflow: hidden;
    border-radius: 24px !important;
    box-shadow: var(--pb-shadow-md) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-hero-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--pb-gradient-brand);
    content: "";
}

html[data-site-theme="blue"] body.product-detail-page .product-hero-card > :is(.product-image-panel, .product-summary-panel) {
    grid-column: auto !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel {
    min-height: 430px;
    padding: clamp(28px, 4vw, 52px) !important;
    overflow: hidden;
    border: 1px solid var(--pb-border) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(var(--pb-primary-rgb), 0.035), var(--pb-shadow-sm) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel img {
    width: min(100%, 410px);
    max-height: 410px !important;
    filter: drop-shadow(0 18px 24px rgba(9, 30, 66, 0.13));
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel > span {
    min-height: 30px;
    padding: 5px 10px !important;
    border-radius: 8px !important;
    box-shadow: var(--pb-shadow-xs);
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel > span[style*="#8b5cf6"] {
    background: var(--pb-gradient-brand) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel > span[style*="#ef4444"] {
    background: var(--pb-gradient-danger) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-summary-panel {
    min-width: 0;
    justify-content: center;
    gap: 20px !important;
    padding-block: 4px;
}

html[data-site-theme="blue"] body.product-detail-page #mainProductTitle {
    color: var(--pb-heading) !important;
    font-size: clamp(25px, 2.1vw, 36px) !important;
    line-height: 1.24 !important;
    letter-spacing: -0.035em !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-summary-panel > div:first-child a:first-child {
    border: 1px solid var(--pb-border) !important;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-summary-panel > div:first-child a:first-child:hover {
    border-color: var(--pb-primary) !important;
    background: var(--pb-primary) !important;
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-summary-panel .border-b,
html[data-site-theme="blue"] body.product-detail-page .product-summary-panel .border-t,
html[data-site-theme="blue"] body.product-detail-page .product-details-grid .border-t,
html[data-site-theme="blue"] body.product-detail-page .product-details-grid .border-b {
    border-color: var(--pb-divider) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-summary-panel .text-4xl.text-green-400 {
    color: var(--pb-positive) !important;
    font-size: clamp(34px, 3.2vw, 48px) !important;
    letter-spacing: -0.035em;
}

html[data-site-theme="blue"] body.product-detail-page .price-badge,
html[data-site-theme="blue"] body.product-detail-page .product-summary-panel .text-xs.bg-white\/20 {
    border: 1px solid var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page .heart-btn {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border: 1px solid var(--pb-border-strong) !important;
    background: var(--pb-surface-soft) !important;
    color: var(--pb-muted) !important;
    box-shadow: var(--pb-shadow-xs);
}

html[data-site-theme="blue"] body.product-detail-page .heart-btn:hover,
html[data-site-theme="blue"] body.product-detail-page .heart-btn.active {
    border-color: var(--pb-danger) !important;
    background: var(--pb-danger-soft) !important;
    color: var(--pb-danger) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats > div {
    min-height: 84px;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats > div:nth-child(1) {
    border-color: rgba(var(--pb-positive-rgb), 0.3) !important;
    background: var(--pb-positive-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats > div:nth-child(1) > div {
    color: var(--pb-positive) !important;
    text-shadow: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats > div:nth-child(2) {
    border-color: rgba(var(--pb-danger-rgb), 0.3) !important;
    background: var(--pb-danger-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats > div:nth-child(2) > div {
    color: var(--pb-danger) !important;
    text-shadow: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats > div:nth-child(3) {
    border-color: rgba(var(--pb-warning-rgb), 0.3) !important;
    background: var(--pb-warning-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats > div:nth-child(3) > div {
    color: var(--pb-warning) !important;
}

html[data-site-theme="blue"] body.product-detail-page .mobile-hide-btn > :first-child,
html[data-site-theme="blue"] body.product-detail-page .product-detail-main a.bg-indigo-600 {
    border: 1px solid transparent !important;
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 10px 22px rgba(var(--pb-primary-rgb), 0.2) !important;
}

html[data-site-theme="blue"] body.product-detail-page .mobile-hide-btn > :first-child:hover,
html[data-site-theme="blue"] body.product-detail-page .product-detail-main a.bg-indigo-600:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

html[data-site-theme="blue"] body.product-detail-page .mobile-hide-btn .alert-btn {
    border: 1px solid var(--pb-border-strong) !important;
    background: var(--pb-surface-soft) !important;
    color: var(--pb-heading) !important;
    box-shadow: var(--pb-shadow-xs);
}

html[data-site-theme="blue"] body.product-detail-page .mobile-hide-btn .alert-btn:hover {
    border-color: var(--pb-primary) !important;
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page :is(.product-insights-grid, .product-analytics-grid, .product-details-grid) {
    gap: clamp(18px, 2vw, 28px) !important;
    margin-top: clamp(20px, 2.5vw, 32px) !important;
}

html[data-site-theme="blue"] body.product-detail-page :is(
    .buy-recommendation-card,
    .price-health-card,
    .price-chart-card,
    .product-analysis-card,
    .emi-card,
    .price-history-table-card,
    .product-faq-card
) {
    border-radius: 18px !important;
}

html[data-site-theme="blue"] body.product-detail-page :is(.buy-recommendation-card, .price-health-card) {
    min-height: 224px;
    padding: 24px !important;
}

html[data-site-theme="blue"] body.product-detail-page .buy-recommendation-card h3 {
    margin-bottom: 20px !important;
}

html[data-site-theme="blue"] body.product-detail-page .buy-recommendation-card > div,
html[data-site-theme="blue"] body.product-detail-page .price-health-card > div:last-child,
html[data-site-theme="blue"] body.product-detail-page .product-analysis-card .bg-white\/10 {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
    color: var(--pb-text) !important;
}

html[data-site-theme="blue"] body.product-detail-page .buy-recommendation-card > p {
    margin-top: 18px !important;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-health-card .relative.pt-12 {
    padding-top: 52px !important;
}

html[data-site-theme="blue"] body.product-detail-page #priceHealthBox {
    color: var(--pb-on-primary) !important;
    box-shadow: var(--pb-shadow-xs);
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-card,
html[data-site-theme="blue"] body.product-detail-page .product-analysis-card {
    min-width: 0;
    min-height: 520px;
    padding: clamp(20px, 2.2vw, 30px) !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-card .graph-header-mobile > div {
    border: 1px solid var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .chart-filter-btn {
    min-width: 38px;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page .chart-filter-btn:hover {
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .chart-filter-btn.active {
    background: var(--pb-primary) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: var(--pb-shadow-xs) !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-card > .relative.h-\[352px\] {
    min-height: 352px;
    padding: 10px 4px 0;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--pb-surface-soft), transparent);
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-card > .flex.justify-between.mt-3 {
    padding: 12px !important;
    border-color: var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-card > .flex.justify-between.mt-3 > div[style] {
    background-color: var(--pb-divider) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-analysis-card .border-t,
html[data-site-theme="blue"] body.product-detail-page .product-analysis-card .border-b {
    border-color: var(--pb-divider) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-analysis-card .gauge-pivot-analysis {
    background: var(--pb-primary) !important;
    border-color: var(--pb-surface) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-analysis-card .gauge-needle-analysis {
    border-bottom-color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-details-grid > div {
    min-width: 0;
}

html[data-site-theme="blue"] body.product-detail-page .product-details-grid .premium-glass-card {
    border-radius: 16px !important;
}

html[data-site-theme="blue"] body.product-detail-page #product-info-heading-top,
html[data-site-theme="blue"] body.product-detail-page #product-stats-heading,
html[data-site-theme="blue"] body.product-detail-page .emi-card h3,
html[data-site-theme="blue"] body.product-detail-page .product-details-grid h3 {
    margin-bottom: 16px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-details-grid [class~="bg-white/10"] {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-details-grid .border-green-200 {
    border-color: rgba(var(--pb-positive-rgb), 0.34) !important;
    background: var(--pb-positive-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-details-grid .border-orange-200,
html[data-site-theme="blue"] body.product-detail-page .product-details-grid .border-yellow-200 {
    border-color: rgba(var(--pb-warning-rgb), 0.34) !important;
    background: var(--pb-warning-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-details-grid .border-blue-200 {
    border-color: rgba(var(--pb-primary-rgb), 0.3) !important;
    background: var(--pb-primary-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card select {
    min-height: 44px;
    padding-inline: 12px !important;
    border-radius: 10px !important;
    background: var(--pb-input) !important;
    color: var(--pb-heading) !important;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card option {
    background: var(--pb-input) !important;
    color: var(--pb-heading) !important;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card .premium-glass-card.border {
    background: var(--pb-primary-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card {
    border: 1px solid rgba(var(--pb-primary-rgb), 0.38) !important;
    border-radius: 18px !important;
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 16px 34px rgba(var(--pb-primary-rgb), 0.24) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card :is(h3, p, span) {
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card button {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.13) !important;
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card button:hover {
    background: rgba(255, 255, 255, 0.22) !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card {
    margin-top: 24px !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card > div:first-child {
    border-color: var(--pb-divider) !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card table {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card {
    padding: clamp(22px, 3vw, 34px) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-item {
    border: 1px solid var(--pb-border) !important;
    border-radius: 12px !important;
    background: var(--pb-surface-soft) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-item:hover,
html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-item.active {
    border-color: var(--pb-primary) !important;
    background: var(--pb-primary-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-question,
html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-answer-content {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-question {
    min-height: 62px;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-answer-content {
    border-top: 1px solid var(--pb-divider) !important;
    color: var(--pb-text) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main :is(.text-indigo-200, .text-indigo-400, .text-indigo-500, .text-blue-200, .text-blue-300, .text-blue-400) {
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main :is(.text-slate-200, .text-slate-300, .text-slate-400, .text-slate-600, .text-slate-700) {
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main :is(.text-green-200, .text-green-300, .text-green-400, .text-green-500, .text-green-600, .text-green-700) {
    color: var(--pb-positive) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main :is(.text-yellow-200, .text-yellow-400, .text-yellow-600, .text-orange-200, .text-orange-400, .text-orange-500, .text-orange-700) {
    color: var(--pb-warning) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main :is(.text-red-200, .text-red-400, .text-red-500) {
    color: var(--pb-danger) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main :is(.text-white, h1, h2, h3, h4) {
    color: var(--pb-heading) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main :is(.bg-blue-600, .bg-indigo-600),
html[data-site-theme="blue"] body.product-detail-page .product-detail-main :is(.bg-blue-600, .bg-indigo-600) :is(span, i),
html[data-site-theme="blue"] body.product-detail-page .share-deal-card :is(h3, p, span, i) {
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal > .premium-glass-card {
    border: 1px solid var(--pb-border) !important;
    background: var(--pb-surface) !important;
    color: var(--pb-text) !important;
    box-shadow: var(--pb-shadow-lg) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .bg-gradient-to-br,
html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal [style*="linear-gradient"] {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .mobile-sticky-footer {
    border-color: var(--pb-border) !important;
    background: var(--pb-nav) !important;
    box-shadow: 0 -12px 28px rgba(var(--pb-shadow-rgb), 0.16) !important;
    backdrop-filter: blur(18px) saturate(145%);
}

html[data-site-theme="blue"] body.product-detail-page .mobile-sticky-btn-outline {
    border-color: var(--pb-primary) !important;
    background: var(--pb-surface) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page .mobile-sticky-btn-primary {
    background: var(--pb-gradient-brand) !important;
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page > footer.premium-glass-card {
    border-color: var(--pb-border) !important;
    background: var(--pb-surface) !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    html[data-site-theme="blue"] body.product-detail-page .product-hero-card {
        gap: 24px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-image-panel {
        min-height: 360px;
    }

    html[data-site-theme="blue"] body.product-detail-page .price-chart-card,
    html[data-site-theme="blue"] body.product-detail-page .product-analysis-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    html[data-site-theme="blue"] body.product-detail-page .product-detail-main {
        padding-inline: 14px !important;
        padding-top: 18px !important;
        padding-bottom: 112px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-hero-card {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-image-panel {
        min-height: 300px;
        padding: 44px 24px 28px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-image-panel img {
        max-height: 260px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page #mainProductTitle {
        font-size: 23px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-summary-panel .text-4xl.text-green-400 {
        font-size: 34px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-summary-panel > div:nth-child(3) > div {
        align-items: flex-start;
        gap: 14px;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-price-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-price-stats > div {
        min-height: 76px;
        padding: 12px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page :is(.buy-recommendation-card, .price-health-card, .price-chart-card, .product-analysis-card, .emi-card, .product-faq-card) {
        padding: 18px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .graph-header-mobile > div {
        width: 100%;
        justify-content: space-between;
    }

    html[data-site-theme="blue"] body.product-detail-page .chart-filter-btn {
        flex: 1;
        min-width: 0;
        padding-inline: 8px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .price-chart-card > .relative.h-\[352px\] {
        min-height: 300px;
        height: 300px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-details-grid .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .share-deal-card {
        padding: 20px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-question,
    html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-answer-content {
        padding: 16px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-question h4 {
        padding-right: 12px;
        font-size: 14px !important;
        line-height: 1.45;
    }
}

/* Product detail v2: professional information hierarchy and card system. */
html[data-site-theme="blue"] body.product-detail-page .product-detail-main {
    width: min(100%, 1420px) !important;
    max-width: 1420px !important;
    padding-inline: clamp(16px, 2.4vw, 34px) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-detail-main > .adsense-container.ad-pending {
    position: absolute !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-card-shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--pb-border) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(145deg, var(--pb-surface) 0%, var(--pb-surface-soft) 100%) !important;
    box-shadow: var(--pb-shadow-sm) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-card-shell::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.045);
    border-radius: inherit;
    pointer-events: none;
    content: "";
}

html[data-site-theme="blue"] body.product-detail-page .product-hero-card {
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.22fr) !important;
    align-items: stretch;
    padding: clamp(26px, 2.7vw, 40px) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 94% 8%, rgba(var(--pb-primary-rgb), 0.16), transparent 22rem),
        linear-gradient(145deg, var(--pb-surface) 0%, var(--pb-surface-soft) 100%) !important;
    box-shadow: var(--pb-shadow-md) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-hero-card::before {
    width: auto;
    height: 4px;
    inset: 0 46px auto;
    border-radius: 0 0 8px 8px;
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel {
    min-height: 430px;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow:
        inset 0 0 0 1px rgba(var(--pb-primary-rgb), 0.08),
        0 18px 44px rgba(var(--pb-shadow-rgb), 0.1) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel::after {
    display: none;
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel img {
    position: relative;
    z-index: 1;
    max-height: 360px !important;
    background-color: #ffffff;
}

html[data-site-theme="blue"] body.product-detail-page .product-summary-panel {
    justify-content: center;
    gap: 18px !important;
    padding: 6px 4px 6px 0;
}

html[data-site-theme="blue"] body.product-detail-page .product-breadcrumb {
    flex-wrap: wrap;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-breadcrumb a:first-child {
    padding: 7px 11px !important;
    border-radius: 999px !important;
    letter-spacing: 0.065em;
}

html[data-site-theme="blue"] body.product-detail-page #mainProductTitle {
    max-width: 920px;
    font-size: clamp(28px, 2.1vw, 36px) !important;
    line-height: 1.2 !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-panel {
    padding: 15px 0 17px !important;
    border-block: 1px solid var(--pb-divider) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-row {
    gap: 24px;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-copy {
    min-width: 0;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-values {
    flex-wrap: wrap;
    row-gap: 6px;
}

html[data-site-theme="blue"] body.product-detail-page .product-updated-row {
    flex-wrap: wrap;
    margin-top: 14px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-panel .text-4xl.text-green-400 {
    font-size: clamp(36px, 3vw, 48px) !important;
    font-weight: 850 !important;
}

html[data-site-theme="blue"] body.product-detail-page .heart-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-self: center;
    padding: 0 !important;
    border-radius: 15px !important;
    line-height: 0;
}

html[data-site-theme="blue"] body.product-detail-page .heart-btn .heart-icon {
    display: block;
    margin: 0;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats {
    gap: 12px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats .product-metric {
    position: relative;
    min-height: 98px;
    padding: 16px 17px !important;
    overflow: hidden;
    border-width: 1px !important;
    border-radius: 16px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-price-stats .product-metric::after {
    position: absolute;
    width: 58px;
    height: 58px;
    right: -22px;
    bottom: -24px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.06;
    content: "";
}

html[data-site-theme="blue"] body.product-detail-page .product-metric-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px !important;
    font-size: 11px !important;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

html[data-site-theme="blue"] body.product-detail-page .product-metric-label i {
    font-size: 15px;
}

html[data-site-theme="blue"] body.product-detail-page .product-metric-value {
    font-size: clamp(18px, 1.5vw, 23px) !important;
    line-height: 1.2;
}

html[data-site-theme="blue"] body.product-detail-page .product-primary-actions {
    gap: 12px !important;
    margin-top: 2px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-primary-actions > :is(a, button) {
    min-height: 52px;
    border-radius: 13px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 40px;
    margin: 0 0 20px !important;
    color: var(--pb-heading) !important;
    font-size: clamp(17px, 1.3vw, 21px) !important;
    letter-spacing: -0.025em;
}

html[data-site-theme="blue"] body.product-detail-page .product-card-title > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.2);
    border-radius: 11px;
    background: var(--pb-primary-soft);
    color: var(--pb-primary) !important;
    font-size: 19px;
}

html[data-site-theme="blue"] body.product-detail-page .product-insights-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    align-items: stretch;
}

html[data-site-theme="blue"] body.product-detail-page :is(.buy-recommendation-card, .price-health-card) {
    height: 100%;
    min-height: 0;
    padding: 26px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-recommendation-status {
    min-height: 74px;
    padding: 16px !important;
    border-radius: 14px !important;
    background: var(--pb-surface-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-recommendation-status > div:first-child {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--pb-surface) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-card-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 16px !important;
    padding-top: 14px;
    border-top: 1px solid var(--pb-divider);
    line-height: 1.55;
}

html[data-site-theme="blue"] body.product-detail-page .price-health-card .relative.pt-12 {
    padding: 46px 2px 0 !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-health-indicator {
    width: 0;
    transform: none !important;
    overflow: visible;
}

html[data-site-theme="blue"] body.product-detail-page #priceHealthBox {
    min-width: 112px;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.35s ease, transform 0.35s ease;
}

html[data-site-theme="blue"] body.product-detail-page .price-health-extremes {
    gap: 18px;
}

html[data-site-theme="blue"] body.product-detail-page .price-health-extremes > span {
    min-width: 0;
}

html[data-site-theme="blue"] body.product-detail-page .price-health-extremes > span:last-child {
    text-align: right;
}

html[data-site-theme="blue"] body.product-detail-page .price-health-track {
    height: 12px !important;
    box-shadow: inset 0 1px 2px rgba(var(--pb-shadow-rgb), 0.16);
}

html[data-site-theme="blue"] body.product-detail-page .price-health-summary {
    min-height: 48px;
    margin-top: 18px !important;
    padding: 13px 15px !important;
    border-radius: 12px !important;
    line-height: 1.5;
}

html[data-site-theme="blue"] body.product-detail-page .product-analytics-grid {
    grid-template-columns: minmax(0, 2.15fr) minmax(310px, 0.85fr) !important;
    align-items: stretch;
}

html[data-site-theme="blue"] body.product-detail-page :is(.product-analytics-grid, .product-details-grid) > div {
    grid-column: auto !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
    padding: 28px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-analysis-card {
    height: 100%;
    min-height: 0;
    padding: 28px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-analysis-card .analysis-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-card .product-card-title,
html[data-site-theme="blue"] body.product-detail-page .product-analysis-card .product-card-title {
    margin-bottom: 0 !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-stage {
    position: relative;
    flex: 1 1 340px;
    min-height: 340px;
    height: auto !important;
    margin-top: 18px;
    padding: 18px !important;
    border: 1px solid var(--pb-divider);
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--pb-primary-rgb), 0.08), transparent 58%),
        linear-gradient(180deg, var(--pb-surface-soft), var(--pb-surface)) !important;
    box-shadow: inset 0 1px 0 rgba(var(--pb-primary-rgb), 0.04);
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-stage canvas {
    position: relative;
    z-index: 1;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-stage:has(.price-chart-empty-state) canvas {
    opacity: 0.78;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-empty-state {
    position: absolute;
    z-index: 2;
    inset: 50% auto auto 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: min(88%, 390px);
    padding: 22px 24px;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.22);
    border-radius: 16px;
    background: color-mix(in srgb, var(--pb-surface-raised) 94%, transparent);
    box-shadow: 0 18px 44px rgba(var(--pb-shadow-rgb), 0.24);
    backdrop-filter: blur(12px);
    color: var(--pb-muted);
    text-align: center;
    transform: translate(-50%, -50%);
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: var(--pb-primary-soft);
    color: var(--pb-primary);
    font-size: 24px;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-empty-state strong {
    margin-bottom: 4px;
    color: var(--pb-heading);
    font-size: 16px;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-empty-state > span:last-child {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.5;
}

html[data-site-theme="blue"] body.product-detail-page .analysis-recommendation {
    min-height: 86px;
    padding: 15px !important;
    border-radius: 14px !important;
    line-height: 1.55;
}

html[data-site-theme="blue"] body.product-detail-page .analysis-section {
    margin: 0 !important;
}

html[data-site-theme="blue"] body.product-detail-page .analysis-recommendation-section {
    margin-top: 16px !important;
}

html[data-site-theme="blue"] body.product-detail-page .analysis-recommendation-section > .text-sm {
    margin-bottom: 10px !important;
}

html[data-site-theme="blue"] body.product-detail-page .analysis-divider {
    margin: 22px 0 !important;
}

html[data-site-theme="blue"] body.product-detail-page .deal-score-section > .text-sm {
    margin-bottom: 16px !important;
}

html[data-site-theme="blue"] body.product-detail-page .gauge-wrapper-analysis {
    margin: 0 auto !important;
}

html[data-site-theme="blue"] body.product-detail-page .deal-score-scale {
    align-items: center;
    width: min(228px, 100%) !important;
    margin: 12px auto 20px !important;
    padding-inline: 4px !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-chart-range {
    flex: 0 0 auto;
    min-height: 70px;
    margin-top: 18px !important;
    padding: 12px 16px !important;
}

html[data-site-theme="blue"] body.product-detail-page .deal-score-summary {
    padding: 16px !important;
    border-radius: 14px !important;
    background: var(--pb-surface-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-details-grid {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 0.82fr) !important;
    align-items: start;
}

html[data-site-theme="blue"] body.product-detail-page :is(.product-info-card, .product-stats-card, .emi-card, .stock-history-card) {
    padding: 24px !important;
    border-radius: 18px !important;
}

html[data-site-theme="blue"] body.product-detail-page :is(.product-info-card, .product-stats-card) {
    height: 100%;
}

@media (min-width: 1101px) {
    html[data-site-theme="blue"] body.product-detail-page .product-details-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: auto auto;
        align-items: stretch;
        column-gap: 28px !important;
        row-gap: 36px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page :is(.product-details-primary, .product-details-secondary, .product-info-pair-grid) {
        display: contents;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-details-primary > *,
    html[data-site-theme="blue"] body.product-detail-page .product-details-secondary > * {
        margin-block: 0 !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-info-card {
        grid-column: 1;
        grid-row: 1;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-stats-card {
        grid-column: 2;
        grid-row: 1;
    }

    html[data-site-theme="blue"] body.product-detail-page .stock-history-card {
        grid-column: 3;
        grid-row: 1;
    }

    html[data-site-theme="blue"] body.product-detail-page .emi-card {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    html[data-site-theme="blue"] body.product-detail-page .share-deal-card {
        grid-column: 3;
        grid-row: 2;
    }

    html[data-site-theme="blue"] body.product-detail-page :is(.product-info-card, .product-stats-card, .stock-history-card, .emi-card, .share-deal-card) {
        height: 100%;
    }
}

html[data-site-theme="blue"] body.product-detail-page .product-info-card .space-y-3,
html[data-site-theme="blue"] body.product-detail-page .product-stats-card .space-y-3 {
    display: grid;
    gap: 9px;
}

html[data-site-theme="blue"] body.product-detail-page .product-info-card .space-y-3 > .flex {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--pb-divider);
    border-radius: 11px;
    background: var(--pb-surface-soft);
}

html[data-site-theme="blue"] body.product-detail-page .product-info-card .space-y-3 > .border-t {
    display: none;
}

html[data-site-theme="blue"] body.product-detail-page .product-info-card .space-y-3 > .flex > span:last-child {
    max-width: 64%;
    color: var(--pb-heading) !important;
    text-align: right;
}

html[data-site-theme="blue"] body.product-detail-page .product-stats-card .space-y-3 > div {
    min-height: 46px;
    padding: 11px 13px !important;
    border-radius: 11px !important;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card .grid-cols-2 {
    gap: 14px !important;
    margin-bottom: 18px !important;
}

html[data-site-theme="blue"] body.product-detail-page :is(.emi-card, .share-deal-card) {
    min-height: 360px;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card .product-card-title + p {
    margin-bottom: 18px !important;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card .mt-4 {
    margin-top: 14px !important;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card label {
    margin-bottom: 4px;
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card select {
    width: 100%;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 42px 0 14px !important;
    border: 1px solid var(--pb-border-strong) !important;
    border-radius: 12px !important;
    background-color: var(--pb-input) !important;
    box-shadow: inset 0 1px 0 rgba(var(--pb-primary-rgb), 0.05);
    font-weight: 650;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card select:focus {
    border-color: var(--pb-primary) !important;
    outline: 3px solid rgba(var(--pb-primary-rgb), 0.18) !important;
    outline-offset: 1px;
}

html[data-site-theme="blue"] body.product-detail-page .emi-card .premium-glass-card.border {
    min-height: 98px;
    padding: 16px 18px !important;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.22) !important;
    border-radius: 14px !important;
    background: var(--pb-primary-soft) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .stock-history-card .space-y-3 > .flex {
    min-height: 54px;
    padding: 8px 0;
}

html[data-site-theme="blue"] body.product-detail-page .stock-history-card .w-8.h-8 {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.18);
    border-radius: 11px;
    background: var(--pb-primary-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card {
    padding: 26px !important;
    border-radius: 20px !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card h3 {
    font-size: 22px !important;
    margin-bottom: 16px !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card > p {
    margin-bottom: 22px !important;
    line-height: 1.55;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card > .grid {
    gap: 10px !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card button {
    min-height: 50px;
    border-radius: 11px !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card .share-whatsapp-btn {
    border-color: rgba(var(--pb-positive-rgb), 0.5) !important;
    background: rgba(var(--pb-positive-rgb), 0.2) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card .share-whatsapp-btn:hover {
    background: rgba(var(--pb-positive-rgb), 0.32) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card .share-telegram-btn {
    border-color: rgba(56, 189, 248, 0.5) !important;
    background: rgba(14, 165, 233, 0.22) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card .share-telegram-btn:hover {
    background: rgba(14, 165, 233, 0.34) !important;
}

html[data-site-theme="blue"] body.product-detail-page .share-deal-card .share-copy-btn {
    border-color: var(--pb-border-strong) !important;
    background: var(--pb-surface-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-stock-status {
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
}

html[data-site-theme="blue"] body.product-detail-page .product-info-card .space-y-3 > .flex > span.product-stock-in {
    border-color: rgba(var(--pb-positive-rgb), 0.34) !important;
    background: var(--pb-positive-soft) !important;
    color: var(--pb-positive) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-info-card .space-y-3 > .flex > span.product-stock-out {
    border-color: rgba(var(--pb-danger-rgb), 0.34) !important;
    background: var(--pb-danger-soft) !important;
    color: var(--pb-danger) !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card {
    margin-top: 36px !important;
    border-radius: 20px !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card > div:first-child {
    padding: 22px 26px !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card .product-card-title {
    margin-bottom: 0 !important;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card > .overflow-x-auto {
    width: auto;
    margin: 16px 24px 22px;
    border: 1px solid var(--pb-divider);
    border-radius: 14px;
    background: var(--pb-surface-soft);
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate !important;
    border-spacing: 0;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card th {
    padding-inline: 22px !important;
    padding-block: 15px !important;
    font-size: 11px;
    letter-spacing: 0.08em;
}

html[data-site-theme="blue"] body.product-detail-page .price-history-table-card tbody td {
    padding-inline: 22px !important;
    padding-block: 14px !important;
}

@media (max-width: 640px) {
    html[data-site-theme="blue"] body.product-detail-page .price-history-table-card > .overflow-x-auto {
        margin: 12px 14px 16px;
        border-radius: 12px;
    }

    html[data-site-theme="blue"] body.product-detail-page .price-history-table-card th,
    html[data-site-theme="blue"] body.product-detail-page .price-history-table-card tbody td {
        padding-inline: 16px !important;
    }
}

html[data-site-theme="blue"] body.product-detail-page .related-products-card,
html[data-site-theme="blue"] body.product-detail-page .product-faq-card {
    padding: clamp(24px, 3vw, 36px) !important;
    border-radius: 22px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card {
    margin-top: 36px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card > .text-center {
    margin-bottom: 32px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card > .text-center h3 {
    margin-bottom: 12px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card > .text-center p {
    margin-top: 0 !important;
    line-height: 1.55;
}

html[data-site-theme="blue"] body.product-detail-page :is(.related-products-card, .product-faq-card).cv-auto {
    content-visibility: visible;
    contain-intrinsic-size: none;
}

html[data-site-theme="blue"] body.product-detail-page .related-products-card .group.premium-glass-card {
    padding: 14px !important;
    border-radius: 15px !important;
    background: var(--pb-surface-soft) !important;
    box-shadow: none !important;
}

html[data-site-theme="blue"] body.product-detail-page .related-products-card .group.premium-glass-card:hover {
    border-color: var(--pb-primary) !important;
    box-shadow: var(--pb-shadow-sm) !important;
    transform: translateY(-3px);
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-item {
    border-radius: 14px !important;
    background: var(--pb-surface-soft) !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-question {
    min-height: 68px;
    padding: 18px 20px !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-faq-card .faq-question > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: var(--pb-primary-soft);
}

@media (max-width: 1100px) {
    html[data-site-theme="blue"] body.product-detail-page .product-hero-card {
        grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr) !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-analytics-grid,
    html[data-site-theme="blue"] body.product-detail-page .product-details-grid {
        grid-template-columns: 1fr !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-analysis-card {
        width: 100%;
    }
}

@media (max-width: 900px) {
    html[data-site-theme="blue"] body.product-detail-page .product-hero-card,
    html[data-site-theme="blue"] body.product-detail-page .product-insights-grid {
        grid-template-columns: 1fr !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-image-panel {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    html[data-site-theme="blue"] body.product-detail-page .product-card-shell {
        border-radius: 17px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-hero-card {
        padding: 14px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-hero-card::before {
        width: auto;
        inset: 0 28px auto;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-image-panel {
        min-height: 310px;
        border-radius: 15px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-summary-panel {
        padding: 4px 2px 8px;
    }

    html[data-site-theme="blue"] body.product-detail-page #mainProductTitle {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-price-panel .text-4xl.text-green-400 {
        font-size: 36px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-price-row {
        align-items: flex-start;
        gap: 14px;
    }

    html[data-site-theme="blue"] body.product-detail-page .heart-btn {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-price-stats .product-metric {
        min-height: 88px;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-price-stats .product-metric-average {
        grid-column: 1 / -1;
    }

    html[data-site-theme="blue"] body.product-detail-page :is(.buy-recommendation-card, .price-health-card, .price-chart-card, .product-analysis-card, .product-info-card, .product-stats-card, .emi-card, .stock-history-card) {
        padding: 18px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-card-title {
        margin-bottom: 16px !important;
        font-size: 17px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-card-title > i {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 10px;
    }

    html[data-site-theme="blue"] body.product-detail-page .price-chart-card {
        min-height: 440px;
    }

    html[data-site-theme="blue"] body.product-detail-page .price-chart-stage {
        min-height: 290px;
        height: 290px !important;
        padding: 10px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .price-chart-range {
        margin-top: 14px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-info-card .space-y-3 > .flex {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    html[data-site-theme="blue"] body.product-detail-page .product-info-card .space-y-3 > .flex > span:last-child {
        max-width: 100%;
        text-align: left;
    }
}

/* Light mode repairs for legacy inline dark-only text. */
html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content, main) [style*="color: white"],
html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content, main) [style*="color: #ffffff"],
html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content, main) [style*="color:#ffffff"] {
    color: var(--pb-heading) !important;
}

html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content, main) [style*="color: #cbd5e1"],
html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content, main) [style*="color: #94a3b8"],
html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content, main) [style*="color:#cbd5e1"],
html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content, main) [style*="color:#94a3b8"] {
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content) > div[style*="background: linear-gradient"] :is(div, span, p, i),
html[data-site-theme="blue"][data-theme-mode="light"] :is(.admin-content, .user-content) :is(button, a)[style*="background: linear-gradient"] {
    color: var(--pb-on-primary) !important;
}

html[data-site-theme="blue"][data-theme-mode="light"] :is(.faq-page, .legal-page, .content-page) {
    color: var(--pb-text) !important;
}

html[data-site-theme="blue"][data-theme-mode="light"] body.product-detail-page .product-image-panel > span,
html[data-site-theme="blue"][data-theme-mode="light"] body.product-detail-page #priceHealthBox {
    color: var(--pb-on-primary) !important;
}

@media (max-width: 1180px) {
    html[data-site-theme="blue"] .navbar {
        grid-template-columns: minmax(170px, auto) minmax(240px, 1fr) auto !important;
        gap: 18px !important;
    }

    html[data-site-theme="blue"] .hero-section {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
        padding: 48px !important;
    }

    html[data-site-theme="blue"] .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 992px) {
    html[data-site-theme="blue"] .hero-section {
        grid-template-columns: 1fr;
        min-height: 0 !important;
    }

    html[data-site-theme="blue"] .hero-content {
        max-width: 760px !important;
    }

    html[data-site-theme="blue"] .blue-hero-panel {
        width: min(100%, 620px);
    }

    html[data-site-theme="blue"] :is(.admin-sidebar, .user-sidebar) {
        top: 0 !important;
        margin: 0 !important;
        border-radius: 0 18px 18px 0 !important;
    }
}

@media (max-width: 768px) {
    html[data-site-theme="blue"] .navbar-top-bar {
        padding-inline: 14px !important;
    }

    html[data-site-theme="blue"] .navbar {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        min-height: 64px !important;
        padding: 10px 14px !important;
    }

    html[data-site-theme="blue"] .navbar-logo {
        padding-inline: 7px !important;
    }

    html[data-site-theme="blue"] .navbar-logo .navbar-wordmark {
        font-size: 21px !important;
    }

    html[data-site-theme="blue"] .navbar-center {
        position: fixed;
        max-width: 100vw !important;
        background: var(--pb-overlay) !important;
    }

    html[data-site-theme="blue"] .navbar-center .navbar-search {
        width: calc(100% - 32px) !important;
        max-width: 620px !important;
        height: 54px !important;
        border-radius: 15px !important;
        background: var(--pb-surface-raised) !important;
    }

    html[data-site-theme="blue"] .navbar-search-input {
        padding-right: 66px !important;
    }

    html[data-site-theme="blue"] .navbar-search-btn {
        width: 44px !important;
        min-width: 44px;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 12px !important;
    }

    html[data-site-theme="blue"] .navbar-search-clear {
        right: 58px !important;
    }

    html[data-site-theme="blue"] .mobile-search-toggle {
        display: flex !important;
        width: 42px;
        padding: 0 !important;
        border-color: transparent !important;
        background: var(--pb-primary-soft) !important;
        color: var(--pb-primary) !important;
    }

    html[data-site-theme="blue"] .hero-section {
        margin-top: 18px !important;
        padding: 36px 24px !important;
        border-radius: 22px !important;
    }

    html[data-site-theme="blue"] .hero-title {
        font-size: clamp(37px, 12vw, 55px) !important;
    }

    html[data-site-theme="blue"] .blue-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    html[data-site-theme="blue"] :is(.blue-hero-primary, .blue-hero-secondary) {
        width: 100%;
    }

    html[data-site-theme="blue"] .blue-hero-panel {
        padding: 18px;
        transform: none;
    }

    html[data-site-theme="blue"] .blue-hero-panel::before {
        display: none;
    }

    html[data-site-theme="blue"] .step-arrow {
        transform: rotate(90deg);
    }

    html[data-site-theme="blue"] :is(.admin-content, .user-content) {
        padding: 22px 16px !important;
    }

    html[data-site-theme="blue"] .footer-content {
        grid-template-columns: 1fr !important;
    }

    html[data-site-theme="blue"] .footer-bottom-content {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    html[data-site-theme="blue"] body.dashboard-layout .footer-bottom-content {
        gap: 6px !important;
        text-align: left !important;
    }

    html[data-site-theme="blue"] body.dashboard-layout .footer-copyright {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        white-space: normal;
    }

    html[data-site-theme="blue"] body.dashboard-layout .footer-location {
        padding-left: 0;
        border-left: 0;
    }

    html[data-site-theme="blue"] body.dashboard-layout .footer-disclaimer {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 520px) {
    html[data-site-theme="blue"] .navbar-top-left .top-bar-link {
        padding-inline: 8px !important;
    }

    html[data-site-theme="blue"] .navbar-top-right {
        gap: 6px !important;
    }

    html[data-site-theme="blue"] .theme-switch-btn span,
    html[data-site-theme="blue"] .country-selector-btn .country-name {
        display: inline !important;
    }

    html[data-site-theme="blue"] .navbar-logo .navbar-wordmark {
        display: inline-flex !important;
        font-size: 18px !important;
    }

    html[data-site-theme="blue"] .navbar-right .btn span {
        display: none;
    }

    html[data-site-theme="blue"] .navbar-right .btn {
        width: 42px;
        justify-content: center;
        padding: 0 !important;
    }

    html[data-site-theme="blue"] .hero-section {
        padding: 30px 18px !important;
    }

    html[data-site-theme="blue"] .blue-hero-proof {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    html[data-site-theme="blue"] .blue-panel-foot {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 6px;
    }
}

/* Product deal score breakdown */
html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal.deal-score-modal {
    align-items: center;
    padding: 24px !important;
    background: rgba(2, 8, 20, 0.78) !important;
    backdrop-filter: blur(12px) saturate(125%);
}

html[data-site-theme="blue"] body.deal-score-modal-open {
    overflow: hidden !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-panel {
    width: min(100%, 680px) !important;
    max-width: 680px !important;
    max-height: calc(100vh - 48px);
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pb-border-strong) !important;
    border-radius: 24px !important;
    background: var(--pb-surface) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(var(--pb-primary-rgb), 0.08) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-header {
    min-height: 92px;
    padding: 20px 24px !important;
    border-color: var(--pb-divider) !important;
    background: linear-gradient(135deg, rgba(var(--pb-primary-rgb), 0.12), transparent 58%);
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--pb-primary-rgb), 0.34);
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-accent)) !important;
    color: var(--pb-on-primary) !important;
    box-shadow: 0 10px 24px rgba(var(--pb-primary-rgb), 0.25) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-subtitle {
    margin-top: 4px;
    color: var(--pb-muted) !important;
    line-height: 1.45;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-close {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--pb-border);
    background: var(--pb-surface-soft);
    color: var(--pb-muted) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-close:hover {
    border-color: var(--pb-border-strong);
    background: var(--pb-primary-soft) !important;
    color: var(--pb-primary) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    padding: 20px 22px !important;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pb-border-strong) transparent;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric {
    --metric-rgb: var(--pb-primary-rgb);
    min-width: 0;
    min-height: 106px;
    padding: 14px !important;
    border: 1px solid rgba(var(--metric-rgb), 0.24) !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, rgba(var(--metric-rgb), 0.13), var(--pb-surface-soft) 72%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric--indigo { --metric-rgb: 99, 102, 241; }
html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric--green { --metric-rgb: 34, 197, 94; }
html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric--blue { --metric-rgb: 59, 130, 246; }
html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric--purple { --metric-rgb: 168, 85, 247; }
html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric--yellow { --metric-rgb: 234, 179, 8; }
html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric--cyan { --metric-rgb: 6, 182, 212; }

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric-head {
    gap: 12px;
    margin-bottom: 16px;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric-label {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    color: var(--pb-heading) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric-label i {
    color: rgb(var(--metric-rgb)) !important;
    font-size: 17px;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-points {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    min-width: 64px;
    padding: 5px 8px;
    border: 1px solid rgba(var(--metric-rgb), 0.25);
    border-radius: 999px;
    background: rgba(var(--metric-rgb), 0.12);
    color: rgb(var(--metric-rgb)) !important;
    font-size: 13px !important;
    white-space: nowrap;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-points small {
    margin-left: 3px;
    color: var(--pb-muted);
    font-size: 10px;
    font-weight: 700;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-progress {
    height: 8px !important;
    border: 0 !important;
    background: rgba(var(--metric-rgb), 0.16) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-progress > div {
    background: rgb(var(--metric-rgb)) !important;
    box-shadow: 0 0 14px rgba(var(--metric-rgb), 0.32);
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal :is(.deal-score-metric .mt-2, .deal-score-penalty) {
    border-color: var(--pb-border) !important;
    background: rgba(var(--metric-rgb, var(--pb-primary-rgb)), 0.09) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-penalty {
    margin-top: 12px;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-footer {
    padding: 18px 24px !important;
    border-color: var(--pb-divider) !important;
    background: linear-gradient(135deg, var(--pb-surface-raised), rgba(var(--pb-positive-rgb), 0.09)) !important;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-total {
    display: inline-flex;
    align-items: baseline;
    color: var(--pb-positive) !important;
    font-size: 36px !important;
    line-height: 1;
    letter-spacing: -0.04em;
}

html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-total small {
    margin-left: 4px;
    color: var(--pb-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

@media (max-width: 640px) {
    html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal.deal-score-modal {
        align-items: flex-start;
        padding: 12px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-panel {
        max-height: calc(100vh - 24px);
    }

    html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-header {
        min-height: 78px;
        padding: 15px 16px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-icon {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }

    html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-body {
        padding: 14px !important;
    }

    html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-metric {
        min-height: 98px;
    }

    html[data-site-theme="blue"] body.product-detail-page #dealScoreBreakdownModal .deal-score-modal-footer {
        padding: 15px 17px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-site-theme="blue"] *,
    html[data-site-theme="blue"] *::before,
    html[data-site-theme="blue"] *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Keep marketplace raster images visually seamless on white product surfaces. */
html[data-site-theme="blue"] body.product-detail-page .product-image-panel,
html[data-site-theme="blue"] .products-grid .product-image-container,
html[data-site-theme="blue"] .product-card > .product-image,
html[data-site-theme="blue"] .product-image-wrap,
html[data-site-theme="blue"] .product-card-content > .product-image,
html[data-site-theme="blue"] .admin-product-image-frame {
    background: #ffffff !important;
}

html[data-site-theme="blue"] body.product-detail-page .product-image-panel > img,
html[data-site-theme="blue"] .products-grid .product-image-container > img,
html[data-site-theme="blue"] .product-card > .product-image > img,
html[data-site-theme="blue"] .product-image-wrap > img.product-img,
html[data-site-theme="blue"] .product-card-content > .product-image > img,
html[data-site-theme="blue"] img.admin-product-image {
    background: #ffffff !important;
    filter: brightness(1.035) contrast(1.04) !important;
    mix-blend-mode: normal !important;
}
