/* ============================================================
   LÖDDERIET – Stylesheet
   Färgpalett: Atlanten (djupblå + havsvit + bärnsten + terrakotta)
   Typsnitt:   Cormorant Garamond (rubriker) + Jost (brödtext)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --bg:       #EDF2F0;
  --deep:     #1E4D6B;
  --forest:   #2E7D5A;
  --amber:    #D4A855;
  --terra:    #C47A5A;
  --sky:      #7BA8C4;
  --mint:     #A8C4B4;
  --dark:     #0E1E2C;
  --text:     #1A2C3A;
  --muted:    #4A6070;
  --card:     #F7F4F0;
  --border:   rgba(30, 77, 107, 0.12);
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

nav {
  background: var(--deep);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 3px;
  color: white;
}
.nav-logo em { color: var(--amber); font-style: italic; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--mint);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 300;
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }

.nav-cart {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  font-weight: 400;
  background: none;
  border: none;
}

.hero {
  background: var(--deep);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  pointer-events: none;
}

.hero-eyebrow {
  color: var(--mint);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 300;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--serif);
  color: white;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero h1 em { color: var(--amber); font-style: italic; }

.hero p {
  color: var(--mint);
  font-size: 15px;
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--dark);
  padding: 13px 32px;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  background: transparent;
  color: white;
  padding: 13px 32px;
  border: 1px solid var(--mint);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  cursor: pointer;
  font-weight: 300;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(168, 196, 180, 0.1); }

.section {
  padding: 5rem 2rem;
  max-width: 1060px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--forest);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.section-h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.divider {
  height: 0.5px;
  background: var(--border);
  max-width: 1060px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  padding: 1.5rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 77, 107, 0.1);
}

.product-img {
  width: 100%;
  height: 160px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border-radius: 2px;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  font-weight: 500;
  text-transform: uppercase;
}
.badge-in  { background: var(--mint); color: var(--forest); }
.badge-out { background: #ddd; color: #888; }

.product-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 4px;
  line-height: 1.2;
}

.product-desc {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-weight: 300;
}

.product-meta {
  border-top: 0.5px solid var(--border);
  margin-bottom: 1.2rem;
  padding-top: 0.8rem;
}

.product-meta-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.6rem;
}

.meta-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 2px;
}

.meta-value {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--deep);
}

.product-buy {
  background: var(--deep);
  color: white;
  border: none;
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.5px;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.product-buy:hover { background: #163a52; }
.product-buy:disabled,
.product-buy.disabled {
  background: #ccc;
  cursor: default;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  background: var(--deep);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-soap {
  position: absolute;
  border-radius: 10px;
  width: 90px;
  height: 55px;
}

.about-text p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-weight: 300;
}

.about-text p em {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--deep);
  font-style: italic;
}

.about-tags { margin-top: 1.2rem; }
.about-tag {
  display: inline-block;
  background: rgba(30, 77, 107, 0.07);
  color: var(--deep);
  font-family: var(--sans);
  font-size: 10px;
  padding: 5px 12px;
  margin: 3px;
  letter-spacing: 1.5px;
  font-weight: 400;
}

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

.info-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  padding: 2rem;
}

.info-icon { font-size: 24px; margin-bottom: 1rem; display: block; }

.info-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 10px;
}

.info-card p {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 10px;
}

.info-card ul {
  list-style: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  line-height: 2.2;
  font-weight: 300;
}
.info-card ul li::before { content: "→ "; color: var(--forest); }

footer {
  background: var(--dark);
  padding: 4rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: white;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 0.75rem;
}
.footer-logo em { color: var(--amber); font-style: italic; }

.footer-tagline {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: #3A5060;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--mint);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

.footer-sub {
  color: #2A4050;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 300;
}

@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .section { padding: 3.5rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 220px; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
