:root {
  --red: #f71924;
  --red-dark: #c8101a;
  --ink: #2f3033;
  --muted: #62646b;
  --line: #e7e7e9;
  --bg: #f2f3f5;
  --card: #ffffff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(247, 25, 36, 0.10), transparent 34%),
    linear-gradient(135deg, #fafafa 0%, var(--bg) 62%, #e6e8ec 100%);
  color: var(--ink);
}
body.intro-active {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--red);
  transition: opacity 380ms ease, visibility 380ms ease;
}
.intro-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-logo-wrap {
  width: min(680px, 82vw);
  display: grid;
  justify-items: center;
  gap: 18px;
}
.intro-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 34px rgba(247, 25, 36, 0.16));
  transform-origin: center;
  animation: logoArrival 780ms cubic-bezier(.2,.8,.2,1) both, logoFloat 1100ms ease-in-out 780ms 2 alternate;
}
.intro-line {
  color: var(--ink);
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  font-weight: 1000;
  opacity: 0;
  transform: translateY(10px);
  animation: introTextIn 380ms ease 520ms both;
}
.intro-skip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  border: 0;
  border-radius: 999px;
  background: #101114;
  color: #fff;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}
.app-shell {
  opacity: 0;
  transform: translateY(10px);
}
.app-shell.is-ready {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}
.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 100vh;
}
.order-pane {
  padding: 34px 38px 42px;
}
.summary-pane {
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f7 100%);
  border-left: 1px solid #d8d8dc;
  padding: 28px;
}
.topbar,
.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.topbar {
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0 14px;
  transition: background 240ms ease, box-shadow 240ms ease, padding 240ms ease;
}
.topbar.is-scrolled {
  background: rgba(242, 243, 245, 0.92);
  box-shadow: 0 12px 28px rgba(24, 24, 27, 0.10);
  backdrop-filter: blur(10px);
  padding: 8px 0;
}
.brand-hero {
  width: min(760px, 100%);
  margin: 0 auto;
  background: var(--red);
  color: white;
  border-radius: 14px;
  padding: 28px 32px;
  text-align: center;
  box-shadow: 0 18px 38px rgba(247, 25, 36, 0.20);
  animation: heroFadeUp 420ms ease both;
}
.brand-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}
.brand-hero p {
  margin: 10px 0 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
}
.eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 6px;
}
h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
}
h2 {
  margin: 0;
  font-size: 1.7rem;
}
h3 {
  margin: 0 0 8px;
}
.quick-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
.quick-links a,
.quick-links button,
.admin-head a {
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.quick-links a:hover,
.quick-links button:hover,
.tabs button:hover,
.product-card button:hover,
.compact-form button:hover,
.dialog-actions button:hover,
.result-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 24px rgba(24, 24, 27, 0.12);
}
.mobile-menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 22px;
}
.tabs button {
  border: 0;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 800;
  cursor: pointer;
}
.tabs button.active {
  background: var(--red);
  color: white;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}
.section-title p {
  color: var(--muted);
  margin: 0;
  max-width: 460px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.reveal-card {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 360ms ease var(--delay), transform 360ms ease var(--delay), box-shadow 240ms ease, border-color 240ms ease;
}
.product-card {
  background: var(--card);
  border-radius: 18px;
  min-height: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 18px 38px rgba(24, 24, 27, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(24, 24, 27, 0.16);
  border-color: rgba(247, 25, 36, 0.26);
}
.product-image-wrap {
  overflow: hidden;
  border-radius: 12px;
  background: #f3f3f4;
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}
.product-card:hover img {
  transform: scale(1.06);
}
.product-info {
  display: grid;
  gap: 5px;
}
.product-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}
.product-card strong {
  display: block;
  color: var(--red);
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.product-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}
.product-card button {
  align-self: start;
  border: 2px solid var(--red);
  color: var(--red);
  background: white;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}
.product-card button:hover {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
}
.ready-box {
  display: grid;
  gap: 4px;
  background: #101114;
  color: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.ready-box span {
  color: #ffb3b8;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.ready-box strong {
  font-size: 1.35rem;
}
.ready-box small {
  color: #d4d4d8;
}
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.info-strip div,
.summary-card,
.track-panel,
.tracking-card,
.admin-order,
.pin-form {
  background: white;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.08);
}
.info-strip strong,
.info-strip span {
  display: block;
}
.info-strip span,
.hint,
.summary-card p {
  color: var(--muted);
}
.summary-card {
  position: sticky;
  top: 24px;
}
.timeline-note {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.track-panel {
  margin-top: 20px;
}
.site-footer {
  margin-top: 24px;
  padding: 18px;
  background: #101114;
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer div {
  display: grid;
  gap: 4px;
}
.site-footer a {
  color: white;
  font-weight: 900;
}
.footer-pay {
  grid-auto-flow: column;
  align-items: center;
}
.footer-pay img {
  height: 32px;
  width: auto;
}
.compact-form,
.form-grid,
.admin-grid,
.admin-update {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkbox-line input {
  width: auto;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d5d5d9;
  border-radius: 10px;
  padding: 12px;
  background: white;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
textarea {
  resize: vertical;
}
.upload-box {
  border: 1px dashed #d5d5d9;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.upload-box:hover,
.upload-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(247, 25, 36, 0.10);
  transform: translateY(-1px);
}
.compact-form button,
.dialog-actions button,
.pin-form button,
.admin-update button,
.sample-action-form button {
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 900;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
  position: relative;
}
.is-loading {
  color: transparent !important;
  pointer-events: none;
}
.is-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-top-color: white;
  border-radius: 50%;
  position: absolute;
  left: calc(50% - 9px);
  top: calc(50% - 9px);
  animation: spin 420ms linear infinite;
}
.sample-approval {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
  display: grid;
  gap: 12px;
}
.sample-action-form {
  display: grid;
  gap: 12px;
}
.sample-gallery {
  align-items: start;
}
.sample-thumb {
  display: grid;
  width: 132px;
  gap: 8px;
  border-radius: 12px;
  padding: 8px;
  background: #f4f4f5;
  color: var(--ink);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.sample-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.sample-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 18px 36px rgba(24, 24, 27, 0.18);
  z-index: 4;
}
.change-request-form {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fafafa;
}
dialog {
  width: min(920px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  border: 0;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}
dialog::backdrop {
  background: rgba(28, 29, 33, 0.58);
}
#orderForm {
  padding: 24px;
}
#contactForm {
  padding: 24px;
}
.dialog-head,
.dialog-actions,
.admin-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.form-step {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
  display: grid;
  gap: 12px;
}
.form-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  animation: sectionIn 280ms ease both;
}
.form-section:nth-of-type(3) {
  animation-delay: 60ms;
}
.form-section:nth-of-type(4) {
  animation-delay: 120ms;
}
.form-section:nth-of-type(5) {
  animation-delay: 180ms;
}
.form-section:nth-of-type(6) {
  animation-delay: 240ms;
}
.payment-step {
  background: #fff5f5;
  border: 1px solid #ffd0d2;
  border-radius: 14px;
  padding: 18px;
}
.mpaisa-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #ef0000, #f71924);
  color: white;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 6px;
}
.mpaisa-preview span {
  display: block;
  text-transform: uppercase;
  font-weight: 900;
  opacity: 0.82;
}
.mpaisa-preview strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}
.mpaisa-mark,
.vodafone-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  color: var(--red);
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 1.4rem;
}
.pay-button {
  min-width: 210px;
}
.dialog-actions {
  margin-top: 18px;
}
.dialog-actions button:first-child {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.form-message,
.error {
  color: var(--red);
  font-weight: 800;
}
.gateway-body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #ffffff 0, #eeeeef 42%, #e1e1e4 100%);
}
.gateway-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 480px);
  gap: 48px;
  align-items: center;
  padding: 48px;
}
.gateway-copy p:not(.eyebrow) {
  max-width: 460px;
  color: var(--muted);
  font-size: 1.05rem;
}
.gateway-copy a,
.result-button {
  display: inline-flex;
  margin-top: 16px;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 900;
}
.gateway-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(24, 24, 27, 0.16);
}
.gateway-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--red);
  color: white;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 22px;
}
.gateway-card header span {
  display: block;
  text-transform: uppercase;
  font-weight: 900;
  opacity: 0.85;
}
.gateway-card header strong {
  font-size: 2.25rem;
}
.gateway-card form {
  display: grid;
  gap: 14px;
}
.gateway-card button {
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: white;
  padding: 15px 18px;
  font-weight: 1000;
  cursor: pointer;
}
.gateway-ref {
  color: var(--muted);
}
.result-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}
.result-card {
  width: min(620px, 100%);
}
.result-card h1 {
  color: var(--red);
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.success-check {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 1000;
  margin-bottom: 14px;
  transform: scale(0.72);
  animation: checkPop 360ms ease 120ms both;
}
.admin-shell {
  padding: 34px 38px;
}
.pin-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 24px 0;
  align-items: end;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.admin-tabs {
  display: flex;
  gap: 10px;
  margin: 22px 0;
  flex-wrap: wrap;
}
.admin-tabs button {
  border: 0;
  border-radius: 999px;
  background: white;
  padding: 11px 18px;
  font-weight: 900;
  cursor: pointer;
}
.admin-tabs button.active {
  background: var(--red);
  color: white;
}
.admin-stats div {
  background: white;
  border-radius: 14px;
  padding: 16px;
}
.admin-stats strong {
  display: block;
  color: var(--red);
  font-size: 2rem;
}
.admin-orders {
  display: grid;
  gap: 14px;
}
.admin-order {
  display: grid;
  gap: 14px;
}
.admin-order-head span {
  background: #fff1f1;
  color: var(--red);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}
.uploads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.uploads a {
  background: #f4f4f5;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 10px;
  text-decoration: none;
  font-weight: 800;
}
.admin-alert {
  background: #fff5f5;
  border: 1px solid #ffd0d2;
  border-radius: 10px;
  padding: 12px;
  color: #9b111e;
}
.gateway-test {
  display: grid;
  gap: 12px;
  background: white;
  border-radius: 14px;
  padding: 18px;
  margin: 16px 0;
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.08);
}
.gateway-test[hidden] {
  display: none;
}
.gateway-test h2 {
  margin: 0 0 4px;
}
.gateway-test p {
  margin: 0;
  color: var(--muted);
}
.gateway-test button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 900;
  padding: 12px 18px;
  cursor: pointer;
}
.gateway-test button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.sample-upload,
.product-form {
  display: grid;
  gap: 12px;
  background: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.08);
  margin-top: 12px;
}
.print-upload,
.account-form {
  display: grid;
  gap: 12px;
}
.admin-products {
  display: grid;
  gap: 14px;
}
.admin-products[hidden] {
  display: none;
}
.admin-order h3,
.admin-products h2 {
  font-size: 1.1rem;
}
@media print {
  .pin-form,
  .admin-tabs,
  .admin-stats,
  .completed-search,
  .admin-update,
  .print-complete,
  .gateway-test,
  .admin-head {
    display: none !important;
  }
  body {
    background: white;
  }
  .admin-shell {
    padding: 0;
  }
  .admin-order {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}
.sample-upload button,
.product-form button,
.signature-form button {
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 900;
  padding: 12px 18px;
  cursor: pointer;
}
.product-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.product-admin-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  background: white;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.08);
}
.product-admin-card img {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f3f4;
}
.product-admin-card button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}
.signature-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
details {
  background: #f7f7f8;
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
}
pre {
  overflow: auto;
  white-space: pre-wrap;
}
.payment-page {
  background: #e9e9ea;
  min-height: 100vh;
}
.payment-shell {
  width: min(460px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}
.payment-card {
  background: white;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(24, 24, 27, 0.12);
}
.payment-row,
.payment-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.payment-row span,
.payment-order > span {
  color: var(--red);
  font-weight: 800;
}
.payment-row strong {
  text-align: right;
}
.payment-order {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.payment-order div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}
.payment-order b {
  color: var(--red);
}
.payment-order small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-top: 10px;
}
.payment-total {
  align-items: center;
  border-bottom: 0;
  padding-bottom: 0;
}
.payment-total span {
  color: #666;
  font-weight: 900;
}
.payment-total strong {
  font-size: clamp(32px, 7vw, 42px);
}
.mpaisa-image-button {
  width: 100%;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: white;
  padding: 18px 20px;
  font-size: 20px;
  font-weight: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(238, 28, 37, 0.18);
}
.mpaisa-image-button img,
.powered-by img {
  height: 40px;
  max-width: 140px;
  object-fit: contain;
}
.mpaisa-image-button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.payment-back {
  display: inline-block;
  color: #666;
  text-decoration: none;
  font-weight: 900;
  margin-top: 22px;
}
.powered-by {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #999;
  font-weight: 800;
  margin-top: 34px;
}
@media (max-width: 1000px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .summary-pane {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .order-pane,
  .admin-shell {
    padding: 22px 16px;
  }
  .topbar,
  .section-title,
  .dialog-head,
  .dialog-actions,
  .admin-order-head {
    display: grid;
  }
  .product-grid,
  .info-strip,
  .gateway-shell,
  .compact-form,
  .form-grid,
  .admin-grid,
  .admin-update,
  .pin-form {
    grid-template-columns: 1fr;
  }
  .product-card {
    border-radius: 14px;
  }
  .quick-links {
    display: grid;
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    min-width: 190px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(24, 24, 27, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }
  .quick-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .site-footer {
    display: grid;
  }
  .brand-hero {
    padding: 22px 18px;
  }
  .product-admin-card {
    grid-template-columns: 64px 1fr;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoArrival {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.86);
  }
  62% {
    opacity: 1;
    transform: translateY(-3px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoFloat {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-6px) scale(1.012);
  }
}

@keyframes introTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes checkPop {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  70% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .reveal-card {
    opacity: 1;
    transform: none;
  }
  .intro-screen {
    display: none;
  }
  body.intro-active {
    overflow: auto;
  }
  .app-shell {
    opacity: 1;
    transform: none;
  }
}
