﻿:root {
  --mysto-template-primary-color: #541c1d;
  --mysto-template-font-heading: Arial, sans-serif;
  --mysto-template-font-body: Arial, sans-serif;
}

/* Apply fonts globally - no need for Tailwind classes */
body,
p,
span,
div,
a,
li,
td,
th {
  font-family: var(--mysto-template-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: var(--mysto-template-font-heading);
}

/* body,html {
    scroll-behavior: smooth;
  } */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove number input arrows for Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.swup-progress-bar {
  height: 4px;
  background-color: white;
}

/* â”€â”€ Nova premium header (overlay â†’ sticky solid on scroll) â”€â”€ */
:root,
body {
  --nova-header-main-h: 3.5rem;
  --nova-header-announcement-h: 2.25rem;
  --nova-header-total-h: calc(var(--nova-header-announcement-h) + var(--nova-header-main-h));
}

@media (min-width: 768px) {
  :root,
  body {
    --nova-header-main-h: 4.25rem;
  }
}

@media (max-width: 767px) {
  :root,
  body {
    --nova-header-announcement-h: 2.5rem;
    --nova-header-total-h: calc(var(--nova-header-announcement-h) + var(--nova-header-main-h) + 0.75rem);
  }
}

.nova-header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.nova-header__announcement {
  background: #f3f2f0;
  color: #4b5563;
  transition: background-color 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nova-header__main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.nova-header__inner {
  position: relative;
  z-index: 1;
}

.nova-header__link,
.nova-header__action,
.nova-header__icon {
  color: inherit;
}

/* Overlay — sits over hero on homepage */
.nova-header.is-overlay .nova-header__main {
  background: rgba(15, 15, 15, 0.116);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nova-header.is-overlay .nova-header__main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 42%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.nova-header.is-overlay .nova-header__main::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  z-index: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: nova-header-shimmer 5.5s ease-in-out infinite;
}

@keyframes nova-header-shimmer {
  0% {
    left: -120%;
  }

  100% {
    left: 220%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nova-header.is-overlay .nova-header__main::after {
    animation: none;
    opacity: 0;
  }
}

.nova-header.is-overlay .nova-header__announcement {
  background: #f3f2f0;
  color: #4b5563;
}

.nova-header.is-overlay .nova-header__link,
.nova-header.is-overlay .nova-header__action,
.nova-header.is-overlay .nova-header__logo span {
  color: #fff;
}

.nova-header.is-overlay .nova-header__action:hover,
.nova-header.is-overlay .nova-header__link:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* Always show uploaded logo in original colors â€” never invert */
.nova-header__logo-img {
  display: block;
  filter: none !important;
  opacity: 1;
  background: none !important;
  object-fit: contain;
}

/* White chip behind logo on dark overlay so JPG / dark logos stay visible */
/* .nova-header.is-overlay .nova-header__logo {
  background: rgba(255, 255, 255, 0.97);
  padding: 0.25rem 0.75rem;
  line-height: 0;
  border-radius: 2px;
} */

.nova-header.is-solid .nova-header__logo {
  background: transparent;
  padding: 0;
}

/* Solid â€” sticky light bar while scrolling / inner pages */
.nova-header.is-solid {
  background: #f8f7f5;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nova-header.is-solid .nova-header__announcement {
  background: #f8f7f5;
  color: #4b5563;
  border-bottom: 1px solid #e8e6e3;
}

.nova-header.is-solid .nova-header__main {
  background: #f8f7f5;
  border-bottom: 1px solid #e8e6e3;
}

.nova-header.is-solid .nova-header__main::before,
.nova-header.is-solid .nova-header__main::after {
  content: none;
}

.nova-header.is-solid .nova-header__link,
.nova-header.is-solid .nova-header__action,
.nova-header.is-solid .nova-header__logo span {
  color: #1f2937;
}

.nova-header.is-solid .nova-header__action:hover,
.nova-header.is-solid .nova-header__link:hover {
  color: var(--mysto-template-primary-color, #541c1d);
}

/* Reserve space when header is solid so content isn't hidden under fixed bar */
body.nova-header-solid {
  padding-top: var(--nova-header-total-h);
}

body.nova-header-overlay {
  padding-top: 0;
}

/* Homepage â€” premium category cards */
.nova-category-card-link {
  text-decoration: none;
}

.nova-category-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 5 / 5;
  border-radius: 20px;
  background: #e7e5e4;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}

@media (min-width: 768px) {
  .nova-category-card {
    aspect-ratio: 5 / 5;
    border-radius: 20px;
  }
}

.nova-category-card-link:hover .nova-category-card {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.nova-category-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nova-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.096);
  transition: background-color 0.45s ease;
}

.nova-category-card-link:hover .nova-category-card::before {
  background: rgba(0, 0, 0, 0.295);
}

.nova-category-card-link:hover .nova-category-card__image {
  transform: scale(1.05);
}

.nova-category-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1rem;
}

@media (min-width: 768px) {
  .nova-category-card__content {
    padding: 1.75rem 1.5rem;
  }
}

.nova-category-card__title {
  margin: 0 0 0.625rem;
  color: #fff;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .nova-category-card__title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .nova-category-card__title {
    font-size: 1.85rem;
  }
}

.nova-category-card__desc {
  margin: 0 0 1rem;
  max-width: 17rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--mysto-template-font-body);
  font-size: 0.6875rem;
  font-weight: 300;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (min-width: 768px) {
  .nova-category-card__desc {
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    max-width: 22rem;
  }
}

.nova-category-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 9.5rem;
  padding: 0.7rem 1.25rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-family: var(--mysto-template-font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  border-radius: 20px;
}

.nova-category-card__cta-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.nova-category-card-link:hover .nova-category-card__cta-icon,
.nova-category-card-link:focus-visible .nova-category-card__cta-icon,
.nova-category-card-link:active .nova-category-card__cta-icon {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .nova-category-card__cta {
    min-width: 10.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.6875rem;
  }
}

.nova-category-card-link:hover .nova-category-card__cta,
.nova-category-card-link:focus-visible .nova-category-card__cta,
.nova-category-card-link:active .nova-category-card__cta {
  background: var(--mysto-template-primary-color, #541c1d);
  border-color: var(--mysto-template-primary-color, #541c1d);
  color: #fff;
  transform: translateY(-1px);
}

/* Homepage — premium product cards (editorial layout) */
.nova-product-card-wrap {
  display: block;
  text-decoration: none;
  color: inherit;
}

.nova-product-card__image-link,
.nova-product-card__title-link {
  text-decoration: none;
  color: inherit;
}

.nova-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border-radius: 1.125rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .nova-product-card {
    border-radius: 1.25rem;
  }
}

.nova-product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: transparent;
  border-radius: 1.125rem;
}

@media (min-width: 768px) {
  .nova-product-card__media {
    border-radius: 1.25rem;
  }
}

.nova-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.nova-product-card-wrap:hover .nova-product-card__image:not(.nova-product-card__image--oos) {
  opacity: 0.94;
}

.nova-product-card__image--oos {
  filter: grayscale(1);
  opacity: 0.65;
}

.nova-product-card__badges {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.nova-product-card__badge {
  display: inline-block;
  padding: 0.3rem 0.5rem;
  font-family: var(--mysto-template-font-body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 0.375rem;
}

.nova-product-card__badge--sale {
  background: var(--mysto-template-primary-color, #541c1d);
  color: #fff;
}

.nova-product-card__badge--stock {
  background: #111827;
  color: #fff;
}

.nova-product-card__body {
  padding: 0.875rem 0.625rem 1.125rem;
  text-align: center;
  background: transparent;
}

@media (min-width: 768px) {
  .nova-product-card__body {
    padding: 1rem 0.75rem 1.375rem;
  }
}

.nova-product-card__title {
  margin: 0 0 0.375rem;
  font-family: var(--mysto-template-font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: #374151;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .nova-product-card__title {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
}

.nova-product-card-wrap:hover .nova-product-card__title {
  color: #111827;
}

.nova-product-card__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.375rem 0.5rem;
}

.nova-product-card__price {
  font-family: var(--mysto-template-font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: #374151;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .nova-product-card__price {
    font-size: 0.875rem;
  }
}

.nova-product-card__compare {
  font-size: 0.75rem;
  font-weight: 300;
  color: #9ca3af;
  text-decoration: line-through;
}

/* Section â€” View All links */
.nova-section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid #111827;
  border-radius: 9999px;
  background: transparent;
  color: #111827;
  font-family: var(--mysto-template-font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}

@media (min-width: 768px) {
  .nova-section-link {
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
  }
}

.nova-section-link:hover,
.nova-section-link:focus-visible {
  background: var(--mysto-template-primary-color, #541c1d);
  border-color: var(--mysto-template-primary-color, #541c1d);
  color: #fff;
  transform: translateY(-1px);
}

.nova-section-link__icon {
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.nova-section-link:hover .nova-section-link__icon,
.nova-section-link:focus-visible .nova-section-link__icon {
  transform: translateX(3px);
}

.nova-section-link--center {
  margin-inline: auto;
}

/* Shop page — category card sizing overrides */
.nova-category-card--shop {
  aspect-ratio: 1 / 1;
}

@media (max-width: 639px) {
  .nova-category-card--shop {
    aspect-ratio: 4 / 5;
  }

  .nova-category-card-link--shop .nova-category-card__content {
    justify-content: flex-end;
    padding: 1.25rem 1rem 1.5rem;
    gap: 0.5rem;
    background: linear-gradient(
      180deg,
      transparent 35%,
      rgba(0, 0, 0, 0.35) 72%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  .nova-category-card-link--shop .nova-category-card__title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0;
  }

  .nova-category-card-link--shop .nova-category-card__desc {
    margin-bottom: 0.625rem;
    max-width: 100%;
    font-size: 0.8125rem;
    -webkit-line-clamp: 2;
  }

  .nova-category-card-link--shop .nova-category-card__cta {
    min-width: auto;
    width: 100%;
    max-width: 16rem;
    padding: 0.8rem 1.35rem;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
  }
}

.nova-category-card-link--shop .nova-category-card__title {
  font-size: 1.375rem;
}

@media (min-width: 768px) {
  .nova-category-card-link--shop .nova-category-card__content {
    padding: 1.5rem 1rem;
    justify-content: center;
  }

  .nova-category-card-link--shop .nova-category-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
  }

  .nova-category-card-link--shop .nova-category-card__desc {
    margin-bottom: 1rem;
    max-width: 100%;
    font-size: 0.8125rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  .nova-category-card-link--shop .nova-category-card__cta {
    min-width: auto;
    width: 100%;
    max-width: 14rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
  }

  .nova-category-card-link--shop .nova-category-card__cta-icon {
    width: 0.875rem;
    height: 0.875rem;
  }
}

@media (min-width: 1280px) {
  .nova-category-card-link--shop .nova-category-card__content {
    padding: 1.75rem 1.25rem;
  }

  .nova-category-card-link--shop .nova-category-card__title {
    font-size: 1.625rem;
    margin-bottom: 0.75rem;
  }

  .nova-category-card-link--shop .nova-category-card__desc {
    margin-bottom: 1.125rem;
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }

  .nova-category-card-link--shop .nova-category-card__cta {
    max-width: 15rem;
    padding: 0.8rem 1.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }

  .nova-category-card-link--shop .nova-category-card__cta-icon {
    width: 0.9375rem;
    height: 0.9375rem;
  }
}

