@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//flightgolf.vn/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.1.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//flightgolf.vn/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//flightgolf.vn/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//flightgolf.vn/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//flightgolf.vn/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//flightgolf.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//flightgolf.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//flightgolf.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//flightgolf.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(38,38,38);
	--wd-text-font-size: 16px;
	--wd-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Merriweather", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(69,131,62);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(69,131,62);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-placeholder-color: rgb(158,158,158);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 1000;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);}
.gctitle{
   white-space: nowrap; /* Không xuống dòng */
    overflow: hidden; /* Ẩn phần tràn ra ngoài */
    text-overflow: ellipsis !important; /* Hiển thị "..." nếu text quá dài */
    display: block; /* Đảm bảo hoạt động đúng */
    max-width: 100% !important; /* Giữ đúng kích thước */
    line-height: 1.4; /* Giữ đủ khoảng trống để chữ không bị cắt */
    padding-bottom: 2px; /* Tránh mất phần dưới của chữ */}
.glassmorphims{
/* From https://css.glass */
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.8px);
-webkit-backdrop-filter: blur(10.8px);
border: 1px solid rgba(255, 255, 255, 0.22);
}
.tes1, .tes2, .tes3, .tes4, .tes5, .tes6, .tes7, .tes8, .tes9 {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

/*Thêm badge new*/
.new-text::after {
    content: "NEW";
    color: white;
    background-color: red;
    font-weight: bold;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
	 position: relative;
    top: -8px;
}


/*Custom Bảng giá*/
#golf-table {
  table-layout: fixed;
}
#golf-table td,
#golf-table th {
  border: 1px solid #ccc;
  padding: 8px;
  vertical-align: middle;
}

#golf-table a.btn-book {
  display: inline-block;
  padding: 6px 16px;
  background-color: #3A8D39;
  color: #fff;
  border-radius: 40px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

#golf-table a.btn-book:hover {
  background-color: #2e6f2e;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#golf-table .row-even {
    background-color: #f9f9f9;
}
#golf-table .row-odd {
    background-color: #ffffff;
}

.wpcf7 input[type="submit"] {
  background-image: linear-gradient(to bottom, #009f3c, #00792f); /* Gradient từ trên xuống */
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  text-align: center;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.wpcf7 input[type="submit"]:hover {
  background-image: linear-gradient(to right, #00792f, #005e24); /* Đậm hơn khi hover */
}
/* Sticky cột trái */
/* Sticky column cho tên sân */
.sticky-col {
  position: sticky;
  background-color: #e8ffde;
  z-index: 2;
}

thead .sticky-col {
  z-index: 3;
}

/* Chỉ sticky cột “Sân gôn” bên trái */
/* Base header cell styling */
thead th {
	font-size:14px;
  position: relative;
  height: 60px;
  overflow: hidden;
  vertical-align: middle;
  text-align: center;
  padding: 10px;
  border: 1px solid #ccc;
  color: #ffffff;
  background-color: #3A8D39;
  font-weight: bold;
  text-transform: none;
  box-shadow: inset 0 0 0 1px #3A8D39;
  white-space: nowrap;
}

/* Sticky column: Sân gôn */
.sticky-san-gon {
  position: sticky;
  left: 0;
  background-color: #3A8D39;
  z-index: 3;
  max-width: 25vw;
  min-width: 180px;
}

/* Đảm bảo cột sticky đứng sau input */
.sticky-san-gon input {
  background-color: white !important;
  color: black;
}

/* Các cột header còn lại */
.header-no, .header-khuvuc, .header-group, .header-fee, .header-bonus, .header-datsan, .header-child {
  background-color: #3A8D39;
}

/* Responsive fix cho sticky chỉ hoạt động trên mobile */
@media (min-width: 768px) {
  .sticky-san-gon {
    position: static;
  }
}

@media (max-width: 768px) {
  th.sticky-col,
  td.sticky-col {
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: #e8ffde;
    min-width: calc(100vw / 3);
    max-width: calc(100vw / 3);
    width: calc(100vw / 3);
    border-right: 1px solid #ccc !important; /* VẠCH KẺ DỌC */
    box-shadow: 1px 0 0 #ccc; /* Đảm bảo luôn có đường ngăn cách khi overlap */
  }

  td.sticky-col {
    z-index: 2;
  }

  th.sticky-col input {
    max-width: 100%;
  }
}
