@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

/* jtnovaone site footer — wine / blush beauty retail */
.dz-site-footer {
  --dz-ink: #2a121c;
  --dz-muted: #7a5c68;
  --dz-wine: #5b0a38;
  --dz-wine-soft: rgba(91, 10, 56, 0.08);
  --dz-orange: var(--dtm-brand-primary);
  --dz-ready: #0d9488;
  --dz-paper: #fff7fa;
  --dz-line: rgba(91, 10, 56, 0.12);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 40px;
  padding: 44px 18px 32px;
  color: var(--dz-ink);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(245, 146, 7, 0.12), transparent 42%),
    radial-gradient(90% 70% at 100% 10%, rgba(91, 10, 56, 0.1), transparent 46%),
    linear-gradient(165deg, #fffafb 0%, #fff1f5 48%, #ffe8ef 100%);
  border-top: 1px solid var(--dz-line);
  font-family: "DM Sans", system-ui, sans-serif;
}

.dz-site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--dz-wine) 0%, var(--dz-orange) 55%, #20c7b5 100%);
  opacity: 0.95;
}

.dz-site-footer::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 48%;
  height: 70%;
  background: radial-gradient(circle, rgba(91, 10, 56, 0.07), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.dz-site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  animation: dzFooterRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

@media (prefers-reduced-motion: reduce) {
  .dz-site-footer__inner { animation: none; }
  .dz-site-footer__col a::after { transition: none; }
}

.dz-site-footer__top {
  display: grid;
  gap: 28px;
  margin-bottom: 8px;
}

.dz-site-footer__brand {
  max-width: 420px;
}

.dz-site-footer__mark {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.dz-site-footer__logo {
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--dz-wine);
}

.dz-site-footer__logo-img {
  display: block;
  width: min(220px, 70vw);
  height: auto;
  object-fit: contain;
}

.dz-site-footer__logo-rule {
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dz-orange), var(--dz-wine));
  transform-origin: left center;
  animation: dzFooterRule 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dzFooterRule {
  from { transform: scaleX(0); opacity: 0.2; }
  to { transform: scaleX(1); opacity: 1; }
}

.dz-site-footer__tag {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dz-muted);
  max-width: 34ch;
}

.dz-site-footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.dz-site-footer__pay li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dz-ready);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.18);
  padding: 6px 10px;
  border-radius: 999px;
}

.dz-site-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.dz-site-footer__col {
  min-width: 0;
}

.dz-site-footer__col h3 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dz-wine);
}

.dz-site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dz-site-footer__col a {
  position: relative;
  display: inline-flex;
  width: fit-content;
  color: var(--dz-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.dz-site-footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--dz-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.dz-site-footer__col a:hover,
.dz-site-footer__col a:focus-visible {
  color: var(--dz-wine);
}

.dz-site-footer__col a:hover::after,
.dz-site-footer__col a:focus-visible::after {
  transform: scaleX(1);
}

.dz-site-footer__bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--dz-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dz-muted);
}

.dz-site-footer__copy {
  font-weight: 600;
  color: #5c3f4a;
}

.dz-site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  align-items: center;
}

.dz-site-footer__bottom-links a {
  color: var(--dz-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.dz-site-footer__bottom-links a:hover,
.dz-site-footer__bottom-links a:focus-visible {
  color: var(--dz-wine);
  background: var(--dz-wine-soft);
}

.dz-site-footer__bottom-links span {
  color: rgba(91, 10, 56, 0.28);
  font-weight: 500;
  user-select: none;
}

/* Space above fixed bottom nav on shop pages */
body:has(.bottom-nav) .dz-site-footer {
  padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 700px) {
  .dz-site-footer {
    padding: 56px 28px 40px;
  }

  .dz-site-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 36px;
  }
}

@media (min-width: 980px) {
  .dz-site-footer {
    padding: 64px 36px 44px;
    margin-top: 56px;
  }

  .dz-site-footer__top {
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.35fr);
    gap: 48px;
    align-items: start;
  }

  .dz-site-footer__cols {
    gap: 20px 40px;
  }

  .dz-site-footer__tag {
    font-size: 16px;
  }
}

/* Sister storefront switcher (account page) */
.dz-sister-site-mount {
  margin-bottom: 16px;
}

.dz-sister-site-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, #fff7fa 0%, #ffffff 55%);
  border: 1px solid rgba(91, 10, 56, 0.12);
  box-shadow: 0 2px 8px rgba(91, 10, 56, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.dz-sister-site-card:hover {
  border-color: rgba(91, 10, 56, 0.22);
  box-shadow: 0 4px 14px rgba(91, 10, 56, 0.1);
  transform: translateY(-1px);
}

.dz-sister-site-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 10, 56, 0.08);
  color: #5b0a38;
  flex-shrink: 0;
}

.dz-sister-site-card__icon .material-icons {
  font-size: 22px;
}

.dz-sister-site-card__body {
  flex: 1;
  min-width: 0;
}

.dz-sister-site-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.dz-sister-site-card__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.dz-sister-site-card__note strong {
  color: #374151;
  font-weight: 600;
}

.dz-sister-site-card__arrow {
  font-size: 20px;
  color: #9ca3af;
  flex-shrink: 0;
  margin-top: 2px;
}
