@import 'site.css' ;

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.login_section{
    max-width: 480px;
    width: 100%;
}

.login_section{ 
    display: flex;
    flex-direction: column;
    gap: 40px;
}

body {
    font-family: Montserrat, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

.h1_login {
    color: #ffc900;
    padding-top: 4px;
    padding-bottom: 4px;
    font-family: Montserratalternates, sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
    display: block;
    text-align: center;
  }

  @media screen and (max-width: 1180px) {
    .h1_login {
      font-size: 40px;
      line-height: 40px;
    }
  }

  .container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    font-size: 2rem;
    margin-bottom: 40px; /* Відступ від заголовка */
    color: #ffcc00;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    padding: 0 10px;
    box-sizing: border-box;
}

.input-container {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.input-field {
    width: 100%;
    height: 80px; /* Висота інпутів */
    padding: 14px 20px 14px 80px; /* Відступи всередині */
    margin: 0 auto;
    background-color: rgba(34, 34, 34, 0.6);
    color: #7A7A7A;
    border: 1px solid #646464;
    border-radius: 5px;
    font-size: 20px; /* Розмір тексту */
    box-sizing: border-box;
    transition: all 0.3s;
}

.input-field:focus {
    border: 1px solid #FFC900; /* Обводка при активному інпуті */
    color: #FFC900; /* Текст при активному інпуті */
    outline: none;
}

/* Видалення стрілочки з select */
.no-arrow {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
}

.input-icon,
.input-icon-left,
.input-icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
}

.input-icon {
    left: 20px;
}

.input-icon-right{
    right: 0px;
}

.amount-display {
    position: absolute;
    right: 20px; /* Відступ від правої сторони */
    top: 50%;
    transform: translateY(-50%);
    color: #ffcc00;
    display: flex;
    align-items: center;
    font-style: italic;
    font-size: 20px;
}

.amount-display .bold-italic {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: italic;
    margin-right: 50px; /* Відступ праворуч від іконки */
    margin-left: 5px;

}

.error-message {
    display: none;
    color: red;
    font-size: 0.8rem;
    position: absolute;
    top: 100%;
    left: 10px;
}

input::placeholder {
    color: #999;
}

.agreement label {
    display: flex;
    align-items: center;
    color: #A2A2A2;
}

.agreement input[type="checkbox"] {
    width: 24px;
    height: 24px;
    background-color: #222222;
    border: 2px solid #646464;
    margin-right: 10px;
}

.agreement a {
    color: #FDC907;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

button {
    background-color: #ffcc00;
    color: #222;
    border: none;
    padding: 20px 22px; /* Відступи всередині */
    border-radius: 5px;
    font-size: 26px; /* Розмір тексту */
    font-family: 'Montserrat', sans-serif;
    font-weight: bold; /* Жирний текст */
    cursor: pointer;
    margin-top: 40px; /* Відступ до кнопки */
    width: calc(100% - 20px);
    max-width: 480px;
    box-sizing: border-box;
}

button:hover {
    background-color: #e6b800;
}



.shop {
    max-width: 1600px;
    width: 100%;
    margin-top: 100px;
}

h2, h3 {
    text-align: center;
    margin: 20px 0;
}

.top-products, .other-products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.product.large {
    flex: 0 0 780px;
    height: 600px;
    padding: 40px;
}

.product.small {
    flex: 0 0 390px;
    height: 290px;
}

.product.medium {
    flex: 0 0 520px;
    height: 290px;
}

.product img {
    height: 118px;
    margin-bottom: 20px;
}

.product.large img {
    height: 224px;
}

.product h4 {
    margin: 20px 0;
}

.shop_button {
    background-color: #ffcc00;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop_button img {
    height: 16px;
    margin-right: 5px;
}

.shop_button:hover {
    background-color: #e6b800;
}

/* Responsive design for mobile */
@media (max-width: 460px) {
    .top-products, .other-products {
        flex-direction: column;
    }

    .product.large, .product.small, .product.medium {
        flex: 1 0 100%;
        height: auto;
    }

    .product {
        padding: 20px;
    }

    .product.large {
        padding: 20px;
    }

    .product img {
        height: auto;
        max-width: 100%;
    }

    .product.large img {
        height: auto;
        max-width: 100%;
    }
}

.shop {
    flex-flow: column;
    width: 100%;
    max-width: 1600px;
    display: flex;
  }
  
  .shop_header {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    justify-content: flex-start;
    align-items: flex-end;
    display: flex;
  }
  
  .h2_shop {
    color: #7bd3ea;
    text-align: center;
    font-family: Montserratalternates, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    display: block;
  }
  
  .h1_shop {
    color: #ffc900;
    font-family: Montserratalternates, sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
    display: block;
  }
  
  .shop_top {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin: 40px 10px;
    display: flex;
  }
  
  .product_big {
    background-color: rgba(34, 34, 34, .6);
    border: 1px solid #ffc900;
    border-radius: 30px;
    width: 100%;
    max-width: 780px;
    height: 100%;
    max-height: 600px;
    padding: 68px 40px 40px;
  }
  
  .shop_small {
    width: 100%;
    max-width: 800px;
  }
  
  .text_shop_small {
    color: #a4a4a4;
    margin-top: 68px;
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
  }
  
  .text_shop_big {
    color: #fff;
    margin-top: 10px;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
  }
  
  .button_shop_big {
    color: #222;
    background-color: #fdc907;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    height: 100%;
    max-height: 80px;
    margin-top: 40px;
    padding: 24px 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 26px;
    display: flex;
  }
  
  .grid_shop_top {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    width: 100%;
    max-width: 800px;
  }
  
  .product_small {
    background-color: rgba(34, 34, 34, .6);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 30px;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-height: 290px;
    padding: 20px;
    display: flex;
  }
  
    .product_small:hover{
    border: 1px solid #fdc907;
  }
  
  
  .text_shop_medium {
    color: #fff;
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
  }
  
  .button_shop_medium {
    color: #222;
    background-color: #fdc907;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    height: 100%;
    max-height: 58px;
    margin-top: 20px;
    padding: 13px 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 26px;
    display: flex;
  }
  
  .button_shop_medium :hover{
    background-color: #e6b800;  
  }
  
  .h2_shop_inshi {
    color: #7bd3ea;
    text-align: center;
    font-family: Montserratalternates, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    display: block;
  }
  
  .grid_shop_inshi {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr;
    height: 100%;
    margin: 40px 10px;
  }
  
  .w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .w-layout-grid-1 {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }
  
  @media screen and (max-width: 479px) {
  
    .shop {
      margin-top: 40px;
    }
  
    .shop_header {
      flex-flow: row;
      display: block;
    }
  
    .h2_shop {

      font-size: 23px;
      line-height: 27px;
    }
  
    .h1_shop {
      text-align: center;

      font-size: 23px;
      line-height: 27px;
    }
  
    .shop_top {
      flex-flow: column;
    }
  
    .product_big {
      padding: 20px;
    }
  
    .text_shop_small {
      text-align: center;
      margin-top: 30px;
    }
  
    .text_shop_big, .button_shop_big {
      text-align: center;
    }
  
    .grid_shop_top {
      grid-template-rows: auto;
      grid-template-columns: 1fr;
      grid-auto-flow: row;

    }
  
    .product_small {

    }
  
    .text_shop_medium {
      text-align: center;

    }
  
    .h2_shop_inshi {
      font-size: 23px;
      line-height: 27px;
    }
  
    .grid_shop_inshi {
      grid-template-rows: auto;
      grid-template-columns: 1fr;
    }
  }
  .ghost-icon {
    vertical-align: middle; /* вирівнює зображення по вертикалі з текстом */
    pointer-events: none; /* не заважає клікам */
  }