.lb-theme-oldskool .lb-home-page {
  max-width: none;
  padding: 0;
}

/* Single-row nav like OldSkool demo: logo | menu | sidelinks */
.lb-theme-oldskool .navbar {
  position: relative;
  z-index: 1030;
  overflow: visible !important;
}
.lb-theme-oldskool .navbar .container-fluid,
.lb-theme-oldskool .lb-oldskool-navrow {
  overflow: visible !important;
}
.lb-theme-oldskool .nav-sidelinks > li > .nav-link,
.lb-theme-oldskool .nav-sidelinks > li > a.nav-link,
.lb-theme-oldskool .nav-sidelinks > li > span.nav-link,
.lb-theme-oldskool .lb-oldskool-cart-slot .lb-oldskool-cart-toggle {
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  font-family: Roboto, sans-serif !important;
  font-size: 0.825rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
  color: #111 !important;
  text-decoration: none !important;
}
.lb-theme-oldskool .lb-oldskool-cart-slot {
  position: relative !important;
}

/* Mobile: collapse sits under logo/icons like Oldskool demo */
@media (max-width: 991.98px) {
  .lb-theme-oldskool .lb-oldskool-navrow {
    flex-wrap: wrap !important;
  }
  .lb-theme-oldskool .lb-oldskool-navrow > .navbar-brand {
    order: 0;
  }
  .lb-theme-oldskool .lb-oldskool-navrow > .nav-sidelinks {
    order: 1;
    margin-left: auto;
  }
  .lb-theme-oldskool .lb-oldskool-navrow > .navbar-collapse {
    order: 2;
    flex-basis: 100% !important;
    flex-grow: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.75rem;
    overflow: visible !important;
  }
  .lb-theme-oldskool .lb-oldskool-navrow > .navbar-collapse.collapsing,
  .lb-theme-oldskool .lb-oldskool-navrow > .navbar-collapse.show {
    display: block !important;
  }
  .lb-theme-oldskool .lb-oldskool-menu {
    flex-direction: column !important;
    width: 100%;
  }
  /* Demo: gray stacked nav pills inside mobile Menu */
  .lb-theme-oldskool .navbar-collapse .lb-oldskool-menu > .nav-item > .nav-link {
    display: block;
    padding: 1rem !important;
    background: #f3f5f6;
    border-radius: 0.25rem;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.825rem;
    font-weight: 500;
  }
  /* Expand Preču grupas / Pages inline like demo Men — not absolute overlay.
     Exclude cart dropdown (also .dropdown-menu inside .navbar). */
  .lb-theme-oldskool .navbar .lb-oldskool-menu .dropdown-menu,
  .lb-theme-oldskool .navbar .dropdown-megamenu {
    position: static !important;
    float: none !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.5rem 0 1rem !important;
    background: transparent !important;
  }
  .lb-theme-oldskool .navbar .lb-oldskool-menu .dropdown-menu.show,
  .lb-theme-oldskool .navbar .dropdown-megamenu.show {
    display: block !important;
  }
  .lb-theme-oldskool .navbar .dropdown-megamenu .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 992px) {
  .lb-theme-oldskool .lb-oldskool-navrow {
    flex-wrap: nowrap !important;
    gap: 1rem;
  }
  .lb-theme-oldskool .lb-oldskool-navrow > .navbar-brand {
    margin-right: 0.75rem;
  }
  .lb-theme-oldskool .lb-oldskool-navrow > .navbar-collapse {
    display: flex !important;
    flex-basis: 0;
    flex-grow: 1;
    min-width: 0;
    justify-content: center;
    overflow: visible !important;
  }
  .lb-theme-oldskool .navbar-collapse {
    overflow: visible !important;
  }
  .lb-theme-oldskool .lb-oldskool-menu {
    flex-wrap: nowrap;
  }
  .lb-theme-oldskool .lb-oldskool-menu .nav-link {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .lb-theme-oldskool .nav-sidelinks {
    flex-shrink: 0 !important;
    margin-left: 0.5rem;
  }
  .lb-theme-oldskool .navbar .dropdown-megamenu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-top: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1.25rem 1.5rem !important;
    z-index: 1040;
    background: #fff;
  }
  .lb-theme-oldskool .navbar .dropdown-megamenu.show {
    display: block !important;
  }
}
.lb-theme-oldskool .dropdown-megamenu .dropdown-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.lb-theme-oldskool .dropdown-megamenu .dropdown-item {
  padding: 0.2rem 0;
  font-size: 0.85rem;
}
.lb-theme-oldskool .dropdown-megamenu .dropdown-link-all {
  font-weight: 700;
  margin-top: 0.25rem;
}
.lb-theme-oldskool .lb-oldskool-mega-brands img {
  max-height: 22px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.85;
}
.lb-theme-oldskool .dropdown-megamenu .link-cover {
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: #111;
  font-size: 0.85rem;
}
.lb-theme-oldskool .nav-sidelinks .dropdown-toggle::after {
  margin-left: 0.35em;
}
.lb-theme-oldskool .lb-oldskool-footer {
  background: #fff;
  color: #6c757d;
}
.lb-theme-oldskool .lb-oldskool-footer a:hover {
  color: #111 !important;
}

/* Home hero — demo vh-75 / rounded */
.lb-theme-oldskool .lb-oldskool-hero,
.lb-theme-oldskool .lb-oldskool-hero .swiper-slide {
  min-height: 60vh;
}
@media (min-width: 992px) {
  .lb-theme-oldskool .lb-oldskool-hero,
  .lb-theme-oldskool .lb-oldskool-hero .swiper-slide {
    min-height: 60vh;
  }
}
.lb-theme-oldskool .lb-oldskool-hero .bg-img-cover {
  background-size: cover;
  background-position: center center;
}
.lb-theme-oldskool .lb-oldskool-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}
.lb-theme-oldskool .lb-oldskool-hero-title {
  max-width: 16ch;
  line-height: 1.05;
  word-break: break-word;
  font-size: clamp(2rem, 5vw, 3.75rem) !important;
}
.lb-theme-oldskool .brand-section .marquee-section {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.lb-theme-oldskool .brand-section .f-w-24 img {
  max-height: 28px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.85;
}
.lb-theme-oldskool .lb-oldskool-cats {
  padding: 1rem 0 3rem;
}
.lb-theme-oldskool .img-clip-shape-one img {
  aspect-ratio: 3/4;
  object-fit: cover;
}
.lb-theme-oldskool .lb-oldskool-banner img {
  filter: brightness(0.85);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.lb-theme-oldskool .lb-oldskool-banner:hover img {
  transform: scale(1.03);
  filter: brightness(0.75);
}
.lb-theme-oldskool .lb-oldskool-cat-card img {
  transition: transform 0.35s ease;
}
.lb-theme-oldskool .lb-oldskool-cat-card:hover img {
  transform: scale(1.05);
}
.lb-theme-oldskool .lb-content-wrap {
  padding: 1.5rem 0 3rem;
  min-height: 50vh;
}
.lb-theme-oldskool .lb-home-page + .lb-content-wrap,
.lb-theme-oldskool .lb-content-wrap:has(.lb-oldskool-home) {
  padding-top: 0;
}
.lb-theme-oldskool:has(.lb-oldskool-home) .lb-content-wrap {
  padding-top: 0;
}
.lb-theme-oldskool #content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}
.lb-theme-oldskool .product-thumb {
  border: 1px solid #eee;
  background: #fff;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
}
.lb-theme-oldskool .product-thumb .image {
  text-align: center;
  padding: 1rem;
}
.lb-theme-oldskool .product-thumb .caption {
  padding: 0 1rem;
}
.lb-theme-oldskool .dropdown-heading a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.lb-theme-oldskool #search {
  width: 100%;
}
.lb-theme-oldskool #search .form-control {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.lb-theme-oldskool #cart.lb-oldskool-cart {
  position: relative !important;
  display: inline-block !important;
}
.lb-theme-oldskool #cart .lb-oldskool-cart-toggle {
  cursor: pointer;
  display: inline-block;
}
.lb-theme-oldskool #cart.lb-oldskool-cart .cart-dropdown {
  display: none;
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  top: 100% !important;
  bottom: auto !important;
  transform: none !important;
  inset: auto 0 auto auto !important;
  min-width: 320px;
  width: min(380px, 92vw);
  max-width: min(380px, 92vw);
  padding: 1rem 1.25rem 1.25rem;
  margin: 0.5rem 0 0 0 !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
  z-index: 1050;
}
.lb-theme-oldskool #cart.lb-oldskool-cart .cart-dropdown.show,
.lb-theme-oldskool #cart.lb-oldskool-cart .cart-dropdown[data-show] {
  display: block !important;
}
.lb-theme-oldskool #cart .lb-oldskool-cart-items {
  max-height: 320px;
  overflow-y: auto;
}
.lb-theme-oldskool #cart .cart-dropdown a {
  text-decoration: none;
}
.lb-theme-oldskool #cart .cursor-pointer {
  cursor: pointer;
}
@media (max-width: 575.98px) {
  .lb-theme-oldskool #cart.lb-oldskool-cart .cart-dropdown {
    min-width: 280px;
    width: min(320px, 92vw);
    right: 0 !important;
  }
}

/* Category page */
.lb-theme-oldskool .lb-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lb-theme-oldskool .lb-pagination .pagination > li > a,
.lb-theme-oldskool .lb-pagination .pagination > li > span {
  display: inline-block;
  min-width: 40px;
  padding: 0.5rem 0.85rem;
  text-align: center;
  border: 1px solid #eee;
  color: #111;
  text-decoration: none;
  background: #f8f8f8;
  font-size: 0.85rem;
}
.lb-theme-oldskool .lb-pagination .pagination > .active > span,
.lb-theme-oldskool .lb-pagination .pagination > .active > a {
  background: #111;
  border-color: #111;
  color: #fff;
}
.lb-theme-oldskool .btn-quick-add {
  width: 100%;
}
.lb-theme-oldskool #offcanvasFilters .list-unstyled a {
  color: #333;
}
.lb-theme-oldskool .card .link-cover {
  color: inherit;
  font-weight: 600;
}
.lb-theme-oldskool .gap-2 {
  gap: 0.5rem;
}
.lb-theme-oldskool .gap-3 {
  gap: 1rem;
}

/* Product detail */
.lb-theme-oldskool .top-5 { top: 1.25rem; }
.lb-theme-oldskool #product .form-group { margin-bottom: 1rem; }
.lb-theme-oldskool #product .control-label { display: block; font-weight: 600; margin-bottom: .35rem; }
.lb-theme-oldskool .lb-qty-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 140px !important;
  max-width: 140px !important;
}
.lb-theme-oldskool .lb-qty-group > .btn {
  flex: 0 0 2.25rem !important;
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  padding: 0.45rem 0 !important;
  line-height: 1.2 !important;
  font-size: 1rem !important;
  border-radius: 0 !important;
}
.lb-theme-oldskool .lb-qty-group > .form-control {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  padding: 0.45rem 0.25rem !important;
  text-align: center;
  border-radius: 0 !important;
}
.lb-theme-oldskool .rating .stars { color: #111; }
.lb-theme-oldskool .accordion-button:not(.collapsed) { background: #f8f8f8; color: #111; box-shadow: none; }

/* Cart page */
.lb-theme-oldskool #checkout-cart .nav-link-checkout {
  color: #adb5bd;
  text-decoration: none;
  position: relative;
}
.lb-theme-oldskool #checkout-cart .nav-link-checkout.active {
  color: #111;
}
.lb-theme-oldskool #checkout-cart .aside-checkout {
  min-height: 100%;
}
.lb-theme-oldskool #checkout-cart .fs-9 {
  font-size: 0.7rem;
}
.lb-theme-oldskool #checkout-cart input[type="number"]::-webkit-outer-spin-button,
.lb-theme-oldskool #checkout-cart input[type="number"]::-webkit-inner-spin-button {
  opacity: 1;
}

/* Checkout */
.lb-theme-oldskool #checkout-checkout .lb-checkout-accordion .panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 1rem;
}
.lb-theme-oldskool #checkout-checkout .lb-checkout-step .panel-heading {
  background: transparent;
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0;
}
.lb-theme-oldskool #checkout-checkout .lb-checkout-step .panel-title,
.lb-theme-oldskool #checkout-checkout .lb-checkout-step .panel-title a {
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}
.lb-theme-oldskool #checkout-checkout .lb-checkout-step .panel-body {
  padding: 1.25rem 0;
}
.lb-theme-oldskool #checkout-checkout .panel-collapse:not(.show):not(.in) {
  display: none;
}
.lb-theme-oldskool #checkout-checkout .panel-collapse.collapse.in,
.lb-theme-oldskool #checkout-checkout .panel-collapse.collapse.show {
  display: block;
}
.lb-theme-oldskool #checkout-checkout .checkout-item-qty {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  background: #111;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-theme-oldskool #checkout-checkout .form-radio-highlight .form-check-label {
  width: 100%;
  border: 1px solid #eee;
  padding: 1rem;
  cursor: pointer;
}
.lb-theme-oldskool #checkout-checkout .form-radio-highlight .form-check-input:checked + .form-check-label {
  border-color: #111;
  background: #f8f8f8;
}
.lb-theme-oldskool #checkout-checkout .form-group { margin-bottom: 1rem; }
.lb-theme-oldskool #checkout-checkout legend { font-size: 1rem; font-weight: 700; }
