/* ==========================================================================
   STRUMENTI MUSICALI ARTIGIANALI - MAURIZIO BUCALO OFFICIAL
   Luxury Lutherie & Artisanal Masterpiece Showcase
   Aesthetic: Warm Walnut, Ebony, Satin Amber Gold & Noble Serif Typography
   ========================================================================== */

:root {
    --bg-dark: #090807;
    --bg-surface: #12100d;
    --bg-surface-elevated: #1a1713;
    --bg-card: rgba(22, 19, 15, 0.90);
    --bg-card-hover: rgba(30, 26, 20, 0.98);
    --border-subtle: rgba(217, 119, 6, 0.18);
    --border-gold: rgba(245, 158, 11, 0.42);
    --border-accent: rgba(217, 119, 6, 0.30);
    
    --primary-neon: #d97706;
    --accent-neon: #f59e0b;
    --cyber-cyan: #e2d9cc;
    --gold: #d97706;
    --gold-light: #fbbf24;
    --gold-dark: #92400e;
    --gold-amber: #f59e0b;
    --wood-warm: #92400e;
    --wood-deep: #451a03;
    --wood-honey: #b45309;
    
    --text-main: #fcf9f2;
    --text-secondary: #e6dfd5;
    --text-muted: #a89f91;
    --text-dim: #736b5e;
    
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.65);
    --shadow-gold: 0 0 30px rgba(217, 119, 6, 0.22);
    --shadow-amber: 0 0 25px rgba(245, 158, 11, 0.25);
    --shadow-orange: 0 0 25px rgba(217, 119, 6, 0.20);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.6;
    background: radial-gradient(circle at 50% 8%, #1f1a14 0%, #0d0b09 45%, #070605 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: var(--text-main);
}

/* Background Atmosphere & Ambient Lutherie Glow */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.06) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

/* Top Glow Line */
.header-top-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #451a03, #92400e, #d97706, #fbbf24, #d97706, #92400e, #451a03);
    z-index: 1000;
}

/* Top Navbar */
.craft-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(14, 12, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 900;
    gap: 16px;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d97706, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    color: #090807;
    box-shadow: 0 0 16px rgba(217, 119, 6, 0.45);
    letter-spacing: -1px;
}

.brand-text-col {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-nav-home {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-nav-home:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: var(--gold-light);
}

.btn-nav-register {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(245, 158, 11, 0.3));
    color: var(--gold-light);
    border-color: var(--border-gold);
}

.btn-nav-register:hover {
    background: linear-gradient(135deg, #d97706, #fbbf24);
    color: #090807;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
}

.btn-nav-login {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border-color: var(--border-subtle);
}

.btn-nav-login:hover {
    background: rgba(217, 119, 6, 0.18);
    color: var(--gold-light);
    border-color: var(--gold);
}

/* Main Container */
.craft-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Hero Section - Split Visual Lutherie Showcase
   ========================================================================== */
.craft-hero {
    position: relative;
    padding: 44px 36px;
    background: linear-gradient(135deg, rgba(28, 24, 19, 0.92) 0%, rgba(16, 14, 11, 0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft), var(--shadow-gold);
    margin-bottom: 36px;
    overflow: hidden;
}

.craft-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.16) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.craft-hero-split {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(217, 119, 6, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-pill-badge .dot-ping {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 8px var(--gold-light);
    animation: ping 2s infinite;
}

@keyframes ping {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.craft-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.6vw, 2.85rem);
    font-weight: 900;
    line-height: 1.18;
    background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 75%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.craft-hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    font-style: italic;
}

.craft-hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.68;
    margin-bottom: 26px;
}

.craft-hero-desc strong {
    color: #ffffff;
    font-weight: 700;
}

.craft-hero-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #fbbf24, #d97706, #92400e);
    color: #090807;
    box-shadow: 0 0 25px rgba(217, 119, 6, 0.45);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.65);
    filter: brightness(1.08);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid var(--border-gold);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(217, 119, 6, 0.16);
    border-color: var(--gold-light);
    color: var(--gold-light);
    box-shadow: 0 0 25px rgba(217, 119, 6, 0.35);
    transform: translateY(-2px);
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Spotlight Masterpiece Card */
.craft-hero-spotlight {
    position: relative;
}

.masterpiece-card {
    background: rgba(22, 19, 15, 0.88);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(217, 119, 6, 0.22);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.masterpiece-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-light);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.4);
}

.masterpiece-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(9, 8, 7, 0.88);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.masterpiece-img-box {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #14120e;
}

.masterpiece-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.masterpiece-card:hover .masterpiece-img {
    transform: scale(1.06);
}

.masterpiece-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 8, 7, 0.1) 0%, rgba(9, 8, 7, 0.75) 100%);
}

.masterpiece-content {
    padding: 20px;
}

.masterpiece-artisan {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 6px;
}

.masterpiece-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.masterpiece-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.masterpiece-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.masterpiece-tag {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 600;
}

.masterpiece-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-light);
}

/* ==========================================================================
   Live Stats Strip
   ========================================================================== */
.craft-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    border-color: var(--border-gold);
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-icon-orange { background: rgba(217, 119, 6, 0.16); color: var(--gold-light); }
.stat-icon-gold   { background: rgba(245, 158, 11, 0.16); color: var(--gold-light); }
.stat-icon-cyan   { background: rgba(226, 217, 204, 0.14); color: var(--text-secondary); }
.stat-icon-pink   { background: rgba(37, 211, 102, 0.16); color: #25d366; }

.stat-info-col {
    display: flex;
    flex-direction: column;
}

.stat-num-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.stat-label-val {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Visual Photographic Category Hub
   ========================================================================== */
.visual-category-hub {
    margin-bottom: 40px;
}

.section-title-wrap {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 28px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-main-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.section-sub-heading {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cat-card {
    position: relative;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.cat-card:hover, .cat-card:focus {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(217, 119, 6, 0.3);
    outline: none;
}

.cat-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-card:hover .cat-card-bg {
    transform: scale(1.08);
}

.cat-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 8, 7, 0.15) 0%, rgba(9, 8, 7, 0.75) 55%, rgba(9, 8, 7, 0.96) 100%);
    transition: background 0.3s ease;
}

.cat-card:hover .cat-card-gradient {
    background: linear-gradient(180deg, rgba(9, 8, 7, 0.05) 0%, rgba(9, 8, 7, 0.65) 50%, rgba(9, 8, 7, 0.94) 100%);
}

.cat-card-body {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.cat-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(217, 119, 6, 0.22);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 6px;
    backdrop-filter: blur(4px);
}

.cat-card-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.25;
}

.cat-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.cat-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-light);
    transition: gap 0.25s ease, color 0.25s ease;
}

.cat-card:hover .cat-card-cta {
    gap: 10px;
    color: #ffffff;
}

/* ==========================================================================
   Main Navigation Tabs
   ========================================================================== */
.craft-main-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(18, 16, 13, 0.88);
    border: 1px solid var(--border-subtle);
    border-radius: 40px;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.craft-main-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 30px;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(245, 158, 11, 0.3));
    color: var(--gold-light);
    border-color: var(--border-gold);
    box-shadow: 0 0 16px rgba(217, 119, 6, 0.35);
}

.tab-badge {
    padding: 2px 7px;
    border-radius: 10px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* ==========================================================================
   Catalog Filter Bar & Fast Chips
   ========================================================================== */
.catalog-filter-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 22px;
    backdrop-filter: blur(14px);
    margin-bottom: 24px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(14, 12, 10, 0.85);
    border: 1px solid rgba(217, 119, 6, 0.25);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
    background: rgba(18, 16, 13, 0.95);
}

.filter-actions {
    display: flex;
    align-items: center;
}

.btn-filter-reset {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-filter-reset:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: var(--border-gold);
}

.category-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.cat-badge-fast {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-badge-fast:hover {
    background: rgba(217, 119, 6, 0.12);
    border-color: var(--gold);
    color: #ffffff;
}

.cat-badge-fast.active {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.3), rgba(245, 158, 11, 0.35));
    border-color: var(--gold-light);
    color: var(--gold-light);
    font-weight: 800;
    box-shadow: 0 0 14px rgba(217, 119, 6, 0.3);
}

/* ==========================================================================
   Catalog Status Strip
   ========================================================================== */
.catalog-status-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.catalog-count-badge {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 600;
    background: rgba(22, 19, 15, 0.8);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 20px;
}

.catalog-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.filter-select-sm {
    background: rgba(18, 16, 13, 0.9);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    cursor: pointer;
}

.filter-select-sm:focus {
    outline: none;
    border-color: var(--gold-light);
}

/* Grid Layouts */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

/* ==========================================================================
   Instrument Card - Luxury Lutherie E-Commerce
   ========================================================================== */
.instrument-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.instrument-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-light);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(217, 119, 6, 0.25);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    background: #14120e;
    overflow: hidden;
    cursor: pointer;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instrument-card:hover .card-img {
    transform: scale(1.06);
}

.card-img-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 8, 7, 0.2) 0%, rgba(9, 8, 7, 0.45) 60%, rgba(9, 8, 7, 0.88) 100%);
    pointer-events: none;
}

.card-badge-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(9, 8, 7, 0.88);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    z-index: 3;
}

.card-badge-avail {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.avail-ready {
    background: rgba(16, 185, 129, 0.9);
    color: #ffffff;
    border: 1px solid #10b981;
}

.avail-order {
    background: rgba(217, 119, 6, 0.9);
    color: #ffffff;
    border: 1px solid #f59e0b;
}

.avail-sold {
    background: rgba(239, 68, 68, 0.85);
    color: #ffffff;
    border: 1px solid #ef4444;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Prominent Artisan Header on Instrument Card */
.card-artisan-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(217, 119, 6, 0.16);
    border-radius: 10px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.card-artisan-header:hover {
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(245, 158, 11, 0.4);
}

.card-artisan-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.card-artisan-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.card-artisan-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--gold-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-artisan-location {
    font-size: 0.74rem;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-artisan-works {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-artisan-works:hover {
    background: var(--gold);
    color: #090807;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.2s ease;
}

.card-title:hover {
    color: var(--gold-light);
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-specs-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.card-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-price-col {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 700;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold-light);
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-card-detail {
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-card-detail:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.btn-card-contact {
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(37, 211, 102, 0.35);
    transition: all 0.2s ease;
}

.btn-card-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   Artisan Card - Masters & Botteghe Showcase
   ========================================================================== */
.artisan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.artisan-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-light);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(217, 119, 6, 0.25);
}

.artisan-header-banner {
    position: relative;
    height: 125px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.artisan-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 8, 7, 0.3) 0%, rgba(9, 8, 7, 0.88) 100%);
}

.artisan-badge-region {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(9, 8, 7, 0.88);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.74rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.artisan-avatar-wrap {
    position: absolute;
    bottom: -36px;
    left: 22px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    background: #14120e;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.artisan-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artisan-card-body {
    padding: 46px 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.artisan-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.artisan-name {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(217, 119, 6, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.artisan-workshop {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.artisan-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.artisan-bio {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artisan-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.artisan-spec-tag {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(217, 119, 6, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
}

.artisan-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.btn-artisan-catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: rgba(217, 119, 6, 0.18);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-artisan-catalog-link:hover {
    background: var(--gold);
    color: #090807;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-lg);
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.8;
}

.empty-state-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.empty-state-desc {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Form Sections (Registration, Artisan, Admin) */
.craft-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft), var(--shadow-gold);
    margin-bottom: 50px;
}

.form-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 36px;
}

.form-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 20px;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.form-header-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
}

.form-header-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.form-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.col-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label .required-star {
    color: #ff4e00;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: rgba(8, 9, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.25s ease;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(255, 183, 3, 0.4);
    background: rgba(14, 15, 24, 0.95);
}

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

.form-hint {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* File Upload Dropzone */
.file-dropzone {
    border: 2px dashed rgba(255, 183, 3, 0.4);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    background: rgba(255, 183, 3, 0.03);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.file-dropzone:hover, .file-dropzone.dragover {
    border-color: var(--gold);
    background: rgba(255, 183, 3, 0.08);
}

.dropzone-icon {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.dropzone-text {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.dropzone-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.file-hidden-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-gold);
}

/* Checkbox Groups */
.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.92rem;
    color: #d1d1de;
    line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Submit Button */
.btn-form-submit {
    width: 100%;
    padding: 16px 28px;
    border-radius: 40px;
    background: linear-gradient(135deg, #ffe066, #ffb703, #ff4e00);
    border: none;
    color: #07070c;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.45);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-form-submit:hover {
    box-shadow: 0 0 35px rgba(255, 183, 3, 0.7);
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Admin & Artisan Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    margin-bottom: 24px;
}

.craft-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.craft-table th {
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    color: var(--gold-light);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border-subtle);
}

.craft-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e4e4ee;
    vertical-align: middle;
}

.craft-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.table-img-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-status {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-approved {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-suspended {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.table-actions-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action-sm {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-action-approve {
    background: #10b981;
    color: #ffffff;
}

.btn-action-approve:hover {
    background: #059669;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.btn-action-reject {
    background: #ef4444;
    color: #ffffff;
}

.btn-action-reject:hover {
    background: #dc2626;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.btn-action-edit {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-action-edit:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Modals */
.craft-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.craft-modal.open {
    display: flex;
    animation: modalFadeIn 0.25s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.craft-modal-dialog {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-gold);
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}

.btn-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.btn-modal-close:hover {
    background: #ff4e00;
    border-color: #ff4e00;
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
}

/* Toast Notifications */
.craft-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.craft-toast {
    background: rgba(18, 20, 32, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    animation: toastSlideIn 0.3s ease forwards;
    max-width: 420px;
}

.craft-toast.toast-success {
    border-color: #10b981;
}

.craft-toast.toast-success i {
    color: #10b981;
    font-size: 1.3rem;
}

.craft-toast.toast-error {
    border-color: #ef4444;
}

.craft-toast.toast-error i {
    color: #ef4444;
    font-size: 1.3rem;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .craft-navbar {
        padding: 12px 18px;
    }
    
    .craft-hero {
        padding: 40px 24px;
    }
    
    .craft-form-card {
        padding: 26px 18px;
    }
}

@media (max-width: 600px) {
    .craft-hero-cta-row {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Artisan Profile Avatar & Image Upload Styles
   ========================================================================== */
.artisan-dash-avatar-container {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.artisan-dash-avatar-container:hover {
    transform: scale(1.06);
    border-color: var(--gold-light) !important;
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.5) !important;
}

.artisan-dash-avatar-container:hover .artisan-dash-avatar-edit-badge {
    background: rgba(255, 183, 3, 0.95) !important;
    color: #07070c !important;
}

.artisan-profile-photo-box {
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.artisan-profile-photo-box:hover {
    border-color: rgba(255, 183, 3, 0.45) !important;
    background: rgba(255, 255, 255, 0.035) !important;
}

/* ==========================================================================
   E-Commerce Catalog & Instrument Photo Gallery Styles
   ========================================================================== */
.inst-photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.inst-photo-item {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
    background: #11121d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.inst-photo-item:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
}

.inst-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inst-photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(239, 68, 68, 0.88);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.inst-photo-remove:hover {
    background: #ef4444;
    transform: scale(1.15);
}

.inst-photo-badge-main {
    position: absolute;
    bottom: 3px;
    left: 3px;
    background: rgba(0,0,0,0.75);
    color: var(--gold-light);
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 700;
}

.catalog-spec-item {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.catalog-spec-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.catalog-spec-value {
    font-size: 0.92rem;
    color: #ffffff;
    font-weight: 500;
}

/* ==========================================================================
   Curated Empty State for Catalog in Restocking / Zero Instruments
   ========================================================================== */
.catalog-empty-curated {
    text-align: center;
    padding: 60px 32px;
    background: linear-gradient(135deg, rgba(28, 24, 19, 0.95) 0%, rgba(16, 14, 11, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(217, 119, 6, 0.22);
    grid-column: 1 / -1;
    max-width: 920px;
    margin: 20px auto 40px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.empty-curated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(217, 119, 6, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.empty-curated-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 18px;
    filter: drop-shadow(0 0 20px rgba(217, 119, 6, 0.5));
}

.empty-curated-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.empty-curated-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.68;
    max-width: 680px;
    margin: 0 auto 28px;
}

.empty-curated-desc strong {
    color: var(--gold-light);
}

.empty-curated-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
