/* GLOBAL STYLES */
.guestpost-container * { box-sizing: border-box; }
.guestpost-container { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* SEARCH & FILTER STYLES */
.gp-search-filters { background: white; padding: 2rem; border-radius: 20px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); margin-bottom: 2rem; border: 1px solid #f1f5f9; }
.gp-search-bar { width: 100%; max-width: 500px; margin: 0 auto 1.5rem; position: relative; }
.gp-search-input { width: 100%; padding: 1rem 1.5rem 1rem 3rem; border: 2px solid #e2e8f0; border-radius: 50px; font-size: 1rem; transition: all 0.3s ease; background: #f8fafc; }
.gp-search-input:focus { outline: none; border-color: #41AEFF; background: white; box-shadow: 0 0 0 4px rgba(65, 174, 255, 0.1); }
.gp-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #64748b; font-size: 1.1rem; }
.gp-filter-section { text-align: center; }
.gp-filter-title { font-weight: 600; color: #1e293b; margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.gp-filters { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.gp-filter-btn { padding: 0.6rem 1.2rem; border: 2px solid #e2e8f0; background: white; border-radius: 25px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; color: #64748b; font-size: 0.85rem; }
.gp-filter-btn.active, .gp-filter-btn:hover { border-color: #41AEFF; background: linear-gradient(135deg, #41AEFF, #4876FB); color: white; transform: translateY(-2px); box-shadow: 8px 20px rgba(65, 174, 255, 0.25); }

/* Fix for main buttons - make them smaller */
.gp-main-buttons { display: flex; justify-content: center; gap: 1rem; }
.gp-main-buttons .gp-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    text-transform: capitalize;
    font-weight: 600;
    border-radius: 25px;
}

/* New style for DA/Pricing buttons to ensure they look good */
.gp-sort-buttons .gp-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 25px;
    color: #64748b;
}
.gp-sort-buttons .gp-btn.active, .gp-sort-buttons .gp-btn:hover {
    border-color: #41AEFF;
    background: linear-gradient(135deg, #41AEFF, #4876FB);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 174, 255, 0.25);
}

/* Fix to hide "View Cart" button after adding to cart */
.added_to_cart {
    display: none !important;
}

/* Floating Cart Icon Styles */
.gpf-floating-cart-icon {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: linear-gradient(135deg, #41AEFF, #4876FB);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 60px;
    height: 60px;
}

.gpf-floating-cart-icon:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gpf-cart-icon-symbol {
    font-size: 1.5rem;
    line-height: 1;
}

.gpf-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF6B6B;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

/* Mobile responsive adjustments for cart icon */
@media (max-width: 768px) {
    .gpf-floating-cart-icon {
        right: 15px;
        width: 55px;
        height: 55px;
        padding: 0.8rem;
    }
    
    .gpf-cart-icon-symbol {
        font-size: 1.3rem;
    }
    
    .gpf-cart-count {
        font-size: 0.7rem;
        min-width: 18px;
        height: 18px;
        top: -3px;
        right: -3px;
    }
    
    .gpf-floating-cart-icon:hover {
        transform: translateY(-50%) scale(1.02);
    }
}

@media (max-width: 480px) {
    .gpf-floating-cart-icon {
        right: 10px;
        width: 50px;
        height: 50px;
    }
}

/* GRID LAYOUT FOR CARDS */
.gp-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 992px) { .gp-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .gp-cards-grid { grid-template-columns: 1fr; } }

/* CARD STYLES */
.gp-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: all 0.4s ease; border: 1px solid #f1f5f9; position: relative; overflow: hidden; margin-bottom: 0; }
.gp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #41AEFF, #FFC755); transform: scaleX(0); transition: transform 0.3s ease; }
.gp-card:hover::before { transform: scaleX(1); }
.gp-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.gp-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.gp-site-info h3 { font-size: 1.5rem; font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; }
.gp-site-url { color: #64748b; text-decoration: none; font-weight: 500; font-size: 0.9rem; }
.gp-da-score { background: linear-gradient(135deg, #FFC755, #FFA356); color: white; padding: 0.5rem 1rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem; min-width: 60px; text-align: center; }

/* Content and Description */
.gp-description { color: #64748b; line-height: 1.6; margin-bottom: 1.5rem; }

/* Stats Row - 3 Boxes */
.gp-stats-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.gp-stat-item { flex: 1; text-align: center; padding: 0.75rem 0.5rem; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; transition: all 0.3s ease; }
.gp-stat-item:hover { background: #f1f5f9; transform: translateY(-2px); }
.gp-stat-value { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin-bottom: 0.25rem; }
.gp-stat-label { font-size: 0.8rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Tags & Sponsor Tag */
.gp-tags-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.gp-tag { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0369a1; padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.gp-sponsor-tag { background: #fee2e2; color: #991b1b; }

/* Traffic Country & Links */
.gp-meta-details-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.gp-meta-item { display: flex; align-items: center; gap: 0.5rem; }
.gp-country-item { order: 1; }
.gp-links-item { display: flex; flex-direction: column; gap: 0.25rem; order: 2; }
.gp-meta-icon { font-size: 0.9rem; color: #41AEFF; }
.gp-meta-value { font-size: 0.9rem; font-weight: 600; color: #1e293b; }
.gp-meta-label { font-size: 0.8rem; color: #64748b; font-weight: 500; }
.gp-link-info { display: flex; gap: 0.25rem; }
.gp-link-tag { font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.8rem; }
.gp-dofollow-tag { background: #d4ffd4; color: #2d5a2d; }
.gp-nofollow-tag { background: #ffd4d4; color: #5a2d2d; }

/* Pricing Section */
.gp-card-footer { display: flex; flex-direction: column; gap: 1rem; }
.gp-pricing-row { display: flex; justify-content: space-between; align-items: center; background: #f1f5f9; border-radius: 12px; padding: 1rem; }
.gp-pricing-label { font-weight: 700; color: #64748b; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.gp-pricing-value { font-size: 1.8rem; font-weight: 800; color: #4876FB; }
.gp-pricing-value .currency { font-size: 1.2rem; }
.gp-pricing-value .currency, .gp-pricing-value { color: #4876FB; }

/* BUTTONS */
.gp-button-group { display: flex; gap: 0.75rem; }
.gp-btn { flex: 1; padding: 0.75rem 1rem; border-radius: 25px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; text-align: center; font-size: 0.9rem; border: none; }
.gp-buy-now-btn { background: linear-gradient(135deg, #FFC755, #FFA356); color: white; }
.gp-buy-now-btn:hover { background: linear-gradient(135deg, #FFA356, #FFC755); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 199, 85, 0.4); }
.gp-learn-more-btn { background: linear-gradient(135deg, #41AEFF, #4876FB); color: white; }
.gp-learn-more-btn:hover { background: linear-gradient(135deg, #4876FB, #41AEFF); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(65, 174, 255, 0.4); }
.gpf-load-more-container { text-align: center; margin-top: 2rem; }
.gpf-load-more-btn { padding: 1rem 2rem; font-size: 1.1rem; width: auto; border-radius: 50px; }
.gp-hidden { display: none !important; }

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .gp-stats-row { flex-direction: column; gap: 1rem; }
}