.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #07416b;
  --bs-btn-border-color: #07416b;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3a7a9b;
  --bs-btn-hover-border-color: #07416b;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #07416b;
  --bs-btn-active-border-color: #07416b;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #07416b;
  --bs-btn-disabled-border-color: #07416b;
}

.btn-warning {
  --bs-btn-color: #fff;
  --bs-btn-bg: #00adef;
  --bs-btn-border-color: #00adef;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3a7a9b;
  --bs-btn-hover-border-color: #3a7a9b;
  --bs-btn-focus-shadow-rgb: 217,164,6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffcd39;
  --bs-btn-active-border-color: #3a7a9b;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #00adef;
  --bs-btn-disabled-border-color: #00adef;
}

.border-warning { border-color: #00adef !important; }

.bg-primary h1 { color:#fff; }

footer.bg-dark {
  --bs-bg-opacity: 1;
  background-color: #07416b !important;
}
/* Custom Styles */

/* General Styles */
body {
    background-color: #f8f9fa;
}

/* Product Card Hover Effects */
.product-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-card .card-img-top {
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.opacity-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .opacity-overlay {
    opacity: 1;
}

/* Object Cover for Images */
.object-cover {
    object-fit: cover;
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Cart Button */
.cart-btn {
    color: #495057;
    transition: color 0.3s ease;
}

.cart-btn:hover {
    color: #07416b;
}

/* Table Styles */
.table th {
    font-weight: 600;
    border-bottom-width: 2px;
}

.table td {
    vertical-align: middle;
}

/* Cart Item Styles */
.cart-item {
    transition: background-color 0.3s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

/* Quantity Input Styles */
.quantity-input {
    width: 50px;
    text-align: center;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
}

/* Animation for Hero Section */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero .position-relative {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation for Circles */
@keyframes pulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.1; }
}

.position-absolute.rounded-circle {
    animation: pulse 4s ease-in-out infinite;
}

.position-absolute.rounded-circle:nth-child(2) {
    animation-delay: 2s;
}

/* Active Navigation Link */
.nav-link.active {
    font-weight: 600;
    color: #07416b !important;
}

/* Footer Link Hover */
footer a.text-decoration-none:hover {
    color: #fff !important;
}

/* Custom Colors */
.bg-primary {
    background-color: #07416b !important;
}

.bg-warning {
    background-color: #00adef !important;
}

.bg-success {
    background-color: #198754 !important;
}

.text-primary {
    color: #07416b !important;
}

.text-warning {
    color: #00adef !important;
}

.text-success {
    color: #198754 !important;
}

.text-white-80 { color:rgba(255,255,255,0.9); }
.pay_type .form-check input { width:0; height:0; border:0; opacity:0; }
.pay_type .form-check { padding:0; margin-bottom:10px; display:block; float:left; width:calc(50% - 5px); margin-right:10px; }
.pay_type .form-check:nth-child(2n) { margin-right:0; }
.pay_type .form-check label { border:2px solid var(--bs-border-color); padding:10px; border-radius:5px; }
.pay_type .form-check img { max-width:100%; }
.pay_type .form-check input:checked + label { border-color:#07416b; }

.logo { max-height:50px; margin-top:-5px; margin-bottom:-5px; }

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #ccc;
    border-bottom-color: #00adef;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 

.checkbox {
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
  display: block;
}

/* Paslėpti įprastą checkbox */
.checkbox input[type="checkbox"], .checkbox input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Sukuriame mūsų checkbox simbolį */
.checkbox span {
  position: absolute;
  left: 0;
  top: 3px;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 2px solid #07416b;
  border-radius: 4px;
  transition: 0.2s;
}

.checkbox input[type="checkbox"]:checked + span, .checkbox input[type="radio"]:checked + span {
background-color:#07416b;
}

.checkbox input[type="checkbox"]:checked + span::after, .checkbox input[type="radio"]:checked + span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox a {
  color: #07416b;
  text-decoration: none;
}

.checkbox a:hover {
  text-decoration: underline;
}
.pvn_tx { font-size:80%;color:#666;display:inline-block;margin-left:3px; }

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .position-relative {
        margin-top: 2rem;
    }
}

  .partner-card{
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;           
  }

  .partner-card img.partner-logo{
    height: 42px;           
    width: auto;
    max-width: 100%;            
    object-fit: contain;        
    filter: grayscale(100%);
    opacity: .75;
    transition: filter .2s ease, opacity .2s ease;
    display:block;
    margin: 0 auto;
  }

  .partner-card:hover img.partner-logo{
    filter: grayscale(0%);
    opacity: 1;
  }

  @media (max-width: 991px){
    .partner-card img.partner-logo{
      height: 50px;        
    }
  }

  @media (max-width: 576px){
    .partner-card img.partner-logo{
      height: 60px;           
    }
  }