/* ==========================================================================
   Hygge Spa Booking System Styles
   ========================================================================== */

/* Common Styles */
.hygge-services-page,
.hygge-booking-page {
  display: flex;
  justify-content: center;
  padding: 60px 20px 100px;
  background: var(--bg-cream);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.btn .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

/* Quantity Selector */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  padding: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: transparent !important;
  box-shadow: none !important;
}

.qty-input,
.quantity-selector input[type="number"] {
  width: 48px;
  height: 32px;
  border: 1px solid #d6d0c4;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  border-radius: 4px !important;
  padding: 0;
  color: var(--Black, #111);
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-weight: 700;
  line-height: 150%; /* 24px */
}

/* Remove number input arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Modal Styles */
.hygge-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.modal-close:hover {
  color: var(--text-color);
}

.modal-title {
  color: var(--Newest, #37584c);
  font-family: "Plus Jakarta Sans";
  font-size: 24px;
  font-weight: 300;
  line-height: 150%; /* 36px */
  margin: 0 0 16px !important;
}

.modal-subtitle {
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 180%; /* 28.8px */
  margin-bottom: 32px;
}

.modal-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 24px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 8px;
}

.modal-description p:last-child {
  margin-bottom: 0;
}

.modal-description::-webkit-scrollbar {
  width: 6px;
}

.modal-description::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.modal-description::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.modal-description::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 16px;
}

.booking-notice-modal .modal-content {
  max-width: 460px;
  text-align: center;
}

.booking-notice-modal .modal-description {
  max-height: none;
}

.booking-notice-modal .modal-actions {
  justify-content: center;
}

.modal-actions .btn {
  padding: 12px 28px !important;
  border-radius: 32px !important;
  border: 1px solid var(--Newest, #37584c) !important;
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 600;
  line-height: 150%; /* 24px */
  color: #37584c;
}

.modal-actions #book-now-btn:hover,
.modal-actions #add-to-cart-btn {
  color: #37584c !important;
  background: #ffffff !important;
}

.modal-actions .btn:hover,
.modal-actions #add-to-cart-btn:hover,
.modal-actions #book-now-btn {
  color: #ffffff !important;
  background: #37584c !important;
}

.pricing-col:last-child {
  text-align: right;
}

/* ==========================================================================
   Services Page
   ========================================================================== */

/* Hero Section */
.services-hero {
  margin-bottom: 40px;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 300px;
}

.hero-image {
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-light);
}

.hero-image-left {
  background-image: url("../images/hero-1.jpg");
}

.hero-image-right {
  background-image: url("../images/hero-2.jpg");
}

/* Services Layout */
.services-container {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-top: 40px;
}

.services-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

/* Sidebar */
.services-sidebar {
  border-right: none;
  padding-right: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.sidebar-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-color);
  letter-spacing: -0.5px;
}

.service-categories,
.service-categories-mb {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 12;
}

.service-text-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.service-text-item .icon {
  width: 32px;
  line-height: 0;
}

.service-text-item .text {
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 12px;
  border: 1px solid #e1dcd4;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  width: 100%;
  color: #37584c !important;
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 500 !important;
  line-height: 150%; /* 24px */
  background: #ffffff !important;
  height: 48px;
  position: relative;
  margin-bottom: 10px;
}

.category-btn
  > span:not(.category-icon):not(.category-icon-image):not(
    .category-special-badge
  ) {
  flex: 1;
  min-width: 0;
}

.category-btn:last-child {
  margin-bottom: 0;
}

.category-btn:hover,
.category-btn.active {
  background: #f7f5f3 !important;
  border-color: #37584c !important;
  color: #37584c !important;
}

.category-btn.active .category-icon {
  color: #ffffff;
}

.category-icon {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon-image {
  width: 32px;
  height: 32px;
}

.category-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.category-special-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #b63b3b;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
  line-height: 120%;
  font-family: "Plus Jakarta Sans";
}

.category-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.category-btn-parent.is-expanded .category-chevron {
  transform: rotate(180deg) translateY(50%);
}

.category-chevron svg {
  width: 100%;
  height: 100%;
}

.category-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-left: 0;
  visibility: hidden;
}

.category-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
}

.category-children.is-expanded {
  max-height: 1000px;
  padding: 0;
  border: 1px solid #e1dcd4;
  border-radius: 8px;
  overflow: hidden;
  visibility: visible;
  margin-bottom: 10px;
  margin-top: -8px;
}

.category-btn-child {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0;
  padding-left: 12px !important;
  height: 40px;
  font-size: 15px;
  border-bottom: 1px solid #e1dcd4 !important;
}

.category-btn-child:last-child {
  border-bottom: 0px !important;
}

.category-btn-child:hover,
.category-btn-child.active {
  background: #f7f5f3 !important;
  border-color: transparent !important;
}

/* Services Main */
.services-main-title {
  color: var(--Newest, #37584c);
  font-family: "Plus Jakarta Sans";
  font-size: 32px;
  font-weight: 300;
  line-height: 150%; /* 48px */
  text-transform: uppercase;
  margin: 0 !important;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: 24px !important;
  border: 1px solid #d0d8c4;
  background: var(--White, #fff);
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 150%; /* 24px */
  box-shadow: none !important;
  height: 48px;
}

.search-box input:focus {
  outline: none;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-selected {
  padding: 10px 20px;
  border: 2px solid var(--primary-color);
  background: #ffffff;
  color: var(--text-color);
  border-radius: 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-selected:hover {
  background: var(--primary-light);
  border-color: var(--primary-dark);
}

.btn-selected .cart-count {
  font-weight: 600;
  color: var(--primary-color);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  border-radius: 8px;
  border: 1px solid #d0d8c4;
  background: var(--White, #fff);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.services-header-wrapper {
  gap: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

/* Badge "Đã chọn" on service card */
.service-selected-badge {
  position: absolute;
  top: -4px;
  right: 16px;
  border-radius: 4px;
  background: var(--Newest, #37584c);
  color: var(--BG2, #ebe6e0);
  font-family: "Source Serif 4";
  font-size: 12px;
  font-weight: 400;
  line-height: 150%; /* 18px */
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
}

.service-selected-badge .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.service-title {
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 20px;
  font-weight: 400;
  line-height: 150%; /* 30px */
  padding: 24px 16px 16px;
  min-height: 100px;
}

.service-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: var(--Black, #111);
  text-overflow: ellipsis;
  font-family: "Source Serif 4";
  font-size: 14px;
  font-weight: 300;
  line-height: 150%; /* 21px */
  padding: 0 16px;
  height: 66px;
  margin-bottom: 24px;
}

.service-pricing {
  padding: 0 16px;
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 400;
  line-height: 150%; /* 24px */
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.price-name {
  width: 50%;
}

.price-name-full {
  width: 100% !important;
}

.price-option {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-book {
  width: 100%;
  justify-content: center;
  padding: 12px 0;
  margin-top: auto;
  border-top: 1px solid #e1dcd4;
  color: var(--Newest, #37584c);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 600;
  line-height: 150%; /* 24px */
  background: none !important;
  border-radius: 0 !important;
}

.btn-book:hover {
  color: var(--Newest, #37584c);
  background: none !important;
  border-color: #37584c !important;
}

.no-services {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
  font-size: 16px;
}

/* Pagination */
.services-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.page-btn {
  padding: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #111;
  background: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  color: #111;
  transition: all 0.2s;
  text-align: center;
  font-family: "Source Serif 4";
  font-size: 14px;
  font-weight: 400;
  line-height: 150%; /* 21px */
}

.page-ellipsis {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a8a8a;
  font-size: 14px;
}

.page-btn:hover,
.page-btn.active {
  background: #37584c;
  color: #ffffff;
  border-color: #37584c;
}

/* Service Modal Pricing Table */
.pricing-options-table {
  margin-bottom: 24px;
}

.pricing-header,
.pricing-option-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 12px;
  align-items: center;
}

.pricing-option-row {
  border-top: 1px solid #e1dcd4;
}

.pricing-header {
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 14px;
  font-weight: 400;
  line-height: 150%; /* 21px */
  text-transform: uppercase;
  opacity: 0.5;
}

.pricing-price {
  font-weight: 300;
}

.pricing-duration {
  font-family: "Source Serif 4";
  font-weight: 400;
}

.pricing-quantity {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Booking Page
   ========================================================================== */

.booking-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 79px;
  margin-top: 20px;
}

.booking-left {
  width: calc(100% - 424px);
}

.booking-right {
  width: 392px;
}

.cart-empty-layout {
  flex-direction: column;
  align-items: center;
}

.cart-empty-layout .booking-left {
  width: 100%;
}

.cart-empty-layout .cart-empty-state {
  width: 100%;
}

/* Booking Left */
.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-color);
}

.page-subtitle {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.total-people-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--primary-light);
  border-radius: 8px;
  margin-bottom: 24px;
}

.total-people-selector label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.total-people-selector .dashicons {
  font-size: 20px;
  color: var(--primary-color);
}

/* Cart Items */
.cart-items {
  margin-bottom: 24px;
}

.empty-cart {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
  background: var(--bg-light);
  border-radius: 8px;
}

.empty-cart a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cart-empty-state {
  border-radius: 16px;
  border: 1px solid var(--Border, #e1dcd4);
  background: var(--White, #fff);
  text-align: center;
  padding: 40px 20px 48px;
}

.cart-empty-state .empty-icon {
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-empty-state .empty-title {
  color: var(--Black, #111);
  font-family: "Plus Jakarta Sans";
  font-size: 24px;
  font-weight: 300;
  line-height: 150%; /* 36px */
  margin-bottom: 8px;
}

.cart-empty-state .empty-text {
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 180%; /* 28.8px */
  margin-bottom: 24px;
}

.cart-empty-state .empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--Newest, #37584c);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 600;
  line-height: 150%; /* 24px */
  border-radius: 32px;
  border: 1px solid var(--Newest, #37584c);
  background: var(--White, #fff);
  height: 56px;
  padding: 0 32px;
}

.cart-empty-state .empty-btn:hover {
  background: #37584c;
  color: #fff;
}

.cart-empty-state .empty-btn:hover svg path {
  fill: #fff;
}

.cart-item {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  transition: opacity 0.2s ease;
}

.cart-item.is-busy {
  opacity: 0.5;
  pointer-events: none;
}
.item-header {
  margin-bottom: 8px;
}

.item-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.item-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  position: relative;
}

.item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-color);
}

.item-separator {
  color: var(--text-light);
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.item-quantity {
  display: flex;
  align-items: center;
}

.item-total {
  font-weight: 600;
  color: var(--text-color);
  font-size: 16px;
  min-width: 120px;
  text-align: right;
}

.btn-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 4px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.btn-remove:hover {
  opacity: 0.7;
}

.btn-remove svg {
  display: block;
}

.item-users {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ebe6e0;
  flex-wrap: wrap;
}

.btn-assign-users {
  background: var(--bg-light);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.btn-assign-users:hover {
  background: var(--primary-light);
}

.btn-assign-users svg {
  display: block;
  flex-shrink: 0;
}

.item-users-actions {
  margin-left: auto;
}

.item-note {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--bg-light);
  border: 1px dotted #e1dcd4;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-color);
}

.item-note span {
  font-weight: 500;
  margin-right: 4px;
}

.item-note em {
  font-style: normal;
  color: var(--text-light);
}

/* Cart Totals */
.cart-totals {
  background: var(--primary-light);
  border-radius: 8px;
  padding: 24px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.total-row span:first-child {
  color: var(--text-light);
}

.total-row span:last-child {
  font-weight: 600;
  color: var(--text-color);
}

.total-final {
  border-top: 2px solid var(--primary-color);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 18px;
}

.total-final span {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

/* Booking Right - Customer Form */
.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-color);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 150%; /* 24px */
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e1dcd4;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.datetime-row {
  display: flex;
  gap: 12px;
}

.datetime-row .input-with-icon {
  flex: 1;
  position: relative;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .dashicons {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 20px;
  pointer-events: none;
}

.input-with-icon input,
.input-with-icon select {
  padding-right: 40px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
  padding: 14px;
  font-size: 16px;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Calendar Picker */
.calendar-picker {
  margin-top: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  border: 1px solid #e1dcd4;
  border-radius: 8px;
  padding: 0;
  border-radius: 8px;
  background: var(--White, #fff);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.16);
  max-width: 336px;
  z-index: 10000;
  width: 100%;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e1dcd4;
}

.calendar-month {
  color: var(--Black, #222);
  text-align: center;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-weight: 700;
  line-height: 150%; /* 24px */
}

.calendar-nav {
  background-color: transparent;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0;
  padding: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
}

.calendar-nav:first-child {
  background-image: url("ArrowCircleLeft.png");
}

.calendar-nav:last-child {
  background-image: url("ArrowCircleRight.png");
}

.calendar-nav:hover {
  background-color: transparent;
  color: #37584c;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  padding: 16px 16px 0;
}

.calendar-weekdays div {
  color: var(--Black, #111);
  text-align: center;
  font-family: "Plus Jakarta Sans";
  font-size: 12px;
  font-weight: 700;
  line-height: 150%; /* 18px */
  border-radius: 4px;
  background: var(--Border, #e1dcd4);
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 0 16px 24px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--Black, #111);
  text-align: center;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-weight: 400;
  line-height: 150%; /* 24px */
  transition: all 0.2s;
  border-radius: 4px;
  background: #e8ece1;
  height: 40px;
  width: 40px;
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day.today {
  font-weight: 600;
  border: 2px solid var(--primary-color);
}

.calendar-day:hover,
.calendar-day.selected {
  background: #37584c;
  color: #fff;
  font-weight: 600;
}

.calendar-day.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  color: #999;
  background: #f5f5f5;
}

/* Users Modal */
.modal-users {
  max-width: 720px;
  border-radius: 16px;
  padding: 28px 28px 22px;
}

.users-assignment {
  border: none;
  margin-top: 12px;
}

.user-notes-textarea {
  width: 100%;
  min-height: 200px;
  border: 1px solid #e1dcd4;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #2f2c2a;
  resize: vertical;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-users .modal-actions {
  gap: 16px;
  margin-top: 18px;
}

.modal-users .btn.btn-outline {
  border-radius: 32px;
  border: 1px solid var(--Newest, #37584c);
  background: var(--White, #fff);
  color: #37584c;
  min-width: 160px;
  justify-content: center;
}

.modal-users .btn.btn-outline:hover {
  background: var(--White, #37584c);
  color: #fff;
}

.modal-users .btn.btn-primary {
  border-radius: 32px;
  border: 1px solid var(--Newest, #37584c);
  background: var(--White, #37584c);
  color: #fff;
}

.modal-users .btn.btn-primary:hover {
  background: var(--White, #fff);
  color: #37584c;
}

/* ==========================================================================
   Success Page
   ========================================================================== */

.success-content {
  display: none;
}

.hygge-booking-success-page {
  text-align: center;
}

.hygge-success-card .check-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #37584c;
  border-radius: 50%;
}

.hygge-success-card .success-title {
  color: var(--Newest, #37584c);
  font-family: "Plus Jakarta Sans";
  font-size: 48px;
  font-weight: 300;
  line-height: 120%; /* 57.6px */
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hygge-success-card .success-message {
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 180%; /* 28.8px */
  margin-bottom: 16px;
}

.hygge-success-card .booking-code {
  color: #000;
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 180%; /* 28.8px */
  margin-bottom: 40px;
}

.hygge-success-card .booking-code strong {
  font-weight: 400;
}

.hygge-success-card .btn-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 24px;
  border: 1px solid #37584c;
  color: #37584c;
  font-family: "Source Serif 4";
  font-size: 15px;
  font-weight: 400;
}

.hygge-success-card .btn-home:hover {
  background: #37584c;
  color: #fff;
}

.hygge-success-card .btn-home .dashicons {
  width: 18px;
  height: 18px;
}

.booking-details {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.booking-details h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-color);
}

.booking-details h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 12px;
  color: var(--text-color);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.detail-row span:first-child {
  color: var(--text-light);
}

.detail-row span:last-child {
  font-weight: 500;
  color: var(--text-color);
}

.detail-row.total {
  border-top: 2px solid var(--primary-color);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
}

.detail-row.total span {
  color: var(--primary-color) !important;
}

.service-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 14px;
}

.service-item span:first-child {
  flex: 1;
}

.service-item span:last-child {
  font-weight: 600;
  color: var(--primary-color);
}

.btn-home {
  padding: 14px 32px;
  font-size: 16px;
}

.error-icon {
  width: 120px;
  height: 120px;
  background: #f44336;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.error-icon .dashicons {
  font-size: 64px;
  width: 64px;
  height: 64px;
  color: #ffffff;
}

.error-title {
  color: var(--Newest, #37584c);
  text-align: center;
  font-family: "Plus Jakarta Sans";
  font-size: 48px;
  font-weight: 300;
  line-height: 120%; /* 57.6px */
  text-transform: uppercase;
  margin-bottom: 24px;
}

.error-message {
  color: var(--Black, #111);
  text-align: center;
  font-family: "Source Serif 4";
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 180%; /* 28.8px */
  margin-bottom: 40px;
}

.service-text {
  display: none;
}

/* ==========================================================================
   Booking Cart - Theme aligned
   ========================================================================== */
.hygge-booking-widget .page-title {
  font-size: 48px;
  line-height: 57.6px;
  font-weight: 300;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  color: #37584c;
  text-transform: uppercase;
}

.hygge-booking-widget .page-subtitle {
  color: #66615b;
  font-size: 15px;
  margin-bottom: 24px;
}

.hygge-booking-widget .total-people-selector {
  background: transparent;
  border: 1px solid #e1dcd4;
  padding: 14px 16px;
  border-radius: 8px;
}

.hygge-booking-widget .cart-items {
  margin-bottom: 8px;
}

.hygge-booking-widget .cart-item {
  border-radius: 8px;
  border: 1px solid var(--Newest, #37584c);
  background: var(--White, #fff);
  padding: 0;
  overflow: hidden;
}

.hygge-booking-widget .item-header {
  margin-bottom: 8px;
}

.hygge-booking-widget .item-title {
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 20px;
  font-weight: 400;
  line-height: 150%; /* 30px */
}

.hygge-booking-widget .item-info {
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 150%; /* 24px */
  gap: 16px;
}

.item-duration {
  font-weight: 400;
}

.hygge-booking-widget .item-quantity {
  gap: 12px;
}

.hygge-booking-widget .item-total {
  color: var(--Black, #111);
  text-align: right;
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 400;
  line-height: 150%; /* 24px */
}

.hygge-booking-widget .btn-remove {
  color: #9c1c1c;
  opacity: 0.8;
}

.hygge-booking-widget .btn-assign-users {
  border-color: transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 400;
  line-height: 150%; /* 24px */
  text-decoration-line: underline;
  text-decoration-style: dotted;
}

.hygge-booking-widget .btn-assign-users:hover {
  color: #37584c;
}

.hygge-booking-widget .cart-totals {
  padding: 0;
}

.hygge-booking-widget .total-row {
  justify-content: end;
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 150%; /* 24px */
}

.hygge-booking-widget .total-row span:last-child {
  font-weight: 500 !important;
  width: 160px;
  text-align: right;
}

.hygge-booking-widget .total-final {
  padding: 0;
  border: none;
}

.hygge-booking-widget .total-final span {
  color: #111 !important;
  font-weight: 700 !important;
}

.hygge-booking-widget .total-row span:first-child {
  font-weight: 300 !important;
}

.hygge-booking-widget .booking-right {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--Border, #e1dcd4);
  background: var(--White, #fff);
  position: relative;
}

.hygge-booking-widget .section-title {
  color: var(--Black, #111);
  font-family: "Plus Jakarta Sans";
  font-size: 24px;
  font-weight: 300;
  line-height: 150%; /* 36px */
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hygge-booking-widget .form-group {
  margin-bottom: 12px;
}

.hygge-booking-widget .form-group input,
.hygge-booking-widget .form-group select {
  border-radius: 8px !important;
  border: 1px solid var(--Border, #e1dcd4);
  background: var(--White, #fff);
  height: 48px;
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 400;
  line-height: 150%; /* 24px */
}

.hygge-booking-widget .input-with-icon .dashicons {
  right: 10px;
}

.hygge-booking-widget .btn-submit {
  border-radius: 24px;
  background: #37584c;
  position: absolute;
  left: 0;
  bottom: -80px;
  margin: 0;
}

.hygge-booking-widget .item-note {
  margin: 0;
  background: transparent;
  color: var(--Black, #111);
  font-family: "Source Serif 4";
  font-size: 16px;
  font-weight: 300;
  line-height: 150%; /* 24px */
}

/* ==========================================================================
   Notification Styles
   ========================================================================== */

.hygge-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  border-left: 4px solid var(--primary-color);
  min-width: 250px;
  font-size: 14px;
  color: var(--text-color);
}

.hygge-notification.show {
  transform: translateX(0);
}

.hygge-notification.error {
  border-left-color: #f44336;
}

.hygge-notification.success {
  border-left-color: #4caf50;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .services-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .services-sidebar {
    padding-right: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For screens with small height (like 1366x768) */
@media (max-height: 900px) {
  .hygge-modal {
    padding: 30px 16px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .modal-content {
    max-height: calc(100vh - 60px);
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  .hero-images {
    grid-template-columns: 1fr;
    height: 400px;
  }

  .services-container {
    padding: 24px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-sidebar {
    border-right: none;
    border-bottom: 1px solid #e1dcd4;
    padding-right: 0;
    padding-bottom: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .services-header {
    width: 100%;
  }

  .search-box {
    max-width: 100%;
  }

  .hygge-modal {
    padding: 20px 0;
    align-items: flex-start;
  }

  .modal-content {
    width: 95%;
    padding: 24px;
    max-height: calc(100vh - 40px);
    margin: auto 0;
  }

  .pricing-header,
  .pricing-option-row {
    gap: 8px;
  }

  .pricing-quantity {
    justify-content: flex-start;
  }

  .users-header,
  .user-row {
    grid-template-columns: 1fr;
  }

  .hygge-service-categories-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hygge-service-categories-widget::before {
    content: "Lọc";
    color: var(--Black, #111);
    font-family: "Source Serif 4";
    font-size: 14px;
    font-weight: 300;
    line-height: 150%; /* 21px */
  }

  .services-header-wrapper {
    gap: 16px;
    flex-direction: column;
    align-items: baseline;
    margin-bottom: 24px;
  }

  .service-title {
    min-height: inherit;
  }

  .services-pagination {
    margin-bottom: 40px;
  }

  .service-text {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    background: #f7f5f3;
    border: 1px solid #37584c;
    color: #37584c;
    border-radius: 8px;
  }

  .service-categories {
    width: 246px;
  }

  .service-categories-mb {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 100%;
    background: #fff;
    height: 0;
    transition: 0.5s ease;
    overflow: hidden;
  }

  .service-categories-mb.is-open {
    height: auto;
  }

  .cart-empty-state .empty-title {
    font-size: 20px;
    line-height: 30px;
  }

  .hygge-success-card .success-title,
  .hygge-booking-widget .page-title {
    font-size: 32px;
    line-height: 38.4px;
  }

  .datetime-row {
    gap: 16px;
  }

  .item-main-row,
  .datetime-row,
  .booking-layout {
    flex-direction: column;
  }

  .item-main-row > div,
  .booking-left,
  .booking-right {
    width: 100%;
  }

  .hygge-booking-widget .total-row {
    justify-content: space-between;
  }

  .hygge-booking-widget .booking-right {
    padding: 24px 16px;
  }

  .hygge-booking-widget .btn-remove {
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .item-actions {
    justify-content: space-between;
    border-top: 1px solid #e1dcd4;
    margin-top: 16px;
    padding-top: 16px;
  }

  .hygge-success-card .check-icon {
    width: 80px;
    height: 80px;
  }

  .hygge-success-card .check-icon svg {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 24px;
  }

  .success-title {
    font-size: 24px;
  }

  .container {
    padding: 0 16px;
  }

  .hygge-modal {
    padding: 16px 0;
  }

  .modal-content {
    width: 95%;
    max-height: calc(100vh - 32px);
    padding: 20px;
  }
}
