/* style.css */

@font-face {
  font-family: 'IBMPlexSans-Regular';
  src: url('/fonts/IBMPlexSans-Regular.woff2') format('woff2'),
       url('/fonts/IBMPlexSans-Regular.woff') format('woff');
  font-display: swap; 
}
@font-face {
  font-family: 'IBMPlexSans-Thin';
  src: url('/fonts/IBMPlexSans-Thin.woff2') format('woff2'),
       url('/fonts/IBMPlexSans-Thin.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'IBMPlexSans-Medium';
  src: url('/fonts/IBMPlexSans-Medium.woff2') format('woff2'),
       url('/fonts/IBMPlexSans-Medium.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'IBMPlexSans-LightItalic';
  src: url('/fonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
       url('/fonts/IBMPlexSans-LightItalic.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'IBMPlexSans-BoldItalic';
  src: url('/fonts/IBMPlexSans-BoldItalic.woff2') format('woff2'),
       url('/fonts/IBMPlexSans-BoldItalic.woff') format('woff');
  font-display: swap;
}

body {
  width: 95%;
  padding: 20px;
  margin: 0;
  font-family: 'IBMPlexSans-Medium', sans-serif;
  background: #24484B;
  color: #fff;
}

p {
  margin-top: 2px;
  margin-bottom: 4px;
  line-height: 1.2;
}

a {
  color: inherit;
}

.top-banner {
  display: flex;
  flex-direction: column;
  width: 97%;
  padding: 20px;
}

.lang-flags {
  display: flex;
  justify-content: flex-end;
  margin-top: -25px;
  gap: 10px;
  margin-bottom: 10px;
}

.lang-flags img {
  width: 40px !important;
  height: 20px !important;
  border-radius: 4px;
  align: bottom;
}

.banner-images {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-banner img {
  width: auto;
  max-height: 160px;
}

.product-list {
  padding: 1px;
}

.product {
  font-family: 'IBMPlexSans-Regular', sans-serif;
  display: flex;
  gap: 20px;
  background: #ffffff;
  border: 2px solid #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  color: #48261d;
  align-items: flex-end;
}

.product-image img {
  width: 250px;
  height: auto;
  align-self: flex-end;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: justify
}

.header-two-blocks {
  font-family: 'IBMPlexSans-LightItalic', sans-serif;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-two-blocks > *:first-child {
  text-align: left;
}

.header-two-blocks > *:last-child {
  text-align: right;
}

.header-one-block h3 {
  font-family: 'IBMPlexSans-Regular', sans-serif;
  margin: 0;
}

.header-one-block h2 {
  font-family: 'IBMPlexSans-LightItalic', sans-serif;
}

.header-one-block h1 {
  font-family: 'IBMPlexSans-BoldItalic', sans-serif;
}

.description {
  line-height: 1.5;
  margin: 1px 0;
}

footer {
  text-align: center;
  padding: 20px;
  background: #24484b;
  margin-top: 40px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  body {
    width: 100%;
    padding: 10px;
  }
  
  .top-banner {
    width: 100%;
    padding: 10px;
  }
  
  .lang-flags {
    justify-content: center;
    margin-top: 0;
    margin-bottom: 15px;
  }
  
  .lang-flags img {
    width: 35px !important;
    height: 18px !important;
  }
  
  .banner-images {
    flex-direction: column;
    gap: 15px;
  }
  
  .top-banner img {
    height: auto;
    max-height: 120px;
    width: auto;
    max-width: 300px;
  }
  
  .product {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    align-items: center;
  }
  
  .product-image img {
    width: 100%;
    max-width: 280px;
    align-self: center;
  }
  
  .product-info {
    width: 100%;
    gap: 10px;
  }
  
  .header-two-blocks {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  
  .header-two-blocks > *:first-child,
  .header-two-blocks > *:last-child {
    text-align: left;
    width: 100%;
  }
  
  .header-one-block h1,
  .header-one-block h2,
  .header-one-block h3 {
    font-size: calc(100% + 2vw);
    text-align: center;
  }
  
  .description {
    font-size: 14px;
    line-height: 1.4;
  }
  
  footer {
    padding: 15px;
    margin-top: 30px;
    font-size: 14px;
  }
}

/* Extra small mobile adjustments */
@media screen and (max-width: 480px) {
  body {
    padding: 8px;
  }
  
  .top-banner {
    padding: 8px;
  }
  
  .top-banner img {
    max-height: 100px;
  }
  
  .product {
    padding: 12px;
    margin-bottom: 15px;
  }
  
  .product-image img {
    max-width: 220px;
  }
  
  .lang-flags img {
    width: 30px !important;
    height: 15px !important;
  }
  
  .header-one-block h1 {
    font-size: 1.5em;
  }
  
  .header-one-block h2 {
    font-size: 1.3em;
  }
  
  .header-one-block h3 {
    font-size: 1.1em;
  }
  
  .description {
    font-size: 13px;
  }
}