/*
 * Hotel Thamel — the phone layout (below 768px).
 *
 * Gives the public website an app feel on phones: a pinned app bar, the
 * bottom tab bar (components/header/bottom-nav), card surfaces with rounder
 * corners, 44px+ touch targets and a tighter vertical rhythm. It only
 * restyles markup that is already on the page, so site.js behaves the same.
 *
 * The layout loads this file after the theme with a max-width: 767.98px
 * media attribute: it wins over style.css at equal specificity, and tablets
 * and desktops never apply it. The rules also sit inside the same query, so
 * the file stays phone-only on its own.
 */

@media screen and (max-width: 767.98px) {

  :root {
    --app-gutter: 16px;
    --app-radius: 20px;
    --app-radius-md: 16px;
    --app-radius-sm: 12px;
    --app-surface: #FFFFFF;
    --app-canvas: #F7F4EF;
    --app-line: #ECE7E0;
    --app-tint: rgba(171, 138, 98, 0.14);
    /* The theme's gold (#AB8A62) is too light for small text on white. */
    --app-accent-text: #87673F;
    --app-shadow: 0 6px 22px rgba(27, 27, 27, 0.07);
    --app-shadow-lg: 0 16px 40px rgba(27, 27, 27, 0.16);
    --app-bar-height: 64px;
    --bottom-nav-height: 64px;
    --bottom-nav-space: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  }

  /* ------------------------------------------------------------ canvas */

  html {
    /* Focused fields and anchors stop clear of the two bars. */
    scroll-padding-top: calc(var(--app-bar-height) + 12px);
    scroll-padding-bottom: calc(var(--bottom-nav-space) + 12px);
  }

  body {
    padding-bottom: var(--bottom-nav-space);
    -webkit-tap-highlight-color: transparent;
  }

  .container,
  .container-fluid {
    padding-left: var(--app-gutter);
    padding-right: var(--app-gutter);
  }

  /* The body no longer clips sideways once the app bar is sticky (below),
     so the sidebars that stick on desktop would start sticking inside their
     stacked columns; keep them in place as before. */
  .sticky-item {
    position: relative;
    top: auto;
  }

  /* -------------------------------------------------------- typography */

  h1,
  .h1 {
    font-size: 34px;
    line-height: 42px;
  }

  h2,
  .h2 {
    font-size: 28px;
    line-height: 36px;
  }

  h3,
  .h3 {
    font-size: 24px;
    line-height: 32px;
  }

  h4,
  .h4 {
    font-size: 22px;
    line-height: 30px;
  }

  h5,
  .h5 {
    font-size: 20px;
    line-height: 28px;
  }

  h6,
  .h6 {
    font-size: 18px;
    line-height: 26px;
  }

  .font-sm {
    font-size: 16px;
  }

  /* iOS zooms into any field whose text is under 16px. */
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }

  /* ----------------------------------------------------------- app bar */

  .header__function,
  .header__function.is__sticky {
    background: var(--app-surface);
    box-shadow: 0 1px 0 rgba(27, 27, 27, 0.07);
    z-index: 999;
  }

  /* Pinned from the first pixel instead of dropping in after 150px of
     scroll: sticky keeps the bar in the flow, so nothing under it jumps.
     A sticky header needs a body that is not a scroll container, which
     overflow-x: hidden makes it; clip trims the sides without that. */
  @supports (overflow: clip) {
    body {
      overflow-x: clip;
    }

    .header__function,
    .header__function.is__sticky {
      position: sticky;
      top: 0;
      animation: none;
    }
  }

  .main__header .main__header__wrapper {
    min-height: var(--app-bar-height);
  }

  .main__header .main__header__wrapper .main__logo .logo__class {
    height: 56px;
    padding: 0;
    background: transparent;
  }

  .main__header .main__right {
    gap: 10px;
  }

  .main__header .main__right .theme-btn.menu__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
  }

  .main__header .main__right .theme-btn.menu__btn img {
    width: 20px;
    height: auto;
  }

  .main__header .main__right .theme-btn.sm-btn:not(.menu__btn) {
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  /* ------------------------------------------------------- tab bar */

  .bottom__nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    display: flex;
    align-items: stretch;
    height: var(--bottom-nav-space);
    padding: 0 6px env(safe-area-inset-bottom, 0px);
    background: var(--app-surface);
    border-top: 1px solid rgba(27, 27, 27, 0.06);
    box-shadow: 0 -8px 24px rgba(27, 27, 27, 0.06);
    transition: transform 0.25s ease;
  }

  .bottom__nav__item {
    flex: 1 1 0;
    min-width: 0;
    height: var(--bottom-nav-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--rts-para);
    font-size: 11px;
    line-height: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: center;
    transition: color 0.2s ease;
  }

  .bottom__nav__item:hover,
  .bottom__nav__item:focus {
    color: var(--rts-heading);
  }

  .bottom__nav__item:focus-visible {
    outline: 2px solid var(--heading-color);
    outline-offset: -4px;
    border-radius: 14px;
  }

  .bottom__nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 30px;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .bottom__nav__icon svg {
    width: 22px;
    height: 22px;
  }

  .bottom__nav__item:active .bottom__nav__icon {
    transform: scale(0.92);
  }

  .bottom__nav__label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bottom__nav__item.is__active {
    color: var(--app-accent-text);
  }

  .bottom__nav__item.is__active .bottom__nav__icon {
    background-color: var(--app-tint);
  }

  .bottom__nav__item.is__active .bottom__nav__label {
    font-weight: 600;
  }

  .bottom__nav__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--heading-color);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
  }

  /* Book Now: a raised round button in the middle of the bar. */
  .bottom__nav__item.is__primary {
    color: var(--rts-heading);
  }

  .bottom__nav__item.is__primary .bottom__nav__icon {
    width: 52px;
    height: 52px;
    margin-top: -24px;
    border-radius: 50%;
    background-color: var(--heading-color);
    color: #FFFFFF;
    box-shadow: 0 0 0 4px #FFFFFF, 0 10px 20px rgba(171, 138, 98, 0.45);
  }

  .bottom__nav__item.is__primary.is__active .bottom__nav__icon {
    background-color: var(--app-accent-text);
  }

  .bottom__nav__item.is__primary .bottom__nav__icon svg {
    width: 24px;
    height: 24px;
  }

  /* The checkout keeps its own fixed "Confirm booking" bar there. */
  .booking__mobile__bar ~ .bottom__nav {
    display: none;
  }

  /* Out of the way (raised button included) while the menu is open... */
  .offcanvas.show ~ .bottom__nav {
    transform: translateY(calc(100% + 32px));
  }

  /* ...while a calendar or guest list is open, so it never covers them... */
  body:has(.react-datepicker-popper) .bottom__nav {
    transform: translateY(calc(100% + 32px));
  }

  body:has(.custom__select.is__open) .bottom__nav {
    transform: translateY(calc(100% + 32px));
  }

  /* ...and while typing: a keyboard that resizes the page leaves it short.
     Gated on the height so an autofocused field alone keeps the bar. */
  @media (max-height: 520px) {
    body:has(input:not([type="checkbox"]):not([type="radio"]):focus, textarea:focus, select:focus) .bottom__nav {
      transform: translateY(calc(100% + 32px));
    }
  }

  /* ----------------------------------------------------- cookie sheet */

  .gdpr-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: calc(var(--bottom-nav-space) + 12px);
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 18px 18px;
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-lg);
  }

  .gdpr-cookie-banner h2 {
    flex: 0 0 100%;
    margin: 0;
    font-size: 20px;
    line-height: 26px;
  }

  .gdpr-cookie-banner p {
    flex: 0 0 100%;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.78);
  }

  .gdpr-cookie-banner > div {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
  }

  .gdpr-cookie-banner > div label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
    line-height: 20px;
  }

  .gdpr-cookie-banner button {
    flex: 1 1 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }

  .gdpr-cookie-banner button:first-of-type {
    background: var(--heading-color);
    color: #FFFFFF;
  }

  .gdpr-cookie-banner button:last-of-type {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
  }

  /* ------------------------------------------------------- menu drawer */

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side {
    height: 100vh;
    height: 100dvh;
    padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px));
    background-color: var(--app-surface);
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side.mobile__menu {
    justify-content: flex-start;
    gap: 0;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side.mobile__menu .btn-close-white {
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: var(--app-canvas);
    background-size: 14px;
    filter: none;
    opacity: 1;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__top {
    margin-bottom: 8px;
    padding: 12px 56px 16px 0;
    border-bottom: 1px solid var(--app-line);
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__logo {
    margin-bottom: 10px;
  }

  .offcanvase__logo img {
    height: 52px;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .description {
    margin: 0;
    color: var(--rts-para);
    font-size: 14px;
    line-height: 22px;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__mobile__menu {
    margin-bottom: 0;
  }

  .mobile__menu ul .slide .slide__menu__item {
    min-height: 54px;
    margin: 0;
    padding: 12px 4px;
    color: var(--rts-heading);
    font-size: 19px;
    line-height: 26px;
    border-bottom: 1px solid var(--app-line);
  }

  .mobile__menu ul .slide .slide__menu__item:hover,
  .mobile__menu ul .slide.has__children.active > .slide__menu__item {
    color: var(--app-accent-text);
  }

  /* The +/- toggles become a chevron that turns when the group opens. */
  .mobile__menu ul .slide .toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--app-canvas);
    color: var(--rts-heading);
    font-size: 0;
  }

  .mobile__menu ul .slide .toggle::after,
  .mobile__menu ul .slide.has__children.active .toggle::after {
    content: "";
    position: static;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }

  .mobile__menu ul .slide.has__children.active .toggle::after {
    transform: translateY(2px) rotate(-135deg);
  }

  .mobile__menu .slide.has__children.active .slide__menu {
    margin: 8px 0 10px;
    padding: 4px 16px;
    border-radius: var(--app-radius-md);
    background-color: var(--app-canvas);
  }

  .mobile__menu ul .slide .slide__menu li a {
    margin: 0;
    padding: 12px 0;
    color: var(--rts-heading);
    font-family: var(--jost);
    font-size: 16px;
    line-height: 22px;
    border-bottom: 1px solid var(--app-line);
  }

  .mobile__menu ul .slide .slide__menu li:last-child a {
    border-bottom: 0;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__bottom {
    margin-top: 24px;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__bottom .offcanvase__address {
    gap: 10px;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__bottom .offcanvase__address .item {
    padding: 12px 16px;
    border-radius: var(--app-radius-md);
    background-color: var(--app-canvas);
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__bottom .offcanvase__address .item span {
    margin-bottom: 2px;
    color: var(--rts-para);
    font-family: var(--jost);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__bottom .offcanvase__address .item a {
    align-items: flex-start;
    color: var(--rts-heading);
    font-size: 15px;
    line-height: 22px;
  }

  .rts__btstrp__offcanvase .offcanvase__wrapper .left__side .offcanvase__bottom .offcanvase__address .item a i {
    top: 3px;
    color: var(--app-accent-text);
  }

  /* ---------------------------------------------------------- buttons */

  .theme-btn.btn-style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 22px;
  }

  .theme-btn.btn-style:active {
    transform: scale(0.98);
  }

  .load__more__link a {
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 22px;
  }

  /* ------------------------------------------------------- page heroes */

  .rts__section.page__hero__height {
    height: auto;
    min-height: 220px;
    padding: 56px 0 48px;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
  }

  .page__hero__content h1 {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 40px;
  }

  .page__hero__content p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 24px;
  }

  /* The room page's hero is the photo itself, not a background. */
  .rts__section.page__hero__height.single {
    height: 300px;
    min-height: 0;
    padding: 0;
  }

  .page__hero__height.single img {
    object-fit: cover;
  }

  /* -------------------------------------------------- home hero slider */

  .banner__area.is__home__one {
    border-radius: 0 0 28px 28px;
    overflow: hidden;
  }

  .banner__area .banner__slide__content {
    padding: 88px 0 112px;
  }

  .banner__area .banner__slide__content h1 {
    margin: 14px 0 12px;
    font-size: 36px;
    line-height: 44px;
  }

  .banner__area .banner__slide__content .sub__text {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 24px;
  }

  /* ------------------------------------------------------ booking bars */

  /* The home bar floats over the hero as a card. */
  .advance__search__section.is__home__one {
    position: relative;
    z-index: 3;
    margin-top: -64px;
  }

  /* The home and room-list bars and the booking page's search share one
     look: a card of rounded field tiles. */
  :is(.advance__search__section .advance__search, .advance__search.booking__search) {
    padding: 14px;
    border-radius: 22px;
    box-shadow: var(--app-shadow-lg);
  }

  /* Dates keep the full width: site.js centres the calendar under its field,
     and a half-width field would push it off the screen. Guests pair up. */
  :is(.advance__search__section .advance__search, .advance__search.booking__search) .advance__search__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  :is(.advance__search__section .advance__search, .advance__search.booking__search) .advance__search__wrapper > .query__input:nth-child(-n + 2),
  :is(.advance__search__section .advance__search, .advance__search.booking__search) .advance__search__wrapper > .search__btn {
    grid-column: 1 / -1;
  }

  :is(.advance__search__section .advance__search, .advance__search.booking__search) .query__input {
    padding: 10px 14px 4px;
    border: 0;
    border-radius: 14px;
    background-color: var(--app-canvas);
  }

  :is(.advance__search__section .advance__search, .advance__search.booking__search) .query__input label {
    margin-bottom: 0;
    color: var(--rts-para);
    font-family: var(--jost);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  /* Anchor the icon and chevron to the field row, as the room sidebars do. */
  :is(.advance__search__section .advance__search, .advance__search.booking__search) .query__input__position {
    position: relative;
  }

  :is(.advance__search__section .advance__search, .advance__search.booking__search) .query__input__icon {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  :is(.advance__search__section .advance__search, .advance__search.booking__search) .query__input__icon::before {
    right: 4px;
  }

  :is(.advance__search__section .advance__search, .advance__search.booking__search) .search__btn {
    width: 100%;
    height: 52px;
    margin-top: 2px;
    border-radius: 14px;
  }

  /* Room pages' sidebar form. */
  .rts__booking__form .advance__search,
  .rts__booking__form.is__room__details .advance__search {
    padding: 20px 16px;
    border-radius: var(--app-radius);
  }

  .rts__booking__form .advance__search__wrapper .query__input {
    border-radius: 14px;
  }

  .rts__booking__form .advance__search__wrapper .theme-btn {
    height: 52px;
  }

  /* ------------------------------------------------------ section rhythm */

  .section__padding {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .pt-120 {
    padding-top: 48px;
  }

  .pb-120 {
    padding-bottom: 48px;
  }

  .facilities__area.py-90 {
    padding: 48px 0;
  }

  .section__wrapper {
    gap: 12px;
  }

  .section__wrapper .section__content__right p {
    font-size: 16px;
  }

  /* ------------------------------------------------------- amenities */

  .facilities__area .row.g-4 {
    --bs-gutter-y: 12px;
  }

  .facilities__area .rts__card.is__home {
    padding: 18px;
    border-radius: var(--app-radius-md);
    box-shadow: var(--app-shadow);
    text-align: left;
  }

  .facilities__area .rts__card.is__home .card-body {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .facilities__area .rts__card.is__home .card-body > :not(.icon) {
    grid-column: 2;
  }

  .facilities__area .rts__card.is__home .icon {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 14px;
    background-color: var(--app-tint);
  }

  .facilities__area .rts__card.is__home .icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .facilities__area .rts__card.is__home .card-title {
    margin-bottom: 4px;
    font-size: 18px;
    line-height: 24px;
  }

  .facilities__area .rts__card.is__home .card-text {
    font-size: 15px;
    line-height: 22px;
  }

  /* ------------------------------------------------------------ rooms */

  .room__slide__box,
  .room__slide__box .room__thumbnail,
  .room__slide__box .room__thumbnail::before,
  .room__slide__box .room__thumbnail img {
    border-radius: var(--app-radius);
  }

  .room__slide__box .room__content {
    padding: 0 20px 22px;
  }

  .room__card {
    border: 0;
    border-radius: var(--app-radius);
    background-color: var(--app-surface);
    box-shadow: var(--app-shadow);
  }

  .room__card__top .room__card__image img {
    height: 220px;
    object-fit: cover;
  }

  .room__card__top .room__price__tag {
    top: 14px;
    left: 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(27, 27, 27, 0.12);
  }

  .room__card__top .room__price__tag span {
    padding: 8px 14px;
  }

  .room__card__meta,
  .room__card.is__style__four .room__card__meta,
  .room__wrapper .room__card.is__style__four:nth-child(even) .room__card__meta {
    margin: 0;
    padding: 18px 18px 20px;
  }

  .room__card__meta .room__card__title {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 28px;
  }

  .room__card__meta__info,
  .room__card.is__style__four .room__card__meta__info {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .room__card__meta__info span {
    padding: 5px 12px;
    border-radius: 999px;
    background-color: var(--app-canvas);
    line-height: 20px;
  }

  .room__card__meta .room__card__summary {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 24px;
  }

  .room__card__meta .room__card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 14px;
    border-radius: 14px;
    background-color: var(--app-tint);
    color: var(--app-accent-text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
  }

  .room__card.is__style__four .room__card__top .room__card__image,
  .room__card.is__style__four .room__card__top .room__card__image img {
    border-radius: 0;
  }

  .room__wrapper {
    row-gap: 20px;
  }

  /* Room page details. */
  .room__details .room__meta {
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
    font-family: var(--jost);
    font-size: 15px;
  }

  .room__details .room__meta span {
    padding: 6px 14px;
    border-radius: 999px;
    background-color: var(--app-canvas);
    line-height: 20px;
  }

  .room__details p {
    font-size: 17px;
    line-height: 28px;
  }

  /* ------------------------------------------------------- testimonials */

  .testimonial__item__content {
    gap: 18px;
    margin: 4px 2px 24px;
    padding: 24px 20px;
    border-radius: var(--app-radius);
    background-color: var(--app-surface);
    box-shadow: var(--app-shadow);
  }

  .rts__section .testimonial__item__content .author__icon img {
    width: 88px;
    height: 88px;
    min-width: 88px;
    border-width: 3px;
    object-fit: cover;
  }

  .testimonial__item__content .slider__rating i {
    font-size: 18px;
  }

  .testimonial__item__content .slider__text {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 29px;
  }

  /* ------------------------------------------------------------ offers */

  .single__offer__card,
  .offer__area .single__offer__card.is__flex {
    border-radius: var(--app-radius);
  }

  .single__offer__card:not(.is__flex) > a {
    height: 220px;
  }

  .single__offer__card__content,
  .offer__area .single__offer__card.is__flex .single__offer__card__content {
    padding: 24px 20px;
  }

  .offer__area .single__offer__card.is__flex > a {
    height: 200px;
  }

  /* ----------------------------------------------------- media blocks */

  .video__area__image,
  .video__area__image::before {
    border-radius: var(--app-radius);
  }

  .video__area__image {
    overflow: hidden;
  }

  .gallery .gallery__item {
    border-radius: var(--app-radius-md);
    overflow: hidden;
  }

  /* Section photos get the same rounded corners as the cards. Kept at low
     specificity so cards that square off a corner on purpose still do. */
  .facility__image img,
  .service__thumb img,
  .single__event__thumb img,
  .team__member__thumb img,
  .single__post__thumb img,
  .about__images img,
  .activities__thumb img {
    border-radius: var(--app-radius-md);
  }

  .reservation__meta .reservation__item {
    border-radius: var(--app-radius-md);
  }

  /* ------------------------------------------------------ restaurant menu */

  /* Menu tabs and section filters scroll sideways as one row of chips,
     edge to edge, instead of wrapping into a block of buttons. */
  .resturant__menu__list {
    margin-bottom: 24px;
  }

  .resturant__menu__list .nav-tabs,
  .menu__filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .resturant__menu__list .nav-tabs::-webkit-scrollbar,
  .menu__filter::-webkit-scrollbar {
    display: none;
  }

  .resturant__menu__list .nav-tabs {
    margin: 0 calc(-1 * var(--app-gutter));
    padding: 2px var(--app-gutter) 4px;
  }

  .menu__filter {
    margin: -8px calc(-1 * var(--app-gutter)) 28px;
    padding: 2px var(--app-gutter) 4px;
  }

  .resturant__menu__list .nav-tabs .nav-link,
  .menu__filter__btn {
    flex: 0 0 auto;
    min-height: 44px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .resturant__menu__list .nav-tabs .nav-link {
    padding: 12px 20px;
  }

  /* ------------------------------------------------------------- forms */

  .rts__contact__form .form-input label {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
  }

  .rts__contact__form .form-input input,
  .rts__contact__form .form-input textarea {
    min-height: 52px;
    margin-bottom: 14px;
    border-color: var(--app-line);
    border-radius: 14px;
    background-color: var(--app-canvas);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .rts__contact__form .form-input input:focus,
  .rts__contact__form .form-input textarea:focus {
    outline: none;
    border-color: var(--heading-color);
    background-color: var(--app-surface);
    box-shadow: 0 0 0 3px var(--app-tint);
  }

  .rts__contact__form .form-input textarea {
    height: 130px;
  }

  .rts__contact__form .form-input .pr i {
    top: 26px;
  }

  .rts__contact__form .theme-btn {
    min-height: 52px;
    font-size: 17px;
  }

  /* -------------------------------------------------------------- blog */

  .blog__sidebar__section {
    padding: 20px 18px;
    border-radius: var(--app-radius);
  }

  .blog__sidebar__section .search__form,
  .blog__sidebar__section .search__form input[type=text] {
    border-radius: 12px;
  }

  .blog__sidebar__section .search__form input[type=text] {
    min-height: 48px;
  }

  .single__blog {
    padding: 16px;
    border: 0;
    border-radius: var(--app-radius);
    background-color: var(--app-surface);
    box-shadow: var(--app-shadow);
  }

  .single__blog__thumb {
    margin-bottom: 16px;
    border-radius: var(--app-radius-md);
  }

  .single__blog__thumb img {
    border-radius: var(--app-radius-md);
  }

  .single__blog__meta .category {
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--app-accent-text);
  }

  /* ------------------------------------------------------------ footer */

  .footer__background {
    padding-top: 40px;
  }

  .footer__newsletter {
    gap: 16px;
    margin-bottom: 24px;
    padding: 24px 18px;
    border-radius: var(--app-radius);
    background-color: var(--app-surface);
    box-shadow: var(--app-shadow);
    text-align: center;
  }

  .footer__newsletter .h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .footer__newsletter form input {
    height: 52px;
    padding: 0 124px 0 16px;
    border: 1px solid var(--app-line);
    border-radius: 14px;
    background-color: var(--app-canvas);
    box-shadow: none;
  }

  .footer__newsletter form button[type=submit] {
    right: 6px;
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
  }

  .rts__footer.is__common__footer .footer__widget__wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  .footer__widget__wrapper .rts__widget {
    padding: 20px 18px;
    border-radius: var(--app-radius);
    background-color: var(--app-surface);
  }

  .footer__widget__wrapper .rts__widget img.footer__logo {
    height: 64px;
  }

  .footer__widget__wrapper .rts__widget .max-290 {
    max-width: none;
    margin-top: 12px;
    font-size: 15px;
    line-height: 24px;
  }

  .footer__widget__wrapper .rts__widget .widget__title {
    margin-bottom: 14px;
    font-size: 19px;
  }

  .footer__widget__wrapper .rts__widget ul li {
    margin-bottom: 14px;
    line-height: 22px;
  }

  /* Useful links as a two-column grid of chips. */
  .footer__widget__wrapper .rts__widget ul:has(> li > a[aria-label="footer__link"]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .footer__widget__wrapper .rts__widget ul li:has(> a[aria-label="footer__link"]) {
    margin: 0;
  }

  .footer__widget__wrapper .rts__widget ul li a[aria-label="footer__link"] {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    background-color: var(--app-canvas);
    color: var(--rts-heading);
  }

  .footer__widget__wrapper .rts__widget ul li a[aria-label="footer__contact"] {
    align-items: center;
    gap: 12px;
  }

  .footer__widget__wrapper .rts__widget ul li a[aria-label="footer__contact"] i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--app-tint);
    color: var(--app-accent-text);
    font-size: 15px;
  }

  .copyright__text {
    padding: 20px 0 24px;
  }

  .copyright__wrapper {
    padding: 0;
    font-size: 14px;
    line-height: 22px;
  }
}
