:root {
  --brand-orange: #c86121;
  --brand-blue: #1898d0;
  --brand-green: #105808;
  --brand-cream: #f0d098;
  --ink: #303030;
  --bg-soft: #f8f8f8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  background:
    radial-gradient(circle at 10% 0%, rgba(24, 152, 208, 0.28), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(240, 208, 152, 0.55), transparent 34%),
    linear-gradient(180deg, #fdf6e7 0%, #f8f8f8 35%, #f7fbff 100%);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 248, 248, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--brand-blue);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: var(--brand-orange);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.1rem;
  line-height: 1;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand-orange);
  border-bottom-color: var(--brand-orange);
  outline: none;
}

.nav-cta {
  background: var(--brand-orange);
  color: var(--white) !important;
  border-radius: 999px;
  padding: 6px 12px;
  border-bottom: 0 !important;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(24, 152, 208, 0.6), transparent 32%),
    linear-gradient(125deg, rgba(24, 152, 208, 0.85), rgba(35, 75, 96, 0.92));
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
    url("hero-watermark.jpg") center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  width: min(820px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 8px 0 14px;
  line-height: 1.12;
  font-size: clamp(2rem, 5vw, 3.3rem);
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

.tagline {
  margin: 0 auto 28px;
  max-width: 620px;
  font-size: 1.08rem;
}

.section {
  padding: 52px 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-subtitle {
  margin: 0;
}

.section-light {
  background: rgba(255, 248, 233, 0.9);
}

.section-blue {
  background:
    linear-gradient(180deg, rgba(24, 152, 208, 0.36), rgba(24, 152, 208, 0.2)),
    rgba(255, 255, 255, 0.82);
}

.section-green {
  background:
    linear-gradient(160deg, rgba(16, 88, 8, 0.2), rgba(240, 208, 152, 0.62)),
    rgba(255, 255, 255, 0.88);
}

.content-narrow {
  max-width: 760px;
  text-align: center;
}

.section p {
  max-width: 820px;
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(47, 49, 55, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(47, 49, 55, 0.09);
}

.product-grid,
.review-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.review-card {
  padding: 22px;
}

.product-card h3,
.review-card h3 {
  margin-top: 0;
}


.stars {
  color: #c77b00;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

button,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

button:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.primary-btn {
  text-decoration: none;
  background: var(--brand-orange);
  color: var(--white);
  padding: 12px 18px;
}

.secondary-btn,
.add-btn {
  background: var(--brand-blue);
  color: var(--white);
  padding: 10px 14px;
}

.hero-cta {
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.jump-bar {
  position: fixed;
  right: clamp(10px, 2vw, 18px);
  top: 45%;
  transform: translateY(-50%);
  z-index: 45;
  display: grid;
  gap: 7px;
  pointer-events: auto;
  justify-items: center;
}

.jump-btn {
  background: rgba(48, 48, 48, 0.9);
  color: var(--white);
  text-decoration: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  pointer-events: auto;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.jump-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

.full {
  width: 100%;
}

.gallery-row {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-item {
  margin: 0;
  width: clamp(120px, 18vw, 170px);
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 6px 18px rgba(47, 49, 55, 0.16);
  scroll-snap-align: start;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-watermark {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

.order-form-wrap,
.cart {
  padding: 24px;
}

#orderForm {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 600;
  text-align: left;
}

.field-help {
  margin-top: -4px;
  margin-bottom: 4px;
  color: rgba(48, 48, 48, 0.78);
  text-align: left;
  font-size: 0.86rem;
}

input,
select,
textarea {
  border: 1px solid rgba(47, 49, 55, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
.primary-btn:focus,
.secondary-btn:focus,
.float:focus {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.form-message {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.95rem;
}

.form-message.error {
  color: #a11b1b;
}

.form-message.success {
  color: var(--brand-green);
}

.cart h3 {
  margin-top: 0;
}

.cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cart-item {
  border: 1px solid rgba(47, 49, 55, 0.12);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.cart-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.qty-btn,
.remove-btn {
  background: var(--brand-blue);
  color: var(--white);
  padding: 6px 9px;
  border-radius: 8px;
}

.remove-btn {
  background: #7d1f1f;
}

.cart-total {
  margin-top: 14px;
}

.cart-hint {
  margin: 0;
  color: rgba(47, 49, 55, 0.82);
}

.submit-order-btn {
  margin-top: 12px;
}

.qr {
  margin-top: 20px;
  text-align: center;
}

.qr img {
  max-width: 170px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(47, 49, 55, 0.14);
}

iframe {
  margin-top: 10px;
  border-radius: 12px;
}

footer {
  background:
    linear-gradient(120deg, rgba(47, 49, 55, 0.97), rgba(27, 29, 33, 0.97)),
    var(--ink);
  color: var(--white);
  text-align: center;
  padding: 24px 12px;
  border-top: 3px solid var(--brand-orange);
}

.float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--brand-green);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(20, 106, 22, 0.35);
}

@media (max-width: 900px) {
  .product-grid,
  .review-grid,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .nav-wrap {
    gap: 10px;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(47, 49, 55, 0.1);
    border-radius: 10px;
    padding: 10px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 7px 4px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .jump-bar {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(10px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }

  .hero {
    padding: 68px 0;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .product-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .section {
    padding: 34px 0;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
  }

  .nowrap {
    white-space: normal;
  }

  .tagline {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .product-card,
  .review-card,
  .order-form-wrap,
  .cart {
    padding: 16px;
  }

  .jump-btn {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
