:root {
  --gray: #fafafa;
  --white: #ffffff;
  --black: #000000;
  --blue: #22177A;
  --dark-gray: #9e9e9e;
}

body{
  min-height: 100%;
  background: var(--gray);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: var(--black);
}

.font-12{
  font-size: 12px;
}
.font-14{
  font-size: 14px;
}
.font-16{
  font-size: 16px;
}
.font-18{
  font-size: 18px;
}
.font-20{
  font-size: 20px;
}
.font-22{
  font-size: 22px;
}
.font-24{
  font-size: 24px;
}
.font-28{
  font-size: 28px;
}
.font-30{
  font-size: 30px;
}
.font-32{
  font-size: 32px;
}
.font-40{
  font-size: 40px;
}
.text-blue{
  color: var(--blue);
}
.text-dark-gray{
  color: var(--dark-gray);
}

.p-link, .p-link:hover, .p-link:focus{
  text-decoration: none;
}
.text-dark{
  color: #2b2b2b !important;
}
.nav-header{
  height: 64px;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 0px 8px;
  margin-bottom: 18px;
  box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.45);
  -webkit-box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.45);
  -moz-box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.45);
}
.logo-container{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-header .logo{
  height: 40px;
}
.nav-link{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
}

.ratio-9x16 {
  aspect-ratio: 9 / 16;
}

.product-card{
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 18px;
  height: 500px;
  overflow: hidden;

  box-shadow: 0px 4px 5px 2px rgba(0, 0, 0, 0.45);
-webkit-box-shadow: 0px 4px 5px 2px rgba(0, 0, 0, 0.45);
-moz-box-shadow: 0px 4px 5px 2px rgba(0, 0, 0, 0.45);
}
.product-card .img-container{
  height: 76%;
  border-bottom: 1px solid #00000011;
  position: relative;
}

.product-card .img-container img{
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}
.product-card .desc{
  height: 15%;
  background: white;
  padding: 10px 20px;
  color: #2b2b2b;
  font-size: 18px;
}
.product-card .desc .p-title{
  height: 27px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .action{
  height: 9%;
  display: inline-flex;
  align-items: end;
}
.p-price{
  font-size: 20px;
  color: #989898;
  text-decoration: line-through;
}

.list-price{
  font-size: 20px;
  font-weight: bold;
  color: inherit;
}
.new-label{
  padding: 0px 12px;
  border-radius: 5px;
  font-weight: bold;
  color: #fff;
  background-color: #989898;
  position: absolute;
  top: 8px;
  left: 8px;
}
.brand-name{
  padding: 0px 12px;
  border-radius: 5px;
  font-weight: bold;
  color: #fff;
  background-color: #989898;
  position: absolute;
  top: 8px;
  right: 8px;
}
.btn-details{
  display: inline-block;
  width: 100%;
  text-align: center;
  font-weight: bold;
  background: #000;
  color: #fff;
  border:none;
  padding: 8px 0px;
  text-decoration: none;
}
.btn-order{
  background: #075e54 !important;
}


.p-details{
  position: fixed;
  left: 0;
  bottom: -100vh; /* start off-screen */
  width: 100%;
  background: #fff;
  color: #989898;
  text-align: center;
  transition: bottom 0.3s ease-out; /* smooth animation */
  height: 100vh;
  height: 100dvh;
}
.p-details.show {
  bottom: 0; /* final position */
}

.swiper {
  width: 80%;
  aspect-ratio: 9 / 16;
  margin-bottom: 8px;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.swiper-slide img,
.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-slide {
  text-align: center;
  padding: 1rem;
  background: #e4e4e4;
  height: 100%;
  color: #000;
}

.swiper-button-prev,
.swiper-button-next {
  color: #000 !important;
}
.swiper-pagination{
  position: relative !important;
}
.swiper-pagination-bullet {
  background: #000 !important;
}

.p-title, .list-price{
  color: #2b2b2b;
}

.whatsapp-fix {
  width: 50px;
  position: fixed;
  bottom: 0px;
  z-index: 9;
  left: 2px;
  height: 50px;
}
.whatsapp-fix img{
  max-width: 100%;
}

.p-tag-card{
  position: relative;
}

.p-tag-card span{
  position: absolute;
  color: #000;
  font-size: 18px;
  font-weight: bold;
}

.p-tag-card span.code{
  top: 24%;
  left: 45%;
}

.p-tag-card span.brand{
  top: 31.5%;
  left: 32%;
}

.p-tag-card span.stuff{
  top: 38.5%;
  left: 32%;
}

.p-tag-card span.chest{
  top: 45%;
  left: 45%;
}

.p-tag-card span.hips{
  top: 52%;
  left: 45%;
}

.p-tag-card span.length{
  top: 59%;
  left: 45%;
}

.p-tag-card span.sleeves{
  top: 65.8%;
  left: 45%;
}

.p-tag-card span.trouser{
  top: 72.8%;
  left: 45%;
}

.p-tag-card span.price{
  top: 79.6%;
  left: 55%;
}

.p-notes{
  white-space: pre-wrap;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 9;
}

.sidebar {
  position: fixed;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 300px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  z-index: 10;
  padding: 20px;
}

/* Left and Right positioning */
.sidebar.left {
  left: 0;
  transform: translateX(-100%);
}

.sidebar.right {
  right: 0;
  transform: translateX(100%);
}

/* Active state */
.sidebar.active {
  transform: translateX(0);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close button */
.sidebar .close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Fullscreen on small screens */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
  }
}
a, a:hover{
  text-decoration: none;
  color: #2b2b2b;
}
#social-sidebar a, #social-sidebar a:hover{
  text-decoration: none;
  color: #2b2b2b;
  font-size: 20px;
}

.size-tag{
  padding: 4px 8px;
  margin: 0px 3px;
  color: #2b2b2b;
  border: 1px solid #2b2b2b;
  cursor: pointer;
  border-radius: 5px;
}
.size-tag.selected{
  background-color: #2b2b2b;
  color: #fff;
}
.price-range::-webkit-slider-thumb {
  background: #2b2b2b; /* 🎨 handle color */
}
.price-range::-moz-range-thumb {
  background: #2b2b2b; /* 🎨 handle color */
}
.price-range::-moz-range-thumb {
  background: #2b2b2b; /* 🎨 handle color */
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-toggle {
  width: 100%;
  padding: 8px;
  text-align: left;
  background: #f0f0f0;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 5px;
  text-wrap: auto;
}

.dropdown-menu {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
  color: #2b2b2b;
}
.dropdown .close-dropdown{
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
.dropdown-menu input[type="checkbox"]{
  width: 16px;
  height: 16px;
  accent-color: #2b2b2b;
  margin-right: 6px;
}
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown.open .dropdown-toggle::after{
  display: none;
}

.dropdown-menu label {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  cursor: pointer;
}

.dropdown-menu label:hover {
  background: #eee;
}
.dropdown-toggle::after {
  float: right;
  margin-top: 8px;
}