{% scope_css %}

.proj-wrap {
  --proj-secondary: ;
  --proj-gold: #F2C200;
  --proj-green: #5FAF3A;
  --proj-grey: #F1F4F9;
  background: #f5f7fa;
  padding-top: px;
  padding-bottom: px;
  padding-left: px;
  padding-right: px;
}

/* ===== LAYOUT ===== */
.proj-body-wrap {
  display: flex;
  align-items: flex-start;
  background: #f5f7fa;
  min-height: 600px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SIDEBAR ===== */
.proj-sidebar {
  width: 280px;
  min-width: 280px;
  border-right: 1px solid #e8edf2;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  overflow: visible;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.07);
}
.proj-sb-head {
  display: block !important;
  background: linear-gradient(135deg, #1FA4B8 0%, #157a8a 100%) !important;
  padding: 16px 20px;
}
.proj-sb-title {
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.proj-sb-body {
  padding: 8px 0 20px;
}

/* ===== TOP SEARCH ===== */
.proj-top-search {
  background: #ffffff;
  border-bottom: 1px solid #e8edf2;
  padding: 16px 0;
}
.proj-top-search-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 0 304px;
  position: relative;
  display: flex;
  align-items: center;
}
.proj-top-search-icon {
  position: absolute;
  left: 320px;
  color: #b0b8c4;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  line-height: 1;
}
.proj-top-search-input {
  width: 100% !important;
  padding: 12px 20px 12px 44px !important;
  border: 1.5px solid #cdd2da !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  color: #2D3748 !important;
  background: #f8f9fb !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
  font-family: inherit !important;
}
.proj-top-search-input:focus {
  border-color: #1FA4B8 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(31, 164, 184, 0.12) !important;
}
.proj-search-clear {
  position: absolute;
  right: 28px;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 20px;
  color: #b0b8c4;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
  outline: none !important;
  border-radius: 0 !important;
}
.proj-search-clear:hover,
.proj-search-clear:focus,
.proj-search-clear:active {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: #6b7685;
}

/* Featured toggle */
.proj-feat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #eef0f3;
  background: rgba(242, 194, 0, 0.05);
  transition: background 0.15s;
}
.proj-feat-row.on {
  background: rgba(242, 194, 0, 0.1);
}
.proj-feat-label {
  color: #8a6d00;
  font-size: 14px;
  font-weight: 700;
}
.proj-feat-switch {
  width: 36px;
  height: 20px;
  background: #dde1e7;
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}
.proj-feat-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: left 0.2s;
}
.proj-feat-switch.on {
  background: var(--proj-gold);
}
.proj-feat-switch.on::after {
  left: 19px;
}

/* Accordion */
.proj-acc-item {
  border-bottom: 1px solid #eef0f3;
}
.proj-acc-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: var(--proj-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.proj-ch {
  color: #6b7685;
  font-size: 18px;
  display: inline-block;
  transition: transform 0.2s;
}
.proj-acc-body {
  padding: 4px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proj-acc-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #6b7685;
  cursor: pointer;
  user-select: none;
}
.proj-acc-opt.on {
  color: var(--proj-primary);
}
.proj-cb {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  border-radius: 3px !important;
  border: 1.5px solid #cdd2da !important;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  transition: background 0.15s, border-color 0.15s;
  box-sizing: border-box !important;
}
.proj-cb.on {
  background: #1FA4B8 !important;
  border-color: #1FA4B8 !important;
  color: #ffffff !important;
}
.proj-cb.on::after {
  content: '✓' !important;
  display: block !important;
  color: #ffffff !important;
  font-size: 10px !important;
  line-height: 1 !important;
  text-align: center !important;
}
.proj-cnt {
  margin-left: auto;
  background: #f0f2f5;
  color: #8a96a3;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 8px;
}
.proj-reset-btn {
  margin: 14px 20px 0;
  background: var(--proj-gold);
  color: var(--proj-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s;
}
.proj-reset-btn:hover {
  opacity: 0.85;
}

/* ===== LOCATION MULTISELECT DROPDOWN ===== */
.proj-ms-wrap {
  position: relative;
}
.proj-ms-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border: 1.5px solid #cdd2da;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #6b7685;
  background: #fff;
  user-select: none;
  transition: border-color 0.15s;
}
.proj-ms-trigger:hover {
  border-color: var(--proj-secondary);
}
.proj-ms-arrow {
  color: #6b7685;
  font-size: 18px;
  flex-shrink: 0;
}
.proj-ms-drop {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e0e4ea;
  border-radius: 8px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  z-index: 200;
  max-height: 200px;
  overflow-y: auto;
  padding: 6px 0;
}
.proj-ms-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  font-size: 14px;
  color: #6b7685;
  cursor: pointer;
  user-select: none;
  transition: background 0.1s;
}
.proj-ms-opt:hover {
  background: #f5f7fa;
}
.proj-ms-opt.on {
  color: var(--proj-primary);
}

/* ===== MAIN CONTENT ===== */
.proj-main {
  flex: 1;
  padding: 20px 24px 28px;
  min-width: 0;
}

/* ===== BENTO GRID ===== */
.proj-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  min-height: 680px;
  align-content: start;
}

/* Card base */
.bc {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.bc:hover {
  transform: scale(1.015);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}
.bc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bc .grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 25, 0.95) 0%,
    rgba(10, 14, 25, 0.28) 50%,
    transparent 100%
  );
}

/* Featured card — col 1, rows 1–2 */
.bc-feat {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Card badges */
.bc-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.feat-badge {
  background: var(--proj-gold);
  color: var(--proj-primary);
  font-size: 9px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mw-badge {
  background: var(--proj-green);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Card info */
.bc-info {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
}
.bc-types {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.bc-type {
  background: rgba(31, 164, 184, 0.25);
  color: #7de8f5;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  text-transform: uppercase;
}
.bc-name {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 3px;
}
.bc-name.lg {
  font-size: 19px;
}
.bc-name.sm {
  font-size: 13px;
}
.bc-rule {
  width: 24px;
  height: 2.5px;
  background: var(--proj-green);
  border-radius: 2px;
  margin: 5px 0;
}
.bc-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

/* ===== PAGINATION ===== */
.proj-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}
.pg {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.pg.n {
  background: #ffffff;
  color: #6b7685;
  border: 1.5px solid #e0e4ea;
}
.pg.n:hover {
  background: #f0f2f5;
}
.pg.active {
  background: #1FA4B8 !important;
  color: #ffffff !important;
  border: none !important;
}
.pg.arr {
  background: rgba(31, 164, 184, 0.1);
  color: var(--proj-secondary);
  border: none;
  font-size: 15px;
}
.pg.arr:hover {
  background: rgba(31, 164, 184, 0.2);
}
.pg.off {
  color: #cdd2da;
  background: transparent;
  border: none;
  cursor: default;
}
.pg.dot {
  color: #b0b8c4;
  background: transparent;
  border: none;
  cursor: default;
  font-size: 15px;
}

/* ===== EMPTY STATE ===== */
.proj-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e4ea;
  border-top-color: #1FA4B8;
  border-radius: 50%;
  animation: proj-spin 0.7s linear infinite;
}
@keyframes proj-spin {
  to { transform: rotate(360deg); }
}

.proj-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.proj-empty-icon {
  color: #cdd2da;
  margin-bottom: 20px;
  line-height: 1;
}
.proj-empty-title {
  font-size: 20px;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 8px;
}
.proj-empty-sub {
  font-size: 14px;
  color: #b0b8c4;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .proj-body-wrap {
    flex-direction: column;
  }
  .proj-sidebar {
    width: 100%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid #e8edf2;
  }
  .proj-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bc-feat {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 260px;
  }
}
@media (max-width: 600px) {
  .proj-bento {
    grid-template-columns: 1fr;
  }
  .bc-feat {
    grid-column: 1;
    height: 240px;
  }
  .bc {
    height: 200px;
  }
}

/* ================================================
   DETAIL VIEW STYLES (pd-*)
   ================================================ */

.pd-wrap {
  background: #f5f7fa;
}
.pd-hero-content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px 36px !important;
  z-index: 2 !important;
}
.pd-badges {
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
  flex-wrap: wrap !important;
}
.pd-feat-badge {
  background: #F2C200 !important;
  color: #2D3748 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.pd-mw-badge {
  background: #5FAF3A !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
}
.pd-type-chip {
  background: rgba(31, 164, 184, 0.3) !important;
  color: #7de8f5 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
}
.pd-title {
  color: #ffffff !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin-bottom: 10px !important;
  max-width: 700px !important;
}
.pd-rule {
  width: 36px !important;
  height: 3px !important;
  background: #5FAF3A !important;
  border-radius: 2px !important;
  margin-bottom: 0 !important;
}
.pd-hero-logo {
  position: absolute !important;
  bottom: 36px !important;
  right: 40px !important;
}
.pd-hero-logo-box {
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: 12px !important;
  padding: 10px 18px !important;
  display: flex !important;
  align-items: center !important;
}
.pd-logo-img {
  max-height: 80px !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}
.pd-body {
  max-width: 1200px !important;
  margin: 40px auto !important;
  padding: 0 40px !important;
  display: grid !important;
  grid-template-columns: 1fr 340px !important;
  gap: 32px !important;
  align-items: start !important;
}
.pd-section-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #1FA4B8 !important;
  margin-bottom: 12px !important;
}
.pd-description {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #4a5568 !important;
  margin-bottom: 32px !important;
  background: transparent !important;
}
.pd-description * {
  background: transparent !important;
}
.pd-gallery {
  display: grid !important;
  gap: 12px !important;
  margin-bottom: 32px !important;
}
.pd-gallery--1 { grid-template-columns: 1fr !important; }
.pd-gallery--2 { grid-template-columns: repeat(2, 1fr) !important; }
.pd-gallery--3 { grid-template-columns: repeat(2, 1fr) !important; }
.pd-gallery--4 { grid-template-columns: repeat(3, 1fr) !important; }

.pd-gallery-img {
  height: 220px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #dde1e7 !important;
  position: relative !important;
}
.pd-gallery-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}
.pd-gallery-img:hover img {
  transform: scale(1.04) !important;
}
.pd-gallery-img.wide {
  grid-column: 1 / -1 !important;
  height: 340px !important;
}
.pd-gallery--1 .pd-gallery-img {
  height: 380px !important;
}
.pd-gallery--notext.pd-gallery--1 .pd-gallery-img { height: 520px !important; }
.pd-gallery--notext.pd-gallery--2 { grid-template-columns: 1fr !important; }
.pd-gallery--notext.pd-gallery--2 .pd-gallery-img { height: 320px !important; }
.pd-gallery--notext.pd-gallery--3 .pd-gallery-img { height: 260px !important; }
.pd-gallery--notext.pd-gallery--3 .pd-gallery-img.wide { height: 380px !important; }
.pd-gallery--notext.pd-gallery--4 { grid-template-columns: repeat(2, 1fr) !important; }
.pd-gallery--notext.pd-gallery--4 .pd-gallery-img { height: 260px !important; }
.pd-body-sidebar-only {
  grid-template-columns: 1fr !important;
  max-width: 760px !important;
}
.pd-body-sidebar-only .pd-sidebar {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
.pd-body-sidebar-only .pd-sidebar > *:last-child {
  grid-column: 1 / -1 !important;
}
.pd-sidebar-card {
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07) !important;
  margin-bottom: 16px !important;
}
.pd-sidebar-card-title {
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #b0b8c4 !important;
  margin-bottom: 16px !important;
}
.pd-detail-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #f0f2f5 !important;
  gap: 12px !important;
}
.pd-detail-row:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.pd-detail-key {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #8a96a3 !important;
  white-space: nowrap !important;
}
.pd-detail-val {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #2D3748 !important;
  text-align: right !important;
}
.pd-type-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  justify-content: flex-end !important;
}
.pd-chip {
  background: #e8f4f6 !important;
  color: #1FA4B8 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
}
.pd-cta-desc {
  font-size: 13px !important;
  color: #6b7685 !important;
  line-height: 1.6 !important;
}
.pd-cta-btn {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 20px !important;
  border-radius: 10px !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  margin-top: 12px !important;
  text-decoration: none !important;
  transition: opacity 0.15s !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.pd-cta-btn:hover { opacity: 0.88 !important; }
.pd-cta-gold { background: #F2C200 !important; color: #2D3748 !important; }
.pd-cta-dark { background: #2D3748 !important; color: #ffffff !important; }
.pd-btn-row { display: flex !important; gap: 8px !important; margin-top: 12px !important; align-items: stretch !important; }
.pd-btn-row .pd-cta-btn { flex: 1 !important; width: auto !important; margin-top: 0 !important; padding: 14px 8px !important; }
.pd-related {
  background: #ffffff !important;
  padding: 48px 0 !important;
  margin-top: 40px !important;
  border-top: 1px solid #e8edf2 !important;
}
.pd-related-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}
.pd-related-heading {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #2D3748 !important;
  margin-bottom: 24px !important;
}
.pd-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}
.pd-related-card {
  border-radius: 12px !important;
  overflow: hidden !important;
  height: 180px !important;
  position: relative !important;
  cursor: pointer !important;
  display: block !important;
  text-decoration: none !important;
  transition: transform 0.2s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}
.pd-related-card:hover { transform: scale(1.015) !important; }
.pd-related-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.pd-related-card .pd-rc-grad {
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: linear-gradient(to top, rgba(10,14,25,0.92) 0%, transparent 60%) !important;
}
.pd-related-card .pd-rc-info {
  position: absolute !important;
  bottom: 12px !important;
  left: 12px !important;
  right: 12px !important;
}
.pd-related-card .pd-rc-name {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}
.pd-related-card .pd-rc-meta {
  color: rgba(255,255,255,0.6) !important;
  font-size: 11px !important;
  margin-top: 3px !important;
}
.pd-modal-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(10,14,25,0.75) !important;
  z-index: 99999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}
.pd-modal-overlay.open { display: flex !important; }
.pd-modal-box {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 40px 44px !important;
  width: 100% !important;
  max-width: 640px !important;
  position: relative !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}
.pd-modal-close {
  position: absolute !important;
  top: 16px !important;
  right: 20px !important;
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  color: #8a96a3 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.pd-modal-close:hover { color: #2D3748 !important; }
.pd-modal-title {
  font-size: 40px !important;
  font-weight: 800 !important;
  color: #2D3748 !important;
  margin-bottom: 20px !important;
  text-align: center;
}

.pd-modal-box .hsfc-Button::before,
.pd-modal-box .hsfc-Button::after,
.pd-modal-box button[type="submit"]::before,
.pd-modal-box button[type="submit"]::after {
  display: none !important;
  content: none !important;
}
.pd-modal-box .hsfc-TextInput,
.pd-modal-box .hsfc-TextareaInput {
  border: 1.5px solid #dde1e7 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.pd-modal-box .hsfc-TextareaInput {
  height: 38px !important;
  resize: vertical !important;
}
.pd-modal-box .hsfc-TextInput:focus,
.pd-modal-box .hsfc-TextareaInput:focus {
  border-color: #C6952A !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(198,149,42,0.15) !important;
}
/* old hs-form fallback */
.pd-modal-box .hs-form .hs-button,
.pd-modal-box .hs_submit input[type="submit"] {
  background: #C6952A !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: 100% !important;
}
/* Form layout spacing */
.pd-modal-box .hsfc-Row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin-bottom: 4px !important;
  align-items: start !important;
}
.pd-modal-box .hsfc-Row > div {
  min-width: 0 !important;
}
/* Privacy row spans full width */
.pd-modal-box .hsfc-DataPrivacyField {
  grid-column: 1 / -1 !important;
}
.pd-modal-box .hsfc-DataPrivacyField .hsfc-Row {
  display: block !important;
  grid-template-columns: unset !important;
}
/* Phone input */
.pd-modal-box .hsfc-PhoneInput {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  border: 1.5px solid #dde1e7 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.pd-modal-box .hsfc-Step__Content{
  padding: 0 !important;
}
.pd-modal-box .hsfc-PhoneInput__FlagAndCaret {
  display: flex !important;
  align-items: center !important;
  padding: 0 12px !important;
  background: #f7f8fa !important;
  border: none !important;
  border-right: 1.5px solid #dde1e7 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  gap: 4px !important;
  min-width: 56px !important;
  outline: none !important;
  box-shadow: none !important;
}
.pd-modal-box .hsfc-PhoneInput__FlagAndCaret__Caret {
  width: 0 !important;
  height: 0 !important;
  border-left: 4px solid transparent !important;
  border-right: 4px solid transparent !important;
  border-top: 5px solid #6b7685 !important;
  display: inline-block !important;
}
.pd-modal-box .hsfc-PhoneInput .hsfc-TextInput {
  border: none !important;
  border-radius: 0 !important;
  flex: 1 !important;
  padding: 10px 12px !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}
.pd-modal-box .hsfc-PhoneInput .hsfc-TextInput:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
/* Country dropdown */
.pd-modal-box .hsfc-DropdownOptions {
  position: absolute !important;
  z-index: 999 !important;
  background: #fff !important;
  border: 1.5px solid #dde1e7 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  width: 280px !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  left: 0 !important;
  top: 100% !important;
}
.pd-modal-box .hsfc-DropdownOptions__Search {
  padding: 8px !important;
  border-bottom: 1px solid #eee !important;
  position: sticky !important;
  top: 0 !important;
  background: #fff !important;
}
.pd-modal-box .hsfc-DropdownOptions__Search .hsfc-TextInput {
  border: 1.5px solid #dde1e7 !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  width: 100% !important;
  font-size: 13px !important;
}
.pd-modal-box .hsfc-DropdownOptions__List {
  list-style: none !important;
  margin: 0 !important;
  padding: 4px 0 !important;
}
.pd-modal-box .hsfc-DropdownOptions__List__ListItem {
  padding: 8px 12px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.pd-modal-box .hsfc-DropdownOptions__List__ListItem:hover,
.pd-modal-box .hsfc-DropdownOptions__List__ListItem--selected {
  background: #f0f4f8 !important;
}
.pd-modal-box .hsfc-PhoneField {
  position: relative !important;
}
.pd-modal-box .hsfc-TextField,
.pd-modal-box .hsfc-EmailField,
.pd-modal-box .hsfc-PhoneField,
.pd-modal-box .hsfc-TextareaField,
.pd-modal-box .hsfc-DataPrivacyField {
  margin-bottom: 16px !important;
}
.pd-modal-box .hsfc-FieldLabel {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  margin-bottom: 6px !important;
  display: block !important;
}
.pd-modal-box .hsfc-NavigationRow {
  margin-top: 20px !important;
}
/* Error messages */
.pd-modal-box [class*="Error"],
.pd-modal-box [class*="error"],
.pd-modal-box [class*="ValidationMessage"],
.pd-modal-box .hsfc-TextField__Error,
.pd-modal-box .hsfc-EmailField__Error,
.pd-modal-box .hsfc-PhoneField__Error {
  font-size: 11px !important;
  margin-top: 2px !important;
  margin-bottom: 0 !important;
  line-height: 1.3 !important;
}
.pd-modal-box .hsfc-NavigationRow__Buttons {
  width: 100% !important;
}
.pd-modal-box .hsfc-DataPrivacyField {
  font-size: 12px !important;
  color: #6b7685 !important;
  line-height: 1.6 !important;
  margin-top: 4px !important;
}
.pd-modal-box .hsfc-RichText a {
  color: #2BA9B5 !important;
}
.pd-modal-box .hsfc-PhoneInput {
  display: flex !important;
  gap: 8px !important;
}
.pd-modal-box .hsfc-PhoneInput .hsfc-TextInput {
  flex: 1 !important;
}

@media (max-width: 900px) {
  .pd-title { font-size: 26px !important; }
  .pd-body {
    grid-template-columns: 1fr !important;
    padding: 0 20px !important;
    margin: 24px auto !important;
  }
  .pd-related-grid { grid-template-columns: 1fr 1fr !important; }
  .pd-related-inner { padding: 0 20px !important; }
}
@media (max-width: 600px) {
  .pd-title { font-size: 22px !important; }
  .pd-gallery,
  .pd-gallery--1,
  .pd-gallery--2,
  .pd-gallery--3,
  .pd-gallery--4 { grid-template-columns: 1fr !important; }
  .pd-gallery-img,
  .pd-gallery-img.wide,
  .pd-gallery--1 .pd-gallery-img { height: 220px !important; }
  .pd-related-grid { grid-template-columns: 1fr !important; }
}

/* ================================================
   LIGHTBOX
   ================================================ */
.pd-lb-trigger { cursor: zoom-in !important; }

.pd-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999998;
  align-items: center;
  justify-content: center;
}
.pd-lightbox.open { display: flex; }

.pd-lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pd-lb-stage {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-lb-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.7);
  display: block;
}

.pd-lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pd-lb-close:hover { background: rgba(255, 255, 255, 0.24); }

.pd-lb-prev,
.pd-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 38px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.pd-lb-prev:hover,
.pd-lb-next:hover { background: rgba(255, 255, 255, 0.24); }
.pd-lb-prev { left: 22px; }
.pd-lb-next { right: 22px; }

.pd-lb-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.45);
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .pd-lb-prev { left: 10px; }
  .pd-lb-next { right: 10px; }
  .pd-lb-prev, .pd-lb-next { width: 42px; height: 42px; font-size: 28px; }
}

{% end_scope_css %}
