/* ==========================================================================
   Vendre mes vins — Visual Identity
   Premium wine marketplace — Noble, viticole, élégant
   ========================================================================== */

:root {
    --burgundy: #81011A;
    --burgundy-dark: #5e0013;
    --burgundy-light: #9a1a30;
    --gold: #c9a84c;
    --gold-light: #dcc06a;
    --gold-dark: #b89540;
    --cream: #fff4d4;
    --cream-light: #fefbea;
    --charcoal: #1a1a1a;
    --charcoal-light: #2a2a2a;
    --gray-dark: #333;
    --gray-mid: #565656;
    --gray-light: #f5f5f5;
    --text-light: #ede6da;
    --text-muted-dark: #bfb099;
}

/* ==========================================================================
   Typography
   ========================================================================== */

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--gray-dark);
    background-color: #fafaf8;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 700;
    color: var(--charcoal);
}

/* ==========================================================================
   Buttons & Brand Colors
   ========================================================================== */

.bg-wine {
    background-color: var(--burgundy) !important;
}

/* Ensure headings inside dark backgrounds stay white */
.bg-wine h1, .bg-wine h2, .bg-wine h3,
.bg-wine h4, .bg-wine h5, .bg-wine h6,
.bg-wine .h1, .bg-wine .h2, .bg-wine .h3,
.bg-wine .h4, .bg-wine .h5, .bg-wine .h6,
.card-header.text-white h1, .card-header.text-white h2,
.card-header.text-white h3, .card-header.text-white h4,
.card-header.text-white h5, .card-header.text-white h6 {
    color: #fff;
}

.btn-wine {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-wine:hover, .btn-wine:focus {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: #fff;
}

.btn-outline-wine {
    color: var(--burgundy);
    border-color: var(--burgundy);
    font-weight: 600;
}

.btn-outline-wine:hover, .btn-outline-wine:focus {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

.text-wine {
    color: var(--burgundy) !important;
}

.btn-publish {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
    color: #1a1a1a !important;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35);
    transition: all 0.3s ease;
}

.btn-publish:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
    color: #111 !important;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.5);
    transform: translateY(-1px);
}

/* ==========================================================================
   Navbar — Dark, noble header
   ========================================================================== */

.navbar-wine {
    background: linear-gradient(to bottom, var(--charcoal) 0%, var(--charcoal-light) 100%);
    border-bottom: 3px solid var(--burgundy);
    padding: 0;
}

.navbar-wine .navbar-brand {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    padding: 0.8rem 0;
    color: #fff !important;
}

.navbar-wine .brand-emoji {
    font-size: 1.5rem;
    margin-right: 0.3rem;
}

.navbar-wine .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.8rem 1rem;
    transition: color 0.2s, background 0.2s;
    border-bottom: 2px solid transparent;
}

.navbar-wine .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255,255,255,0.05);
    border-bottom-color: var(--gold);
}

.navbar-wine .search-form .form-control {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.85rem;
}

.navbar-wine .search-form .form-control::placeholder {
    color: rgba(255,255,255,0.65);
}

.navbar-wine .search-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.15rem rgba(201, 168, 76, 0.25);
    color: #fff;
}

.navbar-wine .search-form .btn {
    border-color: rgba(255,255,255,0.3);
    color: var(--text-light);
}

.navbar-wine .search-form .btn:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

/* ==========================================================================
   Hero Section — Dramatic wine-themed hero
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--burgundy-dark) 50%, var(--burgundy) 100%);
    color: #fff;
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(129,1,26,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}

.hero-section .lead {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 1.15rem;
    opacity: 0.9;
    color: var(--text-light);
}

.hero-section .form-control-lg {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    font-size: 1rem;
}

.hero-section .form-control-lg::placeholder {
    color: rgba(255,255,255,0.7);
}

.hero-section .form-control-lg:focus {
    background: rgba(255,255,255,0.22);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.3);
    color: #fff;
}

.hero-section .btn-light {
    background: rgba(255,255,255,0.9);
    color: var(--burgundy);
    font-weight: 600;
    border: none;
}

.hero-section .btn-light:hover {
    background: #fff;
    color: var(--burgundy-dark);
}

/* ==========================================================================
   Annonce Cards — Elegant, wine-themed cards
   ========================================================================== */

.annonce-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
}

.annonce-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(129,1,26,0.12);
}

.annonce-card .no-image {
    height: 200px;
    background: linear-gradient(135deg, #f0ece4, #e8e0d0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0b090;
    font-size: 3rem;
}

.annonce-card .card-body {
    padding: 1rem;
}

.annonce-card .card-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.35;
}

.annonce-card .card-text.text-wine {
    font-size: 1.15rem;
    color: var(--burgundy) !important;
}

.annonce-card .card-footer {
    border-top: 1px solid #f0ece4;
    padding: 0.6rem 1rem;
}

.annonce-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.badge-sold {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    background: var(--gray-mid) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   France Map
   ========================================================================== */

.france-map-container {
    max-width: 900px;
    margin: 2.5rem auto 1rem;
    padding: 0 1rem;
}

.france-map-container h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--charcoal);
    font-size: 1.5rem;
}

.france-map-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
}

.france-map-metro {
    flex: 1 1 400px;
    max-width: 550px;
}

.france-map-svg {
    width: 100%;
    height: auto;
}

.region-path {
    fill: #e8d5d8;
    stroke: #fff;
    stroke-width: 2;
    transition: fill 0.3s ease, stroke-width 0.15s ease;
    cursor: pointer;
}

.region-path:hover {
    fill: var(--burgundy);
    stroke-width: 2.5;
}

.region-path.has-annonces {
    fill: #c48b94;
}

.region-path.has-annonces:hover {
    fill: var(--burgundy);
}

/* Overseas territory boxes */
.france-map-overseas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.overseas-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.9rem;
    background: #e8d5d8;
    border-radius: 6px;
    text-decoration: none;
    color: var(--gray-dark);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease;
    min-width: 160px;
}

.overseas-box:hover {
    background: var(--burgundy);
    color: #fff;
}

.overseas-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Map tooltip */
.map-tooltip {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    background: rgba(26, 26, 26, 0.94);
    color: #fff;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-left: 3px solid var(--burgundy);
}

.map-tooltip-name {
    display: block;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 700;
}

.map-tooltip-count {
    display: block;
    font-size: 0.78rem;
    opacity: 0.8;
}

/* Responsive map */
@media (max-width: 600px) {
    .france-map-container {
        margin-top: 1.5rem;
    }
    .france-map-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .france-map-overseas {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .overseas-box {
        min-width: auto;
    }
}

/* ==========================================================================
   Image Gallery & Lightbox
   ========================================================================== */

.gallery-main-img {
    max-height: 500px;
    object-fit: contain;
    background: #f8f8f6;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-thumb-btn {
    width: 80px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    transition: border-color 0.2s;
}

.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb-btn:hover,
.gallery-thumb-btn.active {
    border-color: var(--burgundy);
}

.gallery-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0ece4, #e8e0d0);
    border-radius: 8px;
    color: #c0b090;
    font-size: 5rem;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    padding: 1rem 0.8rem;
    border-radius: 4px;
    z-index: 10000;
    transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(129,1,26,0.5);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.5);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* ==========================================================================
   Section Headings
   ========================================================================== */

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--burgundy);
    border-radius: 2px;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb-bar {
    background: var(--gray-light);
    border-bottom: 1px solid #e8e0d0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    color: var(--text-muted-dark);
}

.breadcrumb-item a {
    color: var(--burgundy);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

/* ==========================================================================
   CTA Section (publish box)
   ========================================================================== */

.cta-publish {
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 100%);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.cta-publish h3 {
    color: var(--burgundy);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   Footer — Dark, noble
   ========================================================================== */

.footer-wine {
    background: linear-gradient(to bottom, var(--charcoal) 0%, #111 100%);
    color: var(--text-light);
    border-top: 3px solid var(--burgundy);
}

.footer-wine h5 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.footer-wine a {
    color: var(--text-muted-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-wine a:hover {
    color: var(--gold);
}

.footer-wine .footer-brand {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.04em;
}

.footer-wine .footer-description {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-wine hr {
    border-color: rgba(255,255,255,0.1);
}

.footer-wine .copyright {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
}

/* ==========================================================================
   Search Filters
   ========================================================================== */

.search-filters .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--gray-dark);
}

.filter-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.filter-card .card-header {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: #fff;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.filter-card .card-header h1,
.filter-card .card-header h2,
.filter-card .card-header h3,
.filter-card .card-header h4,
.filter-card .card-header h5,
.filter-card .card-header h6 {
    color: #fff;
}

/* ==========================================================================
   Contact Form Card
   ========================================================================== */

.contact-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-card .card-header {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: #fff;
}

.contact-card .card-header h1,
.contact-card .card-header h2,
.contact-card .card-header h3,
.contact-card .card-header h4,
.contact-card .card-header h5,
.contact-card .card-header h6,
.contact-card .card-header .h1,
.contact-card .card-header .h2,
.contact-card .card-header .h3,
.contact-card .card-header .h4,
.contact-card .card-header .h5,
.contact-card .card-header .h6 {
    color: #fff;
}

/* ==========================================================================
   Annonce Detail page
   ========================================================================== */

.annonce-price {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    color: var(--burgundy);
    font-weight: 700;
}

.annonce-description {
    line-height: 1.7;
    color: var(--gray-dark);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .annonce-card .card-img-top,
    .annonce-card .no-image {
        height: 160px;
    }

    .lightbox-prev, .lightbox-next {
        font-size: 1.5rem;
        padding: 0.5rem 0.5rem;
    }

    .btn-publish {
        font-size: 0.78rem;
        padding: 0.4rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Decorative separator
   ========================================================================== */

.wine-separator {
    border: none;
    border-top: 1px solid #e0d6c8;
    margin: 2.5rem 0;
}

/* ==========================================================================
   Contrast fixes — WCAG AA compliance
   ========================================================================== */

/* Strengthen muted text for readability (Bootstrap default #6c757d → #595f64) */
.text-muted {
    color: #595f64 !important;
}

/* Ensure labels and form text are readable */
.form-label {
    color: var(--gray-dark);
    font-weight: 500;
}

/* Placeholder contrast (WCAG requires 3:1 min for input text) */
::placeholder {
    color: #767b82 !important;
    opacity: 1;
}

/* Ensure small text in cards stays readable */
.annonce-card .card-footer small {
    color: #595f64;
}

/* ==========================================================================
   Form styling
   ========================================================================== */

.form-control:focus,
.form-select:focus {
    border-color: var(--burgundy-light);
    box-shadow: 0 0 0 0.2rem rgba(129, 1, 26, 0.15);
}

/* ==========================================================================
   Alert styling
   ========================================================================== */

.alert-wine {
    background-color: #f8e8ea;
    border-color: #e0c0c4;
    color: var(--burgundy-dark);
}

/* ==========================================================================
   Wizard Form (multi-step annonce creation)
   ========================================================================== */

.wizard-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 0.5rem;
    position: relative;
    padding: 0 2rem;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Connector line between steps */
.wizard-step::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -50%;
    right: 50%;
    height: 2px;
    background: #e0e0e0;
    transition: background 0.4s ease;
}

.wizard-step:first-child::before {
    display: none;
}

.wizard-step.active::before,
.wizard-step.completed::before {
    background: var(--burgundy);
}

/* Step icon (emoji) */
.wizard-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: #f0ece4;
    border: 2px solid #e0e0e0;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.wizard-step.active .wizard-step-icon {
    background: #fff;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 4px rgba(129, 1, 26, 0.12), 0 2px 8px rgba(129, 1, 26, 0.2);
    transform: scale(1.1);
}

.wizard-step.completed .wizard-step-icon {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
    font-size: 0;
}

.wizard-step.completed .wizard-step-icon::after {
    content: '\2713';
    font-size: 1.2rem;
    color: #fff;
}

.wizard-step-label {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.wizard-step.active .wizard-step-label {
    color: var(--burgundy);
}

.wizard-step.completed .wizard-step-label {
    color: var(--gray-dark);
}

/* Progress bar */
.wizard-progress {
    height: 4px;
    background: #e8e0d0;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.wizard-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--gold) 100%);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Wizard card */
.wizard-card {
    border-top: 3px solid var(--burgundy) !important;
}

/* Panels */
.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
    animation: wizardFadeIn 0.35s ease;
}

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

/* Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0ece4;
}

/* Contact hint badge */
.wizard-contact-hint {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: #f0ece4;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--gray-dark);
}

.wizard-contact-hint i {
    font-size: 1.2rem;
    color: var(--burgundy);
}

/* Image upload drop zone */
.image-dropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    background: #fafaf8;
}

.image-dropzone:hover,
.image-dropzone.dragover {
    border-color: var(--burgundy);
    background: #fdf5f6;
}

.image-dropzone i {
    font-size: 2.5rem;
    color: #bbb;
    margin-bottom: 0.5rem;
    display: block;
}

.image-dropzone p {
    color: #888;
    margin-bottom: 0.25rem;
}

.image-dropzone .text-muted {
    font-size: 0.8rem;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f0ece4;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1;
}

.image-preview-item .remove-btn:hover {
    background: var(--burgundy);
}

@media (max-width: 576px) {
    .image-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wizard-steps {
        padding: 0 0.5rem;
    }

    .wizard-step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .wizard-step-label {
        font-size: 0.65rem;
    }

    .wizard-step::before {
        top: 20px;
    }
}

/* ==========================================================================
   Wine detail badges
   ========================================================================== */

.wine-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.badge.bg-wine-detail {
    background-color: #f0e6e8;
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.35em 0.65em;
    border: 1px solid #e0c0c4;
}

/* ==========================================================================
   Social sharing
   ========================================================================== */

.social-sharing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-sharing .btn {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1rem;
}

.social-sharing .copy-feedback {
    font-size: 0.8rem;
    color: var(--burgundy);
    font-weight: 600;
}

/* ==========================================================================
   How it works page
   ========================================================================== */

.how-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.how-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cream) 0%, #f0e6e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--burgundy);
    border: 2px solid var(--burgundy-light);
}

.how-step h3 {
    font-size: 1.1rem;
    color: var(--burgundy);
}

.how-step p {
    font-size: 0.9rem;
    color: var(--gray-mid);
}

/* ==========================================================================
   Alert subscription form
   ========================================================================== */

.alert-subscribe-card {
    border: 2px dashed var(--burgundy-light);
    border-radius: 10px;
    background: linear-gradient(135deg, #fefbf5, #fdf5f6);
    padding: 1.5rem;
}

.alert-subscribe-card h5 {
    color: var(--burgundy);
    font-family: Georgia, 'Times New Roman', Times, serif;
}
