@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&family=Space+Mono:wght@400;700&display=swap");

/* ===================================================================
   VINYLAND -- Retro-Modern Design System
   =================================================================== */

:root {
    --color-header: #ffd7a8;
    --color-bg: #1a1a2e;
    --color-bg-light: #faf8f5;
    --color-accent: #e76f51;
    --color-accent-hover: #d4613d;
    --color-text-main: #264653;
    --color-text-muted: #6c757d;
    --color-card-bg: #ffffff;
    --color-vinyl-dark: #1a1a1a;
    --color-border: #e8e2da;
    --color-input-bg: #fdfcfa;
    --shadow-sm: 0 2px 8px rgba(38, 70, 83, 0.06);
    --shadow-md: 0 4px 20px rgba(38, 70, 83, 0.08);
    --shadow-lg: 0 12px 40px rgba(38, 70, 83, 0.12);
    --shadow-warm: 0 8px 30px rgba(231, 111, 81, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;
    --font-body: "Inter", system-ui, sans-serif;
    --font-heading: "Playfair Display", Georgia, serif;
    --font-mono: "Space Mono", "Courier New", monospace;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul {
    list-style: none;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.is-hidden {
    display: none !important;
}

/* ===== App Shell ===== */

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
    width: 100%;
}

.page-content > * {
    width: 100%;
}

/* ===== Header ===== */

.header-bbdiscos {
    background-color: var(--color-header);
    box-shadow: 0 2px 16px rgba(38, 70, 83, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 2rem;
    border-bottom: 3px solid rgba(231, 111, 81, 0.2);
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform var(--transition);
}

.header-logo-link:hover {
    transform: translateY(-1px);
}

.header-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
}

.header-center {
    flex: 1;
    max-width: 640px;
    min-width: 200px;
    justify-self: center;
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.header-auth-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

/* Profile button in header */
.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.6);
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all var(--transition);
    border: 1.5px solid rgba(38, 70, 83, 0.1);
}

.profile-btn:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.3);
}

.profile-btn-primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.profile-btn-primary:hover {
    background: var(--color-accent-hover);
    color: #fff;
    border-color: var(--color-accent-hover);
}

.profile-btn i {
    font-size: 1.1rem;
}

/* Search */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.7rem 3.5rem 0.7rem 1.25rem;
    border: 1.5px solid rgba(38, 70, 83, 0.1);
    border-radius: var(--radius-pill);
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--color-text-main);
    font-size: 0.92rem;
    font-family: var(--font-body);
    outline: none;
    transition: all var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.search-input::placeholder {
    color: rgba(38, 70, 83, 0.5);
}

.search-input:focus {
    background-color: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.12), inset 0 1px 2px rgba(0,0,0,0.02);
}

.search-btn {
    position: absolute;
    right: 0.4rem;
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.85rem;
}

.search-btn:hover {
    background-color: var(--color-accent-hover);
    transform: scale(1.08);
    color: #fff;
}

/* ===== Sidebar ===== */

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(26, 26, 46, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background-color: var(--color-bg-light);
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 24px rgba(26, 26, 46, 0.15);
    display: flex;
    flex-direction: column;
}

.sidebar-menu.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--color-border);
    background-color: var(--color-header);
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-title h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    border-radius: 50%;
    font-size: 1.1rem;
}

.sidebar-close:hover {
    color: var(--color-accent);
    background: rgba(231, 111, 81, 0.1);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0;
}

.category-nav {
    display: flex;
    flex-direction: column;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
    border-left: 3px solid transparent;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.category-item:hover {
    background-color: rgba(231, 111, 81, 0.06);
    border-left-color: var(--color-accent);
}

.category-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    transition: color var(--transition);
}

.category-item:hover .category-name {
    color: var(--color-accent);
}

/* ===== Footer ===== */

.footer-bbdiscos {
    background-color: var(--color-vinyl-dark);
    color: #e0e0e0;
    margin-top: auto;
    padding: 3rem 0 1.5rem;
    border-top: 4px solid var(--color-accent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-section-contact,
.footer-section-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-header);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ccc;
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--color-header);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition);
    font-size: 1.1rem;
}

.social-icon:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(231, 111, 81, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #aaa;
}

.footer-legal {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
}

.footer-legal a {
    color: var(--color-header);
    text-decoration: underline;
    text-decoration-color: rgba(255, 215, 168, 0.3);
    transition: all var(--transition);
}

.footer-legal a:hover {
    color: #ffe4c4;
    text-decoration-color: #ffe4c4;
}

/* ===== Breadcrumb ===== */

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
    font-size: 0.88rem;
}

.breadcrumb-item a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--color-accent);
}

.breadcrumb-item.active {
    color: var(--color-accent);
    font-weight: 600;
}

/* ===== Products Section ===== */

.products-section {
    width: 100%;
    padding: 1.5rem 0 4rem;
    min-height: 70vh;
}

.products-shell {
    width: min(1680px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 0;
}

.products-layout-grid {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.products-filters-column,
.products-content-column,
.products-grid-item {
    min-width: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.products-grid .product-card {
    height: 100%;
    margin-bottom: 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.products-header-titles {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.products-count {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.products-search-context {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.35;
}

.products-search-query {
    color: var(--color-text-main);
    font-weight: 600;
}

.products-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    align-self: center;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 2.2rem 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--color-text-main);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23264653' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 12px;
    transition: border-color var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.sort-select:hover {
    border-color: #adb5bd;
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.12);
}

.products-subtitle {
    margin: 0.35rem 0 0;
    color: var(--color-text-muted);
}

/* ===== Product Cards ===== */

.product-card {
    background-color: var(--color-card-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-warm);
    border-color: rgba(231, 111, 81, 0.25);
}

.product-image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f0ece6 0%, #e8e2da 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image-placeholder img {
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-placeholder img {
    transform: scale(1.05);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.2rem;
    line-height: 1.3;
    min-height: 2.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-artist {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
    line-height: 1.35;
    min-height: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

.product-card-category-overflow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background: rgba(38, 70, 83, 0.07);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(38, 70, 83, 0.15);
    line-height: 1.2;
    white-space: nowrap;
}

.product-card-category-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-accent);
    background: rgba(231, 111, 81, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(231, 111, 81, 0.2);
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-price {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.2rem;
    letter-spacing: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-installments {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Offer badge */
.offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--color-accent), #d4613d);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.82rem;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.35);
    letter-spacing: 0.02em;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
}

.album-price-original {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

/* ===== Filters Bar ===== */

.filters-bar {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
    margin-bottom: 2rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--color-border);
}

.filters-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 0.82rem;
    cursor: pointer;
    transition: opacity var(--transition);
    font-weight: 600;
    text-decoration: none;
}

.clear-filters-btn:hover {
    opacity: 0.7;
    text-decoration: underline;
}

a.clear-filters-btn {
    text-decoration: none;
}

a.clear-filters-btn:hover {
    text-decoration: underline;
}

.filter-section {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
}

.filters-bar details.filter-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section-header {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    cursor: pointer;
    transition: color var(--transition);
}

.filter-section-header:hover {
    color: var(--color-accent);
}

.filter-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 0.92rem;
}

details.filter-section > summary.filter-section-header {
    list-style: none;
    cursor: pointer;
}

details.filter-section > summary.filter-section-header::-webkit-details-marker {
    display: none;
}

details.filter-section:not([open]) .filter-section-chevron {
    transform: rotate(180deg);
}

.filter-section-chevron {
    transition: transform 0.2s ease;
    font-size: 0.85rem;
}

.filter-options {
    padding: 0.4rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition);
}

.filter-option:hover {
    background-color: rgba(231, 111, 81, 0.04);
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    cursor: pointer;
    width: 17px;
    height: 17px;
    accent-color: var(--color-accent);
}

.filter-option span {
    font-size: 0.88rem;
    color: var(--color-text-main);
}

.filter-record-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-hint,
.filter-empty-hint {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.35;
}

.filter-price-presets {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.price-preset-btn {
    width: 100%;
    text-align: left;
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
    font-family: var(--font-body);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-light);
    color: var(--color-text-main);
    cursor: pointer;
    transition: all var(--transition);
}

.price-preset-btn:hover {
    background: #fff;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Price Range Inputs */
.price-inputs {
    gap: 0.75rem;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.price-label {
    font-size: 0.82rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.price-input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: var(--color-text-main);
    background: var(--color-input-bg);
    transition: all var(--transition);
}

.price-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.1);
}

.price-input::placeholder {
    color: #bbb;
}

/* Filter Actions - Batch Mode */
.filters-actions-sticky {
    position: sticky;
    bottom: 0;
    margin-top: 1.5rem;
    padding: 1.25rem 0; /* Removed horizontal padding so button hits the edges if margin-left/right not enough */
    background: var(--color-card-bg);
    z-index: 20;
    border-top: 2px solid var(--color-border);
}

.filters-apply-btn {
    width: 100%;
    padding: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filters-apply-btn:disabled {
    background: #e9ecef !important;
    color: #adb5bd !important;
    border-color: var(--color-border) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

.filters-apply-btn:not(:disabled) {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.25);
    cursor: pointer;
    pointer-events: auto;
}

.filters-apply-btn:not(:disabled):hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 111, 81, 0.35);
}

.filters-apply-btn:not(:disabled):active {
    transform: translateY(0);
}

/* Category filter chips */
.filter-options.filter-category-chips {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 0.35rem;
}

.filter-category-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border-radius: var(--radius-pill);
    user-select: none;
}

.filter-category-chip:hover input:not(:checked) + .filter-chip-text {
    border-color: var(--color-accent);
    background-color: #fff;
}

.filter-category-chip:hover input:checked + .filter-chip-text {
    filter: brightness(0.94);
}

.filter-category-chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.filter-category-chip .filter-chip-text {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-light);
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-text-main);
    transition: all 0.15s ease;
}

.filter-category-chip input:focus-visible + .filter-chip-text {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-accent);
}

.filter-category-chip input:checked + .filter-chip-text {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.filter-category-chip input:checked:focus-visible + .filter-chip-text {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(231, 111, 81, 0.45);
}

/* ===== Album Cards (Carousel) ===== */

.album-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.album-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-warm);
    border-color: rgba(231, 111, 81, 0.2);
}

.album-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f0ece6 0%, #e8e2da 100%);
}

.album-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.album-card:hover .album-image {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.btn-view-details {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-view-details:hover {
    background-color: var(--color-accent-hover);
    transform: scale(1.05);
}

.album-info {
    padding: 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.album-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.album-artist {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.album-year {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 0.6rem;
}

.album-price {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: auto;
}

/* ===== Offer Card ===== */

.offer-card {
    position: relative;
}

/* ===== Hero Section ===== */

.hero-section {
    padding: 4rem 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 2rem;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-cta {
    background-color: var(--color-accent);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}

.btn-cta:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 111, 81, 0.35);
    color: white;
}

.hero-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Turntable */
.turntable-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.turntable {
    width: 400px;
    height: 400px;
    position: relative;
    cursor: pointer;
}

.turntable-base {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vinyl-record {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 30%, #1a1a1a 0%, #000 100%);
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.turntable:hover .vinyl-record {
    animation: spin 1.5s linear infinite;
}

.vinyl-label {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--color-accent) 0%, #c85a41 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(231, 111, 81, 0.5);
}

.vinyl-grooves {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
}

.turntable-arm {
    position: absolute;
    width: 8px;
    height: 180px;
    background: linear-gradient(to bottom, #c0c0c0 0%, #808080 100%);
    border-radius: 4px;
    top: 15%;
    right: 10%;
    transform-origin: top center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.turntable-arm::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background: silver;
    border-radius: 50%;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.turntable-arm::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 4px;
    background: #c0c0c0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.turntable:hover .turntable-arm {
    transform: rotate(25deg);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== Section Headers ===== */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

/* ===== Carousels ===== */

.featured-section,
.offers-section {
    padding: 4rem 0;
    background-color: #fff;
}

.offers-section {
    background: linear-gradient(135deg, #fff8f4 0%, #fff 100%);
}

.offers-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.offers-icon {
    color: var(--color-accent);
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

.carousel-track {
    overflow: hidden;
    padding: 1rem 0;
    margin: 0 -1rem;
}

.carousel-items {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.vinyl-slide {
    flex: 0 0 33.333%;
    min-width: 0;
    padding: 0 1rem;
    box-sizing: border-box;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-card-bg);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10;
    color: var(--color-text-main);
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover:not(:disabled) {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn-left { left: 0; }
.carousel-btn-right { right: 0; }

/* ===== Categories Section ===== */

.categories-section {
    padding: 4rem 0;
    background-color: var(--color-bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 2;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: none;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-image-wrapper {
    position: absolute;
    inset: 0;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.category-card:hover .category-image {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: background var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(231, 111, 81, 0.5) 0%, rgba(26, 26, 46, 0.85) 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem;
    color: white;
    z-index: 2;
}

.genre-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.genre-description {
    font-size: 0.95rem;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ===== No Products ===== */

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--color-card-bg);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-border);
}

.no-products p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin: 0;
}

.empty-products-state {
    background: var(--color-card-bg);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: grid;
    gap: 1rem;
    border: 1.5px solid var(--color-border);
}

/* ===== Product Detail ===== */

.product-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.product-detail-back:hover {
    color: var(--color-accent);
    background: rgba(231, 111, 81, 0.06);
}

.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-gallery-main {
    background: linear-gradient(135deg, #f5f2ed 0%, #ece8e1 100%);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-border);
    min-height: 280px;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
}

.product-gallery-main-img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-sm);
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.product-gallery-thumb {
    padding: 0;
    margin: 0;
    border: 2.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    cursor: pointer;
    background: #fff;
    transition: all 0.15s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(231, 111, 81, 0.2);
}

.product-gallery-thumb.is-active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(231, 111, 81, 0.25);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Recommendation Carousels Redesign */
.recommendations-wrapper {
    position: relative;
    padding: 1.5rem 0;
}

.recommendations-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    font-size: 1.75rem;
    border-bottom: 3px solid rgba(231, 111, 81, 0.15);
    display: inline-block;
}

.recommendations-carousel {
    position: relative;
    margin: 0 -1rem;
    padding: 0.5rem 1rem;
}

.carousel-track {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0 1.5rem;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item-wrapper {
    flex: 0 0 300px;
    scroll-snap-align: start;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-control-btn {
    position: absolute;
    top: calc(50% - 24px);
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    color: var(--color-accent);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.recommendations-carousel:hover .carousel-control-btn {
    opacity: 1;
    transform: scale(1);
}

.carousel-control-btn:hover {
    background: var(--color-accent);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(231,111,81,0.3);
}

.carousel-control-btn.prev {
    left: -10px;
}

.carousel-control-btn.next {
    right: -10px;
}

.carousel-fade-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.carousel-fade-edge.left {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light) 0%, transparent 100%);
    opacity: 0;
}

.carousel-fade-edge.right {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light) 0%, transparent 100%);
}

@media (max-width: 992px) {
    .carousel-control-btn, .carousel-fade-edge {
        display: none;
    }
    .carousel-track {
        gap: 1.25rem;
        padding-left: 0.5rem;
    }
    .carousel-item-wrapper {
        flex: 0 0 260px;
    }
}

/* Condition badges */
.condition-badge {
    padding: 0.75rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
    background: var(--color-bg-light);
    transition: all var(--transition);
}

.condition-badge-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.condition-badge-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.condition-badge-max {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===== Auth Pages (Login / Register) ===== */

.auth-page-bg {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #f0e9df 100%);
    min-height: 100vh;
}

.auth-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    max-width: 460px;
    margin: 0 auto;
}

.auth-card-header {
    background: var(--color-vinyl-dark);
    color: #fff;
    padding: 2rem 2rem 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-card-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px, transparent 3px,
        rgba(255, 215, 168, 0.04) 3px, rgba(255, 215, 168, 0.04) 5px
    );
    pointer-events: none;
}

.auth-card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    position: relative;
}

.auth-card-header p {
    font-size: 0.88rem;
    opacity: 0.7;
    position: relative;
}

.auth-card-body {
    padding: 2rem;
}

.auth-card-body .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-main);
}

.auth-card-body .form-control {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
    background: var(--color-input-bg);
    color: var(--color-text-main);
    transition: all var(--transition);
}

.auth-card-body .form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.1);
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.7rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
}

.btn-accent:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.3);
}

.auth-card-footer {
    padding: 0 2rem 1.75rem;
    text-align: center;
}

.auth-card-footer a {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.88rem;
}

/* Legacy auth modal classes (kept for backward compat) */
.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    backdrop-filter: blur(3px);
}

.auth-modal {
    background: var(--color-card-bg);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: auth-modal-in 0.2s ease;
}

@keyframes auth-modal-in {
    from { opacity: 0; transform: translateY(-12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 0;
}

.auth-modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.auth-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 4px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    transition: background var(--transition);
}

.auth-modal-close:hover {
    background: rgba(0,0,0,0.05);
    color: var(--color-text-main);
}

.auth-tabs {
    display: flex;
    padding: 1rem 1.5rem 0;
    gap: 0.5rem;
    border-bottom: 2px solid var(--color-border);
    margin-top: 0.75rem;
}

.auth-tab {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    border-radius: 4px 4px 0 0;
}

.auth-tab.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    font-weight: 700;
}

.auth-tab:hover:not(.active) {
    color: var(--color-text-main);
}

.auth-form {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.auth-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 10px;
    color: #adb5bd;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    padding: 0.6rem 0.75rem 0.6rem 2.2rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--color-text-main);
    background: var(--color-input-bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.auth-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.12);
}

.auth-input-password { padding-right: 2.5rem; }

.auth-password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #adb5bd;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.auth-password-toggle:hover { color: var(--color-text-main); }

.auth-error {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    color: #c0392b;
    font-size: 0.85rem;
}

.auth-submit-btn {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), transform 0.1s;
    margin-top: 0.25rem;
}

.auth-submit-btn:hover:not(:disabled) { background: var(--color-accent-hover); }
.auth-submit-btn:active:not(:disabled) { transform: scale(0.98); }
.auth-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-note {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.5;
}

/* ===== User Menu (Header dropdown) ===== */

.user-menu-wrapper { position: relative; }

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    color: var(--color-text-main);
}

.user-menu-trigger:hover { background: rgba(0, 0, 0, 0.06); }

.user-menu-name {
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    z-index: 1500;
    overflow: hidden;
    animation: dropdown-in 0.15s ease;
    border: 1px solid var(--color-border);
}

@keyframes dropdown-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-menu-info {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.user-menu-info-email {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    word-break: break-all;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.65rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--color-text-main);
    text-decoration: none;
    transition: background 0.15s;
    text-align: left;
}

.user-menu-item:hover { background: var(--color-bg-light); }
.user-menu-item.danger { color: #e74c3c; }
.user-menu-item.danger:hover { background: #fff5f5; }

/* ===== Sell / Product Form ===== */

.sell-page {
    padding: 1.5rem 0 4rem;
}

.sell-form-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--color-border);
    max-width: 920px;
    margin: 0 auto;
}

.sell-form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.sell-form-eyebrow {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(231, 111, 81, 0.08);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
}

.sell-form-header h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.4rem;
}

.sell-form-header p {
    margin: 0.5rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.sell-form textarea {
    resize: vertical;
}

.sell-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-border);
}

/* Image preview */
.sell-images-preview {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sell-img-main-wrap {
    width: 100%;
    max-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #f5f2ed 0%, #ece8e1 100%);
    border: 1.5px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-img-main {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    display: block;
}

.sell-img-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.sell-img-thumb-wrap {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.sell-img-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 2;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.65rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.sell-img-remove:hover,
.sell-img-remove:focus {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    outline: none;
}

.sell-img-remove-main {
    top: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
}

.sell-img-thumb {
    padding: 0;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 68px;
    height: 68px;
    cursor: pointer;
    background: #fff;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.sell-img-thumb:hover,
.sell-img-thumb:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(231, 111, 81, 0.15);
    outline: none;
}

.sell-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Genre Checkbox Pills */
.genre-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.genre-check {
    padding: 0;
    margin: 0;
}

.genre-check .form-check-input {
    display: none;
}

.genre-check .form-check-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    transition: all 0.2s ease;
    user-select: none;
}

.genre-check .form-check-label:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Spring form:checkbox inserts a hidden field after the checkbox; use ~ not + */
.genre-check .form-check-input:checked ~ .form-check-label {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* ===== Profile Page ===== */

.profile-page {
    padding: 1.5rem 0 4rem;
}

.profile-page .profile-listings-grid .product-card,
.deleted-products-stack .profile-listings-grid .product-card {
    height: auto;
}

/* Deleted listings grid: card + restore button; avoid row-stretch overlap with pagination */
.deleted-products-stack .products-grid-item {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.deleted-products-stack .products-grid-item .product-card {
    flex: 0 0 auto;
}

.profile-publications-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.profile-publications-stack > nav {
    margin-top: 0 !important;
}

.profile-data {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.profile-user-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--color-border);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.profile-avatar {

    border-right: 50px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(231, 111, 81, 0.25);
}

.profile-user-info h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.2rem;
}

.profile-user-info h2 {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin: 0;
}

.profile-user-info {
    flex: 1;
    min-width: 0;
}

.profile-rating-row {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    max-width: 100%;
}

.profile-rating-row .profile-rating-stars {
    display: inline-flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 0.05rem;
    color: var(--color-accent);
    font-size: 1.05rem;
    line-height: 1;
}

.profile-rating-row .profile-rating-stars .bi {
    flex-shrink: 0;
}

.profile-rating-row .profile-rating-caption {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-section-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border);
}

/* Profile tabs: override Bootstrap default link blue */
.profile-page #profileTabs.nav-tabs .nav-link {
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.profile-page #profileTabs.nav-tabs .nav-link:hover,
.profile-page #profileTabs.nav-tabs .nav-link:focus {
    color: var(--color-text-main);
}

.profile-page #profileTabs.nav-tabs .nav-link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.profile-page #profileTabs.nav-tabs .nav-link.active,
.profile-page #profileTabs.nav-tabs .nav-item.show .nav-link {
    color: var(--color-accent);
}

.profile-page #profileTabs.nav-tabs .nav-link.active:hover,
.profile-page #profileTabs.nav-tabs .nav-item.show .nav-link:hover {
    color: var(--color-accent-hover);
}

/* ===== Purchase Stepper ===== */

.purchase-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 1.75rem;
    gap: 0;
    border-bottom: 1.5px solid var(--color-border);
    background: var(--color-card-bg);
}

.purchase-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    position: relative;
}

.purchase-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 2.5px solid var(--color-border);
    background: var(--color-card-bg);
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.purchase-step-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 72px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.purchase-step-connector {
    flex: 1;
    height: 3px;
    background: var(--color-border);
    align-self: center;
    margin-top: -0.85rem;
    min-width: 32px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.purchase-step-connector--filled {
    background: var(--color-accent);
}

.purchase-step--completed .purchase-step-icon {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.purchase-step--completed .purchase-step-label {
    color: var(--color-accent);
}

.purchase-step--current .purchase-step-icon {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(231, 111, 81, 0.15);
    animation: stepPulse 2s ease-in-out infinite;
}

.purchase-step--current .purchase-step-label {
    color: var(--color-text);
    font-weight: 700;
}

@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(231, 111, 81, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(231, 111, 81, 0.08); }
}

.purchase-step--pending .purchase-step-icon {
    opacity: 0.5;
}

.purchase-step--pending .purchase-step-label {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .purchase-stepper {
        padding: 1rem 1rem;
    }

    .purchase-step-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .purchase-step-label {
        font-size: 0.7rem;
        max-width: 60px;
    }

    .purchase-step-connector {
        min-width: 20px;
        margin-top: -1rem;
    }
}

/* ===== Purchase Panel ===== */

.purchase-page {
    padding: 2rem 0 4rem;
}

/* Bloques de contexto dentro de la tarjeta de compra (misma línea visual que el resto) */
.purchase-card-inset {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.25rem;
}

.purchase-card-inset--ship {
    border-color: rgba(46, 125, 50, 0.35);
    background: linear-gradient(180deg, #f4faf4 0%, var(--color-bg-light) 100%);
}

.purchase-inset-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 0.5rem;
}

.purchase-summary-dl {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 0;
}

.purchase-summary-dl > div {
    margin: 0;
}

.purchase-summary-dl dt {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin: 0 0 0.15rem;
}

.purchase-summary-dl dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.purchase-inset-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-text-main);
}

.purchase-inset-list li {
    margin-bottom: 0.2rem;
}

.purchase-mono {
    font-family: ui-monospace, monospace;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.purchase-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--color-border);
}

.purchase-card-header {
    background: var(--color-vinyl-dark);
    color: #fff;
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.purchase-card-header h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0;
    font-size: 1.15rem;
}

.purchase-status-badge {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-header);
}

.purchase-card-body {
    padding: 1.75rem;
}

.purchase-product-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1.5px solid var(--color-border);
}

.purchase-product-img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1.5px solid var(--color-border);
    flex-shrink: 0;
}

.purchase-product-info h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.purchase-product-info .purchase-artist {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
}

.purchase-product-info .purchase-price {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
}

.purchase-actions-section h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ===== Error Page ===== */

.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}

.error-vinyl {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #333 0%, var(--color-vinyl-dark) 100%);
    position: relative;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.error-vinyl::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px, transparent 2px,
        rgba(255,255,255,0.04) 2px, rgba(255,255,255,0.04) 4px
    );
}

.error-vinyl::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(231, 111, 81, 0.4);
}

.error-code {
    font-family: var(--font-mono);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-message {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
}

.error-description {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* ===== Alerts ===== */

.alert-retro {
    border-radius: var(--radius-md);
    border: 1.5px solid;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 500;
}

.alert-retro-success {
    background: #f0faf0;
    border-color: #b7e4c7;
    color: #1b5e20;
}

.alert-retro-info {
    background: #f0f7ff;
    border-color: #b3d4fc;
    color: #0d47a1;
}

.alert-retro-warning {
    background: #fff8e1;
    border-color: #ffe082;
    color: #e65100;
}

/* ===== Buttons ===== */

.btn-retro {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.5rem;
    transition: all var(--transition);
    cursor: pointer;
    font-size: 0.92rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08); /* Added shadow for better button affordance */
}

.btn-retro-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-retro-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.3);
    color: #fff;
}

.btn-retro-dark {
    background: var(--color-text-main);
    color: #fff;
}

.btn-retro-dark:hover {
    background: #1d3540;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38, 70, 83, 0.3);
    color: #fff;
}

.btn-retro-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}

.btn-retro-outline:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.2);
}

.btn-retro-secondary {
    background: #e9ecef;
    color: var(--color-text-main);
}

.btn-retro-secondary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.3);
    color: #fff;
}

/* Password Toggle */
.password-toggle-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-wrapper .form-control {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 10;
}

.password-toggle-btn:hover {
    color: var(--color-accent);
}

/* Hide native browser password-reveal button (Edge/Chrome) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* ===== Responsive ===== */

@media (max-width: 991.98px) {
    .products-shell {
        width: calc(100% - 2rem);
    }

    .products-layout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-main-title { font-size: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .turntable { width: 300px; height: 300px; }
    .vinyl-record { width: 220px; height: 220px; }
    .vinyl-slide { flex: 0 0 50%; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 1.85rem; }
    .brand-name { font-size: 1.4rem; }

    .header-center { min-width: 200px; }

    .purchase-product-row {
        flex-direction: column;
        align-items: stretch;
    }

    .purchase-product-img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .header-bbdiscos { padding: 0.6rem 1rem; }

    .header-content {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
    }

    .brand-name { display: none; }

    .header-logo-img { width: 36px; height: 36px; }

    .search-input {
        padding: 0.55rem 3rem 0.55rem 1rem;
        font-size: 0.85rem;
    }

    .profile-btn span { display: none; }
    .profile-btn { padding: 0.5rem 0.65rem; }
    .header-auth-actions { gap: 0.4rem; }

    .hero-section { padding: 2rem 0; }
    .hero-main-title { font-size: 1.6rem; }
    .hero-title { font-size: 1.8rem; }
    .turntable { width: 240px; height: 240px; }
    .vinyl-record { width: 170px; height: 170px; }
    .vinyl-label { width: 65px; height: 65px; }
    .turntable-arm { height: 130px; width: 6px; }

    .carousel-container { padding: 0 55px; }
    .vinyl-slide { flex: 0 0 100%; }
    .carousel-btn { width: 38px; height: 38px; }

    .categories-grid { grid-template-columns: 1fr; }
    .genre-name { font-size: 1.35rem; }

    .section-header { margin-bottom: 2rem; }
    .section-title { font-size: 1.5rem; }

    .featured-section,
    .offers-section,
    .categories-section { padding: 3rem 0; }

    .filters-bar {
        position: static;
        background-color: var(--color-card-bg);
        padding: 1.25rem;
        border-radius: var(--radius-md);
        margin-bottom: 1.5rem;
    }

    .products-shell { width: calc(100% - 1.5rem); }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

    .products-header,
    .sell-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-bbdiscos { padding: 2rem 0 1rem; }
    .footer-container { padding: 0 1.5rem; }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 1.5rem;
        align-items: center;
    }

    .footer-title { font-size: 1.2rem; }
    .social-icon { width: 40px; height: 40px; }

    .sidebar-menu { width: 280px; }
    .category-item { padding: 0.75rem 1.25rem; }

    .sell-form-card { padding: 1.5rem; }

    .profile-user-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .purchase-product-row { flex-direction: column; }
    .purchase-product-img { width: 100%; height: 180px; }
}

@media (max-width: 480px) {
    .auth-row { grid-template-columns: 1fr; }

    .products-grid { grid-template-columns: 1fr; }

    .header-content { gap: 0.5rem; }
    .header-right { gap: 0.5rem; }

    .error-code { font-size: 3.5rem; }
    .error-message { font-size: 1.2rem; }
}
