/* Pic Wall — Photo Comparison Gallery Styles
   ======================================================== */

/* ── Variables ── */
:root {
  --pw-bg: #fafafa;
  --pw-card-bg: #fff;
  --pw-card-radius: 12px;
  --pw-card-shadow: 0 2px 8px rgba(0,0,0,0.06);
  --pw-card-hover-shadow: 0 8px 24px rgba(0,0,0,0.1);
  --pw-seller-accent: #2563eb;
  --pw-buyer-accent: #ea580c;
  --pw-text: #333;
  --pw-text-secondary: #666;
  --pw-text-muted: #999;
  --pw-border: #eee;
  --pw-gap: 20px;
  --pw-max-width: 1280px;
}

/* ── Layout ── */
.pw-container {
  max-width: var(--pw-max-width);
  margin: 0 auto;
  padding: 24px var(--pw-gap);
}

.pw-page-header {
  text-align: center;
  padding: 40px 0 32px;
}

.pw-page-header h1 {
  font-size: 2.2rem;
  color: var(--pw-text);
  margin-bottom: 8px;
}

.pw-page-header .pw-subtitle {
  font-size: 1rem;
  color: var(--pw-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.pw-page-header .pw-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--pw-text-secondary);
}

.pw-page-header .pw-stats strong {
  color: var(--pw-text);
}

/* ── Breadcrumb ── */
.pw-breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--pw-text-muted);
}

.pw-breadcrumb a {
  color: var(--pw-text-secondary);
  text-decoration: none;
}

.pw-breadcrumb a:hover {
  color: var(--pw-seller-accent);
}

/* ════════════════════════════════════════════════════════
   Homepage: Full-Width Layout
   ════════════════════════════════════════════════════════ */

.pw-homepage {
  min-height: 100vh;
}

.pw-home-hero--full {
  padding: 80px 20px 60px;
  margin-bottom: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e0e5ec 50%, #d5dbe3 100%);
}

.pw-home-hero--full h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
}

.pw-home-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pw-browse-btn--primary {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

.pw-browse-btn--primary:hover {
  box-shadow: 0 6px 20px rgba(234,88,12,0.4);
}

.pw-home-grid-section {
  padding: 48px 0 64px;
  background: var(--pw-bg);
}

.pw-section-title {
  text-align: center;
  font-size: 1.6rem;
  color: var(--pw-text);
  margin-bottom: 32px;
  font-weight: 700;
}

/* ── How It Works ── */
.pw-how-it-works {
  padding: 64px 0 80px;
  background: #fff;
}

.pw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pw-step {
  text-align: center;
  padding: 24px 20px;
}

.pw-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pw-step h3 {
  font-size: 1.1rem;
  color: var(--pw-text);
  margin: 0 0 8px;
}

.pw-step p {
  font-size: 0.9rem;
  color: var(--pw-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ════════════════════════════════════════════════════════
   Homepage: Category Cards Grid
   ════════════════════════════════════════════════════════ */

.pw-home-hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  border-radius: 16px;
  margin-bottom: 40px;
}

.pw-home-hero h1 {
  font-size: 2.6rem;
  color: var(--pw-text);
  margin-bottom: 12px;
}

.pw-home-hero .pw-home-tagline {
  font-size: 1.15rem;
  color: var(--pw-text-secondary);
  margin-bottom: 8px;
}

.pw-home-hero .pw-home-stats {
  font-size: 0.9rem;
  color: var(--pw-text-muted);
}

.pw-home-hero .pw-browse-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 28px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pw-home-hero .pw-browse-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.pw-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--pw-gap);
}

/* ── Category Card ── */
.pw-cat-card {
  background: var(--pw-card-bg);
  border-radius: var(--pw-card-radius);
  box-shadow: var(--pw-card-shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.pw-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pw-card-hover-shadow);
}

.pw-cat-card .pw-card-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 200px;
  overflow: hidden;
}

.pw-cat-card .pw-card-compare .pw-card-img {
  position: relative;
  overflow: hidden;
}

.pw-cat-card .pw-card-compare .pw-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.pw-cat-card:hover .pw-card-compare .pw-card-img img {
  transform: scale(1.05);
}

.pw-cat-card .pw-card-compare .pw-card-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.5px;
}

.pw-card-label.seller {
  background: var(--pw-seller-accent);
}

.pw-card-label.buyer {
  background: var(--pw-buyer-accent);
}

.pw-cat-card .pw-card-vs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  z-index: 2;
}

.pw-cat-card .pw-card-info {
  padding: 14px 16px;
}

.pw-cat-card .pw-card-info h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--pw-text);
}

.pw-cat-card .pw-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--pw-text-muted);
}

/* ════════════════════════════════════════════════════════
   Category Page: Hero Comparison
   ════════════════════════════════════════════════════════ */

.pw-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--pw-card-radius);
  overflow: hidden;
  box-shadow: var(--pw-card-shadow);
  margin-bottom: 40px;
  background: var(--pw-card-bg);
}

.pw-hero-side {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.pw-hero-side.seller {
  background: #f0f4ff;
  border-right: 1px solid var(--pw-border);
}

.pw-hero-side.buyer {
  background: #fff7f0;
}

.pw-hero-side .pw-hero-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.pw-hero-side.seller .pw-hero-label {
  color: var(--pw-seller-accent);
}

.pw-hero-side.buyer .pw-hero-label {
  color: var(--pw-buyer-accent);
}

.pw-hero-side .pw-hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.pw-hero-side .pw-hero-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pw-hero-side .pw-hero-images img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pw-hero-side .pw-hero-product {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.pw-hero-side .pw-hero-product h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}

.pw-hero-side .pw-hero-product .pw-hero-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pw-text);
}

.pw-hero-side .pw-hero-product .pw-hero-rating {
  font-size: 0.85rem;
  color: var(--pw-text-muted);
}

.pw-hero-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.pw-hero-vs span {
  background: rgba(0,0,0,0.06);
  color: var(--pw-text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ════════════════════════════════════════════════════════
   SEO Text Section
   ════════════════════════════════════════════════════════ */

.pw-seo-section {
  max-width: 780px;
  margin: 0 auto 48px;
  padding: 0 var(--pw-gap);
  line-height: 1.8;
  color: var(--pw-text-secondary);
}

.pw-seo-section h2 {
  font-size: 1.4rem;
  color: var(--pw-text);
  margin: 32px 0 12px;
}

.pw-seo-section h3 {
  font-size: 1.1rem;
  color: var(--pw-text);
  margin: 20px 0 8px;
}

/* ════════════════════════════════════════════════════════
   Subcategory Grid
   ════════════════════════════════════════════════════════ */

.pw-subcat-section {
  margin-bottom: 40px;
}

.pw-subcat-section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--pw-text);
}

.pw-subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.pw-subcat-card {
  display: block;
  background: var(--pw-card-bg);
  border: 1px solid var(--pw-border);
  border-radius: var(--pw-card-radius);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pw-subcat-card:hover {
  border-color: var(--pw-seller-accent);
  box-shadow: var(--pw-card-hover-shadow);
}

.pw-subcat-card .pw-subcat-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pw-text);
  margin-bottom: 4px;
}

.pw-subcat-card .pw-subcat-count {
  font-size: 0.8rem;
  color: var(--pw-text-muted);
}

/* ════════════════════════════════════════════════════════
   Photo Waterfall (Masonry)
   ════════════════════════════════════════════════════════ */

.pw-waterfall-section {
  margin-bottom: 48px;
}

.pw-waterfall-section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--pw-text);
}

.pw-waterfall {
  column-count: 3;
  column-gap: var(--pw-gap);
}

.pw-waterfall-item {
  break-inside: avoid;
  margin-bottom: var(--pw-gap);
  background: var(--pw-card-bg);
  border-radius: var(--pw-card-radius);
  box-shadow: var(--pw-card-shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pw-waterfall-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--pw-card-hover-shadow);
}

.pw-waterfall-item .pw-wf-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 160px;
  overflow: hidden;
}

.pw-waterfall-item .pw-wf-compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pw-waterfall-item .pw-wf-compare .pw-wf-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 3px;
  color: #fff;
}

.pw-waterfall-item .pw-wf-compare > div {
  position: relative;
  overflow: hidden;
}

.pw-waterfall-item .pw-wf-info {
  padding: 12px 14px;
}

.pw-waterfall-item .pw-wf-info h4 {
  font-size: 0.9rem;
  margin: 0 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pw-waterfall-item .pw-wf-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.pw-waterfall-item .pw-wf-price {
  font-weight: 700;
  color: var(--pw-text);
}

.pw-waterfall-item .pw-wf-rating {
  color: var(--pw-text-muted);
}

.pw-waterfall-item .pw-wf-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  padding: 8px;
  background: #f0f4ff;
  color: var(--pw-seller-accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s;
}

.pw-waterfall-item .pw-wf-link:hover {
  background: #dbe4ff;
}

/* ── "See more" button ── */
.pw-see-more-btn {
  display: block;
  margin-top: 10px;
  width: 100%;
  background: none;
  border: 1px solid var(--pw-border);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--pw-text-secondary);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.pw-see-more-btn:hover {
  color: var(--pw-seller-accent);
  border-color: var(--pw-seller-accent);
}

/* ── Product Detail Modal ── */
.pw-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pw-modal-overlay.active {
  display: flex;
}
.pw-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  max-height: 75vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
}
.pw-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px 12px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.pw-modal-header h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  padding-right: 12px;
}
.pw-modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: background 0.2s;
}
.pw-modal-close:hover {
  background: #e0e0e0;
}
.pw-modal-body {
  padding: 0 24px 24px;
}
.pw-modal-section {
  margin-bottom: 16px;
}
.pw-modal-section:last-child {
  margin-bottom: 0;
}
.pw-modal-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pw-text-muted);
  margin-bottom: 8px;
}
.pw-modal-ratings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pw-modal-rating-item {
  text-align: center;
  padding: 12px 8px;
  border-radius: 8px;
  background: #f8f9fa;
}
.pw-modal-rating-item .pw-mr-count {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}
.pw-modal-rating-item .pw-mr-label {
  font-size: 0.7rem;
  color: var(--pw-text-muted);
  margin-top: 2px;
}
.pw-modal-rating-item.positive .pw-mr-count { color: #22c55e; }
.pw-modal-rating-item.neutral  .pw-mr-count { color: #f59e0b; }
.pw-modal-rating-item.negative .pw-mr-count { color: #ef4444; }
.pw-modal-date {
  font-size: 0.9rem;
  color: var(--pw-text-secondary);
  line-height: 1.6;
}
.pw-modal-date strong {
  color: var(--pw-text);
}
.pw-modal-summary {
  font-size: 0.88rem;
  color: var(--pw-text-secondary);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .pw-modal {
    max-height: 85vh;
    border-radius: 12px 12px 0 0;
    margin-top: auto;
    max-width: 100%;
  }
  .pw-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .pw-modal-ratings {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}

/* ════════════════════════════════════════════════════════
   Product Detail: Seller vs Buyer (Phase 4)
   ════════════════════════════════════════════════════════ */

.pw-model-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--pw-card-radius);
  overflow: hidden;
  box-shadow: var(--pw-card-shadow);
  margin-bottom: 32px;
  background: var(--pw-card-bg);
}

.pw-model-compare .pw-mc-side {
  padding: 20px;
}

.pw-model-compare .pw-mc-side.seller {
  background: #f0f4ff;
}

.pw-model-compare .pw-mc-side.buyer {
  background: #fff7f0;
}

.pw-model-compare .pw-mc-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.pw-mc-label.seller { color: var(--pw-seller-accent); }
.pw-mc-label.buyer { color: var(--pw-buyer-accent); }

.pw-model-compare .pw-mc-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.pw-model-compare .pw-mc-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}

.pw-model-compare .pw-mc-videos {
  margin-top: 12px;
  font-size: 0.85rem;
}

.pw-model-compare .pw-mc-videos a {
  color: var(--pw-seller-accent);
  text-decoration: none;
  font-weight: 600;
}

.pw-mc-videos-label {
  display: block;
  font-weight: 700;
  color: var(--pw-text);
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.pw-mc-video-link {
  display: block;
  padding: 4px 0;
  font-size: 0.82rem;
  color: var(--pw-seller-accent);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pw-mc-video-link:hover {
  text-decoration: underline;
}

.pw-model-compare .pw-mc-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.pw-model-compare .pw-mc-img-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
}

.pw-model-compare .pw-mc-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--pw-text-muted);
  font-size: 0.9rem;
}

.pw-model-compare .pw-mc-summary {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--pw-text-muted);
}

/* ════════════════════════════════════════════════════════
   Related Links (Cross-linking)
   ════════════════════════════════════════════════════════ */

.pw-related-links {
  padding: 32px 0;
  border-top: 1px solid var(--pw-border);
  margin-top: 16px;
}

.pw-related-links h3 {
  font-size: 1.1rem;
  margin: 0 0 16px;
  color: var(--pw-text);
}

.pw-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.pw-related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--pw-card-bg);
  border: 1px solid var(--pw-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--pw-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pw-related-card:hover {
  border-color: var(--pw-seller-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pw-related-card strong {
  font-size: 0.95rem;
  color: var(--pw-seller-accent);
}

.pw-related-card span {
  font-size: 0.82rem;
  color: var(--pw-text-muted);
}

/* ════════════════════════════════════════════════════════
   Lightbox
   ════════════════════════════════════════════════════════ */

.pw-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pw-lightbox.active {
  display: flex;
}

.pw-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.pw-lightbox .pw-lb-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pw-lightbox .pw-lb-close:hover {
  background: rgba(255,255,255,0.3);
}

.pw-lightbox .pw-lb-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* ════════════════════════════════════════════════════════
   Buyer Photo Tags
   ════════════════════════════════════════════════════════ */

.pw-buyer-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.pw-buyer-tag.positive { background: #22c55e; }
.pw-buyer-tag.neutral  { background: #f59e0b; }
.pw-buyer-tag.negative { background: #ef4444; }

/* ════════════════════════════════════════════════════════
   Skeleton Loading
   ════════════════════════════════════════════════════════ */

.pw-skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: pw-shimmer 1.5s infinite;
}

@keyframes pw-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .pw-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pw-cat-card .pw-card-compare {
    height: 140px;
  }

  .pw-hero {
    grid-template-columns: 1fr;
  }

  .pw-hero-side.seller {
    border-right: none;
    border-bottom: 1px solid var(--pw-border);
  }

  .pw-waterfall {
    column-count: 2;
    column-gap: 12px;
  }

  .pw-model-compare {
    grid-template-columns: 1fr;
  }

  .pw-home-hero h1 {
    font-size: 1.8rem;
  }

  .pw-home-hero--full h1 {
    font-size: 2rem;
  }

  .pw-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pw-section-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .pw-cat-grid {
    grid-template-columns: 1fr;
  }

  .pw-waterfall {
    column-count: 1;
  }

  .pw-subcat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pw-hero-side .pw-hero-images {
    grid-template-columns: 1fr;
  }

  .pw-page-header h1 {
    font-size: 1.5rem;
  }
}
