/* =========================
   ADMIN (UNCHANGED + CLEAN)
========================= */
.images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.img-box {
    width: 90px;
    height: 90px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 6px;
    position: relative;
    background: #fafafa;
}

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

.remove-img {
    position: absolute;
    top: 2px;
    right: 6px;
    cursor: pointer;
    color: red;
    font-weight: bold;
}

.gp-sample-box {
    width: 120px;
    height: 90px;
    border: 2px dashed #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gp-builder .button.button-primary,
.column-preview .button.button-primary {
    background: #D90F52;
    border-color: #b80c44;
    color: #fff;
    text-shadow: none;
    box-shadow: none;
}

#gp-builder .button.button-primary:hover,
#gp-builder .button.button-primary:focus,
.column-preview .button.button-primary:hover,
.column-preview .button.button-primary:focus {
    background: #b80c44;
    border-color: #960936;
    color: #fff;
}

/* =========================
   FRONTEND TABS (🔥 UPGRADE)
========================= */
.gp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.gp-tabs button {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    background: #f1f1f1;
    color: #333;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    visibility: visible;
    opacity: 1;
}

.gp-tabs button:hover {
    background: #D90F52;
    border-color: #D90F52;
    color: #fff;
}

.gp-tabs button.active {
    background: #D90F52;
    border-color: #D90F52;
    color: #fff;
    box-shadow: 0 3px 8px rgba(217, 15, 82, 0.3);
}

/* =========================
   GRID (🔥 FIXED SIZE CARDS)
========================= */
.gp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* CARD */
.gp-item {
    width: 250px;      /* 🔥 FIXED WIDTH */
    height: 180px;     /* 🔥 FIXED HEIGHT */
    overflow: hidden;
    border-radius: 12px;
    display: none;
    background: #f5f5f5;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* IMAGE */
.gp-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* HOVER EFFECT */
.gp-item:hover img {
    transform: scale(1.1);
}

/* =========================
   LOAD MORE BUTTON
========================= */
.gp-more {
    display: block;
    margin: 25px auto 0;
    padding: 10px 25px;
    border: none;
    background: #D90F52;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.gp-more:hover {
    background: #b80c44;
}

/* =========================
   LIGHTBOX (MODERN)
========================= */
#gp-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
}

#gp-lightbox img {
    max-width: 80%;
    max-height: 80%;
    margin: 60px auto;
    display: block;
    border-radius: 10px;
}

#gp-lightbox span {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* =========================
   COPY HOVER
========================= */
.gp-copy-text:hover {
    background: #fce4ec;
    color: #D90F52;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .gp-item {
        width: 45%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .gp-item {
        width: 100%;
        height: 180px;
    }
}