/* Sasa Shop — warm boutique palette */
:root {
  --bg: #faf7f3;
  --surface: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --accent: #c2410c;
  --accent-soft: #fff7ed;
  --border: #e7e5e4;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--bg);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cart-toggle:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.cart-toggle__count {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35rem;
  text-align: center;
  color: var(--surface);
  background: var(--accent);
  border-radius: 999px;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lede {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36ch;
}

.hero__visual {
  min-height: 220px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(194, 65, 12, 0.25), transparent 60%),
    radial-gradient(ellipse 70% 50% at 70% 60%, rgba(120, 113, 108, 0.2), transparent 55%),
    linear-gradient(145deg, #fef3c7 0%, #fed7aa 40%, #e7e5e4 100%);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  color: var(--surface);
  background: var(--accent);
}

.btn--primary:hover {
  box-shadow: 0 4px 16px rgba(194, 65, 12, 0.35);
}

.btn--block {
  width: 100%;
  text-align: center;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section__head {
  margin-bottom: 2rem;
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}

.section__sub {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card__img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--accent-soft);
}

.product-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.product-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.product-card__meta {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card__price {
  font-weight: 600;
  font-size: 1.1rem;
}

.product-card .btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__inner {
  max-width: 640px;
}

.about__inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

/* Cart drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(28, 25, 23, 0.35);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(400px, 100vw);
  height: 100%;
  background: var(--surface);
  box-shadow: -8px 0 32px rgba(28, 25, 23, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-panel[hidden] {
  display: none;
}

.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-panel__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.cart-close {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.cart-close:hover {
  background: var(--bg);
  color: var(--ink);
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
  flex: 1;
  overflow-y: auto;
}

.cart-line {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line__thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--accent-soft);
}

.cart-line__info {
  flex: 1;
  min-width: 0;
}

.cart-line__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.cart-line__qty {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.cart-line__price {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-panel__foot {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 1rem;
  font-size: 1rem;
}

.cart-total strong {
  font-size: 1.15rem;
}

.cart-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.cart-empty {
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
}
