/* ===================================================================
   COMPLETE SHOP PAGE STYLES - NO BUTTON HOVER EFFECTS
   Replace your entire shop-page-styles section in woocommerce.css with this
   =================================================================== */

/* ===== KILL THE EMPTY CARD - REMOVE PSEUDO-ELEMENTS ===== */

.woocommerce .products ul::after, 
.woocommerce .products ul::before, 
.woocommerce ul.products::after, 
.woocommerce ul.products::before {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
    content: none !important;
    display: none !important;
}

/* ===== HIDE DUPLICATE TITLES ===== */

.shop-page-wrapper .woocommerce-products-header,
.shop-page-wrapper .page-title,
.shop-page-wrapper h1.woocommerce-products-header__title,
.shop-page-wrapper .woocommerce-result-count,
.shop-page-wrapper .woocommerce-ordering {
    display: none !important;
}

/* ===== SHOP PAGE WRAPPER ===== */

.shop-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

/* ===== SHOP HERO SECTION ===== */

.shop-hero {
    background: linear-gradient(135deg, #001429 0%, #0a1929 100%);
    padding: 200px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.shop-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.shop-title {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.shop-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* ===== SHOP CONTENT AREA ===== */

.shop-content-wrapper {
    padding: 80px 40px;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== PRODUCTS GRID ===== */

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 350px)) !important;
    gap: 35px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    justify-content: center !important;
    max-width: 1450px !important;
}

/* ===== PRODUCT CARDS ===== */

.woocommerce ul.products li.product {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    border: 2px solid #f0f0f0 !important;
    list-style: none !important;
    width: 100% !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 
        0 20px 40px rgba(0, 102, 255, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 102, 255, 0.3) !important;
}

/* ===== PRODUCT IMAGES ===== */

/* ONLY IMAGE LINKS - FIXED FOR QUOTE PLUGIN COMPATIBILITY */
.woocommerce ul.products li.product a:first-child:has(img) {
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    border-radius: 20px 20px 0 0 !important;
    background: #ffffff !important;
    height: 380px !important;
    width: 100% !important;
}

/* Exclude quote buttons from image styling */
.woocommerce ul.products li.product a:not(:has(img)) {
    height: auto !important;
    background: transparent !important;
    border-radius: 12px !important;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 380px !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.4s ease !important;
    background: #ffffff !important;
    padding: 25px !important;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover img {
    transform: scale(1.05) !important;
}

/* ===== SALE BADGE ===== */

.woocommerce span.onsale {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10 !important;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    line-height: 1 !important;
}

/* ===== PRODUCT CONTENT ===== */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0px 25px 5px !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover,
.woocommerce ul.products li.product h2:hover {
    color: #0066FF !important;
}

/* Star Rating */
.woocommerce ul.products li.product .star-rating {
    margin: 0 25px 15px !important;
    font-size: 16px !important;
}

.woocommerce .star-rating {
    color: #ffc107 !important;
}

.woocommerce .star-rating span {
    color: #ffc107 !important;
}

/* Price */
.woocommerce ul.products li.product .price {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0066FF !important;
    margin: 0 auto auto !important;
    flex-wrap: wrap !important;
}

.woocommerce ul.products li.product .price del {
    font-size: 20px !important;
    color: #999 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: #0066FF !important;
}

/* ===== ADD TO CART BUTTON - NO HOVER EFFECTS ===== */

.woocommerce ul.products li.product .button {
    display: block !important;
    width: calc(100% - 50px) !important;
    margin: 10px 25px 25px !important;
    padding: 16px 30px !important;
    background: #0066FF !important;
    color: white !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    border: none !important;
    transition: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3) !important;
    cursor: pointer !important;
}

/* NO HOVER EFFECTS - Button stays the same */
.woocommerce ul.products li.product .button:hover {
    background: linear-gradient(135deg, #0066FF, #0052CC) !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3) !important;
}

.woocommerce ul.products li.product .button.added {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.woocommerce ul.products li.product .button.added::after {
    content: ' ✓' !important;
    margin-left: 5px !important;
}

.woocommerce ul.products li.product .button.loading {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* ===== QUOTE BUTTON - NO HOVER EFFECTS ===== */

.woocommerce ul.products li.product .pwcp-shop-quote-button,
.woocommerce ul.products li.product a.pwcp-shop-quote-button {
    display: block !important;
    width: calc(100% - 50px) !important;
    margin: 0 25px 25px !important;
    padding: 16px 30px !important;
    color: white !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    border: none !important;
    transition: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3) !important;
    text-decoration: none !important;
    height: auto !important;
    cursor: pointer !important;
}

/* NO HOVER EFFECTS - Button stays the same */
.woocommerce ul.products li.product .pwcp-shop-quote-button:hover,
.woocommerce ul.products li.product a.pwcp-shop-quote-button:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3) !important;
}

/* Fix icon inside quote button if present */
.pwcp-shop-quote-button svg,
.pwcp-shop-quote-button i {
    display: inline-block !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
}

/* ===== PRODUCT LINK WRAPPER ===== */

.woocommerce ul.products li.product a {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

/* ===== NO PRODUCTS FOUND ===== */

.no-products-found {
    text-align: center;
    padding: 100px 40px;
    background: white;
    border-radius: 24px;
    border: 3px dashed #e0e0e0;
    margin: 60px 0;
}

.no-products-icon {
    font-size: 80px;
    margin-bottom: 30px;
    opacity: 0.5;
}

.no-products-found h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.no-products-found p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.no-products-found .btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0066FF, #0052CC);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.no-products-found .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

/* ===== PAGINATION ===== */

.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    display: inline-block;
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: #0066FF;
    color: #0066FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, #0066FF, #0052CC);
    border-color: #0066FF;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}


/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(300px, 330px)) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 170px 20px 60px;
    }
    
    .shop-title {
        font-size: 36px;
    }
    
    .shop-description {
        font-size: 18px;
    }
    
    .shop-content-wrapper {
        padding: 60px 20px;
    }
    
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        gap: 25px !important;
    }
    
    .woocommerce ul.products li.product a:first-child:has(img) {
        height: 350px !important;
    }
    
    .woocommerce ul.products li.product a img,
    .woocommerce ul.products li.product img {
        height: 350px !important;
        padding: 20px !important;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product h2 {
        font-size: 18px !important;
    }
    
    .woocommerce ul.products li.product .price {
        font-size: 24px !important;
    }
    
    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .pwcp-shop-quote-button {
        font-size: 15px !important;
        padding: 14px 24px !important;
    }
    
    .no-products-found {
        padding: 80px 30px;
    }
    
    .no-products-icon {
        font-size: 64px;
    }
    
    .no-products-found h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        padding: 90px 20px 50px;
    }
    
    .shop-title {
        font-size: 28px;
    }
    
    .shop-description {
        font-size: 16px;
    }
    
    .shop-content-wrapper {
        padding: 40px 15px;
    }
    
    .woocommerce ul.products li.product a:first-child:has(img) {
        height: 300px !important;
    }
    
    .woocommerce ul.products li.product a img,
    .woocommerce ul.products li.product img {
        height: 300px !important;
        padding: 15px !important;
    }
    
    .woocommerce span.onsale {
        top: 15px !important;
        right: 15px !important;
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
    
    .no-products-found {
        padding: 60px 20px;
    }
}