style.css 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219
  1. @font-face {
  2. font-family: 'Freising Sans';
  3. src: url('../fonts/FreisingSans-Regular.woff2') format('woff2');
  4. font-weight: 400;
  5. font-style: normal;
  6. font-display: swap;
  7. }
  8. @font-face {
  9. font-family: 'Freising Sans';
  10. src: url('../fonts/FreisingSans-Semibold.woff2') format('woff2');
  11. font-weight: 600;
  12. font-style: normal;
  13. font-display: swap;
  14. }
  15. :root {
  16. --brand-primary: #111111;
  17. --brand-primary-soft: #403d31;
  18. --brand-danger: #b42318;
  19. --brand-danger-dark: #8f1d14;
  20. --brand-accent: #ffd71c;
  21. --brand-accent-dark: #be9c00;
  22. --brand-accent-soft: #fff4b7;
  23. --brand-success: #196b3b;
  24. --brand-success-soft: #edf8f0;
  25. --brand-info: #1e3a5f;
  26. --brand-info-soft: #edf3fb;
  27. --brand-text: #111111;
  28. --brand-muted: #5e5a4d;
  29. --brand-surface: #ffffff;
  30. --brand-surface-alt: #f8f4e7;
  31. --brand-bg: #f4efe1;
  32. --brand-bg-alt: #fffdf6;
  33. --brand-border: #d7ceb5;
  34. --brand-border-strong: #c2b48e;
  35. --brand-shadow: rgba(16, 16, 16, 0.08);
  36. }
  37. * {
  38. margin: 0;
  39. padding: 0;
  40. box-sizing: border-box;
  41. }
  42. body {
  43. font-family: 'Freising Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  44. line-height: 1.6;
  45. color: var(--brand-text);
  46. background: #ffffff;
  47. }
  48. a {
  49. color: var(--brand-primary);
  50. text-underline-offset: 0.18em;
  51. }
  52. a:hover {
  53. color: var(--brand-primary-soft);
  54. }
  55. .container {
  56. max-width: 1180px;
  57. margin: 0 auto;
  58. padding: 0 20px;
  59. }
  60. .site-header {
  61. background: rgba(255, 255, 255, 0.96);
  62. color: var(--brand-text);
  63. border-top: 12px solid var(--brand-accent);
  64. border-bottom: 1px solid var(--brand-border);
  65. backdrop-filter: blur(12px);
  66. box-shadow: 0 18px 40px var(--brand-shadow);
  67. }
  68. .header-inner {
  69. display: flex;
  70. align-items: center;
  71. justify-content: space-between;
  72. gap: 2rem;
  73. padding: 1rem 0;
  74. }
  75. .brand {
  76. display: flex;
  77. align-items: center;
  78. gap: 1rem;
  79. color: var(--brand-text);
  80. text-decoration: none;
  81. }
  82. .brand-logo {
  83. height: 70px;
  84. width: auto;
  85. display: block;
  86. filter: drop-shadow(0 10px 18px rgba(16, 16, 16, 0.12));
  87. }
  88. .brand-text {
  89. display: flex;
  90. flex-direction: column;
  91. line-height: 1.1;
  92. }
  93. .brand-title {
  94. font-size: 1.45rem;
  95. font-weight: 600;
  96. }
  97. .brand-subtitle {
  98. font-size: 0.95rem;
  99. color: var(--brand-muted);
  100. }
  101. .site-nav {
  102. display: flex;
  103. align-items: center;
  104. gap: 1.5rem;
  105. }
  106. .site-nav a {
  107. color: var(--brand-primary);
  108. text-decoration: none;
  109. font-weight: 600;
  110. padding-bottom: 0.25rem;
  111. border-bottom: 2px solid transparent;
  112. }
  113. .site-nav a:hover {
  114. color: var(--brand-primary);
  115. border-color: var(--brand-accent);
  116. }
  117. main {
  118. min-height: calc(100vh - 200px);
  119. padding: 2.5rem 0 3rem;
  120. }
  121. h1,
  122. h2,
  123. h3,
  124. h4 {
  125. color: var(--brand-primary);
  126. line-height: 1.3;
  127. }
  128. h1 {
  129. font-size: 1.9rem;
  130. font-weight: 400;
  131. margin-bottom: 0.9rem;
  132. }
  133. h2 {
  134. font-size: 1.65rem;
  135. font-weight: 600;
  136. margin-bottom: 0.9rem;
  137. }
  138. h3 {
  139. font-size: 1.15rem;
  140. font-weight: 600;
  141. margin-bottom: 0.75rem;
  142. }
  143. code {
  144. display: inline-block;
  145. padding: 0.08rem 0.35rem;
  146. border-radius: 8px;
  147. background: var(--brand-surface-alt);
  148. border: 1px solid var(--brand-border);
  149. }
  150. .btn {
  151. display: inline-block;
  152. padding: 0.72rem 1.5rem;
  153. background-color: var(--brand-accent);
  154. color: var(--brand-primary);
  155. text-decoration: none;
  156. border: 2px solid var(--brand-accent);
  157. border-radius: 14px;
  158. cursor: pointer;
  159. font-size: 0.96rem;
  160. font-weight: 600;
  161. transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  162. box-shadow: 0 12px 24px rgba(16, 16, 16, 0.08);
  163. }
  164. .btn:hover {
  165. background-color: var(--brand-accent);
  166. border-color: var(--brand-accent-dark);
  167. color: var(--brand-primary);
  168. transform: translateY(-1px);
  169. }
  170. .btn-secondary {
  171. background-color: #ece7d3;
  172. border-color: #cfc7af;
  173. color: #5a5648;
  174. }
  175. .btn-secondary:hover {
  176. background-color: #ded6bc;
  177. border-color: #9b9b9b;
  178. color: #4c4c4c;
  179. }
  180. .btn-small {
  181. padding: 0.48rem 1rem;
  182. font-size: 0.88rem;
  183. }
  184. .btn-block {
  185. display: block;
  186. width: 100%;
  187. text-align: center;
  188. }
  189. .products-grid {
  190. display: grid;
  191. grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  192. gap: 2rem;
  193. margin-top: 2rem;
  194. }
  195. .product-card {
  196. display: flex;
  197. flex-direction: column;
  198. background: var(--brand-surface);
  199. border-radius: 28px;
  200. overflow: hidden;
  201. border: 1px solid var(--brand-border);
  202. box-shadow: 0 20px 40px var(--brand-shadow);
  203. transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  204. }
  205. .product-card:hover {
  206. transform: translateY(-6px);
  207. box-shadow: 0 26px 50px rgba(16, 16, 16, 0.12);
  208. border-color: var(--brand-border-strong);
  209. }
  210. .product-card img {
  211. width: 100%;
  212. height: 220px;
  213. object-fit: cover;
  214. background-color: #ece7d8;
  215. }
  216. .product-card-content {
  217. display: flex;
  218. flex: 1;
  219. flex-direction: column;
  220. padding: 1.5rem;
  221. }
  222. .product-card h3 {
  223. margin-bottom: 0.35rem;
  224. }
  225. .product-card-title-link {
  226. color: inherit;
  227. text-decoration: none;
  228. }
  229. .product-card-categories {
  230. display: flex;
  231. flex-wrap: wrap;
  232. gap: 0.4rem;
  233. margin-top: auto;
  234. }
  235. .category-chip {
  236. display: inline-flex;
  237. align-items: center;
  238. padding: 0.2rem 0.55rem;
  239. border: 1px solid transparent;
  240. border-radius: 8px;
  241. font-size: 0.75rem;
  242. line-height: 1.2;
  243. font-weight: 600;
  244. }
  245. .product-card .price {
  246. font-size: 1.5rem;
  247. font-weight: 600;
  248. color: var(--brand-text);
  249. margin: 0.5rem 0;
  250. }
  251. .product-card .stock {
  252. font-size: 0.9rem;
  253. color: var(--brand-muted);
  254. margin-bottom: 1rem;
  255. }
  256. .product-card .stock.in-stock {
  257. color: var(--brand-accent);
  258. }
  259. .product-card .stock.out-of-stock {
  260. color: var(--brand-danger);
  261. }
  262. .product-summary {
  263. font-size: 0.95rem;
  264. color: var(--brand-muted);
  265. }
  266. .form-group {
  267. margin-bottom: 1.5rem;
  268. }
  269. .form-group label {
  270. display: block;
  271. margin-bottom: 0.5rem;
  272. font-weight: 500;
  273. }
  274. .form-group input,
  275. .form-group textarea,
  276. .form-group select {
  277. width: 100%;
  278. padding: 0.8rem 0.95rem;
  279. border: 1px solid var(--brand-border);
  280. border-radius: 18px;
  281. font-size: 1rem;
  282. font-family: inherit;
  283. background: var(--brand-bg-alt);
  284. color: var(--brand-text);
  285. }
  286. .form-group input[type="checkbox"] {
  287. width: auto;
  288. padding: 0;
  289. border: 0;
  290. border-radius: 0;
  291. background: transparent;
  292. margin: 0.15rem 0 0;
  293. flex-shrink: 0;
  294. }
  295. .form-group label.checkbox-label {
  296. display: flex;
  297. align-items: flex-start;
  298. gap: 0.55rem;
  299. margin-bottom: 0;
  300. }
  301. ::placeholder {
  302. color: var(--brand-muted);
  303. }
  304. .form-group input:focus,
  305. .form-group textarea:focus,
  306. .form-group select:focus {
  307. outline: none;
  308. border-color: var(--brand-accent);
  309. box-shadow: 0 0 0 3px rgba(255, 215, 28, 0.25);
  310. }
  311. .form-group small {
  312. display: block;
  313. margin-top: 0.45rem;
  314. color: var(--brand-muted);
  315. }
  316. .cart-item {
  317. background: var(--brand-surface);
  318. padding: 1.5rem;
  319. margin-bottom: 1rem;
  320. border-radius: 24px;
  321. border: 1px solid var(--brand-border);
  322. box-shadow: 0 18px 36px var(--brand-shadow);
  323. display: flex;
  324. justify-content: space-between;
  325. align-items: center;
  326. }
  327. .cart-item-info {
  328. flex: 1;
  329. }
  330. .cart-item-actions {
  331. display: flex;
  332. align-items: center;
  333. gap: 1rem;
  334. }
  335. .quantity-input {
  336. width: 60px;
  337. padding: 0.5rem;
  338. text-align: center;
  339. }
  340. table {
  341. width: 100%;
  342. background: var(--brand-surface);
  343. border-collapse: collapse;
  344. border: 1px solid var(--brand-border);
  345. box-shadow: 0 18px 36px var(--brand-shadow);
  346. border-radius: 24px;
  347. overflow: hidden;
  348. }
  349. table th {
  350. background-color: var(--brand-primary);
  351. color: white;
  352. padding: 1rem;
  353. text-align: left;
  354. font-weight: 600;
  355. }
  356. table td {
  357. padding: 1rem;
  358. border-top: 1px solid var(--brand-border);
  359. }
  360. table tr:hover {
  361. background-color: var(--brand-surface-alt);
  362. }
  363. .table-responsive {
  364. width: 100%;
  365. overflow-x: auto;
  366. -webkit-overflow-scrolling: touch;
  367. margin-bottom: 1.5rem;
  368. }
  369. .table-responsive table {
  370. width: 100%;
  371. }
  372. .table-responsive th,
  373. .table-responsive td {
  374. word-break: break-word;
  375. overflow-wrap: break-word;
  376. white-space: normal;
  377. }
  378. .table-responsive th.product-id-column,
  379. .table-responsive td.product-id-column {
  380. min-width: 3.5rem;
  381. white-space: nowrap;
  382. word-break: normal;
  383. overflow-wrap: normal;
  384. }
  385. /* Admin: use more horizontal space so tables fit */
  386. body.admin-page .container {
  387. max-width: none;
  388. padding-left: 1rem;
  389. padding-right: 1rem;
  390. }
  391. .alert {
  392. padding: 1rem;
  393. border-radius: 20px;
  394. margin-bottom: 1.5rem;
  395. background: var(--brand-bg-alt);
  396. color: var(--brand-text);
  397. border: 1px solid var(--brand-border);
  398. }
  399. .alert-success {
  400. background: var(--brand-success-soft);
  401. border-color: var(--brand-success);
  402. }
  403. .alert-error {
  404. border-color: var(--brand-danger);
  405. background: #fff3f1;
  406. }
  407. .alert-info {
  408. background: var(--brand-info-soft);
  409. border-color: rgba(30, 58, 95, 0.2);
  410. }
  411. .alert-warning {
  412. border-color: var(--brand-accent);
  413. background: #fff9da;
  414. }
  415. .disclaimer-box {
  416. margin: 1rem 0 1.5rem;
  417. padding: 1.2rem 1.3rem;
  418. border: 1px solid var(--brand-border);
  419. border-left: 6px solid var(--brand-accent);
  420. background: linear-gradient(135deg, rgba(255, 215, 28, 0.16), rgba(255, 255, 255, 0.92));
  421. border-radius: 22px;
  422. }
  423. .disclaimer-box p + p {
  424. margin-top: 0.4rem;
  425. }
  426. .category-filter-bar {
  427. display: flex;
  428. gap: 0.75rem;
  429. margin: 1.5rem 0;
  430. overflow-x: auto;
  431. flex-wrap: nowrap;
  432. white-space: nowrap;
  433. padding-bottom: 0.25rem;
  434. -webkit-overflow-scrolling: touch;
  435. }
  436. .category-filter-bar .btn {
  437. flex: 0 0 auto;
  438. white-space: nowrap;
  439. }
  440. .site-footer {
  441. background: var(--brand-surface);
  442. border-top: 6px solid var(--brand-accent);
  443. padding: 2rem 0;
  444. margin-top: 3rem;
  445. }
  446. .site-footer-inner {
  447. display: flex;
  448. justify-content: space-between;
  449. gap: 2rem;
  450. align-items: flex-start;
  451. }
  452. .site-footer-title {
  453. font-weight: 600;
  454. margin-bottom: 0.2rem;
  455. }
  456. .site-footer-meta,
  457. .site-footer-address {
  458. color: var(--brand-muted);
  459. margin-bottom: 0.15rem;
  460. }
  461. .footer-links {
  462. display: flex;
  463. flex-wrap: wrap;
  464. justify-content: flex-end;
  465. gap: 0.5rem 1rem;
  466. }
  467. .footer-links a {
  468. color: var(--brand-primary);
  469. text-decoration: none;
  470. font-weight: 600;
  471. }
  472. .footer-links a:hover {
  473. color: var(--brand-primary);
  474. text-decoration: underline;
  475. }
  476. .order-number {
  477. background: var(--brand-surface-alt);
  478. border: 2px solid var(--brand-accent);
  479. padding: 2rem;
  480. border-radius: 24px;
  481. text-align: center;
  482. margin: 2rem 0;
  483. }
  484. .order-number h2 {
  485. font-size: 2rem;
  486. color: var(--brand-primary);
  487. letter-spacing: 0.2rem;
  488. font-family: 'Courier New', monospace;
  489. }
  490. .admin-header {
  491. display: flex;
  492. justify-content: space-between;
  493. align-items: center;
  494. margin-bottom: 2rem;
  495. }
  496. .admin-dashboard-actions {
  497. display: flex;
  498. align-items: center;
  499. flex-wrap: wrap;
  500. gap: 0.5rem;
  501. }
  502. .admin-actions-dropdown {
  503. position: relative;
  504. }
  505. .admin-actions-dropdown summary {
  506. list-style: none;
  507. }
  508. .admin-actions-dropdown summary::-webkit-details-marker {
  509. display: none;
  510. }
  511. .admin-actions-dropdown .btn {
  512. display: inline-block;
  513. }
  514. .admin-actions-dropdown[open] > .btn {
  515. background-color: var(--brand-surface-alt);
  516. }
  517. .admin-actions-menu {
  518. position: absolute;
  519. right: 0;
  520. top: calc(100% + 0.35rem);
  521. min-width: 220px;
  522. background: var(--brand-surface);
  523. border: 1px solid var(--brand-border);
  524. border-radius: 20px;
  525. box-shadow: 0 18px 36px var(--brand-shadow);
  526. z-index: 30;
  527. padding: 0.35rem;
  528. }
  529. .admin-actions-menu a {
  530. display: block;
  531. text-decoration: none;
  532. color: var(--brand-text);
  533. padding: 0.55rem 0.7rem;
  534. border-radius: 4px;
  535. }
  536. .admin-actions-menu a:hover {
  537. background: var(--brand-surface-alt);
  538. color: var(--brand-accent);
  539. }
  540. .faq-content h1,
  541. .faq-content h2,
  542. .faq-content h3 {
  543. margin: 1rem 0 0.6rem;
  544. }
  545. .faq-content h1:first-child,
  546. .faq-content h2:first-child,
  547. .faq-content h3:first-child {
  548. margin-top: 0;
  549. }
  550. .faq-content p + p {
  551. margin-top: 0.8rem;
  552. }
  553. .faq-content ul,
  554. .faq-content ol {
  555. margin: 0.7rem 0 0.9rem 1.5rem;
  556. }
  557. .faq-content li + li {
  558. margin-top: 0.35rem;
  559. }
  560. .admin-stats {
  561. display: grid;
  562. grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  563. gap: 1.5rem;
  564. margin-bottom: 2rem;
  565. }
  566. .stat-card {
  567. background: var(--brand-surface);
  568. padding: 1.5rem;
  569. border-radius: 24px;
  570. border: 1px solid var(--brand-border);
  571. box-shadow: 0 18px 36px var(--brand-shadow);
  572. }
  573. .stat-card h3 {
  574. font-size: 0.9rem;
  575. color: var(--brand-muted);
  576. margin-bottom: 0.5rem;
  577. }
  578. .stat-card .stat-value {
  579. font-size: 2rem;
  580. font-weight: 600;
  581. color: var(--brand-primary);
  582. }
  583. .panel {
  584. background: var(--brand-surface);
  585. border: 1px solid var(--brand-border);
  586. padding: 1.5rem;
  587. border-radius: 24px;
  588. box-shadow: 0 18px 36px var(--brand-shadow);
  589. margin-bottom: 2rem;
  590. }
  591. .panel-lg {
  592. padding: 2rem;
  593. }
  594. .panel-compact {
  595. padding: 1rem;
  596. margin-bottom: 1rem;
  597. }
  598. .status {
  599. display: inline-block;
  600. padding: 0.3rem 0.8rem;
  601. border-radius: 999px;
  602. font-size: 0.85rem;
  603. font-weight: 600;
  604. letter-spacing: 0.02em;
  605. border: 1px solid transparent;
  606. background: rgba(255, 255, 255, 0.7);
  607. }
  608. .status-open {
  609. color: var(--brand-primary);
  610. background: #fff4b7;
  611. border-color: #e0c038;
  612. }
  613. .status-notified {
  614. color: var(--brand-info);
  615. background: var(--brand-info-soft);
  616. border-color: rgba(30, 58, 95, 0.2);
  617. }
  618. .status-picked,
  619. .status-processed {
  620. color: var(--brand-success);
  621. background: var(--brand-success-soft);
  622. border-color: rgba(25, 107, 59, 0.2);
  623. }
  624. .status-expired {
  625. color: var(--brand-danger);
  626. background: #fff3f1;
  627. border-color: rgba(180, 35, 24, 0.2);
  628. }
  629. .status-hidden {
  630. color: #9ca3af;
  631. border-color: #6b7280;
  632. background: #f1f3f5;
  633. }
  634. .status-unconfirmed {
  635. color: var(--brand-primary);
  636. background: #fff0a3;
  637. border-color: #e0c038;
  638. }
  639. .status-partial {
  640. color: #7c6517;
  641. background: #f9efcb;
  642. border-color: #e2ce7f;
  643. }
  644. .status-backorder {
  645. color: #8b4513;
  646. background: #fde8d8;
  647. border-color: #e8b896;
  648. }
  649. .status-backorder-waiting {
  650. color: #5c4d8a;
  651. background: #ebe6f7;
  652. border-color: #c4b8e8;
  653. }
  654. .status-cancelled {
  655. color: var(--brand-danger);
  656. background: #fff3f1;
  657. border-color: rgba(180, 35, 24, 0.2);
  658. }
  659. .status-self {
  660. margin-left: 0.5rem;
  661. }
  662. .order-highlight {
  663. font-size: 1.5rem;
  664. color: var(--brand-primary);
  665. letter-spacing: 0.2rem;
  666. font-family: 'Courier New', monospace;
  667. }
  668. .modal {
  669. display: none;
  670. position: fixed;
  671. top: 0;
  672. left: 0;
  673. width: 100%;
  674. height: 100%;
  675. background: rgba(0,0,0,0.6);
  676. z-index: 1000;
  677. align-items: center;
  678. justify-content: center;
  679. }
  680. .modal.is-open {
  681. display: flex;
  682. }
  683. .modal-content-compact {
  684. max-width: 32rem;
  685. width: calc(100% - 2rem);
  686. }
  687. .modal-content {
  688. background: var(--brand-surface);
  689. color: var(--brand-text);
  690. padding: 2rem;
  691. border-radius: 24px;
  692. max-width: 1000px;
  693. max-height: 95vh;
  694. overflow-y: auto;
  695. position: relative;
  696. border: 1px solid var(--brand-border);
  697. }
  698. .modal-close {
  699. position: absolute;
  700. top: 1rem;
  701. right: 1rem;
  702. }
  703. .product-placeholder {
  704. width: 100%;
  705. height: 400px;
  706. background-color: var(--brand-surface-alt);
  707. border-radius: 28px;
  708. display: flex;
  709. align-items: center;
  710. justify-content: center;
  711. color: var(--brand-muted);
  712. }
  713. .table-compact th,
  714. .table-compact td {
  715. padding: 0.6rem;
  716. font-size: 0.9rem;
  717. }
  718. .product-detail-grid {
  719. display: grid;
  720. grid-template-columns: 1fr 1fr;
  721. gap: 2rem;
  722. margin-top: 2rem;
  723. }
  724. .checkout-grid {
  725. display: grid;
  726. grid-template-columns: 1fr 1fr;
  727. gap: 2rem;
  728. margin-top: 2rem;
  729. }
  730. .product-image {
  731. width: 100%;
  732. border-radius: 28px;
  733. box-shadow: 0 20px 40px var(--brand-shadow);
  734. }
  735. .product-description-block {
  736. margin: 1.5rem 0 2rem;
  737. }
  738. .product-category-list {
  739. display: flex;
  740. flex-wrap: wrap;
  741. gap: 0.4rem;
  742. margin: -0.25rem 0 1.2rem;
  743. }
  744. .product-description {
  745. margin-top: 0.5rem;
  746. line-height: 1.8;
  747. }
  748. .product-form {
  749. margin-top: 2rem;
  750. }
  751. .cart-actions {
  752. text-align: right;
  753. margin: 2rem 0;
  754. }
  755. .cart-actions .cart-total {
  756. font-size: 1.5rem;
  757. font-weight: bold;
  758. margin-bottom: 1rem;
  759. }
  760. .cart-actions .cart-buttons {
  761. display: flex;
  762. flex-wrap: wrap;
  763. gap: 0.5rem;
  764. align-items: center;
  765. }
  766. .cart-actions .cart-buttons .btn {
  767. margin-left: 0;
  768. }
  769. .container-narrow {
  770. max-width: 400px;
  771. }
  772. .page-top-gap {
  773. margin-top: 4rem;
  774. }
  775. .inline-form {
  776. display: inline;
  777. }
  778. .backorder-action-form {
  779. display: flex;
  780. flex-wrap: wrap;
  781. gap: 0.5rem;
  782. align-items: center;
  783. }
  784. .backorder-qty-input {
  785. width: 4rem;
  786. }
  787. .backorder-add-panel {
  788. margin-bottom: 1.5rem;
  789. padding: 1rem 1.25rem;
  790. border: 1px solid var(--border-color, #ddd);
  791. border-radius: 4px;
  792. background: var(--surface-muted, #f8f9fa);
  793. }
  794. .backorder-add-panel h3 {
  795. margin-top: 0;
  796. }
  797. .backorder-add-form {
  798. margin-top: 1rem;
  799. }
  800. .sr-only {
  801. position: absolute;
  802. width: 1px;
  803. height: 1px;
  804. padding: 0;
  805. margin: -1px;
  806. overflow: hidden;
  807. clip: rect(0, 0, 0, 0);
  808. white-space: nowrap;
  809. border: 0;
  810. }
  811. .admin-filter-form {
  812. display: flex;
  813. gap: 1rem;
  814. align-items: end;
  815. flex-wrap: wrap;
  816. }
  817. .admin-filter-field {
  818. min-width: 220px;
  819. }
  820. .admin-filter-field-wide {
  821. flex: 1;
  822. }
  823. .admin-filter-actions {
  824. display: flex;
  825. gap: 0.5rem;
  826. flex-wrap: wrap;
  827. }
  828. .section-title {
  829. margin-bottom: 1rem;
  830. }
  831. .list-indent {
  832. margin-left: 1.5rem;
  833. }
  834. .is-hidden {
  835. display: none;
  836. }
  837. @media (max-width: 768px) {
  838. .header-inner {
  839. flex-direction: column;
  840. align-items: flex-start;
  841. }
  842. .site-nav {
  843. flex-wrap: wrap;
  844. gap: 1rem;
  845. }
  846. .footer-links {
  847. flex-direction: column;
  848. align-items: flex-start;
  849. }
  850. .brand-logo {
  851. height: 62px;
  852. }
  853. .products-grid {
  854. grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  855. gap: 1rem;
  856. }
  857. .product-detail-grid {
  858. grid-template-columns: 1fr;
  859. gap: 1.5rem;
  860. }
  861. .cart-item {
  862. flex-direction: column;
  863. align-items: flex-start;
  864. }
  865. .cart-item-actions {
  866. width: 100%;
  867. justify-content: space-between;
  868. margin-top: 1rem;
  869. }
  870. .cart-actions {
  871. text-align: left;
  872. }
  873. .cart-actions .cart-buttons {
  874. flex-direction: column;
  875. align-items: stretch;
  876. }
  877. .cart-actions .cart-buttons .btn {
  878. margin-left: 0;
  879. }
  880. .checkout-grid {
  881. grid-template-columns: 1fr;
  882. gap: 1.5rem;
  883. }
  884. .modal-content {
  885. margin: 1rem;
  886. max-height: calc(100vh - 2rem);
  887. }
  888. .admin-header {
  889. flex-direction: column;
  890. align-items: stretch;
  891. gap: 1rem;
  892. }
  893. .admin-header > div {
  894. display: flex;
  895. flex-wrap: wrap;
  896. gap: 0.5rem;
  897. }
  898. .admin-header .btn {
  899. flex: 1 1 auto;
  900. min-width: 140px;
  901. }
  902. .admin-dashboard-actions {
  903. flex-direction: column;
  904. align-items: stretch;
  905. }
  906. .admin-dashboard-actions > .btn,
  907. .admin-dashboard-actions > .admin-actions-dropdown {
  908. width: 100%;
  909. }
  910. .admin-actions-dropdown .btn {
  911. width: 100%;
  912. text-align: center;
  913. }
  914. .admin-actions-menu {
  915. position: static;
  916. min-width: 0;
  917. margin-top: 0.45rem;
  918. }
  919. table {
  920. font-size: 0.9rem;
  921. }
  922. table th,
  923. table td {
  924. padding: 0.5rem;
  925. }
  926. .admin-stats {
  927. grid-template-columns: 1fr;
  928. }
  929. .site-footer-inner {
  930. flex-direction: column;
  931. }
  932. body.admin-page .table-responsive {
  933. margin-left: -1rem;
  934. margin-right: -1rem;
  935. padding-left: 1rem;
  936. padding-right: 1rem;
  937. }
  938. .table-responsive .btn {
  939. white-space: normal;
  940. }
  941. .category-filter-bar {
  942. margin-left: -1rem;
  943. margin-right: -1rem;
  944. padding-left: 1rem;
  945. padding-right: 1rem;
  946. }
  947. body.admin-page table.responsive-table {
  948. border: 0;
  949. box-shadow: none;
  950. background: transparent;
  951. }
  952. body.admin-page table.responsive-table thead {
  953. display: none;
  954. }
  955. body.admin-page table.responsive-table tbody {
  956. display: block;
  957. }
  958. body.admin-page table.responsive-table tr {
  959. display: block;
  960. background: var(--brand-surface);
  961. border: 1px solid var(--brand-border);
  962. border-radius: 20px;
  963. margin-bottom: 0.8rem;
  964. box-shadow: 0 18px 36px var(--brand-shadow);
  965. }
  966. body.admin-page table.responsive-table td {
  967. display: flex;
  968. justify-content: space-between;
  969. gap: 1rem;
  970. width: 100%;
  971. border-top: 1px solid var(--brand-border);
  972. border-bottom: 0;
  973. padding: 0.65rem 0.85rem;
  974. text-align: right;
  975. }
  976. body.admin-page table.responsive-table td:first-child {
  977. border-top: 0;
  978. }
  979. body.admin-page table.responsive-table td::before {
  980. content: attr(data-label);
  981. font-weight: 600;
  982. color: var(--brand-muted);
  983. text-align: left;
  984. }
  985. body.admin-page table.responsive-table td[data-label="Aktionen"] {
  986. display: block;
  987. text-align: left;
  988. }
  989. body.admin-page table.responsive-table td[data-label="Aktionen"]::before {
  990. display: block;
  991. margin-bottom: 0.4rem;
  992. }
  993. }
  994. @media (max-width: 480px) {
  995. .container {
  996. padding: 0 12px;
  997. }
  998. main {
  999. padding: 1rem 0;
  1000. }
  1001. .brand-title {
  1002. font-size: 1.1rem;
  1003. }
  1004. .brand-subtitle {
  1005. font-size: 0.8rem;
  1006. }
  1007. .products-grid {
  1008. grid-template-columns: 1fr;
  1009. gap: 1rem;
  1010. }
  1011. .table-responsive table:not(.responsive-table) {
  1012. min-width: 520px;
  1013. }
  1014. }
  1015. .text-center {
  1016. text-align: center;
  1017. }
  1018. .mt-1 { margin-top: 0.5rem; }
  1019. .mt-2 { margin-top: 1rem; }
  1020. .mt-3 { margin-top: 1.5rem; }
  1021. .mt-4 { margin-top: 2rem; }
  1022. .mb-1 { margin-bottom: 0.5rem; }
  1023. .mb-2 { margin-bottom: 1rem; }
  1024. .mb-3 { margin-bottom: 1.5rem; }