/* TCG Category Cards - Similar to Flash Sale Card */
.tcg-category-card {
    background: #0b81e391;
    border: 2px solid #0b81e3;
    border-radius: 18px;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    -ms-border-radius: 18px;
    -o-border-radius: 18px;
    width: 100%;
    aspect-ratio: 2 / 1;
    float: left;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tcg-category-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(11, 129, 227, 0.5);
}

.bg-category-image {
    filter: saturate(0.2);
    opacity: 0.1;
    border-radius: 17px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    background-size: contain;
    -o-object-fit: cover;
    -webkit-filter: saturate(0.2);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.tcg-category-card .card-body {
    position: relative;
    z-index: 1;
    height: 100%;
}

.tcg-category-icon-wrapper {
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.tcg-category-icon-wrapper img {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.tcg-category-title {
    color: var(--color-primary);
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.tcg-section {
    /* margin-top: 80px; */
    padding-top: 30px;
    padding-bottom: 100px;
}

.bg-overlay {
    filter: saturate(0.1);
    opacity: 0.1;
    border-radius: 17px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    background-size: contain;
    -o-object-fit: cover;
    -webkit-filter: saturate(0.1);
    position: absolute;
    padding: 0 !important;
    top: 0;
    left: -1;
    z-index: 0;
}

.tcg-title-game-name {
    font-size: 2rem;
}

@media (max-width: 768px) {
    .tcg-title-game-name {
        font-size: 1.5rem;
    }
}

.checkbox-custom {
    appearance: none;
    -webkit-appearance: none;
    width: 1.5rem !important;
    height: 1.5rem !important;
    border: 2px solid #ffcc4d;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-content: center;
}

.checkbox-custom:checked {
    background: #ffcc4d;
}

.checkbox-custom::after {
    content: "";
    width: 8px;
    height: 12px;
    border: solid var(--outer-color);
    border-width: 0 4px 4px 0;
    transform: rotate(45deg) translateY(-2px) translateX(-1px);
    opacity: 0;
}

.checkbox-custom:checked::after {
    opacity: 1;
}

.sticky {
    position: sticky;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Optional: Smooth scrolling for the sticky content */
.sticky::-webkit-scrollbar {
    width: 6px;
}

.sticky::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sticky::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.sticky::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.checkout-section .card-title {
    background: #0c4e8b;
    border: 2px solid #0b81e3;
    border-radius: 20px 50px 50px 20px;
    -webkit-border-radius: 20px 50px 50px 20px;
    -moz-border-radius: 20px 50px 50px 20px;
    -ms-border-radius: 20px 50px 50px 20px;
    -o-border-radius: 20px 50px 50px 20px;
    padding: 10px;
    box-shadow: 0px 3.831px 3.831px 0px rgba(0, 0, 0, 0.25);
}

.buying-step-card .card-title {
    left: -1rem;
    position: relative;
    width: 30%;
}

@media (max-width: 768px) {
    .buying-step-card .card-title {
        left: -0.5rem;
        width: 70%;
        font-size: 14px;
    }
}

.divider {
    height: 1px;
    width: 100%;
    margin: 0;
}

.pst {
    position: relative;
}