:root {
    --primary-color: #1a1999;/*#0d6efd*/
    --primary2-color: #1a1999;/*#0d6efd*/
    --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;
}
.primary{
  color: #1a1999;
}
.primary2{
  background-color: #0d6efd;
}
.primary2:hover{
  color: #0d6efd;
}
.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;
}

.footer a:hover {
    color: var(--light-color);
}

.price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.8rem;
}
.price-small {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}
.search-bar {
    background-color: white;
    padding: 12px;
    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;
}

.row-bg {
    background-color: white;
    padding-top: 12px;
    padding-bottom: 12px;
    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;
}
.row-bg-seller-info {
    background-color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    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;
}
.seller-info {
    font-weight: bold;
    /*
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    */
}
.seller-socials {
  /*  display: flex;              make it flexbox */
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;               /* make it a flexbox */
    align-items: center;         /* vertical center */
    justify-content: center;     /* horizontal center */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
}
.badge-xs {
  font-size: 0.8rem;
  padding: 0.2em 0.2em;
  line-height: 1; /* Keeps height tight */
}

.fake-bold {
  line-height: 1; /* Keeps height tight */
  text-shadow: 0.1px 0 0 currentColor,
               -0.1px 0 0 currentColor;
}
.product-details {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 20px;
}
.breadcrumb{
  font-size: .79em;
}
.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(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.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 */
}
.card {
    transition: transform 0.2s;
    margin-bottom: 5px;
    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(-.5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid var(--primary-color) !important;
}
.card-title {
    font-size: 0.880rem;
    min-height: 2.5rem;
    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;
}
.premium-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--accent-color);
    color: white;
    padding: 1px 5px;
    font-weight: bold;
    border-radius: 2px;
    font-size: 0.75rem;
}
/* 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;
}

.carousel-img {
border-radius: 3px 3px 3px 3px; /* top-left, top-right, bottom-right, bottom-left */
}

/* 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;
}
.btn-40 {
    font-size: 0.7rem; /* shrink text */
    padding: 0.25rem 0.5rem;
    line-height: 1;
}
