/** Shopify CDN: Minification failed

Line 77:34 Unexpected "/"

**/
/* --- Base Styling and Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap'); /* Using the font from your contact page */

:root {
    --primary-brown: #7B4F2E; /* Used for price and button */
    --text-dark: #333;
    --text-light: #666;
    --color-stars: #FFC107; /* Yellow for filled stars */
    --font-heading: 'Instrument Sans', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;
}

.all-products-page {
    padding: 0; /* remove all horizontal padding */
    max-width: 100%; /* full width */
    margin-bottom: 10px;
    font-family: var(--font-body);
    background-color: #fff;
}

/* --- Page Header and Banner (New Contact Page Style) --- */
.page-header-container {
    background-color: #f8f0e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    width: 100%;
    padding: 40px 20px; /* vertical + horizontal padding */
    box-sizing: border-box;
    position: relative;
}

.page-title-group {
    padding-left: 20px; /* keep some spacing from left edge */
}

.page-title-main {
    font-size: 36px; /* Larger title */
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.full-width-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    background-color: #f8f0e8; /* Light background from your image */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%; /* Adjusted padding */
    position: relative;
    overflow: hidden; /* To contain the layered banner */
    height: 250px; /* Set a fixed height for the header area */
}
.breadcrumb {
    font-size: 16px;
    color: var(--text-dark);
    opacity: 0.8;
}

.breadcrumb a {
  color: inherit; /* This makes the link's color the same as the surrounding text */
  text-decoration: none; /* This removes the underline */
}

.breadcrumb a:hover {
  text-decoration: underline; /* This adds an underline when you hover over it */
}

* --- Layered Banner Styling --- */

.layered-banner-wrapper {
    /* This container dictates the size and position of the entire banner block */
    position: absolute;
    right: 0; /* Align to the right edge of the header container */
    top: 0;
    width: 60%; /* Take up 60% of the header width */
    height: 100%;
    overflow: hidden;
}

.banner-layer {
    position: absolute;
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Layer 1 (Background): Orange Splash Background (productback.png) */
.banner-background {
    /* Positioned large, slightly off-center to act as the main background graphic */
    left: 300px; 
    top: 5px;
    height: 95%; 
    width: 125%; 
   
    z-index: 1;
}

/* Layer 2 (Middle): Nuts Product Images (titlenut.png) */
.banner-product-nuts {
    /* Positioned on the left side of the banner area */
    right: 25%; 
    top: 140px;
    transform: translateY(-50%) scale(1.1); /* Slightly larger and vertically centered */
    max-height: 100%;
    max-width: 100%;
    z-index: 2;
}

/* Layer 3 (Foreground): Discount Text Graphic (discount.png) */
.banner-discount-text {
    /* Positioned on the right side, overlapping the product and background */
    right: 12%; 
    top: 140px;
    transform: translateY(-50%) scale(1.1); /* Slightly larger and vertically centered */
    max-height: 50%;
    max-width: 70%;
    z-index: 3;
}

.product-item {
    background: linear-gradient(
        to bottom,
        rgba(105, 57, 30, 0.07) 0%,   /* very light tint at top */
        #ffffff 30%,                  /* fades to white */
        #ffffff 70%,                  /* keeps middle white */
        rgba(105, 57, 30, 0.07) 100%  /* very light tint at bottom */
    );
}
.product-image{
        background: linear-gradient(
        to bottom,
        rgba(105, 57, 30, 0.07) 0%,   /* very light tint at top */
        #ffffff 30%,                  /* fades to white */
        #ffffff 70%,                  /* keeps middle white */
        rgba(105, 57, 30, 0.07) 100%  /* very light tint at bottom */
    );
}
/* Active breadcrumb (current page) */
.breadcrumb span {
  color: #999; /* lighter grey for the current page */
  font-weight: 400; /* slightly thinner */
}
.breadcrumb a {
  color: #333; /* darker color for links */
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #555; /* subtle hover color change */
}


/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    /* ... (Existing responsive styles for product-grid etc.) ... */

    .full-width-header {
        height: 200px;
        padding: 20px 20px;
    }
    .layered-banner-wrapper {
        width: 70%;
    }
    .banner-product-nuts {
        right: 45%;
        transform: translateY(-50%) scale(1);
    }
    .banner-discount-text {
        right: 0;
        transform: translateY(-50%) scale(1);
    }
}

@media (max-width: 768px) {
    .full-width-header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding-bottom: 30px;
    }

    .page-title-group {
        width: 100%;
        text-align: center;
        padding-left: 0;
    }

    .layered-banner-wrapper {
        position: relative; /* Stack it below the title */
        width: 100%;
        height: 150px;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .banner-background, .banner-product-nuts, .banner-discount-text {
        position: absolute;
        height: 100%;
        width: auto;
        top: 0;
        bottom: 0;
        transform: none;
    }

    .banner-background {
        right: -10%;
    }
    
    .banner-product-nuts {
        left: 5%;
        height: 100%;
    }
    
    .banner-discount-text {
        right: 5%;
        height: 80%;
    }
}



.banner-product-image {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.banner-discount-image {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* --- Product Grid Layout --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom:50px;
}

.product-item {
    border: none; /* Removed default border */
    border-radius: 8px;
    padding: 20px 20px 10px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft shadow */
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block; /* Ensure link covers the necessary area */
}

/* --- Image Styling --- */
.product-image {
    max-width: 100%;
    height: 250%;
    object-fit: contain; /* Changed to 'contain' to show the full product image packaging */
    border-radius: 0;
    margin-bottom: 10px;
    display: block;          
    margin-left: auto;      
    margin-right: auto;
}

/* --- Product Text Styling --- */
.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* --- Star Ratings --- */
.product-rating {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.star {
    font-size: 18px;
    letter-spacing: -2px;
}

.star.filled {
    color: var(--color-stars);
}

.star.empty {
    color: #ccc;
}

.rating-count {
    font-size: 12px;
    margin-left: 5px;
    color: var(--text-light);
}

/* --- Variant Dropdown (Grams) --- */
.product-variants {
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.product-variants label {
    font-weight: 600;
    margin-right: 10px;
    color: var(--text-dark);
}

.product-variants select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    appearance: none; /* Hide default arrow */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 8px center;
    background-size: 10px;
    padding-right: 25px;
    cursor: pointer;
}

/* --- Pricing Section --- */
.product-price-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 15px;
}

.current-price {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 20px;
    margin-right: 10px;
}

.compare-price {
    color: #999;
    font-weight: 400;
    font-size: 16px;
    text-decoration: line-through; /* Strikethrough */
}

/* --- Add to Cart Button --- */
.add-to-cart-btn {
    background-color: var(--primary-brown);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* small, neat space between icon and text */
}

.add-to-cart-btn:hover {
    background-color: #5d3d25;
}
.cart-icon-btn {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* --- Product Title Link Styling --- */
.product-title-link {
  color: inherit; /* This makes the link's color the same as the parent h3 element */
  text-decoration: none; /* This removes the underline */
}

/* Optional: Add a subtle effect on hover so users still know it's clickable */
.product-title-link:hover {
  text-decoration: underline; /* Adds an underline only when hovered */
}

.product-variant-title {
  /* This prevents "500g" from becoming "500G" */
  text-transform: none !important; 
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .all-products-page {
        padding: 20px 10px 40px 10px;
    }

    .product-grid {
        gap: 20px;
    }
    
    .page-header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .discount-banner {
        position: static;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
    
    .banner-text-content {
        padding: 15px 15px 15px 30px;
        clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    }

    .banner-product-image {
        left: 5%;
        height: 80%;
    }

    .product-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
  .full-width-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-right-decorative-area {
    justify-content: center;
    margin-top: 20px;
  }
}

/* =================================== */
/* = MOBILE 2-COLUMN GRID (NEW CODE) = */
/* =================================== */
@media (max-width: 749px) { 

    

  
  .product-grid {
    /* This forces a 2-column grid */
    grid-template-columns: repeat(2, 1fr); 
    
    /* This reduces the space between products */
    gap: 15px; 
  }

  .product-item {
    /* Ensure items don't have a min-width forcing them to stack */
    min-width: 0; 
    padding: 10px; /* Reduce padding for smaller cards */
  }

  .product-image {
     height: 190px !important; /* Make image height smaller */
  }

  .product-title {
     font-size: 14px; /* Make font a bit smaller */
     line-height: 1.3;
     min-height: 55px; /* Adjust height for 3-4 lines of text */
     margin-bottom: 5px;
     padding: 0; /* Remove padding since item has it now */
  }
  
  .product-rating {
     padding: 0;
     margin-bottom: 5px;
  }
  
  .product-variants {
     padding: 0;
     margin-bottom: 10px;
  }

  .product-price-container {
     padding: 0;
     margin-bottom: 10px;
     flex-direction: column; /* Stack prices if they wrap */
     align-items: center;
     gap: 0;
  }

  .product-form__controls {
    padding: 0;
    display: flex;             /* ADD THIS */
    justify-content: center;   /* ADD THIS */
    align-items: center;       /* Optional: Vertically align if needed */
}

  .current-price {
     font-size: 18px; /* Slightly smaller price */
  }

  .compare-price {
     font-size: 14px; /* Slightly smaller compare price */
  }

  .add-to-cart-btn {
     padding: 10px; /* Make button padding smaller */
     font-size: 13px;
  }

  .product-form__quantity .quantity-btn {
    min-width: 40px; /* Smaller +/- buttons */
    height: 40px;
    font-size: 18px;
  }

  .product-form__quantity .quantity-display {
    min-width: 40px; /* Smaller quantity display */
    font-size: 20px;
  }
}