/* Amazon store branding overrides */
:root {
  --amz-navy: #131921;
  --amz-navy-2: #232F3E;
  --amz-orange: #FF9900;
  --amz-orange-dark: #E47911;
  --amz-yellow: #FEBD69;
  --amz-ink: #0F1111;
  --amz-link: #007185;
  --amz-bg: #EAEDED;
}

html,
body {
  font-family: "Amazon Ember", "Ember", Arial, "Helvetica Neue", sans-serif !important;
  background: var(--amz-bg);
  color: var(--amz-ink);
  height: auto !important;
  min-height: 100%;
  display: block !important;
  overflow-x: hidden;
  overflow-y: auto !important;
  max-width: 100vw;
}

.wrapper {
  overflow: visible !important;
  min-height: 100vh;
}

@supports (padding: max(0px)) {
  .store-header__inner {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-top: max(10px, env(safe-area-inset-top));
  }
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 100000;
  width: 100%;
  background: var(--amz-navy) !important;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin-bottom: 0 !important;
  text-align: left !important;
}

.store-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
}

.store-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.store-header__logo img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.store-header__search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 40px;
  pointer-events: none;
  border: 2px solid transparent;
}

.store-header__search span {
  flex: 1;
  padding: 0 12px;
  font-size: 14px;
  color: #565959;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-header__search-btn {
  flex: 0 0 46px;
  height: 40px;
  border: 0;
  background: var(--amz-yellow);
  color: #0f1111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-header__icons {
  display: none;
  gap: 6px;
  flex: 0 0 auto;
  align-items: center;
}

.store-header__icon {
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1.1;
  pointer-events: none;
  color: #fff;
}

@media (min-width: 640px) {
  .store-header__inner {
    padding: 12px 20px;
    min-height: 60px;
    gap: 16px;
  }
  .store-header__logo img {
    height: 30px;
    max-width: 120px;
  }
  .store-header__search {
    height: 42px;
  }
  .store-header__search-btn {
    height: 42px;
    flex-basis: 50px;
  }
  .store-header__icons {
    display: flex;
  }
}

@media (max-width: 360px) {
  .store-header__logo img {
    height: 20px;
    max-width: 84px;
  }
  .store-header__search span {
    font-size: 12px;
    padding: 0 8px;
  }
  .store-header__inner {
    padding: 8px;
    gap: 8px;
    min-height: 50px;
  }
}

.expires-bar {
  background: var(--amz-navy-2);
  width: 100%;
  text-align: center;
  margin: 0 0 12px;
  padding: 8px 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.expires-bar .page__title {
  font-size: clamp(16px, 4.5vw, 28px) !important;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 !important;
  padding: 0;
  color: #fff;
}

.page__subtitle,
.page__offer {
  color: var(--amz-ink);
}

.page__offer {
  font-weight: 700;
}

.button_red {
  background: linear-gradient(180deg, #485769 0%, var(--amz-navy-2) 100%) !important;
  border-color: #131921 !important;
}

.button_red:hover {
  background: linear-gradient(180deg, var(--amz-navy-2) 0%, #131921 100%) !important;
}

.button_green {
  background: linear-gradient(180deg, #FFB84D 0%, var(--amz-orange) 100%) !important;
  border-color: var(--amz-orange-dark) !important;
  color: #111 !important;
  text-shadow: none !important;
}

.button_green:hover {
  background: linear-gradient(180deg, var(--amz-orange) 0%, var(--amz-orange-dark) 100%) !important;
  color: #111 !important;
}

.page__btn-group {
  column-gap: 16px;
  max-width: min(400px, 100%);
  padding: 0 8px;
  box-sizing: border-box;
}

.page__button {
  font-size: clamp(18px, 5vw, 26px) !important;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px !important;
}

.page__image {
  max-width: min(450px, 92vw);
}

.page__rules {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}

.store-footer {
  background: var(--amz-navy-2);
  color: #fff;
  padding: 28px 16px 36px;
  margin-top: auto;
}

.store-footer__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.store-footer__logo {
  height: 28px;
  width: auto;
  margin: 0 auto 14px;
  display: block;
  filter: brightness(0) invert(1);
}

.store-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 14px;
  font-size: 13px;
}

.store-footer__links a {
  color: #ddd;
  text-decoration: none;
  pointer-events: none;
}

.store-footer__copy {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto;
}

.footer {
  display: none !important;
}
