*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

.container {
    max-width: 1370px;
}

/* ========================================
   STICKY HEADER WRAPPER
   ======================================== */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* ========================================
   1. TOP BAR
   ======================================== */
.top-bar {
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a {
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.top-bar-left a:hover {
    opacity: 0.7;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-phone {
    color: #ffffff;
}

.top-bar-phone a {
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.top-bar-phone a:hover {
    opacity: 0.7;
}

/* Language Dropdown */
.top-bar-lang .dropdown-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 13px;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.top-bar-lang .dropdown-toggle:hover {
    opacity: 0.7;
}

.top-bar-lang .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    font-size: 10px;
}

.top-bar-lang .dropdown-menu {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    min-width: 160px;
    padding: 4px 0;
    margin-top: 8px;
}

.top-bar-lang .dropdown-item {
    color: #ffffff;
    font-size: 13px;
    padding: 6px 16px;
}

.top-bar-lang .dropdown-item:hover,
.top-bar-lang .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.top-bar-lang .dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Top Bar Responsive */
@media (max-width: 767.98px) {
    .top-bar-left {
        display: none;
    }

    .top-bar-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 400px) {
    .top-bar-phone-label {
        display: none;
    }
}

/* ========================================
   2. HEADER / NAVIGACIJA
   ======================================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.site-header .navbar {
    height: 82px;
    padding: 0;
    align-items: flex-end;
    padding-bottom: 10px;
}

/* Logo */
.navbar-brand {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.brand-logo {
    height: 30px;
    width: auto;
}

.brand-sub {
    font-size: 10px;
    color: #888888;
    letter-spacing: 1px;
    margin-top: 2px;
    align-self: flex-end;
}

/* Nav links */
.site-header .nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    padding: 8px 16px !important;
    transition: color 0.2s ease;
}

.site-header .nav-link:hover {
    color: #666666;
}

/* Hamburger toggler */
.site-header .navbar-toggler {
    border: none;
    padding: 4px 8px;
    box-shadow: none;
}

.site-header .navbar-toggler:focus {
    box-shadow: none;
}

.site-header .navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

/* Mobile nav */
@media (max-width: 991.98px) {
    .site-header {
        position: relative;
    }

    .site-header .navbar {
        height: auto;
        min-height: 60px;
        align-items: center;
        padding: 10px 0;
    }

    .site-header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        z-index: 1040;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 0 16px;
        border-top: 1px solid #e5e5e5;
    }

    .site-header .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .site-header .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .nav-mobile-links {
        padding-top: 20px;
        margin-top: 4px;
        border-top: 2px solid #e0e0e0;
    }

    .nav-mobile-links a {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        letter-spacing: 0.5px;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        transition: color 0.2s ease;
    }

    .nav-mobile-links a:hover {
        color: #666666;
    }

    .nav-mobile-links a:last-child {
        border-bottom: none;
    }

    .nav-mobile-divider {
        display: none;
    }
}

/* ========================================
   3. PRODUKTŲ SUBMENIU
   ======================================== */
.product-submenu {
    position: relative;
    background-color: #f5f5f5;
}

.product-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.08);
    z-index: 2;
    pointer-events: none;
}

.product-submenu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--label-height, 30px);
    background-color: #e2e2e2;
}

.product-submenu-inner {
    position: relative;
    z-index: 1;
}

.product-submenu-row {
    display: flex;
    align-items: stretch;
}

/* Tabs - kairė pusė */
.product-submenu-tabs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 210px;
    padding: 15px 25px 15px 0;
    gap: 6px;
    margin-bottom: var(--label-height, 30px);
}

.product-tab {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.product-tab:hover {
    color: #555555;
}

.product-tab.active {
    font-weight: 700;
}

/* Produktų sąrašas - dešinė pusė */
.product-submenu-items {
    flex: 1;
}

.product-list {
    display: none;
}

.product-list.active {
    display: flex;
    align-items: stretch;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    border-left: 1px solid #e0e0e0;
    transition: opacity 0.2s ease;
}

.product-item:hover {
    opacity: 0.7;
}

.product-icon-placeholder {
    width: 100%;
    height: 147px;
    background-color: transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon-placeholder svg {
    width: 50px;
    height: 50px;
    opacity: 0.3;
}

.product-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    font-size: 11px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    padding: 6px 4px;
    background-color: #e2e2e2;
}

/* ========================================
   4. HERO SEKCIJA
   ======================================== */
.hero-section {
    background-color: #ffffff;
    padding: 12px 0;
}

.hero-section .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Rodyklės */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-section .carousel:hover .carousel-control-prev,
.hero-section .carousel:hover .carousel-control-next {
    opacity: 0.7;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}

/* Indikatoriai */
.hero-section .carousel-indicators {
    margin-bottom: 15px;
}

.hero-section .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    opacity: 1;
}

.hero-section .carousel-indicators button.active {
    background-color: #ffffff;
}

/* Kai tik 1 slaidas - paslėpti navigaciją */
.hero-section .carousel-inner:only-child ~ .carousel-control-prev,
.hero-section .carousel-inner:only-child ~ .carousel-control-next {
    display: none;
}

/* ========================================
   5. ŠIO MĖNESIO PASIŪLYMAI
   ======================================== */
.offers-section {
    padding: 30px 0 40px;
    background-color: #ffffff;
}

.offers-title {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.offers-layout {
    display: flex;
    gap: 25px;
}

.offers-main {
    flex: 1;
}

.offers-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

/* Akcijų kortelė */
.offer-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid #c0c0c0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.offer-image {
    width: 100%;
    height: auto;
    display: block;
}

.offer-badge {
    position: absolute;
    bottom: 30px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
    color: #1a1a1a;
    text-align: right;
    line-height: 1.1;
    padding: 8px 15px 8px 25px;
    border-radius: 8px 0 0 8px;
}

.offer-badge-prefix {
    display: block;
    font-size: 13px;
    font-weight: 400;
}

.offer-badge-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
}

.offer-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 15px 5px 20px;
    border-radius: 8px 0 0 0;
}

/* Dešinė pusė */
.offers-side {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offers-side-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

/* Nemokama konsultacija */
.offers-consultation {
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.offers-consultation h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Naujiena DUO */
.offers-new-label {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
}

.offers-new-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
}

.offers-new-image svg {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

/* CTA mygtukas */
.offers-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.2s ease;
    align-self: flex-end;
}

.offers-cta:hover {
    color: #555555;
}

.offers-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.offers-cta:hover .offers-cta-icon {
    background-color: #555555;
}

/* Bottom CTA */
.offers-bottom {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .offers-layout {
        flex-direction: column;
    }

    .offers-side {
        width: 100%;
        flex-direction: row;
        gap: 20px;
    }

    .offers-side-block {
        flex: 1;
    }

    .offers-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .offers-cards {
        grid-template-columns: 1fr;
    }

    .offers-side {
        flex-direction: column;
    }
}

/* ========================================
   6. KODĖL TOVA + GAMYKLOS NUOTRAUKA
   ======================================== */
.why-tova-section {
    background-color: #ffffff;
    padding-top: 40px;
}

.why-tova-text {
    text-align: center;
    padding-bottom: 40px;
}

.why-tova-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.why-tova-since {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
}

.why-tova-since strong {
    font-weight: 700;
    color: #1a1a1a;
}

.why-tova-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.why-tova-certs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon svg {
    width: 36px;
    height: 36px;
    opacity: 0.4;
}

/* Gamyklos nuotrauka */
.why-tova-photo {
    padding: 30px 0;
}

.why-tova-photo .container {
    background-color: #d5d5d5;
    padding: 23px 38px;
}

.factory-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767.98px) {
    .why-tova-desc br {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .why-tova-photo .container {
        padding: 23px;
    }
}

/* ========================================
   7. KONTAKTŲ SEKCIJA
   ======================================== */
.contacts-section {
    background-color: #ffffff;
    padding: 40px 0 50px;
}

.contacts-row {
    display: flex;
    gap: 40px;
}

.contact-col {
    flex: 1;
}

/* Antraštė su linija */
.contact-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.contact-heading span:first-child {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
}

.contact-heading-line {
    flex: 1;
    height: 1px;
    background-color: #1a1a1a;
}

/* Susisiekite */
.contact-consult {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-consult-text {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.5;
}

.contact-consult-text strong {
    font-weight: 700;
}

.contact-consult-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-consult-image svg {
    width: 36px;
    height: 36px;
    opacity: 0.4;
}

/* Skambinkite */
.contact-phones {
    font-size: 14px;
    color: #1a1a1a;
    max-width: 70%;
    margin: 0 auto;
}

.contact-phones p {
    margin: 0 0 10px 0;
}

.contact-phones a {
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.phone-label {
    font-size: 13px;
    color: #666666;
}

.contact-phones a:hover {
    opacity: 0.7;
}

/* Rašykite */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 70%;
    margin: 0 auto;
}

.contact-form input {
    width: 100%;
    padding: 8px 14px;
    border: 1px solid #cccccc;
    border-radius: 20px;
    font-size: 13px;
    color: #1a1a1a;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.contact-form input::placeholder {
    color: #999999;
}

.contact-form input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.contact-form-row {
    display: flex;
    gap: 8px;
}

.contact-form-row input {
    flex: 1;
}

.contact-submit {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.contact-submit:hover {
    background-color: #555555;
}

/* Contacts responsive */
@media (max-width: 991.98px) {
    .contacts-row {
        flex-direction: column;
        gap: 30px;
    }

    .contact-phones,
    .contact-form {
        max-width: 100%;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background-color: #29282E;
    padding: 40px 0 30px;
}

.site-footer p {
    margin: 0;
}

.footer-row {
    display: flex;
    gap: 40px;
}

.footer-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.footer-col a {
    font-size: 12px;
    color: #ffffff;
    line-height: 1.9;
    transition: opacity 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
    opacity: 0.7;
}

/* Footer info (4-asis stulpelis) */
.footer-info {
    align-items: flex-start;
    text-align: left;
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-contacts,
.footer-addresses,
.footer-company {
    margin-bottom: 20px;
}

.footer-contacts p,
.footer-addresses p,
.footer-company p {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.8;
}

.footer-addresses em {
    font-style: italic;
}

.footer-company p {
    font-size: 10px;
    color: #ffffff;
    line-height: 2;
}

/* Footer responsive */
@media (max-width: 991.98px) {
    .footer-row {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-col {
        flex: 1 1 calc(50% - 15px);
    }

    .footer-info {
        flex: 1 1 100%;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .footer-col {
        flex: 1 1 100%;
    }
}