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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.controls {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filters {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filters label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.status-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-count {
    font-size: 0.85em;
    opacity: 0.8;
    font-weight: normal;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn.active {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 120px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    min-width: 250px;
    display: none;
}

.cart-header {
    padding: 1rem;
    background: #32ac62;
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.cart-details {
    display: none;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.selected-items {
    margin-bottom: 1rem;
}

.cart-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
    font-size: 0.9rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.copy-btn {
    width: 100%;
    padding: 0.75rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #2980b9;
}

.cart-summary strong {
    color: #27ae60;
    font-size: 1.2rem;
}

.items-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.item-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.item-card.sold {
    opacity: 0.7;
}

.item-card.pending {
    opacity: 0.85;
}

.item-image-container {
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}

.image-overlay > * {
    pointer-events: auto;
}

.overlay-price {
    background: rgba(39, 174, 96, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.overlay-checkbox {
    width: 28px;
    height: 28px;
    cursor: pointer;
    accent-color: #27ae60;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.overlay-checkbox:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.overlay-dimensions {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(52, 73, 94, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    background-color: #f0f0f0;
}

.item-image.loading {
    filter: blur(10px);
    transition: filter 0.3s;
}

.item-image.loaded {
    filter: blur(0);
}

.image-thumbnails {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: rgba(0,0,0,0.05);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.1);
    border-color: #2c3e50;
}

.thumbnail.loading {
    filter: blur(5px);
}

.thumbnail.loaded {
    filter: blur(0);
}

.more-images {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.item-info {
    padding: 1.5rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.available {
    background-color: #27ae60;
    color: white;
}

.status-badge.pending {
    background-color: #f39c12;
    color: white;
}

.status-badge.sold {
    background-color: #e74c3c;
    color: white;
}

.item-description {
    color: #666;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em; /* fallback for non-webkit browsers */
}

.item-dimensions {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.item-dimensions-prominent {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #3498db;
}

/* Removed old footer styles as price/checkbox moved to overlay */

.payment-section {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.payment-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.qr-placeholder {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.qr-placeholder img {
    max-width: 200px;
    height: auto;
}

/* Contact Section */
.contact-section {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.contact-icon {
    font-size: 1.2rem;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.email-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.email-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.phone-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Phone verification modal */
.phone-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.phone-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.close-phone {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-phone:hover {
    color: #333;
}

#securityQuestion {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    color: #2c3e50;
}

#securityAnswer {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    margin: 1rem 0;
    text-align: center;
}

#securityAnswer:focus {
    outline: none;
    border-color: #3498db;
}

.verify-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.verify-btn:hover {
    background: #219a52;
}

#phoneResult {
    margin-top: 1rem;
    padding: 1rem;
    background: #d5f4e6;
    border-radius: 6px;
    border-left: 4px solid #27ae60;
}

#phoneResult a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

#phoneResult a:hover {
    text-decoration: underline;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    overflow: hidden;
}

.modal-content {
    background-color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    overflow-y: auto;
    border-radius: 0;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    z-index: 10;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.close:hover {
    color: #333;
    background-color: #f0f0f0;
}

.modal-body {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    padding: 1rem;
    height: 100vh;
    overflow: hidden;
}

.image-carousel {
    position: relative;
    background-color: #000;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-carousel img {
    width: 100%;
    height: calc(100vh - 120px);
    object-fit: contain;
    background-color: #000;
    cursor: default;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: #333;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
    border-color: #3498db;
    color: #3498db;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.image-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background-color: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: #3498db;
    border-color: #3498db;
    transform: scale(1.3);
}

.modal-info h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.modal-info .dimensions {
    color: #7f8c8d;
    margin: 1rem 0;
}

.modal-dimensions {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 4px;
    margin: 1rem 0;
    border-left: 4px solid #3498db;
}

.modal-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: #27ae60;
    margin: 1.5rem 0;
}

/* Set Information Styles */
.set-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.set-badge {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.set-badge.clickable {
    cursor: pointer;
    transition: background-color 0.2s;
}

.set-badge.clickable:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.set-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.set-price {
    font-weight: 600;
    color: #27ae60;
}

.set-links {
    color: #666;
}

.set-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.set-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Modal Set Info */
.modal-set-info {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.set-price-modal {
    font-size: 1.1rem;
    font-weight: 600;
    color: #27ae60;
    margin: 0.5rem 0;
}

.set-links-modal {
    color: #666;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .status-filters {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        width: 100%;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem;
        white-space: nowrap;
        min-height: 44px;
    }
    
    .price-sort-btn {
        grid-column: span 1;
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .image-carousel img {
        height: 50vh;
    }
    
    .image-thumbnails {
        padding: 6px;
    }
    
    .thumbnail {
        width: 40px;
        height: 40px;
    }
    
    .more-images {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .floating-cart {
        bottom: 100px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }
    
    .overlay-price {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .overlay-checkbox {
        width: 24px;
        height: 24px;
    }
    
    .overlay-dimensions {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        bottom: 50px;
    }
    
    .contact-options {
        gap: 0.75rem;
    }
    
    .contact-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .phone-modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    /* Move countdown timer to fixed header */
    .countdown-timer {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #e74c3c;
        color: white;
        padding: 0.3rem;
        text-align: center;
        font-size: 0.75rem;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        margin: 0;
        order: unset;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .countdown-value {
        font-size: 0.9rem;
    }
    
    header {
        margin-top: 30px;
    }
}

/* Portrait mode optimizations for modal */
@media (max-width: 768px) and (orientation: portrait) {
    .modal-content {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }
    
    .modal-body {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 0;
    }
    
    .image-carousel {
        flex: 1;
        min-height: 60vh;
        position: relative;
    }
    
    .image-carousel img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        cursor: zoom-in;
    }
    
    .modal-info {
        position: relative;
        padding: 1rem;
        padding-bottom: 80px; /* Space for fixed button */
        overflow-y: auto;
        max-height: 40vh;
    }
    
    .modal-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1001;
        margin: 0;
        border-top: 1px solid #ddd;
    }
    
    .chat-prompt {
        margin-bottom: 0.5rem;
    }
}

/* Add navigation hints */
.image-carousel::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s;
    text-align: center;
    white-space: nowrap;
}

.image-carousel:hover::after {
    opacity: 1;
}


.price-sort-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    margin-left: 0.5rem;
    font-weight: 600;
}

.price-sort-btn:hover {
    background-color: #f0f0f0;
}

.price-sort-btn.active {
    background-color: #e67e22;
    color: white;
    border-color: #e67e22;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

.countdown-label {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-value {
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.countdown-timer.urgent {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    animation: urgentPulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes urgentPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 4px 16px rgba(231, 76, 60, 0.6);
    }
}


.modal-info {
    padding: 1.5rem;
    overflow-y: auto;
    height: 100%;
    background: #f8f9fa;
}

.chat-prompt {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    padding: 0.8rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
    color: #0369a1;
    font-weight: 500;
}

.modal-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.modal-add-btn {
    width: 100%;
    padding: 1rem;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-add-btn:hover {
    background-color: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.modal-add-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modal-add-btn.added {
    background-color: #e74c3c;
}

.modal-add-btn.added:hover {
    background-color: #c0392b;
}

/* Discount Styles */
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-right: 0.5rem;
}

.overlay-price .original-price {
    display: block;
    font-size: 0.8em;
    margin-bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.discount-badge-modal {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1rem;
    vertical-align: middle;
}

/* Fullscreen image overlay */
.fullscreen-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.fullscreen-image-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
