/* VelvetCart App Styles */
/* Design tokens from landing page */
:root {
  --plum: #3D1C33;
  --rose: #C4697C;
  --blush: #F2D4D7;
  --cream: #FFF8F6;
  --gold: #C9A96E;
  --dark: #1A0E16;
  --text: #2D1A27;
  --muted: #7A5C6F;
  --white: #ffffff;
  --border: rgba(61,28,51,0.08);
  --shadow-sm: 0 2px 8px rgba(61,28,51,0.06);
  --shadow-md: 0 8px 30px rgba(61,28,51,0.08);
  --shadow-lg: 0 20px 60px rgba(61,28,51,0.1);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--rose); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--plum); }

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--plum);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--plum);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--plum) !important;
}

.nav-cart-badge {
  background: var(--rose);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -12px;
}

.nav-cart-badge:empty,
.nav-cart-badge[data-count="0"] {
  display: none;
}

/* ========== PAGE WRAPPER ========== */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  min-height: calc(100vh - 64px - 100px);
}

.page-header {
  margin-bottom: 40px;
}

.page-tag {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--plum);
  line-height: 1.15;
}

.page-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--rose); }
.breadcrumbs span { color: var(--muted); opacity: 0.5; }

/* ========== FILTER BAR ========== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.filter-btn.active {
  background: var(--plum);
  border-color: var(--plum);
  color: white;
}

.sort-select {
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A5C6F' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ========== PRODUCT GRID ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.product-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: linear-gradient(135deg, var(--blush) 0%, #F9E8EA 100%);
}

.product-card-body {
  padding: 20px;
}

.product-card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 6px;
}

.product-card-name {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--plum);
}

.product-compare-price {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.stars { color: var(--gold); }
.rating-num { color: var(--muted); font-size: 13px; }

/* ========== PRODUCT DETAIL ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-image-large {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  background: linear-gradient(135deg, var(--blush) 0%, #F9E8EA 100%);
  border-radius: var(--radius-lg);
}

.product-info h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--plum);
  line-height: 1.2;
  margin-bottom: 8px;
}

.product-info .product-category-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}

.product-info .product-price-large {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 4px;
}

.product-info .product-price-compare {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.product-savings {
  display: inline-block;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.product-info .product-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius-md);
}

.product-meta-item {
  display: flex;
  gap: 12px;
}

.product-meta-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
  min-width: 100px;
}

.product-meta-value {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.qty-control label {
  font-size: 14px;
  font-weight: 600;
  color: var(--plum);
}

.qty-buttons {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--plum);
  transition: background 0.2s;
}

.qty-btn:hover { background: var(--cream); }

.qty-value {
  width: 48px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--plum);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 8px 0;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--plum);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--plum);
}

.btn-rose {
  background: var(--rose);
  color: white;
}

.btn-rose:hover {
  background: #B55A6D;
  color: white;
}

.btn-gold {
  background: var(--gold);
  color: white;
}

.btn-gold:hover {
  background: #B89558;
  color: white;
}

.btn-full { width: 100%; }

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.blog-card-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-card-emoji {
  font-size: 40px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blush) 0%, #F9E8EA 100%);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.blog-card-meta {
  flex: 1;
}

.blog-card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose);
}

.blog-card-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.blog-card-body {
  padding: 16px 24px 24px;
}

.blog-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.blog-card-rating .stars { font-size: 14px; }
.blog-card-rating .verdict {
  font-size: 13px;
  color: var(--plum);
  font-weight: 600;
}

/* ========== BLOG POST ========== */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: 40px;
}

.blog-post-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--plum);
  line-height: 1.15;
  margin-bottom: 16px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.blog-post-meta .author {
  font-weight: 600;
  color: var(--plum);
}

.blog-post-rating-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--blush) 0%, #F9E8EA 100%);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.blog-post-rating-bar .big-rating {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--plum);
  line-height: 1;
}

.blog-post-rating-bar .rating-details {
  flex: 1;
}

.blog-post-rating-bar .stars { font-size: 20px; color: var(--gold); }
.blog-post-rating-bar .verdict-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--plum);
  margin-top: 4px;
}

.blog-post-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.blog-post-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--plum);
  margin: 40px 0 16px;
}

.blog-post-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--plum);
  margin: 32px 0 12px;
}

.blog-post-content p {
  margin-bottom: 16px;
}

.blog-post-content ul, .blog-post-content ol {
  margin: 12px 0 20px 24px;
}

.blog-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.blog-post-content strong {
  color: var(--plum);
  font-weight: 600;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.pros-box, .cons-box {
  padding: 20px;
  border-radius: var(--radius-md);
}

.pros-box {
  background: #E8F5E9;
}

.cons-box {
  background: #FFF3E0;
}

.pros-box h4, .cons-box h4 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pros-box h4 { color: #2E7D32; }
.cons-box h4 { color: #E65100; }

.pros-box p, .cons-box p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.pros-box p { color: #1B5E20; }
.cons-box p { color: #BF360C; }

.product-cta-box {
  margin: 40px 0;
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--blush);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
}

.product-cta-box .cta-emoji {
  font-size: 48px;
}

.product-cta-box .cta-info {
  flex: 1;
}

.product-cta-box .cta-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--plum);
}

.product-cta-box .cta-price {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

/* ========== CART ========== */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.cart-empty h2 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 8px;
}

.cart-empty p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.cart-item-emoji {
  font-size: 40px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blush) 0%, #F9E8EA 100%);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 14px;
  color: var(--muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  transition: color 0.2s;
}

.cart-item-remove:hover { color: #C62828; }

.cart-summary {
  position: sticky;
  top: 88px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.cart-summary h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 20px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
}

.cart-summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 12px;
  padding-top: 16px;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--plum);
}

.free-shipping-note {
  font-size: 12px;
  color: #2E7D32;
  text-align: center;
  margin-top: 12px;
  padding: 8px;
  background: #E8F5E9;
  border-radius: var(--radius-sm);
}

/* ========== CHECKOUT ========== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rose);
}

.form-group input::placeholder {
  color: #C4B0BC;
}

.form-error {
  font-size: 12px;
  color: #C62828;
  margin-top: 2px;
}

/* ========== ORDER CONFIRMATION ========== */
.order-confirmation {
  text-align: center;
  max-width: 600px;
  margin: 60px auto;
}

.order-confirmation .success-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.order-confirmation h1 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 12px;
}

.order-confirmation p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.order-details-box {
  margin: 32px 0;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: left;
}

.order-details-box h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 16px;
}

/* ========== FOOTER ========== */
.app-footer {
  margin-top: 80px;
  padding: 40px 24px;
  background: var(--dark);
  text-align: center;
}

.app-footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 8px;
}

.app-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.app-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.app-footer-links a:hover { color: rgba(255,255,255,0.8); }

.app-footer-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ========== LOADING ========== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: var(--muted);
  font-size: 16px;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 12px;
  border: 2px solid var(--blush);
  border-top: 2px solid var(--rose);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 24px;
  background: var(--plum);
  color: white;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }

  .page { padding: 24px 16px; }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .product-card-image { height: 140px; font-size: 48px; }
  .product-card-body { padding: 14px; }
  .product-card-name { font-size: 14px; }
  .product-card-desc { font-size: 12px; -webkit-line-clamp: 1; }
  .product-price { font-size: 16px; }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .sort-select { margin-left: 0; }

  .product-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== WALMART / SOURCE BADGES ========== */
.product-card {
  position: relative;
}

.product-source-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
}

.product-source-badge.walmart {
  background: #0071DC;
  box-shadow: 0 2px 8px rgba(0,113,220,0.3);
}

.product-source-badge.amazon {
  background: #FF9900;
  color: #111;
  box-shadow: 0 2px 8px rgba(255,153,0,0.3);
}

.retailer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
}

.walmart-badge {
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  color: #E65100;
}

.amazon-badge {
  background: #FFF8E1;
  border: 1px solid #FFD54F;
  color: #6D4C00;
}

.retailer-icon {
  font-size: 16px;
}

.retailer-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.walmart-link {
  color: #0071DC;
}

.walmart-link:hover {
  color: #004C91;
  text-decoration: underline;
}

.amazon-link {
  color: #FF9900;
}

.amazon-link:hover {
  color: #CC7A00;
  text-decoration: underline;
}
