/* 
 * Landi: 20250906
 * Trung thu dieu ky
 * code: ttdk
 *  */

.page-template-page-blank-landingpage:has(.ttdk-hero) .header-notifi {
	display: none;
}

/* Config ----- */
.ttdk {
	--color-bg: 123, 7, 12;
	--color-bg-2nd: 158 13 9;
	--color-text-title: 255,255,255;
	--color-primary: 253, 228, 151;
	--color-primary-bold: 242 188 94;
	--color-primary-lighter: 251 228 168;
	--color-secondary: 220 17 0;
	
	--linear-text-primary: linear-gradient(90deg, #f5be5e 0%, #fbe6ad 47.3%, #f5be5e 93.62%);
	--linear-bg-primary: linear-gradient(90deg, #f5be5e 0, #fbe6ad 47.3%, #f5be5e 93.62%), linear-gradient(180deg, #ff1502 14.17%, #930200 91.67%);
	--linear-bg: linear-gradient(180deg, #ff1502 0, #930200 100%);	
	
	--size-ratio: 1.15;
    --size-small: calc(1rem - 1px);
    --size-small-a: calc(var(--size-small) - 1px);
    --size-2: calc(1rem * var(--size-ratio) - 1px);
    --size-3: calc(var(--size-2) * var(--size-ratio));
    --size-4: calc(var(--size-3) * var(--size-ratio));
    --size-5: calc(var(--size-4) * var(--size-ratio));
    --size-6: calc(var(--size-5) * var(--size-ratio));
    --size-7: calc(var(--size-6) * var(--size-ratio));
    --size-8: calc(var(--size-7) * var(--size-ratio));
	
	font-size: 16px;
}

.ttdk h1,
.ttdk h2 {
    font-size: var(--size-7);
    color: rgb(var(--color-primary));
    -webkit-text-fill-color: transparent;
    background: var(--linear-bg-primary);
    -webkit-background-clip: text;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 16px;	
}

.ttdk h6 {
	opacity: 1;
    color: rgb(var(--color-primary));
    -webkit-text-fill-color: transparent;
    background: var(--linear-bg-primary);
    -webkit-background-clip: text;
    text-transform: unset;
    letter-spacing: 0;
    font-size: var(--size-small);
    line-height: 1.3;
    margin-bottom: 14px;	
	font-weight: 600;
}

.ttdk .color-linear-primary {
    color: rgb(var(--color-primary));
    -webkit-text-fill-color: transparent;
    background: var(--linear-bg-primary);
    -webkit-background-clip: text;	
}

/* Button ---- */
.ttdk-btn.button {
    color: rgb(var(--color-secondary));
    background: var(--linear-bg-primary);
    border-radius: 300px;
    font-size: 1rem;
    min-height: unset;
    line-height: 1.3;
	border: 1px solid rgb(var(--color-primary-lighter));
	padding: 8px 24px;
	margin-bottom: 14px;
}

.ttdk-btn.button.is-large {
    font-size: var(--size-3);
	padding: 8px 30px;
}

.ttdk-btn.primary {
    color: rgb(var(--color-secondary));
    background: var(--linear-bg-primary);
	border: 1px solid rgb(var(--color-primary-lighter));
}

.ttdk-btn.secondary {
    background: rgb(var(--color-secondary));
    color: rgb(var(--color-primary));
	border:0px;
}


/* Hero ---- */
.ttdk-hero {
	overflow: hidden;
	z-index: 20;
}

.ttdk-hero .button {
	animation: 1.5s scale-up infinite;
}

.ttdk-hero .el-counts {
	display: flex;
    justify-content: center;
    gap: 15px 4px;
    flex-wrap: wrap;
}

.ttdk-hero .el-count {
	width: 50px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--linear-bg);
    border-radius: 8px;
    font-size: var(--size-7);
    font-weight: bold;
    border: 1px solid rgb(var(--color-primary-bold));
    margin: 0;	
} 

.ttdk-hero .el-count p {
	margin: 0;
    color: rgb(var(--color-primary-bold));
} 

.ttdk-hero .el-decor-bottom {
	margin-left: auto;
	max-width: 300px;
}

.opacity-50 {
	opacity: 50%;
}

.opacity-40 {
	opacity: 40%;
}

.opacity-30 {
	opacity: 30%;
}

.opacity-20 {
	opacity: 20%;
}

.opacity-10 {
	opacity: 10%;
}

.ttdk-hero .lan {
    position: absolute;
    line-height: 0;
    pointer-events: none;
}

.ttdk-hero .lan img {
    width: 100%;
    height: auto;
}

.ttdk-hero .lan-01 {
    width: 23.066667vw;
    bottom: -2vw;
    left: -4vw;
}

.ttdk-hero .lan-01 img {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
}

.ttdk-hero .lan-02 {
    width: 17.066667vw;
    bottom: 23vw;
    left: 0;
}

.ttdk-hero .lan-02 img {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    opacity: 0.8;
}

.ttdk-hero .lan-03 {
    width: 7.066667vw;
    bottom: 41vw;
    left: 11vw;
}

.ttdk-hero .lan-03 img {
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg);
    opacity: 0.7;
}

.ttdk-hero .lan-04 {
    width: 20.066667vw;
    bottom: 44vw;
    left: -5vw;
}

.ttdk-hero .lan-05 {
    width: 18.066667vw;
    bottom: 10vw;
    right: 0;
}

.ttdk-hero .lan-05 img {
    -webkit-transform: rotate(40deg);
    transform: rotate(40deg);
}

.ttdk-hero .lan-06 {
    width: 7.066667vw;
    bottom: 28vw;
    right: 10vw;
}

.ttdk-hero .lan-06 img {
    opacity: 0.7;
}

.ttdk-hero .lan-07 {
    width: 13.066667vw;
    bottom: 28vw;
    right: 0;
}

.ttdk-hero .lan-07 img {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    opacity: 0.9;
}

.ttdk-hero .lan-08 {
    width: 6.066667vw;
    bottom: 43vw;
    right: 4vw;
}

.ttdk-hero .lan-08 img {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
    opacity: 0.7;
}

.ttdk-hero .lan-09 {
    width: 23.066667vw;
    bottom: 47vw;
    right: -3vw;
}

.ttdk-hero .lan-09 img {
    -webkit-transform: rotate(38deg);
    transform: rotate(38deg);
}

.ttdk-hero .lan-01,
.ttdk-hero .lan-02,
.ttdk-hero .lan-03,
.ttdk-hero .lan-04,
.ttdk-hero .lan-05,
.ttdk-hero .lan-06,
.ttdk-hero .lan-07,
.ttdk-hero .lan-08,
.ttdk-hero .lan-09 {
    opacity: 0;
}

.ttdk-hero .lan-01 {
    animation: 26s ease-in-out infinite decorY;
}

.ttdk-hero .lan-02 {
    animation: 24s ease-in-out infinite decorY 1.25s;
}

.ttdk-hero .lan-03 {
    animation: 22s ease-in-out infinite decorY 2.5s;
}

.ttdk-hero .lan-04 {
    animation: 20s ease-in-out infinite decorY 4.75s;
}

.ttdk-hero .lan-05 {
    animation: 28s ease-in-out infinite decorY;
}

.ttdk-hero .lan-06 {
    animation: 26s ease-in-out infinite decorY 1.5s;
}

.ttdk-hero .lan-07 {
    animation: 24s ease-in-out infinite decorY 3.75s;
}

.ttdk-hero .lan-08 {
    animation: 22s ease-in-out infinite decorY 5s;
}

.ttdk-hero .lan-09 {
    animation: 20s ease-in-out infinite decorY 7.25s;
}

@keyframes decorY {
  0% {
    opacity: 0;
    -webkit-transform: translateY(5vh);
    transform: translateY(5vh);
  }
  5%, 95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-110vh);
    transform: translateY(-110vh);
  }
}


/* Landi - TTDK form ---- */
.ttdk-form {
	z-index: 40;
}

.ttdk-form .section-bg.bg-loaded {
    background-repeat: repeat ! important;
    background-size: contain !important;
}

.ttdk-form p strong {
	font-weight: 600;
}

.ttdk-form .decor-line-top {
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    transform: translateY(-50%);
    background: linear-gradient(0deg, transparent, rgb(95 5 8), transparent);	
}

.ttdk-form  .pt-popup-btn-open {
    width: fit-content;
    cursor: pointer;	
}

.ttdk-form-order {
	text-align: left;
    background: rgb(var(--color-bg-2nd));
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 30px rgb(0 0 0 / 20%);	
	border: 1px solid rgb(var(--color-primary-bold));
	font-size: 14px;
    font-weight: 600;
	
	--input-h:48px;
}

.ttdk-form-order label {
    font-size: 1rem;
    color: rgb(var(--color-primary-bold));
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;	
}

.ttdk-form-order .wpcf7-form-control-wrap {
	margin-bottom: 20px;
}

.ttdk-form-order .wpcf7-form-control:not(.wpcf7-submit) {
    margin-bottom: 0;
    height: var(--input-h);
    font-size: 16px;
    background-color: white;
    color: #111;
    border: 1px solid rgb(var(--color-primary));
    border-radius: var(--radius-1);
    box-shadow: unset;	
	outline: unset;
    font-weight: 500;
}

.ttdk-form-order .wpcf7-form-control:not(.wpcf7-submit):hover,
.ttdk-form-order .wpcf7-form-control:not(.wpcf7-submit):focus {
    background-color: white;
    box-shadow: unset;	
}

.ttdk-form-order .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	position: relative;
    margin-bottom: 0;
    margin-top: 10px;
    background-color: transparent;
    color: white;
    opacity: 1;
    font-size: var(--size-small);
    font-weight: 600;
    padding: 0;
}

.ttdk-form-order .wpcf7-form-control-wrap .wpcf7-not-valid-tip:after {
	display: none;
}


.ttdk-form-order .wpcf7-submit{
    margin: 0;
    height: var(--input-h);
    font-size: var(--size-2);
    text-align: center;
    width: 100%;
    border-radius: var(--radius-1);
    background-color: rgb(var(--color-secondary));
    color: rgb(var(--color-primary-lighter))!important;
    box-shadow: 0 5px 20px rgba(0 0 0 / 6%);
    transition: 320ms all;	
	    margin-top: 20px;
}


.ttdk-form-order .el-note p {
    color: rgb(var(--color-primary));
    line-height: 1.6;	
}

.ttdk-form-order .el-link {
    margin: 0;
    display: inline;
    padding: 0;
    font-weight: 600;
    text-transform: unset;
    letter-spacing: 0;
    color: rgb(var(--color-primary-bold));
    text-decoration: underline 1px;
    line-height: inherit;
    min-height: unset;	
	transition: 320ms all;
}

.ttdk-form-order .el-link:hover {
    color: rgb(var(--color-primary-bold));
	opacity: 0.7;
}



/* Ux - Popup --- */
.ttdk.pt-popup-wrap .pt-popup-content > .wrap {
    pointer-events: all;
    background: var(--linear-text-primary);
    padding: max(22px, 2.5vw);
    padding-right: max(18px, 2vw);
    border-radius: var(--radius-3);
	width: 720px;
    max-width: 90vw;	
	border: 2px solid rgb(var(--color-primary));
box-shadow: 0px 6px 0px rgb(var(--color-secondary));
}

.ttdk.pt-popup-wrap .popup__content--wrap {
    height: 600px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;	
}

.ttdk.pt-popup-wrap .popup__content--wrap * {
	color: #5a0100;
	border-color: #5a0100;
}

.ttdk.pt-popup-wrap .popup__content--wrap::-webkit-scrollbar {
  height: 4px;
  width: 4px;
  display: block;
  -webkit-appearance: none;
}

.ttdk.pt-popup-wrap .popup__content--wrap::-webkit-scrollbar-thumb {
  background: rgb(var(--color-secondary)) !important;
  border-radius: 99px;
}

.ttdk.pt-popup-wrap .popup__content--wrap::-webkit-scrollbar-track {
  background: #5a0100;
} 

.ttdk.pt-popup-wrap :is(blockquote, dl, figure, form, ol, p, pre, ul) {
    margin-bottom: 16px;
}

.ttdk.pt-popup-wrap .table__box {
    overflow: auto;
    max-width: 100%;
    width: 100%;	
}



/* Ux - Video  Button ------- */
.col-video .video-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-video-wave .button.open-video {
  margin: 0;
  border: 0;
  opacity: 1;
  background-color: rgb(var(--bg));
  color: rgb(var(--color-primary));
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 30px rgb(255 255 255 / 80%);
  position: relative;
  z-index: 10;
  width: 70px;
  height: 70px;
}

.btn-video-wave .button.open-video:after {
	content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: -5;
    background-color: rgb(var(--bg));
}

.btn-video-wave .button.open-video:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: shadown-scale 1.1s infinite;
  border-radius: 50%;
  z-index: -1;
  box-shadow: 0 0 16px #fff;
}

.ttdk-form .el-thum-video {
    border-radius: var(--radius-2);
    overflow: hidden;
    box-shadow: 5px 5px 12px 8px rgb(0 0 0 / 20%);
}

.ttdk-form  .btn-video-wave .button.open-video {
    background-color: #fff;
    color: #000;
    width: 50px;
    height: 50px;
	font-size: 20px;
}


@keyframes shadown-scale {
  0% {
    transform: scale(0.9);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 30px transparent;
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 transparent;
  }
} 


/* Category ---- */
.ttdk-cate {
  --item-w: calc(100% / 2);
  --item-p: 10px 15px 10px;	
}

.ttdk-cate .post-item .col-inner {
    border: 1px solid rgb(var(--color-primary-bold));
    border-radius: 24px;
    padding: 25px;	
}

.ttdk-cate .post-item p {
	margin: 0;
    background: var(--linear-text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: var(--size-2);
    font-weight: bold;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-align: center;
    height: 2.6em;
}

.ttdk-cate .post-item .img{
width: 90%;
    margin-bottom: 15px;	
}

.ttdk .slider-nav-light .flickity-prev-next-button .arrow, 
.ttdk .slider-nav-light .flickity-prev-next-button svg {
    fill: rgb(var(--color-primary));
}

.ttdk .slider-nav-light .flickity-prev-next-button:hover .arrow, 
.ttdk .slider-nav-light .flickity-prev-next-button:hover svg {
    fill: rgb(var(--color-primary));
}

.ttdk-cate .tab > a {
    font-size: var(--size-2);
    opacity: 0.8;
	color:white;
    padding: 2px 15px;	
}

.ttdk-cate .tab > a:hover {
    opacity: 1;
}

.ttdk-cate .tab.active > a {
	opacity: 1;
    background: var(--linear-text-primary);
  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ttdk-cate .tab + .tab > a {
    border-left: 1px solid rgb(var(--color-primary-bold));
}


/* Buy at --- */
.ttdk-buy-at .img {
    width: 100px !important;
    background-color: white;
    padding: 4px 10px;
    border-radius: var(--radius-2);
    border: 1px solid rgb(var(--color-primary-bold));
    margin: 0;	
}

.ttdk-buy-at .img img {
	object-fit: contain;
}

.ttdk-buy-at .el-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 15px;	
}

.ttdk-buy-at .button {
    box-shadow: 0 5px 20px rgb(0 0 0 / 20%);	
}


/* Footer - -- */
.ttdk-footer .ux-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px 10px;
    justify-content: center;
    text-align: center;	
}

.ttdk-footer .ux-menu-link__link {
	padding: 0;
    min-height: unset;
    line-height: 1.3;
    font-weight: 600;
    font-size: var(--size-small);
    background: var(--linear-text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 320ms all;	
}

.ttdk-footer .ux-menu-link__link:hover {
	opacity:0.8;
}

.ttdk-footer .menu-item + .menu-item .ux-menu-link__link {
	border-left: 1px solid rgb(var(--color-primary-bold));
    padding-left: 10px;
}

.ttdk-footer p strong {
	font-weight: 600;
}


/* Float gift ---- */
.ttdk-float-gift {
    position: fixed;
    z-index: 100;
    right: 2vw;
    bottom: 3vh;
    text-align: center;
    filter: drop-shadow(2px 2px 4px rgb(0 0 0 / 20%));
    animation: 1400ms scale-up infinite;
}

.ttdk-float-gift .img {
    width: 56px!important;
    margin: 0 auto 5px;
    position: relative;	
}

.ttdk-float-gift p {
	margin: 0;
    font-size: 12px;
    font-weight: 700;
    background: var(--linear-text-primary);
    line-height: 1.3;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;	
}

.ttdk-float-gift {
	
}

@keyframes scale-up {
	0%, 100% {
		transform: scale(1);
	}
	70% {
		transform: scale(1.1);
	}
}













/* Response ----- */
@media only screen and (max-width: 849px) {
    .ttdk {
        font-size: 15px;
        --size-ratio: 1.12;
    }
	
	.ttdk-form-order {
		padding: 20px 20px 30px; 
	}
	.ttdk-cate {
	  --item-w: 100%;
	}
	
	    .ttdk .slider-wrapper .flickity-prev-next-button {
        display: block;
        opacity: 1;
    }
}

@media only screen and (max-width: 549px) {
 
}




















