:root {
  --bg: #fff8ec;
  --bg-deep: #e6f2e4;
  --card: rgba(255, 255, 255, 0.86);
  --surface: #fffdf8;
  --ink: #1c1a18;
  --muted: #675d55;
  --aqua: #5ffbf1;
  --aqua-deep: #1eb7c8;
  --yellow: #ffe45c;
  --yellow-soft: #fff8b8;
  --accent: #ff9933;
  --accent-dark: #0b5b33;
  --chakra: #1a4da1;
  --line: rgba(28, 26, 24, 0.12);
  --shadow: 0 24px 60px rgba(62, 40, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 32%),
    linear-gradient(180deg, #fffaf2 0%, #f5ecdf 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.hero {
  padding: 28px clamp(20px, 4vw, 56px) 56px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10px clamp(12px, 2vw, 28px) 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, rgba(255, 251, 245, 0.9), rgba(247, 236, 222, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 30px 70px rgba(62, 40, 22, 0.12);
  backdrop-filter: blur(12px);
  z-index: 0;
}

.nav,
.hero-content,
.highlights,
.catalog-section,
.about-section {
  max-width: 1180px;
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-copy {
  min-width: 0;
}

.brand-logo,
.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #ff9933, #ffffff 55%, #138808);
  color: #fff8f2;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 2px rgba(26, 77, 161, 0.2);
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  object-fit: cover;
}

.brand-name,
.brand-tag,
.eyebrow,
.hero-card p,
.subtle {
  margin: 0;
}

.brand-name {
  font-weight: 800;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-actions a {
  color: var(--muted);
  font-weight: 600;
}

.nav-actions a:hover,
.nav-actions a:focus-visible {
  color: var(--ink);
}

.nav-credit {
  display: none;
}

.nav-credit-label {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chakra);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.78);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(62, 40, 22, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.cart-button,
.filter,
.add-button,
.checkout-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a4da1, #0b5b33);
  color: #fff;
  font-weight: 700;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px);
  gap: 28px;
  align-items: center;
  padding-top: 72px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--chakra);
  font-weight: 800;
}

.hero-copy h1,
.section-head h2,
.about-section h2 {
  font-family: "DM Serif Display", serif;
  line-height: 1.04;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  margin: 12px 0 18px;
}

.hero-text {
  max-width: 620px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link,
.add-button,
.checkout-button {
  padding: 14px 20px;
  border-radius: 16px;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.primary-link,
.add-button,
.checkout-button {
  background: linear-gradient(135deg, #ff9933, #e16d10);
  color: #fff;
  font-weight: 700;
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.75);
  color: var(--ink);
  font-weight: 700;
}

.primary-link:hover,
.secondary-link:hover,
.filter:hover,
.add-button:hover,
.checkout-button:hover,
.cart-button:hover {
  transform: translateY(-2px);
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 240, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 68px rgba(62, 40, 22, 0.18);
}

.hero-badge,
.product-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26, 77, 161, 0.1);
  color: var(--chakra);
  font-weight: 800;
  font-size: 0.8rem;
}

.hero-card h2 {
  margin: 18px 0 10px;
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
}

.price-row,
.product-meta,
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.price {
  font-size: 2rem;
  font-weight: 800;
}

.subtle,
.product-description,
.product-meta,
.cart-line small,
.empty-state,
.about-section p {
  color: var(--muted);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 8px clamp(20px, 4vw, 56px) 30px;
}

.highlights article,
.product-card,
.about-section,
.overview-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 240, 0.88));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlights article:hover,
.product-card:hover,
.about-section:hover,
.overview-card:hover,
.login-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(62, 40, 22, 0.18);
}

.highlights article {
  padding: 24px;
  border-radius: 22px;
}

.highlights h3 {
  margin: 0 0 12px;
}

.highlights p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.catalog-section {
  padding: 44px clamp(20px, 4vw, 56px);
}

.products-overview,
.customer-care-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 56px) 30px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.overview-card {
  padding: 24px;
  border-radius: 24px;
}

.overview-card h3 {
  margin: 0 0 12px;
}

.overview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head h2,
.about-section h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.65);
  color: var(--ink);
  font-weight: 700;
}

.filter.active {
  background: var(--ink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
}

.product-visual {
  aspect-ratio: 1 / 0.9;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(244, 234, 222, 0.9));
}

.product-image {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  display: block;
  object-fit: cover;
  box-shadow: 0 16px 32px rgba(62, 40, 22, 0.12);
}

.product-body {
  padding: 20px;
}

.product-body h3 {
  margin: 14px 0 10px;
  font-size: 1.24rem;
}

.product-description {
  line-height: 1.7;
  min-height: 76px;
}

.product-meta {
  margin: 16px 0 18px;
  font-weight: 700;
}

.promo-strip {
  margin: 0 clamp(20px, 4vw, 56px) 36px;
  padding: 22px 24px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 50%, #138808 100%);
  color: #1c1a18;
  border: 1px solid rgba(26, 77, 161, 0.16);
  box-shadow: var(--shadow);
}

.promo-strip p {
  margin: 0;
}

.about-section {
  margin: 0 auto 64px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-radius: 28px;
  max-width: 1180px;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.login-shell {
  width: 100%;
  max-width: 560px;
}

.login-card {
  padding: 36px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 244, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.login-card h1 {
  margin: 10px 0 14px;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--chakra);
  font-weight: 700;
}

.login-text,
.login-note,
.login-status {
  color: var(--muted);
  line-height: 1.75;
}

.google-button {
  width: 100%;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(28, 26, 24, 0.1);
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.secondary-auth-button {
  width: 100%;
  margin-top: 14px;
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid rgba(28, 26, 24, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.google-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: #fff;
  font-weight: 800;
}

.login-status,
.login-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(28, 26, 24, 0.08);
}

.about-section p {
  line-height: 1.8;
  max-width: 760px;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: rgba(255, 250, 243, 0.98);
  border-left: 1px solid var(--line);
  box-shadow: -14px 0 40px rgba(29, 20, 14, 0.16);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  z-index: 20;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header,
.cart-footer,
.cart-line {
  padding: 18px 20px;
}

.cart-header,
.cart-line,
.cart-footer {
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(28, 26, 24, 0.08);
  font-size: 1.4rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cart-line h4,
.cart-line p {
  margin: 0;
}

.cart-line p {
  font-weight: 800;
}

.empty-state {
  padding: 22px 20px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 17, 13, 0.38);
  z-index: 10;
}

@media (max-width: 840px) {
  .nav,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 18px;
  }

  .hero-content,
  .highlights,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 18px 16px 40px;
  }

  .nav {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    flex: 1;
    align-items: flex-start;
  }

  .brand-logo,
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-tag {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 16;
  }

  .nav-actions {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 15;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 251, 245, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }

  .nav-actions.open {
    display: flex;
  }

  .nav-actions a,
  .cart-button {
    width: 100%;
  }

  .nav-credit {
    display: block;
    padding: 6px 4px 0;
  }

  .nav-actions a {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--ink);
  }

  .cart-button {
    justify-content: center;
  }

  .catalog-section,
  .products-overview,
  .customer-care-section,
  .highlights,
  .about-section {
    padding-inline: 16px;
  }

  .promo-strip {
    margin-inline: 16px;
  }

  .hero-content {
    padding-top: 34px;
    gap: 20px;
  }

  .hero-text,
  .about-section p,
  .highlights p,
  .overview-card p,
  .product-description {
    line-height: 1.6;
  }

  .section-head {
    gap: 14px;
  }

  .filters {
    gap: 10px;
    width: 100%;
  }

  .filter {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .price-row,
  .product-meta,
  .total-row {
    flex-wrap: wrap;
  }

  .hero-card,
  .product-body,
  .highlights article,
  .about-section,
  .overview-card,
  .login-card {
    padding: 20px;
  }

  .cart-panel {
    width: 100%;
    border-left: 0;
  }

  .checkout-button {
    width: 100%;
  }
}
