.free-gift-trigger {
    display: none !important;
}

.free-gifts li label {
    flex-direction: row-reverse;
}

.mygifts {
    margin: 20px 0;
}

.mygifts-level {
    margin-bottom: 10px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
}

.mygifts-level.unlocked {
    border-color: #4CAF50;
    background: #f1f8e9;
}

.mygifts-level.unlocked .mygifts-level__left > p {
    display: none;
}

.mygifts-level.locked {
    display: none;
    opacity: 0.6;
}

.mygifts-level.collapsed .mygifts-level__left {
    margin-bottom: 0;
}

.mygifts-level__left {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.mygifts-level__left h3 {
    margin: 0;

    line-height: 1.3;
    cursor: pointer;
    transition: opacity 0.3s ease;
    user-select: none;
}


.mygifts-level__left h3:hover {
    opacity: 0.8;
}

.mygifts-level:has(.mygift.active) .mygifts-level__left h3::after {
    display: inline-block;

    content: "";
    width: 16px;
    height: 16px;
    margin-left: 5px;

    mask-image: url("/user/documents/upload/kodovani/chevron-down.svg");
    mask-repeat: no-repeat;
    mask-position: center bottom;
    mask-size: contain;
    -webkit-mask-image: url("/user/documents/upload/kodovani/chevron-down.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center bottom;
    -webkit-mask-size: contain;
    background-color: #000;
}

.mygifts-level.collapsed:has(.mygift.active) .mygifts-level__left h3::after {
    transform: rotate(180deg);
    mask-position: center top;
    -webkit-mask-position: center top;
}

.mygifts-level__chosen {
    font-weight: bold;
}

.mygifts-level__toggle {
    color: #4CAF50;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mygifts-level__toggle:hover {
    transform: scale(1.2);
}

.mygifts-level.collapsed .mygifts-inner {
    display: none !important;
}

.mygifts-inner {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mygift {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    width: calc(33.333% - 10px);
}

.mygift:hover {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mygift.active {
    border-color: #4CAF50;
    background: #e8f5e8;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

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

.mygift.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #ddd;
}

.mygift-image {
    margin-bottom: 10px;
}

.mygift-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.mygift-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.mygift .product-appendix {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-top: 4px;
}

@media (max-width: 1439px) {
    .mygift {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .mygifts {
        padding-inline: 16px;
    }

    .mygifts-inner {
        flex-wrap: nowrap;
        gap: 10px;

        padding-block: 2px;
        padding-inline: 10px;
        margin-inline: -10px;

        overflow: auto;
        scrollbar-width: none;
    }

    .mygifts-inner::-webkit-scrollbar {
        display: none;
    }

    .mygift {
        flex-shrink: 0;

        max-width: 90%;
        width: 200px;
    }

    .mygift-image {
        margin-bottom: 0;
    }

    .mygift-name {
        text-align: center;
    }

    .mygifts-level {
        padding-inline: 10px;
    }

    .mygifts-level__left h3 {
        margin-top: 0;
    }

    .mygifts-level__left p {
        font-size: 14px;
    }

    .mygifts-level__left h3 {
        font-size: 15px !important;
    }

    .mygifts-level:has(.mygift.active) .mygifts-level__left h3::after {
        width: 12px;
        height: 12px;
    }
}