:root {
  --cream: #fff8ed;
  --paper: #fffdf8;
  --coral: #f4857f;
  --coral-dark: #d96360;
  --mint: #8fcdb4;
  --yellow: #f8bf52;
  --lav: #a995d1;
  --ink: #4a3227;
  --muted: #806c62;
  --line: #eadfd3;
  --white: #fff;
  --shadow: 0 18px 50px rgba(91, 61, 43, 0.1);
  --radius: 24px;
  --display: "Trebuchet MS", Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  background: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 82px;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(74, 50, 39, 0.08);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cart-menu {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-weight: 900;
}
.brand-logo {
  height: 100px;
  width: auto;
  display: block;
}
.brand-tiny {
  font-size: 22px;
  letter-spacing: -3px;
}
.brand-tiny i {
  font-style: normal;
  display: inline-block;
}
.brand-tiny i:nth-child(1) {
  color: var(--coral);
  transform: rotate(-5deg);
}
.brand-tiny i:nth-child(2) {
  color: var(--yellow);
}
.brand-tiny i:nth-child(3) {
  color: var(--mint);
}
.brand-tiny i:nth-child(4) {
  color: var(--lav);
  transform: rotate(5deg);
}
.brand-palette {
  font-family: cursive;
  font-size: 24px;
  color: #5b3825;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
}
.main-nav > a:not(.cart-link):hover {
  color: var(--coral-dark);
}
.cart-link {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--cream);
  padding: 10px 14px;
  border-radius: 999px;
}
.cart-link b {
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
}
.cart-link-header {
  margin-left: auto;
  order: 3;
}
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 10px;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px;
}
.hero {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: url("../img/hero-tiny-palette.png") center/cover no-repeat;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 248, 237, 0.97) 0%,
    rgba(255, 248, 237, 0.84) 34%,
    rgba(255, 248, 237, 0.12) 62%,
    transparent 100%
  );
}
.hero-inner {
  min-height: 640px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-copy {
  max-width: 570px;
  padding: 70px 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 900;
  color: var(--coral-dark);
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  margin-top: 0;
}
h1 {
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.055em;
  margin: 17px 0 22px;
}
h1 em,
h2 em {
  font-family: cursive;
  color: var(--coral-dark);
  font-weight: 600;
}
.hero-copy p {
  font-size: 19px;
  color: var(--muted);
  max-width: 500px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 34px 0;
}
.btn {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 800;
  cursor: pointer;
  transition:
    0.2s transform,
    0.2s box-shadow,
    0.2s background;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 10px 24px rgba(244, 133, 127, 0.3);
}
.btn-primary:hover {
  background: var(--coral-dark);
}
.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-soft {
  background: var(--cream);
  color: var(--ink);
}
.btn-block {
  width: 100%;
}
.text-link {
  font-weight: 800;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 3px;
}
.mini-trust {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.promise-bar {
  background: var(--ink);
  color: white;
}
.promise-bar .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}
.promise-bar b {
  font-size: 19px;
  margin-right: 8px;
}
.section {
  padding: 100px 0;
}
.products-section {
  background: #fffdf8;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
  gap: 40px;
}
.section-head h2,
.story-copy h2,
.cta-card h2 {
  font-size: clamp(38px, 4vw, 55px);
  letter-spacing: -0.045em;
  margin: 12px 0 0;
}
.section-head > p {
  max-width: 360px;
  color: var(--muted);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    0.25s transform,
    0.25s box-shadow;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.product-image {
  height: 350px;
  display: block;
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s transform;
}
.product-card:hover .product-image img {
  transform: scale(1.03);
}
.badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--coral);
  color: white;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 800;
}
.product-info {
  padding: 20px;
}
.product-info h3 {
  font-size: 21px;
  margin: 4px 0 12px;
}
.product-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--coral-dark);
  font-weight: 800;
  margin: 0;
}
.product-bottom {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-bottom strong {
  font-size: 18px;
}
.round-add {
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
}
.story-section {
  background: var(--cream);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
}
.story-art {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}
.blob {
  width: 430px;
  height: 430px;
  max-width: 90vw;
  border-radius: 44% 56% 60% 40%/48% 40% 60% 52%;
  background: linear-gradient(145deg, #f8c56c, #f18b83);
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.25);
}
.blob span {
  position: absolute;
  font-size: 92px;
  filter: drop-shadow(0 12px 8px rgba(90, 50, 30, 0.13));
}
.blob span:nth-child(1) {
  left: 70px;
  top: 145px;
  transform: rotate(-9deg);
}
.blob span:nth-child(2) {
  right: 68px;
  top: 70px;
}
.blob span:nth-child(3) {
  right: 78px;
  bottom: 58px;
  transform: rotate(18deg);
}
.round-note {
  position: absolute;
  right: 8%;
  top: 8%;
  width: 86px;
  height: 86px;
  background: white;
  border: 2px dashed var(--coral);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--coral-dark);
  transform: rotate(8deg);
}
.round-note small {
  font-size: 10px;
}
.story-copy > p {
  color: var(--muted);
  font-size: 17px;
}
.checks {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
}
.checks li {
  display: flex;
  gap: 14px;
  margin: 20px 0;
}
.checks i {
  font-style: normal;
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: white;
}
.checks span {
  display: flex;
  flex-direction: column;
}
.checks small {
  color: var(--muted);
}
.cta-section {
  background: white;
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--coral);
  color: white;
  padding: 60px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-card:before {
  content: "";
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  position: absolute;
  right: -80px;
  top: -100px;
}
.cta-card .eyebrow {
  color: #fff3dd;
}
.cta-card h2 {
  font-size: 43px;
  margin: 10px 0;
}
.cta-card h2 em {
  color: #fff6e8;
}
.cta-card p {
  margin: 0;
  color: #fff6ef;
}
.cta-card .btn {
  position: relative;
  flex: 0 0 auto;
}
.cta-spark {
  position: absolute;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.13);
  left: 45%;
  top: 10px;
}
.site-footer {
  background: var(--ink);
  color: #f5ebe2;
  padding: 70px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 70px;
}
.footer-brand {
  margin-bottom: 14px;
}
.footer-brand .brand-palette {
  color: white;
}
.site-footer p,
.site-footer a {
  font-size: 13px;
  color: #ccbcb1;
}
.site-footer h3 {
  font-size: 14px;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #aa978b;
}
.flash-stack {
  position: fixed;
  right: 18px;
  top: 98px;
  z-index: 50;
  width: min(380px, calc(100% - 36px));
}
.flash {
  padding: 14px 18px;
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
  border-left: 4px solid var(--mint);
  display: flex;
  justify-content: space-between;
}
.flash-error {
  border-color: var(--coral);
}
.flash-info {
  border-color: var(--yellow);
}
.flash button {
  border: 0;
  background: none;
  font-size: 20px;
  cursor: pointer;
}
.page-soft {
  background: var(--cream);
  min-height: auto;
  padding: 34px 0 10px;
}
.page-title {
  text-align: center;
  margin-bottom: 24px;
}
.page-title h1 {
  font-size: 52px;
  margin: 12px 0;
}
.page-title p {
  color: var(--muted);
}
.page-title.align-left {
  text-align: left;
}
.narrow-wide {
  max-width: 1050px;
}
.cart-layout,
.checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.85fr;
  gap: 32px;
  align-items: start;
}
.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  background: white;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.cart-item img {
  width: 120px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}
.cart-item h3 {
  margin: 0 0 4px;
}
.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.cart-item label {
  font-size: 12px;
  font-weight: 700;
}
.cart-item input,
.add-form input {
  width: 66px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.text-button {
  align-self: flex-start;
  border: 0;
  background: none;
  text-decoration: underline;
  cursor: pointer;
}
.summary-card,
.form-card,
.track-form,
.tracking-result,
.success-card,
.detail-copy {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 28px rgba(80, 54, 38, 0.06);
}
.summary-card {
  position: sticky;
  top: 105px;
}
.summary-card h2 {
  font-size: 22px;
}
.summary-card > div:not(.mini-line) {
  display: flex;
  justify-content: space-between;
  margin: 14px 0;
}
.summary-card small {
  color: var(--muted);
}
.summary-card hr {
  border: 0;
  border-top: 1px solid var(--line);
}
.summary-total b {
  font-size: 21px;
}
.summary-card > p {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.form-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label,
.form-section > label {
  font-size: 12px;
  font-weight: 800;
}
.field input,
.field textarea,
.field select,
.filters input,
.filters select {
  width: 100%;
  border: 1px solid #ddd0c3;
  background: #fffefa;
  border-radius: 11px;
  padding: 13px 14px;
  outline: none;
  transition: 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
.filters input:focus,
.filters select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(244, 133, 127, 0.14);
}
.error {
  color: #b93838;
}
.mini-line {
  display: grid !important;
  grid-template-columns: 55px 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}
.mini-line img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 9px;
}
.mini-line span {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}
.success-card {
  max-width: 680px;
  margin: auto;
  text-align: center;
  padding: 60px;
}
.success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--mint);
  color: white;
  font-size: 32px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}
.success-card h1 {
  font-size: 48px;
}
.success-card > p {
  color: var(--muted);
}
.reference-box {
  background: var(--cream);
  border: 1px dashed var(--coral);
  padding: 18px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  text-align: left;
  margin: 28px 0 10px;
}
.reference-box small {
  grid-column: 1/-1;
}
.reference-box strong {
  font-size: 22px;
  letter-spacing: 0.08em;
}
.reference-box button {
  border: 0;
  background: white;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
}
.phone-reminder {
  font-size: 13px;
}
.track-page {
  background: linear-gradient(180deg, var(--cream), #fff);
  min-height: 78vh;
}
.track-container {
  max-width: 850px;
}
.track-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.tracking-result {
  margin-top: 28px;
}
.tracking-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.tracking-head small {
  color: var(--muted);
}
.tracking-head h2 {
  margin: 5px 0;
}
.tracking-head p {
  color: var(--muted);
  margin: 0;
}
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 5px;
}
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 50px 10px;
}
.timeline:before {
  content: "";
  height: 3px;
  background: var(--line);
  position: absolute;
  left: 4%;
  right: 4%;
  top: 17px;
}
.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 20%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  color: #ab9d93;
  font-size: 11px;
  font-weight: 700;
}
.timeline-step i {
  font-style: normal;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
}
.timeline-step.done i {
  background: var(--mint);
  border-color: var(--mint);
  color: white;
}
.timeline-step.current span {
  color: var(--ink);
}
.order-items {
  background: var(--cream);
  padding: 18px;
  border-radius: 14px;
}
.order-items h3 {
  font-size: 14px;
}
.order-items div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 8px 0;
}
.updated {
  text-align: right;
  font-size: 11px;
  color: var(--muted);
}
.cancel-note {
  background: #fff0ef;
  padding: 15px;
  border-radius: 12px;
  margin: 25px 0;
}
.product-page {
  background: var(--cream);
}
.back-link {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.detail-image {
  height: 620px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.detail-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.detail-copy {
  padding: 45px;
}
.detail-copy h1 {
  font-size: 48px;
  margin: 14px 0;
}
.detail-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--coral-dark);
}
.lead {
  color: var(--muted);
}
.included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--cream);
  padding: 18px;
  border-radius: 15px;
  margin: 25px 0;
  font-size: 13px;
}
.included b {
  grid-column: 1/-1;
}
.add-form {
  display: flex;
  gap: 14px;
  align-items: end;
}
.add-form label {
  font-size: 11px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.microcopy {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.empty-state {
  text-align: center;
  background: white;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 60px;
}
.empty-state > span {
  font-size: 50px;
}

/* Admin */
.admin-body {
  background: #f7f3ed;
}
.admin-top {
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: white;
  border-bottom: 1px solid var(--line);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
}
.admin-chip {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--cream);
  padding: 6px 10px;
  border-radius: 99px;
  margin-left: 15px;
}
.admin-menu {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  font-size: 24px;
}
.admin-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
  padding-top: 70px;
}
.admin-sidebar {
  position: fixed;
  top: 70px;
  bottom: 0;
  width: 230px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-sidebar a,
.admin-sidebar button {
  border: 0;
  background: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: var(--cream);
  color: var(--coral-dark);
}
.admin-sidebar span {
  width: 20px;
  text-align: center;
}
.admin-main {
  grid-column: 2;
  padding: 42px;
  max-width: 1500px;
  width: 100%;
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.admin-heading h1 {
  font-size: 36px;
  margin: 5px 0;
}
.admin-heading p {
  color: var(--muted);
  margin: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stats-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  position: relative;
}
.stats-grid span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.stats-grid strong {
  display: block;
  font-size: 25px;
  margin-top: 7px;
}
.stats-grid i {
  position: absolute;
  right: 18px;
  top: 20px;
  font-style: normal;
  background: var(--cream);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--coral);
}
.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.panel-head h2,
.form-section h2 {
  font-size: 18px;
  margin: 0;
}
.panel-head p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 12px;
}
.panel-head a {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 720px;
}
th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 11px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 11px;
  border-bottom: 1px solid #f3ece5;
}
td small {
  display: block;
  color: var(--muted);
}
.status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  background: #eee;
}
.status-received {
  background: #fff0cd;
  color: #8a6719;
}
.status-preparing {
  background: #eee9fa;
  color: #695597;
}
.status-ready {
  background: #dff4ea;
  color: #32755c;
}
.status-shipped {
  background: #e0effa;
  color: #386d90;
}
.status-delivered {
  background: #d8f1df;
  color: #24733a;
}
.status-cancelled {
  background: #fde5e4;
  color: #a54343;
}
.icon-link {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 50%;
}
.admin-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.admin-product-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.admin-product-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.admin-product-grid article > div {
  padding: 16px;
}
.admin-product-grid h3 {
  font-size: 17px;
  margin: 8px 0 3px;
}
.visibility {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #eee;
  padding: 5px 8px;
  border-radius: 99px;
}
.visibility.is-active {
  background: #dff4ea;
  color: #32755c;
}
.card-actions {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
  gap: 15px;
}
.card-actions a,
.card-actions button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--coral-dark);
  cursor: pointer;
}
.empty-mini {
  text-align: center;
  color: var(--muted);
  padding: 50px;
}
.admin-form-grid,
.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: 22px;
  align-items: start;
}
.admin-form-grid aside,
.order-detail-grid aside,
.order-detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.image-preview {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.file-field small {
  color: var(--muted);
}
.switch-field,
.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.switch-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--coral);
}
.filters {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 10px;
  margin-bottom: 20px;
}
.filters input,
.filters select {
  padding: 10px;
}
.order-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-products label {
  display: grid;
  grid-template-columns: 48px 1fr 62px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.order-products img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.order-products span {
  display: flex;
  flex-direction: column;
}
.order-products small {
  color: var(--muted);
}
.order-products input {
  width: 60px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
}
.admin-order-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.admin-order-line span {
  display: flex;
  flex-direction: column;
}
.admin-order-line small {
  color: var(--muted);
}
.admin-order-total {
  display: flex;
  justify-content: space-between;
  padding-top: 5px;
  font-size: 19px;
}
.customer-details {
  margin: 0;
}
.customer-details div {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.customer-details dt {
  font-size: 11px;
  color: var(--muted);
}
.customer-details dd {
  margin: 0;
  font-size: 13px;
  white-space: pre-line;
}
.share-box > strong {
  background: var(--cream);
  padding: 12px;
  text-align: center;
  letter-spacing: 0.08em;
  border-radius: 9px;
}
.login-page {
  min-height: 100vh;
  background: var(--cream);
  display: grid;
  place-items: center;
  padding: 20px;
}
.login-card {
  background: white;
  width: min(430px, 100%);
  padding: 45px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-card > .brand {
  align-self: center;
  margin-bottom: 15px;
}
.login-card h1 {
  font-size: 36px;
  margin: 0;
}
.login-card > p {
  margin: -10px 0 10px;
  color: var(--muted);
}
.login-card form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.login-card .back-link {
  text-align: center;
  margin: 5px 0 0;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-grid {
    gap: 35px;
  }
  .blob {
    width: 340px;
    height: 340px;
  }
  .section {
    padding: 75px 0;
  }
  .cta-card {
    padding: 45px;
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-shell {
    grid-template-columns: 190px 1fr;
  }
  .admin-sidebar {
    width: 190px;
  }
  .admin-main {
    padding: 30px 22px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-form-grid,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    background-position: 58% center;
  }
  .hero-photo:after {
    background: linear-gradient(
      90deg,
      rgba(255, 248, 237, 0.98),
      rgba(255, 248, 237, 0.8) 48%,
      rgba(255, 248, 237, 0.15)
    );
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1160px);
  }
  .site-header {
    height: 68px;
  }
  .nav-wrap {
    gap: 8px;
  }
  .cart-link-header {
    padding: 8px 12px;
    font-size: 12px;
    order: 2;
    margin-left: 0;
  }
  .nav-toggle {
    display: block;
    order: 3;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 11px 12px;
  }
  .hero,
  .hero-inner {
    min-height: 690px;
  }
  .hero-photo {
    inset: auto 0 0;
    height: 48%;
    background-position: 64% center;
  }
  .hero-photo:after {
    background: linear-gradient(
      180deg,
      var(--cream),
      rgba(255, 248, 237, 0.04) 48%
    );
  }
  .hero-inner {
    align-items: flex-start;
  }
  .hero-copy {
    padding: 62px 0 0;
    max-width: 100%;
  }
  .hero-copy h1 {
    font-size: 51px;
  }
  .hero-copy p {
    font-size: 16px;
    max-width: 90%;
  }
  .hero-actions {
    margin: 25px 0;
    gap: 18px;
  }
  .hero-actions .btn {
    padding-inline: 17px;
  }
  .mini-trust {
    font-size: 11px;
    gap: 14px;
  }
  .promise-bar .container {
    min-height: auto;
    padding: 17px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .promise-bar b {
    font-size: 15px;
  }
  .section {
    padding: 60px 0;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .section-head h2,
  .story-copy h2 {
    font-size: 39px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-image {
    height: 390px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-art {
    min-height: 340px;
    order: 2;
  }
  .blob {
    width: 310px;
    height: 310px;
  }
  .blob span {
    font-size: 68px;
  }
  .blob span:nth-child(1) {
    left: 45px;
    top: 110px;
  }
  .blob span:nth-child(2) {
    right: 45px;
  }
  .blob span:nth-child(3) {
    right: 55px;
    bottom: 45px;
  }
  .story-copy {
    order: 1;
  }
  .cta-card {
    padding: 38px 25px;
  }
  .cta-card h2 {
    font-size: 35px;
  }
  .cta-card .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .page-title h1 {
    font-size: 42px;
  }
  .cart-layout,
  .checkout-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }
  .cart-item {
    grid-template-columns: 88px 1fr;
  }
  .cart-item img {
    width: 88px;
    height: 88px;
  }
  .cart-item > strong {
    grid-column: 2;
    justify-self: end;
  }
  .summary-card {
    position: static;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    grid-row: 1;
  }
  .success-card {
    padding: 40px 20px;
  }
  .success-card h1 {
    font-size: 38px;
  }
  .track-form {
    grid-template-columns: 1fr;
  }
  .timeline {
    flex-direction: column;
    margin: 30px 0;
    gap: 0;
  }
  .timeline:before {
    left: 17px;
    right: auto;
    top: 5%;
    bottom: 5%;
    width: 3px;
    height: auto;
  }
  .timeline-step {
    width: 100%;
    flex-direction: row;
    height: 58px;
    text-align: left;
  }
  .timeline-step span {
    font-size: 12px;
  }
  .tracking-head {
    flex-direction: column;
  }
  .detail-image {
    height: 440px;
  }
  .detail-copy {
    padding: 28px 20px;
  }
  .detail-copy h1 {
    font-size: 40px;
  }
  .included {
    grid-template-columns: 1fr;
  }
  .add-form {
    flex-direction: column;
    align-items: stretch;
  }
  .add-form label {
    align-self: flex-start;
  }
  .admin-top {
    padding: 0 16px;
  }
  .admin-menu {
    display: block;
  }
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    display: none;
    top: 70px;
    right: 12px;
    left: 12px;
    bottom: auto;
    width: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 25;
  }
  .admin-sidebar.open {
    display: flex;
  }
  .admin-main {
    padding: 28px 14px;
  }
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-heading .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid article {
    padding: 16px;
  }
  .stats-grid strong {
    font-size: 20px;
  }
  .admin-panel {
    padding: 16px;
  }
  .admin-product-grid {
    grid-template-columns: 1fr;
  }
  .filters {
    grid-template-columns: 1fr;
  }
  .admin-chip {
    display: none;
  }
  .login-card {
    padding: 34px 22px;
  }
  .product-page {
    padding-top: 30px;
  }
}
@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 44px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-image {
    height: 340px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .reference-box {
    grid-template-columns: 1fr;
  }
  .reference-box button {
    margin-top: 8px;
  }
  .included {
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
