/*
Theme Name: Esoteric Design Child
Theme URI: https://esoteric-design.com
Template: blocksy
Author: Esoteric Design Store
Description: Clean, minimal child theme for Esoteric Design Store
Version: 1.1.3
Text Domain: esoteric-design-child
*/

/* ============================================
   ESOTERIC DESIGN STORE - Custom Styles
   Aesthetic: Cariloha / Saatva inspired
   Clean, crisp, premium minimalist
   ============================================ */

:root {
  --ed-white: #ffffff;
  --ed-off-white: #fafafa;
  --ed-light-gray: #f5f5f5;
  --ed-border-gray: #e8e8e8;
  --ed-mid-gray: #9a9a9a;
  --ed-dark-gray: #555555;
  --ed-charcoal: #333333;
  --ed-black: #1a1a1a;
  --ed-accent: #8b7355;
  --ed-accent-hover: #74603f;
  --ed-font-heading: "Playfair Display", Georgia, serif;
  --ed-font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ed-max-width: 1320px;
  --ed-spacing-xs: 0.5rem;
  --ed-spacing-sm: 1rem;
  --ed-spacing-md: 2rem;
  --ed-spacing-lg: 4rem;
  --ed-spacing-xl: 6rem;
}

body {
  font-family: var(--ed-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ed-charcoal);
  background-color: var(--ed-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.woocommerce-loop-product__title,
.product_title {
  font-family: var(--ed-font-heading);
  font-weight: 500;
  color: var(--ed-black);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1, .entry-title { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1.5rem;
  color: var(--ed-dark-gray);
}

a {
  color: var(--ed-charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ed-accent);
}

/* --- Header --- */
header[data-id="type-1"],
.site-header {
  background: var(--ed-white) !important;
  border-bottom: 1px solid var(--ed-border-gray);
  box-shadow: none !important;
}

.site-header .ct-container {
  max-width: var(--ed-max-width);
}

.ct-header[data-sticky="yes"] {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06) !important;
}

.header-menu-1 a,
.ct-header a {
  font-family: var(--ed-font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ed-charcoal);
}

.header-menu-1 a:hover,
.ct-header a:hover {
  color: var(--ed-accent);
}

.ct-cart-icon {
  color: var(--ed-charcoal);
}

/* --- Buttons --- */
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.ct-button,
button[type="submit"] {
  font-family: var(--ed-font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--ed-black);
  color: var(--ed-white);
  border: none;
  border-radius: 0;
  padding: 0.9rem 2.5rem;
  transition: all 0.3s ease;
}

.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.ct-button:hover,
button[type="submit"]:hover {
  background-color: var(--ed-accent);
  color: var(--ed-white);
}

.woocommerce a.button.checkout,
.button.alt {
  background-color: var(--ed-white);
  color: var(--ed-black);
  border: 1.5px solid var(--ed-black);
}

.woocommerce a.button.checkout:hover {
  background-color: var(--ed-black);
  color: var(--ed-white);
}

/* --- WooCommerce Product Grid --- */
.woocommerce ul.products {
  margin: 0;
  padding: var(--ed-spacing-md) 0;
}

.woocommerce ul.products li.product {
  text-align: center;
  margin-bottom: var(--ed-spacing-lg);
  transition: transform 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
}

.woocommerce ul.products li.product a img {
  border-radius: 0;
  margin-bottom: var(--ed-spacing-sm);
  box-shadow: none;
  transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product:hover a img {
  opacity: 0.92;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--ed-font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.5rem 0 0.25rem;
  color: var(--ed-black);
}

.woocommerce ul.products li.product .price {
  font-family: var(--ed-font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ed-dark-gray);
}

.woocommerce ul.products li.product .price del {
  color: var(--ed-mid-gray);
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--ed-charcoal);
}

.woocommerce ul.products li.product .button {
  font-size: 0.75rem;
  padding: 0.65rem 1.5rem;
  margin-top: 0.5rem;
}

/* --- Single Product Page --- */
.single-product .product_title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.single-product .price {
  font-family: var(--ed-font-body);
  font-size: 1.25rem;
  color: var(--ed-charcoal);
  margin-bottom: 1.5rem;
}

.single-product .woocommerce-product-details__short-description {
  font-size: 0.95rem;
  color: var(--ed-dark-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.woocommerce div.product div.images {
  margin-bottom: var(--ed-spacing-md);
}

.woocommerce div.product div.images img {
  border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: var(--ed-spacing-lg);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--ed-font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ed-mid-gray);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--ed-black);
}

/* --- Cart & Checkout --- */
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review {
  background: var(--ed-off-white);
  padding: var(--ed-spacing-md);
}

.woocommerce table.shop_table {
  border: 1px solid var(--ed-border-gray);
  border-radius: 0;
}

.woocommerce table.shop_table th {
  font-family: var(--ed-font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ed-charcoal);
}

/* --- Footer --- */
footer.ct-footer,
.site-footer {
  background-color: var(--ed-black) !important;
  color: var(--ed-mid-gray);
  padding: var(--ed-spacing-lg) 0 var(--ed-spacing-md);
}

footer.ct-footer a,
.site-footer a {
  color: var(--ed-mid-gray);
}

footer.ct-footer a:hover,
.site-footer a:hover {
  color: var(--ed-white);
}

footer.ct-footer h1,
footer.ct-footer h2,
footer.ct-footer h3,
footer.ct-footer h4,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--ed-white);
  font-family: var(--ed-font-heading);
}

/* --- Breadcrumbs --- */
.ct-breadcrumbs {
  font-size: 0.8125rem;
  color: var(--ed-mid-gray);
  padding: var(--ed-spacing-sm) 0;
}

.ct-breadcrumbs a {
  color: var(--ed-mid-gray);
}

.ct-breadcrumbs a:hover {
  color: var(--ed-accent);
}

/* --- Search --- */
.ct-search-form input[type="search"] {
  font-family: var(--ed-font-body);
  border: 1px solid var(--ed-border-gray);
  border-radius: 0;
  padding: 0.75rem 1rem;
}

/* --- Widgets --- */
.widget-title {
  font-family: var(--ed-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* --- Sale Badge --- */
.woocommerce span.onsale {
  background-color: var(--ed-accent);
  color: var(--ed-white);
  font-family: var(--ed-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.35rem 0.75rem;
  min-height: auto;
  min-width: auto;
  line-height: 1.4;
}

/* --- Blog --- */
.blog .entry-title,
.archive .entry-title {
  font-size: 1.5rem;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Layout --- */
.ct-container {
  max-width: var(--ed-max-width);
}

.content-area {
  padding-top: var(--ed-spacing-md);
  padding-bottom: var(--ed-spacing-lg);
}

/* --- Responsive --- */
@media (max-width: 999px) {
  h1, .entry-title { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }

  .woocommerce ul.products li.product {
    margin-bottom: var(--ed-spacing-md);
  }
}

/* --- Email Capture Popup --- */
#ed-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#ed-popup-overlay.ed-popup-visible {
  opacity: 1;
  visibility: visible;
}

#ed-popup {
  background: var(--ed-white);
  width: 90%;
  max-width: 440px;
  padding: 48px 40px;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#ed-popup-overlay.ed-popup-visible #ed-popup {
  transform: translateY(0);
}

#ed-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ed-mid-gray);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

#ed-popup-close:hover {
  color: var(--ed-black);
  background: none;
}

#ed-popup h2 {
  font-family: var(--ed-font-heading);
  font-size: 1.75rem;
  color: var(--ed-black);
  margin: 0 0 8px;
}

#ed-popup-content > p {
  font-size: 0.95rem;
  color: var(--ed-dark-gray);
  margin: 0 0 24px;
  line-height: 1.6;
}

#ed-popup-email {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ed-border-gray);
  border-radius: 0;
  font-family: var(--ed-font-body);
  font-size: 0.95rem;
  color: var(--ed-charcoal);
  box-sizing: border-box;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}

#ed-popup-email:focus {
  border-color: var(--ed-accent);
}

#ed-popup-submit {
  width: 100%;
  padding: 14px;
  background: var(--ed-black);
  color: var(--ed-white);
  border: none;
  border-radius: 0;
  font-family: var(--ed-font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#ed-popup-submit:hover {
  background: var(--ed-accent);
}

#ed-popup-submit:disabled {
  background: var(--ed-mid-gray);
  cursor: not-allowed;
}

#ed-popup-msg {
  font-size: 0.85rem;
  margin: 12px 0 0;
  min-height: 20px;
}

#ed-popup-msg.ed-popup-error {
  color: #c0392b;
}

#ed-popup-msg.ed-popup-info {
  color: var(--ed-accent);
}

.ed-popup-coupon-label {
  font-size: 0.85rem;
  color: var(--ed-mid-gray);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ed-popup-coupon {
  font-family: monospace;
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--ed-black);
  background: var(--ed-light-gray);
  padding: 16px;
  margin: 0 0 12px;
  letter-spacing: 3px;
}

.ed-popup-check-email {
  font-size: 0.85rem;
  color: var(--ed-dark-gray);
  margin: 0;
}

/* ============================================
   HOMEPAGE
   ============================================ */

.ed-home {
  overflow: hidden;
}

/* --- Hero --- */
.ed-hero {
  background-color: #3E362E;
  color: var(--ed-white);
  padding: var(--ed-spacing-xl) var(--ed-spacing-sm);
  text-align: center;
}

.ed-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ed-hero h1 {
  font-family: var(--ed-font-heading);
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--ed-white);
  margin: 0 0 var(--ed-spacing-sm);
  line-height: 1.2;
}

.ed-hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--ed-spacing-md);
}

.ed-hero-cta {
  display: flex;
  gap: var(--ed-spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.ed-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--ed-font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ed-btn-primary {
  background: var(--ed-white);
  color: var(--ed-black);
}

.ed-btn-primary:hover {
  background: var(--ed-accent);
  color: var(--ed-white);
}

.ed-btn-outline {
  background: transparent;
  color: var(--ed-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.ed-btn-outline:hover {
  border-color: var(--ed-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--ed-white);
}

/* Context: on light backgrounds */
.ed-email-cta .ed-btn-primary {
  background: var(--ed-black);
  color: var(--ed-white);
}

.ed-email-cta .ed-btn-primary:hover {
  background: var(--ed-accent);
}

/* --- Shop by Interest Tiles --- */
.ed-tiles {
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
  background: var(--ed-white);
}

.ed-tiles-inner {
  max-width: var(--ed-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ed-spacing-sm);
}

.ed-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--ed-spacing-lg) var(--ed-spacing-md);
  min-height: 220px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ed-tile-title {
  font-family: var(--ed-font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ed-white);
  margin-bottom: 0.25rem;
}

.ed-tile-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* --- Featured Products --- */
.ed-featured {
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
  background: var(--ed-off-white);
}

.ed-featured-inner {
  max-width: var(--ed-max-width);
  margin: 0 auto;
}

.ed-featured h2 {
  font-family: var(--ed-font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ed-black);
  text-align: center;
  margin: 0 0 var(--ed-spacing-md);
}

/* --- Value Proposition Strip --- */
.ed-values {
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
  background: var(--ed-white);
  border-top: 1px solid var(--ed-border-gray);
  border-bottom: 1px solid var(--ed-border-gray);
}

.ed-values-inner {
  max-width: var(--ed-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ed-spacing-md);
  text-align: center;
}

.ed-value svg {
  color: var(--ed-accent);
  margin-bottom: var(--ed-spacing-xs);
}

.ed-value h3 {
  font-family: var(--ed-font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ed-black);
  margin: 0 0 0.25rem;
}

.ed-value p {
  font-size: 0.85rem;
  color: var(--ed-dark-gray);
  line-height: 1.6;
  margin: 0;
}

/* --- Blog Preview --- */
.ed-blog-preview {
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
  background: var(--ed-off-white);
}

.ed-blog-preview-inner {
  max-width: var(--ed-max-width);
  margin: 0 auto;
}

.ed-blog-preview h2 {
  font-family: var(--ed-font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ed-black);
  text-align: center;
  margin: 0 0 var(--ed-spacing-md);
}

.ed-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-spacing-sm);
}

.ed-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--ed-white);
  border: 1px solid var(--ed-border-gray);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ed-blog-card:hover {
  border-color: var(--ed-accent);
  transform: translateY(-2px);
}

.ed-blog-card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.ed-blog-card-body {
  padding: var(--ed-spacing-sm);
}

.ed-blog-card-title {
  font-family: var(--ed-font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ed-charcoal);
  line-height: 1.4;
  display: block;
  margin-bottom: 0.25rem;
}

.ed-blog-card:hover .ed-blog-card-title {
  color: var(--ed-accent);
}

.ed-blog-card-date {
  font-size: 0.8rem;
  color: var(--ed-mid-gray);
}

/* --- Email Capture CTA --- */
.ed-email-cta {
  padding: var(--ed-spacing-xl) var(--ed-spacing-sm);
  background: var(--ed-light-gray);
  text-align: center;
}

.ed-email-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.ed-email-cta h2 {
  font-family: var(--ed-font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ed-black);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-email-cta p {
  font-size: 1rem;
  color: var(--ed-dark-gray);
  line-height: 1.7;
  margin: 0 0 var(--ed-spacing-md);
}

/* ============================================
   COLLECTIONS PAGE
   ============================================ */

.ed-collections-hero {
  background-color: #3E362E;
  color: var(--ed-white);
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
  text-align: center;
}

.ed-collections-hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.ed-collections-hero h1 {
  font-family: var(--ed-font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ed-white);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-collections-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.ed-collections-grid-section {
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
}

.ed-collections-grid-inner {
  max-width: var(--ed-max-width);
  margin: 0 auto;
}

.ed-collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-spacing-md);
}

.ed-collection-card {
  display: flex;
  flex-direction: column;
  padding: var(--ed-spacing-lg) var(--ed-spacing-md);
  background: var(--ed-light-gray);
  border: 1px solid var(--ed-border-gray);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-height: 200px;
}

.ed-collection-card:hover {
  border-color: var(--ed-accent);
  transform: translateY(-3px);
}

.ed-collection-card-title {
  font-family: var(--ed-font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ed-charcoal);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-collection-card:hover .ed-collection-card-title {
  color: var(--ed-accent);
}

.ed-collection-card-desc {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  line-height: 1.6;
  margin: 0 0 auto;
}

.ed-collection-card-count {
  font-size: 0.8rem;
  color: var(--ed-mid-gray);
  margin-top: var(--ed-spacing-sm);
}

.ed-collections-empty {
  text-align: center;
  font-size: 1.1rem;
  color: var(--ed-mid-gray);
  padding: var(--ed-spacing-xl) 0;
}

/* ============================================
   HOMEPAGE + COLLECTIONS RESPONSIVE
   ============================================ */

@media (max-width: 999px) {
  .ed-hero h1 { font-size: 2.25rem; }
  .ed-values-inner { grid-template-columns: repeat(2, 1fr); }
  .ed-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-collections-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 689px) {
  .ed-hero { padding: var(--ed-spacing-lg) var(--ed-spacing-sm); }
  .ed-hero h1 { font-size: 1.75rem; }
  .ed-hero-sub { font-size: 0.95rem; }
  .ed-hero-cta { flex-direction: column; align-items: center; }
  .ed-hero-cta .ed-btn { width: 100%; max-width: 280px; text-align: center; }
  .ed-tiles-inner { grid-template-columns: 1fr; }
  .ed-tile { min-height: 160px; padding: var(--ed-spacing-md); }
  .ed-values-inner { grid-template-columns: 1fr; gap: var(--ed-spacing-lg); }
  .ed-blog-grid { grid-template-columns: 1fr; }
  .ed-email-cta h2 { font-size: 1.5rem; }
  .ed-collections-hero h1 { font-size: 1.75rem; }
  .ed-collections-grid { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE SEARCH BUTTON
   Fixed position search icon, mobile only.
   Triggers Blocksy's built-in search modal.
   ============================================ */

#ed-mobile-search {
  display: none;
}

@media (max-width: 999px) {
  #ed-mobile-search {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--ed-black);
    color: var(--ed-white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 9998;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  #ed-mobile-search:hover,
  #ed-mobile-search:active {
    background: var(--ed-accent);
    transform: scale(1.05);
  }

  #ed-mobile-search svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   BREED INTRO HERO
   Rendered above the product grid on
   breed-level category archives
   ============================================ */

.ed-breed-intro {
  max-width: var(--ed-max-width);
  margin: 0 auto var(--ed-spacing-md);
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm) var(--ed-spacing-md);
  text-align: center;
  border-bottom: 1px solid var(--ed-border-gray);
}

.ed-breed-intro-title {
  font-family: var(--ed-font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ed-black);
  margin: 0 0 var(--ed-spacing-xs);
  letter-spacing: -0.01em;
}

.ed-breed-intro-tagline {
  font-family: var(--ed-font-body);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ed-dark-gray);
  margin: 0 0 var(--ed-spacing-sm);
  font-style: italic;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.ed-breed-intro-group {
  font-size: 0.85rem;
  color: var(--ed-mid-gray);
  margin: 0 0 var(--ed-spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ed-breed-intro-group a {
  color: var(--ed-accent);
  text-decoration: none;
}

.ed-breed-intro-group a:hover {
  text-decoration: underline;
}

.ed-breed-intro-personality {
  font-size: 0.95rem;
  color: var(--ed-dark-gray);
  margin: var(--ed-spacing-xs) 0 0;
}

.ed-breed-intro-personality strong {
  color: var(--ed-charcoal);
}

/* Responsive - Mobile */
@media (max-width: 689px) {
  .ed-breed-intro {
    padding: var(--ed-spacing-md) var(--ed-spacing-sm) var(--ed-spacing-sm);
  }

  .ed-breed-intro-title {
    font-size: 1.75rem;
  }

  .ed-breed-intro-tagline {
    font-size: 1rem;
  }
}

/* ============================================
   BREED HUB PAGES
   Sections rendered after product grid on
   breed-level category archives
   ============================================ */

.ed-breed-hub {
  max-width: var(--ed-max-width);
  margin: var(--ed-spacing-lg) auto 0;
  padding: 0 var(--ed-spacing-sm);
}

.ed-breed-hub h2 {
  font-family: var(--ed-font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ed-black);
  margin: 0 0 var(--ed-spacing-sm);
  padding-top: var(--ed-spacing-lg);
  border-top: 1px solid var(--ed-border-gray);
}

.ed-breed-hub section:first-child h2 {
  border-top: none;
  padding-top: 0;
}

/* About the Breed */
.ed-breed-about p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ed-dark-gray);
  margin: 0 0 var(--ed-spacing-sm);
}

.ed-breed-about strong {
  color: var(--ed-charcoal);
}

/* Gift Guide */
.ed-breed-gift-guide p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ed-dark-gray);
}

/* Related Breeds Grid */
.ed-breed-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-spacing-sm);
  margin-top: var(--ed-spacing-sm);
}

.ed-breed-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ed-spacing-md) var(--ed-spacing-sm);
  background: var(--ed-light-gray);
  border: 1px solid var(--ed-border-gray);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ed-breed-card:hover {
  border-color: var(--ed-accent);
  transform: translateY(-2px);
}

.ed-breed-card-name {
  font-family: var(--ed-font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ed-charcoal);
  text-align: center;
}

.ed-breed-card:hover .ed-breed-card-name {
  color: var(--ed-accent);
}

/* Blog Posts Grid */
.ed-breed-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-spacing-sm);
  margin-top: var(--ed-spacing-sm);
}

.ed-breed-post-card {
  display: flex;
  flex-direction: column;
  padding: var(--ed-spacing-md) var(--ed-spacing-sm);
  background: var(--ed-off-white);
  border: 1px solid var(--ed-border-gray);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.ed-breed-post-card:hover {
  border-color: var(--ed-accent);
}

.ed-breed-post-title {
  font-family: var(--ed-font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ed-charcoal);
  margin-bottom: var(--ed-spacing-xs);
  line-height: 1.4;
}

.ed-breed-post-card:hover .ed-breed-post-title {
  color: var(--ed-accent);
}

.ed-breed-post-date {
  font-size: 0.8rem;
  color: var(--ed-mid-gray);
}

/* FAQ Accordion */
.ed-breed-faq details {
  border-bottom: 1px solid var(--ed-border-gray);
}

.ed-breed-faq details:first-of-type {
  border-top: 1px solid var(--ed-border-gray);
  margin-top: var(--ed-spacing-sm);
}

.ed-breed-faq summary {
  padding: var(--ed-spacing-sm) 0;
  font-family: var(--ed-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ed-charcoal);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ed-breed-faq summary::-webkit-details-marker {
  display: none;
}

.ed-breed-faq summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--ed-mid-gray);
  transition: transform 0.2s ease;
}

.ed-breed-faq details[open] summary::after {
  content: "\2212";
}

.ed-breed-faq details p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ed-dark-gray);
  margin: 0 0 var(--ed-spacing-sm);
  padding: 0;
}

/* Responsive — Tablet */
@media (max-width: 999px) {
  .ed-breed-related-grid,
  .ed-breed-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive — Mobile */
@media (max-width: 689px) {
  .ed-breed-hub h2 {
    font-size: 1.35rem;
  }

  .ed-breed-related-grid,
  .ed-breed-posts-grid {
    grid-template-columns: 1fr;
  }

  .ed-breed-card {
    padding: var(--ed-spacing-sm);
  }
}

/* ============================================
   BREED QUIZ
   Interactive quiz page + result pages
   ============================================ */

/* --- Quiz Hero --- */
.ed-quiz-hero {
  background-color: #3E362E;
  color: var(--ed-white);
  padding: var(--ed-spacing-xl) var(--ed-spacing-sm);
  text-align: center;
}

.ed-quiz-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.ed-quiz-hero h1 {
  font-family: var(--ed-font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ed-white);
  margin: 0 0 var(--ed-spacing-sm);
  line-height: 1.2;
}

.ed-quiz-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--ed-spacing-md);
}

.ed-quiz-hero-time {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: var(--ed-spacing-sm) 0 0;
}

.ed-quiz-hero-hidden {
  display: none;
}

/* --- Quiz Container --- */
.ed-quiz-container {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
}

/* --- Progress Bar --- */
.ed-quiz-progress {
  width: 100%;
  height: 4px;
  background: var(--ed-border-gray);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--ed-spacing-xs);
}

.ed-quiz-progress-bar {
  height: 100%;
  background: var(--ed-accent);
  width: 0;
  transition: width 0.3s ease;
}

.ed-quiz-progress-text {
  font-size: 0.8rem;
  color: var(--ed-mid-gray);
  text-align: right;
  margin: 0 0 var(--ed-spacing-md);
}

/* --- Question --- */
.ed-quiz-question {
  min-height: 300px;
}

.ed-quiz-q-text {
  font-family: var(--ed-font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ed-black);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-quiz-q-subtitle {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  margin: 0 0 var(--ed-spacing-md);
}

/* --- Options --- */
.ed-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-quiz-option {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--ed-font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ed-charcoal);
  background: var(--ed-white);
  border: 1px solid var(--ed-border-gray);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ed-quiz-option:hover {
  border-color: var(--ed-accent);
  background: var(--ed-off-white);
}

.ed-quiz-option-selected {
  border-color: var(--ed-accent);
  background: rgba(139, 115, 85, 0.08);
  font-weight: 500;
}

/* Priority grid */
.ed-quiz-priorities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* --- Navigation --- */
.ed-quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--ed-spacing-md);
  gap: var(--ed-spacing-sm);
}

.ed-quiz-nav .ed-btn {
  min-width: 120px;
  text-align: center;
}

.ed-quiz-nav .ed-btn-primary {
  background: var(--ed-black);
  color: var(--ed-white);
}

.ed-quiz-nav .ed-btn-primary:hover {
  background: var(--ed-accent);
}

.ed-quiz-nav .ed-btn-primary:disabled {
  background: var(--ed-border-gray);
  color: var(--ed-mid-gray);
  cursor: not-allowed;
}

.ed-quiz-nav .ed-btn-outline {
  color: var(--ed-charcoal);
  border-color: var(--ed-border-gray);
}

.ed-quiz-nav .ed-btn-outline:hover {
  border-color: var(--ed-charcoal);
  color: var(--ed-black);
  background: transparent;
}

/* --- Loading --- */
.ed-quiz-loading {
  text-align: center;
  padding: var(--ed-spacing-xl) 0;
}

.ed-quiz-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--ed-border-gray);
  border-top-color: var(--ed-accent);
  border-radius: 50%;
  margin: 0 auto var(--ed-spacing-sm);
  animation: ed-spin 0.8s linear infinite;
}

@keyframes ed-spin {
  to { transform: rotate(360deg); }
}

.ed-quiz-error {
  text-align: center;
  color: #c0392b;
  padding: var(--ed-spacing-lg) 0;
}

/* --- Results --- */
.ed-quiz-results {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
}

.ed-quiz-results-title {
  font-family: var(--ed-font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ed-black);
  text-align: center;
  margin: 0 0 var(--ed-spacing-lg);
}

/* --- Breed Image (shared: quiz cards, result pages, hubs) --- */
.ed-breed-image-wrap {
  position: relative;
  max-width: 300px;
  margin: 0 auto var(--ed-spacing-md);
  user-select: none;
  -webkit-user-select: none;
}

.ed-breed-image {
  width: 100%;
  padding-bottom: 117%; /* 600:700 aspect ratio from source images */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

/* Transparent shield blocks right-click, drag, save-as */
.ed-breed-image-shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  -webkit-user-drag: none;
}

.ed-breed-image-shield::before {
  content: '';
  display: block;
}

/* In quiz match cards, constrain image size */
.ed-quiz-match .ed-breed-image-wrap {
  max-width: 220px;
  margin-bottom: var(--ed-spacing-sm);
}

/* In result hero, slightly larger */
.ed-quiz-result-hero .ed-breed-image-wrap {
  max-width: 280px;
  margin-bottom: var(--ed-spacing-md);
}

/* --- Match Card --- */
.ed-quiz-match {
  background: var(--ed-white);
  border: 1px solid var(--ed-border-gray);
  padding: var(--ed-spacing-md);
  margin-bottom: var(--ed-spacing-md);
}

.ed-quiz-match-header {
  display: flex;
  align-items: baseline;
  gap: var(--ed-spacing-sm);
  margin-bottom: var(--ed-spacing-sm);
  flex-wrap: wrap;
}

.ed-quiz-match-rank {
  font-family: var(--ed-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ed-accent);
}

.ed-quiz-match-name {
  font-family: var(--ed-font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ed-black);
  margin: 0;
  flex: 1;
}

.ed-quiz-match-score {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ed-accent);
}

.ed-quiz-match-personality {
  font-size: 0.95rem;
  color: var(--ed-dark-gray);
  margin: 0 0 var(--ed-spacing-sm);
}

/* Reasons */
.ed-quiz-match-reasons h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ed-charcoal);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-quiz-match-reasons ul {
  margin: 0 0 var(--ed-spacing-sm);
  padding-left: 1.25rem;
}

.ed-quiz-match-reasons li {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  line-height: 1.6;
}

/* Stats grid */
.ed-quiz-match-stats, .ed-quiz-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-spacing-xs);
  margin-bottom: var(--ed-spacing-sm);
}

.ed-quiz-stat {
  background: var(--ed-light-gray);
  padding: 0.75rem;
  text-align: center;
}

.ed-quiz-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ed-mid-gray);
  margin-bottom: 0.25rem;
}

.ed-quiz-stat-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ed-charcoal);
}

/* Health warning */
.ed-quiz-match-health, .ed-quiz-result-health {
  background: #fef9f0;
  border-left: 3px solid var(--ed-accent);
  padding: var(--ed-spacing-sm) var(--ed-spacing-md);
  margin-bottom: var(--ed-spacing-sm);
}

.ed-quiz-match-health h4, .ed-quiz-result-health h2 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ed-charcoal);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-quiz-match-health p, .ed-quiz-result-health p {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  line-height: 1.6;
  margin: 0 0 0.25rem;
}

.ed-quiz-match-cost, .ed-quiz-result-vet-cost {
  font-weight: 500;
  color: var(--ed-charcoal);
}

/* Fun facts */
.ed-quiz-match-facts h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ed-charcoal);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-quiz-match-facts ul {
  margin: 0 0 var(--ed-spacing-sm);
  padding-left: 1.25rem;
}

.ed-quiz-match-facts li {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  line-height: 1.6;
}

/* Actions */
.ed-quiz-match-actions, .ed-quiz-result-actions {
  display: flex;
  gap: var(--ed-spacing-xs);
  flex-wrap: wrap;
  margin-top: var(--ed-spacing-sm);
  padding-top: var(--ed-spacing-sm);
  border-top: 1px solid var(--ed-border-gray);
}

.ed-quiz-match-actions .ed-btn,
.ed-quiz-result-actions .ed-btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
}

.ed-quiz-match-actions .ed-btn-primary,
.ed-quiz-result-actions .ed-btn-primary {
  background: var(--ed-black);
  color: var(--ed-white);
}

.ed-quiz-match-actions .ed-btn-primary:hover,
.ed-quiz-result-actions .ed-btn-primary:hover {
  background: var(--ed-accent);
}

.ed-quiz-match-actions .ed-btn-outline,
.ed-quiz-result-actions .ed-btn-outline {
  color: var(--ed-charcoal);
  border-color: var(--ed-border-gray);
}

.ed-quiz-match-actions .ed-btn-outline:hover,
.ed-quiz-result-actions .ed-btn-outline:hover {
  border-color: var(--ed-charcoal);
  color: var(--ed-black);
  background: transparent;
}

/* --- Email CTA (in results) --- */
.ed-quiz-email-cta {
  background: var(--ed-light-gray);
  padding: var(--ed-spacing-md);
  text-align: center;
  margin: var(--ed-spacing-lg) 0 var(--ed-spacing-md);
}

.ed-quiz-email-cta h3 {
  font-family: var(--ed-font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-quiz-email-cta p {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  margin: 0 0 var(--ed-spacing-sm);
}

.ed-quiz-email-form {
  display: flex;
  gap: var(--ed-spacing-xs);
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}

.ed-quiz-email-form input[type="email"] {
  flex: 1;
  padding: 0.625rem 1rem;
  font-family: var(--ed-font-body);
  font-size: 0.9rem;
  border: 1px solid var(--ed-border-gray);
  outline: none;
}

.ed-quiz-email-form input[type="email"]:focus {
  border-color: var(--ed-accent);
}

.ed-quiz-email-form .ed-btn {
  padding: 0.625rem 1.25rem;
  background: var(--ed-black);
  color: var(--ed-white);
  white-space: nowrap;
}

.ed-quiz-email-msg {
  font-size: 0.85rem;
  margin: var(--ed-spacing-xs) 0 0;
}

.ed-quiz-email-success {
  color: #27ae60;
}

/* Retake */
.ed-quiz-retake {
  text-align: center;
  margin-top: var(--ed-spacing-md);
}

.ed-quiz-retake .ed-btn-outline {
  color: var(--ed-charcoal);
  border-color: var(--ed-border-gray);
}

.ed-quiz-retake .ed-btn-outline:hover {
  border-color: var(--ed-charcoal);
  color: var(--ed-black);
  background: transparent;
}

/* --- Result Page (SEO) --- */
.ed-quiz-result-hero {
  background-color: #3E362E;
  color: var(--ed-white);
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
  text-align: center;
}

.ed-quiz-result-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.ed-quiz-result-hero h1 {
  font-family: var(--ed-font-heading);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--ed-white);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-quiz-result-personality {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-quiz-result-humor {
  font-size: 0.9rem;
  color: var(--ed-accent);
  font-weight: 500;
}

.ed-quiz-result-body {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
}

.ed-quiz-result-body h2 {
  font-family: var(--ed-font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ed-black);
  margin: var(--ed-spacing-lg) 0 var(--ed-spacing-sm);
  padding-top: var(--ed-spacing-sm);
  border-top: 1px solid var(--ed-border-gray);
}

.ed-quiz-result-body section:first-child h2 {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

/* Score bars */
.ed-quiz-score-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-quiz-score-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  gap: var(--ed-spacing-xs);
  align-items: center;
}

.ed-quiz-score-label {
  font-size: 0.85rem;
  color: var(--ed-charcoal);
  font-weight: 500;
}

.ed-quiz-score-track {
  height: 8px;
  background: var(--ed-light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.ed-quiz-score-fill {
  height: 100%;
  background: var(--ed-accent);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.ed-quiz-score-val {
  font-size: 0.8rem;
  color: var(--ed-mid-gray);
  text-align: right;
}

/* Best for / Not ideal */
.ed-quiz-result-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ed-spacing-sm);
  margin-top: var(--ed-spacing-sm);
}

.ed-quiz-fit-good, .ed-quiz-fit-caution {
  padding: var(--ed-spacing-sm);
}

.ed-quiz-fit-good {
  background: #f0f9f0;
  border-left: 3px solid #27ae60;
}

.ed-quiz-fit-caution {
  background: #fef9f0;
  border-left: 3px solid var(--ed-accent);
}

.ed-quiz-fit-good h3, .ed-quiz-fit-caution h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-quiz-fit-good p, .ed-quiz-fit-caution p {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  line-height: 1.6;
  margin: 0;
}

/* History, Facts, Famous */
.ed-quiz-result-history p,
.ed-quiz-result-famous p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ed-dark-gray);
}

.ed-quiz-result-facts ul {
  padding-left: 1.25rem;
  margin: 0;
}

.ed-quiz-result-facts li {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.ed-quiz-result-coming-soon {
  font-size: 0.95rem;
  color: var(--ed-mid-gray);
  font-style: italic;
}

.ed-quiz-result-actions {
  justify-content: center;
  margin-top: var(--ed-spacing-lg);
  padding-top: var(--ed-spacing-md);
}

/* --- Quiz Responsive --- */
@media (max-width: 999px) {
  .ed-quiz-stats-grid,
  .ed-quiz-match-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ed-quiz-result-fit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 689px) {
  .ed-quiz-hero h1 { font-size: 1.75rem; }
  .ed-quiz-hero-sub { font-size: 0.95rem; }
  .ed-quiz-q-text { font-size: 1.25rem; }
  .ed-quiz-priorities { grid-template-columns: 1fr; }
  .ed-quiz-results-title { font-size: 1.5rem; }
  .ed-quiz-match-header { flex-direction: column; gap: 0.25rem; }
  .ed-quiz-match-actions, .ed-quiz-result-actions { flex-direction: column; }
  .ed-quiz-match-actions .ed-btn,
  .ed-quiz-result-actions .ed-btn { width: 100%; text-align: center; }
  .ed-quiz-email-form { flex-direction: column; }
  .ed-quiz-stats-grid,
  .ed-quiz-match-stats { grid-template-columns: 1fr 1fr; }
  .ed-quiz-score-row { grid-template-columns: 100px 1fr 36px; }
  .ed-quiz-result-hero h1 { font-size: 1.75rem; }
}

@media (max-width: 689px) {
  h1, .entry-title { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .single-product .product_title {
    font-size: 1.5rem;
  }

  .wp-block-button__link,
  .woocommerce a.button,
  .woocommerce button.button {
    padding: 0.75rem 1.75rem;
  }

  #ed-popup {
    width: 95%;
    padding: 36px 24px;
  }

  #ed-popup h2 {
    font-size: 1.5rem;
  }

  .ed-popup-coupon {
    font-size: 1.35rem;
    padding: 12px;
  }
}

/* ============================================
   DOG NAMER
   ============================================ */

/* --- Hero --- */
.ed-namer-hero {
  background-color: #3E362E;
  color: var(--ed-white);
  padding: var(--ed-spacing-xl) var(--ed-spacing-sm);
  text-align: center;
}

.ed-namer-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ed-namer-hero h1 {
  font-family: var(--ed-font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ed-white);
  margin: 0 0 var(--ed-spacing-sm);
  line-height: 1.2;
}

.ed-namer-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.ed-namer-hero .ed-breed-image-wrap {
  max-width: 220px;
  margin: 0 auto var(--ed-spacing-md);
}

/* --- Form --- */
.ed-namer-form {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
}

.ed-namer-field {
  margin-bottom: var(--ed-spacing-md);
}

.ed-namer-field label {
  display: block;
  font-family: var(--ed-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ed-black);
  margin-bottom: 0.5rem;
}

.ed-namer-optional {
  font-weight: 400;
  color: var(--ed-dark-gray);
  font-size: 0.85rem;
}

.ed-namer-field input[type="text"],
.ed-namer-field input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--ed-font-body);
  font-size: 1rem;
  border: 1px solid var(--ed-border-gray);
  background: var(--ed-white);
  color: var(--ed-black);
  box-sizing: border-box;
}

.ed-namer-field input:focus {
  outline: none;
  border-color: var(--ed-accent);
}

/* --- Sex Selector --- */
.ed-namer-sex-options {
  display: flex;
  gap: 0.5rem;
}

.ed-namer-option {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--ed-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--ed-border-gray);
  background: var(--ed-white);
  color: var(--ed-black);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.ed-namer-option:hover {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
}

.ed-namer-option-selected {
  background: var(--ed-accent);
  color: var(--ed-white);
  border-color: var(--ed-accent);
}

/* --- Breed Autocomplete --- */
.ed-namer-breed-wrap {
  position: relative;
}

.ed-namer-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ed-white);
  border: 1px solid var(--ed-border-gray);
  border-top: none;
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
}

.ed-namer-dropdown-item {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
}

.ed-namer-dropdown-item:hover {
  background: var(--ed-off-white);
}

/* --- Go Button --- */
.ed-namer-form .ed-btn-primary {
  width: 100%;
  margin-top: var(--ed-spacing-sm);
  background: var(--ed-black);
  color: var(--ed-white);
}

.ed-namer-form .ed-btn-primary:hover {
  background: var(--ed-accent);
}

/* --- Results --- */
.ed-namer-results {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--ed-spacing-sm) var(--ed-spacing-lg);
}

.ed-namer-row {
  margin-bottom: var(--ed-spacing-lg);
}

.ed-namer-row-title {
  font-family: var(--ed-font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ed-black);
  margin: 0 0 var(--ed-spacing-sm);
}

.ed-namer-name-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-spacing-sm);
}

.ed-namer-name-card {
  background: var(--ed-white);
  border: 1px solid var(--ed-border-gray);
  padding: var(--ed-spacing-md);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-namer-name-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ed-namer-name {
  display: block;
  font-family: var(--ed-font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ed-black);
  margin-bottom: 0.5rem;
}

.ed-namer-blurb {
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ed-dark-gray);
}

/* --- Shuffle & Share --- */
.ed-namer-shuffle,
.ed-namer-share {
  text-align: center;
  margin-bottom: var(--ed-spacing-sm);
}

/* --- Name Check --- */
.ed-namer-check {
  max-width: 640px;
  margin: var(--ed-spacing-md) auto;
  padding: 0 var(--ed-spacing-sm);
}

.ed-namer-check summary {
  font-family: var(--ed-font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ed-accent);
  padding: var(--ed-spacing-sm) 0;
}

.ed-namer-check-body {
  padding: var(--ed-spacing-sm) 0;
}

.ed-namer-check-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--ed-spacing-sm);
}

.ed-namer-check-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--ed-border-gray);
  font-family: var(--ed-font-body);
}

.ed-namer-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ed-namer-check-icon {
  flex-shrink: 0;
  font-size: 1rem;
}

.ed-namer-check-good .ed-namer-check-text { color: #2c7a3d; }
.ed-namer-check-warn .ed-namer-check-text { color: #b8860b; }
.ed-namer-check-info .ed-namer-check-text { color: var(--ed-dark-gray); }

/* --- User Submission --- */
.ed-namer-submit-section {
  max-width: 640px;
  margin: var(--ed-spacing-md) auto;
  padding: var(--ed-spacing-md) var(--ed-spacing-sm);
  text-align: center;
  border-top: 1px solid var(--ed-border-gray);
}

.ed-namer-submit-section h3 {
  font-family: var(--ed-font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
}

.ed-namer-submit-section p {
  font-size: 0.85rem;
  color: var(--ed-dark-gray);
  margin: 0 0 var(--ed-spacing-sm);
}

.ed-namer-submit-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.ed-namer-submit-form input {
  max-width: 250px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--ed-border-gray);
  font-family: var(--ed-font-body);
}

.ed-namer-submit-success { color: #2c7a3d; font-size: 0.9rem; }
.ed-namer-submit-error { color: #c0392b; font-size: 0.9rem; }

/* --- Breed-Specific Landing --- */
.ed-namer-breed-info {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--ed-spacing-md) var(--ed-spacing-sm);
}

.ed-namer-breed-info section {
  margin-bottom: var(--ed-spacing-md);
}

.ed-namer-breed-info h2 {
  font-family: var(--ed-font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-namer-breed-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ed-dark-gray);
}

.ed-namer-actions {
  display: flex;
  gap: var(--ed-spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .ed-namer-hero h1 {
    font-size: 1.8rem;
  }

  .ed-namer-name-grid {
    grid-template-columns: 1fr;
  }

  .ed-namer-name {
    font-size: 1.3rem;
  }

  .ed-namer-actions {
    flex-direction: column;
  }

  .ed-namer-actions .ed-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ed-namer-sex-options {
    flex-direction: column;
  }

  .ed-namer-submit-form {
    flex-direction: column;
    align-items: center;
  }

  .ed-namer-submit-form input {
    max-width: 100%;
    width: 100%;
  }

  .ed-namer-check-form {
    flex-direction: column;
  }
}

/* ============================================
   PUPPY TRACKER
   ============================================ */

/* --- Hero --- */
.ed-tracker-hero {
  background-color: #3E362E;
  color: var(--ed-white);
  padding: var(--ed-spacing-xl) var(--ed-spacing-sm);
  text-align: center;
}

.ed-tracker-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ed-tracker-hero h1 {
  font-family: var(--ed-font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ed-white);
  margin: 0 0 var(--ed-spacing-sm);
  line-height: 1.2;
}

.ed-tracker-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.ed-tracker-hero .ed-breed-image-wrap {
  max-width: 220px;
  margin: 0 auto var(--ed-spacing-md);
}

/* --- Setup Form --- */
.ed-tracker-setup {
  max-width: 500px;
  margin: 0 auto;
  padding: var(--ed-spacing-lg) var(--ed-spacing-sm);
}

.ed-tracker-field {
  margin-bottom: var(--ed-spacing-md);
}

.ed-tracker-field label {
  display: block;
  font-family: var(--ed-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ed-black);
  margin-bottom: 0.5rem;
}

.ed-tracker-optional {
  font-weight: 400;
  color: var(--ed-dark-gray);
  font-size: 0.85rem;
}

.ed-tracker-field input[type="text"],
.ed-tracker-field input[type="number"],
.ed-tracker-field input[type="date"] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--ed-font-body);
  font-size: 1rem;
  border: 1px solid var(--ed-border-gray);
  background: var(--ed-white);
  color: var(--ed-black);
  box-sizing: border-box;
}

.ed-tracker-field input:focus,
.ed-tracker-field select:focus {
  outline: none;
  border-color: var(--ed-accent);
}

.ed-tracker-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--ed-font-body);
  font-size: 1rem;
  border: 1px solid var(--ed-border-gray);
  background: var(--ed-white);
  color: var(--ed-black);
  box-sizing: border-box;
  appearance: auto;
}

.ed-tracker-sex-options {
  display: flex;
  gap: 0.5rem;
}

.ed-tracker-option {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--ed-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--ed-border-gray);
  background: var(--ed-white);
  color: var(--ed-black);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.ed-tracker-option:hover {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
}

.ed-tracker-option-selected {
  background: var(--ed-accent);
  color: var(--ed-white);
  border-color: var(--ed-accent);
}

.ed-tracker-breed-wrap {
  position: relative;
}

.ed-tracker-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ed-white);
  border: 1px solid var(--ed-border-gray);
  border-top: none;
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
}

.ed-tracker-dropdown-item {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
}

.ed-tracker-dropdown-item:hover {
  background: var(--ed-off-white);
}

.ed-tracker-setup .ed-btn-primary {
  width: 100%;
  margin-top: var(--ed-spacing-sm);
  background: var(--ed-black);
  color: var(--ed-white);
}

.ed-tracker-setup .ed-btn-primary:hover {
  background: var(--ed-accent);
}

/* --- Dashboard --- */
.ed-tracker-dashboard {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--ed-spacing-sm) var(--ed-spacing-lg);
}

/* --- Profile Header --- */
.ed-tracker-profile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--ed-spacing-md) 0;
  border-bottom: 1px solid var(--ed-border-gray);
  margin-bottom: var(--ed-spacing-sm);
  flex-wrap: wrap;
  gap: var(--ed-spacing-sm);
}

.ed-tracker-profile-name {
  font-family: var(--ed-font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}

.ed-tracker-profile-meta {
  font-size: 0.9rem;
  color: var(--ed-dark-gray);
  margin: 0.25rem 0 0;
}

/* --- Tabs --- */
.ed-tracker-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ed-border-gray);
  margin-bottom: var(--ed-spacing-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ed-tracker-tab {
  padding: 0.75rem 1.25rem;
  font-family: var(--ed-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  background: none;
  color: var(--ed-dark-gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.ed-tracker-tab:hover {
  color: var(--ed-black);
}

.ed-tracker-tab-active {
  color: var(--ed-accent);
  border-bottom-color: var(--ed-accent);
}

/* --- Panels --- */
.ed-tracker-panel {
  padding: var(--ed-spacing-sm) 0;
}

/* --- Progress Bar --- */
.ed-tracker-progress-header {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.ed-tracker-progress-track {
  height: 6px;
  background: #e8e8e8;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--ed-spacing-md);
}

.ed-tracker-progress-fill {
  height: 100%;
  background: var(--ed-accent);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* --- Growth Tab --- */
.ed-tracker-growth-status {
  padding: 0.75rem 1rem;
  margin-bottom: var(--ed-spacing-md);
  font-size: 0.9rem;
  border-left: 3px solid;
}

.ed-tracker-growth-on-track {
  border-color: #2c7a3d;
  background: #f0f8f1;
  color: #2c7a3d;
}

.ed-tracker-growth-above {
  border-color: #b8860b;
  background: #fdf8ec;
  color: #8b6914;
}

.ed-tracker-growth-below {
  border-color: #c0392b;
  background: #fdf0ee;
  color: #a93226;
}

.ed-tracker-chart-wrap {
  margin-bottom: var(--ed-spacing-md);
}

.ed-tracker-chart {
  width: 100%;
  height: auto;
  display: block;
}

.ed-tracker-chart-legend {
  display: flex;
  gap: var(--ed-spacing-md);
  justify-content: center;
  font-size: 0.8rem;
  color: var(--ed-dark-gray);
  margin-top: 0.5rem;
}

.ed-tracker-legend-expected::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 3px;
  background: #A69080;
  vertical-align: middle;
  margin-right: 4px;
  border-top: 1px dashed #A69080;
}

.ed-tracker-legend-actual::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #865D36;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}

.ed-tracker-weight-form h3 {
  font-family: var(--ed-font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.ed-tracker-weight-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ed-tracker-weight-inputs input {
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  border: 1px solid var(--ed-border-gray);
  font-family: var(--ed-font-body);
}

.ed-tracker-weight-inputs input[type="date"] { flex: 1; }
.ed-tracker-weight-inputs input[type="number"] { width: 80px; }

.ed-tracker-weight-history {
  margin-top: var(--ed-spacing-md);
}

.ed-tracker-weight-history h3 {
  font-family: var(--ed-font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.ed-tracker-weight-row {
  display: flex;
  align-items: center;
  gap: var(--ed-spacing-sm);
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.ed-tracker-weight-date-val { flex: 1; color: var(--ed-dark-gray); }
.ed-tracker-weight-lbs-val { font-weight: 500; }

.ed-tracker-weight-delete {
  background: none;
  border: none;
  color: #c0392b;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
}

.ed-tracker-disclaimer {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
  margin-top: var(--ed-spacing-md);
}

/* --- Milestones Tab --- */
.ed-tracker-stage {
  margin-bottom: var(--ed-spacing-lg);
}

.ed-tracker-stage-header {
  display: flex;
  align-items: center;
  gap: var(--ed-spacing-sm);
  margin-bottom: var(--ed-spacing-sm);
}

.ed-tracker-stage-header h3 {
  font-family: var(--ed-font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0;
}

.ed-tracker-current-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--ed-accent);
  color: var(--ed-white);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

.ed-tracker-milestone {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.ed-tracker-milestone-critical {
  border-left: 3px solid var(--ed-accent);
  padding-left: 0.75rem;
}

.ed-tracker-milestone-checked {
  opacity: 0.5;
}

.ed-tracker-milestone-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.ed-tracker-milestone-title {
  font-weight: 500;
  font-size: 0.95rem;
}

.ed-tracker-milestone-age {
  display: block;
  font-size: 0.8rem;
  color: var(--ed-dark-gray);
  margin: 0.25rem 0 0 1.5rem;
}

.ed-tracker-milestone-desc {
  font-size: 0.85rem;
  color: var(--ed-dark-gray);
  line-height: 1.5;
  margin: 0.25rem 0 0 1.5rem;
}

/* --- Socialization Tab --- */
.ed-tracker-soc-warning {
  background: #fdf8ec;
  border: 1px solid #e8d5a0;
  border-left: 3px solid #b8860b;
  padding: var(--ed-spacing-sm) var(--ed-spacing-md);
  margin-bottom: var(--ed-spacing-md);
  font-size: 0.9rem;
}

.ed-tracker-soc-warning p {
  margin: 0.25rem 0 0;
  color: #8b6914;
  line-height: 1.5;
}

.ed-tracker-soc-category {
  margin-bottom: var(--ed-spacing-md);
}

.ed-tracker-soc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.ed-tracker-soc-header h3 {
  font-family: var(--ed-font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}

.ed-tracker-soc-count {
  font-size: 0.85rem;
  color: var(--ed-dark-gray);
}

.ed-tracker-soc-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.ed-tracker-soc-item label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.ed-tracker-soc-item-checked {
  opacity: 0.5;
}

/* --- Care Tab --- */
.ed-tracker-care-section {
  margin-bottom: var(--ed-spacing-lg);
}

.ed-tracker-care-title {
  font-family: var(--ed-font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 var(--ed-spacing-sm);
}

.ed-tracker-care-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.ed-tracker-care-overdue {
  border-left: 3px solid #c0392b;
  padding-left: 0.75rem;
}

.ed-tracker-care-upcoming {
  border-left: 3px solid var(--ed-accent);
  padding-left: 0.75rem;
}

.ed-tracker-care-done {
  opacity: 0.5;
}

.ed-tracker-care-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.ed-tracker-care-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.ed-tracker-care-when {
  display: block;
  font-size: 0.8rem;
  color: var(--ed-dark-gray);
  margin: 0.25rem 0 0 1.5rem;
}

.ed-tracker-care-desc {
  font-size: 0.85rem;
  color: var(--ed-dark-gray);
  line-height: 1.5;
  margin: 0.25rem 0 0 1.5rem;
}

.ed-tracker-care-health-note {
  background: var(--ed-off-white);
  padding: var(--ed-spacing-md);
  margin-top: var(--ed-spacing-md);
}

.ed-tracker-care-health-note h3 {
  font-family: var(--ed-font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.ed-tracker-care-health-note p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ed-dark-gray);
  margin: 0 0 0.5rem;
}

/* --- Breed Landing Page --- */
.ed-tracker-breed-info {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--ed-spacing-md) var(--ed-spacing-sm);
}

.ed-tracker-breed-info section {
  margin-bottom: var(--ed-spacing-md);
}

.ed-tracker-breed-info h2 {
  font-family: var(--ed-font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 var(--ed-spacing-xs);
}

.ed-tracker-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ed-spacing-sm);
}

.ed-tracker-stat {
  background: var(--ed-off-white);
  padding: 0.75rem 1rem;
  text-align: center;
}

.ed-tracker-stat-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ed-dark-gray);
  margin-bottom: 0.25rem;
}

.ed-tracker-stat-value {
  display: block;
  font-family: var(--ed-font-heading);
  font-size: 1.1rem;
  font-weight: 500;
}

.ed-tracker-breed-health-note {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

.ed-tracker-breed-cta {
  text-align: center;
}

.ed-tracker-breed-cta .ed-btn-primary {
  background: var(--ed-black);
  color: var(--ed-white);
}

.ed-tracker-breed-cta .ed-btn-primary:hover {
  background: var(--ed-accent);
}

.ed-tracker-breed-links {
  display: flex;
  gap: var(--ed-spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .ed-tracker-hero h1 {
    font-size: 1.8rem;
  }

  .ed-tracker-tabs {
    gap: 0;
  }

  .ed-tracker-tab {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .ed-tracker-weight-inputs {
    flex-direction: column;
  }

  .ed-tracker-weight-inputs input[type="number"] {
    width: 100%;
  }

  .ed-tracker-profile {
    flex-direction: column;
    text-align: center;
  }

  .ed-tracker-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ed-tracker-breed-links {
    flex-direction: column;
  }

  .ed-tracker-breed-links .ed-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ed-tracker-sex-options {
    flex-direction: column;
  }
}

/* === Breed Quiz CTA (breed hubs + blog posts) === */
.ed-breed-quiz-cta {
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  background: #F5F1EA;
  border-left: 4px solid #865D36;
  border-radius: 4px;
}
.ed-breed-quiz-cta p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #3E362E;
}
.ed-breed-quiz-cta a {
  color: #865D36;
  font-weight: 600;
  text-decoration: underline;
}
.ed-breed-quiz-cta a:hover { color: #6B4A2B; }

/* === Quiz result share menu === */
.ed-quiz-share-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}
.ed-quiz-share-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}
.ed-quiz-share-facebook  { background: #1877F2; }
.ed-quiz-share-pinterest { background: #E60023; }
.ed-quiz-share-x         { background: #000; }
.ed-quiz-share-linkedin  { background: #0A66C2; }
.ed-quiz-share-copy      { background: #865D36; }
.ed-quiz-share-link:hover { opacity: 0.88; }

/* === Same-Breed Cross-Sell (build-list #13) ===
   Blocksy hides the related-products grid on mobile/tablet (ct-hidden-sm/md).
   Pinterest traffic is overwhelmingly mobile, and the same-breed grid is the
   main AOV lever — force it visible at all breakpoints. */
@media (max-width: 999.98px) {
  section.related.products.ct-hidden-sm,
  section.related.products.ct-hidden-md {
    display: block !important;
  }
}

/* === Sticky Mobile Add-to-Cart (build-list #18) === */
.ed-sticky-atc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e5ded4;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}
.ed-sticky-atc.is-visible { display: flex; }
@media (min-width: 1000px) {
  .ed-sticky-atc { display: none !important; }
}
.ed-sticky-atc-title {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3E362E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ed-sticky-atc-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #865D36;
  white-space: nowrap;
}
.ed-sticky-atc-price del { opacity: 0.5; }
.ed-sticky-atc-btn {
  background: #865D36;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.ed-sticky-atc-btn:hover { background: #6f4c2c; }

/* === Size Guide & Shipping tab (build-list #12) === */
.ed-size-table {
  width: auto;
  min-width: 60%;
  margin: 0.75rem 0 1rem;
  border-collapse: collapse;
}
.ed-size-table th,
.ed-size-table td {
  padding: 0.45rem 1.1rem;
  border: 1px solid #e5ded4;
  text-align: center;
}
.ed-size-table th {
  background: #f6f1ea;
  color: #3E362E;
  font-weight: 600;
}
.ed-size-note {
  font-size: 0.85rem;
  color: #6b6258;
}

/* === Persistent Header Cart (build-list #1) === */
.ed-menu-cart .ed-cart-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0 4px;
}
.ed-cart-icon { display: block; }
.ed-cart-count {
  display: none;
}
.ed-cart-count.has-items {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -2px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: #865D36;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

/* === Breed A-Z Index (build-list #16) === */
.ed-breed-index-hero {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}
.ed-breed-index-hero-inner { max-width: 720px; margin: 0 auto; }
.ed-breed-index-letters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem 1.5rem;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
.ed-breed-index-letters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border: 1px solid #e5ded4;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  color: #3E362E;
}
.ed-breed-index-letters a:hover { background: #f6f1ea; }
.ed-breed-index-groups {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
.ed-breed-index-group { padding-top: 0.5rem; }
.ed-breed-index-letter {
  border-bottom: 2px solid #865D36;
  padding-bottom: 0.25rem;
  margin: 1.25rem 0 0.75rem;
  color: #3E362E;
}
.ed-breed-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.35rem 1.5rem;
}
.ed-breed-index-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.ed-breed-index-list a { text-decoration: none; }
.ed-breed-index-list a:hover { text-decoration: underline; }
.ed-breed-index-count {
  font-size: 0.78rem;
  color: #A69080;
}
.ed-breed-index-cta {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}
.ed-breed-index-empty { text-align: center; padding: 2rem; }

/* === Product Share Buttons (build-list #9) === */
.ed-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
}
.ed-share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b6258;
  margin-right: 0.15rem;
}
.ed-share-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.ed-share-btn:hover { opacity: 0.88; }
.ed-share-facebook  { background: #1877F2; }
.ed-share-pinterest { background: #E60023; }
.ed-share-x         { background: #000; }
.ed-share-email     { background: #6b6258; }
.ed-share-copy      { background: #865D36; }
.ed-share-native    { background: #3E362E; }
.ed-share-copy.is-copied { background: #4a7c4a; }
/* Native "Share" button is revealed by share.js only on touch devices;
   the explicit network buttons stay visible at every width. */

/* === Free Shipping Progress Bar (build-list #14) === */
.ed-freeship-bar {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  background: #f6f1ea;
  border: 1px solid #e5ded4;
  border-radius: 6px;
}
.ed-freeship-msg {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #3E362E;
}
.ed-freeship-msg strong { color: #865D36; }
.ed-freeship-track {
  height: 8px;
  background: #e5ded4;
  border-radius: 999px;
  overflow: hidden;
}
.ed-freeship-fill {
  display: block;
  height: 100%;
  background: #865D36;
  border-radius: 999px;
  transition: width 0.4s ease;
}
.ed-freeship-bar.is-unlocked {
  background: #eef5ee;
  border-color: #cfe3cf;
}
.ed-freeship-bar.is-unlocked .ed-freeship-msg,
.ed-freeship-bar.is-unlocked .ed-freeship-msg strong { color: #3a6b3a; }
.ed-freeship-bar.is-unlocked .ed-freeship-fill { background: #4a7c4a; }

/* Blog archive card: show full tall transparent breed heroes without cropping.
   Scoped to .entry-card so product/Woo images are untouched. Added 2026-07-05. */
.entry-card .ct-media-container img,
.entry-card .ct-media-container.boundless-image img {
  object-fit: contain !important;
  background: var(--ed-white, #ffffff);
}
