.rawcut-popup-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1 !important;
opacity: 0;
visibility: hidden;
pointer-events: none !important;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.rawcut-popup-wrapper.is-visible {
opacity: 1;
visibility: visible;
pointer-events: auto !important;
z-index: 999999 !important;
}
.rawcut-popup-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(3px);
cursor: pointer;
pointer-events: inherit;
}
.rawcut-popup-container {
position: absolute;
background: #fff;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
max-height: 90vh;
overflow: hidden;
transform: scale(0.8);
transition: transform 0.3s ease;
width: 90%;
margin: 0 auto;
pointer-events: inherit;
display: flex;
flex-direction: column;
}
.rawcut-popup-wrapper.is-visible .rawcut-popup-container {
transform: scale(1);
} .rawcut-popup-center {
left: 50%;
top: 50%;
transform: translate(-50%, -50%) scale(0.8);
}
.rawcut-popup-wrapper.is-visible .rawcut-popup-center {
transform: translate(-50%, -50%) scale(1);
}
.rawcut-popup-top {
left: 50%;
top: 5%;
transform: translate(-50%, 0) scale(0.8);
}
.rawcut-popup-wrapper.is-visible .rawcut-popup-top {
transform: translate(-50%, 0) scale(1);
}
.rawcut-popup-bottom {
left: 50%;
bottom: 5%;
transform: translate(-50%, 0) scale(0.8);
}
.rawcut-popup-wrapper.is-visible .rawcut-popup-bottom {
transform: translate(-50%, 0) scale(1);
} .rawcut-popup-close {
position: absolute;
top: 25px;
right: 25px;
width: 36px;
height: 36px;
border: none;
background: transparent !important;
color: #333;
font-size: 28px;
line-height: 1;
cursor: pointer;
border-radius: 50%;
transition: all 0.3s ease;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
.rawcut-popup-close img {
object-fit: contain;
display: block;
}
.rawcut-popup-close:hover {
background: transparent !important;
transform: rotate(-90deg);
} .rawcut-popup-content {
position: relative;
max-height: 90vh;
overflow-y: auto;
overflow-x: hidden;
flex: 1;
-webkit-overflow-scrolling: touch; }
.rawcut-popup-image {
width: 100%;
line-height: 0;
}
.rawcut-popup-image img {
width: 100%;
height: auto;
border-radius: 12px 12px 0 0;
display: block;
}
.rawcut-popup-body { }
.rawcut-popup-text img {
max-width: 100%;
height: auto;
}
.rawcut-popup-text p:last-child {
margin-bottom: 0;
} .rawcut-popup-text .wp-block-button__link,
.rawcut-popup-text .button,
.rawcut-popup-text a.btn {
display: inline-block;
padding: 12px 30px;
background: #2271b1;
color: #fff !important;
border-radius: 6px;
text-decoration: none !important;
font-weight: 600;
transition: all 0.3s ease;
margin-top: 10px;
}
.rawcut-popup-text .wp-block-button__link:hover,
.rawcut-popup-text .button:hover,
.rawcut-popup-text a.btn:hover {
background: #135e96;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(33, 113, 177, 0.3);
} .rawcut-popup-content::-webkit-scrollbar {
width: 8px;
}
.rawcut-popup-content::-webkit-scrollbar-track {
background: #f1f1f1;
}
.rawcut-popup-content::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
.rawcut-popup-content::-webkit-scrollbar-thumb:hover {
background: #555;
} @media (max-width: 768px) {
.rawcut-popup-container {
width: 95% !important;
max-width: 95% !important;
}
.rawcut-popup-body {
padding: 20px !important;
}
.rawcut-popup-title {
font-size: 22px;
}
.rawcut-popup-text {
font-size: 14px;
}
.rawcut-popup-close {
width: 32px;
height: 32px;
font-size: 24px;
top: 10px;
right: 10px;
}
.rawcut-popup-close img {
width: 20px;
height: 20px;
}
} .rawcut-popup-trigger {
display: inline-block;
padding: 12px 30px;
background: #2271b1;
color: #fff;
border: none;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
line-height: 1.5;
}
.rawcut-popup-trigger:hover {
background: #135e96;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(33, 113, 177, 0.3);
color: #fff;
}
.rawcut-popup-trigger:active {
transform: translateY(0);
}
.rawcut-popup-trigger:focus {
outline: 2px solid #2271b1;
outline-offset: 2px;
} @keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
transform: translateY(30px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}