/*
Theme Name: Kirana Child
Template: kirana
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html, body, button, input, select, textarea {
    font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
}
body {
    font-weight: 400;
}

h1, h2, h3 {
    letter-spacing: -0.3px;
}

nav a, .menu a, .site-header a {
    font-weight: 500;
}
.social-login-center {
  text-align: center; /* center inline-block elements */
  margin: 1em 0;
}

.social-login-center .nsl-container {
    border: 1px solid #32373C;
  display: inline-block; /* shrink to fit content */
}

.social-login-center .nsl-container {
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease-in-out;
}

/* Hover effect */
.social-login-center .nsl-container:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-color: #ccc;
  transform: translateY(-2px);
}

.gf-club-box {
    background-color: #F2F3ED !important;
}

.wp-block-group .odricanje-odgovornosti {
    border: 1px solid black !important;
    padding: 1rem !important;
    position: relative !important;
    border-radius: 12px;
    font-weight: normal;
}

div .cookieadmin_re_consent {
    background: linear-gradient(to left, #51946F 0%, #267a4c 100%) !important; 
}

.categories-home-page li a span:nth-child(2) {
    width: 100%;
    background-color: #fcfcfc94;
    padding: 10px;
    color: black;
    font-weight: bold;
    font-size: 16px;
    bottom: 1.1rem !important;
}

.add_to_cart_button {
    background-color: #267B4C;
}

.wc-block-product-categories-list-item:hover .wc-block-product-categories-list-item__image img {
    transform: scale(1) !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.wc-block-product-categories-list-item:hover .wc-block-product-categories-list-item__name {
    border-radius: 24px;
}

.wc-block-product-categories-list-item__image img {
    border-radius: 1.5rem;
}

.categories-home-page .wc-block-product-categories-list {
    justify-content: space-around !important;
}

.ml-popup-content-wrapper .ml-hide-branding {
    display: none !important;
}

.mailerlite-form a[href*="mailerlite.com"],
.mailerlite-form .ml-form-embedPoweredBy {
  display: none !important;
  visibility: hidden !important;
}

/* Remove decorative arrow from buttons/links */
.wp-block-button__link::before,
.wp-block-button__link::after {
    content: none !important;
    background: none !important;
}

/* Kill extra arrow on all links */
a::before,
a::after {
    content: none !important;
    background: none !important;
}

.wp-image-2840 {
    width: 259px !important;
    position: absolute !important;
    bottom: -60px !important;
    right: 0 !important;
}

/*.wp-block-group .wp-block-column .main-banner {*/
/*    padding-bottom: 0 !important;*/
/*    padding-top: 0 !important;*/
/*}*/

.mobile-user-account {
    display: none !important;
}

ul.wp-block-navigation__container.has-text-color.has-kirana-black-color.has-medium-font-size.is-responsive.items-justified-center.wp-block-navigation.has-medium-font-size li:last-child {
    display: none !important;
  }

@media (max-width: 768px) {
  
.post-type-archive .wp-block-woocommerce-product-categories {
	display: none;
}
.archive .wp-block-woocommerce-product-categories {
	display: none;
}

  ul.wp-block-navigation__container.has-text-color.has-kirana-black-color.has-medium-font-size.is-responsive.items-justified-center.wp-block-navigation.has-medium-font-size > li:last-child {
    display: flex !important;
  }
}


@media only screen and (max-width: 800px) {
    .wp-image-2840 {
        bottom: -100px !important;
    }
    .last-info-about-us {
        margin-bottom: 1rem !important;
    }
    .wp-block-group .wp-block-column .main-banner {
        padding-bottom: 1rem !important;
        padding-top: 1rem !important;
    }
    .mobile-user-account {
        display: block !important;
    }
}

@media (max-width: 650px) {
  /* Stack all categories vertically */
  .wc-block-product-categories-list.wc-block-product-categories-list--has-images {
    display: flex;
    align-items: center !important;
    margin: 0 !important;
  }

  /* Make each category take full width */
  .wc-block-product-categories-list-item {
    width: 90% !important;
    max-width: 450px;
  }

  /* Force the image container to be big */
  .wc-block-product-categories-list-item__image,
  .wc-block-product-categories-list-item .wc-block-product-categories-list-item__image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 16px;
  }
  .wc-block-product-categories-list-item {
      max-width: 100% !important;
  }

  /* Make text larger and center it */
  .wc-block-product-categories-list-item__name {
    display: block;
    font-size: 13px !important;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
  }

  /* Remove unnecessary spacing if any */
  .wc-block-product-categories-list-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
  }
}


.wc-block-grid__product-onsale {
  background-color: #ffcc00 !important; /* 탑uta */
  color: #000 !important;
  font-weight: bold;
  border-radius: 4px;
}

.certified-badge {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 9;
}

.certified-badge img {
  width: 45px !important;
  height: auto !important;
}


@media only screen and (max-width: 800px) {
    .certified-badge img {
      width: 45px !important;
    }
}

.product-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center; /* horizontally center */
  align-items: center;     /* vertically center both */
  overflow: hidden;
}

.product-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.product-image-wrapper .certified-badge {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.product-image-wrapper .certified-badge img {
  width: 50px;
  height: auto;
}


.wc-block-product-categories-list--has-images {
    margin: 0 5rem !important;
}

.onsale {
    position: absolute;
    top: 16px;
    background-color: #ffcc00 !important;
    right: 0 !important;
    border-radius: 16px 0px 0px 16px !important;
}

span.onsale {
  background-color: #ffcc00 !important;
  color: #000 !important;
  font-weight: 600;
  border-radius: 16px;
  padding: 4px 10px;
  top: 16px;
  right: 0 !important;
}

/* === Certified badge for grid (shop page) === */
.certified-badge {
  position: absolute;
  top: 50px !important;
  left: 5px !important;
  z-index: 10;
}
.certified-badge img {
  width: 30px;
  height: auto;
}

/* === Certified badge for single product === */
.certified-badge-single {
  top: 70px !important;
  left: 0 !important;
  position: absolute;
  z-index: 10;
}
.certified-badge-single img {
  width: 80px;
  height: auto;
}

/* === Certified text label === */
.certified-label {
  color: #DAA520; /* gold */
  font-weight: 600;
  margin-left: 6px;
}

/* === Make the "Sertifikovano" tag golden on single product pages === */
.single-product .product_meta a[href*="certified"],
.single-product .product_meta a[href*="sertifikovano"] {
  color: #DAA520 !important; /* Gold */
  font-weight: 600;
}


.single-product .onsale {
  left: 0;
  border-radius: 0px 16px 16px 0px !important;
  width: max-content;
  top: 16px;
}

/* Card / wrapper */
.wc-block-product-filter-checkbox-list {
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.04) !important;
  margin-bottom: 24px !important;
}

/* Title inside the block */
.wc-block-product-filter-checkbox-list h3,
.wc-block-product-filter-checkbox-list h4,
.wc-block-product-filter-checkbox-list h5 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 0 0 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #f3f3f3 !important;
}

/* List + items */
.wc-block-product-filter-checkbox-list__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wc-block-product-filter-checkbox-list__item {
  margin: 10px 0 !important;
}

/* Label row */
.wc-block-product-filter-checkbox-list__label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
}

/* Text */
.wc-block-product-filter-checkbox-list__text,
.wc-block-product-filter-checkbox-list__text-wrapper {
  font-size: 15px !important;
  color: #333 !important;
}
.wc-block-product-filter-checkbox-list__label:hover
.wc-block-product-filter-checkbox-list__text {
  color: #2b7a2b !important;
}

/* Optional: “clear filters” button when present */
.wc-block-components-filter-reset-button,
.wc-block-product-filter-checkbox-list__clear-all {
  display: inline-block !important;
  margin-top: 10px !important;
  font-size: 13px !important;
  color: #777 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover {
  background-color: #333 !important;
  transform: translateY(-2px);
}

/* Remove "Brzi pregled" */
/*.button.yith-wcqv-button { display: none !important; }*/

/* ✅ Style for Out of Stock badge */
.out-of-stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #9b0000 !important; /* dark red (cool looking) */
    color: #fff !important;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 1;
}

/* === Force "SNIŽENO" badge styling for WooCommerce Blocks === */
.wc-block-components-product-sale-badge,
.wc-block-components-product-sale-badge.alignright {
  background-color: #FFD600 !important; /* yellow */
  border-radius: 10px !important;
  color: #000 !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  top: 8px !important;
  right: 0 !important;
  border-radius: 15px 0px 0px 16px !important;
  border: 0 !important;
  left: auto !important;
  position: absolute !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.wc-block-components-product-sale-badge__text {
  color: #000 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}

/* 🔥 Force-hide the duplicate “Brzi pregled” Quick View button */
.woocommerce ul.products li.product a.button.yith-wcqv-button,
.wc-block-grid__product a.button.yith-wcqv-button,
li.product .button.yith-wcqv-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* === Show only translated "Dodaj u korpu" text, hide SVG === */

/* Hide the SVG/cart icon Kirana adds */
.wc-block-components-product-button__button svg {
  display: none !important;
}

/* Remove any previous pseudo-content */
.wc-block-components-product-button__button::after {
  content: none !important;
}

/* Add static text label instead */
.wc-block-components-product-button__button {
  position: relative !important;
  background-color: #267B4C !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  min-width: 150px !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-align: center !important;
  justify-content: center !important;
  text-transform: none !important;
}

/* Inject the translated text manually */
.wc-block-components-product-button__button::before {
  content: "Dodaj u korpu";
  display: inline-block !important;
  color: #fff !important;
}

/* Hover effect */
.wc-block-components-product-button__button:hover {
  background-color: #1f613d !important;
}


html[lang="sr-RS"] .wc-block-components-product-button__button::before {
  content: "Dodaj u korpu" !important;
}
html[lang="en-US"] .wc-block-components-product-button__button::before {
  content: "Add to cart";
}
html[lang="de-DE"] .wc-block-components-product-button__button::before {
  content: "In den Warenkorb";
}

.wc-toast {
  position: fixed;
  top: 30px;
  right: 30px;
  background: #267B4C;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  z-index: 9999;
}
.wc-toast.show { opacity: 1; transform: translateY(0); }

/* ====== Equal height product cards for WooCommerce blocks ====== */
.wc-block-product {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 450px; /* adjust based on image size */
  box-sizing: border-box;
}

.wc-block-product .wc-block-components-product-image,
.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-woocommerce-product-price {
  flex-shrink: 0;
}

.wc-block-product .wc-block-components-product-button__button {
  margin-top: auto !important;
  align-self: center;
  width: 80%;
  text-align: center;
}

.wc-block-product .wp-block-post-title {
  min-height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

.wc-block-grid__product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ====== Remove equal-height styling below 650px ====== */
@media (max-width: 650px) {
  .wc-block-product {
    display: block !important;
    min-height: 300px !important;
    height: auto !important;
  }
  
  .wp-element-button {
    display: flex;
    height: 50px;
  }

  .wc-block-product .wc-block-components-product-button__button {
    margin-top: 1rem !important;
    width: 100%;
  }

  .wc-block-grid__product {
    display: block !important;
  }

  .wc-block-product .wp-block-post-title {
    min-height: auto;
    display: block;
    text-align: center;
  }
}

.single_add_to_cart_button {
    background-color: #267a4c;
    justify-content: center;
    align-items: center;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #267a4c !important;
}

.woocommerce ul.products li.product .button:hover svg {
    fill: #fff !important;
}

.wp-block-woocommerce-checkout, .wp-block-woocommerce-filled-cart-block {
    padding: 0 1rem;
}

.wp-block-post-content {
    margin: 0 0.1rem !important;
}

.woocommerce-product-gallery__trigger {
    overflow: visible !important;
}

.pswp__top-bar {
    background-color: #fff !important;
}

.wp-block-group .wp-block-woocommerce-customer-account a {
    display: flex !important;
    gap: 0 !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: 0 1rem;
}

.wp-block-group  .wp-block-woocommerce-customer-account a svg {
    width: 30px !important;
    height: 30px !important;
}

.wp-block-group .wp-block-woocommerce-customer-account a span.label {
    margin-top: 7px !important;
    font-size: 12px;
    color: black;
    text-decoration: underline;
}

.free-shipping-notice img {
  filter: invert(1);
}

.wp-block-navigation__container li a {
	padding: 7px;
    border-radius: 8px;
}

.wp-block-navigation .wp-block-navigation__container .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
    background: var(--wp--preset--color--primary-light);
}

.wp-block-navigation .wp-block-navigation__container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
    background: var(--wp--preset--color--primary-light);
}

.wp-block-woocommerce-checkout-order-summary-block .free-shipping-notice {
    display: none !important;
}

.woocommerce:not(.woocommerce-shop) input[type=checkbox] {
    height: 15px !important;
    width: 15px !important;
}

/*.woocommerce:not(.woocommerce-shop) input[type=checkbox]:after,*/
/*.woocommerce:not(.woocommerce-shop) input[type=checkbox]::after {*/
/*	visibility: hidden !important;*/
/*}*/

input[type=checkbox].wc-block-product-filter-checkbox-list__input {
    border: 2px solid #267B4C !important;
    border-radius: 4px !important;
}

.wc-block-product-filter-checkbox-list__input-wrapper:before {
    background: none !important;
}

svg.wc-block-product-filter-checkbox-list__mark {
    color: white !important;
    height: 1.5em !important;
    left: -0.5px;
    position: absolute;
    top: -3.2px !important;
    width: 1rem !important;
}

.wc-block-product-filter-checkbox-list__input-wrapper {
    height: 15px !important;
}

/* Checked state */
.wc-block-product-filter-checkbox-list__input:checked {
  background-color: #009c41;
  border-color: #009c41;
}

/* Optional: fix alignment */
.wc-block-product-filter-checkbox-list__label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
}


body .wc-block-product-filter-checkbox-list__input[type="checkbox"]:checked {
  background-color: #2b7a2b !important;
  border-color: #2b7a2b !important;
}

/* Keep label spacing consistent */
body .wc-block-product-filter-checkbox-list__label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
}

/* === Sertifikacija filter style === */
.wc-block-product-filter--cert_status,
.widget_cert_status,
.wc-block-filter__item {
    font-family: inherit;
}

.wc-block-filter__item label,
.wc-block-checkbox-list__label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    color: #222 !important;
    cursor: pointer !important;
}

.wc-block-filter__item input[type="checkbox"],
.wc-block-checkbox-list__input {
    accent-color: #006633 !important;
    transform: scale(1.15) !important;
}

.wc-block-product-filter--cert_status h2,
.widget-title {
    font-weight: 600 !important;
    font-size: 17px !important;
    margin-bottom: 10px !important;
    color: #111 !important;
}

.column-taxonomy-cert_status {
    width: 33% !important;
}

/* Replace pagination text with arrows */
.wp-block-query-pagination-previous::after,
.wp-block-query-pagination-next::after {
  font-weight: 600;
  font-size: 20px;
  display: inline-block;
}

.wp-block-query-pagination-previous {
    display: flex;
    align-items: center;
    height: 50px;
}

.wp-block-query-pagination-next {
    display: flex;
    align-items: center;
    height: 50px;
}

.wp-block-query-pagination-previous::after {
  content: "←" !important;
}

.wp-block-query-pagination-next::after {
  content: "→" !important;
}

/* Hide the original text */
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  font-size: 0;
}

/* Keep the arrows aligned properly */
.wp-block-query-pagination-previous::after,
.wp-block-query-pagination-next::after {
  font-size: 18px;
  line-height: 1;
  color: #000;
  transition: color 0.2s ease;
}

.wp-block-query-pagination-previous:hover::after,
.wp-block-query-pagination-next:hover::after {
  color: #2e7d32; /* optional green hover color to match your site */
}

/* === Force all product cards to have equal height and align "Dodaj u korpu" === */
.wc-block-product {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 480px; /* adjust if needed */
  box-sizing: border-box;
}

/* Keep image, title, and price grouped at the top */
.wc-block-product .wc-block-components-product-image,
.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-woocommerce-product-price {
  flex-shrink: 0;
}

/* Pin the button to the bottom of each card */
.wc-block-product .wc-block-components-product-button {
  margin-top: auto !important;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Make the button itself consistent in width */
.wc-block-product .wc-block-components-product-button__button {
  width: 80%;
  text-align: center;
  margin-top: 1rem !important;
}

/* Ensure titles don't stretch cards too much */
.wc-block-product .wp-block-post-title {
  min-height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

/* Consistent card display for the grid */
.wc-block-grid__product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* === Adjust for mobile === */
@media (max-width: 650px) {
    .woocommerce-orders-table__cell-order-actions {
        grid-template-columns: 100% !important;
    }
  .wc-block-product {
    display: block !important;
    min-height: auto !important;
  }
  .wc-block-product .wc-block-components-product-button__button {
    width: 100%;
    margin-top: 1rem !important;
  }
}

.woocommerce-orders-table__cell-order-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px !important;
}

.woocommerce-orders-table__cell-order-actions .wp-element-button {
    width: 100% !important;
}


.woocommerce-MyAccount-content a:visited {
    color: inherit !important;
}

.taxonomy-category {
    display: none !important;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.nutrition-table th {
    background-color: #267B4C; /* fina svetlo-zelena */
    color: white;
    padding: 12px;
    text-align: left;
    font-size: 16px;
    border-bottom: 2px solid #95d5b2;
}

.nutrition-table td {
    padding: 10px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 15px;
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}

.wp-block-woocommerce-cart-order-summary-block {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.wc-block-cart__payment-options {
    display: none;
}

span.onsale.out-of-stock-badge,
.onsale.out-of-stock-badge,
.out-of-stock-badge {
    background-color: #9b0000 !important; /* dark red */
    color: #fff !important;
    border-radius: 4px !important; /* your style */
    padding: 5px 10px !important;
    font-weight: 600 !important;
    right: auto !important; /* reset if yellow badge pushes it right */
    left: 10px !important;
    top: 10px !important;
    z-index: 1 !important;
}

/* ❌ Remove ONLY SNIŽENO when out of stock */
.is-out-of-stock .onsale:not(.out-of-stock-badge),
.product.outofstock .onsale:not(.out-of-stock-badge),
.wc-block-product.is-out-of-stock .wc-block-components-product-sale-badge {
    display: none !important;
}

/* ✅ KEEP out-of-stock badge visible */
.out-of-stock-badge {
    display: inline-block !important;
}

.bundle-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.bundle-item {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bundle-item img {
    width: 80px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.bundle-item .qty {
    font-weight: 600;
    color: #000;
    margin-top: 5px;
}

/* ✅ Last two items take half width */
.bundle-item.last-one {
    flex: 100%;
}

/* ✅ Mobile styling */
@media (max-width: 700px) {
    .bundle-item {
        flex: 0 0 calc(50% - 20px);
    }
    .bundle-item.last-one {
        flex: 100%;
    }
}

@media (max-width: 500px) {
    .bundle-item {
        flex: 0 0 100%;
    }
}

.clear-filters-btn {
  display: inline-block;
  background-color: #267B4C;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.clear-filters-btn:hover {
  background-color: #1f613d;
}
.added-to-cart-success {
  background-color: #267B4C !important;
  color: #fff !important;
  transform: scale(1.03);
  transition: all 0.3s ease;
}
.added-overlay {
  position: absolute;
  inset: 0; /* full image area */
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
  border-radius: 12px; /* match your image corners */
}

.added-overlay span {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 8px;
}

.added-overlay.show {
  opacity: 1;
}
.wc-toast {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.shop-category-title {
    margin: 0 !important;
}
.shop-category-header {
  margin: 0 !important;
  text-align: center;
  margin: 30px 0;
}
.shop-category-description {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Checked */
.wc-block-product-filter-checkbox-list__input:checked,
.wc-block-checkbox-list__input:checked {
    background-color: #267B4C !important;
    border-color: #267B4C !important;
    visibility: visible !important;
}
/* Label alignment (both systems) */
.wc-block-product-filter-checkbox-list__label,
.wc-block-checkbox-list__label,
.wc-block-filter__item label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    color: #222 !important;
}


/* Hide Gutenberg author section on single blog posts */
.single-post .wp-block-post-author,
.single-post .wp-block-post-author__content,
.single-post [class*="wp-block-post-author"],
.single-post .wp-block-group.has-background:has(.wp-block-post-author) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wc-block-product-filters__apply {
    align-items: center !important;
    justify-content: center !important;
}
.center-text .wp-block-button__link {
    align-items: center !important;
}
.gf-privacy-policy {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #333;
}

.gf-privacy-policy h1 {
  text-align: center;
  color: #2b7a4b;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.gf-privacy-policy h2 {
  color: #2b7a4b;
  font-size: 1.3rem;
  margin-top: 30px;
  border-left: 4px solid #2b7a4b;
  padding-left: 10px;
  font-weight: 600;
}

.gf-privacy-policy p {
  margin-bottom: 10px;
  font-size: 15px;
}

.gf-privacy-policy a {
  color: #2b7a4b;
  text-decoration: none;
  font-weight: 500;
}

.gf-privacy-policy a:hover {
  text-decoration: underline;
}

.gf-privacy-policy hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .gf-privacy-policy {
    padding: 25px 15px;
  }
  .gf-privacy-policy h1 {
    font-size: 1.6rem;
  }
  .gf-privacy-policy h2 {
    font-size: 1.1rem;
  }
}
.search-product-grid {
    padding: 0 1rem;
}
.search-products-title {
    padding: 0 1rem;
}

.ml-form-embedWrapper.embedForm {
    max-width: 100% !important;
}

.ml-form-embedWrapper {
    border-radius: 2rem !important;
}

.order-confirmation-wrapper {
    max-width: 1600px !important;
    margin: 0 auto !important;
}
.ml-subscribe-form {
    border: 3px solid #267a4c !important;
    border-radius: 12px;
}
/* Default: hide both (media queries će ih uključiti) */
.show-on-mobile-ml-subscribe-form,
.show-on-desktop-ml-subscribe-form {
    display: none !important;
}

/* 📱 Mobile: 900px i manje */
@media (max-width: 900px) {
    .show-on-mobile-ml-subscribe-form {
        display: block !important;
    }
    .show-on-desktop-ml-subscribe-form {
        display: none !important;
    }
}

@media (min-width: 768px) {
	.mobile-header {
    	display: none !important;
    }
}

/* 🖥 Desktop: preko 900px */
@media (min-width: 901px) {
    .show-on-desktop-ml-subscribe-form {
        display: block !important;
    }
    .show-on-mobile-ml-subscribe-form {
        display: none !important;
    }
}

.wc-block-product-filter-checkbox-list__items input[type=checkbox]::after {
    visibility: hidden !important;
}

.wc-block-product-filter-checkbox-list__input {
    visibility: visible !important;
}

.product.outofstock .wp-block-button__link {
    background-color: #579974 !important; /* lighter green */
    border-color: #579974 !important;
    color: #ffffff !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    opacity: 0.85 !important;
}

/* Make MOBILE header sticky on gfmarketplace.rs */
@media (max-width: 768px) {
    .header-mobile {
        position: sticky !important;
        top: 0;
        z-index: 9999 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    /* Ensure layout is not pushed up */
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
.wc-block-components-notice-banner.is-info {
    background-color: #ecf5f0 !important;
    border-color: #267B4C !important;
}
.wc-block-components-notice-banner.is-info>svg {
    background-color: #267B4C !important;
}
.woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods {
	margin-bottom: 3rem !important;
}
.woocommerce-orders-table__row .woocommerce-orders-table__cell-order-actions .woocommerce-button {
	color: #FFF !important;
}

.woocommerce-MyAccount-content a:visited {
	color: #FFF !important;
}

.woocommerce-MyAccount-content p a:visited {
    color: #000 !important;  /* set your desired color */
    text-decoration: underline; /* optional */
}
.woocommerce-orders-table__cell-order-number a:visited {
	color: #000 !important;  /* set your desired color */
    text-decoration: underline; /* optional */
}

.woocommerce-table__product-name a:visited {
	color: #000 !important;  /* set your desired color */
    text-decoration: underline; /* optional */
}
.woocommerce-Address-title a:visited {
	color: #000 !important;  /* set your desired color */
    text-decoration: underline; /* optional */
}

#product-single-wrapper {
	padding: 0 4.2vw !important;
}

.helpie-faq .collection-title {
	margin-left: 3rem !important;
}
.helpie-faq .accordion {
	margin:0 !important
}
.help-item { 
	border-left: 5px solid #267A4C; margin-left: 3rem !important; 
}
.help-item p {
	padding-left: 10px; 
}
@media only screen and (max-width: 800px) {
    #product-single-wrapper {
		padding: 0 !important;
	}
    .helpie-faq .collection-title {
		margin-left: 5px !important;
	}
    .helpie-faq-col ul {
    	padding-left: 5px !important
    }
    .help-item {
    	margin-left: 5px !important;
    }
}
.woocommerce-ordering {
	margin-top: 0 !important;
}
/* Sakrij originalni tekst koji Kirana stavlja */
.woocommerce form .show-password-input,
.woocommerce form .woocommerce-password-strength__toggle {
    font-size: 0 !important;
}
/* Srpski prevod – show */
.show-password-input::after,
.woocommerce-password-strength__toggle::after {
    content: "Prikaži lozinku";
    font-size: 14px;
}

/* Srpski prevod – hide (kada je aktivno) */
.show-password-input.showing::after,
.woocommerce-password-strength__toggle.showing::after {
    content: "Sakrij lozinku";
}

.woocommerce-form-login .woocommerce-form__input-checkbox:checked::after {
    content: "✓" !important;
    color: #ffffff !important;
    font-size: 14px !important;
    border: 0 !important;
    background-color: #3f9d50 !important;
    border-radius: 5px !important;
}
.woocommerce-form-login .woocommerce-form__input-checkbox::after {
    border-radius: 5px !important;
}
.woocommerce-form-login, .woocommerce-form-register {
	border-radius: 1.5rem !important;
}
.woocommerce-ResetPassword .woocommerce-form-row button {
	background-color: #267B4C;
}
.woocommerce-form-login__submit, .woocommerce-form-register__submit {
	background-color: #267B4C;
}
@media (max-width: 650px) {
	.woocommerce-form-login__submit, .woocommerce-form-register__submit {
    	display: block;
    }
}
.form-row .woocommerce-form-login__rememberme .woocommerce-form__input-checkbox {
	height: 25px !important;
    width: 25px !important;
}
.woocommerce-account .woocommerce-form-login__rememberme {
	display: flex !important;
    gap: 10px !important;
}

.password-input button {
	border-radius: 1rem;
    color: #267B4C;
    border: 1px solid #267B4C;
}

.password-input button:hover {
	border-radius: 1rem;
    color: #FFF;
    background-color: #267B4C;
}
.nsl-container-buttons {
	padding: 0 !important;
}
.nsl-container-buttons a {
	margin: 0 !important;
}
.woocommerce-MyAccount-content {
	// width: 100%;
}
.woocommerce-orders-table__cell {
	min-width: max-content;
}
.woocommerce-orders-table__cell-order-actions {
	display: block !important;
}
.woocommerce-orders-table .woocommerce-orders-table__cell::before {
	font-weight: bold;
}
@media (max-width: 768px) {
	.woocommerce-MyAccount-content {
    	width: 100%;
    }
}
.woocommerce-MyAccount-content mark {
	background-color: #267B4C;
    color: #FFF;
    padding: 0 5px;
}
.woocommerce-MyAccount-content .woocommerce-Address {
	margin-right: 0;
}
.start-shopping-button a {
	height: 100%;
}
.trp-language-switcher {
	display: none !important;
}
.wp-block-group .kirana-arrow-icon:before {
	top: 10px !important;
}