/* Public templates: keep shopping and booking tasks ahead of decoration. */
.diu-public-template .header-default {
  position: relative;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #d8e4ed;
}
.diu-public-template .header-default .menu-area { padding-block: 12px; }
.diu-public-template .header-default .main-menu > ul > li > a,
.diu-public-template .header-default .main-menu > ul > li > a::after { color: #17354d; }
.diu-public-template .header-default .sticky-wrapper:not(.sticky) .header-logo .logo-sky { display: block !important; }
.diu-public-template .header-default .sticky-wrapper:not(.sticky) .header-logo .logo-on-bg { display: none !important; }
.diu-public-template .breadcumb-wrapper {
  margin: 0;
  padding: 0;
  background: #f0f6fa;
  border-bottom: 1px solid #d8e4ed;
  border-radius: 0;
}
.diu-public-template .breadcumb-bg-thumb { display: none; }
.diu-public-template .breadcumb-wrapper .breadcumb-content {
  padding: 36px 0 28px;
  text-align: left;
}
.diu-public-template .breadcumb-title {
  color: #17354d;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.diu-public-template .breadcumb-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  min-height: 0;
  background: none;
  color: #425d70;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0;
}
.diu-public-template .breadcumb-menu::before,
.diu-public-template .breadcumb-menu::after { display: none; }
.diu-public-template .breadcumb-menu li { color: #425d70; padding: 0; font-size: inherit; line-height: inherit; }
.diu-public-template .breadcumb-menu a { color: #0f63a9; font-size: inherit; }
.diu-public-template .breadcumb-wrapper ~ section.space,
.diu-public-template .breadcumb-wrapper ~ .space,
.diu-public-template .breadcumb-wrapper ~ .space-top { padding-block: 48px; }
.diu-public-template .th-sort-bar { margin-bottom: 24px; }
.diu-public-template > section:has(.diu-shop-filter-disclosure) { padding-block: 40px; }
.diu-public-template :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #0f63a9;
  outline-offset: 3px;
}
.diu-public-template a { text-underline-offset: 3px; }
.diu-public-template ::selection { background: #c9e5f7; color: #17354d; }
.diu-public-template .th-menu-wrapper { transition: opacity .18s ease; }
.diu-public-template .th-menu-wrapper .th-menu-area {
  max-width: min(340px, calc(100vw - 24px));
  transition: left .24s ease, opacity .18s ease;
}
.diu-public-template .th-menu-wrapper .th-menu-toggle {
  width: 44px;
  height: 44px;
  right: 12px;
  top: 20px;
}

.diu-shop-filter-disclosure {
  margin-bottom: 24px;
  border-block: 1px solid #d8e4ed;
}
.diu-shop-filter-disclosure > summary {
  padding: 16px 4px;
  color: #17354d;
  font-weight: 650;
  cursor: pointer;
  min-height: 48px;
}
.diu-shop-filter-disclosure .diu-shop-filters {
  margin: 0;
  padding: 8px 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.diu-shop-filter-heading p { margin: 0; color: #425d70; font-size: 14px; }
.diu-public-template .th-product.product-grid { height: 100%; border-radius: 12px; overflow: hidden; }
.diu-public-template .th-product .product-img { aspect-ratio: 1; padding: 16px; background: #f4f7f9; }
.diu-public-template .th-product .product-img a { display: block; height: 100%; }
.diu-public-template .th-product .product-img img { width: 100%; height: 100%; object-fit: contain; }
.diu-public-template .th-product .product-content { padding: 20px; }
.diu-public-template .th-product .product-title { font-size: 21px; line-height: 1.3; min-height: 2.6em; }
.diu-public-template .th-product .price { font-variant-numeric: tabular-nums; }
.diu-public-packages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  padding-block: 32px;
  border-top: 1px solid #d8e4ed;
}
.diu-public-packages h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.diu-public-packages p { margin: 0; max-width: 60ch; }
.diu-public-packages .th-btn { flex-shrink: 0; }
@media (max-width: 767px) {
  .diu-public-template > section:has(.diu-shop-filter-disclosure) { padding-block: 24px; }
  .diu-public-template .th-header .header-button.d-lg-none > a[href="/book"] { min-width: 0 !important; }
  .diu-public-template .breadcumb-wrapper .breadcumb-content { padding: 24px 0; }
  .diu-public-template .breadcumb-wrapper ~ section.space,
  .diu-public-template .breadcumb-wrapper ~ .space,
  .diu-public-template .breadcumb-wrapper ~ .space-top { padding-block: 28px; }
  .diu-public-packages { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .diu-public-template .diu-shop-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diu-public-template .diu-shop-filter-grid button { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .diu-public-template .th-header .header-logo img { max-width: 88px !important; }
  .diu-public-template .th-header .header-button.d-lg-none > a[href="/book"] {
    padding-inline: 8px !important;
    font-size: 12px;
  }
  .diu-public-template .th-header .menu-area .container,
  .diu-public-template .th-header .menu-area .container-fluid { padding-inline: 12px; }
}

.th-mobile-menu .diu-has-submenu { position: relative; }
.th-mobile-menu .diu-has-submenu > a { padding-right: 52px; }
.th-mobile-menu .diu-submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--theme-color);
}
.th-mobile-menu .diu-submenu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.th-mobile-menu .diu-submenu-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.th-mobile-menu [hidden] { display: none !important; }
