@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Bridge theme to Bootstrap defaults */
:root {
  --bs-body-bg: #fffbf3;
  --bs-body-color: #1a1a1a;
}

/* Full-height page and theme colors */
html,
body {
  height: 100%;
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color);
}

/* Grid page: header | main (fills) | footer */
body {
  margin: 0;
  font-family: "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto; /* footer after content */
}

/* Make custom elements behave like normal blocks */
prasis-header,
prasis-footer {
  display: block;
}

/* Ensure footer isn't fixed or overlaying on mobile */
footer,
prasis-footer {
  position: static !important;
  inset: auto;
  z-index: auto;
}

/* Main grows and keeps distance to footer */
main {
  min-width: 0;
  overflow: visible;
  /* extra breathing room above footer + iOS safe area */
  padding-bottom: calc(env(safe-area-inset-bottom) + clamp(1rem, 4vw, 2rem));
}

/* Media defaults */
img,
svg {
  display: block;
  max-width: 100%;
}

/* Prevent form controls from exceeding their container on small screens */
input,
textarea,
select,
button {
  max-width: 100%;
}

/* Links: keep Bootstrap color, refine underline */
a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* ===== Layout container ===== */
/* centers content and limits line length */
.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

/* Narrow container utility for forms/blocks (used on Contact form) */
.max-w-720 {
  max-width: 45rem;
  width: 100%;
  margin-inline: auto;
}

/* ===== Hero (about/contact/etc.) ===== */
.hero--light {
  background: #fffbf3;
}

.hero--pad-lg {
  /* comfortable vertical spacing; responsive */
  padding-block: clamp(1.25rem, 4vw, 3rem);
}

/* NEW: center all hero contents horizontally */
.hero__inner {
  display: grid;
  justify-items: center;
}

.hero__branding {
  text-align: center;
  margin-bottom: 1rem;
}

.hero__logo {
  /* bigger but still responsive */
  display: block;
  width: clamp(260px, 40vw, 520px);
  height: auto;
  margin-inline: auto;
}

.hero__subtitle {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: clamp(0.9rem, 1.1vw, 1.125rem);
  opacity: 0.85;
  margin-top: 0.25rem;
  text-align: center;
}

.hero__lede {
  max-width: 64ch;
  margin: 0 auto;
  padding-inline: 1rem;
  text-align: center;
}

/* !!1
   DESKTOP-FIRST DEFAULTS (apply to size M–XL by default)
   !!! */
/* Header shell */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  min-height: 72px; /* was 64px */
  gap: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  display: block;
  height: 36px; /* tweak as needed */
  width: auto;
}

/* Right cluster: toggle + nav */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Toggle (hidden on desktop by default) */
.site-header__toggle {
  appearance: none;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: none; /* desktop default: hidden */
}

.site-header__toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Nav: desktop inline */
.site-header__nav {
  /* if HTML sets [hidden], ignore it on desktop */
}

.site-header__nav[hidden] {
  display: block !important; /* desktop: nav always visible */
}

/* Nav list & items */
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row; /* desktop inline */
  align-items: center;
  gap: 1rem;
}

/* Links */
.nav__link {
  display: block;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  /* single source of truth for hit-area */
  padding-block: 0.5rem;
  padding-inline: 0.25rem;
  /* keyboard focus */
}
.nav__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.nav__link {
  /* hover */
}
.nav__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* Active/current state */
.nav__link.is-active,
.nav__link[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

/* Cart link & badge */
.nav__link--cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__cart-badge {
  display: inline-block;
  min-width: 1.25em;
  line-height: 1.25em;
  font-size: 0.875rem;
  text-align: center;
  border-radius: 9999px;
  padding-inline: 0.375em;
  border: 1px solid currentColor; /* inherits text color */
  flex: 0 0 auto; /* prevent shrinking in flex containers */
}

/* Logout button — match style-guide "Secondary" */
.nav__logout {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1.1;
  font-weight: 600;
  background: #ffffff;
  color: #1a1a1a;
  border: 2px solid #eba727; /* thicker accent border */
  border-radius: 0.75rem; /* softer corners */
  cursor: pointer;
  transition: background-color 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.nav__logout:hover {
  background: rgb(253, 246.2, 233.4);
  text-decoration: none;
}
.nav__logout {
  /* smoother focus ring that follows the radius */
}
.nav__logout:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(235, 167, 39, 0.35);
}
.nav__logout:active {
  transform: translateY(1px);
}

/* Optional JS hook */
.site-header__nav[data-open=true] {
  display: block;
}

/* !!!
   MOBILE OVERRIDES (size s) (≤ 767px)
   !!! */
@media (max-width: 767px) {
  /* show the toggle on mobile */
  .site-header__toggle {
    display: inline-block;
  }
  /* respect [hidden] on mobile (JS will remove when opening) */
  .site-header__nav[hidden] {
    display: none !important;
  }
  /* full-width nav under header row */
  .site-header__nav {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 0.25rem;
  }
  /* stack items vertically */
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin-top: 0.25rem;
  }
  /* larger touch target */
  .nav__link {
    padding-block: 0.75rem;
  }
  /* header alignment when nav stacks */
  .site-header__inner {
    align-items: center; /* center logo + menu vertically */
    min-height: 64px; /* consistent bar height on mobile */
  }
  /* auth row nicety */
  .nav__item--auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}
:where(.site-header) button[aria-controls]:hover {
  background: rgba(0, 0, 0, 0.05);
}

:where(.site-header) button[aria-controls]:active {
  background: rgba(0, 0, 0, 0.08);
}

:where(.site-header) button[aria-controls]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* If you render an icon inside the button */
:where(.site-header) button[aria-controls] svg {
  inline-size: 1.1em;
  block-size: 1.1em;
}

/* Mobile: style the header toggle as a secondary button */
@media (max-width: 767px) {
  .site-header__toggle {
    appearance: none;
    background: transparent;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    line-height: 1;
    font: inherit;
    font-weight: 600;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    -webkit-tap-highlight-color: transparent;
  }
  .site-header__toggle:hover {
    background: rgba(0, 0, 0, 0.05);
  }
  .site-header__toggle:active {
    background: rgba(0, 0, 0, 0.08);
  }
  .site-header__toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
  .site-header__toggle svg {
    inline-size: 1.1em;
    block-size: 1.1em;
  }
}
@media (max-width: 767px) {
  .site-header__toggle {
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
    color: #1a1a1a !important;
    border: 2px solid #1a1a1a !important; /* bold, easy to see */
    border-radius: 999px !important;
    padding: 0.5rem 0.9rem !important;
    line-height: 1 !important;
    font-weight: 600 !important;
  }
}
/* Mobile: make the nav a dropdown panel anchored to the toggle */
@media (max-width: 767px) {
  .site-header__right {
    position: relative; /* anchor for absolute dropdown */
  }
  /* When the nav is shown (JS removes [hidden]) it appears as a floating panel */
  .site-header__nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: max-content; /* fit to content */
    min-width: 220px; /* but not too tiny */
    max-height: min(60vh, 480px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.5rem; /* panel padding */
    z-index: 1000;
    /* override earlier mobile "full-width under header" style */
    border-top: 0;
    padding-top: 0.5rem;
  }
  /* Make each item look clean inside the panel */
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin: 0;
  }
  .nav__link {
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
  }
  .nav__link:hover {
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
  }
  /* Auth row spacing inside the panel */
  .nav__item--auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0;
  }
}
/* =========================
   Footer (scoped to .site-footer)
   ========================= */
:where(.site-footer) {
  background: #ffffff;
  color: #1a1a1a;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Layout: mobile stacks; desktop = left | (nav | social) */
:where(.site-footer) .site-footer__inner {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: 1rem;
  align-items: start;
  padding-block: 2rem; /* vertical rhythm; container handles inline padding */
}

@media (min-width: 720px) {
  :where(.site-footer) .site-footer__inner {
    grid-template-columns: 1.2fr 2fr; /* left | right-group */
  }
}
/* Left: logo + © */
:where(.site-footer) .site-footer__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

:where(.site-footer) .site-footer__logo .logo__img {
  display: block;
  inline-size: auto;
  block-size: 40px;
}

:where(.site-footer) .site-footer__copyright {
  margin: 0;
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* Right group (nav | social) */
:where(.site-footer) .site-footer__right {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  :where(.site-footer) .site-footer__right {
    grid-template-columns: 2fr 1fr; /* nav | social */
    align-items: center;
  }
}
/* Middle nav: no bullets; inline with separators */
:where(.site-footer) .footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

:where(.site-footer) .footer-nav__item {
  display: inline-flex;
  align-items: center;
}

/* Prevent awkward word breaks inside links */
:where(.site-footer) .footer-nav__link {
  white-space: nowrap;
}

/* Right social: keep pipes */
:where(.site-footer) .site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  justify-content: flex-start;
}

:where(.site-footer) .site-footer__social .social__link + .social__link::before {
  content: "|";
  margin-inline: 0.5rem 0.25rem;
  opacity: 0.5;
}

/* Footer-only link styles */
:where(.site-footer) a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

:where(.site-footer) a:hover,
:where(.site-footer) a:focus-visible {
  text-decoration: underline;
}

:where(.site-footer) a:visited {
  color: inherit;
  opacity: 0.95;
}

:where(.site-footer) a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (min-width: 720px) {
  :where(.site-footer) .footer-nav__list {
    max-width: 460px; /* adjust 420–520px to taste */
    margin-inline: auto; /* center within its grid cell */
    justify-content: center;
  }
}
/* Desktop: vertically center left | middle | right */
@media (min-width: 720px) {
  :where(.site-footer) .site-footer__inner {
    align-items: center;
  }
}
/* Keep the pipe attached to its item so lines don't end with '|' */
:where(.site-footer) .footer-nav__item {
  white-space: nowrap;
}

:where(.site-footer) .footer-nav__item:not(:last-child)::after {
  content: " | "; /* nbsp | nbsp for spacing */
  opacity: 0.5;
}

/* Desktop: let nav/social shrink so layout doesn't get funky */
@media (min-width: 720px) {
  :where(.site-footer) .site-footer__right > * {
    min-width: 0; /* critical for grid children to wrap instead of overflow */
  }
}
/* Desktop: center left and right sections horizontally, to match middle */
@media (min-width: 720px) {
  :where(.site-footer) .site-footer__left {
    justify-content: center; /* was left-aligned */
    text-align: center;
  }
  :where(.site-footer) .site-footer__social {
    justify-content: center; /* override earlier flex-end */
    text-align: center;
  }
}
/* Mobile: center brand/copyright and socials */
@media (max-width: 600px) {
  :where(.site-footer) .site-footer__left {
    flex-direction: column; /* keep stacked */
    align-items: center; /* center horizontally */
    text-align: center;
    gap: 0.25rem;
  }
  :where(.site-footer) .site-footer__copyright {
    margin: 0; /* tidy */
  }
  :where(.site-footer) .site-footer__social {
    justify-content: center; /* center socials row */
    text-align: center;
  }
}
/* Mobile: vertical, centered middle nav; no pipes */
@media (max-width: 600px) {
  :where(.site-footer) .footer-nav__list {
    flex-direction: column;
    align-items: center; /* center the whole column */
    gap: 0.375rem;
  }
  :where(.site-footer) .footer-nav__item {
    justify-content: center; /* center each row */
  }
  :where(.site-footer) .footer-nav__item::after {
    content: none !important; /* no '|' on mobile */
  }
  :where(.site-footer) .footer-nav__link {
    white-space: normal; /* allow wrapping if a label is long */
  }
}
/* Mobile: copyright sizing (inside centered layout) */
@media (max-width: 600px) {
  :where(.site-footer) .site-footer__copyright {
    font-size: 0.875rem;
    opacity: 0.8;
  }
}
/**
 * !!!
 * Forms & Buttons
 * !!!
 */
/* ===== Auth form (login/register) ===== */
/* scoped classes so we don't fight Bootstrap */
.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.form-row {
  display: grid;
  gap: 0.375rem;
}

.auth-form label {
  font-weight: 600;
}

.input {
  /* match style guide look */
  display: block;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 2px solid #eba727;
  border-radius: 8px;
  background: #fff;
  line-height: 1.2;
}
.input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(235, 167, 39, 0.25);
}

.error {
  color: #986b42;
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.95rem;
}

/* ===== Buttons (style guide) ===== */
.btn {
  display: inline-block;
  font: 600 1rem/1 "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform 40ms ease, filter 150ms ease, background-color 150ms ease;
}
.btn:focus-visible {
  outline: 2px solid #eba727;
  outline-offset: 2px;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Primary = filled brand color */
.btn.btn--primary {
  background: #986b42;
  color: #fff;
  border-color: #986b42;
}
.btn.btn--primary:hover, .btn.btn--primary:focus-visible {
  filter: brightness(0.95);
}

/* Secondary = outline on surface */
.btn.btn--secondary {
  background: #ffffff;
  color: #986b42;
  border-color: #986b42;
}
.btn.btn--secondary:hover, .btn.btn--secondary:focus-visible {
  background: rgba(152, 107, 66, 0.08);
}

/* CTA row spacing (used on several pages) */
.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.75rem;
}

/**
 * !!!
 * Listings grid & cards
 * !!!
 */
/* Responsive grid for cards */
.grid {
  display: grid;
  gap: 1.25rem;
}

/* auto-fill as many 260px cards as fit */
.grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* clickable card (anchor) */
.card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  /* soft elevation */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 10px 20px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.card__media {
  /* keep images consistent regardless of source aspect */
  aspect-ratio: 4/3;
  background: #f5f5f5;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop nicely */
  display: block;
}

.card__body {
  padding: 0.75rem 1rem 1rem;
}

.card__title {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.35rem 0;
  color: inherit;
  /* limit to two lines, avoid jumpy cards */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* compact key/value meta rows */
.card__meta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2-column layout */
  gap: 0.5rem 1rem;
  font-size: 0.925rem;
}

.card__meta dt {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.72);
}

.card__meta dd {
  margin: 0;
  color: rgba(0, 0, 0, 0.85);
}

/* a11y: ensure focus ring is visible on keyboard nav */
.card:focus-visible {
  outline: 2px solid rgba(235, 167, 39, 0.6); /* Accent ring */
  outline-offset: 2px;
}

/*# sourceMappingURL=main.css.map */
