#pinac-newsletter-popup {
    display: none;
}
.pinac-newsletter-container {
    max-width: 800px;
    background-color: #000;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.pinac-newsletter-content {
    display: flex;
    flex-direction: row;
}
.pinac-newsletter-left {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.pinac-newsletter-right {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pinac-sale-text {
    font-size: 80px;
    color: #ff3b30;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}
.pinac-discount {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pinac-up-to {
    font-size: 24px;
    color: #f5f5dc;
    transform: rotate(-90deg);
    position: relative;
    left: -40px;
    top: 20px;
}
.pinac-percent {
    font-size: 120px;
    color: #f5f5dc;
    font-weight: bold;
    line-height: 1;
}
.pinac-percent-sign {
    font-size: 60px;
    vertical-align: super;
}
.pinac-off {
    font-size: 40px;
    color: #f5f5dc;
    font-weight: bold;
    align-self: flex-end;
}
.pinac-title {
    font-size: 36px;
    margin-bottom: 15px;
    color:#fff;
}
.pinac-description {
    font-size: 16px;
    margin-bottom: 20px;
    color:#fff;
}
.pinac-form-group {
    margin-bottom: 15px;
}
#pinac-newsletter-email {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}
.pinac-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.pinac-submit-btn:hover {
    background-color: #2563eb;
}
.pinac-response {
    margin-top: 15px;
    font-weight: bold;
}
.pinac-response.success {
    color: #10b981;
}
.pinac-response.error {
    color: #ef4444;
}
/* Override Fancybox container behavior */
.fancybox-wrap,
.fancybox-inner,
.fancybox-skin {
    height: auto !important;    /* let it expand with content */
    max-height: none !important;
    overflow: visible !important;
}

/* Make sure popup container itself is responsive */
#pinac-newsletter-popup {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .pinac-newsletter-content {
        flex-direction: column;
    }
    .pinac-newsletter-left {
        padding: 20px;
    }
    .pinac-newsletter-right {
        padding: 20px;
    }
    .pinac-sale-text {
        font-size: 60px;
    }
    .pinac-up-to {
        font-size: 18px;
        left: -30px;
        top: 15px;
    }
    .pinac-percent {
        font-size: 80px;
    }
    .pinac-percent-sign {
        font-size: 40px;
    }
    .pinac-off {
        font-size: 30px;
    }
    .pinac-title {
        font-size: 28px;
    }
}