:root {
  --brand-green: #9bc546;
}

html,
body {
  overflow-x: hidden;
}

.header-left-items > * {
  padding: 0 !important;
}

.header-left-items {
  margin: unset !important;
}

@media (min-width: 1200px) {
  .container,
  .single-post .site-content > .container {
    width: 1480px !important;
    padding: 0 20px !important;
  }
}

/*Header*/

.single-product .mobile-accordion h3 {
  font-size: 20px;
}

.campaign-bar__campaigns .razzi-promotion {
  text-transform: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.main-navigation .nav-menu > li:hover > a:after,
.main-navigation .nav-menu > li.focus > a:after {
  opacity: 0 !important;
}

/* Primary nav: space-between layout (theme sets .nav-menu li { width: 100% }) */
.site-header .main-navigation .nav-menu {
  justify-content: space-between;
}

.site-header .main-navigation .nav-menu > li {
  width: auto !important;
  flex: 0 0 auto;
}

.site-header .razzi-header-container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  width: 1480px !important;
  padding: 0 20px;
  justify-content: space-between;
}

.image-campaign img {
  width: 20px;
}

.text-inner-campaign {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-cart svg.icon.icon--cart {
  width: 34px;
}

.header-cart svg.icon.icon--cart path {
  fill: #545454;
}

.header-account a.account-icon svg {
  width: 30px;
}

.header-account a.account-icon svg path {
  fill: #545454;
}

.where-to-buy .icon img {
  width: 20px;
}

.where-to-buy,
.acoount-text {
  display: flex;
  gap: 20px;
}

.where-to-buy .text-where-to-buy,
.acoount-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 16px;
  color: #545454;
}

.where-to-buy .text-where-to-buy .heading,
.acoount-text .heading {
  font-weight: 700;
}

.header-account a.account-icon {
  gap: 15px;
}

.site-header .razzi-header-container .header-left-items {
  flex: 0 0 24%;
}

.site-header .razzi-header-container .header-center-items {
  flex: 0 0 46%;
}

.site-header .razzi-header-container .header-right-items {
  flex: 0 0 30%;
  display: flex !important;
  width: 100% !important;
  justify-content: flex-end;
}

.site-header .razzi-header-container .header-right-items > div {
  flex: 0 0 33.3%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-header .razzi-header-container .header-right-items .header-account {
  flex: 0 0 40%;
}

.site-header .razzi-header-container .header-right-items .header-custom-text {
  flex: 0 0 40%;
}

.site-header .razzi-header-container .header-right-items .header-cart {
  flex: 0 0 20%;
}

.header-right-items > div {
  position: relative;
}

.header-right-items > div:not(:first-child):after {
  content: "";
  position: absolute;
  top: calc(50% - 17px);
  left: 15%;
  width: 1px;
  height: 34px;
  background-color: #54545447;
}

.site-header .header-cart .counter {
  font-size: 13px !important;
  font-weight: 600 !important;
  min-width: 20px !important;
  height: 20px !important;
}

.header-search {
  width: 100%;
}

.site-header.minimized .header-main {
  height: 90px !important;
}

.menu-mobile-panel-content .gtranslate_wrapper {
  padding-left: 20px;
  display: flex;
  gap: 5px;
}

/* Mobile header + toggle menu below 1280px (1280px+ uses desktop header only). */
@media (max-width: 1279px) {
  .site-header .header-main,
  .site-header .header-bottom {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  .gaia-monthly-offers__image {
    height: 300px !important;
    min-height: 300px !important;
  }

  .site-header .header-mobile {
    display: flex !important;
  }

  html body .site-header .logo .logo-image {
    width: 200px !important;
  }

  .header-mobile .mobile-menu-toggle {
    font-size: 24px;
    color: #545454 !important;
  }

  .header-mobile {
    flex-wrap: wrap !important;
    height: 130px !important;
  }

  .header-mobile .search-inner-div {
    flex: 0 0 100% !important;
    order: 1 !important;
    width: 100% !important;
  }

  .header-mobile .search-inner-div .header-search {
    width: 100%;
    max-width: 100%;
  }

  .header-mobile .search-inner-div .header-search.search-form-type form {
    width: 100%;
  }

  .header-mobile .search-inner-div .header-search .search-results {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 100%;
  }

  body.sticky-minimized .mobile-menu {
    display: none !important;
  }

  body.sticky-minimized .site-branding {
    display: none !important;
  }

  body.sticky-minimized .mobile-header-icons {
    display: none !important;
  }

  body.sticky-minimized .header-mobile {
    height: 70px !important;
  }

  /* Hide desktop + mobile topbar while toggle header is active */
  #topbar,
  #topbar-mobile,
  .topbar.topbar-mobile {
    display: none !important;
  }

  /* Mobile menu modal (toggle menu panel) */
  #mobile-menu-modal.rz-modal .panel-content .site-branding a img,
  .ra-menu-mobile-modal.rz-modal .panel-content .site-branding a img {
    height: 35px;
    width: 100% !important;
    object-fit: contain;
  }

  #mobile-menu-modal.rz-modal .panel-content .site-branding,
  .ra-menu-mobile-modal.rz-modal .panel-content .site-branding {
    display: flex;
    justify-content: flex-start;
  }

  #mobile-menu-modal.rz-modal .panel-content span.razzi-svg-icon,
  .ra-menu-mobile-modal.rz-modal .panel-content span.razzi-svg-icon {
    color: #545454;
  }

  .mobile-menu-aluforma .elementor-shortcode {
    position: relative;
    height: calc(100vh + 120px);
    overflow-x: scroll;
  }

  .ra-menu-mobile-modal .content-footer {
    display: none !important;
  }

  .mobile__nav {
    position: relative;
    width: 100%;
    max-height: 100%;
    height: 100%;
    overflow: hidden !important;
  }

  .mobile__nav ul {
    list-style: none;
  }

  .mobile__nav ul a {
    font-weight: 500 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    color: #001109;
    padding: 10px 15px 10px 20px;
    width: 100%;
  }

  .mobile__nav ul a span::first-letter {
    text-transform: capitalize !important;
  }

  .ra-menu-mobile-modal .menu-mobile-panel-content {
    overflow: hidden !important;
  }

  .mobile__nav nav {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .mobile__nav nav ul.first-level {
    width: 100%;
    height: 100%;
    background: #ffffff;
  }

  .mobile__nav nav ul.first-level li:not(:last-of-type) {
    background: #ffffff;
  }

  .mobile__nav nav .level-0,
  .mobile__nav nav .level-1,
  .mobile__nav nav .level-2,
  .mobile__nav nav .level-3 {
    z-index: 9;
  }

  .mobile__nav nav ul:not(.first-level) li:last-of-type {
    border: 0 !important;
  }

  .mobile__nav nav ul.first-level li > a {
    outline: 0 !important;
    display: flex;
    justify-content: space-between;
  }

  .mobile__nav nav ul li {
    position: unset;
  }

  .mobile__nav nav ul {
    position: relative;
  }

  .mobile__nav nav ul .level-0,
  .mobile__nav nav ul .level-1,
  .mobile__nav nav ul .level-2,
  .mobile__nav nav ul .level-3 {
    width: 100%;
    height: 100%;
    background: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    transition: transform 400ms ease-in;
  }

  .mobile__nav nav .level-0.show,
  .mobile__nav nav .level-1.show,
  .mobile__nav nav .level-2.show,
  .mobile__nav nav .level-3.show {
    transform: translateX(0%);
    overflow-x: hidden !important;
  }

  .mobile__nav nav ul {
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile__nav a.back-button {
    color: #001109;
    font-size: 16px !important;
    padding: 3px 0;
    margin-bottom: 10px;
  }

  .mobile__nav span.submenu-arrow img {
    height: 12px;
  }

  .mobile__nav span.submenu-arrow {
    display: flex;
    align-items: center;
  }

  .mobile__nav a.back-button {
    display: flex;
    padding-left: 15px;
    gap: 10px;
  }

  .mobile__nav a {
    font-weight: 400 !important;
    font-size: 17px !important;
    line-height: 30px !important;
  }

  .mobile__nav nav ul li a.has-icon {
    position: relative;
  }

  .mobile__nav nav ul li a.has-icon span.menu-title {
    padding-left: 50px;
  }

  .mobile__nav nav ul li a.has-icon:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    top: 20%;
  }

  .ra-menu-mobile-modal .modal-content {
    padding: 20px 0 0 0 !important;
  }

  .mobile__nav ul a.has-color {
    background-color: #fff4f8;
  }

  ul.sub-menu.level-0 li:nth-child(2) a span {
    font-weight: 600 !important;
  }

  ul.sub-menu.level-0 li:nth-child(2) {
    border-top: 1px solid #dddddd !important;
  }

  nav.mobile-menu-container > ul > li:last-of-type a.menu-item-link {
    background: var(--brand-green);
    border-radius: 36px;
    width: 90%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 30px;
    padding: 10px 20px;
  }

  nav.mobile-menu-container > ul > li:last-of-type {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #dddddd;
    margin-top: 20px;
  }

  div#mobile-menu-modal {
    z-index: 99999999;
  }
}

/* Campaign bar with mobile/toggle layout through 1280px */
@media (max-width: 1280px) {
  div#campaign-bar {
    display: block !important;
  }

  .campaign-bar__campaigns .razzi-promotion {
    font-size: 11px !important;
    line-height: 20px !important;
  }
}

@media (min-width: 1280px) {
  .site-header .header-mobile {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  .site-header .header-main,
  .site-header .header-bottom {
    display: block !important;
  }
}

/* Desktop nav + layout tweaks (narrow desktop) */
@media (min-width: 1280px) and (max-width: 1320px) {
  .main-navigation .nav-menu > li.menu-item-has-children > a {
    padding-right: 15px !important;
  }

  .main-navigation li {
    padding: 0 5px !important;
  }

  .ra-search-form .form-search {
    width: 90% !important;
  }

  .header-right-items > div:not(:first-child):after {
    left: 0 !important;
  }

  .container,
  .single-post .site-content > .container {
    width: 100% !important;
  }

  body.gaia-mega-menu--click
    .main-navigation
    li.is-mega-menu.align-center.mega-menu-open
    > ul {
    width: 100% !important;
  }

  .main-navigation
    li.is-mega-menu.align-center
    .dropdown-submenu
    li.mega-menu-content {
    width: 100% !important;
  }

  .main-navigation li.is-mega-menu .menu-item-mega ul li {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .main-navigation li.is-mega-menu .menu-item-mega ul li a {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    display: block;
  }
}

@media (min-width: 1320px) and (max-width: 1400px) {
  .main-navigation li {
    padding: 0 5px !important;
  }

  .header-right-items > div:not(:first-child):after {
    left: 0 !important;
  }

  .where-to-buy .text-where-to-buy, .acoount-text {
      font-size: 12px;
  }

  .site-header .razzi-header-container {
      width: 100% !important;
      max-width: 100% !important;
  }

  .container,
  .single-post .site-content > .container {
    width: 100% !important;
  }

  body.gaia-mega-menu--click
    .main-navigation
    li.is-mega-menu.align-center.mega-menu-open
    > ul {
    width: 100% !important;
  }

  .main-navigation
    li.is-mega-menu.align-center
    .dropdown-submenu
    li.mega-menu-content {
    width: 100% !important;
  }

  .main-navigation li.is-mega-menu .menu-item-mega ul li {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .main-navigation li.is-mega-menu .menu-item-mega ul li a {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    display: block;
  }
}

/* Single product buy-now + add to cart stack (tablet through toggle header width) */
@media (min-width: 767px) and (max-width: 1280px) {
  .single-product div.product.has-buy-now .rz-buy-now-button {
    flex: 0 0 100% !important;
    min-width: max-content !important;
  }

  html .single-product div.product .product-button-wrapper {
    flex-wrap: wrap !important;
    gap: 0 !important;
  }

  .single-product
    div.product.has-buy-now
    .product-button-wrapper
    .single_add_to_cart_button {
    min-width: unset !important;
    width: 100%;
  }
}

.medicine-search-input {
  width: 100%;
}

.medicine-search-input .ywcas-input-field {
  font-size: 16px !important;
}

.medicine-search-input .ywcas-input-field-wrapper {
  height: 58px;
  justify-content: center;
}

.medicine-search-input .ywcas-submit-button {
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  margin-right: 6px;
}

.ywcas-popover-results .ywcas-search-results p.lapilliUI-Typography__root {
  text-align: center !important;
  font-size: 19px !important;
  color: #001109 !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

html .wp-block-yith-search-block .ywcas-classic-search.ywcas-large input {
  padding-left: 50px !important;
}

/*Search*/
.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results
  .search-result-item
  .search-result-item__thumbnail
  img {
  border: 0 !important;
}

.search-result-item .search-result-item__thumbnail {
  flex: 0 0 10%;
}

.search-result-item .search-result-item_name {
  flex: 0 0 90%;
  align-items: flex-start;
}

.search-result-item .search-result-item_name .search-result-item__name {
  font-size: 14px !important;
}

.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results
  .search-result-item.list
  .search-result-item__name {
  font-size: 15px !important;
  font-weight: 400 !important;
}

.search-result-item .search-result-item_name p:last-of-type {
  color: var(--brand-green) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}

.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results.list
  .ywcas-search-results-grid {
  gap: 0 !important;
}

.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results
  .search-result-item {
  padding: 0;
}

.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results.list {
  margin-top: 0;
}

.ywcas-popover-results .popover-content {
  border: 0 !important;
}

.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results
  .search-result-item:hover {
  background: #00783f14 !important;
}

.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results.list {
  margin-top: 0 !important;
}
/*Search*/

.main-navigation ul ul li a {
  letter-spacing: 0;
}

ul.dropdown-submenu li.mega-menu-content ul.sub-menu {
  padding: 10px 0;
}
/*End Header*/

/*Home categories*/
.categories-medicine .razzi-banner-carousel .banner-img:after {
  background-color: transparent;
}

.categories-medicine .banner-content {
  position: relative !important;
  padding: 0 !important;
  margin-top: 15px;
}

.categories-medicine .banner-content a.button-link {
  padding: 0;
  width: 100%;
  flex: none !important;
}

.categories-medicine .banner-content span.button-text.razzi-button {
  text-align: left;
  padding: 0;
  display: flex;
  justify-content: space-between;
  line-height: 18px;
}

.categories-medicine
  .razzi-banner-carousel
  .banner-item:hover
  .banner-img:after {
  background-color: transparent !important;
}

.categories-medicine a.button-link span.razzi-svg-icon.razzi-icon {
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
  right: -5px;
  position: relative;
}

.categories-medicine .banner-item:hover span.razzi-svg-icon.razzi-icon {
  opacity: 1;
  right: 5px !important;
}

.razzi-banner-carousel .banner-item:hover span.button-text.razzi-button {
  color: var(--brand-green);
}

.medicine-search-input .ywcas-input-field {
  position: relative;
}

.medicine-search-input .ywcas-input-field:after {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 20px;
  height: 20px;
  background-image: url(/wp-content/uploads/2026/05/search-icon-bar.svg);
  background-size: contain;
  transform: translateY(-50%) !important;
}

.razzi-history-products .container {
  width: 1480px !important;
  max-width: 100% !important;
  padding: 0 20px;
}

.gaia-blog-carousel__explore svg {
  width: 1em;
  height: 1em;
}

.gaia-blog-carousel__explore {
  display: flex;
  align-items: center;
  gap: 5px;
}
.categories-medicine .banner-img img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease-in-out,
    transform 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.categories-medicine .banner-item:hover .banner-img img {
  transform: scale(1.07);
}

.categories-medicine .rz-swiper-button,
.single-product .rz-swiper-button,
.woocommerce-shop .rz-swiper-button {
  border-radius: 30px;
}

.categories-medicine .rz-swiper-button.rz-swiper-button-next {
  left: auto;
  right: -15px;
  z-index: 9;
}

.categories-medicine .rz-swiper-button.rz-swiper-button-prev {
  right: auto;
  left: -20px !important;
}

.categories-medicine-inner {
  overflow: hidden !important;
}

.categories-medicine-inner .razzi-banner-carousel {
  overflow: visible;
}

.razzi-banner-carousel:hover .rz-swiper-button {
  opacity: 1 !important;
}

/*Newsletter*/
.newsletter-medicine .medicine-newsletter {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.newsletter-medicine .medicine-newsletter .buton-medicine input {
  background: rgb(0, 120, 63);
  border-radius: 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0px 20px;
}

.newsletter-medicine .medicine-newsletter .input-medicine input {
  border: 1px solid rgb(221, 221, 221);
  color: rgb(0, 17, 7);
  border-radius: 24px !important;
  padding: 0px 0px 0px 16px;
  height: 50px;
  width: 100%;
}

.newsletter-medicine .medicine-newsletter .input-medicine {
  width: 100%;
}

.newsletter-medicine .medicine-newsletter .input-medicine input:hover {
  border-color: #00783f;
}

.newsletter-medicine .medicine-newsletter .input-medicine input:focus {
  border: 2px solid #00783f;
}

.footer-widgets.has-divider .footer-container:before {
  display: none !important;
}

.footer-widgets-area .widget-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  line-height: 24px !important;
}

.testimonial-medicine .testi-image {
  display: none;
}

.testimonial-medicine .testi-desc {
  font-size: 15px;
  font-style: italic;
  color: #001109;
}

.testimonial-medicine .razzi-testimonials-carousel-2__header {
  margin-bottom: 60px;
}

.testimonial-medicine .testi-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-medicine .testi-meta span.testi-customer {
  font-weight: 700;
  color: #001109;
}

.testimonial-medicine .testi-meta span.testi-date {
  color: #7f7f7f;
  font-size: 14px;
}

.testimonial-medicine .testi-rate span.razzi-svg-icon svg {
  width: 24px;
  height: 24px;
}

.testimonial-medicine .testi-rate span.razzi-svg-icon svg {
  color: #ffcb09;
  filter: drop-shadow(1px 1px 0 rgba(0, 17, 9, 0.3));
}

.testimonial-medicine .razzi-testimonials-carousel-2 .testimonials-item {
  border-radius: 10px;
}

ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: normal;
  /* height: 47px !important; */
}

ul.products.product-loop-layout-12 li.product .price {
  color: #001109 !important;
  margin-top: 15px !important;
}

ul.products li.product .rz-loop_atc_button {
  background-color: #ffcb09 !important;
  color: #001109 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
  border-radius: 36px !important;
  line-height: 1.5 !important;
  padding: 12px 24px !important;
  font-size: 13px !important;
  margin-top: 50px !important;
}

ul.products.product-loop-layout-12 li.product .rz-loop_atc_button:hover {
  opacity: 0.8;
}

.best-products .rz-swiper-button,
.single-product .rz-swiper-button,
.woocommerce-shop .rz-swiper-button {
  background-color: #aaaaaa !important;
}

.best-products .rz-swiper-button svg,
.single-product .rz-swiper-button svg,
.acoount-text .rz-swiper-button svg {
  color: #ffffff;
}

.best-products .rz-swiper-button:hover,
.single-product .rz-swiper-button:hover {
  background-color: var(--brand-green) !important;
}

.best-products .rz-swiper-button {
  top: calc(40% - 50px) !important;
}

html .best-products .rz-swiper-button.rz-swiper-button-next {
  right: 20px !important;
}

.single-product .rz-swiper-button.rz-swiper-button-next,
.woocommerce-shop .rz-swiper-button.rz-swiper-button-next {
  right: 0 !important;
  z-index: 999 !important;
}

html .best-products .rz-swiper-button.rz-swiper-button-prev {
  left: 20px !important;
}

.single-product .rz-swiper-button.rz-swiper-button-prev,
.woocommerce-shop .rz-swiper-button.rz-swiper-button-prev {
  left: 0 !important;
  z-index: 999 !important;
}

.best-products .swiper-button-disabled,
.categories-medicine .swiper-button-disabled,
.single-product .swiper-button-disabled {
  opacity: 0 !important;
}

ul.products li.product .product-thumbnail .woocommerce-loop-product__link img {
  height: 190px;
  object-fit: contain;
  width: 100%;
}

.ra-account-modal .razzi-button,
.woocommerce-mini-cart__empty-message .razzi-button,
.woocommerce-mini-cart__buttons .razzi-button {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 36px;
}

.ra-account-modal .razzi-button[name="login"],
.woocommerce-mini-cart__empty-message .razzi-button,
.woocommerce-mini-cart__buttons > a:first-of-type {
  background-color: var(--brand-green) !important;
  color: white !important;
}

.ra-account-modal .razzi-button:hover,
.woocommerce-mini-cart__empty-message .razzi-button:hover,
.woocommerce-mini-cart__buttons .razzi-button:hover {
  opacity: 0.8;
}

.ra-account-modal input {
  border-radius: 36px;
}

.rz-modal .modal-header .modal-title {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
}

.site-header
  .razzi-header-container
  .header-right-items
  .header-cart
  span.counter.cart-counter.hidden {
  display: block !important;
  visibility: visible !important;
}

.pswp__bg {
  background: linear-gradient(rgba(30, 30, 30, 0.9), #000 1810%) !important;
}

.page-header--layout-2 .site-breadcrumb a {
  color: white;
}

.page-header--layout-2 .site-breadcrumb span {
  color: white;
}

.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit,
.woocommerce-MyAccount-content button.button {
  border-radius: 26px;
  background-color: var(--brand-green) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.woocommerce-account .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce-form-register__submit:hover,
.woocommerce-MyAccount-content button.button:hover {
  opacity: 0.8;
}

.woocommerce-account .form-row .input-text {
  border-radius: 36px;
}

.woocommerce-account .u-columns > div {
  background: #fafafa !important;
  box-shadow: none !important;
  border: 1px solid #dddddd !important;
  border-radius: 20px;
}

.wc-block-components-button:not(.is-link) {
  background: #00783f;
  border-radius: 36px;
}

.wc-block-components-checkout-place-order-button {
  background: #95c956 !important;
  border-radius: 36px;
  text-transform: uppercase;
  font-size: 20px;
  padding: 15px 30px !important;
}

.wc-block-components-checkout-place-order-button:hover {
  opacity: 0.8;
}

.wc-block-components-button:not(.is-link) span {
  color: white;
  opacity: 1 !important;
}

.woocommerce-tabs > ul.tabs > li > a {
  font-size: 22px;
  color: #001109 !important;
  font-weight: 700 !important;
  cursor: auto !important;
}

.woocommerce-tabs > ul.tabs > li > a:after {
  display: none;
}

.woocommerce-tabs > ul.tabs {
  border: 0 !important;
}

.woocommerce-tabs > ul.tabs {
  padding: 0 !important;
}

.woocommerce-tabs > ul.tabs > li {
  padding: 0 !important;
}

.single-product div.product .woocommerce-tabs .panel {
  margin-top: 20px !important;
  padding-left: 0 !important;
}

.single-product div.product .woocommerce-tabs .panel strong {
  font-weight: 700;
}

/*Checkout*/

.ra-account-modal form.register button.razzi-button {
  background: var(--brand-green);
}

.catalog-toolbar.layout-v1 select {
  padding: 0 10px !important;
}

.header-mobile .header-cart a {
  display: block !important;
}

/* .razzi-products-recently-viewed-carousel.no-ajax {
  opacity: 1 !important;
} */

.wp-block-woocommerce-empty-cart-block {
  text-align: center;
}

.error404 .error-404 .razzi-button {
  background: var(--brand-green);
  border-radius: 36px;
}

.error404 .error-404 .razzi-button:hover {
  opacity: 0.9;
}

.password-input .show-password-input {
  width: 20px !important;
  padding: 0 !important;
  min-width: unset !important;
}

p.woocommerce-mini-cart__empty-message span.razzi-svg-icon {
  display: none;
}

p.woocommerce-mini-cart__empty-message {
  text-align: center;
}

/*Contact form*/

.contact-seciton-medicine .razzi-contact-form-7 input:not([type="submit"]) {
  margin: 0;
}

.contact-seciton-medicine .contact-form-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-seciton-medicine input,
.contact-seciton-medicine textarea {
  border-radius: 36px !important;
  color: #001109;
  border: 1px solid #d0d0d0;
}

.contact-seciton-medicine input {
  height: 48px;
}

.contact-seciton-medicine .contact-form-row .haf-col {
  flex: 0 0 47.7%;
  width: 47.7%;
}

.contact-seciton-medicine .full-col {
  flex: 1;
  width: 100%;
}

.contact-seciton-medicine input[type="submit"] {
  background-color: var(--brand-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 36px;
  line-height: 1.5;
  color: white;
  height: 40px;
}

.contact-form-row .full-col {
  text-align: center;
}

.contact-seciton-medicine .razzi-contact-form-7 textarea {
  margin-bottom: 0;
}

.contact-seciton-medicine input[type="submit"]:hover {
  opacity: 0.9;
}

.contact-seciton-medicine
  .razzi-contact-form-7
  input:not([type="submit"])::placeholder,
.razzi-contact-form-7 textarea::placeholder {
  color: #001109 !important;
}

.contact-form-medicine .contact-form-row:last-of-type .full-col p {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  flex-direction: column;
}

.main-navigation
  li.is-mega-menu.align-center
  .dropdown-submenu
  li.mega-menu-content {
  width: 1480px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 20px;
}

.main-navigation li.is-mega-menu.has-width {
  position: unset !important;
}

ul.products li.product .product-inner {
  padding-bottom: 15px;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(229, 229, 229);
  padding: 20px;
}

.categories-medicine .banner-img {
  border-radius: 20px;
  overflow: hidden;
}

.single-product div.product .woocommerce-tabs .panel * h3 {
  font-size: 20px;
}

.single-product .woocommerce-product-gallery .rz-swiper-button {
  background: #95c956 !important;
  width: 40px !important;
  height: 40px !important;
  color: #fff !important;
}

.single-post .post-thumbnail img {
  border-radius: 30px;
}

.blog .entry-header img {
  border-radius: 20px;
}

.blog .entry-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: normal;
}

.blog .entry-content {
  font-size: 15px;
  font-weight: 500;
}

.blog a.razzi-button.button-normal {
  background-color: #ffcb09 !important;
  color: #001109 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
  border-radius: 36px !important;
  line-height: 1.5 !important;
  padding: 12px 24px !important;
  font-size: 13px !important;
}

.blog a.razzi-button.button-normal:hover {
  opacity: 0.8;
}

.categories-medicine .banner-content span.button-text.razzi-button {
  white-space: wrap !important;
}

ul.products li.product .product-inner .woocommerce-badges {
  top: 0 !important;
  right: 0 !important;
}

.woocommerce-badges--layout-2 > span {
  width: 70px !important;
  border-radius: 5px !important;
  height: auto !important;
  background: #d03a35 !important;
}

.single-product .gaia-readmore__content h2 {
  font-size: 25px;
}

.single-product
  div.product.layout-v2
  .woocommerce-product-gallery__thumbs-carousel
  .rz-swiper-button {
  left: 40px !important;
}

.site-header .header-search.search-form-type form input.search-field {
  border-radius: 32px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgb(173, 173, 173) !important;
  background-color: rgb(255, 255, 255) !important;
}

.site-header .header-search.search-form-type .quick-links {
  min-width: 100% !important;
}

.site-header .header-search.search-form-type .search-results {
  min-width: 100% !important;
}

.site-header
  .header-search.search-form-type
  .search-results
  .search-list
  .list-item.view-more,
.ra-search-form .search-results .search-list .list-item.view-more {
  border-top: 1px solid #e8e8e8;
  margin-top: 4px;
  padding-top: 12px;
  text-align: center;
}

.site-header
  .header-search.search-form-type
  .search-results
  .search-list
  .list-item.view-more
  a,
.ra-search-form .search-results .search-list .list-item.view-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.site-header .header-search.form-skin-light .search-submit {
  color: rgb(255, 255, 255) !important;
  background-color: rgb(152, 199, 79) !important;
  border-color: rgb(152, 199, 79) !important;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  right: -10px !important;
}

@media (min-width: 992px) {
  /* Desktop: no hover magnifier; keep main image links clickable for PhotoSwipe */
  .single-product .woocommerce-product-gallery__wrapper .zoomImg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .single-product
    .woocommerce-product-gallery__wrapper
    > .woocommerce-product-gallery__image
    a,
  .single-product
    .woocommerce-product-gallery
    .flex-viewport
    .woocommerce-product-gallery__image
    a,
  .single-product
    .woocommerce-product-gallery__wrapper
    > .woocommerce-product-gallery__image
    img {
    pointer-events: auto;
    cursor: pointer;
  }

  .single-product
    .woocommerce-product-gallery
    .rz-thumbs-button-next.rz-swiper-button {
    bottom: 0 !important;
    top: auto !important;
  }

  .single-product
    .woocommerce-product-gallery
    .rz-thumbs-button-prev.rz-swiper-button {
    top: 0 !important;
    bottom: auto !important;
  }
}

/* Mobile: thumbs strip — fixed at bottom, horizontal scroll (no Swiper transform) */
@media (max-width: 991px) {
  .single-product div.product .woocommerce-product-gallery {
    position: relative !important;
    padding-bottom: 56px !important;
    overflow: visible !important;
  }

  .single-product div.product .woocommerce-product-gallery .flex-viewport {
    position: relative !important;
    transition: none !important;
  }

  /* Main image arrows — centered left / right */
  .single-product
    div.product
    .woocommerce-product-gallery
    .flex-viewport
    .gaia-gallery-main-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    width: 40px !important;
    height: 40px !important;
    line-height: 1 !important;
    border-radius: 50%;
    z-index: 15;
    background: #95c956 !important;
    color: #fff !important;
  }

  .single-product
    div.product
    .woocommerce-product-gallery
    .flex-viewport
    .gaia-gallery-main-arrow--prev {
    left: 10px !important;
    right: auto !important;
  }

  .single-product
    div.product
    .woocommerce-product-gallery
    .flex-viewport
    .gaia-gallery-main-arrow--next {
    right: 10px !important;
    left: auto !important;
  }

  /* PhotoSwipe: hidden only when closed (do not use inline display on .pswp) */
  .pswp[aria-hidden='true'] {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  /* Allow tap on main image to open PhotoSwipe lightbox */
  .single-product
    div.product
    .woocommerce-product-gallery
    .flex-viewport
    .woocommerce-product-gallery__image,
  .single-product
    div.product
    .woocommerce-product-gallery
    .flex-viewport
    .woocommerce-product-gallery__image
    a,
  .single-product
    div.product
    .woocommerce-product-gallery
    .flex-viewport
    .woocommerce-product-gallery__image
    img {
    pointer-events: auto;
    cursor: pointer;
  }

  /* Thumbs strip at bottom — dots only, no arrows */
  .single-product div.product .woocommerce-product-gallery__thumbs-carousel,
  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel.gaia-thumbs-strip,
  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel.swiper-container-initialized {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 8px !important;
    display: block !important;
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    z-index: 20 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
  }

  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel
    .flex-control-nav,
  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel
    .flex-control-nav.swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: max-content !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
  }

  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel
    .flex-control-nav
    li,
  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel
    .flex-control-nav
    .swiper-slide {
    width: 8px !important;
    height: 8px !important;
    flex-shrink: 0 !important;
    margin: 0 6px !important;
    cursor: pointer;
    transform: none !important;
  }

  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel
    .flex-control-nav
    li.flex-active {
    opacity: 1;
  }

  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel
    .flex-control-nav
    li:not(.flex-active) {
    opacity: 0.45;
  }

  .single-product
    div.product
    .woocommerce-product-gallery__thumbs-carousel
    .rz-swiper-button {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .medicine-search-input .ywcas-submit-button svg {
    display: none;
  }
}

div#campaign-bar {
  display: none;
}

.site-header .header-search.search-form-type .search-submit {
  top: 0px !important;
  width: 62px !important;
  height: 62px !important;
}

@media (max-width: 1024px) {
  html body .site-header .logo .logo-image {
    width: 200px !important;
  }

  .header-mobile .mobile-menu-toggle {
    font-size: 24px;
    color: #545454 !important;
  }

  .medicine-search-input .ywcas-submit-button {
    font-size: 0 !important;
    padding: 10px !important;
  }

  .medicine-search-input .ywcas-input-field:after {
    display: none;
  }

  html .wp-block-yith-search-block .ywcas-classic-search.ywcas-large input {
    padding-left: 20px !important;
  }

  .medicine-search-input .ywcas-input-field-wrapper {
    height: 50px !important;
  }

  .medicine-search-input .ywcas-submit-button {
    padding: 7px !important;
  }

  html .wp-block-yith-search-block .ywcas-classic-search.ywcas-large input {
    font-size: 15px !important;
  }

  .razzi-testimonials-carousel-2 {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .categories-medicine .razzi-banner-carousel {
    padding: 0 20px !important;
  }

  .categories-medicine .banner-img img {
    height: 145px !important;
    width: 100% !important;
  }

  .razzi-banner-carousel .banner-item .banner-img:after {
    display: none !important;
  }

  .categories-medicine.best-products
    .razzi-products-carousel
    ul.products.swiper-wrapper {
    padding: 0 20px !important;
  }

  .categories-medicine.best-products
    .swiper-container.linked-elementor-product-carousel.swiper-initialized.swiper-horizontal {
    padding-right: 40px !important;
  }

  /* .categories-medicine.best-products span.elementor-button-icon svg path {
    fill: var(--brand-green);
  } */

  .swiper-scrollbar {
    display: none !important;
  }

  /* .categories-medicine.best-products a.elementor-button {
    font-weight: 700 !important;
    color: var(--brand-green) !important;
  } */

  ul.products li.product .rz-loop_atc_button {
    margin-top: 30px !important;
  }

  .testimonial-medicine .swiper-container {
    padding: 0 20px !important;
  }

  .newsletter-medicine .medicine-newsletter {
    gap: 10px;
  }

  .footer-extra {
    padding: 10px 20px !important;
  }

  .footer-extra .copyright {
    font-size: 14px;
  }

  .footer-widgets .widget.dropdown {
    border-color: #dddddd !important;
  }

  html span.counter.cart-counter.hidden {
    display: block !important;
    visibility: visible !important;
  }

  h1.page-header__title {
    font-size: 35px !important;
  }

  .wp-block-woocommerce-cart-order-summary-block h2 {
    font-size: 20px !important;
  }

  .woocommerce-cart
    .wc-block-components-sidebar-layout.wc-block-cart.wp-block-woocommerce-filled-cart-block.is-mobile {
    padding: 0 20px !important;
  }

  .recenlty-custom h2.recently-title {
    text-align: left !important;
    font-size: 21px !important;
    padding: 0 20px !important;
  }

  html h1.page-header__title {
    font-size: 25px !important;
  }

  .ywcas-search-mobile
    .search-result-item__content:hover
    .search-result-item__name {
    font-weight: 600 !important;
  }

  ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
  }

  .newsletter-medicine .medicine-newsletter .buton-medicine input {
    font-size: 12px;
  }

  .catalog-toolbar.layout-v1 select {
    padding: 0 10px !important;
  }

  .woocommerce-product-gallery__image:hover .zoomImg {
    display: none !important;
  }

  ul.products li.product .woocommerce-loop-product__title {
    max-width: 180px !important;
    margin: 0 auto !important;
  }

  .contact-seciton-medicine .contact-form-row .haf-col {
    width: 100%;
    flex: 0 1 100%;
  }

  .contact-seciton-medicine .contact-form-row {
    gap: 0;
  }

  .single-product div.product section.products .swiper-container,
  .razzi-history-products .history-products-carousel {
    padding-left: 20px;
    padding-right: 20px;
  }

  section.related.products ul.products li.product {
    padding: 0;
  }

  .site-header .header-search.search-form-type .quick-links {
    left: 0;
  }

  .site-header .header-search.form-type-boxed .search-field {
    height: 50px !important;
  }

  .site-header .header-search.search-form-type .search-submit {
    height: 50px !important;
    border: 0 !important;
    width: 55px !important;
  }

  .site-header .header-search.form-type-boxed .search-submit .razzi-svg-icon {
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search.search-results .page-header__title {
    font-size: 25px !important;
    text-transform: capitalize !important;
  }

  .site-header .header-search.search-form-type .search-submit {
    top: 0 !important;
  }

  html .site-header .header-search.search-form-type .search-submit {
    right: 0 !important;
  }

  html .site-header .header-search.search-form-type form input.search-field {
    flex: 0 0 100% !important;
    min-width: unset !important;
  }

  .archive div#catalog-header-banners {
    display: none;
  }

  #page-header.page-header--layout-2 {
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.home div#page-header {
    display: none;
  }

  .gaia-blog-carousel__swiper {
    overflow: visible !important;
  }

  .woocommerce-account .form-row-remember {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* Related products carousel: let Swiper control slide width */
.single-product
  div.product
  section.products.related
  .swiper-container-initialized
  ul.products
  li.product.swiper-slide,
.single-product
  div.product
  section.products.upsells
  .swiper-container-initialized
  ul.products
  li.product.swiper-slide {
  width: auto !important;
  max-width: none !important;
  margin-right: 0 !important;
  flex-shrink: 0;
}

@media screen and (max-width: 767px) {
  .single-product
    div.product
    section.products.related
    .swiper-container-initialized
    ul.products.columns-1
    li.product,
  .single-product
    div.product
    section.products.related
    .swiper-container-initialized
    ul.products.columns-5
    li.product,
  .single-product
    div.product
    section.products.related
    .swiper-container-initialized
    ul.products.mobile-pp-col-2
    li.product,
  .single-product
    div.product
    section.products.upsells
    .swiper-container-initialized
    ul.products.mobile-pp-col-2
    li.product {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .gaia-hero-slider__arrow {
    display: none !important;
  }
}

@media screen and (min-width: 1200px) {
  .single-product
    div.product
    section.products.related
    .gaia-related-carousel
    ul.products
    li.product {
    width: auto !important;
    margin-right: 0 !important;
  }
}

/* Single product description: read more / less (desktop only) */
@media screen and (min-width: 768px) {
  .gaia-readmore--collapsed .gaia-readmore__content {
    max-height: 280px;
    overflow: hidden;
    position: relative;
  }

  .gaia-readmore--collapsed .gaia-readmore__content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
  }

  .gaia-readmore__toggle {
    display: inline-block;
    margin-top: 14px;
    padding: 0;
    border: none;
    background: none;
    color: #3d9b4e;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    cursor: pointer;
  }

  .gaia-readmore__toggle:hover {
    color: #2e7d32;
  }

  .single-post h3 {
    font-size: 20px;
  }


}

