@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Work+Sans:wght@600;700;800;900&display=swap");
:root {
  --cyan: #00a6e8;
  --pink: #ec008c;
  --yellow: #ffd500;
  --ink: #17191d;
  --muted: #687586;
  --line: #e1e7ed;
  --soft: #f4f8fb;
  --white: #fff;
  --green: #16845b;
  --red: #c6284d;
  --shadow: 0 12px 34px #152b3d0c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    15px/1.55 "DM Sans",
    sans-serif;
  color: var(--ink);
  background: #fff;
}
h1,
h2,
h3,
h4 {
  font-family: "Work Sans", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.btn {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #00a6e84a;
  outline-offset: 2px;
}
.container {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}
.stripe {
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--cyan) 0 25%,
    var(--yellow) 25% 50%,
    var(--pink) 50% 75%,
    var(--ink) 75%
  );
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffed;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.16rem;
  letter-spacing: -0.04em;
}
.brand em {
  color: var(--pink);
  font-style: normal;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: white;
  font: 900 15px "Work Sans";
  background: linear-gradient(
    135deg,
    var(--cyan) 0 28%,
    var(--yellow) 28% 46%,
    var(--pink) 46% 72%,
    var(--ink) 72%
  );
  transform: rotate(-4deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  color: #435164;
}
.nav-links a:hover {
  color: var(--cyan);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 8px 12px;
  font-size: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  transition: 0.2s;
  min-height: 44px;
}
.btn:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--cyan);
  color: white;
  box-shadow: 0 8px 20px #00a6e82b;
}
.dark {
  background: var(--ink);
  color: white;
}
.outline {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}
.pink {
  background: var(--pink);
  color: white;
}
.small {
  padding: 7px 12px;
  min-height: 34px;
  font-size: 0.86rem;
}
.full {
  width: 100%;
}
.hero {
  background: linear-gradient(115deg, #f7fbfd, #fff 58%, #e9f8ff);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  align-items: center;
  padding: 76px 0 82px;
}
.eyebrow {
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.7vw, 4.7rem);
  margin: 0 0 20px;
  max-width: 720px;
}
.hero h1 span {
  color: var(--cyan);
}
.lead {
  font-size: 1.1rem;
  color: #536174;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.hero-art {
  min-height: 340px;
  border-radius: 30px;
  background: linear-gradient(135deg, #00a6e8, #ec008c 58%, #ffd500);
  padding: 20px;
  box-shadow: 0 25px 65px #20334824;
  transform: rotate(2deg);
  display: grid;
  place-items: center;
}
.art-inner {
  background: white;
  border-radius: 22px;
  width: 100%;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}
.art-inner strong {
  font: 900 clamp(2rem, 4vw, 3.8rem) "Work Sans";
  line-height: 1;
  color: var(--ink);
}
.color-dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.color-dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 0;
}
.trust div {
  padding: 14px;
  background: var(--soft);
  border-radius: 14px;
  font-weight: 700;
}
.section {
  padding: 70px 0;
}
.soft {
  background: #f4f9fc;
}
.section-heading {
  max-width: 680px;
  margin-bottom: 26px;
}
.section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin: 0 0 10px;
}
.section-heading p {
  color: var(--muted);
  margin: 0;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 22px 0 14px;
}
.filter {
  border: 1px solid var(--line);
  background: white;
  color: #4b5868;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
}
.filter.active {
  background: var(--cyan);
  color: white;
  border-color: var(--cyan);
}
.search {
  width: min(400px, 100%);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  border: 1px solid #e8edf2;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: 0.22s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px #162f4819;
}
.product-image {
  height: 175px;
  background: linear-gradient(
    135deg,
    var(--cyan),
    var(--pink) 60%,
    var(--yellow)
  );
  display: grid;
  place-items: center;
  color: white;
  font: 900 44px "Work Sans";
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.product-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 12px;
  flex: 1;
}
.price {
  color: var(--pink);
  font-weight: 900;
  margin-bottom: 12px;
}
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 9px;
  background: #fff3bf;
  color: #735900;
  font-size: 0.72rem;
  font-weight: 900;
}
.product-body .btn {
  width: 100%;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.feature-card {
  border-radius: 22px;
  padding: 30px;
  background: white;
  box-shadow: var(--shadow);
}
.feature-card.dark-card {
  background: var(--ink);
  color: white;
}
.feature-card > p {
  color: var(--muted);
}
.dark-card > p,
.dark-card .feature-row p {
  color: #c4cfda;
}
.feature-row {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.feature-icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 14px;
  background: #e2f6ff;
  color: #007daf;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.feature-row h3 {
  font-size: 1rem;
  margin: 2px 0 4px;
}
.feature-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 45px;
  align-items: start;
}
.contact-details {
  color: var(--muted);
}
.quote-form,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-size: 0.9rem;
  font-weight: 800;
}
.field input,
.field select,
.field textarea,
.control {
  width: 100%;
  border: 1px solid #dbe4eb;
  border-radius: 10px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  min-height: 44px;
}
.password-input-wrap{position:relative}
.password-input-wrap input{padding-right:48px}
.password-visibility{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:transparent;color:#64748b;cursor:pointer}
.password-visibility:hover{background:#f1f5f9;color:var(--ink)}
.password-visibility:focus-visible{outline:2px solid var(--cyan);outline-offset:1px}
.password-visibility svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field.full-row {
  grid-column: 1/-1;
}
.notice {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 12px 0;
  font-weight: 700;
}
.success {
  background: #e8fbf1;
  color: #08643d;
}
.error {
  background: #fff0f2;
  color: #a7193e;
}
.muted {
  color: var(--muted);
}
.faq {
  max-width: 850px;
}
.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 18px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 800;
  cursor: pointer;
}
.faq p {
  color: var(--muted);
}
.site-footer {
  background: var(--ink);
  color: #bdc8d5;
  padding: 30px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer b {
  color: white;
}
.site-footer a {
  color: white;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f3faff, #fff 55%, #fff0f8);
  padding: 24px;
}
.auth-card {
  width: min(440px, 100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 22px 70px #152b3d16;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  margin-bottom: 30px;
}
.auth-card h1 {
  font-size: 2rem;
  margin: 0 0 10px;
}
.auth-card label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 15px 0;
}
.auth-card input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.back-link {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
  font-size: 0.9rem;
}
.admin-shell {
  min-height: 100vh;
  background: #f4f7fa;
}
.admin-top {
  background: var(--ink);
  color: white;
}
.admin-top .nav {
  min-height: 68px;
}
.admin-top .brand {
  color: white;
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.admin-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0 45px;
}
.sidebar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  height: max-content;
  position: sticky;
  top: 90px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  color: #536174;
  font-weight: 700;
  margin-bottom: 3px;
}
.side-link:hover,
.side-link.active {
  background: #e9f8ff;
  color: #007eae;
}
.side-link.active {
  box-shadow: inset 3px 0 var(--cyan);
}
.admin-content {
  min-width: 0;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.page-head h1 {
  font-size: 2rem;
  margin: 0 0 5px;
}
.page-head p {
  color: var(--muted);
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  border-top: 4px solid var(--cyan);
}
.stat:nth-child(2) {
  border-top-color: var(--pink);
}
.stat:nth-child(3) {
  border-top-color: var(--yellow);
}
.stat:nth-child(4) {
  border-top-color: #20242b;
}
.stat span {
  font-size: 0.82rem;
  color: var(--muted);
  display: block;
}
.stat strong {
  font: 800 1.7rem "Work Sans";
  display: block;
  margin-top: 4px;
}
.panel {
  padding: 20px;
  margin-bottom: 20px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.panel-head h2,
.panel-head h3 {
  margin: 0;
  font-size: 1.15rem;
}
.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
th,
td {
  text-align: left;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  background: #f5f8fa;
  color: #4e5a69;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tr:last-child td {
  border-bottom: 0;
}
.actions {
  display: flex;
  gap: 6px;
}
.btn-danger {
  background: #fff0f2;
  color: #b51f42;
}
.btn-success {
  background: #e8fbf1;
  color: #08643d;
}
.status {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 99px;
  background: #eef2f6;
  font-size: 0.75rem;
  font-weight: 900;
}
.status.New,
.status.Queued {
  background: #fff3bf;
  color: #735900;
}
.status.Done,
.status.Received,
.status.Contacted {
  background: #e8fbf1;
  color: #08643d;
}
.status.Cancelled,
.status.Closed {
  background: #fff0f2;
  color: #a7193e;
}
.status.Printing,
.status.Quoted {
  background: #e2f6ff;
  color: #007daf;
}
.inline-form {
  display: inline;
}
.filters-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.filters-row input,
.filters-row select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.empty {
  text-align: center;
  padding: 28px;
  color: var(--muted);
}
.low {
  color: #c6284d;
  font-weight: 900;
}
.modal-backdrop[hidden] {
  display: none;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #11182799;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal-card {
  background: white;
  border-radius: 18px;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
}
.modal-card h2 {
  margin-top: 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.mobile-nav {
  display: none;
}
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid {
    gap: 28px;
  }
  .admin-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 30px);
  }
  .nav {
    min-height: 66px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: white;
    padding: 14px 20px 22px;
    box-shadow: 0 12px 18px #00000012;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 50px 0;
    gap: 28px;
  }
  .hero-art {
    min-height: 260px;
  }
  .art-inner {
    min-height: 230px;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 52px 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-image {
    height: 125px;
  }
  .product-body {
    padding: 12px;
  }
  .features,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full-row {
    grid-column: auto;
  }
  .admin-layout {
    grid-template-columns: 1fr;
    padding-top: 16px;
  }
  .sidebar {
    position: static;
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .side-link {
    white-space: nowrap;
    margin: 0;
  }
  .admin-top .nav {
    flex-wrap: wrap;
  }
  .admin-user {
    font-size: 0.8rem;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 13px;
  }
  .stat strong {
    font-size: 1.35rem;
  }
  .panel {
    padding: 14px;
  }
  .auth-card {
    padding: 24px;
  }
}
@media (max-width: 400px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 180px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.55rem;
  }
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 14px 0;
  font-weight: 700;
}
.alert.success {
  background: #e8fbf1;
  color: #08643d;
}
.auth-card form {
  margin-top: 18px;
}
.auth-card label {
  display: block;
  margin: 0 0 7px;
}
.auth-card input {
  min-height: 48px;
  margin: 0 0 17px;
}
.auth-card input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px #00a6e81f;
  outline: none;
}
.auth-card .btn {
  min-height: 48px;
}
.auth-actions {
  display: flex;
  justify-content: center;
  margin: 10px 0 0 !important;
}
.text-button {
  border: 0;
  background: transparent;
  color: #007eae;
  font-weight: 800;
  padding: 8px 12px;
  cursor: pointer;
}
.text-button:hover {
  text-decoration: underline;
}
.admin-user form {
  margin: 0;
}
.admin-user .btn {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .auth-page {
    padding: 14px;
  }
  .auth-card {
    padding: 22px;
    border-radius: 18px;
  }
  .auth-card h1 {
    font-size: 1.75rem;
  }
  .admin-user {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 10px;
  }
  .admin-user > span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .admin-top .nav {
    align-items: flex-start;
    padding-top: 10px;
  }
  .admin-layout {
    gap: 14px;
  }
  .sidebar {
    border-radius: 12px;
  }
  .panel {
    overflow: hidden;
  }
  .quote-form {
    padding: 18px;
  }
}

/* Loading layer */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(145deg, #f3fbff, #fff 58%, #fff4fa);
  color: var(--ink);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}
.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  color: white;
  font: 900 20px "Work Sans";
  box-shadow: 0 12px 30px #00a6e833;
  animation: loader-float 1.1s ease-in-out infinite alternate;
}
.loading-screen strong {
  font:
    700 0.94rem "DM Sans",
    sans-serif;
  color: #465467;
}
.loader-track {
  height: 4px;
  width: 142px;
  border-radius: 99px;
  background: #dceaf1;
  overflow: hidden;
}
.loader-track i {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  animation: loader-progress 1.15s ease-in-out infinite alternate;
}
@keyframes loader-float {
  to {
    transform: translateY(-5px) rotate(3deg);
  }
}
@keyframes loader-progress {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(140%);
  }
}

/* Admin workspace refresh */
.admin-shell {
  background: #f3f6fa;
}
.admin-top {
  background: linear-gradient(105deg, #141a23, #202b39);
  box-shadow: 0 8px 24px #1022371a;
}
.admin-top .brand-mark {
  box-shadow: 0 6px 18px #00a6e83b;
}
.admin-user > span {
  font-weight: 700;
}
.admin-layout {
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 26px;
  padding-top: 28px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 90px;
  padding: 15px 12px 12px;
  border: 1px solid #e4eaf0;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: 0 18px 42px #142d450b;
  overflow: hidden;
  transition:
    width 0.24s ease,
    padding 0.24s ease;
}
.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 5px 17px 9px;
  margin-bottom: 8px;
  border-bottom: 1px solid #edf1f5;
}
.sidebar-heading div {
  display: grid;
  gap: 4px;
}
.sidebar-heading span {
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  font-weight: 900;
  color: #8b98a8;
}
.sidebar-heading strong {
  font: 800 1rem "Work Sans";
  color: #202b39;
}
.sidebar-collapse {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid #e7edf2;
  border-radius: 9px;
  background: #fff;
  color: #5c6b7d;
  font-size: 21px;
  line-height: 1;
  transition: 0.2s;
}
.sidebar-collapse:hover {
  background: #e9f8ff;
  color: #007eae;
  border-color: #cdeffd;
}
.side-nav {
  display: grid;
  gap: 4px;
}
.side-link {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 12px;
  color: #596779;
  font-size: 0.91rem;
  font-weight: 700;
  margin: 0;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.side-link:hover {
  background: #f0f8fc;
  color: #067eaa;
  transform: translateX(2px);
}
.side-link.active {
  background: linear-gradient(100deg, #e8f8ff, #f3fbff);
  color: #0079a7;
  box-shadow: inset 3px 0 var(--cyan);
}
.side-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f1f4f7;
  color: #66778a;
  font-size: 0.85rem;
  font-weight: 900;
}
.side-link.active .side-icon {
  background: #d4f2ff;
  color: #007eae;
}
.side-link:nth-child(1) .side-icon:before {
  content: "?";
}
.side-link:nth-child(2) .side-icon:before {
  content: "?";
}
.side-link:nth-child(3) .side-icon:before {
  content: "?";
}
.side-link:nth-child(4) .side-icon:before {
  content: "?";
}
.side-link:nth-child(5) .side-icon:before {
  content: "?";
}
.side-link:nth-child(6) .side-icon:before {
  content: "+";
}
.side-link:nth-child(7) .side-icon:before {
  content: "?";
}
.side-link:nth-child(8) .side-icon:before {
  content: "-";
}
.side-link:nth-child(9) .side-icon:before {
  content: "?";
}
.side-link:nth-child(10) .side-icon:before {
  content: "?";
}
.side-link:nth-child(11) .side-icon:before {
  content: "?";
}
.side-link:nth-child(12) .side-icon:before {
  content: "?";
}
.side-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf1f5;
  margin: 12px 5px 0;
  padding: 13px 7px 2px;
  color: #778596;
  font-size: 0.76rem;
  font-weight: 700;
}
.sidebar-footer i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20b77a;
  box-shadow: 0 0 0 4px #e4f8ef;
}
.admin-content {
  animation: content-rise 0.38s ease both;
}
.page-head {
  margin-bottom: 24px;
}
.page-head h1 {
  font-size: clamp(1.7rem, 2.5vw, 2.1rem);
  letter-spacing: -0.045em;
}
.page-head p {
  font-size: 0.94rem;
}
.admin-content .panel {
  border-color: #e7edf2;
  border-radius: 18px;
  box-shadow: 0 12px 34px #152b3d08;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.admin-content .panel:hover {
  box-shadow: 0 16px 38px #152b3d0e;
}
.admin-content .stat {
  border-radius: 17px;
  box-shadow: 0 10px 28px #152b3d08;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.admin-content .stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px #152b3d12;
}
.admin-content .stat strong {
  letter-spacing: -0.035em;
}
.admin-content .table-wrap {
  border-color: #e8edf2;
}
.admin-content table tbody tr {
  transition: background 0.16s ease;
}
.admin-content table tbody tr:hover {
  background: #f8fbfd;
}
.admin-content .btn {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.admin-content .btn:hover {
  box-shadow: 0 7px 18px #152b3d12;
}
@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.admin-layout.sidebar-collapsed {
  grid-template-columns: 82px minmax(0, 1fr);
}
.sidebar-collapsed .sidebar {
  padding: 13px 9px;
}
.sidebar-collapsed .sidebar-heading {
  justify-content: center;
  padding: 4px 0 14px;
}
.sidebar-collapsed .sidebar-heading > div,
.sidebar-collapsed .side-label,
.sidebar-collapsed .sidebar-footer span {
  display: none;
}
.sidebar-collapsed .side-link {
  justify-content: center;
  padding: 8px;
}
.sidebar-collapsed .side-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}
.sidebar-collapsed .sidebar-footer {
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
}
.sidebar-collapsed .sidebar-collapse {
  font-size: 23px;
}
.brand-logo {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px #0715231f;
}
.admin-top .brand-logo {
  width: 48px;
  height: 48px;
}
.auth-brand .brand-logo {
  width: 58px;
  height: 58px;
}
.setup-logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 8px;
}
.loading-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px #00a6e833;
  animation: loader-float 1.1s ease-in-out infinite alternate;
}
@media (max-width: 760px) {
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sidebar {
    position: relative;
    top: auto;
    padding: 12px;
    border-radius: 16px;
  }
  .sidebar-heading {
    padding-bottom: 10px;
    margin-bottom: 8px;
  }
  .sidebar-collapse {
    display: none;
  }
  .side-nav {
    display: flex;
    overflow-x: auto;
    padding: 1px 1px 5px;
    scrollbar-width: thin;
  }
  .side-link {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 10px;
  }
  .side-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .sidebar-footer {
    display: none;
  }
  .admin-layout.sidebar-collapsed {
    grid-template-columns: 1fr;
  }
  .sidebar-collapsed .sidebar {
    padding: 12px;
  }
  .sidebar-collapsed .sidebar-heading > div,
  .sidebar-collapsed .side-label {
    display: block;
  }
  .sidebar-collapsed .sidebar-heading {
    justify-content: space-between;
  }
  .sidebar-collapsed .side-link {
    justify-content: flex-start;
    padding: 8px 10px;
  }
  .sidebar-collapsed .side-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .admin-content {
    min-width: 0;
  }
  .admin-user {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Printelier black wordmark and tagline lockup */
.brand-copy{display:grid;gap:2px;line-height:1.12}.brand-copy strong{font:800 1.14rem "Work Sans",sans-serif;letter-spacing:-.035em;color:#111}.brand-copy>small{font:500 .68rem/1.35 "DM Sans",sans-serif;letter-spacing:0;color:#17191d;max-width:260px}.admin-top{background:#fff;color:#17191d;border-bottom:1px solid #e5eaf0;box-shadow:0 8px 24px #1022370b}.admin-top .brand,.admin-top .brand em{color:#111}.admin-top .admin-user{color:#252b33}.admin-top .admin-user .outline{background:#fff;border-color:#d9e1e8;color:#202832}.admin-top .admin-label{font-size:.62rem!important;font-weight:800!important;letter-spacing:.13em;color:#687586!important}.auth-brand{gap:14px}.auth-brand .brand-copy strong{font-size:1.3rem}.auth-brand .brand-copy>small{font-size:.73rem}.setup-brand{display:flex;align-items:center;justify-content:center;gap:15px;margin:0 auto 24px}.setup-logo{width:74px;height:74px;margin:0}.setup-brand .brand-copy strong{font-size:1.35rem}.setup-brand .brand-copy>small{font-size:.72rem;max-width:225px}
@media(max-width:520px){.brand-copy>small{max-width:190px;font-size:.62rem}.brand-logo{width:44px;height:44px}.admin-top .brand-logo{width:44px;height:44px}.setup-brand{gap:11px}.setup-brand .brand-copy>small{max-width:190px}}
.side-icon:before{content:none!important}.side-icon svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
html{scroll-behavior:smooth;scroll-padding-top:88px}section[id],#how{scroll-margin-top:88px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Public catalogue accessibility and filtering states */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.product-card[hidden],[hidden]{display:none!important}

/* Floating Messenger contact action on the public storefront. */
.messenger-float{position:fixed;right:24px;bottom:24px;z-index:900;display:inline-flex;align-items:center;gap:10px;padding:13px 18px;border-radius:999px;background:#087ff5;color:#fff;font-weight:800;text-decoration:none;box-shadow:0 12px 30px #087ff54a;transition:transform .2s,box-shadow .2s}
.messenger-float:hover{transform:translateY(-3px);box-shadow:0 16px 34px #087ff55c}
.messenger-float:focus-visible{outline:3px solid #111;outline-offset:3px}
.messenger-float svg{width:23px;height:23px;fill:currentColor}
@media(max-width:520px){.messenger-float{right:16px;bottom:16px;padding:14px;border-radius:50%}.messenger-float span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}

/* Keep storefront imagery within its layout, including after deployment/cache refreshes. */
img{max-width:100%}
img.brand-logo{width:50px;height:50px;max-width:50px;max-height:50px;object-fit:contain}
img.loading-logo{width:84px;height:84px;max-width:84px;max-height:84px;object-fit:contain}
.product-image img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover}
@media(max-width:520px){img.brand-logo{width:44px;height:44px;max-width:44px;max-height:44px}}

/* Tablet, phone, and narrow-screen refinements for public and admin pages. */
@media(max-width:900px){
  .site-header .nav{position:relative}
  .site-header .nav-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0}
  .site-header .nav-links{display:none;position:absolute;top:calc(100% + 1px);left:0;right:0;z-index:25;padding:10px 18px 18px;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px;box-shadow:0 16px 30px #152b3d18;flex-direction:column;align-items:stretch;gap:0}
  .site-header .nav-links.open{display:flex}
  .site-header .nav-links a{display:flex;align-items:center;min-height:46px;padding:10px 2px;border-bottom:1px solid var(--line)}
  .site-header .nav-links .btn{align-self:flex-start;margin-top:12px;padding:10px 18px;border-bottom:0}
  .site-header .brand{min-width:0}
  .site-header .brand-copy{min-width:0}
  .site-header .brand-copy>small{overflow-wrap:anywhere}
}
@media(max-width:760px){
  .container{width:min(100% - 30px,680px)}
  .hero-grid{min-width:0}
  .hero h1{font-size:clamp(2.35rem,9vw,3.7rem)}
  .hero-art{transform:none;border-radius:22px}
  .hero-actions .btn{flex:1 1 180px}
  .filters{padding-bottom:3px}
  .filter{min-height:42px}
  .search{display:block;margin:0 0 16px}
  .product-card{min-width:0}
  .product-body h3{overflow-wrap:anywhere}
  .contact-grid,.features{min-width:0}
  .quote-form,.auth-card{min-width:0}
  .admin-layout,.admin-content,.sidebar{min-width:0}
  .admin-top .nav{width:calc(100% - 30px)}
  .admin-top .brand{max-width:100%}
  .admin-user{flex-wrap:wrap}
  .admin-user form{margin-left:auto}
  .table-wrap{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .admin-content .panel{min-width:0}
  .modal-backdrop{padding:10px}
  .modal-card{max-height:calc(100dvh - 20px);padding:18px}
  .footer-row{align-items:flex-start;flex-direction:column;gap:12px}
}
@media(max-width:520px){
  body{font-size:14px}
  .container{width:calc(100% - 28px)}
  .nav{gap:10px}
  .brand{gap:8px}
  .brand-copy>small{max-width:180px;line-height:1.25}
  .section{padding:44px 0}
  .section-heading{margin-bottom:20px}
  .section-heading h2{font-size:clamp(1.75rem,8vw,2.35rem)}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-image{height:132px}
  .product-image img{min-width:0}
  .product-body{padding:11px}
  .product-body .btn{width:100%;padding:10px 9px;font-size:.82rem}
  .price{font-size:.94rem}
  .form-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  .field.full-row{grid-column:1}
  .quote-form{padding:17px}
  .admin-top .brand-copy>small:not(.admin-label){display:none}
  .admin-user{justify-content:flex-start}
  .admin-user>span{flex:1 1 100%;max-width:none}
  .admin-user form{margin-left:0}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat{min-width:0}
  .stat strong{font-size:clamp(1rem,5vw,1.35rem);overflow-wrap:anywhere}
  .page-head{align-items:flex-start}
  .page-head>.btn{width:100%}
  .auth-page{padding:12px}
  .auth-card{padding:20px}
  .messenger-float{right:14px;bottom:14px}
}
@media(max-width:360px){
  .container{width:calc(100% - 22px)}
  .product-grid{grid-template-columns:minmax(0,1fr)}
  .product-image{height:190px}
  .trust{gap:8px}
  .hero h1{font-size:2.2rem}
  .nav-toggle{flex-basis:40px;width:40px;height:40px}
}
