/**
 * Hotel Common & Global Stylesheet
 * Luxury Boutique Romantic Theme for An Khanh Love Hotel
 *
 * @package TNStackCore
 */

/* ==========================================================================
   01. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
  --hotel-primary: #310713;
  --hotel-primary-dark: #1b080e;
  --hotel-primary-light: #481220;
  --hotel-gold: #d5ae65;
  --hotel-gold-hover: #c49d52;
  --hotel-gold-light: #f7f1e7;
  --hotel-background: #f4eee8;
  --hotel-background-light: #fcf9f5;
  --hotel-white: #ffffff;
  --hotel-text: #30252a;
  --hotel-muted: #776c70;
  --hotel-border: #e9dfd7;
  --hotel-border-light: #f0e7e0;
  --hotel-zalo: #0068ff;
  --hotel-zalo-hover: #0056d6;
  --hotel-shadow-sm: 0 4px 15px rgba(49, 7, 19, 0.05);
  --hotel-shadow-md: 0 8px 25px rgba(49, 7, 19, 0.08);
  --hotel-shadow-lg: 0 16px 36px rgba(49, 7, 19, 0.14);
  --hotel-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --hotel-font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hotel-radius-sm: 6px;
  --hotel-radius-md: 10px;
  --hotel-radius-lg: 16px;
  --hotel-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   02. BASE & CONTAINER & ANTI-OVERFLOW RULES
   ========================================================================== */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Ensure no unwanted top margins/paddings push the header down on PC/Mobile */
#wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.tns-hotel-theme,
body.tns-hotel-homepage,
body.single-tns_room,
body.post-type-archive-tns_room,
body.tax-tns_room_type {
  font-family: var(--hotel-font-sans);
  color: var(--hotel-text);
  background-color: var(--hotel-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overflow-x: clip; /* Clip horizontal overflow without creating a scroll container that breaks position:sticky */
  max-width: 100%;
  position: relative;
}

/* Fallback for legacy browsers lacking overflow: clip */
@supports not (overflow-x: clip) {
  body.tns-hotel-theme,
  body.tns-hotel-homepage,
  body.single-tns_room,
  body.post-type-archive-tns_room,
  body.tax-tns_room_type {
    overflow-x: hidden;
  }
}

/* Screen-reader link should never occupy document flow space */
.screen-reader-text,
.skip-link.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}

/* Prevent accidental horizontal overflow globally */
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Prevent iOS input auto-zoom */
input, select, textarea {
  font-size: 16px;
}

/* Anchor section scroll offset for sticky header */
[id] {
  scroll-margin-top: 80px;
}

body.tns-hotel-theme #main,
body.tns-hotel-homepage #main,
body.single-tns_room #main,
body.post-type-archive-tns_room #main,
body.tax-tns_room_type #main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: var(--hotel-white);
}

.tns-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .tns-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 360px) {
  .tns-container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.tns-container--narrow {
  max-width: 860px;
}

.tns-gold-italic {
  font-family: var(--hotel-font-serif);
  font-style: italic;
  color: var(--hotel-gold);
}

.tns-gold-line-left {
  width: 48px;
  height: 2px;
  background-color: var(--hotel-gold);
  margin: 12px 0 18px 0;
}

/* ==========================================================================
   02.1 SECTION HEADERS & DIVIDERS
   ========================================================================== */
.tns-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.tns-section-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hotel-primary);
  margin-bottom: 8px;
}

.tns-section-badge--gold {
  color: var(--hotel-gold) !important;
}

.tns-section-title {
  font-family: var(--hotel-font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--hotel-primary);
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.tns-section-title--light {
  color: var(--hotel-white) !important;
}

.tns-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tns-divider-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--hotel-gold);
}

.tns-divider-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--hotel-gold);
  transform: rotate(45deg);
}

.tns-divider-line--gold {
  background-color: var(--hotel-gold);
}

.tns-divider-diamond--gold {
  background-color: var(--hotel-gold);
}

.tns-section-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--hotel-muted);
  margin: 0;
}

.tns-section-desc--light {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   02.2 COMMON BUTTONS
   ========================================================================== */
.tns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--hotel-font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--hotel-radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--hotel-transition);
  box-sizing: border-box;
  line-height: 1.2;
}

.tns-btn--primary {
  background-color: var(--hotel-primary);
  color: var(--hotel-white) !important;
  border-color: var(--hotel-primary);
}

.tns-btn--primary:hover {
  background-color: var(--hotel-primary-light);
  color: var(--hotel-white) !important;
  box-shadow: 0 4px 14px rgba(49, 7, 19, 0.25);
  transform: translateY(-1px);
}

.tns-btn--primary-sm {
  background-color: var(--hotel-primary);
  color: var(--hotel-white) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tns-btn--primary-sm:hover {
  background-color: var(--hotel-gold);
  color: var(--hotel-primary-dark) !important;
  transform: translateY(-1px);
}

.tns-btn--gold {
  background-color: var(--hotel-gold);
  color: var(--hotel-primary-dark) !important;
  border-color: var(--hotel-gold);
  font-weight: 700;
}

.tns-btn--gold:hover {
  background-color: var(--hotel-gold-hover);
  color: var(--hotel-primary-dark) !important;
  box-shadow: 0 4px 14px rgba(213, 174, 101, 0.35);
  transform: translateY(-1px);
}

.tns-btn--outline-light {
  background-color: transparent;
  color: var(--hotel-white) !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.tns-btn--outline-light:hover {
  background-color: var(--hotel-white);
  color: var(--hotel-primary-dark) !important;
  border-color: var(--hotel-white);
}

.tns-btn--outline-dark {
  background-color: transparent;
  color: var(--hotel-primary) !important;
  border-color: var(--hotel-primary);
}

.tns-btn--outline-dark:hover {
  background-color: var(--hotel-primary);
  color: var(--hotel-white) !important;
}

.tns-btn--zalo {
  background-color: var(--hotel-zalo);
  color: var(--hotel-white) !important;
  border-color: var(--hotel-zalo);
  font-weight: 700;
}

.tns-btn--zalo:hover {
  background-color: var(--hotel-zalo-hover);
  color: var(--hotel-white) !important;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.35);
  transform: translateY(-1px);
}

.tns-btn--full {
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   02.3 ROOM CATEGORY FILTER TABS
   ========================================================================== */
.tns-room-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.tns-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hotel-white);
  color: var(--hotel-text);
  border: 1px solid var(--hotel-border);
  border-radius: 24px;
  padding: 8px 22px;
  font-family: var(--hotel-font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--hotel-transition);
  white-space: nowrap;
}

.tns-filter-btn:hover {
  border-color: var(--hotel-primary);
  color: var(--hotel-primary);
}

.tns-filter-btn--active {
  background-color: var(--hotel-primary) !important;
  color: var(--hotel-white) !important;
  border-color: var(--hotel-primary) !important;
  box-shadow: 0 4px 12px rgba(49, 7, 19, 0.2);
}

/* ==========================================================================
   02.4 ROOM GRID & ROOM CARDS (SHARED ACROSS HOME, SINGLE, ARCHIVES)
   ========================================================================== */
.tns-room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.tns-room-card {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.tns-room-card__inner {
  background-color: var(--hotel-white);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-sm);
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hotel-shadow-sm);
  transition: var(--hotel-transition);
  box-sizing: border-box;
}

.tns-room-card:hover .tns-room-card__inner {
  transform: translateY(-4px);
  box-shadow: var(--hotel-shadow-md);
  border-color: #dfcfc3;
}

.tns-room-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #2b0c16;
}

.tns-room-card__img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.tns-room-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tns-room-card:hover .tns-room-card__img {
  transform: scale(1.06);
}

.tns-room-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hotel-gold);
  background-color: #250912;
}

.tns-room-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--hotel-gold);
  color: var(--hotel-primary-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.tns-room-code {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(27, 8, 14, 0.75);
  color: var(--hotel-white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.tns-room-card__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.tns-room-card__title {
  font-family: var(--hotel-font-serif);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.tns-room-card__title a {
  color: var(--hotel-primary);
  text-decoration: none;
  transition: var(--hotel-transition);
}

.tns-room-card__title a:hover {
  color: var(--hotel-gold-hover);
}

.tns-room-card__subtitle {
  font-size: 12.5px;
  color: var(--hotel-gold-hover);
  font-weight: 500;
  margin: 0 0 8px 0;
}

.tns-room-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--hotel-muted);
  margin: 0 0 14px 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 4 Amenities on Room Card */
.tns-room-card__amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  padding: 11px 0;
  border-top: 1px dashed var(--hotel-border-light);
  margin-bottom: 12px;
}

.tns-room-card__amenity-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--hotel-muted);
  line-height: 1.35;
  min-width: 0;
}

.tns-room-card__amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hotel-gold);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.tns-room-card__amenity-icon svg {
  width: 15px;
  height: 15px;
  max-width: 15px;
  max-height: 15px;
  display: block;
}

.tns-room-card__amenity-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  letter-spacing: -0.1px;
}

.tns-room-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--hotel-border-light);
  margin-top: auto;
}

.tns-room-card__pricing {
  flex: 1;
}

.tns-price-label-chi-tu {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--hotel-muted);
  margin-bottom: 2px;
}

.tns-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.tns-price-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--hotel-primary);
  line-height: 1;
}

.tns-price-unit {
  font-size: 12px;
  color: var(--hotel-muted);
}

.tns-price-sub {
  font-size: 11px;
  color: var(--hotel-muted);
  margin-top: 4px;
  line-height: 1.3;
}

.tns-room-card__actions {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .tns-room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .tns-room-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tns-room-filter {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    gap: 8px;
    padding: 4px 0 12px;
    margin-bottom: 25px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tns-room-filter::-webkit-scrollbar {
    display: none;
  }

  .tns-filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 8px 18px;
    font-size: 13.5px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .tns-room-card__content {
    padding: 16px;
  }

  .tns-room-card__title {
    font-size: 18px;
  }

  .tns-room-card__amenities {
    gap: 7px 10px;
    padding: 10px 0;
    margin-bottom: 12px;
  }

  .tns-room-card__amenity-item {
    font-size: 12px;
    gap: 6px;
  }

  .tns-room-card__amenity-icon svg {
    width: 14px;
    height: 14px;
  }

  .tns-room-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .tns-room-card__actions {
    width: 100%;
  }

  .tns-room-card__actions .tns-btn {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* ==========================================================================
   03. HEADER – LUXURY BOUTIQUE HOTEL
   ========================================================================== */
.tns-header {
  background-color: #2b0812;
  border-bottom: 1px solid rgba(213, 174, 101, 0.25);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  margin-top: 0 !important;
  padding-top: 0 !important;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--hotel-transition);
}

/* On PC/Desktop, if logged in and WordPress Admin Bar is fixed, stick cleanly below it */
.admin-bar .tns-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .tns-header {
    top: 0; /* On mobile, admin bar is position: absolute and scrolls out of view */
  }
}

.tns-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo (Single Image Only) */
.tns-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  max-height: 52px;
}

.tns-header__logo-img {
  height: 44px;
  max-height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

.tns-header__logo:hover .tns-header__logo-img {
  opacity: 0.92;
}

/* Navigation */
.tns-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tns-header__menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 22px;
}

.tns-header__menu-item a {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--hotel-font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--hotel-transition);
  position: relative;
  padding: 6px 0;
}

.tns-header__menu-item a:hover,
.tns-header__menu-item.active a,
.tns-header__menu-item.current-menu-item a {
  color: var(--hotel-gold);
}

.tns-header__menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--hotel-gold);
  transition: width 0.3s ease;
}

.tns-header__menu-item a:hover::after,
.tns-header__menu-item.active a::after {
  width: 100%;
}

/* Right Actions (Hotline + Zalo) */
.tns-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tns-header__hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hotel-white);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  transition: var(--hotel-transition);
}

.tns-header__hotline-icon {
  width: 18px;
  height: 18px;
  color: var(--hotel-gold);
}

.tns-header__hotline:hover {
  color: var(--hotel-gold);
}

.tns-header__btn-zalo {
  background-color: var(--hotel-zalo);
  color: var(--hotel-white);
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--hotel-transition);
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.3);
}

.tns-header__btn-zalo:hover {
  background-color: var(--hotel-zalo-hover);
  transform: translateY(-2px);
  color: var(--hotel-white);
}

.tns-header__toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--hotel-white);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   04. FOOTER – LUXURY BOUTIQUE HOTEL
   ========================================================================== */
.tns-footer {
  background-color: #170409;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 65px;
  border-top: 1px solid rgba(213, 174, 101, 0.2);
  position: relative;
}

.tns-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.tns-footer__logo {
  margin-bottom: 20px;
}

.tns-footer__logo a img{
  width: 100%;
}

.tns-footer__col-title {
  font-family: var(--hotel-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--hotel-gold);
  margin: 0 0 20px 0;
  letter-spacing: 0.5px;
}

/* Col 1 - Brand */
.tns-footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.tns-footer__brand-text {
  font-family: var(--hotel-font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--hotel-white);
}

.tns-footer__brand-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Footer Links & Lists */
.tns-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tns-footer__links li {
  margin-bottom: 10px;
}

.tns-footer__links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13.5px;
  transition: var(--hotel-transition);
}

.tns-footer__links a:hover {
  color: var(--hotel-gold);
  padding-left: 4px;
}

/* Contact Info */
.tns-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.tns-footer__contact-icon {
  color: var(--hotel-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.tns-footer__contact-item a {
  color: var(--hotel-white);
  font-weight: 600;
  text-decoration: none;
  transition: var(--hotel-transition);
}

.tns-footer__contact-item a:hover {
  color: var(--hotel-gold);
}

/* Checkin schedule list */
.tns-footer__schedule-item {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.tns-footer__schedule-item strong {
  color: var(--hotel-white);
  display: block;
  margin-bottom: 2px;
}

/* Bottom copyright bar */
.tns-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.tns-footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

/* ==========================================================================
   05. FLOATING BOTTOM-RIGHT ACTION BUTTONS
   ========================================================================== */
.tns-floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.tns-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hotel-white);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: var(--hotel-transition);
  position: relative;
}

.tns-float-btn--zalo {
  background-color: var(--hotel-zalo);
}

.tns-float-btn--zalo:hover {
  background-color: var(--hotel-zalo-hover);
  transform: scale(1.1);
}

.tns-float-btn--phone {
  background-color: var(--hotel-gold);
  color: var(--hotel-primary-dark);
}

.tns-float-btn--phone:hover {
  background-color: var(--hotel-gold-hover);
  transform: scale(1.1);
}

.tns-float-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--hotel-gold);
  animation: tns-float-wave 2s infinite;
  opacity: 0.8;
}

@keyframes tns-float-wave {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* ==========================================================================
   06. BREADCRUMBS
   ========================================================================== */
.tns-breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--hotel-muted);
}

.tns-breadcrumb a {
  color: var(--hotel-muted);
  text-decoration: none;
  transition: var(--hotel-transition);
}

.tns-breadcrumb a:hover {
  color: var(--hotel-primary);
}

.tns-breadcrumb-separator {
  margin: 0 8px;
  color: var(--hotel-border);
}

.tns-breadcrumb-current {
  color: var(--hotel-primary);
  font-weight: 600;
}

/* ==========================================================================
   07. RESPONSIVE (HEADER & FOOTER & MOBILE DRAWER)
   ========================================================================== */
/* Mobile Drawer Backdrop */
.tns-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 4, 8, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tns-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Drawer Panel (Off-canvas) */
.tns-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background-color: #21050e;
  z-index: 999999;
  box-shadow: -6px 0 28px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid rgba(213, 174, 101, 0.25);
}

.tns-mobile-drawer.is-open {
  transform: translateX(0);
}

body.tns-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.tns-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #1a040b;
}

.tns-mobile-drawer__logo-img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.tns-mobile-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.tns-mobile-drawer__close:hover {
  background-color: var(--hotel-gold);
  color: #21050e;
  transform: rotate(90deg);
}

.tns-mobile-drawer__close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.tns-mobile-drawer__nav {
  flex: 1 1 auto;
  padding: 12px 0;
  overflow-y: auto;
}

.tns-mobile-drawer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tns-mobile-drawer__menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tns-mobile-drawer__menu a {
  display: block;
  padding: 14px 22px;
  font-family: var(--hotel-font-sans);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.tns-mobile-drawer__menu a:hover,
.tns-mobile-drawer__menu li.active a {
  color: var(--hotel-gold);
  background-color: rgba(202, 163, 85, 0.08);
  border-left-color: var(--hotel-gold);
  padding-left: 26px;
}

.tns-mobile-drawer__footer {
  padding: 18px 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #17030a;
}

@media (max-width: 1024px) {
  .tns-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .tns-header__inner {
    height: 64px;
  }

  .tns-header__logo-img {
    height: 36px;
    max-height: 38px;
    max-width: 170px;
  }

  .tns-header__menu,
  .tns-header__hotline {
    display: none;
  }

  .tns-header__toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
  }

  .tns-header__btn-zalo {
    padding: 6px 12px;
    font-size: 12.5px;
    height: 34px;
  }

  .tns-header__actions {
    gap: 10px;
  }

  .tns-footer {
    padding-top: 45px;
  }

  .tns-footer__grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 35px;
  }

  .tns-floating-actions {
    bottom: 20px;
    right: 14px;
  }

  body.tns-hotel-homepage .tns-floating-actions {
    bottom: 72px; /* above mobile bar on homepage */
  }

  .tns-float-btn {
    width: 44px;
    height: 44px;
  }

  .tns-anchor-link.active::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .tns-header__inner {
    height: 60px;
  }

  .tns-header__logo-img {
    height: 32px;
    max-width: 145px;
  }

  .tns-header__btn-zalo span {
    display: inline;
  }

  .tns-footer__bottom {
    padding-bottom: 75px; /* safe spacing for floating buttons */
  }
}

@media (max-width: 360px) {
  .tns-header__logo-img {
    height: 28px;
    max-width: 125px;
  }

  .tns-header__btn-zalo {
    padding: 5px 10px;
    font-size: 11.5px;
  }
}

/* ==========================================================================
   08. GLOBAL LIGHTBOX MODAL (PHOTO GALLERY & VIDEO)
   ========================================================================== */
.tns-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 9999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tns-lightbox[style*="display: none"] {
  display: none !important;
}

.tns-lightbox[style*="display: flex"],
.tns-lightbox.is-open {
  display: flex !important;
}

.tns-lightbox__backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(15, 4, 8, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 1;
}

.tns-lightbox__content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  pointer-events: auto;
}

.tns-lightbox__close {
  position: fixed !important;
  top: 24px !important;
  right: 28px !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10 !important;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
  line-height: 1;
}

.tns-lightbox__close:hover {
  background-color: var(--hotel-gold, #caa355);
  border-color: var(--hotel-gold, #caa355);
  color: #21050e !important;
  transform: rotate(90deg) scale(1.05);
}

.tns-lightbox__close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  display: block;
}

.tns-lightbox__figure {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.tns-lightbox__img {
  max-width: 86vw !important;
  max-height: 78vh !important;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: block;
  user-select: none;
  background-color: #1a060d;
}

.tns-lightbox__caption {
  color: #ffffff;
  font-family: var(--hotel-font-sans, sans-serif);
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.tns-lightbox__prev,
.tns-lightbox__next {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(27, 8, 14, 0.75);
  color: #ffffff !important;
  border: 1px solid rgba(213, 174, 101, 0.5);
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10 !important;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0;
  line-height: 1;
}

.tns-lightbox__prev:hover,
.tns-lightbox__next:hover {
  background-color: var(--hotel-gold, #caa355);
  border-color: var(--hotel-gold, #caa355);
  color: #21050e !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.tns-lightbox__prev {
  left: 28px !important;
}

.tns-lightbox__next {
  right: 28px !important;
}

@media (max-width: 768px) {
  .tns-lightbox__close {
    top: 14px !important;
    right: 14px !important;
    width: 38px;
    height: 38px;
  }
  .tns-lightbox__close svg {
    width: 18px;
    height: 18px;
  }
  .tns-lightbox__prev {
    left: 10px !important;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .tns-lightbox__next {
    right: 10px !important;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .tns-lightbox__img {
    max-width: 94vw !important;
    max-height: 72vh !important;
  }
  .tns-lightbox__caption {
    font-size: 13px;
    margin-top: 10px;
  }
}
