@import url("fonts.css");

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f5f4f2;
  font-family: 'Work Sans', Arial, sans-serif;
  color: #1c1e22;
}

a { color: #d9611f; }
a:hover { color: #c14f13; }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  background: #1c1e22;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: #d9611f;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1c1e22;
}
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.5px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: #c8cad0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.main-nav a.active {
  color: #fff;
  font-weight: 600;
}
.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  background: #2a2d33;
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.cart-badge {
  background: #d9611f;
  color: #1c1e22;
  border-radius: 10px;
  min-width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  padding: 0 5px;
}
.cart-badge.show { display: inline-flex; }
.cart-link.active { font-weight: 600; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #4a4d53;
  color: #fff;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 16px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: #1c1e22;
  color: #fff;
  padding: 76px 32px 88px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: #2a2d33;
  color: #d9611f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  margin: 20px 0 20px;
}
.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: #c8cad0;
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
}
.btn-primary { background: #d9611f; color: #1c1e22; }
.btn-outline { background: transparent; border: 1px solid #4a4d53; color: #fff; }
.hero-photo {
  border-radius: 8px;
  overflow: hidden;
  height: 380px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Page header (inner pages) */
.page-header {
  background: #1c1e22;
  color: #fff;
  padding: 48px 32px;
}
.page-header .crumb { font-size: 12px; color: #8a8d91; }
.page-header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 700;
  margin: 10px 0 10px;
}
.page-header p { color: #c8cad0; font-size: 15px; max-width: 640px; margin: 0; }

.page-header-simple {
  padding: 56px 32px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}
.page-header-simple .crumb { font-size: 12px; color: #8a8d91; }
.page-header-simple h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0 6px;
}
.page-header-simple .updated { font-size: 13px; color: #8a8d91; margin: 0 0 32px; }

/* Perks bar */
.perks {
  background: #fff;
  border-bottom: 1px solid #e2e0dc;
  padding: 28px 32px;
}
.perks .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.perk-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1c1e22;
}
.perk-sub { font-size: 13px; color: #5b5e63; margin-top: 4px; }

/* Sections */
.section { padding: 72px 32px; }
.section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 8px;
}
.section .lead { color: #5b5e63; font-size: 15px; margin: 0 0 32px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-head h2 { margin: 0; }
.section-head a { text-decoration: none; font-size: 14px; font-weight: 600; }
.section-white { background: #fff; border-top: 1px solid #e2e0dc; border-bottom: 1px solid #e2e0dc; }
.section-top { background: #fff; border-top: 1px solid #e2e0dc; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Category cards */
.cat-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cat-card .thumb { height: 170px; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 20px; }
.cat-card h3 {
  margin: 0 0 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.cat-card p { margin: 0; font-size: 13px; color: #5b5e63; }

/* Product cards */
.product-card {
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .thumb { height: 180px; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card h3 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.product-card p { margin: 0; font-size: 13px; color: #5b5e63; line-height: 1.5; flex: 1; }
.product-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.price {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.btn-add {
  background: #d9611f;
  color: #1c1e22;
  border: none;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  min-width: 108px;
}
.btn-add.added { background: #1c1e22; color: #fff; }

/* Why us / feature blocks */
.feature-icon {
  width: 44px;
  height: 44px;
  background: #1c1e22;
  border-radius: 4px;
  margin-bottom: 14px;
}
.feature h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.feature p, .feature-sm p { font-size: 13px; color: #5b5e63; line-height: 1.6; margin: 0; }
.feature-sm h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

/* Tip cards (home) */
.tip-card {
  text-decoration: none;
  color: inherit;
  background: #f5f4f2;
  border-radius: 6px;
  padding: 24px;
  display: block;
}
.tip-tag {
  font-size: 12px;
  font-weight: 600;
  color: #d9611f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tip-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 10px 0 8px;
}
.tip-card p { font-size: 13px; color: #5b5e63; line-height: 1.6; margin: 0; }

/* Newsletter */
.newsletter {
  background: #1c1e22;
  color: #fff;
  padding: 56px 32px;
}
.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px;
}
.newsletter p { color: #c8cad0; font-size: 14px; margin: 0; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid #4a4d53;
  background: #2a2d33;
  color: #fff;
  font-size: 14px;
  min-width: 240px;
  font-family: inherit;
}
.newsletter-msg { font-size: 13px; color: #9be29b; margin: 10px 0 0; }

/* Footer */
.site-footer {
  background: #1c1e22;
  color: #c8cad0;
  padding: 56px 32px 24px;
  margin-top: auto;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.site-footer.footer-simple .container {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7d7f84;
  flex-wrap: wrap;
  gap: 8px;
  padding: 40px 0 24px;
}
.site-footer.footer-simple { padding: 0 32px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand span {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}
.footer-mark {
  width: 30px;
  height: 30px;
  background: #d9611f;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1c1e22;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-links a { color: #c8cad0; text-decoration: none; }
.footer-bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  border-top: 1px solid #33363c;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7d7f84;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a { color: #7d7f84; text-decoration: none; }
.footer-legal-links a:hover { color: #c8cad0; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1c1e22;
  color: #fff;
  padding: 16px 32px;
  display: none;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 13px; color: #c8cad0; max-width: 720px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.btn-cookie {
  background: #d9611f;
  color: #1c1e22;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

/* Legal pages */
.legal-box {
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 14px;
  line-height: 1.75;
  color: #2f3237;
}
.legal-box h2 { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.legal-box > div > p { margin: 0; }
.legal-block {
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
  padding: 32px 36px;
  margin-bottom: 24px;
}
.legal-block h2 { font-family: 'Oswald', sans-serif; font-size: 19px; font-weight: 600; margin: 0 0 16px; }
.legal-block p { font-size: 14px; line-height: 1.75; color: #2f3237; margin: 0 0 14px; }
.legal-block p:last-child { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.stat-box { text-align: center; padding: 16px; background: #f5f4f2; border-radius: 4px; }
.stat-box .num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 18px; }
.stat-box .lbl { font-size: 12px; color: #5b5e63; margin-top: 4px; }
.cookie-type {
  border: 1px solid #e2e0dc;
  border-radius: 4px;
  padding: 14px;
}
.cookie-type strong { font-family: 'Oswald', sans-serif; font-size: 13px; }
.cookie-type p { margin: 6px 0 0; font-size: 13px; color: #5b5e63; }

/* Forms */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
  padding: 24px;
}
.form-card input,
.form-card textarea {
  padding: 11px 14px;
  border: 1px solid #e2e0dc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
.form-card textarea { resize: vertical; }
.form-card .btn-submit {
  background: #d9611f;
  color: #1c1e22;
  border: none;
  padding: 13px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 4px;
}
.form-note { font-size: 11px; color: #8a8d91; margin: 4px 0 0; text-align: center; }
.form-note a { color: #5b5e63; }
.sent-msg {
  display: none;
  background: #e9f6ec;
  border: 1px solid #b6e0bf;
  color: #1c6b31;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 12px;
}
.sent-msg.show { display: block; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; font-size: 14px; color: #3a3d42; }
.contact-info strong { font-family: 'Oswald', sans-serif; display: block; font-size: 13px; margin-bottom: 4px; }
.static-map {
  height: 220px;
  margin-top: 24px;
  border-radius: 6px;
  background:
    linear-gradient(#e2e0dc 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, #e2e0dc 1px, transparent 1px) 0 0 / 24px 24px,
    #f0efec;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e0dc;
}
.static-map .pin {
  position: absolute;
  top: 44%;
  left: 52%;
  width: 22px;
  height: 22px;
  background: #d9611f;
  border: 3px solid #1c1e22;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
}
.static-map .label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 11px;
  color: #5b5e63;
  background: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid #e2e0dc;
}

/* Cart page */
.cart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line {
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
  padding: 16px;
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 16px;
  align-items: center;
}
.cart-line .thumb { width: 88px; height: 72px; border-radius: 4px; overflow: hidden; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .name { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; }
.cart-line .unit-price { font-size: 13px; color: #5b5e63; margin-top: 4px; }
.link-remove {
  margin-top: 8px;
  background: none;
  border: none;
  color: #c14f13;
  font-size: 12px;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #e2e0dc;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.qty-val { min-width: 20px; text-align: center; font-weight: 600; font-size: 14px; }
.line-total { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 16px; text-align: right; min-width: 80px; }
.summary-card {
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
  padding: 24px;
  position: sticky;
  top: 96px;
}
.summary-card h2 { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; margin: 0 0 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.summary-row span:first-child { color: #5b5e63; }
.summary-divider { border-top: 1px solid #e2e0dc; margin: 14px 0; }
.summary-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.empty-state, .success-state {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
}
.success-state .title { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.empty-state p, .success-state p { font-size: 14px; color: #5b5e63; margin: 0 0 20px; }
.empty-state.big p { font-size: 16px; }

/* Tips accordion */
.tip-list { display: flex; flex-direction: column; gap: 16px; }
.tip-item { background: #fff; border: 1px solid #e2e0dc; border-radius: 6px; overflow: hidden; }
.tip-item-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.tip-item-btn .tag { font-size: 11px; font-weight: 600; color: #d9611f; text-transform: uppercase; letter-spacing: 0.5px; }
.tip-item-btn h3 { margin: 6px 0 0; font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; color: #1c1e22; }
.tip-item-btn .icon { font-size: 20px; color: #8a8d91; flex-shrink: 0; margin-left: 16px; }
.tip-item-body { padding: 0 24px 24px; display: none; }
.tip-item-body.open { display: block; }
.tip-item-body .thumb { height: 220px; margin-bottom: 16px; border-radius: 4px; overflow: hidden; }
.tip-item-body .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tip-item-body p { font-size: 14px; color: #3a3d42; line-height: 1.75; margin: 0; white-space: pre-line; }

/* Company info table */
.company-table {
  background: #fff;
  border: 1px solid #e2e0dc;
  border-radius: 6px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  font-size: 14px;
  color: #3a3d42;
  line-height: 1.7;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #d9611f;
  color: #1c1e22;
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 10px; top: 10px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { height: 260px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .perks .container { grid-template-columns: repeat(2, 1fr); }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .cart-grid, .contact-grid { grid-template-columns: 1fr; }
  .company-table { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; width: 100%; order: 3; }
  .main-nav.open { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 14px; border-top: 1px solid #33363c; margin-top: 10px; }
  .nav-toggle { display: inline-flex; }
  .hero h1 { font-size: 36px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; grid-template-areas: "thumb name" "thumb qty" "thumb total"; }
}
