/*
Theme Name: Harbor Hook Tackle
Theme URI: https://example.test/harbor-hook-tackle
Author: Codex
Description: A reproducible WooCommerce storefront theme for a fishing tools store.
Version: 1.0.0
Text Domain: harbor-hook-tackle
*/

:root {
  --ink: #14201d;
  --muted: #5e6d67;
  --water: #0f6b73;
  --river: #d7eef0;
  --reed: #7b8b3a;
  --sun: #f4b942;
  --sand: #f6f0e6;
  --line: #d8ded8;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 32, 29, 0.12);
  background: rgba(246, 240, 230, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--water);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--water);
}

.cart-link {
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.hero {
  min-height: clamp(560px, 74vh, 760px);
  display: flex;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 24, 22, 0.84), rgba(8, 24, 22, 0.48) 48%, rgba(8, 24, 22, 0.08)),
    url("./assets/hero-harbor-tackle.png") center / cover;
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.hero-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: #fff;
  background: var(--water);
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  color: var(--ink);
  background: var(--sun);
}

.section {
  padding: 74px 0;
}

.section.alt {
  background: #fff;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title h2 {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-title p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.category-grid,
.product-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.category-card,
.product-card,
.trust-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.category-card img,
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--river);
}

.category-card div,
.product-card .product-info,
.trust-card {
  padding: 18px;
}

.category-card h3,
.product-card h3,
.trust-card h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.category-card p,
.product-card p,
.trust-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.price {
  margin-top: 14px;
  color: var(--water);
  font-size: 1.18rem;
  font-weight: 900;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.badge {
  border: 1px solid rgba(15, 107, 115, 0.24);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--water);
  background: var(--river);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.woocommerce main,
.content-area {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
  margin-left: 14px;
  margin-right: 14px;
}

.woocommerce ul.products li.product .button {
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .nav-wrap,
  .section-title,
  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .category-grid,
  .product-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }
}
