:root {
  --teal: #2a9bb3;
  --teal-dark: #1f7a8c;
  --slate: #2f4858;
  --coral: #f4835f;
  --cream: #fff8f5;
  --ink: #26343d;
  --border: #e6ded9;
  --brand-red: #cc2027;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 48px; width: auto; }

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 0;
  text-align: center;
  background: var(--slate);
}

.hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.hero-cta {
  padding: 40px 24px;
}

.hero-cta h1 {
  color: #fff;
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.hero-cta p {
  color: #cfe0e5;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 24px;
}

.hero .btn {
  background: var(--brand-red);
}

.hero .btn:hover {
  background: #a5191f;
}

.btn {
  display: inline-block;
  background: var(--slate);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn:hover { background: var(--ink); text-decoration: none; }

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Placeholder image blocks (swap for real photography later) */
.img-placeholder {
  background: repeating-linear-gradient(45deg, #f0e6e0, #f0e6e0 12px, #e8dcd4 12px, #e8dcd4 24px);
  border: 1px dashed #c9bab0;
  color: #8a7a6f;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  padding: 20px;
  border-radius: 6px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
  color: var(--slate);
  font-size: 2rem;
}

.section-subtitle {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
  color: #5a6b73;
}

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

.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.category-card .img-placeholder { height: 180px; border-radius: 0; border: none; }

.category-card-body { padding: 20px; }

.category-card h3 {
  margin: 0 0 6px;
  color: var(--slate);
}

.category-card p {
  margin: 0 0 14px;
  color: #5a6b73;
  font-size: 0.95rem;
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--ink);
}

.product-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.product-list li:last-child { border-bottom: none; }

.product-list .price {
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}

.subcategory-title {
  color: var(--teal);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 28px 0 10px;
}

.subcategory-title:first-child { margin-top: 0; }

.catalog-block {
  max-width: 1100px;
  margin: 0 auto 48px;
}

.catalog-block:last-child { margin-bottom: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-card-images {
  display: flex;
  gap: 2px;
}

.product-card-images a:first-child {
  flex: 1 1 70%;
  min-width: 0;
}

.product-card-images a:last-child {
  flex: 1 1 30%;
  min-width: 0;
}

.product-card-images img {
  height: 220px;
  object-fit: cover;
  display: block;
  width: 100%;
}

.product-card-body { padding: 14px 16px; }

.product-card h4 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
}

.product-card .sku {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: #8a97a0;
  letter-spacing: 0.02em;
}

.product-card .price {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 10px;
}

.add-to-cart {
  width: 100%;
  background: var(--slate);
  color: #fff;
  border: none;
  padding: 9px 0;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.add-to-cart:hover { background: var(--ink); }
.add-to-cart:disabled { background: var(--teal); cursor: default; }

/* Cart page */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.cart-table th, .cart-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-table th {
  background: #faf5f2;
  color: var(--slate);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item-info img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-qty {
  width: 60px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
}

.cart-remove {
  background: none;
  border: none;
  color: #b23b3b;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-remove:hover { text-decoration: underline; }

.cart-summary {
  max-width: 360px;
  margin: 32px 0 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
}

.cart-summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #5a6b73;
}

/* Forms: checkout / contact */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 760px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cart-item-info img { display: none; }
}

/* Newsletter */
.newsletter {
  background: var(--teal);
  color: #fff;
  text-align: center;
}

.newsletter h2 { color: #fff; }
.newsletter p { color: #eaf6f8; }

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 24px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.newsletter-form button {
  background: var(--slate);
  color: #fff;
  border: none;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-form button:hover { background: var(--ink); }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: #8a7a6f;
  font-size: 0.9rem;
}

/* Story section */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.story .img-placeholder { min-height: 320px; }

@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; }
  .main-nav ul { gap: 16px; flex-wrap: wrap; }
  .hero h1 { font-size: 2rem; }
}

/* Footer */
.site-footer {
  background: var(--slate);
  color: #e5edf0;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer h4 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 8px; }

.site-footer a { color: #cfe0e5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #a9bcc2;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Inner page content (About / Policy) */
.page-header {
  background: var(--slate);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.page-header h1 { margin: 0; font-size: 2.2rem; }

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  color: var(--slate);
  margin-top: 40px;
}

.prose p { margin-bottom: 18px; }

.placeholder-note {
  background: #fff3e0;
  border: 1px solid #f0c48a;
  color: #8a5a1e;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 32px;
}
