.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;
    top: 64px;
}

.product-information-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1rem;
    background: #fff;
}

.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;
    align-items: flex-start;
    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 {
    min-width: 0;
}

.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;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-top: 5px;
}

.product-description {
    position: relative;
    overflow: hidden;
    text-wrap: wrap;
    font-size: 12px;
    user-select: none;
    margin-top: 1rem;
    max-height: none !important;
    padding: 0 !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: 20px;
    font-weight: 600;
    margin: 0;
}

.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;
}

.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: #f66d00;
    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-step-card.collapsible>.step-header {
    cursor: pointer;
    user-select: none;
}

.product-step-card.collapsible>.step-header::after {
    content: "\f078";
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    margin-left: auto;
    font-size: 12px;
    color: #64748b;
    transition: transform .2s ease;
}

.product-step-card.collapsible.collapsed>.step-header::after {
    transform: rotate(-90deg);
}

.product-step-card.collapsible.collapsed>.step-body {
    display: none;
}

body.dark-theme .product-step-card.collapsible>.step-header::after {
    color: #94a3b8;
}

.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(4, 1fr);
    gap: 1rem;
    flex-wrap: wrap;
}

.product-selection-card .step-body .category-products:has(.current-product-list) {
    grid-template-columns: 1fr;
}

.product-selection-card .step-body .category-products .category-information {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 38px 12px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease;
    position: relative;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
    min-height: 66px;
}

.product-selection-card .step-body .category-products .category-information::before {
    content: "\f054";
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.product-selection-card .step-body .category-products .category-information:hover {
    transform: translateY(-1px);
    border-color: #fcd4b3;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

.product-selection-card .step-body .category-products .category-information:hover::before {
    color: #f66d00;
    transform: translateY(-50%) translateX(3px);
}

.product-selection-card .step-body .category-products .category-information.selected {
    border-color: #f66d00;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(246, 109, 0, .16);
}

.product-selection-card .step-body .category-products .category-information.selected::before {
    color: #f66d00;
}

.product-selection-card .step-body .category-products .category-information img {
    width: 46px;
    height: 46px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eef2f7;
    background: #ffffff;
    flex-shrink: 0;
}

.product-selection-card .step-body .category-products .category-information h2 {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.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: 14px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
    transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
    user-select: none;
    -webkit-user-drag: none;
    margin: 0;
    min-width: 0;
}

.product-selection-card .step-body .category-products .current-product-list .product-item:hover {
    transform: translateY(-2px);
    border-color: #c6d8ee;
    box-shadow: 0 4px 12px rgba(61, 125, 200, .12), 0 12px 24px rgba(15, 23, 42, .06);
}

.product-selection-card .step-body .category-products .current-product-list .product-item.selected {
    border-color: #3d7dc8;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(61, 125, 200, .22);
}

.product-selection-card .step-body .category-products .current-product-list .product-item.selected::before {
    transform: scaleX(1);
}

.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: flex;
    position: absolute;
    top: 6px;
    left: 6px;
    width: 22px;
    height: 22px;
    background: #3d7dc8;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(61, 125, 200, .35), 0 0 0 3px #fff;
    transform: scale(0);
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
    z-index: 3;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.selected .product-check {
    transform: scale(1);
}

.product-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 6px;
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 4px;
    line-height: 1.4;
    pointer-events: none;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-image {
    width: 45px;
    height: 45px;
    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: 2px;
    min-width: 0;
    flex: 1;
    justify-content: center;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.005em;
    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-sub-info {
    font-size: 12px;
    font-weight: 500;
    color: #ff9a3c;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    margin-left: auto;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-pricing-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-selection-card .step-body .category-products .current-product-list .product-item .product-sale-price {
    font-size: 13px;
    font-weight: 700;
    color: #2563b5;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.product-market-price {
    text-decoration: line-through;
    font-weight: 500;
    font-size: 11px;
    color: #94a3b8;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
    opacity: 1;
    white-space: nowrap;
}

.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;
    font-size: 14px;
    line-height: 2;
}

.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;
}

.product-require-modal .requirement-fields .info-img {
    cursor: default;
}

.product-require-modal .requirement-fields .info-img img {
    position: static;
    opacity: 1;
    pointer-events: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    object-position: left top;
    transform: none;
    margin: 8px 0 0 0;
    border-radius: 8px;
}

.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;
}

.product-quantity {
    opacity: 0;
    align-items: stretch;
    justify-content: stretch;
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: opacity .18s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1);
    transform: scale(.85);
    display: flex;
    will-change: opacity, transform;
    pointer-events: none;
    overflow: hidden;
}

.product-item.selected .product-quantity {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.product-item:hover:not(.selected) .product-quantity {
    opacity: .45;
    transform: scale(.9);
}

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

.product-quantity input {
    flex-shrink: 0;
    flex-grow: 1;
    border: none;
    outline: none;
    text-align: center;
    font-weight: 700;
    width: 32px;
    height: 30px;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
}

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

.product-quantity button {
    outline: none;
    border: none;
    background: transparent;
    color: #64748b;
    padding: 0 10px;
    min-width: 30px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.product-quantity button:hover:not(:disabled) {
    background: #3d7dc8;
    color: #ffffff;
}

.product-quantity button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.product-quantity button.quantity-decrease {
    border-right: 1px solid #e2e8f0;
}

.product-quantity button.quantity-increase {
    border-left: 1px solid #e2e8f0;
}

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

.selected-product-summary .summary-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.025);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
}

.selected-product-summary .summary-image {
    width: 80px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.selected-product-summary .summary-details {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selected-product-summary .summary-name {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.selected-product-summary .summary-sub-info {
    font-size: 12px;
    font-weight: 500;
    color: #ff9a3c;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.selected-product-summary .summary-quantity {
    display: inline-flex;
    align-items: stretch;
    margin: 0;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.selected-product-summary .summary-quantity .quantity-input {
    width: 32px;
    height: 24px;
    border: none;
    outline: none;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #0f172a;
    background: transparent;
}

.selected-product-summary .summary-quantity .quantity-btn {
    border: none;
    background: transparent;
    color: #64748b;
    min-width: 24px;
    padding: 0 6px;
    font-size: 10px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.selected-product-summary .summary-quantity .quantity-btn:hover:not(:disabled) {
    background: rgba(61, 125, 200, 0.12);
    color: #2563b5;
}

.selected-product-summary .summary-quantity .quantity-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

body.dark-theme .selected-product-summary .summary-inner {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgb(104 198 255);
}

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

body.dark-theme .selected-product-summary .summary-sub-info {
    color: #ffb86b;
}

body.dark-theme .selected-product-summary .summary-quantity {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .selected-product-summary .summary-quantity .quantity-input {
    color: #f1f5f9;
}

body.dark-theme .selected-product-summary .summary-quantity .quantity-btn {
    color: #94a3b8;
}

body.dark-theme .selected-product-summary .summary-quantity .quantity-btn:hover:not(:disabled) {
    background: rgba(90, 166, 255, 0.14);
    color: #93c5fd;
}

body.dark-theme .product-information-card {
    background: linear-gradient(143deg, #212630, #25282E);
}

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: linear-gradient(143deg, #212630, #25282E);
}

body.dark-theme .product-selection-card .step-body .category-products .category-information {
    background: radial-gradient(circle at top left, #464d59 0%, #272930 140%);
    border-color: #595d66;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 8px rgba(0, 0, 0, .25);
}

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

body.dark-theme .product-selection-card .step-body .category-products .category-information::before {
    color: #94a3b8;
}

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

body.dark-theme .product-selection-card .step-body .category-products .category-information:hover {
    border-color: #3d5170;
    box-shadow: 0 4px 12px rgb(0 0 0 / 18%), 0 5px 15px rgba(0, 0, 0, .35);
}

body.dark-theme .product-selection-card .step-body .category-products .category-information:hover::before {
    color: #ff9d4d;
}

body.dark-theme .product-selection-card .step-body .category-products .category-information.selected {
    background: radial-gradient(circle at top left, #464d59 0%, #272930 140%);
    border-color: #cecece;
    box-shadow: 0 4px 16px rgb(173 173 173 / 28%);
}

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: radial-gradient(circle at top left, #464d59 0%, #272930 140%);
    border-color: #595d66;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 8px rgba(0, 0, 0, .25);
}

body.dark-theme .product-selection-card .step-body .category-products .current-product-list .product-item:hover {
    border-color: #3d5170;
    box-shadow: 0 4px 12px rgb(0 0 0 / 18%), 0 5px 15px rgba(0, 0, 0, .35);
}

body.dark-theme .product-selection-card .step-body .category-products .current-product-list .product-item.selected {
    background: radial-gradient(circle at top left, #464d59 0%, #272930 140%);
    border-color: #cecece;
    box-shadow: 0 4px 16px rgb(173 173 173 / 28%);
}

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

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

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

body.dark-theme .product-market-price {
    background: transparent;
    color: #94a3b8;
    opacity: 1;
}

body.dark-theme .product-discount-badge {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
}

body.dark-theme .product-selection-card .step-body .category-products .current-product-list .product-item .product-check {
    box-shadow: 0 2px 6px rgb(0 0 0 / 83%), 0 0 0 1px #ffffff;
}

body.dark-theme .product-quantity {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 3px 6px #0000007a;
}

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: transparent;
    color: #94a3b8;
}

body.dark-theme .product-quantity button:hover:not(:disabled) {
    background: rgba(255, 255, 255, .08);
    color: #f1f5f9;
}

body.dark-theme .product-quantity button.quantity-decrease {
    border-right-color: rgba(255, 255, 255, .08);
}

body.dark-theme .product-quantity button.quantity-increase {
    border-left-color: rgba(255, 255, 255, .08);
}

body.dark-theme .product-quantity input {
    background: transparent;
    color: #f1f5f9;
}

body.dark-theme .product-quantity input::placeholder {
    color: #ffffff80;
}

body.dark-theme .nav-pills {
    background: #353a41;
    border-radius: 0;
    border: 1px solid #50555b;
}

.product-selection-card .step-body .category-products .current-product-list .product-item.product-out-of-stock {
    cursor: not-allowed;
    pointer-events: none;
    filter: brightness(0.7) saturate(0.7);
}

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

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

.basket-dual-state {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: stretch;
    gap: 1rem;
}

.basket-dual-state div {
    width: 100%;
    flex: 1 1;
}

.basket-total .side-content .step-container .basket-dual-state .instant-complete .basket-complete-button {
    background: transparent !important;
    border: 2px solid rgb(246, 109, 0) !important;
    color: rgb(246, 109, 0) !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.basket-total .side-content .step-container .basket-dual-state .instant-complete .basket-complete-button:hover:not(:disabled):not(.disabled) {
    background-color: color-mix(in srgb, rgb(246, 109, 0) 12%, transparent);
}

.basket-total .side-content .step-container .basket-dual-state .instant-complete .basket-complete-button:disabled,
.basket-total .side-content .step-container .basket-dual-state .instant-complete .basket-complete-button.disabled {
    background: transparent !important;
    border-color: rgb(246, 109, 0) !important;
    color: rgb(246, 109, 0) !important;
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

.selected-product-summary .summary-require-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.selected-product-summary .summary-require-value {
    background: rgba(61, 125, 200, 0.1);
    color: #2563b5;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.2px;
}

.selected-product-summary .summary-require-sep {
    color: #f0c14b;
    font-size: 9px;
    line-height: 1;
}

.selected-product-summary .summary-edit-require {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 2px;
    font-size: 11px;
    color: #3d7dc8;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;
}

.selected-product-summary .summary-edit-require:hover {
    background: rgba(61, 125, 200, 0.12);
}

body.dark-theme .selected-product-summary .summary-require-value {
    background: rgba(90, 166, 255, 0.14);
    color: #93c5fd;
}

body.dark-theme .selected-product-summary .summary-edit-require {
    color: #93c5fd;
}

body.dark-theme .selected-product-summary .summary-edit-require:hover {
    background: rgba(90, 166, 255, 0.14);
    color: #cfe3ff;
}

body.light-theme .product-selection-card .step-body .category-products .current-product-list .product-item.product-out-of-stock {
    filter: unset;
}

.how-to-buy-card {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.how-to-buy-steps {
    display: flex;
    align-items: center;
    gap: 12px;
}

.how-to-buy-step {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.how-to-buy-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e6ebf2;
    font-size: 20px;
    flex-shrink: 0;
}

.how-to-buy-step-icon-blue {
    color: #f66d00;
}

.how-to-buy-step-icon-green {
    color: #16a34a;
}

.how-to-buy-step-body {
    min-width: 0;
}

.how-to-buy-step-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.how-to-buy-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #f66d00;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.how-to-buy-step-desc {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
    margin-top: 5px;
}

.how-to-buy-arrow {
    display: flex;
    align-items: center;
    color: #9fb0c7;
    font-size: 15px;
    flex-shrink: 0;
}

.how-to-buy-head-icon svg {
    width: 20px;
    height: 20px;
}

.how-to-buy-step-icon svg {
    width: 28px;
    height: 28px;
}

.how-to-buy-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

body.dark-theme .how-to-buy-card {
    background: linear-gradient(143deg, #212630, #25282E);
}

body.dark-theme .how-to-buy-head-icon {
    background: rgba(255, 157, 77, .14);
    color: #ff9d4d;
}

body.dark-theme .how-to-buy-title {
    color: #f1f5f9;
}

body.dark-theme .how-to-buy-subtitle {
    color: #EBEBF599;
}

body.dark-theme .how-to-buy-step-icon {
    background: rgba(0, 0, 0, .2);
    border-color: rgba(255, 255, 255, .06);
}

body.dark-theme .how-to-buy-step-icon-blue {
    color: #ff9d4d;
}

body.dark-theme .how-to-buy-step-icon-green {
    color: #3ddc84;
}

body.dark-theme .how-to-buy-step-title {
    color: #f1f5f9;
}

body.dark-theme .how-to-buy-step-desc {
    color: #EBEBF599;
}

body.dark-theme .how-to-buy-arrow {
    color: #5a6472;
}

.category-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    max-width: 640px;
    z-index: 0;
    pointer-events: none;
}

.category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 78%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 78%);
}

.product-information-card .category-card-content {
    position: relative;
    z-index: 1;
}

.category-description-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
}

.category-region-alert {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    padding: 4px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
    cursor: pointer;
    max-width: none;
    transition: background 0.15s ease;
}

.category-region-alert:hover {
    background: rgba(239, 68, 68, 0.16);
}

.category-region-alert.is-available {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.35);
}

.category-region-alert.is-available:hover {
    background: rgba(34, 197, 94, 0.16);
}

.category-region-alert-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
}

.category-region-alert.is-available .category-region-alert-info {
    color: #22c55e;
}

.category-region-alert-info svg {
    flex-shrink: 0;
}

.category-region-alert-info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-region-alert-link {
    flex-shrink: 0;
    color: #ef4444;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.category-region-alert.is-available .category-region-alert-link {
    color: #22c55e;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 1rem;
}

.category-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: #f66d00;
}

.category-feature-icon svg {
    width: 26px;
    height: 26px;
}

.category-feature-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.category-feature-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.2;
    margin-top: 2px;
}

body.dark-theme .category-feature-icon {
    color: #ff9d4d;
}

body.dark-theme .category-feature-title {
    color: #f1f5f9;
}

body.dark-theme .category-feature-desc {
    color: #94a3b8;
}
.how-to-buy-header {
    display: none;
}

body.dark-theme .how-to-buy-header {
    color: #f1f5f9;
}

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

@media (max-width: 991px) {
    .how-to-buy-steps {
        flex-wrap: wrap;
    }

    .how-to-buy-step {
        flex: 1 1 calc(50% - 6px);
    }

    .how-to-buy-arrow {
        display: none;
    }
}

@media (max-width: 575px) {
    .how-to-buy-step {
        flex: 1 1 100%;
    }
}

@media (min-width: 769px) {
    .product-information-card.has-hero .category-card-content {
        max-width: 66%;
    }

    .product-information-card .category-card-body {
        padding-left: 141px;
    }
}

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

    header,
    .footer-cms,
    .main-footer,
    .footer-top {
        display: block;
    }
    .product-selection-card .step-body .category-products {
        grid-template-columns: repeat(1, 1fr);
    }
}

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

    .product-information img.product-image {
        height: 100px;
    }

    .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;
        justify-content: space-between;
        margin: 0;
    }

    .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;
    }
    .selected-product-summary {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto !important;
        z-index: 130;
        padding: 8px 10px max(8px, env(safe-area-inset-bottom)) 10px;
        pointer-events: none;
        will-change: transform;
    }

    .selected-product-summary.lift-animating {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .selected-product-summary .summary-inner {
        pointer-events: auto;
        padding: 10px 12px;
        gap: 10px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: saturate(180%) blur(14px);
        -webkit-backdrop-filter: saturate(180%) blur(14px);
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14), 0 1px 0 rgba(15, 23, 42, 0.04);
        border-color: rgba(15, 23, 42, 0.06);
    }

    .selected-product-summary .summary-image {
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }

    .selected-product-summary .summary-details {
        gap: 6px;
    }

    .selected-product-summary .summary-name {
        font-size: 13px;
        line-clamp: 1;
        -webkit-line-clamp: 1;
    }

    .selected-product-summary .summary-sub-info {
        font-size: 12px;
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }

    .selected-product-summary .summary-require-list {
        font-size: 11.5px;
        gap: 5px;
    }

    .selected-product-summary .summary-require-value {
        padding: 1px 7px;
        font-size: 11px;
    }

    body.dark-theme .selected-product-summary .summary-inner {
        background: rgba(31, 36, 45, 0.92);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.04);
    }
    .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;
    }
    .basket-dual-state {
        flex-direction: row;
        gap: 6px;
    }

    .basket-total .side-content .step-container .basket-complete-button {
        min-width: 100px !important;
        height: 40px;
    }
    .category-hero-image {
        display: none;
    }

    .product-information-card.has-hero .category-card-content {
        max-width: 100%;
    }

    .category-region-alert {
        max-width: none;
        justify-content: space-between;
    }

    .category-region-alert-info span {
        white-space: normal;
    }
    .how-to-buy-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        cursor: pointer;
        user-select: none;
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
    }

    .how-to-buy-header-chevron {
        font-size: 13px;
        color: #64748b;
        transition: transform 0.2s ease;
    }

    .how-to-buy-steps {
        display: none;
        margin-top: 14px;
    }

    .how-to-buy-toggle:checked ~ .how-to-buy-steps {
        display: flex;
    }

    .how-to-buy-toggle:checked ~ .how-to-buy-header .how-to-buy-header-chevron {
        transform: rotate(180deg);
    }
}
