/* Base styles and shared components */

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

:root {
    --primary-bg: #0c0d10;
    --secondary-bg: #14161a;
    --tertiary-bg: #1b1e24;
    --card-bg: var(--tertiary-bg);
    --accent-bg: #232832;
    --light-text: #f3f5f8;
    --medium-text: #b8c0cf;
    --dark-text: #7b8392;
    --border-color: #2c313a;
    --accent-color: #26c6a5;
    --accent-hover: #2fd2b0;
    --success-color: var(--accent-color);
    --success-hover: var(--accent-hover);
    --shadow-color: rgba(0, 0, 0, 0.35);
    --pick-color: #ff6b6b;
    --pick-hover: #ff5252;
    --serif-font: 'Times New Roman', Times, serif;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary-bg);
    color: var(--light-text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--secondary-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    margin-left: 280px;
    margin-right: auto;
    padding: 2rem 2.5rem 3rem 2.5rem;
    max-width: 1280px;
}

.quote-banner {
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-color);
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.quote-text {
    font-family: var(--serif-font);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--light-text);
    margin: 0 0 0.75rem 0;
    font-weight: 400;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 0.95rem;
    color: var(--medium-text);
    margin: 0;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.recommended-count-banner {
    margin: 0.75rem 0 1rem;
    color: var(--medium-text);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1px;
}

.recommended-count-number {
    position: relative;
    display: inline-block;
    color: var(--light-text);
    font-weight: 700;
    padding: 0 0.35rem;
    z-index: 0;
}

.recommended-count-number::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: -0.12rem;
    right: -0.12rem;
    top: 52%;
    height: 1.08em;
    border-radius: 0.28rem;
    background: var(--accent-color);
    transform: translateY(-50%) rotate(-2deg);
}

.sidebar-footer .last-updated {
    margin-bottom: 0rem;
    font-size: 0.2rem !important;
    color: var(--medium-text);
    text-align: center;
}

.sidebar-footer .last-updated p {
    font-size: 0.6rem !important;
    margin: 0;
}

.category {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.view-mode-bar {
    display: flex;
    justify-content: flex-end;
    margin: -1rem 0 1.5rem 0;
}

.view-mode-toggle-btn {
    background: var(--tertiary-bg);
    color: var(--light-text);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.62rem 0.95rem;
    font-size: 0.85rem;
    margin-top: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-mode-toggle-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.category-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.category-collapsible {
    display: flex;
    margin-bottom: 0;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    overflow: hidden;
    height: 100%;
}

.category-toggle-btn {
    width: 100%;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    border: none;
    background: var(--tertiary-bg);
    color: var(--light-text);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: left;
    min-height: 138px;
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
}

.category-toggle-btn:hover {
    background: var(--accent-bg);
}

.category-toggle-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.category-toggle-svg {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex: 0 0 46px;
    opacity: 0.82;
}

.category-toggle-svg svg,
.category-page-title-icon svg {
    width: 100%;
    height: 100%;
}

.category-toggle-label {
    display: block;
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    font-weight: 800;
    letter-spacing: -0.35px;
    line-height: 1.1;
    text-transform: capitalize;
    word-break: break-word;
    text-wrap: balance;
    color: var(--light-text);
}

.category-toggle-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.28rem;
    flex: 1;
    min-width: 0;
}

.category-toggle-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--medium-text);
    line-height: 1;
}

.category-page-header {
    margin-bottom: 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.category-header-left {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
}

.category-header-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.category-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
}

.category-page-back {
    align-self: flex-start;
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    color: var(--light-text);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.category-page-back:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.category-page-title {
    font-size: 1.45rem;
    margin: 0;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
}

.category-page-title-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.items.category-page-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    overflow: visible;
    padding: 0;
}

.category h2 {
    font-size: 1.6rem;
    color: var(--light-text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    text-transform: capitalize;
    letter-spacing: -0.2px;
    font-weight: 600;
}

.items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

.item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    contain: layout style paint;
}

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

.item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    position: relative;
    display: block;
    transition: transform 0.3s ease;
}

.item-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Share button overlay on image */
.item-image-wrapper .share-product-btn {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(4px);
    color: var(--medium-text);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 3;
}

.item:hover .item-image-wrapper .share-product-btn {
    opacity: 1;
}

.item-image-wrapper .share-product-btn:hover {
    background: var(--accent-color);
    color: white;
}

.item-image-wrapper .share-product-btn.copied {
    background: var(--accent-color);
    color: white;
}

.item-image-wrapper .share-product-btn svg {
    width: 14px;
    height: 14px;
}

.item-image.broken {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
    padding-top: 10%;
}

.item-image[src*="placeholder"]::before,
.item-image[src=""]::before,
.item-image:not([src])::before {
    content: "🎵";
    font-size: 3rem;
    opacity: 0.3;
}

.item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 0;
    flex: 1;
}

.item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--light-text);
    flex: 1;
    margin: 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    text-shadow: none;
}

.pick-badge {
    background: var(--pick-color);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    cursor: help;
    transition: all 0.3s ease;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
}

.pick-badge:hover {
    background: var(--pick-hover);
    transform: scale(1.05);
}

.pick-badge-inline {
    position: static;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 0.35rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    letter-spacing: 0.25px;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.35);
    cursor: default;
}

.mobile-info-title .pick-badge-inline,
.modal-content h3 .pick-badge-inline {
    transform: none !important;
}

.item-price {
    color: var(--success-color);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    background: rgba(12, 13, 16, 0.78);
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.item p {
    color: var(--success-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0 0 0;
    padding: 0 1rem;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}

.item-buttons {
    display: flex;
    gap: 0.5rem;
    padding: 0.9rem 0.9rem 1rem 0.9rem;
    align-items: center;
    justify-content: space-between;
}

.item-buttons-product {
    background: #ffffff;
    color: var(--primary-bg);
    border: 1px solid #ffffff;
}

.item a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bg);
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-height: 40px;
}

.item .item-buttons-product:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.item .extra-data-btn {
    background: transparent;
    color: var(--light-text);
    padding: 0;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-align: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    max-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item .extra-data-btn:hover {
    background: transparent;
    color: var(--light-text);
    transform: scale(1.08);
}

.item .extra-data-btn svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.item:hover .item-image {
    transform: scale(1.05);
}

.sidebar-footer {
    padding: 1.2rem 1rem;
    background: var(--tertiary-bg);
    border-top: 1px solid var(--border-color);
}

.sidebar-footer p {
    margin: 0 0 1rem 0;
    color: var(--medium-text);
    font-size: 0.8rem;
}

.sidebar-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sidebar-footer a:hover {
    color: var(--accent-hover);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-row {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.social-row a {
    flex: 1;
    padding: 0.9rem;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-text);
}

.social-row a:hover {
    background: var(--accent-bg);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.disclaimer {
    margin-top: 0.3rem;
    padding-top: 0.3rem;
}

.disclaimer p {
    font-size: 0.75rem;
    color: var(--dark-text);
    margin: 0.5rem 0;
    line-height: 1.5;
    text-align: justify;
}

.disclaimer p:first-child {
    color: var(--medium-text);
}

.disclaimer a {
    color: var(--accent-color);
    font-weight: 600;
}

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

.sidebar-header {
    padding: 1.35rem 1rem 1rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--secondary-bg);
    background-image: linear-gradient(rgba(12, 13, 16, 0.72), rgba(12, 13, 16, 0.72)), url('../hero_image.jpeg');
    background-size: cover;
    background-position: top center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.sidebar-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.sidebar-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.sidebar-header h1 {
    font-family: var(--serif-font);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--light-text);
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: none;
}

.sidebar-close-btn {
    display: none;
}

.sidebar-section {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-section:last-child {
    border-bottom: none;
    margin-top: auto;
}

.sidebar-section.social-section {
    background: var(--tertiary-bg);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: var(--medium-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 0.875rem 1.1rem 0.875rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--tertiary-bg);
    color: var(--light-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-box input:hover {
    border-color: var(--accent-color);
}

.search-box input:focus,
.filter-item select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--card-bg);
    box-shadow: 0 0 0 2px rgba(38, 198, 165, 0.2);
}

.search-box input::placeholder {
    color: var(--medium-text);
}

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

.section-header h3 {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
}

.reset-btn {
    padding: 0.5rem 0.9rem;
    background: transparent;
    color: var(--medium-text);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.reset-btn.has-active-filters {
    background: rgba(255, 107, 107, 0.12);
    color: var(--pick-color);
    border-color: var(--pick-color);
}

.reset-btn.has-active-filters:hover {
    background: var(--pick-color);
    color: white;
    border-color: var(--pick-color);
}

.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item label {
    color: var(--medium-text);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.filter-item select {
    padding: 0.875rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--tertiary-bg);
    color: var(--light-text);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--light-text);
    text-transform: none;
    font-weight: normal;
    letter-spacing: normal;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: var(--tertiary-bg);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.mobile-price-range-control,
.mobile-filter-actions {
    display: none;
}

.mobile-category-chips {
    display: none;
}

.mobile-price-range-slider {
    --price-handle-width: 50px;
    position: relative;
    height: 44px;
    margin-top: 0.35rem;
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0 0.4rem;
    overflow: hidden;
    touch-action: none;
}

.mobile-price-track,
.mobile-price-range-fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    border-radius: 999px;
}

.mobile-price-track {
    left: 0.4rem;
    right: 0.4rem;
    background: var(--border-color);
}

.mobile-price-range-fill {
    background: var(--accent-color);
    left: 0;
    width: 100%;
}

.mobile-price-handle {
    --position: 0;
    position: absolute;
    top: 50%;
    left: calc((100% - var(--price-handle-width)) * var(--position));
    transform: translateY(-50%);
    width: var(--price-handle-width);
    height: calc(100% - 2px);
    border-radius: 8px;
    border: 1px solid var(--accent-color);
    background: var(--card-bg);
    color: var(--light-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-price-handle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(38, 198, 165, 0.35), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.mobile-picks-toggle-btn {
    border: 1px solid var(--border-color);
    background: white;
    color: #101114;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 0.7rem 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-picks-toggle-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Modal for pick badge info */
.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

#wishlist-modal {
    z-index: 2000;
}

#extra-data-modal {
    z-index: 2100;
}

#share-modal {
    z-index: 2050;
}

.modal.show {
    visibility: visible;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 14px 40px var(--shadow-color);
}

.modal-content.wishlist-modal-content {
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-header span {
    color: var(--medium-text);
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--medium-text);
}

.empty-state h2 {
    color: var(--light-text);
    margin: 0 0 0.5rem;
}

.empty-state p {
    margin: 0;
}

.empty-state.compact {
    padding: 2rem 0;
}

.shared-wishlist-note {
    color: var(--medium-text);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.wishlist-modal-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.wishlist-modal-content .category {
    margin-bottom: 2rem;
}

.wishlist-modal-content .category h2 {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.wishlist-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.wishlist-actions-primary,
.wishlist-actions-secondary {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 100px;
}

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

.action-btn.primary:hover {
    background: var(--accent-hover);
}

.action-btn.secondary {
    background: #5865F2;
    color: white;
}

.action-btn.secondary:hover {
    background: #4752c4;
}

.action-btn.secondary.copied {
    background: var(--accent-color);
}

.action-btn.danger {
    background: var(--pick-color);
    color: white;
}

.action-btn.danger:hover {
    background: var(--pick-hover);
}

.action-btn.tertiary {
    background: var(--tertiary-bg);
    color: var(--medium-text);
    border: 1px solid var(--border-color);
}

.action-btn.tertiary:hover {
    background: var(--accent-bg);
    color: var(--light-text);
}

button svg {
    stroke: white;
}

.action-btn svg {
    flex-shrink: 0;
    stroke: white;
}

/* Compact card style for wishlist */
.wishlist-modal-content .item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    flex-direction: row;
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.wishlist-modal-content .item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.wishlist-modal-content .item-image-wrapper {
    flex-shrink: 0;
    position: relative;
}

.wishlist-modal-content .item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(11, 187, 152, 0.2);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wishlist-modal-content .item:hover .item-image {
    transform: scale(1.08) rotate(1deg);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(11, 187, 152, 0.2);
}

.wishlist-modal-content .item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.wishlist-modal-content .item-header {
    flex: 1;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.25rem;
}

.wishlist-modal-content .item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: var(--light-text);
    word-break: break-word;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wishlist-modal-content .item p {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: var(--accent-color);
    letter-spacing: -0.3px;
}

.wishlist-modal-content .item-buttons {
    gap: 0.5rem;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.wishlist-modal-content .item a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary-bg);
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-height: 40px;
}

.wishlist-modal-content .item a:hover {
    background: var(--light-text);
    transform: translateY(-2px);
}

.wishlist-modal-content .favorite-btn,
.wishlist-modal-content .extra-data-btn {
    background: var(--accent-color);
    color: white;
    padding: 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-align: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    max-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wishlist-modal-content .favorite-btn:hover,
.wishlist-modal-content .extra-data-btn:hover {
    transform: translateY(-2px);
}

.wishlist-modal-actions .clear-btn {
    background: #ff6b6b;
    color: white;
}

.wishlist-modal-actions .clear-btn:hover {
    background: #ff5252;
}

.wishlist-modal-actions .modal-close {
    flex: 1;
    background: var(--accent-color);
    color: white;
}

.wishlist-modal-actions .modal-close:hover {
    background: var(--accent-hover);
}

.modal-content h3 {
    color: var(--light-text);
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.modal-content p {
    color: var(--medium-text);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.modal-close {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-hover);
}

/* Extra Data Modal Styles */
.extra-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.extra-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.extra-details-table-wrap {
    margin: 0 0 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.extra-details-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.extra-details-table th,
.extra-details-table td {
    padding: 0.45rem 0.6rem;
    font-size: 0.86rem;
    line-height: 1.3;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.extra-details-table tr:last-child th,
.extra-details-table tr:last-child td {
    border-bottom: none;
}

.extra-details-table th {
    width: 38%;
    color: var(--light-text);
    font-weight: 600;
    text-align: left;
    background: var(--secondary-bg);
}

.extra-details-table td {
    color: var(--medium-text);
    background: var(--card-bg);
    word-break: break-word;
}

.extra-tiktoks {
    margin-bottom: 1.5rem;
    text-align: center;
}

.extra-tiktoks h4 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.tiktok-link {
    display: inline-block;
    background: #ff0050;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.tiktok-link:hover {
    background: #e0004a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 0, 80, 0.3);
}

.extra-notes h4 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
}

.extra-notes p {
    color: var(--medium-text);
    margin: 0 0 1rem 0;
}

/* Bottom Bar - Collapsed State */
.bottom-bar {
    display: none;
}

.bottom-bar-progress-svg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.bottom-bar-progress-track,
.bottom-bar-progress-fill {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.bottom-bar-progress-track {
    stroke: var(--accent-bg);
}

.bottom-bar-progress-fill {
    stroke: var(--accent-color);
    transition: stroke-dasharray 0.12s linear;
}

.bottom-bar-head {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 70px;
    padding: 0 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.bottom-bar-head.action-change-flash {
    animation: bottomBarActionFlash 0.55s ease;
}

@keyframes bottomBarActionFlash {
    0% {
        background: transparent;
    }
    40% {
        background: var(--accent-bg);
    }
    100% {
        background: transparent;
    }
}

.bottom-bar-panel {
    display: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.mobile-bottom-wishlist {
    display: none;
    padding: 0.75rem 1rem 1rem;
}

.mobile-bottom-info {
    display: none;
    padding: 0.75rem 1rem 1rem;
}

.mobile-info-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-info-title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
}

.mobile-info-content {
    color: var(--light-text);
}

.mobile-info-content p {
    margin: 0 0 0.75rem;
    line-height: 1.55;
}

.mobile-info-content p:last-child {
    margin-bottom: 0;
}

.mobile-picks-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-picks-lead {
    margin: 0;
    color: var(--light-text);
    line-height: 1.6;
}

.mobile-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
}

.mobile-info-card h4 {
    margin: 0 0 0.45rem;
    color: var(--light-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.mobile-info-card p {
    margin: 0;
    color: var(--medium-text);
    line-height: 1.55;
}

.mobile-info-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--medium-text);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-social-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-social-actions {
    display: flex;
}

.mobile-social-actions .action-btn {
    width: 100%;
    justify-content: center;
}

.mobile-wishlist-empty {
    color: var(--medium-text);
    font-size: 0.9rem;
    padding: 1rem 0.25rem;
}

.mobile-wishlist-category + .mobile-wishlist-category {
    margin-top: 1rem;
}

.mobile-wishlist-category h4 {
    margin: 0 0 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.mobile-wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mobile-bottom-wishlist.wishlist-modal-content .item {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    margin-top: 0;
    gap: 0.75rem;
    padding: 0.7rem;
    border-radius: 10px;
}

.mobile-bottom-wishlist.wishlist-modal-content .item-image {
    width: 60px;
    height: 60px;
}

.mobile-bottom-wishlist.wishlist-modal-content .item-info {
    gap: 0.45rem;
}

.mobile-bottom-wishlist.wishlist-modal-content .item h3 {
    font-size: 0.88rem;
    line-height: 1.25;
}

.mobile-bottom-wishlist.wishlist-modal-content .item-buttons {
    gap: 0.4rem;
}

.mobile-bottom-wishlist.wishlist-modal-content .item a,
.mobile-bottom-wishlist.wishlist-modal-content .favorite-btn,
.mobile-bottom-wishlist.wishlist-modal-content .extra-data-btn {
    min-height: 34px;
    height: 34px;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
}

.mobile-bottom-wishlist.wishlist-modal-content .favorite-btn,
.mobile-bottom-wishlist.wishlist-modal-content .extra-data-btn {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    padding: 0;
}

.mobile-wishlist-actions {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    position: sticky;
    bottom: 0;
    background: var(--secondary-bg);
    padding-bottom: 0.75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mobile-wishlist-actions .wishlist-actions-primary,
.mobile-wishlist-actions .wishlist-actions-secondary {
    display: contents;
}

.mobile-wishlist-actions .action-btn {
    background: transparent !important;
    color: var(--light-text) !important;
    border: 1px solid var(--border-color);
    min-width: 0;
}

.mobile-wishlist-actions .action-btn svg {
    stroke: currentColor;
}

.mobile-clear-icon-btn {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 10px;
    background: var(--pick-color) !important;
    color: white !important;
    border-color: var(--pick-color) !important;
}

.mobile-clear-icon-btn svg {
    stroke: white;
}

.bottom-bar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.bottom-bar-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--light-text);
    text-align: center;
    font-weight: 500;
}

.bottom-bar-wishlist {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.bottom-bar-wishlist:hover {
    transform: scale(1.1);
}

.bottom-bar-wishlist svg {
    stroke: white;
}

.bottom-bar.active .bottom-bar-panel {
    display: block;
}

.sidebar-overlay {
    display: none;
}

/* Mobile Header (hidden on desktop) */
.mobile-header {
    display: none;
}

/* Wishlist Styles */
.wishlist-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wishlist-btn {
    flex: 1;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.wishlist-btn:hover {
    background: var(--accent-hover);
}

.wishlist-btn svg {
    flex-shrink: 0;
}

#wishlist-count {
    font-weight: 700;
}

.share-btn {
    background: var(--tertiary-bg);
    color: var(--light-text);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.share-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Social Links in Rows */
.social-row {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.social-row:last-child {
    margin-bottom: 0;
}

.social-row a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-row a:hover {
    background: var(--accent-bg);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

/* Favorite Heart Button on Items */
.favorite-btn {
    background: transparent;
    color: var(--medium-text);
    padding: 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-align: center;
    width: 40px;
    height: 40px;
    max-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.favorite-btn:hover {
    background: transparent;
    color: var(--light-text);
    transform: scale(1.08);
}

.favorite-btn.active {
    background: transparent;
    color: #ff6b6b;
}

.favorite-btn.active svg {
    fill: currentColor;
    stroke: currentColor;
}

.favorite-btn svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.item-buttons > .favorite-btn {
    width: 44px;
    height: 44px;
    max-width: 44px;
}

.item-buttons > .extra-data-btn {
    width: 44px;
    height: 44px;
    max-width: 44px;
}

/* Share Modal Styles */
.share-link-container {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

#share-link-input {
    flex: 1;
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--accent-hover);
}

.copy-btn.copied {
    background: #10b981;
}

.share-note {
    font-size: 0.85rem;
    color: var(--dark-text);
    margin-top: 0.5rem;
}
