:root {
  --teal: #514939;
  --deep: #322d22;
  --ink: #2c271e;
  --muted: #817b6e;
  --line: #e9e7e4;
  --bg: #f9f8f7;
  --white: #fff;
  --pale: #f1efec;
  --radius: 22px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ada188;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
}
h1 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 20px;
}
h2 {
  font-size: 28px;
  font-weight: 600;
}
h3 {
  font-size: 19px;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
.notice-bar {
  background: var(--deep);
  color: #e2ded6;
  padding: 10px 5.5%;
  font-size: 11px;
  letter-spacing: 0.025em;
  display: flex;
  justify-content: space-between;
}
.site-header {
  height: 94px;
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  gap: 50px;
  background: rgba(247, 249, 248, 0.97);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -2px;
  white-space: nowrap;
}
.brand span,
h1 > span,
h2 > span {
  color: var(--teal);
}
.desktop-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 13px;
}
.desktop-nav a {
  padding: 12px 0;
}
.desktop-nav a[aria-current] {
  border-bottom: 2px solid var(--teal);
  color: var(--teal);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.account-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  max-width: 180px;
}
.account-link > span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avatar {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pale);
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
}
.bag-button {
  height: 44px;
  min-width: 58px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: white;
  color: var(--teal);
  font-size: 18px;
}
.bag-button > span {
  font-size: 11px;
}
.button,
.soft-button,
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 0;
  min-height: 44px;
  border-radius: 28px;
  padding: 12px 22px;
  background: var(--teal);
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.button:hover {
  background: #413a2d;
}
.button span:last-child {
  margin-left: 8px;
}
.soft-button {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 500;
  gap: 8px;
}
.soft-button:hover {
  background: var(--pale);
}
.icon-button {
  padding: 0;
  width: 44px;
  font-size: 22px;
  background: var(--bg);
  color: var(--ink);
  flex-shrink: 0;
}
.full {
  width: 100%;
  margin-top: 12px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 15px;
}
.hero {
  margin: 30px 5.5% 55px;
  min-height: 420px;
  border-radius: 30px;
  background: linear-gradient(115deg, #efede9 0%, #e8e5df 60%, #d1cabc 100%);
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
}
.hero-copy {
  padding: 52px 50px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(35px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.055em;
  color: #353025;
}
.hero p {
  max-width: 360px;
  font-size: 14px;
  color: #796e58;
}
.hero-button {
  margin-top: 5px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #756c5a;
  margin-top: 28px;
}
.check-circle {
  border: 1px solid #c6bead;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
}
.hero-art {
  position: relative;
  min-height: 350px;
}
.hero-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid #c3baa9;
  top: 20px;
  right: 40px;
  box-shadow:
    0 0 0 35px #d4cec13b,
    0 0 0 70px #d4cec125;
}
.parcel {
  position: absolute;
  border-radius: 12px;
  box-shadow: 20px 25px 40px #58503e30;
  background: linear-gradient(140deg, #ebe3d7, #c5b49b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.parcel-back {
  width: 180px;
  height: 220px;
  right: 60px;
  top: 45px;
  transform: rotate(10deg);
  background: linear-gradient(130deg, #82755b, #4c4434);
}
.parcel-back b {
  font-size: 90px;
  color: #d0c9bb;
}
.parcel-front {
  width: 235px;
  height: 200px;
  right: 175px;
  top: 155px;
  transform: rotate(-9deg);
}
.parcel-front b {
  font-size: 36px;
  letter-spacing: -2px;
  color: #565043;
}
.parcel-front small {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #6e695f;
  margin-top: 8px;
}
.tape {
  position: absolute;
  top: 0;
  height: 40px;
  left: 40%;
  width: 20%;
  background: #ffffff23;
  border-bottom: 1px solid #fff2;
}
.floating-label {
  position: absolute;
  bottom: 45px;
  right: 38px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffffed;
  border-radius: 16px;
  box-shadow: 0 10px 35px #4d453615;
  font-size: 12px;
}
.floating-label > span {
  display: grid;
  place-items: center;
  background: var(--pale);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: var(--teal);
}
.floating-label small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.catalog-section {
  margin: 0 5.5%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h1,
.section-heading h2 {
  margin: 0;
}
.section-heading > p {
  font-size: 12px;
  margin-bottom: 0;
}
.catalog-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0 20px;
  min-height: 50px;
  flex: 1;
  max-width: 620px;
}
.search-box > span {
  font-size: 28px;
  color: var(--teal);
}
.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 0;
  font-size: 13px;
}
.stock-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-left: auto;
  white-space: nowrap;
  min-height: 44px;
}
.stock-filter input {
  accent-color: var(--teal);
}
.category-chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 5px 0 20px;
  scrollbar-width: thin;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 11px 23px;
  white-space: nowrap;
  background: white;
  min-height: 44px;
  font-size: 12px;
}
.chip.active {
  background: var(--deep);
  border-color: var(--deep);
  color: white;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 25px;
}
.aside-card {
  background: #f3f1ed;
  border-radius: 22px;
  padding: 25px 23px;
}
.aside-card h3 {
  font-size: 25px;
  line-height: 1.3;
}
.aside-card p {
  font-size: 12px;
}
.aside-card > span:not(.eyebrow) {
  display: block;
  font-size: 10px;
  color: #726958;
  line-height: 2.7;
}
.aside-rule {
  height: 1px;
  background: #dfdbd4;
  margin: 20px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}
.product-card {
  min-width: 0;
  position: relative;
}
.product-image {
  height: 220px;
  background: #f0efed;
  border-radius: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-image .placeholder {
  font-size: 55px;
  color: #bfb9ad;
  font-weight: 300;
}
.stock-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9px;
  padding: 6px 9px;
  background: #ffffffd9;
  border-radius: 20px;
  color: #645942;
}
.product-body {
  padding: 15px 4px 4px;
}
.product-body > small {
  font-size: 10px;
  color: var(--muted);
}
.product-body h3 {
  font-size: 15px;
  letter-spacing: -0.015em;
  margin: 7px 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.product-price {
  font-size: 17px;
  font-weight: 600;
}
.product-price small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.qty {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  max-width: 100%;
}
.qty button {
  min-width: 36px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 19px;
}
.qty input {
  width: 40px;
  min-width: 0;
  border: 0;
  text-align: center;
  font-size: 12px;
  appearance: textfield;
  -moz-appearance: textfield;
  padding: 0;
}
.qty input::-webkit-inner-spin-button {
  appearance: none;
}
.product-grid.list-view {
  display: block;
}
.list-view .product-card {
  display: flex;
  gap: 20px;
  padding: 15px;
  background: white;
  border-radius: 18px;
  margin-bottom: 12px;
  align-items: center;
}
.list-view .product-image {
  height: 110px;
  width: 110px;
  flex-shrink: 0;
}
.list-view .product-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 20px;
}
.list-view .product-body > small,
.list-view .product-body h3 {
  grid-column: 1;
}
.list-view .product-bottom {
  grid-column: 2;
  grid-row: 1/4;
  flex-direction: column;
  align-items: flex-end;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 35px 0;
}
.pagination > span {
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 65px 30px;
  text-align: center;
  border: 1px dashed #d8d4cb;
  border-radius: 24px;
  grid-column: 1/-1;
  background: #ffffff65;
}
.empty h2 {
  font-size: 25px;
}
.empty p {
  font-size: 13px;
  max-width: 420px;
  margin: 10px auto 20px;
}
.site-footer {
  margin: 60px 5.5% 0;
  padding: 35px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 30px;
  align-items: center;
}
.site-footer .brand {
  font-size: 28px;
}
.site-footer p {
  font-size: 12px;
  margin: 0;
}
.site-footer > span {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
.cart-dock {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep);
  color: white;
  border-radius: 22px;
  padding: 14px 18px 14px 25px;
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 20;
  box-shadow: 0 12px 30px #2a261d30;
  font-size: 12px;
  max-width: 90%;
  width: 590px;
}
.cart-dock small {
  display: block;
  color: #c6bdac;
  margin-top: 5px;
  font-size: 10px;
}
.cart-dock .button {
  margin-left: auto;
  background: #f3f1ee;
  color: var(--deep);
  white-space: nowrap;
}
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: max-content;
  background: var(--deep);
  color: white;
  z-index: 100;
  padding: 14px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px #0002;
  font-size: 13px;
}
dialog {
  border: 0;
  border-radius: 26px;
  padding: 26px;
  max-width: calc(100% - 28px);
  width: 650px;
  max-height: 90dvh;
  box-shadow: 0 25px 100px #2a261d40;
  color: var(--ink);
}
dialog::backdrop {
  background: #2f2a2166;
  backdrop-filter: blur(4px);
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.modal-top h2 {
  margin: 0;
  font-size: 25px;
}
.modal-top .icon-button {
  background: #f2f0ed;
}
label {
  display: block;
  font-size: 12px;
  color: #655e50;
}
form label {
  margin-bottom: 16px;
}
form input,
form select,
form textarea,
.form-control {
  width: 100%;
  border: 1px solid #e4e1dc;
  border-radius: 12px;
  background: #fcfbfa;
  padding: 13px 14px;
  min-height: 46px;
  color: var(--ink);
  margin-top: 7px;
  min-width: 0;
}
form textarea {
  min-height: 90px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-error {
  color: #a83c3c;
  font-size: 12px;
  margin: 12px 0 0;
  white-space: pre-wrap;
}
.muted {
  font-size: 12px;
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 30px;
  background: #f2f0ed;
  width: max-content;
  max-width: 100%;
  margin-bottom: 25px;
}
.tabs button {
  border: 0;
  border-radius: 25px;
  background: transparent;
  padding: 12px 22px;
  font-size: 12px;
  min-height: 44px;
}
.tabs button.active {
  background: white;
  color: var(--teal);
  box-shadow: 0 2px 8px #3530250c;
}
.account-page {
  margin: 55px auto;
  max-width: 1050px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 25px;
}
.account-intro {
  padding: 35px 15px;
}
.account-intro h1 {
  font-size: 48px;
}
.account-intro p {
  max-width: 290px;
  font-size: 14px;
}
.account-decoration {
  font-size: 170px;
  letter-spacing: -20px;
  color: #cbc4b5;
  line-height: 1.2;
}
.account-card {
  background: white;
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 26px;
}
.account-card > p {
  font-size: 13px;
}
.account-card h2 {
  font-size: 28px;
}
.workspace {
  padding: 45px 5.5%;
  min-height: 55vh;
}
.history-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 12px 0;
}
.history-card p {
  margin: 6px 0 0;
  font-size: 12px;
}
.history-card .soft-button {
  margin-left: auto;
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 15px;
  background: var(--pale);
  color: var(--teal);
  font-size: 10px;
}
.badge.warn {
  background: #f7ecda;
  color: #8b6229;
}
.admin-shell {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  min-height: 70vh;
}
.admin-sidebar {
  padding: 35px 20px;
  border-right: 1px solid var(--line);
  background: #f4f3f0;
}
.admin-sidebar .eyebrow {
  font-size: 9px;
  padding-left: 10px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.admin-sidebar button {
  min-height: 46px;
  text-align: left;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  background: transparent;
  color: #756d5d;
}
.admin-sidebar button.active {
  background: var(--deep);
  color: white;
}
.sidebar-note {
  border-top: 1px solid #e5e2dc;
  margin-top: 35px;
  padding: 25px 10px;
  font-size: 11px;
}
.sidebar-note small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 0 13px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6d624b;
  margin-right: 6px;
}
.admin-main {
  padding: 35px;
  min-width: 0;
}
.admin-main h1 {
  font-size: 32px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: white;
}
.kpi strong {
  font-size: 35px;
  font-weight: 500;
  display: block;
  margin: 15px 0 7px;
  color: var(--deep);
}
.kpi small {
  font-size: 11px;
  color: var(--muted);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 20px;
}
.panel h2 {
  font-size: 22px;
}
.panel p {
  font-size: 13px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}
.data-table th {
  background: #f3f1ed;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #726a59;
  text-align: left;
  padding: 16px;
}
.data-table td {
  padding: 16px;
  border-bottom: 1px solid #f0efed;
}
.data-table td:first-child {
  white-space: normal;
  min-width: 150px;
  max-width: 280px;
  overflow-wrap: anywhere;
}
.data-table tr:last-child td {
  border: 0;
}
.data-table td small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.table-actions {
  display: flex;
  gap: 7px;
}
.table-actions button,
.table-actions a {
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 11px;
}
.admin-search {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.admin-search input {
  margin: 0;
  max-width: 420px;
}
.admin-search button {
  white-space: nowrap;
}
.summary-callout {
  background: linear-gradient(120deg, #eae7e1, #dcd7cd);
  padding: 35px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.summary-callout h2 {
  font-size: 29px;
  margin-bottom: 10px;
}
.summary-callout p {
  margin: 0;
  max-width: 420px;
}
.detail-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-line {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
}
.detail-line > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-line small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.detail-line strong {
  white-space: nowrap;
}
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 20px;
  margin: 23px 0;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.info-box {
  background: #f5f2ed;
  padding: 16px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #655b47;
}
.info-box input {
  margin: 12px 0;
}
.error-page {
  max-width: 650px;
  margin: 80px auto;
  padding: 20px;
}
.error-page > .brand {
  display: block;
  margin-bottom: 30px;
}
.selected-count {
  color: var(--teal);
  font-size: 10px;
}
.choice-list {
  max-height: 230px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}
.choice-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px;
  min-height: 44px;
}
.choice-list input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: center;
}
.checkbox-label input {
  width: 18px;
  margin: 0;
  min-height: 18px;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
  grid-column: 1/-1;
}
.code-link {
  word-break: break-all;
  font-size: 13px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (min-width: 1550px) {
  .site-header,
  .notice-bar {
    padding-left: max(5.5%, calc((100vw - 1450px) / 2));
    padding-right: max(5.5%, calc((100vw - 1450px) / 2));
  }
  #main,
  .site-footer {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .site-header {
    gap: 25px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .hero-copy {
    padding: 40px 30px;
  }
  .parcel-front {
    right: 110px;
  }
  .parcel-back {
    right: 25px;
  }
  .floating-label {
    right: 15px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-aside {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
  }
  .product-image {
    height: 180px;
  }
  .admin-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .admin-main {
    padding: 25px;
  }
  .admin-sidebar {
    padding: 30px 12px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-page {
    gap: 25px;
  }
  .account-intro h1 {
    font-size: 38px;
  }
}
@media (max-width: 767px) {
  .notice-bar {
    padding: 8px 20px;
    font-size: 9px;
  }
  .notice-bar > span {
    display: none;
  }
  .site-header {
    height: 76px;
    padding: 0 20px;
    gap: 20px;
  }
  .brand {
    font-size: 32px;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
    gap: 10px;
  }
  .account-link > span:last-child {
    display: none;
  }
  .hero {
    margin: 20px 16px 35px;
    min-height: 360px;
    grid-template-columns: 1fr 0.65fr;
    border-radius: 24px;
  }
  .hero-copy {
    padding: 30px 22px;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero p {
    font-size: 12px;
    max-width: 240px;
  }
  .hero-trust {
    font-size: 8px;
    gap: 6px;
    width: 270px;
  }
  .hero-art {
    min-height: 330px;
  }
  .hero-orbit {
    width: 230px;
    height: 230px;
    right: -95px;
    top: 35px;
  }
  .parcel-front {
    width: 145px;
    height: 150px;
    right: -20px;
    top: 140px;
    transform: rotate(-12deg);
  }
  .parcel-front b {
    font-size: 24px;
  }
  .parcel-front small {
    font-size: 6px;
  }
  .parcel-back {
    width: 110px;
    height: 140px;
    right: -15px;
    top: 45px;
  }
  .parcel-back b {
    font-size: 60px;
  }
  .floating-label {
    display: none;
  }
  .catalog-section {
    margin: 0 16px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading > p {
    font-size: 10px;
    max-width: 70px;
    text-align: right;
    padding-top: 25px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
  }
  .catalog-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .search-box {
    flex-basis: 100%;
    max-width: none;
    padding: 0 15px;
  }
  .catalog-toolbar .soft-button {
    font-size: 11px;
    padding: 10px 15px;
  }
  .stock-filter {
    font-size: 11px;
  }
  .category-chips {
    gap: 6px;
    padding-bottom: 16px;
  }
  .chip {
    padding: 10px 18px;
    font-size: 11px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .product-image {
    height: 205px;
    border-radius: 19px;
  }
  .product-body {
    padding: 12px 1px 0;
  }
  .product-body h3 {
    font-size: 13px;
    min-height: 36px;
  }
  .product-body > small {
    font-size: 9px;
  }
  .product-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .product-price {
    font-size: 16px;
  }
  .qty {
    width: 100%;
    justify-content: space-between;
  }
  .qty button {
    min-height: 44px;
    min-width: 44px;
  }
  .qty input {
    width: 45px;
  }
  .stock-tag {
    font-size: 8px;
    padding: 5px 7px;
    top: 10px;
    left: 8px;
  }
  .list-view .product-card {
    padding: 10px;
    gap: 12px;
  }
  .list-view .product-image {
    height: 95px;
    width: 85px;
  }
  .list-view .product-body {
    gap: 2px 8px;
  }
  .list-view .product-body h3 {
    font-size: 12px;
    min-height: 0;
  }
  .list-view .product-bottom {
    max-width: 125px;
  }
  .list-view .qty button {
    min-width: 32px;
  }
  .list-view .qty input {
    width: 30px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fffffff5;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-around;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    z-index: 30;
    box-shadow: 0 -5px 25px #27231b06;
  }
  .mobile-nav a {
    font-size: 9px;
    text-align: center;
    min-width: 65px;
    min-height: 45px;
    color: var(--muted);
  }
  .mobile-nav span {
    display: block;
    font-size: 23px;
    line-height: 27px;
  }
  .mobile-nav a[aria-current] {
    color: var(--teal);
    font-weight: 700;
  }
  .site-footer {
    margin: 40px 20px 100px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 25px 0;
  }
  .site-footer > span {
    width: 100%;
    margin: 0;
    font-size: 10px;
  }
  .site-footer p {
    font-size: 10px;
  }
  .cart-dock {
    bottom: 80px;
    padding: 12px 14px;
    gap: 10px;
    max-width: calc(100% - 24px);
    font-size: 10px;
    border-radius: 18px;
  }
  .cart-dock small {
    display: none;
  }
  .cart-dock .button {
    font-size: 11px;
    padding: 10px 14px;
  }
  .cart-dock .button span {
    display: none;
  }
  .account-page {
    display: block;
    margin: 30px 0;
    padding: 0 18px;
  }
  .account-intro {
    padding: 10px 5px;
  }
  .account-intro h1 {
    font-size: 32px;
  }
  .account-intro p,
  .account-decoration {
    display: none;
  }
  .account-card {
    padding: 24px;
  }
  .workspace {
    padding: 30px 18px;
  }
  .workspace h1 {
    font-size: 30px;
  }
  .workspace .section-heading {
    flex-direction: column;
  }
  .history-card {
    padding: 18px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .history-card .soft-button {
    margin-left: auto;
  }
  .history-card h3 {
    font-size: 16px;
    margin: 0;
  }
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    padding: 15px 16px;
    border: 0;
  }
  .admin-sidebar > .eyebrow,
  .sidebar-note {
    display: none;
  }
  .admin-sidebar nav {
    flex-direction: row;
    overflow: auto;
    gap: 6px;
    padding-bottom: 5px;
  }
  .admin-sidebar button {
    white-space: nowrap;
    font-size: 11px;
    min-height: 42px;
    border: 1px solid var(--line);
    background: white;
  }
  .admin-main {
    padding: 22px 16px;
  }
  .admin-main .section-heading {
    flex-wrap: wrap;
  }
  .admin-main h1 {
    font-size: 28px;
  }
  .admin-main .button {
    font-size: 11px;
    padding: 10px 15px;
  }
  .kpis {
    gap: 10px;
  }
  .kpi {
    padding: 18px;
  }
  .kpi strong {
    font-size: 28px;
  }
  .kpi small {
    font-size: 10px;
  }
  .summary-callout {
    padding: 25px;
    display: block;
  }
  .summary-callout h2 {
    font-size: 25px;
  }
  .summary-callout .button {
    margin-top: 20px;
  }
  .panel {
    padding: 20px;
  }
  .form-grid.three {
    grid-template-columns: 1fr;
  }
  .form-grid {
    gap: 0 12px;
  }
  .modal-actions {
    flex-wrap: wrap;
  }
  dialog {
    padding: 21px;
    width: 100%;
    max-height: 90dvh;
    border-radius: 22px;
  }
  .modal-top h2 {
    font-size: 22px;
  }
  .toast {
    bottom: 160px;
  }
  .pagination {
    gap: 12px;
  }
  .pagination .soft-button {
    font-size: 11px;
    padding: 10px 15px;
  }
}
@media (max-width: 380px) {
  .hero {
    grid-template-columns: 1fr 0.4fr;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-copy {
    padding: 26px 18px;
  }
  .hero p {
    max-width: 205px;
  }
  .hero-trust {
    width: 250px;
    font-size: 7px;
  }
  .parcel-front {
    right: -65px;
  }
  .parcel-back {
    right: -50px;
  }
  .product-image {
    height: 170px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 767px) {
  .hero {
    display: block;
  }
  .hero-copy {
    padding-right: 30px;
  }
  .hero h1 {
    max-width: 275px;
  }
  .hero p {
    max-width: 240px;
  }
  .hero-art {
    position: absolute;
    right: -55px;
    bottom: 40px;
    width: 120px;
    min-height: 0;
    height: 180px;
    opacity: 0.55;
  }
  .hero-orbit {
    display: none;
  }
  .parcel-front {
    width: 110px;
    height: 105px;
    right: 0;
    top: 70px;
  }
  .parcel-front b {
    font-size: 21px;
  }
  .parcel-back {
    width: 70px;
    height: 95px;
    right: 15px;
    top: 0;
  }
  .parcel-back b {
    font-size: 40px;
  }
  .hero-trust {
    position: relative;
    z-index: 2;
  }
  .aside-card h3 {
    font-size: 23px;
  }
}
.settings-logo {
  max-width: 180px;
  max-height: 100px;
  object-fit: contain;
  display: block;
  margin-bottom: 15px;
}
details {
  margin: 15px 0;
}
summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--teal);
  min-height: 44px;
  padding: 12px 0;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
