/* ==========================================================================
   awwsumm — Listings (Events / Dining)
   Dark listing + detail pages matching the provided UI designs.
   Class names are namespaced (lst-, det-, dd-, bk-) to avoid theme clashes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared list page scaffolding
   -------------------------------------------------------------------------- */
.lst-page {
  --container: 1280px;
  line-height: 1.5;
}

.lst-page h1,
.lst-page h2,
.lst-page h3 {
  line-height: 1.25;
}

.lst-page p {
  line-height: 1.6;
}

.lst-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.lst-breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.lst-breadcrumb a {
  color: var(--text-secondary);
}

.lst-breadcrumb a:hover {
  color: var(--text-primary);
}

/* Hero banner card (rounded, gradient tint, promotional image on the right) */
.lst-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 70% at 88% 15%, rgba(255, 94, 138, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 65% at 96% 80%, rgba(123, 92, 255, 0.18), transparent 60%),
    var(--bg-surface);
  overflow: hidden;
  margin: 24px 0 40px;
}

.lst-header h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0;
}

.lst-header p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  max-width: 460px;
}

.lst-hero-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(255, 94, 138, 0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lst-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -6px rgba(255, 94, 138, 0.4);
  color: #fff;
  text-decoration: none;
}

.lst-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/11;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.lst-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lst-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.55)),
    linear-gradient(135deg, rgba(243, 154, 61, 0.28), rgba(255, 94, 138, 0.18) 55%, rgba(123, 92, 255, 0.30));
}

/* filter row + chips */
.lst-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 28px;
  flex-wrap: wrap;
}

/* subcategory chips row (below the main filter row) */
.lst-subchips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: -8px 0 20px;
}

.lst-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lst-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  color: #fff;
  background: #161616;
  white-space: nowrap;
  text-decoration: none;
  transition: all .2s ease;
}

.lst-chip.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

.lst-chip:hover:not(.active) {
  border-color: var(--border-subtle);
  background: #242424;
  color: #fff;
  text-decoration: none;
}

.lst-filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lst-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  font-family: inherit;
}

.lst-btn-outline:hover {
  border-color: var(--text-secondary);
}

.lst-select-sort {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 9px 36px 9px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A8A8A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  font-family: inherit;
}

.lst-select-sort option {
  background: var(--bg-surface-alt);
  color: var(--text-primary);
}

/* single-row search & filter bar */
.lst-searchbar {
  display: flex;
  align-items: stretch;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  height: 56px;
  margin: 0 0 28px;
  overflow: hidden;
}

.lst-search-form {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
}

.lst-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  min-width: 0;
}

.lst-search-field svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.lst-search-field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  height: 100%;
}

.lst-search-field input::placeholder {
  color: var(--text-muted);
}

.lst-search-divider {
  width: 1px;
  background: var(--border-subtle);
  align-self: center;
  height: 24px;
  flex-shrink: 0;
}

.lst-search-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background-color: var(--bg-surface);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A8A8A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding: 0 38px 0 18px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  height: 100%;
  white-space: nowrap;
}

.lst-search-select option {
  background: var(--bg-surface-alt);
  color: var(--text-primary);
}

.lst-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border: none;
  border-left: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color .2s ease;
}

.lst-filter-btn:hover {
  color: var(--accent-pink);
}

/* filter panel (hidden, toggled by Filter button) */
.lst-filter-panel {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

.lst-filter-panel.open {
  display: block;
}

.lst-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lst-filter-group label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lst-filter-group select,
.lst-filter-group input {
  width: 100%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  height: auto;
  min-height: 44px;
  line-height: 1.3;
}

.lst-filter-group select option {
  background: var(--bg-surface-alt);
}

.lst-filter-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 1;
}

.lst-filter-group input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.lst-filter-group input[type="number"]::-webkit-outer-spin-button,
.lst-filter-group input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lst-filter-panel-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.lst-btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  font-family: inherit;
}

/* price range inputs row */
.lst-range-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lst-range-row span {
  color: var(--text-muted);
}

.lst-loadmore {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 52px;
  margin: 24px auto 64px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all .2s ease;
}

.lst-loadmore:hover {
  border-color: transparent;
  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;
}

.lst-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
}

.lst-empty h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lst-empty p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 20px;
}

.lst-empty .lst-btn-primary {
  display: inline-flex;
}

/* --------------------------------------------------------------------------
   Event list cards (Experiences + Events UI)
   -------------------------------------------------------------------------- */
.elist-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
}

.elist-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}

.elist-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-pink);
}

.elist-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.elist-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.elist-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--gradient-primary);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.elist-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.elist-info h3 a {
  color: var(--text-primary);
}

.elist-info h3 a:hover {
  color: var(--text-secondary);
}

.elist-meta {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.elist-meta svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.elist-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-right: 8px;
}

.elist-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.elist-price span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
}

.elist-heart {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all .2s ease;
}

.elist-heart:hover {
  color: var(--accent-pink);
  border-color: var(--accent-pink);
}

/* --------------------------------------------------------------------------
   Dining list grid
   -------------------------------------------------------------------------- */
.dlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 16px;
}

.dlist-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  display: block;
}

.dlist-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-pink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.dlist-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
}

.dlist-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.dlist-card:hover .dlist-media img {
  transform: scale(1.05);
}

.dlist-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.dlist-heart:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.dlist-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dlist-body h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--text-primary);
  transition: color .25s ease;
}

.dlist-card:hover .dlist-body h3 {
  color: var(--accent-pink);
}

.dlist-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dlist-meta svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.dlist-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.dlist-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #F39A3D;
  background: rgba(243, 154, 61, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.dlist-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.dlist-price span {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   Detail pages — shared scaffolding
   -------------------------------------------------------------------------- */
.det-breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.det-breadcrumb a {
  color: var(--text-secondary);
}

.det-breadcrumb a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Dining detail — hero gallery (main image + thumbnail strip)
   -------------------------------------------------------------------------- */
.dd-gallery {
  min-width: 0;
}

.dd-gallery-main {
  position: relative;
  aspect-ratio: 21/10;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.dd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dd-gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.dd-gallery-strip {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.dd-gallery-strip button {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 200px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  padding: 0;
  cursor: pointer;
  background: none;
}

.dd-gallery-strip button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.82);
  transition: transform .25s ease, filter .25s ease;
}

.dd-gallery-strip button:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

.dd-gallery-strip button.active {
  border-color: #F39A3D;
  box-shadow: 0 0 0 2px rgba(243, 154, 61, 0.35);
}

.dd-gallery-strip button.active img {
  filter: brightness(1);
}

.dd-gallery-strip .view-all {
  background: var(--bg-surface-alt);
}

.dd-gallery-strip .view-all img {
  filter: brightness(.5);
}

.dd-gallery-strip .view-all span {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  padding: 8px;
}

/* --------------------------------------------------------------------------
   Event detail — main layout (image gallery | booking card)
   -------------------------------------------------------------------------- */
.det-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: start;
  padding: 28px 0 48px;
}

/* ---- left: image gallery ---- */
.det-gallery {
  min-width: 0;
}

.det-gallery-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  max-height: 560px;
  width: 100%;
  border: 1px solid var(--border-subtle);
}

.det-gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.det-gallery-hero .carousel-inner,
.det-gallery-hero .carousel-item {
  height: 100%;
}

.det-gallery-hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.det-gallery-hero .carousel-control-prev,
.det-gallery-hero .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: opacity .25s ease;
}

.det-gallery-hero .carousel-control-prev {
  left: 16px;
}

.det-gallery-hero .carousel-control-next {
  right: 16px;
}

.det-gallery-hero:hover .carousel-control-prev,
.det-gallery-hero:hover .carousel-control-next {
  opacity: 1;
}

.det-gallery-hero .carousel-control-prev-icon,
.det-gallery-hero .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.det-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.det-gallery-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  width: 82px;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  display: block;
  cursor: pointer;
  padding: 0;
  background: none;
}

.det-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.det-gallery-thumb.active {
  border-color: #F39A3D;
  box-shadow: 0 0 0 2px rgba(243, 154, 61, 0.35);
}

.det-gallery-more {
  position: relative;
  width: 82px;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  line-height: 1.3;
}

.det-gallery-more:hover {
  border-color: var(--text-secondary);
}

/* gallery modal */
.det-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.det-gallery-grid a {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 1px solid var(--border-subtle);
  display: block;
}

.det-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- right: event information card ---- */
.det-card {
  position: sticky;
  top: 96px;
  background: #141414;
  border: 1px solid #2C2C2C;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.det-card h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.15;
}

.det-cat {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  background: rgba(243, 154, 61, 0.14);
  color: #F39A3D;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.det-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.det-rating svg {
  color: #F5B400;
}

.det-rating-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.det-rating-count {
  font-size: 14px;
  color: var(--text-muted);
}

.det-details {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.det-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.det-detail-row svg {
  color: #F39A3D;
  flex-shrink: 0;
  margin-top: 2px;
}

.det-detail-row span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  min-width: 0;
}

.det-price {
  padding: 16px 0;
  border-top: 1px solid #2C2C2C;
  border-bottom: 1px solid #2C2C2C;
  margin-bottom: 20px;
}

.det-price-amount {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.det-price-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.det-card-cta {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.det-btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 15px 34px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(255, 45, 120, 0.5);
  font-family: inherit;
  text-align: center;
  width: 100%;
  display: block;
}

.det-btn-primary:hover {
  color: #fff;
}

.det-btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid #2C2C2C;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  width: 100%;
}

.det-btn-secondary:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

/* wishlist hearts — gradient when saved */
.elist-heart.is-saved {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.elist-heart.is-saved svg,
.dlist-heart.is-saved svg,
.det-btn-secondary.is-saved svg {
  fill: url(#wishlistHeartGradient);
  stroke: none;
}

.dlist-heart.is-saved {
  border-color: rgba(255, 45, 120, 0.7);
}

.det-btn-secondary.is-saved {
  border-color: var(--accent-pink);
  color: #fff;
}

.det-section {
  margin-bottom: 32px;
}

.det-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.det-section p,
.det-section .summernote-content,
.det-section .summernote-content p {
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
}

.det-section .summernote-content {
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
}

.det-section .summernote-content * {
  color: var(--text-secondary);
  font-family: inherit;
}

.det-section .summernote-content p {
  margin: 0 0 14px;
}

.det-section .summernote-content blockquote {
  margin: 0 0 14px;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--border-subtle);
  background: transparent;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.det-section .summernote-content blockquote p {
  margin-bottom: 0;
}

.det-section .summernote-content p:empty,
.det-section .summernote-content h1:empty,
.det-section .summernote-content h2:empty,
.det-section .summernote-content h3:empty,
.det-section .summernote-content h4:empty {
  display: none;
}

.det-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.det-info-pair {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.det-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-pink);
}

.det-info-pair h4 {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.det-info-pair p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Event detail — bottom section (About | Other Information)
   -------------------------------------------------------------------------- */
.det-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: start;
  padding: 0 0 48px;
}

.det-about h2,
.det-other h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.det-about-content {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  max-height: 220px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.det-about-content.expanded {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.det-about-content p {
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
}

.det-readmore {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px 0 0;
  color: #F39A3D;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.det-readmore:hover {
  color: #fff;
}

.det-other {
  background: #141414;
  border: 1px solid #2C2C2C;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.det-other .det-info-grid {
  grid-template-columns: 1fr;
}

/* related events heading on detail page */
.det-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 0 24px;
}

.det-related-head h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Booking widget (sticky, event + dining)
   -------------------------------------------------------------------------- */
.bkwidget {
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
}

/* booking / gallery modals */
.booking-modal .modal-dialog {
  max-width: 560px;
  margin: 1.75rem auto;
}

.booking-modal .modal-content,
.gallery-modal .modal-content {
  background: #141414;
  border: 1px solid #2C2C2C;
  border-radius: 16px;
  color: var(--text-primary);
}

.booking-modal .modal-header,
.gallery-modal .modal-header {
  border-bottom: 1px solid #2C2C2C;
  padding: 20px 24px;
}

.booking-modal .modal-header h4,
.gallery-modal .modal-header h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.booking-modal .modal-header h4,
.gallery-modal .modal-header h4 {
  color: #fff;
}

.booking-modal .close,
.gallery-modal .close {
  width: 32px;
  height: 32px;
  border-radius: 0 47% 0 47%;
  background: #E5484D;
  color: #fff;
  text-shadow: none;
  opacity: 1;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-modal .close:hover,
.gallery-modal .close:hover {
  background: #c93a3f;
  color: #fff;
  opacity: 1;
}

.booking-modal .modal-body {
  padding: 24px;
}

.bkwidget .syotimer__head,
.bkwidget .syotimer__footer {
  display: none;
}

.bkwidget .syotimer__body {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: fit-content;
}

.bkwidget .syotimer-cell {
  flex: 0 0 56px;
  min-width: 69px;
  text-align: center;
  background: #0B0B0B;
  border: 1px solid #2C2C2C;
  border-radius: 10px;
  padding: 10px 6px;
}

.bkwidget .syotimer-cell__value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 6px;
}

.bkwidget .syotimer-cell__unit {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #9a9a9a;
}

.booking-modal .bkwidget {
  position: static;
  background: transparent;
  border: none;
  padding: 0;
}

.booking-modal .bkwidget h3 {
  display: none;
}

.bkwidget h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.bkwidget-section {
  margin-bottom: 16px;
}

.bkwidget-section > b {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.bkwidget select,
.bkwidget input[type="text"],
.bkwidget input[type="date"],
.bkwidget input[type="time"],
.bkwidget input[type="number"] {
  width: 100%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  margin-top: 6px;
  height: auto;
  min-height: 56px;
  line-height: 1.3;
}

.bkwidget select option {
  background: var(--bg-surface-alt);
}

.bkwidget input[type="date"]::-webkit-calendar-picker-indicator,
.bkwidget input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 1;
}

.bkwidget input[type="number"] {
  text-align: center;
  width: 64px;
  height: 32px;
  min-height: 32px;
  margin-top: 0;
  -moz-appearance: textfield;
}

.bkwidget input[type="number"]::-webkit-inner-spin-button,
.bkwidget input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ticket rows */
.bkwidget-ticket {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  background: var(--bg-surface-alt);
}

.bkwidget-ticket .bk-ticket-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.bkwidget-ticket .bk-ticket-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.bkwidget-ticket .price-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bkwidget-ticket .price-count h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.bkwidget-ticket .price-count h6 del {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 4px;
}

.bkwidget-ticket .price-count .quantity-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bkwidget-ticket .price-count .quantity-up,
.bkwidget-ticket .price-count .quantity-down,
.bkwidget-ticket .price-count .quantity-down_variation {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.bkwidget-ticket .price-count .quantity-up:hover,
.bkwidget-ticket .price-count .quantity-down:hover,
.bkwidget-ticket .price-count .quantity-down_variation:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.bkwidget-ticket .price-count .quantity {
  width: 45px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  margin: 0;
}

.bkwidget-ticket .text-warning {
  color: var(--accent-orange);
  font-size: 12px;
  margin: 6px 0 0;
}

/* discount note */
.bkwidget-ticket p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

/* click-show read more (ticket desc) */
.bkwidget .click-show {
  margin-bottom: 8px;
}

.bkwidget .show-content {
  font-size: 12px;
  color: var(--text-muted);
}

.bkwidget .read-more-btn span {
  font-size: 12px;
  color: var(--accent-pink);
  cursor: pointer;
  font-weight: 600;
}

.bkwidget .read-more-btn span:nth-child(2) {
  display: none;
}

.bkwidget .total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
  padding-top: 16px;
}

.bkwidget .total b {
  font-size: 14px;
  color: var(--text-primary);
}

.bkwidget .total .h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Sora', sans-serif;
}

.bkwidget .bk-submit {
  width: 100%;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  height: 56px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 8px 20px rgba(255, 94, 138, 0.25);
  font-family: inherit;
  transition: filter .2s ease, transform .15s ease;
}

.bkwidget .bk-submit:hover {
  filter: brightness(1.08);
}

.bkwidget .bk-submit:active {
  transform: scale(0.98);
}

.bkwidget .bk-over-msg {
  margin-top: 14px;
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 600;
}

/* secondary save-to-wishlist action */
.bkwidget .bk-save {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #2C2C2C;
  border-radius: 999px;
  height: 52px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 10px;
  text-decoration: none;
  transition: all .2s ease;
}

.bkwidget .bk-save:hover {
  border-color: var(--accent-pink);
  color: #fff;
  text-decoration: none;
}

.bkwidget .bk-save.is-saved {
  border-color: var(--accent-pink);
  color: #fff;
}

.bkwidget .bk-save.is-saved svg {
  fill: url(#wishlistHeartGradient);
  stroke: none;
}

/* add to calendar dropdown inside widget */
.bkwidget .dropdown.show {
  padding: 0;
}

.bkwidget .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-pink);
  font-size: 13px;
  font-weight: 600;
}

.bkwidget .dropdown-menu {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.bkwidget .dropdown-item {
  color: var(--text-primary);
  font-size: 13px;
}

.bkwidget .dropdown-item:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* author block (organised by) */
.bkwidget .author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 14px;
}

.bkwidget .author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.bkwidget .author h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.bkwidget .author .content a {
  color: var(--accent-pink);
  font-size: 12px;
  font-weight: 600;
}

.bkwidget .bk-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 8px;
}

.bkwidget hr {
  border-color: var(--border-subtle);
  opacity: 1;
  margin: 12px 0;
}

/* --------------------------------------------------------------------------
   Dining detail
   -------------------------------------------------------------------------- */
.dd-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  padding: 32px 0 64px;
  align-items: start;
}

.dd-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.dd-title-row h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text-primary);
}

.dd-status {
  font-size: 13px;
  font-weight: 600;
  color: #2ECC71;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
}

.dd-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ECC71;
}

.dd-status.closed {
  color: #E5484D;
  border-color: rgba(229, 72, 77, 0.35);
  background: rgba(229, 72, 77, 0.12);
}

.dd-status.closed::before {
  background: #E5484D;
}

.dd-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 16px;
  margin: 14px 0 22px;
}

.dd-meta .item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dd-meta .item svg {
  color: var(--text-muted);
}

.dd-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.dd-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-secondary);
  background: #1E1E1E;
  white-space: nowrap;
}

.dd-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.dd-map-frame {
  height: 260px;
  overflow: hidden;
  background: #141414;
}

.dd-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

.dd-map-visual {
  height: 260px;
  background:
    linear-gradient(var(--border-subtle) 1px, transparent 1px) 0 0/32px 32px,
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px) 0 0/32px 32px,
    #141414;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dd-pin {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  background: var(--gradient-primary);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dd-pin svg {
  transform: rotate(45deg);
  color: #fff;
}

.dd-map-details {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.dd-map-details p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 420px;
  margin: 0;
}

.dd-directions {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-pink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.dd-book-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.dd-book-header svg {
  color: var(--accent-pink);
}

.dd-book-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* dining details — title/meta/about section below the gallery + booking row */
.dd-info {
  padding: 40px 0 64px;
}

/* --------------------------------------------------------------------------
   Dining detail — similar restaurants (horizontal scroll)
   -------------------------------------------------------------------------- */
.dd-similar {
  margin: 16px 0 0;
  padding: 0 0 64px;
}

.dd-similar h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.dd-similar-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 270px;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.dd-similar-scroll::-webkit-scrollbar {
  display: none;
}

.dd-sim-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.dd-sim-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-pink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color: inherit;
  text-decoration: none;
}

.dd-sim-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.dd-sim-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.dd-sim-card:hover .dd-sim-media img {
  transform: scale(1.05);
}

.dd-sim-body {
  padding: 16px;
}

.dd-sim-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dd-sim-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dd-sim-meta svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.dd-sim-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.dd-sim-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .lst-container {
    padding: 0 20px;
  }

  .lst-header {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 24px;
  }

  .lst-banner {
    order: -1;
    aspect-ratio: 16/9;
  }

  .dd-gallery-strip button {
    max-width: 160px;
  }

  .lst-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .elist-card {
    grid-template-columns: 110px 1fr;
  }

  .elist-right {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
  }

  .dlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dd-body {
    grid-template-columns: 1fr;
  }

  .det-layout,
  .det-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .det-card,
  .det-other {
    position: static;
  }

  .det-gallery-hero {
    max-height: none;
    aspect-ratio: 16/10;
  }

  .det-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bkwidget {
    position: static;
  }
}

@media (max-width: 600px) {
  .lst-header {
    padding: 24px;
  }

  .lst-header h1 {
    font-size: 32px;
  }

  .lst-header p {
    font-size: 16px;
  }

  .lst-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .lst-searchbar {
    flex-wrap: wrap;
    height: auto;
  }

  .lst-search-form {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }

  .lst-search-field {
    flex: 1 1 100%;
    height: 56px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .lst-search-divider {
    display: none;
  }

  .lst-search-select {
    flex: 1 1 50%;
    height: 52px;
    min-width: 0;
  }

  .lst-filter-btn {
    flex: 1 1 100%;
    justify-content: center;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    height: 52px;
  }

  .lst-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .lst-chips::-webkit-scrollbar {
    display: none;
  }

  .lst-filter-grid {
    grid-template-columns: 1fr;
  }

  .dd-gallery-strip button {
    flex: 1 1 30%;
    max-width: none;
    height: 82px;
  }

  .dd-title-row h1 {
    font-size: 30px;
  }

  .dd-similar-scroll {
    grid-auto-columns: 230px;
  }

  .dlist-grid {
    grid-template-columns: 1fr;
  }

  .det-card h1 {
    font-size: 28px;
  }

  .det-gallery-thumb,
  .det-gallery-more {
    width: 68px;
  }

  .det-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .det-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CUSTOMER DASHBOARD — dark design system (matches home/listings UI)
   ========================================================================== */
.cust-page {
  padding: 0 0 72px;
}

.cust-breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.cust-breadcrumb a {
  color: var(--text-secondary);
}

.cust-breadcrumb a:hover {
  color: var(--text-primary);
}

.cust-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 6px;
}

/* Page header banner */
.cust-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 48px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 70% at 88% 15%, rgba(255, 94, 138, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 65% at 96% 80%, rgba(123, 92, 255, 0.18), transparent 60%),
    var(--bg-surface);
  margin: 24px 0 32px;
  overflow: hidden;
}

.cust-hero h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}

.cust-hero p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
}

.cust-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

/* Sidebar + content grid */
.cust-layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cust-main {
  min-width: 0;
}

/* Sidebar */
.cust-sidebar {
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 12px;
}

.cust-sb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 10px;
}

.cust-sb-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  border: 2px solid var(--border-subtle);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.cust-sb-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  word-break: break-word;
}

.cust-sb-mail {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  word-break: break-word;
}

.cust-sb-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cust-sb-links li {
  margin: 2px 0;
}

.cust-sb-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.cust-sb-links a svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color .2s;
}

.cust-sb-links a:hover {
  background: var(--bg-surface-alt);
  color: var(--text-primary);
}

.cust-sb-links a:hover svg {
  color: var(--accent-pink);
}

.cust-sb-links a.active {
  background: var(--gradient-primary);
  color: #fff;
}

.cust-sb-links a.active svg {
  color: #fff;
}

.cust-sb-links a.cust-sb-logout {
  color: #F87171;
}

.cust-sb-links a.cust-sb-logout svg {
  color: #F87171;
}

.cust-sb-links a.cust-sb-logout:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
}

/* Cards */
.cust-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
}

.cust-card + .cust-card {
  margin-top: 24px;
}

.cust-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.cust-card-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.cust-card-head .cust-eyebrow {
  margin-bottom: 4px;
}

/* Key-value grid */
.cust-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
}

.cust-kv-item b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cust-kv-item span {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
  word-break: break-word;
}

.cust-kv-item a {
  color: var(--text-primary);
}

.cust-kv-item a:hover {
  color: var(--accent-pink);
}

.cust-kv.cols-1 {
  grid-template-columns: 1fr;
}

/* Tables */
.cust-table-wrap {
  overflow-x: auto;
  margin: -8px -12px;
  padding: 8px 12px;
}

.cust-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cust-table thead th {
  text-align: left;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.cust-table tbody td {
  padding: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(42, 42, 42, 0.6);
  vertical-align: middle;
  line-height: 1.5;
}

.cust-table tbody tr:last-child td {
  border-bottom: none;
}

.cust-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.cust-table a {
  color: var(--text-primary);
  text-decoration: none;
}

.cust-table a:hover {
  color: var(--accent-pink);
}

/* Badges / chips */
.cust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.cust-badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}

.cust-badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}

.cust-badge-neutral {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.cust-badge-warning {
  background: rgba(245, 180, 0, 0.15);
  color: #F5B400;
}

.cust-badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}

/* Buttons */
.cust-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  font-family: inherit;
  border: none;
  text-decoration: none;
  transition: all .2s ease;
}

.cust-btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(255, 45, 120, 0.45);
}

.cust-btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.cust-btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid #2C2C2C;
}

.cust-btn-ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.cust-btn-danger {
  background: transparent;
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.cust-btn-danger:hover {
  border-color: #F87171;
  color: #F87171;
}

/* Forms */
.cust-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cust-form label span {
  color: var(--accent-pink);
}

.cust-form input[type="text"],
.cust-form input[type="email"],
.cust-form input[type="password"],
.cust-form input[type="tel"],
.cust-form input[type="number"],
.cust-form textarea,
.cust-form select {
  width: 100%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  min-height: 46px;
  line-height: 1.3;
  transition: border-color .2s;
}

.cust-form textarea {
  min-height: 110px;
  resize: vertical;
}

.cust-form select option {
  background: var(--bg-surface-alt);
}

.cust-form input:focus,
.cust-form textarea:focus,
.cust-form select:focus {
  outline: none;
  border-color: var(--accent-pink);
}

.cust-form input::placeholder,
.cust-form textarea::placeholder {
  color: var(--text-muted);
}

.cust-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.cust-form .cust-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.cust-form .cust-form-full {
  grid-column: 1 / -1;
}

.cust-form .cust-form-actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
}

.cust-form .text-danger {
  color: #F87171;
  font-size: 13px;
  margin-top: 6px;
}

/* Avatar upload */
.cust-avatar-upload {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.cust-avatar-preview {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  border: 2px solid var(--border-subtle);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cust-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cust-avatar-actions small {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.5;
}

.cust-file-input {
  display: none;
}

/* Alerts */
.cust-alert {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.cust-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ADE80;
}

.cust-alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
}

/* Empty state */
.cust-empty {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
}

.cust-empty h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cust-empty p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

.cust-empty .cust-btn {
  margin-top: 18px;
}

/* Pagination (Bootstrap links) */
.cust-pagination .pagination {
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 0;
}

.cust-pagination .page-link {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 8px !important;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.4;
}

.cust-pagination .page-link:hover {
  border-color: var(--accent-pink);
  color: var(--text-primary);
}

.cust-pagination .page-item.active .page-link {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.cust-pagination .page-item.disabled .page-link {
  background: transparent;
  color: var(--text-muted);
  pointer-events: none;
}

.cust-inline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* Support ticket conversation */
.cust-msg-list {
  display: grid;
  gap: 18px;
  max-height: 480px;
  overflow-y: auto;
  padding: 4px;
}

.cust-msg-item {
  display: flex;
  gap: 12px;
}

.cust-msg-item .cust-msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.cust-msg-body {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 16px;
  min-width: 0;
  max-width: 640px;
}

.cust-msg-item.cust-msg-admin .cust-msg-body {
  background: rgba(255, 45, 120, 0.08);
  border-color: rgba(255, 45, 120, 0.25);
}

.cust-msg-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.cust-msg-meta .cust-msg-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.cust-msg-meta .cust-msg-role {
  font-size: 12px;
  color: var(--text-muted);
}

.cust-msg-meta .cust-msg-time {
  font-size: 12px;
  color: var(--text-muted);
}

.cust-msg-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}

.cust-msg-content .summernote-content p {
  color: var(--text-primary);
}

.cust-msg-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-pink);
}

.cust-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 22px 0;
}

.cust-ticket-subject {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.cust-ticket-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 991px) {
  .cust-layout {
    grid-template-columns: 1fr;
  }

  .cust-sidebar {
    position: static;
  }

  .cust-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .cust-hero h1 {
    font-size: 28px;
  }

  .cust-hero-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .cust-kv,
  .cust-form .cust-form-row {
    grid-template-columns: 1fr;
  }

  .cust-card {
    padding: 20px;
  }
}
