/* ============================================================
   Casa & Harmonia — Store Styles (redesign completo)
   ============================================================ */

/* ── HEADER ─────────────────────────────────────────────────── */
.store-header {
  background: rgba(253,250,247,.95);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.store-header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.store-brand {
  font-family: var(--font-display); font-size: 26px; font-weight: 300;
  color: var(--charcoal); white-space: nowrap; cursor: pointer;
  text-decoration: none; letter-spacing: .5px; flex-shrink: 0;
}
.store-brand span { color: var(--terracotta); font-style: italic; }

/* ── SEARCH ─────────────────────────────────────────────────── */
.store-search { flex: 1; max-width: 420px; position: relative; }
.store-search input { padding-left: 40px; border-radius: 50px; background: var(--cream); border-color: var(--border); }
.store-search input:focus { background: var(--warm-white); }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--charcoal-light); font-size: 15px; pointer-events: none;
}

/* ── HEADER ACTIONS ─────────────────────────────────────────── */
.header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.cart-btn {
  background: var(--terracotta); color: #fff;
  border: none; border-radius: var(--radius-md); padding: 10px 18px;
  cursor: pointer; font-family: var(--font-body); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 8px; transition: all var(--transition);
  position: relative;
}
.cart-btn:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.cart-count {
  background: #fff; color: var(--terracotta);
  border-radius: 50%; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; line-height: 1;
}

/* ── HERO ────────────────────────────────────────────────────── */
.store-hero {
  background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--sage-light) 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.store-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(196,113,74,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(123,140,123,.12) 0%, transparent 60%);
}
.hero-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--sage); margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(38px, 6vw, 64px);
  font-weight: 300; line-height: 1.1; color: var(--charcoal);
  margin-bottom: 16px;
}
.hero-title em { color: var(--terracotta); font-style: italic; }
.hero-subtitle { font-size: 15px; color: var(--charcoal-mid); line-height: 1.8; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── CATEGORY BAR ────────────────────────────────────────────── */
.category-section {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 68px; z-index: 90;
}
.category-bar {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 4px; overflow-x: auto; align-items: center;
  height: 52px;
}
.category-bar::-webkit-scrollbar { display: none; }
.cat-chip {
  padding: 6px 16px; border-radius: 50px;
  border: 1.5px solid transparent;
  background: transparent; color: var(--charcoal-mid);
  font-size: 13px; cursor: pointer; font-weight: 500;
  transition: all var(--transition); white-space: nowrap;
  font-family: var(--font-body); flex-shrink: 0;
}
.cat-chip:hover { color: var(--charcoal); background: var(--cream); }
.cat-chip.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* ── PRODUCTS SECTION ────────────────────────────────────────── */
.products-section {
  max-width: 1280px; margin: 0 auto; padding: 40px 24px 80px;
}
.products-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.products-section-title {
  font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--charcoal);
}
.products-count { font-size: 13px; color: var(--charcoal-light); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer; display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-4px);
  border-color: var(--border-strong);
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
}
.product-badge .badge { font-size: 11px; padding: 3px 8px; }

.product-img-wrap {
  height: 220px; background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; overflow: hidden; flex-shrink: 0;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; padding: 8px; background: #fff; }
.product-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 10px; font-weight: 600; color: var(--sage);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
}
.product-name { font-size: 15px; font-weight: 500; margin-bottom: 4px; line-height: 1.35; color: var(--charcoal); }
.product-color { font-size: 12px; color: var(--charcoal-light); margin-bottom: 10px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.product-price { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--terracotta); letter-spacing: -0.3px; }
.out-of-stock { font-size: 12px; color: var(--danger); font-weight: 500; }

.product-add-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  border: none; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
}
.product-add-btn:hover { background: var(--terracotta-dark); transform: scale(1.1); }

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.empty-state { grid-column: 1/-1; text-align: center; padding: 100px 0; }
.empty-state-icon { font-size: 56px; margin-bottom: 16px; }
.empty-state-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.empty-state-sub { color: var(--charcoal-light); font-size: 14px; }

/* ── CART PANEL ──────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(44,44,42,.5);
  z-index: 500; backdrop-filter: blur(2px);
}
.cart-panel {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: 100%; max-width: 420px;
  background: var(--warm-white); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; z-index: 501;
  animation: slideIn .35s cubic-bezier(.25,.46,.45,.94);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.cart-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; }
.cart-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-item {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-thumb {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: var(--sage-light); display: flex; align-items: center;
  justify-content: center; font-size: 28px; flex-shrink: 0; overflow: hidden;
  border: 1px solid var(--border);
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; background: #fff; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; line-height: 1.3; }
.cart-item-subtotal { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--terracotta); margin-bottom: 8px; }
.qty-row { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); background: var(--cream);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: all var(--transition); font-weight: 500;
}
.qty-btn:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.qty-num { font-size: 15px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-remove {
  background: none; border: none; cursor: pointer;
  color: var(--charcoal-light); font-size: 18px; padding: 4px;
  transition: color var(--transition); flex-shrink: 0; margin-top: 2px;
}
.cart-remove:hover { color: var(--danger); }
.cart-footer {
  padding: 20px 24px; border-top: 1px solid var(--border);
  background: var(--warm-white); flex-shrink: 0;
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.cart-total-label { font-size: 14px; color: var(--charcoal-mid); font-weight: 500; }
.cart-total-value { font-family: var(--font-body); font-size: 26px; font-weight: 700; color: var(--charcoal); }
.cart-empty { text-align: center; padding: 80px 0 40px; }
.cart-empty-icon { font-size: 56px; margin-bottom: 16px; }
.cart-empty-text { font-family: var(--font-display); font-size: 22px; color: var(--charcoal-light); margin-bottom: 8px; }
.cart-empty-sub { font-size: 13px; color: var(--charcoal-light); }

/* ── PRODUCT DETAIL MODAL ────────────────────────────────────── */
.product-detail-img {
  width: 100%; border-radius: var(--radius-lg);
  background: var(--warm-white); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; overflow: hidden; border: 1px solid var(--border);
  min-height: 200px;
}
.product-detail-img img {
  width: 100%; height: auto; max-height: 360px;
  object-fit: contain; padding: 12px;
}
.product-detail-meta { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.product-detail-price { font-family: var(--font-body); font-size: 28px; font-weight: 700; color: var(--terracotta); letter-spacing: -0.5px; }
.product-detail-desc { font-size: 14px; color: var(--charcoal-mid); line-height: 1.8; margin-bottom: 24px; }
.qty-selector { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.qty-selector-label { font-size: 13px; color: var(--charcoal-mid); font-weight: 500; }
.qty-selector-controls { display: flex; align-items: center; gap: 12px; }

/* ── CHECKOUT ────────────────────────────────────────────────── */
.checkout-page {
  max-width: 960px; margin: 0 auto; padding: 40px 24px 80px;
  display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start;
}
.checkout-form-title { font-family: var(--font-display); font-size: 32px; font-weight: 300; margin-bottom: 6px; }
.checkout-form-sub { font-size: 14px; color: var(--charcoal-mid); margin-bottom: 28px; }
.payment-notice {
  background: var(--warning-bg); border: 1px solid #E8D090;
  border-radius: var(--radius-md); padding: 14px 16px;
  font-size: 14px; color: var(--warning); margin-bottom: 28px;
  display: flex; gap: 10px; line-height: 1.5;
}
.order-summary-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  position: sticky; top: 80px;
}
.order-summary-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.summary-item {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--border);
}
.summary-item:last-of-type { border-bottom: none; }
.summary-item-name { color: var(--charcoal-mid); flex: 1; }
.summary-item-qty { color: var(--charcoal-light); font-size: 12px; }
.summary-item-price { font-weight: 500; white-space: nowrap; }
.summary-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 16px; margin-top: 4px; border-top: 2px solid var(--border);
}
.summary-total-label { font-weight: 600; font-size: 14px; }
.summary-total-price { font-family: var(--font-body); font-size: 24px; font-weight: 700; color: var(--terracotta); letter-spacing: -0.3px; }

/* ── SUCCESS PAGE ────────────────────────────────────────────── */
.success-page {
  max-width: 560px; margin: 80px auto; padding: 0 24px;
  text-align: center; animation: fadeUp .6s ease;
}
@keyframes fadeUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.success-icon-wrap {
  width: 96px; height: 96px; background: var(--success-bg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; font-size: 44px;
  box-shadow: 0 0 0 16px rgba(74,123,92,.08);
}
.success-title { font-family: var(--font-display); font-size: 40px; font-weight: 300; margin-bottom: 8px; }
.success-subtitle { font-size: 15px; color: var(--charcoal-mid); margin-bottom: 8px; }
.success-num { font-family: var(--font-display); font-size: 22px; color: var(--terracotta); margin-bottom: 24px; }
.success-body { font-size: 14px; color: var(--charcoal-mid); line-height: 1.8; margin-bottom: 36px; }
.whatsapp-btn {
  background: #25D366; color: #fff; border: none;
  border-radius: var(--radius-md); padding: 16px 32px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  transition: all var(--transition); text-decoration: none;
  box-shadow: 0 4px 24px rgba(37,211,102,.35);
}
.whatsapp-btn:hover { background: #1DB954; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,.4); }

/* ── SKELETON LOADING ────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--cream) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.skeleton-img { height: 220px; }
.skeleton-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.skeleton-line { height: 12px; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-price { height: 22px; width: 50%; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .store-header-inner { padding: 0 16px; height: 60px; }
  .store-brand { font-size: 22px; }
  .store-search { display: none; }
  .store-search.mobile-open { display: block; position: fixed; top: 60px; left: 0; right: 0; background: var(--warm-white); border-bottom: 1px solid var(--border); padding: 12px 16px; z-index: 200; }
  .search-toggle { display: flex !important; }

  .store-hero { padding: 40px 20px; }
  .hero-title { font-size: 36px; }

  .category-section { top: 60px; }

  .products-section { padding: 24px 16px 100px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-img-wrap { height: 160px; }
  .product-info { padding: 12px; }
  .product-price { font-size: 18px; }

  .cart-panel { max-width: 100%; }

  .checkout-page { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px 80px; }
  .order-summary-card { position: static; order: -1; }

  .success-page { margin: 40px auto; }
}

@media (min-width: 769px) {
  .search-toggle { display: none !important; }
}

/* ── MOBILE FIXES ────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Header — evita corte do carrinho */
  .store-header-inner {
    padding: 0 12px;
    gap: 8px;
  }
  .store-brand { font-size: 18px; }
  .header-actions { gap: 6px; }
  .cart-btn { padding: 8px 12px; font-size: 13px; gap: 4px; }
  .btn-ghost.btn-sm { font-size: 11px; padding: 6px 8px; }

  /* Hero — botões empilhados */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 8px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-title { font-size: 30px; }
  .store-hero { padding: 32px 16px; }

  /* Cards — evita overflow */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info { padding: 10px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 16px; }
  .product-add-btn { width: 30px; height: 30px; font-size: 16px; }
  .product-img-wrap { height: 140px; }

  /* Modal de produto — preço não sai da tela */
  .product-detail-meta {
    flex-direction: column;
    gap: 4px;
  }
  .product-detail-price { font-size: 22px; }

  /* Carrinho */
  .cart-item-name { font-size: 13px; }
  .cart-total-value { font-size: 22px; }

  /* Checkout */
  .checkout-page { padding: 16px 12px 80px; }
  .checkout-form-title { font-size: 24px; }

  /* Sections */
  .products-section { padding: 16px 12px 100px; }
  .products-section-header { margin-bottom: 16px; }
  .products-section-title { font-size: 22px; }

  /* Toast centralizado embaixo */
  #toast-container { padding: 0 12px; bottom: 80px; }
}

/* ── HEADER MOBILE OVERFLOW FIX ─────────────────────────────── */
@media (max-width: 600px) {
  .store-header-inner {
    padding: 0 12px;
    gap: 6px;
    overflow: hidden;
  }
  .store-brand {
    font-size: 17px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  /* Esconde texto "Admin ↗" — mantém só o carrinho */
  .header-actions a.btn-ghost { display: none; }
  .cart-btn {
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  /* Ícone de busca menor */
  .header-actions .btn-ghost { font-size: 14px; padding: 6px 8px; }
}

/* ── FORMAS DE PAGAMENTO ─────────────────────────────────────── */
.store-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.8);
  padding: 32px 24px;
  margin-top: 40px;
}
.store-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.footer-payment-title {
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255,255,255,.5);
}
.footer-payment-badges {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.payment-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: #fff;
  min-width: 120px; justify-content: center;
}
.payment-icon { font-size: 20px; }
.footer-info {
  font-size: 12px; color: rgba(255,255,255,.35);
  max-width: 360px; line-height: 1.6;
}

/* Badges compactos no carrinho e checkout */
.cart-payment-badges {
  display: flex; gap: 6px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 12px;
}
.payment-badge-sm {
  background: var(--sage-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 12px; font-weight: 500;
  color: var(--charcoal-mid);
  display: flex; align-items: center; gap: 5px;
}

/* ── SELETOR DE COR / VARIAÇÃO ───────────────────────────────── */
.color-selector {
  margin-bottom: 20px;
}
.color-selector-label {
  font-size: 13px; font-weight: 500; color: var(--charcoal-mid);
  margin-bottom: 10px; display: block;
}
.color-selected-name {
  color: var(--terracotta); font-weight: 600;
}
.color-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.color-chip {
  padding: 8px 18px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.color-chip:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.color-chip.active {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}

/* ── ANIMAÇÃO TROCA DE IMAGEM ────────────────────────────────── */
@keyframes fadeImg {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
#detail-main-img { animation: fadeImg .25s ease; }

/* ── CAMPOS DE IMAGEM POR COR (admin) ────────────────────────── */
.color-img-field {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border);
}

/* ── SEÇÃO DESTAQUES ─────────────────────────────────────────── */
.featured-section {
  background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--sage-light) 100%);
  padding: 36px 0 40px;
  overflow: hidden;
}
.featured-inner {
  max-width: 100%;
}
.featured-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; padding: 0 24px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
  margin-bottom: 20px;
}
.featured-icon { font-size: 24px; }
.featured-title {
  font-family: var(--font-display); font-size: 28px; font-weight: 400;
  color: var(--charcoal);
}

/* Scroll horizontal infinito com CSS animation */
.featured-grid {
  overflow: hidden;
  padding: 8px 0 16px;
  position: relative;
}

.featured-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 24px;
}

@keyframes featuredScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.featured-grid.auto-scroll .featured-track {
  animation: featuredScroll 30s linear infinite;
}

.featured-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.25,.46,.45,.94), box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
  border: 2px solid rgba(196,113,74,.15);
  flex-shrink: 0;
  width: 260px;
  user-select: none;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta);
}
.featured-card:hover .featured-img-wrap img { transform: scale(1.04); }

.featured-img-wrap {
  height: 200px; background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; overflow: hidden; flex-shrink: 0;
}
.featured-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 8px; transition: transform .5s ease;
}
.featured-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.featured-cat {
  font-size: 10px; font-weight: 600; color: var(--sage);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
}
.featured-name {
  font-size: 15px; font-weight: 600; margin-bottom: 4px;
  color: var(--charcoal); line-height: 1.3;
}
.featured-color { font-size: 12px; color: var(--charcoal-light); margin-bottom: 8px; }
.featured-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: auto; padding-top: 12px;
}

@media (max-width: 600px) {
  .featured-section { padding: 24px 0 28px; }
  .featured-title { font-size: 22px; }
  .featured-card { width: 200px; }
  .featured-img-wrap { height: 150px; }
  .featured-grid { gap: 12px; padding: 8px 16px 12px; }
}
