body {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 60px 80px;
    min-height: 100vh;
}
/* Payment Warning Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-icon svg {
    width: 64px;
    height: 64px;
}

.modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 16px;
    font-family: 'DM Sans', sans-serif;
}

.modal-message {
    font-size: 18px;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-button {
    background: linear-gradient(135deg, #1e3a8a, #000000);
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
    font-family: 'DM Sans', sans-serif;
}

.modal-button:hover {
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
}
/* Two-column layout with left content and right scrollable images */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 0;
    padding-top: 0;
}

.product-content {
    position: fixed;
    top: 140px;
    left: max(60px, calc((100vw - 1400px) / 2 + 60px));
    width: calc(min(1400px, 100vw - 120px) / 2 - 40px);
    max-height: calc(100vh - 160px);
    overflow-y: hidden;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    z-index: 10;
}

.product-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Back to products button */
.back-to-products {
    margin-bottom: 24px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6e6e73;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.back-button:hover {
    color: #5a5a5e;
    transform: translateX(-4px);
}

.back-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-2px);
}

.product-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: black;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.1;
}

.product-description {
    font-size: 18px;
    color: #6e6e73;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Pricing options stacked vertically with radio buttons */
.pricing-options {
    margin-bottom: 32px;
}

.price-option {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-option:hover {
    border-color: #1e3a8a;
}

.price-option.selected {
    border-color: #1e3a8a;
    background: rgba(30, 58, 138, 0.05);
}

.price-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.price-info {
    flex: 1;
    margin: 0 20px;
}

.price-duration {
    font-size: 18px;
    font-weight: 600;
    color: black;
}

.price-description {
    font-size: 13px;
    color: #6e6e73;
    margin-top: -2px;
    font-weight: 400;
}

.price-badge {
    font-size: 12px;
    color: #1e3a8a;
    font-weight: 600;
    margin-left: 8px;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: black;
}

/* TOS checkbox and buy button section */
.purchase-section {
    margin-top: 32px;
}

.error-message {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 12px;
    padding: 0 18px;
    margin-top: 0;
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease, padding 0.4s ease, margin 0.4s ease;
}

.error-message.show {
    max-height: 100px;
    opacity: 1;
    transform: translateY(0);
    padding: 14px 18px;
    margin-top: 16px;
}

.error-message.hide {
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    padding: 0 18px;
    margin-top: 0;
}

.tos-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.tos-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.tos-checkbox label {
    font-size: 14px;
    color: #424245;
    cursor: pointer;
    line-height: 1.5;
}

.tos-checkbox a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.tos-checkbox a:hover {
    text-decoration: underline;
}
.disclaimer-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.disclaimer-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.disclaimer-checkbox label {
    font-size: 14px;
    color: #424245;
    cursor: pointer;
    line-height: 1.5;
}

.disclaimer-checkbox a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.disclaimer-checkbox a:hover {
    text-decoration: underline;
}


.buy-button {
    background: linear-gradient(135deg, #1e3a8a, #000000);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
    font-family: 'DM Sans', sans-serif;
}

.buy-button:hover {
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
}

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

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.button-text {
    font-size: 18px;
    font-weight: 600;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.payment-icon {
    height: 20px;
    width: auto;
    color: white;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.buy-button:hover .payment-icon {
    opacity: 1;
}

/* Scrollable image gallery on the right */
.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
    padding-top: 80px;
    width: calc(min(1400px, 100vw - 120px) / 2 - 40px);
    position: relative;
    left: calc(min(1400px, 100vw - 120px) / 2 + 80px);
}

.image-gallery img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-gallery img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 28px;
    color: #424245;
    font-size: 14px;
    font-weight: 600;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.scroll-indicator svg {
    color: #1e3a8a;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Product details section */
.product-details {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 40px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-details.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.details-section {
    margin-bottom: 32px;
}

.details-section:last-child {
    margin-bottom: 0;
}

.details-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: black;
    margin-bottom: 16px;
    font-family: 'DM Sans', sans-serif;
}

.details-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-section li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: #424245;
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.details-section li:last-child {
    border-bottom: none;
}

.details-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: bold;
    font-size: 18px;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .product-container {
        padding: 120px 40px 60px;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .image-gallery {
        margin-left: 0;
        left: 0;
        width: 100%;
        padding-top: 0;
    }

    .product-content {
        position: static;
        max-height: none;
        overflow: visible;
        width: 100%;
        max-width: none;
        transform: none;
        left: auto;
    }

    .product-title {
        font-size: 2.5rem;
    }
}

/* Mobile responsive design */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .product-container {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-content {
        position: static;
        max-height: none;
        overflow: visible;
        width: 100%;
        max-width: none;
        transform: none;
        left: auto;
    }

    .product-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .product-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    /* Pricing options mobile */
    .pricing-options {
        margin-bottom: 24px;
    }

    .price-option {
        padding: 16px 20px;
        margin-bottom: 10px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .price-option input[type="radio"] {
        width: 18px;
        height: 18px;
        order: 1;
    }

    .price-info {
        margin: 0;
        order: 2;
        flex: 1;
        min-width: 120px;
    }

    .price-duration {
        font-size: 16px;
    }

    .price-description {
        font-size: 12px;
        margin-top: 3px;
    }

    .price-badge {
        font-size: 11px;
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }

    .price-amount {
        font-size: 24px;
        order: 3;
        margin-left: auto;
    }

    /* Purchase section mobile */
    .purchase-section {
        margin-top: 24px;
    }

    .tos-checkbox {
        padding: 14px;
        gap: 10px;
    }

    .tos-checkbox input {
        width: 16px;
        height: 16px;
    }

    .error-message {
        font-size: 13px;
    }

    .error-message.show {
        max-height: 120px;
        padding: 12px 16px;
        margin-top: 14px;
    }

    .tos-checkbox label {
        font-size: 13px;
    }

    .buy-button {
        padding: 14px 28px;
        font-size: 16px;
    }

    .button-text {
        font-size: 16px;
    }

    .payment-logos {
        gap: 6px;
        padding-left: 10px;
    }

    .payment-icon {
        height: 18px;
    }

    /* Image gallery mobile */
    .image-gallery {
        gap: 16px;
        margin-left: 0;
        left: 0;
        width: 100%;
        padding-top: 0;
    }

    .image-gallery img {
        border-radius: 12px;
    }

    /* Scroll indicator mobile */
    .scroll-indicator {
        bottom: 20px;
        right: 20px;
        padding: 16px 20px;
        font-size: 12px;
    }

    .scroll-indicator svg {
        width: 20px;
        height: 20px;
    }

    /* Product details mobile */
    .product-details {
        padding: 24px;
        margin-top: 16px;
    }

    .details-section {
        margin-bottom: 24px;
    }

    .details-section h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .details-section li {
        font-size: 14px;
        padding: 10px 0;
        padding-left: 24px;
    }

    .details-section li::before {
        font-size: 16px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .product-container {
        padding: 110px 16px 40px;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-description {
        font-size: 15px;
    }

    .price-option {
        padding: 14px 16px;
    }

    .price-duration {
        font-size: 15px;
    }

    .price-description {
        font-size: 11px;
        margin-top: 2px;
    }

    .price-amount {
        font-size: 22px;
    }

    .error-message {
        font-size: 12px;
    }

    .error-message.show {
        max-height: 120px;
        padding: 10px 14px;
        margin-top: 12px;
    }

    .buy-button {
        font-size: 15px;
        padding: 12px 24px;
    }

    .button-text {
        font-size: 15px;
    }

    .payment-logos {
        gap: 5px;
        padding-left: 8px;
    }

    .payment-icon {
        height: 16px;
    }

    .tos-checkbox label {
        font-size: 12px;
    }

    /* Product details extra small */
    .product-details {
        padding: 20px;
    }

    .details-section h2 {
        font-size: 18px;
    }

    .details-section li {
        font-size: 13px;
        padding: 8px 0;
        padding-left: 22px;
    }
}

/* Landscape mobile fix */
@media (max-width: 768px) and (orientation: landscape) {
    .product-container {
        padding: 100px 20px 40px;
    }

    .image-gallery {
        margin-left: 0;
        left: 0;
        width: 100%;
        padding-top: 0;
    }

    .product-content {
        position: static;
        max-height: none;
        overflow: visible;
        width: 100%;
        max-width: none;
        transform: none;
        left: auto;
    }
}