/* ============================================================
   TOUVERA — Component layer
   Rebuilds the structural classes the old style.css provided
   (space details, checkout, blog, FAQ, dashboards, widgets…)
   on the new design tokens. Loaded after touvera-base.css.
   ============================================================ */

/* ============================================================
   PRIMITIVES
   ============================================================ */
.bg-cover, .bg_cover, .bg-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
/* `.overlay` is used two ways in the theme: as a scrim child element
   (breadcrumbs, cards) and as a wrapper. Cover both. */
.overlay { position: absolute; inset: 0; background: rgba(6,51,44,.72); z-index: 0; }
.overlay ~ * { position: relative; z-index: 1; }

.lazy-container {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background: var(--tv-teal-50);
  z-index: 1;
}
.lazy-container img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.lazy-container.ratio img, .ratio img { object-fit: cover; }

.hover-effect { overflow: hidden; }
.hover-effect img { transition: transform .5s; }
.hover-effect:hover img { transform: scale(1.05); }
.hover-show { opacity: 0; transition: opacity .2s; }
*:hover > .hover-show { opacity: 1; }

.scroll-y { overflow-y: auto; max-height: 430px; }
.scroll-y::-webkit-scrollbar { width: 6px; }

.separator { color: var(--tv-ink-400); }
.em { font-size: 13px; }
.font-sm { font-size: 14px; }
.font-medium { font-size: 15.5px; font-weight: 600; }
.fw-medium { font-weight: 600; }
.fw-regular { font-weight: 500; }
/* !important so these win over component-level heading colours */
.color-dark { color: var(--tv-ink-900) !important; }
.color-primary { color: var(--tv-teal-700) !important; }
.color-red { color: var(--tv-error) !important; }
.color-white, .color-white a { color: #fff !important; }
.bg-primary-light { background: var(--tv-teal-50); }
.bg-white { background: var(--tv-surface); }
.shadow-md { box-shadow: var(--tv-shadow-s); }

.title { font-weight: 700; color: var(--tv-ink-900); }
.subtitle { color: var(--tv-ink-500); }
.title-center { text-align: center; }

.btn-md, .btn.size-md { padding: 11px 20px; font-size: 15px; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.icon-start i, .icon-start svg { order: -1; }
.icon-end i, .icon-end svg { order: 2; }
.btn-label { display: inline-flex; align-items: center; gap: 8px; }
.btn-groups { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   BREADCRUMB / PAGE HEADER
   ============================================================ */
.breadcrumb-area {
  position: relative;
  overflow: hidden;
  padding-block: 64px;
  background-color: var(--tv-teal-900);
  color: #fff;
}
.breadcrumb-area::after {
  content: ""; position: absolute; inset: 0;
  background: var(--tv-teal-900); opacity: .72;
}
.breadcrumb-area > * { position: relative; z-index: 1; }
.breadcrumb-area h1, .breadcrumb-area h2, .breadcrumb-area h3,
.breadcrumb-area .page-title { color: #fff; margin-bottom: 10px; }
.breadcrumb-area .breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0; padding: 0;
  font-size: 14.5px; color: #B9D5CE;
  --bs-breadcrumb-divider-color: #7FA79E;
}
.breadcrumb-area .breadcrumb-item, .breadcrumb-area .breadcrumb-item a { color: #fff; }
.breadcrumb-area .breadcrumb-item.active { color: var(--tv-teal-100); }
.breadcrumb-area .breadcrumb-item + .breadcrumb-item::before { color: #7FA79E; }

/* light variant used on space details */
.breadcrumb-area_v2 { padding: 0; background: var(--tv-teal-50); color: var(--tv-ink-900); }
.breadcrumb-area_v2::after { display: none; }
.breadcrumb-area_v2 h1, .breadcrumb-area_v2 h2, .breadcrumb-area_v2 h3,
.breadcrumb-area_v2 h4, .breadcrumb-area_v2 .color-white,
.breadcrumb-area_v2 .page-title { color: var(--tv-ink-900); }
.breadcrumb-area_v2 .listing-map { height: 300px; }
.breadcrumb-area_v2 .breadcrumb { color: var(--tv-ink-500); padding: 16px 0; }
.breadcrumb-area_v2 .breadcrumb-item, .breadcrumb-area_v2 .breadcrumb-item a { color: var(--tv-ink-700); }
.breadcrumb-area_v2 .breadcrumb-item.active { color: var(--tv-teal-700); }
.breadcrumb-area_v2 .breadcrumb-item + .breadcrumb-item::before { color: var(--tv-ink-400); }

.page-header { margin-bottom: 28px; }
.page-title { font-size: clamp(24px,3vw,34px); font-weight: 700; }

.pagination-nav { display: flex; justify-content: center; }
.pagination-nav .pagination { margin: 0; }

/* ============================================================
   CARDS (blog, generic content)
   ============================================================ */
.card_top { padding: 0; }
.card_img { padding: 14px; }
.card_img .lazy-container, .card_img .ratio { border-radius: var(--tv-radius-m); overflow: hidden; }
.card_content { padding: 0 20px 22px; }
.card_title { font-size: 17.5px; font-weight: 700; line-height: 1.55; margin-bottom: 10px; }
.card_title a { color: var(--tv-ink-900); }
.card_title a:hover { color: var(--tv-teal-700); }
.card_text { font-size: 14.5px; color: var(--tv-ink-500); line-height: 1.85; margin: 0; }
.card_icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--tv-teal-50); color: var(--tv-teal-700);
  display: flex; align-items: center; justify-content: center;
}
.card-info { padding: 18px 20px; }
.card-title { font-size: 17px; font-weight: 700; }
.cta-btn { margin-top: 16px; }

.article-item {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.article-item:hover, .blog-area .card:hover {
  box-shadow: var(--tv-shadow-m);
  transform: translateY(-3px);
  border-color: var(--tv-teal-100);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-area, .blog-details-area, .faq-area, .shopping-area,
.listing-details-area, .user-dashboard { background: var(--tv-bg); }

.blog-category {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tv-teal-50); color: var(--tv-teal-800);
  border: 1px solid var(--tv-teal-100);
  padding: 6px 14px; border-radius: var(--tv-radius-pill);
  font-size: 12.5px; font-weight: 700;
}
.blog-category:hover, .blog-category.active {
  background: var(--tv-teal-600); border-color: var(--tv-teal-600); color: #fff;
}
.blog-category i { font-size: 12px; }
.tqy { font-size: 13px; color: var(--tv-ink-400); }

/* sidebar search: pill field with a round submit button */
.search-form .input-inline {
  padding: 5px;
  gap: 6px;
  border-color: var(--tv-line);
}
.search-form .input-inline .form-control { padding: 8px 14px; background: transparent; }
.search-btn {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: var(--tv-teal-600); color: #fff;
  font-size: 14px;
  transition: background .18s;
}
.search-btn:hover { background: var(--tv-teal-700); color: #fff; }

/* widget headings are collapse triggers — strip the bootstrap accordion chrome */
.widget .title .accordion-button {
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16.5px; font-weight: 700; color: var(--tv-ink-900);
}
.widget .title .accordion-button:not(.collapsed) { background: transparent; color: var(--tv-ink-900); }
.widget .title .accordion-button::after { width: 16px; height: 16px; background-size: 16px; }
.widget .title { margin-bottom: 0; }
.blog-description { font-size: 16px; line-height: 1.95; color: var(--tv-ink-700); }
.blog-description h1, .blog-description h2, .blog-description h3,
.blog-description h4, .blog-description h5 { margin-top: 28px; }
.blog-description img { border-radius: var(--tv-radius-m); margin-block: 18px; }
.blog-description blockquote {
  margin: 22px 0; padding: 18px 22px;
  border-inline-start: 4px solid var(--tv-teal-500);
  background: var(--tv-teal-50);
  border-radius: var(--tv-radius-m);
  color: var(--tv-teal-900);
}

/* recent-post widget: thumbnail beside the title, not a stacked card */
.widget-post .article-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px;
  border-radius: var(--tv-radius-m);
}
.widget-post .article-item:hover { transform: none; box-shadow: none; background: var(--tv-teal-50); }
.widget-post .article-item .image { width: 84px; flex: none; }
.widget-post .article-item .image .ratio, .widget-post .article-item .lazy-container { border-radius: var(--tv-radius-s); }
.widget-post .article-item .content { min-width: 0; }
.widget-post .article-item h6 { font-size: 14.5px; line-height: 1.6; margin: 0; }
.widget-post .info-list { gap: 4px 12px; font-size: 12.5px; margin-bottom: 4px; }
.widget-post .info-list li { font-size: 12.5px; color: var(--tv-ink-400); }

.info-list { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.info-list li, .item-single {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--tv-ink-500);
}
.info-list i, .item-single i { color: var(--tv-teal-600); }
.links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.widget-area { display: flex; flex-direction: column; gap: 0; }
.widget {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l);
  padding: 22px;
  margin-bottom: 22px;
}
.widget > .title, .widget .widget-title {
  font-size: 16.5px; font-weight: 700; color: var(--tv-ink-900);
  margin-bottom: 16px;
}
.widget ul { display: flex; flex-direction: column; gap: 4px; }
.widget-link li a, .widget-categories li a, .widget-amenities li label {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-radius: var(--tv-radius-s);
  font-size: 14.5px; color: var(--tv-ink-700);
}
.widget-link li a:hover, .widget-categories li a:hover,
.widget-link li a.active, .widget-categories li a.active {
  background: var(--tv-teal-50); color: var(--tv-teal-800);
}
.widget-amenities li label { margin: 0; font-weight: 500; cursor: pointer; }
.widget-ratings li { display: flex; align-items: center; gap: 8px; padding: 6px 0; }

.toggle-list { display: none; }
.toggle-list.show { display: block; }
.show-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: 14px; font-weight: 600; color: var(--tv-teal-700);
  cursor: pointer;
}

.list-group { border-radius: var(--tv-radius-m); overflow: hidden; }
.list-group-item { border-color: var(--tv-line); padding: 13px 16px; font-size: 14.5px; }

/* ============================================================
   RATINGS
   ============================================================ */
/* sprites: rate-star.png is 18x26 (gold row + empty row of 13px),
   rate-star-md.png is 23x30 (two rows of 15px). The markup also carries
   .bg-img, whose `background-size: cover` would smear the sprite — pin the
   size and the repeat explicitly. */
.ratings { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.ratings .rate, .ratings .rating-icon {
  background-repeat: repeat-x !important;
  background-size: 18px 26px !important;
  height: 13px;
}
.ratings .rate { background-position: 0 -13px !important; width: 90px; margin-inline-start: -3px; }
.ratings .rating-icon { background-position: 0 0 !important; }

.ratings.size-md .rate, .ratings.size-md .rating-icon {
  height: 15px;
  background-size: 23px 30px !important;
}
.ratings.size-md .rate { width: 115px; background-position: 0 -15px !important; }
.ratings.size-md .rating-icon { background-position: 0 0 !important; }
.ratings .ratings-total { font-size: 12.5px; line-height: 1; color: var(--tv-ink-500); }
.rating-list { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }

/* review form rating picker: five groups (1..5 stars) side by side, divided.
   JS paints the chosen group with an inline colour, so only the resting and
   hover states belong here. */
.review_form .rating { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.review_form .rating .review-value {
  position: relative;
  display: inline-flex; align-items: center; gap: 3px;
  padding-inline-end: 10px;
  font-size: 13px; line-height: 1;
  color: #C3CFCB;
  cursor: pointer;
}
.review_form .rating .review-value::after {
  content: ""; position: absolute;
  top: 50%; inset-inline-end: 0; transform: translateY(-50%);
  width: 1px; height: 16px;
  background: var(--tv-line);
}
.review_form .rating .review-value:last-child::after { display: none; }
.review_form .rating .review-value:hover span { color: var(--tv-gold); }
.review_form .rating .review-value span { transition: color .15s; }
.review-color { color: #FBA31C; }

@media (max-width: 480px) {
  .review_form .rating { flex-direction: column; gap: 6px; }
  .review_form .rating .review-value::after { display: none; }
}

/* ============================================================
   SPACE DETAILS
   ============================================================ */
.listing-details-area { padding-block: 40px 60px; }

.product-slider-wrapper { margin-bottom: 26px; }
.product-slider-style-2 {
  position: relative;
  border-radius: var(--tv-radius-l);
  overflow: hidden;
  background: var(--tv-teal-50);
}
.product-slider-style-2 .slide-item { aspect-ratio: 16/9; }
.product-slider-style-2 .slide-item img,
.product-slider-style-2 .gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-slider-style-2 .gallery-item { display: block; width: 100%; height: 100%; }



.product-slider-style-2-thump { margin-top: 12px; }
.product-slider-style-2-thump .slide-thump-item {
  border-radius: var(--tv-radius-m);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  aspect-ratio: 4/3;
  background: var(--tv-teal-50);
}
.product-slider-style-2-thump .slide-thump-item img { width: 100%; height: 100%; object-fit: cover; }
.product-slider-style-2-thump .swiper-slide-thumb-active { border-color: var(--tv-teal-500); }

.slider-navigation {
  position: absolute; inset-inline: 14px; top: 50%;
  transform: translateY(-50%);
  display: flex; justify-content: space-between;
  z-index: 5; pointer-events: none;
}
.slider-btn {
  pointer-events: auto;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.94);
  color: var(--tv-ink-900);
  border-radius: 50%;
  box-shadow: var(--tv-shadow-s);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.slider-btn:hover { background: var(--tv-teal-600); color: #fff; }
.slider-btn.swiper-button-disabled { opacity: .4; cursor: default; }

.product-single-details { margin-bottom: 30px; }
.product-info { padding-bottom: 18px; border-bottom: 1px solid var(--tv-line); margin-bottom: 22px; }
.product-title { font-size: clamp(21px,2.4vw,27px); font-weight: 700; line-height: 1.45; }
.product-info_list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.product-info_list li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; color: var(--tv-ink-500);
}
.product-info_list i { color: var(--tv-teal-600); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--tv-teal-700);
}

.tabs-navigation { margin-bottom: 24px; }
.tabs-navigation .nav { gap: 4px; flex-wrap: wrap; }
.tabs-navigation .nav-link {
  padding: 10px 16px;
  border-radius: var(--tv-radius-s);
  font-size: 15px; font-weight: 600;
  color: var(--tv-ink-700);
  border: 1px solid var(--tv-line);
  background: var(--tv-surface);
}
.tabs-navigation .nav-link.active {
  background: var(--tv-teal-600); border-color: var(--tv-teal-600); color: #fff;
}

.more-info { font-size: 15px; color: var(--tv-ink-700); line-height: 1.9; }
.amenities-list, .rent-list { display: flex; flex-direction: column; gap: 10px; }
.rent-list li, .price-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14.5px; color: var(--tv-ink-700);
  padding: 9px 0;
  border-bottom: 1px dashed var(--tv-line);
}
.rent-list li:last-child, .price-item:last-child { border-bottom: none; }

/* booking sidebar */
.widget-booking { position: sticky; top: calc(var(--tv-header-h) + 16px); }
.widget-booking .price, .widget-booking .amount { font-size: 20px; font-weight: 700; color: var(--tv-teal-800); }
.widget-booking .form-group { margin-bottom: 14px; }
.date-time-group, .date-form { display: flex; flex-direction: column; gap: 12px; }
.date-time-group .form-control, .date-form .form-control { background: var(--tv-bg); }
.selecttime, .selectTime, .selecttimefrom, .timepicker { cursor: pointer; }

.tv-counter-row, .guest-capacity-search {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1.5px solid var(--tv-line);
  border-radius: var(--tv-radius-m);
  padding: 8px 12px;
  background: var(--tv-surface);
}
.tv-counter-btn {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--tv-radius-s);
  border: 1.5px solid var(--tv-line);
  background: var(--tv-surface);
  color: var(--tv-teal-800);
}
.tv-counter-btn:hover { background: var(--tv-teal-50); border-color: var(--tv-teal-500); }
.tv-counter-value { font-weight: 700; font-size: 16px; }
.tv-counter-unit, .hour-text, .day-text { font-size: 13px; color: var(--tv-ink-400); }

.select-addons, .addons { display: flex; flex-direction: column; gap: 10px; }
.select-addons label, .addons label, .subservice label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--tv-ink-700);
  margin: 0; cursor: pointer;
}
.subservice { padding-inline-start: 26px; }

/* `.sub-total` is on every summary row, not just the subtotal — keep it a plain
   row and reserve the rule/emphasis for `.total` */
.sub-total {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 0;
  font-size: 14.5px; font-weight: 500; color: var(--tv-ink-700);
}
.sub-total .price, .sub-total .amount { font-weight: 700; color: var(--tv-ink-900); white-space: nowrap; }
/* `.main-info` is a generic body wrapper in the dashboard views (it wraps whole
   tables), so it must stay a block — flexing it shrink-wraps the table */
.main-info { display: block; }
.total {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 14px; margin-top: 12px;
  border-top: 1px solid var(--tv-line);
  font-size: 17px; font-weight: 700; color: var(--tv-teal-800);
}
.total .price, .total .amount, .total span { color: var(--tv-teal-800); }

.bookingMessage, .bookingMessagehour {
  font-size: 13.5px; color: var(--tv-warning);
}

/* reviews */
.product-review { padding-top: 10px; }
.review-box {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l);
  padding: 22px;
  margin-bottom: 22px;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-header img, .review-item img.rounded-circle { width: 46px; height: 46px; object-fit: cover; }
.review-value { font-size: 34px; font-weight: 700; color: var(--tv-teal-800); line-height: 1.2; }
.review-progresses { display: flex; flex-direction: column; gap: 8px; }
.review-progress { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--tv-ink-500); }
.progress, .progress-line {
  flex: 1; height: 7px;
  background: var(--tv-line);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar { background: var(--tv-teal-600); }
.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-item {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-m);
  padding: 18px 20px;
}
.review_form { margin-top: 24px; }

.related-product { padding-block: 20px 60px; }
.related-product-navigation { display: flex; gap: 8px; }
.related-product-navigation .slider-btn { position: static; }

/* ============================================================
   CHECKOUT / BOOKING CONFIRM
   ============================================================ */
.shopping-area { padding-block: 48px 60px; }
.billing-details, .form-block, .order-summary, .order-payment, .account-info {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l);
  padding: 24px;
}
.billing-details h4, .order-summary h5, .order-payment h5 { font-weight: 700; }
.order-summary { position: sticky; top: calc(var(--tv-header-h) + 16px); }
.order-summary .item_list { display: flex; flex-direction: column; gap: 10px; }
.order-summary .item_list > li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14.5px; color: var(--tv-ink-700);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--tv-line);
}
.order-summary .item_list > li:last-child { border-bottom: none; padding-bottom: 0; }
.order-summary .price, .order-summary .amount { font-weight: 700; color: var(--tv-ink-900); white-space: nowrap; }
.order-summary .total .price { color: var(--tv-teal-800); font-size: 17px; }

.order-payment .payment-methods { display: flex; flex-direction: column; gap: 10px; }
.offline-gateway-info {
  background: var(--tv-bg);
  border: 1px dashed var(--tv-line);
  border-radius: var(--tv-radius-m);
  padding: 14px 16px;
  font-size: 14px; color: var(--tv-ink-500);
}

/* radio / checkbox groups used by payment + filters */
.selectgroup { display: flex; flex-wrap: wrap; gap: 10px; }
.selectgroup-item { position: relative; }
.selectgroup-input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.selectgroup-button, .form-radio-label, .custom-radio label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--tv-line);
  border-radius: var(--tv-radius-m);
  background: var(--tv-surface);
  font-size: 14.5px; font-weight: 600; color: var(--tv-ink-700);
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
}
.selectgroup-input:checked + .selectgroup-button,
.input-radio:checked + .form-radio-label,
.form-radio-label.active-radio {
  border-color: var(--tv-teal-500);
  background: var(--tv-teal-50);
  color: var(--tv-teal-800);
}
.custom-radio { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   AUTH PAGES (login / signup / password reset)
   ============================================================ */
.user-area-section { background: var(--tv-bg) !important; }
.user-area-section .main-form, .user-form, .login-form, .register-form {
  max-width: 560px;
  margin-inline: auto;
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l);
  box-shadow: var(--tv-shadow-s);
  padding: 32px;
}
.user-area-section .main-form .user-form,
.user-form .login-form, .user-form .register-form {
  border: none; box-shadow: none; padding: 0; max-width: none;
}
.user-area-section .form-group:last-of-type { margin-bottom: 8px; }

/* the toggle is a zero-size inline span, so anchor the icon to the field
   wrapper (`.position-relative` / `.form-group`) rather than to the span */
.show-password-field { position: static; }
.show-password-field .show-icon {
  position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%);
  color: var(--tv-ink-400); cursor: pointer; z-index: 2;
}
.form-group:has(.show-password-field) { position: relative; }

/* ============================================================
   USER / VENDOR DASHBOARD
   ============================================================ */
.user-dashboard { padding-block: 40px 60px; }
.side-navbar, .user-profile-details {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l);
  padding: 20px;
}
.side-navbar ul { display: flex; flex-direction: column; gap: 4px; }
.side-navbar li a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--tv-radius-s);
  font-size: 14.5px; font-weight: 600; color: var(--tv-ink-700);
}
.side-navbar li a:hover, .side-navbar li a.active {
  background: var(--tv-teal-50); color: var(--tv-teal-800);
}
.side-navbar li a i { width: 20px; text-align: center; color: var(--tv-teal-600); }
.side-navbar li a.active i { color: var(--tv-teal-800); }

/* dashboard sidebar nav. The markup is `.widget > ul.links`, which would
   otherwise inherit the horizontal `.links` chip row — force a real
   vertical nav with hit areas. */
.user-dashboard .widget { padding: 14px; }
.user-dashboard .widget .links {
  display: flex; flex-direction: column; flex-wrap: nowrap;
  gap: 2px; margin: 0; padding: 0; list-style: none;
}
.user-dashboard .widget .links li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
  border-radius: var(--tv-radius-s);
  font-size: 14.5px; font-weight: 600; line-height: 1.4;
  color: var(--tv-ink-700);
  transition: background .16s, color .16s;
}
.user-dashboard .widget .links li a:hover { background: var(--tv-bg); color: var(--tv-teal-800); }
.user-dashboard .widget .links li a.active { background: var(--tv-teal-50); color: var(--tv-teal-800); }
.user-dashboard .widget .links li:last-child a { color: var(--tv-error); }
.user-dashboard .widget .links li:last-child a:hover { background: rgba(194,53,43,.07); color: var(--tv-error); }

.main-table {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l);
  padding: 20px;
  overflow: hidden;
}
.main-table .table { margin: 0; }
.account-info { margin-bottom: 22px; }
.account-info > .title,
.account-info > .title h4 { font-size: 17px; font-weight: 700; color: var(--tv-ink-900); margin: 0; }
.account-info > .title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tv-line);
  margin-bottom: 20px;
}
.account-info .main-info { border: none; padding: 0; margin: 0; overflow: visible; }
.account-info .main-info > h6 {
  font-size: 18px; font-weight: 700; color: var(--tv-ink-900);
  margin: 0 0 16px;
}

/* account facts: fixed two-column grid of label/value pairs so the
   colons line up instead of each row sizing to its own content */
.user-dashboard .main-info ul.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 16px;
  margin: 0; padding: 0; list-style: none;
}
.user-dashboard .main-info ul.list li {
  display: grid;
  grid-template-columns: minmax(110px, max-content) 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 12px 16px;
  margin: 0;
  border-radius: var(--tv-radius-m);
  background: var(--tv-bg);
  font-size: 14.5px;
  line-height: 1.6;
}
.user-dashboard .main-info ul.list li span:first-child {
  font-size: 13px; font-weight: 600; color: var(--tv-ink-500);
}
.user-dashboard .main-info ul.list li span + span {
  font-weight: 600; color: var(--tv-ink-900); word-break: break-word;
}

/* one widget = one box. kill nested card-in-card so each section reads
   as a single shape with a single radius-l edge. */
.user-profile-details { padding: 0; border: none; background: none; border-radius: 0; }
.user-profile-details > .account-info { margin-bottom: 0; }
.account-info .main-info > .main-table,
.account-info .main-table {
  background: none; border: none; border-radius: 0; padding: 0;
}

/* dashboard widgets: shared surface + radius so tiles, panels and the
   sidebar all sit on the same shape language */
.side-navbar,
.account-info,
.order-details,
.card-box.card {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l) !important;
  box-shadow: var(--tv-shadow-s);
}
.account-info, .order-details { padding: 22px 24px; }
.order-details > .title { font-size: 16.5px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid var(--tv-line); margin-bottom: 16px; }
.side-navbar { padding: 16px; }

/* dashboard stat tiles */
.card-box { text-align: start; }
.card-box.card { padding: 22px 24px !important; height: 100%; margin-bottom: 0; transition: border-color .18s, box-shadow .18s, transform .18s; }
.card-box.card:hover { border-color: var(--tv-teal-100); box-shadow: var(--tv-shadow-m); transform: translateY(-2px); }
.card-box .card-icon {
  width: 48px; height: 48px; border-radius: var(--tv-radius-m);
  background: var(--tv-teal-50); color: var(--tv-teal-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.card-box .card-info h3 { font-size: 26px; font-weight: 700; color: var(--tv-ink-900); }
.card-box .card-info p { font-size: 14px; color: var(--tv-ink-500); }
.card-box.color-2 .card-icon { background: var(--tv-sand-50); color: var(--tv-warning); }
.card-box.color-3 .card-icon { background: #F2FBF5; color: var(--tv-success); }
.card-box.color-4 .card-icon { background: #EEF2FF; color: var(--tv-info); }

.dataTables_wrapper table.dataTable { width: 100% !important; }

/* datatables chrome */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border: 1.5px solid var(--tv-line);
  border-radius: var(--tv-radius-s);
  padding: 8px 12px;
  width: auto;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: var(--tv-radius-s) !important;
  border-color: var(--tv-line) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--tv-teal-600) !important;
  border-color: var(--tv-teal-600) !important;
  color: #fff !important;
}

/* dashboard tables: airier rows, dashed rules, no zebra fill */
.user-dashboard .main-table th {
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--tv-ink-500);
  white-space: nowrap;
  padding: 12px 14px;
}
.user-dashboard .main-table td {
  padding: 14px;
  font-size: 14.5px;
  color: var(--tv-ink-700);
  vertical-align: middle;
}
.user-dashboard .main-table .table > :not(caption) > * > * {
  background: transparent;
  border-bottom: 1px solid var(--tv-line);
  box-shadow: none;
}
.user-dashboard .main-table tbody tr:last-child > * { border-bottom: 0; }
.user-dashboard .main-table tbody tr:hover > * { background: var(--tv-bg); }

/* booking-status pills */
.user-dashboard .main-table td span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--tv-radius-pill);
  font-size: 12.5px; font-weight: 700; line-height: 1.5;
}
.user-dashboard .main-table td span.default { background: var(--tv-bg); color: var(--tv-ink-500); }
.user-dashboard .main-table td span.pending { background: var(--tv-sand-50); color: var(--tv-warning); }
.user-dashboard .main-table td span.complete { background: #F0F9F4; color: var(--tv-success); }
.user-dashboard .main-table td span.reject { background: #FDF1F0; color: var(--tv-error); }

.user-dashboard .main-table td a.btn {
  padding: 6px 14px;
  border: 1px solid var(--tv-teal-600);
  border-radius: var(--tv-radius-s);
  background: transparent;
  color: var(--tv-teal-700);
  font-size: 13.5px; font-weight: 600;
}
.user-dashboard .main-table td a.btn:hover {
  background: var(--tv-teal-600); border-color: var(--tv-teal-600); color: #fff;
}

/* ---- edit profile / change password forms ---- */
.edit-info-area .form-control, .edit-info-area .nice-select { width: 100%; }
.edit-info-area .form-button { margin-top: 8px; }
.edit-info-area .form-btn { min-width: 160px; }

/* avatar uploader: round preview with a floating edit puck */
.user-dashboard .edit-info-area .upload-img { margin-bottom: 28px; }
.user-dashboard .file-upload-area {
  position: relative;
  width: 120px;
  padding-bottom: 26px;
}
.user-dashboard .file-upload-area .file-preview {
  position: relative;
  width: 120px; height: 120px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid var(--tv-surface);
  box-shadow: 0 0 0 1px var(--tv-line), var(--tv-shadow-s);
}
.user-dashboard .file-upload-area .file-preview > div {
  width: 100%; height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.user-dashboard .file-upload-area .file-edit {
  position: absolute;
  inset-inline: 0; bottom: 0;
  width: 38px; height: 38px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--tv-surface);
  color: var(--tv-teal-700);
  box-shadow: 0 0 0 1px var(--tv-line), var(--tv-shadow-m);
  z-index: 2;
  transition: background .18s, color .18s;
}
.user-dashboard .file-upload-area .file-edit input { display: none; }
.user-dashboard .file-upload-area .file-edit input + label {
  display: block;
  width: 38px; height: 38px;
  margin: 0;
  cursor: pointer;
}
.user-dashboard .file-upload-area .file-edit input + label::after {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  content: "\f040";
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
}
.user-dashboard .file-upload-area .file-edit:hover { background: var(--tv-teal-600); color: #fff; }

.user-dashboard .position-relative > .form-control { padding-inline-end: 44px; }

/* ============================================================
   SPACE LISTING CARDS (legacy markup on non-redesigned views)
   ============================================================ */
.product-default {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-l);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-default:hover { box-shadow: var(--tv-shadow-m); transform: translateY(-3px); }
.product-default .price, .new-price { font-size: 17px; font-weight: 700; color: var(--tv-teal-800); }
.old-price { font-size: 14px; color: var(--tv-ink-400); text-decoration: line-through; }
.sort-area {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-m);
  padding: 14px 18px;
  margin-bottom: 20px;
}

/* ============================================================
   NEWSLETTER / CTA BANNER
   ============================================================ */
.newsletter-area { padding-block: 20px 60px; }
.newsletter-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--tv-radius-l);
  background-color: var(--tv-teal-900);
  padding: 40px;
}
.newsletter-inner .content-title h2, .newsletter-inner .title { color: #fff; }
.newsletter-inner .image img { border-radius: var(--tv-radius-m); }
.newsletter-form .input-inline, .subscription-form .input-inline {
  background: var(--tv-surface);
  border-color: transparent;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-area { padding-block: 48px 60px; }
.faq-area .accordion-item { background: var(--tv-surface); }
.faq-area .accordion-button {
  font-size: 16.5px;
  padding: 18px 20px;
}
.faq-area .accordion-button::after { margin-inline-start: auto; }
.faq-area .accordion-body { color: var(--tv-ink-500); line-height: 1.9; padding: 20px; }

/* ============================================================
   OFFCANVAS (mobile filters)
   ============================================================ */
.offcanvas { background: var(--tv-surface); }
.offcanvas-header { border-bottom: 1px solid var(--tv-line); padding: 18px 20px; }
.offcanvas-title { font-size: 17px; font-weight: 700; }
.offcanvas-body { padding: 20px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-area { position: relative; z-index: 1; }
.contact-area .contact-info .card {
  height: 100%;
  padding: 30px 24px 26px;
  background: var(--tv-surface);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.contact-area .contact-info .card:hover {
  border-color: var(--tv-teal-100);
  box-shadow: var(--tv-shadow-m);
  transform: translateY(-2px);
}
.contact-area .contact-info .card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 26px;
  color: var(--tv-teal-700);
}
.contact-area .contact-info .card-text span {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--tv-ink-500);
}
.contact-area .contact-info .card-text .h6 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--tv-ink-900);
}
.contact-area .contact-info .card-text .h6 a { color: inherit; }
.contact-area .contact-info .card-text .h6 a:hover { color: var(--tv-teal-700); }

.contact-area .map {
  min-height: 420px;
  border: 1px solid var(--tv-line);
}
.contact-area .map iframe,
.contact-area iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .widget-booking, .order-summary { position: static; }
  .widget-area { margin-top: 28px; }
  /* dashboard: nav first, then content — and keep it above the fold */
  .user-dashboard .widget-area { margin-top: 0; margin-bottom: 24px; }
  .user-dashboard.pt-100, .user-dashboard .pt-100 { padding-top: 40px !important; }
}
@media (max-width: 575px) {
  .user-dashboard .account-info, .user-dashboard .order-details { padding: 18px 16px; }
  .user-dashboard .main-info ul.list { grid-template-columns: 1fr; }
  .user-dashboard .main-info ul.list li { grid-template-columns: 1fr; gap: 2px; }
  .user-dashboard .file-upload-area { margin-inline: auto; }
}
@media (max-width: 768px) {
  .breadcrumb-area { padding-block: 40px; }
  .listing-details-area, .shopping-area, .user-dashboard, .faq-area { padding-block: 28px 44px; }
  .billing-details, .form-block, .order-summary, .order-payment, .widget { padding: 18px; }
  .product-slider-style-2 .slide-item { aspect-ratio: 4/3; }
  .contact-area .map, .contact-area .map iframe, .contact-area iframe { min-height: 300px; }
}
