@charset "UTF-8";
/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
/** Cam thương hiệu UFS (landing, CTA, accent) */
/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: #0a0a0f;
  color: #e8e8f0;
  font-family: "DM Sans", sans-serif;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid #1e1e2e;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 15, 0.8);
}

.site-title,
.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: #f0b429;
  text-decoration: none;
}
.site-title span,
.logo span {
  color: #e8e8f0;
}

.demo-badge,
.theme-badge {
  background: rgba(240, 180, 41, 0.12);
  border: 1px solid rgba(240, 180, 41, 0.3);
  color: #f0b429;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/**
 * Front page landing (shared + section partial imports)
 */
/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
/**
 * Landing section 1 styles
 */
.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  z-index: 2;
}
.hero-fullscreen .hero-left-gradient-layer {
  z-index: 1;
}

.hero-video-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.hero-page-title {
  margin: 0;
  max-width: 100%;
  text-align: left;
  opacity: 0;
  animation: hero-fade-up 0.75s ease forwards;
  animation-delay: 0.1s;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(40px, 2.778vw, 53.33px);
  font-weight: 900;
  line-height: 1.4;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-page-title-accent {
  color: #ff6815;
}

.hero-page-title-tablet {
  display: none;
}

.hero-page-title-tablet .hero-page-title-line {
  display: block;
}

.hero-subtitle {
  margin: 28px 0 0;
  text-align: left;
  opacity: 0;
  animation: hero-fade-up 0.75s ease forwards;
  animation-delay: 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 400;
}

.hero-subtitle-line {
  display: block;
  line-height: 1.1;
}

.hero-subtitle-before {
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(20px, 1.389vw, 26.67px);
  font-weight: 400;
  color: #ffffff;
}

.hero-subtitle-after {
  font-family: "ChefsHandv3", cursive;
  font-size: clamp(36px, 2.5vw, 48px);
  color: #ff6815;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.hero-scroll-hint-icon {
  width: clamp(18px, 1.25vw, 24px);
  height: auto;
  display: block;
  animation: hero-scroll-icon-bounce 1.8s ease-in-out infinite;
}

.hero-scroll-hint-text {
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(15px, 1.0417vw, 20px);
  color: #c2c2c2;
  line-height: 1;
}

@keyframes hero-scroll-icon-bounce {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
}
@media (max-width: 1024px) {
  .hero-video {
    object-position: center right;
  }
  .hero-main-content {
    justify-content: flex-start;
    padding-top: calc(30px + clamp(120px, 8.333vw, 160px) + 24px);
  }
  .hero-page-title {
    font-size: 8vw;
  }
  .hero-page-title-desktop {
    display: none;
  }
  .hero-page-title-tablet {
    display: block;
  }
  .hero-subtitle-line {
    white-space: nowrap;
  }
  .hero-subtitle-before {
    font-size: 3.7vw;
  }
  .hero-subtitle-after {
    display: inline;
    margin-top: 0;
    font-size: 6vw;
  }
  .hero-scroll-hint {
    gap: clamp(10px, 1.2vw, 20px);
  }
  .hero-scroll-hint-icon {
    width: 3vw;
  }
  .hero-scroll-hint-text {
    font-size: 2.4vw;
  }
}
@media (max-width: 768px) {
  .hero-page-title {
    font-size: 7.2vw;
  }
  .hero-subtitle-before {
    font-size: 3.2vw;
  }
  .hero-subtitle-after {
    font-size: 5.4vw;
  }
  .hero-scroll-hint-text {
    font-size: 2.2vw;
  }
}
@media (max-width: 540px) {
  .hero-page-title {
    font-size: 8vw;
  }
  .hero-scroll-hint-text {
    font-size: 2.4vw;
  }
}
@media (max-width: 480px) {
  .hero-page-title {
    font-size: 8.4vw;
  }
  .hero-subtitle-before {
    font-size: 4vw;
  }
  .hero-subtitle-after {
    font-size: 6.4vw;
  }
  .hero-scroll-hint-icon {
    width: 4vw;
  }
  .hero-scroll-hint-text {
    font-size: 3vw;
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .hero-page-title {
    font-size: 32px;
  }
  .hero-subtitle-before {
    font-size: 18px;
  }
  .hero-subtitle-after {
    font-size: 30px;
  }
  .hero-scroll-hint-text {
    font-size: 14px;
  }
}
/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
/**
 * Landing section 2 styles
 */
.hero-next-section {
  position: absolute;
  inset: 0;
  z-index: 5;
  transform: none;
  background: #111111;
  will-change: transform;
}
.hero-next-section .hero-left-gradient-layer {
  z-index: 1;
}

.hero-next-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

@media (max-width: 1024px) {
  .hero-next-bg {
    object-position: top center;
  }
  .hero-next-section .hero-left-gradient-layer {
    top: auto;
    bottom: 0;
    height: 70%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(32, 31, 23, 0.9) 100%);
  }
}
.hero-next-section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-next-content-container {
  width: min(83.333vw, 1633.33px);
}

.section-title {
  margin: 0;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(40px, 2.778vw, 54.44px);
  font-weight: 900;
  line-height: 1.4;
  color: #ffffff;
  text-transform: uppercase;
  text-align: left;
}

.section-title-accent {
  color: #ff6815;
}

.section-cta {
  margin-top: 24px;
  text-decoration: none;
  cursor: pointer;
}

.section-cta.default-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 42px;
  line-height: 42px;
  padding: 0 18px;
  box-sizing: border-box;
  border-radius: 999px;
  color: #fff;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid #ffe14a;
  background: linear-gradient(to right, #ffb401 0%, #ff7500 100%);
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-cta.default-btn.is-disabled,
.section-cta.default-btn:disabled {
  border: 0;
  background: #909090;
  background-image: none;
  color: #fff;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}

/* Allow click to trigger "shake refusal" when terms are unchecked */
#section2CreateImageBtn.section-cta.default-btn.is-disabled,
#section2TermsModalNextBtn.section-cta.default-btn.is-disabled {
  pointer-events: auto;
}

.section-cta.default-btn.is-disabled:hover,
.section-cta.default-btn:disabled:hover {
  box-shadow: none;
  filter: none;
}

.section-cta.default-btn:not(.is-disabled):not(:disabled):hover {
  box-shadow: inset 0 0 9px rgba(255, 224, 118, 0.34), inset 0 0 16px rgba(255, 224, 118, 0.13), 0 0 10px rgba(255, 224, 118, 0.32), 0 0 20px rgba(255, 224, 118, 0.22);
}

.section-terms {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

@keyframes section2-terms-shake {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-8px);
  }
  35% {
    transform: translateX(8px);
  }
  55% {
    transform: translateX(-6px);
  }
  70% {
    transform: translateX(6px);
  }
  85% {
    transform: translateX(-3px);
  }
  100% {
    transform: translateX(0);
  }
}
.section-terms.is-shake,
.section2-terms-modal-agree.is-shake {
  animation: section2-terms-shake 0.4s ease;
}

.section-terms-checkbox {
  margin: 2px 0 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.section-terms-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.section-terms-checkbox-ui {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 90, 0, 0.5019607843);
  border-radius: 3px;
  background: #fff;
  position: relative;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.section-terms-checkbox-ui::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 9px;
  border: 2px solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.section-terms-checkbox input:checked + .section-terms-checkbox-ui {
  background: #ff5a00;
  border-color: #ff5a00;
}

.section-terms-checkbox input:checked + .section-terms-checkbox-ui::after {
  opacity: 1;
}

.section-terms-text {
  margin: 0;
  color: #fff;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.hero-next-section .section-terms > .section-terms-text {
  cursor: pointer;
}

.hero-next-section .section-terms > .section-terms-text .section-terms-link {
  cursor: pointer;
}

.section-terms-link {
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}

.section2-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.section2-terms-modal.is-open {
  display: flex;
}

.section2-terms-modal.is-active {
  opacity: 1;
}

.section2-terms-modal.is-animating {
  pointer-events: none;
}

.section2-terms-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.section2-terms-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(600px, 100% - 30px);
  border-radius: 20px;
  background: #fff;
  padding: 32px;
  box-sizing: border-box;
  transform: translateY(28px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.section2-terms-modal.is-active .section2-terms-modal-dialog {
  transform: translateY(0);
  opacity: 1;
}

.section2-terms-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  color: #1f1b2f;
}

.section2-terms-modal-close svg {
  display: block;
  width: 24px;
  height: 24px;
}

.section2-terms-modal-close svg path {
  stroke: currentcolor;
}

.section2-terms-modal-title {
  margin: 0 0 20px;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #1f1b2f;
  text-align: center;
}

.section2-terms-modal-content {
  width: 100%;
  min-width: 0;
  height: 232px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 8px;
  background: #efefef;
  padding: 15px 20px 15px 15px;
  color: #1f1b2f;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.section2-terms-modal-content > *:last-child {
  margin-bottom: 0;
}

.section2-terms-modal-content p {
  margin: 0 0 12px;
}

.section2-terms-doc-heading {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.section2-terms-doc-subtitle {
  margin: 0 0 14px;
  font-weight: 500;
  line-height: 1.35;
}

.section2-terms-section {
  margin-bottom: 14px;
}

.section2-terms-section:last-child {
  margin-bottom: 0;
}

.section2-terms-section-heading {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.section2-terms-list,
.section2-terms-sublist {
  margin: 0 0 12px;
  margin-inline: 0;
  padding-inline: 0;
  padding-inline-start: 0;
  max-width: 100%;
  box-sizing: border-box;
  list-style-position: inside;
}

/* Các bước: không đánh số 1.2.3. (đã có “Bước 1” trong nội dung) */
.section2-terms-steps {
  margin: 0 0 12px;
  margin-inline: 0;
  padding-inline: 0;
  max-width: 100%;
  box-sizing: border-box;
  list-style: none;
}

.section2-terms-steps > li:not(:last-child) {
  margin-bottom: 12px;
}

.section2-terms-modal-content .section2-terms-list li,
.section2-terms-modal-content .section2-terms-sublist li,
.section2-terms-modal-content .section2-terms-steps li {
  overflow-wrap: break-word;
  word-wrap: break-word;
  padding-inline-start: 0.15em;
}

.section2-terms-modal-content .section2-terms-steps > li {
  padding-inline-start: 0;
}

.section2-terms-section > :last-child {
  margin-bottom: 0;
}

.section2-terms-list .section2-terms-sublist {
  margin-top: 6px;
  margin-bottom: 0;
  margin-inline-start: 0.35em;
  max-width: 100%;
}

.section2-terms-steps > li > p {
  margin-bottom: 8px;
}

.section2-terms-steps > li > p:last-child {
  margin-bottom: 0;
}

.section2-terms-steps .section2-terms-sublist {
  margin-bottom: 0;
}

.section2-terms-modal-content a {
  color: #ff6815;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section2-terms-modal-content a:hover {
  color: #ff6815;
  text-decoration-thickness: 2px;
  opacity: 0.88;
}

.section2-terms-modal-agree {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.section2-terms-modal-agree .section-terms-text,
.section2-terms-modal-agree .section-terms-link {
  color: #1f1b2f;
}

.section2-terms-modal-agree .section-terms-text {
  cursor: pointer;
}

.section2-terms-modal-dialog .section-cta.default-btn.section2-terms-modal-next-btn {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 14px;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.section-disclaimer {
  margin: 12px 0 0;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #bbbbbb;
  line-height: 1.3;
  text-align: left;
}

.section-title-mobile-break {
  display: none;
}

@media (max-width: 1279px) {
  .hero-next-content-container {
    width: min(100% - 40px, 1200px);
  }
  .section-title {
    font-size: clamp(28px, 4.3vw, 40px);
  }
}
@media (max-width: 1024px) {
  .hero-next-section-inner {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 30px 48px;
    box-sizing: border-box;
  }
  .hero-next-content-container {
    width: 100%;
  }
  .section-title {
    margin-bottom: 6vw;
    font-size: 8vw;
    line-height: 1.2;
  }
  .section-title-mobile-break {
    display: inline;
  }
  .section-terms {
    margin: 14px 0;
  }
  .section-cta.default-btn {
    margin-top: 0;
    margin-bottom: 3.2vw;
    width: auto;
    height: 6.4vw;
    line-height: 6.4vw;
    padding: 0 4vw;
    border-radius: 3.2vw;
    font-size: 2.7vw;
    font-weight: 500;
    white-space: nowrap;
  }
  .section-disclaimer {
    margin-top: 0;
    font-size: 2.8vw;
  }
}
@media (max-width: 768px) {
  .section-title {
    font-size: 7.2vw;
  }
  .section-cta.default-btn {
    font-size: 2.4vw;
    height: 6vw;
    line-height: 6vw;
    border-radius: 3vw;
  }
  .section-disclaimer {
    font-size: 2.2vw;
  }
}
@media (max-width: 540px) {
  .hero-next-bg {
    object-position: center center;
  }
  .hero-next-section-inner {
    padding: 0 24px 32px;
  }
  .section-title {
    font-size: 8vw;
  }
  .section-disclaimer {
    font-size: 2.4vw;
  }
  .section-cta.default-btn {
    font-size: 3vw;
    height: 9vw;
    line-height: 9vw;
    border-radius: 4.5vw;
  }
  .section2-terms-modal-dialog {
    padding: 24px 18px 18px;
  }
  .section2-terms-modal-title {
    font-size: 6vw;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 8.4vw;
  }
  .section-cta.default-btn {
    font-size: 3vw;
    height: 9vw;
    line-height: 9vw;
    border-radius: 4.5vw;
  }
  .section-disclaimer {
    font-size: 3vw;
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .section-title {
    font-size: 32px;
  }
  .section-cta.default-btn {
    width: 160px;
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
  }
  .section-disclaimer {
    font-size: 13px;
  }
}
/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
/**
 * Landing section 3 styles
 */
.hero-third-section {
  position: fixed;
  inset: 0;
  z-index: 8;
  transform: none;
  background: #000;
  will-change: transform;
}
.hero-third-section.is-active {
  transform: none;
}

.hero-third-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

@media (max-width: 1024px) {
  .hero-third-bg {
    object-position: center bottom;
  }
}
.hero-third-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
  backdrop-filter: blur(1px);
}

.hero-third-content-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.hero-third-content-layer .hero-content-container {
  position: relative;
  height: 100vh;
  padding-top: 0;
}
.hero-third-content-layer .hero-logos {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 3;
}

.section3-back-btn {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #bbbbbb;
  cursor: pointer;
  padding: 0;
}

.section3-back-btn-label {
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1;
}

.section3-form-wrap {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section3-form {
  width: 100%;
}

.section3-step {
  display: none;
}
.section3-step.is-active {
  display: block;
}

.section3-title {
  margin: 0;
  text-align: center;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(38px, 2.6vw, 53px);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.section3-input-wrap {
  margin: 28px auto 0;
  display: block;
  width: min(100%, 760px);
}

.section3-input {
  width: 100%;
  height: 54px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #ffffff;
  background: transparent;
  color: #fff;
  text-align: center;
  font-family: "ChefsHandv3", cursive;
  font-size: 48px;
  outline: none;
}
.section3-input:focus, .section3-input:focus-visible {
  outline: none;
  color: #ff6815;
  border-bottom-color: #ff6815;
}
.section3-input.is-active {
  color: #ff6815;
  border-bottom-color: #ff6815;
}
.section3-input::placeholder {
  font-family: "ChefsHandv3", cursive;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes section3-input-shake {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-8px);
  }
  35% {
    transform: translateX(8px);
  }
  55% {
    transform: translateX(-6px);
  }
  70% {
    transform: translateX(6px);
  }
  85% {
    transform: translateX(-3px);
  }
  100% {
    transform: translateX(0);
  }
}
.section3-input.is-shake {
  animation: section3-input-shake 0.4s ease;
  border-bottom-color: #ff4444;
  color: #ff4444;
}

.section3-next-btn {
  margin: 28px auto 0;
  display: block;
  min-width: 180px;
  width: auto;
  max-width: none;
  height: 44px;
  line-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 22px;
  background: #909090;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  white-space: nowrap;
  cursor: not-allowed;
  transition: background 0.2s ease, filter 0.2s ease;
}
.section3-next-btn.is-enabled {
  background: #ff6815;
  cursor: pointer;
}
.section3-next-btn.is-enabled:hover {
  filter: brightness(1.12);
}
.section3-next-btn.is-hidden {
  display: none;
}
.section3-next-btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.section3-next-btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: section3-spin 0.8s linear infinite;
}

.section3-title-step2 {
  margin-bottom: 28px;
  white-space: nowrap;
}

.section3-symbol-grid-wrap {
  width: min(100%, 1132px);
  margin-inline: auto;
}

.section3-symbol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.section3-symbol-card {
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 357/432;
  height: auto;
  border: 0;
  border-radius: clamp(14px, 1.111vw, 21.33px);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 5px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.section3-symbol-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 104, 21, 0.3);
}
.section3-symbol-card:hover .section3-symbol-label {
  color: #ff6815;
}
.section3-symbol-card.is-selected {
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7) inset, 0 8px 24px rgba(0, 0, 0, 0.25);
}

.section3-symbol-image-wrap {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
}

.section3-symbol-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section3-symbol-label {
  font-family: "ChefsHandv3", cursive;
  font-size: 40px;
  line-height: 1.5;
  text-transform: lowercase;
  text-align: center;
  margin: 0;
  color: #ffffff;
}

.section3-step-3 .section3-step3-body {
  position: relative;
  width: min(100%, 1320px);
  margin: 0 auto;
  text-align: center;
}
.section3-step-3.is-drag-over {
  outline: 2px dashed rgba(255, 255, 255, 0.65);
  outline-offset: 6px;
  border-radius: 12px;
}

.section3-selected-row {
  position: absolute;
  bottom: calc(100% + 35px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 14px;
  /* Above .section3-select (z-index 50) / menu (60) so clicks always hit cards */
  z-index: 80;
}

.section3-mini-card {
  width: clamp(105px, 7.2917vw, 140px);
  height: clamp(128px, 8.889vw, 170.67px);
  padding: 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}
.section3-mini-card.is-active {
  opacity: 1;
}

.section3-mini-image-wrap {
  width: 100%;
  height: clamp(97px, 6.736vw, 129.33px);
  border-radius: 8px;
  overflow: hidden;
}

.section3-mini-image {
  width: 100%;
  height: clamp(97px, 6.736vw, 129.33px);
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
}

.section3-mini-label {
  margin: 0;
  font-family: "ChefsHandv3", cursive;
  font-size: 16px;
  line-height: 32px;
  color: #fff;
  text-align: center;
}

.section3-title-step3 {
  margin-top: 60px;
  margin-bottom: 15px;
}
.section3-title-step3.is-hidden {
  display: none;
}

.section3-select {
  width: 670px;
  max-width: 100%;
  margin: 24px auto 0;
  position: relative;
  z-index: 50;
  transition: transform 0.25s ease;
}

.section3-select-trigger {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 0 46px 0 18px;
  text-align: left;
  cursor: pointer;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  position: relative;
}

.section3-select-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section3-select-caret {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
}

.section3-select.is-open .section3-select-caret {
  transform: translateY(-50%) rotate(180deg);
}

.section3-select-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  max-height: 260px;
  overflow-y: auto;
  z-index: 60;
}

.section3-select.is-open .section3-select-menu {
  display: block;
}

.section3-select-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 10px 14px;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.section3-select-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section3-gratitude-detail {
  margin-top: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.section3-gratitude-detail.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.section3-gratitude-text {
  margin: 0;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(38px, 2.6vw, 53px);
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  min-height: 2.8em;
}

.section3-gratitude-before {
  display: block;
}

.section3-gratitude-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.section3-input-inline {
  width: 260px;
  max-width: none;
  height: 58px;
  margin-top: 8px;
  padding: 0;
  font-size: 48px;
}

.section3-gratitude-after {
  display: inline;
}

.section3-final-btn {
  margin-top: 0;
  min-width: 180px;
}

.section3-upload-input {
  display: none;
}

.section3-upload-preview {
  margin: 14px auto 0;
  width: 100%;
  display: none;
  justify-content: center;
}

.section3-upload-preview.is-visible {
  display: flex;
}

.section3-upload-preview-img {
  max-width: 160px;
  max-height: 160px;
  width: auto;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  object-fit: cover;
}

.section3-cta-row-main,
.section3-cta-row-secondary {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.section3-cta-row-main .section3-next-btn,
.section3-cta-row-secondary .section3-next-btn {
  margin: 0;
  width: auto;
  max-width: none;
  white-space: nowrap;
  flex: 0 0 auto;
}

.section3-cta-row-main #section3UploadBtn.section-cta.default-btn {
  margin-top: 0;
  min-width: 185px;
  width: auto;
  max-width: none;
  height: 42px;
  line-height: 42px;
  padding: 0 18px;
  border: 1px solid #ffe14a;
  border-radius: 999px;
  background: linear-gradient(to right, #ffb401 0%, #ff7500 100%);
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
}

.section3-cta-row-secondary {
  display: none;
}

.section3-cta-row-main.is-hidden {
  display: none;
}

.section3-cta-row-secondary.is-visible {
  display: flex;
}

.section3-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.section3-preview-modal.is-open {
  display: flex;
}

.section3-preview-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.65);
}

.section3-preview-modal-dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 900px;
  max-width: calc(100% - 30px);
  max-height: 92vh;
  overflow: auto;
  padding: 15px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section3-preview-modal-dialog.is-drag-over {
  outline: 2px dashed rgba(255, 130, 0, 0.9);
  outline-offset: 2px;
}

.section3-preview-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  color: #1f1b2f;
  transition: color 0.2s ease;
}
.section3-preview-modal-close svg {
  display: block;
}
.section3-preview-modal-close svg path {
  stroke: currentcolor;
}
.section3-preview-modal-close:hover, .section3-preview-modal-close:focus-visible {
  color: #ff6815;
  outline: none;
}
.section3-preview-modal-close:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 104, 21, 0.45);
}

.section3-preview-modal-body {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  width: 100%;
  min-width: 0;
}

.section3-preview-modal-canvas {
  width: 300px;
  height: 450px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.section3-preview-modal-canvas canvas,
.section3-preview-modal-canvas img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.section3-preview-modal-canvas .section3-preview-line {
  padding: 12px;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  color: #1f1b2f;
}

.section3-preview-modal-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-right: 36px;
}

.section3-preview-modal-title {
  margin: 0 0 15px;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: #ff6815;
}

.section3-preview-modal-desc {
  margin: 0 0 30px;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
  color: #1f1b2f;
  white-space: nowrap;
}

.section3-preview-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0;
}

.section3-preview-modal-actions:has(.section3-preview-modal-submit-stack) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.section3-preview-modal-actions:has(.section3-preview-modal-action-btn:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.section3-preview-modal-submit-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  grid-column: 1/-1;
}

.section3-preview-modal-actions .section3-preview-modal-action-btn {
  margin: 0;
  width: 100%;
  min-width: 0;
  height: 44px;
  line-height: 42px;
  font-weight: 500;
  cursor: pointer;
}

.section3-preview-modal-actions .section3-preview-modal-action-btn:only-child {
  width: auto;
}

.section3-preview-submit-error {
  margin: 8px 0 0;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: #c62828;
  text-align: center;
}

#section3PreviewReuploadBtn.section3-preview-modal-action-btn {
  border: 1px solid #ff5a00;
  background: transparent;
  color: #85552d;
  box-shadow: inset 0 0 8px rgba(255, 201, 77, 0.275), inset 0 0 14px rgba(255, 201, 77, 0.1), 0 0 8px rgba(255, 201, 77, 0.225), 0 0 16px rgba(255, 201, 77, 0.15);
}

#section3PreviewReuploadBtn.section3-preview-modal-action-btn:hover,
#section3PreviewReuploadBtn.section3-preview-modal-action-btn:focus-visible {
  background: #ff6815;
  border-color: #ff6815;
  color: #fff;
  box-shadow: none;
}

#section3PreviewUseBtn.section3-preview-modal-action-btn.default-btn {
  border: 1px solid #ffe14a;
  background: linear-gradient(to right, #ffb401 0%, #ff7500 100%);
  color: #fff;
  box-shadow: none;
}

#section3PreviewUseBtn.section3-preview-modal-action-btn.default-btn:hover,
#section3PreviewUseBtn.section3-preview-modal-action-btn.default-btn:focus-visible {
  box-shadow: inset 0 0 9px rgba(255, 224, 118, 0.34), inset 0 0 16px rgba(255, 224, 118, 0.13), 0 0 10px rgba(255, 224, 118, 0.32), 0 0 20px rgba(255, 224, 118, 0.22);
}

#section3PreviewUseBtn.section3-preview-modal-action-btn.default-btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

#section3PreviewUseBtn.section3-preview-modal-action-btn.default-btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: section3-spin 0.8s linear infinite;
}

@media (max-width: 720px) {
  .section3-preview-modal-body {
    flex-direction: column;
    align-items: stretch;
  }
  .section3-preview-modal-canvas {
    margin: 0 auto;
  }
  .section3-preview-modal-title {
    font-size: clamp(26px, 7vw, 40px);
  }
  .section3-preview-modal-actions {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1024px) {
  .section3-preview-modal-desc {
    white-space: initial;
  }
  .section3-preview-modal-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@keyframes section3-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1279px) {
  .section3-symbol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section3-selected-row {
    gap: 8px;
  }
  .section3-title-step3 {
    margin-top: 44px;
  }
  .section3-input-inline {
    width: 190px;
    height: 52px;
    font-size: 38px;
  }
  .section3-final-btn {
    min-width: 280px;
  }
}
@media (max-width: 1024px) {
  .section3-title {
    font-size: 4.8vw;
    white-space: nowrap;
  }
  .section3-input,
  .section3-input-inline {
    font-size: 5.8vw;
  }
  .section3-form-wrap {
    padding: 0 30px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .section3-form,
  .section3-step,
  .section3-step-3 .section3-step3-body {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
  }
  .section3-selected-row {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .section3-gratitude-text,
  .section3-gratitude-inline {
    max-width: 100%;
  }
  .section3-gratitude-text {
    font-size: 4.2vw;
  }
  .section3-input-inline {
    font-size: 5.4vw;
  }
  .section3-select-trigger {
    height: 6vw;
    border-radius: 3vw;
    font-size: 2.4vw;
  }
  .section3-select-item {
    font-size: 2.4vw;
  }
  .section3-form .section3-next-btn {
    width: auto;
    height: 6.4vw;
    line-height: 6.4vw;
    padding: 0 4vw;
    border-radius: 3.2vw;
    font-size: 2.7vw;
    font-weight: 500;
    white-space: nowrap;
  }
  .section3-cta-row-main #section3UploadBtn.section-cta.default-btn {
    width: auto;
    min-width: 0;
    height: 6.4vw;
    line-height: 6.4vw;
    padding: 0 4vw;
    border-radius: 3.2vw;
    font-size: 2.7vw;
    font-weight: 500;
    white-space: nowrap;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .section3-symbol-grid {
    grid-template-columns: repeat(2, 240px);
    justify-content: center;
    gap: 16px;
  }
  .section3-symbol-card {
    width: 240px;
    height: 290px;
    aspect-ratio: auto;
  }
  .section3-symbol-label {
    font-size: 4vw;
  }
  .section3-mini-card {
    width: 160px;
    height: 200px;
    padding: 5px;
  }
  .section3-mini-image-wrap,
  .section3-mini-image {
    height: 150px;
  }
  .section3-mini-label {
    font-size: 3.5vw;
    line-height: 1.25;
  }
  .section3-back-btn-label {
    font-size: 2.4vw;
  }
  .section3-back-btn-icon {
    width: 1.5vw;
  }
  .section3-back-btn-icon svg {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 480px) {
  /* Step 2: card holder 2x2 */
  .section3-symbol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .section3-symbol-card {
    width: 100%;
    aspect-ratio: auto;
    height: auto;
  }
  .section3-symbol-image-wrap,
  .section3-symbol-image {
    width: 100%;
    height: 45vw;
  }
  /* Step 3: gratitude content with centered block input */
  .section3-gratitude-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }
  .section3-input-inline {
    display: block;
    margin-top: 0;
  }
  .section3-gratitude-after {
    display: block;
    text-align: center;
  }
  /* Step 3: mini card row as 4-column grid */
  .section3-selected-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .section3-mini-card {
    width: 100%;
    height: auto;
  }
  .section3-mini-image-wrap,
  .section3-mini-image {
    width: 100%;
    height: 20vw;
  }
  .section3-mini-label {
    line-height: 1.7;
  }
  .section3-selected-row {
    bottom: calc(100% + 25px);
  }
}
@media (max-width: 768px) {
  .section3-title {
    font-size: 4.2vw;
  }
  .section3-input {
    height: 6vw;
    font-size: 4.8vw;
  }
  .section3-input::placeholder {
    font-size: 4.8vw;
  }
  .section3-back-btn-label {
    font-size: 2.2vw;
  }
  .section3-symbol-label {
    font-size: 3.6vw;
  }
  .section3-symbol-card {
    aspect-ratio: 357/410;
    padding-bottom: 0;
  }
  .section3-mini-label {
    font-size: 3.6vw;
  }
  .section3-select-trigger {
    font-size: 2.2vw;
  }
  .section3-gratitude-text {
    font-size: 5vw;
    margin-bottom: 6vw;
    padding: 0 4vw;
  }
  .section3-input-inline {
    height: 6vw;
    font-size: 4.8vw;
  }
  .section3-preview-modal-title {
    font-size: 4vw;
  }
  .section3-preview-modal-desc {
    font-size: 2.2vw;
  }
  .section3-form .section3-next-btn,
  .section3-cta-row-main #section3UploadBtn.section-cta.default-btn {
    font-size: 2.4vw;
    height: 6vw;
    line-height: 6vw;
    border-radius: 3vw;
  }
}
@media (max-width: 540px) {
  .hero-third-content-layer .hero-logos {
    top: 18px;
  }
  .section3-title {
    font-size: 4.8vw;
  }
  .section3-input {
    font-size: 5.4vw;
  }
  .section3-input-wrap {
    margin: 18px auto 0;
  }
  .section3-back-btn-label {
    font-size: 2.4vw;
  }
  .section3-symbol-grid-wrap {
    width: 80%;
    margin: 0 auto;
  }
  .section3-symbol-card {
    aspect-ratio: 350/400;
    padding-bottom: 0;
  }
  .section3-mini-card {
    padding: 4px;
    padding-bottom: 0;
  }
  .section3-select-trigger {
    padding: 0 32px 0 12px;
  }
  .section3-select-item {
    padding: 8px 12px;
  }
  .section3-input-inline {
    margin: 4vw 0 2vw;
  }
  .section3-form .section3-next-btn {
    min-width: 148px;
    margin: 10px auto 0;
  }
  .section3-form .section3-next-btn,
  .section3-final-btn,
  .section3-cta-row-main #section3UploadBtn.section-cta.default-btn,
  .section3-preview-modal-actions .section3-preview-modal-action-btn {
    font-size: 3vw;
    height: 9vw;
    line-height: 9vw;
    border-radius: 4.5vw;
  }
  .section3-preview-modal-actions .section3-preview-modal-action-btn {
    width: 100%;
  }
  .section3-preview-modal-actions:has(.section3-preview-modal-action-btn:only-child) {
    justify-items: stretch;
    width: 100%;
  }
  .section3-preview-modal-actions .section3-preview-modal-action-btn:only-child {
    width: 100%;
    max-width: 100%;
  }
  .section3-preview-modal-dialog {
    padding: 30px 15px;
  }
  .section3-preview-modal-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .section3-preview-modal-copy {
    display: contents;
  }
  .section3-preview-modal-title {
    order: 1;
    margin: 0;
  }
  .section3-preview-modal-desc {
    order: 2;
    margin: 0;
  }
  .section3-preview-modal-canvas {
    order: 3;
    width: 64%;
    height: auto;
    margin: 0 auto;
  }
  .section3-preview-modal-canvas canvas,
  .section3-preview-modal-canvas img {
    width: 100%;
    height: auto;
  }
  .section3-preview-modal-actions {
    order: 4;
  }
}
@media (max-width: 480px) {
  .section3-form-wrap {
    padding: 0;
  }
  .section3-title {
    font-size: 5vw;
    white-space: initial;
  }
  .section3-title br {
    display: none;
  }
  .section3-input {
    height: 8vw;
    font-size: 6.4vw;
  }
  .section3-input::placeholder {
    font-size: 6.4vw;
  }
  .section3-form .section3-next-btn,
  .section3-cta-row-main #section3UploadBtn.section-cta.default-btn {
    font-size: 3vw;
    height: 9vw;
    line-height: 9vw;
    border-radius: 4.5vw;
  }
  .section3-form .section3-next-btn {
    min-width: 120px;
  }
  .section3-back-btn-label {
    font-size: 3vw;
  }
  .section3-symbol-grid-wrap {
    width: 100%;
  }
  .section3-symbol-grid {
    gap: 12px;
  }
  .section3-symbol-image-wrap,
  .section3-symbol-image {
    height: 41vw;
  }
  .section3-symbol-label {
    font-size: 4.2vw;
    line-height: 2;
  }
  .section3-mini-label {
    line-height: 2;
  }
  .section3-select-trigger {
    font-size: 3vw;
    height: 8vw;
    border-radius: 4vw;
    margin-bottom: 4vw;
  }
  .section3-select-item {
    font-size: 3vw;
  }
  .section3-input-inline {
    margin: 4vw 0 2vw;
    min-width: 60vw;
  }
  .section3-preview-modal-title {
    font-size: 5vw;
    margin: 4vw auto 0;
  }
  .section3-preview-modal-desc {
    font-size: 3vw;
  }
  .section3-preview-modal-canvas {
    width: 64%;
    margin: 3vw auto;
  }
  .section3-preview-modal-close {
    top: 10px;
    right: 10px;
  }
  .section3-preview-modal-actions .section3-preview-modal-action-btn {
    font-size: 3vw;
    height: 9vw;
    line-height: 9vw;
    border-radius: 4.5vw;
    width: 100%;
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .hero-third-content-layer .hero-logos {
    top: 15px;
  }
  .section3-title {
    font-size: 28px;
  }
  .section3-title-step2 {
    margin-bottom: 20px;
  }
  .section3-title-step3 {
    margin-top: 36px;
    margin-bottom: 12px;
  }
  .section3-selected-row {
    bottom: calc(100% + 15px);
  }
  .section3-input-wrap {
    width: 640px;
    max-width: 100%;
  }
  .section3-input {
    height: 48px;
    line-height: 48px;
    font-size: 36px;
  }
  .section3-input::placeholder {
    font-size: 36px;
  }
  .section3-back-btn-label {
    font-size: 14px;
  }
  .section3-select-trigger {
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    font-size: 14px;
  }
  .section3-select-item {
    padding: 8px 12px;
    font-size: 13px;
  }
  .section3-symbol-grid {
    width: 80%;
    margin: 0 auto;
  }
  .section3-symbol-label {
    font-size: 28px;
  }
  .section3-symbol-card {
    padding-bottom: 0;
  }
  .section3-gratitude-text {
    font-size: 28px;
  }
  .section3-mini-card {
    padding-bottom: 0;
  }
  .section3-mini-label {
    line-height: 1.5;
  }
  .section3-preview-modal-dialog {
    width: 840px;
  }
  .section3-preview-modal-title {
    font-size: 30px;
  }
  .section3-preview-modal-desc {
    font-size: 14px;
  }
  .section3-next-btn,
  .section3-final-btn,
  .section3-cta-row-main #section3UploadBtn.section-cta.default-btn,
  .section3-preview-modal-actions .section3-preview-modal-action-btn {
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
  }
  .section3-next-btn {
    min-width: 160px;
  }
}
body.home {
  overflow-x: hidden;
}

body.section3-transitioning {
  pointer-events: none;
  overflow: hidden;
  height: 100vh;
}

body.section3-scroll-locked {
  overflow: hidden;
  height: 100vh;
}

body.section3-processing {
  overflow: hidden;
  height: 100vh;
  pointer-events: none;
}

/* reCAPTCHA v3 badge — ẩn theo yêu cầu UI. Google khuyến nghị vẫn nêu rõ bảo vệ bởi reCAPTCHA trong ĐKĐK / chân trang. */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.landing-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hero-parallax-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  max-width: 100%;
}

.hero-left-gradient-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #201f17 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero-left-gradient-layer {
    width: 100%;
  }
  .hero-fullscreen .hero-logo,
  .hero-third-section .hero-logo {
    width: 148px;
  }
}
@media (max-width: 768px) {
  .hero-fullscreen .hero-logo,
  .hero-third-section .hero-logo {
    width: 128px;
  }
}
.hero-content-container {
  position: relative;
  width: min(88vw, 1600px);
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-logos {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
}

.hero-logo {
  width: clamp(120px, 8.333vw, 160px);
  height: auto;
  display: block;
}

@media (max-width: 1279px) {
  .hero-content-container {
    width: min(100% - 40px, 1200px);
  }
  .hero-logos {
    top: 20px;
  }
}
@media (max-width: 540px) {
  .hero-fullscreen .hero-logo,
  .hero-third-section .hero-logo {
    width: 88px;
  }
  .hero-fullscreen .hero-logo-event,
  .hero-third-section .hero-logo-event {
    width: 88px;
    transform: translateY(-14%);
  }
  .hero-content-container {
    width: min(100% - 30px, 1200px);
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .hero-logos {
    top: 15px;
  }
  .hero-logo {
    width: 110px;
  }
}
/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
.workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: calc(100vh - 73px);
}

@media (max-width: 860px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .panel-form {
    border-right: none;
    border-bottom: 1px solid #1e1e2e;
  }
  header,
  .site-header {
    padding: 16px 24px;
  }
  .panel-form {
    padding: 28px 24px;
  }
  .panel-preview {
    padding: 28px 24px;
  }
}
/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
.panel-form {
  padding: 40px 36px;
  border-right: 1px solid #1e1e2e;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
}

.panel-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 38px;
  letter-spacing: 2px;
  line-height: 1;
  color: #e8e8f0;
  margin-bottom: 40px;
}
.panel-title em {
  color: #f0b429;
  font-style: normal;
}

.panel-sub {
  font-size: 13px;
  color: #fff;
  line-height: 1.6;
  margin-top: -16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
label span {
  color: #e85d75;
  margin-left: 2px;
}

input,
select {
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  color: #e8e8f0;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  padding: 13px 16px;
  margin-bottom: 30px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}
input::placeholder,
select::placeholder {
  color: #fff;
}
input:focus,
select:focus {
  border-color: #f0b429;
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.12);
}

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
  font-size: 14px;
}

.loai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}

.loai-card {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.15s;
  aspect-ratio: 1;
  position: relative;
}
.loai-card:hover {
  transform: translateY(-2px);
}
.loai-card.active {
  border-color: #f0b429;
}
.loai-card .swatch {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.loai-card .tick {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #f0b429;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #000;
  font-weight: 700;
}
.loai-card.active .tick {
  display: flex;
}

.btn-submit {
  background: #f0b429;
  border: none;
  border-radius: 12px;
  color: #0a0a0f;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 16px;
  text-transform: uppercase;
  transition: opacity 0.2s, transform 0.15s;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.btn-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}
.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-submit:active {
  transform: translateY(0);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit.loading .btn-text {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
.panel-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 24px;
  position: relative;
}

.panel-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(240, 180, 41, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 180, 41, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.preview-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #5a5a7a;
}

.canvas-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #1e1e2e, 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 120px rgba(240, 180, 41, 0.04);
  transition: box-shadow 0.4s;
  max-width: 480px;
  width: 100%;
  aspect-ratio: 2/3;
}

.canvas-wrap.rendered {
  box-shadow: 0 0 0 1px rgba(240, 180, 41, 0.3), 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 120px rgba(240, 180, 41, 0.12);
}

#preview-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #12121a;
  transition: opacity 0.4s;
}

.canvas-placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  border: 2px dashed #1e1e2e;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #5a5a7a;
}

.placeholder-text {
  font-size: 13px;
  color: #5a5a7a;
  text-align: center;
  line-height: 1.5;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.action-row.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.btn-action {
  border-radius: 10px;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 13px 16px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.btn-download {
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.3);
  color: #3ecf8e;
}
.btn-download:hover {
  background: rgba(62, 207, 142, 0.2);
  box-shadow: 0 4px 16px rgba(62, 207, 142, 0.15);
}

.btn-share {
  background: rgba(24, 119, 242, 0.12);
  border: 1px solid rgba(24, 119, 242, 0.4);
  color: #5b9df5;
}
.btn-share:hover {
  background: rgba(24, 119, 242, 0.2);
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.15);
}

.info-row {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 480px;
}

.info-chip {
  font-size: 11px;
  color: #5a5a7a;
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 6px;
  padding: 5px 10px;
  letter-spacing: 0.5px;
}
.info-chip strong {
  color: #e8e8f0;
}

.share-result {
  width: 100%;
  max-width: 480px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #1e1e2e;
  display: none;
}
.share-result.visible {
  display: block;
}

.share-link-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: #5a5a7a;
  margin-bottom: 6px;
}

.share-url {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 8px;
  color: #e8e8f0;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.btn-copy,
.btn-facebook {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-family: "DM Sans", sans-serif;
}

.btn-copy {
  background: rgba(90, 90, 122, 0.2);
  color: #e8e8f0;
}

.btn-facebook {
  background: rgba(24, 119, 242, 0.2);
  color: #5b9df5;
}

.debug-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 100%;
  padding: 12px 14px;
  background: #12121a;
  border-left: 1px solid #1e1e2e;
  font-size: 12px;
  overflow-y: auto;
  z-index: 100;
}
.debug-panel.hidden {
  display: none !important;
}

.debug-panel-title {
  font-weight: 600;
  color: #f0b429;
  margin-bottom: 10px;
}

.debug-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #1e1e2e;
}

.debug-tab {
  flex: 1;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #5a5a7a;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.debug-tab:hover {
  color: #e8e8f0;
}
.debug-tab.active {
  color: #f0b429;
  border-bottom-color: #f0b429;
}

.debug-tab-panel {
  display: none;
}
.debug-tab-panel.active {
  display: block;
}

.debug-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 0;
}

.debug-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.debug-group .debug-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5a5a7a;
}
.debug-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #5a5a7a;
  text-transform: none;
  letter-spacing: 0;
}
.debug-group input {
  width: 70px;
  padding: 4px 8px;
  font-size: 12px;
}
.debug-group input[type=color] {
  width: 36px;
  height: 28px;
  padding: 2px;
  cursor: pointer;
}
.debug-group select {
  width: 140px;
  padding: 4px 8px;
  font-size: 12px;
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 6px;
  color: #e8e8f0;
}

.debug-hint {
  margin: 10px 0 0;
  font-size: 10px;
  color: #5a5a7a;
  line-height: 1.4;
}

/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e8e8f0;
  z-index: 100;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 18px;
}

/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
.site-footer {
  padding: 1.5rem;
  text-align: center;
  background: #12121a;
  border-top: 1px solid #1e1e2e;
  color: #5a5a7a;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
}

/**
 * Image Builder Theme — Main stylesheet (built to assets/css/main.css)
 */
/**
 * Single share page (single-hinh_chia_se.php)
 */
body.single-hinh_chia_se,
body.post-type-singular-hinh_chia_se {
  overflow: hidden;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.single-share-page {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  overflow-x: hidden;
}

.single-share-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  overflow: hidden;
}

.single-share-layer {
  position: absolute;
  inset: 0;
}

.single-share-layer-black {
  background: #000;
  z-index: 1;
}

.single-share-layer-bg {
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.single-share-layer-content {
  z-index: 3;
  display: flex;
  justify-content: center;
}

.single-share-container {
  width: min(83.333vw, 1600px);
  height: 100%;
  position: relative;
  box-sizing: border-box;
}

.single-share-logos {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  width: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
}

.single-share-logo {
  width: clamp(120px, 8.333vw, 160px);
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  body.single-hinh_chia_se,
  body.post-type-singular-hinh_chia_se {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
  }
  .single-share-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .single-share-container {
    width: 100%;
  }
  .single-share-logos {
    padding: 0 30px;
    box-sizing: border-box;
  }
  .single-share-section {
    height: auto;
    min-height: auto;
    overflow: visible;
  }
  .single-share-layer-content {
    position: relative;
    inset: auto;
    height: auto;
    min-height: auto;
    display: block;
  }
  .single-share-container {
    height: auto;
    min-height: auto;
  }
  .single-share-main-content {
    height: auto;
    min-height: auto;
    padding: 0 0 48px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
  }
  .single-share-preview-wrap {
    width: 60vw;
    height: 90vw;
    aspect-ratio: 1024/1536;
    margin: 0 auto;
  }
  .single-share-right-panel {
    width: 100%;
  }
  .single-share-logo {
    width: 148px;
  }
}
@media (max-width: 768px) {
  .single-share-logo {
    width: 128px;
  }
}
.single-share-main-content {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.single-share-preview-wrap {
  position: relative;
  z-index: 1;
  height: 100vh;
  width: auto;
  aspect-ratio: 1024/1536;
  margin-left: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  /* Shadow ngoài — đậm hơn, góc vuông */
  --edge-fade-width: clamp(80px, 2.2vw, 120px);
}
.single-share-preview-wrap::before, .single-share-preview-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--edge-fade-width);
  pointer-events: none;
  z-index: 2;
}
.single-share-preview-wrap::before {
  left: calc(var(--edge-fade-width) * -0.7);
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0) 100%);
}
.single-share-preview-wrap::after {
  right: calc(var(--edge-fade-width) * -0.7);
  background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0) 100%);
}

.single-share-preview-bottom-fade {
  display: none;
}

/* Khung ảnh: chỉ inset + gradient trên nội dung; không shadow ngoài */
.single-share-preview-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.single-share-preview-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 52px 22px rgba(0, 0, 0, 0.42), inset 0 0 120px rgba(0, 0, 0, 0.28);
  background: radial-gradient(ellipse 88% 92% at 50% 48%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.22) 72%, rgba(0, 0, 0, 0.42) 100%);
}

.single-share-preview-frame--empty::after {
  /* Vignette debug — cùng hướng đậm với khung có ảnh */
  background: radial-gradient(ellipse 88% 92% at 50% 48%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.35) 100%);
}

/* Canvas-only edge blend: dark side gradients to merge with background */
.single-share-preview-frame--canvas {
  --canvas-edge-blend-side: clamp(26px, 4vw, 48px);
  --canvas-edge-blend-top-bottom: 80px;
}

.single-share-preview-edge {
  position: absolute;
  pointer-events: none;
  z-index: 4;
}

.single-share-preview-edge--left {
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--canvas-edge-blend-side);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0) 100%);
}

.single-share-preview-edge--right {
  top: 0;
  bottom: 0;
  right: 0;
  width: var(--canvas-edge-blend-side);
  background: linear-gradient(to left, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0) 100%);
}

.single-share-preview-edge--top {
  top: -40px;
  left: 0;
  right: 0;
  height: var(--canvas-edge-blend-top-bottom);
  background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 100%);
  display: none;
}

.single-share-preview-edge--bottom {
  bottom: -40px;
  left: 0;
  right: 0;
  height: var(--canvas-edge-blend-top-bottom);
  background: linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 100%);
  display: none;
}

.single-share-preview-frame--canvas::before {
  content: none;
}

@media (max-width: 1024px) {
  .single-share-preview-wrap::before,
  .single-share-preview-wrap::after,
  .single-share-preview-frame::after {
    content: none;
  }
  .single-share-preview-edge {
    display: none;
  }
}
.single-share-preview-image {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.single-share-preview-canvas {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.single-share-preview-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 2;
}

.single-share-preview-fallback.is-visible {
  position: absolute;
}

.single-share-preview-debug {
  width: 100%;
  height: 100%;
  background: #ff0000;
}

.single-share-right-panel {
  position: relative;
  z-index: 3;
  width: clamp(595.56px, 46.528vw, 893.33px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.single-share-awards-row {
  width: min(100%, 640px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(16px, 1.25vw, 24px);
  margin-bottom: 40px;
}

.single-share-award-card {
  position: relative;
  width: 240px;
  height: 360px;
  padding: 36px 10px;
  box-sizing: border-box;
  border-radius: 0;
  border: 0;
  background-color: transparent;
  backdrop-filter: blur(1px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.single-share-award-card:nth-child(2) {
  height: 338px;
  padding: 47px 10px 36px;
}

.single-share-award-card:first-child {
  padding-top: 50px;
}

.single-share-award-card:first-child .single-share-award-image {
  margin-bottom: 24px;
}

.single-share-award-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.single-share-award-card > .single-share-award-image,
.single-share-award-card > .single-share-award-meta {
  position: relative;
  z-index: 1;
}

.single-share-award-image {
  width: 127px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.single-share-award-card:nth-child(2) .single-share-award-image {
  width: 178px;
  margin-bottom: 27px;
}

.single-share-award-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.single-share-award-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  height: auto;
  display: block;
  z-index: 2;
}

.single-share-award-badge--rank-1 {
  width: 63px;
}

.single-share-award-badge--rank-2 {
  width: 56px;
}

.single-share-award-rank {
  margin: 0;
  text-align: center;
  color: #ff6815;
  font-family: "ChefsHandv3", cursive;
  font-size: 32px;
  line-height: 1.1;
}

.single-share-award-prize {
  margin: 0;
  text-align: center;
  color: #fff;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.3;
}
.single-share-award-prize strong {
  font-weight: 700;
}

.single-share-award-prize-lead {
  font-weight: 700;
}

@media (max-width: 540px) {
  .single-share-award-prize-linebreak {
    display: none;
  }
}
.single-share-title {
  margin: 0 0 36px;
  text-align: center;
  color: #fff;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(28px, 2.222vw, 42px);
  line-height: 1.3;
}

.single-share-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.single-share-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 240px;
  height: 42px;
  line-height: 42px;
  padding: 0 18px;
  box-sizing: border-box;
  border-radius: 999px;
  color: #fff;
  font-family: "Unilever Shilling", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-share-cta-btn.bordered-btn {
  border: 1px solid #ff5a00;
  background: transparent;
  color: #fff;
  /* Vàng hơn (#ffc94d), alpha shadow giảm ~50% so với trước */
  box-shadow: inset 0 0 8px rgba(255, 201, 77, 0.275), inset 0 0 14px rgba(255, 201, 77, 0.1), 0 0 8px rgba(255, 201, 77, 0.225), 0 0 16px rgba(255, 201, 77, 0.15);
}

.single-share-cta-btn.default-btn {
  border: 1px solid #ffe14a;
  background: linear-gradient(to right, #ffb401 0%, #ff7500 100%);
  color: #fff;
  box-shadow: none;
}

.single-share-cta-btn.bordered-btn:hover {
  background: #ff6815;
  border-color: #ff6815;
  box-shadow: none;
}

.single-share-cta-btn.default-btn:hover {
  box-shadow: inset 0 0 9px rgba(255, 224, 118, 0.34), inset 0 0 16px rgba(255, 224, 118, 0.13), 0 0 10px rgba(255, 224, 118, 0.32), 0 0 20px rgba(255, 224, 118, 0.22);
}

.single-share-cta-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-share-cta-icon svg,
.single-share-cta-icon img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .single-share-logos {
    top: 15px;
  }
  .single-share-logo {
    width: 110px;
  }
  .single-share-title {
    margin: 0 0 28px;
    font-size: 28px;
  }
  .single-share-awards-row {
    gap: 14px;
  }
  .single-share-award-card {
    width: 204px;
    height: 307px;
    padding: 31px 10px;
  }
  .single-share-award-card:nth-child(2) {
    height: 285px;
  }
  .single-share-award-card:first-child {
    padding-top: 43px;
  }
  .single-share-award-badge {
    top: -7px;
    left: -7px;
  }
  .single-share-award-badge--rank-1 {
    width: 54px;
  }
  .single-share-award-badge--rank-2 {
    width: 48px;
  }
  .single-share-award-image {
    width: 108px;
  }
  .single-share-award-rank {
    font-size: 27px;
  }
  .single-share-award-prize {
    font-size: 14px;
  }
}
/* Keep this block at file end so it wins cascade over base desktop rules */
@media (max-width: 1024px) {
  body.single-hinh_chia_se,
  body.post-type-singular-hinh_chia_se {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
  }
  .single-share-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .single-share-container {
    width: 100%;
  }
  .single-share-logos {
    padding: 0 30px;
    box-sizing: border-box;
  }
  .single-share-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  /* Tablet/mobile: solid black only — hide desktop background photo */
  .single-share-layer-bg {
    display: none;
  }
  .single-share-main-content {
    height: auto;
    min-height: 100vh;
    padding: 0 0 48px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
  }
  .single-share-preview-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 1024/1536;
    margin: 0 auto 40px;
    padding: 0;
    box-sizing: border-box;
  }
  .single-share-preview-bottom-fade {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    height: 100px;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
  }
  .single-share-right-panel {
    width: 100%;
    gap: 24px;
    margin-top: -10vw;
  }
  .single-share-right-panel .single-share-cta-row {
    order: 1;
    margin-bottom: 5vw;
  }
  .single-share-right-panel .single-share-title {
    order: 2;
  }
  .single-share-right-panel .single-share-awards-row {
    order: 3;
    margin-bottom: 0;
    gap: 4vw;
  }
  .single-share-title {
    font-size: 4.8vw;
    margin-bottom: 4vw;
    padding: 0 30px;
    box-sizing: border-box;
  }
  /* Award cards scaled from 240px base → 30vw, same W:H ratios */
  .single-share-award-card {
    width: 30vw;
    height: 45vw;
    padding: 4.5vw 1.25vw;
  }
  .single-share-award-card:nth-child(2) {
    height: 42.25vw;
  }
  .single-share-award-card:first-child {
    padding-top: 6.25vw;
  }
  .single-share-award-badge {
    top: -1vw;
    left: -1vw;
  }
  .single-share-award-badge--rank-1 {
    width: 7.875vw;
  }
  .single-share-award-badge--rank-2 {
    width: 7vw;
  }
  .single-share-award-rank {
    font-size: 5.2vw;
  }
  .single-share-award-prize {
    font-size: 2.7vw;
  }
  .single-share-award-image {
    width: 60%;
  }
  .single-share-cta-btn {
    width: auto;
    min-width: 0;
    height: 6.4vw;
    line-height: 6.4vw;
    padding: 0 4vw;
    border-radius: 3.2vw;
    font-size: 2.7vw;
    font-weight: 500;
    white-space: nowrap;
  }
  .single-share-cta-icon {
    width: 3vw;
    height: 3vw;
  }
  .single-share-logo {
    width: 148px;
  }
}
/* After 1024 rules: narrow phones — column CTA + larger award cards */
@media (max-width: 540px) {
  .single-share-logos {
    padding: 0 20px;
    box-sizing: border-box;
  }
  .single-share-right-panel {
    padding: 0 20px;
    box-sizing: border-box;
  }
  .single-share-title {
    padding: 0;
  }
  .single-share-logo {
    width: 88px;
  }
  .single-share-logos > img.single-share-logo {
    width: 88px;
  }
  .single-share-cta-row {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }
  .single-share-cta-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 3vw;
    height: 9vw;
    line-height: 9vw;
    border-radius: 4.5vw;
  }
  .single-share-award-card {
    width: 40vw;
    height: 60vw;
    padding: 6vw 1.6666666667vw;
  }
  .single-share-award-card:nth-child(2) {
    height: 56.3333333333vw;
  }
  .single-share-award-card:first-child {
    padding-top: 8.3333333333vw;
  }
  .single-share-award-badge {
    top: -1.3333333333vw;
    left: -1.3333333333vw;
  }
  .single-share-award-badge--rank-1 {
    width: 10.5vw;
  }
  .single-share-award-badge--rank-2 {
    width: 9.3333333333vw;
  }
  .single-share-award-card:nth-child(2) {
    padding: 35px 10px 16px;
  }
  .single-share-award-card:nth-child(2) .single-share-award-image {
    width: 138px;
    margin-bottom: 17px;
  }
}
@media (max-width: 768px) {
  .single-share-cta-btn {
    font-size: 2.4vw;
    height: 6vw;
    line-height: 6vw;
    border-radius: 3vw;
  }
}
@media (max-width: 480px) {
  .single-share-logos {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .single-share-logo {
    width: 88px;
  }
  .single-share-logos > img.single-share-logo {
    width: 88px;
  }
  .single-share-right-panel {
    margin-top: -24vw;
  }
  .single-share-cta-btn {
    font-size: 3vw;
    height: 9vw;
    line-height: 9vw;
    border-radius: 4.5vw;
  }
}