:root {
    /* Oyster House Vintage — Coastal Palette */
    --maroon: #1B3557;         /* deep navy — primary */
    --orange: #9B2335;         /* nautical red — accent */
    --beige: #EDE8DF;          /* worn canvas */
    --dark-maroon: #122440;    /* dark navy */
    --light-beige: #F8F4EE;    /* warm cream */
    --sea-glass: #7BADA8;      /* sea glass teal */
    --text-dark: #2B2826;      /* driftwood charcoal */
    --text-light: #FFFFFF;
    --danger: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
    background-color: var(--light-beige);
    line-height: 1.8;
    font-size: 18px;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* NAVIGATION */
.navbar {
    background-color: #F5F1EA;
    padding: 0.3rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 420px;
    object-fit: contain;
}

.logo-text-link {
    text-decoration: none;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--maroon);
    text-transform: uppercase;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--maroon);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--maroon);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--maroon);
    color: #F5F1EA;
}

/* MAIN CONTENT */
main {
    min-height: calc(100vh - 200px);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* HOME PAGE */
.hero {
    background: linear-gradient(135deg, #F7F7F2 0%, #E8E6E1 100%);
    color: var(--text-dark);
    padding: 0;
    text-align: center;
    overflow: hidden;
}

/* Pinterest Banner - Navigation Cards */
.pinterest-banner {
    width: 100%;
    background: rgba(255,255,255,0.5);
    padding: 2rem 0;
    border-bottom: 2px solid var(--orange);
}

.pinterest-track {
    display: flex;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
    padding: 0 1rem;
}

.pinterest-pin {
    position: relative;
    flex: 1;
    max-width: 450px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    cursor: pointer;
    text-decoration: none;
}

.pinterest-pin:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.pinterest-pin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pinterest-pin:hover img {
    transform: scale(1.05);
}

.nav-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(155, 35, 53, 0.95), rgba(155, 35, 53, 0.7), transparent);
    padding: 1.5rem 1rem 1rem;
    color: white;
    text-align: center;
}

.nav-card-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--maroon);
    text-shadow: none;
    letter-spacing: 0.25em;
    font-weight: 400;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.social-links {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--orange);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 119, 34, 0.4);
}

.mission {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--maroon);
    border-radius: 10px;
    color: var(--text-light);
}

.mission h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--orange);
}

/* COUNTDOWN */
.countdown-container {
    margin: 3rem auto;
    max-width: 600px;
    background: var(--maroon);
    padding: 2rem;
    border-radius: 10px;
    color: var(--text-light);
}

.countdown-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--orange);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(74, 0, 36, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 100px;
    border: 2px solid var(--orange);
}

.time {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    font-family: 'Cormorant Garamond', serif;
}

.label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
    text-transform: uppercase;
}

/* HOKIES EVENTS SECTION */
.hokies-events-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--maroon);
    border-radius: 10px;
    overflow: visible;
}

.hokies-events-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--orange);
    text-align: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.event-card {
    background: rgba(74, 0, 36, 0.5);
    border: 2px solid var(--orange);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 120px;
    align-items: flex-start;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.event-date-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.event-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 0.2rem;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.event-time,
.event-location,
.event-description {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
    margin: 0.25rem 0;
}

.event-description {
    margin-top: 0.5rem;
    line-height: 1.4;
}

.event-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.event-link:hover {
    opacity: 0.8;
}

/* SHOP PAGE */
.shop-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    border-bottom: 2px solid var(--maroon);
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--orange);
}

.tab-btn.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.tab-content {
    display: none;
    padding: 0.5rem 0 2rem;
}

.tab-content.active {
    display: block;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Mobile-only visibility helpers */
.show-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .item-details {
        padding: 0.5rem 0.6rem 0.75rem;
    }

    .item-details h3 {
        font-size: 0.8rem;
    }

    .item-price {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .item-size {
        margin: 0;
    }

    .item-size small {
        color: #999;
        font-size: 0.75rem;
    }

    .hide-mobile {
        display: none !important;
    }

    .show-mobile-only {
        display: block;
    }
}

/* Product Detail Modal */
.product-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: row;
}

.product-modal-close {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.product-modal-close:hover {
    color: var(--orange);
}

.product-modal-image {
    width: 50%;
    min-height: 350px;
    position: relative;
    background: var(--beige);
    border-radius: 15px 0 0 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-modal-details {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-modal-details h2 {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.product-modal-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.product-modal-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-modal-desc {
    color: #444;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-modal-actions {
    display: flex;
    gap: 0.75rem;
}

.product-modal-actions button {
    flex: 1;
    padding: 0.75rem;
}

@media (max-width: 768px) {
    .product-modal-content {
        flex-direction: column;
        width: 95%;
        max-height: 95vh;
    }

    .product-modal-image {
        width: 100%;
        min-height: 280px;
        border-radius: 15px 15px 0 0;
    }

    .product-modal-details {
        padding: 1.25rem;
    }
}

.item-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ece9e4;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.item-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f5f3f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.image-carousel {
    position: absolute;
    inset: 0;
}

.placeholder {
    font-size: 1.2rem;
}

.item-details {
    padding: 0.85rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.item-actions {
    margin-top: auto;
}

.item-details h3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.item-size-tag {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.item-description {
    color: #666;
    margin-bottom: 1rem;
}

.item-price {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.upcoming-info {
    text-align: center;
    padding: 4rem 2rem;
}

.upcoming-info h2 {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

/* SELLER FORM */
.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.seller-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--beige);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.form-group small {
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.estimate-result {
    background: var(--beige);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
    border: 3px solid var(--orange);
}

.estimate-result h3 {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.estimate-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.estimate-note {
    color: #666;
    font-size: 0.9rem;
}

.submission-success {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.submission-success h2 {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

/* BROWSE PAGE */
.search-filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.search-filters input,
.search-filters select {
    padding: 0.75rem;
    border: 2px solid var(--beige);
    border-radius: 5px;
    font-size: 1rem;
}

.search-filters input {
    flex: 1;
    min-width: 200px;
}

.marketplace-results {
    margin-top: 2rem;
}

.info-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--orange);
    margin-bottom: 2rem;
}

.info-box h3 {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.info-box .note {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--beige);
    border-radius: 5px;
}

/* BUTTONS */
.btn-primary {
    background: var(--orange);
    color: var(--text-light);
    padding: 0.85rem 2.5rem;
    border: 2px solid var(--orange);
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: transparent;
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.btn-secondary {
    background: transparent;
    color: var(--orange);
    padding: 0.85rem 2.5rem;
    border: 2px solid var(--maroon);
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--maroon);
    color: var(--text-light);
}

/* FOOTER */
footer {
    background: var(--maroon);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--orange);
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .logo-image {
        height: 44px;
        max-width: 200px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--maroon);
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 1rem;
        border-radius: 0;
        display: block;
        text-align: center;
        color: #F5F1EA;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background-color: rgba(255,255,255,0.15);
        color: #F5F1EA;
    }

    .nav-links li:last-child {
        display: flex;
        justify-content: center;
    }

    .nav-links .cart-btn svg,
    .nav-links .account-btn svg {
        stroke: #F5F1EA;
    }

    .nav-links .cart-btn {
        display: inline-flex;
        justify-content: center;
        width: auto;
        padding: 1rem;
        position: relative;
    }

    .shop-tabs {
        gap: 0.25rem;
    }

    .tab-btn {
        padding: 0.75rem 0.75rem;
        font-size: 0.9rem;
        flex: 1;
        text-align: center;
        white-space: nowrap;
    }

    .pinterest-track {
        flex-wrap: wrap;
    }

    .pinterest-pin {
        min-width: 160px;
        height: 200px;
    }

    .nav-card-overlay h3 {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .time-box {
        min-width: 70px;
        padding: 1rem;
    }

    .time {
        font-size: 1.8rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .search-filters {
        flex-direction: column;
    }

    .search-filters input,
    .search-filters select {
        width: 100%;
    }

    .container {
        padding: 2rem 0.75rem;
    }

    .seller-form {
        padding: 1rem;
        overflow: hidden;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 1.5rem 0.5rem;
    }

    .seller-form {
        padding: 0.75rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ==========================================
   DROP MANAGEMENT - FRONTEND STYLES
   ========================================== */

/* Upcoming Drops Countdown Cards */
.upcoming-drop-card {
    background: rgba(74, 0, 36, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--orange);
    margin-bottom: 2rem;
}

.upcoming-drop-card h3 {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.drop-desc {
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.drop-date {
    color: var(--text-light);
    opacity: 0.8;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.no-upcoming-drops {
    text-align: center;
    padding: 3rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.drop-live-now {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    border: 2px solid var(--success);
    margin-bottom: 2rem;
}

.drop-live-now h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.live-badge {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Drop Headers in Shop */
.drop-header {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 3px solid var(--orange);
    margin-bottom: 2rem;
}

.drop-name {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.drop-description {
    color: #666;
    margin-bottom: 1rem;
}

/* Upcoming Drops Preview Tab */
.upcoming-drop-preview {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.drop-preview-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.drop-preview-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.drop-preview-info {
    padding: 2rem;
}

.drop-preview-info h3 {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.drop-preview-info .drop-stats {
    color: #666;
    margin: 0.5rem 0;
}

.drop-schedule {
    font-weight: 600;
    color: var(--orange);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .upcoming-drop-preview {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .drop-preview-images {
        height: auto;
    }

    .drop-preview-images img {
        height: 120px;
    }

    .drop-preview-info {
        padding: 1.25rem;
    }

    .drop-preview-info h3 {
        font-size: 1.5rem;
    }

    .drop-header {
        padding: 0.75rem 0;
    }

    .drop-name {
        font-size: 2rem;
    }

    .upcoming-drop-card h3 {
        font-size: 1.5rem;
    }
}

/* ==============================
   EBAY INTEGRATION STYLES
   ============================== */

/* Browse page controls */
.browse-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.browse-controls select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-beige);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.browse-controls select:hover {
    border-color: var(--orange);
}

/* eBay listing cards */
.ebay-listing-card {
    background: white;
    border: 2px solid var(--light-beige);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.ebay-listing-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.ebay-listing-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f5f5f5;
}

.ebay-listing-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--orange);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ebay-listing-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--orange);
    margin: 0.5rem 0;
}

.ebay-listing-card .condition {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.ebay-listing-card .btn-primary {
    margin-top: auto;
    text-align: center;
    text-decoration: none;
    display: block;
}

/* Affiliate notice */
.affiliate-notice {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-top: 3rem;
    font-style: italic;
}

/* Loading state */
.ebay-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--orange);
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

/* Error state */
.ebay-error {
    background: #fee;
    border: 2px solid #c33;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: #721c24;
    grid-column: 1 / -1;
}

.ebay-error h3 {
    color: #721c24;
    margin-bottom: 1rem;
}

.ebay-error .btn-primary {
    margin-top: 1rem;
    display: inline-block;
}

/* Mobile responsive adjustments for eBay */
@media (max-width: 768px) {
    .browse-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .browse-controls button,
    .browse-controls select {
        width: 100%;
    }

    .ebay-listing-card h3 {
        font-size: 1.2rem;
        min-height: 2.4em;
    }

    .ebay-listing-card img {
        height: 200px;
    }
}

/* Google Maps Autocomplete - Hide error overlays that block input */
.dismissible-error-overlay,
.gm-err-container,
.gm-style-iw-c {
    display: none !important;
    pointer-events: none !important;
}

/* Ensure Google Places autocomplete dropdown is visible and styled */
.pac-container {
    background-color: white;
    border: 2px solid var(--light-beige);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
    z-index: 10000 !important;
}

.pac-item {
    padding: 10px 12px;
    cursor: pointer;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: var(--light-beige);
}

.pac-item-selected {
    background-color: var(--light-beige);
}

.pac-matched {
    font-weight: 600;
    color: var(--orange);
}

.pac-icon {
    margin-right: 8px;
}

/* Prevent input from being greyed out by Google Maps errors */
#shipping-street {
    background-color: white !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* ==============================
   CHECKOUT STYLES
   ============================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.checkout-summary {
    background: var(--light-beige);
    padding: 2rem;
    border-radius: 12px;
}

.checkout-summary h2,
.checkout-payment h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--orange);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.checkout-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(99, 0, 49, 0.1);
}

.checkout-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.checkout-item-details {
    flex: 1;
}

.checkout-item-price {
    font-weight: 600;
    color: var(--orange);
}

.checkout-totals {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--maroon);
}

.checkout-totals .total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.checkout-totals .grand-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(99, 0, 49, 0.2);
}

.checkout-totals .grand-total span:first-child {
    color: var(--orange);
}

.checkout-totals .grand-total span:last-child {
    color: var(--orange);
}

.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--light-beige);
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--orange);
}

.checkout-form input,
.checkout-form select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-beige);
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.checkout-field {
    margin-bottom: 1.5rem;
}

.checkout-address-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#card-element {
    padding: 0.75rem;
    border: 2px solid var(--light-beige);
    border-radius: 8px;
    background: white;
}

#card-errors {
    color: var(--danger);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.checkout-submit {
    width: 100%;
    background: var(--orange);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

.checkout-secured {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.85rem;
}

.checkout-back {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    background: none;
    border: none;
    color: var(--orange);
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .checkout-summary {
        padding: 1.25rem;
    }

    .checkout-form {
        padding: 1.25rem;
    }

    .checkout-address-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-address-row .checkout-field {
        margin-bottom: 1.5rem;
    }

    .checkout-summary h2,
    .checkout-payment h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .checkout-summary {
        padding: 1rem;
    }

    .checkout-form {
        padding: 1rem;
    }

    .checkout-submit {
        font-size: 1.1rem;
        padding: 1rem;
    }
}

/* ==============================
   DROP BANNER ON HOMEPAGE
   ============================== */

.drop-banner {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 100%);
    color: white;
    overflow: hidden;
}

.drop-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2rem;
}

.drop-banner-content {
    text-align: center;
}

.drop-banner-content h2 {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.drop-banner-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.drop-banner-badge {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.drop-banner-countdown {
    font-size: 1.3rem;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.drop-banner-date {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .drop-banner-inner {
        padding: 1.5rem;
    }

    .drop-banner-content h2 {
        font-size: 1.8rem;
    }
}

/* ==============================
   EVENT COLLECTIONS (Limited Edition)
   ============================== */

/* Event Banner on Homepage */
.event-banner {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 100%);
    color: white;
    overflow: hidden;
}

.event-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.event-banner-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.event-banner-content {
    flex: 1;
    text-align: left;
}

.event-banner-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.event-banner-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.event-banner-badge {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.event-banner-countdown {
    font-size: 1.1rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Compact event collection header — small inline label above the grid */
.event-collection-header {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.5rem 0 0.25rem;
    border-bottom: 1px solid #ece9e4;
    margin-bottom: 0.25rem;
}

.event-collection-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--orange);
    text-transform: uppercase;
    background: #f5f0eb;
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    white-space: nowrap;
}

.event-collection-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
}

.event-collection-desc {
    font-size: 0.82rem;
    color: #888;
    margin-left: 0.25rem;
}

/* Size + qty in a compact inline row */
.event-size-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.event-size-select {
    flex: 1;
    min-width: 0;
    padding: 0.4rem 0.5rem;
    border: 1px solid #d8d3cd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.82rem;
    background: white;
    color: #1a1a1a;
}

.event-size-select:focus {
    outline: none;
    border-color: var(--orange);
}

.sold-out-label {
    color: var(--danger);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    padding: 0.5rem 0;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d8d3cd;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
    flex-shrink: 0;
}

.qty-controls button {
    background: #f5f0eb;
    border: none;
    padding: 0.35rem 0.6rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--orange);
    transition: background 0.2s;
}

.qty-controls button:hover {
    background: var(--orange);
    color: white;
}

.qty-controls input {
    width: 32px;
    text-align: center;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0;
    background: white;
    -moz-appearance: textfield;
}

.qty-controls input::-webkit-outer-spin-button,
.qty-controls input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Responsive Event Size/Qty Selectors */
@media (max-width: 768px) {
    .event-size-selector,
    .event-qty-selector {
        display: inline-block;
        width: 48%;
        vertical-align: top;
        margin-top: 0.5rem;
    }

    .event-size-selector {
        margin-right: 4%;
    }

    .event-size-select {
        font-size: 0.8rem;
        padding: 0.35rem;
    }

    .qty-controls button {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }

    .qty-controls input {
        width: 30px;
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }
}

/* Responsive Event Banner */
@media (max-width: 768px) {
    .event-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .event-banner-image {
        width: 100%;
        height: 150px;
    }

    .event-banner-content {
        text-align: center;
    }

    .event-banner-content h2 {
        font-size: 1.8rem;
    }
}

/* ==============================
   FEATURED PRODUCTS — HOME PAGE
   ============================== */

.featured-section {
    background: #fff;
    border-top: 1px solid #e8e6e1;
}

.featured-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.featured-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--orange);
    margin: 0;
}

.featured-see-all {
    font-size: 0.95rem;
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 2px;
    transition: color 0.2s;
}

.featured-see-all:hover {
    color: var(--orange);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .featured-inner {
        padding: 2rem 1rem;
    }

    .featured-header h2 {
        font-size: 1.4rem;
    }
}

/* ==============================
   FEATURED GRID — compact buttons
   ============================== */

.featured-grid .item-actions {
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.featured-grid .item-actions button {
    width: 100%;
    padding: 0.6rem 0.5rem;
    font-size: 11px;
    letter-spacing: 1px;
}

/* ==============================
   ITEM BADGES (scarcity / recency)
   ============================== */

.item-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
}

.badge-new {
    background: var(--orange);
    color: #fff;
}

.badge-one-of-one {
    background: var(--maroon);
    color: #fff;
}

/* ==============================
   DROP COUNTDOWN + NOTIFY BAR
   ============================== */

.drop-notify-bar {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 100%);
    color: var(--text-light);
    border-top: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
}

.drop-notify-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.drop-notify-countdown {
    flex: 1;
}

/* Countdown side */
.drop-notify-countdown h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 1.25rem;
    text-align: center;
}

/* Reuse existing .countdown, .time-box, .time, .label styles — just reset the old standalone container */
.drop-notify-bar .countdown-container {
    background: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    max-width: none;
}

/* Email notify side */
.drop-notify-form {
    max-width: 480px;
    width: 100%;
}

.drop-notify-countdown ~ .drop-notify-form {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 3rem;
}

.drop-notify-form h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.drop-notify-form p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.notify-input-row {
    display: flex;
    gap: 0.5rem;
}

.notify-input-row input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.notify-input-row input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.notify-input-row input[type="email"]:focus {
    border-color: var(--orange);
}

.btn-notify {
    background: var(--orange);
    color: white;
    border: 2px solid var(--orange);
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.btn-notify:hover {
    background: transparent;
    color: var(--orange);
}

.btn-notify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.notify-message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.notify-success { color: #7ddb8a; }
.notify-info    { color: var(--orange); }
.notify-error   { color: #ff8a80; }

@media (max-width: 768px) {
    .drop-notify-inner {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.25rem;
    }

    .drop-notify-form {
        width: 100%;
        max-width: 100%;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .notify-input-row {
        flex-direction: column;
    }

    .notify-input-row input[type="email"],
    .btn-notify {
        width: 100%;
        box-sizing: border-box;
    }
        padding-top: 2rem;
    }
}

/* ==============================
   SHOP SEARCH + SIZE FILTERS
   ============================== */

.shop-search-bar {
    margin-bottom: 1.5rem;
}

.shop-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.shop-search-icon {
    position: absolute;
    left: 14px;
    color: #999;
    pointer-events: none;
}

#shopSearchInput {
    width: 100%;
    padding: 0.8rem 2.75rem 0.8rem 2.75rem;
    border: 2px solid #e0dcd6;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

#shopSearchInput:focus {
    border-color: var(--orange);
}

#shopSearchInput::placeholder {
    color: #aaa;
}

.shop-search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s;
}

.shop-search-clear:hover {
    color: var(--orange);
}

.shop-size-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-pill {
    padding: 0.35rem 0.9rem;
    border: 2px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.03em;
}

.size-pill:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.size-pill.active {
    background: var(--maroon);
    border-color: var(--orange);
    color: #fff;
}

@media (max-width: 480px) {
    .size-pill {
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }
}

/* ==============================
   IMAGE SHIMMER SKELETON
   ============================== */

@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.item-image--loading {
    background: linear-gradient(
        90deg,
        #e8e4de 25%,
        #f0ece6 50%,
        #e8e4de 75%
    );
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
}

/* ==========================================
   USER AUTH — Account Button + Modal
   ========================================== */

.account-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
}

/* Dropdown */
.account-dropdown {
    position: fixed;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 9999;
    overflow: hidden;
    border: 1px solid #ece9e4;
}

.account-dropdown-header {
    padding: 0.9rem 1rem 0.75rem;
    border-bottom: 1px solid #ece9e4;
}

.account-dropdown-greeting {
    font-size: 0.72rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-dropdown-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.account-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1a1a1a;
    cursor: pointer;
    transition: background 0.15s;
}

.account-dropdown-item:hover {
    background: #f5f0eb;
}

.account-dropdown-signout {
    color: #c0392b;
}

/* Auth Modal */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-modal {
    background: white;
    border-radius: 10px;
    width: 100%;
    max-width: 380px;
    padding: 2rem;
    position: relative;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    padding: 0;
}

.auth-modal-close:hover { color: #1a1a1a; }

.auth-modal-logo {
    text-align: center;
    margin-bottom: 1.25rem;
}

.auth-modal-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #ece9e4;
    margin-bottom: 1.25rem;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaa;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.auth-tab.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d8d3cd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    color: #1a1a1a;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--orange);
}

.auth-submit {
    width: 100%;
    padding: 0.85rem;
    margin-top: 0.1rem;
    font-size: 0.95rem;
}

.auth-error {
    color: #c0392b;
    font-size: 0.85rem;
    min-height: 0;
}

.auth-success {
    color: #2a7a2a;
    font-size: 0.85rem;
    background: #f0faf0;
    padding: 0.6rem 0.8rem;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
}
