
:root {
  --bg: #f5f2eb;
  --nav: #0b3757;
  --nav-dark: #0a2a44;
  --accent: #e47b2c;
  --accent-soft: #ffe1c2;
  --text: #222;
  --border-soft: #ddd2c2;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--nav); text-decoration: none; }
a:hover { text-decoration: underline; }
header {
  background: var(--nav);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
header img.logo {
  height: 46px;
  border-radius: 50%;
}
header h1 {
  margin: 0;
  font-size: 22px;
}
header .tagline-small {
  font-size: 12px;
  opacity: 0.85;
}
nav {
  background: var(--nav-dark);
  color: #fff;
  padding: 8px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}
nav .cart-link {
  margin-left: auto;
}
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}
.hero {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  padding: 22px 22px 24px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.hero h2 {
  margin-top: 0;
  color: var(--nav);
  font-size: 26px;
}
.hero p {
  font-size: 14px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.hero-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.hero-photo img {
  width: 100%;
  display: block;
}
.section {
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}
.section h2 {
  margin-top: 0;
  color: var(--nav);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px;
}
.why-card {
  background: #faf6ee;
  border-radius: 12px;
  padding: 10px 11px 12px;
  font-size: 13px;
}
.why-card strong {
  display:block;
  margin-bottom:4px;
}
.btn, .btn-outline {
  border-radius: 999px;
  padding: 9px 16px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn {
  background: var(--accent);
  color: #fff;
}
.btn:hover {
  background: #ff8a3b;
}
.btn-outline {
  background: transparent;
  color: var(--nav);
  border: 2px solid var(--nav);
}
.btn-outline:hover {
  background: var(--nav);
  color:#fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 18px;
}
.product-card {
  background:#faf6ee;
  border-radius:14px;
  padding:12px;
  box-shadow:0 6px 12px rgba(0,0,0,0.12);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.product-card img {
  width:100%;
  border-radius:10px;
}
.product-title {
  font-weight:bold;
  color:var(--nav);
}
.product-meta {
  font-size:13px;
  color:#555;
}
.product-price {
  font-size:16px;
  font-weight:bold;
  color:var(--accent);
}
.product-actions {
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
footer {
  background:#0b3757;
  color:#f5f5f5;
  text-align:center;
  font-size:12px;
  padding:14px 10px 18px;
}
footer a { color:#f5f5f5; }
.cart-layout {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:18px;
}
.cart-items {
  min-height:80px;
}
.cart-item {
  background:#faf6ee;
  border-radius:12px;
  padding:10px 10px 12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  gap:10px;
  margin-bottom:10px;
}
.cart-item img.thumb {
  width:100%;
  height:80px;
  object-fit:cover;
  border-radius:10px;
}
.cart-item-title {
  font-weight:bold;
  color:var(--nav);
}
.cart-item-controls {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
  font-size:12px;
}
.tag {
  display:inline-block;
  padding:3px 8px;
  border-radius:999px;
  background:#eae2d5;
  font-size:11px;
}
.size-pill {
  padding:4px 9px;
  border-radius:999px;
  border:1px solid #ccc;
  cursor:pointer;
  font-size:11px;
  background:#f3eee4;
}
.size-pill.active {
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
  font-weight:bold;
}
.qty-box {
  display:inline-flex;
  border-radius:999px;
  overflow:hidden;
  border:1px solid #ccc;
}
.qty-btn {
  background:#f0ece4;
  border:none;
  width:24px;
  cursor:pointer;
}
.qty-input {
  width:34px;
  text-align:center;
  border:none;
  font-size:12px;
}
.cart-photo-upload {
  margin-top:6px;
  font-size:11px;
}
.cart-photo-preview img {
  max-width:120px;
  max-height:80px;
  border-radius:8px;
  display:block;
  margin-top:4px;
}
.summary-box {
  background:#fff;
  border-radius:14px;
  padding:12px 13px 15px;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
}
.summary-row {
  display:flex;
  justify-content:space-between;
  font-size:14px;
  margin-bottom:4px;
}
.summary-row.total {
  font-weight:bold;
  font-size:16px;
  margin-top:6px;
}
.step-label {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:#666;
  margin-bottom:2px;
}
.step-title {
  margin-top:0;
  margin-bottom:8px;
  color:var(--nav);
}
.checkout-step {
  margin-bottom:16px;
}
.checkout-form label {
  display:block;
  font-size:13px;
  font-weight:bold;
  margin-top:8px;
}
.checkout-form input,
.checkout-form textarea {
  width:100%;
  padding:7px 8px;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:13px;
  margin-top:3px;
}
.checkout-form textarea { min-height:70px; resize:vertical; }
.small-note {
  font-size:11px;
  color:#666;
  margin-top:4px;
}
.steps-nav {
  margin-top:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.badge-warning {
  font-size:11px;
  color:#b33;
}
@media (max-width: 860px) {
  .hero { grid-template-columns:minmax(0,1fr); }
  .cart-layout { grid-template-columns:minmax(0,1fr); }
}
