
:root {
  --bg: #f5eee4;
  --bg-soft: #fffaf3;
  --ink: #3f2f27;
  --muted: #8a7463;
  --accent: #d17a3d;
  --accent-soft: #f3ddc4;
  --line: #e0d2c1;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(63,47,39,0.16);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #fdf7ed 0, #f5eee4 40%, #efdfcc 100%);
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(245,238,228,0.92);
  border-bottom: 1px solid rgba(224,210,193,0.8);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.6rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ink);
}

.logo span {
  font-weight: 500;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.3rem;
  font-size: 0.92rem;
}

.nav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
}

.nav a:hover {
  border-color: var(--line);
  background: rgba(255,250,243,0.9);
  color: var(--ink);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,250,243,0.95);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: var(--ink);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Generic page layout */

.page {
  padding: 2.2rem 1.6rem 2.8rem;
}

.home {
  padding-top: 1.8rem;
}

.page-head h1 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
}

.page-head p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* Hero */

.hero-split {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1.1fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-copy h1 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.hero-copy p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-panel {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
}

.hero-block {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(218,196,170,0.9);
}

.hero-block-top {
  background: linear-gradient(135deg,#fffaf3,#f3ddc4);
}

.hero-block-bottom {
  background: linear-gradient(135deg,#fdf6ed,#f0e0cc);
}

.hero-block h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.hero-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Strip */

.strip {
  margin-top: 2.1rem;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.strip-item {
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: rgba(255,250,243,0.92);
  border: 1px dashed rgba(209,122,61,0.45);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.strip-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.btn.primary {
  background: linear-gradient(135deg,#d17a3d,#e29b58);
  color: #fff;
  box-shadow: 0 16px 40px rgba(160,96,52,0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(160,96,52,0.65);
}

.btn.outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn.outline:hover {
  background: rgba(255,250,243,0.9);
}

/* Cards & grid */

.card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.4rem;
}

.grid {
  display: grid;
  gap: 1.4rem;
}

.grid-3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

/* Catalog */

.product-grid {
  margin-top: 1.8rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-title {
  margin: 0;
  font-size: 1.1rem;
}

.product-text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
}

.product-price {
  margin: 0.3rem 0 0.2rem;
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.3rem;
}

.link-more {
  font-size: 0.88rem;
}

/* Product page */

.product-layout {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,0.9fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.product-main .lead {
  font-weight: 500;
}

.product-main p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.product-side {
  position: sticky;
  top: 5.5rem;
  align-self: flex-start;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.2rem;
}

.product-side .product-price {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.product-meta {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Cart */

.cart-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 1.6rem;
}

.cart-box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) 90px 80px auto;
  gap: 0.6rem;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--line);
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-title {
  font-weight: 500;
}

.cart-price {
  text-align: right;
}

.cart-qty input {
  width: 3.1rem;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-align: center;
  background: #fffaf3;
  color: var(--ink);
}

.cart-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.cart-summary .label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cart-summary .total {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Forms */

.form {
  display: grid;
  gap: 0.8rem;
}

.form h2 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.form label {
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 0.55rem 0.75rem;
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(209,122,61,0.6);
  outline-offset: 1px;
}

/* Contact */

.contact-layout {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1.1fr);
  gap: 1.6rem;
}

.text-block {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.text-block p {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.contact-list li + li {
  margin-top: 0.25rem;
}

/* Legal */

.legal {
  font-size: 0.9rem;
}

/* Success page */

.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
}

.success-card {
  max-width: 520px;
  text-align: center;
}

.success-card h1 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.success-card p {
  margin-top: 0;
  margin-bottom: 1.4rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(245,238,228,0.95);
  padding: 2.1rem 1.6rem 1.7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,0.9fr) minmax(0,0.9fr);
  gap: 1.6rem;
  font-size: 0.88rem;
}

.footer-grid h4 {
  margin: 0 0 0.45rem;
}

.footer-grid p {
  margin: 0.12rem 0;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-split {
    grid-template-columns: minmax(0,1fr);
  }
  .strip {
    grid-template-columns: minmax(0,1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .product-layout,
  .cart-grid,
  .contact-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .product-side {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-bar {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .grid-3 {
    grid-template-columns: minmax(0,1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .page,
  .home {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}
