/* ==========================================================================
   WALK & FLY - ENHANCEMENTS CSS
   Version: 1.0 - 2026-03-25
   ========================================================================== */

/* ===== TRUST BAR ===== */
.wf-trust-bar {
  background: #f5f0eb;
  border-bottom: 1px solid #e8e0d6;
  padding: 8px 0;
  font-size: 13px;
  color: #555;
}
.wf-trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 0 15px;
}
.wf-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.wf-trust-bar__item svg {
  color: #8b7355;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .wf-trust-bar__inner { gap: 12px; font-size: 11px; }
  .wf-trust-bar__item svg { width: 16px; height: 16px; }
}
@media (max-width: 480px) {
  .wf-trust-bar__inner { flex-wrap: wrap; justify-content: space-around; }
}

/* ===== FREE SHIPPING BAR ===== */
.wf-shipping-bar {
  background: linear-gradient(135deg, #2e7d32, #388e3c);
  color: white;
  text-align: center;
  padding: 7px 15px;
  font-size: 13px;
  line-height: 1.3;
}
.wf-shipping-bar a { color: white; text-decoration: underline; }
.wf-shipping-bar__progress {
  max-width: 300px;
  margin: 5px auto 0;
}
.wf-shipping-bar__track {
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
  height: 6px;
  overflow: hidden;
}
.wf-shipping-bar__fill {
  background: white;
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* ===== PRODUCT BENEFITS (product page) ===== */
.wf-product-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 15px 0;
  padding: 12px;
  background: #f9f7f4;
  border-radius: 8px;
}
.wf-product-benefit {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
}
.wf-product-benefit svg { flex-shrink: 0; }

/* ===== KLARNA INFO ===== */
.wf-klarna-product-info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 15px;
  font-size: 13px;
  color: #555;
}
.wf-klarna-product-badge {
  background: #FFB3C7;
  color: #0A0B09;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
}
.wf-klarna-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eee;
  color: #666;
  font-size: 11px;
  text-decoration: none;
  font-weight: bold;
}

/* ===== SIZE GUIDE LINK ===== */
.wf-size-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #8b7355;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.wf-size-guide-link:hover { color: #333; }

/* ===== PRODUCT LABELS / BADGES ===== */
.wf-labels {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.wf-labels--right {
  left: auto;
  right: 8px;
  align-items: flex-end;
}
.wf-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  line-height: 1.3;
  animation: wfLabelIn 0.3s ease;
  white-space: nowrap;
}
@keyframes wfLabelIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.wf-label--new { background: #1a73e8; color: #fff; }
.wf-label--sale { background: #c62828; color: #fff; }
.wf-label--top { background: #c9a96e; color: #fff; }
.wf-label--low-stock { background: #ff6f00; color: #fff; }
.wf-label--soldout { background: #999; color: #fff; }
.wf-label--exclusive { background: #7b1fa2; color: #fff; }
.wf-label--handmade { background: #2e7d32; color: #fff; }
.wf-label--free-shipping { background: #00796b; color: #fff; }
.wf-label--discount { background: #c62828; color: #fff; font-size: 13px; }
.wf-label--custom { background: #333; color: #fff; }
.wf-label-product-page { font-size: 13px; padding: 6px 14px; }
@media (max-width: 768px) {
  .wf-label { font-size: 10px; padding: 3px 7px; }
}

/* ===== SOCIAL PROOF ===== */
.wf-social-proof {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #c62828;
  margin: 8px 0;
}
.wf-social-proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c62828;
  animation: wfDotPulse 1.5s infinite;
}
@keyframes wfDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== BACK IN STOCK ===== */
.wf-back-in-stock {
  margin: 15px 0;
  padding: 15px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
}
.wf-bis-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.wf-bis-form { display: flex; gap: 8px; }
.wf-bis-email {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
.wf-bis-btn {
  padding: 8px 16px;
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.wf-bis-btn:hover { background: #555; }
.wf-bis-success {
  margin: 10px 0 0;
  font-size: 14px;
  color: #2e7d32;
}

/* ===== PRODUCT ACCORDION ===== */
.wf-product-accordion {
  margin: 2em 0;
  border-top: 1px solid #eee;
}
.wf-accordion-item {
  border-bottom: 1px solid #eee;
}
.wf-accordion-header {
  padding: 15px 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wf-accordion-header::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: #999;
  transition: transform 0.2s;
}
details[open] .wf-accordion-header::after {
  content: "\2212";
}
.wf-accordion-header::-webkit-details-marker { display: none; }
.wf-accordion-content {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}
.wf-accordion-content ul {
  padding-left: 1.2em;
  margin: 0.5em 0;
}
.wf-accordion-content li {
  margin-bottom: 0.3em;
}

/* ===== CROSS-SELL ===== */
.wf-cross-sell {
  margin: 3em 0;
  padding: 2em 0;
  border-top: 1px solid #eee;
}
.wf-cross-sell-title {
  text-align: center;
  font-size: 20px;
  font-weight: normal;
  color: #333;
  margin: 0 0 1.5em;
  font-family: Georgia, serif;
}
.wf-cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
}
.wf-cross-sell-item {
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s;
}
.wf-cross-sell-item:hover {
  transform: translateY(-4px);
}
.wf-cross-sell-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.wf-cross-sell-name {
  font-size: 14px;
  margin: 8px 0 4px;
  font-weight: 500;
}
.wf-cross-sell-price {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  color: #333;
}
@media (max-width: 768px) {
  .wf-cross-sell-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== PRODUCT BADGES (product page) ===== */
.wf-product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}
.wf-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-transform: uppercase;
}
.wf-badge--new { background: #333; color: white; }
.wf-badge--bestseller { background: #c9a96e; color: white; }
.wf-badge--low-stock {
  background: #c62828;
  color: white;
  animation: wfBadgePulse 2s infinite;
}
.wf-badge--sale { background: #e53935; color: white; }
.wf-badge--vegan { background: #2e7d32; color: white; }
@keyframes wfBadgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ==========================================================================
   BATCH 2 — ENHANCEMENTS CSS (2026-03-25)
   Announcement Bar, Quick View, Checkout Trust, WhatsApp Widget,
   Scroll Animations, Personalization, Color Swatches, Smart Search
   ========================================================================== */

/* ===== ANNOUNCEMENT BAR ===== */
.wf-announcement-bar {
  background: #333;
  color: white;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-announcement-bar a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wf-announcement-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.wf-announcement-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.wf-announcement-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.wf-announcement-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  z-index: 2;
}
.wf-announcement-close:hover {
  color: white;
}
@media (max-width: 480px) {
  .wf-announcement-bar { font-size: 11px; height: 32px; }
  .wf-announcement-slide { padding: 0 30px; }
}

/* ===== QUICK VIEW MODAL ===== */
.wf-quickview-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255,255,255,0.95);
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
}
.product-miniature:hover .wf-quickview-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.wf-quickview-btn:hover {
  background: #333;
  color: white;
  border-color: #333;
}
.wf-quickview-btn:hover svg { stroke: white; }
.wf-quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: wfQvFadeIn 0.2s ease;
}
@keyframes wfQvFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wf-quickview-content {
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
}
.wf-quickview-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  z-index: 10;
  line-height: 1;
}
.wf-quickview-close:hover { color: #333; }
.wf-quickview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.wf-quickview-image {
  aspect-ratio: 1;
  overflow: hidden;
}
.wf-quickview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
}
.wf-quickview-info {
  padding: 2em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wf-quickview-name {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: normal;
  color: #333;
  margin: 0;
}
.wf-quickview-price {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
}
.wf-quickview-klarna {
  font-size: 13px;
  color: #555;
  margin: 0;
}
.wf-quickview-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}
.wf-quickview-sizes label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.wf-quickview-size-grid {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.wf-quickview-size-grid button {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.wf-quickview-size-grid button:hover,
.wf-quickview-size-grid button.active {
  border-color: #333;
  background: #333;
  color: white;
}
.wf-quickview-size-grid button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.wf-quickview-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #777;
}
.wf-quickview-actions {
  margin-top: auto;
}
.wf-quickview-add-btn {
  width: 100%;
  padding: 14px;
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.wf-quickview-add-btn:hover { background: #555; }
.wf-quickview-detail-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #8b7355;
  font-size: 14px;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .wf-quickview-body { grid-template-columns: 1fr; }
  .wf-quickview-image img { border-radius: 12px 12px 0 0; }
}

/* ===== CHECKOUT TRUST SIGNALS ===== */
.wf-checkout-trust {
  margin: 1.5em 0;
  padding: 1.5em;
  background: #faf8f5;
  border-radius: 10px;
  border: 1px solid #e8e0d6;
}
.wf-checkout-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.2em;
  padding-bottom: 1.2em;
  border-bottom: 1px solid #e8e0d6;
}
.wf-checkout-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
}
.wf-checkout-guarantee svg {
  flex-shrink: 0;
}
.wf-checkout-payments {
  margin-bottom: 1em;
}
.wf-checkout-payments-label {
  font-size: 12px;
  color: #999;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wf-checkout-payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wf-payment-icon {
  opacity: 0.85;
  transition: opacity 0.2s;
}
.wf-payment-icon:hover {
  opacity: 1;
}
.wf-checkout-klarna-info {
  background: #fff0f6;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wf-klarna-badge {
  background: #FFB3C7;
  color: #0A0B09;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .wf-checkout-guarantees {
    grid-template-columns: 1fr;
  }
}

/* ===== WHATSAPP FLOATING WIDGET ===== */
.wf-wa-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wf-wa-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.wf-wa-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.wf-wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wfWaPulse 2s infinite;
}
@keyframes wfWaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.wf-wa-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  animation: wfWaSlideUp 0.3s ease;
}
@keyframes wfWaSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.wf-wa-header {
  background: linear-gradient(135deg, #075E54, #128C7E);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wf-wa-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.wf-wa-header-avatar img {
  border-radius: 50%;
  object-fit: cover;
}
.wf-wa-header-info { flex: 1; }
.wf-wa-header-name {
  color: white;
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}
.wf-wa-header-status {
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  margin: 2px 0 0;
}
.wf-wa-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0 5px;
  line-height: 1;
}
.wf-wa-body {
  padding: 20px;
  background: #e5ddd5;
  min-height: 120px;
}
.wf-wa-message {
  background: white;
  padding: 12px 14px;
  border-radius: 0 10px 10px 10px;
  max-width: 85%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
}
.wf-wa-message-name {
  color: #075E54;
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 4px;
}
.wf-wa-message-text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}
.wf-wa-message-time {
  display: block;
  text-align: right;
  color: #999;
  font-size: 11px;
  margin-top: 4px;
}
.wf-wa-footer {
  padding: 15px;
  background: #f0f0f0;
}
.wf-wa-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.wf-wa-quick-questions button {
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.wf-wa-quick-questions button:hover {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.wf-wa-send-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.wf-wa-send-button:hover {
  background: #1da851;
  color: white;
}
@media (max-width: 480px) {
  .wf-wa-popup {
    width: calc(100vw - 30px);
    right: -5px;
    bottom: 70px;
  }
  .wf-wa-widget {
    bottom: 15px;
    right: 15px;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.wf-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.wf-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.wf-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.wf-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.wf-reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.wf-reveal-left.visible,
.wf-reveal-right.visible,
.wf-reveal-scale.visible {
  opacity: 1;
  transform: none;
}
.wf-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.wf-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.wf-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.wf-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.wf-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.wf-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.wf-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.wf-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.wf-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }
.wf-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.wf-blur-up {
  filter: blur(10px);
  transition: filter 0.6s ease;
}
.wf-blur-up.loaded {
  filter: blur(0);
}
.wf-parallax {
  overflow: hidden;
  position: relative;
}
.wf-parallax-img {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  will-change: transform;
}
.wf-page-enter {
  animation: wfPageIn 0.4s ease forwards;
}
@keyframes wfPageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wf-hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wf-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(44, 36, 32, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .wf-reveal,
  .wf-reveal-left,
  .wf-reveal-right,
  .wf-reveal-scale,
  .wf-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .wf-parallax-img {
    position: relative;
    top: 0;
    height: 100%;
  }
}

/* ===== PERSONALIZATION ENGINE ===== */
.wf-recently-viewed {
  padding: 40px 0;
  background: #faf9f7;
}
.wf-recently-viewed .wf-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}
.wf-recently-viewed .wf-section-subtitle {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
}
.wf-rv-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 20px 15px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
  margin: 0 auto;
}
.wf-rv-grid::-webkit-scrollbar {
  height: 4px;
}
.wf-rv-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}
.wf-rv-card {
  min-width: 200px;
  max-width: 200px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
  flex-shrink: 0;
}
.wf-rv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.wf-rv-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.wf-rv-card-info {
  padding: 12px;
}
.wf-rv-card-name {
  font-size: 13px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-rv-card-price {
  font-size: 15px;
  font-weight: 700;
  color: #8b6f47;
}
.wf-rv-card-category {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wf-personalized-recs {
  padding: 40px 0;
  background: #fff;
}
.wf-personalized-recs .wf-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}
.wf-personalized-recs .wf-section-subtitle {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
}
.wf-welcome-back {
  background: linear-gradient(135deg, #8b6f47, #a6894d);
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  display: none;
  position: relative;
}
.wf-welcome-back strong {
  font-weight: 600;
}
.wf-welcome-back a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}
.wf-welcome-back .wf-wb-close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
}
.wf-continue-browsing {
  position: fixed;
  bottom: 90px;
  left: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 12px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  z-index: 998;
  animation: wfSlideInLeft 0.4s ease;
  text-decoration: none;
  color: inherit;
}
.wf-continue-browsing img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}
.wf-continue-browsing-text {
  font-size: 12px;
  color: #888;
}
.wf-continue-browsing-name {
  font-size: 13px;
  font-weight: 600;
  color: #2c2c2c;
}
.wf-continue-browsing-price {
  font-size: 14px;
  font-weight: 700;
  color: #8b6f47;
}
@keyframes wfSlideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@media (max-width: 768px) {
  .wf-rv-card {
    min-width: 160px;
    max-width: 160px;
  }
  .wf-rv-card img {
    height: 160px;
  }
  .wf-continue-browsing {
    left: 10px;
    right: 10px;
    max-width: none;
    bottom: 80px;
  }
}

/* ===== COLOR SWATCHES ===== */
.wf-color-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 0 12px;
  flex-wrap: wrap;
}
.wf-color-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.wf-color-swatch:hover,
.wf-color-swatch.active {
  border-color: #8b6f47;
  transform: scale(1.2);
}
.wf-color-swatch.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px solid #8b6f47;
  border-radius: 50%;
}
.wf-color-swatch[data-color-name]:hover::before {
  content: attr(data-color-name);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}
.wf-color-count {
  font-size: 11px;
  color: #999;
  margin-left: 4px;
}
.wf-product-colors {
  margin: 15px 0;
}
.wf-product-colors-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wf-product-colors-label strong {
  color: #2c2c2c;
  font-weight: 600;
}
.wf-product-color-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wf-product-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.wf-product-color-swatch:hover {
  border-color: #ccc;
  transform: scale(1.1);
}
.wf-product-color-swatch.active {
  border-color: #8b6f47;
}
.wf-product-color-swatch.active::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1.5px solid #8b6f47;
  border-radius: 50%;
}
.wf-product-color-swatch.has-texture {
  background-size: cover;
  background-position: center;
  border-radius: 50%;
}
.wf-color-swatch.multicolor,
.wf-product-color-swatch.multicolor {
  background: conic-gradient(#e74c3c, #f39c12, #2ecc71, #3498db, #9b59b6, #e74c3c);
}
.wf-product-miniature .product-thumbnail img {
  transition: opacity 0.3s ease;
}
.wf-product-miniature .product-thumbnail img.wf-swapping {
  opacity: 0;
}
.wf-colors-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  color: #555;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 500;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 768px) {
  .wf-color-swatch {
    width: 16px;
    height: 16px;
  }
  .wf-product-color-swatch {
    width: 30px;
    height: 30px;
  }
  .wf-color-swatches {
    gap: 5px;
  }
}

/* ===== SMART SEARCH ===== */
.wf-search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  backdrop-filter: blur(4px);
}
.wf-search-overlay.active {
  display: flex;
  justify-content: center;
  padding-top: 80px;
  animation: wfSearchFade 0.2s ease;
}
@keyframes wfSearchFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wf-search-container {
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wf-search-input-area {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0ece6;
  gap: 12px;
}
.wf-search-icon {
  color: #888;
  font-size: 20px;
  flex-shrink: 0;
}
.wf-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  color: #2c2c2c;
  font-family: 'Calibri', sans-serif;
}
.wf-search-input::placeholder {
  color: #bbb;
}
.wf-search-voice {
  background: none;
  border: none;
  color: #999;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s;
}
.wf-search-voice:hover {
  color: #8b6f47;
  background: #f5f0eb;
}
.wf-search-voice.listening {
  color: #c62828;
  animation: wfSearchPulse 1s infinite;
}
@keyframes wfSearchPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.wf-search-close {
  background: none;
  border: none;
  color: #ccc;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}
.wf-search-close:hover {
  color: #888;
}
.wf-search-results {
  overflow-y: auto;
  padding: 10px 0;
  flex: 1;
}
.wf-search-section {
  padding: 5px 20px;
}
.wf-search-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 8px;
  font-weight: 600;
}
.wf-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.wf-search-item:hover,
.wf-search-item.focused {
  background: #faf8f5;
}
.wf-search-item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f0eb;
  flex-shrink: 0;
}
.wf-search-item-info {
  flex: 1;
  min-width: 0;
}
.wf-search-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-search-item-name mark {
  background: #fef3cd;
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}
.wf-search-item-meta {
  font-size: 12px;
  color: #999;
}
.wf-search-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #8b6f47;
  flex-shrink: 0;
}
.wf-search-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #e8e4df;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  margin: 3px;
  transition: all 0.2s;
}
.wf-search-tag:hover {
  border-color: #8b6f47;
  color: #8b6f47;
  background: #faf8f5;
}
.wf-search-recent-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: background 0.15s;
}
.wf-search-recent-item:hover {
  background: #faf8f5;
}
.wf-search-recent-icon {
  color: #ccc;
  font-size: 14px;
}
.wf-search-recent-remove {
  margin-left: auto;
  color: #ddd;
  cursor: pointer;
  font-size: 16px;
  padding: 2px 6px;
}
.wf-search-recent-remove:hover {
  color: #c62828;
}
.wf-search-correction {
  padding: 10px 20px;
  font-size: 13px;
  color: #888;
}
.wf-search-correction a {
  color: #8b6f47;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.wf-search-no-results {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}
.wf-search-no-results p {
  margin-bottom: 15px;
}
.wf-search-trigger {
  cursor: pointer;
}
.wf-search-view-all {
  display: block;
  text-align: center;
  padding: 12px;
  color: #8b6f47;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-top: 1px solid #f0ece6;
}
.wf-search-view-all:hover {
  background: #faf8f5;
}
@media (max-width: 768px) {
  .wf-search-overlay.active {
    padding-top: 0;
  }
  .wf-search-container {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    height: 100%;
  }
}
/* === cookie-consent-gdpr.html === */
.wf-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: white;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wf-cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.wf-cookie-banner__text { flex: 1; }
.wf-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.wf-cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.wf-cookie-btn:hover { opacity: 0.9; }
.wf-cookie-btn--accept { background: #333; color: white; }
.wf-cookie-btn--reject { background: #f5f5f5; color: #333; border: 1px solid #ddd; }
.wf-cookie-btn--settings { background: transparent; color: #8b7355; text-decoration: underline; border: none; padding: 10px 5px; }

/* Settings panel */
.wf-cookie-settings {
  border-top: 1px solid #eee;
}
.wf-cookie-settings__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
}
.wf-cookie-category {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.wf-cookie-category label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
}
.wf-cookie-category p {
  margin: 4px 0 0 26px;
  font-size: 13px;
  color: #777;
}

@media (max-width: 768px) {
  .wf-cookie-banner__content {
    flex-direction: column;
    text-align: center;
    padding: 15px 20px;
    gap: 15px;
  }
  .wf-cookie-banner__actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* === shoe-finder-quiz.html === */
.wf-quiz-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Calibri', 'Helvetica Neue', sans-serif;
}
.wf-quiz-header {
    text-align: center;
    margin-bottom: 30px;
}
.wf-quiz-header h2 {
    font-size: 28px;
    color: #2c2c2c;
    font-family: 'Georgia', serif;
    margin-bottom: 8px;
}
.wf-quiz-header p {
    color: #888;
    font-size: 15px;
}
/* Progress bar */
.wf-quiz-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
}
.wf-quiz-progress-step {
    flex: 1;
    height: 4px;
    background: #e8e4df;
    border-radius: 2px;
    transition: background 0.3s;
}
.wf-quiz-progress-step.active {
    background: #8b6f47;
}
.wf-quiz-progress-step.done {
    background: #2e7d32;
}
/* Question */
.wf-quiz-question {
    display: none;
    animation: wfQuizFadeIn 0.4s ease;
}
.wf-quiz-question.active {
    display: block;
}
@keyframes wfQuizFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.wf-quiz-question h3 {
    font-size: 22px;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Georgia', serif;
}
.wf-quiz-question .wf-quiz-subtitle {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: -18px;
    margin-bottom: 25px;
}
/* Options grid */
.wf-quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.wf-quiz-options.three-cols {
    grid-template-columns: repeat(3, 1fr);
}
.wf-quiz-option {
    border: 2px solid #e8e4df;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    position: relative;
}
.wf-quiz-option:hover {
    border-color: #c9a96e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.wf-quiz-option.selected {
    border-color: #8b6f47;
    background: #faf8f5;
}
.wf-quiz-option.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    color: #8b6f47;
    font-weight: bold;
    font-size: 16px;
}
.wf-quiz-option-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}
.wf-quiz-option-label {
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 4px;
}
.wf-quiz-option-desc {
    font-size: 12px;
    color: #999;
}
/* Navigation */
.wf-quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.wf-quiz-btn {
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.wf-quiz-btn-back {
    background: #f0ece6;
    color: #666;
}
.wf-quiz-btn-back:hover {
    background: #e8e4df;
}
.wf-quiz-btn-next {
    background: #8b6f47;
    color: #fff;
    margin-left: auto;
}
.wf-quiz-btn-next:hover {
    background: #7a5f3a;
}
.wf-quiz-btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
}
/* Results */
.wf-quiz-results {
    display: none;
    animation: wfQuizFadeIn 0.5s ease;
}
.wf-quiz-results.active {
    display: block;
}
.wf-quiz-results-header {
    text-align: center;
    margin-bottom: 30px;
}
.wf-quiz-results-header h3 {
    font-size: 24px;
    color: #2c2c2c;
    font-family: 'Georgia', serif;
}
.wf-quiz-results-header p {
    color: #888;
    font-size: 14px;
}
.wf-quiz-profile {
    background: #faf8f5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}
.wf-quiz-profile-type {
    font-size: 20px;
    font-weight: 700;
    color: #8b6f47;
    margin-bottom: 5px;
}
.wf-quiz-profile-desc {
    font-size: 14px;
    color: #666;
}
.wf-quiz-recs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.wf-quiz-rec-card {
    border: 1px solid #e8e4df;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.wf-quiz-rec-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.wf-quiz-rec-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.wf-quiz-rec-info {
    padding: 12px;
}
.wf-quiz-rec-match {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2e7d32;
    font-weight: 700;
    margin-bottom: 4px;
}
.wf-quiz-rec-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 4px;
}
.wf-quiz-rec-price {
    font-size: 16px;
    font-weight: 700;
    color: #8b6f47;
}
/* Email capture */
.wf-quiz-email {
    background: #f5f0eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.wf-quiz-email p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}
.wf-quiz-email-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}
.wf-quiz-email-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
}
.wf-quiz-email-form button {
    padding: 10px 20px;
    background: #8b6f47;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}
/* Share */
.wf-quiz-share {
    text-align: center;
}
.wf-quiz-share-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.wf-quiz-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wf-quiz-restart {
    display: block;
    margin: 20px auto 0;
    background: none;
    border: 1px solid #ccc;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    color: #888;
    font-size: 13px;
}
@media (max-width: 600px) {
    .wf-quiz-options { grid-template-columns: 1fr; }
    .wf-quiz-options.three-cols { grid-template-columns: 1fr 1fr; }
    .wf-quiz-recs { grid-template-columns: 1fr; }
    .wf-quiz-email-form { flex-direction: column; }
}

/* === size-recommender.html === */
.wf-size-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}
.wf-size-modal-overlay.active {
    display: flex;
    animation: wfSizeFade 0.2s ease;
}
@keyframes wfSizeFade {
    from { opacity: 0; } to { opacity: 1; }
}
.wf-size-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.wf-size-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0ece6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wf-size-modal-header h3 {
    font-size: 20px;
    color: #2c2c2c;
    font-family: 'Georgia', serif;
    margin: 0;
}
.wf-size-modal-close {
    background: none; border: none; font-size: 24px; color: #ccc; cursor: pointer;
}
.wf-size-modal-body {
    padding: 24px;
}
/* Tabs */
.wf-size-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid #f0ece6;
}
.wf-size-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    background: none;
    border-top: none; border-left: none; border-right: none;
}
.wf-size-tab.active {
    color: #8b6f47;
    border-bottom-color: #8b6f47;
}
/* Tab panels */
.wf-size-panel { display: none; }
.wf-size-panel.active { display: block; }

/* Brand selector */
.wf-size-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.wf-size-brand {
    border: 2px solid #e8e4df;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.wf-size-brand:hover { border-color: #c9a96e; }
.wf-size-brand.selected { border-color: #8b6f47; background: #faf8f5; }

/* Size selector */
.wf-size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.wf-size-option {
    width: 48px;
    height: 48px;
    border: 2px solid #e8e4df;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}
.wf-size-option:hover { border-color: #c9a96e; }
.wf-size-option.selected { border-color: #8b6f47; background: #8b6f47; color: #fff; }

/* Result */
.wf-size-result {
    background: #f5f0eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    display: none;
}
.wf-size-result.show { display: block; animation: wfSizeFade 0.3s ease; }
.wf-size-result-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}
.wf-size-result-value {
    font-size: 36px;
    font-weight: 700;
    color: #8b6f47;
}
.wf-size-result-note {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}
.wf-size-result-confidence {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}
.wf-size-result-confidence.high { background: #e8f5e9; color: #2e7d32; }
.wf-size-result-confidence.medium { background: #fff3e0; color: #e65100; }

/* Foot measure */
.wf-size-measure {
    text-align: center;
}
.wf-size-measure-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.wf-size-measure-input input {
    width: 100px;
    padding: 12px;
    border: 2px solid #e8e4df;
    border-radius: 10px;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
}
.wf-size-measure-input span {
    font-size: 16px;
    color: #888;
}
.wf-size-measure-instructions {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    text-align: left;
    background: #faf8f5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.wf-size-measure-instructions ol {
    padding-left: 18px;
    margin: 0;
}

/* Table */
.wf-size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 15px;
}
.wf-size-table th {
    background: #f5f0eb;
    padding: 8px 10px;
    text-align: center;
    font-weight: 600;
    color: #555;
    font-size: 12px;
}
.wf-size-table td {
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid #f0ece6;
    color: #666;
}
.wf-size-table tr.recommended td {
    background: #fef9f0;
    font-weight: 600;
    color: #8b6f47;
}

/* Remember size */
.wf-size-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 8px;
    font-size: 13px;
    color: #2e7d32;
    margin-bottom: 10px;
}
.wf-size-remember input[type="checkbox"] {
    accent-color: #2e7d32;
}
.wf-size-apply-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #8b6f47;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.wf-size-apply-btn:hover { background: #7a5f3a; }

@media (max-width: 600px) {
    .wf-size-modal { border-radius: 16px 16px 0 0; margin-top: auto; max-height: 90vh; }
    .wf-size-brand-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === product-comparator.html === */
/* ===== BOTÓ COMPARAR A MINIATURES ===== */
.wf-compare-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border: 1px solid #e8e4df;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 3;
}
.wf-compare-btn:hover {
    border-color: #8b6f47;
    color: #8b6f47;
}
.wf-compare-btn.added {
    background: #8b6f47;
    color: #fff;
    border-color: #8b6f47;
}

/* ===== BARRA FLOTANT INFERIOR ===== */
.wf-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #8b6f47;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
    padding: 12px 20px;
}
.wf-compare-bar.active {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: wfCompareSlideUp 0.3s ease;
}
@keyframes wfCompareSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.wf-compare-bar-items {
    display: flex;
    gap: 10px;
    flex: 1;
}
.wf-compare-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #faf8f5;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    position: relative;
}
.wf-compare-bar-item img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
}
.wf-compare-bar-item-name {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #2c2c2c;
    font-weight: 500;
}
.wf-compare-bar-item-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c62828;
    color: #fff;
    border: none;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wf-compare-bar-slot-empty {
    width: 120px;
    height: 48px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #ccc;
}
.wf-compare-bar-count {
    font-size: 13px;
    color: #888;
    min-width: 80px;
}
.wf-compare-bar-actions {
    display: flex;
    gap: 8px;
}
.wf-compare-bar-btn {
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.wf-compare-bar-compare {
    background: #8b6f47;
    color: #fff;
}
.wf-compare-bar-compare:hover { background: #7a5f3a; }
.wf-compare-bar-compare:disabled { background: #ccc; cursor: not-allowed; }
.wf-compare-bar-clear {
    background: #f0ece6;
    color: #888;
}

/* ===== MODAL COMPARACIÓ ===== */
.wf-compare-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10002;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    overflow-y: auto;
}
.wf-compare-modal-overlay.active { display: flex; }
.wf-compare-modal {
    background: #fff;
    border-radius: 16px;
    width: 95%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}
.wf-compare-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0ece6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    border-radius: 16px 16px 0 0;
}
.wf-compare-modal-header h3 {
    font-size: 20px;
    color: #2c2c2c;
    font-family: 'Georgia', serif;
    margin: 0;
}
.wf-compare-modal-close {
    background: none; border: none; font-size: 24px; color: #ccc; cursor: pointer;
}
/* Comparison table */
.wf-compare-table {
    width: 100%;
    border-collapse: collapse;
}
.wf-compare-table th {
    text-align: left;
    padding: 10px 16px;
    background: #faf8f5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    font-weight: 600;
    position: sticky;
    left: 0;
    z-index: 1;
    width: 120px;
}
.wf-compare-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #f5f0eb;
    font-size: 14px;
    color: #555;
    vertical-align: middle;
}
.wf-compare-table .wf-compare-product-header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #f0ece6;
}
.wf-compare-table .wf-compare-product-header img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}
.wf-compare-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 4px;
}
.wf-compare-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #8b6f47;
}
.wf-compare-product-buy {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 20px;
    background: #8b6f47;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.wf-compare-product-buy:hover { background: #7a5f3a; }
.wf-compare-best { color: #2e7d32; font-weight: 600; }
.wf-compare-check { color: #2e7d32; }
.wf-compare-cross { color: #ccc; }

@media (max-width: 768px) {
    .wf-compare-bar.active { flex-direction: column; align-items: stretch; }
    .wf-compare-bar-items { overflow-x: auto; }
    .wf-compare-modal { width: 100%; border-radius: 0; max-height: 100vh; }
    .wf-compare-table { font-size: 12px; }
}

/* === product-storytelling.html === */
/* ===== SECCIÓ ARTESANIA ===== */
.wf-story {
    margin: 32px 0;
    padding: 0;
}
.wf-story-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #2C2420;
    text-align: center;
    margin-bottom: 24px;
}
.wf-story-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #C9A96E;
    margin: 10px auto 0;
}

/* ===== TIMELINE ARTESANAL ===== */
.wf-story-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin: 24px 0;
}
/* Línia connectora */
.wf-story-process::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: #E8E0D5;
    z-index: 0;
}
.wf-story-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.wf-story-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FAF8F5;
    border: 2px solid #C9A96E;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 22px;
    transition: all 0.3s;
}
.wf-story-step:hover .wf-story-step-icon {
    background: #C9A96E;
    transform: scale(1.1);
}
.wf-story-step:hover .wf-story-step-icon span {
    filter: brightness(10);
}
.wf-story-step-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #2C2420;
    margin-bottom: 4px;
}
.wf-story-step-desc {
    font-size: 12px;
    color: #8B6F47;
    line-height: 1.4;
    max-width: 130px;
    margin: 0 auto;
}

/* ===== GARANTIES VISUALS ===== */
.wf-story-guarantees {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.wf-story-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #FAF8F5;
    border-radius: 8px;
    transition: all 0.2s;
}
.wf-story-guarantee:hover {
    background: #F5F0EB;
}
.wf-story-guarantee-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.wf-story-guarantee-text {
    font-size: 12px;
    line-height: 1.3;
    color: #2C2420;
}
.wf-story-guarantee-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

/* ===== MATERIALS ===== */
.wf-story-materials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.wf-story-material {
    text-align: center;
    padding: 16px 12px;
    border: 1px solid #E8E0D5;
    border-radius: 10px;
    transition: all 0.2s;
}
.wf-story-material:hover {
    border-color: #C9A96E;
    background: #FAF8F5;
}
.wf-story-material-icon {
    font-size: 28px;
    margin-bottom: 8px;
}
.wf-story-material-name {
    font-size: 13px;
    font-weight: 700;
    color: #2C2420;
    margin-bottom: 2px;
}
.wf-story-material-detail {
    font-size: 11px;
    color: #8B6F47;
}

/* ===== BANNER ARTESÀ ===== */
.wf-story-banner {
    background: linear-gradient(135deg, #2C2420 0%, #5C4A3A 100%);
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 24px 0;
    color: #FAF8F5;
}
.wf-story-banner-text {
    flex: 1;
}
.wf-story-banner-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: #C9A96E;
    margin-bottom: 4px;
}
.wf-story-banner-desc {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.5;
}
.wf-story-banner-stat {
    text-align: center;
    flex-shrink: 0;
}
.wf-story-banner-stat-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: #C9A96E;
    line-height: 1;
}
.wf-story-banner-stat-label {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .wf-story-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .wf-story-process::before { display: none; }
    .wf-story-guarantees { grid-template-columns: repeat(2, 1fr); }
    .wf-story-materials { grid-template-columns: 1fr; }
    .wf-story-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* === sustainability-tracker.html === */
/* ===== BADGE PRODUCTE ===== */
.wf-eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #e8f5e9;
    border-radius: 8px;
    font-size: 13px;
    color: #2e7d32;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #c8e6c9;
}
.wf-eco-badge:hover {
    background: #c8e6c9;
}
.wf-eco-badge-icon {
    font-size: 18px;
}
.wf-eco-badge-text strong {
    font-weight: 700;
}

/* ===== IMPACTE PER PRODUCTE ===== */
.wf-eco-impact {
    background: #fafdf7;
    border: 1px solid #e8f5e9;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    display: none;
}
.wf-eco-impact.open {
    display: block;
    animation: wfEcoFade 0.3s ease;
}
@keyframes wfEcoFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.wf-eco-impact-title {
    font-size: 15px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wf-eco-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}
.wf-eco-metric {
    text-align: center;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}
.wf-eco-metric-value {
    font-size: 24px;
    font-weight: 700;
    color: #2e7d32;
}
.wf-eco-metric-unit {
    font-size: 12px;
    color: #888;
    display: block;
}
.wf-eco-metric-label {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

/* Comparativa */
.wf-eco-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}
.wf-eco-compare-col {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
}
.wf-eco-compare-wf {
    background: #e8f5e9;
}
.wf-eco-compare-ff {
    background: #fce4ec;
}
.wf-eco-compare-vs {
    font-size: 12px;
    color: #999;
    font-weight: 700;
}
.wf-eco-compare-label {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 5px;
}
.wf-eco-compare-wf .wf-eco-compare-label { color: #2e7d32; }
.wf-eco-compare-ff .wf-eco-compare-label { color: #c62828; }
.wf-eco-compare-stat {
    font-size: 13px;
    color: #555;
}
.wf-eco-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #8b6f47;
    text-decoration: underline;
}

/* ===== COMMUNITY IMPACT (footer) ===== */
.wf-eco-community {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 0;
}
.wf-eco-community-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}
.wf-eco-community-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.wf-eco-community-stat {
    text-align: center;
}
.wf-eco-community-value {
    font-size: 32px;
    font-weight: 700;
}
.wf-eco-community-label {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
}

/* ===== CONFIRMACIÓ COMPRA ===== */
.wf-eco-purchase-impact {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}
.wf-eco-purchase-title {
    font-size: 16px;
    color: #2e7d32;
    font-weight: 700;
    margin-bottom: 15px;
}
.wf-eco-purchase-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.wf-eco-purchase-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1b5e20;
}
.wf-eco-purchase-stat-label {
    font-size: 12px;
    color: #666;
}

/* Animated counter */
.wf-eco-counter {
    display: inline-block;
    transition: all 0.5s ease;
}

@media (max-width: 768px) {
    .wf-eco-metrics { grid-template-columns: 1fr; }
    .wf-eco-compare { grid-template-columns: 1fr; }
    .wf-eco-compare-vs { display: none; }
    .wf-eco-community-stats { gap: 20px; }
}

/* === ugc-gallery.html === */
/* ===== SECCIÓ UGC ===== */
.wf-ugc {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.wf-ugc-header {
    text-align: center;
    margin-bottom: 30px;
}
.wf-ugc-title {
    font-size: 26px;
    font-family: 'Georgia', serif;
    color: #333;
    margin-bottom: 8px;
}
.wf-ugc-subtitle {
    font-size: 15px;
    color: #8b6f47;
    font-weight: 600;
}
.wf-ugc-description {
    font-size: 14px;
    color: #777;
    max-width: 500px;
    margin: 10px auto 0;
}

/* ===== GRID ===== */
.wf-ugc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}
.wf-ugc-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    background: #f0f0f0;
}
.wf-ugc-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.wf-ugc-item:hover img {
    transform: scale(1.05);
}

/* Overlay on hover */
.wf-ugc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
    font-size: 14px;
}
.wf-ugc-item:hover .wf-ugc-overlay {
    opacity: 1;
}
.wf-ugc-overlay-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

/* Badge client */
.wf-ugc-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255,255,255,0.9);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #333;
    font-weight: 600;
}

/* ===== CTA PUJAR FOTO ===== */
.wf-ugc-cta {
    text-align: center;
    padding: 30px 20px;
    background: #f5f0eb;
    border-radius: 12px;
    margin-top: 30px;
}
.wf-ugc-cta-title {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    margin-bottom: 8px;
}
.wf-ugc-cta-text {
    font-size: 14px;
    color: #777;
    margin-bottom: 16px;
}
.wf-ugc-cta-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.wf-ugc-cta-step {
    text-align: center;
}
.wf-ugc-cta-step-num {
    width: 32px;
    height: 32px;
    background: #c9a96e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 8px;
}
.wf-ugc-cta-step-text {
    font-size: 13px;
    color: #555;
    max-width: 120px;
}
.wf-ugc-cta-hashtag {
    display: inline-block;
    padding: 10px 24px;
    background: #333;
    color: #c9a96e;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 1px;
}
.wf-ugc-cta-reward {
    font-size: 13px;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 12px;
}

/* ===== LIGHTBOX ===== */
.wf-ugc-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.wf-ugc-lightbox.open {
    opacity: 1;
    visibility: visible;
}
.wf-ugc-lightbox-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    max-width: 900px;
    max-height: 80vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}
.wf-ugc-lightbox-img {
    background: #000;
}
.wf-ugc-lightbox-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.wf-ugc-lightbox-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.wf-ugc-lightbox-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.wf-ugc-lightbox-avatar {
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
}
.wf-ugc-lightbox-username {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.wf-ugc-lightbox-caption {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    flex: 1;
}
.wf-ugc-lightbox-product {
    padding: 12px;
    background: #f5f0eb;
    border-radius: 8px;
    margin-top: 12px;
}
.wf-ugc-lightbox-product-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.wf-ugc-lightbox-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #c9a96e;
    margin: 4px 0;
}
.wf-ugc-lightbox-product-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    transition: background 0.2s;
}
.wf-ugc-lightbox-product-btn:hover {
    background: #555;
}
.wf-ugc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .wf-ugc-grid { grid-template-columns: repeat(2, 1fr); }
    .wf-ugc-lightbox-content { grid-template-columns: 1fr; max-width: 95%; }
    .wf-ugc-lightbox-img { max-height: 50vh; }
}

/* === behavior-analytics.html === */
/* ===== HEATMAP OVERLAY (debug/admin) ===== */
.wf-heatmap-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    display: none;
}
.wf-heatmap-overlay canvas {
    width: 100%;
    height: 100%;
}

/* ===== MINI DASHBOARD (Ctrl+Shift+H) ===== */
.wf-analytics-dashboard {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 380px;
    max-height: 90vh;
    background: #1a1a2e;
    color: #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 100000;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    overflow-y: auto;
}
.wf-ad-header {
    background: #16213e;
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
}
.wf-ad-header h3 {
    margin: 0;
    font-size: 14px;
    color: #e94560;
}
.wf-ad-close {
    background: none;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
}
.wf-ad-section {
    padding: 12px 16px;
    border-bottom: 1px solid #16213e;
}
.wf-ad-section h4 {
    margin: 0 0 8px 0;
    color: #0f3460;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e94560;
}
.wf-ad-metric {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
}
.wf-ad-metric-label {
    color: #aaa;
}
.wf-ad-metric-value {
    color: #fff;
    font-weight: bold;
}
.wf-ad-metric-value.good { color: #2ecc71; }
.wf-ad-metric-value.warning { color: #f39c12; }
.wf-ad-metric-value.bad { color: #e74c3c; }
.wf-ad-bar {
    height: 4px;
    background: #16213e;
    border-radius: 2px;
    margin: 4px 0;
    overflow: hidden;
}
.wf-ad-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}
.wf-ad-export {
    display: block;
    width: calc(100% - 32px);
    margin: 12px 16px;
    padding: 8px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
.wf-ad-export:hover {
    background: #c0392b;
}
/* Heatmap dots */
.wf-heatmap-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,69,96,0.6), transparent);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/* === accessibility-layer.html === */
/* ===== SKIP NAV ===== */
.wf-skip-nav {
    position: absolute;
    top: -100px;
    left: 10px;
    background: #8b6f47;
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    z-index: 100001;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.wf-skip-nav:focus {
    top: 0;
}

/* ===== FOCUS INDICATORS ===== */
.wf-a11y-focus *:focus-visible {
    outline: 3px solid #8b6f47 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px rgba(139, 111, 71, 0.2) !important;
}

/* ===== HIGH CONTRAST ===== */
.wf-a11y-high-contrast {
    filter: contrast(1.3) !important;
}
.wf-a11y-high-contrast * {
    border-color: #000 !important;
}
.wf-a11y-high-contrast a {
    text-decoration: underline !important;
}

/* ===== LARGE TEXT ===== */
.wf-a11y-large-text {
    font-size: 120% !important;
}
.wf-a11y-larger-text {
    font-size: 140% !important;
}

/* ===== REDUCE MOTION ===== */
.wf-a11y-reduce-motion *,
.wf-a11y-reduce-motion *::before,
.wf-a11y-reduce-motion *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
}

/* ===== A11Y WIDGET ===== */
.wf-a11y-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
}
.wf-a11y-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2c2c2c;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.2s;
}
.wf-a11y-toggle:hover {
    background: #8b6f47;
    transform: scale(1.1);
}
.wf-a11y-panel {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: none;
    overflow: hidden;
}
.wf-a11y-panel.open {
    display: block;
    animation: wfA11ySlide 0.2s ease;
}
@keyframes wfA11ySlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.wf-a11y-panel-header {
    background: #2c2c2c;
    color: #fff;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wf-a11y-panel-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.wf-a11y-options {
    padding: 10px;
}
.wf-a11y-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 13px;
    color: #555;
}
.wf-a11y-option:hover {
    background: #faf8f5;
}
.wf-a11y-option.active {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
}
.wf-a11y-option-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: #f5f0eb;
    border-radius: 6px;
    flex-shrink: 0;
}
.wf-a11y-option.active .wf-a11y-option-icon {
    background: #c8e6c9;
}
.wf-a11y-separator {
    height: 1px;
    background: #f0ece6;
    margin: 5px 10px;
}
.wf-a11y-font-controls {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
}
.wf-a11y-font-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid #e8e4df;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s;
}
.wf-a11y-font-btn:hover {
    border-color: #8b6f47;
}
.wf-a11y-font-btn.active {
    background: #8b6f47;
    color: #fff;
    border-color: #8b6f47;
}
.wf-a11y-reset {
    display: block;
    width: calc(100% - 20px);
    margin: 5px 10px 10px;
    padding: 8px;
    background: #f5f0eb;
    border: none;
    border-radius: 6px;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
}
.wf-a11y-reset:hover {
    background: #e8e4df;
}

/* ===== SCREEN READER ONLY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== ARIA LIVE REGION ===== */
#wfA11yLive {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* ==========================================================================
   HOMEPAGE HERO REDESIGN
   ========================================================================== */

/* ===== HERO PRINCIPAL ===== */
.wf-hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #2C2420;
    margin-bottom: 60px;
}

/* Imatge/Video de fons */
.wf-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

/* Gradient overlay */
.wf-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.4) 0%,
        rgba(44, 36, 32, 0.15) 50%,
        rgba(44, 36, 32, 0.25) 100%
    );
    z-index: 1;
}

/* Contingut */
.wf-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
}

.wf-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 110, 0.5);
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 20px;
    animation: wfHeroFade 1s ease 0.2s both;
}

.wf-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4rem;
    font-weight: 600;
    color: #FAF8F5;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: wfHeroFade 1s ease 0.4s both;
}

.wf-hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: rgba(250, 248, 245, 0.8);
    line-height: 1.6;
    margin-bottom: 28px;
    animation: wfHeroFade 1s ease 0.6s both;
}

/* CTAs */
.wf-hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: wfHeroFade 1s ease 0.8s both;
}

.wf-hero-cta-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #C9A96E;
    color: #fff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s;
}
.wf-hero-cta-primary:hover {
    background: #B8954F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
    color: #fff;
    text-decoration: none;
}

.wf-hero-cta-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #FAF8F5;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(250, 248, 245, 0.4);
    border-radius: 6px;
    transition: all 0.3s;
}
.wf-hero-cta-secondary:hover {
    border-color: #FAF8F5;
    background: rgba(250, 248, 245, 0.1);
    color: #FAF8F5;
    text-decoration: none;
}

/* Scroll indicator */
.wf-hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(250, 248, 245, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    animation: wfHeroFade 1s ease 1.2s both;
}
.wf-hero-scroll::after {
    content: '';
    width: 3px;
    height: 8px;
    background: rgba(250, 248, 245, 0.5);
    border-radius: 2px;
    margin-top: 6px;
    animation: wfScrollDot 1.5s ease infinite;
}

@keyframes wfHeroFade {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes wfScrollDot {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(10px); }
}

/* ===== TRUST BAR SOTA HERO ===== */
.wf-hero-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
    background: #F5F0EB;
    margin-bottom: 40px;
}
.wf-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5C4A3A;
    font-weight: 600;
}
.wf-hero-trust-icon {
    font-size: 18px;
}

/* ===== SECCIONS HOMEPAGE ===== */
.wf-home-section {
    padding: 60px 20px;
    max-width: 100%;
    margin: 0 auto;
}
.wf-home-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2C2420;
    text-align: center;
    margin-bottom: 8px;
}
.wf-home-section-subtitle {
    font-size: 15px;
    color: #8B6F47;
    text-align: center;
    margin-bottom: 32px;
}

/* ===== CATEGORIES VISUALS ===== */
.wf-home-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.wf-home-category {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
    background: #E8E0D5;
    cursor: pointer;
    text-decoration: none;
}
.wf-home-category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.wf-home-category:hover img {
    transform: scale(1.06);
}
.wf-home-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(transparent, rgba(44,36,32,0.8));
}
.wf-home-category-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #FAF8F5;
}
.wf-home-category-count {
    font-size: 13px;
    color: rgba(250,248,245,0.7);
}

/* ===== BANNER ARTESANIA (mid-page) ===== */
.wf-home-artisan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #2C2420;
    border-radius: 16px;
    overflow: hidden;
    margin: 60px auto;
    max-width: 1200px;
}
.wf-home-artisan-img {
    min-height: 350px;
    background: #5C4A3A;
}
.wf-home-artisan-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wf-home-artisan-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FAF8F5;
}
.wf-home-artisan-text h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 2rem;
    color: #C9A96E !important;
    margin-bottom: 16px;
}
.wf-home-artisan-text p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 20px;
}
.wf-home-artisan-stats {
    display: flex;
    gap: 32px;
    margin-top: 12px;
}
.wf-home-artisan-stat-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #C9A96E;
    line-height: 1;
}
.wf-home-artisan-stat-label {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .wf-hero { min-height: 60vh; }
    .wf-hero-title { font-size: 2.4rem; }
    .wf-hero-trust { gap: 20px; }
    .wf-home-artisan { grid-template-columns: 1fr; }
    .wf-home-artisan-text { padding: 28px; }
    .wf-home-artisan-img { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    .wf-hero-badge, .wf-hero-title, .wf-hero-subtitle, .wf-hero-ctas, .wf-hero-scroll {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
   WISHLIST (LLISTA DE DESITJOS)
   ========================================================================== */

/* ===== ICONA COR (llistat) ===== */
.wf-wish-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
}
.wf-wish-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.wf-wish-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.2s;
}
.wf-wish-btn .wf-heart-outline { fill: none; stroke: #999; stroke-width: 2; }
.wf-wish-btn .wf-heart-filled { fill: #c62828; stroke: #c62828; stroke-width: 2; display: none; }
.wf-wish-btn.active .wf-heart-outline { display: none; }
.wf-wish-btn.active .wf-heart-filled { display: block; }
.wf-wish-btn.active {
    animation: wfHeartPop 0.3s ease;
}

@keyframes wfHeartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ===== BOTO PRODUCTE (pagina producte) ===== */
.wf-wish-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    margin: 8px 0;
}
.wf-wish-product-btn:hover {
    border-color: #c62828;
    color: #c62828;
}
.wf-wish-product-btn.active {
    border-color: #c62828;
    color: #c62828;
    background: #fef2f2;
}
.wf-wish-product-btn svg {
    width: 18px;
    height: 18px;
}
.wf-wish-product-btn .wf-heart-outline { fill: none; stroke: currentColor; stroke-width: 2; }
.wf-wish-product-btn .wf-heart-filled { fill: #c62828; stroke: #c62828; stroke-width: 2; display: none; }
.wf-wish-product-btn.active .wf-heart-outline { display: none; }
.wf-wish-product-btn.active .wf-heart-filled { display: block; }

/* ===== COMPTADOR HEADER ===== */
.wf-wish-counter {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
}
.wf-wish-counter svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #333;
    stroke-width: 2;
}
.wf-wish-counter-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: #c62828;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.wf-wish-counter-badge:empty,
.wf-wish-counter-badge[data-count="0"] {
    display: none;
}

/* ===== MODAL WISHLIST ===== */
.wf-wish-modal {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.wf-wish-modal.open {
    right: 0;
}
.wf-wish-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.wf-wish-overlay.open {
    opacity: 1;
    visibility: visible;
}

.wf-wish-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.wf-wish-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.wf-wish-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
    padding: 0 5px;
}

.wf-wish-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.wf-wish-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}
.wf-wish-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.wf-wish-empty-text {
    font-size: 14px;
}

/* Item */
.wf-wish-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.wf-wish-item-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.wf-wish-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wf-wish-item-info {
    flex: 1;
}
.wf-wish-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.wf-wish-item-name a {
    color: inherit;
    text-decoration: none;
}
.wf-wish-item-name a:hover {
    color: #c9a96e;
}
.wf-wish-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.wf-wish-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
    transition: color 0.2s;
}
.wf-wish-item-remove:hover {
    color: #c62828;
}

/* Footer modal */
.wf-wish-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}
.wf-wish-share-btn {
    flex: 1;
    padding: 10px;
    background: #f5f0eb;
    border: 1px solid #e0d5c7;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #8b6f47;
    font-weight: 600;
    transition: all 0.2s;
}
.wf-wish-share-btn:hover {
    background: #e8ddd0;
}

/* ===== BACK IN STOCK ===== */
.wf-back-in-stock {
    background: #fef9ef;
    border: 1px solid #f0e6d0;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}
.wf-back-in-stock-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}
.wf-back-in-stock-form {
    display: flex;
    gap: 8px;
}
.wf-back-in-stock-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.wf-back-in-stock-form button {
    padding: 8px 16px;
    background: #c9a96e;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
}
.wf-back-in-stock-form button:hover {
    background: #b8954f;
}
.wf-back-in-stock-success {
    color: #2e7d32;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

@media (max-width: 768px) {
    .wf-wish-modal { width: 100%; max-width: 100vw; }
    .wf-wish-btn { width: 32px; height: 32px; }
}

/* ==========================================================================
   PRODUCT VIDEO PLAYER
   ========================================================================== */

/* ===== VIDEO THUMBNAIL ===== */
.wf-video-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    aspect-ratio: 1/1;
}
.wf-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}
.wf-video-thumb:hover img {
    opacity: 0.7;
}

/* Play button overlay */
.wf-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(201, 169, 110, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.wf-video-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}
.wf-video-thumb:hover .wf-video-play {
    background: rgba(201, 169, 110, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Badge "Video" */
.wf-video-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== LIGHTBOX ===== */
.wf-video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.wf-video-lightbox.open {
    opacity: 1;
    visibility: visible;
}
.wf-video-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.wf-video-lightbox-content iframe,
.wf-video-lightbox-content video {
    width: 100%;
    height: 100%;
    border: 0;
}
.wf-video-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.2s;
}
.wf-video-lightbox-close:hover {
    opacity: 0.7;
}

/* ===== VIDEO INLINE (dins galeria) ===== */
.wf-video-inline {
    width: 100%;
    height: 100%;
    background: #000;
}
.wf-video-inline video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .wf-video-lightbox-content {
        width: 95%;
    }
    .wf-video-play {
        width: 40px;
        height: 40px;
    }
    .wf-video-play::after {
        border-width: 6px 0 6px 10px;
    }
}

/* ==========================================================================
   WHATSAPP CHATBOT FLOWS
   ========================================================================== */

/* ===== CHAT WINDOW ===== */
.wf-chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 370px;
    max-height: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}
.wf-chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header */
.wf-chat-header {
    background: #075e54;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wf-chat-avatar {
    width: 38px;
    height: 38px;
    background: #c9a96e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.wf-chat-header-info {
    flex: 1;
}
.wf-chat-header-name {
    font-size: 15px;
    font-weight: 600;
}
.wf-chat-header-status {
    font-size: 11px;
    opacity: 0.8;
}
.wf-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.8;
}
.wf-chat-close:hover { opacity: 1; }

/* Messages */
.wf-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    background: #e5ddd5;
    min-height: 280px;
    max-height: 340px;
}

.wf-chat-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}
.wf-chat-msg-bot {
    background: #fff;
    border-top-left-radius: 0;
    margin-right: auto;
}
.wf-chat-msg-user {
    background: #dcf8c6;
    border-top-right-radius: 0;
    margin-left: auto;
}
.wf-chat-msg-time {
    font-size: 10px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

/* Quick replies */
.wf-chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.wf-chat-quick-btn {
    padding: 6px 14px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    color: #075e54;
    font-weight: 500;
    transition: all 0.2s;
}
.wf-chat-quick-btn:hover {
    background: #075e54;
    color: #fff;
    border-color: #075e54;
}

/* Input */
.wf-chat-input-area {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}
.wf-chat-input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background: #fff;
}
.wf-chat-send {
    width: 38px;
    height: 38px;
    background: #075e54;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.wf-chat-send:hover { background: #128c7e; }

/* Typing indicator */
.wf-chat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    border-top-left-radius: 0;
    width: fit-content;
    margin-bottom: 8px;
}
.wf-chat-typing span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: wfTypingDot 1.4s infinite;
}
.wf-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.wf-chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes wfTypingDot {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* Chat trigger button */
.wf-chat-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: transform 0.2s;
}
.wf-chat-trigger:hover {
    transform: scale(1.1);
}
.wf-chat-trigger svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
.wf-chat-trigger-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #c62828;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .wf-chat-window {
        width: calc(100% - 16px);
        right: 8px;
        bottom: 80px;
        max-height: 70vh;
    }
}
/* === homepage-hero-redesign.html === */
/* ===== HERO PRINCIPAL ===== */
.wf-hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #2C2420;
    margin-bottom: 60px;
}

/* Imatge/Vídeo de fons */
.wf-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

/* Gradient overlay */
.wf-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.4) 0%,
        rgba(44, 36, 32, 0.15) 50%,
        rgba(44, 36, 32, 0.25) 100%
    );
    z-index: 1;
}

/* Contingut */
.wf-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
}

.wf-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 110, 0.5);
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 20px;
    animation: wfHeroFade 1s ease 0.2s both;
}

.wf-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4rem;
    font-weight: 600;
    color: #FAF8F5;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: wfHeroFade 1s ease 0.4s both;
}

.wf-hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: rgba(250, 248, 245, 0.8);
    line-height: 1.6;
    margin-bottom: 28px;
    animation: wfHeroFade 1s ease 0.6s both;
}

/* CTAs */
.wf-hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: wfHeroFade 1s ease 0.8s both;
}

.wf-hero-cta-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #C9A96E;
    color: #fff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s;
}
.wf-hero-cta-primary:hover {
    background: #B8954F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
    color: #fff;
    text-decoration: none;
}

.wf-hero-cta-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #FAF8F5;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(250, 248, 245, 0.4);
    border-radius: 6px;
    transition: all 0.3s;
}
.wf-hero-cta-secondary:hover {
    border-color: #FAF8F5;
    background: rgba(250, 248, 245, 0.1);
    color: #FAF8F5;
    text-decoration: none;
}

/* Scroll indicator */
.wf-hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(250, 248, 245, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    animation: wfHeroFade 1s ease 1.2s both;
}
.wf-hero-scroll::after {
    content: '';
    width: 3px;
    height: 8px;
    background: rgba(250, 248, 245, 0.5);
    border-radius: 2px;
    margin-top: 6px;
    animation: wfScrollDot 1.5s ease infinite;
}

@keyframes wfHeroFade {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes wfScrollDot {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(10px); }
}

/* ===== TRUST BAR SOTA HERO ===== */
.wf-hero-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
    background: #F5F0EB;
    margin-bottom: 40px;
}
.wf-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5C4A3A;
    font-weight: 600;
}
.wf-hero-trust-icon {
    font-size: 18px;
}

/* ===== SECCIONS HOMEPAGE ===== */
.wf-home-section {
    padding: 60px 20px;
    max-width: 100%;
    margin: 0 auto;
}
.wf-home-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2C2420;
    text-align: center;
    margin-bottom: 8px;
}
.wf-home-section-subtitle {
    font-size: 15px;
    color: #8B6F47;
    text-align: center;
    margin-bottom: 32px;
}

/* ===== CATEGORIES VISUALS ===== */
.wf-home-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.wf-home-category {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
    background: #E8E0D5;
    cursor: pointer;
    text-decoration: none;
}
.wf-home-category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.wf-home-category:hover img {
    transform: scale(1.06);
}
.wf-home-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(transparent, rgba(44,36,32,0.8));
}
.wf-home-category-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #FAF8F5;
}
.wf-home-category-count {
    font-size: 13px;
    color: rgba(250,248,245,0.7);
}

/* ===== BANNER ARTESANIA (mid-page) ===== */
.wf-home-artisan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #2C2420;
    border-radius: 16px;
    overflow: hidden;
    margin: 60px auto;
    max-width: 1200px;
}
.wf-home-artisan-img {
    min-height: 350px;
    background: #5C4A3A; /* Placeholder color — reemplaçar amb foto del taller */
}
.wf-home-artisan-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wf-home-artisan-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FAF8F5;
}
.wf-home-artisan-text h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 2rem;
    color: #C9A96E !important;
    margin-bottom: 16px;
}
.wf-home-artisan-text p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 20px;
}
.wf-home-artisan-stats {
    display: flex;
    gap: 32px;
    margin-top: 12px;
}
.wf-home-artisan-stat-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #C9A96E;
    line-height: 1;
}
.wf-home-artisan-stat-label {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .wf-hero { min-height: 60vh; }
    .wf-hero-title { font-size: 2.4rem; }
    .wf-hero-trust { gap: 20px; }
    .wf-home-artisan { grid-template-columns: 1fr; }
    .wf-home-artisan-text { padding: 28px; }
    .wf-home-artisan-img { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    .wf-hero-badge, .wf-hero-title, .wf-hero-subtitle, .wf-hero-ctas, .wf-hero-scroll {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* === wishlist.html === */
/* ===== ICONA COR (llistat) ===== */
.wf-wish-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 0;
}
.wf-wish-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.wf-wish-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.2s;
}
.wf-wish-btn .wf-heart-outline { fill: none; stroke: #999; stroke-width: 2; }
.wf-wish-btn .wf-heart-filled { fill: #c62828; stroke: #c62828; stroke-width: 2; display: none; }
.wf-wish-btn.active .wf-heart-outline { display: none; }
.wf-wish-btn.active .wf-heart-filled { display: block; }
.wf-wish-btn.active {
    animation: wfHeartPop 0.3s ease;
}

@keyframes wfHeartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ===== BOTÓ PRODUCTE (pàgina producte) ===== */
.wf-wish-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    margin: 8px 0;
}
.wf-wish-product-btn:hover {
    border-color: #c62828;
    color: #c62828;
}
.wf-wish-product-btn.active {
    border-color: #c62828;
    color: #c62828;
    background: #fef2f2;
}
.wf-wish-product-btn svg {
    width: 18px;
    height: 18px;
}
.wf-wish-product-btn .wf-heart-outline { fill: none; stroke: currentColor; stroke-width: 2; }
.wf-wish-product-btn .wf-heart-filled { fill: #c62828; stroke: #c62828; stroke-width: 2; display: none; }
.wf-wish-product-btn.active .wf-heart-outline { display: none; }
.wf-wish-product-btn.active .wf-heart-filled { display: block; }

/* ===== COMPTADOR HEADER ===== */
.wf-wish-counter {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
}
.wf-wish-counter svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #333;
    stroke-width: 2;
}
.wf-wish-counter-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: #c62828;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.wf-wish-counter-badge:empty,
.wf-wish-counter-badge[data-count="0"] {
    display: none;
}

/* ===== MODAL WISHLIST ===== */
.wf-wish-modal {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.wf-wish-modal.open {
    right: 0;
}
.wf-wish-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.wf-wish-overlay.open {
    opacity: 1;
    visibility: visible;
}

.wf-wish-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.wf-wish-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.wf-wish-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
    padding: 0 5px;
}

.wf-wish-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.wf-wish-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}
.wf-wish-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.wf-wish-empty-text {
    font-size: 14px;
}

/* Item */
.wf-wish-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.wf-wish-item-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.wf-wish-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wf-wish-item-info {
    flex: 1;
}
.wf-wish-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.wf-wish-item-name a {
    color: inherit;
    text-decoration: none;
}
.wf-wish-item-name a:hover {
    color: #c9a96e;
}
.wf-wish-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.wf-wish-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
    transition: color 0.2s;
}
.wf-wish-item-remove:hover {
    color: #c62828;
}

/* Footer modal */
.wf-wish-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}
.wf-wish-share-btn {
    flex: 1;
    padding: 10px;
    background: #f5f0eb;
    border: 1px solid #e0d5c7;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #8b6f47;
    font-weight: 600;
    transition: all 0.2s;
}
.wf-wish-share-btn:hover {
    background: #e8ddd0;
}

/* ===== BACK IN STOCK ===== */
.wf-back-in-stock {
    background: #fef9ef;
    border: 1px solid #f0e6d0;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}
.wf-back-in-stock-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}
.wf-back-in-stock-form {
    display: flex;
    gap: 8px;
}
.wf-back-in-stock-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.wf-back-in-stock-form button {
    padding: 8px 16px;
    background: #c9a96e;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
}
.wf-back-in-stock-form button:hover {
    background: #b8954f;
}
.wf-back-in-stock-success {
    color: #2e7d32;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

@media (max-width: 768px) {
    .wf-wish-modal { width: 100%; max-width: 100vw; }
    .wf-wish-btn { width: 32px; height: 32px; }
}

/* === product-video-player.html === */
/* ===== VIDEO THUMBNAIL ===== */
.wf-video-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    aspect-ratio: 1/1;
}
.wf-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}
.wf-video-thumb:hover img {
    opacity: 0.7;
}

/* Play button overlay */
.wf-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(201, 169, 110, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.wf-video-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}
.wf-video-thumb:hover .wf-video-play {
    background: rgba(201, 169, 110, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Badge "Vídeo" */
.wf-video-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== LIGHTBOX ===== */
.wf-video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.wf-video-lightbox.open {
    opacity: 1;
    visibility: visible;
}
.wf-video-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.wf-video-lightbox-content iframe,
.wf-video-lightbox-content video {
    width: 100%;
    height: 100%;
    border: 0;
}
.wf-video-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.2s;
}
.wf-video-lightbox-close:hover {
    opacity: 0.7;
}

/* ===== VIDEO INLINE (dins galeria) ===== */
.wf-video-inline {
    width: 100%;
    height: 100%;
    background: #000;
}
.wf-video-inline video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .wf-video-lightbox-content {
        width: 95%;
    }
    .wf-video-play {
        width: 40px;
        height: 40px;
    }
    .wf-video-play::after {
        border-width: 6px 0 6px 10px;
    }
}

/* === whatsapp-chatbot-flows.html === */
/* ===== CHAT WINDOW ===== */
.wf-chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 370px;
    max-height: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}
.wf-chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header */
.wf-chat-header {
    background: #075e54;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wf-chat-avatar {
    width: 38px;
    height: 38px;
    background: #c9a96e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.wf-chat-header-info {
    flex: 1;
}
.wf-chat-header-name {
    font-size: 15px;
    font-weight: 600;
}
.wf-chat-header-status {
    font-size: 11px;
    opacity: 0.8;
}
.wf-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.8;
}
.wf-chat-close:hover { opacity: 1; }

/* Messages */
.wf-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    background: #e5ddd5;
    min-height: 280px;
    max-height: 340px;
}

.wf-chat-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}
.wf-chat-msg-bot {
    background: #fff;
    border-top-left-radius: 0;
    margin-right: auto;
}
.wf-chat-msg-user {
    background: #dcf8c6;
    border-top-right-radius: 0;
    margin-left: auto;
}
.wf-chat-msg-time {
    font-size: 10px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

/* Quick replies */
.wf-chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.wf-chat-quick-btn {
    padding: 6px 14px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    color: #075e54;
    font-weight: 500;
    transition: all 0.2s;
}
.wf-chat-quick-btn:hover {
    background: #075e54;
    color: #fff;
    border-color: #075e54;
}

/* Input */
.wf-chat-input-area {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}
.wf-chat-input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background: #fff;
}
.wf-chat-send {
    width: 38px;
    height: 38px;
    background: #075e54;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.wf-chat-send:hover { background: #128c7e; }

/* Typing indicator */
.wf-chat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    border-top-left-radius: 0;
    width: fit-content;
    margin-bottom: 8px;
}
.wf-chat-typing span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: wfTypingDot 1.4s infinite;
}
.wf-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.wf-chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes wfTypingDot {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* Chat trigger button (complement to WhatsApp widget) */
.wf-chat-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: transform 0.2s;
}
.wf-chat-trigger:hover {
    transform: scale(1.1);
}
.wf-chat-trigger svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
.wf-chat-trigger-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #c62828;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .wf-chat-window {
        width: calc(100% - 16px);
        right: 8px;
        bottom: 80px;
        max-height: 70vh;
    }
}
/* Hide Marcas menu and manufacturer links */
.menu__item-link--top span:contains("Marcas"),
li[id^="category-"][id$="-manufacturer"],
a[href*="_walk-and-fly"],
a[href*="_wf"] {
    display: none !important;
}

/* Style product reference on product page */
.product-reference {
    margin-top: 4px !important;
}
.product-reference .label {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.product-reference .label + span,
.product-reference span:not(.visible--desktop):not(.visible--mobile) {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: 400 !important;
}
/* Add to cart button on product cards */
.wf-add-cart-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.85);
    color: white;
    border: none;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
    font-family: var(--wf-font-sans, 'DM Sans', sans-serif);
}
.wf-add-cart-btn:hover {
    background: rgba(0,0,0,0.95);
}
div.products .product-miniature:hover .wf-add-cart-btn {
    opacity: 1;
    transform: translateY(0);
}
.wf-add-cart-btn.wf-added {
    background: #2e7d32 !important;
}
@media (max-width: 767px) {
    .wf-add-cart-btn { display: none !important; }
}
