body {
    background-image: url('../../images/screenshots1920x1080/old_spawn.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

header {
    flex-shrink: 0;
}

.shop-wrapper {
    padding: 20px 5%;
}

footer {
    flex-shrink: 0;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

header .contentContainer a {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.shop-content-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.shop {
    flex: 1;
    padding-top: 70px;
    font-family: Montserrat, sans-serif;
}

.details-panel-container {
    flex-basis: 35%;
    max-width: 450px;
    min-width: 350px;
}

#item-details-panel {
    position: fixed;
    top: 90px;
    right: 5%;
    width: 35%;
    max-width: 450px;
    min-width: 350px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(10, 10, 10, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 3px solid #ff7300;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 30px 30px;
    color: #fff;
    overflow-y: auto;
    font-family: Montserrat, sans-serif;
    transition: none;
}

#item-details-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.shop-item {
    cursor: pointer;
}

.shop-section {
    display: flex;
    flex-direction: column;
}

.section-title {
    color: #ffffff;
    font-size: 200%;
    font-weight: 700;
    margin: 0;
    padding-left: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #ff7300;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.items-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 75px;
    max-width: 35%;
}

.item-container {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg,
            rgba(33, 33, 33, 0.737) 0%,
            rgba(29, 29, 29, 0.236) 100%);
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
        rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    backdrop-filter: blur(4px);
    border-radius: 15px;
    border: 2px solid #ff7300;
    padding: 15px;
    text-align: center;
    align-items: center;
    width: 130px;
}

.item-icon {
    max-width: 90px;
    height: 90px;
    object-fit: contain;
}

.item-title {
    color: #fff;
    font-size: 135%;
    font-weight: 730;
    margin: 0;
    white-space: nowrap;
}

.item-price {
    font-size: 115%;
    font-weight: 700;
    color: #f39c12;
    margin: 0;
}

.item-price-sale {
    color: #a0a0a0;
    text-decoration: line-through;
    text-decoration-color: #ff0000;
    text-decoration-thickness: 3px;
}

#item-details-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#details-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    border-bottom: 2px solid #ff7300;
    padding-bottom: 10px;
    margin-bottom: 15px;
}


#details-name {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

#details-description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
    width: 100%;
    /* text-align: left; */
}

.price-section {
    display: none;
}


.price-section span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

#details-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f39c12;
    white-space: nowrap;
    margin-left: 15px;
}

#details-price .item-price-sale {
    font-size: 1.2rem;
}

#buy-button,
.login-prompt-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: #ff7300;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

#buy-button:hover,
.login-prompt-btn:hover {
    background-color: #d96400;
    transform: scale(1.03);
}

#buy-button:disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.6;
}

#buy-button:disabled:hover {
    background-color: #555;
    transform: none;
    box-shadow: none;
}

.error-message {
    color: #e74c3c;
    text-align: center;
}