/* 
 * Landing Page Yến Chưng Tươi - Hung Foods
 * Styling: Premium Botanical Glassmorphism (Dựa theo background thiên nhiên)
 */

:root {
  --hf-green: #2ecc71;
  --hf-green-hover: #27ae60;
  --hf-dark-green: #1b5e20;
  --hf-brown: #5d4037;
  --hf-dark: #2c3e50;
  --hf-gray-border: rgba(0, 0, 0, 0.1);
  --hf-danger: #e74c3c;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --border-radius: 20px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;

  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

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

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

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

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Base */
body {
  margin: 0;
  padding: 0;
  /* Background thiên nhiên tươi mát */
  background-image: url('https://cdn.hstatic.net/files/200000201805/file/newbtg.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--hf-dark);
  font-family: var(--font-main);
  line-height: 1.5;
}

.yc-landing-wrapper {
  padding: 20px 15px 60px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Minimal Header & Footer */
.yc-minimal-header {
  text-align: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.yc-logo img {
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.yc-logo img:hover {
  transform: scale(1.05);
}

.yc-minimal-footer {
  text-align: center;
  padding: 30px 15px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: 30px;
  color: var(--hf-dark-green);
  font-size: 16px;
}

.yc-minimal-footer p {
  margin: 8px 0;
}

.yc-landing-wrapper * {
  box-sizing: border-box;
}


.yc-title-section {
  text-align: center;
  margin: 10px 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: titleReveal 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.yc-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.yc-ornament .yc-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.yc-bird-icon {
  width: 24px;
  height: 24px;
  fill: #d4af37;
}

.yc-dot {
  width: 6px;
  height: 6px;
  background-color: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.yc-title-main {
  font-size: clamp(35px, 6vw, 48px);
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hf-dark-green);
  text-shadow: 0px 4px 10px rgba(27, 94, 32, 0.15);
  line-height: 1.2;
}

.yc-title-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: -20px;
  margin-bottom: 20px
}

.yc-badge {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 10px 30px;
  border-radius: 50px;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.yc-badge-hot {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  animation: badgePulseHot 2s infinite ease-in-out;
}

.yc-badge-speed {
  background: linear-gradient(135deg, #f5af19, #f12711);
  box-shadow: 0 5px 15px rgba(245, 175, 25, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  animation: badgePulseSpeed 2s infinite ease-in-out 1s;
}

.yc-badge-icon {
  font-size: 16px;
}

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

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

@keyframes badgePulseHot {

  0%,
  100% {
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 8px 25px rgba(255, 65, 108, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
  }
}

@keyframes badgePulseSpeed {

  0%,
  100% {
    box-shadow: 0 5px 15px rgba(245, 175, 25, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 8px 25px rgba(245, 175, 25, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
  }
}



/* Layout Grid */
.yc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.yc-right-col {
  position: sticky;
  top: 20px;
  /* Trượt theo màn hình trên Desktop */
  z-index: 99;
}

@media (max-width: 900px) {
  .yc-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Chuyển thành Sticky Bottom Bar trên Mobile */
  .yc-right-col {
    position: sticky;
    bottom: 0;
    top: auto;
    z-index: 100;
  }

  /* Thanh Menu ngang siêu gọn (Shopee style) trên Mobile */
  .yc-right-col.is-compact .yc-section {
    padding: 12px 15px;
    margin-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  /* Ẩn các tiêu đề phụ không cần thiết */
  .yc-right-col.is-compact .yc-section-title,
  .yc-right-col.is-compact .yc-contact-info,
  .yc-right-col.is-compact #summary_details {
    display: none !important;
  }

  .yc-right-col.is-compact .yc-summary-box {
    flex: 1;
    min-width: 0;
  }
}

/* Các khối Section (Glassmorphism) */
.yc-section {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 22px;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
  animation: fadeInUp 0.7s ease-out both;
}

@media (max-width: 480px) {
  .yc-section {
    padding: 15px 12px;
    /* Thu nhỏ padding đáng kể trên mobile */
    margin-bottom: 15px;
  }
}

.yc-left-col .yc-section:nth-child(1) {
  animation-delay: 0.1s;
}

.yc-left-col .yc-section:nth-child(2) {
  animation-delay: 0.2s;
}

.yc-right-col .yc-section {
  animation-delay: 0.3s;
}

.yc-animated-section {
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

.yc-section-title {
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 1px;
  color: var(--hf-dark-green);
  position: relative;
  padding-bottom: 12px;
}

/* Gạch chân dưới title mềm mại hơn */
.yc-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #a8e063, #56ab2f);
  border-radius: 3px;
}

/* Dung tích & Số lượng */
.yc-capacities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 380px) {
  .yc-capacities {
    gap: 10px;
    /* Thu hẹp gap trên màn hình siêu nhỏ */
  }
}

.yc-capacity-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yc-capacity-card {
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 20px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.yc-capacity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: all 0.7s;
}

.yc-capacity-card:hover::before {
  left: 200%;
}

.yc-capacity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(46, 204, 113, 0.15);
  border-color: var(--hf-green);
  background: rgba(255, 255, 255, 0.9);
}

.yc-capacity-img-real {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 15px;
}

.yc-capacity-img-real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.yc-capacity-card:hover .yc-capacity-img-real img {
  transform: scale(1.15);
}

.yc-capacity-name {
  font-weight: 900;
  color: var(--hf-dark-green);
  font-size: 20px;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
}

.yc-qty-text {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f12711, #f5af19);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  /* right: -10px; */
  box-shadow: 0 3px 8px rgba(241, 39, 17, 0.4);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#card_150ml .yc-capacity-img {
  background: linear-gradient(135deg, #4ca1af, #c4e0e5);
  color: #2c3e50;
  box-shadow: 0 5px 15px rgba(76, 161, 175, 0.3);
}

.yc-capacity-name {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--hf-dark);
}

.yc-capacity-price {
  color: var(--hf-dark-green);
  font-weight: 700;
  font-size: 15px;
}

/* Control số lượng */
.yc-qty-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

.yc-qty-control:hover {
  background: #fff;
  border-color: rgba(46, 204, 113, 0.3);
}

.yc-qty-btn {
  width: 45px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: var(--hf-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yc-qty-btn:hover {
  background: rgba(46, 204, 113, 0.1);
  color: var(--hf-dark-green);
}

/* Xoá hiệu ứng lún (scale) theo yêu cầu user */

.yc-qty-input {
  flex: 1;
  width: 100%;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  background: transparent;
  color: var(--hf-dark-green);
}

/* Lượng đường */
.yc-sugar-options {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (max-width: 480px) {
  .yc-sugar-options {
    flex-direction: column;
    /* Xếp dọc trên mobile cho dễ bấm */
    gap: 10px;
  }
}

.yc-section-subtitle {
  font-size: 14px;
  color: #555;
  margin-top: -15px;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

.yc-sugar-btn {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  color: white;
  cursor: pointer;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.yc-sugar-btn small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}

.yc-sugar-btn[data-sugar="Có đường"] {
  background: linear-gradient(135deg, #a8e063, #56ab2f);
}

.yc-sugar-btn[data-sugar="Không đường"] {
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
}

.yc-sugar-btn.active {
  opacity: 1;
  filter: grayscale(0%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  /* Bỏ scale nẩy để sang trọng hơn */
}

/* Bảng Chọn Vị Dynamic */
.yc-flavor-table-wrap {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
  animation: popIn 0.5s ease-out forwards;
}

.yc-flavor-table-title {
  font-size: 18px;
  margin: 0 0 10px 0;
  text-align: center;
  color: var(--hf-dark-green);
  font-weight: 800;
}

.yc-jar-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.yc-flavors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 500px) {
  .yc-flavors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.yc-flavor-item {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.yc-flavor-item:hover {
  background: #fff;
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.08);
}

.yc-flavor-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--hf-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  margin-left: 10px;
}

.yc-flavor-info {
  display: flex;
  align-items: center;
  min-width: 0;
  /* Giúp text-overflow hoạt động */
  flex: 1;
}

.yc-flavor-info img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Hiệu ứng nẩy mượt mà */
  flex-shrink: 0;
  /* Không cho hình ảnh bị bóp méo */
  position: relative;
  z-index: 1;
}

.yc-flavor-item:hover .yc-flavor-info img {
  transform: scale(1.6);
  /* Phóng to rõ rệt hơn */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  /* Bóng đổ lớn hơn khi phóng to */
  z-index: 10;
  /* Đưa hình nổi lên trên các thành phần khác */
}

.yc-flavor-counter {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  border: 1px solid var(--hf-gray-border);
  flex-shrink: 0;
}

.yc-flavor-counter button {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: var(--hf-dark-green);
  transition: all var(--transition-fast);
}

.yc-flavor-counter button:hover {
  background: rgba(46, 204, 113, 0.1);
}

/* Xoá hiệu ứng lún (scale) theo yêu cầu */

.yc-flavor-counter input {
  width: 28px;
  border: none;
  text-align: center;
  font-size: 15px;
  background: transparent;
  font-weight: 800;
  color: var(--hf-dark);
}

.yc-flavor-note input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  font-family: inherit;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.yc-flavor-note input:focus {
  outline: none;
  background: #fff;
  border-color: var(--hf-green);
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

/* Tóm tắt đơn hàng */
.yc-summary-box {
  background: rgba(255, 255, 255, 0.6);
  padding: 18px 15px;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .yc-right-col.is-compact .yc-summary-box {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .yc-right-col.is-compact .yc-summary-total {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
  }
}

.yc-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.yc-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 22px;
  color: var(--hf-danger);
}

@media (max-width: 900px) {
  .yc-right-col.is-compact .yc-summary-total {
    flex-direction: column;
    align-items: flex-start;
    font-size: 20px;
    gap: 2px;
  }

  .yc-right-col.is-compact .yc-summary-total span:first-child {
    font-size: 13px;
    color: #666;
    font-weight: 600;
  }
}

/* Nút đặt mua */
.yc-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #a8e063, #56ab2f);
  color: white;
  border: none;
  padding: 18px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(86, 171, 47, 0.35);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  animation: pulseGlow 2.5s infinite;
}

.yc-submit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: all 0.6s;
}

.yc-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(86, 171, 47, 0.5);
  animation: none;
}

.yc-submit-btn:hover::after {
  left: 200%;
}

/* Xoá hiệu ứng translateY lún xuống khi active */

@media (max-width: 900px) {
  .yc-right-col.is-compact .yc-submit-btn {
    width: auto;
    padding: 12px 20px;
    font-size: 15px;
    flex-shrink: 0;
    margin: 0;
  }

  .yc-right-col.is-compact #main_error_msg {
    position: absolute;
    top: -40px;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
}

.yc-contact-info {
  text-align: center;
  margin-top: 25px;
  font-style: italic;
  font-size: 16px;
  color: #0068ff;
  font-weight: 600;
}

/* --- Quy Trình VIP --- */
.yc-process-section {
  margin-top: 50px;
  padding: 40px 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.yc-process-title {
  text-align: center;
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--hf-dark-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 50px;
  position: relative;
}

.yc-process-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.yc-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.yc-process-card {
  text-align: center;
  cursor: pointer;
}

.yc-process-img-wrap {
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #f3e5ab, #d4af37, #b8860b);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s;
  margin: 0 auto 25px auto;
  aspect-ratio: 1/1;
  max-width: 160px;
}

.yc-process-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}

.yc-process-step {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 30%);
  background: linear-gradient(135deg, #1b5e20, #2ecc71);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.yc-process-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--hf-dark);
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.yc-process-card:hover .yc-process-img-wrap {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

@media (max-width: 900px) {
  .yc-process-section {
    padding: 30px 15px;
    margin-top: 30px;
  }

  .yc-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
  
  .yc-process-img-wrap {
    max-width: 110px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .yc-process-name {
    font-size: 13px;
  }

  .yc-process-step {
    width: 30px;
    height: 30px;
    font-size: 13px;
    border-width: 2px;
  }

  .yc-process-img-wrap {
    max-width: 90px;
    padding: 4px;
  }
}

/* Loader */
.yc-loader {
  display: none;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.is-loading .yc-loader {
  display: block;
}

.is-loading span {
  display: none;
}

/* --- VIP Toast Notification --- */
.yc-toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translate(-50%, -100px);
  /* Bắt đầu ẩn ở trên cùng */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 65, 108, 0.5);
  box-shadow: 0 10px 30px rgba(255, 65, 108, 0.3);
  padding: 12px 25px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  min-width: 280px;
  max-width: 90%;
}

.yc-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.yc-toast-icon {
  font-size: 20px;
}

.yc-toast-msg {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: #c0392b;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .yc-toast {
    top: auto;
    bottom: 90px;
    /* Nổi ngay phía trên thanh toán trượt */
    transform: translate(-50%, 100px);
  }

  .yc-toast.show {
    transform: translate(-50%, 0);
  }
}
/* Force Haravan Sync */

/* Force Haravan Sync Mobile Process */
