@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ibmplexsansthai/v10/m8JPje1VVIzcq1HzJq2AEdo2Tj_qvLq8Dg.ttf) format('truetype');
}

@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ibmplexsansthai/v10/m8JMje1VVIzcq1HzJq2AEdo2Tj_qvLqEsvMFbQ.ttf) format('truetype');
}

@keyframes rotate180 {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(180deg);
  }
}

@keyframes rotate0 {
  from {
    transform: rotate(180deg);
  }

  to {
    transform: rotate(0);
  }
}

.btn-submit {
  background: #ED1C2E;
  color: #FFF;
  border: 2px solid #ED1C2E;
  box-sizing: border-box;
  box-shadow: 0px 5px 10px rgba(237, 28, 46, 0.25);
  border-radius: 999px;
  font-size: 1.25rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #2E71D2;
  color: #FFF;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-weight: 400;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media only screen and (min-width: 577px) {
  body {
    max-width: 375px;
  }
}

#navbarToggleExternalContent ul {
  background-color: #003DA5;
}

#navbarToggleExternalContent ul a:hover {
  color: #F2C94C;
}

#menubar {
  background: #003DA5;
  position: relative;
  height: 60px;
}

#bgheader {
  width: 100%;
  z-index: -1;
  background-size: 100%;
  background-repeat: no-repeat;
}

@media only screen and (min-width: 577px) {
  #bgheader {
    max-width: 375px;
  }
}

#logoarea {
  width: 100%;
  height: 60px;
  background: url(../images/logo.png) no-repeat;
  background-size: auto 62%;
  background-position: center;
}

#logoarea #logo {
  max-width: 100%;
  margin-top: 1rem;
}

#logoarea #logolink {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 60px; /* leave the hamburger's hit area alone */
  height: 60px;
}

nav.navbar {
  /* background: #F2C94C; */
  width: 60px;
  height: 60px;
  position: absolute;
  right: 0;
}

nav.navbar button {
  width: 80px;
}

nav.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

nav.navbar .navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}

.nav-item {
  padding: 0.5rem;
}

a.nav-link {
  color: #FFF;
}

a.nav-link:hover,
a.nav-link:focus {
  color: #F2C94C;
}

h1 {
  font-weight: 600;
  line-height: 47px;
  color: #FFF;
  text-align: center;
}

#header {
  padding-top: 2rem;
  background: #E62E48;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  text-align: center;
}

#header:after {
  content: '';
  width: 30%;
  top: 7px;
  height: 1px;
  background: url('data:image/svg+xml,<svg width="102" height="2" viewBox="0 0 102 2" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1H101" stroke="%23F7D942" stroke-linecap="round" stroke-dasharray="3 3"/></svg>');
  background-position: top center;
  position: relative;
  display: inline-block;
}

#header h1 {
  color: #FFF;
  font-size: 1.75rem;
}

#header.mainpageheader {
  background: #FFF;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 15px;
  padding-bottom: 20px;
}

#header #packshot {
  max-width: 200px;
}

#mainpagearea #promotearea {
  text-align: center;
}

#mainpagearea #promotearea img {
  max-width: 100%;
  border-radius: 0 0 18px 18px;
  /* -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%); */
}

#mainpagearea #promotearea #campaigntxt {
  padding: 1rem;
}

#mainpagearea #promotearea #promoteimg #packshot {
  padding-left: 1rem;
  padding-right: 1rem;
}

#mainpagearea #enterarea {
  background: #FFF;
  border-radius: 10px;
  color: #000;
  border: 1px solid rgba(0, 61, 165, 0.25);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  margin: 0.5rem;
}

#mainpagearea #page1 {
  background: #2E71D2;
  padding-bottom: 2rem;
  min-height: calc(100vh - 60px);
}

.whitebox-content {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

#mainbox {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2rem;
  margin-bottom: 0;
  padding: 0;
}

#mainbox #userinfo {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

#mainbox #userinfo h1 {
  color: #003DA5;
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}

#mainbox #userinfo h1 span.sub {
  font-size: 1.15rem;
  line-height: 1;
}

#mainbox #userinfo h2 {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

#mainbox #userinfo input:not(input[type="checkbox"]) {
  border-radius: 10px;
  font-size: 1.25rem;
  color: #0B152C;
  padding: 0.5rem 1rem;
}

#mainbox #userinfo input:not(input[type="checkbox"]):focus {
  outline: 2px solid #2E71D2;
}

#mainbox #userinfo .invalid {
  margin-top: 0.5rem;
  color: #ED1C2E;
  display: none;
}

#mainbox #termsarea {
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
  color: #2b2b2b;
}

#mainbox #termsarea a {
  color: #003DA5;
  text-decoration: underline;
}

#mainbox #termsarea .form-control+.form-control {
  margin-top: 1em;
}

#mainbox #termsarea input[type="checkbox"] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  /* For iOS < 15 */
  /* Not removed via appearance */
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}

#mainbox #termsarea input[type="checkbox"]:focus {
  outline: 0.15em solid currentColor;
  background-color: #0B152C;
  outline-offset: 0.15em;
}

#mainbox #entereventp1 {
  margin-top: 2rem;
}

#mainbox #entereventp1 button {
  width: 100%;
  background: #ED1C2E;
  color: #FFF;
  border: 2px solid #ED1C2E;
  box-sizing: border-box;
  box-shadow: 0px 5px 10px rgba(237, 28, 46, 0.25);
  border-radius: 999px;
  font-size: 1.25rem;
}

#page2 {
  display: none;
  background: #FFF;
  min-height: 100vh;
}

#page2 #sendmethodareaoverlay {
  background: #2E71D2;
}

#page2 #sendmethodarea {
  border-end-start-radius: 20px;
  border-end-end-radius: 20px;
  background-color: #003DA5;
  padding: 1rem;
}

#page2 #sendmethodarea #headmethodarea {
  text-align: center;
  margin-bottom: 2rem;
  color: #FFF;
}

#page2 #sendmethodarea #headmethodarea #headmain {
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  line-height: 38px;
  /* 140.741% */
}

#page2 #sendmethodarea #headmethodarea #headdetail {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#page2 #sendmethodarea #methodbtnarea {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
}

#page2 #sendmethodarea #methodbtnarea .methodcol {
  flex: 1 0 0;
  margin: 0.15rem;
  display: flex;
  flex-direction: column;
}

#page2 #sendmethodarea #methodbtnarea .methodlabel {
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.35rem;
}

#page2 #sendmethodarea #methodbtnarea .btn {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  font-size: 0.85rem;
  flex: 1;
  min-height: 76px;
  color: #FFF;
  margin: 0;
  padding: 0.4rem 0.3rem;
}

#page2 #sendmethodarea #methodbtnarea .btn.selected {
  border: 3px solid #FFF;
  font-weight: 700;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none"><circle cx="7" cy="7" r="7" fill="white"/><circle cx="7" cy="7" r="6" fill="%2300B332"/><line x1="4.00773" y1="6.86276" x2="5.79306" y2="8.64809" stroke="white" stroke-width="1.2"/><line x1="9.89957" y1="5.10599" x2="5.97184" y2="9.03373" stroke="white" stroke-width="1.2"/></svg>');
  background-repeat: no-repeat;
  background-position: top 4px right 4px;
}

#page2 #sendmethodarea #methodbtnarea #coupon {
  background-color: #279158;
}

#page2 #sendmethodarea #methodbtnarea #recipemoderntrade {
  background-color: #B23B7F;
}

#page2 #sendmethodarea #methodbtnarea #recipeonline {
  background-color: #0F7FA8;
}

#page2 #shoparea {
  background: #2E71D2;
  border-end-start-radius: 20px;
  border-end-end-radius: 20px;
  padding: 1.5rem;
  color: #FFF;
}

#page2 #shoparea #headshoparea {
  text-align: center;
  margin-bottom: 2rem;
}

#page2 #shoparea #headshoparea #headmain {
  font-size: 2rem;
  color: #FFF;
}

#page2 #shoparea #headshoparea #headdetail {
  font-size: 0.875rem;
  color: #FFF;
}

#page2 #shoparea #provinceblockarea .description,
#page2 #shoparea #shopblockarea .description,
#page2 #shoparea #shoponlineblockarea .description {
  text-align: center;
  color: #FFF;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

#page2 #shoparea #provinceblockarea select,
#page2 #shoparea #shopblockarea select,
#page2 #shoparea #shoponlineblockarea select {
  border-radius: 12px;
  font-size: 1.25rem;
  color: #003DA5;
  padding: 0.5rem 1rem;
  background-color: #FFF;
  border: 2px solid #003DA5;
}

#page2 #shoparea #provinceblockarea select:disabled,
#page2 #shoparea #shopblockarea select:disabled,
#page2 #shoparea #shoponlineblockarea select:disabled {
  background-color: #969696;
}

#page2 #shoparea #shoplocalselectarea {
  display: none;
}

#page2 #shoparea #shoplocalselectarea .shoplocalselector {
  display: none;
}

/* ── Searchable store picker (localshop) ── */
#page2 #shoparea #shoppicker {
  position: relative;
}

#page2 #shoparea .shoppicker-inputwrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFF;
  border: 2px solid #003DA5;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
}

#page2 #shoparea .shoppicker-icon {
  color: #003DA5;
  flex-shrink: 0;
}

#page2 #shoparea #shopSearchInput {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 1.05rem;
  color: #003DA5;
}

#page2 #shoparea #shopSearchInput::placeholder {
  color: #9fb0c9;
}

#page2 #shoparea #shopSearchInput:disabled {
  color: #b6c0cf;
}

#page2 #shoparea #shopSearchClear {
  display: none;
  border: none;
  background: #E9F0FB;
  color: #003DA5;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

#page2 #shoparea #shopSearchInput:not(:placeholder-shown)+#shopSearchClear {
  display: block;
}

#page2 #shoparea #shopResults {
  display: none;
  margin-top: 0.45rem;
  background: #FFF;
  border: 1px solid #cdd9ef;
  border-radius: 12px;
  max-height: 264px;
  overflow-y: auto;
  box-shadow: 0px 6px 16px rgba(0, 20, 60, 0.18);
  text-align: left;
}

#page2 #shoparea #shopResults.open {
  display: block;
}

#page2 #shoparea #shopResults .shopresult-item {
  padding: 0.6rem 0.9rem;
  color: #003DA5;
  font-size: 0.95rem;
  line-height: 1.35;
  cursor: pointer;
  border-bottom: 1px solid #eef2fa;
}

#page2 #shoparea #shopResults .shopresult-item:last-child {
  border-bottom: none;
}

#page2 #shoparea #shopResults .shopresult-item:hover {
  background: #E9F0FB;
}

#page2 #shoparea #shopResults .shopresult-item.selected {
  background: #003DA5;
  color: #FFF;
}

#page2 #shoparea #shopResults .shopresult-empty {
  padding: 0.9rem;
  text-align: center;
  color: #98A2B3;
  font-size: 0.9rem;
}

#page2 #shoparea #shopblockarea,
#page2 #shoparea #shoponlineblockarea {
  display: none;
}

#page2 #codearea {
  border-radius: 10px;
  padding: 1.5rem;
  color: #003DA5;
  display: none;
}

#page2 #codearea #headcodearea {
  text-align: center;
  margin-bottom: 2rem;
}

#page2 #codearea #headcodearea .headdetail {
  font-size: 0.875rem;
  color: #003DA5;
}

#page2 #codearea #headcodearea #recipedetail,
#page2 #codearea #headcodearea #recipeonlinedetail {
  display: none;
}

#page2 #codearea #codeblockarea .codetextboxarea {
  margin-bottom: 1rem;
  position: relative;
}

#page2 #codearea #codeblockarea .codetextboxarea button.btn-delete {
  position: absolute;
  right: 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  background: url(../images/delete.svg) no-repeat;
  background-size: contain;
  display: none;
}

#page2 #codearea #codeblockarea .codetextbox {
  border-radius: 12px;
  text-align: center;
  background: #FFF;
  color: #003DA5;
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  height: 3rem;
}

#page2 #codearea #codeblockarea .codetextbox:focus {
  outline: 2px solid #2E71D2;
}

#page2 #codearea #addcodebtnarea #addcode {
  width: 100%;
  background: transparent;
  border: 1px solid #ced4da;
  box-sizing: border-box;
  border-radius: 999px;
  height: 48px;
}

#page2 #codearea #enterevent {
  margin-top: 2rem;
}

#page2 #codearea #enterevent .warn {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #003DA5;
}

#page2 #codearea #enterevent button {
  width: 100%;
  background: #ED1C2E;
  color: #FFF;
  border: 2px solid #ED1C2E;
  box-sizing: border-box;
  box-shadow: 0px 5px 10px rgba(237, 28, 46, 0.25);
  border-radius: 999px;
  font-size: 1.25rem;
}

#page2 #codearea #enterevent #warnmodern,
#page2 #codearea #enterevent #warnonline {
  display: none;
}

#page2 #promotestep2 img {
  max-width: 100%;
}

#pagefinish {
  display: none;
  color: #FFFFFF;
}

#pagefinish #content-finish {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2rem;
  margin-bottom: 0;
  padding: 0;
  padding-bottom: 1.5rem;
  background: none;
  box-shadow: none;
}

#pagefinish #header-finish {
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  background: #E62E48;
  border-end-start-radius: 20px;
  border-end-end-radius: 20px;
}

#pagefinish #header-finish #subheader-finish {
  margin-top: 1rem;
  color: #FFF;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
}

/* legend moved above the result list (client feedback: 10 codes push it too far down) */
#pagefinish #resultlegend {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1rem;
  margin-bottom: 0.25rem;
}

#pagefinish #resultlegend .legenditem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFF;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

#pagefinish #resultlegend .legenditem img {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

#pagefinish #resultboxarea {
  padding: 1rem;
}

#pagefinish #resultboxarea .resultbox {
  padding: 0.7rem 2.6rem;
  width: 100%;
  text-align: center;
  background-color: #FFF;
  background-image: url(../images/pass.png);
  background-repeat: no-repeat;
  background-size: 1.75rem;
  background-position: calc(100% - 0.75rem) center;
  box-sizing: border-box;
  border-radius: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  color: #18702B;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

#pagefinish #resultboxarea .resultbox.failed {
  background-image: url(../images/fail.png);
  background-repeat: no-repeat;
  background-size: 1.75rem;
  background-position: calc(100% - 0.75rem) center;
  color: #C11223;
}

/* entitlement message (7-Eleven = 2 สิทธิ์ / others = 1 สิทธิ์) */
#pagefinish #entrynote {
  padding: 0 1rem;
}

#pagefinish #entrynote .entrynote-box {
  background: #FFF;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  text-align: center;
  color: #003DA5;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

#pagefinish #entrynote .entrynote-box strong {
  color: #ED1C2E;
  font-weight: 700;
  font-size: 1.15rem;
}

#pagefinish #buttonarea {
  color: #FFF;
}

#pagefinish #buttonarea #contactadmin,
#pagefinish #buttonarea #restart {
  text-align: center;
}

#pagefinish #buttonarea #contactadmin {
  margin-top: 1rem;
}

#pagefinish #buttonarea #contactadmin a {
  color: #FFF;
  font-size: 1rem;
}

#pagefinish #buttonarea #restart .btn {
  margin-top: 1rem;
  width: 80%;
  background: #ED1C2E;
  color: #FFF;
  border: 2px solid #ED1C2E;
  box-sizing: border-box;
  box-shadow: 0px 5px 10px rgba(237, 28, 46, 0.25);
  border-radius: 999px;
  font-size: 1.25rem;
}

#promotebottom {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

footer {
  padding-top: 2rem;
  padding-bottom: 1rem;
  color: #FFF;
  font-size: 0.75rem;
  margin-top: auto;
}

footer #copyright {
  text-align: center;
  line-height: 1.5;
  padding-bottom: 0.5rem;
}

footer #linkarea {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
}

footer #linkarea>div {
  flex: 1 0 0;
}

footer #linkarea #footerlink {
  margin-bottom: 0.5rem;
}

footer #linkarea #footerlink a {
  color: #FFF;
}

footer #linkarea #logomdz {
  text-align: center;
  margin-bottom: 1rem;
}

footer #linkarea #logomdz img {
  max-width: 30%;
  height: auto;
}

footer.whitebg {
  color: #003DA5;
  background: #FFF;
}

footer.whitebg a {
  color: #003DA5 !important;
}

#contactfixed {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
}

#contactfixed .btn {
  background: #06cf55;
  color: #FFF;
  border: 2px solid #06cf55;
  box-sizing: border-box;
  box-shadow: 0px 5px 10px rgba(6, 207, 86, 0.2);
  border-radius: 999px;
  font-size: 1.25rem;
}

.contentarea {
  background: #FFF;
  color: #000;
  min-height: calc(100vh - 60px);
}

#content-whitebox {
  color: #003DA5;
}

#content-whitebox.privacy a {
  color: #003DA5;
}

#recipearea .recipetype {
  margin-bottom: 0.5rem;
  border: 1px solid #003DA5;
}

#recipearea .recipetype .title {
  width: 100%;
  line-height: 50px;
  color: #FFF;
  text-align: center;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  background: #0d254b;
  /* border-top: 1px solid #003DA5; */
}

#recipearea .recipetype .btn {
  width: 100%;
  padding: 0.75rem 0.5rem;
  text-align: left;
  font-family: IBM Plex Sans Thai;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  border-radius: 0;
  border-top: 0.5px solid #FFF;
  border-bottom: 0;
  background: #003DA5;
  color: #FFF;
  display: flex;
  justify-content: space-between;
}

#recipearea .recipetype .btn .storename {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#recipearea .recipetype .btn:focus {
  box-shadow: none;
}

#recipearea .recipetype .btn .arrow img {
  animation-name: rotate0;
  animation-duration: 0.5s;
}

#recipearea .recipetype .btn:not(.collapsed) .arrow img {
  transform: rotate(180deg);
  animation-name: rotate180;
  animation-duration: 0.5s;
}

#recipearea .recipetype .recipedetail {
  width: 100%;
  background-color: #FFF;
  padding: 0.25rem 1rem 1rem;
}

#recipearea .recipetype .recipedetail .inner img {
  width: 90%;
  margin-left: 0.25rem;
}

#recipearea .recipetype .recipedetail .inner img.small {
  width: 45%;
}

#header-winner h1 {
  font-weight: 600;
  line-height: 47px;
  color: #FFF;
  text-align: center;
}

#winner-block-area .luckydraw-title {
  padding-top: 1rem;
  text-align: center;
}

#winner-block-area .luckydraw-title .title-name {
  width: 90%;
  border-radius: 0.5rem;
  background: #FFF;
  color: #003DA5;
  font-size: 2rem;
  line-height: 1.6;
  font-weight: 700;
  margin: 0 auto 0.25rem;
}

#winner-block-area .luckydraw-title .title-date {
  font-weight: 700;
  font-size: 1.5rem;
}

#winner-block-area .winner-block {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background: #FFF;
  padding: 0.5rem;
  border-radius: 20px;
}

#winner-block-area .winner-block .winner-btn button {
  color: #003DA5;
  background: #FFF;
  box-shadow: 0px 5px 10px rgba(212, 173, 68, 0.3);
  width: 100%;
}

#winner-block-area .winner-block .winner-btn button .btn-title {
  font-weight: 700;
  font-size: 27px;
  line-height: 45px;
}

#winner-block-area .winner-block .winner-btn button .btn-detail {
  font-weight: 700;
  font-size: 15px;
  line-height: 25px;
}

#winner-block-area .winner-block .winner-detail {
  color: #003DA5;
  padding: 1rem 0.5rem;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block {
  padding-bottom: 1rem;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-title {
  padding-bottom: 1rem;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-title .winner-number {
  font-weight: 600;
  font-size: 1.25rem;
  color: #ED1C2E;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-title .winner-prize-title {
  font-weight: 600;
  font-size: 1rem;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-title .winner-prize-subtitle {
  font-weight: 400;
  font-size: 1rem;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-name-list {
  display: table;
  width: 100%;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-name-list .winner-user {
  display: table-row;
  font-size: 0.85rem;
  text-align: left;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-name-list .num,
#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-name-list .name,
#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-name-list .tel {
  display: table-cell;
}

#winner-block-area .winner-block .winner-detail .winner-prize-block .winner-name-list .num {
  text-align: left;
  width: 1.5rem;
  display: table-cell;
}

/* ── Search Box (recipe.php) ── */
.search-wrapper {
  padding: 0 0.25rem;
}

.search-box {
  display: flex;
  align-items: center;
  background: #FFF;
  border: 2px solid #003DA5;
  border-radius: 30px;
  padding: 0.45rem 0.75rem;
  gap: 0.5rem;
}

.search-icon {
  flex-shrink: 0;
  color: #003DA5;
}

#shopSearch {
  border: none;
  outline: none;
  flex: 1;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 1rem;
  color: #333;
  background: transparent;
  min-width: 0;
}

#shopSearch::placeholder {
  color: #bbb;
}

#clearSearch {
  display: none;
  align-items: center;
  justify-content: center;
  background: #ddd;
  border: none;
  border-radius: 50%;
  width: 1.4rem;
  height: 1.4rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: #555;
  flex-shrink: 0;
  padding: 0;
}

#clearSearch:hover {
  background: #003DA5;
  color: #FFF;
}

.no-result-msg {
  text-align: center;
  color: #999;
  padding: 1rem 0;
  font-size: 0.95rem;
}

/* ── SmartHeart x PROXIE : prize track selection ── */
#prizetrackarea {
  margin-top: 1.5rem;
  text-align: center;
}

#prizetrackarea #headprizetrack {
  font-size: 1.25rem;
  font-weight: 700;
  color: #003DA5;
  margin-bottom: 0.25rem;
}

#prizetrackarea #headprizetrack span {
  font-size: 0.875rem;
  font-weight: 400;
}

#prizetrackarea #prizetrackbtnarea {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  margin-top: 0.75rem;
}

#prizetrackarea .prizetrack {
  flex: 1 0 0;
  margin: 0.15rem;
  padding: 0.75rem 0.25rem;
  border: 2px solid #003DA5;
  border-radius: 12px;
  background: #FFF;
  color: #003DA5;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

#prizetrackarea .prizetrack span {
  font-size: 0.75rem;
  font-weight: 400;
}

#prizetrackarea .prizetrack.selected {
  background: #003DA5;
  color: #FFF;
  border-color: #003DA5;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><circle cx="6" cy="6" r="6" fill="%2300B332"/><line x1="3.50773" y1="5.86276" x2="5.29306" y2="7.64809" stroke="white"/><line x1="8.89957" y1="4.10599" x2="4.97184" y2="8.03373" stroke="white"/></svg>');
  background-repeat: no-repeat;
  background-position: top 5px right 5px;
}

#prizetrackarea #prizetracknote {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #ED1C2E;
}

/* duplicate-receipt note inside a result box */
#pagefinish #resultboxarea .resultbox .resultnote {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.35;
  color: #C11223;
  text-transform: none;
  padding-top: 0.15rem;
  padding-bottom: 0.25rem;
}

/* winners page */
.comingsoon {
  color: #003DA5;
  padding: 2rem 0;
}

#winner-block-area .winner-block .winner-detail .winner-group-header {
  font-weight: 700;
  font-size: 1.15rem;
  color: #FFF;
  background: #003DA5;
  border-radius: 10px;
  text-align: center;
  padding: 0.5rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

/* winner list as 1:1 images from the client (winner-1-th.php, files in images/winners/) */
#winner-block-area .winner-intro {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

#winner-block-area .winner-intro .winner-intro-head {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

#winner-block-area .winner-intro strong {
  color: #ED1C2E;
  white-space: nowrap;
}

#winner-block-area .winner-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#winner-block-area .winner-zoom-hint {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}

#winner-block-area .winner-group {
  margin-bottom: 1.5rem;
}

#winner-block-area .winner-gallery a {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #003DA5;
}

/* magnifier badge: tells people the image opens and zooms */
#winner-block-area .winner-gallery a::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #FFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003DA5' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.8-4.8M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") no-repeat center / 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 61, 165, 0.3);
  pointer-events: none;
}

#winner-block-area .winner-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

/* sticky: pinned to the bottom of the screen while scrolling the images, settles after the last one */
#winner-block-area .winner-claim {
  position: sticky;
  bottom: 0.75rem;
  z-index: 5;
  margin-top: 1rem;
}

#winner-block-area .winner-claim-btn {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: #ED1C2E;
  color: #FFF;
  border: 2px solid #ED1C2E;
  border-radius: 999px;
  box-shadow: 0px 5px 10px rgba(237, 28, 46, 0.25), 0 0 0 4px #FFF;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

#winner-block-area .winner-claim-btn:hover,
#winner-block-area .winner-claim-btn:focus {
  background: #C11223;
  border-color: #C11223;
  color: #FFF;
}

/* == prize showcase (client feedback: first-screen prize images) == */
#prizeshowcase {
  padding: 1.25rem 0.75rem 0.25rem;
  text-align: center;
}

#prizeshowcase #prizeshowhead {
  color: #FFF;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#prizeshowcase .prizecard {
  background: #DDECF7;
  border: 2px solid #003DA5;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0px 4px 10px rgba(0, 20, 60, 0.18);
}

#prizeshowcase .prizecard .prizecard-tag {
  display: inline-block;
  background: #ED1C2E;
  color: #FFF;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 1rem;
  margin-top: 0.9rem;
}

#prizeshowcase .prizecard img {
  display: block;
  max-width: 82%;
  max-height: 170px;
  margin: 0.6rem auto 0.25rem;
  object-fit: contain;
  border-radius: 10px;
}

#prizeshowcase .prizecard .prizecard-title {
  color: #003DA5;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

#prizeshowcase .prizecard .prizecard-detail {
  color: #003DA5;
  font-size: 0.85rem;
  padding: 0.2rem 1rem 1rem;
  line-height: 1.45;
}

#prizeshowcase #gotoregister {
  display: block;
  width: 100%;
  background: #ED1C2E;
  color: #FFF;
  border: 2px solid #ED1C2E;
  box-shadow: 0px 5px 10px rgba(237, 28, 46, 0.25);
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.6rem;
  margin: 0.25rem 0 2rem;
}