/*!
 * v4.2 (https://bulgaria-web-studio.com/)
 * Copyright 2023-2025 Pchela 2010 Product of Bulgaria Web Studio LTD
 * Copyright 2023-2025 Bulgaria Web Studio LTD.
*/
body {
    background-color: #f4f7fa;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

h1 {
    color: #2a3b4c;
    text-align: center;
    margin-bottom: 16px;
    font-size: 2.5em;
    letter-spacing: 1px;
}

h2 {
    color: #4e5d6c;
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.5em;
}
div.header {
    text-align: center;
    margin-bottom: 24px;
}
nav {
    background: #fffbe6;
    padding: 12px 0;
    border-bottom: 1px solid #f6c700;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
}
nav ul li {
    display: inline;
}
nav ul li a {
    color: #2a3b4c;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
nav ul li a:hover {
    background: #f6c700;
    color: #222;
}
footer {
    text-align: center;
    margin-top: 32px;
    color: #888;
    font-size: 1em;
}
footer a {
    margin: 0 8px;
    color: inherit;
    transition: color 0.2s;
}
footer a:hover {
    color: #f6c700;
}
.card-header {
    background: #f6c700;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    font-size: 1.2em;
}
.card {
    background: #f9fafb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 20px 24px;
    margin-bottom: 24px;
    transition: box-shadow 0.2s;
}
.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}

.button {
    display: inline-block;
    background: #4e8cff;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    margin: 8px 0;
    cursor: pointer;
    transition: background 0.2s;
}
.button:active {
    transform: translateY(1px);
}
.button:focus {
    outline: none;
    box-shadow: 0 0 4px rgba(78, 140, 255, 0.5);
}
.button:disabled {
    background: #b0c4de;
    cursor: not-allowed;
}
.button:hover {
    background: #2563eb;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.1em;
    }
    .card {
        padding: 12px 8px;
    }
}
/* ...existing code... */

nav ul li a {
    color: #2a3b4c;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
nav ul li a:hover {
    background: #f6c700;
    color: #222;
    text-decoration: none;
}

footer {
    text-align: center;
    margin-top: 32px;
    color: #888;
    font-size: 1em;
}

footer a {
    margin: 0 8px;
    color: inherit;
    transition: color 0.2s;
}
footer a:hover {
    color: #f6c700;
}

.card h3 {
    color: #f6c700;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.card p {
    color: #444;
    margin-bottom: 16px;
}

::-webkit-scrollbar {
    width: 8px;
    background: #f4f7fa;
}
::-webkit-scrollbar-thumb {
    background: #e0e7ef;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .container {
        max-width: 98vw;
    }
}

@media (max-width: 400px) {
    .button {
        padding: 10px 10px;
        font-size: 0.95em;
    }
}

.product-item {
    border: 1px solid #e0e7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s, border 0.2s;
    margin-bottom: 24px;
    display: block;
    text-decoration: none;
}
.product-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
    border-color: #f6c700;
    text-decoration: none;
}

.product-item img {
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f4f7fa;
}

.product-item .card-body {
    padding: 16px;
}

.product-item h5 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #2a3b4c;
}

.product-item .fw-bolder {
    font-weight: 700;
}

.product-item span {
    color: #2563eb;
    font-weight: 600;
}

.product-item small {
    color: #888;
}

.list-group-item-action {
    cursor: pointer;
}

.icheck-primary input[type="checkbox"] {
    accent-color: #f6c700;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

.icheck-primary label {
    vertical-align: middle;
    cursor: pointer;
    font-weight: 500;
}

@media (max-width: 900px) {
    .product-item img {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .product-item img {
        height: 120px;
    }
    .product-item .card-body {
        padding: 10px;
    }
}
body::-webkit-scrollbar,
::-webkit-scrollbar {
    width: 10px;
    background: #fffbe6;
}
body::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
    background: #f6c700;
    border-radius: 5px;
}
body::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}


.list-group::-webkit-scrollbar {
    width: 10px;
    background: #fffbe6;
}
.list-group::-webkit-scrollbar-thumb {
    background: #f6c700;
    border-radius: 5px;
}
.list-group::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}

/* Основен responsive контейнер */
@media (max-width: 900px) {
    .container {
        max-width: 100vw;
        padding: 8px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

/* За таблети */
@media (max-width: 768px) {
    h1 {
        font-size: 1.7em;
    }
    h2 {
        font-size: 1.2em;
    }
    .card, .product-item {
        padding: 10px 6px;
        margin-bottom: 16px;
    }
    .product-item img {
        height: 100px;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-nav {
        flex-direction: column !important;
        gap: 0 !important;
    }
}

/* За телефони */
@media (max-width: 600px) {
    .container {
        padding: 4px;
    }
    h1 {
        font-size: 1.2em;
    }
    h2 {
        font-size: 1em;
    }
    .card, .product-item {
        padding: 6px 2px;
        margin-bottom: 12px;
    }
    .product-item img {
        height: 70px;
    }
    .navbar-brand {
        font-size: 1em;
    }
    .navbar-nav {
        flex-direction: column !important;
        gap: 0 !important;
    }
  
    .button, .btn, .btn-warning, .btn-dark {
        width: 100%;
        font-size: 1em;
        padding: 12px 0;
        margin-bottom: 8px;
    }
    .list-group-item {
        font-size: 1em;
        padding: 10px 8px;
    }
    .address-holder textarea,
    textarea.form-control {
        font-size: 1em;
        min-height: 60px;
    }
}

/* Навигация - мобилно меню */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        gap: 0 !important;
    }
    .navbar-collapse {
        background: #fffbe6;
        padding: 10px 0;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link {
        width: 100%;
        padding: 12px 16px;
        border-radius: 0;
        border-bottom: 1px solid #f6c70022;
    }
}

/* По-големи бутони и полета за докосване */
input, select, textarea, button {
    font-size: 1em;
    border-radius: 6px;
}

.button, .btn, .btn-warning, .btn-dark {
    min-height: 44px;
    font-size: 1.1em;
    border-radius: 8px;
}

/* Скролиране на таблици и списъци на малък екран */
@media (max-width: 600px) {
    table, .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* По-големи икони за мобилно */
@media (max-width: 600px) {
    .fa, .fas, .far, .fal, .fab {
        font-size: 1.3em !important;
    }
}

/* Корекция за PayPal бутон */
@media (max-width: 600px) {
    #paypal-button {
        min-width: 100%;
        margin-top: 10px;
    }
}

/* Край на мобилните подобрения */
/* Допълнителни стилове за по-добра четимост */
body {
    line-height: 1.6;
}
p {
    margin-bottom: 16px;
}
a {
    color: #2563eb;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/* Заглавия */
h1, h2, h3 {
    margin-top: 24px;
    margin-bottom: 16px;
}
h1 {
    font-size: 2.5em;
}
h2 {
    font-size: 1.8em;
}
h3 {
    font-size: 1.4em;
    color: #2a3b4c;
}
/* Формуляри */
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e7ef;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    margin-bottom: 16px;
}
input:focus, select:focus, textarea:focus {
    border-color: #f6c700;
    outline: none;
    box-shadow: 0 0 4px rgba(246, 199, 0, 0.2);
}
/* Кнопки */
button, .button {
    background: #f6c700;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
button:hover, .button:hover {
    background: #ffd700;
    transform: translateY(-1px);
}
button:active, .button:active {
    transform: translateY(0);
}
/* Списъци */
ul, ol {
    padding-left: 20px;
    margin-bottom: 16px;
}
li {
    margin-bottom: 8px;
}
/* Таблици */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}
table th, table td {
    padding: 12px;
    border: 1px solid #e0e7ef;
    text-align: left;
}
table th {
    background: #f6c700;
    color: #fff;
}
table tr:nth-child(even) {
    background: #f9fafb;
}
table tr:hover {
    background: #f4f7fa;
}
/* Допълнителни стилове за по-добра четимост */
body {
    line-height: 1.6;
}
p {
    margin-bottom: 16px;
}
a {
    color: #2563eb;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.gradient-custom-2 {

background: #fccb90;


background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);


background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
}

@media (min-width: 768px) {
.gradient-form {
height: 100vh !important;
}
}
@media (min-width: 769px) {
.gradient-custom-2 {
border-top-right-radius: .3rem;
border-bottom-right-radius: .3rem;
}
}
.gradient-custom-2 .text-muted {
color: #fff !important;
}
.gradient-custom-2 .text-muted a {
color: #fff !important;
}
.gradient-custom-2 .text-muted a:hover {
color: #f6c700 !important;
}
.gradient-custom-2 .text-muted a:focus {
    color: #f6c700 !important;
}
.gradient-custom-2 .text-muted a:active {
    color: #f6c700 !important;
}
.gradient-custom-2 .text-muted a:hover {
    text-decoration: underline;
}
.gradient-custom-2 .text-muted a:focus {
    text-decoration: underline;
}
