:root {
  /* Colors */
  --leaf-deep: #2e4328;
  --leaf: #4c6a40;
  --leaf-pale: #eef1e4;
  --brass: #a5732a;
  --brass-light: #e2b563;
  --paper: #fbf7ed;
  --ink: #241f17;
  --ink-soft: #6b6255;
  --chili: #a5402a;
  --line: #e4dcc8;

  /* Common */
  --white: #fff;
  --shadow: 0 0 10px #afafaf;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;
}

.noImage p{
  font-weight: 500;
  font-size: medium;
}


/* =========================================================
   VENDOR PROFILE
   ========================================================= */

.vendor-profile-card {
  display: flex;
  position: relative;
  gap: 20px;
  background: var(--white);
  border-radius: 10px;
}

.profile-image {
  width: 130px;
  height: 130px;
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.profile-image img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.info {
  flex: 1;
  min-width: 260px;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.title-row h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  font-weight: 600;
}

.premium-badge {
  padding: 3px 8px;
  background: var(--brass-light);
  color: var(--white);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.category_card {
  background: var(--primary-color);
  color: #fff;
  padding: 4px;
  border-radius: 3px;
}

/* =========================================================
   RATING
   ========================================================= */

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
  color: #333;
  font-size: 15px;
}

.rating-row .rating-num {
  font-weight: 600;
}

.star {
  color: #ff7a1a;
  font-size: 16px;
}

.reviews {
  color: #666;
  font-size: 14px;
}

/* =========================================================
   DETAILS
   ========================================================= */

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0;
  color: #333;
  font-size: 14px;
}

.detail-row .icon {
  color: var(--chili);
  font-size: 16px;
  font-weight: bold;
}

/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn-enquire {
  background: var(--primary-color);
  color: var(--white);
  border: none;
}

.btn-enquire:hover {
  background: #fff;
  color: var(--primary-hover) !important;
  border: 1px solid var(--primary-hover) !important;
}

.btn-enquire:disabled {
  background: #fff;
  color: var(--primary-hover) !important;
  border: 1px solid var(--primary-hover) !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-enquire small {
  font-size: 11px;
  font-weight: 400;
}

.cbtn {
  background: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.cbtn:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* =========================================================
   STATISTICS
   ========================================================= */

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: #f5e8d8;
}

.stat .crd {
  min-width: 100px;
  padding: 10px 18px;
  border-radius: 8px;
  text-align: center;
}

.m_content {
  color: var(--primary-color);
  font-size: 30px;
  font-weight: bold;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery-flex {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  /* grid-template-rows: repeat(2, 150px); */
  gap: 10px;
  max-height: calc(3 * 150px + 2 * 16px);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #d8d7d5;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  padding: 5px;
}



.img-card {
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================================================
   TABS
   ========================================================= */

.tabs {
  display: flex;
  gap: 5px;
}

.tab {
  padding: 5px 20px;
  background: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.tab.active {
  background: var(--brass-light);
  color: var(--white);
}

.tab-content {
  display: none;
  padding: 20px;
}

.tab-content.active-content {
  display: block;
}

.optiontitle {
  font-size: 16px;
  font-weight: bold;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {
  /* .vendor-profile-card {
    flex-direction: column;
  } */

  .actions {
    width: 100%;
    margin-top: 12px;
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .stat {
    gap: 6px;
  }

  .stat .crd {
    min-width: 90px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .m_content {
    font-size: 24px;
  }
}

/* =========================================================
   Options
   ========================================================= */
.option-card {
  padding: 15px;
  border: 1px solid #aaa9a9;
  border-radius: 5px;
  margin-bottom: 5px;
}

.options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.opt-icon {
  color: #8f313a;
  font-size: 20px;
  font-weight: bold;
  margin-right: 2px;
}

.album-list {
  display: flex;
  gap: 20px;
}

.album-card {
  height: 150px;
}

.album_title {
  font-size: 18px;
  font-weight: 500;
  margin-top: 4px;
  text-align: center;
}

.album-card img {
  height: 100%;
  border-radius: 6px;
}

/* categories scroll  */

/* categories scroll */

.categories-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.categories-btns {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-width: 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.categories-btns::-webkit-scrollbar {
  display: none;
}

.categories-btns button {
  flex: 0 0 auto;
  padding: 5px 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 18px;
  white-space: nowrap;
  text-decoration: none;
}

.categoryTap {
  color: var(--primary-color);
  border: none !important;
  background: transparent;
}

/* FIX: no space — active is on the button itself */
.categoryTap.active {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.category-arrow {
  display: none;
  /* shown via JS only when content overflows */
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border: 0;
  background: transparent;
  color: var(--primary-color);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.category-arrow.show {
  display: flex;
}
/* .categoryTap-content{
  display: none;
}
.categoryTap-content .active-content{
  display: block !important;
} */

/* Full gallery modal */

@media (max-width: 480px) {
  /* =========================================================
   PROFILE INFORMATION
   ========================================================= */

  .vendor-profile-card {
    display: flex;
    gap: 15px;
  }
  .profile-image {
    width: 120px;
    height: 120px;
  }
  .title-row h1 {
    font-size: 18px !important;
  }
  .category_card {
    margin-top: 100px !important;
  }
  .detailMain {
    display: flex !important;
    gap: 15px !important;
  }
  .actions {
    padding-right: 5px !important;
  }

  /* =========================================================
   GALLERY
   ========================================================= */

  .gallery-flex {
    grid-template-columns: repeat(3, 1fr) !important;
    /* grid-template-rows: repeat(3, 100px); */
    gap: 8px;
    max-height: calc(3 * 100px + 2 * 16px);
  }
  .img-card {
    height: 100px !important;
  }
}

@media (min-width: 1360px) and (max-width: 1430px) {
  .gallery-flex {
    grid-template-columns: repeat(6, 1fr) !important;
  }
}

@media (min-width: 1431px) {
  .gallery-flex {
    grid-template-columns: repeat(6, 1fr) !important;
    /* grid-template-rows: repeat(2, 180px); */

  }
  .img-card {
    height: 180px !important;
  }
  
}



/* =========================================================
   QUESTIONS
   ========================================================= */
.question_list {
  margin-top: 10px;
  padding: 0 0 0 10px;
  border-radius: 5px;
  /* border: 1px solid var(--border); */
}
.category-name {
  color: var(--sec-pry);
  font-size: 16px;
  font-weight: 600;
  margin-top: 5px;
}

.qst-label span {
  color: var(--primary-color);
  margin-right: 10px;
}

.qst-label {
  font-size: 16px;
  font-weight: 600;
}


.basic-details,
.category-qst {
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--border);
}

.qs-options {
  display: flex !important;
  flex-wrap: wrap;
  gap: 15px;
  padding-left: 24px !important;
}

/* Hide radio button */
.btn-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Normal button */
.yno-btn,
.qst-btn {
  display: inline-block;
  padding: 4px 10px;
  color: var(--primary-color) !important;
  background-color: #fff !important;
  border: 1px solid var(--primary-color) !important;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Selected button */
.btn-check:checked + .yno-btn,
.btn-check:checked + .qst-btn {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

/* Hover */
.qst-btn:hover {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}


