@media (max-width: 1470px) {
  h1 {
    font-size: 54px;
    line-height: 62px;
  }

  h2 {
    font-size: 40px;
    line-height: 50px;
  }
  h3, h2.wl-h3 {
    font-size: 28px;
    line-height: 38px;
  }
  :is(h3, h4).ft-24 {
    font-size: 22px;
    line-height: 32px;
  }

  .hero-section {
    padding: 120px 40px 80px;
  }
  .how-does-section,
  .card-section {
    padding: 80px 0;
  }
  .how-does-section .step-box .top {
    min-height: 180px;
  }

  .cta-section img {
    max-width: 380px;
    margin-top: -138px;
  }
  .card-box .gradient-text {
    line-height: 20px;
  }
  .how-does-section .step-box p {
    min-height: 78px;
  }
}

@media (max-width: 1366px) {
  header {
    padding: 10px 0;
  }
  header .right-menu ul {
    column-gap: 20px;
    justify-content: end;
  }
  header .right-menu ul li a,
  form.header-search-form button span {
    font-size: 14px;
    line-height: 16px;
  }
  form.header-search-form button span {
    margin-top: 0;
  }
  form.header-search-form {
    height: 42px;
    max-width: 380px;
  }
  form.header-search-form input {
    font-size: 14px;
    line-height: 16px;
  }
  form.header-search-form button {
    height: 36px;
  }
  .hero-section .hero-content {
    width: 520px;
  }
  .hero-section .youtube-video {
    width: calc(100% - 580px);
    height: 460px;
  }
  .how-does-section .step-box {
    padding: 30px;
  }
  .card-box .img {
    height: 180px;
  }
  header .trust-review {
    justify-content: center;
    top: calc(100% + 12px);
  }
  header .trust-review .ft-16 {
    font-size: 14px;
    line-height: 22px;
  }
  header .trust-review img {
    width: 110px;
  }
  header .header-logo:before {
    width: 410px;
    height: 60px;
    top: calc(100% - 12px);
  }
  .hero-section .thumb .video-content {
    left: 30px;
    bottom: 30px;
    width: calc(100% - 40px);
    column-gap: 10px;
  }

  .category-section .category-slider .cate-box img {
    width: 54px;
    height: 54px;
  }
  .category-section .category-slider .cate-box div {
    font-size: 16px;
    line-height: 20px;
  }
  .category-section .category-slider .cate-box {
    row-gap: 30px;
    height: 170px;
  }
  .featured-section:after {
    width: 150px;
  }
  .brand-page.card-section .card-list .card-box {
    width: calc(20% - 10px);
  }

  .brand-detail-banner {
    min-height: 300px;
  }
  .amount-section,
  .reward-section {
    padding: 120px 0;
  }
  .reward-section .youtube-video {
    height: 600px;
  }
  .popular-section {
    padding: 120px 0 200px;
  }
}

@media (max-width: 1200px) {
  body {
    font-size: 18px;
    line-height: 24px;
  }
  h1 {
    font-size: 48px;
    line-height: 56px;
  }

  h2 {
    font-size: 34px;
    line-height: 44px;
  }
  h3, h2.wl-h3 {
    font-size: 24px;
    line-height: 32px;
  }
  :is(h3, h4).ft-24 {
    font-size: 20px;
    line-height: 26px;
  }
  .ft-16 {
    font-size: 14px;
    line-height: 22px;
  }
  header .right-menu ul {
    column-gap: 12px;
  }
  header .right-menu ul a {
    font-size: 13px;
  }
  header .menu-btn {
    column-gap: 2px;
    padding: 8px 10px 8px 14px;
  }
  header .menu-btn span {
    font-size: 13px;
    margin-top: 0;
  }
  .hero-section {
    padding: 80px 40px 60px;
    min-height: unset;
  }
  .hero-section .hero-content {
    row-gap: 25px;
    width: 430px;
  }
  .hero-section .hero-content .high-lights,
  .brand-banner .high-lights {
    column-gap: 6px;
  }
  .hero-section .youtube-video {
    width: calc(100% - 500px);
    height: 400px;
  }
  .hero-section .thumb .video-content img {
    width: 50px;
  }

  .how-does-section {
    padding: 60px 0;
  }
  .how-does-section h2 {
    margin-bottom: 10px;
  }
  .how-does-section .how-does-slider {
    margin-top: 30px;
  }
  .how-does-section .step-box .top img {
    width: 120px;
    height: 90px;
    object-fit: contain;
    object-position: right;
  }
  .how-does-section .step-box .top {
    min-height: 150px;
  }
  .how-does-section .step-box .green-badge {
    font-size: 14px;
    line-height: 14px;
  }
  .card-section form {
    margin-bottom: 30px;
  }
  .card-box {
    width: calc(25% - 15px);
  }
  .card-box :is(h3, h4) a {
    font-size: 18px;
    line-height: 26px;
  }
  .how-does-section .step-box p {
    min-height: 64px;
  }
  .how-does-section .step-box .link {
    margin-top: 18px;
  }
  .brand-banner .brand-content {
    padding: 130px 0 100px;
  }
  .brand-banner .brand-img img {
    max-width: 480px;
  }
  .category-section {
    padding: 70px 0;
  }
  .brand-page.card-section .card-list .card-box {
    width: calc(25% - 9px);
  }
  .brand-page.card-section {
    padding: 70px 0 170px;
  }
  .bottom-pagination ul {
    column-gap: 8px;
  }
  .bottom-pagination ul li {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .brand-banner {
    padding: 0 30px;
  }
  .brand-banner .container {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    max-width: 100% !important;
  }
  .card-section.brand-page :is(h2, h3) {
    margin-bottom: 20px;
  }
  .brand-detail-banner .brand-btn {
    top: 60px;
    bottom: unset;
    right: unset;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    justify-content: center;
  }
  .brand-detail-banner .brand-logo {
    width: 160px;
    height: 160px;
    bottom: -80px;
  }
  .brand-detail-banner .brand-logo img {
    max-height: 120px;
  }
  .amount-section .btn {
    padding: 20px 24px;
    font-size: 22px;
  }
  .amount-section h2 {
    margin-bottom: 40px;
  }
  .amount-section {
    padding: 120px 0 80px;
  }
  .reward-section {
    padding: 80px 0;
  }
  .popular-section {
    padding: 80px 0 150px;
  }
  .range-section .container {
    padding: 18px 18px 18px 40px;
  }
  .range-section .container .left-content {
    width: 470px;
  }
  .range-section .container .cate-list {
    column-gap: 20px;
  }
  .range-section .container .cate-list li {
    column-gap: 6px;
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .brand-banner:before {
    background-image: url("../images/brand-listing/brand-banner-dotted-960.webp?v=20");
  }

  header .left-search,
  header .right-menu {
    flex: 0 0 32px;
    width: 32px;
  }
  header .header-logo {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    max-width: none;
  }
  header .header-logo > a {
    flex: 0 0 auto;
  }
  header .header-logo > a img {
    width: 181px;
    height: 25px;
  }
  .brand-listing-banner .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .brand-listing-banner .brand-content {
    width: 100%;
    max-width: 720px;
    padding: 70px 20px 250px;
  }
  .brand-listing-banner .brand-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .brand-listing-banner .high-lights {
    justify-content: center;
  }
  .brand-listing-banner h1:before {
    left: 50%;
    transform: translateX(-50%);
    background-position: center;
  }
  .brand-listing-banner:after {
    width: 100%;
    height: 200px;
    inset: auto 0 0;
    transform: none;
    background-position: center bottom;
  }
  body {
    font-size: 16px;
    line-height: 26px;
  }
  h1 {
    font-size: 38px;
    line-height: 46px;
  }

  h2 {
    font-size: 32px;
    line-height: 38px;
  }
  h3, h2.wl-h3 {
    font-size: 22px;
    line-height: 28px;
  }
  :is(h3, h4).ft-24 {
    line-height: 30px;
  }

  .close-menu,
  .active-menu .open-menu {
    display: none;
  }
  .active-menu header .mobile-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 49px);
    position: fixed;
    top: 49px;
    left: 0;
    z-index: -2;
    background: var(--darkgreen);
    padding: 66px 22px;
  }
  .mobile-menu form.header-search-form {
    max-width: 100%;
  }
  .mobile-menu form.header-search-form input {
    max-width: 800px;
  }
  .mobile-menu ul {
    flex-direction: column;
    margin-top: 100px;
    row-gap: 30px;
  }
  .mobile-menu ul li a {
    color: var(--color-white);
    font-size: 24px;
  }
  .mobile-menu > div {
    margin-top: auto;
    text-align: center;
  }
  .mobile-menu .menu-btn {
    max-width: 260px;
    justify-content: center;
    margin: 0 auto;
    padding: 15px 20px;
  }
  .mobile-menu .menu-btn span {
    font-size: 16px;
    font-weight: 700;
    margin-top: -3px;
  }

  .active-menu .close-menu {
    display: inline-block;
  }

  .hero-section {
    padding: 80px 20px 60px;
  }
  .hero-section .container {
    column-gap: 30px;
  }
  .hero-section .hero-content {
    width: 350px;
  }
  .hero-section .youtube-video {
    width: calc(100% - 370px);
  }
  .how-does-section .slick-list {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    padding-right: 60px !important;
  }
  .card-section,
  .reward-section {
    padding: 60px 0;
  }
  .card-box {
    width: calc(33.33% - 14px);
  }
  .card-box .img {
    margin-bottom: 10px;
  }
  .cta-section .cta-content {
    padding: 80px 0 60px;
  }
  .cta-section img {
    max-width: 270px;
    margin-top: -60px;
  }
  .cta-section h2 {
    margin-bottom: 50px;
  }
  .footer-text {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    align-items: start !important;
  }
  .footer-text .left {
    max-width: 350px;
  }
  .brand-page.card-section .card-list .card-box {
    width: calc(33.33% - 8px);
  }
  .category-section {
    overflow: hidden;
  }
  .amount-section {
    padding: 120px 0 60px;
  }
  .amount-section .btn {
    padding: 18px 24px;
    font-size: 20px;
    line-height: 20px;
  }
  .popular-section,
  .marquee-section {
    padding: 60px 0 80px;
  }
  .reward-section .youtube-video {
    height: 500px;
  }
  .reward-section .container h2 {
    margin-bottom: 15px;
  }
  .reward-section .container > p {
    margin-bottom: 30px;
  }
  .info-section .info-list {
    gap: 40px;
  }
  .info-section .container {
    padding: 40px 30px;
  }
  .range-section .container {
    flex-direction: column;
    padding: 40px 18px 18px;
  }
  .range-section .container .left-content {
    width: 100%;
    padding: 0 20px 40px;
  }
  .range-section .container .price-box {
    max-width: 100%;
  }
  .range-section .container .cate-list {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 15px;
  }
  .range-section .container .left-content h2,
  .left-content p {
    text-align: center;
    max-width: 100%;
  }
  .marquee-section p {
    margin: 15px auto 30px;
  }
  .marquee-section .marquee-row .regular img {
    width: 110px;
    height: 80px;
  }
  .marquee-section .marquee-row .regular.last {
    margin-bottom: 40px;
  }
  .range-section .container .price-box .price {
    font-size: 58px;
    line-height: 70px;
  }
}
/* Portrait tablets use the same stacked hero composition as smaller screens. */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section .container {
    flex-direction: column;
    row-gap: 56px;
  }
  .hero-section .hero-content {
    width: min(100%, 680px);
    align-items: center;
    text-align: center;
  }
  .hero-section .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-section .hero-content h1:before {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-section .youtube-video {
    width: min(100%, 760px);
  }
  .hero-section:before {
    width: 100%;
    height: 55%;
    inset: auto 0 0;
    background-position: top center;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 55px 10px 60px;
  }
  .hero-section .container {
    flex-direction: column;
    row-gap: 80px;
  }
  .hero-section .container .hero-content {
    width: 100%;
    text-align: center;
    align-items: center;
  }
  .hero-section .hero-content h1:before {
    max-width: 220px;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-section .container .youtube-video {
    width: 100%;
  }
  .hero-section .hero-content .high-lights,
  .brand-banner .high-lights {
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
  }
  .hero-section:before {
    height: 550px;
    top: unset;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-position: top center;
  }

  .how-does-section .container {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    max-width: 100% !important;
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    padding: 0 0 10px !important;
  }
  .how-does-section .container h2,
  .how-does-section .container > p {
    padding: 0 15px;
  }

  .card-section h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  .card-section form {
    gap: 15px;
    flex-wrap: wrap;
  }
  .card-section form .search {
    width: 100%;
  }
  .card-section form select {
    width: calc(50% - 8px);
  }
  .card-section .card-list {
    margin: 20px 0 35px;
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    gap: 10px !important;
  }
  .card-box {
    width: calc(50% - 5px);
  }
  .card-section .filter-row select {
    font-size: 16px;
  }
  .card-box .img {
    height: 140px;
    margin-bottom: 15px;
  }
  .card-box .img img {
    max-height: 80px;
  }
  .card-box .price {
    margin-bottom: 5px;
  }
  .card-box:nth-last-of-type(1),
  .card-box:nth-last-of-type(2),
  .card-box:nth-last-of-type(3),
  .card-box:nth-last-of-type(4),
  .card-box:nth-last-of-type(5) {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    display: none !important;
  }
  .cta-section {
    overflow: hidden;
  }
  .cta-section .container {
    flex-direction: column;
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    align-items: center !important;
  }
  .cta-section .cta-content {
    padding: 60px 0 0;
  }
  .cta-section .cta-content h2 {
    text-align: center;
    margin-bottom: 30px;
  }
  .cta-section .cta-content .btn-group-row {
    justify-content: center;
  }
  .cta-section img {
    max-width: 240px;
    margin-top: 15px;
  }
  .cta-section:before {
    height: 400px;
    width: calc(100% + 30%);
    left: -10%;
    top: unset;
    bottom: 0;
    background-position: top center;
  }

  footer {
    padding: 40px 0;
  }
  footer .container {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    align-items: center;
  }
  .footer-text {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    row-gap: 15px;
  }
  .brand-banner {
    padding: 0;
  }
  .brand-banner .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .brand-banner .brand-content {
    padding: 55px 10px 70px;
  }
  .brand-listing-banner .brand-content {
    padding-bottom: 230px;
  }
  .brand-banner:after {
    height: 300px;
    left: 0;
    width: 100%;
    bottom: 0;
    top: unset;
    transform: unset;
    background-position: center;
  }
  .brand-listing-banner:after {
    height: 180px;
    background-position: center bottom;
  }
  .brand-banner .brand-img img {
    height: 300px;
    margin-right: -50px;
  }
  .category-section,
  .brand-page.card-section,
  .popular-section {
    padding: 60px 0;
  }
  .category-section .container,
  .featured-section .container {
    padding: 0;
    max-width: 100%;
  }
  .category-section .container h3,
  .featured-section .container h3 {
    text-align: center;
    padding: 0 15px;
  }
  .top-arrow .slick-arrow {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    display: none !important;
  }
  .category-section .slick-list {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    padding: 0 90px !important;
  }
  .category-section .category-slider .cate-box img {
    width: 40px;
    height: 40px;
  }
  .category-section .category-slider .cate-box div {
    font-size: 14px;
    line-height: 16px;
  }
  .category-section .category-slider .cate-box {
    height: 120px;
    row-gap: 20px;
  }
  .featured-section:after {
    display: none;
  }
  .featured-section .slick-list {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    padding: 0 150px !important;
  }
  .badge-box .badge {
    font-size: 13px;
  }
  .brand-page.card-section .card-list .card-box {
    width: calc(50% - 5px);
  }
  .bottom-pagination {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    justify-content: center !important;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .bottom-pagination .btn {
    width: 250px;
  }
  .bottom-pagination ul {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    display: none !important;
  }
  .brand-detail-banner .brand-logo img {
    max-height: 90px;
  }
  .amount-section h2,
  .reward-section .container h2,
  .reward-section .container h2 + p {
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
  }
  .reward-section .youtube-video {
    height: 300px;
  }
  .info-section .container {
    padding: 40px 20px;
  }
  .info-section .head {
    margin-bottom: 25px;
  }
  .info-section .head img {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    display: none !important;
  }
  .popular-section .container h2,
  .popular-section .container h2 + p {
    text-align: center;
    padding: 0 15px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .amount-section {
    padding: 120px 24px 60px;
  }
  .brand-detail-banner .brand-btn {
    flex-wrap: wrap;
    padding: 0 10px;
    row-gap: 10px;
  }
  .brand-detail-banner .brand-btn a {
    font-size: 14px;
    padding: 11px 14px;
  }
  .reward-section .thumb .video-content {
    left: 20px;
    bottom: 30px;
    width: calc(100% - 40px);
  }
  .reward-section .thumb :is(h2, h3) {
    font-size: 18px;
  }
  .info-section,
  .range-section,
  .amount-modal {
    padding: 0 12px;
  }
  .info-section .info-list {
    column-count: 1;
  }
  .info-section .info-list .info-item {
    margin-bottom: 20px;
  }
  .info-section .info-btn a,
  .range-section .range-labels,
  .btn-group-modal a {
    font-size: 14px;
  }
  .how-does-section {
    padding-top: 40px;
  }
  .range-section .container .price-box .price {
    font-size: 38px;
    line-height: 46px;
  }
  .range-section .container .price-box {
    padding: 32px 20px;
  }
  .range-section .container .price-box p {
    margin: 10px auto 35px;
  }
  .marquee-section .marquee-row .regular {
    column-gap: 8px;
    margin-bottom: 8px;
  }
  .marquee-section .marquee-row .regular img {
    width: 80px;
    height: 60px;
  }

  .amount-modal .close-modal-icon {
    top: 20px;
    right: 20px;
  }
  .amount-modal .modal-body {
    padding: 40px 20px 40px;
  }
  .amount-modal .brand-logo {
    margin: 50px auto;
    max-width: 300px;
    height: 100px;
  }
  .amount-modal .brand-logo img {
    max-width: 80%;
    max-height: 60px;
  }
  .amount-modal.other form .date-field,
  .amount-modal.other form .code-field {
    width: 100%;
  }
  .amount-modal.other p {
    margin: 15px 0 30px;
  }
  .amount-modal.other h4 {
    text-align: center;
    margin-bottom: 15px;
  }
}

@media (max-width: 575px) {
  .brand-page.card-section .filter-row {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    display: none !important;
  }
  .mobile-filter {
    display: block;
    width: 50px;
    margin-left: auto;
    margin-right: -12px;
    margin-bottom: -45px;
    z-index: 5;
    position: sticky;
    top: 100px;
  }
  .brand-page.card-section .card-list {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    margin-top: 0 !important;
  }
}

@media (max-width: 460px) {
  header .header-logo:before {
    width: 300px;
    height: 50px;
    top: calc(100% - 8px);
  }
  header .trust-review .ft-16 {
    font-size: 12px;
    line-height: 16px;
  }
  header .trust-review img {
    width: 95px;
  }
  .hero-section .container {
    z-index: 4;
  }
  .hero-section .hero-content {
    row-gap: 18px;
  }
  .hero-section .hero-content .high-lights span,
  .brand-banner .high-lights span {
    max-width: 268px;
  }
  .hero-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 40px;
  }
  .hero-section .hero-content p {
    max-width: 300px;
    margin-top: 10px;
  }
  .hero-section .youtube-video {
    height: 280px;
  }
  .hero-section .thumb .video-content img {
    position: absolute;
    height: 45px;
    width: 70px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-section .thumb :is(h3, h4) {
    font-size: 16px;
    line-height: 18px;
  }
  .hero-section:before {
    width: calc(100% + 30%);
    left: -15%;
    height: calc(56.25vw + 46.5px);
  }
  .how-does-section h2 {
    margin-bottom: 15px;
  }
  .how-does-section p {
    max-width: 320px;
    margin: 0 auto;
  }

  .how-does-section .step-box {
    padding: 26px;
  }
  .card-section form select {
    padding: 10px 13px;
    background: url("../images/common/select-arrow.svg?v=20") white no-repeat
      /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
      calc(100% - 12px) !important;
  }
  .card-box .price {
    margin-bottom: 8px;
  }
  .card-box :is(h3, h4) a {
    padding: 0 0px 0 5px;
  }
  .card-box .price,
  .card-box .gradient-text {
    padding: 0 0px 0 5px;
    line-height: 16px;
  }
  .cta-section .cta-content h2 {
    max-width: 330px;
  }
  .cta-section .cta-content .btn-group-row {
    flex-direction: column;
    row-gap: 15px;
    max-width: 180px;
    margin: 0 auto;
  }
  .category-section .slick-list {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    padding: 0 60px !important;
  }
  .featured-section .slick-list {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    padding: 0 80px !important;
  }
  .card-section.brand-page form select {
    width: 100%;
  }
  .card-section.brand-page form {
    gap: 10px;
  }
  .reward-section .youtube-video {
    height: 280px;
  }
  .info-section .info-btn {
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
  }
  .info-section .info-btn a {
    width: 220px;
    justify-content: center;
  }
}
@media (max-width: 360px) {
  h1 {
    font-size: 34px;
    line-height: 42px;
  }
}

@media (min-width: 1400px) {
  .big-container.container {
    /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
    max-width: 1540px !important;
  }
}

/* Responsive safety layer: fluid media, narrow-screen controls and dense content. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
img,
svg,
video,
canvas {
  max-width: 100%;
}
.youtube-video {
  aspect-ratio: 16 / 9;
  /* stylelint-disable-next-line declaration-no-important -- required legacy cascade override */
  height: auto !important;
  min-height: 0;
}
.youtube-video iframe,
.youtube-video .thumb {
  width: 100%;
  height: 100%;
}
.footer-text {
  gap: 20px 32px;
}
.footer-text ul {
  flex-wrap: wrap;
  gap: 10px 20px;
}
.footer-text ul li + li {
  margin-left: 0;
}
.legal-copy,
.support-panel,
.voucher-card,
.card-box {
  min-width: 0;
}
.legal-copy,
.support-panel {
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .active-menu header .mobile-menu {
    height: calc(100dvh - 49px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .active-menu header .mobile-menu ul {
    margin-top: clamp(36px, 10vh, 100px);
  }
  .legal-page .legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .legal-page .legal-nav a {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .footer-text nav,
  .footer-text ul {
    width: 100%;
  }
  .footer-text ul {
    justify-content: center;
  }
  .brand-detail-page .brand-detail-banner .brand-btn {
    position: static;
    justify-content: center;
    margin: 18px auto 0;
  }
  .brand-detail-page .brand-detail-banner .container {
    padding-bottom: 24px;
  }
  .amount-modal .modal-dialog {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 575px) {
  .btn,
  .brand-detail-page .amount-section .btn,
  .bottom-pagination .btn {
    width: 100%;
    min-width: 0;
    max-width: 320px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .brand-detail-page .amount-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .legal-page .legal-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .legal-page .legal-nav a {
    display: block;
  }
  .contact-form input,
  .contact-form textarea,
  form.header-search-form input {
    min-width: 0;
  }
  .mobile-menu form.header-search-form {
    padding-left: 14px;
  }
  .mobile-menu form.header-search-form button {
    flex: 0 0 auto;
  }
}

@media (max-width: 359px) {
  header .header-logo:before {
    width: 270px;
  }
  header .trust-review {
    width: 270px;
    column-gap: 6px;
  }
  .mobile-menu form.header-search-form button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
