/* ===== Peluches header/footer (extends style.css) ===== */

.pb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.pb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.pb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}
.pb-brand svg { color: #ef4444; width: 28px; height: 28px; }
.pb-brand:hover { color: #111827; }
.pb-nav { display: flex; align-items: center; gap: 32px; }
.pb-nav a {
  color: #374151;
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}
.pb-nav a:hover { color: #ef4444; }
.pb-header-actions { display: flex; align-items: center; gap: 16px; }
.pb-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  border: 1.5px solid #d1d5db;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  transition: border-color .2s;
}
.pb-cart-link:hover { border-color: #ef4444; color: #111827; }
.pb-cart-link svg { width: 16px; height: 16px; }
.pb-cart-count {
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.pb-btn-sm { padding: 8px 18px; font-size: 14px; }
.pb-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.pb-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: all .2s;
}
.pb-nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  padding: 12px 24px 20px;
}
.pb-nav-mobile a {
  color: #374151;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #f9fafb;
}
.pb-nav-mobile a:last-child { border-bottom: none; }
.pb-nav-mobile.open { display: flex; }

@media (max-width: 900px) {
  .pb-nav, .pb-header-actions .pb-cart-link, .pb-header-actions .pb-btn { display: none; }
  .pb-menu-toggle { display: flex; }
}
@media (max-width: 420px) {
  .pb-header-actions .pb-cart-link { display: inline-flex; }
}

/* WooCommerce tweaks */
.woocommerce ul.products li.product a img { border-radius: 12px; }
.woocommerce .products .star-rating { color: #facc15; }
.woocommerce .price { color: #111827 !important; font-weight: 800; font-size: 26px !important; }
.woocommerce .price del { color: #9ca3af !important; font-weight: 400; font-size: 18px !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: #ef4444 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: #dc2626 !important;
}
.woocommerce-message, .woocommerce-info { border-top-color: #ef4444 !important; }
.woocommerce-message::before, .woocommerce-info::before { color: #ef4444 !important; }

/* ===== Shop loop cards ===== */
.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  padding: 0;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,.08);
}
.pb-card-media { position: relative; }
.pb-card-media .pb-badge-popular { position: absolute; top: 14px; left: 14px; z-index: 10; }
.pb-card-media img { border-radius: 0 !important; }
.pb-card-body { padding: 20px 22px; }
.pb-card-body .woocommerce-loop-product__title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px;
}
.pb-card-features { list-style: none; margin: 12px 0; padding: 0; }
.pb-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  padding: 3px 0;
}
.pb-card-actions .button {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px !important;
}

/* ===== Single product page ===== */
.pb-single-product {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 32px 0;
}
.pb-single-product .woocommerce-product-gallery,
.pb-single-product .entry-summary {
  flex: 1 1 45%;
  min-width: 320px;
}
.pb-single-product .woocommerce-product-gallery img { border-radius: 16px; }
.pb-badge-popular {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.pb-product-features {
  margin: 24px 0;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
}
.pb-product-features h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
}
.pb-product-features ul { list-style: none; margin: 0; padding: 0; }
.pb-product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4b5563;
  font-size: 14px;
  padding: 6px 0;
}
.pb-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
}
.pb-voice-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 24px 0;
  padding: 20px 24px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
}
.pb-voice-note-icon {
  width: 40px;
  height: 40px;
  background: #ef4444;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pb-voice-note-icon svg { width: 22px; height: 22px; color: #fff; }
.pb-voice-note strong { color: #111827; font-size: 15px; }
.pb-voice-note p { margin: 4px 0; color: #6b7280; font-size: 14px; }
.pb-voice-note a { color: #ef4444; font-weight: 600; font-size: 14px; text-decoration: none; }
.pb-voice-note a:hover { color: #dc2626; }
