/*
Theme Name: KitchenWarePicks
Theme URI: https://kitchenwarepicks.com
Author: KitchenWarePicks
Description: Custom theme for KitchenWarePicks.com
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lato:wght@300;400;700&display=swap');

:root {
  --cream: #fdf8f2;
  --warm-white: #fffcf8;
  --ink: #1c1a17;
  --brown: #5c3d2e;
  --orange: #e8622a;
  --gold: #c9973a;
  --light-brown: #8b6347;
  --border: #e8ddd0;
  --muted: #9a8878;
  --green: #3d7a5a;
  --tag-bg: #fef3e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* TOPBAR */
.kwp-topbar {
  background: var(--ink);
  color: #ccc;
  text-align: center;
  padding: 8px 20px;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 300;
}
.kwp-topbar b { color: var(--gold); }

/* HEADER */
.kwp-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(92,61,46,0.06);
}
.kwp-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--border);
}
.kwp-logo { text-align: center; flex: 1; }
.kwp-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--brown);
  letter-spacing: -1px;
  line-height: 1;
}
.kwp-logo-text span { color: var(--orange); }
.kwp-logo-tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
  margin-top: 4px;
}
.kwp-bot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 24px;
}
.kwp-bot-dot {
  width: 7px;
  height: 7px;
  background: #7dffc0;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.kwp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 13px 0;
  list-style: none;
}
.kwp-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}
.kwp-nav a:hover { color: var(--orange); }

/* HERO */
.kwp-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px;
}
.kwp-hero-main {
  padding-right: 48px;
  border-right: 1px solid var(--border);
}
.kwp-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.kwp-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.kwp-hero-title em { color: var(--orange); font-style: italic; }
.kwp-hero-excerpt {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
}
.kwp-hero-img {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f5e6d3, #ead5bc);
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}
.kwp-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background 0.2s;
}
.kwp-read-btn:hover { background: var(--orange); color: white; }

/* HERO SIDEBAR */
.kwp-hero-sidebar { padding-left: 48px; }
.kwp-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.kwp-sidebar-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.kwp-sidebar-item:hover { opacity: 0.75; }
.kwp-sidebar-item:last-child { border-bottom: none; }
.kwp-sidebar-thumb {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f0e0cc, #e0c8aa);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  overflow: hidden;
}
.kwp-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.kwp-sidebar-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.kwp-sidebar-headline {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
}
.kwp-sidebar-date { font-size: 11px; color: var(--muted); }

/* STATS BAR */
.kwp-stats {
  background: var(--brown);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin: 40px 0 0;
}
.kwp-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  text-align: center;
  line-height: 1;
}
.kwp-stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-top: 4px;
  font-weight: 300;
}
.kwp-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* SECTION HEADER */
.kwp-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1200px;
  margin: 52px auto 24px;
  padding: 0 40px;
}
.kwp-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
}
.kwp-section-title span {
  display: block;
  font-size: 10px;
  font-family: 'Lato', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 4px;
}
.kwp-see-all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}
.kwp-see-all:hover { text-decoration: underline; }

/* ARTICLE GRID */
.kwp-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.kwp-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.5s ease both;
}
.kwp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(92,61,46,0.12);
}
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.kwp-card:nth-child(1){animation-delay:0.1s}
.kwp-card:nth-child(2){animation-delay:0.2s}
.kwp-card:nth-child(3){animation-delay:0.3s}
.kwp-card:nth-child(4){animation-delay:0.15s}
.kwp-card:nth-child(5){animation-delay:0.25s}
.kwp-card:nth-child(6){animation-delay:0.35s}

.kwp-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fde8d4, #f5c9a4);
}
.kwp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.kwp-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.kwp-card-badge.green { background: var(--green); }
.kwp-card-badge.gold { background: var(--gold); }
.kwp-card-body { padding: 20px; }
.kwp-card-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.kwp-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}
.kwp-card-title a { color: var(--ink); }
.kwp-card-title a:hover { color: var(--orange); }
.kwp-card-excerpt {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 14px;
}
.kwp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.kwp-card-meta { font-size: 11px; color: var(--muted); }
.kwp-card-rating { font-size: 12px; font-weight: 700; color: var(--gold); }

/* CATEGORIES */
.kwp-categories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.kwp-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.kwp-cat-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 12px;
  text-align: center;
  transition: all 0.2s;
}
.kwp-cat-item:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.kwp-cat-item:hover .kwp-cat-name { color: white; }
.kwp-cat-item:hover .kwp-cat-count { color: rgba(255,255,255,0.7); }
.kwp-cat-emoji { font-size: 32px; margin-bottom: 8px; }
.kwp-cat-name { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.kwp-cat-count { font-size: 11px; color: var(--muted); }

/* NEWSLETTER */
.kwp-newsletter {
  background: var(--tag-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 40px;
  text-align: center;
  margin: 52px 0 0;
}
.kwp-newsletter h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 10px;
}
.kwp-newsletter p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 28px;
}
.kwp-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.kwp-newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  outline: none;
}
.kwp-newsletter-form button {
  background: var(--orange);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  white-space: nowrap;
  transition: background 0.2s;
}
.kwp-newsletter-form button:hover { background: var(--brown); }

/* FOOTER */
.kwp-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.kwp-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: white;
}
.kwp-footer-logo span { color: var(--gold); }
.kwp-footer-links { display: flex; gap: 24px; }
.kwp-footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.kwp-footer-links a:hover { color: var(--gold); }
.kwp-footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }

/* SINGLE POST */
.kwp-single-header {
  background: linear-gradient(135deg, var(--brown), #2c1810);
  color: white;
  padding: 60px 40px;
  text-align: center;
}
.kwp-single-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 16px;
}
.kwp-single-meta { font-size: 13px; opacity: 0.65; }
.kwp-single-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.kwp-single-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--brown);
  margin: 40px 0 16px;
}
.kwp-single-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--brown);
  margin: 28px 0 12px;
}
.kwp-single-content p { margin-bottom: 20px; font-size: 17px; line-height: 1.8; }
.kwp-single-content a { color: var(--orange); }
.kwp-single-content ul, .kwp-single-content ol { margin: 0 0 20px 24px; }
.kwp-single-content li { margin-bottom: 8px; font-size: 16px; line-height: 1.7; }
.kwp-single-content img { border-radius: 8px; margin: 20px 0; }
.kwp-single-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.kwp-single-content th { background: var(--brown); color: white; padding: 12px 16px; text-align: left; }
.kwp-single-content td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.kwp-single-content tr:nth-child(even) td { background: var(--warm-white); }
.kwp-single-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 16px 24px;
  background: var(--warm-white);
  margin: 24px 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .kwp-hero { grid-template-columns: 1fr; padding: 20px; }
  .kwp-hero-main { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 32px; }
  .kwp-hero-sidebar { padding-left: 0; }
  .kwp-article-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .kwp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .kwp-header { padding: 0 20px; }
  .kwp-stats { gap: 24px; padding: 20px; flex-wrap: wrap; }
  .kwp-footer { flex-direction: column; gap: 16px; text-align: center; }
  .kwp-single-header h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .kwp-article-grid { grid-template-columns: 1fr; }
  .kwp-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .kwp-hero-title { font-size: 32px; }
  .kwp-nav { display: none; }
}
