/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 30.07.2015, 18:03:32
    Author     : greyhard
*/

/* Custom Select Styles */
.select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 32px;
    padding: 0 30px 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #222;
    cursor: pointer;
}

.select select:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 3px #ccc;
}

.select select:disabled {
    background-color: #f5f5f5;
    border-color: #dedede;
    color: #999;
    cursor: not-allowed;
}

/* Product image thumbnails */
._thumbs {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

._thumb {
    display: block;
    width: 60px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition:
        opacity 0.15s,
        border-color 0.15s;
}

._thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

._thumb:hover {
    opacity: 1;
    border-color: #999;
}

._thumb-active {
    opacity: 1;
    border-color: #333;
}

.b_item ._td {
    padding: 4px 5px;
}

.b_results ._td {
    padding: 4px 5px;
}

.scroll {
    overflow: auto;
    height: 700px;
}
.nowrap {
    white-space: nowrap;
}

.slider {
    height: initial;
}

.slider ._img-full {
    float: left;
    max-width: 100%;
}

.slider ._title-big {
    font-size: 31px;
    color: #f00;
}

.slider ._text-big {
    font-size: 34px;
    line-height: 12px;
    color: #000;
}

/* ── One-click order modal ───────────────────────────────── */
.oneclick-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.oneclick-overlay.--active {
    display: block;
}

.oneclick-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    padding: 30px;
    width: 420px;
    max-width: 90vw;
    z-index: 1050;
}

.oneclick-modal.--active {
    display: block;
}

.oneclick-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
}

.oneclick-modal__close:hover {
    color: #333;
}

.oneclick-modal__title {
    margin: 0 0 8px;
    font-size: 20px;
    color: #333;
}

.oneclick-modal__desc {
    margin: 0 0 18px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.oneclick-modal__field {
    margin-bottom: 14px;
}

.oneclick-modal__field label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.oneclick-modal__field .form-control {
    width: 100%;
    box-sizing: border-box;
}

.oneclick-modal__privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 18px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}

.oneclick-modal__privacy input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.oneclick-modal__privacy a {
    color: #a50204;
    text-decoration: underline;
}

.oneclick-modal__privacy a:hover {
    text-decoration: none;
}

.oneclick-modal__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

/* One-click button on product cards */
.btn-oneclick {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    color: #a50204;
    background: transparent;
    border: 1px solid #a50204;
    border-radius: 3px;
    cursor: pointer;
    transition:
        background 0.15s,
        color 0.15s;
}

.btn-oneclick:hover {
    background: #a50204;
    color: #fff;
}
