* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

header, footer {  
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    padding: 0 0; 
    margin: 0 0;
    z-index: 0; 
}

.stacked-header {
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    margin: 0; 
    padding: 0; 
  }

.stacked-header section {
    width: 100%; 
    padding: 10px 0; 
  }
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333333;
    margin: 0;
    padding: 0;
    text-align: center; 
    
    justify-content: center; 
  }
.bg_blue  { 
    background-color: #0072bc;
}

.container {
    width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

  main {
    padding: 20px 0;
  }

header img {
    margin-left: 20px;
}

.top_line {
    height: 30px;
    font-size: 14px;
    display: flex;
    align-items: center;
  }

.top_line nav {
    display: flex;
    align-items: center;
    gap: 10px;
  }
.top_line a {
    position: relative;
    color: lightgray; 
    text-decoration: none;
    padding: 5px 10px;
    transition: color 0.4s ease;
    z-index: 0;
  }

.top_line a::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -5px;
    right: -5px;
    bottom: -2px;
    background-color: #2692da;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }
.top_line a:hover {
    color: #ffffff; 
  }
.top_line a:hover::before {
    opacity: 1;
  }

.top_line a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(180, 200, 220, 0.6); 
  }

@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?6731823');
  src: url('../font/fontello.eot?6731823#iefix') format('embedded-opentype'),
       url('../font/fontello.woff?6731823') format('woff'),
       url('../font/fontello.ttf?6731823') format('truetype'),
       url('../font/fontello.svg?6731823#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
 }
 
 .icon {
  font-family: "fontello"; 
  font-style: normal; 
  font-weight: normal; 
  display: inline-block; 
  text-decoration: inherit; 
  width: 1em; 
  margin-right: 0.2em; 
  margin-left: 0.2em; 
  text-align: center; 
  line-height: 1em; 
  font-variant: normal; 
  text-transform: none; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
  transition: transform 0.3s ease, color 0.3s ease; 
 }
 
 .icon:hover {
  transform: scale(1.1); 
  color: #0360ac; 
 }

.triangle {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #0360ac; 
}

.nav_m {
  display: flex;              
  align-items: center;        
  gap: 20px;                  
  font-family: Arial, sans-serif;
}

.nav_m a {
  color: #0072bc;             
  font-weight: normal;
  font-size: 14px;
  text-decoration: none;
  position: relative;         
  padding: 8px 0;            
  display: inline-block;      
  transition: color 0.3s ease;
}

.nav_m a:not(:first-of-type)::before,
.dropdown:not(:first-of-type)::before {
  content: "";
  display: inline-block;
  width: 1px;                 
  height: 16px;               
  background-color: #ccc;     
  margin-right: 20px;         
  vertical-align: middle;
}

.dropdown {
  display: flex;
  align-items: center;
  position: relative;         
}

.dropdown:first-of-type::before {
  display: none;
}

.nav_m a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #0072bc;
  transform: translateX(-50%);
  transition: width 0.4s ease; 
}

.nav_m a:hover::after {
  width: 100%;
}

.arrow {
  font-size: 10px;    
  margin-left: 2px;   
}

 .nav_m {
  display: flex;             
  align-items: center;       
  gap: 5px;                 
  font-family: Arial, sans-serif;
}

.nav_m a {
  color: #0072bc;            
  font-weight: normal;
  font-size: 14px;
  text-decoration: none;
  position: relative;        
  padding: 4px 0;           
  display: inline-block;     
  transition: color 0.3s ease;
}

.nav_m > a:not(:first-child)::before,
.nav_m > .dropdown:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  background-color: #ccc;
  margin-right: 10px;
  vertical-align: middle;
}

.nav_m a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #0072bc;
  transform: translateX(-50%);
  transition: width 0.4s ease; 
}

.nav_m a:hover::after {
  width: 100%; 
}

.dropdown {
  display: flex;
  align-items: center;
  position: relative;         
}

.submenu {
  display: none;             
  position: absolute;
  top: 100%;                 
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;        
  min-width: 180px;          
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 5px 0;
  transform: scaleY(0);      
  transform-origin: top;     
  transition: transform 0.3s ease;
  z-index: 999;
  text-align: left;          
}

.dropdown:hover .submenu {
  display: block;
  transform: scaleY(1);      
}

.submenu a {
  border: none !important;            
  position: relative;                 
  padding: 8px 12px;
  text-decoration: none;
  color: #0072bc;
}
.submenu a::before {
  content: none !important;          
  display: none !important;
  border: none !important;
}

.submenu hr {
  margin: 0;
  border: none;
  border-top: 1px solid #eee; 
}

.submenu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background-color: #0072bc;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.submenu a:hover::after {
  width: 100%;
}

.submenu a:hover {
  color: #005499;
}

nav {
    margin-right: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
  }

nav a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
    padding: 5px 5px;
}

.in_right {
    justify-content: flex-end;
  }

.evenly {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
  }
.content {
    margin-top: 50px;
}
.content h1 {
    font-size: 2em;
    color: #0072bc;
}
.horizontally {
    display: flex;
    align-items: center;
    gap: 10px;
}
.horizontally-c {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vertical-container-grid {
  display: grid; 
  gap: 10px; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
}

.vertical-container {
  display: flex;
  flex-direction: column; 
  gap: 10px; 
}

.nav_m a {
  color: #0072bc;
  font-weight: normal;
  font-size: 14px;
}

.logo_section {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 10px 0; 
   
}

.title_section {
  text-align: center;
  padding: 20px 0;
}

.title_section strong {
  font-size: 24px;
  display: block;
  margin-bottom: 5px;
}
.logo_menu_basket {
height: 100px;
background-color: #ffffff;
margin: 0 auto; 
display: flex; 
justify-content: space-between; 
align-items: center; 
}
.regular {
  font-weight: normal;
}

.cart-button-r {
    position: relative; 
    display: flex; 
    justify-content: flex-end; 
    weight: 100px;
    padding: 20px; 
}

.cart-button {
    display: flex;
    align-items: center;
    background-color: #0072bc;
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
  }
.cart-button:hover {
    background-color: #005a9c;
  }

.cart-price {
    margin-right: 10px;
  }

.cart-icon {
    font-size: 18px;
  }

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: rgba(0, 0, 0, 0.8); 
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    display: none; 
  }

.cart-button.has-items .cart-badge {
    display: flex;
  }

.search-container {
  display: flex;
  align-items: center;
  width: 90%; 
  max-width: 900px; 
  background: white;
  border: 1px solid #1b6ca8; 
  border-radius: 50px;
  padding: 3px 5px;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 10px rgba(38, 146, 218, 0.3); 
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 20px;
  color: #1b6ca8; 
  padding: 8px;
}

.search-input::placeholder {
  color: rgba(34, 124, 192, 0.6);
  transition: color 0.6s ease;
}

.search-button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 5px;
  transition: transform 0.3s ease-in-out;
}

.search-icon {
  width: 24px;
  height: 24px;
  stroke: #1b6ca8; 
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.search-container:hover {
  border-color: #16588b;
  box-shadow: 0 6px 14px rgba(38, 146, 218, 0.4);
}

.search-container:focus-within {
  width: 95%;
  border-color: #16588b;
  box-shadow: 0 6px 20px rgba(38, 146, 218, 0.5);
}

.search-container:focus-within .search-icon {
  stroke: #2692da; 
  transform: scale(1.2);
}

.search-input:focus::placeholder {
  color: rgba(27, 108, 168, 0.3);
}

.sports-nutrition {
  width: 100%;
  height: 565px;
  background: url('../img/intro_h_a.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sports-nutrition h1 {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 139, 0.5);
}

.cards-wrapper {
  display: flex; 
  justify-content: space-between; 
  gap: 20px; 
  margin-top: 20px; 
}

.card {
  background: rgba(230, 240, 255, 0.9); 
  border-radius: 15px; 
  padding: 20px; 
  text-align: center; 
  border: 1px solid #76bef5; 
  transition: all 0.3s ease-in-out; 
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); 
width: 100%; 
  max-width: 400px; 
  min-height: 200px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; 
}

.card:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 200px;
height: auto; 
  object-fit: cover;
  max-width: 100px; 
  }

.card h2 {
  margin: 15px 0;
font-size: 16px; 
  color: #003366;
  margin: 10px 0; 
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #02518b;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
}
.card .btn {
  background-color: #02518b; 
  color: #fff; 
  padding: 10px 15px; 
  text-decoration: none; 
  border-radius: 25px; 
  transition: background 0.3s ease-in-out; 
}
.card .btn:hover {
  background-color: #0072bc; 
}
.btn:hover {
  background: #0072bc;
}

@media (max-width: 1024px) {
  .cards-wrapper {
    flex-wrap: wrap; 
    justify-content: center; 
  }

  .card {
    max-width: 45%; 
  }
}

@media (max-width: 768px) {
  .card {
    max-width: 100%; 
  }
}

.products {
  width: 80%;
  margin: 50px auto;
  text-align: center;
}

.products h2 {
  font-size: 28px;
  color: #1b6ca8;
  margin-bottom: 20px;
}

.products-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.product-card {
  background: white;
  border: 1px solid #1b6ca8;
  border-radius: 15px;
  max-width: 400px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 10px rgba(0, 90, 156, 0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #469dd1;
  box-shadow: 0 10px 20px rgba(0, 90, 156, 0.5);
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
}

.default-img {
  width: 100%;
  border-radius: 10px;
  transition: opacity 0.3s ease-in-out;
}

.hover-img {
  width: 100%;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; 
  transition: opacity 0.3s ease-in-out;
}

.image-container:hover .default-img {
  opacity: 0;
}

.image-container:hover .hover-img {
  opacity: 1;
}
.product-card img {
  width: 100%;
  max-width: 180px;
  border-radius: 10px;
  transition: opacity 0.3s ease-in-out;
}

.product-card img:hover {
  opacity: 0.8;
}

.product-card h3 {
  margin: 10px 0;
}

.product-card h3 a {
  text-decoration: none;
  color: #1b6ca8;
  font-size: 18px;
  font-weight: bold;
}

.product-card h3 a:hover {
  text-decoration: underline;
}

.product-card .price {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.product-card .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1b6ca8;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 10px;
}

.product-card .btn:hover {
  background-color: #469dd1;
}

.product-card .btn:active {
  transform: scale(0.95);
}

.maintenance-notice {
  display: flex;
  justify-content: center; 
  align-items: center; 
  height: 20vh; 
}

.notice-box {
  max-width: 900px; 
  padding: 20px;
  border: 1px solid #0073c0; 
  border-radius: 15px; 
  background-color: #fffae6; 
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0, 112, 216, 0.2); 
}

.notice-box h2 {
  color:rgb(9, 80, 134); 
  margin-bottom: 10px;
}

.notice-box p {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.reviews-section {
  text-align: center;
  padding: 40px;
  background-color: #f3f9ff; 
}

.reviews-section h2 {
  color: #007f4e; 
  font-size: 26px;
  margin-bottom: 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  max-width: 1000px;
  margin: 0 auto;
}

.review-card {
  background: white;
  padding: 20px;
  border-radius: 10px; 
  border: 1px solid #007f4e; 
  box-shadow: 0px 4px 10px rgba(0, 127, 78, 0.2); 
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.review-card:hover {
  transform: translateY(-5px); 
  box-shadow: 0px 6px 15px rgba(0, 127, 78, 0.3); 
}

.stars {
  color: #007f4e; 
  font-size: 20px;
  margin-bottom: 10px;
}

.review-card h3 {
  color: #005a3c; 
  font-size: 18px;
  margin-bottom: 10px;
}

.review-card p {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.reviewer {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #007f4e; 
  font-style: italic;
}

.red-text {  
  color:rgb(170, 2, 64);
}
.small-grey {
  font-size: 12px;
  color:rgb(170, 170, 170);
}

.faq-section {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
  text-align: left;
  padding: 40px;
  background-color: #f8fbff; 
}

.faq-section h2 {
  font-size: 28px;
  color: #005a9c;
  margin-bottom: 30px;
  text-transform: none;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  width: 100%;
  background-color: #eef4fa;
  border: 1px solid #cccccc;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  border-color: #0072bc; 
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 163, 163, 0.3); 
}
.faq-item ul {
  padding-left: 20px; 
}
.faq-question {
  font-size: 18px;
  color: #0077cc;
  margin-bottom: 10px;
  transition: color 0.3s ease-in-out;
}

.faq-item:hover .faq-question {
  color: #005a9c;
}

.faq-answer {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

hr {
  border: none;
  height: 1px;
  background-color: #cccccc;
  margin: 10px 0;
}

footer {
  font-size: 14px;
  background-color: #011935;
  color: #808994;
text-align: center;
  padding: 0px 0;
}

.container-footer {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  background-color: #011935;
  height: 450px;
  padding: 40px 0;
  width: 100%;
  margin: 0; 
  box-sizing: border-box; 
  text-align: center; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-top p {
  color: #808994;
  font-size: 14px;
}
.partners {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
}

.partners img {
  height: 30px;
  margin: 0 5px;
}

.review-logo {
  width: 180px;
  padding: 15px;
}
.gray-text {
  color: #808994;
}
.black-gray {
  color: #d10dc1;
}
.footer-info {
  display: flex; 
  justify-content: space-between; 
  text-align: left; 
}

.footer-info div {
  flex: 1; 
}

.footer-links {
  color: #808994;
  padding: 0;
}

.footer-links a {
  color: #808994;
  text-decoration: none;
  list-style: none;
  padding: 8px 12px; 
  position: relative;
  transition: color 0.3s ease-in-out;
  z-index: 1;
  display: inline-block; 
}

.footer-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 100%;
  background-color: #0d4e9e;
  border-radius: 12px; 
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  filter: blur(8px); 
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  z-index: 0;
}

.footer-links a:hover::before {
  opacity: 0.8; 
  transform: translate(-50%, -50%) scale(1); 
  z-index: -1;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.footer-links a:hover {
color: #ffffff;
}

.footer-links a:hover::after {
  transform: scaleX(1);
  transition: transform 0.4s ease-in-out 0.1s; 
}

.footer-links ul li {
  margin: 5px 0;
}

.footer-bottom {
 background-color: #001228;
  padding: 20px 0;
  height: 210px;

width: 100%;
 margin: 0; 
 box-sizing: border-box; 
 text-align: center; 
 display: flex;
 align-items: center;
 justify-content: center;
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.payment-methods img {
  height: 40px;
}

.height-cc {
  height: 15px;
  weight: 15;
}

.footer-nav {
  margin-bottom: 10px;
}
.footer-nav {
  text-align: center;
  margin-bottom: 15px;
}

.footer-nav a {
  color: #808994;

font-size: 14px;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #cccccc;
}

.legal-text {
  font-size: 12px;
  color: #808994;
}

.copyright {
  font-size: 12px;
  color: #777777;
  margin-top: 10px;
}

.price-wrapper {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 5px 20px;
  border-radius: 12px;
  background-color: #fffce5;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  max-width: fit-content;
  margin: 10px auto;
}

.old-price {
  position: relative;
  font-size: 24px;
  color: #aaa;
}

.old-price::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #aaa;
  top: 50%;
  left: 0;
  transform: rotate(-5deg);
  border-radius: 2px;
}

.new-price {
  font-size: 32px;
  font-weight: 700;
  color: #e63946;
}

.new-price {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}