/* ==========================================================================
   POMPETS INDIA - Clean, High-Speed, Conversion-Optimized Stylesheet
   Domain: pompetsindia.com
   ========================================================================== */

:root {
  --primary: #e65100;
  --primary-dark: #bf360c;
  --primary-light: #fff3e0;
  --secondary: #0277bd;
  --secondary-dark: #01579b;
  --accent: #2e7d32;
  --amazon-orange: #ff9900;
  --amazon-hover: #e88b00;
  --text-main: #1a1a1a;
  --text-muted: #555555;
  --text-light: #777777;
  --bg-main: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --border-light: #f0f0f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.25s ease-in-out;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --content-width: 860px;
}

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

html {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: #fafbfc;
}

/* --- Reading Progress Bar --- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--amazon-orange));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* --- Header & Navigation --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: none;
}

@media(min-width: 640px) {
  .brand-tagline { display: block; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 8px 18px;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

/* --- Hero Banner --- */
.hero {
  background: linear-gradient(135deg, #fff8f0 0%, #fff 60%, #f0f7ff 100%);
  padding: 48px 0 36px 0;
  border-bottom: 1px solid var(--border-color);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ffd8a8;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.25;
  color: #111827;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--primary);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 780px;
}

.author-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-light);
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.author-badge {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- Table of Contents Box --- */
.toc-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media(min-width: 768px) {
  .toc-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }
}

.toc-list a {
  color: var(--secondary-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.toc-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* --- Main Content Typography --- */
.article-body {
  padding: 40px 0;
}

.article-body h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: #111827;
  margin: 48px 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin: 32px 0 14px 0;
}

.article-body p {
  font-size: 1.05rem;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.8;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 10px;
}

/* --- Trust / Alert Callouts (Anti-Slop / Human) --- */
.callout {
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 28px 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.callout-warning {
  background: #fff8e1;
  border-left: 5px solid #ffb300;
  color: #6a4f00;
}

.callout-tip {
  background: #e8f5e9;
  border-left: 5px solid #43a047;
  color: #1b5e20;
}

.callout-note {
  background: #e3f2fd;
  border-left: 5px solid #1e88e5;
  color: #0d47a1;
}

.callout-title {
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Interactive Filter Bar for Breeds --- */
.filter-wrapper {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.search-input {
  flex: 1 1 240px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

.filter-btn {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  background: #f9fafb;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- Responsive Table --- */
.table-responsive {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: #fff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th {
  background: #111827;
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: #374151;
}

.data-table tr:hover {
  background-color: #f9fafb;
}

.price-tag {
  font-weight: 700;
  color: #b91c1c;
}

.status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-beginner { background: #dcfce7; color: #166534; }
.status-moderate { background: #fef9c3; color: #854d0e; }
.status-experienced { background: #fee2e2; color: #991b1b; }

/* --- Breed Showcase Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 36px 0;
}

@media(min-width: 680px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.breed-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.breed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #fed7aa;
}

.breed-card-header {
  padding: 20px;
  background: #fff8f5;
  border-bottom: 1px solid #fde2d4;
}

.breed-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 4px;
}

.breed-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.breed-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-list {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  font-size: 0.9rem;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
  margin-bottom: 0;
}

.spec-list li span.label {
  color: var(--text-light);
  font-weight: 500;
}

.spec-list li span.val {
  font-weight: 600;
  color: var(--text-main);
}

/* --- High-Converting Amazon Affiliate Product Box --- */
.affiliate-box {
  background: #ffffff;
  border: 2px solid #ffcc80;
  border-radius: var(--radius);
  padding: 24px;
  margin: 36px 0;
  box-shadow: var(--shadow-md);
  position: relative;
}

.affiliate-badge {
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--amazon-orange);
  color: #111;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 12px;
  border-radius: 50px;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media(min-width: 768px) {
  .affiliate-grid {
    grid-template-columns: 220px 1fr auto;
  }
}

.affiliate-img-wrap {
  text-align: center;
  background: #fdfdfd;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #f0f0f0;
}

.affiliate-img-wrap img {
  max-height: 170px;
  max-width: 100%;
  object-fit: contain;
}

.affiliate-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.affiliate-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.85rem;
  margin-top: 10px;
}

.pros {
  color: #1b5e20;
  background: #f1f8e9;
  padding: 8px 12px;
  border-radius: 6px;
}

.cons {
  color: #b71c1c;
  background: #ffebee;
  padding: 8px 12px;
  border-radius: 6px;
}

.amazon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffc400, #ff9900);
  color: #111827;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
  transition: var(--transition);
  border: 1px solid #cca300;
  white-space: nowrap;
}

.amazon-btn:hover {
  background: linear-gradient(180deg, #ffb300, #e68a00);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.18);
}

.amazon-disclosure {
  font-size: 0.76rem;
  color: #888;
  margin-top: 14px;
  font-style: italic;
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
}

/* --- AdSense Placement Containers --- */
.ad-slot-wrapper {
  margin: 36px 0;
  padding: 16px;
  background: #ffffff;
  border: 1px dashed #d1d5db;
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  min-height: 100px;
}

.ad-label {
  font-size: 0.7rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: block;
}

/* --- FAQ Accordion --- */
.faq-wrap {
  margin: 36px 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1f2937;
  background: #fff;
  transition: var(--transition);
}

.faq-question:hover {
  background: #fafafa;
  color: var(--primary);
}

.faq-answer {
  padding: 0 22px 18px 22px;
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media(min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}
