@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Fraunces:wght@500;600;700&display=swap');

:root {
  --brand-primary: #ff7b5d;
  --brand-secondary: #ffb45a;
  --brand-tertiary: #6bc9c4;
  --brand-deep: #1a2030;
  --brand-muted: #5c6470;
  --brand-cream: #fff9f4;
  --brand-card: #ffffff;
  --brand-border: rgba(26, 32, 48, 0.08);
  --brand-shadow: 0 24px 60px rgba(26, 32, 48, 0.12);
  --brand-radius-lg: 32px;
  --brand-radius-md: 20px;
  --brand-radius-sm: 12px;
  --container-width: min(1180px, 92vw);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(135deg, rgba(255, 247, 236, 0.95), rgba(235, 247, 255, 0.95));
  color: var(--brand-deep);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover, a:focus {
  color: var(--brand-primary);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--brand-radius-md);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 241, 0.9);
  border-bottom: 1px solid rgba(26, 32, 48, 0.05);
}

.navbar {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.brand-title {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1.1;
}

nav a {
  font-weight: 600;
  color: var(--brand-deep);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

nav a:hover, nav a:focus {
  background: rgba(255, 123, 93, 0.12);
  color: var(--brand-primary);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  box-shadow: 0 18px 34px rgba(255, 123, 93, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(255, 123, 93, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid rgba(255, 123, 93, 0.4);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

main {
  padding-bottom: 6rem;
}

.section {
  width: var(--container-width);
  margin: 0 auto;
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.section.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
  padding-top: 5.5rem;
}

.hero-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-muted);
}

.hero-copy h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  margin: 1rem 0 1.2rem;
  color: var(--brand-deep);
}

.hero-copy p {
  max-width: 520px;
  color: var(--brand-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-media img {
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.tile {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  padding: 2rem;
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.25s ease;
  position: relative;
  z-index: 1;
}

.tile:hover {
  transform: translateY(-6px);
}

.tile h3 {
  font-family: 'Fraunces', serif;
  margin: 0;
  font-size: 1.55rem;
}

.muted {
  color: var(--brand-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  margin-top: 1rem;
}

.product-card {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  padding: 2rem;
  display: grid;
  gap: 1.2rem;
  box-shadow: var(--brand-shadow);
  position: relative;
  z-index: 1;
}

.product-card h2 {
  font-family: 'Fraunces', serif;
  margin: 0;
  font-size: 1.65rem;
}

.product-card ul {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--brand-muted);
}

.price-tag {
  font-weight: 700;
  font-size: 1.15rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(107, 201, 196, 0.12);
  color: var(--brand-tertiary);
  font-weight: 600;
  font-size: 0.85rem;
}

.article-card {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--brand-shadow);
  position: relative;
  z-index: 1;
}

.article-card h2 {
  font-family: 'Fraunces', serif;
  margin-top: 0;
}

.rich-text h2, .rich-text h3 {
  font-family: 'Fraunces', serif;
  color: var(--brand-deep);
}

.rich-text p {
  margin-bottom: 1.6rem;
  color: var(--brand-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--brand-radius-sm);
  border: 1px solid rgba(26, 32, 48, 0.12);
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

label {
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: 0.35rem;
  display: block;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--brand-radius-md);
  box-shadow: var(--brand-shadow);
  background: var(--brand-card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 1rem 1.2rem;
  text-align: left;
}

table th {
  background: rgba(255, 123, 93, 0.08);
  font-weight: 700;
}

table tr + tr {
  border-top: 1px solid rgba(26, 32, 48, 0.05);
}

.notice {
  padding: 1rem 1.4rem;
  border-radius: var(--brand-radius-sm);
  background: rgba(107, 201, 196, 0.12);
  color: var(--brand-tertiary);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(107, 201, 196, 0.25);
  position: relative;
}

.footer {
  background: var(--brand-deep);
  color: white;
  padding: 4rem 0 3rem;
}

.footer-inner {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer h4 {
  font-family: 'Fraunces', serif;
  margin-top: 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover {
  color: white;
}

.footer nav {
  display: grid;
  gap: 0.5rem;
}

.legal-meta {
  margin-top: 2.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.breadcrumbs {
  width: var(--container-width);
  margin: 1.5rem auto 0;
  font-size: 0.9rem;
  color: var(--brand-muted);
}

.breadcrumbs a {
  color: inherit;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 123, 93, 0.12);
  border-radius: 999px;
  font-weight: 600;
  color: var(--brand-primary);
}

.cart-summary {
  display: grid;
  gap: 1.2rem;
  background: var(--brand-card);
  padding: 2rem;
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
}

.flex-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.policy article {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow);
  padding: 2.8rem;
}

.policy article h1 {
  margin-top: 0;
  font-family: 'Fraunces', serif;
}

.policy article h2 {
  font-family: 'Fraunces', serif;
  margin-top: 2rem;
}

.legal-list {
  padding-left: 1.4rem;
  color: var(--brand-muted);
}

.account-card {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow);
  padding: 2.3rem;
  display: grid;
  gap: 1.4rem;
}

.account-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-history {
  display: grid;
  gap: 1.2rem;
}

.order-card {
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-md);
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.9);
}


@media (max-width: 980px) {
  nav {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  header {
    position: static;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .tile, .product-card, .article-card, .account-card, .cart-summary {
    padding: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
