.solution-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.solution-popup-content {
    background: #fff;
    padding: 42px;
    max-width: 1265px;
    width: 90%;
    position: relative;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    overflow: hidden;
    max-height: 1200px;
    padding-bottom: 55px;
}

.solution-popup-content.loading {
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 40px;
    overflow: hidden;
}

.popup-gallery {
    width: 500px;
    height: 500px;
    align-self: flex-start;
    position: relative;
    overflow: visible;
}

#popup-gallery-images {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#popup-gallery-images > img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

#popup-gallery-images > img.active {
    transform: translateX(0);
    z-index: 2;
}

#popup-gallery-images > img.previous {
    transform: translateX(-100%);
    z-index: 1;
}

#popup-gallery-images > img.next {
    transform: translateX(100%);
    z-index: 1;
}

/* Custom video player styles */
#popup-gallery-images .custom-video-player {
    width: 500px;
    height: 500px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.3s ease;
}

#popup-gallery-images .custom-video-player.active {
    transform: translateX(0);
    z-index: 2;
}

#popup-gallery-images .custom-video-player.previous {
    transform: translateX(-100%);
    z-index: 1;
}

#popup-gallery-images .custom-video-player.next {
    transform: translateX(100%);
    z-index: 1;
}

/* Ensure poster images inside custom video players are always visible when the container is active */
#popup-gallery-images .custom-video-player.active img {
    opacity: 1 !important;
    transform: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transition: none !important;
}

/* Also ensure poster images are not affected by the general gallery transform rules */
#popup-gallery-images .custom-video-player img {
    transform: none !important;
    transition: none !important;
}

.popup-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-popup-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding-right: 20px;
}

.solution-popup-inner h2 {
    color: #990000 !important; 
    font-family: Sansation, sans-serif;
    font-size: 32px;
    margin: 0 0 10px 0;
    text-transform: none;
}

.solution-popup-inner h3 {
    color: #000;
    font-size: 24px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

#popup-description .popup-instance-text,
.solution-description .popup-instance-text {
    color: #990000 !important;
    font-family: Sansation, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 12px 0 12px 0;
    text-transform: none;
}

#popup-description {
    margin-bottom: 30px;
    height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 18px;
}

#popup-description ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#popup-description h4{
    color: #000;
}

#popup-description ul li, #popup-description ul li span {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    font-family: macha, sans-serif;
}



#popup-description ul li::before {
    content: "•";
    color: #990000;
    font-size: 30px;
    position: absolute;
    left: 0;
    top: -2px;
}

#popup-description ul li ul li {
    background-image: none;
}

.popup-buttons {
    display: flex;
    gap: 20px;
    margin-top: auto;
    flex-wrap: wrap;
}

/* Force third button and beyond to wrap to new row while maintaining original width */
.popup-buttons .popup-button:nth-child(n+3) {
    flex: 0 0 auto;
    width: max-content;
}

.popup-button {
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.125rem;
    border: 1px solid #990000;
}

.popup-button.bg-red {
    background: #990000;
    color: white;
}

.popup-button.bg-red:hover {
    background: #770000;
}

.popup-button.bg-white {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

.popup-button.bg-white:hover {
    background: #f5f5f5;
}

.popup-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.popup-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.popup-badge img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup::before,
.close-popup::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #666;
    transition: background-color 0.3s ease;
}

.close-popup::before {
    transform: rotate(45deg);
}

.close-popup::after {
    transform: rotate(-45deg);
}

.close-popup:hover::before,
.close-popup:hover::after {
    background-color: #990000;
}

/* Image gallery navigation dots */
.popup-gallery-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    align-items: center;
}

.popup-gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #b21e2726;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
    border: solid;
    border-color: #990000;
    border-width: 1px;
}

.popup-gallery-dot.active {
    background: #990000;
}

.popup-gallery-dot:hover {
    background: #CCCCCC;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #990000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    padding: 20px;
    color: #990000;
}

.template-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 9999;
}

.loading-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
}

.template-error-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    color: #990000;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.retry-button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #990000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.retry-button:hover {
    background: #770000;
}

/* Add arrow navigation styles */
.popup-gallery-arrow {
    width: 24px;
    height: 24px;
    background: url('/wp-content/mu-plugins/fx-pixijs/assets/icons/slick-arrow-icon-v01.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
    border: none;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.popup-gallery-arrow:hover {
    opacity: 1;
}

.popup-gallery-arrow.next {
    transform: rotate(180deg);
}

.popup-gallery-arrow.disabled {
    opacity: 0.3;
    cursor: default;
}

/* Hide scrollbar arrows when content doesn't overflow */
#popup-description::-webkit-scrollbar-button {
    display: none;
}

#popup-description {
    scrollbar-width: thin; /* For Firefox */
}

/* New styles for proprietary technology footer */
.proprietary-tech-footer {
    grid-column: 1 / -1;
    margin: 40px -44px -55px -43px;
    padding: 17px 24px;
    background-color: #2d2d2d;
    display: flex;
    align-items: center;
}

.proprietary-tech-title {
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
    padding-right: 40px;
    font-weight: bold;
    font-family: inherit;
}

.tech-items-container {
    display: flex;
    align-items: center;
    gap: 65px;
    margin-left: auto;
    margin-right: 28px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
}

.tech-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.tech-name {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 500;
    font-size: 18px;
}

/* Responsive popup styles */
/* Base styles for 1920x1080 and above - NO CHANGES */
@media screen and (min-width: 1920px) {
    .solution-popup-content {
        padding: 42px;
        max-width: 1265px;
        grid-template-columns: 500px 1fr;
        gap: 40px;
        max-height: 1200px;
        padding-bottom: 55px;
    }
    
    .popup-gallery {
        width: 500px;
        height: 500px;
    }
    
    #popup-gallery-images img {
        width: 500px;
        height: 500px;
    }
    
    .solution-popup-inner h2 {
        font-size: 32px;
        margin: 0 0 10px 0;
    }
    
    .solution-popup-inner h3 {
        font-size: 24px;
        margin: 0 0 20px 0;
    }
    
    .proprietary-tech-title {
        font-size: 24px;
        padding-right: 40px;
        padding-left: 20px;
    }
    
    .tech-items-container {
        gap: 75px;
    }
    
    .tech-item {
        gap: 15px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
    
    .tech-name {
        font-size: 20px;
    }
}

/* MacBook Pro 16" and similar 1440+ resolution displays */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .solution-popup-content {
        padding: 32px; /* 42px * 0.75 */
        max-width: 949px; /* 1265px * 0.75 */
        grid-template-columns: 375px 1fr; /* 500px * 0.75 */
        gap: 30px; /* 40px * 0.75 */
        max-height: 900px; /* 1200px * 0.75 */
        padding-bottom: 41px; /* 55px * 0.75 */
    }
    
    .popup-gallery {
        width: 375px; /* 500px * 0.75 */
        height: 375px; /* 500px * 0.75 */
    }
    
    #popup-gallery-images > img {
        width: 375px; /* 500px * 0.75 */
        height: 375px; /* 500px * 0.75 */
    }
    
    #popup-gallery-images .custom-video-player {
        width: 375px; /* 500px * 0.75 */
        height: 375px; /* 500px * 0.75 */
    }
    
    .solution-popup-inner {
        padding-right: 15px; /* 20px * 0.75 */
    }
    
    .solution-popup-inner h2 {
        font-size: 24px; /* 32px * 0.75 */
        margin: 0 0 8px 0; /* 10px * 0.75 */
    }
    
    .solution-popup-inner h3 {
        font-size: 18px; /* 24px * 0.75 */
        margin: 0 0 15px 0; /* 20px * 0.75 */
    }
    
    #popup-description {
        margin-bottom: 23px; /* 30px * 0.75 */
    }
    
    #popup-description ul {
        margin: 15px 0; /* 20px * 0.75 */
    }
    
    #popup-description ul li {
        padding-left: 9px; /* 12px * 0.75 */
        margin-bottom: 11px; /* 15px * 0.75 */
    }
    
    #popup-description ul li::before {
        font-size: 23px; /* 30px * 0.75 */
        top: -2px;
    }
    
    .popup-buttons {
        gap: 15px; /* 20px * 0.75 */
        flex-wrap: wrap;
    }
    
    /* Force third button and beyond to wrap to new row while maintaining original width */
    .popup-buttons .popup-button:nth-child(n+3) {
        flex: 0 0 auto;
        width: max-content;
    }
    
    .popup-button {
        padding: 9px 18px; /* 12px * 0.75, 24px * 0.75 */
        font-size: 11px; /* 14px * 0.75 */
    }

    .popup-badges {
        gap: 11px; /* 15px * 0.75 */
        margin-top: 15px; /* 20px * 0.75 */
    }

    .popup-badge img {
        height: 30px; /* 40px * 0.75 */
    }
    
    .close-popup {
        top: 15px; /* 20px * 0.75 */
        right: 15px; /* 20px * 0.75 */
        width: 18px; /* 24px * 0.75 */
        height: 18px; /* 24px * 0.75 */
    }
    
    .close-popup::before,
    .close-popup::after {
        width: 18px; /* 24px * 0.75 */
    }
    
    .popup-gallery-nav {
        gap: 8px; /* 10px * 0.75 */
        margin-top: 15px; /* 20px * 0.75 */
    }
    
    .popup-gallery-dot {
        width: 9px; /* 12px * 0.75 */
        height: 9px; /* 12px * 0.75 */
    }
    
    .proprietary-tech-footer {
        margin: 30px -33px -41px -32px; /* 40px * 0.75, 44px * 0.75, 55px * 0.75, 43px * 0.75 */
        padding: 13px 18px; /* 17px * 0.75, 24px * 0.75 */
    }
    
    .proprietary-tech-title {
        font-size: 18px; /* 24px * 0.75 */
        padding-right: 30px; /* 40px * 0.75 */
    }
    
   /* .tech-items-container {
        gap: 26px; 
    }*/
    
    .tech-item {
        gap: 11px; /* 15px * 0.75 */
    }
    
    .tech-icon {
        width: 40px; /* 30px + 10px */
        height: 40px; /* 30px + 10px */
    }
    
    /*.tech-name {
        font-size: 11px; 
    }*/
}

/* Standard laptop displays (1366x768, 1280x800, etc.) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .solution-popup-content {
        padding: 26px; /* 42px * 0.625 */
        max-width: 791px; /* 1265px * 0.625 */
        grid-template-columns: 313px 1fr; /* 500px * 0.625 */
        gap: 25px; /* 40px * 0.625 */
        max-height: 750px; /* 1200px * 0.625 */
        padding-bottom: 34px; /* 55px * 0.625 */
    }
    
    .popup-gallery {
        width: 313px; /* 500px * 0.625 */
        height: 313px; /* 500px * 0.625 */
    }
    
    #popup-gallery-images > img {
        width: 313px; /* 500px * 0.625 */
        height: 313px; /* 500px * 0.625 */
    }
    
    #popup-gallery-images .custom-video-player {
        width: 313px; /* 500px * 0.625 */
        height: 313px; /* 500px * 0.625 */
    }
    
    .solution-popup-inner {
        padding-right: 13px; /* 20px * 0.625 */
    }
    
    .solution-popup-inner h2 {
        font-size: 20px; /* 32px * 0.625 */
        margin: 0 0 6px 0; /* 10px * 0.625 */
    }
    
    .solution-popup-inner h3 {
        font-size: 15px; /* 24px * 0.625 */
        margin: 0 0 13px 0; /* 20px * 0.625 */
    }
    
    #popup-description {
        margin-bottom: 19px; /* 30px * 0.625 */
    }
    
    #popup-description ul {
        margin: 13px 0; /* 20px * 0.625 */
    }
    
    #popup-description ul li {
        padding-left: 8px; /* 12px * 0.625 */
        margin-bottom: 9px; /* 15px * 0.625 */
    }
    
    #popup-description ul li::before {
        font-size: 19px; /* 30px * 0.625 */
    }
    
    .popup-buttons {
        gap: 13px; /* 20px * 0.625 */
        flex-wrap: wrap;
    }
    
    /* Force third button and beyond to wrap to new row while maintaining original width */
    .popup-buttons .popup-button:nth-child(n+3) {
        flex: 0 0 auto;
        width: max-content;
    }
    
    .popup-button {
        padding: 8px 15px; /* 12px * 0.625, 24px * 0.625 */
        font-size: 9px; /* 14px * 0.625 */
    }

    .popup-badges {
        gap: 9px; /* 15px * 0.625 */
        margin-top: 13px; /* 20px * 0.625 */
    }

    .popup-badge img {
        height: 25px; /* 40px * 0.625 */
    }
    
    .close-popup {
        top: 13px; /* 20px * 0.625 */
        right: 13px; /* 20px * 0.625 */
        width: 15px; /* 24px * 0.625 */
        height: 15px; /* 24px * 0.625 */
    }
    
    .close-popup::before,
    .close-popup::after {
        width: 15px; /* 24px * 0.625 */
    }
    
    .popup-gallery-nav {
        gap: 6px; /* 10px * 0.625 */
        margin-top: 13px; /* 20px * 0.625 */
    }
    
    .popup-gallery-dot {
        width: 8px; /* 12px * 0.625 */
        height: 8px; /* 12px * 0.625 */
    }
    
    .proprietary-tech-footer {
        margin: 25px -28px -34px -27px; /* 40px * 0.625, etc. */
        padding: 11px 15px; /* 17px * 0.625, 24px * 0.625 */
    }
    
    .proprietary-tech-title {
        font-size: 15px; /* 24px * 0.625 */
        padding-right: 25px; /* 40px * 0.625 */
    }
    
    /*.tech-items-container {
        gap: 22px; 
    }*/
    
    .tech-item {
        gap: 9px; /* 15px * 0.625 */
    }
    
    .tech-icon {
        width: 35px; /* 25px + 10px */
        height: 35px; /* 25px + 10px */
    }
    
    .tech-name {
        font-size: 9px; /* 14px * 0.625 */
    }
}

/* Tablet landscape and smaller laptops */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .solution-popup-content {
        padding: 21px; /* 42px * 0.5 */
        max-width: 633px; /* 1265px * 0.5 */
        grid-template-columns: 250px 1fr; /* 500px * 0.5 */
        gap: 20px; /* 40px * 0.5 */
        max-height: 600px; /* 1200px * 0.5 */
        padding-bottom: 28px; /* 55px * 0.5 */
    }
    
    .popup-gallery {
        width: 250px; /* 500px * 0.5 */
        height: 250px; /* 500px * 0.5 */
    }
    
    #popup-gallery-images > img {
        width: 250px; /* 500px * 0.5 */
        height: 250px; /* 500px * 0.5 */
    }
    
    #popup-gallery-images .custom-video-player {
        width: 250px; /* 500px * 0.5 */
        height: 250px; /* 500px * 0.5 */
    }
    
    .solution-popup-inner {
        padding-right: 10px; /* 20px * 0.5 */
    }
    
    .solution-popup-inner h2 {
        font-size: 16px; /* 32px * 0.5 */
        margin: 0 0 5px 0; /* 10px * 0.5 */
    }
    
    .solution-popup-inner h3 {
        font-size: 12px; /* 24px * 0.5 */
        margin: 0 0 10px 0; /* 20px * 0.5 */
    }
    
    #popup-description {
        margin-bottom: 15px; /* 30px * 0.5 */
    }
    
    #popup-description ul {
        margin: 10px 0; /* 20px * 0.5 */
    }
    
    #popup-description ul li {
        padding-left: 6px; /* 12px * 0.5 */
        margin-bottom: 8px; /* 15px * 0.5 */
    }
    
    #popup-description ul li::before {
        font-size: 15px; /* 30px * 0.5 */
    }
    
    .popup-buttons {
        gap: 10px; /* 20px * 0.5 */
        flex-wrap: wrap;
    }
    
    /* Force third button and beyond to wrap to new row while maintaining original width */
    .popup-buttons .popup-button:nth-child(n+3) {
        flex: 0 0 auto;
        width: max-content;
    }
    
    .popup-button {
        padding: 6px 12px; /* 12px * 0.5, 24px * 0.5 */
        font-size: 7px; /* 14px * 0.5 */
    }

    .popup-badges {
        gap: 8px; /* 15px * 0.5 */
        margin-top: 10px; /* 20px * 0.5 */
    }

    .popup-badge img {
        height: 20px; /* 40px * 0.5 */
    }
    
    .close-popup {
        top: 10px; /* 20px * 0.5 */
        right: 10px; /* 20px * 0.5 */
        width: 12px; /* 24px * 0.5 */
        height: 12px; /* 24px * 0.5 */
    }
    
    .close-popup::before,
    .close-popup::after {
        width: 12px; /* 24px * 0.5 */
    }
    
    .popup-gallery-nav {
        gap: 5px; /* 10px * 0.5 */
        margin-top: 10px; /* 20px * 0.5 */
    }
    
    .popup-gallery-dot {
        width: 6px; /* 12px * 0.5 */
        height: 6px; /* 12px * 0.5 */
    }
    
    .proprietary-tech-footer {
        margin: 20px -22px -28px -22px; /* 40px * 0.5, etc. */
        padding: 9px 12px; /* 17px * 0.5, 24px * 0.5 */
    }
    
    .proprietary-tech-title {
        font-size: 12px; /* 24px * 0.5 */
        padding-right: 20px; /* 40px * 0.5 */
    }
    
    /*.tech-items-container {
        gap: 18px; 
    }*/
    
    .tech-item {
        gap: 8px; /* 15px * 0.5 */
    }
    
    .tech-icon {
        width: 30px; /* 20px + 10px */
        height: 30px; /* 20px + 10px */
    }
    
    .tech-name {
        font-size: 7px; /* 14px * 0.5 */
    }
}

/* Mobile and tablet portrait */
@media screen and (max-width: 768px) {
    .solution-popup-content {
        padding: 17px; /* 42px * 0.4 */
        max-width: 506px; /* 1265px * 0.4 */
        grid-template-columns: 1fr; /* Single column layout */
        gap: 16px; /* 40px * 0.4 */
        max-height: 480px; /* 1200px * 0.4 */
        padding-bottom: 22px; /* 55px * 0.4 */
        overflow-y: auto;
    }
    
    .popup-gallery {
        width: 100%; /* Full width on mobile */
        height: 200px; /* 500px * 0.4 */
        max-width: 200px;
        margin: 0 auto;
    }
    
    #popup-gallery-images > img {
        width: 100%;
        height: 200px; /* 500px * 0.4 */
        max-width: 200px;
    }
    
    #popup-gallery-images .custom-video-player {
        width: 100%;
        height: 200px; /* 500px * 0.4 */
        max-width: 200px;
    }
    
    .solution-popup-inner {
        padding-right: 0; /* No padding on mobile */
    }
    
    .solution-popup-inner h2 {
        font-size: 13px; /* 32px * 0.4 */
        margin: 0 0 4px 0; /* 10px * 0.4 */
    }
    
    .solution-popup-inner h3 {
        font-size: 10px; /* 24px * 0.4 */
        margin: 0 0 8px 0; /* 20px * 0.4 */
    }
    
    #popup-description {
        margin-bottom: 12px; /* 30px * 0.4 */
    }
    
    #popup-description ul {
        margin: 8px 0; /* 20px * 0.4 */
    }
    
    #popup-description ul li {
        padding-left: 5px; /* 12px * 0.4 */
        margin-bottom: 6px; /* 15px * 0.4 */
    }
    
    #popup-description ul li::before {
        font-size: 12px; /* 30px * 0.4 */
    }
    
    .popup-buttons {
        gap: 8px; /* 20px * 0.4 */
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    /* Force third button and beyond to wrap to new row while maintaining original width */
    .popup-buttons .popup-button:nth-child(n+3) {
        flex: 0 0 auto;
        width: max-content;
    }
    
    .popup-button {
        padding: 5px 10px; /* 12px * 0.4, 24px * 0.4 */
        font-size: 6px; /* 14px * 0.4 */
        text-align: center;
    }

    .popup-badges {
        gap: 6px; /* 15px * 0.4 */
        margin-top: 8px; /* 20px * 0.4 */
        justify-content: center;
    }

    .popup-badge img {
        height: 16px; /* 40px * 0.4 */
    }
    
    .close-popup {
        top: 8px; /* 20px * 0.4 */
        right: 8px; /* 20px * 0.4 */
        width: 10px; /* 24px * 0.4 */
        height: 10px; /* 24px * 0.4 */
    }
    
    .close-popup::before,
    .close-popup::after {
        width: 10px; /* 24px * 0.4 */
    }
    
    .popup-gallery-nav {
        gap: 4px; /* 10px * 0.4 */
        margin-top: 8px; /* 20px * 0.4 */
    }
    
    .popup-gallery-dot {
        width: 5px; /* 12px * 0.4 */
        height: 5px; /* 12px * 0.4 */
    }
    
    .proprietary-tech-footer {
        margin: 16px -17px -22px -17px; /* 40px * 0.4, etc. */
        padding: 7px 10px; /* 17px * 0.4, 24px * 0.4 */
        flex-direction: column;
        gap: 8px;
    }
    
    .proprietary-tech-title {
        font-size: 10px; /* 24px * 0.4 */
        padding-right: 0;
        text-align: center;
    }
    
    /*.tech-items-container {
        gap: 14px; 
        flex-wrap: wrap;
        justify-content: center;
    }*/
    
    .tech-item {
        gap: 6px; /* 15px * 0.4 */
        flex-direction: column;
        align-items: center;
    }
    
    .tech-icon {
        width: 26px; /* 16px + 10px */
        height: 26px; /* 16px + 10px */
    }
    
    .tech-name {
        font-size: 6px; /* 14px * 0.4 */
        text-align: center;
    }
}