:root {
  --macula-green: #145444;
  --ink: #10231f;
  --paper: #fffdf8;
  --mist: #edf6f2;
  --line: #d7e6de;
  --magenta: #d80a78;
  --cyan: #00a7d8;
  --yellow: #ffca10;
  --coral: #ef3430;
  --shadow: 0 18px 45px rgba(20, 84, 68, 0.15);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(
      180deg,
      #fffdf8 0%,
      #f8fffc 18%,
      #fff8fc 38%,
      #f7fcff 58%,
      #fffdf1 78%,
      #fffdf8 100%
    );
  background-size: 100% 2400px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 78px;
  padding: 10px clamp(16px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(237, 246, 242, 0.34)),
    rgba(255, 253, 248, 0.5);
  border-bottom: 1px solid rgba(215, 230, 222, 0.64);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 12px 32px rgba(20, 84, 68, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  position: relative;
}

.brand img {
  width: 160px;
  max-width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link,
.filter,
.ghost-button,
.account-button,
.home-menu button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--macula-green);
  border-radius: 7px;
  padding: 10px 13px;
  min-height: 40px;
  transition: 0.2s ease;
}

.nav-link:hover,
.filter:hover,
.ghost-button:hover,
.account-button:hover,
.home-menu button:hover,
.nav-link.active,
.filter.active {
  border-color: var(--macula-green);
  background: var(--macula-green);
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-button,
.cart-button,
.bell-button {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--macula-green);
  font-size: 14px;
  font-weight: 800;
  position: relative;
}

.cart-button span:last-child,
.bell-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.bell-button.has-unread {
  border-color: var(--magenta);
  color: var(--magenta);
}

main {
  padding: 24px clamp(16px, 4vw, 52px) 56px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(170px, 0.8fr));
  gap: 22px;
  padding: 28px clamp(16px, 4vw, 52px);
  border-top: 1px solid rgba(215, 230, 222, 0.76);
  background:
    linear-gradient(135deg, rgba(237, 246, 242, 0.78), rgba(255, 248, 252, 0.72)),
    rgba(255, 255, 255, 0.72);
  color: #31574f;
}

.site-footer img {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer strong {
  color: var(--macula-green);
  margin-bottom: 8px;
  font-size: 16px;
}

.site-footer a {
  color: var(--macula-green);
  font-weight: 800;
  text-decoration: none;
  margin-top: 6px;
}

.footer-link-button {
  display: block;
  width: fit-content;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--macula-green);
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.footer-link-button:hover {
  color: var(--magenta);
}

.social-link {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.social-icon {
  display: inline-grid !important;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(20, 84, 68, 0.14);
}

.facebook-icon {
  background: linear-gradient(135deg, #1877f2, #0b4fa8);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.instagram-icon {
  position: relative;
  background:
    radial-gradient(circle at 32% 102%, #ffca10 0 22%, transparent 23%),
    radial-gradient(circle at 18% 82%, #ef3430 0 28%, transparent 29%),
    linear-gradient(135deg, #833ab4, #d80a78 48%, #f77737 82%, #ffca10);
}

.instagram-icon::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 5px;
}

.instagram-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.footer-rights {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 84, 68, 0.12);
  font-size: 13px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--magenta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

.home-view {
  min-height: min(620px, calc(100vh - 102px));
  grid-template-columns: minmax(520px, 0.96fr) minmax(360px, 0.78fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  padding: 22px 0 22px;
  border-bottom: 1px solid var(--line);
}

.home-view.active {
  display: grid;
}

.home-view h1 {
  margin: 0;
  color: var(--macula-green);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.home-intro {
  margin: 10px 0 0;
  color: #31574f;
  font-size: 18px;
  line-height: 1.45;
}

.home-info-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 10px;
  width: min(100%, 780px);
  margin: 16px 0 0;
}

.home-hours {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  margin: 0;
  border: 1px solid rgba(20, 84, 68, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(234, 246, 241, 0.78)),
    #fff;
  box-shadow:
    0 12px 28px rgba(20, 84, 68, 0.08),
    -6px 8px 18px rgba(216, 10, 120, 0.08),
    6px 8px 18px rgba(0, 167, 216, 0.08);
  padding: 12px;
  color: #31574f;
}

.home-hours .hours-icon {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(135deg, var(--magenta), var(--cyan));
  color: #fff;
  font-size: 20px;
  box-shadow: inset 0 -8px 16px rgba(16, 35, 31, 0.18);
}

.home-hours div {
  display: grid;
  gap: 3px;
}

.home-hours strong {
  color: var(--macula-green);
  font-size: 15px;
  line-height: 1.2;
}

.home-hours span:not(.hours-icon) {
  color: #4c655f;
  font-size: 14px;
  line-height: 1.35;
}

.shipping-highlight,
.checkout-shipping-note {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(216, 10, 120, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 167, 216, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(255, 248, 252, 0.94), rgba(237, 246, 242, 0.92));
  box-shadow:
    0 12px 28px rgba(20, 84, 68, 0.08),
    8px 8px 20px rgba(255, 202, 16, 0.08);
  color: #31574f;
}

.shipping-highlight {
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 10px;
  min-height: 82px;
}

.shipping-highlight span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--macula-green), var(--cyan));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.shipping-highlight strong,
.checkout-shipping-note strong {
  color: var(--macula-green);
  font-size: 18px;
  line-height: 1.2;
}

.shipping-highlight small,
.checkout-shipping-note span {
  color: #4c655f;
  font-size: 14px;
  line-height: 1.35;
}

.shipping-highlight small {
  grid-column: 2;
}

.home-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-width: 780px;
}

.custom-home-cta,
.custom-services-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(20, 84, 68, 0.14);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 10, 120, 0.12), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(0, 167, 216, 0.13), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 246, 242, 0.82));
  box-shadow:
    0 16px 36px rgba(20, 84, 68, 0.09),
    -8px 12px 24px rgba(216, 10, 120, 0.06);
}

.custom-home-cta {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 18px;
  max-width: 760px;
  padding: 18px;
}

.custom-home-cta h2,
.custom-services-panel h3 {
  margin: 0;
  color: var(--macula-green);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.custom-home-cta p:not(.section-kicker),
.custom-services-panel p:not(.section-kicker) {
  margin: 7px 0 0;
  color: #4c655f;
  line-height: 1.45;
}

.hero-board {
  position: relative;
  min-height: 380px;
  align-self: start;
  margin-top: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.paint-dot {
  position: absolute;
  width: 104px;
  aspect-ratio: 1;
  border-radius: 47% 53% 48% 52%;
  opacity: 0.92;
  filter: saturate(1.15);
}

.paint-dot.magenta {
  background: var(--magenta);
  left: 12%;
  top: 20%;
  animation: paintFloat 5.8s ease-in-out infinite;
}

.paint-dot.blue {
  background: var(--cyan);
  right: 18%;
  top: 12%;
  transform: rotate(19deg);
  animation: paintFloat 6.4s ease-in-out infinite 0.4s;
}

.paint-dot.yellow {
  background: var(--yellow);
  right: 20%;
  bottom: 18%;
  animation: paintFloat 5.4s ease-in-out infinite 0.8s;
}

.paint-dot.green {
  background: #74d7af;
  left: 16%;
  bottom: 18%;
  animation: paintFloat 6s ease-in-out infinite 0.2s;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(88%, 560px);
  max-height: 320px;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 28px rgba(20, 84, 68, 0.18))
    drop-shadow(18px 16px 24px rgba(216, 10, 120, 0.16))
    drop-shadow(-18px 18px 24px rgba(0, 167, 216, 0.14));
  animation: logoFloat 4.8s ease-in-out infinite;
}

.home-menu button {
  min-height: 78px;
  font-weight: 800;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 242, 0.72)),
    #fff;
  box-shadow: 0 10px 26px rgba(16, 35, 31, 0.07);
}

.home-menu button span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.home-menu button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 34px rgba(20, 84, 68, 0.13),
    -8px 10px 22px rgba(216, 10, 120, 0.12),
    8px 10px 22px rgba(0, 167, 216, 0.12);
}

.home-icon {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(135deg, var(--magenta), var(--cyan));
  box-shadow:
    inset 0 -10px 18px rgba(16, 35, 31, 0.16),
    0 8px 18px rgba(16, 35, 31, 0.16);
}

.home-icon::before {
  content: "";
  width: 28px;
  aspect-ratio: 1;
  background: #fff;
  filter: drop-shadow(0 4px 4px rgba(16, 35, 31, 0.18));
}

.shirt-icon::before,
.hoodie-icon::before,
.sport-icon::before {
  clip-path: polygon(28% 14%, 41% 7%, 59% 7%, 72% 14%, 94% 31%, 82% 49%, 70% 40%, 70% 90%, 30% 90%, 30% 40%, 18% 49%, 6% 31%);
}

.crop-icon::before {
  clip-path: polygon(24% 18%, 42% 8%, 58% 8%, 76% 18%, 94% 38%, 80% 53%, 68% 44%, 64% 72%, 36% 72%, 32% 44%, 20% 53%, 6% 38%);
}

.body-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, var(--magenta), var(--yellow));
}

.body-icon::before {
  clip-path: polygon(28% 18%, 42% 8%, 58% 8%, 72% 18%, 90% 36%, 78% 52%, 68% 44%, 63% 70%, 56% 88%, 44% 88%, 37% 70%, 32% 44%, 22% 52%, 10% 36%);
}

.hoodie-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, var(--macula-green), #111);
}

.sport-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, var(--cyan), var(--macula-green));
}

.tote-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, var(--yellow), var(--magenta));
}

.tote-icon::before {
  clip-path: polygon(24% 30%, 76% 30%, 86% 90%, 14% 90%);
}

.pet-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, #74d7af, var(--cyan));
}

.pet-icon::before {
  clip-path: polygon(50% 8%, 64% 32%, 91% 36%, 70% 55%, 76% 84%, 50% 69%, 24% 84%, 30% 55%, 9% 36%, 36% 32%);
}

.custom-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, var(--macula-green), var(--magenta) 54%, var(--yellow));
}

.custom-icon::before {
  clip-path: polygon(50% 4%, 58% 34%, 88% 24%, 66% 48%, 92% 64%, 60% 62%, 62% 94%, 50% 66%, 38% 94%, 40% 62%, 8% 64%, 34% 48%, 12% 24%, 42% 34%);
}

.catalog-view {
  padding-top: 0;
}

.custom-services-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px;
}

.whatsapp-service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.74), transparent 26%),
    linear-gradient(135deg, #25d366, var(--macula-green));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    0 12px 28px rgba(37, 211, 102, 0.28),
    8px 10px 22px rgba(20, 84, 68, 0.14);
}

.whatsapp-service-link svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

.product-art {
  --shirt: #145444;
  width: min(76%, 420px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 14%, var(--paper) 0 13%, transparent 13.4%),
    linear-gradient(135deg, transparent 0 18%, var(--shirt) 18.5% 38%, transparent 38.5%),
    linear-gradient(45deg, transparent 0 18%, var(--shirt) 18.5% 38%, transparent 38.5%),
    linear-gradient(var(--shirt), var(--shirt));
  clip-path: polygon(28% 13%, 41% 6%, 59% 6%, 72% 13%, 94% 30%, 82% 47%, 70% 39%, 70% 90%, 30% 90%, 30% 39%, 18% 47%, 6% 30%);
  box-shadow: var(--shadow);
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.toolbar h2,
.drawer h2,
.checkout-view h2 {
  margin: 0;
  color: var(--macula-green);
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0;
}

.checkout-view {
  padding-top: 28px;
}

.thanks-view {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 18px;
  text-align: center;
}

.thanks-view img {
  width: min(260px, 78vw);
  height: auto;
  margin-bottom: 22px;
}

.thanks-view h1 {
  margin: 0;
  color: var(--macula-green);
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1;
}

.thanks-view p:not(.section-kicker) {
  color: #31574f;
  font-size: 19px;
  line-height: 1.45;
}

.legal-view.active {
  display: block;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(20, 84, 68, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 246, 242, 0.82)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 42px rgba(20, 84, 68, 0.08),
    -10px 14px 30px rgba(216, 10, 120, 0.06);
}

.legal-page h1 {
  margin: 0 0 14px;
  color: var(--macula-green);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.legal-page p {
  color: #31574f;
  font-size: 17px;
  line-height: 1.6;
}

.legal-info-grid,
.legal-policy-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.legal-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-info-grid div,
.legal-policy-list article {
  border: 1px solid rgba(20, 84, 68, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.legal-info-grid span {
  display: block;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-info-grid strong,
.legal-policy-list h2 {
  display: block;
  margin-top: 6px;
  color: var(--macula-green);
}

.legal-policy-list h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.legal-policy-list p {
  margin: 0;
  font-size: 16px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: start;
}

.payment-instructions,
.checkout-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.payment-instructions p {
  color: #4c655f;
  line-height: 1.45;
}

.checkout-shipping-note {
  width: 100%;
  margin: 14px 0;
}

.payment-box,
.order-summary {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: var(--mist);
  color: #31574f;
}

.order-summary strong {
  color: var(--macula-green);
}

.checkout-availability-note {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(216, 10, 120, 0.22);
  border-radius: 8px;
  background: #fff8fc;
  padding: 10px;
}

.checkout-availability-note strong {
  color: var(--magenta);
}

.availability-details {
  display: grid;
  gap: 8px;
}

.availability-details summary {
  width: fit-content;
  cursor: pointer;
  border: 1px solid rgba(20, 84, 68, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 8px 10px;
  color: var(--macula-green);
  font-weight: 900;
}

.availability-details ul {
  margin: 0;
  padding-left: 18px;
}

.availability-details li {
  margin-top: 5px;
}

.payment-account-view {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(20, 84, 68, 0.14);
}

.payment-account-view:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.payment-bank-name {
  color: var(--macula-green);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.shipping-fields {
  display: grid;
  gap: 12px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 35, 31, 0.06);
  transform: translateY(0) scale(1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.product-card:not(.product-detail-card) {
  grid-template-rows: 180px 1fr;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(20, 84, 68, 0.34);
  box-shadow:
    0 18px 42px rgba(20, 84, 68, 0.14),
    -12px 14px 28px rgba(216, 10, 120, 0.2),
    14px 12px 28px rgba(0, 167, 216, 0.18),
    0 -8px 24px rgba(255, 202, 16, 0.14);
  transform: translateY(-5px) scale(1.012);
}

.product-media {
  min-height: 190px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(20, 84, 68, 0.08), rgba(0, 167, 216, 0.08)),
    #fbfbf8;
  position: relative;
  overflow: hidden;
}

.product-media img {
  width: 86%;
  height: 168px;
  object-fit: contain;
  display: block;
  transition: transform 0.24s ease;
}

.product-art {
  width: 70%;
  box-shadow: none;
  transition: transform 0.24s ease;
}

.product-card:hover .product-media img,
.product-card:hover .product-art,
.product-card:focus-within .product-media img,
.product-card:focus-within .product-art {
  transform: scale(1.06) rotate(-1deg);
}

.product-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.product-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.product-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.price {
  color: var(--macula-green);
  font-weight: 800;
  white-space: nowrap;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: #31574f;
  background: var(--mist);
  font-size: 13px;
}

.stock-warning {
  color: #7a4b00;
  background: #fff4cf;
  border-color: #f1d27a;
}

.backorder-note {
  color: #7a4b00 !important;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.35;
}

.availability-line {
  color: var(--magenta) !important;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.35;
}

.description {
  margin: 0;
  color: #4c655f;
  line-height: 1.45;
}

.product-card:not(.product-detail-card) .option-label {
  display: none;
}

.product-card:not(.product-detail-card) .swatches {
  gap: 6px;
}

.product-card:not(.product-detail-card) .swatch {
  width: 26px;
  height: 26px;
}

.option-block {
  display: grid;
  gap: 8px;
}

.option-label {
  color: var(--macula-green);
  font-size: 13px;
  font-weight: 700;
}

.swatches,
.size-row,
.neck-row,
.fit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch {
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.swatch.selected {
  box-shadow: 0 0 0 2px var(--macula-green);
}

.choice {
  min-width: 42px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--macula-green);
}

.choice.selected {
  background: var(--macula-green);
  color: #fff;
  border-color: var(--macula-green);
}

.quantity-control {
  display: grid;
  gap: 6px;
  color: var(--macula-green);
  font-size: 13px;
  font-weight: 700;
}

.quantity-input {
  width: 120px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
}

.quantity-warning {
  color: #7a4b00;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.quantity-warning:empty {
  display: none;
}

.primary-button {
  border: 0;
  border-radius: 7px;
  min-height: 44px;
  padding: 12px 18px;
  background: var(--macula-green);
  color: #fff;
  font-weight: 800;
}

.primary-button:hover {
  background: #0f4336;
}

.stock {
  color: #58716b;
  font-size: 13px;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: flex-end;
  background: rgba(16, 35, 31, 0.36);
}

.drawer.open {
  display: flex;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 24%, rgba(216, 10, 120, 0.24), transparent 28%),
    radial-gradient(circle at 72% 18%, rgba(0, 167, 216, 0.24), transparent 30%),
    radial-gradient(circle at 58% 82%, rgba(255, 202, 16, 0.18), transparent 32%),
    rgba(10, 18, 16, 0.58);
  backdrop-filter: blur(14px);
}

.product-modal.open {
  display: grid;
}

.product-modal-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.32),
    -20px 18px 46px rgba(216, 10, 120, 0.18),
    22px 20px 50px rgba(0, 167, 216, 0.16);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.product-detail-card {
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1.08fr);
  grid-template-rows: auto;
  border: 0;
  box-shadow: none;
}

.product-detail-card:hover,
.product-detail-card:focus-within {
  transform: none;
  box-shadow: none;
}

.product-detail-card .product-media {
  min-height: 100%;
}

.product-detail-card .product-media img {
  height: 360px;
}

.product-detail-card .product-body {
  padding: 30px;
}

.product-detail-card .product-heading h3 {
  font-size: clamp(26px, 4vw, 40px);
}

.drawer-panel {
  width: min(520px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--paper);
  padding: 24px;
  box-shadow: -20px 0 60px rgba(16, 35, 31, 0.22);
}

.admin-panel {
  width: 100%;
  min-height: 100%;
  padding: clamp(18px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 252, 255, 0.96)),
    var(--paper);
  box-shadow: none;
}

#adminDrawer {
  justify-content: stretch;
  background:
    radial-gradient(circle at 10% 12%, rgba(216, 10, 120, 0.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(0, 167, 216, 0.12), transparent 28%),
    rgba(16, 35, 31, 0.18);
  backdrop-filter: blur(10px);
}

#adminDrawer .drawer-header,
#adminDrawer .admin-tabs,
#adminDrawer .admin-view {
  width: min(1320px, 100%);
  margin-left: auto;
  margin-right: auto;
}

#adminDrawer .drawer-header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding-bottom: 14px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.82));
  backdrop-filter: blur(12px);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cart-items,
.admin-list,
.orders-list,
.users-list {
  display: grid;
  gap: 12px;
}

.orders-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.consolidated-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.consolidated-summary span {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 242, 0.74)),
    #fff;
  padding: 12px;
  color: #58716b;
  font-weight: 800;
}

.consolidated-summary strong {
  color: var(--macula-green);
  font-size: 24px;
  line-height: 1;
}

.orders-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
}

.inventory-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.inventory-summary span {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(237, 246, 242, 0.78)),
    #fff;
  padding: 12px;
  color: #58716b;
  font-size: 12px;
  font-weight: 800;
}

.inventory-summary strong {
  color: var(--macula-green);
  font-size: 24px;
  line-height: 1;
}

.inventory-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.inventory-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
}

.users-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.users-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
}

.orders-table th,
.orders-table td,
.inventory-table th,
.inventory-table td,
.users-table th,
.users-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.orders-table th,
.inventory-table th,
.users-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--mist);
  color: var(--macula-green);
  font-size: 12px;
  text-transform: uppercase;
}

.orders-table td small,
.orders-table td span {
  display: block;
  margin-top: 4px;
  color: #58716b;
}

.users-table input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--ink);
  background: #fff;
}

.inventory-qty-input {
  width: 110px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.order-detail-row td {
  padding-top: 0;
  background: #fbfbf8;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-item,
.admin-item,
.order-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.cart-thumb {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--mist);
  overflow: hidden;
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-mini-shirt {
  width: 54px;
  aspect-ratio: 1;
  background: var(--shirt);
  clip-path: polygon(28% 13%, 41% 6%, 59% 6%, 72% 13%, 94% 30%, 82% 47%, 70% 39%, 70% 90%, 30% 90%, 30% 39%, 18% 47%, 6% 30%);
}

.cart-item h3,
.admin-item h3,
.order-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.new-order-pill {
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.cart-item p,
.admin-item p,
.order-item p {
  margin: 0;
  color: #58716b;
  font-size: 13px;
}

.remove-button,
.edit-button,
.delete-button,
.share-facebook-button,
.confirm-button,
.edit-order-button,
.print-order-button,
.reject-button,
.ship-button,
.archive-button,
.delete-order-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--macula-green);
  min-height: 36px;
  padding: 8px 10px;
}

.share-facebook-button,
.catalog-share-facebook {
  border-color: rgba(24, 119, 242, 0.28);
  background: #f3f8ff;
  color: #1877f2;
}

.ship-button {
  border-color: rgba(20, 84, 68, 0.28);
  background: var(--mist);
  color: var(--macula-green);
}

.edit-order-button {
  border-color: rgba(0, 167, 216, 0.34);
  color: #047394;
}

.print-order-button {
  min-width: 38px;
  font-size: 17px;
  border-color: rgba(255, 202, 16, 0.48);
  background: #fffdf1;
}

.reject-button {
  border-color: rgba(239, 52, 48, 0.28);
  background: #fff6f6;
  color: #a92421;
}

.delete-order-button {
  color: #9c1745;
  border-color: #f3b5c9;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-subtab,
.manufactured-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--macula-green);
  min-height: 36px;
  padding: 8px 10px;
  font-weight: 800;
}

.order-subtab.active,
.manufactured-button {
  background: var(--macula-green);
  border-color: var(--macula-green);
  color: #fff;
}

.production-complete-pill {
  display: inline-grid;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e1f5eb;
  color: var(--macula-green);
  font-size: 11px;
  font-weight: 900;
}

.order-status-pill {
  display: inline-grid;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6f4;
  color: #31574f;
  font-size: 12px;
  font-weight: 900;
}

.order-status-pill.rejected,
.buyer-order-card .buyer-status.rejected {
  background: #fff0f0;
  color: #a92421;
}

.order-status-pill.confirmed,
.buyer-order-card .buyer-status.confirmed {
  background: #fff5cf;
  color: #8a5a00;
}

.order-status-pill.sent,
.buyer-order-card .buyer-status.sent {
  background: #e1f5eb;
  color: var(--macula-green);
}

.order-status-pill.received,
.buyer-order-card .buyer-status.received {
  background: #eef6f4;
  color: #31574f;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-tab {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--macula-green);
  min-height: 40px;
  padding: 10px 13px;
  font-weight: 800;
}

.admin-tab.active {
  background: var(--macula-green);
  border-color: var(--macula-green);
  color: #fff;
}

.payment-admin-list {
  display: grid;
  gap: 10px;
}

.payment-account-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.payment-account-item strong,
.payment-account-item span {
  display: block;
}

.payment-account-item strong {
  color: var(--macula-green);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.payment-account-item span {
  margin-top: 4px;
  color: #58716b;
  font-size: 13px;
}

.payment-account-item img,
.payment-image-preview img,
.payment-image {
  width: 96px;
  max-height: 80px;
  border: 1px solid var(--line);
  border-radius: 7px;
  object-fit: contain;
  background: #fff;
}

.payment-image-preview:empty {
  display: none;
}

.edit-payment-button,
.delete-payment-button,
.save-user-button,
.delete-user-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--macula-green);
  min-height: 36px;
  padding: 8px 10px;
}

.delete-payment-button,
.delete-user-button {
  color: #9c1745;
  border-color: #f3b5c9;
}

.profile-card,
.admin-section {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.profile-card strong {
  color: var(--macula-green);
  font-size: 24px;
}

.profile-card span {
  color: #58716b;
}

.account-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-mode-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--macula-green);
  font-weight: 800;
}

.account-mode-button.active {
  border-color: var(--macula-green);
  background: rgba(20, 84, 68, 0.1);
}

.register-fields {
  display: grid;
  gap: 10px;
}

.buyer-orders {
  display: grid;
  gap: 9px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

#buyerOrdersList {
  display: grid;
  gap: 9px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.buyer-order-card {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfffd;
  padding: 10px;
}

.buyer-order-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.buyer-order-card strong {
  font-size: 15px;
}

.buyer-order-card span,
.buyer-order-card small {
  color: #58716b;
}

.buyer-order-card .buyer-status {
  display: inline-grid;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf6f1;
  color: var(--macula-green);
  font-size: 12px;
  font-weight: 900;
}

.buyer-unread-pill {
  display: inline-grid;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
}

.buyer-history summary {
  color: var(--macula-green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.remove-buyer-order {
  justify-self: start;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--macula-green);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 9px;
}

.admin-section h3 {
  margin: 0;
  color: var(--macula-green);
  font-size: 24px;
}

section.admin-view {
  display: none;
}

section.admin-view.active {
  display: grid;
}

.visit-counter-card {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 8px;
  width: auto;
  min-width: 118px;
  padding: 8px 10px;
  border: 1px solid rgba(216, 10, 120, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 10% 16%, rgba(0, 167, 216, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(255, 248, 252, 0.96), rgba(237, 246, 242, 0.92));
  box-shadow: 0 8px 18px rgba(20, 84, 68, 0.08);
}

.visit-counter-card span {
  color: var(--macula-green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.visit-counter-card strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--magenta);
  font-size: 22px;
  line-height: 1;
}

.visit-counter-card small {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #58716b;
  font-size: 11px;
}

.order-search {
  display: grid;
  gap: 6px;
  color: var(--macula-green);
  font-size: 13px;
  font-weight: 800;
}

.order-search input {
  width: min(100%, 420px);
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  color: var(--ink);
  font: inherit;
}

.order-item {
  grid-template-columns: 1fr auto;
}

.proof-link {
  color: var(--macula-green);
  font-weight: 800;
}

.order-details {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.order-details summary {
  color: var(--macula-green);
  cursor: pointer;
  font-weight: 800;
}

.order-details dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 7px 12px;
  margin: 12px 0 0;
}

.order-details dt {
  color: var(--macula-green);
  font-weight: 800;
}

.order-details dd {
  margin: 0;
  color: #31574f;
}

.order-history {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.order-history li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 18px;
}

.order-history li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow:
    8px 4px 0 rgba(0, 167, 216, 0.55),
    4px 11px 0 rgba(255, 202, 16, 0.6);
}

.order-history strong {
  color: var(--macula-green);
  font-size: 13px;
}

.order-history span,
.order-history small {
  color: #58716b;
  font-size: 12px;
}

.order-edit-products {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfffd;
  padding: 14px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.section-heading-row h3 {
  margin: 0;
  color: var(--macula-green);
}

#orderEditItems {
  display: grid;
  gap: 10px;
}

.order-edit-item {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) repeat(5, minmax(90px, 0.8fr)) auto;
  gap: 8px;
  align-items: end;
  border: 1px solid rgba(215, 230, 222, 0.86);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.order-edit-item label {
  display: grid;
  gap: 5px;
  color: var(--macula-green);
  font-size: 12px;
  font-weight: 800;
}

.order-edit-item input,
.order-edit-item select {
  min-height: 38px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
  color: var(--ink);
}

.delete-order-item {
  min-height: 38px;
  border: 1px solid #f3b5c9;
  border-radius: 7px;
  background: #fff;
  color: #9c1745;
  font-weight: 800;
}

.order-edit-total {
  justify-self: end;
  color: var(--macula-green);
  font-size: 20px;
}

.color-editor {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.color-editor legend {
  color: var(--macula-green);
  font-weight: 800;
  padding: 0 6px;
}

.variant-stock-editor {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.variant-stock-editor legend {
  color: var(--macula-green);
  font-weight: 800;
  padding: 0 6px;
}

.variant-stock-search {
  max-width: 520px;
}

.admin-form select[multiple] {
  min-height: 160px;
}

.variant-stock-search input {
  background: rgba(255, 255, 255, 0.95);
}

.variant-stock-table {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.variant-stock-row {
  grid-template-columns: minmax(180px, 1fr) 100px 130px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(215, 230, 222, 0.8);
  border-radius: 8px;
  background: #fff;
  padding: 9px;
}

.variant-stock-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #31574f;
  font-size: 13px;
  font-weight: 800;
}

.mini-swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.color-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
}

.color-token span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.whatsapp-button {
  --wa-color: #25d366;
  --wa-shadow-a: rgba(37, 211, 102, 0.32);
  --wa-shadow-b: rgba(20, 84, 68, 0.18);
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.7), transparent 28%),
    var(--wa-color);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 12px 30px var(--wa-shadow-a),
    0 0 0 8px rgba(255, 255, 255, 0.72),
    10px 10px 26px var(--wa-shadow-b);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover {
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-button svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp-button[hidden] {
  display: none !important;
}

body[data-accent="home"] .whatsapp-button {
  --wa-color: #25d366;
}

body[data-accent="camisetas"] .whatsapp-button {
  --wa-color: var(--macula-green);
  --wa-shadow-a: rgba(20, 84, 68, 0.34);
}

body[data-accent="crop-tops"] .whatsapp-button {
  --wa-color: var(--magenta);
  --wa-shadow-a: rgba(216, 10, 120, 0.34);
}

body[data-accent="bodys"] .whatsapp-button {
  --wa-color: #ef5aa5;
  --wa-shadow-a: rgba(239, 90, 165, 0.34);
}

body[data-accent="hoddies"] .whatsapp-button {
  --wa-color: #111111;
  --wa-shadow-a: rgba(17, 17, 17, 0.28);
}

body[data-accent="deportivos"] .whatsapp-button {
  --wa-color: var(--cyan);
  --wa-shadow-a: rgba(0, 167, 216, 0.34);
}

body[data-accent="otros-textiles"] .whatsapp-button {
  --wa-color: var(--yellow);
  --wa-shadow-a: rgba(255, 202, 16, 0.36);
  color: var(--macula-green);
}

body[data-accent="mascotas"] .whatsapp-button {
  --wa-color: #74d7af;
  --wa-shadow-a: rgba(116, 215, 175, 0.36);
  color: var(--macula-green);
}

body[data-accent="nuestros-personalizados"] .whatsapp-button {
  --wa-color: var(--magenta);
  --wa-shadow-a: rgba(216, 10, 120, 0.34);
}

body[data-accent="checkout"] .whatsapp-button,
body[data-accent="thanks"] .whatsapp-button {
  --wa-color: var(--magenta);
  --wa-shadow-a: rgba(216, 10, 120, 0.32);
}

.cart-summary {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  color: var(--macula-green);
  font-size: 20px;
}

.cart-availability-notice {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid rgba(216, 10, 120, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 252, 0.96), rgba(247, 252, 255, 0.94));
  color: #31574f;
  padding: 13px;
}

.cart-availability-notice strong {
  color: var(--magenta);
}

.cart-availability-notice span {
  color: #31574f;
}

.cart-availability-notice ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.admin-form {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.helper-text {
  margin: 0;
  color: #58716b;
  line-height: 1.45;
}

label {
  display: grid;
  gap: 7px;
  color: var(--macula-green);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.check-row input {
  width: auto;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: #58716b;
  text-align: center;
  background: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  transform: translateX(-50%) translateY(24px);
  opacity: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 7px;
  transition: 0.2s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg) scale(1);
  }

  50% {
    transform: translateY(-10px) rotate(1deg) scale(1.025);
  }
}

@keyframes paintFloat {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: 8px -10px;
    scale: 1.06;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .paint-dot,
  .product-card,
  .product-media img,
  .product-art {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 150px 1fr;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    display: flex;
    margin-top: 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-edit-item {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .delete-order-item {
    grid-column: 1 / -1;
  }

  .home-view {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-info-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-home-cta,
  .custom-services-panel {
    grid-template-columns: 1fr;
  }

  .hero-board {
    min-height: 320px;
    margin-top: 8px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: auto;
    gap: 8px;
  }

  .brand img {
    width: 118px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  .main-nav {
    grid-column: 1 / -1;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 3px;
  }

  .nav-link,
  .account-button,
  .cart-button {
    min-height: 36px;
    padding: 8px 10px;
  }

  .nav-link {
    white-space: nowrap;
  }

  main {
    padding-inline: 14px;
  }

  .home-view h1 {
    font-size: 58px;
  }

  .home-menu {
    grid-template-columns: 1fr 1fr;
  }

  .home-info-row {
    grid-template-columns: 1fr;
  }

  .inventory-summary {
    grid-template-columns: 1fr;
  }

  .admin-header-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
  }

  .visit-counter-card {
    transform: scale(0.92);
    transform-origin: right top;
  }

  .custom-home-cta,
  .custom-services-panel {
    padding: 14px;
  }

  .whatsapp-service-link {
    border-radius: 12px;
    justify-content: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .legal-info-grid {
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding: 22px 16px;
  }

  .hero-board {
    min-height: 240px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .product-detail-card .product-media {
    min-height: 240px;
  }

  .form-row,
  .cart-item,
  .admin-item,
  .order-edit-item {
    grid-template-columns: 1fr;
  }

  .section-heading-row,
  .buyer-order-card div {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-thumb {
    width: 100%;
  }
}
