html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
html { scroll-behavior: smooth; }
body > footer {
    margin-top: auto;
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f8fc;
    color: #111;
}
.hero {
    background: #003366;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}
.hero a {
    margin-top: 1.5rem;
    display: inline-block;
    background: #FFA000;
    color: #111;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}
.section {
    padding: 3rem 2rem;
    text-align: center;
}
.section img {
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}
.section h2 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    color: #003366;
}
.section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    opacity: 0.85;
}
.blue {
    background: #e0f0ff;
}
.green {
    background: #e8f5e9;
}
.beige {
    background: #fff8e1;
}
.comparison, .specs {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}
.comparison table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}
.comparison th, .comparison td {
    padding: 1rem;
    border: 1px solid #ccc;
}
.comparison th {
    background: #003366;
    color: white;
}
.cta {
    background: #0074D9;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}
.cta a {
    background: white;
    color: #0074D9;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}
.faq-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 2rem;
    justify-content: flex-start;
    box-sizing: border-box;
}

.faq-card {
    flex: 0 0 300px;
    background: #f0f8ff;
    border-radius: 12px;
    padding: 1.5rem;
    scroll-snap-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 180px;
}
.faq-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.faq-card p {
    font-size: 0.95rem;
    opacity: 0.85;
}
.faq-slider::-webkit-scrollbar {
    height: 8px;
}
.faq-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
footer {
    background: #001f3f;
    text-align: center;
    color: white;
    padding: 2rem 1rem 1rem;
}
footer p {
    margin: 0;
}
footer .social-icons {
    margin-top: 1rem;
}
footer .social-icons a {
    color: white;
    margin: 0 0.75rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}
footer .social-icons a:hover {
    color: #FFD700;
    transform: scale(1.2);
}
.chat-icons a {
    color: white;
    margin: 0 0.75rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}
.chat-icons a:hover {
    color: #00e676;
    transform: scale(1.2)
}
.floating-cta {
    animation: pulse 2s infinite;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #FFA000;
    color: #111;
    padding: 1rem 1.4rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: background 0.3s;
}
.floating-cta:hover {
    background: #ffc233;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,160,0, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255,160,0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255,160,0, 0); }
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.footer-social a {
    color: white;
    font-size: 1.6rem;
    transition: transform 0.3s, color 0.3s;
}
.footer-social a:hover {
    color: #FFD700;
    transform: scale(1.25);
}
.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: #ccc;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #FFD700;
}
.footer-copy {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .hero a { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
    .section h2 { font-size: 1.3rem; }
    .section p { font-size: 0.95rem; padding: 0 1rem; }
    .comparison table, .specs ul { font-size: 0.9rem; }
    .cta h2 { font-size: 1.4rem; }
    .cta p { font-size: 1rem; }
    footer { font-size: 0.8rem; }
}

#dynamic-text {
    display: inline-block;
    transition: all 0.6s ease;
    opacity: 0;
    transform: scale(0.8);
}

#dynamic-text.show {
    opacity: 1;
    transform: scale(1);
}

.custom-style-1 { position: fixed; top: 1rem; right: 1rem; z-index: 9999;}

.custom-style-2 { background: #001f3f; color: white; padding: 0.5rem 1rem; border-radius: 5px; text-decoration: none; font-size: 0.9rem;}

.custom-style-3 { background: #fdfdfd;}

.custom-style-4 { text-align:center;}

.custom-style-5 { text-align:center; font-size:1rem; line-height:1.8;}

.custom-style-6 { background:#002d5e; color:white; padding:4rem 2rem; text-align:center;}

.custom-style-7 { font-size:2rem; margin-bottom:1rem;}

.custom-style-8 { opacity:0.9; font-size: 1.1rem;}

.custom-style-9 { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem;}

.custom-style-10 { background: white; color: #0074D9; padding: 1rem 2rem; border-radius: 8px; font-weight: bold; text-decoration: none; border: 2px solid #0074D9;}

.custom-style-11 { background: #665CAC !important; color: white !important; padding: 1rem 2rem; border-radius: 8px; font-weight: bold; text-decoration: none;}

.custom-style-12 { background: #25D366 !important; color: white !important; padding: 1rem 2rem; border-radius: 8px; font-weight: bold; text-decoration: none;}

.custom-style-13 { background:white; padding:4rem 2rem;}

.custom-style-14 { text-align:center;}


.compatible-section {
    background: #e6f7ff;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 2px solid #0074D9;
    border-bottom: 2px solid #0074D9;
}
.compatible-content h2 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 1rem;
}
.compatible-content p {
    max-width: 700px;
    margin: 0 auto 1rem;
    font-size: 1.05rem;
    color: #111;
    opacity: 0.9;
}
.compatible-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}
.compatible-content ul li {
    font-size: 1rem;
    margin: 0.3rem 0;
}
.cta-link {
    display: inline-block;
    background: #0074D9;
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}
.cta-link:hover {
    background: #005fa3;
}

.order-section {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    background: #f8f8f8;
    text-align: center;
    margin-top: 0;
}

.order-section h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1rem;
}

.order-section p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: #333;
}

.order-table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 90%;
}

.order-table th,
.order-table td {
    border: 1px solid #ccc;
    padding: 1rem;
}

.order-table th {
    background: #003366;
    color: white;
}

.order-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0 0 0 0;
    background: #f9f9f9;
}

.order-actions button {
    background: #0074D9;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.order-actions button:hover {
    background: #005fa3;
}

.stripe-button {
    background: #0074D9;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.stripe-button:hover {
    background: #005fa3;
}

.order-section-inner {
    padding: 3rem 2rem;
}

.order-title {
    text-align: center;
    color: #003366;
}

.order-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.order-warning {
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 0;
    color: #cc0000 !important;
}

.order-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.color-options-section {
    padding: 2rem 1rem;
    background: #fff;
    text-align: center;
}

.color-options-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #003366;
}

.color-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.color-box {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Цветови класове */
.color-carbon { background-color: #2c2c2c; }        /* Карбон */
.color-camo { background-color: #4b4f45; }           /* Камуфлаж (Тъмен) */
.color-grey { background-color: #7f8c8d; }           /* Сива */
.color-blue { background-color: #2980b9; }           /* Синя */
.color-black { background-color: #000; }             /* Черен */

.product-card { transition: transform .15s ease, box-shadow .15s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08) !important; }
.product-media { aspect-ratio: 4 / 3; background: #f6f7f9; border-radius: .75rem; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-actions .btn { border-radius: .75rem; }

.products-top-badges .badge{
    margin-right: 12px;
    margin-bottom: 10px;
    padding: .55rem .75rem;
    border-radius: 999px;
    font-size: .9rem;
}

.product-badge.discount-badge{
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;

    display: inline-flex;
    align-items: center;

    padding: .35rem .55rem;
    border-radius: 999px;

    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .2px;

    color: #fff;
    background: linear-gradient(135deg, #ff3b30, #d40000);
    box-shadow: 0 6px 14px rgba(212, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.25);
}
.product-badge.discount-badge i{ font-size: .95rem; }

.clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-fade{ position: relative; }
.clamp-fade:after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:28px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

/* Optional: make "Read more" look like modern link */
.read-more-btn{
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
/* Big discount star (starburst) */
.discount-star{
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .2px;

    background: #e10600; /* red */
    box-shadow: 0 10px 20px rgba(225, 6, 0, .25);
    text-shadow: 0 1px 0 rgba(0,0,0,.15);

    /* star shape */
    clip-path: polygon(
        50% 0%,
        60% 12%,
        75% 6%,
        78% 22%,
        94% 25%,
        84% 38%,
        100% 50%,
        84% 62%,
        94% 75%,
        78% 78%,
        75% 94%,
        60% 88%,
        50% 100%,
        40% 88%,
        25% 94%,
        22% 78%,
        6% 75%,
        16% 62%,
        0% 50%,
        16% 38%,
        6% 25%,
        22% 22%,
        25% 6%,
        40% 12%
    );

    border: 2px solid rgba(255,255,255,.65);
}

/* Slight hover polish */
.product-card:hover .discount-star{
    transform: rotate(-2deg) scale(1.02);
    transition: transform .15s ease;
}

/* Mobile bigger */
@media (max-width: 576px){
    .discount-star{
        width: 72px;
        height: 72px;
        font-size: 15px;
    }
}
/* extra spacing above actions block */
.product-actions { margin-top: .75rem; }

/* make the small "opens in new window" not stick too much to the button */
.product-actions .text-muted.small { margin-top: .15rem; }

/* =========================
   Product Modal (Bootstrap 4)
   ========================= */

.product-modal .modal-content{
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.product-modal .modal-header{
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 16px 18px;
}

.product-modal .modal-title{
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .2px;
}

.product-modal-icon{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
}

.product-modal-close{
    opacity: .55;
    transition: opacity .15s ease, transform .15s ease;
}
.product-modal-close:hover{
    opacity: .9;
    transform: scale(1.05);
}

.product-modal-body{
    padding: 18px;
    background: #fff;
}

/* Make the content look like a spec sheet */
.product-modal-typography{
    font-size: 15px;
    line-height: 1.65;
    color: #1f2937;
}

.product-modal-typography p{
    margin: 0 0 12px 0;
}

.product-modal-typography strong{
    color: #111827;
    font-weight: 800;
}

.product-modal-typography ul{
    margin: 10px 0 14px 0;
    padding-left: 18px;
}

.product-modal-typography li{
    margin: 6px 0;
}

/* Nice "section" feeling when text has many paragraphs/lists */
.product-modal-typography p + ul{
    padding-top: 6px;
}

/* Optional: code-ish chips for values (if you later wrap them in <code>) */
.product-modal-typography code{
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 13px;
}

/* Footer */
.product-modal .modal-footer{
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.06);
    padding: 14px 18px;
}

/* Better scroll area on small screens */
.product-modal .modal-dialog-scrollable .modal-body{
    max-height: calc(100vh - 220px);
    overflow: auto;
}

/* ===== Premium Sticky Topbar ===== */
.bv-topbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.bv-topbar__inner{
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 10px 12px;
    border-radius: 18px;

    /* premium glass */
    background: rgba(8, 18, 34, 0.62);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.26),
        inset 0 1px 0 rgba(255,255,255,0.10);
}

/* Back button */
.bv-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.bv-btn--glass{
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.bv-btn--glass:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.26);
    box-shadow: 0 14px 28px rgba(0,0,0,0.24);
}

.bv-btn--glass:active{ transform: translateY(0); opacity: .95; }

.bv-btn:focus-visible{
    outline: 3px solid rgba(255,255,255,0.55);
    outline-offset: 3px;
}

/* ===== Segmented Control (Languages) ===== */
.bv-segment{
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px;
    border-radius: 16px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 10px 24px rgba(0,0,0,0.18);
}

.bv-segment__item{
    height: 38px;
    min-width: 48px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    font-weight: 900;
    letter-spacing: .4px;
    text-decoration: none;

    color: rgba(255,255,255,0.92);

    background: transparent;
    border: 1px solid transparent;

    transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.bv-segment__item:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 10px 22px rgba(0,0,0,0.20);
}

/* Active tab */
.bv-segment__item.is-active{
    color: rgba(10,16,26,0.92);
    background: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.60);
    box-shadow:
        0 12px 26px rgba(0,0,0,0.24),
        inset 0 1px 0 rgba(255,255,255,0.60);
    cursor: default;
}

/* Subtle “premium shine” on the whole bar */
.bv-topbar__inner{
    position: relative;
    overflow: hidden;
}
.bv-topbar__inner::before{
    content:"";
    position:absolute;
    top:-120%;
    left:-30%;
    width:60%;
    height:300%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    transform: rotate(18deg);
    transition: left .7s ease;
    pointer-events:none;
}
.bv-topbar__inner:hover::before{
    left:120%;
}

/* Mobile */
@media (max-width: 520px){
    .bv-topbar{ top: 8px; padding: 0 10px; }
    .bv-topbar__inner{ padding: 8px 10px; border-radius: 16px; }
    .bv-btn{ height: 40px; padding: 0 12px; border-radius: 12px; }
    .bv-btn__text{ display:none; } /* само стрелка */
    .bv-segment{ padding: 5px; border-radius: 14px; }
    .bv-segment__item{ height: 36px; min-width: 46px; border-radius: 11px; }
}
