:root {
    --primary-color: #1a1999;
    --secondary-color: #0A58CA;
    --accent-color: #6EA8FE;
    --light-color: #E7F1FF;
}
a{
  text-decoration:none;
  color: inherit;
}
html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #EEF2F7;
}
.navbar {
    background-color: var(--primary-color);
}
.navbar-brand {
    font-weight: bold;
    color: white !important;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
}
.footer h5 {
    color: white;
}
.footer a {
    color: white;
    text-decoration: none;
}
.price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    /*color: #1a1a1a;*/
    margin-top: 0.5rem;
    flex-direction: row;
    line-height: 22px;
}

/*Modified Below - for Index*/
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}

/*body {
    font-family: Arial, sans-serif;
    background: #EEF2F7;
}*/

.pagination .page-link {
    color: #1a1999;
    border-radius: 0 !important; /* removes rounded edges */
    /**border-color: #1a1999;**/
}
.pagination .page-item.disabled .page-link{
    color: rgba(33, 37, 41, 0.75);
    background-color: #e9ecef;
}
.pagination .page-item.active .page-link {
    background-color: #1a1999;
    border-color: #1a1999;
    color: #fff;
    border-radius: 0 !important; /* also remove rounded edges on active */
}
.pagination .page-item {
    margin: 0;
}
.product-img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    border-radius: 3px 3px 0 0; /* top-left, top-right, bottom-right, bottom-left */
}
.src-btn , .rounded-c{
  border-radius: 3px;
}
.card {
    transition: transform 0.2s;
    margin-bottom: 20px;
    background: white;
    border-radius: 3px;
    border:none;
    box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 8px 7px rgba(0, 0, 0, 0.06),
    0 50px 70px rgba(0, 0, 0, 0.012)
  ;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    /*border: 1px solid var(--primary-color) !important;*/
}
/* Limit product title to 2 lines with ellipsis */
.card-title {
    font-size: 0.880rem;
    line-height: 1.5; /* better readability */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(1.4em * 2); /* matches exactly 2 lines */
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.15rem; /* optional spacing below */
}
.card-body{
  margin-bottom: -5px;
  padding-bottom: 0px;
}
.category-icon {
    font-size: 2rem;
    color: var(--primary-color);
}
.category-card {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--light-color);
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.category-card:hover {
    transform: translateY(-5px);
    background-color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.footer a:hover {
    color: var(--light-color);
}
.premium-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--accent-color);
    color: white;
    padding: 2px 6px;
    font-weight: bold;
    border-radius: 2px;
    font-size: 0.75rem;
}
.search-bar {
    background-color: white;
    padding: 10px;
    margin-bottom: 30px;
    /*box-shadow: 0 0 6px rgba(0, 0, 0, 0.08); */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.02);
    border-radius: 3px;
}

/*Modified Below - for Product*/
.product-details {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 20px;
}

.seller-info {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 20px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.similar-product {
    transition: transform 0.3s;
}

.similar-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Add to your existing styles */
.thumbnail-img {
cursor: pointer;
border: 1px solid transparent;
opacity: 0.6;
transition: opacity 0.3s, border 0.3s;
}
.thumbnail-img.active {
border-color: var(--primary-color);
opacity: 1;
}
.thumbnail-img:hover {
opacity: 1;
border: 1px solid;
border-color: var(--secondary-color);
}
.carousel-control-prev,
.carousel-control-next {
background-color: rgba(0,0,0,0.3);
width: 40px;
height: 40px;
border-radius: 50%;
top: 50%;
transform: translateY(-50%);
}
.carousel-control-prev {
left: 10px;
}
.carousel-control-next {
right: 10px;
}
/* Center alignment for thumbnails */
.thumbnail-container {
gap: 10px;
}
/* Make sure thumbnails have a consistent size */
.thumbnail-container .col-1 {
min-width: 60px;
text-align: center;
}

/*Modified Below - for ______*/
