.line-clamp-1,
.line-clamp-2 {
    overflow: hidden;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
}

.line-clamp-2 {
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid #FFF;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.product-wrapper-area {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: start;
}

.product-wrapper-area .product-selection-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    max-width: 100%;
}

.product-wrapper-area .basket-total {
    width: 400px;
    position: sticky;
    align-self: flex-start;
    flex-shrink: 0;
}

.product-information-card {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 10px #0000001c;
}

.product-information-card.only-product {
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.product-information-card .slider-card {
    border: none;
    border-radius: 0;
}

.product-information-card .slider-card::after {
    content: none;
}

.product-information {
    display: flex;
    gap: 16px;
}

.product-information img.product-image {
    width: auto;
    height: 125px;
    border-radius: 8px;
    flex-shrink: 0;
}

.product-information .age-restrict-header {
    font-size: 12px;
}

.product-information .age-restirect img {
    width: 40px;
    height: 40px;
}

.product-information .bg-primary-50 {
    background-color: #4A3A29;
}

.product-information .flex-grow-1 .line-clamp-1 {
    overflow: hidden;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
}

.product-information #reward-info {
    display: none;
    max-width: 320px;
    border-radius: 8px;
    overflow: hidden;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.product-information .product-company,
.product-description {
    color: #000000;
}

.product-information .product-company {
    font-size: 15px;
    font-weight: 500;
}

.product-description {
    position: relative;
    overflow: hidden;
    text-wrap: wrap;
    font-size: 12px;
    user-select: none;
    margin-top: 1rem;
    max-height: none !important;
}

.product-description h1 {
    margin: 0;
    font-size: 16px;
}

.product-description h2 {
    margin: 0;
    font-size: 14px;
}

.product-description h3 {
    margin: 0;
    font-size: 13px;
}

.product-description h4,
.product-description h5 {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
}

.product-information .product-title {
    font-size: 22px;
    font-weight: 600;
}

.category-info-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #3d7dc8;
    color: #ffffff;
    border-radius: 5px;
    padding: 3px 6px;
    font-size: 12px;
    font-weight: 500;
}

.product-step-card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 0 2px 10px #0000001c;
}

.product-step-card .step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
}

.product-step-card .step-header .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3d7dc8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.product-step-card .step-header .step-title {
    font-size: 14px;
    font-weight: 600;
}

.product-step-card .step-body {
    padding: 0 1rem 1rem 1rem;
}

.product-selection-card .step-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-selection-card .step-body .category-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    flex-wrap: wrap;
}

.product-selection-card .step-body .category-products .category-information {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px;
    border-radius: 6px;
    background: #dfdfdf;
}

.product-selection-card .step-body .category-products .category-information.selected {
    background: #3d7dc880;
    border: 1px solid #6692c5;
}

.product-selection-card .step-body .category-products .category-information img {
    width: 24px;
    height: 24px;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-selection-card .step-body .category-products .category-information h2 {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.product-selection-card .step-body .category-products .current-product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.product-selection-card .step-body .category-products .current-product-list.loading-state {
    display: block;
    text-align: center;
    padding: 1rem;
}

.product-selection-card .step-body .category-products .current-product-list.no-products {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: 1rem;
    background: #ff000052;
    border: 1px solid #ff9494;
    border-radius: 6px;
    color: #5c1f1f;
}

.product-selection-card .step-body .category-products .current-product-list .product-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px #00000024;
    user-select: none;
    -webkit-user-drag: none;
    margin: 0;
}

.product-selection-card .step-body .category-products .current-product-list .product-item:hover {
    border-color: #3d7dc8;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.selected {
    border-color: #80a1c8;
    background: #3d7dc854;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.product-inactive {
    cursor: not-allowed;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.product-inactive *:not(.product-inactive-badge) {
    opacity: 0.5;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.product-inactive:hover {
    border-color: transparent;
}

.product-inactive-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0 0 0 / 80%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.product-inactive-badge i {
    font-size: 10px;
}

body.dark-theme .product-inactive-badge {
    background: rgb(0 0 0 / 85%);
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-check  {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #3d7dc8;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.selected .product-check {
    display: flex;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    height: 100%;
    justify-content: space-between;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-name {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin: 0;
    overflow: hidden;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-price {
    font-size: 14px;
    font-weight: 700;
    color: #3d7dc8;
    margin: 0;
}

.product-market-price {
    text-decoration: line-through;
    font-weight: 400;
    opacity: 0.6;
    font-size: 0.85em;
    margin-right: 4px;
}

.no-requirements-message {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.require-group {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: stretch;
    align-items: center;
    flex-wrap: wrap;
}

.require-wrapper {
    flex: 1 1;
}

.discount-wrapper {
    padding: 0 0.5rem;
}

.discount-view {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    margin-top: 1rem;
    background: #ffffff;
    box-shadow: 0 2px 5px #00000012;
}

.discount-view .code {
    width: 100%;
    flex-shrink: 0;
    background: #bcbcbc52;
    padding: 4px 6px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.nav-pills {
    padding: 0;
}

.nav-pills .nav-link {
    font-size: 12px;
}

.product-desc {
    text-align: left;
}

.platform-list {
    justify-content: end;
    margin: 0;
}

.platform-list .platform-block {
    width: auto;
    cursor: pointer;
    display: block;
    min-width: auto;
    max-width: unset;
}

.product-inner-sep-right {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: end;
    justify-content: flex-start;
}

.age-list {
    margin: 0;
}

.product-desc .half-text {
    overflow-y: hidden;
    width: 100%;
}

.minimized-content {
    overflow: hidden !important;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    max-height: none !important;
}

.minimized-content.expanded {
    overflow: visible !important;
    display: block;
    line-clamp: unset;
    -webkit-box-orient: unset;
    -webkit-line-clamp: unset;
    text-overflow: unset;
}

.age-list img {
    width: calc((100% - 0.5rem) / 2);
    height: 50px;
    object-fit: contain;
}

#product-more {
    width: 25px;
    height: 25px;
    margin-left: 50%;
    transition: all .5s ease;
    will-change: transform;
}

#product-more.expanded {
    transform: rotate(180deg);
}

.requirement-fields .info-img {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    display: block;
    cursor: pointer;
}

.info-img h5 {
    margin: 0;
    padding: 1rem;
    padding-left: 3rem;
    position: relative;
    background-color: #00000012;
    border-radius: 8px;
    text-align: left;
    transition: background-color 0.3s ease;
    user-select: none;
}

.info-img h5:hover {
    background-color: #00000020;
}

.requirement-fields .info-img h5:before {
    content: "\f05a";
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    position: absolute;
    left: 15px;
    font-size: 20px;
}

.requirement-fields .info-img img {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s ease;
    max-width: 450px;
    right: 0;
    bottom: -10px;
    transform: translateY(100%);
    margin: 0;
}

.requirement-fields .info-img:hover img {
    opacity: 1;
}

.badge-list-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    overflow: hidden;
    pointer-events: none;
    margin-top: 5px;
}

.product-information .badge-list-wrapper img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.category-comments .category-comments-data .cp-comment {
    width: calc((100% - 1.2rem) / 3);
}

.tabs {
    border: unset;
    border-radius: unset;
}

.payment-box {
    border: unset !important;
    background: transparent;
    border-radius: unset;
    margin: 0;
}

.payment-box .payment-body {
    padding: 0;
    border: unset;
    border-radius: unset;
}

.iti
{
    width: 100%;
}

.requirement-fields div:not(.require-wrapper)
{
    width: 100%;
    margin: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 1px;
}

.select2-container .select2-selection--single {
    height: 36px;
    padding-left: 0.7rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

.download-links {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 5px;
}

.product-information .download-links .download-link-item {
    width: 120px;
}

.product-information .download-links .download-link-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

@media (max-width: 768px) {
    .product-information .download-links .download-link-item {
        width: calc((100% - 0.5rem) / 2);
    }

    .product-information .product-title.line-clamp-1 {
        overflow: unset !important;
        display: block !important;
        line-height: 25px;
        font-size: 16px;
    }

    .product-information .product-company {
        font-size: 13px;
    }

    .basket-total .side-content .step-container .payed-price .pay-title .total-items {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .basket-total .product-information .product-quantity {
        margin: 0;
        height: 28px;
    }

    .basket-total .side-content .step-container .payed-price .total-price {
        margin-top: 4px;
    }
}

.product-quantity {
    opacity: 0;
    align-items: stretch;
    justify-content: stretch;
    position: absolute;
    bottom: 8px;
    right: 8px;
    box-shadow: 0 2px 5px #0000002b;
    border-radius: 8px;
    transition: opacity 0.15s ease;
    display: flex;
    will-change: opacity;
    pointer-events: none;
}

.product-item.selected .product-quantity {
    opacity: 1;
    pointer-events: auto;
}

.product-item:hover:not(.selected) .product-quantity {
    opacity: 0.5;
}

.product-information .product-quantity {
    position: relative;
    bottom: unset;
    right: unset;
    display: inline-flex;
    margin-top: 4px;
    opacity: 1;
    pointer-events: auto;
}

.product-quantity input {
    flex-shrink: 0;
    flex-grow: 1;
    border: none;
    outline: none;
    text-align: center;
    font-weight: 600;
    width: 25px;
    background: #fff;
    color: #000;
}

.product-quantity input::placeholder {
    color: #00000080;
}

.product-quantity button {
    outline: none;
    border: none;
    background: #fff;
    color: #000;
    padding: 2px 6px;
}

.product-quantity button.quantity-decrease {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.product-quantity button.quantity-increase {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.selected-product-summary {
    display: none;
    padding: 10px 10px 0 10px;
    width: 100%;
}

@media (max-width: 768px) {
    .selected-product-summary {
        position: fixed;
        left: 0;
        right: 0;
        z-index: 130;
        padding: 8px 12px;
        transition: top 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .selected-product-summary .summary-inner {
        pointer-events: auto;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
    }
}

.selected-product-summary .summary-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f8f8;
    border-radius: 8px;
}

.selected-product-summary .summary-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.selected-product-summary .summary-details {
    min-width: 0;
    flex: 1;
}

.selected-product-summary .summary-name {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1a1a1a;
}

.selected-product-summary .summary-quantity {
    font-size: 12px;
    color: #888;
}

.selected-product-summary .summary-price {
    font-size: 13px;
    font-weight: 600;
    color: #3d7dc8;
}

body.dark-theme .selected-product-summary .summary-inner {
    background: #292e38;
}

body.dark-theme .selected-product-summary .summary-name {
    color: #e8e8e8;
}

body.dark-theme .selected-product-summary .summary-quantity {
    color: #9a9a9a;
}

body.dark-theme .selected-product-summary .summary-price {
    color: #5aa6ff;
}

@media (max-width: 992px) {
    .product-selection-card .step-body .category-products .current-product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-selection-card .step-body .category-products .current-product-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-wrapper-area {
        flex-direction: column;
        margin-bottom: 8rem;
    }

    .product-wrapper-area .basket-total {
        width: 100%;
    }

    .discount-view {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .require-group {
        flex-direction: column;
        align-items: stretch;
    }

    .require-group label {
        margin-bottom: 3px;
    }

    .product-inner-sep {
        flex-direction: column;
        gap: 0;
    }

    .product-inner-sep-right {
        align-items: stretch;
        gap: 1rem;
        flex-direction: column;
    }

    .platform-list {
        justify-content: center;
    }

    .category-comments .category-comments-data .cp-comment {
        width: 100%;
    }

    .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .nav-pills .nav-item,
    .nav-pills .nav-link {
        flex: 0 0 auto;
        width: auto;
    }
}

body.dark-theme .product-information-card {
    background: #212630;
}

body.dark-theme .category-info-badge {
    background: #3d7dc861;
    color: #b0d4ff;
}

body.dark-theme .product-information .product-company,
body.dark-theme .product-description {
    color: #EBEBF599;
}

body.dark-theme .product-step-card {
    background: #212630;
}

body.dark-theme .product-selection-card .step-body .category-products .category-information {
    background: #14171e;
}

body.dark-theme .product-selection-card .step-body .category-products .category-information h2 {
    color: #fff;
}

body.dark-theme .product-selection-card .step-body .category-products .category-information.selected {
    background: #3d7dc880;
    border: 1px solid #6692c5;
}

body.dark-theme .product-selection-card .step-body .category-products .current-product-list.no-products {
    background: #0e0e0e99;
    border-color: #5b5b5bad;
    color: #e2e2e2;
}

body.dark-theme .product-selection-card .step-body .category-products .current-product-list .product-item {
    background: #14171e;
    box-shadow: unset;
}

body.dark-theme .product-selection-card .step-body .category-products .current-product-list .product-item .product-name {
    color: #fff;
}

body.dark-theme .product-selection-card .step-body .category-products .current-product-list .product-item .product-price {
    color: #5aa6ff;
}

body.dark-theme .product-market-price {
    opacity: 0.5;
}

body.dark-theme .discount-view {
    background: #3d7dc840;
    border-color: #456592;
    box-shadow: unset;
}

body.dark-theme .discount-view .code {
    background: #00000052;
}

body.dark-theme .product-quantity button {
    background: #292e38;
    color: #fff;
}

body.dark-theme .product-quantity input {
    background: #292e38;
    color: #fff;
}

body.dark-theme .product-quantity input::placeholder {
    color: #ffffff80;
}
.product-selection-card .step-body .category-products .current-product-list .product-item.product-out-of-stock {
    cursor: not-allowed;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.product-out-of-stock *:not(.product-out-of-stock-badge) {
    opacity: 0.5;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.product-out-of-stock:hover {
    border-color: transparent;
}

.product-out-of-stock-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(220 53 69 / 90%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.product-out-of-stock-badge i {
    font-size: 10px;
}

body.dark-theme .product-out-of-stock-badge {
    background: rgb(220 53 69 / 95%);
}


.product-selection-card .step-body .category-products .current-product-list .product-item.product-out-of-stock {
    cursor: not-allowed;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.product-out-of-stock *:not(.product-out-of-stock-badge) {
    opacity: 0.5;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.product-out-of-stock:hover {
    border-color: transparent;
}

.product-out-of-stock-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(220 53 69 / 90%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.product-out-of-stock-badge i {
    font-size: 10px;
}

body.dark-theme .product-out-of-stock-badge {
    background: rgb(220 53 69 / 95%);
}
