/*
Theme Name: hyn
Author: hcsoftvn
Author URI: https://hcdigiz.com/
Theme URI: https://hcdigiz.com/
Tags: full-site-editing, block-patterns
Text Domain: hyn
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }
}
.minigame {cursor:pointer;}
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.home header.scrolled {
  background: #841D19;
}

.home header.scrolled .box_head {
  padding: 10px 0 !important;
  filter: drop-shadow(1px 1px 16px rgba(0, 0, 0, 0.10));
}

a {
  line-height: normal !important;
}

:root :where(.wp-block-navigation a:where(:not(.wp-element-button))) {
  text-decoration: none;
}

:root :where(.wp-block-navigation a:where(:not(.wp-element-button))):hover,
a:hover {
  text-decoration: underline !important;
}

body,
.wp-site-blocks {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  line-height: normal !important;
}

body .pc {
  display: flex !important;
}

body .mb {
  display: none !important;
}
.pulse {
	animation-name: pulse;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.9);
  }
}
.home header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0px;
  z-index: 999;
}

.popup-thumbnails .thumb {
  border-radius: 6px;
}

.popup-thumbnails .thumb.active {
  border: 2px solid var(--r2, #B70A03);
}

.hc-widget-scroll-wrapper {
  display: flex;
  gap: 20px;
  padding: 0px;
}

.hc-widget-card {
  cursor: pointer;
  flex: 0 0 228px;
  color: #333;
  transition: all 0.3s ease;
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.hc-widget-card .number .gspb_heading {
  text-align: right;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--r1, #841D19);
  color: transparent !important;
  font-family: "Roboto Mono";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  /* 65% */
}

.hc-widget-card.active .number .gspb_heading {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--bg, #FFF1C5);
}

.hc-widget-card .noidung,
.hc-widget-card.active .nut_pop {
  display: none !important;
}

.hc-widget-card .noidung .gspb_text {
  white-space: nowrap;
}

.hc-widget-card img {
  max-width: none !important;
}

.hc-widget-card.active {
  flex: 0 0 513px;
  background-image: url("https://hopyeunuoc.com/wp-content/uploads/2025/08/Rectangle-3151.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  z-index: 1;
  transition: all 1s ease;
}

.hc-widget-card.active .noidung {
  display: flex !important;
}

.radius-12 img {
  border-radius: 12px;
}

.pop_trigger {
  display: flex;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 21;
}

.popup-overlay {
  position: fixed !important;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  width: 90%;
  max-width: 1000px !important;
}

.popup-main-image-wrapper,
.qty-btn,
.popup-close {
  position: relative;
  cursor: pointer;
}

.zoomResult {

  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #f3f3f3;
  background-repeat: no-repeat;
  visibility: hidden;
  pointer-events: none;
  will-change: background-position;
  z-index: 12;
}

.size-btn {
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid transparent;
  justify-content: center !important;
}

.size-btn.active {
  border: 1px solid rgba(132, 29, 25, 0.50);
}

.mo-ta {
  max-height: 156px;
  overflow-y: auto;
  padding-right: 4px;
  /* tránh chữ bị che bởi scrollbar */

  /* scrollbar cho WebKit browsers */
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: #822000 #fdf6f0;
  /* Firefox */
}

.mo-ta::-webkit-scrollbar {
  width: 6px;
}

.mo-ta::-webkit-scrollbar-track {
  background: #fdf6f0;
  /* màu nền scrollbar track */
  border-radius: 3px;
}

.mo-ta::-webkit-scrollbar-thumb {
  background-color: #822000;
  /* màu nâu đậm như hình */
  border-radius: 3px;
}

.cart-icon {
  position: relative;
  margin-right: 20px !important;
  margin-top: 20px !important;
}

.cart-icon .cart-count {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 14px;
  background: var(--bg, #FFF1C5);
  text-align: center;
  line-height: 20px;
  color: var(--r1, #841D19);
  text-align: center;
  font-family: "Roboto Mono";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  top: -10px;
  right: -10px;
}

.nav-pa {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-pa .swiper-nav {
  display: flex;
  gap: 16px;
}

.nav-pa .swiper-button-disabled {
  opacity: 0.2;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
  border-radius: 5px;
  border: 2px solid var(--r1, #841D19);
  background: #F2F2F2;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--r1, #841D19) !important;
  width: 24px;
}

#gspb_container-id-gspb-9ON8AAv.gspb_container {
  box-sizing: border-box;
}

.wpcf7 .dk_email p {
  display: flex;
  justify-content: space-between;
  margin: 7px 0;
}

.hidden-fields-container {
  display: none;
}

.screen-reader-response {
  display: none;
}

.wpcf7-response-output {
  position: absolute;
}

.wpcf7 .form-row p {
  margin: 0;
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.wpcf7-form-control {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 5px 0;
}

.wpcf7-form-control::placeholder {
  color: var(--r1, #841D19);
  /* b1 */
  font-family: "Roboto Mono";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  /* 162.5% */

}

.wpcf7 .form-row.date-time,
.wpcf7 .form-row.loai-tiec {
  margin-top: 20px;
}

.wpcf7 .form-row.date-time p {
  display: grid;
  grid-template: auto / 1fr 1fr;
  width: 100%;
}

.wpcf7-spinner {
  position: absolute;
  bottom: -50px;
}

.dk_email .wpcf7-submit {
  width: 148px;
  height: 42px;
  position: absolute;
  right: 0;
  top: 0;
  color: #fff;
  text-transform: uppercase;
  border-radius: 0;
  border-radius: 0 6px 6px 0;
  background: var(--r1, #841D19);
}

.checkout-step {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.checkout-step.active {
  display: block;
  opacity: 1;
}

.cart-item {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button {
  padding: 8px 16px;
  background: #800000;
  color: #fff;
  border: none;
  cursor: pointer;
}

.fade {
  transition: opacity 0.5s ease-in-out;
}

.cart-item .remove-btn {
  background: none;
  border: none;
  color: red;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

#checkout-app {
  display: flex;
  padding: 50px 90px;
  flex-direction: column;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(132, 29, 25, 0.50);
  background: #FFF;
}

.checkout-step {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.checkout-step.active {
  display: block;
  opacity: 1;
}

.checkout-step h2 {
  color: var(--r1, #841D19);
  font-family: Phudu;
  font-size: 50px;
  font-style: normal;
  font-weight: 500;
  line-height: 105%;
  /* 52.5px */
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.box-tong span {
  color: var(--r1, #841D19);
  font-family: "Roboto Mono";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  /* 133.333% */
}

.box-tong .subtext {
  color: var(--r1, #841D19);
  font-family: "Roboto Mono";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 171.429% */
  margin: 0;
}

.cart-total span {
  color: var(--r2, #B70A03);
  font-family: "Roboto Mono";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  /* 177.778% */
}

.cart-items {
  margin: 40px 0;
 max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
  /* tránh chữ bị che bởi scrollbar */

  /* scrollbar cho WebKit browsers */
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: #822000 #fdf6f0;
}

.cart-item {
  display: flex;
  align-items: center;
  border: 0;
  padding: 0 90px;
margin-bottom: 40px;
}

.cart-item p {
  margin: 0;
}

.cart-item .img img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.cart-item .ten {
    color: var(--r1, #841D19);
    font-family: "Roboto Mono";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.cart-item .size {
color: var(--r1, #841D19);
font-family: "Roboto Mono";
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.box_nut {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 3px;
background: var(--bg, #FFF1C5);cursor:pointer;
}
.qty-btn {
    width: 30px;
    height: 30px;
    background: var(--bg, #FFF1C5);
    color: var(--wp--preset--color--contrast);
}

.qty-value {
  padding: 0 5px;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  color: #d00;
  font-size: 18px;
  cursor: pointer;
}

#btn-next,
#checkout-form button {
display: flex;
    height: 48px;
    padding: 0 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
border-radius: 25px;
background: var(--r1, #841D19);
}
.confirm-row {
display: flex;
align-items: center;
gap: 20px;
justify-content: end;
}
#checkout-form input,.form-row select {
    width: 100%;
    padding: 10px 0;
    margin: 8px 0;
    border-bottom: 1px solid #841D19;
    font-size: 14px;
    border-radius: 0;
}

#checkout-form label {
  display: block;
  margin: 10px 0;
  font-size: 14px;
}

.checkout-step.step-3 {
  text-align: center;
  font-size: 18px;
}
input::placeholder,
textarea::placeholder {
  color: #841D19;
  font-size: 14px;
}
.form-section {margin-top:32px;}
.form-row {
  display: flex;
  gap: 1rem;
margin-bottom: 40px;
}

.form-row input,
.form-row select {
  flex: 1;
  border: none;
  border-bottom: 1px solid #841D19;
  background: transparent;
}
.form-row select {max-width:333px;color: #841D19;}
.form-section h3 {
color: var(--r1, #841D19);
font-family: "Roboto Mono";
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: normal;
    display: flex;
    gap: 10px;
    align-items: center;
}
.payment-methods {margin-top:20px;}
#checkout-form .payment-methods input {width:auto;}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hotline {
  font-size: 0.9rem;
  color: #888;
}

.btn-submit {
  background: linear-gradient(to right, #8B0000, #FF4500);
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.icon-arrow::before {
  content: "➜";
  margin-left: 0.5rem;
}
.page-template-default h1,body.gspb-bodyfront #gspb_container-id-gspb-JC64q60.gspb_container {display:none;}
.quiz-popup {
position: fixed !important;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
display: none; align-items: center !important; justify-content: center!important;
}
.quiz-inner {
  background: white;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  border-radius: 10px;
}
.quiz-inner h2 {
  margin-bottom: 15px;
}
.quiz-question {
	color: #FFF;
font-family: "Roboto Mono";
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 19.2px */
  margin-bottom: 24px;
}
.quiz-question p {border-bottom:1px solid #fff;padding-bottom: 10px;}
.quiz-question label {
    font-weight: 400;
    width: 40%;
    padding: 0 25px;
    font-size: 14px;
    display: inline-block;}
.btn_tc {
display: inline-flex;
height: 48px;
padding: 0 32px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius:25px;
color: #FFF;
font-family: "Roboto Mono";
font-size: 15px;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: -0.25px;
text-transform: uppercase;
 float: right;
}
.quiz-result-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.quiz-result-box {
    background: #8B1E1E;
    color: #fffbe6;
    text-align: center;
    padding: 100px;
    border-radius: 12px;
    max-width: 750px;
    width: 90%;
    position: relative;
}
.quiz-result-title {
  background: #FFECCC;
  padding: 8px 16px;
  display: inline-block;
  border-radius: 8px;
  margin-bottom: 20px;
color: var(--r1, #841D19);
text-align: center;
font-family: Phudu;
font-size: 50px;
font-style: normal;
font-weight: 500;
line-height: 105%; /* 52.5px */
}
.quiz-result-desc {
color: var(--bg, #FFF1C5);
text-align: center;
font-family: Phudu;
font-size: 50px;
font-style: normal;
font-weight: 500;
line-height: 105%; /* 52.5px */
  margin-bottom: 10px;
}
.quiz-result-note {
color: var(--bg, #FFF1C5);
text-align: center;
font-family: "Roboto Mono";
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 24px; /* 150% */
}
.quiz-result-note strong {color:#FAA31A;}
.quiz-popup-close {
  margin-top: 20px;
  padding: 8px 20px;
  border: none;
  background: #fff;
  color: #8B1E1E;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}
.hc-desc-content {
    max-height: 108px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.hc-desc-wrapper.expanded .hc-desc-content {
    max-height: none;
}
body #gspb_container-id-gspb-IawP94v.gspb_container {
justify-content: space-between;
}
@media only screen and (max-width: 768px) {
body #gspb_container-id-gspb-IawP94v.gspb_container {
flex-direction:column;	
}
body .pc,header .box_head { display: none !important; }
body .mb { display: flex !important; }
.cart-icon {margin-top:6px !important;margin-right:6px !important;}
body .pop_menu.mb {display:none !important}
.pop_menu {
        position: fixed !important;
        top: 0;
        z-index: 999999;
        left: 0;
        right: 0;
        bottom: 0;
    }
body #gspb_row-id-gsbp-4aa90a1 {
padding-top:80px;
padding-bottom:80px;
margin-top:0px !important;
}
body #gspb_container-id-gspb-JPojp-g.gspb_container {width:100%;}
body #gspb_heading-id-gspb-Caz81o8 {font-size:32px;}
body .gsbp-3b04423 {width:92px;bottom:10px;}
body section {
margin-top:50px !important;
}
body #gspb_row-id-gspb-w-PDEHI {margin-top:50px;margin-bottom:50px;}
body #gspb_container-id-gspb-dWJgp1J.gspb_container {justify-content:center;}
body #gspb_text-id-gspb--G9Ltl5 {display:none;}
body .gsbp-771211b {padding-left:0;}
body .gspb_text-id-gspb-o2geBlz,body #gspb_heading-id-gspb-uR3hszz,body #gspb_heading-id-gspb-ZdCXezB,body #gspb_image-id-gspb-Qhtrhm4 {margin-bottom:30px;}
body h2 {font-size: 38px !important;}
body #gspb_container-id-gspb-6_83cQ5.gspb_container,body #gspb_container-id-gspb-Hk-laC-.gspb_container,body #gspb_container-id-gspb-vdSIbF4.gspb_container {gap:30px;}
body #gspb_button-id-gsbp-9e499ac,body #gspb_container-id-gspb-qWWdwdl.gspb_container {justify-content: flex-start;}
body #gspb_container-id-gspb-9ON8AAv.gspb_container {padding:30px}
body #gspb_container-id-gspb-ak7qS7U.gspb_container {margin-top:0;}
body #gspb_container-id-gspb-ak7qS7U.gspb_container {margin-bottom:20px;}
body #gspb_container-id-gspb-VuzvhnL.gspb_container,body #gspb_container-id-gspb-CE5uMuM.gspb_container {margin-top:20px;}
body.gspb-bodyfront #gspb_container-id-gspb-p-B78rO.gspb_container {padding-left:20px;padding-right:20px;box-sizing:border-box;}
body #gspb_heading-id-gspb-5tZuu7- {font-size:16px;}
body.gspb-bodyfront #gspb_container-id-gspb-NBCm3XV.gspb_container,body.gspb-bodyfront #gspb_container-id-gsbp-08ee870.gspb_container {box-sizing:border-box;}
body #gspb_row-id-gsbp-28078ac {margin-bottom:50px;}
body #gspb_row-id-gsbp-5dbb176 {padding: 0 15px;}
body #gspb_container-id-gsbp-b129629.gspb_container {width:100%;}
body #gspb_container-id-gspb-JoBqgoD.gspb_container {flex-direction:column;}
body #gspb_container-id-gsbp-1ee2b5b.gspb_container,body #gspb_container-id-gsbp-331f6ca.gspb_container {max-width:360px;}
body #gspb_container-id-gspb-INhYk7L.gspb_container {padding-bottom:0px;}
body #gspb_container-id-gspb-luQTVCd.gspb_container {order:2;}
body section#gspb_row-id-gspb-Gkngtac,body section#gspb_row-id-gspb-z35eciS,body section#gspb_row-id-gsbp-d2e421d {margin-top:0 !important;}
.popup-overlay {
align-items: start;	
max-height: 100vh;
overflow-y: auto;
overflow-x:hidden;
}
body #gspb_row-id-gspb-gkEk_KW {margin-top: -2px !important;
padding: 20px;
box-sizing: border-box;
}
body #gspb_row-id-gspb-z35eciS {padding:20px;box-sizing:border-box;}
.popup-box {width:100%;}
body #gspb_container-id-gspb-gbkuMX0.gspb_container {
    box-sizing: border-box;
    grid-template-columns: auto;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: #fff;
    box-shadow: -3px -2px 10px 0px #0000001c;	
}
body #gspb_button-id-gsbp-330664c > .gspb-buttonbox, body #gspb_button-id-gsbp-5db1583 > .gspb-buttonbox {padding:10px 15px;}
#checkout-app {padding:30px 20px;}
.total-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;	
}
.cart-item { padding: 0;gap: 20px;}
.form-row {flex-direction:column;margin-bottom: 1rem;}
body #gspb_container-id-gsbp-92d4e71.gspb_container {height:auto;}
.box_thumbs {
	overflow-x: auto;
overflow-y: hidden;
 -webkit-overflow-scrolling: touch;
}
.popup-thumbnails2 {
flex-wrap: nowrap;
gap: 20px;
width: max-content;
}

.popup-thumbnails2 .thumb2 {
flex: 0 0 auto;
 width: 74px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}

.popup-thumbnails2 .thumb2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-thumbnails2 .thumb2 img.active {
border: 2px solid #faa31a;
}
body #gspb_row-id-gspb-djnXrCc {padding:0 15px;}
body .gspb_row #gspb_col-id-gspb-jeKrr8V.gspb_row__col--12 {padding:20px;}
.confirm-row {
    justify-content: flex-start;
    flex-flow: wrap;	
}
body.gspb-bodyfront #gspb_container-id-gspb-uRN9yEo.gspb_container {box-sizing:border-box;}
body #gspb_image-id-gspb-7HVzlcI {display:none;}
.quiz-question label {
    width: 48%;
    padding: 0 0px;
}
.btn_tc {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;	
}
}