/*
Theme Name: GP Premium Shop
Theme URI: https://yoursite.com/
Description: Premium GeneratePress child theme for selling WordPress themes and plugins with WooCommerce integration
Author: Your Name
Author URI: https://yoursite.com/
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gp-premium-shop
*/

/* ============================================
   GLOBAL STYLES
   ============================================ */

:root {
    --gp-shop-primary: #17a2a2;
    --gp-shop-text: #333333;
    --gp-shop-light-bg: #f5f7fa;
}

body {
    font-family: Lexend Deca, sans-serif;
}

/* ============================================
   HERO SECTION
   ============================================ */

.gp-hero-section {
    background: linear-gradient(135deg, #d4e4f7 0%, #c8d9f0 100%);
    padding: 70px 20px 95px;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.gp-hero-section.disabled {
    display: none;
}

.gp-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.gp-hero-heading {
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
}

.gp-hero-description {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 20px;
}

.gp-hero-search {
    max-width: 700px;
    margin: 0 auto 60px;
}

.gp-hero-search .search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
	justify-content: space-between;
}

.gp-hero-search .search-form:focus-within {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.gp-hero-search input[type="search"] {
    flex: 1;
    padding: 11px 30px;
    font-size: 16px;
    border: none;
    background: transparent;
    outline: none;
}

.gp-hero-search input[type="search"]::placeholder {
    color: #a0aec0;
}

.gp-hero-search button[type="submit"],
.gp-hero-search input[type="submit"] {
    background: #17a2a2;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    margin: 8px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gp-hero-search button[type="submit"]:hover,
.gp-hero-search input[type="submit"]:hover {
    background: #138f8f;
    transform: translateX(2px);
}
.gp-hero-products .gp-product-pricing {
    display: none;
}
.gp-hero-products .gp-product-title{
	text-align:left;
}
.gp-hero-products .gp-product-button.preview {
    display: none;
}
.gp-hero-products .gp-product-buttons {
    grid-template-columns: 1fr;
}
.gp-hero-products .gp-product-image {
	padding: 0px;
}
.gp-hero-products .gp-product-image img {
	border-radius: 0;
}
.gp-hero-products .gp-product-details {
    padding: 6px 8px 0px;
    background: #fefefe;
    margin-bottom: 10px;
}
@media (max-width: 640px) {
    .gp-hero-search input[type="search"] {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .gp-hero-search button[type="submit"],
    .gp-hero-search input[type="submit"] {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.gp-hero-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    max-width: var(--gb-container-width);
    margin: -160px auto 0;
    position: relative;
    z-index: 10;
    padding: 22px;
	background: #ffffff;
    border-radius: 7px;
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .gp-hero-section {
        padding: 50px 20px 30px;
    }
    
    .gp-hero-heading {
        font-size: 28px;
    }
    
    .gp-hero-description {
        font-size: 16px;
    }
    
    .gp-hero-products {
        grid-template-columns: repeat(2, 1fr);
        margin: -150px auto 0;
		margin-left: 20px;
        margin-right: 20px;
		padding: 13px;
    }
}

/* ============================================
   COUPON BAR
   ============================================ */

.gp-coupon-bar {
    background: #17a2a2;
    color: #ffffff;
    padding: 7px 20px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gp-coupon-bar.disabled {
    display: none;
}

.gp-coupon-text {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.gp-coupon-button {
    background: #ffffff;
    color: #17a2a2;
    border: none;
    padding: 3px 11px;
    border-radius: 4px;
    font-weight: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
}

.gp-coupon-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.gp-coupon-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gp-coupon-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .gp-coupon-text {
        font-size: 14px;
    }
}

/* ============================================
   CATEGORY FILTER
   ============================================ */

.gp-category-filter {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.gp-category-filter.disabled {
    display: none;
}

.gp-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.gp-category-tab {
    padding: 8px 15px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.gp-category-tab:hover {
    border-color: #17a2a2;
    color: #17a2a2;
}

.gp-category-tab.active {
    background: #17a2a2;
    border-color: #17a2a2;
    color: #ffffff;
}

@media (max-width: 768px) {
    .gp-category-tabs {
        gap: 8px;
    }
    
    .gp-category-tab {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* ============================================
   PRODUCTS GRID
   ============================================ */

.gp-products-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.gp-products-section.disabled {
    display: none;
}

.gp-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gp-product-card {
    background: #ffffff;
    border: 1px solid var(--gp-shop-primary);
    border-radius: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
	box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 27%);
}

.gp-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #17a2a2;
}

.gp-product-preview-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    z-index: 10;
    text-transform: uppercase;
    pointer-events: none;
}

.gp-product-image {
    position: relative;
    background: #f7fafc;
    padding: 20px;
    cursor: default;
}

.gp-product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.gp-product-details {
    padding: 20px;
    background: #fefefe;
}

.gp-product-price-badge {
    display: none;
}

.gp-hero-products .gp-product-price-badge {
    display: inline-block;
    background: #17a2a2;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 5px;
	margin-top: 5px;
}

.gp-product-title {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 50px;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: center;
}

.gp-product-title:hover {
    color: #17a2a2;
}

.gp-product-pricing {
    margin-bottom: 15px;
	text-align: center;
}

.gp-product-old-price {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 14px;
    margin-right: 8px;
}

.gp-product-new-price {
    color: #ef4444;
    font-size: 17px;
    font-weight: 700;
}

.gp-product-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gp-product-button {
    padding: 9px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
}

.gp-product-button.preview {
    background: #17a2a2;
    color: #ffffff;
}

.gp-product-button.preview:hover {
    background: #138f8f;
    transform: translateY(-2px);
}

.gp-product-button.buy {
    background: #17a2a2;
    color: #ffffff;
}

.gp-product-button.buy:hover {
    background: #138f8f;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .gp-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gp-products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.gp-why-choose-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 50px 20px;
    background: #ffffff;
}

.gp-why-choose-section.disabled {
    display: none;
}

.gp-why-choose-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 50px;
}

.gp-why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.gp-why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.gp-why-choose-item.disabled {
    display: none;
}

.gp-why-choose-icon-wrapper {
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 100px;
}

.gp-why-choose-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed transparent;
    position: relative;
    background: #6b9f6e;
}

.gp-why-choose-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px dashed currentColor;
    border-radius: 50%;
    opacity: 0.4;
}

.gp-why-choose-icon svg {
    width: 50px;
    height: 50px;
    fill: #ffffff;
}

.gp-why-choose-icon .checkmark {
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
}

.gp-why-choose-content {
    flex: 1;
}

.gp-why-choose-item-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.gp-why-choose-item-description {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .gp-why-choose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gp-why-choose-title {
        font-size: 26px;
    }
}

/* ============================================
   TRUSTPILOT SECTION
   ============================================ */

.gp-trustpilot-section {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
}

.gp-trustpilot-section.disabled {
    display: none;
}

.gp-trustpilot-section a {
    display: inline-block;
}

.gp-trustpilot-section img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   PAYMENT SECTION
   ============================================ */

.gp-payment-section {
    text-align: center;
    padding: 50px 20px;
    background: #f7fafc;
    margin-top: 40px;
}

.gp-payment-section.disabled {
    display: none;
}

.gp-payment-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
}

.gp-payment-section img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   LOADING INDICATOR
   ============================================ */

.gp-loading {
    text-align: center;
    padding: 60px 20px;
}

.gp-loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #17a2a2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   UTILITIES
   ============================================ */

.gp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gp-hidden {
    display: none !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 480px) {
    .gp-hero-heading {
        font-size: 24px;
    }
    
    .gp-product-title {
        font-size: 15px;
        min-height: auto;
    }
    
    .gp-product-buttons {
        grid-template-columns: 1fr;
    }
}


/* ONLY main products grid preview */
.gp-products-grid .gp-product-image {
    padding: 0;
    height: 280px;        /* half preview */
    overflow: hidden;
    background: #f7fafc;
	margin: 7px 7px 0;
    text-align: right;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
}
.gp-products-grid .gp-product-image img {
    width: 100%;
    height: auto;
    transform: translateY(0);
    transition: transform 1.4s ease-in-out;
}
.gp-products-grid .gp-product-card.active 
.gp-product-image img {
    transform: translateY(
        calc(-100% + 260px)
    );
}
.gb-element-fbd2b6df .gb-shape {
    font-size: 50px;
}


.live-preview-btn {
    display: block;
    padding: 14px 18px;
    background: #0f172a;   /* dark color */
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}

.live-preview-btn:hover {
    background: #020617;
    color: #ffffff;
}


/* People viewing box */
.people-viewing {
    margin: 12px 0;
    padding: 10px 14px;
    background: #ecfdf5;
    border-left: 4px solid #22c55e;
    color: #065f46;
    font-size: 14px;
    border-radius: 6px;
}

.people-viewing .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
    animation: livePulse 1.5s infinite;
}

/* Pulse animation */
@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
        transform: scale(1);
    }
}



/* Center wrapper */
svg.wplt-discount-icon {
    width: 16px;
}
.discount-badge-center {
    text-align: left;
    margin: 8px 0 10px;
}

/* Badge */
.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
}

/* % Icon (green circle) */
.discount-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #22c55e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
}

/* Text */
.discount-text {
    line-height: 1;
}



/* ===== RELATED PRODUCTS GRID ===== */
.related-extra-buttons.two-btn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.related-extra-buttons.one-btn {
    display: grid;
    grid-template-columns: 1fr;
}
.related.products ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Product card */
.related.products li.product {
    text-align: center;
}

/* Image with colored frame */
.related.products li.product img {
    background: #f5f5f5;
    padding: 14px;
    border-radius: 10px;
}

/* Title */
.related.products li.product h2,
.related.products li.product h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0 6px;
}

/* Price */
.related.products .price {
    font-size: 15px;
    margin-bottom: 10px;
}

.related.products .price del {
    color: #999;
    margin-right: 6px;
}

.related.products .price ins {
    color: #dc2626;
    font-weight: 700;
    text-decoration: none;
}

/* Add to cart */
.related.products .button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 9px;
    background: #0f172a;
    color: #fff;
    border-radius: 5px;
}

/* Extra buttons row */
.related-extra-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Live Preview & Setup Guide buttons */
/* Two buttons */
.single-extra-buttons.two-btn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Sirf Live Preview → full width */
.single-extra-buttons.one-btn {
    display: grid;
    grid-template-columns: 1fr;
	font-size: 16px;
}
.related-extra-buttons .related-btn {
    display: block;
    padding: 10px;
    background: #020617;
    color: #ffffff;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
}

.related-extra-buttons .related-btn:hover {
    background: #0f172a;
}

/* Single product buttons wrapper */
.single-extra-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 12px;
}

/* Buttons style */
.single-extra-buttons .single-btn {
    display: block;
    padding: 10px;
    background: #020617;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.single-extra-buttons .single-btn:hover {
    background: #0f172a;
}

/* Mobile: stack buttons */
@media (max-width: 768px) {
    .single-extra-buttons {
        grid-template-columns: 1fr;
    }
}
.woocommerce .woocommerce-product-rating .star-rating {
    margin: .8em 4px 0 0;
    float: left;
    font-size: 15px;
}
.woocommerce .quantity .qty {
	display: none;}
.woocommerce div.product form.cart .button {
    width: 100%;
	margin-top: 10px;
    border-radius: 4px;
}
.woocommerce div.product .woocommerce-product-rating {
    margin: 0.5em 0 !important;
}
.woocommerce ul.products li.product .price, .woocommerce div.product p.price {
    margin-bottom: 0px;
}
.woocommerce div.product p.price ins{
    color: red;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    padding-top: 10px !important;
}
.woocommerce-review-link {
    text-decoration: none;
}
.related.products h2 {
    text-align: center;
}
.woocommerce ul.products li.product .button {
    margin-top: 10px;
}
.woocommerce div.product p.price {
    margin: 7px 0;
}
@container (max-width: 699px) {
    .wc-block-cart__sidebar {
        padding: 16px !important;
    }
	.is-small table.wc-block-cart-items .wc-block-cart-items__row {
    padding: 16px;
}
}
.wp-block-woocommerce-checkout {
    container-type: inline-size;
    padding: 16px;
    padding-top: 16px;
}
	    .entry-content .alignwide{
        padding: 16px;
    }
.site-main .woocommerce-MyAccount-navigation li {
    background: #ffffff;
}
.woocommerce-MyAccount-navigation li.is-active a {
    background: red;
	color: white;
}
.site-main .woocommerce-MyAccount-navigation li:hover {
    background: #857b7b;
}
.woocommerce-MyAccount-navigation li a {
    padding: 16px !important;
    border: 1px solid rgb(0 0 0);
    text-decoration: none;
}