@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Montserrat:wght@400;600;700&family=Quicksand:wght@500;700&display=swap');
*{
  box-sizing: border-box;
  padding:0;
  margin:0;
  font-family: 'Montserrat', sans-serif;
  transition:0.3s ease-in-out;
  scroll-behavior: smooth;
  list-style: none;
}
body {
  font-size: 100%;
  line-height: 1.5;
  background-color: var(--bg-color) !important;
}

::-webkit-scrollbar {
  width: 4px;
  background: var(--bg-color);
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb {
  background: #696191;
  border-radius: 50px;
  outline: 1px solid #606191;
}

:root{
  --text-color: #333;
  --bg-color: #fff;
  --bg-cards: #fff;
  --bg-opaque:#ffffffbf;
  --input-border:#333;
  --btn-text:#ef9f39;
  --border:#ddd;
  --btn-bg:#b6b6b6;
  --text-dark:#212529;
  --accent-color:#ef9f39;
  --flash-bg:var(--accent-color);
  --footer:#f1f1f1;
  --footer-txt:#494949;
}

.dark-theme{
  --header-color: #fff;
  --text-color: #fff;
  --bg-color: #1e2225;
  --bg-cards: #333;
  --bg-opaque:#333333bf;
  --box-shadow:#101010;
  --input-border:#fff;
  --btn-text:#fff;
  --btn-bg:#000000;
  --text-dark:#fff;
  --input-bg:#333;
  --border:#333;
  --flash-bg:#000;
  --footer:#333;
  --footer-txt:#fff;
}

a{
  text-decoration: none !important;
}
.brand-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-wrapper{
  width: 80%;
}
.ad-head{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(500px,1fr));
  align-content: flex-start;
  margin: 3rem 0;
  align-items: end;
  gap:1rem;
  padding-bottom: 5%;
  border-bottom: 2px solid var(--border);
}
.ads-container{
  border-radius: 20px;
  overflow:hidden;
  height:100%;
}
.ad-head .ads-container > *{
  height:100%;
}
.ads-container .carousel .carousel-item {
  position:relative;
}
.ads-container .carousel .carousel-item img{
  height:20rem;
  width:100%;
  object-fit: cover;
} 
.ads-container .carousel .carousel-item .write-up{
  position: absolute;
  left: 0;
  right:0;
  bottom: 0;
  padding: 1rem;
  display: flex;
  height: 80%;
  color: #fff;
  background: linear-gradient(to top,#000,transparent);
  flex-direction: column;
  justify-content: flex-end;
}
.brand-wrapper h1.h1 {
  font-family: "Bruno Ace SC";
  text-align: center;
  margin: 0;
  border-radius: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--text-dark);

}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(13rem,1fr));
  gap: 20px;
}
.card {
  margin-bottom: 20px;
  max-width:16rem;
}
.card-body{
  padding:0.5em 0rem 0rem !important;

}
.img-box{
  width: 100%;
  aspect-ratio: 1/1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 2px #00000052;
  border-radius: 10px !important;
}
.card-img-top {
  width: 100%!important;
  height: 100%;
  object-fit: cover;
}

.card-text {
  font-size: 0.9em;
  color: var(--text-dark);
  margin: 0 !important;

}
.card-text:nth-child(1) {
  font-weight: bold;
  color: var(--accent-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}
p.card-text:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8em;
}

/* Accent color for gold */
.card {
  cursor: pointer;
  align-items: center;
  padding:0;
  transition: 0.3s ease-in-out;
  border:none !important;
  background-color: var(--bg-color) !important;
}

.card:hover {
  transform: scale(1.02);
}

.container {
  padding: 20px;
}
.no-seller{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  justify-content: center;
  height: 60vh;
  color:var(--text-dark)
}
.no-seller h1{
  font-size: 4.5rem;
}
.no-seller h4{
  font-size: clamp(1.6rem,2.5rem,3vw);
  font-weight:700;
}
.no-seller p {
  font-size: clamp(1rem,0.8vw,1.3rem);
}
.h2{
  color: var(--text-color) !important;
  font-size: clamp(1.5rem,3vw,3em)!important;
  font-weight: 700 !important;
  margin: 2rem 0 !important;
  text-align: center;
  opacity: 0.9;
}
@media screen and (max-width:780px){
  .brand-wrapper {
    width: 95%;
}
.ad-head{
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
}
  .grid-container {
    grid-template-columns: repeat(auto-fit,minmax(8rem,1fr));
    justify-items: center;
}
.ads-container .carousel .carousel-item img{
  height:10rem;  
}
.write-up h4{
  font-size:1rem;
  font-weight:bold;
}
.write-up p{
  font-size:0.8rem;
  margin:0 !important;
}

.card-text{
  font-size:0.7em;
}
p.card-text:last-child{
  font-size:0.6em;
}
.h2{
  text-align: center !important;
}
}