@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  height: 100%;
  overflow-x: hidden;
}

/* Header Styles */
.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  background: #ffffff;
  padding: 0.4rem 2rem;
  padding-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  color: #19140D;
}

.header-top-content {
  height: 2.6rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: content-box;
  padding-bottom: .4rem;
}

.header-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 35%;
}

.shipping-adresse {
  display: flex;
  align-items: center;
  margin: auto 15px auto 15px;
  gap: 0.5rem;
}

.header-right {
  width: 35%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-search {
  width: 40%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 10px;
}

.logo-svg {
  width: 32px;
  height: 32px;
}

.searchInputWrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.searchInput {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0.1rem 1.2rem;
  padding-right: 0.1rem;
  border-radius: 2rem;
  border: none;
  transition: transform 0.1s ease-in-out;
  background-color: #eaeaea;
  border: 2px solid #c2c2c2;
}

.searchInput:focus-within {
  transition: transform 0.1s ease-in-out;
  border: 2px solid #ff9900;
  outline: none;
}

::placeholder {
  color: #a1a1a1;
}

/* hide the placeholder text on focus */
:focus::placeholder {
  text-indent: -999px;
}

.searchInputIcon {
  width: 1.1rem;
  transition: all 0.1s ease-in-out;
}

.searchInputIconWrapper {
  width: 5rem;
  height: 100%;
  right: 0rem;
  top: 0rem;
  background-color: transparent;
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.searchInputIconWrapper:hover {
  background-color: #c2c2c2;
  transition: all 0.1s ease-in-out;
}

.searchInputField {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.searchInputField:focus {
  outline: none;
  border: none;
  box-shadow: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.searchInputField::after {
  content: "";
  display: block;
  position: absolute;
  background-color: tomato;
  right: 0rem;
  top: 0rem;
  width: 2px;
  height: 5px;
}

.lang .dropdown-toggle {
  height: 100%;
  padding: 0.8rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Main Content Styles */

/* Footer Styles */
.site-footer {
  background: transparent;
  padding: 1.5rem 1.5rem 3rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.5rem 3rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.footer-upper {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.6fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-col--company .footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-company-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.01em;
}

.footer-company-subtitle {
  font-size: 0.9rem;
  color: #777777;
  margin-bottom: 2.25rem;
  font-weight: 400;
  line-height: 1.4;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
  text-decoration: none;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.footer-social-icon {
  display: block;
  object-fit: contain;
}

.footer-social-icon.icon-linkedin {
  height: 22px;
  width: auto;
}

.footer-social-icon.icon-facebook {
  height: 22px;
  width: auto;
}

.footer-social-icon.icon-youtube {
  height: 20px;
  width: auto;
}

.footer-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #111111;
}

.footer-brand-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.footer-brand-link {
  color: #666666;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-brand-link:hover {
  color: #111111;
}

.footer-map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  height: 165px;
  width: 100%;
}

.footer-map {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.footer-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 2.25rem 0 1.5rem;
}

.footer-lower {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #777777;
  margin: 0;
  font-weight: 400;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-link {
  color: #555555;
  text-decoration: underline;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-legal-link:hover {
  color: #000000;
}

@media (max-width: 900px) {
  .footer-upper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-container {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .footer-lower {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.searchInput::-webkit-input-placeholder {
  font-size: 0.7rem;
  color: #515151;
  font-weight: bold;
}

.searchInput:-moz-placeholder {
  /* Firefox 18- */
  font-size: 0.7rem;
  color: #515151;
  font-weight: bold;
}

.searchInput::-moz-placeholder {
  /* Firefox 19+ */
  font-size: 0.7rem;
  color: #515151;
  font-weight: bold;
}

.searchInput:-ms-input-placeholder {
  font-size: 0.7rem;
  color: #515151;
  font-weight: bold;
}

button {
  outline: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
}

ul {
  list-style: none;
}

.flagIcon {
  margin: 0 8px;
  pointer-events: none;
  width: 20px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

/* === Dropdown styles === */
.dropdown {
  display: inline-block;
  position: relative;
}

/* === Dropdown button styles === */
.dropdown-toggle {
  -webkit-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
  will-change: background-color, color;
  cursor: pointer;
  margin: 0rem 1rem;
  padding: 0rem 0.5rem;
  border-radius: 0.75rem;
  background-color: #eaeaea;
  color: var(--btn-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Hover state === */
.dropdown-toggle:hover {
  background-color: #d3d3d3;
  color: var(--btn-hover-color);
}

/* === Focus-visible state === */
.dropdown-toggle:focus-visible {
  outline: 3px solid var(--btn-focus-ring);
  outline-offset: 2px;
}

/* === Active state === */
.dropdown-toggle:active {
  background-color: var(--btn-active-bg);
  color: var(--btn-active-color);
}

/* === Disabled state === */
.dropdown-toggle:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: var(--btn-disabled-bg);
  color: var(--btn-disabled-color);
}

/* === Dropdown menu styles === */
.dropdown-menu {
  -webkit-transform: translateY(-10px);
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease,
    visibility 0.3s;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 50%;
  transform: translate(-50%, -10px);
  visibility: hidden;
  opacity: 0;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  will-change: opacity, transform, visibility;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  background-color: #eaeaea;
  line-height: 1.6;
  white-space: nowrap;
}

/* === Dropdown open state === */
.dropdown.open .dropdown-menu {
  -webkit-transform: translateY(0);
  transform: translate(-50%, 0px);
  visibility: visible;
  opacity: 1;
}

.profile-dropdown.open .dropdown-menu {
  -webkit-transform: translateY(0);
  transform: translate(-108%, 0px);
  visibility: visible;
  opacity: 1;
}

.profile-menu {
  left: 100% !important;
  transform: translate(-108%, -10px);
}

.profile-menu li {
  background-color: #d3d3d3;
  justify-content: space-between;
  gap: 0.5rem;
}

.profile-menu p {
  display: flex;
  align-items: center;
  font-size: .8rem;
}

/* === Menu links styles === */

.dropdown-menu a,
.profile-menu a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
}

.dropdown-menu a:hover {
  background-color: var(--dropdown-link-hover-bg);
}

/* === Animation for dropdown links === */
.dropdown.open .dropdown-menu li {
  -webkit-transform: translateY(10px);
  -webkit-animation: fadeIn 0.3s ease forwards;
  transform: translateY(10px);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.profile-dropdown.open .dropdown-menu li {
  -webkit-transform: translateY(10px);
  -webkit-animation: fadeIn 0.3s ease forwards;
  transform: translateY(10px);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.dropdown-menu li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.8rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.75rem;
  margin: 0.3rem;
}

.dropdown-menu li * {
  margin: 0 10px;
}

.dropdown-menu li:hover {
  background-color: #d3d3d3;
}

.utilities {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

.profile {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 100%;
  background-color: #eaeaea;
  border-radius: 1000px;
  padding: 0.2rem;
  white-space: nowrap;
  font-weight: 500;
}

.profile-Icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  aspect-ratio: 1 / 1;
  width: fit-content;
  border-radius: 100%;
  background-color: #f1ce98;
}

.profileSvg {
  height: 60%;
}

.profile-dropdown {
  position: relative;
  height: 100%;
}

.price-request,
.shpping-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.shoppingCartSvg {
  height: 60%;
}

.priceRequestSvg {
  height: 50%;
}

.burgerSvg {
  width: 50%;
  height: 50%;
}

.pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .2rem;
  height: auto;
  height: 1.2rem;
  width: 1.2rem;
  position: absolute;
  border-radius: 100%;
  background: #ff3a3a;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(227, 100, 100, 0.4);
  animation: pulse 2s infinite;
  color: white;
  font-weight: 700;
  top: 0;
  right: -8%;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}

.navigation ul {
  list-style: none;
  margin: 0 13px 0 13px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.navigation ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: .75rem 1.2rem;
  color: #19140D;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: .5rem;
  transition: background-color 0.2s ease-in-out;
}

.navigation ul li a:hover {
  background-color: #ffdaa1;
}

.navigation ul li.selected a {
  background-color: #ff9900;
  color: #fff;
  font-weight: 700;
}

.navigation ul li.selected a .nav-icon {
  filter: brightness(0) invert(1);
}

.navigation ul li:not(.selected) a .nav-icon {
  filter: none;
}

.sep-line {
  width: 96%;
  height: 2px;
  background-color: #C2C2C2;
}

.hamburger-menu {
  height: 100%;
  display: none;
  cursor: pointer;
}

.logout:hover {
  background-color: #FFCECE!important;
}

.hide {
  display: none;
}

.invisible {
  visibility: hidden;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(250, 170, 170, 0.4);
  }

  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(227, 100, 100, 0.4);
  }

  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(227, 100, 100, 0.4);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(227, 100, 100, 0.4);
    box-shadow: 0 0 0 0 rgba(227, 100, 100, 0.4);
  }

  70% {
    -moz-box-shadow: 0 0 0 10px rgba(227, 100, 100, 0.4);
    box-shadow: 0 0 0 15px rgba(204, 44, 44, 0);
  }

  100% {
    -moz-box-shadow: 0 0 0 0 rgba(250, 250, 250, 0);
    box-shadow: 0 0 0 0 rgba(204, 44, 44, 0);
  }
}


@keyframes fadeIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  to {
    -webkit-transform: translateY(0);
    opacity: 1;
  }
}

/* Restrict textarea resizing to prevent UI breakage */
textarea {
  resize: vertical !important;
  max-height: 300px !important;
}

/* =========================================
   Mini Cart Drawer
========================================= */
.mini-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}
.mini-cart-drawer.open {
    visibility: visible;
    opacity: 1;
}
.mini-cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s;
}
.mini-cart-drawer.open .mini-cart-overlay {
    opacity: 1;
}
.mini-cart-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.mini-cart-drawer.open .mini-cart-content {
    transform: translateX(0);
}
@keyframes skeleton-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}