
.payment-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.payment-panel.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 245, 0.8);
}

.panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fbfbfb;
    transform: translateX(180px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #d0d0d0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.payment-panel.is-visible .panel-content {
    transform: translateX(0);
}

.content-popup-scrollable {
    flex: 1;
    overflow-y: auto;
    overflow-x: visible;
    padding: 70px 15% 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    scrollbar-gutter: stable;
}

.cards-and-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: margin 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-panel.footer-visible .cards-and-info-wrapper {
    flex-grow: 1;
    justify-content: center;
}

.panel-header {
    margin-bottom: 45px;
}

.panel-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 650;
    line-height: 1.3;
    color: #313131;
    letter-spacing: 0.05em;
    text-align: center;
}
.license-choose{
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 40px 0 25px;
  width: 90%;
}
.panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border: none !important;
    z-index: 1000;
}

.panel-close::before,
.panel-close::after {
    content: '';
    position: absolute;
    top: 17px;
    width: 20px;
    height: 2px;
    background-color: #313131;
    transition: all 0.2s ease-in-out;
}

.panel-close::before {
    transform: rotate(45deg);
    left: 7px;
}

.panel-close::after {
    transform: rotate(-45deg);
    right: 8px;
}

.panel-close:hover::before {
    background-color: #d62d41;
    transform: scale(1.2) rotate(45deg);
}

.panel-close:hover::after {
    background-color: #d62d41;
    transform: scale(1.2) rotate(-45deg);
}

.panel-intro p {
    line-height: 1.8em;
  color: #313131;
  font-size: 0.9em;
  text-align: center;
  border-bottom: 1px solid #d0d0d0;
  border-top: 1px solid #d0d0d0;
  padding: 25px 0;
}

.currency-switch {
    border-top: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    font-size: 0.95em;
}

.switch-currency {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.currency-switch a.switch-currency {
    padding: 10px 10px;
}

.switch-currency.active {
    color: #329e41;
}

.switch-currency.active:hover {
    color: #329e41;
}

.switch-currency:hover {
    color: #313131;
}

.switch-currency strong {
    font-weight: 600;
}

.switch-icon {
    color: #aeaeae;
    font-size: 1.1em;
}

.license-info-container.stacked-cards {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 10px auto;
}

.license-info-container.stacked-cards .license-info {
    opacity: 1;
    display: block;
    cursor: default;
    padding: 20px 30px 30px;
    position: relative;
    overflow: visible;
    width: 100%;
    margin-bottom: 35px;
    box-sizing: border-box;
}

.license-info-container.stacked-cards .license-info.active-buy {
    overflow: visible;
}

.license-info-container.stacked-cards .license-info.slide-up-away {
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.license-info-container.stacked-cards .license-info.slide-down-away {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.license-info-container.stacked-cards .license-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    z-index: -1;
    transform: scale(1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stacked-cards-buy-ver .license-info:hover::before {
    transform: scale(1.01);
    border-color: #999;
}

.license-icon {
    display: inline-block;
    overflow: hidden;
    margin: 0 10px 0 0;
    height: 26px;
    background: url(../images/license_icon.svg) no-repeat;
    background-size: 229.85px 44.2px;
    vertical-align: baseline;
    position: relative;
    top: 5px;
}

#card-icon-1 {
    background-position: -0.52px -9.36px;
    width: 24.44px;
}

#card-icon-2 {
    background-position: 0px -9.36px;
    width: 48.88px;
}

#card-icon-3 {
    background-position: -99.32px -9.36px;
    width: 57.71px;
}

#card-icon-4 {
    background-position: -157.56px -9.36px;
    width: 72.8px;
}

#card-icon-5 {
    background-position: -77.47px -9.36px;
    width: 23.92px;
}

#card-icon-6 {
    background-position: -50.44px -9.36px;
    width: 25.48px;
}

.license-info h4 {
    display: inline-block;
    color: #d00;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.card-title {

}

.license-info .price-display {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #313131;
    font-size: 1.05em;
    font-weight: 600;
    margin: 0;
    overflow: visible;
    height: 1.2em;
    line-height: 1.2em;
}

.license-info .price-display span {
    position: absolute;
    top: 0;
    right: 0;
    transition: transform 0.3s ease, opacity 0.15s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.license-info .price-display span.slide-out-right {
    transform: translateX(45%);
    opacity: 0;
}

.license-info .price-display span.slide-out-left {
    transform: translateX(-45%);
    opacity: 0;
}


.license-details {
padding: 20px 0 0 5px;
}

.detail-item strong {
    font-weight: 550;
}

.check-list-2 li::before {
    color: #329e41;
    content: "\02713 \2000";
    font-weight: 600;
}
.bloc2{
    margin: 17px 0 0;
    border-top: 1px solid #d0d0d0;
  padding-top: 17px;
}
.detail-item p {
    margin: 0;
    color: #313131;
    font-size: 0.9em;
    font-weight: 700;
    margin-bottom: 12px;
}

.detail-item ul {
    list-style: none;
    padding: 0;
}

.detail-item li {
    color: #484848;
    font-size: 0.85em;
    margin-top: 7px;
}

.license-buy-btn {
    padding: 15px 0;
    background: #313131;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    margin: 0 auto;
    position: relative;
    margin-top: 26px;
    display: block;
}

.license-buy-btn:hover {
    background: #000;
}

.panel-footer-info {
    margin-top: 20px;
    width: 89%;
    text-align: left;
    font-size: 0.9em;
    font-weight: 350;
}

.footer-item {
    margin-bottom: 10px;
}

.footer-item:first-child {
    margin-bottom: 0;
}

.footer-item p {
    margin: 0;
    color: #2f2f2f;
    font-size: 0.95em;
    line-height: 1.8em;
}

.footer-item:first-child p::before {
    content: "\02713";
    font-size: 1.2em;
    font-weight: 600;
}

.footer-item:first-child .payicon {
    width: 13px;
    height: 13px;
    position: relative;
    top: 2px;
    margin-left: 4px;
    margin-right: 6px;
}

.footer-item:nth-child(2),
.footer-item:nth-child(3) {
    margin-top: 10px;
}

.footer-item p .payicon {
    width: 12px;
    height: 12px;
    margin-right: 6px;
}

.footer-item p img.payicon:nth-of-type(2) {
    position: relative;
    top: 1.5px;
}

.footer-item a {
    color: inherit;
    border-bottom: 1px dotted #313131;
    transition: color 0.2s ease;
}

.footer-item a:hover {
    border-bottom-color: #d62d41;
    color: #d62d41;
}

.payment-footer-fixed {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: visible;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none;
    padding: 0 65px;
    scrollbar-gutter: stable;
    background: #fff;
    border-top: 1px solid #dedede;
    z-index: 100;
}

.payment-footer-fixed.visible {
    transform: translateY(0);
    box-shadow: 0 -3px 12px rgba(0,0,0,0.08);
}

.footer-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 28px;
    height: 28px;
    border: none !important;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-close.hidden {
    opacity: 0;
    pointer-events: none;
}

.footer-close::before,
.footer-close::after {
    content: '';
    position: absolute;
    top: 13px;
    width: 16px;
    height: 2px;
    background-color: #313131;
    transition: all 0.2s ease-in-out;
}

.footer-close::before {
    transform: rotate(45deg);
    left: 6px;
}

.footer-close::after {
    transform: rotate(-45deg);
    right: 6px;
}

.footer-close:hover::before {
    background-color: #d62d41;
    transform: scale(1.2) rotate(45deg);
}

.footer-close:hover::after {
    background-color: #d62d41;
    transform: scale(1.2) rotate(-45deg);
}

.payment-footer-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px auto 12px;
    padding: 12px 20px;
    background: #f0f0f0;
    border-radius: 5px;
    border: 1px solid #666;
    width: 90%;
    box-sizing: border-box;
}

.payment-footer-summary strong {
    font-size: 1.05em;
    color: #313131;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.payment-footer-summary .footer-price {
    font-size: 1.05em;
    font-weight: 600;
    color: #cd313e;
    position: relative;
    overflow: visible;
    min-width: 60px;
    text-align: right;
}

.payment-footer-summary .footer-price span {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.15s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.payment-footer-summary .footer-price span.slide-out-right {
    transform: translateX(45%);
    opacity: 0;
}

.payment-footer-summary .footer-price span.slide-out-left {
    transform: translateX(-45%);
    opacity: 0;
}

#paypal-buttons-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.paypal-button-item {
    grid-column: 1;
    grid-row: 1;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    transition: none;
    position: relative;
}

.paypal-button-item.active {
    pointer-events: auto;
    opacity: 1;
    z-index: 10;
}

.paypal-button-item.fade-in {
    transition: opacity 0.5s ease;
}

#paypal-buttons-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #fff;
    z-index: 99999 !important;
    pointer-events: none;
}

.content-popup-scrollable::-webkit-scrollbar {
    width: 8px;
}

.content-popup-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.content-popup-scrollable::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.content-popup-scrollable::-webkit-scrollbar-thumb:hover {
    background: #999;
}
@media (max-width: 1500px) {
    .panel-content {
        width: 70%;
    }
}
@media (max-width: 720px) {
    .panel-content {
        width: 100%;
    }
    .content-popup-scrollable {
        padding: 40px 20px 30px;
    }

    .license-info-container.stacked-cards {
        width: 100%;
    }

    .panel-header h3 {
        font-size: 23px;
        margin: 1.5em auto 0 !important;
    }

    .panel-footer-info {
        padding-bottom: 3em;
    }
    .license-choose{width: 100%;}
    .card-title {
      border-bottom: 1px solid #d0d0d0;
      padding-bottom: 17px;
}
.license-details {
  padding: 17px 0 0 5px;
}
}
