| 1 |
/* ================================================================ |
| 2 |
Product Spec Sheet — bkbg-ps-* |
| 3 |
CSS var prefix: --bkbg-pspec- (avoids collision with product-showcase) |
| 4 |
================================================================ */ |
| 5 |
|
| 6 |
.bkbg-ps-block { |
| 7 |
box-sizing: border-box; |
| 8 |
border-radius: inherit; |
| 9 |
overflow: hidden; |
| 10 |
} |
| 11 |
|
| 12 |
/* ── Product header ───────────────────────────────────────────── */ |
| 13 |
.bkbg-ps-header { line-height: 1; } |
| 14 |
|
| 15 |
.bkbg-ps-product-name { |
| 16 |
font-family: var(--bkbg-pspec-hd-font-family, inherit); |
| 17 |
font-size: var(--bkbg-pspec-hd-font-size-d, 24px); |
| 18 |
font-weight: var(--bkbg-pspec-hd-font-weight, 800); |
| 19 |
font-style: var(--bkbg-pspec-hd-font-style, normal); |
| 20 |
text-transform: var(--bkbg-pspec-hd-text-transform, none); |
| 21 |
text-decoration: var(--bkbg-pspec-hd-text-decoration, none); |
| 22 |
line-height: var(--bkbg-pspec-hd-line-height-d, 1.2); |
| 23 |
letter-spacing: var(--bkbg-pspec-hd-letter-spacing-d, normal); |
| 24 |
word-spacing: var(--bkbg-pspec-hd-word-spacing-d, normal); |
| 25 |
margin: 0; |
| 26 |
} |
| 27 |
|
| 28 |
.bkbg-ps-tagline { |
| 29 |
margin: 6px 0 0; |
| 30 |
font-size: 14px; |
| 31 |
opacity: .75; |
| 32 |
line-height: 1.4; |
| 33 |
} |
| 34 |
|
| 35 |
/* ── Table layout ─────────────────────────────────────────────── */ |
| 36 |
.bkbg-ps-table { width: 100%; border-collapse: collapse; } |
| 37 |
|
| 38 |
.bkbg-ps-group-title { |
| 39 |
font-family: var(--bkbg-pspec-gt-font-family, inherit); |
| 40 |
font-size: var(--bkbg-pspec-gt-font-size-d, 13px); |
| 41 |
font-weight: var(--bkbg-pspec-gt-font-weight, 700); |
| 42 |
font-style: var(--bkbg-pspec-gt-font-style, normal); |
| 43 |
text-transform: uppercase; |
| 44 |
text-decoration: var(--bkbg-pspec-gt-text-decoration, none); |
| 45 |
line-height: var(--bkbg-pspec-gt-line-height-d, 1.4); |
| 46 |
letter-spacing: var(--bkbg-pspec-gt-letter-spacing-d, .06em); |
| 47 |
word-spacing: var(--bkbg-pspec-gt-word-spacing-d, normal); |
| 48 |
} |
| 49 |
|
| 50 |
.bkbg-ps-row { transition: background .1s; } |
| 51 |
.bkbg-ps-row:hover { filter: brightness(.97); } |
| 52 |
|
| 53 |
.bkbg-ps-key { |
| 54 |
width: 40%; |
| 55 |
font-family: var(--bkbg-pspec-rw-font-family, inherit); |
| 56 |
font-size: var(--bkbg-pspec-rw-font-size-d, 14px); |
| 57 |
font-weight: var(--bkbg-pspec-rw-font-weight, 500); |
| 58 |
font-style: var(--bkbg-pspec-rw-font-style, normal); |
| 59 |
text-transform: var(--bkbg-pspec-rw-text-transform, none); |
| 60 |
text-decoration: var(--bkbg-pspec-rw-text-decoration, none); |
| 61 |
line-height: var(--bkbg-pspec-rw-line-height-d, 1.5); |
| 62 |
letter-spacing: var(--bkbg-pspec-rw-letter-spacing-d, normal); |
| 63 |
word-spacing: var(--bkbg-pspec-rw-word-spacing-d, normal); |
| 64 |
} |
| 65 |
|
| 66 |
.bkbg-ps-value { |
| 67 |
font-family: var(--bkbg-pspec-rw-font-family, inherit); |
| 68 |
font-size: var(--bkbg-pspec-rw-font-size-d, 14px); |
| 69 |
font-weight: 600; |
| 70 |
font-style: var(--bkbg-pspec-rw-font-style, normal); |
| 71 |
text-transform: var(--bkbg-pspec-rw-text-transform, none); |
| 72 |
text-decoration: var(--bkbg-pspec-rw-text-decoration, none); |
| 73 |
line-height: var(--bkbg-pspec-rw-line-height-d, 1.5); |
| 74 |
letter-spacing: var(--bkbg-pspec-rw-letter-spacing-d, normal); |
| 75 |
word-spacing: var(--bkbg-pspec-rw-word-spacing-d, normal); |
| 76 |
} |
| 77 |
|
| 78 |
/* ── Cards layout ─────────────────────────────────────────────── */ |
| 79 |
.bkbg-ps-cards { |
| 80 |
display: grid; |
| 81 |
gap: 16px; |
| 82 |
padding: 16px; |
| 83 |
} |
| 84 |
|
| 85 |
.bkbg-ps-card { |
| 86 |
border: 1px solid; |
| 87 |
border-radius: 8px; |
| 88 |
overflow: hidden; |
| 89 |
} |
| 90 |
|
| 91 |
/* ── Compact 2-col layout ─────────────────────────────────────── */ |
| 92 |
.bkbg-ps-compact-row { |
| 93 |
display: grid; |
| 94 |
grid-template-columns: 1fr 1fr; |
| 95 |
} |
| 96 |
|
| 97 |
/* ── Highlight star button ────────────────────────────────────── */ |
| 98 |
.bkbg-ps-star { |
| 99 |
background: none; |
| 100 |
border: none; |
| 101 |
cursor: pointer; |
| 102 |
font-size: 14px; |
| 103 |
padding: 0 4px; |
| 104 |
opacity: .4; |
| 105 |
transition: opacity .12s; |
| 106 |
} |
| 107 |
|
| 108 |
.bkbg-ps-star.is-on { opacity: 1; } |
| 109 |
|
| 110 |
/* ── Responsive — tablet ──────────────────────────────────────── */ |
| 111 |
@media (max-width: 1024px) { |
| 112 |
.bkbg-ps-product-name { |
| 113 |
font-size: var(--bkbg-pspec-hd-font-size-t, 24px); |
| 114 |
line-height: var(--bkbg-pspec-hd-line-height-t, 1.2); |
| 115 |
letter-spacing: var(--bkbg-pspec-hd-letter-spacing-t, normal); |
| 116 |
word-spacing: var(--bkbg-pspec-hd-word-spacing-t, normal); |
| 117 |
} |
| 118 |
.bkbg-ps-group-title { |
| 119 |
font-size: var(--bkbg-pspec-gt-font-size-t, 13px); |
| 120 |
line-height: var(--bkbg-pspec-gt-line-height-t, 1.4); |
| 121 |
letter-spacing: var(--bkbg-pspec-gt-letter-spacing-t, .06em); |
| 122 |
word-spacing: var(--bkbg-pspec-gt-word-spacing-t, normal); |
| 123 |
} |
| 124 |
.bkbg-ps-key, |
| 125 |
.bkbg-ps-value { |
| 126 |
font-size: var(--bkbg-pspec-rw-font-size-t, 14px); |
| 127 |
line-height: var(--bkbg-pspec-rw-line-height-t, 1.5); |
| 128 |
letter-spacing: var(--bkbg-pspec-rw-letter-spacing-t, normal); |
| 129 |
word-spacing: var(--bkbg-pspec-rw-word-spacing-t, normal); |
| 130 |
} |
| 131 |
} |
| 132 |
|
| 133 |
/* ── Responsive — mobile ──────────────────────────────────────── */ |
| 134 |
@media (max-width: 767px) { |
| 135 |
.bkbg-ps-product-name { |
| 136 |
font-size: var(--bkbg-pspec-hd-font-size-m, 24px); |
| 137 |
line-height: var(--bkbg-pspec-hd-line-height-m, 1.2); |
| 138 |
letter-spacing: var(--bkbg-pspec-hd-letter-spacing-m, normal); |
| 139 |
word-spacing: var(--bkbg-pspec-hd-word-spacing-m, normal); |
| 140 |
} |
| 141 |
.bkbg-ps-group-title { |
| 142 |
font-size: var(--bkbg-pspec-gt-font-size-m, 13px); |
| 143 |
line-height: var(--bkbg-pspec-gt-line-height-m, 1.4); |
| 144 |
letter-spacing: var(--bkbg-pspec-gt-letter-spacing-m, .06em); |
| 145 |
word-spacing: var(--bkbg-pspec-gt-word-spacing-m, normal); |
| 146 |
} |
| 147 |
.bkbg-ps-key, |
| 148 |
.bkbg-ps-value { |
| 149 |
font-size: var(--bkbg-pspec-rw-font-size-m, 14px); |
| 150 |
line-height: var(--bkbg-pspec-rw-line-height-m, 1.5); |
| 151 |
letter-spacing: var(--bkbg-pspec-rw-letter-spacing-m, normal); |
| 152 |
word-spacing: var(--bkbg-pspec-rw-word-spacing-m, normal); |
| 153 |
} |
| 154 |
} |
| 155 |
|
| 156 |
@media (max-width: 560px) { |
| 157 |
.bkbg-ps-cards { grid-template-columns: 1fr !important; } |
| 158 |
.bkbg-ps-compact-row { grid-template-columns: 1fr; } |
| 159 |
.bkbg-ps-key { width: auto; } |
| 160 |
} |
| 161 |
|