


.modal-content::-webkit-scrollbar,
.custom-order-modal::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track,
.custom-order-modal::-webkit-scrollbar-track {
    background: rgba(13, 13, 13, 0.2);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb,
.custom-order-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(220, 38, 38, 0.3) 100%);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.custom-order-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.5) 0%, rgba(220, 38, 38, 0.5) 100%);
}

.page-header {
    text-align: center;
    padding: 20px 20px;
    margin-bottom: 20px;
}

.page-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 22px;
    color: var(--cobblemon-gold);
    text-shadow:
        3px 3px 0 var(--cobblemon-blue),
        0 0 30px rgba(251, 191, 36, 0.6),
        5px 5px 15px rgba(0, 0, 0, 0.9);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--cobblemon-white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}


.back-btn {
    background: linear-gradient(135deg, var(--cobblemon-blue) 0%, var(--cobblemon-purple) 100%);
    color: var(--cobblemon-text);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--cobblemon-gold);
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(251, 191, 36, 0.1);
}

.back-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 5px 20px rgba(251, 191, 36, 0.6),
        0 0 30px rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, var(--cobblemon-cyan) 0%, var(--cobblemon-blue) 100%);
}

/* Products Grid */
.products-section {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1400px;
}


.products-grid:has(:only-child),
.products-grid.single-item {
    display: flex;
    justify-content: center;
    align-items: start;
    grid-template-columns: none;
}

.products-grid.single-item .product-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}


.product-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: -25px -25px 15px -25px;
    border-radius: 20px 20px 0 0;
}

.product-user-avatar,
.product-user-avatar-placeholder {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e63946;
    flex-shrink: 0;
}

.product-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-user-avatar-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.product-user-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.product-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
    backdrop-filter: blur(15px);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(139, 0, 0, 0.1);
    z-index: 1;
}


.product-card > * {
    position: relative;
    z-index: 1;
}


.product-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    opacity: 0.2;
    background-image: url('../../site pngs/pokemon-master-ball.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3));
    animation: pokeballShake 2s ease-in-out infinite;
    pointer-events: none;
}


.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(251, 191, 36, 0.4),
        inset 0 0 40px rgba(139, 0, 0, 0.2);
    border-color: var(--cobblemon-cyan);
}

.product-card:hover::after {
    opacity: 0.3;
    transform: scale(1.2);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, rgba(75, 0, 130, 0.2) 100%);
    border: 2px solid var(--cobblemon-gold-dark);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}


#productsGrid .product-image {
    height: 250px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.product-image::after {
    display: none;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 1;
}

.product-name {
    font-size: 20px;
    color: var(--cobblemon-gold);
    margin-bottom: 10px;
    font-weight: 900;
    text-shadow:
        1px 1px 0 var(--cobblemon-blue),
        0 0 15px rgba(251, 191, 36, 0.4);
    min-height: 50px;
    text-align: center;
}

.product-description {
    color: var(--cobblemon-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    text-align: center;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.product-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(75, 0, 130, 0.2);
    border-radius: 10px;
    border: 1px solid var(--cobblemon-purple);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.quantity-label {
    color: var(--cobblemon-white);
    font-weight: 700;
    font-size: 14px;
}

.quantity-value {
    color: var(--cobblemon-gold);
    font-size: 18px;
    font-weight: 900;
    text-shadow:
        1px 1px 0 var(--cobblemon-blue),
        0 0 10px rgba(251, 191, 36, 0.4);
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 10px;
    border: 1px solid var(--cobblemon-gold);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.price-label {
    color: var(--cobblemon-white);
    font-weight: 700;
    font-size: 14px;
}

.price-value {
    color: var(--cobblemon-gold);
    font-size: 24px;
    font-weight: 900;
    text-shadow:
        2px 2px 0 var(--cobblemon-blue),
        0 0 20px rgba(251, 191, 36, 0.6);
}

.contact-btn {
    background: linear-gradient(135deg, var(--cobblemon-blue) 0%, var(--cobblemon-purple) 100%);
    color: var(--cobblemon-text);
    border: 2px solid var(--cobblemon-gold);
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(251, 191, 36, 0.1);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--cobblemon-cyan) 0%, var(--cobblemon-blue) 100%);
    transform: scale(1.05);
    box-shadow:
        0 5px 20px rgba(251, 191, 36, 0.6),
        0 0 30px rgba(6, 182, 212, 0.4),
        inset 0 0 30px rgba(251, 191, 36, 0.2);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    display: none;
}

.empty-state.show {
    display: block;
}

.empty-icon {
    font-size: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(108, 155, 210, 0.5));
}

.empty-message {
    font-size: 24px;
    color: var(--cobblemon-gold);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow:
        2px 2px 0 var(--cobblemon-blue),
        0 0 20px rgba(251, 191, 36, 0.5);
}


/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.contact-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(251, 191, 36, 0.3),
        inset 0 0 30px rgba(139, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 50%;
    color: var(--cobblemon-white);
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.7),
        inset 0 0 15px rgba(251, 191, 36, 0.2);
    z-index: 10;
    line-height: 1;
    padding: 0;
    text-shadow: none;
}

.close-modal:hover {
    transform: scale(1.1) rotate(90deg);
    background: linear-gradient(135deg, rgba(220, 38, 38, 1) 0%, rgba(139, 0, 0, 1) 100%);
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.9),
        inset 0 0 20px rgba(251, 191, 36, 0.3);
}

.modal-content h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 18px;
    color: var(--cobblemon-gold);
    text-shadow:
        2px 2px 0 var(--cobblemon-blue),
        0 0 20px rgba(251, 191, 36, 0.5);
    margin-bottom: 15px;
    text-align: center;
}

.modal-content > p {
    color: var(--cobblemon-white);
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 15px;
    text-decoration: none;
    color: var(--cobblemon-white);
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: inset 0 0 20px rgba(139, 0, 0, 0.2);
}

.contact-option:hover {
    background: rgba(251, 191, 36, 0.15);
    transform: translateX(10px);
    box-shadow:
        0 5px 20px rgba(251, 191, 36, 0.4),
        inset 0 0 30px rgba(251, 191, 36, 0.1);
    border-color: var(--cobblemon-gold);
}

.contact-option.discord:hover {
    border-color: #5865F2;
}


.contact-icon {
    font-size: 30px;
}

/* Subcategories Section */
.subcategories-section {
    padding: 20px;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.subcategory-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
    backdrop-filter: blur(15px);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(139, 0, 0, 0.1);
}

.subcategory-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subcategory-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    opacity: 0.2;
    background-image: url('../../site pngs/pokemon-master-ball.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3));
    animation: pokeballShake 2s ease-in-out infinite;
    pointer-events: none;
}

.subcategory-card:hover::before {
    opacity: 1;
}

.subcategory-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(251, 191, 36, 0.4),
        inset 0 0 40px rgba(139, 0, 0, 0.2);
    border-color: var(--cobblemon-cyan);
}

.subcategory-card:hover::after {
    opacity: 0.3;
    transform: scale(1.2);
}

.subcategory-icon {
    font-size: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 222, 0, 0.5));
}

.subcategory-card h3 {
    font-size: 24px;
    color: var(--cobblemon-gold);
    margin-bottom: 25px;
    font-weight: 900;
    text-shadow:
        2px 2px 0 var(--cobblemon-blue),
        0 0 15px rgba(251, 191, 36, 0.4);
    position: relative;
    z-index: 1;
}

.subcategory-btn {
    background: linear-gradient(135deg, var(--cobblemon-blue) 0%, var(--cobblemon-purple) 100%);
    color: var(--cobblemon-text);
    border: 2px solid var(--cobblemon-gold);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(251, 191, 36, 0.1);
}

.subcategory-btn:hover {
    background: linear-gradient(135deg, var(--cobblemon-cyan) 0%, var(--cobblemon-blue) 100%);
    transform: scale(1.1);
    box-shadow:
        0 5px 20px rgba(251, 191, 36, 0.6),
        0 0 30px rgba(6, 182, 212, 0.4),
        inset 0 0 30px rgba(251, 191, 36, 0.2);
}

.subcategory-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.back-subcategory-btn {
    background: rgba(0, 0, 0, 0.7);
    color: var(--cobblemon-white);
    border: 2px solid var(--cobblemon-gold-dark);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: inset 0 0 20px rgba(139, 0, 0, 0.2);
}

.back-subcategory-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    transform: scale(1.05);
    box-shadow:
        0 5px 20px rgba(251, 191, 36, 0.4),
        inset 0 0 30px rgba(251, 191, 36, 0.1);
    border-color: var(--cobblemon-gold);
}

.current-subcategory-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    color: var(--cobblemon-gold);
    text-shadow:
        2px 2px 0 var(--cobblemon-blue),
        0 0 30px rgba(251, 191, 36, 0.6),
        4px 4px 15px rgba(0, 0, 0, 0.9);
    margin-top: 20px;
}

@keyframes pokeballShake {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    10% {
        transform: translateX(-3px) translateY(-2px) rotate(-2deg);
    }
    20% {
        transform: translateX(3px) translateY(-4px) rotate(2deg);
    }
    30% {
        transform: translateX(-2px) translateY(-2px) rotate(-1deg);
    }
    40% {
        transform: translateX(2px) translateY(0) rotate(1deg);
    }
    50% {
        transform: translateX(-1px) translateY(-3px) rotate(-1deg);
    }
    60% {
        transform: translateX(1px) translateY(-1px) rotate(1deg);
    }
    70% {
        transform: translateX(-2px) translateY(-2px) rotate(-1deg);
    }
    80% {
        transform: translateX(2px) translateY(0) rotate(1deg);
    }
    90% {
        transform: translateX(-1px) translateY(-1px) rotate(0deg);
    }
}

/* Custom Order Modal */
.custom-order-modal {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-subtitle {
    color: var(--cobblemon-cyan);
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.custom-order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.form-label {
    color: var(--cobblemon-gold);
    font-weight: 700;
    font-size: 14px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    text-align: center;
    width: 100%;
}

.form-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--cobblemon-white);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: var(--cobblemon-cyan);
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(6, 182, 212, 0.4);
}

.form-input::placeholder {
    color: var(--cobblemon-light-gray);
    opacity: 0.7;
}

.input-with-suggestions {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
}


.input-with-suggestions.has-suggestions .form-input:focus {
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.input-with-suggestions.has-suggestions .pokemon-suggestions {
    border-color: var(--cobblemon-cyan);
    border-top: 3px solid var(--cobblemon-cyan);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}


.input-with-suggestions:focus-within .form-input:focus {
    border-color: var(--cobblemon-cyan);
}


.input-with-suggestions.has-suggestions:focus-within .pokemon-suggestions {
    border-color: var(--cobblemon-cyan);
    border-top: 3px solid var(--cobblemon-cyan);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}


.pokemon-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 3px solid var(--cobblemon-gold);
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    display: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    margin-top: -3px;
    box-sizing: border-box;
}


.search-input-container .pokemon-suggestions {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    width: 100%;
    box-sizing: border-box;
    margin-top: -3px;
    border-radius: 0 0 15px 15px;
}


.search-input-container:has(.wiki-search-input:focus) .pokemon-suggestions {
    border-color: var(--cobblemon-cyan);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}


.wiki-search-input:focus ~ .pokemon-suggestions,
.search-input-container:focus-within .pokemon-suggestions {
    border-color: var(--cobblemon-cyan);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}


.pokemon-suggestions::-webkit-scrollbar {
    width: 5px;
}

.pokemon-suggestions::-webkit-scrollbar-track {
    background: rgba(13, 13, 13, 0.2);
    border-radius: 10px;
}

.pokemon-suggestions::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(220, 38, 38, 0.3) 100%);
    border-radius: 10px;
}

.pokemon-suggestions::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.5) 0%, rgba(220, 38, 38, 0.5) 100%);
}

.suggestion-item {
    padding: 12px 15px;
    color: var(--cobblemon-white);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-pokemon-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: auto;
}

.suggestion-pokedex-number {
    font-size: 12px;
    color: var(--cobblemon-gold);
    font-weight: 600;
    margin-right: 4px;
    flex-shrink: 0;
}

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

.suggestion-item:hover {
    background: rgba(251, 191, 36, 0.15);
    color: var(--cobblemon-gold);
    padding-left: 20px;
}

.suggestion-item:active {
    background: rgba(251, 191, 36, 0.25);
}

.suggestion-item.highlighted {
    background: rgba(251, 191, 36, 0.2);
    color: var(--cobblemon-gold);
    padding-left: 20px;
}

.pokemon-preview {
    align-items: center;
    margin: 10px 0;
}

.pokemon-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pokemon-preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}


.ivs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.iv-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--cobblemon-gold-dark);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--cobblemon-white);
    font-weight: 600;
    font-size: 14px;
}

.iv-radio:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: var(--cobblemon-gold);
}

.iv-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--cobblemon-gold);
}

.iv-radio input[type="radio"]:checked + span {
    color: var(--cobblemon-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.iv-radio:has(input[type="radio"]:checked) {
    background: rgba(251, 191, 36, 0.15);
    border-color: var(--cobblemon-gold);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

.ha-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid var(--cobblemon-purple);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--cobblemon-white);
    font-weight: 700;
    font-size: 16px;
}

.ha-checkbox:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--cobblemon-purple-dark);
}

.ha-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--cobblemon-purple);
}

.ha-checkbox:has(input[type="checkbox"]:checked) {
    background: rgba(124, 58, 237, 0.25);
    border-color: var(--cobblemon-purple-dark);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid var(--cobblemon-purple);
    border-radius: 10px;
    color: var(--cobblemon-white);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fbbf24' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

.form-select:hover:not(:disabled) {
    background-color: rgba(124, 58, 237, 0.2);
    border-color: var(--cobblemon-purple-dark);
}

.form-select:focus {
    outline: none;
    background-color: rgba(124, 58, 237, 0.25);
    border-color: var(--cobblemon-purple-dark);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(124, 58, 237, 0.05);
}

.form-select option {
    background: var(--cobblemon-dark);
    color: var(--cobblemon-white);
    padding: 10px;
}

.info-section {
    margin: 10px 0;
}

.info-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(30, 58, 138, 0.2) 100%);
    border: 2px solid var(--cobblemon-cyan);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.info-box strong {
    color: var(--cobblemon-cyan);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.info-box p {
    color: var(--cobblemon-white);
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
}

.price-section {
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.custom-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.custom-price-display .price-label {
    color: var(--cobblemon-white);
    font-weight: 700;
    font-size: 16px;
}

.custom-price-display .price-value {
    color: var(--cobblemon-gold);
    font-size: 24px;
    font-weight: 900;
    text-shadow:
        2px 2px 0 var(--cobblemon-blue),
        0 0 20px rgba(251, 191, 36, 0.6);
}

.price-info {
    color: var(--cobblemon-light-gray);
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
}

.finalize-order-btn {
    background: linear-gradient(135deg, var(--cobblemon-blue) 0%, var(--cobblemon-purple) 100%);
    color: var(--cobblemon-text);
    border: 3px solid var(--cobblemon-gold);
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(251, 191, 36, 0.1);
    margin-top: 10px;
}

.finalize-order-btn:hover {
    background: linear-gradient(135deg, var(--cobblemon-cyan) 0%, var(--cobblemon-blue) 100%);
    transform: scale(1.05);
    box-shadow:
        0 8px 30px rgba(251, 191, 36, 0.6),
        0 0 40px rgba(6, 182, 212, 0.4),
        inset 0 0 40px rgba(251, 191, 36, 0.2);
    border-color: var(--cobblemon-gold);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }

    .page-header {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 850px) {
    .page-header {
        padding: 15px 10px;
        margin-bottom: 15px;
    }

    .page-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .page-subtitle {
        font-size: 12px;
    }

    .back-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .products-section {
        padding: 10px 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .product-card {
        padding: 20px 15px;
    }

    .product-image {
        height: 180px;
        margin-bottom: 15px;
    }

    #productsGrid .product-image {
        height: 200px;
    }

    .product-name {
        font-size: 18px;
        min-height: 45px;
    }

    .product-description {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .product-quantity,
    .product-price {
        padding: 8px;
        margin-bottom: 12px;
    }

    .quantity-label,
    .price-label {
        font-size: 12px;
    }

    .quantity-value {
        font-size: 16px;
    }

    .price-value {
        font-size: 20px;
    }

    .contact-btn {
        padding: 10px 15px;
        font-size: 14px;
    }


    .modal-content {
        padding: 25px 15px;
        max-width: 95%;
        margin: 15px;
    }

    .modal-content h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .modal-content > p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .contact-option {
        padding: 15px;
        font-size: 14px;
    }

    .contact-icon {
        font-size: 24px;
    }

    .custom-order-modal {
        max-width: 95%;
        padding: 20px 15px;
        max-height: 95vh;
    }

    .modal-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .custom-order-form {
        gap: 15px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .form-select {
        padding: 10px 12px;
        font-size: 14px;
        padding-right: 35px;
    }

    .pokemon-image-container {
        width: 120px;
        height: 120px;
    }

    .ivs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .iv-radio {
        padding: 8px;
        font-size: 12px;
    }

    .ha-checkbox {
        padding: 12px;
        font-size: 14px;
    }

    .finalize-order-btn {
        padding: 12px 20px;
        font-size: 16px;
    }


    .subcategories-section {
        padding: 15px 10px;
    }

    .subcategories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .subcategory-card {
        padding: 25px 20px;
    }

    .subcategory-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .subcategory-card h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .subcategory-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .back-subcategory-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .current-subcategory-title {
        font-size: 18px;
    }
}

/* Wiki Pokemon Styles */
.wiki-section {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.wiki-search-container {
    margin-bottom: 40px;
}

.search-box {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
    position: relative;
    width: 100%;
}

.search-input-container {
    flex: 1;
    position: relative;
    min-width: 0;
    width: 100%;
}


.search-label {
    display: block;
    font-size: 18px;
    color: var(--cobblemon-white);
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

.wiki-search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    border: 3px solid var(--cobblemon-gold);
    border-radius: 15px;
    background: rgba(26, 26, 26, 0.9);
    color: var(--cobblemon-white);
    font-family: 'Roboto', sans-serif;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(251, 191, 36, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
}


.wiki-search-input:focus:not(:focus-within) {
    border-radius: 15px 15px 0 0;
}

.search-input-container:has(.pokemon-suggestions:not([style*="display: none"])) .wiki-search-input:focus {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.wiki-search-btn {
    padding: 15px 15px;
    font-size: 14px;
    font-weight: 700;
    border: 3px solid var(--cobblemon-gold);
    border-radius: 15px;
    background: linear-gradient(135deg, var(--cobblemon-blue) 0%, var(--cobblemon-purple) 100%);
    color: var(--cobblemon-white);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: auto;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(251, 191, 36, 0.1);
}

.wiki-search-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 5px 20px rgba(251, 191, 36, 0.6),
        0 0 30px rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, var(--cobblemon-cyan) 0%, var(--cobblemon-blue) 100%);
}

.wiki-search-btn:active {
    transform: scale(0.98);
}

.wiki-search-input:focus {
    outline: none;
    border-color: var(--cobblemon-cyan);
    box-shadow:
        0 5px 20px rgba(6, 182, 212, 0.4),
        inset 0 0 20px rgba(251, 191, 36, 0.2);
}


.search-input-container.has-suggestions .wiki-search-input:focus {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.search-input-container.has-suggestions .pokemon-suggestions {
    border-color: var(--cobblemon-cyan);
    border-top: 3px solid var(--cobblemon-cyan);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}


.search-input-container:focus-within .wiki-search-input:focus {
    border-color: var(--cobblemon-cyan);
}


.search-input-container.has-suggestions:focus-within .pokemon-suggestions {
    border-color: var(--cobblemon-cyan);
    border-top: 3px solid var(--cobblemon-cyan);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}

.wiki-content {
    margin-top: 30px;
}

.wiki-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--cobblemon-white);
}

.loading-spinner {
    font-size: 48px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wiki-pokemon-info {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(15px);
    box-shadow:
        0 5px 30px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(251, 191, 36, 0.1);
}

.wiki-pokemon-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
}

.wiki-pokemon-image {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.wiki-pokemon-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.wiki-pokemon-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.2));
    transition: filter 0.3s ease, opacity 0.3s ease;
    margin-left: 19px;
    position: relative;
    z-index: 2;
}

.wiki-pokemon-image img.pokemon-gif {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}


.wiki-pokemon-image img.shiny-transition {
    animation: shinyFlash 0.6s ease-in-out, shinyShake 0.6s ease-in-out;
}

@keyframes shinyFlash {
    0% {
        filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.5)) brightness(1);
        opacity: 1;
    }
    25% {
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)) brightness(1.5);
        opacity: 0.7;
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(255, 255, 255, 1)) brightness(2);
        opacity: 0.5;
    }
    75% {
        filter: drop-shadow(0 0 40px rgba(255, 105, 180, 1)) brightness(1.5);
        opacity: 0.7;
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.5)) brightness(1);
        opacity: 1;
    }
}

@keyframes shinyShake {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    10% {
        transform: translate(-2px, -1px) rotate(-0.5deg);
    }
    20% {
        transform: translate(2px, 1px) rotate(0.5deg);
    }
    30% {
        transform: translate(-1px, 2px) rotate(-0.3deg);
    }
    40% {
        transform: translate(1px, -2px) rotate(0.3deg);
    }
    50% {
        transform: translate(-2px, 1px) rotate(-0.5deg);
    }
    60% {
        transform: translate(2px, -1px) rotate(0.5deg);
    }
    70% {
        transform: translate(-1px, -2px) rotate(-0.3deg);
    }
    80% {
        transform: translate(1px, 2px) rotate(0.3deg);
    }
    90% {
        transform: translate(-2px, -1px) rotate(-0.5deg);
    }
}


.shiny-toggle-btn {
    position: absolute;
    top: -16px;
    left: -23px;
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
}

.shiny-toggle-btn:hover {
    transform: scale(1.15);
}

.shiny-star {
    font-size: 24px;
    color: #FF69B4;
    filter: drop-shadow(0 0 8px rgba(255, 105, 180, 0.8));
    animation: shinySparkle 2s ease-in-out infinite;
    display: inline-block;
}


@keyframes shinySparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(255, 105, 180, 0.8)) brightness(1);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
        filter: drop-shadow(0 0 12px rgba(255, 105, 180, 1)) brightness(1.3);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        filter: drop-shadow(0 0 15px rgba(255, 105, 180, 1.2)) brightness(1.5);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 12px rgba(255, 105, 180, 1)) brightness(1.3);
    }
}

.mega-buttons-container {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.mega-button.mega-y {
    order: 1;
}

.mega-button.normal-form {
    order: 2;
}

.mega-button.mega-x {
    order: 3;
}

.mega-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--cobblemon-gold);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    color: var(--cobblemon-gold);
    font-weight: 900;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.mega-button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.4) 0%, rgba(251, 191, 36, 0.2) 100%);
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.6);
}

.mega-button.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.6) 0%, rgba(251, 191, 36, 0.4) 100%);
    border-color: var(--cobblemon-cyan);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.8), 0 0 30px rgba(6, 182, 212, 0.5);
}

.mega-button-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.variant-item-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    transition: transform 0.2s ease;
    image-rendering: auto;
}

.mega-button:hover .variant-item-icon {
    transform: scale(1.1);
}

.mega-button.active .variant-item-icon {
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.mega-button.normal-form .mega-button-text {
    font-size: 10px;
}

.mega-stone-container {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
    flex-wrap: wrap;
}


.fusion-components-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 8px 0;
    padding: 8px;
}

.fusion-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.fusion-component-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    transition: transform 0.2s ease;
}

.fusion-component:hover .fusion-component-image {
    transform: scale(1.1);
}

.fusion-component-name {
    font-size: 10px;
    color: var(--cobblemon-gold);
    text-align: center;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fusion-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-item-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.1);
    padding: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.mega-stone-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 8px;
}

.mega-stone-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
}

.mega-stone-name {
    font-size: 11px;
    color: var(--cobblemon-gold);
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.egg-region-container {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    align-items: flex-start;
}

@media (max-width: 850px) {
    .egg-region-container {
        flex-direction: column;
        gap: 15px;
    }

    .egg-region-container > .egg-groups-header {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .egg-region-container > .wiki-region-section {
        margin-top: 0;
        padding-top: 15px;
        border-top: 1px solid rgba(251, 191, 36, 0.2);
    }
}

.egg-region-container > .egg-groups-header {
    flex: 1;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.egg-region-container > .wiki-region-section {
    flex: 1;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.egg-groups-header {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

.egg-groups-label-header {
    font-size: 11px;
    color: var(--cobblemon-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wiki-region-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.egg-region-container .wiki-region-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.wiki-region-label-header {
    font-size: 11px;
    color: var(--cobblemon-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wiki-regional-variants {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 0;
    align-items: center;
    flex-shrink: 0;
}

.regional-variant-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    flex-shrink: 0;
}

.regional-variant-btn:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: var(--cobblemon-gold);
    transform: translateY(-2px);
}

.regional-variant-btn.active {
    background: rgba(251, 191, 36, 0.25);
    border-color: var(--cobblemon-gold);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.regional-variant-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    image-rendering: auto;
}

.regional-variant-name {
    font-size: 10px;
    color: var(--cobblemon-text);
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}

.egg-groups-list-header {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.egg-group-header {
    padding: 4px 10px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    color: var(--cobblemon-white);
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
}

.wiki-pokemon-title h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
    color: var(--cobblemon-gold);
    text-shadow:
        3px 3px 0 var(--cobblemon-blue),
        0 0 30px rgba(251, 191, 36, 0.6);
    margin-bottom: 10px;
}

.wiki-types {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.type-badge {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.wiki-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}


.wiki-stats-grid > .wiki-stat-card:first-child {
    margin-bottom: 8px;
    margin-top: 10px;
}

.wiki-stats-grid > .wiki-stat-card:last-child {
    margin-top: 10px;
}

.wiki-stat-card {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.wiki-stat-card .stat-bars {
    flex: 1;
}

.wiki-stat-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: var(--cobblemon-gold);
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-name {
    font-size: 14px;
    color: var(--cobblemon-white);
    text-transform: capitalize;
}

.stat-bar {
    position: relative;
    width: 100%;
    height: 25px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.3);
}


.stat-iv-ev-item .stat-bar {
    height: 18px;
    border-radius: 9px;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.5s ease;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.stat-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 14px;
}


.nature-section-wrapper {
    margin-bottom: 15px;
}


.nature-selector-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.nature-selector-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}


.ev-total-display-container {
    margin-top: 19px;
    width: 100%;
}

.ev-total-display {
    padding: 8px 12px;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.nature-label {
    font-size: 13px;
    color: var(--cobblemon-white);
    font-weight: 600;
    white-space: nowrap;
}

.nature-select {
    flex: 1;
    min-width: 150px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
    color: var(--cobblemon-white);
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.nature-select:hover {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(0, 0, 0, 0.6);
}

.nature-select:focus {
    border-color: var(--cobblemon-gold);
    box-shadow: 0 0 5px rgba(251, 191, 36, 0.3);
}

.nature-indicators {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.nature-indicator {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.nature-indicator.nature-plus {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.nature-indicator.nature-minus {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.nature-indicator.nature-neutral {
    color: var(--cobblemon-gold);
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.nature-arrow {
    font-size: 14px;
    font-weight: 700;
    margin-left: 4px;
}

.nature-arrow-up {
    color: #4ade80;
}

.nature-arrow-down {
    color: #f87171;
}


.ivs-evs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-iv-ev-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.stat-iv-ev-item .stat-value {
    font-size: 12px;
    right: 6px;
}

.stat-iv-ev-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-iv-ev-name {
    font-size: 14px;
    color: var(--cobblemon-white);
    text-transform: capitalize;
    font-weight: 600;
}

.stat-iv-ev-final {
    font-size: 13px;
    color: var(--cobblemon-gold);
}

.stat-iv-ev-final strong {
    color: var(--cobblemon-white);
    font-size: 15px;
}

.iv-ev-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 9.45px;
}

.iv-control,
.ev-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.iv-control label,
.ev-control label {
    font-size: 12px;
    color: var(--cobblemon-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.iv-value,
.ev-value {
    color: var(--cobblemon-gold);
    font-weight: 700;
    font-size: 14px;
}

.iv-slider,
.ev-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.5);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.iv-slider::-webkit-slider-thumb,
.ev-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cobblemon-gold);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    margin-top: -4px;
}

.iv-slider::-webkit-slider-thumb:hover,
.ev-slider::-webkit-slider-thumb:hover {
    background: #FFD700;
    transform: scale(1.1);
}

.iv-slider::-moz-range-thumb,
.ev-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cobblemon-gold);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.iv-slider::-moz-range-thumb:hover,
.ev-slider::-moz-range-thumb:hover {
    background: #FFD700;
    transform: scale(1.1);
}

.iv-slider::-webkit-slider-runnable-track,
.ev-slider::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.3) 0%, rgba(251, 191, 36, 0.6) 100%);
    border-radius: 3px;
}

.iv-slider::-moz-range-track,
.ev-slider::-moz-range-track {
    height: 6px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.3) 0%, rgba(251, 191, 36, 0.6) 100%);
    border-radius: 3px;
}

.egg-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.egg-group-badge {
    padding: 8px 15px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(251, 191, 36, 0.1) 100%);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 15px;
    color: var(--cobblemon-white);
    font-weight: 700;
    font-size: 14px;
}

.egg-groups-compact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

.egg-groups-label {
    font-size: 12px;
    color: var(--cobblemon-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.egg-groups-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.egg-group-compact {
    padding: 4px 10px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    color: var(--cobblemon-white);
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
}


.wiki-description {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(251, 191, 36, 0.3);
}

.wiki-description-section {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wiki-description-section:last-child {
    margin-bottom: 0;
}

.wiki-description-section h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--cobblemon-gold);
    margin-bottom: 8px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    line-height: 1.4;
}

.wiki-description-text {
    color: var(--cobblemon-white);
    font-size: 13px;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

.wiki-type-chart {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(251, 191, 36, 0.3);
}

.wiki-type-chart h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--cobblemon-gold);
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.type-chart-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.type-chart-section {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid;
    border-radius: 15px;
    padding: 20px;
}

.type-chart-section.x4 {
    border-color: #FF4444;
    background: rgba(255, 68, 68, 0.1);
}

.type-chart-section.x2 {
    border-color: #FFAA44;
    background: rgba(255, 170, 68, 0.1);
}

.type-chart-section.x05 {
    border-color: #44AAFF;
    background: rgba(68, 170, 255, 0.1);
}

.type-chart-section.x025 {
    border-color: #4488FF;
    background: rgba(68, 136, 255, 0.1);
}

.type-chart-section.immune {
    border-color: #888888;
    background: rgba(136, 136, 136, 0.1);
}

.type-chart-section.neutral {
    border-color: #AAAAAA;
    background: rgba(170, 170, 170, 0.05);
}

.type-chart-section h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--cobblemon-white);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.type-chip {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-transform: capitalize;
}


.wiki-evolutions {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(251, 191, 36, 0.3);
}

.wiki-evolutions h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    color: var(--cobblemon-gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.evolutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.evolution-item {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.evolution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.4);
    border-color: var(--cobblemon-cyan);
}

.evolution-image-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 13, 13, 0.5);
    border-radius: 10px;
    padding: 10px;
}

.evolution-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.evolution-item:hover .evolution-image {
    transform: scale(1.1);
}

.evolution-info {
    width: 100%;
    text-align: center;
}

.evolution-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--cobblemon-gold);
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.evolution-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.evolution-stone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 13, 13, 0.4);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.stone-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.stone-name {
    font-size: 14px;
    color: var(--cobblemon-white);
    font-weight: 500;
}

.evolution-method-text {
    background: rgba(13, 13, 13, 0.4);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.evolution-method-text span {
    font-size: 14px;
    color: var(--cobblemon-white);
    font-weight: 500;
}


.wiki-evolutions-compact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(251, 191, 36, 0.3);
}

.wiki-evolutions-compact h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: var(--cobblemon-gold);
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.evolutions-chain-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: rgba(26, 26, 26, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.evolution-chain-compact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
    background: rgba(13, 13, 13, 0.6);
    border-radius: 10px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    min-width: 90px;
    max-width: 110px;
}

.evolution-chain-compact-item:hover {
    transform: translateY(-3px);
    border-color: var(--cobblemon-cyan);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.evolution-chain-compact-item.current {
    border-color: var(--cobblemon-gold);
    background: rgba(251, 191, 36, 0.1);
}

.evolution-chain-compact-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.evolution-chain-compact-item:hover .evolution-chain-compact-image {
    transform: scale(1.15);
}

.evolution-chain-compact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    text-align: center;
}

.evolution-chain-compact-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--cobblemon-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-transform: capitalize;
    line-height: 1.2;
}

.evolution-chain-compact-current {
    font-size: 9px;
    color: var(--cobblemon-cyan);
    font-weight: 500;
    opacity: 0.8;
}

.evolution-chain-compact-method {
    font-size: 10px;
    color: var(--cobblemon-white);
    font-weight: 500;
    opacity: 0.85;
    text-align: center;
    line-height: 1.2;
    padding: 2px 6px;
    background: rgba(13, 13, 13, 0.5);
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.evolution-arrow-compact {
    font-size: 20px;
    color: var(--cobblemon-gold);
    font-weight: bold;
    margin: 0 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    flex-shrink: 0;
}


.wiki-abilities {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(251, 191, 36, 0.3);
}

.wiki-abilities h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    color: var(--cobblemon-gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.abilities-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ability-item {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ability-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--cobblemon-white);
    text-transform: capitalize;
}

.ability-hidden {
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(251, 191, 36, 0.1) 100%);
    border: 1px solid var(--cobblemon-gold);
    border-radius: 10px;
    font-size: 12px;
    color: var(--cobblemon-gold);
    font-weight: 700;
}

.wiki-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--cobblemon-white);
}

.wiki-empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.wiki-empty-state .empty-message {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    color: var(--cobblemon-gold);
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.wiki-error {
    text-align: center;
    padding: 40px;
    color: #FF4444;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 850px) {

    .wiki-section {
        padding: 15px 10px;
    }

    .wiki-search-container {
        margin-bottom: 30px;
    }

    .search-box {
        max-width: 100%;
    }

    .search-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .wiki-search-input {
        padding: 12px 15px;
        font-size: 16px;
    }

    .wiki-search-btn {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .wiki-content {
        margin-top: 20px;
    }

    .wiki-pokemon-info {
        padding: 20px 15px;
    }

    .wiki-pokemon-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .wiki-pokemon-image img {
        width: 150px;
        height: 150px;
        margin-left: 0;
    }

    .wiki-pokemon-title h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .wiki-types {
        gap: 10px;
        justify-content: center;
    }

    .type-badge {
        padding: 8px 15px;
        font-size: 14px;
    }

    .wiki-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wiki-stat-card {
        padding: 15px;
    }

    .wiki-stat-card h3 {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .stat-item {
        gap: 6px;
    }

    .stat-name {
        font-size: 12px;
    }

    .stat-bar {
        height: 20px;
    }

    .stat-value {
        font-size: 12px;
        right: 8px;
    }


    .mega-buttons-container {
        gap: 8px;
    }

    .mega-button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .mega-button-text {
        font-size: 10px;
    }

    .mega-button.normal-form .mega-button-text {
        font-size: 8px;
    }

    .mega-stone-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .mega-stone-item {
        width: 100%;
        justify-content: flex-start;
        padding: 5px 8px;
    }

    .mega-stone-image {
        width: 20px;
        height: 20px;
    }

    .mega-stone-name {
        font-size: 10px;
    }


    .nature-selector-container {
        padding: 8px;
    }

    .nature-selector-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .nature-select {
        min-width: 100%;
    }

    .nature-indicators {
        justify-content: center;
    }


    .iv-ev-controls {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-iv-ev-item {
        padding: 8px;
    }

    .stat-iv-ev-name {
        font-size: 12px;
    }

    .stat-iv-ev-final {
        font-size: 11px;
    }

    .stat-iv-ev-final strong {
        font-size: 13px;
    }


    .wiki-type-chart {
        margin-top: 15px;
        padding-top: 15px;
    }

    .wiki-type-chart h3,
    .wiki-abilities h3,
    .wiki-evolutions h3,
    .wiki-evolutions-compact h3 {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .type-chart-section {
        padding: 15px;
    }

    .type-chart-section h4 {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .type-list {
        gap: 8px;
    }

    .type-chip {
        padding: 6px 12px;
        font-size: 12px;
    }


    .wiki-abilities {
        margin-top: 20px;
        padding-top: 20px;
    }

    .abilities-list {
        gap: 12px;
    }

    .ability-item {
        padding: 12px 15px;
        gap: 12px;
    }

    .ability-name {
        font-size: 16px;
    }

    .ability-hidden {
        padding: 4px 10px;
        font-size: 11px;
    }


    .wiki-evolutions,
    .wiki-evolutions-compact {
        margin-top: 20px;
        padding-top: 20px;
    }

    .evolutions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .evolution-item {
        padding: 12px;
    }

    .evolution-image-container {
        width: 100px;
        height: 100px;
    }

    .evolution-name {
        font-size: 16px;
    }

    .evolutions-chain-compact {
        gap: 8px;
        padding: 12px;
    }

    .evolution-chain-compact-item {
        min-width: 70px;
        max-width: 80px;
        padding: 6px;
    }

    .evolution-chain-compact-image {
        width: 45px;
        height: 45px;
    }

    .evolution-chain-compact-name {
        font-size: 10px;
    }

    .evolution-chain-compact-method {
        font-size: 8px;
        padding: 2px 4px;
    }

    .evolution-arrow-compact {
        font-size: 14px;
        margin: 0 2px;
    }


    .wiki-moves-section {
        padding: 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .wiki-moves-section h3 {
        font-size: 12px;
    }

    .moves-toggle-btn {
        width: 35px;
        height: 35px;
        padding: 6px 10px;
    }

    .moves-toggle-icon {
        font-size: 16px;
    }

    .moves-category {
        margin-bottom: 20px;
    }

    .moves-category h4 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .moves-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .move-item {
        padding: 10px 12px;
    }

    .move-name {
        font-size: 13px;
    }

    .move-level {
        font-size: 11px;
        padding: 3px 8px;
    }

    .move-method {
        font-size: 10px;
        padding: 3px 8px;
    }


    .wiki-move-display {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-height: 40px;
        height: 40px;
    }

    .wiki-move-type-icon {
        font-size: 16px;
    }

    .wiki-move-name {
        font-size: 0.85rem;
    }

    .wiki-move-method {
        font-size: 0.75rem;
    }

    .wiki-move-tooltip {
        min-width: 280px;
        max-width: 90vw;
        padding: 12px;
        font-size: 0.85rem;
    }


    .wiki-spawn-section {
        padding: 15px;
        margin-top: 15px;
    }

    .wiki-spawn-section h3 {
        font-size: 1em;
        margin-bottom: 12px;
    }

    .spawn-main-info {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 15px;
    }

    .spawn-rarity-badge,
    .spawn-weight-info,
    .spawn-dimension-badge {
        padding: 8px 15px;
        width: 100%;
        justify-content: center;
    }

    .spawn-info-group {
        padding: 12px;
        margin-bottom: 15px;
    }

    .spawn-info-title {
        font-size: 0.9em;
        margin-bottom: 10px;
    }

    .spawn-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }

    .spawn-item {
        padding: 10px;
    }

    .spawn-item-emoji {
        font-size: 1.5em;
        margin-bottom: 6px;
    }

    .spawn-item-name-en,
    .spawn-item-name-pt {
        font-size: 0.8em;
    }

    .spawn-level-range {
        padding: 12px;
    }

    .spawn-level-value {
        font-size: 1.1em;
    }

    .drops-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    .drop-item {
        padding: 10px;
        gap: 10px;
    }

    .drop-item-icon {
        width: 40px;
        height: 40px;
    }

    .drop-item-name-en,
    .drop-item-name-pt {
        font-size: 0.8em;
    }

    .drop-item-quantity,
    .drop-item-chance {
        font-size: 0.75em;
        padding: 3px 6px;
    }

    /* Empty State Mobile */
    .wiki-empty-state {
        padding: 60px 15px;
    }

    .wiki-empty-state .empty-icon {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .wiki-empty-state .empty-message {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .empty-description {
        font-size: 12px;
    }
}

/* Seção de Moves */
.wiki-moves-section {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.wiki-moves-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.wiki-moves-section h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--cobblemon-gold);
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    flex: 1;
}

.moves-toggle-btn {
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.moves-toggle-btn:hover {
    background: rgba(251, 191, 36, 0.3);
    border-color: var(--cobblemon-cyan);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.moves-toggle-icon {
    color: var(--cobblemon-gold);
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
    user-select: none;
}

.moves-toggle-btn:hover .moves-toggle-icon {
    color: var(--cobblemon-cyan);
}

.wiki-moves-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(251, 191, 36, 0.3);
}

.moves-category {
    margin-bottom: 25px;
}

.moves-category:last-child {
    margin-bottom: 0;
}

.moves-category h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--cobblemon-cyan);
    margin-bottom: 12px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.moves-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.move-item {
    background: rgba(13, 13, 13, 0.7);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.move-item:hover {
    background: rgba(13, 13, 13, 0.9);
    border-color: var(--cobblemon-gold);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.move-name {
    color: var(--cobblemon-white);
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
    flex: 1;
}

.move-level {
    color: var(--cobblemon-cyan);
    font-weight: 700;
    font-size: 12px;
    background: rgba(6, 182, 212, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.move-method {
    color: var(--cobblemon-gold);
    font-weight: 600;
    font-size: 11px;
    background: rgba(251, 191, 36, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Estilos da seção de movimentos */
.wiki-move-item {
    position: relative;
    margin-bottom: 10px;
}

.wiki-move-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 45px;
    height: 45px;
    box-sizing: border-box;
    justify-content: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wiki-move-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.wiki-move-type-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.wiki-move-name {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.wiki-move-method {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.wiki-move-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    border: 2px solid var(--cobblemon-purple);
    border-radius: 10px;
    padding: 16px;
    width: min(320px, calc(100vw - 32px));
    min-width: 0;
    max-width: 400px;
    box-sizing: border-box;
    z-index: 1001;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    white-space: normal;
}

.wiki-move-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--cobblemon-purple);
}

.wiki-move-item:hover .wiki-move-tooltip {
    display: block;
}

.wiki-spawn-section {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.wiki-spawn-section h3 {
    color: var(--cobblemon-gold);
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.spawn-main-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.spawn-rarity-badge {
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spawn-rarity-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.spawn-rarity-value {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--cobblemon-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.spawn-weight-info {
    padding: 10px 20px;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.spawn-weight-label {
    font-size: 0.9em;
    color: var(--cobblemon-white);
    font-weight: 500;
}

.spawn-weight-value {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--cobblemon-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.spawn-dimension-badge {
    padding: 10px 20px;
    background: rgba(139, 69, 19, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 19, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.spawn-dimension-emojis {
    font-size: 1.3em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    display: inline-block;
}

.spawn-dimension-label {
    font-size: 0.9em;
    color: var(--cobblemon-white);
    font-weight: 500;
}

.spawn-dimension-value {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--cobblemon-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.spawn-info-group {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.spawn-info-title {
    color: var(--cobblemon-gold);
    font-size: 1em;
    margin-bottom: 12px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.spawn-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.spawn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
}

.spawn-item:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.spawn-item-emoji {
    font-size: 1.8em;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.spawn-item-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.spawn-item-name-en {
    color: var(--cobblemon-white);
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.spawn-item-name-pt {
    color: var(--cobblemon-gold);
    font-size: 0.85em;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.spawn-item-name {
    color: var(--cobblemon-white);
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.spawn-level-range {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.spawn-level-value {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--cobblemon-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Estilos para drops de itens */
.drops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
}

.drop-item:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.drop-item-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    flex-shrink: 0;
}

.drop-item-fallback {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 8px;
    flex-shrink: 0;
}

.drop-item-emoji {
    font-size: 1.8em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.drop-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.drop-item-names {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drop-item-name-en {
    color: var(--cobblemon-white);
    font-size: 0.9em;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.drop-item-name-pt {
    color: var(--cobblemon-gold);
    font-size: 0.85em;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.drop-item-details {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.drop-item-quantity {
    color: var(--cobblemon-white);
    font-size: 0.85em;
    font-weight: 500;
    background: rgba(251, 191, 36, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.drop-item-chance {
    color: var(--cobblemon-gold);
    font-size: 0.85em;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.15);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}


/* Responsive - Mobile Pequeno (até 480px) */
@media (max-width: 480px) {
    .page-title {
        font-size: 14px;
    }

    .page-subtitle {
        font-size: 11px;
    }

    .product-card {
        padding: 15px 12px;
    }

    .product-image {
        height: 150px;
    }

    #productsGrid .product-image {
        height: 170px;
    }

    .product-name {
        font-size: 16px;
        min-height: 40px;
    }

    .product-description {
        font-size: 12px;
    }

    .price-value {
        font-size: 18px;
    }

    .modal-content {
        padding: 20px 12px;
        margin: 10px;
    }

    .custom-order-modal {
        padding: 18px 12px;
    }

    .wiki-search-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .wiki-pokemon-image img {
        width: 120px;
        height: 120px;
    }

    .wiki-pokemon-title h2 {
        font-size: 16px;
    }

    .mega-button {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .wiki-move-tooltip {
        min-width: 260px;
        padding: 10px;
        font-size: 0.8rem;
    }
}


.finalize-order-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.finalize-order-btn:disabled:hover {
    transform: none;
}

/* Gerenciador local de anúncios */
.listing-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 18px;
}

.manage-listings-btn,
.listing-secondary-btn {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 9px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.manage-listings-btn {
    border: 1px solid var(--cobblemon-gold, #fbbf24);
    background: rgba(251, 191, 36, 0.12);
    color: var(--cobblemon-gold, #fbbf24);
}

.manage-listings-btn:hover,
.manage-listings-btn:focus-visible {
    background: rgba(251, 191, 36, 0.22);
}

.listing-toolbar-note,
.listing-manager-subtitle {
    margin: 0;
    color: var(--cobblemon-light-gray, #cbd5e1);
    font-size: 0.88rem;
}

.listing-manager-dialog__panel {
    width: min(780px, 100%);
}

.listing-manager-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.listing-field {
    display: grid;
    gap: 6px;
}

.listing-field--wide {
    grid-column: 1 / -1;
}

.listing-field label {
    color: #f8fafc;
    font-weight: 700;
}

.listing-field input,
.listing-field select,
.listing-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    font: inherit;
}

.listing-field textarea {
    min-height: 90px;
    resize: vertical;
}

.listing-manager-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.listing-secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #e2e8f0;
}

.listing-manager-current {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.listing-manager-current h3 {
    margin: 0 0 12px;
}

.listing-manager-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.listing-manager-row div {
    min-width: 0;
}

.listing-manager-row strong,
.listing-manager-row small {
    display: block;
    overflow-wrap: anywhere;
}

.listing-manager-row small {
    margin-top: 4px;
    color: #cbd5e1;
}

.listing-manager-row button {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(239, 68, 68, 0.6);
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    cursor: pointer;
}

@media (max-width: 620px) {
    .listing-manager-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .listing-field--wide {
        grid-column: auto;
    }

    .listing-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Tooltip reutilizável de movimentos */
.wiki-move-tm-icon[hidden],
.wiki-moves-content[hidden] {
    display: none !important;
}

.wiki-move-tm-icon {
    flex: 0 0 auto;
    margin-right: 6px;
    vertical-align: middle;
}

.wiki-move-item:focus-within .wiki-move-tooltip,
.wiki-move-item:focus-within .moveset-move-tooltip {
    display: block;
}

.move-tooltip-title {
    display: block;
    margin-bottom: 12px;
    color: var(--cobblemon-gold);
    font-size: 1.1rem;
    text-align: center;
}

.move-tooltip-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 12px;
}

.move-tooltip-stats div {
    min-width: 0;
    font-size: 0.9rem;
}

.move-tooltip-stats dt {
    color: var(--cobblemon-cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.move-tooltip-stats dd {
    margin: 2px 0 0;
    color: var(--cobblemon-text);
    overflow-wrap: anywhere;
}

.move-tooltip-description {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--cobblemon-gray);
    color: var(--cobblemon-text);
    font-size: 0.85rem;
}

.move-tooltip-description strong {
    display: block;
    margin-bottom: 5px;
    color: var(--cobblemon-gold);
    text-transform: uppercase;
}

.move-tooltip-description p {
    margin: 0;
    font-style: italic;
    line-height: 1.4;
}

.moveset-set[hidden] {
    display: none !important;
}

.moveset-move-display {
    position: relative;
}

.moveset-export-btn.is-copied {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.3);
}

.evolution-chain-compact-image[data-clickable-image="true"] {
    cursor: pointer;
}

.drop-item-fallback[hidden] {
    display: none !important;
}

.page-header--pokemons {
    min-height: 340px;
}

.page-header--pokemons .page-header__copy {
    max-width: 790px;
}

.seller-contact-card {
    width: min(100%, 760px);
    margin-top: 22px;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(9, 10, 15, 0.9), rgba(20, 21, 29, 0.78));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.seller-contact-card__copy {
    min-width: 0;
}

.seller-contact-card__copy > span {
    display: block;
    margin-bottom: 5px;
    color: #ef3340;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.seller-contact-card__copy > strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

.seller-contact-card__copy > p {
    margin: 5px 0 0;
    color: #a9a9b3;
    font-size: 0.86rem;
    line-height: 1.45;
}

.seller-contact-card__action {
    min-width: 178px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    background: linear-gradient(135deg, #5865f2, #4651c7);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(70, 81, 199, 0.24);
    transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.seller-contact-card__action:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 28px rgba(70, 81, 199, 0.34);
}

.seller-contact-card__action:focus-visible {
    outline: 3px solid rgba(88, 101, 242, 0.35);
    outline-offset: 3px;
}

.seller-contact-card__action > span {
    font-size: 0.92rem;
    font-weight: 900;
    white-space: nowrap;
}

.seller-contact-card__discord-icon {
    width: 31px;
    height: 25px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 850px) {
    .page-header--pokemons {
        min-height: 360px;
    }

    .seller-contact-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .seller-contact-card__action {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .page-header--pokemons {
        min-height: 490px;
        padding-bottom: 132px;
    }

    .seller-contact-card {
        margin-top: 18px;
        padding: 14px;
        border-radius: 14px;
    }

    .seller-contact-card__copy > strong {
        font-size: 0.94rem;
    }

    .seller-contact-card__copy > p {
        font-size: 0.81rem;
    }
}
