.mfg-shell {
   margin-top: 50px;
   padding: 56px 16px 72px;
   background: radial-gradient(ellipse at 50% 35%, #fff 0%, #fcf6ee 40%, #f6eadb 100%);
}

.mfg-col {
   max-width: 600px;
   margin: 0 auto;
}

.mfg-brands {
   margin-bottom: 28px;
   text-align: center;
}

.mfg-brands-title {
   display: inline-block;
   margin: 0 0 14px;
   padding-bottom: 4px;
   color: #1c3f77;
   font-weight: 500;
   letter-spacing: .5px;
   background: linear-gradient(90deg, rgba(190, 190, 190, 0) 0%, #c9c9c9 30%, #c9c9c9 70%, rgba(190, 190, 190, 0) 100%) bottom / 100% 2px no-repeat;
}

.mfg-brands-img {
   display: block;
   width: 100%;
   height: auto;
}

.mfg-title {
   margin: 0 0 32px;
   color: #1c3f77;
   font-size: 2.2em;
   font-weight: 700;
   text-align: center;
}

.mfg-menu {
   display: flex;
   flex-direction: column;
   gap: 22px;
}

.mfg-big-btn {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   min-height: 80px;
   padding: 16px 56px;
   border: 3px solid #d8b465;
   border-radius: 22px;
   background: linear-gradient(180deg, #24426f 0%, #0d1f3d 100%);
   box-shadow: 0 8px 18px rgba(13, 31, 61, .18);
   color: #fff;
   font-size: 1.3em;
   font-weight: 600;
   line-height: 1.3;
   text-align: center;
   transition: filter .2s ease, transform .2s ease;
}

.mfg-big-btn::after {
   content: "";
   position: absolute;
   right: 28px;
   top: 50%;
   width: 12px;
   height: 12px;
   margin-top: -6px;
   border-right: 2px solid #e9c46e;
   border-bottom: 2px solid #e9c46e;
   transform: rotate(-45deg);
}

.mfg-big-btn:hover,
.mfg-big-btn:focus {
   color: #fff;
   filter: brightness(1.12);
}

.mfg-big-btn:active {
   transform: translateY(1px);
}

.mfg-panel {
   padding: 24px;
   border-radius: 24px;
   background: #fff;
   box-shadow: 0 6px 24px rgba(120, 90, 50, .08);
}

.mfg-search-label {
   display: block;
   margin: 0 0 6px 8px;
   color: #1d2b45;
}

.mfg-search-box {
   position: relative;
}

.mfg-search-input {
   width: 100%;
   height: 54px;
   padding: 0 46px 0 50px;
   border: 1px solid #e6dccb;
   border-radius: 10px;
   background: #fdf5e8;
   color: #1d2b45;
   outline: none;
}

.mfg-search-input:focus {
   border-color: #d8b465;
   box-shadow: 0 0 0 3px rgba(216, 180, 101, .25);
}

.mfg-search-icon {
   position: absolute;
   left: 18px;
   top: 50%;
   transform: translateY(-50%);
   color: #a5a5a5;
   pointer-events: none;
}

.mfg-search-clear {
   position: absolute;
   right: 8px;
   top: 50%;
   width: 34px;
   height: 34px;
   padding: 0;
   border: 0;
   transform: translateY(-50%);
   background: transparent;
   color: #9a9a9a;
   line-height: 1;
}

.mfg-search-clear:hover {
   color: #1d2b45;
}

.mfg-big-btn.mfg-search-submit {
   min-height: 64px;
   margin-top: 14px;
   padding: 12px 24px;
}

.mfg-big-btn.mfg-search-submit::after {
   display: none;
}

.mfg-search-hint {
   margin: 12px 0 0 8px;
   color: #4a5568;
   line-height: 1.5;
}

.mfg-dealer-search {
   max-width: 600px;
   margin: 0 auto;
}

.mfg-dealer-wide {
   max-width: 600px;
   margin: 40px auto 0;
}

.mfg-dealer-result {
   --bs-gutter-x: 28px;
   --bs-gutter-y: 28px;
}

.mfg-dealer-card {
   height: 100%;
}

.mfg-dealer-official {
   margin: 32px 0 0;
   text-align: center;
   color: #1c3f77;
   font-weight: 600;
}

.mfg-dealer-notfound {
   margin-top: 40px;
   padding: 22px;
   text-align: center;
   border-radius: 14px;
   border: 1px solid #fde2c4;
   background: #fff7ed;
   color: #b4541a;
}

.mfg-dealer-notfound i {
   margin-bottom: 8px;
}

.mfg-dealer-notfound p {
   margin: 0;
   color: #b4541a;
   font-weight: 600;
}

.mfg-dealer-suggest {
   margin-top: 16px;
   padding-top: 14px;
   border-top: 1px dashed #f3c99a;
}

.mfg-dealer-notfound .mfg-dealer-suggest-title {
   margin: 0 0 10px;
   color: #1d2b45;
}

.mfg-dealer-suggest-link {
   display: inline-block;
   margin: 0 4px 8px;
   padding: 6px 16px;
   border: 1px solid #d8b465;
   border-radius: 999px;
   background: #fff;
   color: #1c3f77;
   font-weight: 600;
   text-decoration: none;
   word-break: break-word;
}

.mfg-dealer-suggest-link:hover,
.mfg-dealer-suggest-link:focus {
   background: #1c3f77;
   color: #fff;
}

.mfg-dealer-body {
   display: flex;
   align-items: center;
   gap: 16px;
}

.mfg-dealer-info {
   flex: 1;
   min-width: 0;
}

.mfg-dealer-meta {
   margin: 0 0 4px;
   color: #4a5568;
   font-size: 1.1em;
   word-break: break-word;
}

.mfg-dealer-meta strong {
   color: #111827;
   font-family: 'DBHelvethaicaX', 'Leelawadee UI', 'Thonburi', sans-serif;
   font-weight: 700;
}

.mfg-dealer-contact {
   margin-top: 12px;
}

.mfg-dealer-contact .mfg-shop-btn {
   max-width: 260px;
}

.mfg-dealer-logo {
   flex: 0 0 140px;
   width: 140px;
   height: 140px;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
   border-radius: 50%;
   background: #20376c;
}

.mfg-dealer-logo img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   background: #fff;
}

.mfg-dealer-logo-text {
   color: #fff;
   font-size: 2.6em;
   font-weight: 700;
}

.mfg-dealer-channels {
   margin-top: 16px;
}

.mfg-pill {
   display: inline-block;
   margin-bottom: 12px;
   padding: 2px 16px;
   border: 2px solid #d8b465;
   border-radius: 20px;
   background: linear-gradient(180deg, #24426f 0%, #0d1f3d 100%);
   color: #fff;
}

.mfg-shop-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 10px;
}

.mfg-shop-btn {
   position: relative;
   display: flex;
   align-items: center;
   gap: 8px;
   min-height: 54px;
   padding: 6px 34px 6px 6px;
   border: 2px solid;
   border-radius: 30px;
   font-weight: 600;
   transition: filter .2s ease;
}

.mfg-shop-btn::after {
   content: "";
   position: absolute;
   right: 18px;
   top: 50%;
   width: 9px;
   height: 9px;
   margin-top: -5px;
   border-right: 2px solid currentColor;
   border-bottom: 2px solid currentColor;
   transform: rotate(-45deg);
}

.mfg-shop-btn:hover,
.mfg-shop-btn:focus {
   filter: brightness(.96);
}

.mfg-shop-icon {
   flex: 0 0 40px;
   width: 40px;
   height: 40px;
}

.mfg-shop-name {
   flex: 1;
   min-width: 0;
   text-align: center;
}

.mfg-shop-label {
   flex: 1 1 auto;
   color: #161616;
   font-family: 'DBHelvethaicaX', 'Leelawadee UI', 'Thonburi', sans-serif;
   font-size: .9em;
   font-weight: 700;
   line-height: 1.2;
   overflow-wrap: anywhere;
}

.mfg-shop-grid .mfg-shop-btn {
   gap: 4px;
   padding-left: 4px;
   padding-right: 22px;
}

.mfg-shop-grid .mfg-shop-btn::after {
   right: 10px;
}

.mfg-shop-grid .mfg-shop-icon {
   flex-basis: 30px;
   width: 30px;
   height: 30px;
}

.mfg-shop-facebook,
.mfg-shop-facebook:hover,
.mfg-shop-facebook:focus {
   border-color: #3a86cf;
   background: #e2f2fb;
   color: #10329e;
}

.mfg-shop-shopee,
.mfg-shop-shopee:hover,
.mfg-shop-shopee:focus {
   border-color: #f05d2e;
   background: #fde8e1;
   color: #e4513a;
}

.mfg-shop-tiktok,
.mfg-shop-tiktok:hover,
.mfg-shop-tiktok:focus {
   border-color: #161616;
   background: #fafafa;
   color: #161616;
}

.mfg-shop-lazada,
.mfg-shop-lazada:hover,
.mfg-shop-lazada:focus {
   border-color: #7c3aed;
   background: #ebe1f9;
   color: #4b2a9b;
}

.mfg-poster-img {
   display: block;
   width: 100%;
   height: auto;
   border-radius: 16px;
}

.mfg-back-wrap {
   margin-top: 32px;
   text-align: center;
}

.mfg-back {
   color: #1c3f77;
   font-weight: 600;
}

.mfg-back i {
   margin-right: 6px;
}

@media (min-width: 768px) {
   .mfg-shell {
      margin-top: 92px;
   }
}

@media (min-width: 992px) {
   .mfg-dealer-search,
   .mfg-dealer-wide {
      max-width: 936px;
   }

   .mfg-search-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      column-gap: 16px;
      align-items: center;
   }

   .mfg-search-label {
      grid-column: 1 / -1;
   }

   .mfg-search-hint {
      grid-column: 1 / -1;
   }

   .mfg-big-btn.mfg-search-submit {
      width: auto;
      min-height: 54px;
      margin-top: 0;
      padding: 6px 40px;
      border-radius: 14px;
      white-space: nowrap;
   }

   .mfg-dealer-single .mfg-shop-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
   }
}

@media (min-width: 1200px) {
   .mfg-shell {
      margin-top: 148px;
   }

   .mfg-dealer-search,
   .mfg-dealer-wide {
      max-width: 1116px;
   }

   .mfg-dealer-thirds .mfg-panel {
      padding: 18px 16px;
   }

   .mfg-dealer-thirds .mfg-dealer-logo {
      flex-basis: 100px;
      width: 100px;
      height: 100px;
   }
}

@media (min-width: 1400px) {
   .mfg-dealer-search,
   .mfg-dealer-wide {
      max-width: 1296px;
   }
}

@media (max-width: 575px) {
   .mfg-shell {
      padding: 36px 14px 56px;
   }

   .mfg-title {
      font-size: 1.8em;
   }

   .mfg-big-btn {
      min-height: 70px;
      padding: 14px 48px;
      font-size: 1.15em;
   }

   .mfg-big-btn::after {
      right: 22px;
   }

   .mfg-panel {
      padding: 18px 16px;
   }

   .mfg-dealer-logo {
      flex-basis: 100px;
      width: 100px;
      height: 100px;
   }
}

@media (max-width: 360px) {
   .mfg-shop-grid {
      grid-template-columns: 1fr;
   }
}
