/* ========================================================================
   SHOP PAGE WRAPPER
   ======================================================================== */
h1.shop-headline1 {
    color: #252525;
    font-family: var(--gp-font--neue-montreal);
    font-size: 20px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 500;
}
   
h2.shop-headline {
    color: #252525;
    font-family: var(--gp-font--neue-montreal);
    font-size: 42px;
    line-height: 58px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}
   
.gp-shop-wrapper {
    padding: 40px 20px;
    width: 100%;
}

/* ========================================================================
   CATEGORY TABS
   ======================================================================== */
.gp-shop-tabs-wrap {
    display: flex;
    justify-content: center;
}

.gp-shop-tabs {
    text-align: center;
    margin-bottom: 24px;
    background-color: #F3F2F3;
    width: fit-content;
    padding: .5rem;
    border-radius: 10px;
}

.gp-tab {
    border-radius: 8px;
    padding: 7px 40px;
    background: #f0f0f000;
    color: #333233;
    border: none;
    margin: 0 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    font-family: 'Montserrat';
}

.gp-tab:hover {
    background: #2853FF;
    color: #fff;  
}

.gp-tab.active {
    background: #2853FF;
    color: #fff;
}


/* ========================================================================
   SEARCH FIELD WITH ICON
   ======================================================================== */
.gp-shop-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

/* search wrapper */
.gp-search {
    position: relative;
    width: 100%;
}

/* SEARCH INPUT — correct selector */
.gp-search input#gp-shop-search {
    width: 100%;
    padding: 14px 18px 14px 44px; /* enough room for icon */
    border-radius: 8px;
    border: 1px solid #E54400;
    background: #FFF8F0;
    font-size: 15px;
}

/* SEARCH ICON POSITION */
.gp-search-icon {
    position: absolute;
    left: 18px; /* correct icon spacing */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #555;
    opacity: 0.75;
    pointer-events: none;
}

/* Force proper SVG scaling */
.gp-search-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    stroke-width: 2;
}

/* Remove default browser focus outline */
.gp-search input#gp-shop-search:focus {
    outline: none;
    box-shadow: none;
    border-color: #E54400; /* keep your brand color */
}


/* ========================================================================
   FILTER BUTTON WITH ICON
   ======================================================================== */

.gp-filter-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #D8D8D8;
    cursor: pointer;
    color: #333;
}

.gp-filter-icon svg {
    display: block;
    color: #333;
}

.gp-filter-button:hover .gp-filter-icon svg {
    display: block;
    color: #ffff;
}


/* ========================================================================
   PRODUCT GRID (3 columns)
   ======================================================================== */
.gp-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;

    /* animation container */
    transition: opacity 220ms ease-in-out;
    position: relative;
}

/* ========================================================================
   PRODUCT CARD BASE STYLE
   ======================================================================== */
.gp-card-header-wrap {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: linear-gradient(60deg, #8b2bdb 50%, #9c30f5 0);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    align-items: center;
}

.gp-card-header-country,
.gp-card-header-data{
    color: #fff;
    font-weight: 600;
    font-family: Montserrat;
    font-size: 14px;
}

.gp-card-dataflag {
    display: flex;
    gap: 1rem;
    align-items: center;
}
   
.gp-product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0;
    background: #fff;

    /* animations */
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 220ms ease-in-out;
    will-change: transform, opacity;
    opacity: 1;
    transform: translateY(0);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* hidden state (smoother switching) */
.gp-product-card.hidden {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

/* ========================================================================
   PRODUCT THUMBNAIL
   ======================================================================== */
.gp-card-thumb img {
    width: 45px;
    height: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    border-radius: 5px;
}

/* ========================================================================
   PRODUCT CATEGORY LABEL
   ======================================================================== */
.gp-card-category, .gp-card-price {
    font-size: 15px;
    font-weight: 600;
    font-family: Montserrat;
    line-height: 24px;


}

/* ========================================================================
   PRODUCT PRICE
   ======================================================================== */
.gp-card-price {
    color: #9c26ff;
}

/* ========================================================================
   ACF SHORT EXCERPT
   ======================================================================== */
.gp-card-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-family: Montserrat;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    border-bottom: solid 1px #9c30f530;
}

.gp-card-excerpt1{
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-family: Montserrat;
    font-weight: 600;
    border-bottom: solid 1px #9c30f530;  
}

/* ========================================================================
   BUY NOW BUTTON
   ======================================================================== */
.gp-card-action .gp-buy-now {
    display: inline-block;
    background: #9c26ff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    width: 100%;
    text-align: center;
    font-family: Montserrat;
    font-weight: 500;
    line-height: 24px;
    margin-top: 4px;
}

/* ========================================================================
   PRODUCT CARD BODY
   ======================================================================== */
.gp-card-body {
    padding: 20px 15px 30px 15px;
    background-color: #f9f1ff;
}

.gp-category-price-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
   

/* ========================================================================
   FILTER PANEL SIDEBAR
   ======================================================================== */
.gp-filter-panel {
    position: fixed;
    right: 24px;
    top: 120px;
    width: 360px;
    background: #fff;
    border-radius: 12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    padding: 18px;
    display: none;
    z-index: 9999;
}

.gp-filter-panel.open {
    display: block;
}

.gp-filter-close-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gp-filter-close-wrap h3{
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat';
    line-height: 30px;
    letter-spacing: .17px;
    margin-bottom: 0;
}

.gp-filter-close-wrap button#gp-filter-close {
    background-color: transparent;
    color: #000000;
    font-size: 30px;
    font-family: 'Montserrat';
    line-height: 30px;
    letter-spacing: .17px;
}

.gp-filter-section label.label-filter{
    font-size: 13px;
    font-family: 'Montserrat';
    line-height: 16px;
    letter-spacing: .17px; 
}

.gp-filter-section .gp-filter-cats,
.gp-filter-section .gp-sort-buttons,
.gp-filter-section .gp-price-range{
    margin-top: 7px;

}

.gp-filter-section .gp-price-range{
    display: flex;
    gap: 15px;
    margin-bottom: 15px;

}

.gp-price-range input#gp-min-price,
.gp-price-range input#gp-max-price {
    width: 50%;
    border: 1px solid #BABABA;
    font-size: 11px;
    line-height: 17px;
    letter-spacing: .17px;
    border-radius: 5px;
    color: #BABABA !important;
    font-family: Montserrat;
     
}


/* ========================================================================
   FILTER BUTTONS (Category + Sort)
   ======================================================================== */
.gp-filter-cat,
.gp-sort {
    padding: 7px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #7F7F7F;
    margin-right: 8px;
    margin-bottom: 9px;
    cursor: pointer;
    font-size: 11px;
    line-height: 16px;
    color: #7F7F7F;
}

.gp-filter-cat.active,
.gp-sort.active {
    background: #2853FF;
    color: #fff;
    border: none;
}

/* ========================================================================
   APPLY FILTER BUTTON
   ======================================================================== */
.gp-apply-filter {
    background: #E54400;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 16px;
    display: block;
    width: 100%;
    text-align: center;
}

/* ========================================================================
   ANIMATIONS & SKELETONS (Shop)
   ======================================================================== */

/* dim container while filtering */
#gp-shop-results.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Skeleton shimmer */
.gp-product-card.skeleton {
    background: linear-gradient(90deg, #fafafa 0%, #f3f3f3 50%, #fafafa 100%);
    background-size: 200% 100%;
    animation: gp-skeleton-shimmer 1.1s linear infinite;
    color: transparent;
}

/* blur images on skeleton */
.gp-product-card.skeleton .gp-card-thumb img {
    filter: blur(1px) brightness(0.95);
    opacity: 0.9;
}

/* disable buttons while skeleton active */
.gp-product-card.skeleton .gp-card-action {
    opacity: 0.6;
    pointer-events: none;
}

@keyframes gp-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* appearing animation */
.gp-product-card.appear {
    animation: gp-card-appear 260ms cubic-bezier(.2,.8,.2,1);
}

@keyframes gp-card-appear {
    0%   { opacity: 0; transform: translateY(8px) scale(.995); }
    60%  { opacity: 1; transform: translateY(-3px) scale(1.002); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* no results text */
.gp-no-results {
    text-align: center;
    font-weight: 600;
    color: #6A707C;
    padding: 30px 0;
}


/* ========================================================================
   PAGINATION (Floating pill style)
   ======================================================================== */
/* Hide pagination wrapper by default */
#gp-pagination {
    display: none;
}

.gp-pagination {
    display: flex;
    justify-content: center;
    margin: 26px 0 8px;
}

.gp-pagination-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #f3f5f7;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #191C1F;
	  justify-content: center;
}

.gp-page-pill {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(34,34,34,0.06);
    color: #000000;
    font-size: 13px;
    padding: 8px 12px;
}

.gp-page-pill:hover{
    background: #9c26ff;
    color: #fff;
}

.gp-page-pill:disabled {
    opacity: 0.45;
    cursor: default;
}

.gp-page-counter {
    background: #9c26ff;
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    min-width: 64px;
    text-align: center;
}

/* small screens */
@media (max-width: 480px) {
    .gp-page-counter { min-width: 48px; padding: 6px 8px; font-size: 14px; }
    .gp-page-pill { padding: 8px 10px; font-size: 14px; }
}

/* ========================================================================
   Animations & skeleton (optional — keep if you already added)
   ======================================================================== */
.gp-product-card {
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 220ms ease-in-out;
    will-change: transform, opacity;
}

.gp-product-card.skeleton {
    background: linear-gradient(90deg, #fafafa 0%, #f3f3f3 50%, #fafafa 100%);
    background-size: 200% 100%;
    animation: gp-skeleton-shimmer 1.1s linear infinite;
    color: transparent;
}

@keyframes gp-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.gp-product-card.appear {
    animation: gp-card-appear 260ms cubic-bezier(.2,.8,.2,1);
}
@keyframes gp-card-appear {
    0%   { opacity: 0; transform: translateY(8px) scale(.995); }
    60%  { opacity: 1; transform: translateY(-3px) scale(1.002); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}



/* ========================================================================
   RESPONSIVE BREAKPOINTS
   ======================================================================== */
@media (max-width: 1024px) {
    .gp-products-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {
	.gp-tab {
	   width: 100%;
	   padding: 5px 30px;
	   font-size: 14px;
	}
	
	.gp-shop-tabs{
	   display: flex; 
	}
	
}

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

    .gp-shop-controls {
       /* flex-direction: column;
        align-items: stretch;*/
    }
}
