.header_section{
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0.5); /* Белый цвет с 50% прозрачностью */
    backdrop-filter: blur(5px);
    width: min(1160px, 95%);
    height: clamp(130px, 8vh, 130px);
    /* margin-top: clamp(20px, 3vh, 55px); */
    position: fixed; 
    z-index: 1;
    top: 0;
    justify-content: space-around;
    align-items: center;
  }

body, .container {
    padding: 0;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .header_section {
    height: 50px !important;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
    width: 100vw !important;
    min-width: 0;
  }
  
  .img_shop_bag {
    margin-right: 30px !important;
    margin-left: 0 !important;
    height: 25px !important;
    width: 25px !important;
  }
  
  .main-bascket {
    margin-top: 70px !important;
    padding: 0 5px;
  }
  
  .product-block {
    height: 70px !important;
    padding: 6px !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
  }
  .product-image {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 0;
    margin-right: 8px !important;
  }
  .img_bascket {
    width: 100% !important;
    height: 100% !important;
  }
  .product-details {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
    gap: 4px;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    flex-wrap: nowrap !important;
  }
  .product-name {
    flex: 1 1 auto;
    font-size: 12px !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .product-size {
    font-size: 10px !important;
    margin-right: 16px;
  }
  .price {
    font-size: 12px !important;
    margin-right: 43px;
  }
  .product-block {
    min-width: 36px;
    min-height: 18px;
    padding: 2px 4px;
    border-radius: 6px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px !important;
    height: 50%;
    margin-left: 6px;
  }
  .quantity-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    height: 70px;
    gap: 4px !important;
  }
  .quantity-btn, .quantity-btn.plus, .quantity-btn.minus {
    width: 18px !important;
    height: 18px !important;
    border: 1px solid rgb(155, 155, 155) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    font-family: "IBM Plex Mono", monospace !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    transition: background-color 0.3s !important;
    font-weight: bold !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .quantity {
    font-size: 14px !important;
    font-weight: bold !important;
    color: #222 !important;
    letter-spacing: 0.5px !important;
    width: 32px !important;
    height: 17px !important;
    text-align: center !important;
    border: none !important;
    border-radius: 6px !important;
    margin: 0 4px !important;
    padding: 0 2px !important;
    appearance: textfield !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  }
  .quantity::-webkit-outer-spin-button,
  .quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  .total-section {
    flex-direction: column;
    align-items: flex-end;
    padding: 10px 0 !important;
    margin: 10px 0 !important;
  }
  .total-text {
    font-size: 18px !important;
    margin-right: 0 !important;
  }
  .total-price {
    font-size: 20px !important;
    min-width: 80px !important;
    padding: 6px 10px !important;
  }
  
  .buy-section {
    justify-content: center !important;
    margin: 10px 0 !important;
    max-width: 100vw !important;
  }
  .buy-button {
    width: 100% !important;
    font-size: 18px !important;
    padding: 12px 0 !important;
    margin: 0 !important;
  }
  
  footer {
    gap: 10px !important;
    margin-top: 30px !important;
    margin-bottom: 10px !important;
  }
  footer a, .oferta-button {
    font-size: 14px !important;
    padding: 6px 8px !important;
  }
  
  /* Modal styles for mobile */
  .modal-content {
    width: 98vw !important;
    max-width: 98vw !important;
    margin: 10% auto !important;
    padding: 10px !important;
    border-radius: 10px !important;
  }
  .close, .close-button {
    font-size: 24px !important;
  }
  .form-group label, .form-group input, .form-group textarea {
    font-size: 14px !important;
  }
  .order-button {
    font-size: 16px !important;
    padding: 10px 0 !important;
  }
  
  .empty-basket-message {
    font-size: 18px !important;
    padding: 10px !important;
  }
  
  /* Hide scrollbars on mobile */
  body {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  body::-webkit-scrollbar {
    display: none;
  }

  .product-title {
    width: 100%;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: bold !important;
    margin: 4px 0 !important;
    color: #222 !important;
    letter-spacing: 0.2px;
  }