@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --cream: #f7f5ef;
  --ink: #202c3d;
  --muted: #6c6d6c;
  --gold: #a8714e;
  --line: #dedbd3;
  --red: #9c453b;
  --white: #fff;
  --serif: Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.6 "DM Sans",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  width: 22px;
  height: 22px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.13;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(3.3rem, 6.6vw, 6.8rem);
  font-weight: 600;
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  font-weight: 500;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
small {
  font-size: 0.8rem;
}
.announcement {
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 9px 18px;
}
.header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  font-weight: 800;
  font-size: 2.8rem;
  font-family: Manrope;
  letter-spacing: -0.08em;
  line-height: 0.8;
}
.brand em {
  color: var(--gold);
  font-style: normal;
}
.brand small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  margin: 10px 0 0 4px;
}
.header nav {
  display: flex;
  gap: 34px;
  font-size: 0.87rem;
}
.header nav a.active {
  color: var(--gold);
}
.actions {
  display: flex;
  gap: 22px;
  align-items: center;
}
.bag-link {
  display: flex;
  gap: 7px;
  align-items: center;
}
.bag-count {
  font-size: 0.75rem;
}
main {
  min-height: 60vh;
}
.container {
  width: 90%;
  max-width: 1440px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: 655px;
}
.hero-copy {
  padding: 90px 9% 55px 10%;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 28px;
}
.hero h1 {
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}
.hero h1 span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero p {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: pre-line;
}
.button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 16px 25px;
  font-size: 0.84rem;
  transition:
    background 0.3s,
    transform 0.3s;
  min-height: 50px;
}
.button:hover {
  background: linear-gradient(120deg, #94664d, #c7a082, #98754b);
  border-color: transparent;
  transform: translateY(-2px);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.danger {
  background: var(--red);
  border-color: var(--red);
}
.text-link {
  font-size: 0.83rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 7px;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}
.hero-bottom {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 70px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.hero-bottom span {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.hero-photo {
  position: relative;
  min-height: 620px;
  background: #c4b9a8;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(transparent, #1119);
}
.photo-caption {
  position: absolute;
  z-index: 1;
  color: white;
  bottom: 28px;
  left: 34px;
  right: 34px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
}
.photo-caption b {
  font-size: 1rem;
  display: block;
  letter-spacing: 0;
  font-weight: 400;
}
.photo-tag {
  position: absolute;
  right: 25px;
  top: 25px;
  border: 1px solid #ffffff75;
  color: white;
  padding: 7px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}
.three-accent {
  position: absolute;
  width: 160px;
  height: 160px;
  bottom: 17px;
  right: 15px;
  pointer-events: none;
  opacity: 0.75;
}
.benefits {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 5%;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.benefits span::first-letter {
  color: var(--gold);
}
.collection {
  padding: 75px 0 60px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
}
.section-head .eyebrow {
  margin-bottom: 15px;
}
.section-head h2 {
  margin-bottom: 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.product-image {
  aspect-ratio: 3/4;
  background: #e9e7e1;
  position: relative;
  overflow: hidden;
}
.product-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform 0.7s;
}
.product-card:hover img {
  transform: scale(1.045);
}
.product-image .tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--cream);
  padding: 5px 9px;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}
.product-image .tag.sale {
  color: var(--red);
}
.quick-add {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--cream);
  font-size: 1.4rem;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 17px 0 7px;
}
.product-card h3 {
  font-size: 0.9rem;
  letter-spacing: 0;
  font-family: "DM Sans";
  margin-bottom: 8px;
}
.price {
  font-size: 0.85rem;
}
.price del {
  color: #858585;
  margin-left: 10px;
}
.swatches {
  display: flex;
  gap: 4px;
}
.swatches i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #233147;
  border: 1px solid #bbb;
}
.swatches i:nth-child(2) {
  background: #d6c7b5;
}
.denim-banner {
  background-color: var(--ink);
  background-image: repeating-linear-gradient(
    120deg,
    transparent,
    transparent 2px,
    #ffffff04 2px,
    #ffffff04 3px
  );
  color: var(--cream);
  padding: 65px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.denim-banner h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.6rem;
}
.denim-banner p {
  max-width: 300px;
  color: #d4d5d9;
  font-size: 0.9rem;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 5% 22px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 25px 0;
}
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  align-items: start;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 24px;
  font-size: 0.72rem;
  color: var(--muted);
}
.page {
  padding: 55px 0 80px;
}
.page h1 {
  font-size: 3.3rem;
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 30px;
}
.filters {
  display: flex;
  gap: 12px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.filters > * {
  flex: 1;
  min-width: 150px;
}
input,
select,
textarea {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  color: var(--ink);
  width: 100%;
  min-height: 48px;
}
textarea {
  min-height: 120px;
}
label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 17px;
}
label input,
label select,
label textarea {
  display: block;
  margin-top: 7px;
}
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-height: auto;
  display: inline;
  margin-right: 8px;
}
input[type="file"] {
  font-size: 0.8rem;
}
form .button {
  margin-top: 10px;
}
.muted {
  color: var(--muted);
}
.notice {
  padding: 14px 18px;
  background: #eee5d9;
  border: 1px solid #d8c6b4;
  font-size: 0.85rem;
  margin-bottom: 25px;
}
.detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7%;
}
.detail-main {
  width: 100%;
  max-height: 690px;
  object-fit: cover;
  background: #e9e7e1;
}
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.thumbnails button {
  padding: 0;
  border: 1px solid var(--line);
  width: 70px;
}
.detail-copy {
  padding: 25px 0;
}
.detail-copy h1 {
  font-size: 2.8rem;
}
.detail-copy .price {
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.detail-copy p {
  color: var(--muted);
}
.option-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.option {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.85rem;
}
.option.selected {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.wide {
  width: 100%;
}
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 7%;
}
.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img {
  width: 100px;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.cart-row h3 {
  font-size: 1rem;
  letter-spacing: 0;
}
.cart-row input {
  max-width: 80px;
  min-height: 38px;
  padding: 5px 10px;
}
.plain {
  border: 0;
  background: transparent;
  text-decoration: underline;
  padding: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.summary {
  background: #efede6;
  padding: 30px;
  height: max-content;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.summary-line.total {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 1.1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.auth-card {
  max-width: 470px;
  margin: auto;
}
.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  background: none;
  border: 0;
  padding: 12px 0;
}
.tabs button.active {
  border-bottom: 2px solid var(--gold);
}
.empty {
  text-align: center;
  padding: 70px 10px;
}
.empty p {
  color: var(--muted);
}
.track-card {
  padding: 25px;
  border: 1px solid var(--line);
  margin-top: 25px;
}
.steps {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 30px 0;
}
.steps span {
  border-top: 3px solid var(--line);
  padding-top: 12px;
  flex: 1;
  font-size: 0.8rem;
}
.steps span.done {
  border-color: var(--gold);
  color: var(--gold);
}
#toast {
  position: fixed;
  z-index: 30;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  padding: 14px 24px;
  max-width: 90%;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  font-size: 0.9rem;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.admin-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 35px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-nav button {
  text-align: left;
  border: 0;
  padding: 12px 16px;
  background: transparent;
}
.admin-nav button.active {
  background: var(--ink);
  color: white;
}
.admin-content {
  min-width: 0;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.84rem;
}
th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
td img {
  width: 48px;
  height: 60px;
  object-fit: cover;
}
td button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 6px 10px;
  margin: 3px;
  font-size: 0.8rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.stat {
  padding: 24px;
  background: #efede6;
}
.stat b {
  display: block;
  font-size: 1.8rem;
  margin-top: 10px;
}
dialog {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  padding: 30px;
  width: min(720px, 94%);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #18233488;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.modal-head button {
  border: 0;
  background: none;
  font-size: 1.4rem;
}
.checklist {
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--line);
  padding: 15px;
  margin-bottom: 20px;
}
.checklist label {
  margin: 8px 0;
}
.order-item {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  gap: 20px;
}
.error {
  color: var(--red);
}
.drip-added {
  animation: drip 0.5s;
}
@keyframes drip {
  50% {
    transform: scale(1.06, 0.93);
    border-radius: 0 0 35% 35%;
    background: var(--gold);
  }
}
.loading {
  padding: 80px 5%;
}
.mobile-menu {
  display: none;
}
.preview-label {
  font-size: 0.7rem;
  background: #e8dfd2;
  color: #755238;
  padding: 4px 7px;
  letter-spacing: 0;
}
.check-radio {
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 12px;
}
.check-radio:has(input:checked) {
  border-color: var(--gold);
}
@media (min-width: 1600px) {
  .hero {
    max-height: 800px;
  }
  .hero-copy {
    padding-left: max(10%, calc((100vw - 1440px) / 2));
  }
}
@media (max-width: 1000px) {
  .hero-copy {
    padding: 65px 8% 35px;
  }
  .hero {
    min-height: 570px;
  }
  .hero-photo {
    min-height: 570px;
  }
  .hero h1 {
    font-size: 4.3rem;
  }
  .hero-bottom {
    margin-top: 50px;
  }
  .three-accent {
    width: 100px;
    height: 100px;
  }
  .product-grid {
    gap: 15px;
  }
  .header nav {
    gap: 20px;
  }
  .actions {
    gap: 15px;
  }
  .denim-banner h2 {
    font-size: 2.8rem;
  }
  .detail {
    gap: 5%;
  }
  .admin-layout {
    grid-template-columns: 155px minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .announcement {
    font-size: 0.62rem;
  }
  .header {
    height: 80px;
    padding: 0 5%;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
  }
  .brand {
    font-size: 2.3rem;
  }
  .header nav {
    display: none;
    position: absolute;
    z-index: 15;
    top: 80px;
    left: 0;
    right: 0;
    padding: 25px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .header nav.open {
    display: flex;
    flex-wrap: wrap;
  }
  .actions {
    margin-left: auto;
  }
  .mobile-menu {
    display: block;
    border: 0;
    background: none;
    font-size: 1.5rem;
    padding: 0;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 48px 7% 36px;
  }
  .hero h1 {
    font-size: 3.7rem;
    max-width: 450px;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .hero .eyebrow {
    margin-bottom: 22px;
  }
  .hero-photo {
    min-height: 490px;
  }
  .hero-photo img {
    object-position: center 40%;
  }
  .hero-bottom {
    margin-top: 34px;
  }
  .three-accent {
    bottom: 14px;
    right: 15px;
  }
  .benefits {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.62rem;
    padding: 20px;
  }
  .benefits span:last-child {
    display: none;
  }
  .collection {
    padding: 45px 0;
  }
  .section-head {
    align-items: center;
  }
  .section-head h2 {
    font-size: 1.9rem;
  }
  .section-head .text-link {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 13px;
  }
  .product-card h3 {
    font-size: 0.83rem;
    line-height: 1.4;
  }
  .product-meta {
    font-size: 0.6rem;
  }
  .price {
    font-size: 0.78rem;
  }
  .price del {
    margin-left: 5px;
  }
  .product-image .tag {
    left: 8px;
    top: 8px;
    font-size: 0.6rem;
  }
  .denim-banner {
    padding: 42px 7%;
    display: block;
  }
  .denim-banner h2 {
    font-size: 2.8rem;
    margin-bottom: 22px;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-bottom {
    gap: 15px;
    flex-wrap: wrap;
  }
  .page {
    padding-top: 35px;
  }
  .page h1 {
    font-size: 2.5rem;
  }
  .detail,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-copy {
    padding-top: 0;
  }
  .detail-main {
    max-height: 540px;
  }
  .cart-row {
    grid-template-columns: 75px 1fr auto;
    gap: 12px;
  }
  .cart-row img {
    width: 75px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .admin-nav {
    flex-direction: row;
    overflow: auto;
  }
  .admin-nav button {
    white-space: nowrap;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 14px;
    font-size: 0.75rem;
  }
  .stat b {
    font-size: 1.25rem;
  }
  .admin-toolbar {
    flex-wrap: wrap;
  }
  .steps {
    flex-wrap: wrap;
  }
  .steps span {
    min-width: 40%;
  }
  .preview-label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Premium interaction layer */
:root {
  --shadow: 0 18px 42px #202c3d10;
}
button,
a,
input,
select,
textarea {
  transition:
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #a8714e;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #a8714e16;
}
.product-card {
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-image {
  box-shadow: 0 2px 5px #202c3d04;
}
.product-card:hover .product-image {
  box-shadow: var(--shadow);
}
.product-image {
  background: linear-gradient(130deg, #eee8df, #dad5cd);
}
.image-loading {
  filter: blur(10px);
  opacity: 0.35;
}
.image-error {
  opacity: 0.5;
}
.product-image img {
  transition:
    filter 0.4s,
    opacity 0.4s,
    transform 0.7s;
}
.wish-toggle {
  border: 0;
  background: #f7f5efed;
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 23px;
  display: grid;
  place-items: center;
}
.product-image > .wish-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
}
.wish-toggle[aria-pressed="true"] {
  color: #934c42;
}
.product-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin: 28px 0;
}
.product-tools .text-link {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.zoom-stage {
  overflow: hidden;
  position: relative;
  background: #e9e7e1;
  touch-action: pan-y;
}
.zoom-stage.is-zoomed {
  touch-action: none;
  cursor: grab;
}
.zoom-stage img {
  transform-origin: center;
  will-change: transform;
  transition: none;
  user-select: none;
}
.zoom-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 10px 0;
}
.zoom-controls button {
  border: 1px solid var(--line);
  background: var(--cream);
  width: 38px;
  height: 38px;
}
.zoom-controls span {
  font-size: 0.8rem;
}
.product-video {
  width: 100%;
  max-height: 65vh;
}
.skeleton {
  background: linear-gradient(100deg, #e8e4dc 30%, #f4f0e9 45%, #e8e4dc 60%);
  background-size: 240% 100%;
  animation: skeleton-glow 1.4s infinite;
}
.skeleton-title {
  height: 44px;
  width: 45%;
  margin: 20px 0 35px;
}
.skeleton-photo {
  aspect-ratio: 3/4;
}
.skeleton-line {
  height: 14px;
  width: 90%;
  margin-top: 15px;
}
.skeleton-line.short {
  width: 50%;
}
@keyframes skeleton-glow {
  to {
    background-position: -240% 0;
  }
}
.designed-empty {
  max-width: 640px;
  margin: 0 auto;
}
.empty-symbol {
  font-size: 70px;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}
.designed-empty p {
  max-width: 370px;
  margin: 0 auto 26px;
}
.toast-success {
  border-left: 4px solid #94b8a3;
}
.toast-error {
  border-left: 4px solid #d28c78;
}
.toast-info {
  border-left: 4px solid #c5aa82;
}
#toast {
  box-shadow: 0 10px 40px #101b2b25;
  border-radius: 3px;
}
::view-transition-old(root) {
  animation: page-out 0.18s ease-in;
}
::view-transition-new(root) {
  animation: page-in 0.3s ease-out;
}
@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.admin-nav {
  background: #202c3d;
  padding: 16px 10px;
  color: #f7f5ef;
  border-radius: 5px;
  height: max-content;
  position: sticky;
  top: 20px;
}
.admin-nav button {
  color: inherit;
  border-radius: 3px;
}
.admin-nav button.active {
  background: #f7f5ef;
  color: #202c3d;
}
.admin-content {
  background: #fff9;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.admin-content h2 {
  font-size: 2rem;
}
th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: #eae6de77;
}
.admin-toolbar .button {
  padding: 12px 18px;
}
.bulk-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px;
  background: #eee9df;
  margin-bottom: 20px;
}
.bulk-toolbar input,
.bulk-toolbar select {
  width: auto;
  max-width: 200px;
}
.drag-list {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin: 15px 0;
}
.drag-item {
  min-width: 110px;
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--cream);
  cursor: grab;
}
.drag-item img {
  width: 95px;
  height: 100px;
  object-fit: contain;
}
.drag-item button {
  font-size: 0.8rem;
}
.dragging {
  opacity: 0.35;
}
.consent-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px;
  max-width: 360px;
  z-index: 60;
  font-size: 0.85rem;
}
.consent-panel button {
  margin-right: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
}
.offline-notice {
  position: sticky;
  top: 0;
  z-index: 25;
  text-align: center;
  padding: 8px;
  background: #edd9bd;
  color: #60431e;
  font-size: 0.8rem;
}
.report-bars {
  display: grid;
  gap: 15px;
  margin: 25px 0;
}
.report-bar {
  display: grid;
  grid-template-columns: 85px 1fr 110px;
  gap: 12px;
  align-items: center;
  font-size: 0.8rem;
}
.report-bar i {
  display: block;
  height: 20px;
  background: linear-gradient(90deg, #b08361, #202c3d);
}
.account-note {
  padding: 12px 0;
  font-size: 0.85rem;
}
.print-document {
  font-size: 14px;
}
.print-document h1 {
  font-size: 32px;
}
.print-document h2 {
  font-size: 22px;
}
.connection-status {
  font-size: 0.75rem;
  color: var(--muted);
}
@media (max-width: 700px) {
  .admin-nav {
    position: static;
  }
  .admin-content {
    padding: 14px;
  }
  .bulk-toolbar {
    padding: 12px;
  }
  .report-bar {
    grid-template-columns: 75px 1fr 85px;
  }
  .consent-panel {
    left: 15px;
    right: 15px;
    max-width: none;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  body > dialog[open] {
    display: block !important;
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 20px;
    border: 0;
    background: white;
    overflow: visible;
  }
  dialog::backdrop {
    display: none;
  }
  .no-print,
  .modal-head {
    display: none !important;
  }
  .print-document {
    display: block !important;
  }
  a {
    color: black;
  }
  table {
    break-inside: auto;
  }
  tr {
    break-inside: avoid;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
