/*
Theme Name: TastyDaily 
Theme URI: https://parkofideas.com/tastydaily/
Text Domain: tastydaily
Description: Grocery Store & Food WooCommerce Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0
Template: tastydaily
Author: parkofideas.com
Author URI: https://parkofideas.com
Tags: right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* =Theme customization starts here
-------------------------------------------------------------- */
.c-product-grid__title {
    min-height: 6vh;
}

.c-product-grid__bottom {
    display: none !important;
}

.attributes-info {
    margin: auto auto;
    margin-bottom: 3vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Max 3 items per row */
    gap: 5px;
    /* Space between items
    align-items: stretch; /* Ensure each item takes the full height */
}

.attributes-info.grid {
    grid-template-columns: repeat(2, 1fr);
    /* Max 3 items per row */
}

.c-product-grid__item .variations_form .attributes-info {
    margin: auto auto;
    margin-bottom: 3vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Max 3 items per row */
    gap: 5px;
    /* Space between items
    align-items: stretch; /* Ensure each item takes the full height */
}

.single_variation_wrap .single_variation .woocommerce-variation-availability {
    display: none !important;
}

.attribute-image {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Push the content to the bottom */
    align-items: center;
    text-align: center;
    margin-top: 1.5vh;
}

.attribute-image img {
    /* max-width: 13vw; /* Ensure the image fits within its container */
    height: auto;
    margin-bottom: 10px;
    /* Space between image and text */
}

.c-product-grid .image-variable-item .variable-item-contents {
    position: relative;
    width: 50px !important;
    height: 50px !important;
    border-radius: var(--theme-border-radius);
}

#top-bar-menu {
    align-items: center;
}

.product {
    --font-size-desktop: 40px;
    --font-size-desktop-qv: 32px;
    --font-size-mobile: 26px;
    --font-size-mobile-qv: 26px;
    --wvs-width: 50px !important;
    --wvs-height: 50px !important;
}

/* Age Verification Overlay */
#age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

#age-verification-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#age-verification-content h1 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

#age-verification-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

#age-verification-content button {
    font-size: 16px;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
}

#age-verification-content #age-yes {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
}

#age-verification-content #age-no {
    background-color: #f44336;
    color: #fff;
    border: none;
    border-radius: 5px;
}

/* Logo Styling */
.age-verification-logo {
    max-width: 150px;
    margin-bottom: 15px;
}


.age-verification-checkbox {
    min-width: 50vw;
    margin-top: 2vh;
}

#contact-button {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #25D366;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1.8rem;
    z-index: 1000;
}

#contact-button a {
    color: #ffffff;
    text-decoration: none;
}

#contact-button:hover {
    background-color: #1DA653;
}

.reset_variations {
    display: none !important;
}

.c-header__col-left #currency-switcher {
    display: none !important;
}

.c-header__categories {
    display: none !important;
}

#mobile-second-menu {
    display: none !important;
}


/* hide the “XX in stock” but keep the gap */
.single-product p.stock,
.single-product span.stock {
  visibility: hidden; /* hides the text but the box still occupies space */
  margin-bottom: 2rem; /* tweak this value to your desired white space */
}

.product-info-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5em 0;
  list-style: none;
  padding: 0;
}
.product-info-icons .info-icon {
  text-align: center;
  font-size: 0.9rem;
}
.product-info-icons .info-icon img {
  display: block;
  margin: 0 auto 0.3em;
}

/*———————————————————————————————
  Shrink the attribute‐image icons in 
  “Recently Viewed” on the Cart page
———————————————————————————————*/
body.woocommerce-cart .widget_recently_viewed_products li.product .attribute-image {
  width: 40px !important;
  height: 40px !important;
  overflow: hidden;
}

body.woocommerce-cart .widget_recently_viewed_products li.product .attribute-image img {
  width: 100% !important;
  height: auto !important;
}

-----------------------------------
.c-product_grid_star-rating,
.c-product_grid_subtitle,
.c-product_grid_attributes {
    display: none !important;
}
