/* =========================
   ADMIN (CLEAN UI)
========================= */
.images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.img-box {
    width: 90px;
    aspect-ratio: 1 / 1;
    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;
}

/* =========================
   PREMIUM CATEGORY TABS
========================= */
.gp-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.gp-tab {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background: #f1f1f1;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover */
.gp-tab:hover {
    background: #0073aa;
    color: #fff;
}

/* Active */
.gp-tab.active {
    background: linear-gradient(135deg, #0073aa, #00a0d2);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Glow line */
.gp-tab.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #0073aa;
    border-radius: 2px;
}

/* =========================
   GRID (SQUARE CARDS)
========================= */
.gp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* CARD */
.gp-item {
    width: 250px;
    aspect-ratio: 1 / 1; /* 🔥 square */
    overflow: hidden;
    border-radius: 12px;
    display: none;
    background: #f5f5f5;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* 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);
}

.gp-item:hover {
    transform: translateY(-5px);
}

/* =========================
   LOAD MORE BUTTON
========================= */
.gp-more {
    display: block;
    margin: 30px auto 0;
    padding: 10px 25px;
    border: none;
    background: #0073aa;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gp-more:hover {
    background: #005f8d;
    transform: scale(1.05);
}

/* =========================
   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 (ADMIN)
========================= */
.gp-copy-text {
    cursor: pointer;
    background: #f6f7f7;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: monospace;
    transition: 0.2s;
}

.gp-copy-text:hover {
    background: #e0f0ff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .gp-item {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .gp-item {
        width: 100%;
    }
}