/* WooCommerce Custom Starter CSS for BioShell */

/* CATEGORY ICONS */

.shop_categories {
    
    width: 100%;
    margin: 1.15rem 0;
    gap: 1rem;
    
    display: flex;
    flex-wrap: wrap;
    
}

.woocommerce-pagination {
    display: flex;
    justify-content: center;
}

.page-numbers {
    font-size: 1.9rem;
    display: flex;
    list-style: none;
    
    padding-left: 0 !important;
}

.page-numbers a {
    text-decoration: none;
    color: #696;
}

.page-numbers li a {
    width: 100%;
    height: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-numbers li {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    color: #696; 
    font-size: 1.4rem;
    border: 1px solid #ccc;
    background-color: transparent;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
}

li:has(.page-numbers.current) {
  background-color: #696; /* green */
  color: #fff;
}

.page-numbers li:not(:last-child) {
    margin-right: 1.5rem;
}

.next {
   color: #fff; 
}

.shop__category {
    

}

.shop__link:link,
.shop__link:visited {
    border: 2px solid #696;
    display: block;       
    width: 100%;         
    height: 100%;  
    padding: 5px 12px;      
    border-radius: 2rem;   
    text-align: center;   
    background-color: transparent;
    
    text-decoration: none;
    font-size: 1.5rem;
    color: #696;
    
    transition: 0.6s all;
}

.shop__link:hover,
.shop__link:active {
    color: #fff;
    background-color: #696;
}

.shop__link-current {
    background-color: #696 !important;
    color: #fff !important;
}

.site-main {
    padding: 0 1.75rem;
    margin: 3.5rem 0;
}

.woocommerce-ordering {
    font-size: 1.35rem;
    
    
}

.woocommerce-ordering .orderby {
    -webkit-appearance: none; /* remove default iOS/Chrome styles */
    -moz-appearance: none;
    appearance: none;
    
    background-color: #fff; /* your background */
    border: 2px solid #ccc;
    border-radius: 0.5rem;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-size: 1.56rem;
    color: #332;
    
    cursor: pointer;
    
    
}

.orderby {
    border-radius: 0.5rem;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23ccc' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 2.1rem;
    padding: 6px 5px;
}

.wp-post-image {
    display: block;
    width: 70%;
    height: auto;
}

@media (min-width: 56.875em) {
    .site-main {
    padding: 0 3.25rem;
    }
}


ul.products {
    margin-top: 3.5rem;
    list-style: none;
    padding: 0;
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}


@media (min-width: 576px) {
    .wp-post-image {
        
        width: 60%;
    }
    
}

@media (min-width: 38.75em) {
    div .summary {
        text-align: start;
    }
    
    .wp-post-image {
        
        width: 40%;
    }
    
    .shop_categories {
        margin: 1.85rem 0;
    }
    
.shop__category {
    
}
    
}

@media (min-width: 44.375em) {
    ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.25rem;
    }
    
    
}

@media (min-width: 56.875em) {
    ul.products {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 64em) {
    ul.products {
        grid-template-columns: repeat(5, 1fr);
         gap: 5.25rem;
    }
    
    .wp-post-image {
        
        width: 30%;
    }
    
}

.product {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box; /* include padding in width */
}

.product_type_simple {
    display: none;
}

.product:not(:last-child) {
   
}

.attachment-woocommerce_thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    
}

.woocommerce-LoopProduct-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.woocommerce-loop-product__title {
    margin-top: 1.75rem;
    text-align: center;
    //font-size: 2rem;
    text-decoration: none;
    color: #212529;
    
}

.page-title {
    display: none;
}

.woocommerce-result-count {
    color: #333;
    font-size: 1.5rem;
}

/* Product grid */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Product card */
.woocommerce ul.products li.product {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    background: #fff;
    flex: 1 1 calc(25% - 2rem); /* 4 columns */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
}

/* Product image */
.woocommerce ul.products li.product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
}

/* Product title */
.woocommerce ul.products li.product h2 {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #2d572c; /* BioShell green */
}

/* Price */
.woocommerce ul.products li.product .price {
    font-weight: bold;
    color: #2d572c;
    margin-bottom: 8px;
    display: block;
}

/* Add to cart button */
.woocommerce ul.products li.product .button {
    background-color: #2d572c;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #1f3c1c;
}

/* On Sale badge */
.woocommerce .onsale {
    background: #d9534f;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    position: absolute;
    top: 10px;
    left: 10px;
}

/* Responsive for tablets */
@media(max-width: 768px) {
    .woocommerce ul.products li.product {
        flex: 1 1 48%;
    }
}

/* Responsive for phones */
@media(max-width: 480px) {
    .woocommerce ul.products li.product {
        flex: 1 1 100%;
    }
}


/* /product page */

.woocommerce-product-gallery {
    width: 100%;
}

.woocommerce-product-gallery__image a {
    display: flex;
    justify-content: center;
}



.woocommerce-breadcrumb {
    font-size: 1.5rem;
}

.woocommerce-breadcrumb a {
    color: #696;
    font-weight: bold;
}

div.product {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product_title {
    font-size: 2.55rem;
}

.posted_in {
    font-size: 1.45rem;
}

.posted_in a {
    color: #696;
}

.tagged_as {
    display: none;
}

.summary {
    width: 100%;
    text-align: start;
    margin-top: 3.5rem;
}

#sidebar {
    display: none;
}

.description_tab {
    display: none;
}

.woocommerce-Tabs-panel h2 {
    margin-top: 1.2rem;
    font-size: 2rem;
}

.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel ul li {
    font-size: 1.45rem;
}

section.related.products {
    margin-top: 2.5rem;
}

.pswp {
    z-index: 99999 !important;
}

/* Transparent overlay */
.pswp__bg {
    background: rgba(0, 0, 0, 0.3) !important; /* change 0.3 to adjust opacity */
}