.ccp-f045b6c2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Columns classes responsive handled by prefix_class */
.ccp-f045b6c2-columns-4- .ccp-f045b6c2-grid { grid-template-columns: repeat(4, 1fr); }
.ccp-f045b6c2-columns-3- .ccp-f045b6c2-grid { grid-template-columns: repeat(3, 1fr); }
.ccp-f045b6c2-columns-2- .ccp-f045b6c2-grid { grid-template-columns: repeat(2, 1fr); }
.ccp-f045b6c2-columns-1- .ccp-f045b6c2-grid { grid-template-columns: 1fr; }

@media (max-width: 1024px) {
    .ccp-f045b6c2-columns-tablet-3- .ccp-f045b6c2-grid { grid-template-columns: repeat(3, 1fr); }
    .ccp-f045b6c2-columns-tablet-2- .ccp-f045b6c2-grid { grid-template-columns: repeat(2, 1fr); }
    .ccp-f045b6c2-columns-tablet-1- .ccp-f045b6c2-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .ccp-f045b6c2-columns-mobile-2- .ccp-f045b6c2-grid { grid-template-columns: repeat(2, 1fr); }
    .ccp-f045b6c2-columns-mobile-1- .ccp-f045b6c2-grid { grid-template-columns: 1fr; }
}

.ccp-f045b6c2-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    cursor: default;
    transition: all 0.3s ease;
}

.ccp-f045b6c2-trigger {
    cursor: pointer !important;
}

.ccp-f045b6c2-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.ccp-f045b6c2-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.ccp-f045b6c2-card-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.ccp-f045b6c2-card-subtitle {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #888;
}

.ccp-f045b6c2-btn {
    display: inline-block;
    background: #333;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
}

.ccp-f045b6c2-link {
    display: inline-block;
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
}

/* Modal Popup structure */
.ccp-f045b6c2-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modals positions */
.ccp-f045b6c2-pos-top .ccp-f045b6c2-modal-container {
    align-items: flex-start;
    padding-top: 50px;
}

.ccp-f045b6c2-pos-bottom .ccp-f045b6c2-modal-container {
    align-items: flex-end;
    padding-bottom: 50px;
}

.ccp-f045b6c2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.ccp-f045b6c2-popup {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ccp-f045b6c2-popup-body {
    padding: 30px;
    overflow-y: auto;
}

.ccp-f045b6c2-popup-footer {
    padding: 15px 30px;
    border-top: 1px solid #eee;
    background: #fafafa;
    text-align: right;
}

.ccp-f045b6c2-close-x {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    z-index: 12;
    transition: color 0.2s;
}

.ccp-f045b6c2-close-x:hover {
    color: #333;
}

/* Inline Popup styles */
.ccp-f045b6c2-inline-popup-container {
    grid-column: 1 / -1;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
    position: relative;
}

.ccp-f045b6c2-popup-inner {
    padding: 20px;
    position: relative;
}

/* Animations definition */
.ccp-f045b6c2-anim-fade { animation: ccp-fade 0.3s ease forwards; }
.ccp-f045b6c2-anim-fade-up { animation: ccp-fade-up 0.3s ease forwards; }
.ccp-f045b6c2-anim-slide-up { animation: ccp-slide-up 0.3s ease forwards; }
.ccp-f045b6c2-anim-slide-down { animation: ccp-slide-down 0.3s ease forwards; }
.ccp-f045b6c2-anim-zoom { animation: ccp-zoom 0.3s ease forwards; }

@keyframes ccp-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ccp-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ccp-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes ccp-slide-down {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
@keyframes ccp-zoom {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
