@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #F9F8F5;
    --bg-secondary: #F0EFE9;
    --text-primary: #1A1A1B;
    --text-secondary: #5C5C5C;
    --text-muted: #8A8A8A;
    --accent: #1A1A1B;
    --accent-dark: #4A4A4A;
    --border-light: #E0DED8;
    --border-dark: #C0BDB6;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --image-bg: #FFFFFF;
    --card-bg: var(--bg-primary);
    --modal-bg: var(--bg-primary);
    --transition-weighted: cubic-bezier(0.25, 1, 0.5, 1);
    /* Status/feedback backgrounds */
    --status-active-bg: #e8f5e9;
    --status-active-text: #2e7d32;
    --status-discontinued-bg: #fafafa;
    --feedback-positive-bg: #e8f5e9;
    --feedback-positive-text: #2e7d32;
    --feedback-negative-bg: #fff3e0;
    --feedback-negative-text: #e65100;
    /* Card backgrounds */
    --who-card-bg: #F5F5F3;
    --who-card-border: #E5E5E3;
}

[data-theme="dark"] {
    --bg-primary: #141413;
    --bg-secondary: #1E1D1B;
    --text-primary: #E8E6E3;
    --text-secondary: #A0A0A0;
    --text-muted: #707070;
    --accent: #E8E6E3;
    --accent-dark: #B8B8B8;
    --border-light: #2A2A28;
    --border-dark: #404040;
    --image-bg: #FEFEFE;
    --card-bg: #1A1A19;
    --modal-bg: #1E1D1B;
    /* Status/feedback backgrounds - dark mode */
    --status-active-bg: #1a3a1f;
    --status-active-text: #4caf50;
    --status-discontinued-bg: #2a2a28;
    --feedback-positive-bg: #1a3a1f;
    --feedback-positive-text: #4caf50;
    --feedback-negative-bg: #3d2918;
    --feedback-negative-text: #ff9800;
    /* Card backgrounds - dark mode */
    --who-card-bg: #1E1D1B;
    --who-card-border: #2A2A28;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
}

p, td, th, li, span, div {
    max-width: 100%;
    word-break: break-word;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Minimal Navbar */
.navbar {
    padding: 24px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
    background: transparent;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.navbar-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.navbar-nav a:hover {
    color: var(--text-primary);
}

.navbar-nav a.active {
    font-weight: 700;
    color: var(--text-primary);
}

.nav-dropdown-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

@media (max-width: 600px) {
    .navbar {
        padding: 16px 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-nav {
        gap: 16px;
    }

    .navbar-nav a {
        font-size: 0.75rem;
    }
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Page Header */
.page-header {
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Hero Section - Editorial Style */
.hero-section {
    padding: 64px 0 48px;
    margin-bottom: 0;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 400;
    margin: 0;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.5;
    margin: 16px 0 0;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 16px 0 0;
    max-width: 520px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.4s var(--transition-weighted);
    border-radius: 0;
}

.hero-btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
}

.hero-btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
}

.hero-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-dark);
}

.hero-btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 48px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-top: 12px;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
        margin-top: 12px;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

/* Filter Toggle Button */
.filter-toggle-btn {
    display: flex;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s var(--transition-weighted);
}

.filter-toggle-btn:hover {
    background: var(--border-light);
}

.filter-toggle-icon {
    font-size: 1.1rem;
}

.filter-toggle-count {
    display: none;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

/* Minimal Filters */
.filters {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.4s var(--transition-weighted);
}

/* Filter collapse state - works on all screen sizes */
.filters.filters-collapsed {
    display: none;
}

.filters .search-input {
    flex: 1;
    min-width: 180px;
    max-width: 350px;
}

.filters input[type="text"],
.filters select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.filters input[type="text"]:focus,
.filters select:focus {
    outline: none;
    border-color: var(--accent);
}

.filters label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.filter-group {
    min-width: 140px;
}

.filters .btn {
    padding: 10px 20px;
    border: 1px solid var(--text-primary);
    background: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.4s var(--transition-weighted);
    height: 38px;
}

.filters .btn:hover {
    background: transparent;
    color: var(--text-primary);
}

.filters .btn-clear {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-dark);
}

.filters .btn-clear:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* Pedal Gallery Grid */
.pedal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.pedal-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s var(--transition-weighted);
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
}

.pedal-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.pedal-card-image {
    height: 220px;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--image-bg);
    border-radius: 8px;
}

.pedal-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

.pedal-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

.pedal-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.05em;
}

.pedal-card-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-dark);
    margin-bottom: 4px;
}

.pedal-card-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: auto;
    margin-bottom: 8px;
    line-height: 1.3;
}

.pedal-card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.pedal-card-content-left {
    flex: 1;
    min-width: 0;
}

.pedal-card-header {
    display: block;
    margin-bottom: 4px;
}

.pedal-card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.pedal-card-type {
    padding: 4px 10px;
    background: var(--bg-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pedal-card-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pedal-card-prices {
    display: flex;
    gap: 6px;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.price-line {
    display: flex;
    gap: 6px;
    align-items: center;
}

.price-tag-small {
    background: var(--accent);
    color: var(--bg-primary);
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 3px;
    height: 22px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-drop-badge {
    background: #7ab892;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 3px;
    white-space: nowrap;
    height: 22px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Deal-specific styles */
.pedal-card-prices .price-drop-badge {
    display: inline-flex;
    align-items: center;
}

/* Badge Icons */
.badge-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Record Low Icon - Trophy */
.badge-icon.record-low {
    color: currentColor;
}

/* Major Deal Icon - Down arrow */
.badge-icon.major-deal {
    color: currentColor;
}

.deal-price-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.deal-price-row {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}

.deal-info {
    display: flex;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.deal-savings {
    color: #7ab892;
    font-weight: 500;
}

.deal-avg-price {
    text-decoration: line-through;
}

.deals-cta {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.region-flag {
    font-size: 1.2rem;
    margin-right: 6px;
    line-height: 1;
}

/* Currency Toggle */
.currency-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.currency-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.4s var(--transition-weighted);
}

.currency-btn:hover {
    border-color: var(--accent);
}

.currency-btn.active {
    background: transparent;
    border-color: #555555;
    color: #555555;
    font-weight: 600;
}

/* Legend */
.tier-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: help;
}

.legend-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.price-drop-badge.significant-drop {
    background: #5fa074;
    color: white;
    font-weight: 700;
    padding: 4px 7px;
}

.tier-legend-label {
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-legend-label.drop-color {
    color: #7ab892;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.tier-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    color: var(--text-secondary);
}

.tier-legend-text {
    color: var(--text-muted);
}

.tier-legend-p {
    margin-bottom: 20px;
    font-style: italic;
}

/* Custom Tooltips */
.tier-value[title],
.price-tag-small[title] {
    position: relative;
    cursor: help;
}

.tier-value[title]:hover::after,
.price-tag-small[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333333;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 100;
    margin-bottom: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tier-value[title]:hover::before,
.price-tag-small[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333333;
    margin-bottom: -4px;
    z-index: 100;
}

/* Price Drop Badge Major */
.price-drop-badge.major {
    background: #5fa074;
    font-weight: 700;
}

/* Section Title */
.section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Detail Page */
.pedal-detail-header {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.pedal-detail-brand {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-dark);
    margin-bottom: 8px;
}

.pedal-detail-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 16px;
}

.pedal-detail-meta {
    display: flex;
    gap: 32px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.pedal-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pedal-detail-meta a {
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-dark);
}

.pedal-detail-meta a:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.pedal-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 100%;
}

@media (max-width: 900px) {
    .pedal-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 600px) {
    html {
        overflow-x: hidden;
    }

    .pedal-detail-title {
        font-size: 2rem;
        word-break: break-word;
        line-height: 1.2;
    }

    .pedal-detail-meta {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .pedal-detail-meta span {
        word-break: break-word;
    }

    .detail-section h3 {
        font-size: 0.7rem;
    }

    .detail-section p {
        font-size: 0.95rem;
        max-width: 100%;
        word-break: break-word;
    }

    .specs-table {
        display: block !important;
        max-width: 100%;
        width: 100%;
    }

    .specs-table tbody,
    .specs-table tr,
    .specs-table th,
    .specs-table td {
        display: block !important;
        width: 100%;
    }

    .specs-table tr {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .specs-table th {
        padding: 4px 0 8px 0;
        font-size: 0.7rem;
    }

    .specs-table td {
        padding: 0 0 4px 0;
        font-size: 0.9rem;
        word-break: break-all;
    }

    .specs-table th {
        word-break: break-word;
    }

    .links-list a {
        word-break: break-all;
    }

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

    .pedal-detail-header {
        margin-bottom: 40px;
        padding-bottom: 24px;
    }

    main {
        padding: 40px 0;
    }

    .famous-users {
        word-break: break-word;
    }

    .variants-list li {
        word-break: break-word;
    }

    .filters .search-input {
        min-width: 100%;
        max-width: 100%;
    }

    .filter-group {
        min-width: 100%;
    }

    .filters {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .filters .btn {
        width: 100%;
    }

    /* Show filters expanded by default only when filters are active */
    .filters:not(.filters-collapsed) {
        display: flex;
    }

    .detail-section,
    .pedal-detail-image,
    .pedal-detail-grid > div {
        max-width: 100%;
        overflow-x: hidden;
    }
}

.pedal-detail-image {
    margin-bottom: 24px;
    background: var(--image-bg);
    padding: 16px;
    max-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pedal-detail-image img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Detail Sections */
.detail-section {
    margin-bottom: 48px;
}

.detail-section h3 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.detail-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    max-width: 65ch;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-light);
}

.specs-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
    text-align: left;
    padding: 12px 0;
    width: 40%;
}

.specs-table td {
    font-size: 0.9rem;
    padding: 12px 0;
    color: var(--text-primary);
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-secondary);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Links */
.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.links-list li:last-child {
    border-bottom: none;
}

.links-list a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.links-list a i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}

.links-list a:hover {
    color: var(--accent-dark);
}

.links-list .price-tag {
    margin-left: auto;
    background: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.links-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-summary-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #666;
    font-size: 0.9rem;
}

.price-summary-row .price-flag {
    font-size: 1.1rem;
}

.price-summary-row .price-avg {
    font-weight: 500;
}

.price-summary-row .price-lowest {
    color: #888;
}

/* Theme Toggle */
.theme-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.4s var(--transition-weighted);
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

/* Footer */
footer {
    padding: 20px 0 40px 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer .disclaimer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

footer .disclaimer-link a {
    color: var(--text-muted);
    text-decoration: underline;
    font-size: 0.75rem;
}

footer .disclaimer-link a:hover {
    color: var(--text-secondary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 0;
}

.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-secondary);
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

/* Classification styling */
.classification-path {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.classification-path strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Price styling */
.price-range {
    font-size: 1.1rem;
}

/* Variants */
.variants-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.variants-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.variants-list li:first-child {
    padding-top: 0;
}

/* Famous Users */
.famous-users {
    font-style: italic;
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-primary);
    padding: 40px;
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-dark);
}

.modal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.modal-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.modal-content ol {
    padding-left: 20px;
    margin: 0;
}

.modal-content li {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modal-content li strong {
    color: var(--text-primary);
}

.modal-content li:last-child {
    margin-bottom: 0;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Breadcrumb navigation */
.breadcrumb-nav {
    margin: 0.5rem 0 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    font-family: var(--font-sans);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.breadcrumb-item a:hover {
    color: var(--accent-dark);
    background: var(--bg-secondary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
    margin-right: 0.25rem;
    font-size: 1rem;
    line-height: 1;
}

/* Enhanced famous users */
.famous-users-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.artist-tag {
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

/* Context tags - minimal style */
.context-tags-section {
    margin-top: 1rem;
}

.context-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.context-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid var(--border-light);
}

.comparable-pedals {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.comparable-pedals strong {
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.comparable-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
}

.comparable-link:hover {
    color: var(--accent-dark);
    border-bottom-style: solid;
}

.comparable-text {
    color: var(--text-secondary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0 2rem;
    font-family: var(--font-sans);
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s var(--transition-weighted);
    font-size: 0.9rem;
}

.pagination a:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent);
    color: var(--accent-dark);
}

.pagination-current {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* No image placeholder */
.pedal-card-no-image {
    width: 249px;
    height: 178px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #E8E8E6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.pedal-card-no-image-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.pedal-card-no-image-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Media List */
.media-list {
    display: flex;
    flex-direction: column;
}

.media-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    transition: background 0.2s ease;
}

.media-item:first-child {
    padding-top: 0;
}

.media-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.media-item:hover {
    background: var(--bg-secondary);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.media-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.media-item:hover .media-icon {
    color: var(--text-secondary);
}

.media-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.media-primary {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.media-secondary {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.media-section-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* YouTube Button */
.yt-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #000;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
}

.yt-button:hover {
    background: #333;
    color: #fff;
}

.yt-button i:first-child {
    font-size: 1.25rem;
}

.yt-button i:last-child {
    margin-left: auto;
}

/* Link List (NYT style) */
.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    font-size: 0.95rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}

.link-list a:hover {
    border-bottom-color: var(--accent);
}

.link-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* ==========================================================================
   PEDAL DETAIL PAGE - REDESIGN
   ========================================================================== */

/* Hero Section - Full Width Layout */
.pedal-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 0 56px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.pedal-hero-image {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    min-height: 400px;
    max-height: 600px;
    margin-bottom: 40px;
}

.pedal-hero-image img {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.pedal-hero-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    max-width: 800px;
}

.pedal-hero-meta-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pedal-brand-link {
    color: var(--accent-dark);
    font-weight: 600;
}

.pedal-brand-link:hover {
    color: var(--text-primary);
}

.meta-separator {
    width: 4px;
    height: 4px;
    background: var(--border-dark);
    border-radius: 50%;
}

.pedal-type-link {
    color: var(--text-secondary);
    font-weight: 500;
}

.pedal-type-link:hover {
    color: var(--text-primary);
}

.pedal-hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 8px 0;
}

.pedal-hero-meta-secondary {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.meta-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}



.status-badge {
    display: inline-flex;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 3px;
}

.status-active {
    background: var(--status-active-bg);
    color: var(--status-active-text);
}

.status-discontinued {
    background: var(--status-discontinued-bg);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

.pedal-hero-actions {
    margin-top: 16px;
}

.btn-edit {
    display: inline-flex;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-dark);
    background: transparent;
    text-decoration: none;
    transition: all 0.4s var(--transition-weighted);
}

.btn-edit:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* Sonic Character Section */
.sonic-character-section {
    margin-bottom: 56px;
}

.sonic-quote {
    position: relative;
    margin: 0;
    padding: 32px 40px;
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent);
}

.sonic-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.sonic-quote p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

/* Main Content Grid */
.pedal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    margin-bottom: 64px;
}

.pedal-content-left,
.pedal-content-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Content Sections */
.content-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-light);
}

.content-section:first-child {
    padding-top: 0;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section-full {
    padding: 48px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: none;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin: 0 0 20px 0;
}

.title-note {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

/* Classification Grid */
.classification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}

.classification-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.classification-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.classification-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Feel & Context Tags */
.feel-tags,
.context-tags-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.feel-label,
.context-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    flex-shrink: 0;
    padding-top: 4px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feel-tag,
.context-tag {
    padding: 4px 10px;
    font-size: 0.8rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 3px;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    gap: 16px;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.spec-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    text-align: right;
}

/* Variants List */
.variants-list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

.variants-list-clean li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.variants-list-clean li:last-child {
    border-bottom: none;
}

/* Buy Section */
.buy-section {
    background: var(--bg-secondary);
    padding: 24px !important;
    margin: 0 -24px;
    width: calc(100% + 48px);
    border: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light) !important;
}

.retailer-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.retailer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all 0.4s var(--transition-weighted);
}

.retailer-card:hover {
    border-color: var(--accent);
}

.retailer-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.retailer-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.retailer-region {
    font-size: 1rem;
}

.retailer-card.lowest {
    border-color: var(--accent);
    border-width: 2px;
}

.retailer-card.lowest .retailer-price {
    color: var(--accent-dark);
    font-weight: 700;
}

.retailer-group-header {
    font-size: 1.5rem;
    margin: 16px 0 8px;
    text-align: center;
    color: inherit;
}

.price-update-note {
    font-size: 0.7rem;
    font-weight: normal;
    color: var(--text-muted);
    margin-left: 8px;
}

.retailer-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.retailer-cta {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.retailer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-indicator {
    font-size: 0.6rem;
    line-height: 1;
    cursor: help;
}

.stock-indicator.in-stock {
    color: var(--text-primary);
}

.stock-indicator.out-of-stock {
    color: #ef4444;
}

.stock-indicator.backordered {
    color: #f59e0b;
}

.stock-indicator.unknown {
    color: var(--text-muted);
    opacity: 0.5;
}

.stock-percentage-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    cursor: help;
}

/* Price Trends */
.price-trends {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-trend-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.price-region {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.price-data {
    display: flex;
    gap: 20px;
}

.price-avg,
.price-low {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 4px;
}

/* Price Estimates */
.price-estimates {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.price-estimate-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.price-estimate-row:last-child {
    border-bottom: none;
}

.estimate-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.estimate-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Price Chart */
.price-chart-controls {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
}

.price-currency-btn {
    padding: 6px 16px;
    border: 1px solid var(--border-dark);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s var(--transition-weighted);
}

.price-currency-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent);
}

.price-currency-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.price-chart-container {
    margin-bottom: 24px;
}

.price-chart-svg-wrapper {
    position: relative;
    height: 280px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    padding: 20px;
    overflow: hidden;
}

.price-chart-svg-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
}

.chart-tooltip {
    position: absolute;
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    min-width: 120px;
}

.chart-tooltip .tooltip-date {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.chart-tooltip .tooltip-values {
    color: var(--text-secondary);
}

.chart-tooltip .tooltip-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.chart-tooltip .tooltip-currency {
    color: var(--text-muted);
    font-size: 11px;
}

.chart-tooltip .tooltip-amount {
    font-weight: 600;
    color: var(--text-primary);
}
}

/* Feedback Grid */
.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feedback-column {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.feedback-positive {
    border-left: 3px solid #4caf50;
}

.feedback-negative {
    border-left: 3px solid #ff9800;
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.feedback-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
}

.feedback-positive .feedback-icon {
    background: var(--feedback-positive-bg);
    color: var(--feedback-positive-text);
}

.feedback-negative .feedback-icon {
    background: var(--feedback-negative-bg);
    color: var(--feedback-negative-text);
}

.feedback-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.feedback-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feedback-list li {
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 6px 0;
    line-height: 1.4;
}

/* Artists Grid */
.artists-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.artist-chip {
    padding: 6px 14px;
    font-size: 0.85rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

/* Artists Section */
.artists-section {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

/* Price Alert Section */
.price-alert-section {
    border-top: 1px solid var(--border-light);
    margin-top: 24px;
    padding-top: 20px;
}

/* Artists List - Multi-column bullet list */
.artists-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.artist-item {
    position: relative;
    padding-left: 16px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.artist-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 12px;
}

.video-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all 0.4s var(--transition-weighted);
}

.video-card:hover {
    border-color: #ff0000;
    background: #fef9f9;
}

.video-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff0000;
    color: white;
    font-size: 1.1rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.video-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.video-channel {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.video-title {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.video-card:hover .video-arrow {
    color: #ff0000;
}

/* Embedded YouTube Videos */
.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all 0.4s var(--transition-weighted);
}

.link-card:hover {
    border-color: var(--accent);
}

.link-card-official {
    background: var(--bg-secondary);
}

.link-card-manual {
    background: var(--bg-secondary);
    border-left: 3px solid #3b82f6;
}

.link-card-manual:hover {
    border-left-color: #2563eb;
    background: var(--bg-secondary);
}

.link-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.link-card:hover .link-icon {
    color: var(--text-secondary);
}

.link-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.link-primary {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.link-secondary {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Report Section */
.report-section {
    padding: 48px 0 0;
    text-align: center;
}

.report-toggle {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.report-toggle:hover {
    color: var(--text-secondary);
}

.report-header {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 12px;
    text-align: left;
}

.report-form-wrapper {
    max-width: 480px;
    margin: 24px auto 0;
    display: none;
}

.report-form-wrapper.report-form-visible {
    display: block;
}

.report-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    align-self: flex-start;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.4s var(--transition-weighted);
}

.form-submit:hover {
    background: transparent;
    color: var(--text-primary);
}

.report-message {
    display: none;
    padding: 12px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 12px;
}

.report-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.report-error {
    background: #ffebee;
    color: #c62828;
}

/* ==========================================================================
   PEDAL DETAIL - RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .pedal-hero-image {
        max-width: 600px;
    }

    .pedal-hero-title {
        font-size: 2.8rem;
    }

    .pedal-content-grid {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .pedal-hero {
        gap: 32px;
    }

    .pedal-hero-image {
        max-width: 500px;
        margin-bottom: 32px;
    }

    .pedal-hero-meta-primary,
    .pedal-hero-meta-secondary {
        justify-content: center;
    }

    .pedal-hero-actions {
        display: flex;
        justify-content: center;
    }

    .pedal-content-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pedal-content-right {
        order: -1;
    }

    .buy-section {
        margin: 0;
        width: 100%;
    }

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

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

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

@media (max-width: 600px) {
    .pedal-hero {
        padding: 32px 0 40px;
    }

    .pedal-hero-image {
        max-width: 100%;
        aspect-ratio: 1;
        margin-bottom: 24px;
    }

    .pedal-hero-title {
        font-size: 2rem;
        word-break: break-word;
    }

    .pedal-hero-meta-secondary {
        flex-direction: column;
        gap: 8px;
    }

    .meta-item::after {
        display: none;
    }

    .sonic-quote {
        padding: 24px;
    }

    .sonic-quote p {
        font-size: 1.1rem;
    }

    .classification-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .content-section {
        padding: 24px 0;
    }

    .section-title {
        margin-bottom: 16px;
    }

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

    .video-card {
        padding: 14px 16px;
    }
}

.about-section {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.about-section h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-section p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-page h1 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.about-page h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-page p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-page ul {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 20px;
}

.about-page li {
    margin-bottom: 12px;
}

.about-page li strong {
    color: var(--text-primary);
}

.terms-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px;
}

.terms-page h1 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.terms-page ol {
    padding-left: 20px;
    margin: 0;
}

.terms-page li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.terms-page li strong {
    color: var(--text-primary);
}

.privacy-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-page h1 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.privacy-page h2 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.privacy-page p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.privacy-page ul {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 20px;
}

.privacy-page li {
    margin-bottom: 8px;
    font-size: 1rem;
}

.privacy-page a {
    color: var(--accent-dark);
    text-decoration: underline;
}

footer .affiliate-disclosure {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}


/* ========================================
   JUST ADDED - MINIMAL SECTION (at bottom before footer)
   ======================================== */

.additions-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0.5rem 0 0 0;
}

/* Utility classes */
.d-md-none { display: none; }
.d-none { display: none; }
.d-md-grid { display: grid; }

@media (max-width: 767px) {
    .d-md-none { display: flex; }
    .d-md-grid { display: none; }
}

/* ========================================
   ENHANCED EMPTY STATE (Opportunities Page)
   ======================================== */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.empty-state-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state-submessage {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 32px;
}

.empty-state-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.empty-state-actions .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.empty-state-actions .btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.empty-state-actions .btn-secondary:hover {
    background: var(--border-light);
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.empty-state-tips {
    text-align: left;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
}

.empty-state-tips h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.empty-state-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.empty-state-tips li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.empty-state-tips li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 767px) {
    .empty-state {
        padding: 40px 16px;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
    
    .empty-state h3 {
        font-size: 1.5rem;
    }
    
    .empty-state-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .empty-state-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========================================
   INTENT LIST (Homepage Style)
   ======================================== */

.intent-list {
    max-width: 900px;
}

.intent-row {
    display: grid;
    grid-template-columns: 48px 1fr 2fr 24px;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    text-decoration: none;
    color: inherit;
}

.intent-number {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.intent-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.intent-description {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.intent-arrow {
    opacity: 0.3;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.intent-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.intent-row:hover .intent-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ========================================
   DEALS SECTION (Homepage Style)
   ======================================== */

.deals-section {
    max-width: 900px;
    margin: 80px 0 48px;
}

.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0;
}

.see-all-link {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.see-all-link:hover {
    color: var(--text-primary);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.deal-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 12px;
    background: var(--image-bg);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.deal-card:hover {
    border-color: var(--text-muted);
}

.deal-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.deal-drop {
    position: absolute;
    top: 6px;
    left: 6px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    background: #7ab892;
    padding: 4px 6px;
    border-radius: 3px;
}

.deal-price {
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ========================================
   RESPONSIVE INTENT LIST & DEALS
   ======================================== */

@media (max-width: 768px) {
    .intent-row {
        grid-template-columns: 36px 1fr 24px;
        grid-template-rows: auto auto;
        gap: 4px 16px;
        padding: 20px 0;
    }
    
    .intent-description {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        font-size: 0.85rem;
    }
    
    .intent-arrow {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }
    
    .deals-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .intent-row {
        grid-template-columns: 32px 1fr 20px;
        gap: 4px 12px;
        padding: 16px 0;
    }
    
    .intent-number {
        font-size: 0.75rem;
    }
    
    .intent-name {
        font-size: 1.15rem;
    }
    
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

.price-sparkline {
    margin-top: 6px;
    padding: 2px 0;
    height: 24px;
    width: 60px;
}

.price-sparkline svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Who-cards grid for article recommendations */
.who-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.who-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--who-card-bg);
    border: 1px solid var(--who-card-border);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.4s var(--transition-weighted);
    color: var(--text-primary);
}

.who-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.who-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.who-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7B5C4F;
    margin-bottom: 12px;
}

.who-pedal {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #1A1A1A;
    margin: 0 0 12px 0;
    font-weight: 400;
    line-height: 1.3;
}

.who-reason {
    font-size: 0.9rem;
    color: #6B6B6B;
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.who-arrow {
    font-size: 1.3rem;
    color: #7B5C4F;
    margin-top: 16px;
    transition: all 0.4s var(--transition-weighted);
    align-self: flex-start;
}

.who-card:hover .who-arrow {
    color: #1A1A1A;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .who-cards-grid {
        grid-template-columns: 1fr;
    }
}
