@font-face {
    font-family: "Literata";
    src: url("/wp-content/themes/swell_child/assets/fonts/Literata/Literata-VariableFont_opsz,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Literata";
    src: url("/wp-content/themes/swell_child/assets/fonts/Literata/Literata-Italic-VariableFont_opsz,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('/wp-content/themes/swell_child/assets/fonts/Rubik/Rubik-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('/wp-content/themes/swell_child/assets/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
:root {
    --color-main: #3D4853;
    --color-accent: #E84E74;
    --color-white: #FFFFFF;
    --color2: #E84E74;
    --color3: #8D949A;
    --color4: #14A714;
    --color5: #CECACB;
    --color6: #49535D;
		--color7: #EAE0E3;
		--color8: #B22222;
    --color9: #EAE0E3;
    --color10: #DFDFDF;
    --color11: #F0688A;
    --color12: #F8F8F8;
    --font-sans: 'Rubik', sans-serif;
    --font-serif: 'Literata', serif;
}
/* ---------------- Colors ---------------- */
.text-main { color: var(--color-main); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-color3 { color: var(--color3); }
/* ---------------- Font Family ---------------- */
.font-sans { font-family: var(--font-sans); }
.font-serif { font-family: var(--font-serif); }

/* ---------------- Font Weight ---------------- */
.font-thin { font-weight: 100; }
.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* ---------------- Line Height ---------------- */
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
/* ---------------- Backgroud color ---------------- */
.white-bg {
  background-color: var(--color-white);
}
.italic {
  font-style: italic;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-sans) !important;
    color: var(--color-main) !important;
    /* background-color: #FFF6F8 !important; */
    font-weight: 400 !important;
}
.l-content {
  /* position: relative; */
  /* padding-top: 0;
  padding-bottom: 0; */
  padding: 0;
  margin: 0;
}
.l-mainContent__inner {
  padding-top: 130px;
  min-height: 80vh;
}
.home .l-mainContent__inner {
  padding-top: 0 !important;
}
.main-content-wrapper .l-mainContent__inner {
  padding-top: 0;
}
.spacer {
  width: 100%;
  height: 131px;
}
.vignette-jp-bg {
    position: absolute;
    width: 100%;
    aspect-ratio: 1920 / 733;
    background-image: url("/wp-content/themes/swell_child/assets/img/main-bg.svg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;

    /* blur bottom image */
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 70%,   /* 0%–85%: ảnh rõ */
        rgba(0,0,0,0) 100%  /* 85%–100%: fade */
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 70%,
        rgba(0,0,0,0) 100%
    );
}
.l-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: none !important;
    background: transparent !important;
}
.w-footer__box {
    width: 100%;
}
.heading-title .wp-block-heading{
    font-family: var(--font-serif) !important;
    font-weight: 500 !important;
    color: var(--color-accent);
}
.literata-title {
    font-family: var(--font-serif) !important;
    font-weight: 300;
    color: #FFFFFF;
}
.rubik-title {
    font-family: var(--font-sans) !important;
    font-weight: 300;
    color: #FFFFFF;
}
/* ===== GROUP HELP + CONTACT + SNS ===== */
/* .sp-logo {
  display: none;
} */
.header-top-group {
    display: flex;
    align-items: center;
    /* gap: 12px; */
    font-weight: 400;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0;
}

/* Links */
.header-top-group a {
    text-decoration: none;
    color: inherit;
    font-weight: 400;
}

/* Hover */
.header-top-group a:hover {
    opacity: 0.7;
}

/* Divider FIGMA */
.header-top-group .sep {
    display: inline-block;
    width: 4px;
    height: 0;
    border-top: 1px solid currentColor;
    transform: rotate(-90deg);
    opacity: 0.3;
}
.header-top-gap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-top-gap .sep {
  display: inline-block;
  width: 4px;
  height: 0;
  border-top: 1px solid currentColor;
  transform: rotate(-90deg);
  /* opacity: 0.3; */
}

/* SNS icon list inside the group */
.header-top-group .sns-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* remove default SWELL spacing */
.header-top-group .sns-inline li {
    margin: 0 !important;
}

/* cart & favorite */
.w-header__inner.header-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-icon img {
    width: 20px;
    height: 20px;
    display: block;
}
.w-header.pc_ {
    display: flex;
    align-items: center;
}
/* cart & favorite */

/* Container để canh chỉnh với header */
.header-search-box {
    display: flex;
    align-items: center;
    margin-left: 144px;
    margin-right: 32px;
}

/* Form search theo style Figma */
.header-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #E0E0E0; /* viền xám nhạt */
    border-radius: 8px;
    padding: 6px 16px;
    height: 48px; /* chiều cao giống Figma */
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06); /* bóng nhẹ */
}

/* Icon bên trái */
.header-search .search-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Input text */
.header-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    /* color: #333; */
    background: transparent;
}

.header-search input::placeholder {
    color: #A8A8A8;
    font-weight: 400;
}

.header-primary-menu .menu-item-has-children > a::before {
  content: "";
  background: url('/wp-content/themes/swell_child/assets/img/menu-arrow-right.svg') no-repeat center center;
  background-size: contain;
  width: 8px;
  height: 8px;
  position: absolute;
  right: 0;
  transition: background-image 0.25s ease;
  
}
.header-primary-menu .menu-item-has-children:hover > a::before {
  background: url('/wp-content/themes/swell_child/assets/img/menu-arrow-down.svg') no-repeat center;
  background-size: contain;
  width: 8px;
  height: 8px;
}
.footer-container {
    padding: 16px !important;
}
.footer-logo-run-local {
    display: flex;
    gap: 48px;
}
.footer-run-local-text {
    font-size: 28px;
    font-family: var(--font-serif) !important;
    font-weight: 400 !important;
    margin-bottom: 16px;
}
.footer-right-text {
    display: flex;
    gap: 64px;
}
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer-about-title {
    font-family: var(--font-serif) !important;
}
.footer-social-icon {
    display: flex;
    justify-content: end;
    gap: 24px;
}

.footer-social-icon .wp-social-link-tiktok svg {
    width: 12px;
    height: 12px;
}
.footer-social-icon .wp-social-link-instagram svg, .footer-social-icon .wp-social-link-youtube svg {
    width: 28px;
    height: 28px;
}
.footer-social-icon .wp-social-link-youtube a {
    padding: 0;
}
.footer-bottom-wrapper .l-footer__foot {
    padding-top: 5px;
    padding-bottom: 5px;
}
/* .footer-social-icon svg {
    width: 32px;
    height: 32px;
} */
.sns-instagram {
    font-family: var(--font-serif) !important;
    font-weight: 500 !important;gap: 16px;
    color: var(--color-accent);
}
.sns-instagram .wp-social-link-instagram svg, .sns-instagram .wp-social-link-youtube svg {
    width: 32px;
    height: 32px;
}
.l-footer__foot {
    padding: 8px 0;
}
.footer-policy {
    position: absolute;
    right: 0;
}
.footer-policy > span {
    padding-left: 24px;
}
.footer-text-style {
    font-weight: 300;
}
.footer-payments {
  display: flex;
  justify-content: right;
}
/* logo */
/* Container chính của header */
.l-header__inner {
    position: relative; /* để absolute của logo dựa vào */
    overflow: visible;
}

/* Wrapper để logo không chạy ra ngoài lề trái */
.logo-wrap {
    position: absolute;
    top: -24px;
    z-index: 20;
}
.logo-wrap.fix-logo-wrap .c-headLogo__img {
  height: auto;
}

/* Logo gốc — tắt padding thừa */
.l-header__logo {
    padding-top: 0 !important;
}
.bg-fixed-image {
    background-size: contain !important; /* không giãn, giữ nguyên tỉ lệ */
    background-repeat: no-repeat;        /* không lặp lại */
    background-position: top center;
}

/* instagram */
.ins-feed-wrapper {
    padding-bottom: 10px;
}
.sbi_item img {
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.no-padding {
    padding: 0;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.zindex-10 {
    z-index: 10 !important;
}
.w-67 {
  width: 67px;
}
.p-8 {
  padding: 8px;
}
.p-16 {
  padding: 16px;
}
.pr-40 {
  padding-right: 40px;
}
.pb-20 {
  padding-bottom: 20px;
}
.pb-40 {
  padding-bottom: 40px;
}
.pb-60 {
  padding-bottom: 60px;
}
.pb-80 {
  padding-bottom: 80px !important;
}
.pb-4r {
  padding-bottom: 4rem !important;
}
.pl-32 {
  padding-left: 32px;
}
.ml-4 {
  margin-left: 4px;
}
.ml-8 {
  margin-left: 8px;
}
.ml-15 {
  margin-left: 15px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-40 {
  margin-bottom: 40px !important;
}
.mt-4 {
    margin-top: 4px !important;
}
.mt-8 {
    margin-top: 8px !important;
}
.mt-10 {
    margin-top: 10px !important;
}
.mt-12 {
    margin-top: 12px !important;
}
.mt-16 {
    margin-top: 16px !important;
}
.mt-20 {
    margin-top: 20px !important;
}
.mt-21 {
    margin-top: 21px !important;
}
.mt-24 {
    margin-top: 24px !important;
}
.mt-28 {
    margin-top: 28px !important;
}
.mt-30 {
    margin-top: 30px !important;
}
.mt-40 {
    margin-top: 40px !important;
}
.mr-4 {
  margin-right: 4px;
}
.mr-16 {
  margin-right: 16px;
}
.mb-0 {
    margin-bottom: 0px !important;
}
.gap-8 {
    gap: 8px !important;
}
.top-50 {
  top: 50% !important;
}
.flex-align-items-center {
    display: flex !important;
    align-items: center !important;
}
path#okinawa {
  stroke: rgba(0, 0, 0, 0); 
  stroke-width: 100px;
  paint-order: stroke fill;
  cursor: pointer;
}
.interactive-map-wrap path.hover-region {
    fill: #F0B0B1 !important;
    cursor: pointer;
}
.interactive-map-wrap path[id] {
    cursor: pointer;
}
.map-card-image-wrapper {
    width: 100%;
    max-width: 304px;
    aspect-ratio: 304 / 200;
    border-radius: 12px;
    overflow: hidden;
}
.region-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* số dòng muốn hiển thị */

    display: box;           /* chuẩn CSS spec line-clamp */
    box-orient: vertical;   /* chuẩn CSS spec */
    line-clamp: 2;          /* chuẩn CSS spec */

    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-main);
}
.region-info-bottom {
  color: var(--color-main);
}
.region-info-bottom-button {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid var(--color8);   /* đỏ */
    border-radius: 999px;        /* pill */
    color: var(--color8);
    background: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease;
}
.city-pill-icon {
  flex-shrink: 0;
}
/* hover */
.city-pill:hover {
    background: var(--color8);
    color: #fff;
}
.city-pill:hover .city-pill-icon {
    filter: brightness(0) invert(1); /* icon đổi sang trắng */
}

/* focus / accessibility */
.city-pill:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.3);
}
.map-card-image {
    display: grid;
    grid-template-columns: repeat(2, 152px);
    grid-template-rows: repeat(2, 100px);
    gap: 0;
    transition: transform 0.3s ease;
}

.map-card-image:hover {
    transform: scale(1.05);
}

.map-card-image img {
    width: 152px;
    height: 100px;
    object-fit: cover;
    object-position: center;
}
#map-description {
    font-size: 14px;
}
.map-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-nav-btn-left {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px;
    width: auto;
    height: auto;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.map-nav-btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px;
    width: auto;
    height: auto;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.map-prev {
    left: 0;
}

.map-next {
    right: 0;
}
.map-card-select-prefecture {
    gap: inherit ;
}

.circle-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    vertical-align: middle;
    padding-top: 2px;
}
.region-info-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.region-name {
  display: flex;
  align-items: center;
}
.region-name-fix {
    margin-left: 2px;
    vertical-align: middle;
    font-family: var(--font-serif);
    text-transform: uppercase;
    color: var(--color-accent);
}
.top-city-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* display: flex;
    align-items: center; */
}

/* Khung ảnh */
.top-city-main-image .top-city-image {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Ảnh */
.top-city-main-image .top-city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Mượt, không giật */
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
}

/* Hiệu ứng Zoom mượt hơn */
.top-city-main-image:hover .top-city-image img {
    transform: scale(1.05) translateZ(0);
}

/* Title overlay */
.top-city-main-image .top-city-title {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 20;
    color: #fff;
    font-weight: 400;
    gap: 6px;
    pointer-events: none;
    white-space: nowrap;
}

/* Arrow icon */
.top-city-main-image .top-city-arrow-icon svg {
    width: 18px;
    height: 18px;
    transition: transform .35s ease;
    will-change: transform;
    vertical-align: middle;
}
.top-city-large-image {
    font-size: 28px !important;
}

/* Arrow slide */
.top-city-main-image:hover .top-city-arrow-icon svg {
    transform: translateX(6px);
}
.fs-12 {
    font-size: 12px !important;
}
.fs-14 {
    font-size: 14px !important;
}
.fs-16 {
    font-size: 16px !important;
}
.fs-18 {
    font-size: 18px !important;
}
.fs-20 {
    font-size: 20px !important;
}
.fs-24 {
    font-size: 24px !important;
}
.fs-28 {
    font-size: 28px !important;
}
.fs-38 {
    font-size: 38px !important;
}
.fs-64 {
  font-size: 64px !important;
}
.rm-mg-pd-breadcrumb .post_content, 
.rm-mg-pd-breadcrumb .post_content .p-breadcrumb__list,
.rm-mg-pd-breadcrumb .p-breadcrumb,
.rm-mg-pd-breadcrumb .p-breadcrumb__list {
    padding: 0;
    margin: 0;
}
/* PREMIUM TOURS */
.pre-tour-slider {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Track wrapper */
/* .pre-tour-track-wrapper {
    overflow: hidden;
    width: 100%;
} */

/* Track */
/* .pre-tour-track {
    display: flex;
    padding: 0 !important;
    margin: 0;
    transition: transform 0.35s ease;
} */

/* .pre-tour-track:hover {
    animation-play-state: paused;
} */

/* 4 card chuẩn */
/* .pre-tour-card {
    list-style: none;
    flex: 0 0 calc((100% - 60px) / 4);
    margin-right: 20px;
} */
.pre-tour-card-one {
  margin-right: 0px !important;
}
.pre-tour-card:nth-child(4n) {
    margin-right: 0 !important;
}
.pre-tour-wrap-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: 16px;
}
.pre-tour-wrap-content:hover {
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}
.pre-tour-wrap-content:hover .pre-tour-like-icon{
    opacity: 1;
    pointer-events: auto;
}
.pre-tour-text-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* Image */
.pre-tour-card-image {
    width: 100%;
    height: 172px;                  /* khung cố định theo design */
    background: #f5f5f5;            /* nền xám nhạt giống khách */
    border-radius: 8px;
    display: flex;
    align-items: center;            /* canh giữa ảnh theo chiều dọc */
    justify-content: center;        /* canh giữa ảnh theo chiều ngang */
    overflow: hidden;
    position: relative;
}
.pre-tour-card-image img {
    width: 100%;
    height: auto;                   /* giữ tỉ lệ, KHÔNG THỂ CROP */
    object-fit: contain;            /* đảm bảo không bao giờ crop */
    display: block;
}
.pre-tour-like-icon {
    opacity: 0;
    pointer-events: none;   /* để không bị click khi đang ẩn */
    transition: opacity 0.25s ease;
    position: absolute;
    top: 5%;
    right: 5%;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(2px);
}
.pre-tour-like-icon svg {
    width: 14px !important;
    height: auto !important;
}
.pre-tour-like-icon svg path {
    fill: #fff !important;
}
/* Title */
.pre-tour-card-title {
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: Literata, serif !important;
    color: var(--color-main) !important;
    /* margin: 12px 16px 8px; */
}

/* Row3: Stars + Price */
.pre-tour-card-row3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin: 0 16px; */
}
.pre-tour-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}
.pre-tour-stars img {
    width: 14px;
}

.pre-tour-price {
    color: #D83535;
    font-weight: 700;
}

/* Badge rows */
.pre-tour-badge {
    font-size: 12px;
    /* margin: 4px 16px; */
    display: flex;
    align-items: center;
    /* gap: 8px; */
}

.pre-tour-distance {
    /* margin: 4px 16px; */
    display: flex;
    /* gap: 6px; */
    font-size: 12px;
}
/* BOOK NOW button */
.pre-tour-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    /* margin: 16px auto 0; */
    width: 100%;
    background: #B22222;
    color: #fff;
    padding: 10px 32px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

/* Mũi tên */
.pre-tour-arrow-left {
    position: absolute;
    top: calc(86px + 16px);
    transform: translateY(-50%);
    z-index: 50;
    width: 48px;
    height: 48px;
    background: #00000080;   /* xám đen mờ giống thiết kế */
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    opacity: 0.5;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;                /* mũi tên nhỏ lại */
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(2px);     /* giống style mờ trong suốt */
}

.pre-tour-arrow-right {
    position: absolute;
    top: calc(86px + 16px);
    transform: translateY(-50%);
    z-index: 50;

    width: 48px;
    height: 48px;

    background: #00000080;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    opacity: 0.5;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(2px);
}
.p-breadcrumb__item:after {
    clip-path: none;
    background-color: transparent;
    color: #CECACB;
    content: "/";
    display: flex;
    align-items: center;
    justify-content: center;
}
.single .p-breadcrumb__item:last-child>span.p-breadcrumb__text {
    display: inline;
    color: var(--color3);
}
/* vị trí */
.pre-tour-prev-btn {
    left: 0px;
}

.pre-tour-next-btn {
    right: 0px;
}
.pre-tour-book-now-arrow {
    display: flex;
    align-items: center;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.pre-tour-book-now-arrow svg {
    width: 12px;
    height: auto;
    display: block;
}
.pre-tour-book-now-wrap a:hover .pre-tour-book-now-arrow {
    transform: translateX(6px);
}
.related-tours-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  /* justify-content: space-between; */
}
/* PREMIUM TOURS */
/* PREMIUM TOURS - NEW */
/* 1. Sửa Wrapper: Thêm container-type */
.pre-tour-track-wrapper {
    overflow: hidden;
    width: 100%;
    container-type: inline-size; /* Thêm dòng này */
}
/* .pre-tour-track-wrapper-one {
  display: flex;
  justify-content: center;
} */

/* 2. Sửa Track: Thêm width: max-content */
.pre-tour-track {
    display: flex;
    padding: 0 !important;
    margin: 0;
    width: max-content;
    /* animation: pr-marquee 50s linear infinite;
    transition: transform 0.35s ease; */
    will-change: transform;
}

/* 3. Sửa Card: Thay % bằng cqw và bỏ margin: 0 */
.pre-tour-card {
    list-style: none;
    flex: 0 0 auto; /* Đổi flex-basis thành auto */
    
    /* Sử dụng 100cqw (100% của wrapper) thay cho 100% */
    width: calc((100cqw - 60px) / 4); 
    
    margin-right: 20px !important;
}

/* 4. Sửa: Xóa bỏ dòng gán margin-right: 0 này */
.pre-tour-card:nth-child(4n) {
    margin-right: 20px !important; /* Phải để 20px để nối vòng lặp mượt */
}

/* Giữ nguyên Keyframes của bạn */
@keyframes pr-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* PREMIUM TOURS - NEW */

/* POPULAR GUIDES */
.pg-section {
    padding: 50px 0 !important;
}
.pg-slider {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Track wrapper */
.pg-track-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Track */
.pg-track {
    display: flex;
    /* gap: 20px; */
    padding: 0 !important;
    margin: 0;
    transition: transform 0.35s ease;
}
.pg-card {
    list-style: none;
    flex: 0 0 calc((100% - 60px) / 4);
    margin-right: 20px !important;
}
.pg-card:nth-child(4n) {
    margin-right: 0 !important;
}
.pg-wrap-content {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: 16px;
    
    position: relative;
    overflow: hidden;
    height: 100%;
}
.pg-view-all {
    text-align: center !important;
    margin-top: 35px !important;
 }
.pg-view-all a {
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-sans) !important;
    color: #B22222;
    border: 1px solid #B22222;
    border-radius: 8px;
    padding: 4px 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
 }
.pg-view-all-arrow {
    display: flex;
    align-items: center;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.pg-view-all-arrow svg {
    width: 12px;
    height: auto;
    display: block;
}
.pg-view-all a:hover .pg-view-all-arrow {
    transform: translateX(6px);
}
.pg-view-all path {
    fill: #B22222 !important;
}
.pg-wrap-content:hover .pg-card-image {
    transform: translateY(-10px);
}
.pg-wrap-content:hover .pg-card-image::after {
    opacity: 1;
}
.pg-text-content {
    display: flex;
    flex-direction: column;
    padding: 0 8px;
    gap: 16px;
    height: 100%;
}
/* Image */
.pg-card-image {
    width: 100%;
    height: 355px;                  /* khung cố định theo design */
    background: #f5f5f5;            /* nền xám nhạt giống khách */
    border-radius: 8px;
    /* margin-top: 10px !important; */
    display: flex;
    align-items: center;            /* canh giữa ảnh theo chiều dọc */
    justify-content: center;        /* canh giữa ảnh theo chiều ngang */
    overflow: hidden;
    position: relative;

    transform: rotate(0deg);
    transition: transform 0.3s ease; /* tạo hiệu ứng mượt khi hover */
    pointer-events: none;
}
.pg-card-image img {
    width: 100%;
    height: 100%;                   /* giữ tỉ lệ, KHÔNG THỂ CROP */
    object-fit: cover;            /* đảm bảo không bao giờ crop */
    display: block;
}
.pg-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle,
        rgba(255, 0, 0, 0.1) 0%,    /* đỏ đậm ở trung tâm */
        rgba(255, 0, 0, 0.1) 80%,   /* đỏ nhạt dần */
        rgba(255, 0, 0, 0.0) 100%   /* mờ hoàn toàn ở ngoài */
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pg-logo-watermask svg {
    position: absolute;
    top: 5%;
    left: 6%;
    width: 18% !important;
    height: auto;
}
.pg-like-icon {
    opacity: 0;
    pointer-events: none;   /* để không bị click khi đang ẩn */
    transition: opacity 0.25s ease;
    position: absolute;
    top: 5%;
    right: 5%;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(2px);
}
.pg-like-icon svg {
    width: 14px !important;
    height: auto !important;
}
.pg-like-icon svg path {
    fill: #fff !important;
}
/* Title */
.pg-card-title {
    font-size: 18px !important;
    font-weight: 500 !important;
    font-family: Literata, serif !important;
    color: var(--color-main) !important;
    /* margin: 12px 16px 8px; */
}

/* Row3: Stars + Price */
.pg-card-row3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: ;
    /* justify-content: space-between; */
    /* align-items: center; */
    /* margin: 0 16px; */
}
/* POPULAR GUIDES */

/* gallery */
.gallery-main {
  width: 100%;
  aspect-ratio: 780 / 540;
  max-height: 540px;
  border-radius: 16px;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ga-slider {
  position: relative;
  width: 100%;
  overflow: visible;
}
#main-img {
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

#main-img:focus,
#main-img:active {
  outline: none;
  box-shadow: none;
}

/* Track wrapper */
.ga-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Track */
.ga-track {
  display: flex;
  /* gap: 0px; */
  padding: 0 !important;
  margin: 0;
  /* transition: transform 0.35s ease; */
}
.ga-card {
  list-style: none;
  flex: 0 0 calc((100% - 60px) / 4);
  margin-right: 20px !important;
  cursor: pointer;
}
.ga-card img {
  cursor: pointer;
}
.ga-card:nth-child(4n) {
  margin-right: 0 !important;
}
.ga-wrap-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
  
  position: relative;
  overflow: hidden;
}
/* .ga-wrap-content:hover .ga-card-image {
    transform: translateY(-10px);
}
.ga-wrap-content:hover .ga-card-image::after {
    opacity: 1;
} */
/* Image */
.ga-card-image {
  width: 100%;
  aspect-ratio: 180 / 125;                  
  background: #f5f5f5;            /* nền xám nhạt giống khách */
  border-radius: 16px;
  /* margin-top: 10px !important; */
  display: flex;
  align-items: center;            /* canh giữa ảnh theo chiều dọc */
  justify-content: center;        /* canh giữa ảnh theo chiều ngang */
  overflow: hidden;
  position: relative;

  /* transform: rotate(0deg);
  transition: transform 0.3s ease;
  pointer-events: none; */
}
.ga-card-image img {
  width: 100%;
  height: 100%;                   /* giữ tỉ lệ, KHÔNG THỂ CROP */
  object-fit: cover;            /* đảm bảo không bao giờ crop */
  display: block;
}
.ga-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.705);
  opacity: 1;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.ga-card.is-active .ga-card-image::after {
  opacity: 0;
}
/* gallery */
/* reservation */
.title-bar {
  display: inline-flex;
  align-items: center; 
  gap: 10px;
  margin: 0;
}
.title-bar__line {
  width: 3px;
  height: 0.8em; 
  background-color: var(--color2);
  flex-shrink: 0;
}
.title-bar__text {
  line-height: 1;
}
.real-date {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.date-3input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.date-box {
  width: 90px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
}
.change-date-time-booking {
  cursor: pointer;
}
.select-box {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: var(--color-main);
  font-size: 16px;
  font-weight: 500;
}
.search-filter-select-box {
  width: 100%;
  padding: 8px 30px 8px 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: var(--color3);
  font-size: 14px;
  font-weight: 400;
  background-color: #fff;
}
.search-result-item {
  padding: 0 26px 26px 26px !important;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 8px;
}
.radio-group > div {
  max-width: 100%;
  margin: 10px 0;
}

.radio-group input[type="radio"] {
  accent-color: var(--color-accent); /* đổi màu radio */
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  background: transparent !important;
  /* appearance: none !important; */
  /* -webkit-appearance: none !important; */
}
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.add-to-cart-btn {
  background-color: var(--color4);
  color: var(--color-white);
  padding: 16px 32px;       /* padding */
  border-radius: 8px;       /* bo góc */
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  width: 100%;
}
.placeholder-btn {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 16px 32px;       /* padding */
  border-radius: 8px;       /* bo góc */
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  width: 100%;
}
.checkout-btn {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 16px 32px;       /* padding */
  border-radius: 8px;       /* bo góc */
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  width: 100%;
}
.divider {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color3);
  opacity: 0.3;
}
.divider2 {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color11);
}
.v-divider {
	display: block;
  width: 	1px;
  height: 100%;
  background: var(--color3);
  opacity: 0.3;
}
.require-text, .select-text {
  font-size: 12px;
  color: var(--color5);
}
.display-none {
    display: none;
}
.select-box-wrapper {
  padding: 8px 0;
  font-style: italic;
}
.course-detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.course-detail__left {
  flex: 0 0 auto;
  width: 130px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
}
.course-detail__image {
  width: 100%;
  height: 100%;
}
.course-detail__right {
  flex: 1;
  margin: 0;
}
.price-box {
  background: var(--color6);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
}

.price-box__label {
  font-size: 14px;
}

.person-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.person-btn {
  width: 32px;
  height: 24px;
  border-radius: 6px;
  border: none;
  background: var(--color3);
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-btn.active {
  background: var(--color2);
}

.price-box__price {
  font-size: 14px;
}
.price-origin {
  margin-left: 8px;
  font-size: 14px;
  text-decoration: line-through;
  opacity: 0.6;
}

.price-discount {
  margin-left: 6px;
  font-size: 12px;
  background: var(--color2);
  color: var(--color-white);
  padding: 0px 6px;
  border-radius: 4px;
}
/* reservation */
/* TOUR TABS */
/* Tabs nav */
.tour-tabs__nav {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  border-bottom: 1px solid var(--color7);
  padding-bottom: 8px;
}

.tour-tabs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0px 16px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-main) !important;
  cursor: pointer;
  position: relative;
}

.tour-tabs__tab:hover {
  color: rgba(0,0,0,.75);
}

.tour-tabs__tab.is-active {
  color: rgba(0,0,0,.88);
  font-weight: 600;
}

/* red underline */
.tour-tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 3px;
  background: var(--color2);
  border-radius: 2px;
}

/* badge (Reviews count) */
.tour-tabs__tab .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin-left: 6px;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  transform: translateY(-1px);
}
.tour-tabs__tab > a {
	color: inherit;
}

/* Panels */
.tour-tabs__content {
  padding-top: 32px;
}

.tour-tab {
  display: none;
}

.tour-tab.is-active {
  display: block;
}

.tab-loading {
  font-size: 14px;
  color: rgba(0,0,0,.55);
  padding: 12px 0;
}

/* =========================
   DETAILS GRID (like image)
   ========================= */

.tour-details-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  /* column-gap: 38px; */
  align-items: start;
}

.tour-details-grid__left {
  height: 100%;
  border-right: 1px solid var(--color7);
  /* opacity: 0.3; */
}
 .tour-details-heading {
	padding-bottom: 16px;
	line-height: 1;
	font-family: var(--font-serif);
 }

.tour-feature-list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

.tour-feature {
  display: flex;
  gap: 10px;
  align-items: center;
	padding-bottom: 16px;
  /* padding: 8px 0;
  color: rgba(0,0,0,.72);
  font-size: 15px; */
}

/* Simple icon dots (replace with real icons if needed) */
.tour-feature .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 4px;
  background: rgba(0,0,0,.18);
}

/* Right content typography */
.tour-details-grid__right .richtext,
.tour-details-grid__right {
  /* color: rgba(0,0,0,.72); */
  /* font-size: 15px;
  line-height: 1.75; */
	padding-left: 50px;
}

/* Title like "About Tour" */
.tour-details-grid__right h2,
.tour-details-grid__right h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.15;
  color: rgba(0,0,0,.88);
  font-weight: 700;
}

/* Paragraph spacing similar to screenshot */
.tour-details-grid__right p {
  margin: 0 0 16px;
}

.tour-details-grid__right strong {
  font-weight: 700;
  color: rgba(0,0,0,.82);
}
/* TOUR TABS */
/* =========================
   SHARE YOUR THOUGHTS
   ========================= */

.share-your-thoughts {
  margin-top: 40px;
}

/* ---------- SUMMARY ---------- */
.share-your-thoughts__summary {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #fff;
  padding: 24px 32px;
  border-radius: 8px;
  margin-bottom: 28px;
}

.share-your-thoughts__score {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 32px;
  border-right: 1px solid #eee;
}

.score-number {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #2f3b45;
}

.score-meta {
  font-size: 14px;
  color: #666;
}

.score-count {
  margin-top: 4px;
  font-weight: 600;
}

/* Breakdown */
.share-your-thoughts__breakdown {
  flex: 1;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 14px;
}

.rating-stars {
  width: 90px;
  color: #fbc02d;
  letter-spacing: 1px;
}

.rating-bar {
  flex: 1;
  height: 6px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar span {
  display: block;
  height: 100%;
  background: #b71c1c;
}

.rating-count {
  width: 24px;
  text-align: right;
  color: #444;
}

/* ---------- FORM ---------- */
.share-your-thoughts__form {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.form-title {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group label span {
  color: #c62828;
}

.rating-input {
  font-size: 28px;
  color: #fbc02d;
  cursor: pointer;
}

.rating-input span {
  margin-right: 4px;
}

.rating-input span:hover,
.rating-input span:hover ~ span {
  color: #ddd;
}

.share-your-thoughts__form textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  resize: vertical;
}

.review-submit {
  background: #b71c1c;
  color: #fff;
  border: 0;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

.review-submit:hover {
  background: #a31515;
}
/* =========================
   WHAT OTHERS ARE SAYING
   ========================= */

.what-others-are-saying {
  margin-top: 40px;
  color: #2f3b45;
}

/* Header */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.reviews-title {
  font-size: 28px;
  font-weight: 700;
}

.reviews-show-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-main);
  text-decoration: none;
}

.reviews-show-all span {
  margin-left: 4px;
}

/* Review list */
/* .reviews-list {
  border-top: 1px solid #e6e6e6;
} */

.review-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #e6e6e6;
}

/* Avatar */
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #666;
  flex-shrink: 0;
}

/* Body */
.review-body {
  flex: 1;
}

.review-meta {
  font-size: 14px;
  margin-bottom: 4px;
}

.review-name {
  font-weight: 700;
}

.review-date {
  color: #888;
  margin-left: 4px;
}

/* Stars */
.review-stars {
  color: #fbc02d;
  font-size: 16px;
  margin-bottom: 6px;
}

/* Text */
.review-text {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* Pagination */
.reviews-pagination {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.page-btn,
.page-number {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.page-number.is-active {
  background: #b71c1c;
  border-color: #b71c1c;
  color: #fff;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  color: #999;
}
/* =========================
   CITY MEGA MENU
   ========================= */
#mega-menu-wrap-header_menu {
	display: flex;
	align-items: center;
}
.mega-menu-link {
	font-weight: 500 !important;
}
.city-mega-menu {
  display: grid;
  grid-template-columns: repeat(10, minmax(120px, 1fr));
  padding: 50px 0px;
  background: var(--color-white);
}

/* Region title */
.city-mega-menu__region {
  font-size: 14px;
  font-weight: 600;
  border-left: 2px solid var(--color8); 
  padding-left: 4px;
  line-height: 1;
}

.city-mega-menu__region::before {
  content: none;
}

/* City list */
.city-mega-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-mega-menu__list li {
  /* margin: 0; */
	margin-top: 2px;
}

.city-mega-menu__list a {
  font-size: 14px;
  color: var(--color-main);
  text-decoration: none;
}

/* .city-mega-menu__list a:hover {
  text-decoration: underline;
} */
/* .city-mega-menu-wrapper {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
} */

/* .has-city-mega-menu:hover .city-mega-menu-wrapper {
  display: block;
} */
/* .city-mega-menu-wrapper {
  display: none;
} */
/* .city-mega-menu-wrapper.is-open {
  display: block;
} */
.archive-custom-col .p-postList__item{
	width: 25% !important;
}
/* CUSTOM DATEPICKER */
.datepicker {
  width: 280px;
  background: #fff;
  /* border-radius: 6px; */
  font-family: system-ui, sans-serif;
  /* box-shadow: 0 6px 20px rgba(0,0,0,.15); */
  overflow: hidden;
}

.dp-header {
  background: #f26c85;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
}

/* .dp-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
} */

.dp-weekdays,
.dp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.dp-weekdays span {
  font-size: 12px;
  padding: 8px 0;
  color: var(--color-main);
  font-weight: 700;
}

.dp-days span {
  padding: 10px 0;
  cursor: pointer;
  font-size: 13px;
  background-color: var(--color9);
  color: var(--color-main);
}

.dp-days span:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.dp-days span.is-selected {
  background: var(--color-accent);
  color: var(--color-white);
}

.dp-days span.is-muted {
  color: var(--color-main);
  background-color: var(--color-white);
  pointer-events: none;
}
.dp-header button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.dp-header img {
  width: 14px;
  height: auto;
  max-width: 100%;
  display: block;
}

.dp-header button:focus {
  outline: none;
}
.dp-days span.is-disabled {
  color: #ccc;
  pointer-events: none;
  background: transparent;
  cursor: not-allowed;
}
.dp-wrapper {
  position: absolute;
  left: 0;
  z-index: 10;
}
.booking-datepicker {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}
/* CUSTOM DATEPICKER */
/* GUIDE DETAIL */
.guide-detail-wrapper {
  background: linear-gradient(84.04deg, #E56484 0.71%, #E0466D 14.79%, #E0466D 77.1%, #E56484 100%);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 50px 0 40px 0;
}
.guide-detail-wrapper a.p-breadcrumb__text {
  color: var(--color-white);
}
.guide-detail-wrapper span.p-breadcrumb__text {
  color: var(--color-white) !important; 
}
.guide-info {
  display: flex;
  gap: 24px;
}
.guide-summary {
  flex: 2;
  display: flex;
  flex-direction: column;
}
.guide-avatar {
  flex: 1;
  width: 100%;
  max-width: 281px;
  border-radius: 8px;
  opacity: 1;
  aspect-ratio: 281 / 345;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* GUIDE DETAIL */
/* GUIDE RATINGS */
.rating-dashboard {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
    background-color: var(--color12);
    max-width: 600px;
}

/* Cột trái */
.rating-summary {
    text-align: center;
    border-right: 1px solid #eee; /* Đường kẻ dọc */
    padding-right: 40px;
}

.big-score {
    font-size: 64px;
    font-weight: 800;
    color: #333e48;
    line-height: 1;
}

.sub-text {
    color: #777;
    margin: 5px 0;
}

.total-count {
    font-weight: 700;
    color: #333e48;
}

/* Cột phải */
.rating-details {
    flex-grow: 1;
}

.rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.stars-group {
    width: 100px;
    display: flex;
    justify-content: flex-start;
}

.star-unit {
    width: 16px;
    height: 16px;
    margin-right: 2px;
}

/* Thanh progress bar */
.progress-container {
    flex-grow: 1;
    height: 8px;
    background: #e0e0e0;
    margin: 0 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #b12704;
}

.row-count {
    width: 20px;
    text-align: right;
    color: #777;
}
/* GUIDE RATINGS */
/* GUIDE REVIEWS */
.reviews-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Inter', sans-serif; /* Hoặc font bạn đang dùng */
}

/* .review-card {
    padding: 24px 0;
    border-bottom: 1px solid #E5E7EB;
} */

/* Header */
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%; /* Bo tròn tuyệt đối */
    object-fit: cover;
    background: #f0f0f0;
}

.reviewer-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.reviewer-top .name {
    font-weight: 600;
    color: #111827;
}

.reviewer-top .separator {
    color: #9CA3AF;
}

.reviewer-top .date {
    color: #6B7280;
    font-size: 14px;
}

.review-stars img {
    width: 14px;
    height: 14px;
    margin-right: 2px;
}

/* Content */
.review-body {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 12px;
}

.review-body p {
    margin: 0;
}

/* Cities Link */
.review-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.city-tag {
    color: var(--color-accent);
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    font-family: var(--font-serif);
}
/*----------------------------------------------*/
.reviews-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

/* Định dạng chung cho tất cả các nút (số và mũi tên) */
.reviews-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #E5E7EB;
    border-radius: 8px; /* Bo góc theo Figma */
    color: #333;
    text-decoration: none;
    font-weight: 600;
    background: #fff;
    transition: 0.2s;
}

/* TRANG HIỆN TẠI: Bắt buộc màu đỏ */
.reviews-pagination .page-numbers.current {
    background-color: #b12704 !important;
    color: #fff !important;
    border-color: #b12704 !important;
}

/* Nút bị vô hiệu hóa (Mũi tên xám khi ở trang đầu/cuối) */
.reviews-pagination .page-numbers.disabled {
    color: #ccc;
    background-color: #f9f9f9;
    border-color: #eee;
    cursor: not-allowed;
}

/* Hiệu ứng Hover cho các nút bấm được */
.reviews-pagination a.page-numbers:hover {
    border-color: #b12704;
    color: #b12704;
}

/* Icon mũi tên nhỏ lại một chút cho đẹp */
.reviews-pagination i {
    font-size: 14px;
}
/* GUIDE REVIEWS */
/* GUIDE COMMENTS */
/* .guide-comments {
  background-color: var(--color12);
  padding: 32px;
  border-radius: 16px;
} */
/* Star Rating Style */
.review-form-rating {  
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
}

.star-rating-input input { display: none; }

.star-rating-input label {
    cursor: pointer;
    width: 26px;
    height: 26px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fcc201" stroke-width="2"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
    background-repeat: no-repeat;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fcc201"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
}

/* Textarea & Button */
.review-form-comment textarea {
    width: 100%;
    height: 140px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    outline: none;
}

.submit-review-btn {
    background: var(--color8) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 32px !important;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
.comment-respond {
  background-color: var(--color12);
  padding: 32px;
  border-radius: 16px;
}
.comment-respond > #reply-title,
.comment-respond .logged-in-as {
  display: none;
}
/* GUIDE COMMENTS */
/* DASHBOARD REVIEWS */
.switch-home {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

/* Biến đổi checkbox thành nút gạt màu đỏ theo theme */
.toggle-home-review {
    width: 34px;
    height: 18px;
    appearance: none;
    background: #ccc;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
}

.toggle-home-review:checked {
    background: #b12704; /* Màu đỏ theme */
}

.toggle-home-review::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

.toggle-home-review:checked::before {
    left: 18px;
}

.dashboard-title {
    font-size: 24px;
    margin-bottom: 25px;
    font-family: serif;
}
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}
/* Thẻ Card cho mỗi Review */
.review-card {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.review-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Bên trái: Nội dung */
.review-content-side {
    flex: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.author-name {
    font-weight: 600;
    color: #111;
    font-size: 16px;
}

.review-date {
    font-size: 13px;
    color: #999;
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-left: 5px;
}

.star-unit {
    width: 14px;
    height: 14px;
}

.star-empty {
    filter: grayscale(100%);
    opacity: 0.2;
}

.guider-info {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.guider-info span {
    color: #333;
    font-weight: 500;
}

.review-text-box {
    margin-top: 12px;
    color: #444;
    font-size: 14px;
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #E5E7EB;
    line-height: 1.6;
}

/* Bên phải: Nút Toggle */
.review-action-side {
    margin-left: 25px;
}

.switch-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.switch-label {
    font-size: 10px;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

/* Tùy chỉnh Checkbox thành Toggle Switch (Nếu bạn muốn đẹp hơn nữa) */
.toggle-home-review {
    cursor: pointer;
    width: 40px;
    height: 20px;
}

.no-reviews {
    color: #666;
    font-style: italic;
}
/* DASHBOARD REVIEWS */
/* GUIDE BOOKING */
.stars {
  display: flex;
  
  gap: 2px;
}
/* Khung chứa slider */
.guide-slider-container {
  position: relative;
    width: 100%;
}

/* Vùng nhìn hạn chế - Đây là cái "cửa sổ" để nhìn vào track */
.guide-track-wrapper {
  position: relative;
    z-index: 1; 
    overflow: hidden;
    width: 100%;
}

/* Thanh chứa toàn bộ ảnh */
.guide-track {
  display: flex;
  gap: 12px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 5px 0; /* Tạo khoảng trống nhẹ cho hiệu ứng border/shadow */
}

/* Thumbnail từng guide */
.guide-thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  /* background: #eee; */
  transition: all 0.4s ease; /* Hiệu ứng chuyển đổi mượt mà */
    /* Hiệu ứng mờ đen */
  filter: brightness(0.5) grayscale(0.8);
}

.guide-thumb:hover {
    filter: brightness(0.8) grayscale(0.4);
}

.guide-thumb.active {
  filter: brightness(1) grayscale(0);
    border-color: var(--color2);
}

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

/* Mũi tên - Đảm bảo cố định kích thước */
.guide-nav {
  position: absolute;
  top: 30px; /* (Chiều cao ảnh 60px / 2) */
  transform: translateY(-50%);
  z-index: 99; /* Đẩy lên thật cao để không bị đè */
  
  /* Đảm bảo nút có thể nhận sự kiện click */
  pointer-events: auto; 
  
  /* Style bổ sung để dễ bấm */
  width: 30px;
  height: 30px;
  background: #00000080;
  /* border: 1px solid #ddd; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 50%; */
  cursor: pointer;
}
.guide-nav:hover {
    /* background: #fff; */
    scale: 1.1;
}
/* Vị trí cụ thể từng nút */
.guide-nav.prev {
  top: 50%;
    left: 0px; /* Sát lề trái ảnh */
}
.guide-nav.next {
  top: 50%;
    right: 0px; /* Sát lề phải ảnh */
}
/* GUIDE BOOKING */
/*CART & FAVORITE*/
.cart-icon {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}
.cart-icon:hover {
    transform: scale(1.3);
}

.cart-count {
    position: absolute;
    top: -5px;      /* Điều chỉnh lên xuống */
    right: -8px;    /* Điều chỉnh trái phải */
    background-color: var(--color8); /* Màu hồng đồng bộ với theme của bạn */
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    border: 1px solid #fff; /* Tạo viền trắng để tách biệt với icon */
}
/*CART & FAVORITE*/
/* CUSTOM CART */
/* 1. Xóa toàn bộ border của bảng trong khối custom-cart-table trước */
.custom-cart-table table.shop_table, 
.custom-cart-table table.shop_table td, 
.custom-cart-table table.shop_table th {
    border: none !important;
}

/* 2. Chỉ thêm lại border-bottom cho mỗi hàng (tr) */
/* Chúng ta tác động vào td để đảm bảo đường kẻ kéo dài đều */
.custom-cart-table table.shop_table tbody td,
.custom-cart-table table.shop_table thead th {
  border-bottom: 1px solid #EAE0E3 !important; /* Màu xám nhạt theo Figma */
}
.custom-cart-table table.shop_table thead th {
  background-color: inherit;
  color: var(--color-main);
  font-size: 12px;
}
/* 3. Xóa border-bottom của hàng cuối cùng để trông sạch sẽ hơn */
/* .custom-cart-table table.shop_table tbody tr:last-child td {
    border-bottom: none !important;
} */

/* 4. Tùy chỉnh khoảng cách để nội dung không đè lên đường kẻ */
.custom-cart-table table.shop_table td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.page-template-default.woocommerce-cart .c-pageTitle, 
.page-template-default.woocommerce-checkout .c-pageTitle,
.tour-booking-page .c-pageTitle,
.page-id-XXX .c-pageTitle { 
    display: none !important;
}
.page-template-default.woocommerce-cart .post_content,
.page-template-default.woocommerce-checkout .post_content,
.tour-booking-page .post_content {
  margin: 0;
  padding: 0 0 80px 0;
}
.p-blogParts.post_content {
  padding-bottom: 0 !important;
}
.cart-container {
  border-radius: 16px;
  padding: 20px 30px;
  background-color: white;
  margin-bottom: 40px !important;
}
.cart-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--color-main);
  margin-bottom: 0;
}
.cart-inner {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(0, 340px); 
  gap: 20px; 
  justify-content: center;
}

.your-info {
  width: 100%; /* Co giãn theo container */
  max-width: 740px; /* Nhưng không bao giờ vượt quá 740px */
  /* min-height: 866px; */
  gap: 8px; /* Giữ nguyên gap theo Figma */
}

.tour-info {
  width: 100%;
  max-width: 340px;
  /* min-height: 642px; */
  gap: 8px;
}
.info-title {
  font-weight: 700;
  font-size: 14px;
}
.tour-booking-form {
  background-color: var(--color12);
  border-radius: 8px;
  padding: 24px;
}
.cart-tour {
  background-color: var(--color12);
  border-radius: 8px;
  padding: 16px;
  font-weight: 600;
}
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px; /* Gap giữa các hàng và cột */
    background-color: var(--color12);
    border-radius: 8px;
    padding: 24px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Gap theo Figma */
}

.field-group label {
    font-size: 14px;
    font-weight: 600;
    /* color: #444; */
}
.field-group input, .field-group textarea {
  border-radius: 8px;
  background-color: white;
  padding: 12px 16px
}

.required {
    color: #C0392B;
    margin-left: 4px;
}

.full-width { width: 100%; }
.half-width { width: calc(50% - 10px); }

/* Định dạng Input & Textarea */
.tour-booking-form input[type="text"],
.tour-booking-form input[type="email"],
.tour-booking-form input[type="tel"],
.tour-booking-form textarea,
.tour-booking-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background: #FFF;
    font-size: 15px;
    transition: border-color 0.3s;
}

.tour-booking-form textarea {
    min-height: 100px;
    resize: vertical;
}

.tour-booking-form input:focus {
    border-color: #f0547a;
    outline: none;
}

/* Note dưới Meeting Place */
.field-note {
    font-size: 12px;
    color: var(--color-main);
    line-height: 1.4;
    margin: 4px 0 0 0;
}

/* Custom Select Arrow */
.select-wrapper {
    position: relative;
}
.select-wrapper > select {
    width: 100%;
    background-color: white;
    border-radius: 8px;
    padding: 12px 16px;
}
.select-wrapper::after {
    font-size: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
}
.woocommerce-cart table.cart .cart-tour-image img {
  width: 70px !important; /* Tăng lên 100-120px sẽ đẹp hơn trên cột 340px */
  height: 50px !important;  /* Cố định chiều cao để tạo sự đồng nhất */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  max-width: none !important;
}
.tour-booking-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* font-weight: 600; */
}
.tour-booking-item-label {
  font-size: 12px;
}
.quantity-input {
  border-radius: 8px;
  background-color: white;
  width: 80px;
  height: 40px;
  /* padding: 12px 16px */
}
.tour-booking-item-distance-select {
  border-radius: 8px;
  background-color: white;
  height: 40px;
}
/* CUSTOM CART */
/* VALIDATE */
.field-group input.field-error, 
.field-group select.field-error {
    border: 2px solid #ff4d4d !important;
    background-color: #fff2f2;
}

.required {
    color: red;
    margin-left: 3px;
}
/* VALIDATE */
/* CHECKOUT */
.back-btn {
  height: 100%;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
}
.back-btn a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-main);
  padding-left: 10px;
}
.checkout-info-display-grid {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Khoảng cách giữa các dòng */
    background-color: var(--color12);
    border-radius: 8px;
    padding: 24px;
}
.customer-information {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
}

.checkout-info-row {
    display: grid;
    grid-template-columns: 150px 1fr; /* Cố định chiều rộng label 150px */
    align-items: baseline;
}

.checkout-info-label {
    color: var(--color-main); /* Màu xám nhạt cho label */
    font-size: 14px;
    font-weight: 400;
}

.checkout-info-value {
    color: var(--color-main); /* Màu đậm chính xác theo yêu cầu */
    font-size: 14px;
    font-weight: 500; /* Font đậm cho dữ liệu */
    line-height: 1.4;
}
.order-item {
  background-color: var(--color12);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
}
.order-info-row-full {
  display: grid;
  grid-template-columns: 100% 1fr;
  align-items: baseline; 
}
.order-info-row {
    display: grid;
    grid-template-columns: 150px 1fr; /* Cố định chiều rộng label 150px */
    align-items: baseline;
}
.order-info-label-large {
  color: var(--color-main); /* Màu xám nhạt cho label */
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-serif);
}
.order-info-label {
    color: var(--color-main); /* Màu xám nhạt cho label */
    font-size: 12px;
    font-weight: 400;
}

.order-info-value {
    color: var(--color-main); /* Màu đậm chính xác theo yêu cầu */
    font-size: 12px;
    font-weight: 500; /* Font đậm cho dữ liệu */
    line-height: 1.4;
}
/* payment */
/* Container bọc danh sách phương thức thanh toán */
.woocommerce-checkout-payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Từng dòng phương thức thanh toán */
.wc_payment_method {
    background-color: var(--color12);
    /* border: 1px solid #EAEAEA; */
    border-radius: 8px;
    /* padding: 20px; */
    margin-bottom: 10px;
}
.stripe-card-element-wrapper {
  padding-left: 33px;
}
.stripe-payment-container {
  padding: 16px;
}

/* Header chứa Radio và Title */
.stripe-method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Style cho Radio Button chuẩn Woo */
.wc_payment_method input[type="radio"].input-radio {
    display: inline-block !important;
    opacity: 1 !important;
    position: relative !important;
    width: 18px !important;
    height: 18px !important;
    /* margin: 0 0px 0 0 !important; */
    accent-color: var(--color-accent) !important; /* Giữ màu hồng thương hiệu */
    cursor: pointer;
    vertical-align: middle;
}

/* .wc_payment_method label { */
    /* font-weight: 700; */
    /* color: #3D4853; */
    /* font-size: 16px; */
    /* cursor: pointer; */
    /* vertical-align: middle; */
/* } */

/* Vùng nhập thẻ (Payment Box) */
/* .wc_payment_method .payment_box {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #EEE;
} */

/* Reuse lại CSS cho các ô nhập liệu Stripe */
.stripe-input {
    background: #FFFFFF;
    border: 1px solid var(--color7);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 4px;
    transition: border-color 0.2s;
}

.stripe-input.StripeElement--focus {
    border-color: #ED5A7E;
}

.checkout-input-label {
    /* font-size: 12px; */
    /* color: #707A83; */
    display: block;
    /* margin-bottom: 4px; */
}

/* Layout hàng ngang cho Expiry & CVC */
.stripe-row {
    display: flex;
    gap: 12px;
}
.half-width { flex: 1; }
/* 1. Xóa dấu chấm tròn của thẻ ul và li */
ul.wc_payment_methods, 
ul.wc_payment_methods li {
    list-style: none !important; /* Bỏ dấu chấm tròn */
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* 2. Đảm bảo khu vực nhập thẻ luôn hiển thị */
.payment_box.payment_method_stripe {
    display: block !important; /* WooCommerce đôi khi ẩn box này nếu chưa chọn radio */
}

/* 3. Hiển thị lại Radio Button (khắc phục lỗi hiện ra rồi mất) */
input[type="radio"]#payment_method_stripe {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    accent-color: #ED5A7E; /* Màu hồng chủ đạo */
    cursor: pointer;
}

/* 4. Cố định chiều cao cho card-icons để không bị nhảy layout */
.card-icons img {
    height: 24px;
    width: auto;
    display: block;
}
.complete-btn {
    width: 100%;
    background: var(--color-accent);
    color: #FFF;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}
.stripe-radio-wrapper {
  display: flex;
  align-items: center;
}
/* Tùy chỉnh radio cho phần Terms & Conditions */
.terms-label {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
}

.checkout-radio {
    accent-color: var(--color-accent); /* Màu hồng chủ đạo */
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Hiệu ứng khi chưa chọn mà bấm nút (nếu trình duyệt hỗ trợ :invalid) */
.checkout-radio:invalid {
    outline: 1px solid transparent;
}

.form-row.place-order {
    display: none !important;
}
.btn-back-home {
  text-transform: uppercase;
  background-color: var(--color-accent);
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
}
/* CHECKOUT */
/*CUSTOM TRIPE PAYMENT*/
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
  background: transparent !important;
}
.remove:hover {
  background: transparent;
}
.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}
.wc-upe-form, .wc-payment-form {
  padding: 0;
  border: none;
}
.Input, .p-FauxInput {
  background-color: #fff !important;
} 
.wc-stripe-payment-method-instruction { display: none !important;}
.payment_method_stripe {margin: 0 !important;}
/* wc_payment_methods payment_methods methods */
ul .payment_methods {
  border: none !important;
}
/* .payment_method_stripe {display: none !important;} */
/* .StripeElement {
  border: none;
} */
/* .p-GridCell--md6 {
  width: 100% !important;
}
.p-GridCell--md3 {
  width: 40% !important;
} */

/*CUSTOM TRIPE PAYMENT*/
/* CART TOTAL */
.cart_totals {
  width: 25% !important;
}
.wc-proceed-to-checkout {
  padding-top: 0 !important;
}
.book-tour-now-btn {
  color: white !important;
  background-color: var(--color-accent) !important;
  border-radius: 8px !important;
  text-transform: uppercase;
  font-size: 18px;
}
.shop_table_responsive tr, .shop_table_responsive th, .shop_table_responsive td {
  /* border: none !important; */
  background-color: white !important;
}
.shop_table_responsive th {
  font-size: 12px;
  font-weight: 500;
}
.shop_table_responsive td {
  font-size: 14px;
  font-weight: 700 !important;
  text-align: right;
}
.cart-subtotal th, .cart-subtotal td {
  border: none !important;
}
.tax-rate th, .tax-rate td {
  border: none !important;
}
.order-total th {
  border-bottom: none !important;
  font-size: 14px;
}
.order-total td {
  border-bottom: none !important;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent);
}
/* CART TOTAL */
/* TOUR REVIEW */
.tour-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tour-review-header > div {
  flex: 0 0 50%;          /* Cố định mỗi bên chiếm đúng 50% */
  max-width: 50%;
}
.tour-review-header-right {
  text-align: right;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  cursor: pointer;
}
#first-comment {
    /* Điều chỉnh con số 100px này tùy theo độ cao Menu của bạn */
    scroll-margin-top: 100px; 
}
.c-pagination {
  align-items: baseline;
}
.c-pagination > a,
.page-numbers.prev,
.page-numbers.next {
  border-radius: 8px;
  background-color: white;
  color: var(--color-main);
  border: 1px solid var(--color7);
  font-size: 18px;
  font-weight: 500;
}
.page-numbers.current {
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
}

/* TOUR REVIEW */
.hidden {
  display: none;
}
.legal-notation-tbl table td, .tour-table td {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* Khung bao ngoài của ảnh */
.img-thumb_search {
    overflow: hidden; /* Cực kỳ quan trọng: Để ảnh không bị tràn ra ngoài khi phóng to */
    border-radius: 8px; /* Nếu bạn muốn bo tròn góc khung ảnh */
}

/* Trạng thái mặc định của ảnh */
.img-thumb_search img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease; /* Tạo chuyển động mượt mà trong 0.5 giây */
}

/* Hiệu ứng khi rê chuột vào khung bao ngoài */
.img-thumb_search:hover img {
    transform: scale(1.1); /* Phóng to ảnh lên 10% (1.1 lần) */
}
.span-border {
  border: 1px solid #DFDFDF; /* Độ dày, kiểu và màu sắc */
  display: inline-block;
  border-left: none;
  border-bottom: none;
  /* margin-left: -1px !important;
  margin-top: -1px !important; */
  position: relative;
  vertical-align: top !important;
}
.span-border:hover {
  border-color: #DFDFDF;
  z-index: 1; /* Đưa ô đang hover lên trên các ô khác */
}
/* .span-border:first-child {
  margin-top: -1px !important;
} */
select {
    appearance: none; /* Disable the default arrow */
    -webkit-appearance: none; /* For WebKit-based browsers */
    -moz-appearance: none; /* For Firefox */
}
select {
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='10' viewBox='0 0 15 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.3' d='M1.5 1.5L7.5 7.5L13.5 1.5' stroke='%233D4853' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
}
@supports selector(select:open) {
  select:open {
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='10' viewBox='0 0 15 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 8.12109L7.5 2.12109L1.5 8.12109' stroke='%23E84E74' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E%0A");
  }
}
.booked-tour-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 16px;
  text-align: start;
}
.cart-tour-date-time {
  display: flex;
}
.wwu-heading1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 38px;
}
.wwu-heading2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--color-accent);
}
.nowrap {
  white-space: nowrap;
}
.course-review {
  text-decoration: underline;
}
.sp-btn-custom {
  margin-left: auto;
  align-items: center;
}
.sp-btn-custom2 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-slider {
  padding: 10px !important;
}
.booking-code-label {
  font-size: 18px;
  font-weight: 500;
}
.booking-code-value {
  margin-left: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
}
.cancellation-policy {
  font-size: 14px;
  font-weight: 500;
  padding: 14px 0 0 0;
  color: var(--color8);
}
.cancellation-policy-list > li {
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0%;
}
.border-bottom {
  border-bottom: 1px solid #EAE0E3; /* Độ dày - Kiểu - Màu sắc */
  padding-bottom: 16px;            /* Khoảng cách từ nội dung đến đường kẻ */
  margin-bottom: 16px;
}
.border-bottom2 {
  border-bottom: 1px solid #EAE0E3; /* Độ dày - Kiểu - Màu sắc */
  padding-bottom: 8px;            /* Khoảng cách từ nội dung đến đường kẻ */
  margin-bottom: 8px;
}
.border-top {
  border-bottom: 3px solid #EAE0E3 !important; /* Độ dày - Kiểu - Màu sắc */
  padding-bottom: 6px;            /* Khoảng cách từ nội dung đến đường kẻ */
  margin-bottom: 6px;
}
.text-underline {
  text-decoration: underline;
}
.text-capitalize {
  text-transform: capitalize;
}
.text-blue {
  color: blue;
}
.text-red {
  color: red;
}
.cidy-detail-body {
  background: var(--color-white);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 20px 0 40px 0;
}

.guide-header {
	padding: 14px 0;
}
.flex-left {
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.flex-baseline {
    display: flex !important;
    align-items: baseline;
    gap: 8px;
}
.flex-space-between {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}
.pg-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}
.pg-stars img {
    width: 14px;
}

.pg-price {
    color: #D83535;
    font-weight: 700;
}
.pg-top-comment {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 12px;
  margin-top: auto;
  min-height: 80px;
}
/* Badge rows */
.pg-badge {
    font-size: 14px;
    display: flex;
    align-items: start;
    flex-grow: 1;
    margin-bottom: 12px;
}

.pg-distance {
    /* margin: 4px 16px; */
    display: flex;
    /* gap: 6px; */
    font-size: 12px;
}

/* BOOK NOW button */
.pg-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    /* margin: 16px auto 0; */
    width: 100%;
    background: #B22222;
    color: #fff;
    padding: 10px 32px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pg-book-btn:hover {
    background: #b92d2d;
}

/* Mũi tên */
.pg-arrow-left {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 50;
    width: 48px;
    height: 48px;
    background: #00000080;   /* xám đen mờ giống thiết kế */
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    opacity: 0.5;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;                /* mũi tên nhỏ lại */
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(2px);     /* giống style mờ trong suốt */
}

.pg-arrow-right {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 50;

    width: 48px;
    height: 48px;

    background: #00000080;   /* xám đen mờ giống thiết kế */
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    /* opacity: 0.5; */

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;                /* mũi tên nhỏ lại */
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(2px);     /* giống style mờ trong suốt */
}
.our-manifest-btn-wrap a svg {
    transform: rotate(0deg);
    transition: transform 0.3s ease; /* tạo hiệu ứng mượt khi hover */
    pointer-events: none;
}
.our-manifest-btn-wrap a:hover svg {
    transform: translateX(6px);
}
/* Ẩn hoàn toàn icon dấu X trong các thông báo lỗi của WooCommerce */
.woocommerce-error::before, 
.woocommerce-message::before, 
.woocommerce-info::before {
    display: none !important;
    content: none !important;
}

/* Điều chỉnh lại padding để chữ không bị lệch sang phải quá nhiều sau khi ẩn icon */
.woocommerce-error, 
.woocommerce-message, 
.woocommerce-info {
    padding: 15px 20px !important; /* Căn đều 4 phía */
    margin-left: 0 !important;
}

/* Xóa bỏ chữ "Error:" in đậm để câu thông báo liền mạch hơn (tùy chọn) */
.woocommerce-error li strong {
    display: none !important;
}
/* MENU MY ACCOUNT */
/* Tổng thể container My Account */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Sidebar Menu */
.woocommerce-MyAccount-navigation {
    flex: 0 0 250px; /* Độ rộng cố định cho menu */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
    height: fit-content;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Các item trong menu */
.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 25px;
    color: var(--color-main);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Hiệu ứng Hover & Active */
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #f8f9fa;
    color: #007bff;
    padding-left: 30px; /* Đẩy nhẹ sang phải khi hover */
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #e7f1ff;
    color: var(--color-main);
    font-weight: 700;
}

/* Vạch kẻ xanh bên cạnh mục đang chọn */
.woocommerce-MyAccount-navigation ul li.is-active a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-main);
}

/* Nội dung bên phải */
.woocommerce-MyAccount-content {
    flex: 1; /* Tự động giãn rộng phần còn lại */
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* MENU MY ACCOUNT */
.city-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.city-info-left {
  flex: 1;
  min-width: 0;
}
.city-info-right {
    background-color: var(--color-main);
    border-radius: 16px;
    flex: 0 0 380px; 
    width: 380px;
    min-width: 0;
}
.reservation-wrapper {
  padding: 21px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* vị trí */
.pg-prev-btn {
    left: 0px;
}

.pg-next-btn {
    right: 0px;
}
.pg-book-now-arrow {
    display: flex;
    align-items: center;
}
.pg-book-now-arrow svg {
    width: 12px;
    height: auto;
    display: block;
}
.comment-metadata {
  display: flex;
  justify-content: space-between;
}
.clamp-2-rows {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  display: box;
  box-orient: vertical;
  line-clamp: 2;

  overflow: hidden;
  text-overflow: ellipsis;
}
.clamp-4-rows {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;

  display: box;
  box-orient: vertical;
  line-clamp: 4;

  overflow: hidden;
  text-overflow: ellipsis;
}
/* POPULAR GUIDES */
.faqs-container {
    display: flex;

    gap: 94px;
}
.faqs-container-left {
    max-width: 306px;
    width: 100%;
    gap: 68px;
}
.faqs-container-left-bottom-wrapper {
    display: flex;
    gap: 24px !important;
}
.faqs-container-left-bottom-wrapper-item {
    display: flex;
    flex-direction: column;
    gap: 16px !important;
}
.faqs-container-left-bottom-wrapper-item p {
    margin-bottom: 0px !important;
}
.faqs-container-right {
    max-width: 780px;
    width: 100%;
    counter-reset: faq-counter;
}
/* 2. Tăng counter và định dạng dạng 01, 02 */
.faqs-container-right .swell-block-accordion__item {
    counter-increment: faq-counter;
}
/* 3. Thêm số trước label */
.faqs-container-right .swell-block-accordion__label::before {
    content: counter(faq-counter, decimal-leading-zero);
    font-weight: 300;
    font-style: italic;
    font-size: 24px;
    color: #C5C8CC;

    display: inline-block;
    width: 38px;
    flex-shrink: 0;
}

/* Accordion item */
.faqs-container-right .swell-block-accordion__item {
    background: #fff !important;
    border-radius: 12px;
    overflow: hidden;
    /* margin-bottom: 12px; */
    border: 1px solid var(--color7);
}
/* Header */
.faqs-container-right .swell-block-accordion__title {
    background: #fff !important;
    padding: 6px 24px 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Body */
.faqs-container-right .swell-block-accordion__body {
    background: #fff;
    padding: 14px 24px;
}
/* border top body when open */
.faqs-container-right .swell-block-accordion__item.is-opened .swell-block-accordion__body {
    border-top: 1px solid var(--color7);
    padding-top: 14px;
}
.faqs-container-right .swell-block-accordion__label {
    font-family: var(--font-serif) !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    color: var(--color-main) !important;

    overflow-wrap: break-word; /* Ngắt từ an toàn */
    word-break: normal;        /* Không ngắt giữa chừng của một từ */
    hyphens: none;             /* Không tự động thêm dấu gạch nối */

    display: flex;
    align-items: center;
    line-height: 1.2;
}
.faqs-container-right .swell-block-accordion__item.is-opened .swell-block-accordion__label {
    font-family: var(--font-serif) !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    color: var(--color-accent) !important;
}
.faqs-container-right .swell-block-accordion__body {
    font-family: var(--font-sans) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: var(--color-main) !important;
    line-height: 1.5 !important;
}
.faqs-container-right .swell-block-accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.faqs-container-right .__icon--closed {
    background: url('/wp-content/themes/swell_child/assets/img/faqs-arrow-down.svg') no-repeat center;
    width: 20px;
    height: 20px;
    display: inline-block;
    color: transparent !important;
}
.faqs-container-right .swell-block-accordion__item.is-opened .__icon--opened {
    background: url('/wp-content/themes/swell_child/assets/img/faqs-arrow-up.svg') no-repeat center;
    width: 20px;
    height: 20px;
    display: inline-block;
    color: transparent !important;
}

/* -----------------------INSTAGRAM FEED-------------------------- */
.ins-loop {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.ins-loop::before,
.ins-loop::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

.ins-loop::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.ins-loop::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}
.ins-loop-child {
    width: 200%;
    display: flex;
    animation: marquee 50s linear infinite;
}
.ins-loop-child > span {
    width: 50%;
    padding-right: 4px;
}
.ins-loop #sbi_images, .ins-loop #sb_instagram {
    padding: 0 !important;
}
@keyframes marquee  {
    from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* smash ballon  */
.sbi_item {
    /* 1. Thiết lập lại position để tạo tỷ lệ */
    position: relative !important;
    padding-bottom: 78% !important; /* Tỷ lệ 5:4 (4 / 5 = 80%) */
    height: 0 !important;
    overflow: hidden !important;
}

.sbi_item .sbi_photo_wrap {
    /* 2. Ép ảnh nằm vừa trong khung chữ nhật */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Đảm bảo ảnh che phủ hết khung mà không bị méo */
}
.sbi_item .sbi_photo_wrap a {
    height: 100% !important;
}
.slider-top-slogan {
    position: absolute;
    top: 28%;
    left: 19.3%;
    z-index: 10;
    color: #FFFFFF;
}
.slider-top-run-local {
    font-family: var(--font-serif) !important;
}
/* smash ballon  */
/* -----------------------INSTAGRAM FEED-------------------------- */
.why-running-container > .swell-block-fullWide__inner {
  display: flex !important;
  flex-direction: column;
  gap: 48px;
}
.why-running-container > .swell-block-fullWide__inner .wp-block-group {
  margin-bottom: 0;
}
.why-running-txt-large > span {
  font-weight: 500;
}
.why-running-txt-small > span {
  font-weight: 400;
}
.guide-header,
.post_content h1 .swl-inline-color {
  font-size: 28px !important;
}
.post_content .wp-block-heading,
.post_content p {
  line-height: 1.425;
}
.archive-custom-col .p-postList__item .c-postThumb__figure {
  height: 335px;
}
.p-postList .p-postList__title.guide-ttl {
  font-weight: 500;
}
.p-postList .guide-meta {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
}
.p-postList .guide-meta .big-score {
  display: flex;
  gap: 2px;
  font-size: unset;
}
.p-postList .guide-meta .big-score .star-unit {
  display: block;
  margin: 0;
}
.p-postList .guide-meta .total-rating {
  color: #B22222;
  text-decoration: underline;
}
/* .post_content {
  padding-bottom: 80px !important;
} */

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
}
.modal-overlay.hidden { display: none; }

.modal-content {
    background: #fff;
    /* width: 90%;  */
    max-width: 450px;
    padding: 60px 25px 25px 25px;
     border-radius: 12px;
    position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.modal-close {
    position: absolute; top: 10px; right: 15px;
    font-size: 28px; cursor: pointer; color: #999;
}
.modal-close:hover { color: #333; }
.btn-update-full {
    width: 100%; background: #853a3a; color: #fff;
    border: none; padding: 12px; margin-top: 20px;
    border-radius: 6px; font-weight: bold; cursor: pointer;
}
.modal-date-inputs {
    display: flex;
    gap: 5px;
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}
.modal-date-inputs input {
    width: 33%;
    text-align: center;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
}
#modal-dp-wrapper {
    position: absolute;
    z-index: 1000;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 5px;
}

.guide-avatar-upload-container {
    display: flex;
    flex-wrap: wrap; /* Cho phép rớt dòng trên màn hình nhỏ */
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

/* Các khối con */
.guide-avatar-upload-container > div {
    flex: 0 0 auto;
}

.guide-avatar-upload-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Ảnh preview */
.guide-img-preview {
    width: 150px; /* Chỉnh lại kích thước hiển thị cho vừa mắt */
    height: auto;
    aspect-ratio: 280 / 345;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* -----------------------------------
   PC (Desktop) - >= 960px
----------------------------------- */
@media screen and (min-width: 960px) {
  /* CSS for PC */
  /* disable scroll bar */
  /* Chrome / Safari / Edge */
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
      display: none;
  }

  /* Firefox */
  html, body {
      scrollbar-width: none;
  }

  .no-border-top {
      border-top: none;
  }

  .slider-style {
      padding-top: 90px;
      padding-bottom: 36px;
  }
  .slider-flower1 {
      position: absolute;
      bottom: -12%;
      left: 1.12%;
      z-index: 10;
  }
  .slider-flower2 {
      position: absolute;
      bottom: -9.4%;
      left: 8.5%;
      z-index: 10;
  }
  .slider-flower3 {
      position: absolute;
      bottom: -8.9%;
      left: 13.2%;
      z-index: 10;
  }
  .slider-flower4 {
      position: absolute;
      top: -7%;
      right: -0.05%;
      z-index: 10;
  }
  .content-wide {
      max-width: 1175px;
      margin: 0 auto;
      width: 100%;
  }
  .header-inner {
      height: 83px;
      display: flex;
      justify-content: center;
  }
  .l-header__gnav .c-gnav {
      gap: 10px !important;
  }
  .l-header__gnav .c-gnav > li > a {
      padding-left: 16px;
      padding-right: 16px;
  }
  .l-header__gnav .c-gnav > li > a .ttl, .l-header__gnav .sub-menu a .ttl {
      font-size: 16px !important;
      font-weight: 500;
      color: var(--color-main);
  }
  
  .top-running-bg-bottom-left {
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 1;
  }
  .top-running-bg-bottom-right {
      position: absolute;
      bottom: 2%;
      right: 0;
      z-index: 1;
  }
  .top-running-bg-top-left {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
  }
  .top-running-bg-top-right {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 1;
  }
  .swell-block-fullWide__inner {
      padding: 0;
  }
  .running-destination-bg {
      background-image: url("/wp-content/themes/swell_child/assets/img/running-destination-bg.svg");
      background-repeat: no-repeat;
      background-position: left center;
      background-size: auto 100%;
      height: 100% !important;
  }
  .running-destination-card {
      max-width: 336px;
      border-radius: 16px !important;
      padding: 16px !important;
      margin-top: 32px !important;
      gap: 29px !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  }
  .running-destination-card-text {
      gap: 10px !important;
      color: var(--color-main) !important;
  }
  .running-destination-card-zone-name {
      font-family: Literata, serif !important;
      color: var(--color-accent) !important;
      font-weight: 500 !important;
      font-size: 18px !important;
      text-transform: uppercase !important;
  }
  .running-destination-card .row-fix {
      display: flex !important;
      flex-direction: row !important;
      gap: 8px;
  }
  .page-template .vignette-jp-flower1 {
      background-image: url("/wp-content/themes/swell_child/assets/img/slider-flower1.svg");
      background-repeat: no-repeat;
      z-index: -1;
      position: absolute;
      top: 16vh;
      left: 1.12%;
  }
  .page-template .vignette-jp-flower2 {
      background-image: url("/wp-content/themes/swell_child/assets/img/slider-flower2.svg");
      background-repeat: no-repeat;
      z-index: -1;
      position: absolute;
      top: 21.8vh;
      left: 8.5%;
  }
  .page-template .vignette-jp-flower3 {
      background-image: url("/wp-content/themes/swell_child/assets/img/slider-flower3.svg");
      background-repeat: no-repeat;
      z-index: -1;
      position: absolute;
      top: 23vh;
      left: 13.2%;
  }
  .page-template .vignette-jp-flower4 {
      background-image: url("/wp-content/themes/swell_child/assets/img/slider-flower4.svg");
      background-repeat: no-repeat;
      z-index: -1;
      position: absolute;
      top: 7.5vh;
      right: 0;
  }
  .guide-header,
  .post_content h1 .swl-inline-color {
    font-size: 38px;
  }
  .post_content {
    padding-bottom: 140px;
  }
  .home .post_content {
    padding-bottom: 0 !important;
  }
  .post_content .wp-block-heading,
  .post_content p {
    line-height: 1.625;
  }
  .legal-notation-tbl table td:first-child {
    width: 270px !important;
  }
}

/* -----------------------------------
   Mobile (Smartphone) - <= 959px
----------------------------------- */
@media screen and (max-width: 959px) {
  /* CSS for Mobile */
  .l-mainContent__inner {
    padding-top: 15px;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  /* .l-content {
    padding: 8px !important;
  } */

  .heading-title {
    line-height: 1;
  }
  .slider-top-slogan {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    color: #FFFFFF;
  }
  .slider-top-slogan .slider-top-run-local span {
    font-size: 32px !important;
    white-space: nowrap;
  }
  .slider-top-slogan .slider-top-find-a-running span {
    font-size: 16px !important;
    white-space: nowrap;
  }

  .l-header__customBtn {
    display: none;
  }
  .l-header__logo a img {
    padding-top: 8px;
  }
  /* .l-header__inner {
    padding: 8px 0 0px 8px !important;
  } */
  .header-top-group {
    width: 100%;
    justify-content: space-between;
    padding: 4px 8px;
    /* display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0; */
  }

  .slider-style {
      padding-top: 0;
      padding-bottom: 0;
  }
  .slider-flower1, .slider-flower2, .slider-flower3, .slider-flower4,
  .page-template .vignette-jp-flower1, .page-template .vignette-jp-flower2, .page-template .vignette-jp-flower3, .page-template .vignette-jp-flower4 {
      display: none;
  }
  /* .sns-instagram.sp_ {
    margin-top: 10px;
    justify-content: center;
  } */

  .ins-section {
    margin-top: 20px !important;
  }
  .ins-loop::before,
  .ins-loop::after {
      display: none !important; /* Cách triệt để nhất để xóa bỏ phần tử giả */
      content: none !important;  /* Đảm bảo trình duyệt không render nội dung */
  }
  /* 1. Biến container chính của Section thành Grid */
  .ins-section > .swell-block-fullWide__inner {
      display: grid !important;
      grid-template-columns: 1fr !important;
      padding-left: 15px !important;  /* Khôi phục padding bị mất */
      padding-right: 15px !important;
      box-sizing: border-box !important;
  }

  /* 2. Phá bỏ các lớp bọc trung gian để các thành phần con "thấy" nhau */
  .ins-header, 
  .ins-header > .swell-block-fullWide__inner,
  .ins-header .wp-block-group.is-layout-flex,
  .ins-feed-wrapper {
      display: contents !important;
  }

  /* 3. Sắp xếp thứ tự hiển thị trên Mobile */
  
  /* Vị trí 1: Cụm chữ Instagram (Tiêu đề bên trái) */
  .ins-left {
      grid-row: 1 !important;
      order: 1 !important;
      margin-bottom: 15px !important;
  }

  /* Vị trí 2: Instagram Feed (Nhảy vào giữa) */
  .ins-loop {
      grid-row: 2 !important;
      order: 2 !important;
      margin-bottom: 25px !important;

      width: 100vw !important; 
      position: relative !important;
      left: 50% !important;
      /* right: 50% !important; */
      margin-left: -50vw !important;
      /* margin-right: -50vw !important; */
      
      overflow: hidden;
      white-space: nowrap;
      padding: 0 !important;
  }

  /* Vị trí 3: Cụm nút SNS (Instagram, TikTok, Youtube) */
  .sns-instagram {
    margin-top: 10px !important;
      grid-row: 3 !important;
      order: 3 !important;
      display: flex !important;
      /* flex-direction: column !important; */
      align-items: center !important; /* Căn giữa SNS trên mobile cho đẹp */
      justify-content: center;
  }

  /* Tinh chỉnh Instagram Feed tràn viền hoặc có lề */
  .ins-feed-wrapper .sbi {
      width: 100% !important;
      margin: 0 auto !important;
  }

  .ins-feed-wrapper {
      padding-bottom: 0;
      margin-bottom: 0;
  }
  .detail-title span{
    font-size: 12px !important;
  }
  .running-destination-card {
    background-color: transparent !important;
    padding: 0 !important;
    margin-top: 16px;
  }
  .running-destination-heading .wp-block-heading span {
    font-size: 24px !important;
  }
  /* 1. Thiết lập khung cha thành Grid */
  .running-destination-container {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    row-gap: 16px;
  }
  .running-destination-bg {
    background-image: url("/wp-content/themes/swell_child/assets/img/running-destination-bg.svg");
    background-size: 145% auto !important;
    background-repeat: no-repeat !important;
    background-position: 218% 14% !important;
    height: 100% !important;
  }
  /* 2. Đảo thứ tự hàng */

  /* Hàng 1: Phần thông tin (Region Info) */
  /* .region-info-container {
      grid-row: 1 !important;
      margin-top: 0 !important;
      margin-bottom: 20px !important;
  } */

  /* Hàng 2: Phần hình ảnh bản đồ (Map Image) */
  .map-image-wrapper, 
  .region-info-container {
    display: contents !important;
  }
  /* Nút trái - Hàng 1, Cột 1 */
  .map-nav-btn-left {
    grid-row: 1 !important;
    grid-column: 1 !important;
    z-index: 10;
    width: 28px;
    height: 28px;
    top: 9px;
    display: flex !important;
    align-items: center;
  }
  /* Tiêu đề - Hàng 1, Cột 2 (Nằm giữa) */
  .region-name {
    grid-row: 1 !important;
    grid-column: 2 !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Nút phải - Hàng 1, Cột 3 */
  .map-nav-btn-right {
    grid-row: 1 !important;
    grid-column: 3 !important;
    z-index: 10;
    width: 28px;
    height: 28px;
    top: 9px;
    display: flex !important;
    align-items: center;
  }

    /* Mô tả và các phần còn lại - Hàng 3 & 4 */
  .region-description {
    grid-row: 2 !important;
    grid-column: 1 / span 3 !important;
    line-height: 1.5 !important;
  }
  .region-info-bottom {
    grid-row: 3 !important;
    grid-column: 1 / span 3 !important;
  }

  /* Ảnh bản đồ - Hàng 2, Tràn hết 3 cột */
  .map-image {
    grid-row: 4 !important;
    grid-column: 1 / span 3 !important;
    width: 100% !important;
    display: flex !important;      /* Biến thành flex để căn giữa con */
    justify-content: center !important; 
    /* margin: 20px 0 !important; */
    overflow: hidden !important;
  }

  .map-card-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 359 / 200 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .map-card-image {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(2, 1fr);
    width: 100% !important;
    height: 100% !important;
    gap: 0 !important;
    transition: transform 0.3s ease;
  }

  .map-image-item {
    /* 1. Vô hiệu hóa chiều rộng/cao pixel từ WordPress */
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    /* 2. Cắt ảnh theo khung Grid 50% */
    object-fit: cover !important; 
    
    /* 3. Phá vỡ kích thước nội tại của ảnh gốc */
    display: block !important;
    min-height: 0 !important; 
    min-width: 0 !important;
  }
  .map-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
/* ------------------------------------------------------------- */
/* 1. Xóa bỏ mọi rào cản từ các thẻ Group con */
  /* Ép tất cả các div trung gian không được tạo khung riêng */
  .top-running-grid, 
  .top-running-grid .wp-block-group {
      display: contents !important;
  }

  /* 2. Thiết lập Grid trên thẻ cha lớn nhất */
  /* Phải đảm bảo .top-running-grid là class của Group bao ngoài cùng */
  .wp-block-group.top-running-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important; /* 2 cột */
      gap: 12px !important;
  }

  /* 3. SẮP XẾP THỨ TỰ TUYỆT ĐỐI */

  /* Ảnh Tokyo - Vị trí 1 */
  #top-city-large-image {
      font-size: 20px !important;
      order: 1 !important;
      grid-column: 1 / span 2 !important; /* Tràn 2 cột */
  }

  /* Cụm 4 ảnh nhỏ đầu tiên */
  /* Nhắm vào các ảnh nhỏ nằm trước ảnh large 2 trong HTML */
  .top-running-grid > .wp-block-group:nth-of-type(2) .top-city-main-image {
      order: 2 !important;
      font-size: 16px !important;
  }

  /* Ảnh YOKOHAMA LARGE - Vị trí 3 (Ở giữa) */
  #top-city-large-image2 {
      font-size: 20px !important;
      order: 3 !important;
      grid-column: 1 / span 2 !important; /* Tràn 2 cột */
      display: block !important;
  }

  /* Cụm 4 ảnh nhỏ còn lại */
  .top-running-grid > .wp-block-group:nth-of-type(3) .top-city-main-image {
      order: 4 !important;
      font-size: 16px !important;
  }

  /* 4. ĐỊNH DẠNG HÌNH ẢNH */
  .top-city-main-image img {
      width: 100% !important;
      aspect-ratio: 1 / 1 !important;
      object-fit: cover !important;
      border-radius: 8px;
  }

  /* Ép lại tỷ lệ cho 2 ảnh lớn */
  #top-city-large-image img, 
  #top-city-large-image2 img {
      aspect-ratio: 1 / 1 !important;
      width: 100% !important;
  }
  .top-city-main-image .top-city-arrow-icon svg {
    width: 10px;
    height: 10px;
  }
/* ------------------------------------------------------------- */
  .pre-tour-slider {
    padding-top: 12px;
  }
  .pre-tour-track-wrapper::-webkit-scrollbar {
      display: none !important;
      width: 0 !important;
      height: 0 !important;
  }

  /* Ẩn thanh cuộn cho Firefox */
  .pre-tour-track-wrapper {
      scrollbar-width: none !important;
      /* Ẩn cho IE và Edge cũ */
      -ms-overflow-style: none !important; 
  }

  /* 1. Track: Chỉ giữ lại những thuộc tính mới/thay đổi */
  .pre-tour-track {
      flex-wrap: nowrap !important;
      width: auto !important;
      padding-left: 15px;
      padding-right: 15px;
  }
  .pre-tour-track-one {
      justify-content: center;
      padding-left: 0 !important;
      padding-right: 0 !important;
  }

  /* 2. Wrapper: Cho phép vuốt */
  .pre-tour-track-wrapper {
      overflow-x: auto !important;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
  }

  .pre-tour-wrap-content {
      background-color: #FFFFFF;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: box-shadow 0.2s ease;
  }

  /* 3. Card: Thay đổi từ 25% (PC) sang 80% (Mobile) */
  .pre-tour-card {
      flex: 0 0 90% !important;      /* KHÔNG ĐỔI: Đây là dòng quan trọng nhất */
      width: 90% !important;
      max-width: 90% !important;
      /* scroll-snap-align: start; */
  }

  .pre-tour-card-one {
    margin-right: 0px !important;
  }

  .pre-tour-card-more {
    margin-right: 15px !important;
  }
  /* Khử các thuộc tính PC không phù hợp */
  .pre-tour-card:nth-child(4n) {
      margin-right: 15px !important;
  }

  /* 4. Ẩn nút bấm điều hướng */
  .pre-tour-arrow-left, 
  .pre-tour-arrow-right {
      display: none !important;
  }
/* ------------------------------------------------------------- */
  .pg-section {
    padding: 0 !important;
  }

/* ------------------------------------------------------------- */
  .faqs-container-right .swell-block-accordion__item {
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .rd-main-row {
    display: grid !important;
    grid-template-columns: 100% !important;
  }
  .rd-left {
    display: contents !important; /* Mẹo: Phá bỏ bao bọc của Group cha để các con bên trong (Title, Stack) nhảy ra ngoài cùng cấp với Shortcode */
  }
  .rd-left > .wp-block-group-is-layout-constrained,
  .rd-left > .is-row__inner-container {
    display: contents !important;
  }
  .rd-left-title {
    grid-row: 1 !important; /* Dòng 1 */
  }
  /* 2. Ép Group chứa Shortcode (.rd-right) */
  .rd-right {
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important; /* Cho phép Group co lại nhỏ hơn SVG bên trong */
    max-width: 100% !important;
    margin: 20px 0 !important;
    overflow: hidden !important;
    display: block !important; /* Đảm bảo nó hoạt động như một khối chứa */
  }

  /* 3. ĐẶC TRỊ SVG BÊN TRONG SHORTCODE */
  /* Chúng ta nhắm thẳng vào thẻ SVG và các thẻ div trung gian do Shortcode tạo ra */
  .rd-right svg {
    width: 100% !important;       /* Ép SVG lấy chiều rộng của .rd-right */
    max-width: 100% !important;
    height: auto !important;      /* Giữ đúng tỷ lệ bản đồ */
    display: block !important;
  }

  /* Nếu Shortcode bọc SVG trong các thẻ div khác, ép chúng luôn */
  .rd-right div, 
  .rd-right figure {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Khử trường hợp SVG có width/height set bằng thuộc tính HTML (ví dụ <svg width="1200">) */
  .rd-right svg[width], 
  .rd-right svg[height] {
    width: 100% !important;
    height: auto !important;
  }
  .rd-left-detail {
    grid-row: 3 !important; /* Dòng 3 */
  }
/* ------------------------------------------------------------- */
/* 1. Giải phóng Track để Card không bị kéo giãn */
  .pg-track-wrapper {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
  }

  .pg-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important; /* Buộc hàng ngang dài ra */
    padding: 0 15px !important;
    gap: 0 !important;
  }

  /* 2. Khóa cứng Card ở 80% chiều rộng màn hình */
  .pg-card {
    flex: 0 0 80vw !important; /* Ép theo 80% chiều rộng thiết bị */
    width: 80vw !important;
    max-width: 80vw !important;
    min-width: 80vw !important;
    margin-right: 15px !important;
    scroll-snap-align: start;
    box-sizing: border-box !important;
    overflow: hidden !important; 
  }

  /* 3. Ép tỷ lệ ảnh chính 281x345 */
  .pg-card-image {
    width: 100% !important;
    /* Công thức tính tỷ lệ: height = (345 / 281) * 100% */
    aspect-ratio: 281 / 345 !important; 
    height: auto !important; /* Để aspect-ratio tự tính toán chiều cao */
    background: #f5f5f5;
    border-radius: 8px;
    position: relative !important;
    overflow: hidden !important;
  }

  .pg-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Lấp đầy khung hình theo tỷ lệ mới */
  }

  /* 4. Xử lý Logo Watermask để không phá vỡ khung */
  .pg-logo-watermask {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 50px !important; /* Điều chỉnh kích thước logo phù hợp mobile */
    z-index: 10;
  }

  .pg-logo-watermask svg {
    width: 100% !important;
    height: auto !important;
  }

  /* 5. Đảm bảo text không kéo giãn card */
  .pg-text-content {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .pg-view-all {
    padding-bottom: 30px;
  }
/* ------------------------------------------------------------- */
  .faqs-container {
    gap: 16px !important;
  }
/* 1. Ép container cha chuyển từ Row sang Column */
  .wp-block-group.faqs-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important; /* Khoảng cách giữa tiêu đề và các câu hỏi */
  }

  /* 2. Đảm bảo phần bên trái (Tiêu đề) chiếm hết chiều ngang */
  .faqs-container-left {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    gap: 16px;
  }

  /* 3. Đảm bảo phần bên phải (Accordion) chiếm hết chiều ngang */
  .faqs-container-right {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
  .faqs-container-left-bottom-wrapper {
    gap: 8px !important;
  }
  /* 4. Tinh chỉnh căn lề cho thông tin liên hệ trên mobile */
  .faqs-container-left-bottom-wrapper-item {
    display: flex !important;
    flex-direction: column !important; /* Xếp dọc Phone và Email */
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .faqs-container-right .swell-block-accordion__title {
    padding: 6px 16px 10px;
  }

  .faqs-container-right .swell-block-accordion__body {
    padding: 6px 16px 10px;
  }
/* ------------------------------------------------------------- */
  .ga-wrap-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 8px;  
    position: relative;
    overflow: hidden;
  }
  .ga-card-image {
    width: 100%;
    aspect-ratio: 180 / 125;                  /* khung cố định theo design */
    background: #f5f5f5;            /* nền xám nhạt giống khách */
    border-radius: 8px;
    /* margin-top: 10px !important; */
    display: flex;
    align-items: center;            /* canh giữa ảnh theo chiều dọc */
    justify-content: center;        /* canh giữa ảnh theo chiều ngang */
    overflow: hidden;
    position: relative;
  }
/* ------------------------------------------------------------- */
  .l-footer__widgetArea {
    padding: 0;
  }
  .w-footer__box {
    padding: 8px 0;
  }

  .footer-container .swell-block-fullWide__inner > .wp-block-columns,
  .footer-container .swell-block-fullWide__inner > .wp-block-column {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    flex-basis: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 20px !important;
  }
  .footer-payments {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .footer-logo-run-local {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0;
    text-align: center;
  }
  .footer-logo-run-local .wp-block-column.is-vertically-aligned-top {
    line-height: 1.5 !important;
  }

  .footer-run-local-text > span {
    font-size: 16px !important;
  }
  .footer-run-local-text a, 
  .footer-run-local-text {
    white-space: nowrap !important; /* Buộc chữ nằm trên 1 hàng duy nhất */
    display: inline-block !important;
    margin-bottom: 0;
  }

  /* 3. ẨN THẺ BR (Nếu có trong HTML) */
  .footer-run-local-text br {
    display: none !important;
  }

  .footer-right-text {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Ngăn xuống dòng trên PC */
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
  }

  /* 2. Đảm bảo mỗi cột chiếm đúng tỷ lệ hoặc tự động chia đều */
  .footer-right-text > .wp-block-column {
    flex: 0 1 auto !important; 
    width: auto !important;
    margin: 0 !important;
    /* Đảm bảo nội dung bên trong cột Social cũng sát lề phải */
  }
  /* Riêng cột thứ 3 (Social), ép nội dung căn lề phải để đụng biên */
  .footer-right-text > .wp-block-column:last-child {
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    /* align-items: flex-end !important; */
  }

  /* Đảm bảo khung Social Icons cũng rộng 100% của cột đó để giãn đều */
  .footer-social-icon {
    width: 100% !important;
    /* max-width: 120px !important; */
    justify-content: space-between !important;
    display: flex !important;
    /* justify-content: flex-start; */
    gap: 8px;
  }

  .footer-social-icon ul {
    margin: 0 !important;
    padding: 0 !important;
  }
  /* 1. Giải phóng chiều cao và thiết lập Grid */
  .footer-text-style {
    display: grid !important;
    /* Ép Grid tính toán chiều cao dựa trên nội dung thực tế */
    grid-template-columns: 100% !important; 
    height: auto !important;         /* QUAN TRỌNG: Khử h-30 */
    min-height: min-content !important; 
    
    row-gap: 20px !important;       /* Tạo khoảng cách thực giữa 2 dòng */
    padding: 8px 0 !important;      /* Tạo khoảng thoáng trên dưới */
    
    /* Khử định vị relative/absolute nếu có */
    position: static !important;     
    justify-items: center !important;
  }

  /* 2. Dòng 1: Policy */
  .footer-policy {
    grid-row: 1 !important; 
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    line-height: 1.5 !important;    /* Đảm bảo khoảng cách dòng nội bộ */
    width: 100% !important;
  }

  /* 3. Dòng 2: Copyright */
  .copy-right {
    grid-row: 2 !important;          /* Ép nằm ở hàng 2 */
    text-align: center !important;
    line-height: 1.5 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Đảm bảo các link trong policy không bị dính */
  .footer-policy span {
    display: inline-block !important;
  }
  .footer-about-title {
    font-size: 16px;
  }
/* ------------------------------------------------------------- */
  .course-detail__image {
    width: 100px;
    height: 70px;
  }

  .tour-tabs__nav {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tour-details-grid {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
	.share-your-thoughts__summary {
    flex-direction: column;
    align-items: stretch;
  }

  .share-your-thoughts__score {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
  }
	.review-item {
    gap: 12px;
  }

  .reviews-title {
    font-size: 22px;
  }
	.city-mega-menu {
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
  }
	.archive-custom-col .p-postList__item{
		width: 100% !important;
	}
  .dp-header img {
    width: 16px;
  }
  .rating-dashboard {
    flex-direction: column;
    gap: 20px;
  }
  .rating-summary {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-right: 0;
    padding-bottom: 20px;
    width: 100%;
  }
  /*GUIDE REVIEWS*/
  .dashboard-title {
    font-size: 20px;
    text-align: center;
  }

  .review-card-body {
    flex-direction: column; /* Xếp chồng nội dung lên trên, nút bấm xuống dưới */
    align-items: flex-start;
  }

  .review-header {
    flex-wrap: wrap; /* Nếu tên quá dài sẽ tự xuống dòng */
    gap: 8px;
  }

  .review-stars {
    width: 100%; /* Đưa sao xuống dòng riêng hoặc đứng sau ngày */
    margin-left: 0;
    margin-top: 5px;
  }

  .review-action-side {
    margin-left: 0;
    margin-top: 20px; /* Tạo khoảng cách với nội dung phía trên */
    width: 100%;
    padding-top: 15px;
    border-top: 1px dashed #E5E7EB; /* Đường kẻ phân cách nhẹ */
  }

  .switch-control {
    flex-direction: row; /* Trên mobile, để nút gạt nằm ngang cho dễ bấm */
    justify-content: space-between;
    width: 100%;
  }

  .review-text-box {
    font-size: 13px;
    padding: 12px;
  }
  /*GUIDE REVIEWS*/

  /*GUIDE BOOKING*/
  .city-info {
    flex-direction: column;
  }
  .city-info-right {
    flex: 0 0 100%;
    width: 100%;
  }
  /*GUIDE BOOKING*/

  /* CUSTOM CART */
  .cart-inner {
    grid-template-columns: 1fr; /* Trở về 1 cột */
    align-items: center;
  }
    
  .your-info, .tour-info {
    max-width: 100%; /* Giãn đều theo màn hình điện thoại */
    min-height: auto; /* Trả lại chiều cao tự động */
  }
  .your-info {
    grid-row: 2;
  }
  .tour-info {
    grid-row: 1;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EAE0E3 !important;
  }

  /* CUSTOM CART */
  /* CHECKOUT */
  .checkout-info-row {
    grid-template-columns: 100px 1fr;
  }
  .checkout-info-label {
    font-size: 13px;
  }
  .checkout-info-value {
    font-size: 14px;
  }
  /* CHECKOUT */
  .why-running-container > .swell-block-fullWide__inner {
    display: flex !important;
    flex-direction: column;
    gap: 32px;
  }
  .why-running-txt-large > span {
    font-size: 32px !important;
    font-weight: 400;
  }
  .why-running-txt-small > span {
    font-size: 14px !important;
  }
  .fix-header-background {
    background-color: #FDFDFD !important;
  }
  /* ------------------------------------------------------------------------ */
  /* 1. Biến Article thành khung lưới chính */
  article.custom-layout-grid {
      display: grid !important;
      grid-template-areas: 
          "gallery"   /* Gallery lên đầu tiên */
          "title"     /* Sau đó đến tiêu đề h1 */
          "info";     /* Cuối cùng là các phần còn lại */
      grid-template-columns: 100%;
  }

  /* 2. Dùng display: contents để các thẻ bao quanh không cản trở Grid */
  article.custom-layout-grid .city-info,
  article.custom-layout-grid .city-info-left {
    display: contents; 
  }
  /* Lưu ý: display: contents sẽ làm các thẻ này "vô hình" về mặt layout 
      nhưng vẫn giữ nguyên cấu trúc cho SEO và PC */

  /* 3. Gán vị trí cho từng vùng */
  .info-gallery-content {
    grid-area: gallery;
    /* margin-top: 0 !important;
    margin-bottom: 20px; */
  }
/* 359x250 */
  h1.text-main {
    font-size: 28px !important;
  }
  .info-desc {
    font-size: 14px !important;
    padding-bottom: 8px ;
  }

  /* Phần còn lại (Stars, Description, Reservation) */
  /* .info-stars, 
  .info-desc, 
  .city-info-right {
      grid-area: info;
  } */

  /* Vì display: contents làm mất flow, ta cần ép phần info hiển thị theo cột */
  /* article.custom-layout-grid {
      display: flex;
      flex-direction: column;
  } */


  .gallery-thumbs .pg-arrow-left {
    top: 55% !important;
    left: 0;
    width: 32px;
    height: 32px;
  }

  .gallery-thumbs .pg-arrow-right {
    top: 55% !important;
    right: 0;
    width: 32px;
    height: 32px;
  }

  .ga-card-image {
    border-radius: 8px;
  }
  .ga-card {
    flex: 0 0 calc((100% - 24px) / 4);
    margin-right: 8px !important;
    margin-top: 8px !important;
    cursor: pointer;
  }

  .ga-wrap-content {
    gap: 0 !important;
  }
  .tour-details-grid__right {
    padding-left: 0;
  }
  .tour-details-grid__right p {
    margin-bottom: 0;
  }
  .big-score {
    font-size: 24px;
  }
  .rating-dashboard {
    padding: 8px;
    flex-direction: row;
    gap: 8px;
  }
  .rating-summary {
    flex: 1;
  }
  .rating-details {
    flex: 3;
  }
  .rating-row {
    gap: 8px;
    margin: 0;
  }
  .progress-container {
    margin: 0;
    flex: 7;
  }
  .stars-group {
    flex: 4;
  }
  .row-count {
    flex: 1;
    text-align: left;
  }
  .comment-respond {
    padding: 12px;
  }
  .review-form-rating {
    margin-bottom: 0;
  }
  .review-form-rating label, .review-form-comment label {
    font-size: 14px !important;
  }
  .form-submit-container button {
    margin-top: 0 !important;
  }
  /* ------------------------------------------------------------------------ */
  .p-spMenu__inner {
    top: 82px;
  }
  .sp_inner_menu {
    position: fixed;
    z-index: 9999;
    top: 37px;
    right: -3px;
  }
  .admin-bar .sp_inner_menu {
    top: 83px;
  }
  #mega-menu-wrap-nav_sp_menu .mega-menu-toggle {
    background: transparent;
  }
  #mega-menu-wrap-nav_sp_menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-nav_sp_menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-nav_sp_menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
    background: #3D4853;
    width: 33px;
    height: 2.5px;
    border-radius: 1000px;
  }
  .menu_btn_toggle {
    opacity: 0;
  }
  #mega-menu-wrap-nav_sp_menu .mega-menu-toggle + #mega-menu-nav_sp_menu {
    background: #fff;
    padding-top: 10px;
  }
  #mega-menu-wrap-nav_sp_menu #mega-menu-nav_sp_menu > li.mega-menu-item {
    border-bottom: 1px solid #EEEEEE;
  }
  #mega-menu-wrap-nav_sp_menu #mega-menu-nav_sp_menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
  #mega-menu-wrap-nav_sp_menu #mega-menu-nav_sp_menu > li.mega-menu-item > a.mega-menu-link {
    background: #fff;
    color: #313336;
  }
  .mega-sub-menu .swell-block-fullWide {
    width: 100%;
    left: 0;
  }
  .mega-sub-menu .city-mega-menu {
    margin-bottom: -2em !important;
  }
  .mega-sub-menu .swell-block-fullWide__inner {
    padding: 0;
  }
  .mega-sub-menu .city-mega-menu__column {
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
  }

  .woocommerce-account .woocommerce {
    flex-direction: column;
  }
  .woocommerce-MyAccount-navigation {
    flex: 1 1 auto;
    width: 100%;
  }
  .guide-avatar-upload-container {
    flex-direction: column; /* Xếp chồng hàng dọc */
    align-items: center;    /* Căn giữa */
    text-align: center;
  }
  
  .avatar-preview {
    margin-bottom: 10px;
  }
  
  .guide-img-preview {
    width: 100%;       /* Giãn hết cỡ mobile nếu muốn */
    max-width: 200px;  /* Hoặc giới hạn lại cho đẹp */
  }
  .cart-container {
    padding: 16px 8px;
    border-radius: 0;
  }
  td.product-name::before {
    display: none;
  }
  .cart_item > td {
    padding: 0 !important;
  }
  .custom-cart-table table.shop_table td {
    padding-bottom: 0 !important;
  }
  .custom-cart-table table.shop_table td.product-name,
  .custom-cart-table table.shop_table td.product-price,
  .custom-cart-table table.shop_table td.product-persons,
  .custom-cart-table table.shop_table td.product-subtotal,
  .custom-cart-table table.shop_table td.booked-prices {
    padding-top: 8px !important;
    border-bottom: none !important;
  }
  .custom-cart-table table.shop_table td.product-name {
    border-top: 1px solid #EAE0E3 !important;
    margin-top: 20px !important;
    padding-top: 20px !important;
  }
  .product-subtotal, .product-persons {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }
  .woocommerce-cart .l-mainContent__inner,
  .tour-booking-page .l-mainContent__inner,
  .custom-checkout-page .l-mainContent__inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .cart_totals {
    border-top: 1px solid #EAE0E3 !important;
    width: 100% !important;
  }
  .cart_totals .shop_table_responsive tbody tr td {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .cart-title { 
    font-size: 24px;
  }
  .border-top {
    border-bottom: none !important;
  }
  .cancellation-policy {
    font-size: 16px;
  }

  .footer-col-parent {
    display: flex !important;
    flex-direction: column !important;
  }

  .top-heading {
    font-size: 24px !important;
  }
}