
/* ===== SECTION ===== */
.shop-product {
  padding: 40px 0;
  font-family: Arial, sans-serif;
}

/* ===== SIDEBAR ===== */
.sidebar-title {
  font-weight: 600;
  padding: 15px 0px;
  border-top: 1px solid #000;
  margin: 0;
  font-size: 18px;
}
.shop-top-bar select {
  padding: 6px 10px;
}
.category-list {
  list-style: none;
  padding: 0;
}

/* TOGGLE */
.cat-title {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  border-top: 1px solid #000;
}

.sub-menu {
  display: none;
  padding-left: 15px;
}

.sub-menu.show {
  display: block;
}

/* ===== TOP BAR ===== */
.shop-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 20px;
}

.view-btn {
  cursor: pointer;
  margin-right: 10px;
}

.view-btn.active {
  color: black;
}

/* ===== PRODUCTS ===== */
.product-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.product-item {
  padding: 10px;
}

/* GRID */
.grid-4 .product-item { width: 25%; }
.grid-3 .product-item { width: 33.33%; }
.grid-1 .product-item { width: 100%; }

/* CARD */
.product-card {
  text-align: center;
}

.product-card img {
  width: 100%;
}

/* LIST VIEW */
.grid-1 .product-card {
  display: flex;
  gap: 20px;
  text-align: left;
}

.grid-1 .product-card img {
  width: 250px;
}

/* DESC */
.desc { display: none; }
.grid-1 .desc { display: block; }

/* STAR */
.rating i {
  color: #f4c150;
}
/* ===== SIDEBAR SMOOTH TOGGLE ===== */
.sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.sub-menu.show {
  max-height: 500px; /* enough for items */
}

/* ===== PRODUCT GRID SMOOTH ===== */
.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  transition: all 0.4s ease;
}

.product-item {
  padding: 10px;
  transition: all 0.4s ease;
}

/* GRID WIDTH ANIMATION */
.grid-4 .product-item { width: 25%; }
.grid-3 .product-item { width: 33.33%; }
.grid-1 .product-item { width: 100%; }

/* CARD TRANSITION */
.product-card {
  transition: all 0.4s ease;
}

/* LIST VIEW SMOOTH */
.grid-1 .product-card {
  display: flex;
  gap: 20px;
  text-align: left;
  transform: scale(1);
}

.grid-4 .product-card,
.grid-3 .product-card {
  transform: scale(1);
}

/* IMAGE SMOOTH */
.product-card img {
  transition: all 0.4s ease;
}

/* DESCRIPTION FADE */
.desc {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.grid-1 .desc {
  opacity: 1;
}
/* ===== PRICE FILTER ===== */
.price-filter {
  margin-top: 0px;
  border-top: 1px solid #000;
  padding-top: 20px;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== RANGE SLIDER ===== */
.range-slider {
  position: relative;
  width: 100%;
  height: 40px;
}

/* TRACK BACKGROUND */
.slider-track {
  position: absolute;
  height: 4px;
  width: 100%;
  background: #ddd;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 5px;
}

/* ACTIVE RANGE COLOR */
.slider-track::before {
  content: "";
  position: absolute;
  height: 100%;
  background: #f4c150;
  left: 0;
  right: 0;
  border-radius: 5px;
}

/* INPUT RANGE */
.range-slider input[type="range"] {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  pointer-events: none;
  appearance: none;
}

/* THUMB */
.range-slider input::-webkit-slider-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 2px solid #f4c150;
  border-radius: 50%;
  cursor: pointer;
  appearance: none;
}

/* BUTTON + TEXT */
.price-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.filter-btn {
  background: #2d333b;
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
}

.price-range {
  font-size: 14px;
}
.product-detail-wrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-top: 20px;
}
.product-detail-wrapper h5 {
  font-size: 16px;
  font-weight: 500;
}
/* IMAGE WRAP */
.product-img {
  position: relative;
  overflow: hidden;
}

/* OVERLAY BG */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 68, 94, .7);
  opacity: 0;
  transition: 0.4s ease;
}

/* DASH BOX */
.overlay-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px dashed #fff;
  padding: 10px 10px;
  display: flex;
  gap: 8px;
  transition: 0.4s ease;
}

/* ICON STYLE */
.icon {
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
  line-height: 28px;
  width: 30px;
  height: 30px;
  text-align: center;
  font-size: 15px;
  border: 1px dashed #ffffff;
  color: #ffffff;
  display: block;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.icon:hover {
  color: #000;
}

/* HEART COLOR */
.icon.wishlist {
  color: red;
}

/* HOVER EFFECT */
.product-card-img:hover .product-overlay {
  opacity: 1;
}
.product-card-img {
  position: relative;
}
.product-img:hover .overlay-box {
  opacity: 1;
}

/* IMAGE ZOOM (OPTIONAL NICE EFFECT) */
.product-img img {
  transition: 0.4s ease;
}

.product-img:hover img {
  transform: scale(1.05);
}
/*Modal pop up css start*/
/* Modal Customizations */
.modal{
  z-index: 9999;
}
.modal-content {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Custom Close Button matching the image */
.custom-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
    z-index: 1055;
    cursor: pointer;
    transition: 0.2s;
}
.custom-close-btn:hover {
    background-color: #e2e2e2;
    color: #000;
}

/* Swiper Gallery Adjustments */
.swiper-main-wrap {
    border: 1px solid #eaeaea;
    margin-bottom: 15px;
    padding: 20px;
}

.mySwiper2 .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.mySwiper .swiper-slide {
    opacity: 0.5;
    cursor: pointer;
    border: 1px solid #eaeaea;
    padding: 10px;
    transition: all 0.3s ease;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #ccc;
}

.mySwiper .swiper-slide img {
    width: 100%;
    height: 80px;
    object-fit: contain;
}

/* Product Details Styling */
.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2c3e50;
}

.meta-text {
    font-size: 0.9rem;
    color: #333;
}
.meta-text span.light {
    color: #6c757d;
}

.product-price {
    color: #f0a500; /* Golden yellow matching image */
    font-size: 1.5rem;
    font-weight: 600;
}

.product-description {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.8;
}

/* Cart Row */
.qty-input {
    width: 70px;
    height: 48px;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 0;
    outline: none;
}

.btn-add-cart {
    background-color: #262c33;
    color: #fff;
    border: none;
    border-radius: 0;
    height: 48px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 40px;
    letter-spacing: 1px;
    transition: 0.3s;
}
.btn-add-cart:hover {
    background-color: #1a1e24;
    color: #fff;
}

/* Social Share Icons */
.share-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2c3e50;
}
.social-circle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}
.social-circle:hover {
    opacity: 0.8;
    color: #fff;
}
.bg-fb { background-color: #3b5998; }
.bg-tw { background-color: #00aced; }
.bg-pi { background-color: #cb2027; }
.bg-li { background-color: #007bb6; }