@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  /* Define colors */
  --primary-color: #fdb91a;
  --secondary-color: #ffffff;
  --tertiary-color: #080a0c;

  /* Define font */
  --font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}
img,
video {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Apply global styles */
body {
  font-family: var(--font-family);
  background-color: var(--secondary-color);
  color: var(--tertiary-color);
  margin: 0;
  padding: 0;
}

/* Example usage of colors */
.primary-bg {
  background-color: var(--primary-color);
}

.secondary-bg {
  background-color: var(--secondary-color);
}

.tertiary-bg {
  background-color: var(--tertiary-color);
}

.primary-text {
  color: var(--primary-color);
}

.secondary-text {
  color: var(--secondary-color);
}

.tertiary-text {
  color: var(--tertiary-color);
}

/* NAVBAR */

:root {
  --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  font-size: 100%;
  box-sizing: inherit;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

main {
  overflow: hidden;
}

a,
button {
  cursor: pointer;
  user-select: none;
  border: none;
  outline: none;
  background: none;
  box-shadow: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.section {
  margin: 0 auto;
  padding: 5rem 0 2rem;
}

.container {
  max-width: 80rem;
  height: auto;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.centered {
  text-align: center;
  vertical-align: middle;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  user-select: none;
  outline: none;
  border: none;
  border-radius: 0.25rem;
  text-transform: unset;
  transition: all 0.3s ease-in-out;
}

.btn-darken {
  padding: 0.75rem 2rem;
  color: var(--secondary-color);
  background-color: var(--tertiary-color);
  box-shadow: var(--shadow-medium);
}

.btn-neutral {
  padding: 0.75rem 2rem;
  color: var(--tertiary-color);
  background-color: var(--secondary-color);
  box-shadow: var(--shadow-medium);
}

.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 0.5rem 1rem;
  background: #fff !important;
  z-index: 9999;
  position: relative;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-nav .nav-link {
  font-size: 1rem;
  font-weight: 600;
  margin-right: 40px;
  color: #000000;
  position: relative;
  z-index: 9999;
}

.navbar-brand img {
  width: 170px;
  max-height: 60px;
}

.nav-right-btn {
  background-color: var(--primary-color);
}

.nav-right-btn:hover {
  background-color: var(--tertiary-color);
}

.dropdown-menu {
  padding: 0.5rem;
  border-radius: 0.5rem;
  z-index: 10000;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.dropdown-divider {
  margin: 0.5rem 0;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.burger-icon {
  transition: transform 0.3s ease;
}

.burger-icon.active {
  transform: rotate(90deg);
}

.star {
  color: #ced4da;
  transition: color 0.2s ease-in-out;
}

@media (max-width: 768px) {
  .cart-notification {
    top: 0px !important;
    right: -8px;
  }

  .navbar-nav {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .nav-link {
    margin-right: 0px;
  }

  .nav-link {
    padding: 0.8rem;
  }

  .dropdown {
    text-align: center;
  }

  .dropdown-menu {
    width: 100%;
    text-align: center;
  }

  .navbar-brand img {
    width: 135px;
    max-height: 60px;
  }

  .navbar {
    padding: 10px 0;
  }

  .categories-section-mobile {
    display: block !important;
  }
  .categories-section {
    display: none !important;
  }
  
  /* Allow pills to wrap naturally on mobile */
  .categories-section-mobile .category-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (min-width: 769px) {
  .categories-section-mobile {
    display: none !important;
  }
}

/* Language Selector Styling */
.language-dropdown {
  position: relative;
}

.language-btn {
  background-color: transparent;
  border: 1px solid #e0e0e0;
  color: #555;
  padding: 3.9px 10px !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.language-btn:hover,
.language-btn:focus {
  background-color: #f8f9fa;
  color: #333;
  border-color: #ced4da;
}

.language-btn .bi-globe {
  font-size: 1.1rem;
}

.language-menu {
  max-height: 300px;
  overflow-y: auto;
}

.dropdown-item.lang-item {
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.dropdown-item.lang-item:hover {
  background-color: #f8f9fa;
}

.dropdown-item.lang-item.active {
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  font-weight: 500;
}

/* Hide Google Translate Banner */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .language-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    /* optional: centers vertically if needed */
  }

  .order-header h5 {
    font-size: 15px;
  }
}

/* HERO SLIDER */

.carousel-item {
  position: relative;
  height: 100vh;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  padding: 3rem 8rem 3rem 6rem; /* Increased left padding to prevent overlap */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.product-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: #000000;
  margin-bottom: 1rem;
  text-align: left;
}

/* Override any other product title styles */
.product-title,
h1.product-title,
.card-title.product-title {
  color: #000000 !important;
  text-shadow: none !important;
}

.product-subcategory{
  color:#000 !important;
}

.rating {
  margin-bottom: 1.5rem;
}

.rating i {
  color: #ffd700;
  width: 1.25rem;
  height: 1.25rem;
}

.product-description {
  color: #e0e0e0;
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  text-align: left;
}

.btn-know-more {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.5rem 2rem;
  transition: all 0.3s ease;
}

.btn-know-more:hover {
  background-color: white;
  color: black;
}

/* Custom styling for carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
}

.carousel-control-prev {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

.carousel-control-next {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent);
}

/* Responsive styles */
@media (max-width: 992px) {
  .nav-tabs {
    padding: 0 !important;
  }
  .carousel-content {
    padding: 2rem 4rem;
  }

  .profile-image {
    display: none;
  }

  .card-price {
    font-size: 13px;
    padding-right: 5px;
  }

  .product-title {
    font-size: 2.5rem;
  }

  .product-description {
    font-size: 1rem;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    height: 500px;
  }

  .carousel-content {
    padding: 2rem;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.8) 100%
    );
    justify-content: flex-end;
  }

  .product-title {
    font-size: 2rem;
  }

  .product-description {
    font-size: 0.9rem;
    max-width: 100%;
  }
}

.card-price {
  font-size: 1.2rem;
}

.product-unit {
  display: inline; /* Default: keep it inline on larger screens */
  font-size: 15px;
}

@media (max-width: 576px) {
  .card-title h5 {
    font-size: 1rem !important;
  }
  .carousel-item {
    height: 400px;
  }

  .p-des {
    font-size: 12px;
  }

  .product-title {
    font-size: 1.9rem !important;
  }

  .stock-badge {
    padding-bottom: 10px;
    padding-left: 0;
  }

  .product-unit {
    display: block; /* Move to a new line on smaller screens */
    font-size: 0.8em; /* Optional: make the unit smaller */
  }

  .carousel-content {
    padding: 1.5rem;
  }

  .navbar-nav,
  .navbar-brand {
    margin-right: 0 !important;
  }

  .nav-item {
    margin: auto 12px;
  }
}

/* PRODUCTS */

/* Custom CSS */
.tabs-container {
  border-bottom: 2px solid #ddd;
}

.nav-tabs {
  display: flex;
  justify-content: space-around;
  border: none;
}

.nav-tabs .nav-link {
  flex: 1;
  text-align: center;
  border: none;
  border-radius: 0;
  color: #555;
  padding: 1rem;
  font-weight: 600;
}

.nav-tabs .nav-link.active {
  color: var(--primary-color);
  position: relative;
}

.nav-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-color);
}

.dropdown-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dropdown-container .sort-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.dropdown-container .form-select {
  width: auto;
  min-width: 200px;
  transition: all 0.3s ease;
}

.row-cols-2 > * {
  max-width: 50%;
  flex: 0 0 50%;
  padding: 0.5rem;
}

.tab-pane {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
  opacity: 1;
  transform: translateY(0);
}

.card-btn {
  background-color: var(--primary-color);
}

.card-btn:hover {
  background-color: var(--tertiary-color);
  color: #fff;
}

@media (min-width: 768px) {
  .row-cols-md-4 > * {
    max-width: 25%;
    flex: 0 0 25%;
    padding: 0.75rem;
  }
}

/* PRODUCTS */
.product-subcategory {
  font-size: 1.2rem;
  color: #000 !important;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.business-name {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

.product-card {
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top,
.card-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img-top,
.product-card:hover .card-video {
  transform: scale(1.05);
}

.no-media-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #ccc;
}

.media-container {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;
}

.card-title {
  color: #212529;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  text-decoration: none;
}

.p-des {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* FOOTER */
.footer-section {
  background-color: #010314;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
}

.footer-section .footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
  padding-left: 0 !important;
}

.footer-section .footer-item {
  width: 100%;
  flex: 1 1 calc(100% / 6);
}

.footer-section .footer-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.footer-section .footer-link:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.8),
    0 0 15px rgba(255, 255, 255, 0.6);
}

.footer-section .footer-link:active {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.8),
    0 0 15px rgba(255, 255, 255, 0.6);
}

.footer-section .footer-header {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  position: relative;
}

.footer-section .footer-logo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo {
  width: 100%;
  max-width: 200px;
  height: 100%;
  max-height: 35px;
  display: block;
}

.primary {
  width: 700px;
  min-width: 200px;
  height: 100px;
  min-height: 100px;
  background: url("../../assets/images/mysatkara_logo.png") no-repeat 50%
    50% / contain;
}

.footer-section .footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-section .footer-social-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-section .footer-copyright {
  width: 100%;
  border-top: 1px solid #191d24;
  padding: 20px;
  text-align: center;
  color: #69758c;
  font-size: calc(12px + (14 - 12) * ((100vw - 320px) / (1440 - 320)));
}

.btn.icon-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #191d24;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.icon-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.btn.icon-btn .icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn.icon-btn:hover .icon {
  transform: scale(1.2);
}

.btn.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.btn.social-btn .icon {
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn.social-btn:hover .icon {
  transform: scale(1.2) rotate(360deg);
}

.icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.icon.drop-up-icon {
  background: url(https://ig-launch.test-project.pp.ua/img/drop-up.svg)
    no-repeat 50% 50% / contain;
}

.icon.twitter-icon {
  background: url(../../assets/images/icons8-x.svg) no-repeat 50% 50% / contain;
}

.icon.instagram-icon {
  background: url(../../assets/images/icons8-instagram.svg) no-repeat 50% 50% /
    contain;
}

.icon.facebook-icon {
  background: url(../../assets/images/icons8-facebook.svg) no-repeat 50% 50% /
    contain;
}

.icon.whatsapp-icon {
  background: url(../../assets/images/icons8-whatsapp.svg) no-repeat 50% 50% /
    contain;
}

@media (min-width: 768px) {
  .footer-section {
    gap: 0;
  }
  .primary {
    display: none;
  }
}

@media (max-width: 576px) {
  .footer-section {
    gap: 0;
  }
  .footer-social {
    gap: 0 !important;
  }
  .primary {
    display: none;
  }
}

/* Footer Contact Section Styling */
.footer-contact {
  text-align: center;
  margin-top: 20px;
}

.contact-text {
  font-size: 16px;
  color: #fff;
}

.contact-phone {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
}

.contact-icon {
  margin-right: 10px;
  font-size: 28px; /* Icon size */
}

.phone-number {
  font-size: 30px; /* Large font for phone number */
  color: var(--primary-color); /* Blue color for the phone number */
}

/* Optional: Add responsiveness for smaller devices */
@media (max-width: 768px) {
  .footer-contact {
    font-size: 18px;
  }

  .phone-number {
    font-size: 26px; /* Adjust for smaller screens */
  }
}

/* Update other navbar-related z-indices */
.dropdown-menu {
  z-index: 10000;
}

/* Ensure other elements stay below navbar */
.search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  margin-top: 5px;
  z-index: 10001;
  max-height: 450px;
  overflow-y: auto;
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.modal {
  z-index: 10002 !important;
}

.modal-backdrop {
  z-index: 10001 !important;
}

/* Media Protection Styles */
.media-protected {
  position: relative;
}

.media-protected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

/* Cart Notification Badge */
.cart-notification {
    position: absolute;
    top: -3px;
    right: -8px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 0;
    border-radius: 50%;
    transform: none !important;
}

