/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

html {
  background-color: #fff;
}

body {
  font-family: "Open Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical>li>a {
  font-family: "Playfair Display", serif;
}

.hidden-field {
  display: none;
}

body.home {
  overflow: hidden;
}

.header-section {
  background-color: var(--fs-color-primary);
  padding-top: 50px;
  padding-bottom: 20px;
}

.header-section #main-logo {
  max-width: 275px;
  margin: 0 auto;
}

.header-section .site-title {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}

.header-section .product-title {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 130%;
  text-align: center;
  color: #fff;
}

.header-section .gt_selector {
  background-color: transparent !important;
  font-size: 18px;
  color: #fff;
  border: 0 !important;
  width: fit-content;
  position: absolute;
  top: 0;
  right: 0;
  text-transform: uppercase;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: auto;
}

.header-section .gt_selector option {
  color: #000;
  text-transform: none;
  background-color: transparent !important;
}

.header-section option[value=""] {
  display: none;
}

.date-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.date-box span {
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.43px;
  text-align: center;
  color: #fff;
  background: #0000001f;
  padding: 5px 10px;
  border-radius: 6px;
}

.event_introduction {
  padding-top: 60px;
}

.event_introduction h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 130%;
  text-align: center;
  margin-bottom: 30px;
}

.event_introduction p {
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
}

.about_our_chefs h3,
.event_details h3 {
  font-weight: 700;
  font-size: 30px;
  line-height: 130%;
}

.about_our_chefs p,
.event_details p,
.event_details ul,
.event_details li {
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
}

.event_details li {
  margin-bottom: 5px !important;
}

.event_details a {
  color: #000;
  text-decoration: underline;
}

.ux-quantity {
  display: none !important;
}

button.single_add_to_cart_button {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 130%;
  text-align: center;
  text-transform: capitalize;
}

#header {
  display: none;
}

textarea {
  min-height: 190px;
}

label .optional,
.woocommerce-form-coupon-toggle {
  display: none !important;
}

label {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--fs-color-secondary);
  margin-bottom: 15px;
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  background-color: #f4e8d4 !important;
  box-shadow: none !important;
  height: 47px;
  font-size: 20px;
  border: 2px solid #f4e8d4;
  color: #000;
  font-weight: 500;
}

input::placeholder,
textarea::placeholder {
  color: #786f4c99;
  font-weight: 400;
}

#add_accompanying_person {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  text-transform: none;
}

.woocommerce-checkout form.checkout h3 {
  display: none !important;
}

.accompanying-person-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid #d6d6d6;
  margin-bottom: 30px;
  margin-top: 50px;
}

.accompanying-person-wrapper.hidden-field {
  display: none;
}

.accompanying-person-wrapper span {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  color: var(--fs-color-secondary);
}

.accompanying-person-wrapper .button.alt {
  margin: 0;
  width: 38px;
  height: 37px;
  padding: 0;
  background-color: #f4e8d4;
}

.woocommerce-input-wrapper label {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  margin-top: 10px;
  cursor: pointer;
}

.woocommerce-input-wrapper input[type="radio"] {
  display: none;
  appearance: none;
}

.woocommerce-input-wrapper input[type="radio"]+label:before {
  content: "";
  background: #f4e8d4;
  border-radius: 100%;
  border: 1px solid #a9935c;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  top: -0.1em;
  margin-right: 0.6em;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  transition: all 250msease;
}

.woocommerce-input-wrapper input[type="radio"]:checked+label:before {
  background-color: #123475;
  box-shadow: inset 0 0 0 4px #f4e8d4;
}

.woocommerce-input-wrapper input[type="radio"]:focus+label:before {
  outline: none;
  border-color: #3197ee;
}

.woocommerce-input-wrapper input[type="radio"]:disabled+label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}

.woocommerce-input-wrapper input[type="radio"]+label:empty:before {
  margin-right: 0;
}

.woocommerce-billing-fields p,
.woocommerce-additional-fields p {
  position: relative;
}

.woocommerce-billing-fields .required-message,
.woocommerce-additional-fields .required-message {
  position: absolute;
  bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--fs-color-alert);
  padding: 0;
}

.required-message {
  display: block;
}

.woocommerce-input-wrapper {
  display: flex;
  gap: 20px;
}

.message-title {
  font-weight: 500;
  line-height: 100%;
  font-size: 14px;
  line-height: 1.4;
}

button.additional-button {
  width: fit-content;
  background-color: #123475;
  color: #fff;
  font-family: "Playfair Display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  text-transform: capitalize;
  margin: 0;
  padding: 0;
  min-width: 200px;
  min-height: unset;
  height: 47px;
  position: absolute;
  right: 0;
  bottom: 1em;
}

.check-field>label {
  margin-bottom: 15px;
}

.check-field>.woocommerce-input-wrapper {
  margin-bottom: 30px;
  display: flex;
  gap: 50px;
}

.swal2-toast h2:where(.swal2-title) {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  color: #000;
}

.swal2-html-container {
  color: #000;
}

.woocommerce-privacy-policy-text {
  display: none;
}

button#place_order,
#checkout-products {
  display: none;
}

.woocommerce-billing-fields {
  border-top: 0;
  padding-top: 0;
}

form.checkout .col+.col .col-inner {
  background-color: var(--fs-color-primary);
  color: #fff;
}

form.checkout .col+.col .col-inner thead {
  display: none !important;
}

form.checkout .shop_table .cart_item td,
form.checkout .shop_table span.amount {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

.shop_table .order-total td,
.shop_table .order-total th,
.shop_table thead th {
  border: 0;
  padding-top: 30px;
  font-size: 20px;
  font-weight: 500;
}

form.checkout .shop_table .order-total span.amount {
  font-size: 20px;
  font-weight: 500;
}

#proceed_payment_button {
  margin: 0;
  width: 100%;
  font-family: "Playfair Display", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  text-transform: capitalize;
}

.woocommerce-order-received .header-section .site-title {
  margin-bottom: 0;
}

.woocommerce-order-received .row-text {
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.woocommerce-order-received .row-text h1 {
  font-family: "Playfair Display", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 130%;
  text-align: center;
  margin-bottom: 40px;
  color: var(--fs-color-secondary);
}

.row-text p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  margin-bottom: 5px;
}

.row-text p.text-last {
  font-weight: 600;
}

.row-text .return-website {
  font-family: Playfair Display;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  background-color: var(--fs-color-secondary);
  color: #fff;
  padding: 17px 35px;
  margin: 0 auto;
  margin-top: 40px;
  display: block;
  width: fit-content;
}

.row-text .box-icon {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

#wrapper>.message-wrapper {
  display: none !important;
}

form.checkout h2,
.form-row>label[for="vat_invoice_no"] {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  color: var(--fs-color-secondary);
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.woocommerce-billing-fields {
  margin-bottom: 50px;
}

#add_accompanying_person {
  margin: 0;
}

.sumary-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  margin-bottom: 15px;
  display: block;
}

.required-field .validate-required {
  color: #e32a30;
  position: absolute;
  left: 0;
  bottom: -10px;
}

.check-field .validate-required {
  display: none !important;
}

.input.hide {
  display: none !important;
}

.title-options {
  display: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  background: #f4e8d4;
  border: 1px solid #f4e8d4;
  position: absolute;
  width: 200px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.title-options li {
  padding: 8px;
  cursor: pointer;
}

.title-options li:hover {
  background-color: (0, 0, 0, 0.5);
}

.custom-product-page .col.medium-7 {
  padding-left: 40px;
}

.event_details {
  margin-bottom: 50px;
}

.form-row:not(.check-field) .woocommerce-input-wrapper label {
  font-size: 14px;
  margin: 0;
  position: absolute;
  bottom: 0;
  color: var(--fs-color-alert);
}

input[type="email"]:disabled,
.form-row:not(.required-field) [readonly] {
  background-color: #ddd !important;
  color: #000;
  border: 1px solid #ddd;
  cursor: not-allowed;
}

#footer .button.primary {
  margin: 0;
  background-color: var(--fs-color-secondary);
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0px;
  text-align: center;
}

.absolute-footer {
  display: none;
}

.page-id-311 .header-section .site-title,
.page-id-361 .header-section .site-title {
  margin-bottom: 0;
}

.text-content {
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}

.text-content h2 {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 130%;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.scroll-button {
  text-align: center;
}

#view-all-events-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--fs-color-primary), #a88428);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  margin: 0 auto;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(192, 155, 45, 0.4);
  position: relative;
  overflow: hidden;
}

#view-all-events-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#view-all-events-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 155, 45, 0.4);
}

#view-all-events-button:hover::before {
  left: 100%;
}

#view-all-events-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(192, 155, 45, 0.3);
}

#view-all-events-grand-chapitre-button {
  display: block;
  color: red;
  background-color: var(--fs-color-primary);
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  font-variant: small-caps;
  margin: 0 auto;
  margin-bottom: 15px;
}

.event-list {
  padding-top: 50px;
  padding-bottom: 50px;
}

.search-box {
  position: relative;
  max-width: 600px;
}

#search-input {
  background-color: transparent !important;
  border: 1px solid var(--fs-color-primary);
  border-radius: 99px;
  margin-bottom: 0;
  height: 40px;
  font-size: 16px;
  color: var(--fs-color-secondary);
  padding: 5px 20px;
}

.search-box button {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  display: flex;
  align-items: center;
  height: 40px;
  min-height: 40px;
}

#search-input::placeholder {
  color: var(--fs-color-primary);
}

#sort-select {
  background-color: transparent !important;
  border: 0;
  font-size: 16px;
  border-bottom: 1px solid;
  height: 40px;
}

#product-list.loading {
  position: relative;
  min-height: 500px;
}

#product-list.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100px;
  background: rgba(255, 255, 255, 0.75);
  background-image: url(/wp-content/uploads/2025/03/loading-7528_128.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50px 50px;
  z-index: 10;
}

.box-text a:not(.button),
.box-text h1,
.box-text h2,
.box-text h3,
.box-text h4,
.box-text h5,
.box-text h6,
.box-text p {
  margin: 0;
}

.product-small.box {
  box-shadow: 1px 1px 1px 0px #00000040;
  box-shadow: 0px 1px 4px 0px #a9935c;
  padding: 40px 20px;
}

.product-small .box-image {
  max-width: 250px;
  width: 250px;
}

.product-small .box-image .cover-image {
  position: relative;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 140%;
}

.product-small .box-image img {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  object-fit: cover;
}

.product-small.box-vertical .box-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  /* width: calc(100% - 250px); */
  padding: 0;
  padding-left: 20px;
  height: 100%;
}

.product-small.box-vertical .box-text .product-title,
.product-small.box-vertical .box-text .product-title a {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 130%;
  color: var(--fs-color-secondary);

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 63px;
  height: 63px;
  display: flex;
}

.product-small.box-vertical .box-text .product-bottom {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
}

.event-details-container {
  display: inline-flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.product-small .title-wrapper {
  margin-bottom: 20px;
}

.product-small .date-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 30px;
}

.product-small .date-wrapper span {
  display: block;
  background-color: #f4e8d4;
  width: fit-content;
  padding: 5px 10px;
  max-height: 33px;
  font-weight: 500;
  color: var(--fs-color-primary);
  border-radius: 5px;
}

.product-small .intro-wrapper p {
  color: var(--fs-color-secondary);
  font-size: 12px;
  line-height: 122%;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}

.product-small .link-wrapper {
  position: relative;
}

/* Reusable Primary Button Style */
.btn-primary,
.product-small .link-wrapper a,
#load-more-button {
  background-color: var(--fs-color-primary);
  color: #fff;
  padding: 12px 40px;
  font-family: "Playfair Display", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  margin: 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover,
.product-small .link-wrapper a:hover,
#load-more-button:hover {
  background-color: var(--fs-color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Logout button custom styling */
.btn-logout {
  background-color: #422035 !important;
}

.btn-logout:hover {
  background-color: #6a0947 !important;
}

#load-more-button {
  margin: 0 auto;
  margin-top: 40px;
  display: block;
}

.stock.in-stock {
  font-size: 20px;
  font-weight: 700;
  color: #e32a30;
  margin-bottom: 5px;
  border-radius: 4px;
}

.s1tchtwn {
  font-size: 16px;
  line-height: 20px;
  position: relative;
  display: flex;
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  min-width: 0;
  min-height: 0;
  box-shadow: none;
  padding: 0;
  flex-shrink: 0;
  align-items: baseline;
}

.gcigg76 {
  display: inline-block;
  transform: translateY(4px);
  fill: #fff;
  color: #fff;
}

.c1egwtaj {
  flex-shrink: 0;
  flex-grow: 1;
  display: block;
  margin-right: 0;
  font-size: 20px;
  font-weight: 450;
  color: #fff;
  text-transform: uppercase;
}

.c1egwtaj svg {
  margin-left: 8px;
}

.s1xawab,
.slenc3r.sa3pmdp {
  position: absolute;
  z-index: 1;
  opacity: 0;
  list-style: none;
}

.s1xawab,
.slenc3r.sa3pmdp {
  position: absolute;
  z-index: 1;
  opacity: 0;
}

.slenc3r.sa3pmdp {
  left: 0;
  bottom: 100%;
  display: grid;
  -ms-grid-row-gap: 4px;
  grid-row-gap: 4px;
  width: 100%;
  padding-inline: 8px;
  background-color: var(--_accent-color);
  box-shadow: inset 0 0 0 1px #909396;
  border-radius: 12px;
  max-height: 0;
  overflow: hidden;
  transition: transform 0.2s, opacity 0.2s, max-height 0.2s, pointer-events 0s;
  transition-delay: 0.3s;
}

.c16qlkds.slenc3r {
  box-shadow: inset 0 0 0 1px #212833;
  margin: 0;
  background-color: #fff;
}

.box-select {
  position: absolute;
  top: 0;
  right: 0;
}

.box-select ul {
  background-color: #fff;
}

.box-select ul li {
  margin: 0;
  line-height: 40px;
  min-height: 40px;
  text-align: end;
  padding: 0 30px;
}

.box-select ul li a {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (min-width: 1200px) {
  .c16qlkds.slenc3r {
    top: 100%;
    right: 0;
    left: auto;
    bottom: auto;
    white-space: nowrap;
    width: max-content;
  }
}

.s1tchtwn:hover .slenc3r.sa3pmdp {
  transform: translateY(-8px);
  opacity: 1;
  max-height: 288px;
  transition-delay: 0s;
}

.s1tchtwn:hover .c16qlkds.slenc3r {
  transform: translateY(8px);
  padding: 0 8px;
  background-color: #fff;
}

.policy_pages .about_our_chefs h3 {
  font-family: "Open Sans", sans-serif;
  color: #000;
}

.policy_pages .about_our_chefs h4 {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  color: #000;
  margin-bottom: 15px;
}

.policy_pages .about_our_chefs p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.policy_pages .about_our_chefs li {
  font-size: 18px;
}

.col-policy p {
  margin-bottom: 10px;
}

.proceed-payment-text {
  font-size: 20px;
  font-weight: 500;
  text-align: left;
}

.proceed-payment-text a {
  color: #ffff;
  text-decoration: underline;
}

p.event-note {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
}

@media screen and (min-width: 850px) {
  form.checkout .large-8 {
    flex-basis: 60%;
    max-width: 60%;
  }

  form.checkout .large-4 {
    flex-basis: 40%;
    max-width: 40%;
  }
}

.payment-buttons .payment-btn {
  margin: 0;
  width: 100%;
  padding: 10px;
  background-color: #ffc439;
  border-radius: 6px;
  border: 2px solid #ffc439;
  color: #123475;
  font-size: 12px;
  line-height: 1;
  text-transform: none;
  font-weight: 700;
  font-family: "Playfair Display", sans-serif;
}

.payment-buttons .payment-btn img {
  height: 100%;
  width: auto;
  display: block;
  margin: 0 auto;
  max-width: 100px;
  margin-bottom: 5px;
}

.payment-buttons .payment-btn.vnpay-btn {
  background-color: #f4e8d4;
  border: 2px solid #f4e8d4;
}

.payment-buttons .payment-btn.active {
  border: 2px solid var(--fs-color-secondary);
}

.payment-buttons .payment-btn:first-child {
  margin-bottom: 16px;
}

.paypal-button-text,
.paypal-button-space {
  color: #fff;
}

#ppc-button-ppcp-gateway {
  margin-top: 16px;
  border-top: 1px solid;
  padding-top: 16px;
}

.paypal-button-text.immediate {
  color: #fff !important;
}

/* #payment .input[type="checkbox"],
#payment input[type="radio"],
#payment input[type="checkbox"] + label,
#payment input[type="radio"] + label {
  display: none;
}

.payment_methods li + li {
  padding: 0;
} */

.proceed-payment-button {
  display: none;
}

.logged-in .proceed-payment-button {
  display: block;
}

.payment_box p {
  display: none;
}

#pay-vnpay {
  display: none;
  /* giữ để lúc chưa active không hiển thị */
  height: 55px;
  background-color: #f4e8d4;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease;
}

#pay-vnpay.active {
  display: flex;
  opacity: 1;
}

#pay-vnpay img {
  width: 120px;
  margin: auto;
  height: 40px;
}

.wc_payment_methods label {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  margin-top: 10px;
  cursor: pointer;
  position: relative;
  width: 100%;
  height: 60px;
  display: flex !important;
  align-items: center;
  padding-left: 40px;
  padding-right: 10pxKhô;
  margin: 0;
}

.wc_payment_methods input[type="radio"] {
  display: none;
  appearance: none;
}

.wc_payment_methods input[type="radio"]+label:before {
  content: "";
  background: #f4e8d4;
  border-radius: 100%;
  border: 1px solid #a9935c;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  right: unset;
  margin: 0;
  left: 10px;
}

.wc_payment_methods input[type="radio"]:checked+label:before {
  background-color: #123475;
  box-shadow: inset 0 0 0 4px #f4e8d4;
}

.wc_payment_methods input[type="radio"]:focus+label:before {
  outline: none;
  border-color: #3197ee;
}

.wc_payment_methods input[type="radio"]:disabled+label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}

.wc_payment_methods input[type="radio"]+label:empty:before {
  margin-right: 0;
}

.wc_payment_methods label img {
  display: none;
}

.wc_payment_methods .custom-gateway-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wc_payment_methods .custom-gateway-label img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  max-height: 40px !important;
  float: unset !important;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 1px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

ul.wc_payment_methods {
  background-color: #fff;
  border-radius: 8px;
}

.payment_methods li+li {
  padding: 0 !important;
}

.registration-loading-text {
  font-size: 18px;
  font-weight: bold;
}

/* Select2 Polish */
.select2-container .select2-selection--single {
  height: 47px !important;
  background-color: #ffffff !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 47px !important;
  color: #000 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  padding-left: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 45px !important;
  top: 1px !important;
  right: 10px !important;
}

.select2-dropdown {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
}

.select2-search--dropdown .select2-search__field {
  height: 40px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  padding: 5px 10px !important;
  background-color: #fff !important;
  /* Remove beige background from search */
}

.select2-results__option {
  padding: 8px 15px !important;
  font-size: 16px !important;
  color: #333 !important;
}

.select2-results__option--highlighted[aria-selected] {
  background-color: var(--fs-color-primary) !important;
  color: #fff !important;
}

/* Select2 Clear Button Styling */
.select2-container--default .select2-selection--single .select2-selection__clear {
  color: #999 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  border-radius: 50% !important;
  width: 22px !important;
  height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  right: 35px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
  color: #d9534f !important;
  background-color: rgba(217, 83, 79, 0.1) !important;
  transform: translateY(-50%) scale(1.15) !important;
}

.custom-gateway-text {
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.woocommerce-checkout form.checkout .chose-payments {
  margin-bottom: 20px;
  margin-top: 30px;
}

a.popup-link {
  background-color: #a9935c;
  width: 223px;
  height: 48px;
  display: block;
  font-family: "Playfair Display", sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  color: #fff;
  line-height: 1.8;
  margin: 0 auto;
  margin-top: 50px;
}

@media only screen and (max-width: 48em) {

  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .stock.in-stock {
    text-align: center;
    background-color: #e32a30;
    color: #fff;
  }

  .custom-product-page .col.medium-7 {
    padding-left: 15px;
  }

  .header-section {
    padding-top: 30px;
    padding-bottom: 0;
  }

  .header-section #main-logo {
    max-width: 150px;
    margin-bottom: 10px;
  }

  .header-section .site-title {
    font-size: 16px;
  }

  .header-section .product-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .event_introduction {
    padding-top: 30px;
  }

  .event_introduction h3,
  .about_our_chefs h3,
  .event_details h3 {
    font-size: 24px;
    text-align: left;
    margin-bottom: 15px;
  }

  .event_introduction p,
  .about_our_chefs p,
  .event_details p,
  .event_details ul,
  .event_details li {
    font-size: 16px;
    text-align: left;
  }

  .custom-product-page .add-to-cart-container {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    padding: 15px;
  }

  .custom-product-page form.cart {
    margin: 0;
  }

  .custom-product-page button.single_add_to_cart_button {
    width: 100%;
    margin: 0;
    font-size: 24px;
  }

  .event_details {
    padding-bottom: 50px;
    margin-bottom: 0;
  }

  #add_accompanying_person {
    margin: 0;
    width: 100%;
    font-size: 16px;
  }

  label,
  .woocommerce-input-wrapper label {
    font-size: 16px;
  }

  .woocommerce-input-wrapper label {
    font-weight: 500;
  }

  .select-resize-ghost,
  .select2-container .select2-choice,
  .select2-container .select2-selection,
  input[type="date"],
  input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px;
    height: 35px;
  }

  form.checkout h2,
  .form-row>label[for="vat_invoice_no"] {
    font-size: 24px;
  }

  form.checkout {
    margin: 0;
  }

  form.checkout .large-4.col {
    padding: 0;
  }

  #proceed_payment_button {
    font-size: 20px;
  }

  form.checkout .col+.col .col-inner {
    padding: 15px;
    max-width: calc(100% - 30px);
    margin-bottom: 15px;
  }

  .woocommerce-checkout .event_introduction h3 {
    font-size: 32px;
    text-align: center;
  }

  button.additional-button {
    height: 35px;
    font-size: 14px;
    min-width: 150px;
    bottom: calc(1em + 2px);
  }

  .header-section .gt_selector {
    position: relative;
    margin: auto;
    margin-bottom: 15px;
  }

  .text-content h2 {
    font-size: 30px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  #sort-select {
    max-width: 70%;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  #product-list .col {
    padding: 0 15px 30px;
  }

  .product-small .box-image {
    width: 100%;
    max-width: 100%;
  }

  .product-small .intro-wrapper {
    margin-bottom: 30px;
  }

  /* Force auto height on mobile to prevent cutting off content */
  .col-inner,
  .product-small.box,
  .product-small.box-vertical .box-text {
    height: auto !important;
  }

  .product-small.box {
    padding: 20px;
  }

  .product-small.box-vertical .box-text {
    padding-left: 0;
    padding-top: 20px;
  }

  .product-small.box-vertical .box-text .product-bottom {
    height: auto;
    min-height: 60px;
    margin-top: 20px;
  }

  .product-small .link-wrapper {
    width: 100%;
    position: relative;
  }

  .product-small .link-wrapper a {
    width: 100%;
    display: block;
    text-align: center;
  }

  .event-details-container {
    margin-bottom: 15px;
  }

  #footer .col {
    padding-bottom: 0;
  }

  #footer {
    text-align: center;
  }

  #footer h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  #footer .footer-top h3 {
    margin-bottom: 40px;
    margin-top: 20px;
  }

  #footer .footer-center h3,
  #footer .footer-bot h3 {
    margin-top: 30px;
  }

  .box-select {
    position: relative;
    margin: 0 auto;
    display: block;
    width: fit-content;
    margin-bottom: 15px;
  }
}

.icon-wrapper {
  width: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.field-text {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 15px;
  width: 100%;
}

/* Registration Page Styles */
.registration-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 15px;
  background-color: #fff;
}

.custom-registration-form {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.custom-registration-form .section-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 24px;
  color: #c09b2d;
  /* Gold color from image */
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 40px;
  border-bottom: 0;
}

.custom-registration-form .section-title.text-black {
  color: #000;
  font-size: 32px;
  /* Larger as per image */
  text-transform: none;
  /* Sentence case as per image */
  margin-bottom: 10px;
}

.custom-registration-form .section-title:first-child {
  margin-top: 0;
}

.custom-registration-form .form-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.custom-registration-form .form-group {
  display: flex;
  flex-direction: column;
}

.custom-registration-form .form-group.full-width {
  grid-column: 1 / -1;
}

.custom-registration-form label {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #123475;
  /* Dark blue */
  margin-bottom: 8px;
}

.custom-registration-form input[type="text"],
.custom-registration-form input[type="email"],
.custom-registration-form input[type="tel"],
.custom-registration-form input[type="date"],
.custom-registration-form select,
.custom-registration-form textarea {
  background-color: #fff !important;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
  height: 45px;
  color: #333;
  box-shadow: none !important;
  margin-bottom: 0;
}

.custom-registration-form textarea {
  height: auto;
  min-height: 100px;
}

.custom-registration-form input::placeholder,
.custom-registration-form textarea::placeholder {
  color: #aaa;
  font-weight: 400;
}

/* Date input placeholder styling */
.custom-registration-form input[type="date"]::-webkit-datetime-edit-text,
.custom-registration-form input[type="date"]::-webkit-datetime-edit-month-field,
.custom-registration-form input[type="date"]::-webkit-datetime-edit-day-field,
.custom-registration-form input[type="date"]::-webkit-datetime-edit-year-field {
  color: #aaa;
}

/* When date is selected or focused, show in dark color */
.custom-registration-form input[type="date"]:focus::-webkit-datetime-edit-text,
.custom-registration-form input[type="date"]:focus::-webkit-datetime-edit-month-field,
.custom-registration-form input[type="date"]:focus::-webkit-datetime-edit-day-field,
.custom-registration-form input[type="date"]:focus::-webkit-datetime-edit-year-field,
.custom-registration-form input[type="date"]:valid::-webkit-datetime-edit-text,
.custom-registration-form input[type="date"]:valid::-webkit-datetime-edit-month-field,
.custom-registration-form input[type="date"]:valid::-webkit-datetime-edit-day-field,
.custom-registration-form input[type="date"]:valid::-webkit-datetime-edit-year-field {
  color: #333;
}

.custom-registration-form small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #888;
}

.custom-registration-form .form-actions {
  margin-top: 40px;
  text-align: right;
}

.custom-registration-form button[type="submit"] {
  background-color: #123475;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-registration-form button[type="submit"]:hover {
  background-color: #c09b2d;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-registration-form .form-row-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Membership Type Toggle */
.membership-type-toggle {
  display: flex;
  gap: 0;
  margin-top: 8px;
  width: fit-content;
}

.membership-btn {
  padding: 8px 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #d0d0d0;
  background-color: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 150px;
  margin-right: 0px;
}

.membership-btn:first-child {
  border-radius: 4px 0 0 4px;
}

.membership-btn:last-child {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.membership-btn:hover {
  background-color: #f5f5f5;
}

.membership-btn.active {
  background-color: #2196F3;
  border-color: #2196F3;
  color: #fff;
}

/* Pro Institution Section - Hidden by default for Amateur */
.pro-institution-section {
  display: block;
}

.pro-institution-section.hidden {
  display: none;
}

.error-message {
  display: none;
  color: #e32a30;
  font-size: 12px;
  margin-top: 5px;
}

/* Activation Form Styles */
.custom-activation-form {
  max-width: 600px;
  margin: 50px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-activation-form h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: #123475;
  margin-bottom: 20px;
  text-align: center;
}

.custom-activation-form p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: center;
}

.custom-activation-form .form-group {
  margin-bottom: 25px;
}

.custom-activation-form .form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #123475;
  margin-bottom: 8px;
}

.custom-activation-form .form-group input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fff !important;
}

.custom-activation-form .form-group small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #888;
}

.custom-activation-form .form-actions {
  text-align: center;
  margin-top: 30px;
}

.custom-activation-form .button.primary {
  background-color: #123475;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-activation-form .button.primary:hover {
  background-color: #c09b2d;
}

.form-section {
  padding-top: 30px;
}

/* Registration Form Button - extends .btn-primary styles */
.custom-registration-form .form-actions .button.primary {
  background-color: var(--fs-color-primary);
  color: #fff;
  padding: 12px 40px;
  font-family: "Playfair Display", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  margin: 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.custom-registration-form .form-actions .button.primary:hover {
  background-color: var(--fs-color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.custom-registration-form .form-actions .button.primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Approval Page Styles - Enhanced */
.approval-container {
  max-width: 700px;
  margin: 60px auto;
  padding: 20px;
}

.approval-message {
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: fadeInUp 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.approval-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fs-color-primary), var(--fs-color-secondary));
}

.approval-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.approval-message.success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 2px solid #28a745;
  color: #155724;
  margin: 50px 40px 20px 40px;
}

.approval-message.success::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.approval-message.error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  border: 2px solid #dc3545;
  color: #721c24;
  margin: 50px 40px 20px 40px;
}

.approval-message.error::before {
  background: linear-gradient(90deg, #dc3545, #c82333);
}

.approval-message.warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px solid #ffc107;
  color: #856404;
}

.approval-message.warning::before {
  background: linear-gradient(90deg, #ffc107, #ff9800);
}

.approval-message h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 32px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

.approval-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  font-weight: 500;
}

.approval-message p {
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.8;
}

.approval-hint {
  font-size: 14px;
  opacity: 0.8;
  font-style: italic;
  margin-top: 20px;
}

.approval-date {
  font-size: 15px;
  margin-top: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  border-left: 3px solid currentColor;
}

.approval-details {
  margin: 30px 0;
  padding: 25px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  flex: 0 0 140px;
}

.detail-value {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.9);
  flex: 1;
  text-align: right;
}

.approval-next-step {
  margin-top: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
}

.approval-message strong {
  font-weight: 700;
  color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
  .approval-container {
    margin: 30px auto;
    padding: 15px;
  }

  .approval-message {
    padding: 35px 25px;
  }

  .approval-message h2 {
    font-size: 26px;
  }

  .approval-icon {
    font-size: 48px;
  }

  .detail-row {
    flex-direction: column;
    gap: 5px;
  }

  .detail-label,
  .detail-value {
    text-align: left;
  }
}

/* Login Page Styles */
.custom-login-container {
  max-width: 500px;
  margin: 60px auto;
  padding: 20px;
}

.custom-login-form {
  background: #fff;
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: fadeInUp 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.custom-login-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fs-color-primary), var(--fs-color-secondary));
}

.custom-login-form h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: var(--fs-color-primary);
  text-align: center;
}

.login-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 35px;
  font-size: 15px;
  line-height: 1.6;
}

.login-form .form-group {
  margin-bottom: 25px;
}

.login-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.login-form .form-group .required {
  color: #dc3545;
}

.login-form .form-group input[type="text"],
.login-form .form-group input[type="password"],
.login-form .form-group input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff !important;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.login-form .form-group input:focus {
  outline: none;
  border-color: var(--fs-color-primary);
  box-shadow: 0 0 0 3px rgba(169, 147, 92, 0.1);
}

.login-form .checkbox-group {
  margin-bottom: 30px;
}

.login-form .checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.login-form .checkbox-group input[type="checkbox"] {
  margin: 0 10px 0 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  vertical-align: middle;
}

.login-form .form-actions {
  margin-bottom: 25px;
}

.login-form .btn-login {
  width: 100%;
  /* padding: 16px; */
  font-size: 17px;
  font-weight: 700;
  background-color: var(--fs-color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Playfair Display", serif;
  box-shadow: 0 4px 12px rgba(169, 147, 92, 0.3);
}

.login-form .btn-login:hover {
  background-color: var(--fs-color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(169, 147, 92, 0.4);
}

.login-form .btn-login:active {
  transform: translateY(0);
}

.login-form .form-links {
  text-align: center;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e0e0e0;
}

.login-form .form-links p {
  margin: 0;
  color: #666;
  font-size: 15px;
}

.login-form .form-links a {
  color: var(--fs-color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-form .form-links a:hover {
  color: var(--fs-color-secondary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-login-container {
    margin: 30px auto;
    padding: 15px;
  }

  .custom-login-form {
    padding: 35px 25px;
  }

  .custom-login-form h2 {
    font-size: 26px;
  }

  .login-form .btn-login {
    padding: 14px;
    font-size: 16px;
  }
}

/* Login Card View Styles */
.login-card-view {
  max-width: 400px;
  margin: 0 auto;
}

.login-card-view .custom-login-form {
  padding: 30px 25px;
}

.login-card-view .login-card-title {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: var(--fs-color-primary);
  text-align: center;
}

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

.login-card-view .custom-login-form h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* Registration Card View */
.registration-card-view {
  background: #fff;
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: fadeInUp 0.5s ease-out;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 40px auto;
  /* border-top: 5px solid #c09b2d; Removed in favor of gradient */
}

.registration-card-view::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fs-color-primary), var(--fs-color-secondary));
}

@media (max-width: 768px) {
  .registration-card-view {
    padding: 30px 20px;
    margin: 20px auto;
  }
}

/* Registration Header Styles */
.registration-card-view h2,
.registration-card-view h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: var(--fs-color-primary);
  text-align: center;
}

.registration-card-view h2 {
  font-size: 32px;
}

.registration-card-view h3.registration-card-title {
  font-size: 24px;
}

.registration-card-view .registration-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 35px;
  font-size: 15px;
}


.login-card-view .form-group label {
  font-size: 14px;
  margin-bottom: 6px;
}

.login-card-view .form-group input[type="text"],
.login-card-view .form-group input[type="password"] {
  padding: 12px 14px;
  font-size: 15px;
}

.login-card-view .checkbox-group {
  margin-bottom: 20px;
}

.login-card-view .form-actions {
  margin-bottom: 20px;
}

.login-card-view .btn-login {
  padding: 14px;
  font-size: 16px;
}

.login-card-view .form-links {
  margin-top: 20px;
  padding-top: 20px;
}

.login-card-view .form-links p {
  font-size: 14px;
}

/* Card view responsive */
@media (max-width: 768px) {
  .login-card-view {
    max-width: 100%;
  }

  .login-card-view .custom-login-form {
    padding: 25px 20px;
  }
}

/* Contact message box */
.contact-message-box {
  margin-top: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.contact-message-box p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.contact-message-box a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.contact-message-box a:hover {
  text-decoration: underline;
}

/* ========================================
   Group Events Page Styles
   ======================================== */

.group-events-container {
  margin: 40px 0;
}

.event-group {
  margin-bottom: 60px;
}

.group-header {
  background: linear-gradient(135deg, #12357580 0%, #12347580 100%);
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 10px 30px 10px;
  box-shadow: 0 4px 20px rgba(90, 159, 189, 0.25);
  transition: box-shadow 0.3s ease;
}

.group-header:hover {
  box-shadow: 0 6px 30px rgba(90, 159, 189, 0.35);
}

.group-date {
  /* color: white; */
  text-align: center;
  min-width: 150px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.group-date .day-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
  opacity: 0.95;
}

.group-date .month-year {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  opacity: 0.9;
  text-transform: uppercase;
  color: var(--fs-color-secondary);
}

.group-title {
  flex: 1;
}

.group-title h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.3;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--fs-color-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .group-header {
    flex-direction: column;
    padding: 25px 20px;
    gap: 20px;
    text-align: center;
    margin: 0 10px 30px 10px;
  }

  .group-date {
    min-width: auto;
  }

  .group-events-list {
    padding: 0 10px;
  }
}

/* ========================================
   Nested Event Card Styles (Horizontal Layout)
   ======================================== */

.nested-event-card {
  display: flex;
  gap: 20px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.nested-event-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nested-event-image {
  flex-shrink: 0;
  width: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.nested-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.nested-event-card:hover .nested-event-image img {
  transform: scale(1.05);
}

.nested-event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nested-event-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}

.nested-event-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nested-event-title a:hover {
  color: #A9935C;
}

.nested-event-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nested-event-button {
  margin-top: auto;
}

.nested-event-button .button {
  display: inline-block;
  padding: 12px 30px;
  background: #A9935C;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
  text-align: center;
}

.nested-event-button .button:hover {
  background: #8B7A4A;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nested-event-card {
    flex-direction: column;
    gap: 15px;
  }

  .nested-event-image {
    width: 100%;
    height: 200px;
  }
}

/* ========================================
   Nested Event Card Styles (for grouped events)
   ======================================== */

.nested-event-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.nested-event-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Row 1: Title */
.nested-event-title {
  text-align: left;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.nested-event-title h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--fs-color-secondary);
  line-height: 1.3;
}

/* Row 2: Image + Content */
.nested-event-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
  align-items: start;
}

.nested-event-image {
  width: 250px;
  height: 350px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 auto;
}

.nested-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nested-event-image:hover img {
  transform: scale(1.05);
}

.nested-event-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nested-event-details .field-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.nested-event-details .field-text .icon-wrapper {
  flex-shrink: 0;
}

.nested-event-details .field-text span {
  flex: 1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
}

/* Row 3: Buttons */
.nested-event-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.nested-button-left,
.nested-button-right {
  text-align: center;
}

.nested-event-buttons .button {
  width: 100%;
  padding: 12px 40px;
  font-family: "Playfair Display", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.nested-event-buttons .button.primary {
  background-color: var(--fs-color-primary);
  color: #fff;
  border: none;
}

.nested-event-buttons .button.primary:hover {
  background-color: var(--fs-color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nested-event-buttons .button.secondary {
  background-color: transparent;
  color: var(--fs-color-primary);
  border: none;
  text-decoration: underline;
  padding: 12px 20px;
  box-shadow: none;
}

.nested-event-buttons .button.secondary:hover {
  color: var(--fs-color-secondary);
  background-color: transparent;
  transform: none;
  box-shadow: none;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nested-event-content {
    grid-template-columns: 1fr;
  }

  .nested-event-image {
    width: 250px;
    height: 350px;
    margin: 0 auto;
  }

  .nested-event-buttons {
    grid-template-columns: 1fr;
  }

  .nested-event-title h3 {
    font-size: 18px;
  }
}

/* ========================================
   Event Details Popup Modal Styles
   ======================================== */

.event-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.event-popup-modal {
  background: white;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.event-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  border: none;
  font-size: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.event-popup-close:hover {
  background: #f0f0f0;
  transform: rotate(90deg);
}

.event-popup-loading {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: #666;
}

.event-popup-content {
  padding: 30px;
}

.event-popup-header h2 {
  margin: 0 0 20px 0;
  font-size: 28px;
  color: var(--fs-color-secondary);
  text-align: center;
  font-family: "Playfair Display", serif;
}

.event-popup-image {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.event-popup-image img {
  width: 100%;
  height: auto;
  display: block;
}

.event-popup-section {
  margin-bottom: 30px;
}

.event-popup-section h3 {
  font-size: 22px;
  color: #D2691E;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
  text-transform: uppercase;
}

.event-popup-section p {
  line-height: 1.6;
  color: #333;
}

.popup-detail-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.6;
}

.popup-detail-item:last-child {
  border-bottom: none;
}

.popup-detail-item strong {
  color: var(--fs-color-secondary);
  display: inline-block;
  min-width: 120px;
}

.event-popup-footer {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.event-popup-footer .button {
  padding: 15px 50px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .event-popup-modal {
    max-height: 95vh;
  }

  .event-popup-content {
    padding: 20px;
  }

  .event-popup-header h2 {
    font-size: 22px;
  }

  .event-popup-section h3 {
    font-size: 18px;
  }
}