/*
Theme Name: GeneratePress Child
Theme URI: https://heydownloads.com/
Description: A child theme for GeneratePress
Author: Your Name
Author URI: https://heydownloads.com/
Template: generatepress
Version: 1.0.1
*/

/* Wrapper for product list */ ul.products.product-list {
/* Wrapper for product list */
ul.products.product-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
}

ul.products.product-list li.product {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

ul.products.product-list li.product::marker {
  content: none;
}

/* Grid layout for product items */
.product-listing-wrapper {
  display: grid;
  grid-template-columns: 120px 1fr 160px;
  align-items: center;
  gap: 24px;
}

/* Thumbnail container */
.product-thumb {
    position: relative;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.product-thumb img {
  width: 100px;
  height: 120px;
  object-fit: contain;
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
}

.discount-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #e55a2b;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  z-index: 5;
}

/* Title + stars stacked */
.product-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center;
  min-height: 120px;
  text-align: left;
  width: 100%;
}

.product-details h2.woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 8px 0;
  line-height: 1.4;
  width: 100%;
  text-align: left !important;
  word-break: break-word;
}

/* Star rating wrapper - forced left alignment */
.star-rating-wrapper {
  margin: 0;
  line-height: 1;
  width: 100%;
  display: flex !important;
  justify-content: flex-start !important;
  float: left !important;
  text-align: left !important;
}

/* Star rating - brighter, darker color */
.star-rating {
  font-size: 1.3rem;
  color: #581845 !important;
  line-height: 1;
  display: inline-block !important;
  position: relative;
  font-family: inherit;
  letter-spacing:

/* ========================================
   PRODUCT PAGE FIXES - Added 2025-10-12
   ======================================== */

/* FIX 1: Price side-by-side (no overlap) */
.single-product .summary .price {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.single-product .summary .price del {
    font-size: 18px !important;
    opacity: 0.6;
}

.single-product .summary .price ins {
    font-size: 28px !important;
    font-weight: bold !important;
    color: #2d7a2d !important;
    text-decoration: none !important;
}

/* FIX 2: Reduce whitespace between value tiles and description */
@media (min-width: 769px) {
    .hey-value-tiles {
        margin-bottom: 10px !important;
    }
    .woocommerce-tabs {
        margin-top: 10px !important;
        padding-top: 0 !important;
    }
}

/* FIX 3: Orange corner brackets on description */
.woocommerce-Tabs-panel--description {
    position: relative !important;
    padding: 45px 35px !important;
    background: linear-gradient(135deg, #ffffff 0%, #fffaf7 100%) !important;
    border: 1px solid rgba(234, 88, 12, 0.15) !important;
}

.woocommerce-Tabs-panel--description::before {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #EA580C 0%, #FB923C 100%) !important;
    clip-path: polygon(0 0, 100% 0, 100% 5px, 5px 5px, 5px 100%, 0 100%) !important;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.4) !important;
    z-index: 1 !important;
}

.woocommerce-Tabs-panel--description::after {
    content: '' !important;
    position: absolute !important;
    bottom: -3px !important;
    right: -3px !important;
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(315deg, #EA580C 0%, #FB923C 100%) !important;
    clip-path: polygon(100% 100%, 0 100%, 0 calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 0, 100% 0) !important;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.4) !important;
    z-index: 1 !important;
}

@media (max-width: 768px) {
    .woocommerce-Tabs-panel--description::before,
    .woocommerce-Tabs-panel--description::after {
        width: 50px !important;
        height: 50px !important;
    }
}/* ========================================
   SHOP PAGE - GRID & LIST VIEW STYLES
   Beautiful, modern, conversion-optimized
   ======================================== */

/* Shop Controls Bar */
.hey-shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.hey-view-toggle {
    display: flex;
    gap: 8px;
}

.hey-view-btn {
    padding: 8px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hey-view-btn:hover {
    border-color: #F97316;
    color: #F97316;
}

.hey-view-btn.active {
    background: #F97316;
    color: white;
    border-color: #F97316;
}

.hey-sort-text {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

/* Product Grid Container */
ul.products {
    display: grid;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hey-view-grid ul.products {
    grid-template-columns: repeat(4, 1fr);
}

.hey-view-list ul.products {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* ========================================
   GRID VIEW CARD STYLES
   ======================================== */

.hey-product-card.hey-grid-view {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    list-style: none;
}

.hey-product-card.hey-grid-view:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    border-color: #F97316;
}

/* Discount Badge */
.hey-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Thumbnail */
.hey-product-thumbnail {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f7fafc;
}

.hey-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hey-product-card:hover .hey-product-thumbnail img {
    transform: scale(1.05);
}

/* Trust Mini Icons */
.hey-trust-mini-icons {
    position: absolute;
    bottom: 0;
    left: 0; right: 0; justify-content: center; background: rgba(0,0,0,0.6); padding: 5px 0; border-radius: 0;

    display: flex;
    gap: 6px;
    z-index: 5;
    flex-wrap: wrap;
}

.hey-trust-mini {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    white-space: nowrap;
}

/* Quick View */
.hey-quick-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #F97316;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    font-size: 14px;
}

.hey-product-card:hover .hey-quick-view {
    opacity: 1;
}

/* Product Info */
.hey-product-info {
    padding: 18px;
}

.hey-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.hey-product-title:hover {
    color: #F97316;
}

/* Rating */
.hey-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    min-height: 20px;
}

.hey-product-rating .star-rating {
    font-size: 14px;
    color: #F59E0B !important;
}

.hey-review-count {
    font-size: 13px;
    color: #718096;
}

/* Price */
.hey-product-price {
    margin-bottom: 15px;
}

.hey-product-price .price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0;
}

.hey-product-price .price del {
    font-size: 16px;
    color: #a0aec0;
    text-decoration: line-through;
    font-weight: 500;
}

.hey-product-price .price ins,
.hey-product-price .price > .woocommerce-Price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    text-decoration: none;
}

/* CTA Button */
.hey-cta-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
}

.hey-cta-button:hover {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    color: white !important;
}

/* ========================================
   LIST VIEW CARD STYLES
   ======================================== */

.hey-product-card.hey-list-view {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    list-style: none;
}

.hey-product-card.hey-list-view:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: #F97316;
}

/* List Thumbnail */
.hey-list-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.hey-list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.hey-discount-badge-list {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    z-index: 5;
}

/* List Content */
.hey-list-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hey-list-left {
    flex: 1;
}

.hey-product-title-list {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.hey-product-title-list:hover {
    color: #F97316;
}

.hey-product-rating-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hey-product-rating-list .star-rating {
    font-size: 14px;
    color: #F59E0B !important;
}

/* List Right Side */
.hey-list-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hey-product-price-list .price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0;
}

.hey-product-price-list .price del {
    font-size: 16px;
    color: #a0aec0;
    text-decoration: line-through;
}

.hey-product-price-list .price ins,
.hey-product-price-list .price > .woocommerce-Price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    text-decoration: none;
}

.hey-cta-button-list {
    padding: 12px 24px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.hey-cta-button-list:hover {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    color: white !important;
}

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

@media (max-width: 1200px) {
    .hey-view-grid ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hey-view-grid ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .hey-product-thumbnail {
        height: 200px;
    }
    
    .hey-product-title {
        font-size: 14px;
    }
    
    .hey-shop-controls {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    /* List view - stack vertically on mobile */
    .hey-product-card.hey-list-view {
        flex-direction: column;
        text-align: center;
    }
    
    .hey-list-content {
        flex-direction: column;
        width: 100%;
    }
    
    .hey-list-right {
        flex-direction: column;
        width: 100%;
    }
    
    .hey-cta-button-list {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hey-view-grid ul.products {
        grid-template-columns: 1fr;
    }
    
    .hey-product-thumbnail {
        height: 280px;
    }
}

/* Hide default WooCommerce elements we're replacing */
.woocommerce ul.products li.product .button {
    display: none;
}
/* Cart & Checkout buttons - orange theme */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.checkout-button {
    background-color: #e07b00 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background-color: #c56a00 !important;
}
/* Coupon bar */
.woocommerce-info {
    border-top-color: #e07b00 !important;
}
.woocommerce-info::before {
    color: #e07b00 !important;
}

/* Cart table headers */
.woocommerce-cart table.cart thead th {
    background: #f8f8f8 !important;
    color: #444 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #e07b00 !important;
    padding: 12px !important;
}

/* Cart totals box */
.woocommerce-cart .cart_totals {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    padding: 20px !important;
}
.woocommerce-cart .cart_totals h2 {
    font-size: 18px !important;
    border-bottom: 2px solid #e07b00 !important;
    padding-bottom: 10px !important;
    margin-bottom: 16px !important;
}
.woocommerce-cart .cart_totals .shop_table tr td,
.woocommerce-cart .cart_totals .shop_table tr th {
    padding: 12px 0 !important;
    font-size: 15px !important;
}
.woocommerce-cart .cart_totals .order-total td {
    color: #059669 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Hide theme search hero on homepage */
.home .hey-search-hero,
.home .hero-search-section,
.home #hey-hero-search {
    display: none !important;
}

/* Hide Home page title */
.home .entry-header {
    display: none !important;
}

/* Full width homepage content */
.home .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.home .site-main,
.home article {
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide search hero banner on homepage */
.home .product-page-banner {
    display: none !important;
}
/* Full width homepage */
.home .entry-header { display: none !important; }
.home .entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.home .site-main { padding: 0 !important; }
.home article.page { padding: 0 !important; }

/* Shop page header */
.woocommerce-products-header { border-bottom: 3px solid #e07b00; padding: 24px 0 16px; margin-bottom: 20px; }
.woocommerce-products-header__title { font-size: 1.6rem; font-weight: 900; color: #1a1a1a; }
.woocommerce-result-count { color: #888; font-size: 13px; }
.woocommerce-ordering select { border: 1px solid #e07b00; border-radius: 8px; padding: 6px 12px; font-size: 13px; }

/* Reviews widget mobile fix */
@media (max-width: 768px) {
    .hey-reviews-widget {
        min-height: unset !important;
    }
    .hey-reviews-display {
        padding: 0 10px !important;
    }
    .hey-reviews-container {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin: 16px 0 !important;
        min-height: unset !important;
    }
    .hey-reviews-header {
        padding: 16px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .hey-reviews-nav {
        padding: 12px 16px !important;
    }
}

/* Reviews section - mobile restructure */
@media (max-width: 768px) {
    /* Collapse the main 240px+1fr grid to single column */
    div[style*="grid-template-columns:240px"],
    div[style*="grid-template-columns: 240px"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    /* Rating badges panel - make horizontal 3 col */
    div[style*="grid-template-columns:240px"] > div:first-child,
    div[style*="grid-template-columns: 240px"] > div:first-child {
        display: grid !important;
        grid-template-columns: repeat(3,1fr) !important;
        gap: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 0 !important;
    }
    /* Each rating badge */
    div[style*="grid-template-columns:240px"] > div:first-child > div,
    div[style*="grid-template-columns: 240px"] > div:first-child > div {
        padding: 10px 6px !important;
        border-right: 1px solid #f0f0f0 !important;
        text-align: center !important;
    }
    div[style*="grid-template-columns:240px"] > div:first-child > div:last-child,
    div[style*="grid-template-columns: 240px"] > div:first-child > div:last-child {
        border-right: none !important;
    }
    /* Reviews panel */
    div[style*="grid-template-columns:240px"] > div:last-child,
    div[style*="grid-template-columns: 240px"] > div:last-child {
        padding: 0 !important;
        border-left: none !important;
    }
    /* Review cards single column */
    .hey-reviews-container {
        grid-template-columns: 1fr !important;
        min-height: unset !important;
        gap: 10px !important;
        margin: 12px 0 !important;
    }
    .hey-reviews-display { padding: 0 12px !important; }
    .hey-reviews-header { padding: 12px !important; flex-direction: column !important; gap: 8px !important; }
    .hey-reviews-nav { padding: 10px 12px !important; }
    .hey-reviews-widget { min-height: unset !important; }
}

/* Footer mobile 2-col grid */
@media (max-width: 768px) {
    .footer-widgets-container.grid-container {
        display: block !important;
    }
    .inside-footer-widgets {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 24px 16px !important;
    }
    .footer-widget-3 {
        grid-column: 1 / -1 !important;
    }
    .footer-widget-3 .menu {
        display: flex !important;
        gap: 16px !important;
        flex-wrap: wrap !important;
    }
}

/* HD FONT DISPLAY SWAP FIX START */
@font-face {
  font-family: "Woo-Side-Cart";
  src: url("/wp-content/plugins/side-cart-woocommerce/assets/fonts/Woo-Side-Cart.ttf?qq7fgp") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Easy-Login";
  src: url("/wp-content/plugins/easy-login-woocommerce/assets/fonts/Easy-Login.ttf?oy4gsz") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 5 Free";
  src: url("/wp-content/plugins/woocommerce/assets/css/fonts/fa-regular-400.woff2") format("woff2");
  font-display: swap;
}
/* HD FONT DISPLAY SWAP FIX END */

