/* TODO TODO TODO TODO TODO TODO TODO TODO */
/* 1. Create a carousel for smaller screen in GRID Section */
/* 2. Create a modal window for the price section */

/*///////////////////////////////////////////////////*/

/* VARIABLES */
:root {
  /* TEXT VARIABLES */
  --text-dark: #312418;
  --text-light: #dbdbd9;
  --primary-bg: #ffffff;
  --body-font: "Open Sans", sans-serif;
  --heading-font: "Roboto Slab", sans-serif;

  --h1: clamp(1.8rem, 5vw, 3rem);
  --h2: clamp(1.8rem, 4vw, 2.5rem);
  --h3: clamp(1.5rem, 3vw, 2rem);
  --h4: clamp(1.3rem, 2.5vw, 1.6rem);
  --h5: clamp(1.1rem, 2vw, 1.3rem);
  --h6: clamp(0.75rem, 1.5vw, 1.1rem);

  --p: clamp(1rem, 2vw, 1.125rem);
  --small: clamp(0.85rem, 1vw, 0.95rem);

  /* Line Heights */
  --lh-heading: 1.2;
  --lh-subheading: 1.3;
  --lh-body: 1.6;

  /* SPACING VARIABLES */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;

  /* Section spacing */
  --section-space: clamp(40px, 8vw, 100px);

  /* Layout */
  --container-width: clamp(300px, 80%, 1200px);

  /* VARIABLES USED IN STUDIO PROJECT */
  --column-width: 70px;
  --gutter-gap: clamp(8px, 2vw, 20px);
  --margin--large: 100px;
  --margin--small: 50px;

  /* COLOR VARIABLES */
  --purple-1: #6962f7;
  --purple-2: #7000ff;
  --blue-1: #00d4ff;
  --primary-accent: #0a2540;
  --primary-button-hover: #6d7a88;
  --bg-white: #fff;
  --bg-light: #f7f9fc;
  --button-color: #e1a932;

  --dark-font-color: #312418;

  --standard-border-radius: 20px;
  --standard-box-shadow: 0px 2px 40px rgba(0, 0, 0, 0.15);
}

/* GENERAL ELEMENT STYLES */
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

.no-scroll {
  overflow: hidden;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background-color: var(--primary-bg);
}

.section {
  /* border-top: 1px solid #ddd; */
  transition:
    transform 1s,
    opacity 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

/* Enable custom horizontal swipe handling */
.slider,
.feedbacks-track {
  touch-action: pan-y;
}

img {
  transition: filter 0.5s ease-in-out;
  /* border-radius: 5px; */
}

.lazy-img {
  filter: blur(5px);
  /* Optional: prevent gray borders around blurred edges */
  transform: scale(1.02);
}

h1 {
  /* text-transform: uppercase; */
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: var(--h1);
  margin: 0;
  width: 100%;
  letter-spacing: -1px;
  line-height: var(--lh-heading);
}

h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: var(--h2);
  margin: 0;
  width: 100%;
}

h3 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: var(--h3);
  margin: 0;
  width: 100%;
}

h4 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: var(--h4);
  margin: 0;
  width: 100%;
  letter-spacing: 0.25px;
}

h5 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: var(--h5);
  margin: 0;
  width: 100%;
}

h6 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: var(--h6);
  margin: 0;
  width: 100%;
}

a {
  font-size: var(--p);
  line-height: var(--lh-body);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.25s ease;
}

a:hover {
  text-decoration: underline;
}

p {
  font-size: var(--p);
  line-height: var(--lh-body);
  font-weight: 400;
  margin: var(--space-md) 0;
}

.brown-button {
  background-color: var(--bg-white);
  padding: clamp(4px, 1.5vw, 12px) clamp(8px, 5vw, 24px);
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1vw, 1rem);
  color: var(--dark-font-color);
  border: 2px solid var(--dark-font-color);
  border-style: solid;
  cursor: pointer;
}

/* ////////////////////////////////////////////////////////////// */

* {
  margin: 0;
  padding: 0;
}

/* ////////////////////////////////////////////////////////////// */

.launch-modal .modal-content {
  text-align: center;
}

/* style.css */
.open-launch-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001; /* Must be higher than .modal-overlay (2000) */
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  width: 90%;
  max-width: 450px;
}
/* ////////////////////////////////////////////////////////////// */

.main-section {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;

  transition: transform 2s cubic-bezier(0.7, 0, 0.3, 1);
}

.main-section .slides picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-section .slides {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.main-section {
  overflow: hidden;
}

.main-section .slider-btns {
  width: 65%;
  height: 100%;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.main-section .dots__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #fff;
  margin: 0 5px;
  cursor: pointer;
}

.main-section .dots__dot--active {
  background-color: #fff;
}

/* .main-section .dots {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
} */

.main-section .dots {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  justify-content: center;
  z-index: 10;
  display: flex;
}

.main-section .dots__dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.main-section .slider-btns .fa-solid {
  color: #ffffff;
  font-size: 2.5rem;
}

.main-section .slider-btns .fa-solid:hover {
  cursor: pointer;
}

/* Update this section in your style.css */
.main-section .slider-btns {
  width: 65%;
  height: 100%;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;

  /* Add this line: */
  pointer-events: none;
}

/* Add this to ensure the arrows still work: */
.main-section .slider-btns .fa-solid {
  pointer-events: auto;
}

/* Base style for all sliders */
.main-section .slides {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease-in-out,
    visibility 1s ease-in-out;
}

.main-section .slides.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.main-section .slides .text-content {
  max-width: 50%;
  position: absolute;
  text-align: center;
  z-index: 10;
}

.main-section .slides img {
  filter: blur(1px) brightness(0.9); /* Blurs and darkens the whole image */
  animation: zoomEffect 10s ease-in-out infinite alternate; /* Keeps your zoom */
}

@keyframes zoomEffect {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.main-section .slides .text-content h1 {
  color: var(--bg-white);
}

.main-section .slides .text-content p {
  font-size: var(--p);
  color: var(--bg-white);
}

.main-section .slides .text-content .btn {
  font-size: 1rem;
  background-color: transparent;
  color: var(--bg-white);
  padding: 6px 24px;
  border: 2px solid var(--bg-white);
  border-radius: 5px;
  position: relative;
  z-index: 10;
}

.main-section .slides .text-content .btn:hover {
  cursor: pointer;
}

.main-section .slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* //////////////////////////////// */

/* //////////////////////////////////////////////////////////// */
/*Styles for the navbar */
.main-section .updated-navbar {
  width: 80%;
  padding: 15px;
  margin: var(--space-lg) 0 0 0;
  border-radius: 10px;
  background-color: #ffffff;
  position: fixed;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow:
    0 -1px 2px hsl(0deg 0% 0% / 0.05),
    /* Subtle top shadow */ 0 1px 1px hsl(0deg 0% 0% / 0.075),
    0 2px 2px hsl(0deg 0% 0% / 0.075),
    0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 8px 8px hsl(0deg 0% 0% / 0.075),
    0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.main-section .updated-navbar .brown-button {
  padding: 6px 24px;
  border-radius: 5px;
}

.main-section .updated-navbar .brown-button:hover {
  cursor: pointer;
}

.updated-navbar .brown-button:hover {
  color: var(--bg-white);
  background-color: var(--text-dark);
  border-style: solid;
}

.main-section .hamburger {
  height: 50px;
  width: 50px;
}

.main-section .updated-navbar .bar {
  background-color: black;
  height: 4px;
  width: 36px;
  margin: 3px;
  border-radius: 10px;
}

.updated-navbar .hamburger {
  /* Styles for Hamburger divs is moved in media queries */
  display: none;
}

.updated-navbar .hamburger:hover {
  cursor: pointer;
}

.mobileNav {
  /* Styles for mobileNav is moved in media queries */
  display: none;
}

.mobileNav a {
  margin: 16px 0;
}

/* /////////////////////////////////////////////////// */
/* CLASSES TO MAKE MODAL WORK */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.hidden {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(28, 21, 14, 0.64);
  backdrop-filter: blur(4px);
  z-index: 2000;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 460px);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  padding: 34px 32px 28px;
  border: 1px solid #eee3d2;
  border-radius: 16px;
  background-color: #ffffff;
  color: var(--text-dark, #312418);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  z-index: 2001;
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f7f3ed;
  color: var(--text-dark, #312418);
  font-size: 1.7rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

.close-modal:hover {
  background-color: #eee3d2;
  transform: scale(1.05);
}

.modal .modal-form {
  width: 100%;
  margin: 0;
}

.modal .modal-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.modal .auth-eyebrow {
  margin: 0 0 4px;
  text-align: center;
  color: #a87515;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.modal .modal-form h2 {
  font-family: var(--heading-font, "Roboto Slab", serif);
  font-size: clamp(1.55rem, 3.5vw, 1.95rem);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--text-dark, #312418);
  margin: 0 0 4px;
}

.modal .auth-subtitle {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.92rem;
  color: #6f655a;
}

.modal .modal-form label {
  display: block;
  margin: 12px 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark, #312418);
}

.modal .modal-form input[type="email"],
.modal .modal-form input[type="password"],
.modal .modal-form input[type="text"],
.modal .modal-form input[type="tel"] {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  border: 1.5px solid #d7cbb8;
  border-radius: 8px;
  background-color: #fdfaf4;
  color: var(--text-dark, #312418);
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 0.94rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.modal .modal-form input::placeholder {
  color: #9c9184;
}

.modal .modal-form input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--text-dark, #312418);
  box-shadow: 0 0 0 3px rgba(225, 169, 50, 0.28);
}

/* Password input and eye toggle */
.password-input-wrapper {
  position: relative;
  width: 100%;
}

.modal .modal-form .password-input-wrapper input {
  padding-right: 44px;
}

.password-input-wrapper button.toggle-password {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #6f655a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.password-input-wrapper button.toggle-password i {
  font-size: 16px;
  line-height: 1;
}

.password-input-wrapper button.toggle-password:hover {
  color: var(--text-dark, #312418);
  background: rgba(49, 36, 24, 0.06);
}

/* Remember me + Forgot password row */
.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 4px;
}

.modal .modal-form label.remember-me-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: #5d5247;
  cursor: pointer;
}

.modal .modal-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--text-dark, #312418);
  cursor: pointer;
}

.modal .forgot-password {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a87515;
}

/* Dual-channel Email + WhatsApp OTP inputs */
.otp-input-group {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.otp-input-group input {
  flex: 1 1 auto;
  min-width: 0;
}

.modal .modal-form button.otp-send-btn {
  flex: 0 0 auto;
  width: auto;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1.5px solid var(--text-dark, #312418);
  border-radius: 8px;
  background: #fdfaf4;
  color: var(--text-dark, #312418);
  font-family: var(--heading-font, "Roboto Slab", serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.modal .modal-form button.otp-send-btn:hover:not(:disabled) {
  background: var(--text-dark, #312418);
  color: #ffffff;
}

.modal .modal-form button.otp-send-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#register-phone-hint {
  display: block;
  margin: 5px 0 2px;
  color: #7b7063;
  font-size: 0.76rem;
  line-height: 1.4;
}

.otp-verify-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.modal .modal-form .otp-verify-row input {
  max-width: 175px;
  height: 40px;
  text-align: center;
  letter-spacing: 3px;
  font-weight: 700;
  border-color: #c89a45;
  background: #fffdf9;
}

.otp-row-hint {
  font-size: 0.78rem;
  color: #776b5d;
  line-height: 1.35;
}

/* Primary submit button */
.modal .modal-form button[type="submit"] {
  width: 100%;
  min-height: 46px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background-color: var(--text-dark, #312418);
  color: #ffffff;
  font-family: var(--heading-font, "Roboto Slab", serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.12s ease;
}

.modal .modal-form button[type="submit"]:hover:not(:disabled) {
  background-color: #4a3726;
}

.modal .modal-form button[type="submit"]:active:not(:disabled) {
  transform: translateY(1px);
}

/* Switch Login <-> Register link */
.modal .auth-switch-row {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #f0e7da;
  text-align: center;
  font-size: 0.88rem;
  color: #6f655a;
}

.modal .auth-switch-row a {
  margin-left: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark, #312418);
}

.modal .auth-switch-row a:hover {
  color: #a87515;
}

@media only screen and (max-width: 520px) {
  .modal {
    width: 94vw;
    padding: 26px 20px 22px;
  }

  .auth-options-row {
    flex-wrap: wrap;
  }
}

/* Sytle for the grid - section */
.portfolio {
  width: 75%;
  margin: var(--section-space) auto;
  text-align: center;
}

.portfolio h2 {
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.overlay {
  display: grid;
  grid-auto-rows: 1fr;
  grid-auto-columns: 1fr;
  gap: var(--gutter-gap);
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "a a a b b b c c c c c c"
    "a a a b b b c c c c c c"
    "a a a b b b c c c c c c"
    "a a a b b b h h i i j j"
    "d d e e g g h h i i j j"
    "d d e e g g k k k k k k"
    "d d f f g g k k k k k k"
    "d d f f g g k k k k k k";
  height: 75vh;
}

.overlay .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Good practice, removes potential small gaps */
}

.a {
  grid-area: a;
}
.b {
  grid-area: b;
}

.c {
  grid-area: c;
}

.d {
  grid-area: d;
}

.e {
  grid-area: e;
}

.f {
  grid-area: f;
}

.g {
  grid-area: g;
}

.h {
  grid-area: h;
}

.i {
  grid-area: i;
}

.j {
  grid-area: j;
}

.k {
  grid-area: k;
}

.portfolio .brown-button {
  margin: 50px 0 0 0;
}
/* ///////////////////////////////////////////////////////////// */
.section-video {
  width: 70%;
  height: 80vh;
  margin: var(--section-space) auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.section-video .video {
  width: 50%;
  height: 100%;
  position: relative;
}

.section-video .video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-video .video-2 {
  width: 300px;
  height: auto;
  position: absolute;
  top: 7%;
  left: 40%;
  z-index: 5;
}

.section-video .video-2 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-video .text-content {
  margin: 200px 0 0 20px;
  width: 50%;
}

.section-video .text-content .btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-video h2 {
  font-size: var(--h2);
  text-transform: uppercase;
  text-align: center;
}

/* Glass Play Button  */
.custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

/* Triangle Shape in Play Button */
.play-icon {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
  margin-left: 5px;
}

/* STYLES FOR ABOUT - ME SECTION */
#about-me h2 {
  text-align: center;
  margin: 30px 0;
  text-transform: uppercase;
}
.about-me-section {
  width: 60%;
  margin: 0 auto;
  margin-bottom: var(--section-space);
  position: relative;
  display: grid;
  gap: var(--gutter-gap);
  grid-template-areas:
    "a b"
    "c d";
}

.about-text {
  grid-area: a;
}

.about-picture-1 {
  grid-area: b;
}

.about-picture-2 {
  grid-area: c;
}

.about-me-section .about-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 1. Control the height by locking the aspect ratio */
.about-picture-1 {
  grid-area: b;
  width: 100%;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: 10px;
}

.about-picture-2 {
  grid-area: c;
  width: 100%;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: 10px;
}

.about-me-section .about-picture-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-me-section .about-picture-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-text-2 {
  margin-top: 50px;
}

.floating-card {
  width: 400px;
  height: 200px;
  position: absolute;
  bottom: -10%;
  right: 20%;
}
.floating-card {
  display: flex;
}

.about-me-section .floating-card img {
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Styles for Tariff Section */

.tariff {
  width: 80%;
  margin: 250px auto;
}

.tariff h2 {
  text-align: center;
  text-transform: uppercase;
  margin: 50px 0;
}
.tariff_wrapper {
  display: flex;
  gap: 60px;
  margin: 20px 0 0 0;
}

.tariff_wrapper .col {
  flex: 1;
  display: flex;
  flex-direction: column;

  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  opacity: 0.5;
  overflow: hidden;
  border-radius: 10px;
}

.tariff .col-0 {
  display: none;
}

.tariff_wrapper .active {
  transform: scale(1.05);
  opacity: 1;
}

.tariff_wrapper .col h3 {
  text-align: center;
  text-transform: uppercase;
}

.tariff_wrapper .col h4 {
  margin: 10px 0;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
}

.tariff_wrapper .col ul,
.price-box {
  padding: 0px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* REMOVE default bullets */
.tariff_wrapper ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

/* LIST STYLE */
.tariff_wrapper li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tariff_wrapper li.yes::before {
  content: "✔";
  color: #28a745;
  font-weight: bold;
}

.tariff_wrapper li.no::before {
  content: "❌";
}

.tariff_wrapper li.no {
  opacity: 0.7;
}

/* Ensure alignment */
.tariff_wrapper li::before {
  min-width: 18px;
}

.highlight-feature {
  text-align: center;
  font-size: 0.9rem;
  background: #f1f3f5;
  padding: 6px;
  margin: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.tariff_wrapper .col button {
  margin-top: auto;
}

/* Badge */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff5c5c;
  color: white;
  padding: 4px 8px;
  font-size: 10px;
  border-radius: 10px;
}

.card-top {
  position: relative;
  height: 160px;
  overflow: hidden;
}

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

.tariff_wrapper .col button {
  width: 100%;
  margin: 0;
  border-radius: 0 0 10px 10px;
  border: none;
  padding: 14px 0;
  background: var(--text-dark);
  color: white;
}

.tariff .dots__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--text-dark);
  margin: 0 5px;
  cursor: pointer;
}

.tariff .dots {
  margin: 20px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tariff .dots__dot--active {
  background-color: var(--text-dark);
}

.tariff .gtrbtn {
  display: none;
}

/* Styles for Feedback Section */
.feedbacks {
  box-sizing: border-box;
  width: 75%;
  height: auto;
  margin: 200px auto;
  position: relative;
  min-height: 65vh;
}

.feedbacks-track {
  display: flex;
  height: 100%;
  position: relative;
  overflow: hidden;
  min-height: 65vh;
  width: 100%;
}

.feedbacks .special-btn {
  background-color: transparent;
  border: none;
  font-size: var(--h1);
  font-weight: 900;
  color: var(--text-dark);
  position: relative;
  z-index: 10;
}

.feedbacks button {
  cursor: pointer;
}

.feed-heading {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
}

.feed-heading h2 {
  font-family: "Roboto Slab";
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

.feedbacks .gtrbtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
}

.feedbacks .feed {
  min-width: 90%;
  max-width: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  padding: 0 5%;
  transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
  display: grid;
  gap: var(--gutter-gap);
  grid-template-areas:
    "a a a b b b"
    "c d e f g h";
}

.feed .feed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feed-description {
  grid-area: a;
}

.main-image {
  grid-area: b;
}

.image1 {
  grid-area: c;
}

.image2 {
  grid-area: d;
}

.image3 {
  grid-area: e;
}

.image4 {
  grid-area: f;
}

.image5 {
  grid-area: g;
}

.image6 {
  grid-area: h;
}

.feed-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feed-description .separator {
  font-size: 2.5rem;
  font-weight: 900;
}
.feed-description .separator span {
  font-weight: 400;
}

.feedbacks .feed-description .stars {
  /* margin-right: auto; */
  font-size: 18px;
  margin: 0 auto 20px 0;
}

.feedbacks .feed-description .stars i {
  color: var(--text-dark);
}

.feedbacks .client-info {
  margin: 0 0 20px 0;
}

.feedbacks .dots {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  justify-content: center;
  z-index: 30;
  display: flex;
}

.feedbacks .dots__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--text-dark);
  margin: 0 5px;
  cursor: pointer;
}

.feedbacks .dots__dot--active {
  background-color: var(--text-dark);
}

/* /////////////////////////////////// */

.contact-section {
  margin: 0 auto;
  width: 70%;
  display: flex;
  gap: var(--gutter-gap);
  margin-bottom: var(--section-space);
}

.contact-section .contact-form {
  width: 50%;
  margin-top: 15px;
}

.contact-section .contact-form input,
.contact-section .contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  margin: 0 0 10px 0;
  border: 2px solid var(--text-dark);
  padding: 8px 10px;
  border-radius: 5px;
  font-family: var(--body-font);
}

.contact-section .contact-form #question {
  height: 90px;
  resize: vertical;
}

.contact-section .contact-form button {
  box-sizing: border-box;
  width: 100%;
  text-transform: uppercase;
  color: var(--bg-white);
  margin: 0 auto;
  margin-bottom: var(--space-sm);
  padding: 10px;
  border: 2px solid var(--text-dark);
  border-radius: 5px;
  background-color: var(--text-dark);
}

.contact-section .contact-form button:hover {
  cursor: pointer;
}

.contact-section .contact-form h5 {
  display: inline;
  margin: 0 20px 0 0;
}

.contact-section .contact-address {
  display: flex;
  gap: 80px;
  margin-left: 30px;
}

.contact-section .contact-address .address {
  width: 80%;
}

.contact-section .contact-address .navigation {
  width: 20%;
  display: flex;
  flex-direction: column;
}

.contact-section .contact-address .navigation a {
  font-weight: 400;
  margin: 12px 0;
}

.social-media a {
  margin: 0 5px;
  font-size: 24px;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.fa-facebook {
  color: #1877f2;
}

.fa-instagram {
  color: #e4405f;
}

.fa-whatsapp {
  color: #25d366;
}

.social-media a:hover {
  transform: scale(1.2);
  text-decoration: none;
}

/* Styles for the footer section */
.footer {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer p {
  margin: 10px 0;
}

/* MEDIA QUERIES FOR RESPONSIVENESS */

@media only screen and (max-width: 1288px) {
  .about-me-section .floating-card {
    display: none;
  }

  .about-me-section .about-text-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media only screen and (max-width: 1224px) {
  .main-section .updated-navbar {
    width: 90%;
  }
  .portfolio {
    width: 85%;
  }
  .section-video {
    width: 80%;
    height: 90vh;
  }
  .section-video .text-content {
    margin: 250px 0 0 20px;
  }

  .about-me-section {
    width: 65%;
  }

  .feedbacks {
    width: 85%;
  }
}

@media only screen and (max-width: 1070px) {
  .contact-section .contact-address {
    gap: 10px;
  }
  .contact-section .contact-address {
    margin-left: 15px;
  }
}

@media only screen and (max-width: 840px) {
  .main-section .updated-navbar {
    width: 100%;
    border-radius: 0;
    margin-top: 0;
    display: flex;
    justify-content: space-between;
  }

  .main-section .updated-navbar .logo {
    margin: 0 0 0 10px;
  }

  .main-section .updated-navbar > a,
  .updated-navbar > button {
    display: none;
  }

  .main-section .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .openDrawer {
    box-sizing: border-box;
    background-color: #ffffff;
    width: 100%;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    padding: 16px 24px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 62px;
    left: 0;
    z-index: 999;
    border-top: 1px solid #f0e7da;
    box-shadow: 0 12px 28px rgba(49, 36, 24, 0.14);
  }

  .animateBar1 {
    animation: flipBar1 0.5s;
    animation-fill-mode: forwards;
  }

  .animateBar2 {
    animation: fadeBar2 0.5s;
    animation-fill-mode: forwards;
  }

  .animateBar3 {
    animation: flipBar3 0.5s;
    animation-fill-mode: forwards;
  }

  @keyframes flipBar1 {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(45deg) translate(4px, 10px);
    }
  }

  @keyframes fadeBar2 {
    from {
      transform: scaleX(1);
      opacity: 1;
    }
    to {
      transform: scale(0);
      opacity: 0;
    }
  }

  @keyframes flipBar3 {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(-45deg) translate(4px, -10px);
    }
  }
}

.main-section .updated-navbar .bar {
  background-color: black;
  height: 4px;
  width: 30px;
  margin: 3px 0;
  border-radius: 10px;
  transition: all 0.3s ease;
}

@media only screen and (max-width: 768px) {
  .tariff {
    width: 94%;
    margin: 100px auto;
    padding: 0 10px;
    position: relative;
  }

  .tariff .col-0 {
    display: flex;
  }

  .tariff_wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 600px;
    padding: 15px 0;
  }

  .tariff_wrapper .col {
    position: absolute;
    top: 25px;
    left: 5%;
    width: 90%;

    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #ffffff;

    opacity: 1;
    overflow: hidden;
  }

  .tariff_wrapper {
    overflow: hidden;
  }

  .tariff .card-top {
    height: 130px;
  }

  .tariff .gtrbtn {
    width: 98%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    pointer-events: none;
  }

  .tariff .special-btn {
    pointer-events: auto;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }

  .tariff_wrapper .col h4 {
    margin: 5px 0;
  }

  .tariff_wrapper li {
    margin-bottom: 5px;
  }
}

@media only screen and (max-width: 725px) {
  .open-launch-modal {
    width: 70%;
  }
  p {
    margin: var(--space-sm) 0;
  }

  .main-section {
    height: 75vh;
  }

  .main-section .slider-btns {
    width: 95%;
    margin-top: 10px;
  }

  .main-section .dots > .first,
  .main-section .dots > .second,
  .main-section .dots > .third,
  .main-section .dots > .fourth,
  .main-section .dots > .fifth {
    width: 10px;
    height: 10px;
  }

  .main-section .slides .text-content {
    max-width: 80%;
  }
  .main-section .slides .text-content p {
    font-size: 1rem;
  }

  .portfolio {
    width: 100%;
    margin: 0 auto;
    margin-top: 100px;
  }

  .portfolio .brown-button {
    margin: 20px 0 50px 0;
  }

  .overlay {
    margin: 0 auto;
    width: 88%;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .overlay .item {
    width: 100%;
    height: 300px;
  }

  .overlay .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }

  .section-video {
    flex-direction: column;
    height: auto;
    width: 88%;
    margin-top: var(--section-space);
    margin-bottom: 0;
  }

  .section-video .video {
    width: 100%;
    height: 300px;
  }

  .section-video .video-1 {
    height: 600px;
  }

  .section-video .video-2 {
    position: relative;
    left: 0;
    margin: 20px 0 0 0;
  }

  .section-video .video video {
    border-radius: 10px;
  }

  .section-video .text-content {
    width: 100%;
    margin: 20px 0;
    padding-top: 0;
  }

  .section-video h3 {
    margin: 0;
    text-align: center;
  }

  .section-video .text-content .btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-me-section {
    width: 88%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  #about-me h2 {
    margin: 30px 0 0 0;
  }
  .about-me-section .about-picture-2,
  .floating-card {
    display: none;
  }

  .about-me-section .about-picture-1 {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-me-section .about-picture-1 img {
    border-radius: 10px;
  }

  .feedbacks {
    margin-top: 200px;
    height: auto;
    margin-bottom: var(--section-space);
    box-shadow:
      0 1px 1px hsl(0deg 0% 0% / 0.075),
      0 2px 2px hsl(0deg 0% 0% / 0.075),
      0 4px 4px hsl(0deg 0% 0% / 0.075),
      0 8px 8px hsl(0deg 0% 0% / 0.075),
      0 16px 16px hsl(0deg 0% 0% / 0.075);
  }

  .feedbacks,
  .feedbacks-track {
    min-height: unset; /* Kills the 65vh restriction */
    height: auto;
    padding-bottom: 15px; /* Gives a little breathing room at the bottom */
    border-radius: 10px;
  }

  .feedbacks .feed {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "b b b b"
      "a a a a";
  }

  /* Make the first slide relative so it pushes the container height open */
  .feedbacks .feed:first-child {
    position: relative;
  }

  .feed-description {
    grid-area: a;
  }

  .main-image {
    grid-area: b;
  }

  .feed .feed-image img {
    border-radius: 10px;
  }

  .feed-description .separator {
    display: none;
  }

  .image1 {
    display: none;
  }

  .image2 {
    display: none;
  }

  .image3 {
    display: none;
  }

  .image4 {
    display: none;
  }

  .image6 {
    display: none;
  }

  .image5 {
    display: none;
  }

  .image10 {
    display: none;
  }

  .image11 {
    display: none;
  }

  .image9 {
    display: none;
  }

  .feedbacks .gtrbtn {
    width: 103%;
  }

  .feedbacks .btn1 {
    position: absolute;
    left: -20px;
  }

  .feedbacks .btn2 {
    position: absolute;
    right: -20px;
  }
  .feedbacks .feed-description .separator {
    font-size: 1.2rem;
  }

  .feedbacks .feed-description button {
    padding: 5px 15px;
  }

  .feedbacks h2 {
    margin-bottom: var(--space-md);
  }

  .contact-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .contact-section .contact-form {
    margin-bottom: 50px;
    width: 83%;
    padding: 15px 0 10px 0;
    text-align: center;
    box-shadow:
      0 -1px 2px hsl(0deg 0% 0% / 0.05),
      /* Subtle top shadow */ 0 1px 1px hsl(0deg 0% 0% / 0.075),
      0 2px 2px hsl(0deg 0% 0% / 0.075),
      0 4px 4px hsl(0deg 0% 0% / 0.075),
      0 8px 8px hsl(0deg 0% 0% / 0.075),
      0 16px 16px hsl(0deg 0% 0% / 0.075);

    border-radius: 10px;
  }

  .contact-section .contact-form input,
  .contact-section .contact-form textarea {
    width: 90%;
  }

  .contact-section .contact-form button {
    width: 90%;
  }

  .contact-section .contact-address {
    width: 76%;
    gap: 0;
    margin-left: 0;
    padding: 10px 20px;
    margin-top: var(--section-space);
    justify-content: space-between;
    box-shadow:
      0 -1px 2px hsl(0deg 0% 0% / 0.05),
      /* Subtle top shadow */ 0 1px 1px hsl(0deg 0% 0% / 0.075),
      0 2px 2px hsl(0deg 0% 0% / 0.075),
      0 4px 4px hsl(0deg 0% 0% / 0.075),
      0 8px 8px hsl(0deg 0% 0% / 0.075),
      0 16px 16px hsl(0deg 0% 0% / 0.075);

    border-radius: 10px;
  }

  .contact-section .contact-address .navigation a {
    margin: 11px 0;
  }

  .contact-section .contact-address .address {
    width: 60%;
  }

  .footer {
    margin-bottom: 30px;
  }

  .footer p {
    font-size: 0.8rem;
    margin: 5px 0 0 0;
  }
}

@media only screen and (max-width: 510px) {
  .contact-section .contact-address {
    padding: 10px 10px;
  }
  .contact-section .contact-address .address p {
    margin: 8px 0;
    font-size: 0.7rem;
  }

  .contact-section .contact-address .navigation {
    width: auto;
  }

  .contact-section .contact-address .navigation a {
    margin: 6px 0;
    font-size: 0.7rem;
  }
  .footer p {
    font-size: 0.6rem;
    margin: 5px 0 0 0;
  }

  .tariff_wrapper {
    margin: 0;
  }

  .tariff h2 {
    margin: 0;
  }

  .tariff .dots {
    margin: 0;
  }
}

/* Branded login and registration feedback */
.auth-feedback {
  display: none;
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0 12px !important;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem !important;
  line-height: 1.45;
  text-align: left !important;
}
.auth-feedback.is-visible {
  display: block;
}
.auth-feedback.is-error {
  color: #8d2822;
  background: #fff1ef;
  border: 1px solid #efc4bf;
}
.auth-feedback.is-success {
  color: #245d3c;
  background: #eef8f0;
  border: 1px solid #c6e4ce;
}
.password-match-message.is-error {
  display: block;
  width: 100%;
  color: #8d2822 !important;
  background: #fff1ef;
  border: 1px solid #efc4bf;
  border-radius: 6px;
  padding: 8px 10px;
  text-align: left !important;
  font-size: 0.85rem !important;
}
.auth-feedback[aria-busy="true"] {
  opacity: 0.7;
}
.modal .modal-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Success confirmation dialog for login and registration only */
.auth-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(28, 21, 14, 0.62);
  backdrop-filter: blur(4px);
}
.auth-success-overlay.hidden {
  display: none;
}
.auth-success-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 38px 30px 30px;
  border: 1px solid #eee3d2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  text-align: center;
  animation: authSuccessIn 220ms ease-out;
}
.auth-success-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--text-dark, #312418);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.auth-success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  border: 1px solid #e1a932;
  border-radius: 50%;
  color: #286749;
  font-size: 23px;
}
.auth-success-eyebrow {
  margin: 0 0 7px !important;
  color: #a87515;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 1.7px;
}
.auth-success-dialog h2 {
  margin: 0;
  color: #312418;
  font-family: var(--heading-font, "Roboto Slab", serif);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
}
.auth-success-dialog > p:not(.auth-success-eyebrow) {
  margin: 12px 0 24px;
  color: #6f655a;
  font-size: 0.98rem;
}
.auth-success-continue {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #e1a932;
  border-radius: 6px;
  background: #e1a932;
  color: #312418;
  font-weight: 700;
  cursor: pointer;
}
.auth-success-continue:hover {
  background: #d39a21;
}
.auth-success-close:focus-visible,
.auth-success-continue:focus-visible {
  outline: 3px solid rgba(225, 169, 50, 0.45);
  outline-offset: 3px;
}
@keyframes authSuccessIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-success-dialog {
    animation: none;
  }
}

/* Inline next step for an already-registered email address */
.inline-login-action {
  display: none;
  width: 100%;
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid var(--text-dark, #312418);
  border-radius: 6px;
  background: #fff;
  color: var(--text-dark, #312418);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.inline-login-action.is-visible {
  display: block;
}
.inline-login-action:hover {
  background: var(--text-dark, #312418);
  color: #fff;
}

.forgot-reset-fields {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 6px;
}

.inline-auth-actions {
  display: none;
  gap: 8px;
  width: 100%;
  margin: 0 0 12px;
}
.inline-auth-actions.is-visible {
  display: flex;
}
.inline-auth-actions .inline-login-action {
  display: block;
  flex: 1 1 0;
  margin: 0;
  font-size: 0.84rem;
}

/* Contact form inline feedback shown directly below the Submit button */
.contact-form-feedback {
  display: none;
  width: 100%;
  box-sizing: border-box;
  margin: 12px 0 0 !important;
  padding: 11px 13px;
  border-radius: 6px;
  font-size: 0.9rem !important;
  line-height: 1.5;
  text-align: left;
}
.contact-form-feedback.is-visible {
  display: block;
}
.contact-form-feedback.is-success {
  color: #245d3c;
  background: #eef8f0;
  border: 1px solid #c6e4ce;
}
.contact-form-feedback.is-error {
  color: #8d2822;
  background: #fff1ef;
  border: 1px solid #efc4bf;
}
.contact-form form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Branded calendar date picker for booking */
.event-date-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(24, 19, 14, 0.58);
  backdrop-filter: blur(4px);
}
.event-date-overlay.hidden {
  display: none;
}
.event-date-dialog {
  width: min(100%, 430px);
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  color: #312418;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  animation: eventCalendarIn 0.18s ease-out;
}
.event-date-header {
  padding: 22px 26px 20px;
  background: #312418;
  color: #fff;
}
.event-date-header > p {
  margin: 0 0 18px;
  color: #e1a932;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.event-date-selected-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.event-date-selected-row strong {
  font-size: clamp(1.65rem, 6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
}
.event-date-edit {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}
.event-date-calendar {
  padding: 16px 18px 22px;
}
.event-date-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.event-date-month-year {
  display: flex;
  gap: 5px;
  min-width: 0;
}
.event-date-month-year select {
  max-width: 150px;
  min-width: 0;
  border: 0;
  background: #fff;
  color: #312418;
  padding: 8px 4px;
  font: 600 0.95rem inherit;
  cursor: pointer;
}
.event-date-month-year select:focus-visible,
.event-date-nav button:focus-visible,
.event-date-day:focus-visible,
.event-date-actions button:focus-visible {
  outline: 2px solid #e1a932;
  outline-offset: 2px;
}
.event-date-nav {
  display: flex;
  gap: 8px;
}
.event-date-nav button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #312418;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.event-date-nav button:hover {
  background: #f7f3ec;
}
.event-date-weekdays,
.event-date-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}
.event-date-weekdays {
  margin-bottom: 8px;
  color: #776d61;
  font-size: 0.76rem;
  font-weight: 700;
}
.event-date-weekdays span {
  padding: 7px 0;
}
.event-date-days {
  row-gap: 4px;
}
.event-date-day,
.event-date-empty {
  width: 38px;
  height: 38px;
  justify-self: center;
}
.event-date-day {
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #312418;
  font-size: 0.9rem;
  cursor: pointer;
}
.event-date-day:hover:not(:disabled) {
  background: #f7f0e2;
}
.event-date-day.is-selected {
  background: #e1a932;
  color: #312418;
  font-weight: 700;
}
.event-date-day:disabled {
  color: #c8c1b8;
  cursor: not-allowed;
}

.event-date-day.is-booked {
  background: #FBEBDA;
  color: #312418;
  text-decoration: line-through;
  cursor: not-allowed;
}

.event-ceremony-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee7dc;
  font-size: 0.84rem;
}

.event-ceremony-bar label {
  font-weight: 600;
  color: #312418;
}

.event-ceremony-bar select {
  border: 1.5px solid #d7cbb8;
  border-radius: 6px;
  padding: 6px 10px;
  background: #fdfaf4;
  color: #312418;
  font: 600 0.84rem inherit;
  cursor: pointer;
}

.event-selected-dates-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  max-height: 150px;
  overflow-y: auto;
}

.event-selected-date-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #eadcc5;
  border-radius: 7px;
  background: #fdfaf4;
  font-size: 0.82rem;
}

.event-selected-date-chip select {
  border: 1px solid #d7cbb8;
  border-radius: 5px;
  padding: 3px 6px;
  background: #fff;
  color: #312418;
  font-size: 0.78rem;
}

.event-remove-date-btn {
  border: 0;
  background: transparent;
  color: #9b3029;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.event-date-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid #eee7dc;
}
.event-date-actions button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 10px 12px;
  color: #312418;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}
.event-date-actions button:last-child {
  color: #a87515;
}
.event-date-actions button:hover {
  background: #f7f3ec;
}
@keyframes eventCalendarIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 420px) {
  .event-date-header {
    padding: 18px 18px 16px;
  }
  .event-date-calendar {
    padding: 12px 8px 18px;
  }
  .event-date-day,
  .event-date-empty {
    width: 35px;
    height: 35px;
  }
  .event-date-month-year select {
    max-width: 126px;
    font-size: 0.86rem;
  }
}

/* Branded editorial booking banner under the package cards */
.booking-feedback {
  display: none;
  align-items: flex-start;
  gap: 12px;
  width: min(100% - 32px, 860px);
  box-sizing: border-box;
  margin: 26px auto 12px;
  padding: 15px 20px;
  border: 1px solid #eadcc5;
  border-left: 4px solid #b78b43;
  border-radius: 10px;
  background: #fdfaf4;
  color: #312418;
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  box-shadow: 0 10px 28px rgba(49, 36, 24, 0.08);
}

.booking-feedback.is-visible {
  display: flex;
  animation: bookingBannerIn 0.24s ease-out;
}

.booking-feedback::before {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}

.booking-feedback.is-success {
  background: #f4faf6;
  border-color: #cce5d5;
  border-left-color: #24603c;
  color: #1e4d31;
}

.booking-feedback.is-success::before {
  content: "✓";
  background: #24603c;
  color: #fff;
}

.booking-feedback.is-info {
  background: #fff9ec;
  border-color: #eed8a6;
  border-left-color: #c89124;
  color: #312418;
}

.booking-feedback.is-info::before {
  content: "i";
  font-family: var(--heading-font, "Roboto Slab", serif);
  background: #e1a932;
  color: #312418;
}

.booking-feedback.is-error {
  background: #fff5f4;
  border-color: #f0c9c4;
  border-left-color: #9b3029;
  color: #7d221c;
}

.booking-feedback.is-error::before {
  content: "!";
  font-family: var(--heading-font, "Roboto Slab", serif);
  background: #9b3029;
  color: #fff;
}

@keyframes bookingBannerIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
  .booking-feedback.is-visible {
    animation: none;
  }
}

/* Branded booking receipt modal */
/* Branded booking receipt modal (matches official PDF receipt) */
.receipt-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(28, 21, 15, 0.68);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}
.receipt-overlay.hidden {
  display: none;
}
.receipt-dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  padding: 18px;
  box-sizing: border-box;
}
.receipt-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  margin-bottom: 8px;
  display: block;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f7f3ed;
  color: var(--text-dark, #312418);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.receipt-close:hover {
  background: #eee3d2;
}

/* Outer espresso frame + inner gold frame */
.receipt-paper {
  padding: 5px;
  border: 1.5px solid #312418;
  border-radius: 10px;
  background: #ffffff;
  color: #29211a;
  box-sizing: border-box;
}
.receipt-frame-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #e1a932;
  border-radius: 6px;
  background: #ffffff;
  box-sizing: border-box;
}

/* Two-column editorial header */
.receipt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #e1a932;
}
.receipt-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.receipt-brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
}
.receipt-brand-copy p {
  margin: 0;
  line-height: 1.3;
}
.receipt-studio-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #312418;
}
.receipt-studio-tagline {
  margin-top: 2px !important;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 0.86rem !important;
  color: #a87515;
}
.receipt-studio-address {
  margin-top: 3px !important;
  font-size: 0.76rem !important;
  color: #74695d;
}
.receipt-meta {
  text-align: right;
  flex: 0 0 auto;
}
.receipt-meta h2 {
  margin: 0 0 6px;
  width: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #312418;
}
.receipt-status-pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.receipt-status-pill.is-paid {
  background: #eaf5ed;
  border: 1px solid #c6e4ce;
  color: #24603c;
}
.receipt-status-pill.is-partial {
  background: #fef7e6;
  border: 1px solid #eed8a6;
  color: #9e680f;
}
.receipt-status-pill.is-pending {
  background: #fff1ef;
  border: 1px solid #efc4bf;
  color: #8d2822;
}
.receipt-meta-code,
.receipt-meta-issued {
  margin: 2px 0 0 !important;
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
}
.receipt-meta-code {
  color: #29211a;
}
.receipt-meta-issued {
  color: #74695d;
}

.receipt-note {
  margin: 12px 0 14px !important;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 0.84rem !important;
  color: #74695d;
}

/* Hero amount summary card */
.receipt-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 20px;
  border: 1px solid #e6dccc;
  border-left: 4px solid #e1a932;
  border-radius: 8px;
  background: #fdfaf4;
  margin-bottom: 16px;
}
.receipt-hero-primary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.receipt-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #74695d;
}
.receipt-hero-primary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: #312418;
  line-height: 1.15;
}
.receipt-hero-metrics {
  padding-left: 14px;
  border-left: 1px solid #e6dccc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.receipt-hero-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
}
.receipt-hero-metric + .receipt-hero-metric {
  padding-top: 8px;
  border-top: 1px solid #ece6dd;
}
.receipt-hero-metric span {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #74695d;
}
.receipt-hero-metric strong {
  font-size: 0.88rem;
  color: #29211a;
}
.receipt-hero-metric strong.is-paid {
  color: #24603c;
}
.receipt-hero-metric strong.is-due {
  color: #a87515;
}

/* Side-by-side detail cards */
.receipt-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.receipt-info-card {
  padding: 12px 14px;
  border: 1px solid #e6dccc;
  border-radius: 7px;
  background: #fdfaf4;
}
.receipt-info-card h3 {
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ece6dd;
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a87515;
}
.receipt-card-heading {
  margin: 0 0 8px !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  color: #312418;
  line-height: 1.3 !important;
}
.receipt-card-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.receipt-card-list > div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.receipt-date-line {
  display: block;
}
.receipt-date-line + .receipt-date-line {
  margin-top: 2px;
}
.receipt-card-list dt {
  font-weight: 700;
  color: #74695d;
}
.receipt-card-list dd {
  margin: 0;
  color: #29211a;
  overflow-wrap: anywhere;
}
.receipt-card-list dd.receipt-event-date {
  font-weight: 700;
}
.receipt-card-list dd.receipt-ref-id {
  font-size: 0.72rem;
  color: #8c8276;
}

/* Ledger & Payment History tables */
.receipt-section {
  margin-bottom: 16px;
}
.receipt-section-title {
  margin: 0 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e6dccc;
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a87515;
}
.receipt-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.receipt-table th,
.receipt-table td {
  padding: 7px 10px;
  text-align: left;
  border-bottom: 1px solid #ece6dd;
  vertical-align: top;
}
.receipt-table th.is-right,
.receipt-table td.is-right {
  text-align: right;
  white-space: nowrap;
}
.receipt-ledger-table thead th {
  background: #312418;
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-bottom: 0;
}
.receipt-ledger-table tbody tr:nth-child(even) {
  background: #fdfaf4;
}
.receipt-ledger-table tbody td.is-strong {
  font-weight: 700;
  color: #312418;
}
.receipt-ledger-table tbody td.is-paid-value {
  font-weight: 700;
  color: #24603c;
}
.receipt-balance-row td {
  background: #f7f1e5;
  border-top: 1px solid #e6dccc;
  border-bottom: 1px solid #e6dccc;
  font-weight: 700;
  color: #312418;
  padding: 9px 10px;
}
.receipt-balance-row td.is-right {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
}
.receipt-balance-row td.is-paid {
  color: #24603c;
}
.receipt-balance-row td.is-due {
  color: #a87515;
}

.receipt-history-table thead th {
  background: #f7f1e5;
  color: #312418;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-top: 1px solid #e6dccc;
  border-bottom: 1px solid #e6dccc;
}
.receipt-history-table tbody tr:nth-child(even) {
  background: #fdfaf4;
}
.receipt-history-table .col-num {
  width: 28px;
  color: #74695d;
}
.receipt-history-table td.col-method {
  font-weight: 700;
  color: #312418;
}
.receipt-history-table td.col-ref {
  color: #74695d;
  overflow-wrap: anywhere;
}
.receipt-history-table td.col-amount {
  font-weight: 700;
}

/* Bottom Sign-off & Footer */
.receipt-signoff-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1.2px solid #e1a932;
}
.receipt-terms-col {
  flex: 1 1 auto;
  max-width: 340px;
}
.receipt-terms-col h4 {
  margin: 0 0 6px;
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #a87515;
}
.receipt-terms-col p {
  margin: 0 !important;
  font-size: 0.74rem !important;
  line-height: 1.45 !important;
  color: #74695d;
}
.receipt-contact-line {
  margin-top: 8px !important;
  font-weight: 700 !important;
  color: #312418 !important;
}
.receipt-site-line {
  margin-top: 2px !important;
  color: #a87515 !important;
}

.receipt-signature-block {
  flex: 0 0 195px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 3px;
}
.receipt-signature-img {
  width: 142px;
  max-width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}
.receipt-signature-rule {
  width: 100%;
  height: 1px;
  background: #e6dccc;
  margin: 2px 0 3px;
}
.receipt-signature-block strong {
  font-size: 0.82rem;
  color: #312418;
}
.receipt-signature-caption {
  color: #74695d;
  font-size: 0.7rem;
}

.receipt-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid #ece6dd;
  font-size: 0.7rem;
  color: #93887c;
}

.receipt-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.receipt-action {
  flex: 1;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.receipt-action.secondary {
  color: #312418;
  background: #ffffff;
  border: 1px solid #312418;
}
.receipt-action.primary {
  color: #312418;
  background: #e1a932;
  border: 1px solid #e1a932;
}
.receipt-share-feedback {
  margin: 8px 0 0;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 640px) {
  .receipt-overlay {
    padding: 8px;
    align-items: flex-start;
  }
  .receipt-dialog {
    max-height: calc(100vh - 16px);
    padding: 10px;
    border-radius: 12px;
  }
  .receipt-header,
  .receipt-signoff-row {
    flex-direction: column;
    align-items: stretch;
  }
  .receipt-meta,
  .receipt-signature-block {
    text-align: left;
    align-items: flex-start;
  }
  .receipt-hero-card {
    grid-template-columns: 1fr;
  }
  .receipt-hero-metrics {
    padding-left: 0;
    padding-top: 10px;
    border-left: 0;
    border-top: 1px solid #e6dccc;
  }
  .receipt-cards-grid {
    grid-template-columns: 1fr;
  }
  .receipt-actions {
    flex-direction: column;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  html,
  body {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body > *:not(#booking-receipt-overlay) {
    display: none !important;
  }

  #booking-receipt-overlay {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    visibility: visible !important;
  }

  #booking-receipt-overlay,
  #booking-receipt-overlay * {
    box-sizing: border-box !important;
    min-width: 0;
    visibility: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  #booking-receipt-overlay .receipt-close,
  #booking-receipt-overlay .receipt-actions,
  #booking-receipt-overlay .receipt-share-feedback {
    display: none !important;
  }

  #booking-receipt-overlay .receipt-dialog {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
  }

  #booking-receipt-overlay .receipt-paper {
    display: flex !important;
    width: 100% !important;
    min-height: 270mm !important;
    margin: 0 !important;
    padding: 4.5px !important;
    border: 1.5px solid #312418 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #booking-receipt-overlay .receipt-frame-inner {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 9mm 10mm 7mm !important;
    border: 0.9px solid #e1a932 !important;
    border-radius: 5px !important;
  }

  #booking-receipt-overlay .receipt-table-wrap {
    overflow: visible !important;
  }

  /* Keep the full two-column editorial layout on printed A4 pages */
  #booking-receipt-overlay .receipt-header {
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }
  #booking-receipt-overlay .receipt-meta {
    text-align: right !important;
  }
  #booking-receipt-overlay .receipt-hero-card {
    grid-template-columns: 1fr 215px !important;
  }
  #booking-receipt-overlay .receipt-hero-metrics {
    padding-left: 14px !important;
    padding-top: 0 !important;
    border-left: 1px solid #e6dccc !important;
    border-top: 0 !important;
  }
  #booking-receipt-overlay .receipt-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #booking-receipt-overlay .receipt-signoff-row {
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
  }
  #booking-receipt-overlay .receipt-signature-block {
    align-items: flex-end !important;
    text-align: right !important;
  }
}
/* Logged-in account control */
.account-control {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #c6a15b;
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  background: #fff;
  color: #312418;
  font: inherit;
  cursor: pointer;
  max-width: 220px;
}

.account-trigger:hover,
.account-trigger:focus-visible {
  background: #f8f1e5;
}

.account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: #312418;
  color: #f3d79a;
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: uppercase;
}

.account-name {
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1500;
  min-width: 170px;
  padding: 7px;
  border: 1px solid #eadcc5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(49, 36, 24, 0.18);
}

.account-menu-item {
  box-sizing: border-box;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 11px 12px;
  background: transparent;
  color: #312418;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.account-menu-item:hover,
.account-menu-item:focus-visible {
  background: #f8f1e5;
}

.mobile-account-links {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #eee3d2;
}

.mobile-account-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.mobile-account-identity i {
  color: #a87515;
  font-size: 1.05rem;
}

.mobile-account-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.mobileNav .mobile-account-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  margin: 0;
  padding: 9px 16px;
  border: 1.5px solid var(--text-dark);
  border-radius: 6px;
  background-color: var(--text-dark);
  color: #ffffff;
  font-family: var(--body-font);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.mobileNav .mobile-account-btn:hover,
.mobileNav .mobile-account-btn:focus-visible {
  background-color: #4a3726;
  text-decoration: none;
}

.mobileNav .mobile-logout-btn {
  background-color: #ffffff;
  color: var(--text-dark);
}

.mobileNav .mobile-logout-btn:hover,
.mobileNav .mobile-logout-btn:focus-visible {
  background-color: #f8f1e5;
}

@media (max-width: 840px) {
  .main-section .updated-navbar {
    box-sizing: border-box;
    width: 100%;
    top: 0;
    left: 0;
    padding: 6px 14px;
    border-radius: 0;
    margin-top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
  }

  .main-section .updated-navbar > .account-control {
    display: none;
  }
}

/* Simplified desktop account navigation: Login when signed out; name when signed in. */
.account-login {
  text-transform: uppercase;
}
.account-trigger {
  border: 0;
  border-radius: 0;
  padding: 8px 10px;
  background: transparent;
  box-shadow: none;
  gap: 10px;
}
.account-trigger:hover,
.account-trigger:focus-visible {
  background: #f8f1e5;
}
.account-name {
  max-width: 150px;
}

/* Admin entry points on the public homepage */
.admin-login-link {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}

.admin-login-link:hover,
.admin-login-link:focus-visible {
  color: var(--bg-white);
  background-color: var(--text-dark);
  text-decoration: none;
}

.mobileNav .admin-mobile-login {
  display: inline-block;
  width: fit-content;
  margin: 12px 0;
  padding: 8px 14px;
  border: 1px solid var(--text-dark);
  border-radius: 5px;
  color: var(--text-dark);
  font-weight: 600;
}

.mobileNav .admin-mobile-login:hover,
.mobileNav .admin-mobile-login:focus-visible {
  background: #f8f1e5;
  text-decoration: none;
}

/* Client feedback submission section aligned with the main section width */
.feedback-submit-box {
  width: 70%;
  box-sizing: border-box;
  margin: 90px auto 120px;
  padding: 28px 36px;
  border-radius: 10px;
  background-color: var(--bg-white);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  text-align: center;
}

.feedback-submit-box h3 {
  font-family: var(--heading-font);
  font-size: var(--h3);
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.feedback-submit-box > p {
  margin: 0 0 20px;
  font-size: var(--p);
  color: var(--text-dark);
}

.client-feedback-form {
  display: grid;
  gap: 12px;
}

.feedback-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 12px;
}

.client-feedback-form input,
.client-feedback-form select,
.client-feedback-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--text-dark);
  border-radius: 5px;
  padding: 8px 12px;
  background-color: var(--bg-white);
  color: var(--text-dark);
  font: 400 0.95rem var(--body-font);
}

.client-feedback-form textarea {
  height: auto;
  min-height: 95px;
  resize: vertical;
  margin: 0;
}

.client-feedback-form button[type="submit"] {
  justify-self: center;
  min-width: 240px;
  padding: 10px 28px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  border: 2px solid var(--text-dark);
  border-radius: 5px;
}

.client-feedback-form button[type="submit"]:hover {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

@media only screen and (max-width: 1224px) {
  .feedback-submit-box {
    width: 85%;
  }
}

@media only screen and (max-width: 840px) {
  .feedback-submit-box {
    margin: 80px auto 90px;
    padding: 20px 16px;
  }

  .feedback-form-row {
    grid-template-columns: 1fr;
  }
}
