/* ==========================================================================
   PODEUM COMPONENTS — TRUST-FIRST MARKETPLACE UI SYSTEM
   ========================================================================== */

/* 1. Trust Hero & Verification Architecture */
.trust-hero-section {
  margin-bottom: 2.5rem;
}

.trust-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .trust-hero-banner {
    padding: 3.5rem 2.75rem;
  }
}

.trust-hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.trust-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .trust-hero-title {
    font-size: 2.6rem;
  }
}

.trust-hero-subtitle {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.55;
}

/* Universal Verification Search Card */
.trust-search-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  color: var(--text-primary);
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .trust-search-card {
    padding: 1.5rem;
  }
}

.trust-tab-nav {
  display: flex;
  background: var(--bg-subtle);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
  gap: 0.25rem;
}

.trust-tab-btn {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.trust-tab-btn.active {
  background: #ffffff;
  color: var(--primary-700);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.trust-search-form {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.trust-search-input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-family-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-search-input:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px var(--primary-focus-ring);
}

.sample-chips-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.sample-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sample-chip:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-200);
}

/* Official Verification Verdict Card */
.verdict-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.verdict-card.show {
  display: block;
}

.verdict-clear {
  background: var(--success-50);
  border: 1px solid var(--success-border);
}

.verdict-stolen {
  background: var(--danger-50);
  border: 1px solid var(--danger-border);
}

.verdict-pending {
  background: var(--warning-50);
  border: 1px solid var(--warning-border);
}

.whatsapp-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

/* 2. Trust Pillars Grid */
.trust-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .trust-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  padding: 1.4rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* 3. Marketplace Listing Grid & Product Cards */
.marketplace-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.marketplace-search-form {
  display: flex;
  gap: 0.45rem;
  min-width: 240px;
  flex: 1;
  max-width: 420px;
}

.marketplace-search-form .form-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
}

.marketplace-advanced-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.85rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .marketplace-advanced-filters {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
  }
}

.marketplace-filter-field {
  margin-bottom: 0;
}

.marketplace-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .marketplace-filter-actions {
    grid-column: auto;
  }
}

.marketplace-results-meta {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  min-height: 1.2em;
}

.marketplace-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.marketplace-page-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.category-pills {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.category-pill {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.category-pill:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.category-pill.active {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .listing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .listing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
  }
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-thumb-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-subtle);
  position: relative;
  margin-bottom: 0.75rem;
}

.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-thumb-img {
  transform: scale(1.03);
}

.product-badge-stack {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.product-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* 4. Live Timed Auctions Grid & Cards */
.auctions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .auctions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.auction-card {
  background: var(--bg-surface);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.auction-card:hover {
  border-color: #f97316;
  box-shadow: var(--shadow-md);
}

.auction-timer {
  font-family: var(--font-family-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--warning-700);
  background: var(--warning-50);
  border: 1px solid var(--warning-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.grade-badge {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.grade-a { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.grade-b { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.grade-c { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.grade-d { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

/* 5. Scrap Salvage Harvest Hub */
.scrap-workstation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .scrap-workstation-grid {
    grid-template-columns: 3fr 2fr;
    align-items: flex-start;
  }
}

.demand-ticker {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.demand-pulsar {
  width: 9px;
  height: 9px;
  background: #f59e0b;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

.harvest-pool-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.harvest-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* 6. Escrow Order Timeline Stepper */
.escrow-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.75rem 0;
  position: relative;
}

.escrow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.escrow-step.active .step-circle {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-focus-ring);
}

.escrow-step.completed .step-circle {
  background: var(--success-600);
  border-color: var(--success-600);
  color: #ffffff;
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.escrow-step.active .step-label {
  color: var(--primary-700);
  font-weight: 700;
}

/* 7. Insurance Tier Cards Grid */
.insurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .insurance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.insurance-card {
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.insurance-card.featured {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-md);
}

/* 8. In-App Messenger Bubbles */
.chat-window {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 440px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}

.chat-bubble {
  max-width: 75%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.45;
}

.bubble-inbound {
  align-self: flex-start;
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  border-bottom-left-radius: 2px;
}

.bubble-outbound {
  align-self: flex-end;
  background: var(--primary-600);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

/* Home discovery strip + shop segments (Phase 3 IA) */
.home-discovery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .home-discovery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-discovery-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  padding: 0.85rem 1rem;
  min-height: 64px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.home-discovery-card:hover,
.home-discovery-card:focus-visible {
  border-color: var(--primary-600);
  background: var(--primary-50);
  outline: none;
}

.home-discovery-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.home-discovery-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Phase 5 — Home search, categories, featured rails */
.home-shop-panel {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.home-search-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.home-search-input {
  flex: 1;
  min-width: 0;
}

.home-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-category-chip {
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle, #f8fafc);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  min-height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.home-category-chip:hover,
.home-category-chip:focus-visible {
  border-color: var(--primary-600);
  color: var(--primary-700);
  background: var(--primary-50);
  outline: none;
}

.home-listings-section {
  margin-bottom: 1.75rem;
}

.home-listings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.home-listings-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.home-listings-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 70%);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-listings-rail .product-card,
.home-listings-rail .ui-skeleton-card,
.home-listings-rail .empty-state {
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .home-listings-rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }
}

.product-thumb-placeholder {
  background: var(--bg-subtle);
  width: 100%;
  aspect-ratio: 4/3;
}

.seller-dashboard-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .seller-dashboard-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.seller-stat {
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
}

.seller-stat--wide {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .seller-stat--wide {
    grid-column: auto;
  }
}

.seller-stat-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.seller-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.15rem;
}

.seller-listings-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seller-listing-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  padding: 0.85rem;
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.seller-listing-thumb {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-subtle);
}

.seller-listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-listing-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.seller-listing-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.seller-listing-meta {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0.35rem 0 0.65rem;
  font-size: 0.8rem;
}

.seller-listing-price {
  font-weight: 800;
  color: var(--text-primary);
}

.seller-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.shop-segments {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.shop-segment {
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  min-height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.shop-segment.active,
.shop-segment:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--primary-700);
}

/* Phase 8 — payment interruption / orders */
.payment-recovery-card {
  background: var(--warning-50, #fffbeb);
}

.payment-status-panel {
  min-height: 4rem;
}

.orders-list .order-card {
  border: 1px solid var(--border-subtle);
}

/* Phase 9 — orders tabs, chat, notifications */
.segmented-control {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.segmented-btn {
  border: none;
  background: transparent;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.segmented-btn.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.06));
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 14rem) 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

@media (max-width: 720px) {
  .chat-layout {
    grid-template-columns: 1fr;
  }
}

.chat-thread-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
}

.chat-thread-item.active,
.chat-thread-item:hover {
  background: var(--primary-50);
}

.notif-unread {
  border-color: var(--primary-200);
  background: var(--primary-50);
}

.icon-btn .unread-dot[hidden] {
  display: none;
}

/* Phase 11 — PDP two-column + visual QA */
.drawer-sheet--pdp {
  max-width: 920px;
}

.pdp-title {
  font-size: 1.2rem;
  margin-top: 0.35rem;
  line-height: 1.3;
}

.pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.pdp-media-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

.pdp-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.pdp-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pdp-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pdp-price-meta {
  margin-top: 0.35rem;
}

.pdp-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.pdp-protection {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary-600);
}

.pdp-protection h4,
.pdp-details h4 {
  font-size: 0.85rem;
  margin: 0 0 0.45rem;
  color: var(--primary-800);
}

.pdp-details h4 {
  color: var(--text-primary);
}

.pdp-protection ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pdp-details {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.pdp-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.pdp-detail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8rem;
}

.pdp-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.pdp-detail code {
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
}

.pdp-seller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
}

.pdp-seller-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.pdp-seller-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pdp-actions {
  display: flex;
  gap: 0.65rem;
  position: sticky;
  bottom: 0;
  padding-top: 0.85rem;
  margin-top: 0.25rem;
  background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0));
}

.pdp-actions .btn-secondary {
  flex: 1;
}

.pdp-actions .btn-primary {
  flex: 2;
}

@media (min-width: 768px) {
  .pdp-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .pdp-media-frame {
    aspect-ratio: 1 / 1;
    position: sticky;
    top: 0;
  }

  .pdp-details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pdp-title {
    font-size: 1.35rem;
  }
}

.auth-trust-strip {
  display: flex;
  justify-content: space-around;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.auth-required-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}
