base.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002
  1. * {
  2. box-sizing: border-box;
  3. }
  4. body {
  5. margin: 0;
  6. background: var(--brand-bg);
  7. color: var(--brand-text);
  8. font-family: var(--font-body);
  9. line-height: 1.6;
  10. }
  11. a {
  12. color: var(--brand-accent);
  13. text-decoration: none;
  14. }
  15. a:hover,
  16. a:focus-visible {
  17. color: #e0d700;
  18. }
  19. .container {
  20. width: 100%;
  21. max-width: 1200px;
  22. margin: 0 auto;
  23. padding: 0 20px;
  24. }
  25. body.admin-page .container {
  26. max-width: none;
  27. padding: 0 20px;
  28. }
  29. main {
  30. min-height: calc(100vh - 200px);
  31. padding: 2rem 0;
  32. }
  33. h1,
  34. h2,
  35. h3,
  36. h4,
  37. h5,
  38. h6 {
  39. margin-top: 0;
  40. color: var(--brand-text);
  41. }
  42. p {
  43. margin-top: 0;
  44. }
  45. .site-header {
  46. padding: 0.85rem 0;
  47. background: var(--brand-primary);
  48. color: #ffffff;
  49. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  50. }
  51. .header-inner {
  52. display: flex;
  53. align-items: center;
  54. justify-content: space-between;
  55. gap: 1rem;
  56. }
  57. .brand {
  58. display: inline-flex;
  59. align-items: center;
  60. gap: 0.8rem;
  61. color: #ffffff;
  62. text-decoration: none;
  63. }
  64. .brand-logo {
  65. height: 52px;
  66. width: auto;
  67. filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  68. }
  69. .brand-title {
  70. font-size: 1.3rem;
  71. font-weight: 700;
  72. letter-spacing: 0.02em;
  73. line-height: 1.1;
  74. }
  75. .brand-subtitle {
  76. margin-top: 0.15rem;
  77. font-size: 0.9rem;
  78. font-weight: 500;
  79. opacity: 0.9;
  80. line-height: 1.1;
  81. }
  82. .site-nav {
  83. display: flex;
  84. align-items: center;
  85. gap: 0.8rem;
  86. }
  87. .site-nav a {
  88. color: #ffffff;
  89. font-weight: 600;
  90. letter-spacing: 0.02em;
  91. }
  92. .site-nav a:hover,
  93. .site-nav a:focus-visible {
  94. color: var(--brand-accent);
  95. }
  96. .card,
  97. .panel {
  98. background: var(--brand-surface);
  99. border: 1px solid var(--brand-border);
  100. border-radius: 8px;
  101. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  102. padding: 1.5rem;
  103. margin-bottom: 1.5rem;
  104. }
  105. .panel-compact {
  106. padding: 1rem;
  107. }
  108. .panel-spacious {
  109. padding: 2rem;
  110. margin: 2rem 0;
  111. }
  112. .admin-header {
  113. display: flex;
  114. align-items: center;
  115. justify-content: space-between;
  116. gap: 1rem;
  117. flex-wrap: wrap;
  118. }
  119. .admin-stats {
  120. display: grid;
  121. grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  122. gap: 1rem;
  123. }
  124. .stat-card {
  125. background: var(--brand-surface-alt);
  126. border: 1px solid var(--brand-border);
  127. border-radius: 8px;
  128. padding: 1rem;
  129. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  130. }
  131. .stat-value {
  132. font-size: 1.4rem;
  133. font-weight: 700;
  134. }
  135. .form-group,
  136. .field {
  137. margin-bottom: 1rem;
  138. }
  139. label {
  140. display: block;
  141. margin-bottom: 0.5rem;
  142. font-weight: 600;
  143. }
  144. .required-mark {
  145. display: inline-block;
  146. margin-left: 0.35rem;
  147. padding: 0.05rem 0.35rem;
  148. border-radius: 999px;
  149. background: rgba(193, 18, 31, 0.18);
  150. color: #ffd0d4;
  151. font-size: 0.75rem;
  152. font-weight: 700;
  153. letter-spacing: 0.01em;
  154. vertical-align: middle;
  155. }
  156. .required-mark-conditional {
  157. background: rgba(202, 195, 0, 0.18);
  158. color: #fff6a8;
  159. }
  160. .required-legend {
  161. margin: 0 0 0.9rem;
  162. color: var(--brand-muted);
  163. font-size: 0.9rem;
  164. }
  165. .checkbox-label {
  166. display: inline-flex;
  167. align-items: center;
  168. gap: 0.5rem;
  169. font-weight: 500;
  170. }
  171. input,
  172. select,
  173. textarea,
  174. button {
  175. font: inherit;
  176. }
  177. .form-group input,
  178. .form-group textarea,
  179. .form-group select,
  180. .field input,
  181. .field textarea,
  182. .field select,
  183. input,
  184. select,
  185. textarea {
  186. width: 100%;
  187. padding: 0.65rem 0.75rem;
  188. color: var(--brand-text);
  189. background: var(--brand-surface-alt);
  190. border: 1px solid var(--brand-border);
  191. border-radius: 4px;
  192. }
  193. input[type='checkbox'] {
  194. width: auto;
  195. accent-color: var(--brand-accent);
  196. }
  197. textarea {
  198. min-height: 110px;
  199. resize: vertical;
  200. }
  201. input:focus-visible,
  202. select:focus-visible,
  203. textarea:focus-visible,
  204. button:focus-visible,
  205. .btn:focus-visible {
  206. outline: none;
  207. border-color: var(--brand-accent);
  208. box-shadow: 0 0 0 3px rgba(202, 195, 0, 0.2);
  209. }
  210. .btn,
  211. button {
  212. display: inline-block;
  213. width: 100%;
  214. padding: 0.65rem 0.9rem;
  215. border: 1px solid var(--brand-danger);
  216. border-radius: 4px;
  217. color: #ffffff;
  218. background: var(--brand-danger);
  219. cursor: pointer;
  220. transition: background-color 0.3s;
  221. }
  222. .btn:hover,
  223. button:hover {
  224. background: var(--brand-danger-dark);
  225. }
  226. .btn:disabled,
  227. button:disabled {
  228. opacity: 0.6;
  229. cursor: not-allowed;
  230. }
  231. .btn-secondary {
  232. border-color: var(--brand-border);
  233. color: var(--brand-text);
  234. background: transparent;
  235. }
  236. .btn-secondary:hover {
  237. background: var(--brand-surface-alt);
  238. }
  239. .btn-small {
  240. width: auto;
  241. padding: 0.45rem 0.7rem;
  242. font-size: 0.9rem;
  243. }
  244. .btn-block {
  245. width: 100%;
  246. text-align: center;
  247. }
  248. .disclaimer-text {
  249. white-space: pre-line;
  250. color: var(--brand-text);
  251. }
  252. .progress {
  253. margin-bottom: 1rem;
  254. color: var(--brand-muted);
  255. }
  256. .wizard-actions,
  257. .inline-actions,
  258. .upload-actions {
  259. display: grid;
  260. grid-template-columns: 1fr;
  261. gap: 0.75rem;
  262. }
  263. .upload-actions {
  264. grid-template-columns: repeat(2, minmax(0, 1fr));
  265. }
  266. .error,
  267. .error-text {
  268. color: var(--brand-danger);
  269. }
  270. .error {
  271. min-height: 1.2rem;
  272. margin-top: 0.2rem;
  273. font-size: 0.9rem;
  274. }
  275. .hint,
  276. small {
  277. display: block;
  278. margin-top: 0.25rem;
  279. color: var(--brand-muted);
  280. font-size: 0.85rem;
  281. }
  282. .mandatory-field {
  283. padding-left: 0.55rem;
  284. border-left: 3px solid rgba(193, 18, 31, 0.75);
  285. }
  286. .mandatory-field-hard {
  287. border-left-color: rgba(193, 18, 31, 0.75);
  288. }
  289. .address-disclaimer {
  290. margin-top: 0.45rem;
  291. padding: 0.65rem 0.75rem;
  292. border: 1px solid var(--brand-border);
  293. border-left: 4px solid var(--brand-accent);
  294. border-radius: 6px;
  295. background: rgba(202, 195, 0, 0.08);
  296. color: var(--brand-text);
  297. font-size: 0.9rem;
  298. }
  299. .hidden,
  300. .hp-field {
  301. display: none;
  302. }
  303. .field-hidden-by-rule {
  304. display: none !important;
  305. }
  306. .upload-control {
  307. border: 1px dashed var(--brand-border);
  308. border-radius: 8px;
  309. padding: 0.8rem;
  310. background: var(--brand-surface-alt);
  311. }
  312. .upload-action-btn {
  313. display: block;
  314. width: 100%;
  315. text-align: center;
  316. padding: 0.65rem 0.9rem;
  317. border: 1px solid var(--brand-accent);
  318. border-radius: 4px;
  319. color: var(--brand-text);
  320. background: transparent;
  321. font-weight: 600;
  322. cursor: pointer;
  323. transition: background-color 0.3s;
  324. }
  325. .upload-action-btn:hover {
  326. background: var(--brand-surface);
  327. }
  328. .upload-action-btn-camera {
  329. border-color: var(--brand-accent);
  330. }
  331. .upload-native-input {
  332. display: none;
  333. }
  334. .upload-selected {
  335. margin: 0.75rem 0 0;
  336. color: var(--brand-muted);
  337. font-size: 0.9rem;
  338. }
  339. .upload-list {
  340. margin-top: 0.75rem;
  341. padding: 0.75rem;
  342. border: 1px solid var(--brand-border);
  343. border-radius: 8px;
  344. background: var(--brand-surface-alt);
  345. }
  346. .upload-list:empty {
  347. display: none;
  348. }
  349. .upload-item {
  350. margin-top: 0.35rem;
  351. padding: 0.45rem 0.6rem;
  352. border: 1px solid var(--brand-border);
  353. border-radius: 8px;
  354. background: var(--brand-surface);
  355. color: var(--brand-text);
  356. font-size: 0.9rem;
  357. }
  358. .upload-item:first-child {
  359. margin-top: 0;
  360. }
  361. .status-text {
  362. min-height: 1.2rem;
  363. margin-top: 1rem;
  364. color: var(--brand-muted);
  365. }
  366. .disclaimer-ack-field {
  367. margin: 1rem 0;
  368. }
  369. .compact-status {
  370. margin-top: 0.75rem;
  371. padding: 0.65rem 0.75rem;
  372. border: 1px solid var(--brand-border);
  373. border-radius: 6px;
  374. background: var(--brand-surface-alt);
  375. font-size: 0.92rem;
  376. }
  377. .compact-status p {
  378. margin: 0 0 0.3rem;
  379. }
  380. .compact-status p:last-of-type {
  381. margin-bottom: 0.65rem;
  382. }
  383. .step-summary {
  384. border: 1px solid var(--brand-border);
  385. border-radius: 8px;
  386. padding: 1rem;
  387. background: var(--brand-surface-alt);
  388. }
  389. .summary-missing-note {
  390. margin-bottom: 0.9rem;
  391. padding: 0.65rem 0.75rem;
  392. border: 1px solid rgba(202, 195, 0, 0.55);
  393. border-radius: 6px;
  394. background: rgba(202, 195, 0, 0.1);
  395. color: #fff1a1;
  396. font-weight: 600;
  397. }
  398. .summary-missing-note.summary-missing-warning {
  399. border-color: rgba(193, 18, 31, 0.7);
  400. background: rgba(193, 18, 31, 0.14);
  401. color: #ffd3d7;
  402. }
  403. .summary-content {
  404. display: grid;
  405. gap: 0.85rem;
  406. }
  407. .summary-step-card {
  408. border: 1px solid var(--brand-border);
  409. border-radius: 8px;
  410. padding: 0.75rem;
  411. background: var(--brand-surface);
  412. }
  413. .summary-step-card h4 {
  414. margin: 0 0 0.65rem;
  415. font-size: 1rem;
  416. }
  417. .summary-item {
  418. margin-top: 0.55rem;
  419. padding: 0.55rem 0.65rem;
  420. border: 1px solid var(--brand-border);
  421. border-radius: 6px;
  422. background: var(--brand-surface-alt);
  423. }
  424. .summary-item:first-of-type {
  425. margin-top: 0;
  426. }
  427. .summary-item-required {
  428. border-left: 4px solid rgba(202, 195, 0, 0.65);
  429. }
  430. .summary-item-missing {
  431. border-color: rgba(193, 18, 31, 0.75);
  432. border-left: 4px solid rgba(193, 18, 31, 0.95);
  433. background: rgba(193, 18, 31, 0.1);
  434. }
  435. .summary-item-label {
  436. font-weight: 700;
  437. margin-bottom: 0.25rem;
  438. }
  439. .summary-item-value {
  440. font-size: 0.95rem;
  441. color: var(--brand-text);
  442. }
  443. .summary-item-value-empty {
  444. color: var(--brand-muted);
  445. }
  446. .summary-item-value-missing {
  447. color: #ffd0d4;
  448. font-weight: 700;
  449. }
  450. .summary-badge {
  451. display: inline-block;
  452. margin-left: 0.4rem;
  453. margin-top: 0.25rem;
  454. padding: 0.05rem 0.35rem;
  455. border-radius: 999px;
  456. font-size: 0.75rem;
  457. font-weight: 700;
  458. }
  459. .summary-badge-required {
  460. background: rgba(202, 195, 0, 0.2);
  461. color: #fff6a8;
  462. }
  463. .summary-badge-missing {
  464. background: rgba(193, 18, 31, 0.24);
  465. color: #ffd3d7;
  466. }
  467. .btn-spinner {
  468. display: inline-block;
  469. width: 14px;
  470. height: 14px;
  471. margin-left: 0.45rem;
  472. border: 2px solid rgba(255, 255, 255, 0.5);
  473. border-top-color: #ffffff;
  474. border-radius: 50%;
  475. animation: spinner-rotate 0.8s linear infinite;
  476. vertical-align: -2px;
  477. }
  478. .btn-spinner.hidden {
  479. display: none;
  480. }
  481. .btn.is-loading {
  482. pointer-events: none;
  483. }
  484. @keyframes spinner-rotate {
  485. from {
  486. transform: rotate(0deg);
  487. }
  488. to {
  489. transform: rotate(360deg);
  490. }
  491. }
  492. .alert {
  493. margin-bottom: 1rem;
  494. padding: 0.8rem 1rem;
  495. border: 1px solid var(--brand-border);
  496. border-radius: 4px;
  497. background: var(--brand-surface-alt);
  498. }
  499. .alert-success,
  500. .alert-warning {
  501. border-color: var(--brand-accent);
  502. }
  503. .alert-error {
  504. border-color: var(--brand-danger);
  505. }
  506. .alert-info {
  507. border-color: #ffffff;
  508. }
  509. .status {
  510. display: inline-flex;
  511. align-items: center;
  512. gap: 0.35rem;
  513. padding: 0.2rem 0.75rem;
  514. border: 1px solid var(--brand-border);
  515. border-radius: 999px;
  516. font-size: 0.85rem;
  517. font-weight: 600;
  518. letter-spacing: 0.02em;
  519. }
  520. .status-open {
  521. color: var(--brand-accent);
  522. border-color: var(--brand-accent);
  523. }
  524. .status-notified,
  525. .status-picked {
  526. color: #ffffff;
  527. border-color: #ffffff;
  528. }
  529. .status-expired {
  530. color: var(--brand-danger);
  531. border-color: var(--brand-danger);
  532. }
  533. .status-hidden {
  534. color: #9ca3af;
  535. border-color: #6b7280;
  536. }
  537. .table-responsive {
  538. width: 100%;
  539. overflow-x: auto;
  540. }
  541. table {
  542. width: 100%;
  543. border-collapse: collapse;
  544. border: 1px solid var(--brand-border);
  545. border-radius: 8px;
  546. overflow: hidden;
  547. background: var(--brand-surface);
  548. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  549. }
  550. th,
  551. td {
  552. padding: 0.75rem;
  553. border-bottom: 1px solid var(--brand-border);
  554. text-align: left;
  555. vertical-align: top;
  556. }
  557. th {
  558. background: var(--brand-primary);
  559. color: #ffffff;
  560. }
  561. tr:hover td {
  562. background: var(--brand-surface-alt);
  563. }
  564. .table-compact th,
  565. .table-compact td {
  566. padding: 0.5rem;
  567. font-size: 0.9rem;
  568. }
  569. .products-grid {
  570. display: grid;
  571. grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  572. gap: 1rem;
  573. }
  574. .product-card {
  575. background: var(--brand-surface);
  576. border: 1px solid var(--brand-border);
  577. border-radius: 8px;
  578. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  579. transition: transform 0.3s, box-shadow 0.3s;
  580. }
  581. .product-card:hover {
  582. transform: translateY(-5px);
  583. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  584. }
  585. .product-card-content {
  586. padding: 1rem;
  587. }
  588. .product-detail-grid,
  589. .checkout-grid {
  590. display: grid;
  591. grid-template-columns: 1fr 1fr;
  592. gap: 1rem;
  593. }
  594. .price {
  595. font-size: 1.2rem;
  596. font-weight: 700;
  597. }
  598. .stock.in-stock {
  599. color: var(--brand-accent);
  600. }
  601. .stock.out-of-stock {
  602. color: var(--brand-danger);
  603. }
  604. .cart-item {
  605. display: flex;
  606. align-items: center;
  607. justify-content: space-between;
  608. gap: 1rem;
  609. padding: 1rem;
  610. border: 1px solid var(--brand-border);
  611. border-radius: 8px;
  612. }
  613. .cart-actions {
  614. display: flex;
  615. align-items: center;
  616. justify-content: flex-end;
  617. gap: 1rem;
  618. }
  619. .modal {
  620. position: fixed;
  621. inset: 0;
  622. z-index: 1000;
  623. display: none;
  624. align-items: center;
  625. justify-content: center;
  626. padding: 1.25rem;
  627. background: rgba(0, 0, 0, 0.6);
  628. }
  629. .modal-content {
  630. position: relative;
  631. width: 100%;
  632. max-width: 1000px;
  633. max-height: 95vh;
  634. overflow: auto;
  635. background: var(--brand-surface);
  636. border: 1px solid var(--brand-border);
  637. border-radius: 8px;
  638. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  639. padding: 1.5rem;
  640. }
  641. .modal-close {
  642. position: absolute;
  643. top: 0.5rem;
  644. right: 0.5rem;
  645. width: auto;
  646. }
  647. .media-hero-image {
  648. width: 100%;
  649. border-radius: 8px;
  650. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  651. }
  652. .auth-container {
  653. max-width: 400px;
  654. margin-top: 4rem;
  655. }
  656. .inline-form {
  657. display: inline;
  658. }
  659. .filter-form {
  660. display: flex;
  661. gap: 1rem;
  662. align-items: end;
  663. flex-wrap: wrap;
  664. }
  665. .filter-field-grow {
  666. flex: 1;
  667. min-width: 200px;
  668. }
  669. .quantity-input {
  670. width: 90px;
  671. text-align: center;
  672. }
  673. .text-center {
  674. text-align: center;
  675. }
  676. .u-w-full {
  677. width: 100%;
  678. }
  679. .list-indent {
  680. margin-left: 1.5rem;
  681. }
  682. .ml-2 {
  683. margin-left: 1rem;
  684. }
  685. .mt-1 {
  686. margin-top: 0.5rem;
  687. }
  688. .mt-2 {
  689. margin-top: 1rem;
  690. }
  691. .mt-3 {
  692. margin-top: 1.5rem;
  693. }
  694. .mb-1 {
  695. margin-bottom: 0.5rem;
  696. }
  697. .mb-2 {
  698. margin-bottom: 1rem;
  699. }
  700. .mb-3 {
  701. margin-bottom: 1.5rem;
  702. }
  703. #startSection.compact-mode {
  704. max-width: 640px;
  705. margin-left: auto;
  706. margin-right: auto;
  707. padding-top: 0.8rem;
  708. padding-bottom: 0.8rem;
  709. }
  710. @media (max-width: 768px) {
  711. .header-inner {
  712. flex-direction: column;
  713. align-items: flex-start;
  714. }
  715. .site-nav {
  716. flex-wrap: wrap;
  717. }
  718. .brand-logo {
  719. height: 46px;
  720. }
  721. .products-grid {
  722. grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  723. }
  724. .product-detail-grid,
  725. .checkout-grid {
  726. grid-template-columns: 1fr;
  727. }
  728. .cart-item {
  729. flex-direction: column;
  730. align-items: stretch;
  731. }
  732. .cart-actions {
  733. justify-content: flex-start;
  734. flex-direction: column;
  735. align-items: stretch;
  736. }
  737. .wizard-actions {
  738. grid-template-columns: repeat(3, 1fr);
  739. }
  740. .inline-actions,
  741. .upload-actions {
  742. grid-template-columns: repeat(2, 1fr);
  743. }
  744. .admin-header {
  745. flex-direction: column;
  746. align-items: flex-start;
  747. }
  748. th,
  749. td {
  750. padding: 0.65rem;
  751. font-size: 0.95rem;
  752. }
  753. .admin-stats {
  754. grid-template-columns: 1fr;
  755. }
  756. body.admin-page .table-responsive {
  757. margin: 0 -20px;
  758. padding: 0 20px;
  759. }
  760. .table-responsive .btn {
  761. white-space: normal;
  762. }
  763. body.admin-page table.responsive-table,
  764. body.admin-page table.responsive-table thead,
  765. body.admin-page table.responsive-table tbody,
  766. body.admin-page table.responsive-table tr,
  767. body.admin-page table.responsive-table th,
  768. body.admin-page table.responsive-table td {
  769. display: block;
  770. width: 100%;
  771. }
  772. body.admin-page table.responsive-table thead {
  773. display: none;
  774. }
  775. body.admin-page table.responsive-table tr {
  776. margin-bottom: 0.85rem;
  777. border: 1px solid var(--brand-border);
  778. border-radius: 8px;
  779. overflow: hidden;
  780. background: var(--brand-surface);
  781. }
  782. body.admin-page table.responsive-table td {
  783. border: 0;
  784. border-bottom: 1px solid var(--brand-border);
  785. padding: 0.65rem 0.75rem;
  786. }
  787. body.admin-page table.responsive-table td:last-child {
  788. border-bottom: 0;
  789. }
  790. body.admin-page table.responsive-table td::before {
  791. content: attr(data-label);
  792. display: block;
  793. margin-bottom: 0.2rem;
  794. color: var(--brand-muted);
  795. font-size: 0.8rem;
  796. font-weight: 600;
  797. letter-spacing: 0.02em;
  798. text-transform: uppercase;
  799. }
  800. }
  801. @media (max-width: 480px) {
  802. .container,
  803. body.admin-page .container {
  804. padding: 0 12px;
  805. }
  806. main {
  807. padding: 1.25rem 0;
  808. }
  809. .brand-title {
  810. font-size: 1.1rem;
  811. }
  812. .brand-subtitle {
  813. font-size: 0.8rem;
  814. }
  815. .products-grid {
  816. grid-template-columns: 1fr;
  817. }
  818. .table-responsive table:not(.responsive-table) {
  819. min-width: 520px;
  820. }
  821. }
  822. @media print {
  823. header,
  824. footer,
  825. .btn,
  826. nav {
  827. display: none !important;
  828. }
  829. body {
  830. padding: 20px;
  831. background: #ffffff;
  832. color: #000000;
  833. }
  834. .order-number,
  835. table {
  836. page-break-inside: avoid;
  837. }
  838. }