
/* DGCHEME Products Universe / All-in-One Catalog v2.0 */

.dg-products-shell,
.dg-products-article,
.dg-products-entry {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.dg-products-article {
    overflow: visible;
}

.dg-products-entry > :first-child { margin-top: 0; }
.dg-products-entry > :last-child { margin-bottom: 0; }

.dgpu {
    --bg: #05080c;
    --panel: #0a1016;
    --panel-2: #0d151d;
    --line: rgba(255,255,255,.10);
    --line-strong: rgba(255,255,255,.18);
    --text: #f5f7fa;
    --muted: #9aa8b6;
    --soft: #cbd3dc;
    --accent: #ff4f86;
    --shadow: 0 28px 90px rgba(0,0,0,.34);
    position: relative;
    isolation: isolate;
    overflow: clip;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.035), transparent 35%),
        linear-gradient(180deg, #030609 0%, #071019 32%, #081018 100%);
    color: var(--text);
    direction: rtl;
}

.dgpu,
.dgpu * {
    box-sizing: border-box;
}

.dgpu a {
    color: inherit;
    text-decoration: none;
}

.dgpu button,
.dgpu input {
    font: inherit;
}

.dgpu button {
    color: inherit;
}

.dgpu-hero {
    position: relative;
    min-height: 920px;
    padding: 46px 28px 88px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 43%, rgba(255, 73, 134, .08), transparent 19%),
        radial-gradient(circle at 22% 24%, rgba(32, 102, 255, .06), transparent 21%),
        linear-gradient(180deg, #020508 0%, #050b11 78%, #071019 100%);
}

.dgpu-hero__bg,
.dgpu-hero__noise,
.dgpu-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dgpu-hero__noise {
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(circle at center, #000 0 42%, transparent 78%);
}

.dgpu-hero__glow {
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .10;
}

.dgpu-hero__glow--a {
    left: -130px;
    top: 70px;
    background: #0c75ff;
}

.dgpu-hero__glow--b {
    right: -140px;
    bottom: 80px;
    background: #ff2f76;
}

.dgpu-orbit {
    position: relative;
    width: min(900px, 84vw);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
}

.dgpu-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        inset 0 0 50px rgba(255,255,255,.012),
        0 0 60px rgba(0,0,0,.32);
}

.dgpu-ring::before,
.dgpu-ring::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.38);
    box-shadow: 0 0 16px rgba(255,255,255,.34);
}

.dgpu-ring::before { left: 8%; top: 27%; }
.dgpu-ring::after { right: 9%; bottom: 29%; }

.dgpu-ring--1 { width: 96%; height: 96%; }
.dgpu-ring--2 { width: 76%; height: 76%; border-color: rgba(255,255,255,.12); }
.dgpu-ring--3 { width: 57%; height: 57%; border-color: rgba(255,255,255,.10); }
.dgpu-ring--4 { width: 38%; height: 38%; border-color: rgba(255,255,255,.08); }

.dgpu-core {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 210px;
    height: 210px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background:
        radial-gradient(circle at 38% 28%, rgba(255,255,255,.11), transparent 31%),
        linear-gradient(145deg, #101820, #060a0e 64%);
    box-shadow:
        0 0 0 10px rgba(255,255,255,.018),
        0 24px 80px rgba(0,0,0,.52),
        inset 0 0 36px rgba(255,255,255,.025);
}

.dgpu-core::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(255,255,255,.10);
    border-radius: inherit;
}

.dgpu-core__mark {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .24em;
    color: #ff497f;
}

.dgpu-core strong {
    position: relative;
    z-index: 1;
    direction: ltr;
    font-family: Arial, sans-serif;
    font-size: clamp(27px, 3.2vw, 40px);
    line-height: .9;
    letter-spacing: -.055em;
    color: #fff;
}

.dgpu-core small {
    position: relative;
    z-index: 1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .26em;
    color: rgba(255,255,255,.45);
}

.dgpu-core i {
    position: absolute;
    left: 50%;
    bottom: -63px;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
}

.dgpu-orbit-node {
    --node: 98px;
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 150px;
    transform: translate(-50%, -50%);
    text-align: center;
    outline: none;
}

.dgpu-orbit-node::before {
    content: "";
    position: absolute;
    top: calc(var(--node) / 2);
    left: 50%;
    width: 1px;
    height: 18px;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.28);
    opacity: 0;
    transition: .25s ease;
}

.dgpu-orbit-node__image {
    position: relative;
    display: block;
    width: var(--node);
    height: var(--node);
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: #0d141b;
    box-shadow:
        0 12px 34px rgba(0,0,0,.48),
        0 0 0 6px rgba(255,255,255,.018);
    transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.dgpu-orbit-node__image::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255,255,255,.08), transparent 42%, rgba(0,0,0,.18));
    pointer-events: none;
}

.dgpu-orbit-node img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: saturate(.94) contrast(1.04);
}

.dgpu-orbit-node__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 150px;
}

.dgpu-orbit-node__copy small {
    direction: ltr;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
    color: rgba(255,255,255,.46);
}

.dgpu-orbit-node__copy strong {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.90);
}

.dgpu-orbit-node:hover .dgpu-orbit-node__image,
.dgpu-orbit-node:focus-visible .dgpu-orbit-node__image {
    transform: translateY(-5px) scale(1.06);
    border-color: rgba(255,255,255,.48);
    box-shadow:
        0 17px 42px rgba(0,0,0,.58),
        0 0 0 7px rgba(255,255,255,.035),
        0 0 42px color-mix(in srgb, var(--node-accent, #ff4f86) 28%, transparent);
}

.dgpu-orbit-node--gold { --node-accent: #d6aa4d; }
.dgpu-orbit-node--silver { --node-accent: #d9e1e8; }
.dgpu-orbit-node--copper { --node-accent: #c8794d; }
.dgpu-orbit-node--pearl { --node-accent: #eef3ff; }
.dgpu-orbit-node--rainbow { --node-accent: #b16cff; }
.dgpu-orbit-node--glow { --node-accent: #7cff83; }
.dgpu-orbit-node--magic { --node-accent: #ff6fd8; }
.dgpu-orbit-node--holo { --node-accent: #67e8f9; }
.dgpu-orbit-node--dye { --node-accent: #ff4d5f; }

.dgpu-hero__caption {
    position: relative;
    z-index: 8;
    width: min(760px, 100%);
    margin: -54px auto 0;
    text-align: center;
}

.dgpu-hero__caption > span {
    display: block;
    margin-bottom: 8px;
    direction: ltr;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    color: #ff4f86;
}

.dgpu-hero__caption h1 {
    margin: 0;
    font-size: clamp(25px, 4vw, 46px);
    line-height: 1.25;
    letter-spacing: -.03em;
    color: #fff;
}

.dgpu-hero__caption p {
    max-width: 690px;
    margin: 15px auto 0;
    font-size: 14px;
    line-height: 2;
    color: var(--muted);
    text-align: justify;
    text-align-last: center;
}

.dgpu-hero__stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.dgpu-hero__stats div {
    min-width: 132px;
    padding: 11px 15px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    backdrop-filter: blur(10px);
}

.dgpu-hero__stats strong {
    display: block;
    direction: ltr;
    font: 800 20px/1 Arial, sans-serif;
    color: #fff;
}

.dgpu-hero__stats span {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    color: rgba(255,255,255,.55);
}

.dgpu-scroll {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.035);
    transition: .22s ease;
}

.dgpu-scroll:hover {
    border-color: rgba(255,79,134,.54);
    background: rgba(255,79,134,.08);
}

.dgpu-scroll i {
    font-style: normal;
    color: #ff4f86;
}

.dgpu-toolbar-wrap {
    position: relative;
    z-index: 12;
    width: min(1380px, calc(100% - 36px));
    margin: -34px auto 0;
}

.dgpu-toolbar {
    display: grid;
    grid-template-columns: minmax(170px, .72fr) minmax(320px, 1.6fr) 120px;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(8, 14, 20, .92);
    box-shadow: 0 22px 70px rgba(0,0,0,.30);
    backdrop-filter: blur(18px);
}

.dgpu-toolbar__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dgpu-toolbar__title span {
    direction: ltr;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #ff4f86;
}

.dgpu-toolbar__title strong {
    font-size: 17px;
    color: #fff;
}

.dgpu-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
}

.dgpu-search svg {
    width: 18px;
    height: 18px;
    margin-right: 14px;
    fill: none;
    stroke: rgba(255,255,255,.45);
    stroke-width: 1.7;
}

.dgpu-search input {
    width: 100%;
    height: 100%;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 12px;
}

.dgpu-search input::placeholder {
    color: rgba(255,255,255,.36);
}

.dgpu-search button {
    width: 34px;
    height: 34px;
    margin-left: 5px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    background: rgba(255,255,255,.06);
}

.dgpu-toolbar__result {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
}

.dgpu-toolbar__result strong {
    direction: ltr;
    font: 800 22px/1 Arial, sans-serif;
    color: #fff;
}

.dgpu-toolbar__result span {
    font-size: 10px;
    color: var(--muted);
}

.dgpu-quicknav {
    display: grid;
    grid-template-columns: repeat(9, minmax(0,1fr));
    gap: 7px;
    margin-top: 9px;
}

.dgpu-quicknav a {
    position: relative;
    min-height: 72px;
    padding: 10px 9px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.02);
    transition: .22s ease;
}

.dgpu-quicknav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4f86, transparent);
    transform: scaleX(0);
    transition: .22s ease;
}

.dgpu-quicknav a:hover,
.dgpu-quicknav a.is-active {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.045);
}

.dgpu-quicknav a:hover::after,
.dgpu-quicknav a.is-active::after { transform: scaleX(1); }

.dgpu-quicknav span {
    display: block;
    direction: ltr;
    margin-bottom: 6px;
    font-size: 8px;
    color: rgba(255,255,255,.35);
}

.dgpu-quicknav strong {
    display: block;
    min-height: 28px;
    font-size: 10px;
    line-height: 1.45;
    color: rgba(255,255,255,.82);
}

.dgpu-quicknav small {
    display: block;
    margin-top: 3px;
    font-size: 8px;
    color: rgba(255,255,255,.38);
}

.dgpu-catalog {
    width: min(1380px, calc(100% - 36px));
    margin: 38px auto 0;
    padding-bottom: 80px;
}

.dgpu-line {
    --line-accent: #ff4f86;
    position: relative;
    margin-top: 58px;
    scroll-margin-top: 110px;
}

.dgpu-line--gold { --line-accent: #d9ad54; }
.dgpu-line--silver { --line-accent: #cdd7e0; }
.dgpu-line--copper { --line-accent: #c6784d; }
.dgpu-line--pearl { --line-accent: #e5eaf4; }
.dgpu-line--rainbow { --line-accent: #a86cff; }
.dgpu-line--glow { --line-accent: #72ff83; }
.dgpu-line--magic { --line-accent: #ff64c8; }
.dgpu-line--holo { --line-accent: #68ddea; }
.dgpu-line--dye { --line-accent: #ff566d; }

.dgpu-line__head {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0,1fr) 160px;
    gap: 20px;
    align-items: center;
    min-height: 118px;
    padding: 20px 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background:
        linear-gradient(95deg, color-mix(in srgb, var(--line-accent) 8%, transparent), transparent 35%),
        rgba(255,255,255,.025);
}

.dgpu-line__head::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-accent));
    opacity: .72;
}

.dgpu-line__number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid color-mix(in srgb, var(--line-accent) 45%, rgba(255,255,255,.12));
    border-radius: 50%;
    font: 700 14px/1 Arial, sans-serif;
    color: var(--line-accent);
    background: rgba(0,0,0,.18);
}

.dgpu-line__copy > span {
    display: block;
    direction: ltr;
    margin-bottom: 5px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
    color: color-mix(in srgb, var(--line-accent) 76%, white);
}

.dgpu-line__copy h2 {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 31px);
    line-height: 1.25;
    color: #fff;
}

.dgpu-line__copy p {
    max-width: 760px;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
}

.dgpu-line__meta {
    text-align: left;
    direction: ltr;
}

.dgpu-line__meta strong {
    display: block;
    font: 800 clamp(28px,3vw,44px)/.9 Arial, sans-serif;
    color: #fff;
}

.dgpu-line__meta span {
    display: block;
    margin-top: 7px;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .12em;
    color: color-mix(in srgb, var(--line-accent) 76%, white);
}

.dgpu-line__meta small {
    display: block;
    margin-top: 5px;
    direction: rtl;
    font-size: 9px;
    color: rgba(255,255,255,.38);
}

.dgpu-line__families {
    display: grid;
    gap: 26px;
    margin-top: 18px;
}

.dgpu-family {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 16px;
    background: rgba(255,255,255,.018);
    content-visibility: auto;
    contain-intrinsic-size: 700px;
}

.dgpu-family__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.dgpu-family__identity {
    display: flex;
    align-items: center;
    gap: 13px;
}

.dgpu-family__identity > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    font: 700 9px/1 Arial, sans-serif;
    color: var(--line-accent);
}

.dgpu-family__identity div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dgpu-family__identity small {
    direction: ltr;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em;
    color: rgba(255,255,255,.34);
}

.dgpu-family__identity h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

.dgpu-family__identity em {
    direction: ltr;
    font-style: normal;
    font-size: 8px;
    letter-spacing: .05em;
    color: color-mix(in srgb, var(--line-accent) 68%, white);
}

.dgpu-family__count {
    direction: ltr;
    text-align: left;
}

.dgpu-family__count strong {
    display: block;
    font: 800 22px/1 Arial, sans-serif;
    color: rgba(255,255,255,.92);
}

.dgpu-family__count small {
    font-size: 7px;
    letter-spacing: .11em;
    color: rgba(255,255,255,.34);
}

.dgpu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
}

.dgpu-grid.is-collapsible:not(.is-expanded) > .dgpu-card:nth-child(n+13) {
    display: none;
}

.dgpu-card {
    appearance: none;
    position: relative;
    display: block;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    text-align: right;
    cursor: pointer;
    background: #0b1117;
    box-shadow: 0 14px 34px rgba(0,0,0,.20);
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.dgpu-card:hover,
.dgpu-card:focus-visible {
    z-index: 2;
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--line-accent) 50%, rgba(255,255,255,.15));
    background: #0d151c;
    box-shadow: 0 20px 46px rgba(0,0,0,.30);
    outline: none;
}

.dgpu-card.is-search-hidden {
    display: none !important;
}

.dgpu-card.is-palette-match {
    border-color: var(--line-accent);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--line-accent) 32%, transparent),
        0 18px 55px color-mix(in srgb, var(--line-accent) 16%, rgba(0,0,0,.34));
}

.dgpu-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(255,255,255,.07), transparent 54%),
        #111820;
}

.dgpu-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .38s ease, filter .38s ease;
}

.dgpu-card:hover .dgpu-card__media img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.03);
}

.dgpu-card__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3,7,10,.04) 0%, rgba(3,7,10,.12) 45%, rgba(3,7,10,.70) 100%);
    pointer-events: none;
}

.dgpu-card__family {
    position: absolute;
    right: 10px;
    bottom: 9px;
    max-width: calc(100% - 52px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(255,255,255,.76);
}

.dgpu-card__open {
    position: absolute;
    left: 9px;
    bottom: 8px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    font: 700 12px/1 Arial, sans-serif;
    background: rgba(4,8,12,.58);
    backdrop-filter: blur(8px);
}

.dgpu-card__body {
    display: block;
    padding: 13px 13px 14px;
}

.dgpu-card__eyebrow {
    display: block;
    direction: ltr;
    margin-bottom: 4px;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .13em;
    color: color-mix(in srgb, var(--line-accent) 75%, white);
}

.dgpu-card__code {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 800 18px/1.2 Arial, sans-serif;
    color: #fff;
}

.dgpu-card__color {
    display: block;
    min-height: 18px;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
    font-size: 9px;
    color: rgba(255,255,255,.48);
}

.dgpu-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 5px;
    margin-top: 10px;
}

.dgpu-card__specs > span {
    min-width: 0;
    padding: 7px 6px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px;
    background: rgba(255,255,255,.025);
}

.dgpu-card__specs small,
.dgpu-card__specs b {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
}

.dgpu-card__specs small {
    margin-bottom: 3px;
    font: 700 6px/1 Arial, sans-serif;
    letter-spacing: .06em;
    color: rgba(255,255,255,.28);
}

.dgpu-card__specs b {
    font: 700 8px/1.3 Arial, sans-serif;
    color: rgba(255,255,255,.72);
}

.dgpu-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(290px,100%);
    margin: 16px auto 0;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 11px;
    cursor: pointer;
    background: rgba(255,255,255,.025);
    font-size: 10px;
    font-weight: 700;
    transition: .22s ease;
}

.dgpu-more:hover {
    border-color: color-mix(in srgb, var(--line-accent) 42%, rgba(255,255,255,.15));
    background: color-mix(in srgb, var(--line-accent) 7%, transparent);
}

.dgpu-more i {
    font: normal 700 15px/1 Arial, sans-serif;
    color: var(--line-accent);
}

.dgpu-family-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px dashed rgba(255,255,255,.11);
    border-radius: 13px;
    text-align: center;
    background: rgba(255,255,255,.015);
}

.dgpu-family-empty > span {
    display: block;
    direction: ltr;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--line-accent);
}

.dgpu-family-empty > strong {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    color: #fff;
}

.dgpu-family-empty p {
    max-width: 620px;
    margin: 8px auto 0;
    font-size: 11px;
    line-height: 1.9;
    color: var(--muted);
}

.dgpu-family-empty--visual {
    display: grid;
    grid-template-columns: 180px minmax(0,1fr);
    gap: 22px;
    align-items: center;
    padding: 14px;
    text-align: right;
}

.dgpu-family-empty--visual img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 10px;
}

.dgpu-family-empty--visual div > span {
    display: block;
    direction: ltr;
    font-size: 8px;
    letter-spacing: .08em;
    color: var(--line-accent);
}

.dgpu-family-empty--visual div > strong {
    display: block;
    margin-top: 4px;
    direction: ltr;
    font: 800 22px/1 Arial, sans-serif;
    color: #fff;
}

.dgpu-family-empty--visual p {
    margin: 8px 0 0;
    text-align: right;
}

.dgpu-future {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 28px;
    align-items: center;
    width: min(1380px, calc(100% - 36px));
    margin: 0 auto 70px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 50%, rgba(255,79,134,.08), transparent 28%),
        rgba(255,255,255,.02);
}

.dgpu-future > div:first-child > span {
    direction: ltr;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #ff4f86;
}

.dgpu-future h2 {
    margin: 4px 0 0;
    font-size: 22px;
    color: #fff;
}

.dgpu-future p {
    max-width: 730px;
    margin: 9px 0 0;
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
}

.dgpu-future__flow {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(0,0,0,.18);
}

.dgpu-future__flow span,
.dgpu-future__flow strong {
    padding: 6px 8px;
    border-radius: 7px;
    font: 700 8px/1 Arial, sans-serif;
    letter-spacing: .06em;
}

.dgpu-future__flow span {
    color: rgba(255,255,255,.52);
    background: rgba(255,255,255,.04);
}

.dgpu-future__flow strong {
    color: #fff;
    background: rgba(255,79,134,.14);
}

.dgpu-future__flow i {
    font-style: normal;
    color: rgba(255,255,255,.25);
}

.dgpu-drawer[hidden] { display: none; }

.dgpu-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: flex-start;
}

.dgpu-drawer__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    cursor: default;
    background: rgba(0,0,0,.74);
    backdrop-filter: blur(7px);
}

.dgpu-drawer__panel {
    position: relative;
    z-index: 2;
    width: min(520px, 94vw);
    height: 100%;
    overflow-y: auto;
    border-left: 1px solid rgba(255,255,255,.12);
    background: #091018;
    box-shadow: 30px 0 90px rgba(0,0,0,.50);
    animation: dgpuDrawer .28s ease both;
}

@keyframes dgpuDrawer {
    from { transform: translateX(-34px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.dgpu-drawer__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    cursor: pointer;
    background: rgba(5,8,12,.65);
    font: 300 22px/1 Arial, sans-serif;
}

.dgpu-drawer__media {
    aspect-ratio: 16/11;
    overflow: hidden;
    background: #111820;
}

.dgpu-drawer__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dgpu-drawer__content {
    padding: 24px;
}

.dgpu-drawer__family {
    display: block;
    direction: ltr;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .10em;
    color: #ff4f86;
}

.dgpu-drawer__content h2 {
    margin: 6px 0 0;
    direction: ltr;
    font: 800 34px/1 Arial, sans-serif;
    color: #fff;
}

.dgpu-drawer__tech {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    margin-top: 20px;
}

.dgpu-drawer__tech > div {
    padding: 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
}

.dgpu-drawer__tech small,
.dgpu-drawer__tech strong {
    display: block;
}

.dgpu-drawer__tech small {
    direction: ltr;
    font-size: 7px;
    letter-spacing: .08em;
    color: rgba(255,255,255,.35);
}

.dgpu-drawer__tech strong {
    margin-top: 4px;
    direction: ltr;
    font-size: 10px;
    color: rgba(255,255,255,.82);
}

.dgpu-drawer__apps {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.dgpu-drawer__apps > span {
    display: block;
    direction: ltr;
    margin-bottom: 9px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
    color: rgba(255,255,255,.42);
}

.dgpu-drawer__apps > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dgpu-drawer__apps b {
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    direction: ltr;
    font-size: 8px;
    font-weight: 600;
    color: rgba(255,255,255,.70);
    background: rgba(255,255,255,.025);
}

body.dgpu-drawer-open {
    overflow: hidden;
}

.dgpu-match[hidden] { display: none; }

.dgpu-match {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99998;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    max-width: min(440px, calc(100vw - 36px));
    padding: 12px 13px;
    border: 1px solid rgba(255,79,134,.38);
    border-radius: 12px;
    background: rgba(9,16,24,.94);
    box-shadow: 0 20px 60px rgba(0,0,0,.42);
    backdrop-filter: blur(14px);
}

.dgpu-match span {
    direction: ltr;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .11em;
    color: #ff4f86;
}

.dgpu-match strong {
    font-size: 10px;
    color: #fff;
}

.dgpu-match button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255,255,255,.06);
}

.dgpu-search-empty {
    grid-column: 1/-1;
    padding: 26px;
    border: 1px dashed rgba(255,255,255,.11);
    border-radius: 12px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 1180px) {
    .dgpu-hero { min-height: 840px; }
    .dgpu-orbit { width: min(790px, 90vw); }
    .dgpu-orbit-node { --node: 82px; width: 132px; }
    .dgpu-orbit-node__copy strong { font-size: 10px; }
    .dgpu-core { width: 184px; height: 184px; }
    .dgpu-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .dgpu-quicknav { grid-template-columns: repeat(5, minmax(0,1fr)); }
}

@media (max-width: 860px) {
    .dgpu-hero {
        min-height: auto;
        padding: 34px 16px 76px;
    }

    .dgpu-orbit {
        width: min(680px, 102vw);
        margin-right: -1vw;
        transform: scale(.88);
        transform-origin: top center;
        margin-bottom: -70px;
    }

    .dgpu-orbit-node { --node: 72px; width: 112px; }
    .dgpu-orbit-node__copy small { display: none; }
    .dgpu-orbit-node__copy strong { font-size: 9px; }
    .dgpu-core { width: 160px; height: 160px; }
    .dgpu-core strong { font-size: 27px; }

    .dgpu-toolbar {
        grid-template-columns: 1fr 90px;
    }

    .dgpu-toolbar__title { grid-column: 1/-1; }
    .dgpu-search { grid-column: 1; }
    .dgpu-toolbar__result { grid-column: 2; }

    .dgpu-quicknav { grid-template-columns: repeat(3,minmax(0,1fr)); }

    .dgpu-line__head {
        grid-template-columns: 54px minmax(0,1fr);
    }

    .dgpu-line__meta {
        grid-column: 2;
        text-align: right;
    }

    .dgpu-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .dgpu-future { grid-template-columns: 1fr; }
    .dgpu-future__flow { justify-self: stretch; justify-content: center; }
}

@media (max-width: 620px) {
    .dgpu-hero { padding: 26px 12px 64px; }

    .dgpu-orbit {
        width: 620px;
        max-width: none;
        left: 50%;
        margin-left: -310px;
        margin-right: 0;
        transform: scale(.78);
        margin-bottom: -122px;
    }

    .dgpu-orbit-node { --node: 68px; width: 104px; }
    .dgpu-orbit-node__copy strong { font-size: 8px; }
    .dgpu-core { width: 148px; height: 148px; }
    .dgpu-core__mark { font-size: 9px; }
    .dgpu-core strong { font-size: 24px; }

    .dgpu-hero__caption { margin-top: 0; }
    .dgpu-hero__caption h1 { font-size: 23px; }
    .dgpu-hero__caption p { font-size: 12px; line-height: 1.9; }
    .dgpu-hero__stats { gap: 6px; }
    .dgpu-hero__stats div { min-width: 96px; padding: 9px; }
    .dgpu-hero__stats strong { font-size: 17px; }

    .dgpu-toolbar-wrap,
    .dgpu-catalog,
    .dgpu-future {
        width: calc(100% - 20px);
    }

    .dgpu-toolbar {
        padding: 14px;
        border-radius: 14px;
    }

    .dgpu-quicknav {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding-bottom: 3px;
    }

    .dgpu-quicknav::-webkit-scrollbar { display: none; }
    .dgpu-quicknav a {
        flex: 0 0 126px;
        scroll-snap-align: start;
    }

    .dgpu-line { margin-top: 40px; }
    .dgpu-line__head {
        grid-template-columns: 44px minmax(0,1fr);
        gap: 12px;
        padding: 16px;
        border-radius: 14px;
    }

    .dgpu-line__number {
        width: 40px;
        height: 40px;
        font-size: 10px;
    }

    .dgpu-line__copy h2 { font-size: 19px; }
    .dgpu-line__copy p { font-size: 11px; }
    .dgpu-line__meta strong { font-size: 28px; }

    .dgpu-family { padding: 13px; }
    .dgpu-family__head { gap: 10px; }
    .dgpu-family__identity h3 { font-size: 14px; }
    .dgpu-family__count strong { font-size: 18px; }

    .dgpu-grid { grid-template-columns: 1fr; }
    .dgpu-card { display: grid; grid-template-columns: 128px minmax(0,1fr); }
    .dgpu-card__media { aspect-ratio: auto; min-height: 142px; }
    .dgpu-card__body { padding: 13px; }
    .dgpu-card__code { font-size: 17px; }
    .dgpu-card__specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dgpu-card__specs > span:nth-child(3) { display: none; }

    .dgpu-family-empty--visual {
        grid-template-columns: 1fr;
    }

    .dgpu-future { padding: 20px; }
    .dgpu-future__flow {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .dgpu-drawer__panel { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .dgpu *,
    .dgpu *::before,
    .dgpu *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

.dgpu-family.is-search-empty, .dgpu-line.is-search-empty { display: none; }

/* =========================================================
   DGCHEME Products Universe v3.0
   Sticky product menu + in-place filtering + orbit spacing fix
========================================================= */

/* Keep the orbit safely below the main site navigation. */
.dgpu-hero {
    min-height: 1000px;
    padding-top: 118px;
}

/* The quick cards remain available, but now act as filters rather than jump links. */
.dgpu-quicknav a {
    cursor: pointer;
}

/* Catalog with a persistent product navigation card on the left. */
.dgpu-catalog-layout {
    width: min(1380px, calc(100% - 36px));
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    direction: ltr;
}

.dgpu-catalog-layout > * {
    min-width: 0;
}

.dgpu-catalog {
    width: auto;
    margin: 0;
    direction: rtl;
}

.dgpu-product-menu {
    position: sticky;
    top: 92px;
    z-index: 18;
    direction: rtl;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255,79,134,.08), transparent 34%),
        linear-gradient(180deg, rgba(10,17,24,.98), rgba(7,13,19,.97));
    box-shadow: 0 24px 68px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.dgpu-product-menu__head {
    padding: 18px 17px 15px;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.dgpu-product-menu__head > span {
    display: block;
    direction: ltr;
    margin-bottom: 4px;
    font: 800 8px/1.2 Arial, sans-serif;
    letter-spacing: .18em;
    color: #ff4f86;
}

.dgpu-product-menu__head h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
    color: #fff;
}

.dgpu-product-menu__head p {
    margin: 7px 0 0;
    font-size: 9px;
    line-height: 1.85;
    color: rgba(255,255,255,.42);
}

.dgpu-product-menu__list {
    display: grid;
    gap: 3px;
    padding: 9px;
}

.dgpu-product-menu__item {
    appearance: none;
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0,1fr) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 47px;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    text-align: right;
    cursor: pointer;
    color: rgba(255,255,255,.76);
    background: transparent;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.dgpu-product-menu__item:hover,
.dgpu-product-menu__item:focus-visible {
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.035);
    color: #fff;
    outline: none;
}

.dgpu-product-menu__item.is-active {
    border-color: rgba(255,79,134,.24);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(255,79,134,.10), rgba(255,255,255,.025));
    box-shadow: inset -2px 0 0 #ff4f86;
}

.dgpu-product-menu__check,
.dgpu-product-menu__dot {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.dgpu-product-menu__check {
    font: 800 8px/1 Arial, sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #ff3e7a, #8f56ff);
    box-shadow: 0 0 16px rgba(255,79,134,.25);
}

.dgpu-product-menu__dot {
    border: 1px solid rgba(255,255,255,.16);
    background: var(--menu-dot, rgba(255,255,255,.38));
    box-shadow: 0 0 13px color-mix(in srgb, var(--menu-dot, #fff) 24%, transparent);
}

.dgpu-product-menu__dot--gold { --menu-dot: #d8ad45; }
.dgpu-product-menu__dot--silver { --menu-dot: #d9e1e8; }
.dgpu-product-menu__dot--copper { --menu-dot: #c8794d; }
.dgpu-product-menu__dot--pearl { --menu-dot: #f0f3ff; }
.dgpu-product-menu__dot--rainbow { --menu-dot: #a86cff; }
.dgpu-product-menu__dot--glow { --menu-dot: #72ff8b; }
.dgpu-product-menu__dot--magic { --menu-dot: #ff62d7; }
.dgpu-product-menu__dot--holo { --menu-dot: #67e8f9; }
.dgpu-product-menu__dot--dye { --menu-dot: #ff515f; }

.dgpu-product-menu__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dgpu-product-menu__copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 700;
    color: currentColor;
}

.dgpu-product-menu__copy small {
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 700 6.5px/1.3 Arial, sans-serif;
    letter-spacing: .08em;
    color: rgba(255,255,255,.30);
}

.dgpu-product-menu__item > b {
    direction: ltr;
    white-space: nowrap;
    font: 700 8px/1 Arial, sans-serif;
    color: rgba(255,255,255,.35);
}

.dgpu-product-menu__item.is-active > b {
    color: rgba(255,255,255,.72);
}

.dgpu-product-menu__reset {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: calc(100% - 18px);
    min-height: 38px;
    margin: 0 9px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255,255,255,.54);
    background: rgba(255,255,255,.025);
    font-size: 9px;
    transition: .2s ease;
}

.dgpu-product-menu__reset:hover,
.dgpu-product-menu__reset:focus-visible {
    border-color: rgba(255,79,134,.24);
    color: #fff;
    background: rgba(255,79,134,.06);
    outline: none;
}

.dgpu-product-menu__reset span {
    direction: ltr;
    color: #ff4f86;
}

.dgpu-line.is-filter-hidden {
    display: none !important;
}

/* Make a filtered line feel like a real re-sort, not a jump to an anchor. */
.dgpu-line.is-filter-visible {
    animation: dgpuFilterIn .26s ease both;
}

@keyframes dgpuFilterIn {
    from { opacity: .25; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------
   Responsive orbit centering
--------------------------------------------------------- */
@media (max-width: 1180px) {
    .dgpu-hero {
        min-height: 925px;
        padding-top: 108px;
    }

    .dgpu-catalog-layout {
        grid-template-columns: 230px minmax(0,1fr);
        gap: 16px;
    }
}

@media (max-width: 860px) {
    .dgpu-hero {
        min-height: auto;
        padding: 92px 16px 76px;
    }

    .dgpu-orbit {
        left: 50%;
        right: auto;
        width: min(680px, 150vw);
        max-width: none;
        margin: 0 0 -70px;
        transform: translateX(-50%) scale(.88);
        transform-origin: top center;
    }

    .dgpu-catalog-layout {
        width: min(100% - 24px, 1380px);
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dgpu-product-menu {
        position: sticky;
        top: 70px;
        z-index: 28;
        border-radius: 14px;
    }

    .dgpu-product-menu__head {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 12px 9px;
    }

    .dgpu-product-menu__head > span,
    .dgpu-product-menu__head p {
        display: none;
    }

    .dgpu-product-menu__head h2 {
        font-size: 14px;
    }

    .dgpu-product-menu__list {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding: 7px 9px 9px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .dgpu-product-menu__list::-webkit-scrollbar { display: none; }

    .dgpu-product-menu__item {
        flex: 0 0 auto;
        grid-template-columns: 13px auto auto;
        width: auto;
        min-height: 38px;
        padding: 6px 9px;
        scroll-snap-align: start;
    }

    .dgpu-product-menu__copy strong {
        max-width: 138px;
        font-size: 9px;
    }

    .dgpu-product-menu__copy small { display: none; }
    .dgpu-product-menu__item > b { font-size: 7px; }
    .dgpu-product-menu__check,
    .dgpu-product-menu__dot { width: 11px; height: 11px; }
    .dgpu-product-menu__reset { display: none; }
}

@media (max-width: 620px) {
    .dgpu-hero {
        padding: 88px 12px 64px;
    }

    .dgpu-orbit {
        left: 50%;
        right: auto;
        width: 620px;
        max-width: none;
        margin: 0 0 -122px;
        transform: translateX(-50%) scale(.78);
        transform-origin: top center;
    }

    .dgpu-catalog-layout {
        width: calc(100% - 20px);
        margin-top: 18px;
    }

    .dgpu-product-menu {
        top: 62px;
    }
}


/* =========================================================
   DGCHEME Products Universe v4.0
   Orbit precision + hierarchical sticky filters
========================================================= */

/* More breathing room below the fixed site navigation. */
.dgpu-hero {
    min-height: 1080px;
    padding-top: 162px;
}

/* Keep the core copy truly centered and quieter. */
.dgpu-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 184px;
    height: 184px;
    padding: 25px 20px;
}

.dgpu-core__mark {
    margin: 0;
    font-size: 8px;
    line-height: 1;
    letter-spacing: .22em;
}

.dgpu-core strong {
    margin: 0;
    font-size: clamp(21px, 2.25vw, 29px);
    line-height: .88;
    letter-spacing: -.05em;
}

.dgpu-core small {
    margin: 1px 0 0;
    font-size: 6.5px;
    line-height: 1;
    letter-spacing: .23em;
}

/* The bottom orbit node extends outside the circle; reserve real space for it. */
.dgpu-hero__caption {
    margin-top: 76px;
}

.dgpu-hero__caption > span {
    margin-bottom: 11px;
}

/* Hierarchical product navigation. */
.dgpu-product-menu__group {
    border: 1px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease;
}

.dgpu-product-menu__group.is-open,
.dgpu-product-menu__group.has-active-child {
    border-color: rgba(255,255,255,.07);
    background: rgba(255,255,255,.018);
}

.dgpu-product-menu__group-toggle {
    appearance: none;
    display: grid;
    grid-template-columns: 18px minmax(0,1fr) auto 14px;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    padding: 8px 9px;
    border: 0;
    border-radius: 11px;
    text-align: right;
    cursor: pointer;
    color: rgba(255,255,255,.78);
    background: transparent;
    transition: color .2s ease, background .2s ease;
}

.dgpu-product-menu__group-toggle:hover,
.dgpu-product-menu__group-toggle:focus-visible,
.dgpu-product-menu__group.has-active-child > .dgpu-product-menu__group-toggle {
    color: #fff;
    background: rgba(255,255,255,.035);
    outline: none;
}

.dgpu-product-menu__group-toggle > b {
    direction: ltr;
    white-space: nowrap;
    font: 700 8px/1 Arial, sans-serif;
    color: rgba(255,255,255,.38);
}

.dgpu-product-menu__group-toggle > i {
    direction: ltr;
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    font: 700 12px/1 Arial, sans-serif;
    color: rgba(255,255,255,.48);
    transform: rotate(0deg);
    transition: transform .22s ease, color .22s ease;
}

.dgpu-product-menu__group.is-open > .dgpu-product-menu__group-toggle > i {
    transform: rotate(180deg);
    color: #ff4f86;
}

.dgpu-product-menu__submenu {
    display: grid;
    gap: 3px;
    padding: 2px 8px 8px 28px;
}

.dgpu-product-menu__submenu[hidden] {
    display: none !important;
}

.dgpu-product-menu__submenu button {
    appearance: none;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 2px 8px;
    align-items: center;
    min-height: 39px;
    padding: 7px 10px 7px 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    text-align: right;
    cursor: pointer;
    color: rgba(255,255,255,.58);
    background: rgba(255,255,255,.012);
    transition: .2s ease;
}

.dgpu-product-menu__submenu button::before {
    content: "";
    position: absolute;
    right: -13px;
    top: 50%;
    width: 7px;
    height: 1px;
    background: rgba(255,255,255,.16);
}

.dgpu-product-menu__submenu button span {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 700;
}

.dgpu-product-menu__submenu button small {
    grid-column: 1;
    grid-row: 2;
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 700 6px/1.2 Arial, sans-serif;
    letter-spacing: .07em;
    color: rgba(255,255,255,.25);
}

.dgpu-product-menu__submenu button b {
    grid-column: 2;
    grid-row: 1 / span 2;
    direction: ltr;
    white-space: nowrap;
    font: 700 7px/1 Arial, sans-serif;
    color: rgba(255,255,255,.34);
}

.dgpu-product-menu__submenu button:hover,
.dgpu-product-menu__submenu button:focus-visible {
    color: #fff;
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
    outline: none;
}

.dgpu-product-menu__submenu button.is-active {
    color: #fff;
    border-color: rgba(255,79,134,.20);
    background: linear-gradient(90deg, rgba(255,79,134,.10), rgba(255,255,255,.02));
    box-shadow: inset -2px 0 0 #ff4f86;
}

.dgpu-family.is-family-filter-hidden {
    display: none !important;
}

@media (max-width: 1180px) {
    .dgpu-hero {
        min-height: 1000px;
        padding-top: 148px;
    }
}

@media (max-width: 860px) {
    .dgpu-hero {
        min-height: auto;
        padding: 136px 16px 76px;
    }

    /* No scale transform here: centering stays mathematically exact on mobile. */
    .dgpu-orbit {
        left: 50%;
        right: auto;
        width: min(680px, 142vw);
        max-width: none;
        margin: 0;
        transform: translateX(-50%);
        transform-origin: center center;
    }

    .dgpu-core {
        width: 166px;
        height: 166px;
        padding: 22px 18px;
    }

    .dgpu-core strong {
        font-size: 23px;
    }

    .dgpu-hero__caption {
        margin-top: 62px;
    }

    .dgpu-product-menu__head {
        display: block;
        padding: 12px 13px 10px;
    }

    .dgpu-product-menu__head > span {
        display: block;
    }

    .dgpu-product-menu__head p {
        display: none;
    }

    .dgpu-product-menu__list {
        display: grid;
        gap: 4px;
        max-height: 48vh;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px;
        scrollbar-width: thin;
    }

    .dgpu-product-menu__item {
        width: 100%;
        min-height: 42px;
        grid-template-columns: 14px minmax(0,1fr) auto;
    }

    .dgpu-product-menu__copy strong {
        max-width: none;
    }

    .dgpu-product-menu__group-toggle {
        grid-template-columns: 14px minmax(0,1fr) auto 14px;
        min-height: 43px;
    }

    .dgpu-product-menu__submenu {
        padding-right: 25px;
    }
}

@media (max-width: 620px) {
    .dgpu-hero {
        padding: 132px 10px 64px;
    }

    .dgpu-orbit {
        left: 50%;
        right: auto;
        width: 146vw;
        max-width: none;
        margin: 0;
        transform: translateX(-50%);
    }

    .dgpu-core {
        width: 154px;
        height: 154px;
        padding: 20px 16px;
        gap: 4px;
    }

    .dgpu-core__mark { font-size: 7px; }
    .dgpu-core strong { font-size: 20px; }
    .dgpu-core small { font-size: 5.8px; }

    .dgpu-hero__caption {
        margin-top: 54px;
    }

    .dgpu-product-menu {
        top: 64px;
    }
}

/* =========================================================
   DGCHEME Products Universe v5.0
   Mobile orbit centering + sticky dropdown + drawer-safe UI
========================================================= */

/* Mobile dropdown trigger is only used on narrow screens. */
.dgpu-product-menu__mobile-trigger {
    display: none;
}

@media (max-width: 860px) {
    /*
     * The hub is RTL, so an oversized relative block can be positioned from
     * the right edge by the browser. On mobile we avoid any oversized orbit,
     * left/right offsets or whole-orbit scaling. The circle itself now owns a
     * real viewport-safe width and is centered by auto margins.
     */
    .dgpu-hero {
        padding: 148px 14px 72px;
        overflow: hidden;
    }

    .dgpu-orbit {
        position: relative;
        left: auto !important;
        right: auto !important;
        width: min(620px, calc(100vw - 28px)) !important;
        max-width: calc(100vw - 28px) !important;
        margin: 0 auto !important;
        transform: none !important;
        transform-origin: center center !important;
        direction: ltr;
    }

    .dgpu-orbit-node {
        --node: 68px;
        width: 98px;
        gap: 6px;
    }

    .dgpu-orbit-node__copy {
        max-width: 98px;
        direction: rtl;
    }

    .dgpu-orbit-node__copy small {
        display: none;
    }

    .dgpu-orbit-node__copy strong {
        font-size: 8px;
        line-height: 1.45;
    }

    /* Pull the extreme nodes inward so labels and circles stay inside mobile. */
    .dgpu-orbit-node[data-dgpu-orbit-node="metallic-gold"]       { --x: 50% !important; --y: 7% !important; }
    .dgpu-orbit-node[data-dgpu-orbit-node="metallic-silver"]     { --x: 72% !important; --y: 12% !important; }
    .dgpu-orbit-node[data-dgpu-orbit-node="metallic-copper"]     { --x: 84% !important; --y: 31% !important; }
    .dgpu-orbit-node[data-dgpu-orbit-node="pearlescent-white"]   { --x: 86% !important; --y: 56% !important; }
    .dgpu-orbit-node[data-dgpu-orbit-node="pearlescent-color"]   { --x: 72% !important; --y: 79% !important; }
    .dgpu-orbit-node[data-dgpu-orbit-node="phosphorescent"]      { --x: 50% !important; --y: 88% !important; }
    .dgpu-orbit-node[data-dgpu-orbit-node="magic-glitter"]       { --x: 28% !important; --y: 79% !important; }
    .dgpu-orbit-node[data-dgpu-orbit-node="holographic-glitter"] { --x: 14% !important; --y: 56% !important; }
    .dgpu-orbit-node[data-dgpu-orbit-node="solvent-dye"]         { --x: 16% !important; --y: 31% !important; }

    .dgpu-core {
        width: 150px;
        height: 150px;
        padding: 19px 15px;
    }

    .dgpu-core strong {
        font-size: 19px;
    }

    .dgpu-hero__caption {
        margin-top: 68px;
        direction: rtl;
    }

    /* One-column mobile catalog, no LTR side-column geometry. */
    .dgpu-catalog-layout {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
        margin: 16px auto 0 !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
        direction: rtl;
    }

    .dgpu-catalog,
    .dgpu-line,
    .dgpu-line__families,
    .dgpu-family,
    .dgpu-grid,
    .dgpu-card,
    .dgpu-card__body {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .dgpu-catalog,
    .dgpu-line,
    .dgpu-line__families,
    .dgpu-family,
    .dgpu-grid {
        width: 100% !important;
    }

    .dgpu-line,
    .dgpu-family {
        overflow: hidden;
    }

    /* Sticky compact dropdown instead of a tall sidebar/accordion. */
    .dgpu-product-menu {
        position: sticky;
        top: 64px;
        z-index: 80;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        border-radius: 14px;
        background: rgba(7,13,19,.96);
        box-shadow: 0 14px 42px rgba(0,0,0,.34);
        transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
    }

    .dgpu-product-menu__head {
        display: none !important;
    }

    .dgpu-product-menu__mobile-trigger {
        appearance: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 56px;
        padding: 10px 13px;
        border: 0;
        border-radius: 13px;
        cursor: pointer;
        text-align: right;
        color: #fff;
        background:
            linear-gradient(90deg, rgba(255,79,134,.055), transparent 40%),
            rgba(8,15,22,.98);
    }

    .dgpu-product-menu__mobile-copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 3px;
    }

    .dgpu-product-menu__mobile-copy small {
        direction: ltr;
        font: 800 7px/1 Arial, sans-serif;
        letter-spacing: .14em;
        color: #ff4f86;
    }

    .dgpu-product-menu__mobile-copy strong {
        max-width: 230px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
        line-height: 1.35;
        color: #fff;
    }

    .dgpu-product-menu__mobile-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 0 0 auto;
    }

    .dgpu-product-menu__mobile-meta b {
        direction: ltr;
        font: 800 10px/1 Arial, sans-serif;
        color: rgba(255,255,255,.52);
    }

    .dgpu-product-menu__mobile-meta i {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 8px;
        font: normal 700 15px/1 Arial, sans-serif;
        color: rgba(255,255,255,.78);
        transition: transform .2s ease, color .2s ease, border-color .2s ease;
    }

    .dgpu-product-menu.is-mobile-open .dgpu-product-menu__mobile-meta i {
        transform: rotate(180deg);
        color: #ff4f86;
        border-color: rgba(255,79,134,.26);
    }

    .dgpu-product-menu__list {
        display: none !important;
        position: absolute;
        top: calc(100% + 7px);
        right: 0;
        left: 0;
        z-index: 4;
        gap: 4px;
        max-height: min(62vh, 520px);
        padding: 8px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 14px;
        background:
            radial-gradient(circle at 15% 0%, rgba(255,79,134,.07), transparent 34%),
            rgba(7,13,19,.985);
        box-shadow: 0 24px 70px rgba(0,0,0,.52);
        backdrop-filter: blur(18px);
        scrollbar-width: thin;
    }

    .dgpu-product-menu.is-mobile-open .dgpu-product-menu__list {
        display: grid !important;
    }

    .dgpu-product-menu__reset {
        display: none !important;
    }

    .dgpu-product-menu__item,
    .dgpu-product-menu__group-toggle {
        width: 100%;
        min-height: 44px;
    }

    .dgpu-product-menu__copy strong {
        max-width: none;
        font-size: 10px;
    }

    .dgpu-product-menu__submenu {
        padding: 2px 8px 8px 25px;
    }

    /* The filter must never sit above an opened product drawer on mobile. */
    body.dgpu-drawer-open .dgpu-product-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-8px);
    }

    .dgpu-drawer {
        z-index: 2147483000;
    }

    .dgpu-drawer__panel {
        width: 100vw !important;
        max-width: 100vw !important;
        border-left: 0;
    }

    .dgpu-drawer__close {
        position: fixed;
        top: max(12px, env(safe-area-inset-top));
        right: 12px;
        z-index: 6;
    }
}

@media (max-width: 620px) {
    .dgpu-hero {
        padding: 142px 10px 62px;
    }

    .dgpu-orbit {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    .dgpu-orbit-node {
        --node: 58px;
        width: 88px;
        gap: 5px;
    }

    .dgpu-orbit-node__copy {
        max-width: 88px;
    }

    .dgpu-orbit-node__copy strong {
        font-size: 7px;
        line-height: 1.4;
    }

    .dgpu-core {
        width: 130px;
        height: 130px;
        padding: 17px 13px;
        gap: 3px;
    }

    .dgpu-core__mark { font-size: 6.5px; }
    .dgpu-core strong { font-size: 17px; }
    .dgpu-core small { font-size: 5.3px; }

    .dgpu-hero__caption {
        margin-top: 58px;
    }

    .dgpu-catalog-layout {
        width: calc(100% - 14px) !important;
        max-width: calc(100% - 14px) !important;
    }

    .dgpu-catalog {
        overflow: hidden;
    }

    .dgpu-line {
        margin-top: 34px;
    }

    .dgpu-line__head {
        width: 100%;
        max-width: 100%;
        padding: 14px 12px;
        grid-template-columns: 38px minmax(0,1fr);
        gap: 9px;
    }

    .dgpu-line__number {
        width: 36px;
        height: 36px;
    }

    .dgpu-line__copy,
    .dgpu-line__meta,
    .dgpu-family__identity,
    .dgpu-family__identity > div {
        min-width: 0;
    }

    .dgpu-line__copy h2,
    .dgpu-line__copy p,
    .dgpu-family__identity h3,
    .dgpu-family__identity em {
        overflow-wrap: anywhere;
    }

    .dgpu-family {
        width: 100%;
        padding: 11px;
        border-radius: 13px;
    }

    .dgpu-family__head {
        width: 100%;
        min-width: 0;
    }

    .dgpu-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
        gap: 9px;
    }

    .dgpu-card {
        display: grid;
        grid-template-columns: 112px minmax(0,1fr);
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .dgpu-card__media {
        width: 112px;
        min-width: 0;
        min-height: 132px;
        aspect-ratio: auto;
    }

    .dgpu-card__body {
        width: auto;
        min-width: 0;
        overflow: hidden;
        padding: 11px;
    }

    .dgpu-card__code,
    .dgpu-card__color,
    .dgpu-card__specs small,
    .dgpu-card__specs b {
        max-width: 100%;
    }

    .dgpu-card__code {
        font-size: 16px;
    }

    .dgpu-card__specs {
        grid-template-columns: repeat(2, minmax(0,1fr));
        width: 100%;
    }

    .dgpu-more {
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px 0 0 !important;
    }

    .dgpu-family-empty,
    .dgpu-family-empty--visual {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .dgpu-product-menu {
        top: 62px;
    }

    .dgpu-product-menu__mobile-copy strong {
        max-width: min(220px, 58vw);
    }
}

/* ---------------------------------------------------------
   Products Universe v6.0 — drawer/header clearance + compact line headers
--------------------------------------------------------- */

/* When a product viewer opens, remove every sticky/fixed navigation layer
   that can sit above the close control. The product drawer becomes the only
   active top-level UI until it is closed. */
body.dgpu-drawer-open #dg-site-header,
body.dgpu-drawer-open [data-dg-header],
body.dgpu-drawer-open .dg-header,
body.dgpu-drawer-open .dgpu-product-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.dgpu-drawer-open .dgpu-drawer {
    z-index: 2147483646 !important;
}

body.dgpu-drawer-open .dgpu-drawer__close {
    position: fixed !important;
    top: max(12px, env(safe-area-inset-top)) !important;
    right: 12px !important;
    z-index: 2147483647 !important;
}

/* Product-line intro: slimmer, cleaner and directionally explicit.
   Persian title/description stay on the right; the English label and
   registered-grade counter live on the left. */
.dgpu-line__head {
    direction: ltr;
    grid-template-columns: 148px minmax(0, 1fr) 38px;
    grid-template-areas: "meta copy number";
    gap: 13px;
    min-height: 88px;
    padding: 12px 16px;
}

.dgpu-line__number {
    grid-area: number;
    width: 34px;
    height: 34px;
    justify-self: end;
    font-size: 9px;
}

.dgpu-line__copy {
    grid-area: copy;
    min-width: 0;
    direction: rtl;
    text-align: right;
}

.dgpu-line__copy > span {
    position: absolute;
    top: 12px;
    left: 16px;
    width: 140px;
    margin: 0;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 6.5px;
    line-height: 1.3;
    letter-spacing: .12em;
}

.dgpu-line__copy h2 {
    font-size: clamp(17px, 1.8vw, 24px);
    line-height: 1.3;
}

.dgpu-line__copy p {
    margin-top: 5px;
    font-size: 10.5px;
    line-height: 1.7;
}

.dgpu-line__meta {
    grid-area: meta;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    padding-top: 18px;
    direction: ltr;
    text-align: left;
}

.dgpu-line__meta strong {
    font-size: clamp(24px, 2.3vw, 32px);
    line-height: .92;
}

.dgpu-line__meta span {
    margin-top: 5px;
    font-size: 6px;
    line-height: 1.25;
    letter-spacing: .10em;
}

.dgpu-line__meta small {
    margin-top: 4px;
    direction: rtl;
    text-align: left;
    font-size: 8px;
}

@media (max-width: 860px) {
    .dgpu-line__head {
        grid-template-columns: 136px minmax(0, 1fr) 32px;
        grid-template-areas: "meta copy number";
        gap: 10px;
        min-height: 82px;
        padding: 11px 13px;
    }

    .dgpu-line__number {
        width: 30px;
        height: 30px;
        font-size: 8px;
    }

    .dgpu-line__copy > span {
        top: 11px;
        left: 13px;
        width: 128px;
        font-size: 6px;
        letter-spacing: .10em;
    }

    .dgpu-line__copy h2 {
        font-size: 17px;
    }

    .dgpu-line__copy p {
        font-size: 9.5px;
        line-height: 1.65;
    }

    .dgpu-line__meta {
        grid-column: auto;
        padding-top: 17px;
        text-align: left;
    }

    .dgpu-line__meta strong {
        font-size: 25px;
    }
}

@media (max-width: 620px) {
    .dgpu-line {
        margin-top: 28px;
    }

    .dgpu-line__head {
        grid-template-columns: 116px minmax(0, 1fr) 26px;
        grid-template-areas: "meta copy number";
        gap: 8px;
        min-height: 76px;
        padding: 9px 10px;
        border-radius: 12px;
    }

    .dgpu-line__number {
        width: 25px;
        height: 25px;
        font-size: 7px;
    }

    .dgpu-line__copy > span {
        top: 9px;
        left: 10px;
        width: 108px;
        font-size: 5.5px;
        letter-spacing: .08em;
    }

    .dgpu-line__copy h2 {
        font-size: 15.5px;
        line-height: 1.35;
    }

    .dgpu-line__copy p {
        margin-top: 3px;
        font-size: 8.8px;
        line-height: 1.6;
    }

    .dgpu-line__meta {
        padding-top: 15px;
    }

    .dgpu-line__meta strong {
        font-size: 22px;
    }

    .dgpu-line__meta span {
        margin-top: 4px;
        font-size: 5.3px;
        letter-spacing: .07em;
    }

    .dgpu-line__meta small {
        margin-top: 3px;
        font-size: 7px;
    }
}


/* ---------------------------------------------------------
   Products Universe v7.0 — smart filters / family accordion / compare
--------------------------------------------------------- */

/* Smart product facets */
.dgpu-smartfilters {
    margin-top: 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(7,13,19,.78);
    box-shadow: 0 16px 46px rgba(0,0,0,.18);
    backdrop-filter: blur(16px);
}

.dgpu-smartfilters__mobile-toggle { display: none; }

.dgpu-smartfilters__controls {
    display: grid;
    grid-template-columns: minmax(120px,.65fr) repeat(3, minmax(170px,1fr)) auto;
    gap: 9px;
    align-items: end;
    padding: 10px;
}

.dgpu-smartfilters__label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    padding: 0 8px;
}

.dgpu-smartfilters__label small {
    direction: ltr;
    font: 800 7px/1.2 Arial,sans-serif;
    letter-spacing: .16em;
    color: #ff4f86;
}

.dgpu-smartfilters__label strong {
    margin-top: 4px;
    font-size: 12px;
    color: #fff;
}

.dgpu-facet {
    position: relative;
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dgpu-facet > span {
    padding: 0 3px;
    font-size: 8px;
    color: rgba(255,255,255,.48);
}

.dgpu-facet select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    outline: 0;
    cursor: pointer;
    color: rgba(255,255,255,.88);
    background: #0b131b;
    font-size: 10px;
}

.dgpu-facet select:focus {
    border-color: rgba(255,79,134,.52);
    box-shadow: 0 0 0 3px rgba(255,79,134,.08);
}

.dgpu-smartfilters__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(255,79,134,.22);
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255,255,255,.78);
    background: rgba(255,79,134,.055);
    font-size: 9px;
}

.dgpu-smartfilters__reset:hover {
    border-color: rgba(255,79,134,.48);
    background: rgba(255,79,134,.10);
}

.dgpu-smartfilters__reset i { font-style: normal; color: #ff4f86; }
.dgpu-smartfilters__reset[hidden] { visibility: hidden; pointer-events: none; }

/* Search/facet intersection */
.dgpu-card.is-smart-hidden { display: none !important; }
.dgpu-family.is-smart-empty,
.dgpu-line.is-smart-empty { display: none !important; }

/* Product-family accordion */
.dgpu-family__head {
    position: relative;
    cursor: default;
}

.dgpu-family__collapse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 116px;
    height: 34px;
    margin-inline-start: 8px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    cursor: pointer;
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.025);
    transition: .2s ease;
}

.dgpu-family__collapse:hover,
.dgpu-family__collapse:focus-visible {
    border-color: color-mix(in srgb, var(--line-accent) 48%, rgba(255,255,255,.14));
    color: #fff;
    background: color-mix(in srgb, var(--line-accent) 8%, rgba(255,255,255,.025));
    outline: 0;
}

.dgpu-family__collapse span { font-size: 8px; white-space: nowrap; }
.dgpu-family__collapse i {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font: 700 12px/1 Arial,sans-serif;
    color: var(--line-accent);
    background: rgba(255,255,255,.05);
}

.dgpu-family.is-collapsed > :not(.dgpu-family__head) { display: none !important; }
.dgpu-family.is-collapsed { padding-bottom: 12px; }
.dgpu-family.is-collapsed .dgpu-family__head { margin-bottom: 0; padding-bottom: 0; border-bottom-color: transparent; }
.dgpu-family.has-filter-match:not(.is-collapsed) { border-color: color-mix(in srgb, var(--line-accent) 22%, rgba(255,255,255,.075)); }

/* Product-card comparison action */
.dgpu-card {
    margin: 0;
    isolation: isolate;
}

.dgpu-card__compare {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    max-width: 94px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    cursor: pointer;
    color: rgba(255,255,255,.82);
    background: rgba(4,9,14,.78);
    box-shadow: 0 6px 22px rgba(0,0,0,.24);
    backdrop-filter: blur(10px);
    transition: .2s ease;
}

.dgpu-card__compare span { font: 700 12px/1 Arial,sans-serif; color: var(--line-accent); }
.dgpu-card__compare b { font-size: 7px; font-weight: 700; white-space: nowrap; }
.dgpu-card__compare:hover,
.dgpu-card__compare:focus-visible {
    border-color: color-mix(in srgb, var(--line-accent) 58%, white 5%);
    background: rgba(8,15,22,.94);
    outline: 0;
}

.dgpu-card.is-compare-selected {
    border-color: color-mix(in srgb, var(--line-accent) 72%, white 8%);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--line-accent) 16%, transparent), 0 18px 50px rgba(0,0,0,.30);
}

.dgpu-card.is-compare-selected .dgpu-card__compare {
    color: #fff;
    border-color: color-mix(in srgb, var(--line-accent) 70%, white 8%);
    background: color-mix(in srgb, var(--line-accent) 20%, rgba(6,12,18,.92));
}

/* Floating compare bar */
.dgpu-comparebar[hidden],
.dgpu-compare-modal[hidden] { display: none !important; }

.dgpu-comparebar {
    position: fixed;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 2147482000;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px 18px;
    align-items: center;
    width: min(880px, calc(100vw - 28px));
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 85% 0%, rgba(255,79,134,.11), transparent 34%),
        rgba(5,11,17,.96);
    box-shadow: 0 22px 70px rgba(0,0,0,.48);
    backdrop-filter: blur(20px);
}

.dgpu-comparebar__summary {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.dgpu-comparebar__summary > span {
    direction: ltr;
    font: 800 7px/1 Arial,sans-serif;
    letter-spacing: .15em;
    color: #ff4f86;
}

.dgpu-comparebar__summary > strong {
    white-space: nowrap;
    font-size: 10px;
    color: rgba(255,255,255,.88);
}

.dgpu-comparebar__summary > strong b {
    direction: ltr;
    color: #fff;
}

.dgpu-comparebar__chips {
    display: flex;
    gap: 5px;
    min-width: 0;
    overflow: auto;
    scrollbar-width: none;
}
.dgpu-comparebar__chips::-webkit-scrollbar { display:none; }

.dgpu-comparebar__chip {
    flex: 0 0 auto;
    height: 26px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    cursor: pointer;
    direction: ltr;
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.035);
    font: 700 8px/1 Arial,sans-serif;
}

.dgpu-comparebar__actions { display: flex; gap: 7px; }
.dgpu-comparebar__actions > button {
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.035);
    font-size: 8px;
}

.dgpu-comparebar__actions > .dgpu-comparebar__open {
    min-width: 122px;
    border-color: rgba(255,79,134,.42);
    color: #fff;
    background: linear-gradient(135deg, rgba(255,79,134,.26), rgba(126,80,255,.20));
}

.dgpu-comparebar__actions > button:disabled { opacity: .38; cursor: not-allowed; }
.dgpu-comparebar > small {
    grid-column: 1 / -1;
    font-size: 7px;
    color: rgba(255,255,255,.35);
}
.dgpu-comparebar > small.is-alert { color: #ffb4cb; }

/* Comparison modal */
body.dgpu-compare-open { overflow: hidden; }
body.dgpu-compare-open #dg-site-header,
body.dgpu-compare-open [data-dg-header],
body.dgpu-compare-open .dg-header,
body.dgpu-compare-open .dgpu-product-menu,
body.dgpu-compare-open .dgpu-comparebar {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.dgpu-compare-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: grid;
    place-items: center;
    padding: 18px;
}

.dgpu-compare-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: default;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(10px);
}

.dgpu-compare-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(1180px, 96vw);
    max-height: min(860px, 94vh);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    background:
        radial-gradient(circle at 78% 0%, rgba(255,79,134,.10), transparent 30%),
        #071019;
    box-shadow: 0 35px 120px rgba(0,0,0,.62);
}

.dgpu-compare-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 19px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.dgpu-compare-modal__head span {
    display: block;
    direction: ltr;
    margin-bottom: 3px;
    font: 800 7px/1 Arial,sans-serif;
    letter-spacing: .16em;
    color: #ff4f86;
}

.dgpu-compare-modal__head h2 { margin: 0; font-size: 18px; color: #fff; }
.dgpu-compare-modal__close {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,.045);
    font: 300 24px/1 Arial,sans-serif;
}

.dgpu-compare-modal__scroll {
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(255,255,255,.18) transparent;
}

.dgpu-compare-table {
    --compare-cols: 2;
    display: grid;
    grid-template-columns: minmax(145px,.72fr) repeat(var(--compare-cols), minmax(210px,1fr));
    min-width: calc(145px + (var(--compare-cols) * 210px));
}

.dgpu-compare-table > * {
    min-width: 0;
    padding: 12px 13px;
    border-left: 1px solid rgba(255,255,255,.055);
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.dgpu-compare-table__corner,
.dgpu-compare-table__label {
    position: sticky;
    right: 0;
    z-index: 3;
    background: #09131c;
}

.dgpu-compare-table__corner {
    display: flex;
    align-items: end;
    min-height: 198px;
    font-size: 9px;
    color: rgba(255,255,255,.42);
}

.dgpu-compare-product {
    position: relative;
    min-height: 198px;
    background: rgba(255,255,255,.018);
}

.dgpu-compare-product img {
    display: block;
    width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 10px;
    background: #0d151d;
}

.dgpu-compare-product small {
    display: block;
    margin-top: 8px;
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 700 7px/1.2 Arial,sans-serif;
    color: rgba(255,255,255,.42);
}

.dgpu-compare-product strong {
    display: block;
    margin-top: 4px;
    direction: ltr;
    overflow-wrap: anywhere;
    font: 800 14px/1.25 Arial,sans-serif;
    color: #fff;
}

.dgpu-compare-product button {
    position: absolute;
    top: 19px;
    left: 19px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    cursor: pointer;
    color: rgba(255,255,255,.78);
    background: rgba(3,8,12,.82);
    font-size: 7px;
}

.dgpu-compare-table__label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,.64);
}

.dgpu-compare-table__value {
    direction: ltr;
    text-align: left;
    overflow-wrap: anywhere;
    font: 600 9px/1.65 Arial,sans-serif;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.012);
}

.dgpu-compare-table__apps {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.dgpu-compare-table__apps span {
    display: inline-flex;
    padding: 5px 7px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 999px;
    font-size: 7px;
    color: rgba(255,255,255,.66);
    background: rgba(255,255,255,.02);
}

@media (max-width: 1060px) {
    .dgpu-smartfilters__controls {
        grid-template-columns: repeat(3, minmax(0,1fr)) auto;
    }
    .dgpu-smartfilters__label { display: none; }
}

@media (max-width: 860px) {
    .dgpu-smartfilters {
        position: relative;
        margin-top: 7px;
        border-radius: 12px;
    }

    .dgpu-smartfilters__mobile-toggle {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto 24px;
        gap: 8px;
        align-items: center;
        width: 100%;
        min-height: 46px;
        padding: 7px 10px;
        border: 0;
        cursor: pointer;
        text-align: right;
        color: #fff;
        background: transparent;
    }

    .dgpu-smartfilters__mobile-toggle > span { display:flex; flex-direction:column; gap:1px; }
    .dgpu-smartfilters__mobile-toggle small {
        direction: ltr;
        font: 800 6px/1 Arial,sans-serif;
        letter-spacing: .13em;
        color: #ff4f86;
    }
    .dgpu-smartfilters__mobile-toggle strong { font-size: 10px; }
    .dgpu-smartfilters__mobile-toggle > b {
        display: grid;
        place-items: center;
        min-width: 24px;
        height: 24px;
        border-radius: 999px;
        direction: ltr;
        font: 800 9px/1 Arial,sans-serif;
        color: rgba(255,255,255,.78);
        background: rgba(255,255,255,.055);
    }
    .dgpu-smartfilters.has-active-filters .dgpu-smartfilters__mobile-toggle > b {
        color: #fff;
        background: rgba(255,79,134,.22);
    }
    .dgpu-smartfilters__mobile-toggle > i {
        font-style: normal;
        color: rgba(255,255,255,.46);
        transition: transform .2s ease;
    }
    .dgpu-smartfilters.is-open .dgpu-smartfilters__mobile-toggle > i { transform: rotate(180deg); }

    .dgpu-smartfilters__controls {
        display: none;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        padding: 0 8px 8px;
        border-top: 1px solid rgba(255,255,255,.055);
    }

    .dgpu-smartfilters.is-open .dgpu-smartfilters__controls { display: grid; }
    .dgpu-facet { padding-top: 7px; }
    .dgpu-facet select { height: 40px; font-size: 9px; }
    .dgpu-smartfilters__reset { min-height: 40px; margin-top: 18px; }

    .dgpu-family { padding: 10px; }
    .dgpu-family__head {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    .dgpu-family__count { display: none; }
    .dgpu-family__collapse {
        min-width: 42px;
        width: 42px;
        height: 34px;
        margin: 0;
        padding: 0;
    }
    .dgpu-family__collapse span { display: none; }
    .dgpu-family__collapse i { background: transparent; }
    .dgpu-family.is-collapsed .dgpu-family__head { margin-bottom: 0; padding-bottom: 0; }
    .dgpu-family.has-filter-match.is-collapsed::after {
        content: "نتیجه";
        position: absolute;
        left: 58px;
        top: 18px;
        padding: 3px 6px;
        border-radius: 999px;
        font-size: 6px;
        color: var(--line-accent);
        background: color-mix(in srgb, var(--line-accent) 10%, transparent);
    }

    .dgpu-card__compare {
        top: 7px;
        left: 7px;
        width: 30px;
        height: 30px;
        max-width: 30px;
        padding: 0;
        justify-content: center;
    }
    .dgpu-card__compare b { display: none; }
    .dgpu-card__compare span { font-size: 13px; }

    .dgpu-comparebar {
        grid-template-columns: minmax(0,1fr) auto;
        gap: 6px 8px;
        width: calc(100vw - 14px);
        padding: 8px;
        border-radius: 13px;
    }
    .dgpu-comparebar__summary { gap: 6px; }
    .dgpu-comparebar__summary > span { display: none; }
    .dgpu-comparebar__summary > strong { font-size: 9px; }
    .dgpu-comparebar__chips { grid-column: 1 / -1; order: 3; }
    .dgpu-comparebar__actions > button { height: 32px; padding: 0 9px; }
    .dgpu-comparebar__actions > button:first-child { display: none; }
    .dgpu-comparebar__actions > .dgpu-comparebar__open { min-width: 105px; }
    .dgpu-comparebar > small { display: none; }

    .dgpu-compare-modal { padding: 0; }
    .dgpu-compare-modal__panel {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
    }
    .dgpu-compare-modal__head {
        position: sticky;
        top: 0;
        z-index: 5;
        min-height: 62px;
        padding: max(10px, env(safe-area-inset-top)) 12px 10px;
        background: rgba(7,16,25,.98);
        backdrop-filter: blur(16px);
    }
    .dgpu-compare-modal__head h2 { font-size: 14px; }
    .dgpu-compare-modal__close { width: 34px; height: 34px; font-size: 21px; }
    .dgpu-compare-table {
        grid-template-columns: 112px repeat(var(--compare-cols), minmax(190px,1fr));
        min-width: calc(112px + (var(--compare-cols) * 190px));
    }
    .dgpu-compare-table > * { padding: 10px; }
    .dgpu-compare-table__corner,
    .dgpu-compare-table__label { right: 0; }
    .dgpu-compare-table__corner { min-height: 170px; }
    .dgpu-compare-product { min-height: 170px; }
    .dgpu-compare-product img { height: 92px; }
}

@media (max-width: 520px) {
    .dgpu-smartfilters__controls { grid-template-columns: 1fr; }
    .dgpu-smartfilters__reset { margin-top: 0; }
}


/* =========================================================
   V8 hotfix — family header alignment + centered chevron + branded scrollbars
   ========================================================= */

/* Branded scrollbars across the products page */
.dgpu,
.dgpu * {
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 175, 78, .62) rgba(255,255,255,.05);
}

.dgpu *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.dgpu *::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
    border-radius: 999px;
}

.dgpu *::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 211, 123, .92), rgba(162, 117, 27, .92));
    border: 2px solid rgba(6, 12, 19, .95);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.dgpu *::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 226, 164, .98), rgba(199, 145, 42, .98));
}

.dgpu *::-webkit-scrollbar-corner {
    background: transparent;
}

/* Undo hidden scrollbars in specific scrollers */
.dgpu-quicknav::-webkit-scrollbar,
.dgpu-product-menu__list::-webkit-scrollbar,
.dgpu-comparebar__chips::-webkit-scrollbar {
    display: block;
    width: 10px;
    height: 10px;
}

.dgpu-quicknav,
.dgpu-product-menu__list,
.dgpu-comparebar__chips,
.dgpu-modal__body,
.dgpu-drawer__panel,
.dgpu-compare__body,
.dgpu-table,
.dgpu-tech,
.dgpu-apps {
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 175, 78, .62) rgba(255,255,255,.05);
}

/* Family header: fixed 3-column system => left toggle / center grades / right title */
.dgpu-family__head {
    display: grid !important;
    grid-template-columns: auto 96px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    direction: ltr;
}

.dgpu-family__identity {
    grid-column: 3;
    min-width: 0;
    justify-self: stretch;
    direction: rtl;
}

.dgpu-family__count {
    grid-column: 2;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 96px;
    min-width: 96px;
    margin: 0;
    text-align: center;
    direction: ltr;
}

.dgpu-family__count strong {
    display: block;
    width: 100%;
    margin: 0;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.dgpu-family__count small {
    display: block;
    width: 100%;
    margin: 0;
    letter-spacing: .14em;
    line-height: 1.15;
}

.dgpu-family__collapse {
    grid-column: 1;
    justify-self: start;
    margin: 0 !important;
    min-width: 118px;
}

.dgpu-family__collapse span {
    display: inline-block !important;
}

.dgpu-family__collapse i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    padding: 0;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,.065) !important;
    transform: none;
}

@media (max-width: 767px) {
    .dgpu-family {
        padding: 11px;
    }

    .dgpu-family__head {
        grid-template-columns: 118px 74px minmax(0, 1fr) !important;
        gap: 10px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .dgpu-family__identity {
        align-items: center;
        gap: 10px;
    }

    .dgpu-family__identity > span {
        width: 30px;
        height: 30px;
        font-size: 8px;
    }

    .dgpu-family__identity small {
        font-size: 6px;
    }

    .dgpu-family__identity h3 {
        font-size: 13px;
    }

    .dgpu-family__identity em {
        font-size: 7px;
    }

    .dgpu-family__count {
        width: 74px;
        min-width: 74px;
    }

    .dgpu-family__count strong {
        font-size: 16px;
    }

    .dgpu-family__count small {
        font-size: 7px;
    }

    .dgpu-family__collapse {
        width: 118px;
        min-width: 118px;
        height: 36px;
        padding: 0 10px;
    }

    .dgpu-family__collapse span {
        font-size: 8px;
        white-space: nowrap;
    }

    .dgpu-family__collapse i {
        width: 20px;
        height: 20px;
        font-size: 12px;
        background: rgba(255,255,255,.065) !important;
    }
}

@media (max-width: 560px) {
    .dgpu-family__head {
        grid-template-columns: 112px 68px minmax(0, 1fr) !important;
        gap: 8px;
    }

    .dgpu-family__count {
        width: 68px;
        min-width: 68px;
    }

    .dgpu-family__collapse {
        width: 112px;
        min-width: 112px;
    }
}


/* =========================================================
   V9 hotfix — real scrollbars + compact family rows + footer flush
   ========================================================= */

/* Real branded scrollbars for page and document */
html,
body,
.dgpu,
.dgpu * {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(218, 170, 72, .88) rgba(7, 15, 23, .38) !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.dgpu::-webkit-scrollbar,
.dgpu *::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.dgpu::-webkit-scrollbar-track,
.dgpu *::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(8,16,24,.96), rgba(12,20,30,.88)) !important;
    border-radius: 999px !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.dgpu::-webkit-scrollbar-thumb,
.dgpu *::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255,225,155,.96), rgba(180,130,38,.96)) !important;
    border: 2px solid rgba(6,12,18,.94) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12) !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.dgpu::-webkit-scrollbar-thumb:hover,
.dgpu *::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255,236,187,.99), rgba(205,149,45,.99)) !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
.dgpu::-webkit-scrollbar-corner,
.dgpu *::-webkit-scrollbar-corner {
    background: transparent !important;
}

/* Do not reserve giant phantom height for family cards */
.dgpu-family {
    content-visibility: visible !important;
    contain-intrinsic-size: auto !important;
}

/* Compact collapsed family rows */
.dgpu-family.is-collapsed {
    padding: 16px 18px !important;
}

.dgpu-family.is-collapsed .dgpu-family__head {
    min-height: 78px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom-color: transparent !important;
}

/* Cleaner header geometry */
.dgpu-family__head {
    display: grid !important;
    grid-template-columns: 120px 84px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    direction: ltr !important;
}

.dgpu-family__collapse {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    width: 120px;
    min-width: 120px;
    height: 36px;
    margin: 0 !important;
    padding: 0 10px !important;
    gap: 8px !important;
}

.dgpu-family__collapse span {
    order: 1;
    display: inline-block !important;
    font-size: 8px;
    white-space: nowrap;
}

.dgpu-family__collapse i {
    order: 2;
    position: relative;
    top: 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 10px !important;
    text-align: center !important;
    border-radius: 50%;
    background: rgba(255,255,255,.065) !important;
}

.dgpu-family__count {
    grid-column: 2;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 84px;
    min-width: 84px;
    text-align: center;
    direction: ltr;
}

.dgpu-family__count strong {
    display: block;
    margin: 0;
    font-size: 20px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.dgpu-family__count small {
    display: block;
    margin-top: 4px;
    font-size: 7px;
    line-height: 1.1;
    letter-spacing: .14em;
}

.dgpu-family__identity {
    grid-column: 3;
    min-width: 0;
    direction: rtl;
    justify-self: stretch;
}

/* Remove extra page/footer gap */
.dgpu,
.dgpu:last-child,
.dgpu-catalog,
.dg-products-shell,
.dg-products-article,
.dg-products-entry {
    margin-bottom: 0 !important;
}

.dgpu {
    display: block;
    padding-bottom: 0 !important;
}

.dgpu-catalog {
    padding-bottom: 18px !important;
}

body:has(.dgpu) .entry-content,
body:has(.dgpu) .post-content,
body:has(.dgpu) .site-main,
body:has(.dgpu) article,
body:has(.dgpu) .wp-site-blocks,
body:has(.dgpu) .wp-block-post-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body:has(.dgpu) footer,
body:has(.dgpu) .site-footer,
body:has(.dgpu) .footer {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .dgpu-family {
        padding: 12px !important;
    }

    .dgpu-family.is-collapsed {
        padding: 12px !important;
    }

    .dgpu-family.is-collapsed .dgpu-family__head {
        min-height: 68px;
    }

    .dgpu-family__head {
        grid-template-columns: 112px 64px minmax(0,1fr) !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }

    .dgpu-family__collapse {
        width: 112px;
        min-width: 112px;
        height: 34px;
        padding: 0 9px !important;
    }

    .dgpu-family__collapse span {
        font-size: 7px;
    }

    .dgpu-family__collapse i {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        min-height: 17px !important;
        font-size: 9px !important;
    }

    .dgpu-family__count {
        width: 64px;
        min-width: 64px;
    }

    .dgpu-family__count strong {
        font-size: 17px;
    }

    .dgpu-family__count small {
        font-size: 6px;
        margin-top: 3px;
    }

    .dgpu-family__identity {
        gap: 9px;
    }

    .dgpu-family__identity > span {
        width: 29px;
        height: 29px;
        font-size: 8px;
    }

    .dgpu-family__identity h3 {
        font-size: 13px;
        line-height: 1.35;
    }

    .dgpu-family__identity em {
        font-size: 7px;
    }

    .dgpu-catalog {
        padding-bottom: 8px !important;
    }
}


/* =========================================================
   V10 — Compact family row / count beside title / footer flush
   ========================================================= */

/* The previous grid placed the three header items on implicit rows.
   Use one explicit flex row instead: family → grade count → toggle. */
.dgpu-family__head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    direction: rtl !important;
    gap: 0 !important;
    min-height: 0 !important;
}

.dgpu-family__identity {
    order: 1 !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    direction: rtl !important;
    justify-self: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

.dgpu-family__count {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 58px !important;
    margin: 0 12px 0 0 !important;
    padding: 2px 12px 2px 0 !important;
    border-right: 1px solid rgba(255,255,255,.09);
    align-items: center !important;
    justify-content: center !important;
    justify-self: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    text-align: center !important;
    direction: ltr !important;
}

.dgpu-family__count strong {
    font-size: 18px !important;
    line-height: 1 !important;
}

.dgpu-family__count small {
    margin-top: 3px !important;
    font-size: 6px !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
}

.dgpu-family__collapse {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 34px !important;
    margin: 0 0 0 auto !important;
    padding: 0 10px !important;
    align-self: center !important;
    justify-self: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

/* Collapsed family cards should be genuinely compact. */
.dgpu-family.is-collapsed {
    min-height: 0 !important;
    height: auto !important;
    padding: 11px 18px !important;
}

.dgpu-family.is-collapsed .dgpu-family__head {
    min-height: 44px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 0 !important;
}

/* Keep open families visually balanced too. */
.dgpu-family:not(.is-collapsed) .dgpu-family__head {
    min-height: 48px !important;
}

/* Remove the 70px bottom margin from the final "palette ready" block.
   This was the visible gap before the site footer. */
.dgpu-future {
    margin-bottom: 0 !important;
}

/* Page-shell spacing reset for the Products page. */
body:has(.dgpu) #primary.site-main,
body:has(.dgpu) #primary.dg-singular,
body:has(.dgpu) .site-main,
body:has(.dgpu) .dg-singular,
body:has(.dgpu) .dg-entry-content,
body:has(.dgpu) .dg-products-shell,
body:has(.dgpu) .dg-products-article,
body:has(.dgpu) .dg-products-entry {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body:has(.dgpu) #primary.site-main > :last-child,
body:has(.dgpu) .dg-entry-content > :last-child {
    margin-bottom: 0 !important;
}

/* Prevent a white strip even if the theme wrapper retains a tiny box. */
body:has(.dgpu) .site-main,
body:has(.dgpu) .dg-entry-content {
    background-color: #05080c !important;
}

@media (max-width: 767px) {
    .dgpu-family.is-collapsed {
        padding: 9px 10px !important;
    }

    .dgpu-family.is-collapsed .dgpu-family__head {
        min-height: 42px !important;
    }

    .dgpu-family__identity {
        flex: 1 1 auto !important;
    }

    .dgpu-family__identity > span {
        flex: 0 0 28px !important;
        width: 28px !important;
        height: 28px !important;
    }

    .dgpu-family__identity h3 {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .dgpu-family__identity small {
        font-size: 5.5px !important;
    }

    .dgpu-family__identity em {
        font-size: 6.5px !important;
    }

    .dgpu-family__count {
        min-width: 46px !important;
        margin-right: 8px !important;
        padding-right: 8px !important;
    }

    .dgpu-family__count strong {
        font-size: 15px !important;
    }

    .dgpu-family__count small {
        font-size: 5.5px !important;
    }

    .dgpu-family__collapse {
        width: 96px !important;
        min-width: 96px !important;
        height: 32px !important;
        padding: 0 8px !important;
    }

    .dgpu-family__collapse span {
        font-size: 6.5px !important;
    }

    .dgpu-family__collapse i {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        min-height: 17px !important;
        font-size: 9px !important;
    }

    .dgpu-future {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 520px) {
    .dgpu-family__head {
        flex-wrap: nowrap !important;
    }

    .dgpu-family__count {
        min-width: 40px !important;
        margin-right: 6px !important;
        padding-right: 6px !important;
    }

    .dgpu-family__collapse {
        width: 88px !important;
        min-width: 88px !important;
    }

    .dgpu-family__collapse span {
        font-size: 6px !important;
    }
}


/* =========================================================
   V11 — Desktop family controls right + premium header states
   Mobile layout intentionally left unchanged from V10
   ========================================================= */

@media (min-width: 768px) {
    /* Keep title, grade count and action as one compact RTL cluster on the RIGHT. */
    .dgpu-family__head {
        justify-content: flex-start !important;
        direction: rtl !important;
        gap: 0 !important;
    }

    .dgpu-family__identity {
        order: 1 !important;
        flex: 0 1 auto !important;
    }

    .dgpu-family__count {
        order: 2 !important;
        margin: 0 14px 0 0 !important;
        padding: 2px 14px 2px 0 !important;
        border-right: 1px solid rgba(255,255,255,.09) !important;
    }

    .dgpu-family__collapse {
        order: 3 !important;
        margin: 0 14px 0 0 !important;
        width: 120px !important;
        min-width: 120px !important;
    }

    /* Premium closed/open family treatment */
    .dgpu-family {
        transition:
            border-color .24s ease,
            background-color .24s ease,
            box-shadow .24s ease,
            transform .24s ease;
    }

    .dgpu-family::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        opacity: 0;
        background:
            radial-gradient(circle at 90% 50%,
                color-mix(in srgb, var(--line-accent) 10%, transparent),
                transparent 38%);
        transition: opacity .24s ease;
    }

    .dgpu-family:hover {
        border-color: color-mix(in srgb, var(--line-accent) 26%, rgba(255,255,255,.075));
        background: color-mix(in srgb, var(--line-accent) 2.5%, rgba(255,255,255,.018));
        box-shadow: 0 12px 34px rgba(0,0,0,.16);
    }

    .dgpu-family:hover::before {
        opacity: 1;
    }

    .dgpu-family:not(.is-collapsed) {
        border-color: color-mix(in srgb, var(--line-accent) 34%, rgba(255,255,255,.09));
        background:
            linear-gradient(
                90deg,
                color-mix(in srgb, var(--line-accent) 4%, rgba(255,255,255,.018)),
                rgba(255,255,255,.018) 42%
            );
        box-shadow:
            0 16px 46px rgba(0,0,0,.20),
            inset 0 1px 0 rgba(255,255,255,.025);
    }

    .dgpu-family:not(.is-collapsed)::after {
        content: "";
        position: absolute;
        top: 0;
        right: 18px;
        left: 18px;
        height: 1px;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            transparent,
            color-mix(in srgb, var(--line-accent) 60%, white),
            transparent
        );
        opacity: .55;
    }

    .dgpu-family__collapse {
        transition:
            border-color .2s ease,
            background-color .2s ease,
            color .2s ease,
            box-shadow .2s ease,
            transform .2s ease;
    }

    .dgpu-family__collapse:hover,
    .dgpu-family__collapse:focus-visible {
        transform: translateY(-1px);
        border-color: color-mix(in srgb, var(--line-accent) 52%, rgba(255,255,255,.14)) !important;
        background: color-mix(in srgb, var(--line-accent) 9%, rgba(255,255,255,.028)) !important;
        box-shadow: 0 8px 22px color-mix(in srgb, var(--line-accent) 12%, transparent);
    }

    .dgpu-family:not(.is-collapsed) .dgpu-family__collapse {
        color: #fff;
        border-color: color-mix(in srgb, var(--line-accent) 38%, rgba(255,255,255,.12));
        background: color-mix(in srgb, var(--line-accent) 8%, rgba(255,255,255,.025));
    }

    .dgpu-family__identity > span {
        transition:
            border-color .2s ease,
            background-color .2s ease,
            box-shadow .2s ease,
            color .2s ease;
    }

    .dgpu-family:hover .dgpu-family__identity > span,
    .dgpu-family:not(.is-collapsed) .dgpu-family__identity > span {
        border-color: color-mix(in srgb, var(--line-accent) 42%, rgba(255,255,255,.12));
        background: color-mix(in srgb, var(--line-accent) 7%, transparent);
        box-shadow: 0 0 22px color-mix(in srgb, var(--line-accent) 10%, transparent);
    }
}


/* =========================================================
   V12 — Desktop family title right / controls left
   Mobile remains exactly as V10/V11
   ========================================================= */

@media (min-width: 768px) {
    .dgpu-family__head {
        display: grid !important;
        grid-template-columns: 120px 72px minmax(0, 1fr) !important;
        align-items: center !important;
        column-gap: 12px !important;
        direction: ltr !important;
        min-height: 44px !important;
    }

    /* LEFT: button */
    .dgpu-family__collapse {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        align-self: center !important;
        order: initial !important;
        width: 120px !important;
        min-width: 120px !important;
        height: 34px !important;
        margin: 0 !important;
    }

    /* LEFT, beside button: grade count */
    .dgpu-family__count {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        align-self: center !important;
        order: initial !important;
        width: 72px !important;
        min-width: 72px !important;
        margin: 0 !important;
        padding: 0 0 0 12px !important;
        border-right: 0 !important;
        border-left: 1px solid rgba(255,255,255,.09) !important;
    }

    .dgpu-family__count strong,
    .dgpu-family__count small {
        text-align: center !important;
    }

    /* RIGHT: family identity */
    .dgpu-family__identity {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: center !important;
        order: initial !important;
        direction: rtl !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .dgpu-family.is-collapsed .dgpu-family__head {
        min-height: 44px !important;
    }
}


/* =========================================================
   V13 — Product drawer: details right + order form left
   ========================================================= */

.dgpu-drawer__stage {
    position: relative;
    z-index: 2;
}

/* Order form */
.dgpu-order {
    color: var(--text);
}

.dgpu-order__eyebrow {
    display: block;
    direction: ltr;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #d9ad54;
}

.dgpu-order__head h3 {
    margin: 7px 0 0;
    font-size: 24px;
    line-height: 1.25;
    color: #fff;
}

.dgpu-order__head > p {
    max-width: 520px;
    margin: 9px 0 0;
    font-size: 10px;
    line-height: 1.9;
    color: rgba(255,255,255,.55);
}

.dgpu-order__product {
    display: grid;
    grid-template-columns: 72px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}

.dgpu-order__thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 11px;
    border: 1px solid rgba(255,255,255,.10);
    background: #111820;
}

.dgpu-order__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dgpu-order__product-copy {
    min-width: 0;
}

.dgpu-order__product-copy small,
.dgpu-order__product-copy strong,
.dgpu-order__product-copy span {
    display: block;
}

.dgpu-order__product-copy small {
    direction: ltr;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: .14em;
    color: rgba(255,255,255,.33);
}

.dgpu-order__product-copy strong {
    margin-top: 5px;
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 800 18px/1.2 Arial, sans-serif;
    color: #fff;
}

.dgpu-order__product-copy span {
    margin-top: 4px;
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 8px;
    color: #d9ad54;
}

.dgpu-order__mini-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.dgpu-order__mini-specs span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 999px;
    direction: ltr;
    font-size: 7px;
    color: rgba(255,255,255,.64);
    background: rgba(255,255,255,.02);
}

.dgpu-order__form {
    margin-top: 22px;
}

.dgpu-order__quantity {
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.018);
}

.dgpu-order__quantity legend {
    padding: 0 7px;
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,.82);
}

.dgpu-order__units {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
}

.dgpu-order__units label {
    position: relative;
    cursor: pointer;
}

.dgpu-order__units input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dgpu-order__units span {
    display: grid;
    place-items: center;
    min-height: 40px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    font-size: 9px;
    color: rgba(255,255,255,.62);
    background: rgba(255,255,255,.025);
    transition: .18s ease;
}

.dgpu-order__units input:checked + span {
    border-color: rgba(217,173,84,.62);
    color: #fff;
    background: rgba(217,173,84,.10);
    box-shadow: inset 0 0 0 1px rgba(217,173,84,.08);
}

.dgpu-order__amount {
    display: grid;
    grid-template-columns: 92px minmax(0,1fr);
    align-items: center;
    gap: 10px;
    margin-top: 13px;
}

.dgpu-order__amount > span,
.dgpu-order__fields label > span {
    font-size: 8px;
    color: rgba(255,255,255,.55);
}

.dgpu-order__amount > div {
    display: grid;
    grid-template-columns: minmax(0,1fr) 72px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    background: rgba(3,7,11,.55);
}

.dgpu-order__amount input,
.dgpu-order__fields input,
.dgpu-order__fields textarea {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.dgpu-order__amount input {
    min-height: 44px;
    padding: 0 12px;
    direction: ltr;
    text-align: left;
    font-size: 12px;
}

.dgpu-order__amount b {
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(255,255,255,.08);
    font-size: 8px;
    font-weight: 700;
    color: #d9ad54;
    background: rgba(217,173,84,.05);
}

.dgpu-order__fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 12px;
}

.dgpu-order__fields label {
    display: grid;
    gap: 6px;
}

.dgpu-order__fields input,
.dgpu-order__fields textarea {
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    background: rgba(255,255,255,.022);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.dgpu-order__fields input {
    min-height: 44px;
    padding: 0 12px;
}

.dgpu-order__fields textarea {
    min-height: 104px;
    padding: 11px 12px;
    resize: vertical;
    line-height: 1.8;
}

.dgpu-order__fields input:focus,
.dgpu-order__fields textarea:focus,
.dgpu-order__amount > div:focus-within {
    border-color: rgba(217,173,84,.46);
    background: rgba(217,173,84,.035);
    box-shadow: 0 0 0 3px rgba(217,173,84,.045);
}

.dgpu-order__message {
    grid-column: 1 / -1;
}

.dgpu-order__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    border: 1px solid rgba(217,173,84,.55);
    border-radius: 12px;
    cursor: pointer;
    color: #0a0d10;
    background: linear-gradient(135deg, #f3d58a, #c89432);
    box-shadow: 0 12px 34px rgba(180,130,38,.14);
    font-size: 10px;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.dgpu-order__submit:hover,
.dgpu-order__submit:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 16px 38px rgba(180,130,38,.20);
    outline: 0;
}

.dgpu-order__submit i {
    font-style: normal;
    font-size: 15px;
}

.dgpu-order__status {
    min-height: 17px;
    margin: 8px 0 0;
    font-size: 8px;
    line-height: 1.7;
    color: rgba(255,255,255,.48);
}

@media (min-width: 768px) {
    .dgpu-drawer {
        display: grid !important;
        place-items: center;
        padding: 24px;
        direction: ltr;
    }

    .dgpu-drawer__stage {
        display: grid;
        grid-template-columns: minmax(420px,.92fr) minmax(520px,1.08fr);
        gap: 12px;
        width: min(1240px, calc(100vw - 48px));
        height: min(880px, calc(100dvh - 48px));
        max-height: calc(100dvh - 48px);
        direction: ltr;
    }

    .dgpu-order,
    .dgpu-drawer__panel {
        position: relative;
        z-index: 2;
        width: 100% !important;
        height: 100% !important;
        min-height: 0;
        overflow-y: auto;
        direction: rtl;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 18px;
        background:
            radial-gradient(circle at 12% 0%, rgba(217,173,84,.05), transparent 28%),
            #091018;
        box-shadow: 0 30px 90px rgba(0,0,0,.46);
    }

    .dgpu-order {
        grid-column: 1;
        padding: 24px;
        animation: dgpuOrderIn .28s ease both;
    }

    .dgpu-drawer__panel {
        grid-column: 2;
        border-left: 1px solid rgba(255,255,255,.10);
        animation: dgpuDetailsIn .28s ease both;
    }

    @keyframes dgpuOrderIn {
        from { transform: translateX(-18px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    @keyframes dgpuDetailsIn {
        from { transform: translateX(18px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    .dgpu-drawer__close {
        position: sticky !important;
        float: right;
        top: 14px !important;
        right: 14px !important;
        margin: 14px 14px -52px 0;
        z-index: 20 !important;
    }
}

@media (max-width: 767px) {
    .dgpu-drawer {
        display: block !important;
        padding: 0 !important;
    }

    .dgpu-drawer__stage {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: 100dvh;
        overflow-y: auto;
        background: #091018;
    }

    .dgpu-drawer__panel {
        order: 1;
        position: relative;
        width: 100vw !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .dgpu-order {
        order: 2;
        padding: 18px 14px calc(28px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255,255,255,.08);
        background:
            radial-gradient(circle at 20% 0%, rgba(217,173,84,.05), transparent 32%),
            #091018;
    }

    .dgpu-order__head h3 {
        font-size: 20px;
    }

    .dgpu-order__product {
        grid-template-columns: 60px minmax(0,1fr);
    }

    .dgpu-order__thumb {
        width: 60px;
        height: 60px;
    }

    .dgpu-order__units {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .dgpu-order__amount {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .dgpu-order__fields {
        grid-template-columns: 1fr;
    }

    .dgpu-order__message {
        grid-column: auto;
    }
}


/* =========================================================
   V14/V15 — hidden guard + mobile details-first order switch
   ========================================================= */

.dgpu-drawer[hidden] {
    display: none !important;
}

/* Never allow the product viewer/form to create horizontal page scroll. */
body.dgpu-drawer-open,
body.dgpu-drawer-open .dgpu-drawer,
body.dgpu-drawer-open .dgpu-drawer__stage,
body.dgpu-drawer-open .dgpu-drawer__panel,
body.dgpu-drawer-open .dgpu-order {
    overflow-x: hidden !important;
}

.dgpu-drawer,
.dgpu-drawer__stage,
.dgpu-drawer__panel,
.dgpu-drawer__media,
.dgpu-drawer__content,
.dgpu-order,
.dgpu-order__head,
.dgpu-order__form,
.dgpu-order__fields,
.dgpu-order__quantity,
.dgpu-order__amount,
.dgpu-order__amount-control {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Mobile-only order switch controls */
.dgpu-drawer__mobile-order,
.dgpu-order__mobile-nav {
    display: none;
}

/* Fully custom form controls: no native browser UI. */
.dgpu-order button,
.dgpu-order input,
.dgpu-order textarea {
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
}

.dgpu-order input[type="number"] {
    -moz-appearance: textfield;
}

.dgpu-order input[type="number"]::-webkit-inner-spin-button,
.dgpu-order input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.dgpu-order input::placeholder,
.dgpu-order textarea::placeholder {
    color: rgba(255,255,255,.25);
    opacity: 1;
}

.dgpu-order input:-webkit-autofill,
.dgpu-order input:-webkit-autofill:hover,
.dgpu-order input:-webkit-autofill:focus,
.dgpu-order textarea:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    box-shadow: 0 0 0 1000px #0b1219 inset;
    transition: background-color 9999s ease-out 0s;
}

.dgpu-order__fields textarea {
    resize: none !important;
}

/* Custom numeric stepper */
.dgpu-order__amount > div.dgpu-order__amount-control {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 34px 72px;
    align-items: stretch;
    overflow: hidden;
}

.dgpu-order__amount-control input {
    min-width: 0;
    border-left: 1px solid rgba(255,255,255,.07) !important;
    border-right: 1px solid rgba(255,255,255,.07) !important;
}

.dgpu-order__step {
    display: grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    min-height: 44px;
    padding: 0;
    border: 0;
    cursor: pointer;
    color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.035);
    font: 500 16px/1 Arial, sans-serif !important;
    transition: color .18s ease, background-color .18s ease;
}

.dgpu-order__step:hover,
.dgpu-order__step:focus-visible {
    color: #f3d58a;
    background: rgba(217,173,84,.09);
    outline: 0;
}

.dgpu-order__amount-control > b {
    border-right: 1px solid rgba(255,255,255,.08);
}

/* Desktop keeps details right + form left. */
@media (min-width: 768px) {
    .dgpu-order__mobile-nav,
    .dgpu-drawer__mobile-order {
        display: none !important;
    }
}

/* Mobile: product details first, form replaces details only after CTA tap. */
@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .dgpu-drawer {
        width: 100%;
        max-width: 100%;
        overflow: hidden !important;
    }

    .dgpu-drawer__stage {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        background: #091018;
    }

    /* DETAILS is the default/first mobile view */
    .dgpu-drawer__panel {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 100dvh !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        animation: none !important;
    }

    .dgpu-drawer__media {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 16 / 11;
    }

    .dgpu-drawer__media img {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .dgpu-drawer__content {
        width: 100%;
        padding: 18px 14px calc(28px + env(safe-area-inset-bottom));
    }

    .dgpu-drawer__tech {
        grid-template-columns: 1fr !important;
    }

    .dgpu-drawer__tech > div,
    .dgpu-drawer__apps,
    .dgpu-drawer__apps > div {
        min-width: 0;
        max-width: 100%;
    }

    .dgpu-drawer__tech strong,
    .dgpu-drawer__apps b {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* CTA directly under image, aligned to the right in RTL */
    .dgpu-drawer__mobile-order {
        display: flex !important;
        justify-content: flex-start;
        width: 100%;
        padding: 10px 14px 4px;
        direction: rtl;
        background: #091018;
    }

    .dgpu-drawer__mobile-order button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 152px;
        min-height: 42px;
        padding: 0 14px;
        border: 1px solid rgba(217,173,84,.52);
        border-radius: 11px;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        color: #11100c;
        background: linear-gradient(135deg, #f3d58a, #c89432);
        box-shadow: 0 10px 28px rgba(180,130,38,.15);
        font-size: 9px;
        font-weight: 900;
    }

    .dgpu-drawer__mobile-order button i {
        font-style: normal;
        font-size: 14px;
    }

    /* ORDER is not rendered on mobile until requested */
    .dgpu-order {
        display: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100dvh;
        padding: 12px 14px calc(28px + env(safe-area-inset-bottom));
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background:
            radial-gradient(circle at 20% 0%, rgba(217,173,84,.05), transparent 32%),
            #091018;
    }

    .dgpu-drawer__stage.is-order-mode .dgpu-drawer__panel {
        display: none !important;
    }

    .dgpu-drawer__stage.is-order-mode .dgpu-order {
        display: block !important;
    }

    .dgpu-order__mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 14px;
    }

    .dgpu-order__mobile-back,
    .dgpu-order__mobile-close {
        min-height: 36px;
        border: 1px solid rgba(255,255,255,.10);
        cursor: pointer;
        color: rgba(255,255,255,.78);
        background: rgba(255,255,255,.035);
    }

    .dgpu-order__mobile-back {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 0 11px;
        border-radius: 999px;
        font-size: 8px;
    }

    .dgpu-order__mobile-back i {
        font-style: normal;
        color: #d9ad54;
    }

    .dgpu-order__mobile-close {
        display: grid;
        place-items: center;
        width: 36px;
        min-width: 36px;
        padding: 0;
        border-radius: 50%;
        font: 300 20px/1 Arial, sans-serif !important;
    }

    .dgpu-order__product,
    .dgpu-order__fields,
    .dgpu-order__quantity {
        width: 100%;
        max-width: 100%;
    }

    .dgpu-order__product {
        grid-template-columns: 58px minmax(0,1fr) !important;
    }

    .dgpu-order__thumb {
        width: 58px !important;
        height: 58px !important;
    }

    .dgpu-order__product-copy strong,
    .dgpu-order__product-copy span {
        max-width: 100%;
    }

    .dgpu-order__units {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        width: 100%;
    }

    .dgpu-order__amount {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .dgpu-order__amount > div.dgpu-order__amount-control {
        width: 100%;
        grid-template-columns: 34px minmax(0,1fr) 34px 62px;
    }

    .dgpu-order__fields {
        grid-template-columns: 1fr !important;
    }

    .dgpu-order__fields input,
    .dgpu-order__fields textarea,
    .dgpu-order__amount input {
        min-width: 0;
        max-width: 100%;
    }

    .dgpu-order__message {
        grid-column: auto !important;
    }

    /* Hide desktop close button while order view is active; custom close above is used. */
    .dgpu-drawer__stage.is-order-mode .dgpu-drawer__close {
        display: none !important;
    }
}


/* =========================================================
   V16 — mobile CTA beside product code + true desktop centering
   ========================================================= */

.dgpu-drawer__headline {
    min-width: 0;
}

.dgpu-drawer__title-block {
    min-width: 0;
}

/* Desktop modal must center against the VIEWPORT, not the page-content wrapper. */
@media (min-width: 768px) {
    .dgpu-drawer {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 24px !important;
        display: grid !important;
        place-items: center !important;
        justify-content: stretch !important;
        align-content: center !important;
    }

    .dgpu-drawer__stage {
        position: relative !important;
        justify-self: center !important;
        align-self: center !important;
        margin: 0 auto !important;
        width: min(1240px, calc(100vw - 48px)) !important;
        max-width: calc(100vw - 48px) !important;
    }

    .dgpu-drawer__headline {
        display: block;
    }

    .dgpu-drawer__mobile-order {
        display: none !important;
    }
}

@media (max-width: 767px) {
    /* Product family/code and order CTA share ONE row, so CTA adds no extra height. */
    .dgpu-drawer__content {
        padding-top: 14px !important;
    }

    .dgpu-drawer__headline {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        width: 100%;
        direction: ltr;
    }

    .dgpu-drawer__title-block {
        grid-column: 1;
        direction: ltr;
        text-align: left;
        align-self: center;
    }

    .dgpu-drawer__title-block .dgpu-drawer__family {
        margin: 0;
    }

    .dgpu-drawer__title-block h2 {
        margin-top: 6px !important;
    }

    .dgpu-drawer__mobile-order {
        grid-column: 2;
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        align-self: center;
        direction: rtl;
        background: transparent !important;
    }

    .dgpu-drawer__mobile-order button {
        width: auto;
        min-width: 138px;
        min-height: 42px;
        padding: 0 13px;
        margin: 0;
        white-space: nowrap;
    }

    .dgpu-drawer__tech {
        margin-top: 18px !important;
    }
}

@media (max-width: 390px) {
    .dgpu-drawer__headline {
        gap: 8px;
    }

    .dgpu-drawer__mobile-order button {
        min-width: 126px;
        min-height: 40px;
        padding: 0 10px;
        font-size: 8px;
    }

    .dgpu-drawer__content h2 {
        font-size: 30px;
    }
}


/* =========================================================
   V17 — Product request submit states
   ========================================================= */
.dgpu-order__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.dgpu-order input.is-invalid,
.dgpu-order textarea.is-invalid {
    border-color: rgba(255,90,90,.72) !important;
    box-shadow: 0 0 0 3px rgba(255,70,70,.07) !important;
}

.dgpu-order__status[data-state="success"] { color: #8fd9b5; }
.dgpu-order__status[data-state="error"] { color: #ff8d8d; }
.dgpu-order__status[data-state="loading"] { color: #e5c573; }

.dgpu-order__submit:disabled {
    cursor: wait;
    opacity: .72;
    transform: none !important;
}

/* =========================================================
   DGCHEME PRODUCTS — MOBILE STICKY FILTER RESTORE
   2026-10-02
   Restores the mobile Products dropdown sticky behavior without
   changing the desktop sidebar or the product drawer behavior.
   ========================================================= */

@media (max-width: 767px) {
    /*
     * V14/V15 used overflow-x:hidden on the root scrolling elements.
     * On mobile Safari/Chromium this can make position:sticky resolve
     * against an unintended scroll container. `clip` prevents horizontal
     * page bleed without creating that scroll container.
     */
    html,
    body {
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    /* Keep every ancestor of the mobile filter open on the Y axis. */
    .dg-products-shell,
    .dg-products-article,
    .dg-products-entry,
    .dgpu-catalog-layout {
        overflow: visible !important;
    }

    /* The universe may still clip accidental horizontal overflow only. */
    .dgpu {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    /* Restore the compact mobile dropdown as the sticky element. */
    .dgpu-product-menu {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 64px !important;
        z-index: 120 !important;
        align-self: start !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* Keep the opened dropdown above product cards while it is sticky. */
    .dgpu-product-menu.is-mobile-open {
        z-index: 140 !important;
    }

    /* Preserve the existing UX: hide filter while product details are open. */
    body.dgpu-drawer-open .dgpu-product-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-8px) !important;
    }
}

/* =========================================================
   DGCHEME PRODUCTS — GRAM ORDER RULE / V17.1
   Applies only to the order amount control.
========================================================= */

.dgpu-order__amount-notice {
    width: 100%;
    margin: 9px 0 0;
    padding: 9px 11px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    border: 1px solid rgba(226, 190, 98, .18);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(226, 190, 98, .055), rgba(255, 255, 255, .018));
    color: rgba(245, 241, 226, .76);
    font-size: 10.5px;
    line-height: 1.85;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.dgpu-order__amount-notice[hidden] {
    display: none;
}

.dgpu-order__amount-notice > i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(226, 190, 98, .28);
    border-radius: 7px;
    background: rgba(226, 190, 98, .07);
    color: #e2be62;
    font: 700 10px/1 Arial, sans-serif;
}

.dgpu-order__amount-notice[data-state="warning"] {
    border-color: rgba(255, 126, 102, .24);
    background:
        linear-gradient(135deg, rgba(255, 103, 82, .07), rgba(255, 255, 255, .014));
    color: rgba(255, 221, 214, .90);
}

.dgpu-order__amount-notice[data-state="warning"] > i {
    border-color: rgba(255, 126, 102, .30);
    background: rgba(255, 103, 82, .08);
    color: #ff9b87;
}

.dgpu-order__amount-notice[data-state="adjusted"] {
    border-color: rgba(109, 211, 164, .22);
    background:
        linear-gradient(135deg, rgba(86, 190, 143, .065), rgba(255, 255, 255, .014));
    color: rgba(213, 246, 231, .88);
}

.dgpu-order__amount-notice[data-state="adjusted"] > i {
    border-color: rgba(109, 211, 164, .28);
    background: rgba(86, 190, 143, .08);
    color: #8ed9b7;
}

.dgpu-order__step:disabled {
    cursor: not-allowed;
    color: rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .015);
    opacity: .62;
}

.dgpu-order__step:disabled:hover {
    color: rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .015);
}

@media (max-width: 767px) {
    .dgpu-order__amount-notice {
        margin-top: 8px;
        padding: 9px 10px;
        font-size: 10px;
        line-height: 1.8;
    }
}

/* =========================================================
   DGCHEME PRODUCTS — GRAM ORDER NOTICE LAYOUT FIX V1.1
   Keep the validation message full-width instead of collapsing
   into the 92px label column.
========================================================= */

.dgpu-order__amount-notice {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
    overflow: hidden;
}

.dgpu-order__amount-notice > span {
    min-width: 0;
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: right;
}

@media (min-width: 768px) {
    .dgpu-order__amount-notice {
        /*
         * On desktop, align the notice under the amount controller while
         * keeping enough width for one/two clean lines.
         */
        grid-column: 2 / -1;
    }
}

@media (max-width: 767px) {
    .dgpu-order__amount-notice {
        grid-column: 1 / -1;
        width: 100%;
    }
}

