/* General Styles */
body {
    font-family: "PT Sans", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
}

a {
    text-decoration: none;
}

.top-logo {
    width: 150px;
}

.navbar-brand {
    width: 20% !important;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5,45,57, 1) !important; /* Transparent effect */
    z-index: 1000;
}

.nav-link {
    color: #fff !important;
}

.nav-link:hover {
    border: 1px solid #fff;
}

a.nav-link-mobile {
    color: #fff !important;
    text-decoration: none;
    display: block;
    border-bottom: solid 1px rgb(90, 101, 102);
    padding: 15px 0;
}

a.nav-link-mobile i {
    margin-right: 10px;
    color: #4df49c;
}

a.nav-link-mobile:hover {
    background-color: rgba(53, 57, 61, 0.3);;
}

.side-menu {
    width: 40px;
    position: fixed;
    top: -20px; /* Adjusted below the navbar */
    left: 0;
    height: 120vh;
    background:
        radial-gradient(circle at top right,#2563eb22,transparent 30%),
        radial-gradient(circle at bottom left,#06b6d422,transparent 30%),
        linear-gradient(135deg,#081120,#0f172a);
    transition: width 0.3s;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 999;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.2) transparent;
}
.side-menu:hover {
    width: 200px;
}
.side-menu ul {
    padding: 0;
    list-style: none;
    margin-top: 100px;
    max-height: calc(120vh - 110px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}
.side-menu li {
    font-size: 14px;
    padding: 8px;
    text-align: left;
    color: white;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.side-menu li a {
    text-decoration: none;
    display: block;
    color: #fff;
}
.side-menu li i {
    font-size: 16px;
    margin-right: 10px;
}
.side-menu li span {
    display: none;
}
.side-menu:hover li span {
    display: inline;
}
.side-menu li:hover {
    background: #052d39;
    cursor: pointer;
}
@media (max-width: 768px) {
    .side-menu {
        display: none;
    }
}

.hero-section {
    width: 100%;
    height: 80vh;
    background: url('../images/hero-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    /*margin-top: 56px;  Offset for fixed navbar */
}
.search-container {
    max-width: 800px;
    width: 100%;
}

.search-container input.form-control {
    border-radius: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border: 1px solid white;
    font-size: 1.2rem;  /* Increase font size */
    font-weight: bold;   /* Make text bold */
}

.search-container input.form-control:focus {
    box-shadow: none;
    outline: none;
    border-color: white;
}

.search-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.quick-search, .advanced-search {
    border-radius: 0;
    padding: 15px 30px;
}

.signin-button {
    padding: 0.5rem 1rem;
    background-color: #052d39;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 220px;
    border: 1px solid transparent;
    transition: border 0.3s ease;
}

.signin-button:hover,
.signin-button:focus,
.signin-button:active {
    background-color: transparent !important;
    border: 1px solid #fff;
    border-radius: 0;
}

.signin-hello-text {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2;
}

.accounts-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Style the dropdown menu */
.dropdown-menu {
    min-width: 220px; /* Ensure the dropdown is wide enough */
    width: auto; /* Adjust width automatically */
    padding: 0.5rem 0;
    border: 1px solid #052d39;
    background-color: #fff;
    display: none; /* Initially hide the dropdown */
    z-index: 1000; /* Ensure it appears above other elements */
}

/* Show the dropdown when the parent dropdown is hovered */
.dropdown:hover .dropdown-menu {
    display: block;
}

.top-signin-btn {
    margin: 0 auto;
    background-color: #f88909 !important;
    text-align: center;
    border-radius: 10px;
}

a.top-signin-btn:hover {
    color: #fff;
}

.new-customer-link {
    font-size: 12px;
    margin-top: 10px;
}

.account-list {
    text-align: center;
}

.account-list a {
    display: block;
    color: var(--bs-heading-color);
    text-decoration: none;
    padding: 5px 0;
    transition: all .5s;
}

.account-list a:hover {
    color: #fff;
    background: #f88909;
    font-weight: bold;
    letter-spacing: 1px;
}

.account-list a i {
    margin-right: 20px;
    text-align: right;
}

.spotlight-deal {
    background-color: #fff;
    border: solid 1px #ccc;
}

.spotlight-deal h5 {
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.spotlight-item-title a{
    text-decoration: none;
    color: #052d39;
}

.spotlight-item-title a:hover {
    text-decoration: underline;
}

.price-tag {
    font-size: 28px;
    font-weight: bold;
}

.market-price {
    font-size: 24px;
    font-weight: bold;
}

.market-price b{
    text-decoration: line-through;
    color:#767676;
}

.market-price span{
    text-decoration: none !important;
    color:green;
}

.category-box {
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15); /* soft shadow */
    padding: 20px;
    background-color: #fff; /* ensure content pops over backgrounds */
}

.category-box p {
    font-size: 12px;
    font-weight: bold;
    color: #052d39;
    margin-bottom: 15px;
}

.category-box h4 {
  font-size: 1rem;
}

.category-box a {
    text-decoration: none;
    color: #052d39;
}

.category-box a img:hover {
    transform:scale(1.02);
}

@media (max-width: 767.98px) {
    .category-box {
        margin-bottom: 20px;
    }
}


.spotlight-img a img {
    width: auto;
    height: 400px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #052d39;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 60% 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    padding: 10px;
}

.money-back {
    background-image: url('../images/money-back.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 350px;
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: start;
    padding: 30px;
    z-index: 1;
    border-radius: 20px; /* ➕ Add this line */
    overflow: hidden; /* Ensures the background overlay and content respect the border radius */
  }
  
  .money-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust darkness here */
    z-index: 0;
  }
  
  .money-back > div {
    position: relative;
    z-index: 1;
  }
  
  .money-back a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: white;
    color: #052d39;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .money-back a:hover {
    background-color: #052d39;
    color: white;
  }

  .custom-card {
    border: none;
    overflow: hidden;
    position: relative;
  }
  
  .image-wrapper {
    /*position: relative;*/
    overflow: hidden;
    height: 100%;
  }
  
  .image-wrapper img {
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
  }
  
  .image-wrapper:hover img {
    transform: scale(1.05); /* Slight zoom in */
  }
  
  .overlay-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.6); /* semi-transparent overlay */
    color: white;
    z-index: 2;
    font-size: 12px;
    font-weight: 500;
  }

  .card-body {
    /*height: 60px;  Adjust depending on your layout */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }
  
  .card-title {
    font-size: 14px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3333em;
    max-height: 2.4em;
    margin-bottom: 0;
  }
  
  .card-text {
    font-weight: bold;
    font-size: 20px;
    color:#4df49c;
    margin-bottom: 0;
    white-space: nowrap;
  }

  @media (max-width: 576px) {
    .card-text {
      font-size: 16px;
    }
  }

  .card-location {
    font-size: 13px;
    color: #666;
    padding-left: 15px;
  }

  .bg-deals {
    background-image: url('../images/deals.jpg');
    background-size: cover;
    background-position: center;
    height: 100px; /* adjust as needed */
    position: relative;
    display: flex;
    align-items: flex-end; /* aligns text at the bottom */
    border-radius: 0.5rem;
    overflow: hidden;
}

.bg-deals .card-body {
    background-color: rgba(0, 0, 0, 0.5); /* dark overlay for contrast */
    width: 100%;
    padding: 1rem;
}

.card-body a {
    text-decoration: none;
    color: #052d39;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
}

.card-body a:hover {
    background-color: #4df49c;
}

.card-body h4 span {
    font-weight: normal;
    font-size: 16px;
}


.brand-logo {
    height: 60px;
    max-width: 120px;
    object-fit: contain;
  }
  
  @media (max-width: 768px) {
    .brand-logo {
      flex: 1 1 calc(33.333% - 1rem);
    }
  }
  
  @media (min-width: 769px) {
    .brand-logo {
      flex: 1 1 calc(16.666% - 1rem);
    }
  }
  

footer {
    background:
        radial-gradient(circle at top right,#2563eb22,transparent 30%),
        radial-gradient(circle at bottom left,#06b6d422,transparent 30%),
        linear-gradient(135deg,#081120,#0f172a);
    padding: 50px 20px 10px 20px;
}

footer h5 {
    color: #f88909;
}

@media (max-width: 768px) {
    footer h5 {
      margin-top: 20px;
    }
  }

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer ul li a {
    text-decoration: none;
    color: #f8f8f8;
    font-size: 14px;
    line-height: 1.5rem;
    display: block;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer hr {
    border-top: 2px solid #4df49c;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #f8f8f8;
}

.copyright p {
  color: #4df49c;
}

.bg-refund {
    background-color: #052d39;
    padding: 20px;
}

@media (max-width: 768px) {
    .bg-refund .card-body h4 {
        font-size: 24px;
        font-weight: bold;
        max-width: 70%;
    }

    .bg-refund .card-body h4 span {
        font-size: 14px;
    }

    .bg-refund {
        padding: 10px;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .see-more-btn {
    border: #052d39 solid 2px;
    color: #052d39;
    font-weight: bold;
    border-radius: 10px;
    padding: 10px 15px;
    transition: all .3s ease;
  }

  .see-more-btn:hover {
    background-color: #052d39;
    color: #fff;
  }

  .page-banner {
    width: 100%;
    height: 60vh;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px #052d39;;
    padding: 20px;
   /* margin-top: 56px;  Offset for fixed navbar */
}

.item-count {
    color: #767676;
}

.product-info {
    border: solid 1px #ccc;
    border-radius: 5px;
    padding: 20px;
}

.item-title {
    font-size: 16px;
    font-weight: bold;
}

.item-title span {
    color: #767676;
    font-weight: normal;
}

.item-title span a {
    color: #f88909;
    text-decoration: underline;
}

.item-price {
    font-size: 16px;
    color: #555;
}

.item-price span a{
    color: #052d39;
}

.item-price span a:hover {
    text-decoration: underline;
}

.info-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: sans-serif;
    font-size: 14px;
    color: #555;
  }

  .info-row {
    display: flex;
    justify-content: space-between;
    max-width: 300px;
  }

  .info-key {
    font-weight: normal;
    flex: 1;
  }

  .info-value {
    flex: 1;
    font-weight: bold;
    color: #f88909; /* teal/blue tone */
    text-align: left;
  }

  .info-value a {
    color: #f88909;
  }

  .info-value a:hover {
    text-decoration: underline;
  }


  /* Style fallback for neutral values */
  .info-value.neutral {
    font-weight: normal;
    color: #333;
  }

  .button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .barta-btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
  }

  .barta-btn-primary {
    background-color: #052d39;
    color: white;
    border: none;
  }

  .barta-btn-primary:hover {
    background-color: #f88909;
  }

  .barta-btn-outline {
    background-color: white;
    color: #052d39;
    border: 2px solid #052d39;
  }

  .barta-btn-outline:hover {
    background-color: #4df49c;
  }

  .protection-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: Arial, sans-serif;
    color: #333;
    max-width: 400px;
  }

  .icon-circle {
    background-color: #d4f3f4;
    color: #052d39;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }

  .protection-text {
    font-size: 14px;
  }

  .protection-text b {
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
  }

  .protection-text a {
    color: #f88909;
    text-decoration: underline;
  }

  .profile-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .profile-card a .username {
    color: #052d39;
  }

  .profile-card a .username:hover {
    color: #f88909;
  }

  .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .user-icon {
    width: 48px;
    height: 48px;
    background-color: #9ca3af;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
  }
  .username {
    font-size: 18px;
    font-weight: bold;
  }
  .subtext {
    font-size: 14px;
    color: #6b7280;
  }
  .location,
  .last-seen {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #4b5563;
    gap: 6px;
  }
  .icon {
    font-size: 16px;
  }

  .product-gallery {
    max-width: 1200px;
    margin: auto;
  }

  .product-gallery-main {
    position: relative;
  }

  .product-gallery-main img {
    width: 100%;
    border-radius: 8px;
    cursor: zoom-in;
  }

  .product-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
  }

  .product-gallery-btn:hover {
    background: rgba(0, 0, 0, 0.6);
  }

  .product-gallery-prev {
    left: 10px;
  }

  .product-gallery-next {
    right: 10px;
  }

  .product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-gallery-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: border 0.3s;
  }

  .product-gallery-thumb.active {
    border-color: #f88909;
  }

  /* Scoped Modal */
  .product-gallery-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .product-gallery-modal img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
  }

  .product-gallery-modal .product-gallery-btn {
    font-size: 3rem;
  }

  .product-gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  @media (max-width: 600px) {
    .product-gallery-thumb {
      width: 70px;
      height: 70px;
    }
  }

  /* Sign In Modal */
  /* Animate modal fade and slide-in */
.bartabase-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease forwards;
}

.bartabase-modal.active {
  display: flex;
}

.bartabase-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
  transform: translateY(-30px);
  opacity: 0;
  animation: slideFadeIn 0.4s ease forwards;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideFadeIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

  .bartabase-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease-out;
  }

  .bartabase-modal-close:hover {
    font-size: 36px;
    color: red;
    top: 8px;
  }

  input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
  }
  label {
    display: block;
    font-size: 13px;
    margin-bottom: 15px;
  }
  .password-wrap {
    position: relative;
  }
  .toggle-password {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
  }
  .checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .checkbox-group input[type="checkbox"] {
    transform: scale(1.3);
    margin-right: 10px;
  }
  .error-message {
    color: red;
    font-size: 13px;
  }
  .auth-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  .auth-btn.continue {
    background: #f88909;
    color: #fff;
  }

/* Responsive modal */
@media (max-width: 600px) {
  .bartabase-modal-content.large {
    width: 90%;
    padding: 20px;
    z-index: 99999;
  }
}

/* Error input styling */
input.error {
  border-bottom: 1px solid red !important;
}

label.error-message {
  color: red;
  font-size: 12px;
  margin-top: 3px;
  display: block;
}

label.error-text {
  color: red;
}

/* Password toggle style */
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #333;
}
.password-wrap {
  position: relative;
}

/* Small update for mobile checkboxes */
.checkbox-group input[type="checkbox"] {
  transform: scale(1.3);
}

p.help-link {
  font-size: 12px;
  color: #f88909;
  text-align: center !important;
  margin-top: 10px;
}

.auth-btn.social {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  color: #fff;
  border: none;
  width: 100%;
  cursor: pointer;
}

.auth-btn.social i {
  margin-right: 10px;
  font-size: 18px;
}

/* Google */
.auth-btn.google {
  background-color: #db4437;
}

/* Facebook */
.auth-btn.facebook {
  background-color: #3b5998;
}

/* Apple */
.auth-btn.apple {
  background-color: #000;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
  font-size: 14px;
  line-height: 1.4;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 2px;
  transform: scale(1.2); /* Slightly larger checkbox */
}

.terms-checkbox span {
  display: inline-block;
  color: #333;
}

.terms-checkbox a {
  color: #f88909;
  text-decoration: none;
}

.terms-checkbox a:hover {
  text-decoration: underline;
}

.email-link {
  color: #f88909;
  text-decoration: none;
}
.email-link:hover {
  text-decoration: underline;
}

.bartabase-modal {
  display: none;
  position: fixed;
  z-index: 1100; /* Higher than other modals */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.bartabase-modal-content.small {
  background-color: #fff;
  margin: 10% auto;
  padding: 1.5rem;
  border-radius: 12px;
  width: 90%;
  max-width: 350px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.bartabase-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
}

input[type="text"], input[type="password"] {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  margin: 1rem 0 0.5rem;
  padding: 0.5rem 0;
}

.auth-btn.continue {
  width: 100%;
  background-color: #052d39;
  color: white;
  border: none;
  padding: 0.75rem;
  margin-top: 1rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.help-link {
  text-align: center;
  margin-top: 1rem;
}

.help-link a {
  color: #f88909;
  text-decoration: none;
}

    .login-card {
      background: white;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      width: 100%;
      max-width: 400px;
      margin: 10% auto;
    }

    .login-card h2 {
      text-align: center;
      margin-bottom: 1.5rem;
      font-weight: 600;
    }

    .login-card input[type="text"],
    .login-card input[type="password"] {
      width: 100%;
      padding: 12px;
      border: none;
      border-bottom: 1px solid #ccc;
      margin-bottom: 1.5rem;
      font-size: 15px;
      outline: none;
    }

    .password-wrap {
      position: relative;
    }

    .toggle-password {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      color: #666;
    }

    .login-card button {
      width: 100%;
      padding: 12px;
      background-color: #052d39;
      color: white;
      border: none;
      border-radius: 5px;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      margin-top: 10px;
    }

    .login-card .help-link {
      text-align: center;
      margin-top: 15px;
    }

    .login-card .help-link a {
      color: #f88909;
      text-decoration: none;
      display: block;
      margin-top: 5px;
    }

    .login-card .help-link a:hover {
      text-decoration: underline;
    }

  /***Thank you****/
  .thank-you-main {
    min-height:70vh; /* Fills the entire viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    align-items: center;
    font-family: Arial, sans-serif;
    background: #e0f7ec;
    text-align: center;
    padding: 60px 20px;
    box-sizing: border-box;
  }

  .box { 
    background: #fff; 
    padding: 30px; 
    margin: auto; 
    width: 90%; 
    max-width: 400px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
    border-radius: 10px; 
  }

  .alert {
    margin: 20px auto;
    padding: 12px 20px;
    background-color: #e7f3fe;
    color: #31708f;
    border-left: 5px solid #2196F3;
    border-radius: 4px;
    width: fit-content;
}

/*
  #flash-message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 300px;
    z-index: 9999;
    background-color: #fff;
    border-left: 5px solid #4df49c;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    font-family: Arial, sans-serif;
    color: #333;
    animation: fadeIn 0.3s ease-in-out;
  }


  #flash-message-container .dismiss-btn {
    float: right;
    background: none;
    border: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    color: #888;
  }

  #flash-message-container .dismiss-btn:hover {
    color: #000;
  }
*/
  @keyframes fadeIn {
    from { opacity: 0; top: 0; }
    to { opacity: 1; top: 20px; }
  }

    .dashboard-sidebar {
      background-color: #072933;
      border-right: 1px solid #dee2e6;
      padding-top: 1rem;
      transition: width 0.3s;
    }
    .dashboard-sidebar.collapsed {
      width: 80px;
      text-align: center;
    }
    .dashboard-sidebar.expanded {
      width: 250px;
    }
    .dashboard-sidebar .nav-link {
      color: #333;
    }

/* General small-to-medium laptops */
@media screen and (max-width: 1440px) {
  /* shared styles for both 11" and 13" laptops */
}    
    .dashboard-sidebar .nav-link:hover {
      background-color: #053544;
      border: 0;
    }
    .dashboard-sidebar .store-name {
      font-weight: bold;
      text-align: center;
    }
    .dashboard-sidebar .store-logo-circle {
      background-color: #f88909;
      color: #fff;
      font-size: 1.5rem;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
    }
    .content {
      /*margin-left: 250px;*/
      margin: 0 auto;
      padding: 2rem;
      transition: margin-left 0.3s;
    }
    .content.collapsed {
      margin-left: 80px;
    }
    .id-photo {
      max-height: 100px;
      margin-bottom: 1rem;
    }
    .dashboard-sidebar.collapsed .nav-link span,
    .dashboard-sidebar.collapsed #storeText {
      display: none;
    }

    .dashboard-active-link {
      background-color: #4df49c;
      color: #072933 !important;
      border-radius: 20px;
      margin: 0 10px;
    }

    .dashboard-active-link:hover {
      background-color: #288151 !important;
      color: #fff !important;
    }

  .sortable-item {
    position: relative;
    cursor: grab;
  }

  .sortable-item span {
    font-weight: bold;
  }

  .stylish-search {
  border: 1px solid #ccc;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  background-color: #f9f9f9;
}

.stylish-input {
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 30px 0 0 30px;
  box-shadow: none !important;
}

.stylish-input:focus {
  outline: none;
  box-shadow: none;
}

.stylish-btn {
  border: none;
  background: transparent;
  border-left: 1px solid #ccc;
  padding: 0 18px;
  border-radius: 0 30px 30px 0;
  transition: background-color 0.3s;
}

.stylish-btn i {
  color: #555;
  font-size: 16px;
}

.stylish-btn:hover {
  background-color: #eee;
}


.free-search input[type="text"] {
  border-bottom: 0 !important;
}

#categoryWrapper.collapsed {
    max-height: 0;
    opacity: 0;
}

#categoryWrapper.expanded {
    max-height: 2000px; /* Big enough to fit all content */
    opacity: 1;
}

.payment-option {
  transition: all 0.14s ease-in-out;
  cursor: pointer;
  user-select: none;
  min-width: 140px;
  gap: 0.5rem;
}
.payment-option.active {
  border: 2px solid var(--bs-primary, #0d6efd);
  background-color: rgba(13,110,253,0.04);
  box-shadow: 0 0 0 0.125rem rgba(13,110,253,0.06);
}

  .shipping-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
  .shipping-method-btn {
    flex: 1;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: .5rem;
    padding: .75rem;
    text-align: center;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
  }
  .shipping-method-btn.active {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    font-weight: bold;
    color: #0d6efd;
  }

  .vendor-card {
    border: 2px solid #dee2e6;
    border-radius: .5rem;
    padding: .75rem 1rem;
    margin-bottom: .5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .vendor-card input {
    display: none; /* hide radios */
  }
  .vendor-card.active {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 500;
  }

/* Offer buttons transition and active highlight */
.offer-btn {
    transition: all 0.3s ease; /* smooth background, shadow, transform changes */
    border: 1px solid #0d6efd;
    background-color: transparent;
    color: #0d6efd;
    position: relative; /* needed for pop animation */
}

.offer-btn.active {
    background-color: #0d6efd; /* primary color */
    color: white;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.6);
    transform: scale(1.05);
}

/* Pop animation */
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.05); }
}

.offer-btn.pop {
    animation: pop 0.3s ease forwards;
}


/* ======================================
   COLLAPSED SIDEBAR TOOLTIPS
====================================== */

.dashboard-sidebar.collapsed .nav-link{
    position:relative;
    justify-content:center;
}

.dashboard-sidebar.collapsed .nav-link span,
.dashboard-sidebar.collapsed .menu-badge,
.dashboard-sidebar.collapsed #storeText,
.dashboard-sidebar.collapsed .small{
    display:none !important;
}

.dashboard-sidebar.collapsed .nav-link i{
    margin-right:0 !important;
    font-size:1.1rem;
}

.tooltip-inner{
    background:#111827;
    color:#fff;
    border-radius:10px;
    padding:8px 12px;
    font-size:.85rem;
}

.alert-dismissible .btn-close {
  padding: 0.25rem 0.5rem;
  font-size: 12px !important;
}

/* Sidebar scroll — added by fix script */
.side-menu::-webkit-scrollbar       { width: 3px; }
.side-menu::-webkit-scrollbar-track { background: transparent; }
.side-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 999px; }
.side-menu::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.45); }


/* =====================================================
   SIDEBAR SCROLL FIX — appended, takes cascade priority
   ===================================================== */

/* On desktop: constrain height to viewport so items can scroll */
@media (min-width: 768px) {

    .side-menu {
        height: 100vh !important;          /* viewport height, not 120vh */
        top: 60px !important;              /* sit below header */
        height: calc(100vh - 60px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;       /* enable scroll */
        scrollbar-width: thin !important;
        scrollbar-color: rgba(255,255,255,.3) rgba(255,255,255,.05) !important;
    }

    /* WebKit scrollbar (Chrome, Safari, Edge) */
    .side-menu::-webkit-scrollbar {
        width: 4px;
    }
    .side-menu::-webkit-scrollbar-track {
        background: rgba(255,255,255,.04);
        border-radius: 999px;
    }
    .side-menu::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.28);
        border-radius: 999px;
    }
    .side-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(255,255,255,.5);
    }

    /* ul: remove fixed margin-top so items start near the top
       and reduce it to leave just enough space below header */
    .side-menu ul {
        margin-top: 20px !important;
        overflow: visible !important;
        max-height: none !important;
        padding-bottom: 20px !important;
    }

}
