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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    cursor: pointer;
}

.nav-links a:hover {
    opacity: 0.8;
}

.user-menu {
    position: relative;
}

.user-menu-trigger {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    gap: 0.5rem;
}

.user-menu-trigger:hover {
    background: rgba(255, 255, 255, 0.3);
}

.user-menu-trigger::after {
    content: '▼';
    font-size: 0.75rem;
    margin-left: 0.25rem;
    opacity: 0.8;
}

.user-menu-trigger img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

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

.user-menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-color);
    justify-content: flex-start;
}

.user-menu-dropdown a:last-child {
    border-bottom: none;
}

.user-menu-dropdown a:hover {
    background: var(--bg-color);
}

.user-menu-dropdown a > span:first-child {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.user-menu-dropdown a > span:not(:first-child) {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.section {
    animation: fadeIn 0.3s ease-in;
}

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

/* Auth Cards */
.auth-card, .form-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 2rem auto;
}

.auth-card h2, .form-card h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    cursor: pointer;
    background: var(--bg-color);
}

.form-group input[type="file"]:hover {
    background: #f0f0f0;
}

#imagePreviews {
    margin-top: 1rem;
}

#imagePreviews > div {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    transition: transform 0.2s;
}

#imagePreviews > div:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

#imagePreviews > div button {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: var(--danger-color);
    color: white;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#imagePreviews > div button:hover {
    background: #dc2626;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Search Bar */
.search-bar {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-bar input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.search-bar select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
}

.price-filter {
    display: flex;
    gap: 0.5rem;
}

.price-filter input {
    width: 120px;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.search-bar .btn {
    width: auto;
    padding: 0.75rem 2rem;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.item-card {
    background: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.item-content {
    padding: 1.5rem;
}

.item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.item-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-color);
    border-radius: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.item-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-seller {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.item-actions .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.875rem;
}

.sold-badge {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Notification Message */
#message {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    animation: slideIn 0.3s ease-out;
}

#message.show {
    display: block;
}

#message.success {
    background: var(--success-color);
    color: white;
}

#message.error {
    background: var(--danger-color);
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Messages / Chat */
.messages-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 1rem;
    height: calc(100vh - 200px);
    min-height: 600px;
}

.conversations-list {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    overflow-y: auto;
}

.conversations-list h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 0.5rem;
    position: relative;
}

.conversation-item:hover {
    background: var(--bg-color);
}

.conversation-item.unread {
    background: rgba(99, 102, 241, 0.1);
    font-weight: 500;
}

.conversation-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

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

.conversation-header > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.conversation-name {
    font-weight: 600;
    color: var(--text-primary);
}

.conversation-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.conversation-preview {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.conversation-item-title {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

.conversation-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unread-badge {
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.chat-container {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chat-header {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-color);
    justify-content: space-between;
}

.chat-header > div:first-of-type {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.btn-back {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.2s;
}

.btn-delete-chat {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.btn-delete-chat:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}

.btn-back:hover {
    background: rgba(99, 102, 241, 0.1);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    margin-bottom: 0.5rem;
}

.message.sent {
    justify-content: flex-end;
}

.message.received {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    word-wrap: break-word;
}

.message.sent .message-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.message.received .message-content {
    background: var(--bg-color);
    color: var(--text-primary);
    border-bottom-left-radius: 0.25rem;
}

.message-text {
    margin-bottom: 0.25rem;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.chat-input-container {
    padding: 1rem 1.5rem;
    border-top: 2px solid var(--border-color);
    background: var(--bg-color);
}

.chat-input-container form {
    display: flex;
    gap: 0.5rem;
}

.chat-input-container input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.btn-emoji {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-emoji:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
}

.emoji-picker {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 0;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    z-index: 1000;
    min-width: 200px;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.emoji-grid span {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    text-align: center;
    border-radius: 0.25rem;
    transition: background 0.2s;
    user-select: none;
}

.emoji-grid span:hover {
    background: var(--bg-color);
    transform: scale(1.2);
}

.chat-input-container button {
    padding: 0.75rem 1.5rem;
    width: auto;
}

.no-chat-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.dashboard-widget {
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.dashboard-widget:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.widget-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: none;
}

.widget-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.widget-content {
    padding: 1.5rem;
}

/* Profile Widget */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.danger-zone {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.danger-zone h3 {
    color: var(--danger-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.danger-zone p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.danger-zone .btn {
    transition: all 0.2s;
}

.danger-zone .btn:hover {
    background: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.3);
}

.profile-picture-container {
    position: relative;
    margin-bottom: 1rem;
}

.profile-picture-container img,
.profile-picture-container div {
    cursor: pointer;
    transition: transform 0.2s;
}

.profile-picture-container:hover img,
.profile-picture-container:hover div {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .messages-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }
    
    .conversations-list {
        max-height: 300px;
    }
    
    .chat-container {
        min-height: 500px;
    }
    
    .message-content {
        max-width: 85%;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar input,
    .search-bar select,
    .price-filter {
        width: 100%;
    }

    .items-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .auth-card, .form-card {
        padding: 1.5rem;
    }
}

/* Image Gallery Modal */
.image-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.image-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.image-gallery-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10001;
}

.image-gallery-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    line-height: 1;
    padding: 0;
}

.image-gallery-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.image-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    line-height: 1;
    padding: 0;
    user-select: none;
}

.image-gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.image-gallery-prev {
    left: -4rem;
}

.image-gallery-next {
    right: -4rem;
}

.image-gallery-main {
    width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.image-gallery-main img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.image-gallery-info {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.image-gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.image-gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.image-gallery-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.image-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.gallery-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 0.6;
}

.gallery-thumbnail:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive adjustments for image gallery */
@media (max-width: 768px) {
    .image-gallery-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .image-gallery-close {
        top: -2.5rem;
        right: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2rem;
    }
    
    .image-gallery-nav {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2rem;
    }
    
    .image-gallery-prev {
        left: 0.5rem;
    }
    
    .image-gallery-next {
        right: 0.5rem;
    }
    
    .image-gallery-main {
        max-height: 60vh;
    }
    
    .image-gallery-main img {
        max-height: 60vh;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }
}

