.form-control:focus {
    outline: none;
    box-shadow: none;
}
body {
    text-decoration: none;
    touch-action: manipulation;
    background-color: #000000;
}
.card-photo{
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    object-fit: cover;
}
header {
    z-index: 500;
    display: flex;
    margin-top: 0;
    padding-right:20px;
    padding-left:20px;
    padding-top:25px;
    padding-bottom:25px;
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.25);
    position: fixed;
    background-color: black;
    width: 100%;
}
.logo{
    margin-right: 30px;
}
.search-form{
    width: 100%;
}
.cart-count{
    position: fixed;
    bottom: 36px;
    right: 26px;
    z-index: 1;
    color: white;
    background-color: black;
    min-width: 22px;
    height: 22px;
    border-radius: 13px;
    text-align: center;
    font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.text-input{
    width: 100%;
    padding-top: 9px;
    padding-bottom: 9px;
    padding-left: 16px;
    outline: none;
    background-color: rgb(8, 8, 8);
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.25);
    color: white;
 border: none;
    border-radius: 5px;
}
.placeholder {
    color: #ffffff;
}
.-clear-button {
        color: yellow;
}
h1{
    margin-left: 20px;
    font-size: 25px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}
main{
    margin-right: 20px;
    padding-left: 0px;
    padding-top:110px;
}
.form-select{
    width: 95%;
    box-sizing: border-box;
    left: 20px;
    right: 20px;
    margin-right: 20px;
    margin-left: 20px;
    padding-top: 14px;
    padding-bottom: 15px;
    background-color: rgb(8, 8, 8);
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.25);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    color: #ffffff !important;
    --bs-secondary-color: rgba(173, 181, 189, 1);
    margin-bottom: 20px;
}
.form-select {
    border: var(--bs-border-width) solid #007fff00;

}
.form-select.focus {
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.25);
}
.form-select.-clear-button {
     url(img/arrow.svg);
}
.form-select:focus {
    border: none;
    outline: 0;
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.25);
}
.card-photo{
    border-radius: 5px;
}
.card{
    display: flex;
    box-sizing: border-box;
    margin-right: 1px;
    margin-bottom: 15px;
    padding: 9px;
    background-color: rgb(0, 0, 0);

    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-between;
    text-decoration: none;
}
.card-name{
    text-decoration: none;
    margin-bottom: 0;
    padding-top: 10px;
    color:white;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: fade;
}
.card-flavor{
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    color: rgb(96, 96, 96);
    margin-bottom: 10px;
}
.button{
    display: flex;
    align-items: center;
    background-color: rgb(8, 8, 8);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 0 4px 0 rgba(252, 33, 163, 1);
    justify-content: center;
    color: white;
    text-decoration: none;
}
.card-price{
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: white;
}
.button-footer{
    position: fixed;
    display: flex;
    background-color: rgba(252, 33, 163, 1);
    border-radius: 5px;
    font-size: 17px;
    font-weight: 600;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 15px;
    padding-right: 15px;
    justify-content: center;
    color: white;
    text-decoration: none;
    bottom: 20px;
    left: 20px;
    right: 20px;
    border: none;
}
.cards{
    margin-left: 11px;
    width: 100%;
    text-decoration: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-right: 20px;
}
main{
    margin-bottom: 50px;
}
.error-category{
    margin-left: 20px;
}
a{
    text-decoration: none;
}


/* Discount styles */
.card {
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(252, 33, 163, 1);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 0 10px rgba(252, 33, 163, 0.5);
}

.card-price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.card-price-old {
    font-size: 12px;
    color: #888;
    text-decoration: line-through;
    margin-bottom: 0;
}

.card-price-new {
    font-size: 18px;
    font-weight: 700;
    color: #007fff; /* Blue neon */
    margin-bottom: 0;
    text-shadow: 0 0 5px rgba(0, 127, 255, 0.3);
}

/* Update regular price font size for consistency */
.card-price {
    font-size: 18px;
    font-weight: 700;
}

/* NEW badge - синяя плашка */
.new-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 127, 255, 1);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 127, 255, 0.5);
}

/* Стиль для опции Новинки в селекте */
.new-option {
    color: #007fff;
    font-weight: bold;
}

/* Заголовок для раздела Новинки */
.new-section-special {
    color: #007fff !important;
}
