.store-gift {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 32px;
  min-height: 0;
  margin-bottom: 46px;
  padding: 18px 48px 18px 36px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 255, 255, .72), transparent 24%),
    linear-gradient(125deg, #f8c943 0%, #ffd967 52%, #f5be2e 100%);
  color: #252821;
  box-shadow: 0 18px 50px rgba(120, 82, 0, .11);
}
.store-gift::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -105px;
  top: -210px;
  border: 1px solid rgba(80, 59, 0, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .09), 0 0 0 110px rgba(255, 255, 255, .06);
}
.store-gift-copy { position: relative; z-index: 2; max-width: 680px; }
.store-gift h2 { max-width: 620px; margin-bottom: 12px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 520; line-height: 1.06; letter-spacing: -.055em; }
.store-gift-copy > p:not(.store-gift-deadline) { max-width: 590px; margin-bottom: 13px; font-size: 13px; line-height: 1.7; color: rgba(37, 40, 33, .74); }
.store-gift-name { display: block; margin-bottom: 22px; font-size: 14px; }
.store-gift-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.store-gift-actions .ma-home-button { min-height: 44px; background: #252821; color: #fffdf9; box-shadow: none; }
.store-gift-actions .ma-home-button:hover { background: #11130f; }
.store-gift-actions .ma-home-button--quiet { background: rgba(255, 255, 255, .42); color: #252821; }
.store-gift-actions .ma-home-button--quiet:hover { background: rgba(255, 255, 255, .68); }
.store-gift-deadline { margin: 12px 0 0; font-size: 10px; color: rgba(37, 40, 33, .64); }
.store-gift-package { position: relative; z-index: 1; display: block; justify-self: end; width: 210px; margin-top: 40px; color: inherit; perspective: 700px; }
.store-gift-card { position: relative; display: block; aspect-ratio: 930 / 890; overflow: visible; transform: rotate(2.5deg); animation: store-gift-dance 7.2s ease-in-out infinite; }
.store-gift-card > img:not(.store-gift-frame), .store-gift-card > .store-image-placeholder { position: absolute; inset: 5.5% 6% 6%; width: 88%; height: 88.5%; display: flex; object-fit: cover; border-radius: 6%; overflow: hidden; background: #eeeae2; }
/* Align the supplied frame's opening; its transparent canvas includes the bow. */
.store-gift-card > .store-gift-frame { position: absolute; z-index: 4; left: -17.53%; top: -23.60%; width: 134.84%; max-width: none; height: auto; pointer-events: none; filter: drop-shadow(0 10px 9px rgba(70, 46, 0, .18)); }
.store-gift-confetti { position: absolute; z-index: 0; width: 10px; height: 10px; border: 2px solid rgba(37, 40, 33, .42); transform: rotate(24deg); }
.store-gift-confetti-one { left: 56%; top: 31px; border-radius: 50%; }
.store-gift-confetti-two { left: 48%; bottom: 34px; border-width: 0 0 2px 2px; }
@keyframes store-gift-dance {
  0%, 8%, 100% { transform: translateY(0) rotate(2.5deg); }
  11% { transform: translateY(-9px) rotate(2.5deg); }
  13% { transform: translateY(1.5px) rotate(2.5deg); }
  16% { transform: translateY(0) rotate(2.5deg); }
  19% { transform: translateY(-7px) rotate(2.5deg); }
  21% { transform: translateY(1px) rotate(2.5deg); }
  24% { transform: translateY(0) rotate(2.5deg); }
  40% { transform: translateY(0) rotate(2.5deg); }
  43% { transform: translateY(-9px) rotate(2.5deg); }
  45% { transform: translateY(1.5px) rotate(2.5deg); }
  48% { transform: translateY(0) rotate(2.5deg); }
  51% { transform: translateY(-7px) rotate(2.5deg); }
  53% { transform: translateY(1px) rotate(2.5deg); }
  56% { transform: translateY(0) rotate(2.5deg); }
  72% { transform: translateY(0) rotate(2.5deg); }
  75% { transform: translateY(0) rotate(-1deg); }
  78% { transform: translateY(0) rotate(5.5deg); }
  81% { transform: translateY(0) rotate(-1deg); }
  84% { transform: translateY(0) rotate(2.5deg); }
}
.store-personal { margin-bottom: 44px; padding-top: 30px; }
.store-popular { margin-bottom: 56px; }
.store-popular-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.store-popular-heading h2 { margin-bottom: 0; font-size: 25px; }
.store-popular-heading h2 a { transition: color .18s; }
.store-popular-heading h2 a:hover { color: #77766f; }
.store-popular-arrows { display: flex; gap: 8px; }
.store-popular-arrows[hidden] { display: none; }
.store-popular-arrows .store-icon-button { width: 30px; height: 30px; background: #f1ebe2; box-shadow: none; }
.store-popular-arrows button:disabled { cursor: default; opacity: .35; }
.store-popular-arrows [data-popular-direction="-1"] svg { transform: rotate(180deg); }
.store-popular-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 112px) / 8); gap: 16px; overflow-x: auto; padding: 4px 4px 12px; margin: -4px; scroll-snap-type: x proximity; scrollbar-width: none; }
.store-popular-card { min-width: 0; scroll-snap-align: start; }
.store-popular-image { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #eeeae2; }
.store-popular-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s; }
.store-popular-card:hover img { transform: scale(1.035); }
.store-popular-card h3 { font-size: 12px; line-height: 1.45; margin: 10px 0 5px; overflow-wrap: anywhere; }
.store-popular-price { font-size: 12px; font-weight: 650; }
.store-library-preview-card .store-popular-price { color: #77796f; font-weight: 500; }
.store-library-preview-card .store-popular-image { position: relative; display: grid; place-items: center; width: 100%; margin: 0; background: transparent; }
.store-library-preview-card .store-popular-image > img, .store-library-preview-card .store-popular-image > .store-image-placeholder { width: 78%; height: 78%; border-radius: 12px; overflow: hidden; }
.store-library-preview-check { position: absolute; right: calc(11% + 6px); bottom: calc(11% + 6px); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f4c136; color: #252821; }
.store-library-preview-check svg { width: 13px; height: 13px; stroke-width: 2; }
.store-library-gift-image { position: relative; overflow: visible; background: transparent; transform-origin: 50% 92%; animation: store-gift-dance 7.2s ease-in-out infinite; }
.store-library-gift-preview { position: absolute; inset: 0; display: block; color: inherit; }
.store-library-gift-cover { position: absolute; z-index: 1; left: 11.5%; top: 19.5%; display: flex; width: 77% !important; height: 68% !important; border-radius: 7px !important; overflow: hidden; object-fit: cover; background: #eeeae2; }
.store-library-gift-frame { position: absolute; z-index: 3; left: -3%; top: -3%; width: 106% !important; height: 106% !important; max-width: none; object-fit: contain !important; pointer-events: none; filter: drop-shadow(0 7px 7px rgba(96, 18, 14, .22)); }
.store-library-gift-action { position: absolute; z-index: 5; left: 50%; bottom: 15%; margin: 0; transform: translateX(-50%); }
.store-library-gift-button { min-height: 29px; padding: 6px 12px; border: 0; border-radius: 999px; background: #f4c136; color: #252821; box-shadow: 0 6px 18px rgba(112, 75, 0, .24); cursor: pointer; font: inherit; font-size: 10px; font-weight: 750; line-height: 1; white-space: nowrap; transition: background .18s; }
.store-library-gift-button:hover { background: #e8b422; }
.store-library-gift-card:hover .store-library-gift-frame { transform: none; }
.store-library-gift-label { color: #c9342f; font-weight: 700; }
.store-home-feature-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; gap: 24px; margin-bottom: 56px; padding-top: 14px; }
.store-home-feature-grid > * { min-width: 0; }
.store-home-feature-grid .store-personal { margin: 0; padding: 12px 20px 14px; border-radius: 26px; background: #f4f1eb; }
.store-home-feature-grid .store-personal .store-popular-heading { margin-bottom: 8px; }
.store-home-feature-grid .store-personal .store-popular-track { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; }
.store-home-feature-grid .store-personal .store-popular-image { border-radius: 10px; }
.store-home-feature-grid .store-personal .store-popular-track { padding: 2px 2px 4px; margin: -2px; }
.store-home-feature-grid .store-personal .store-popular-card h3 { margin: 2px 0 0; font-size: 11px; line-height: 1.2; }
.store-personal-empty { display: flex; min-height: 175px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.store-personal-empty p { max-width: 330px; margin: 0; color: #77796f; font-size: 12px; line-height: 1.75; }
.store-home-feature-grid .store-app-promo { position: relative; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 14px; margin: 0; padding: 16px 22px; }
.store-app-promo-close { position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: rgba(255, 253, 250, .7); cursor: pointer; }
.store-app-promo-close:hover { background: rgba(255, 255, 255, .16); color: #fffdfa; }
.store-app-promo-close:focus-visible { outline: 2px solid #f4c136; outline-offset: 2px; }
.template-store .store-app-promo-close svg { width: 16px; height: 16px; }
/* Without the promo the remaining block takes the whole row. */
.store-home-feature-grid > :only-child { grid-column: 1 / -1; }
.store-home-feature-grid > .store-personal:only-child .store-popular-track { grid-auto-columns: calc((100% - 80px) / 6); }
.store-home-feature-grid .store-app-promo h2 { margin-bottom: 6px; padding-right: 36px; font-size: clamp(26px, 2.64vw, 34px); }
.store-app-title-rotating { display: inline-grid; min-width: 26ch; vertical-align: bottom; }
.store-app-title-rotating > span { grid-area: 1 / 1; display: inline-block; width: 0; max-width: 100%; overflow: hidden; color: #f4c136; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.store-app-title-primary { animation: store-app-title-primary-type 16s steps(26, end) infinite; }
.store-app-title-secondary { animation: store-app-title-secondary-type 16s steps(20, end) infinite; }
@keyframes store-app-title-primary-type {
  0% { width: 0; }
  15%, 59% { width: 100%; }
  67%, 100% { width: 0; }
}
@keyframes store-app-title-secondary-type {
  0%, 67% { width: 0; }
  82%, 94.5% { width: 100%; }
  100% { width: 0; }
}
/* A phone cannot fit the 26-character typing line: show the first phrase as
   ordinary wrapping text instead of letting it widen the whole page. */
@media (max-width: 700px) {
  .store-app-title-rotating { display: inline; min-width: 0; }
  .store-app-title-rotating > span { display: inline; width: auto; white-space: normal; animation: none; }
  .store-app-title-secondary { display: none !important; }
}
.store-app-promo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 24px; }
.store-app-promo-row .store-app-actions { justify-content: flex-end; }
.store-home-feature-grid .store-app-promo p { line-height: 1.4; }
.store-home-feature-grid .store-app-promo .ma-home-button { min-height: 36px; }
.store-home-feature-grid .store-gift { grid-template-columns: minmax(0, 1fr) 148px; gap: 18px; margin: 0; padding: 24px 24px 22px 28px; border-radius: 26px; }
.store-home-feature-grid .store-gift h2 { margin-bottom: 9px; font-size: clamp(25px, 2.4vw, 32px); }
.store-home-feature-grid .store-gift-copy > p:not(.store-gift-deadline) { margin-bottom: 9px; font-size: 11px; line-height: 1.55; }
.store-home-feature-grid .store-gift-name { margin-bottom: 15px; font-size: 12px; }
.store-home-feature-grid .store-gift-actions .ma-home-button { min-height: 40px; padding-inline: 16px; font-size: 11px; }
.store-home-feature-grid .store-gift-package { align-self: center; width: 142px; margin-top: 12px; }
.store-product-page + .store-product-page { margin-top: 36px; }
.store-load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 36px; margin-top: 28px; }
.store-load-more[data-auto]:not([data-failed]) [data-store-next] { display: none; }
.store-load-status { font-size: 12px; line-height: 1.6; color: #767671; }
.template-store .store-listing-title { font-size: clamp(26px, 3vw, 36px); text-transform: none; letter-spacing: -.04em; margin-bottom: 30px; }
.store-catalog-controls { position: sticky; top: calc(var(--header-offset) + 12px); z-index: 12; display: flex; align-items: center; gap: 20px; margin-bottom: 16px; padding: 10px 0; background: #fffdf9f5; backdrop-filter: blur(10px); }
.store-filter-chips { display: flex; align-items: center; flex-wrap: wrap; flex: 1; min-width: 0; gap: 12px 28px; }
.store-filter-chips .store-chip { display: inline-flex; align-items: center; padding: 3px 0 11px; background: transparent; border-radius: 0; color: #85847e; font-size: 19.2px; font-weight: 500; line-height: 1.4; white-space: nowrap; transition: color .18s; }
.store-filter-chips .store-chip:hover { color: #474640; }
.store-filter-chips .store-chip.is-current { color: #2d302b; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.store-search-disclosure { flex: 0 0 40px; }
.store-search-disclosure summary { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; list-style: none; transition: background .18s; }
.store-search-disclosure summary::-webkit-details-marker { display: none; }
.store-search-disclosure summary:hover, .store-search-disclosure[open] summary { background: #f1ebe2; }
.store-search-disclosure summary svg { width: 20px; height: 20px; }
.template-store .store-search { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; display: flex; align-items: center; gap: 10px; width: min(360px, 100%); padding: 5px 5px 5px 14px; border: 1px solid #e9e3d9; border-radius: 14px; background: #fffdf9; box-shadow: 0 10px 28px #25252510; }
.store-search input { width: 100%; min-width: 0; min-height: 0; background: transparent; border: 0; padding: 5px 0; box-shadow: none; border-radius: 0; font-size: 13px; line-height: 22px; color: #272822; }
.template-store .store-search input:focus { outline: none; box-shadow: none; }
.template-store .store-search:focus-within { border-color: #b9b5ad; }
.store-search .ma-home-button { width: 32px; height: 32px; min-height: 32px; flex-shrink: 0; padding: 7px; }
.store-search .ma-home-button svg { width: 16px; height: 16px; }
.store-app-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; margin: 0 0 56px; padding: 30px 34px; border-radius: 26px; background: #252525; color: #fffdfa; }
.store-app-promo h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; letter-spacing: -.04em; }
.store-app-promo p { max-width: 640px; margin-bottom: 0; color: rgba(255, 253, 250, .68); font-size: 13px; line-height: 1.8; }
.store-app-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.store-app-actions .ma-home-button--quiet { background: rgba(255, 255, 255, .11); color: #fffdfa; }
.store-app-actions .ma-home-button--quiet:hover { background: rgba(255, 255, 255, .18); }
@media (max-width: 1100px) {
  .store-gift { grid-template-columns: minmax(0, 1fr) 195px; padding-right: 36px; }
  .store-gift-package { width: 180px; }
  .store-popular-track { grid-auto-columns: calc((100% - 80px) / 6); }
  .store-app-promo { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 900px) {
  .store-home-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .store-home-feature-grid .store-app-promo { grid-template-columns: minmax(0, 1fr); }
  .store-app-promo-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .store-gift { grid-template-columns: minmax(0, 1fr) 112px; gap: 18px; min-height: 0; margin-bottom: 34px; padding: 18px 20px; border-radius: 22px; }
  .store-gift h2 { font-size: clamp(25px, 8vw, 34px); }
  .store-gift-copy > p:not(.store-gift-deadline) { font-size: 12px; }
  .store-gift-package { align-self: start; width: 106px; margin-top: 26px; }
  .store-gift-actions { align-items: stretch; flex-direction: column; }
  .store-gift-actions .ma-home-button { width: 100%; }
  .store-popular-track { grid-auto-columns: 112px; gap: 12px; }
  .store-popular-heading h2 { font-size: 22px; }
  .store-personal { margin-bottom: 32px; padding-top: 20px; }
  .store-popular { margin-bottom: 40px; }
  .store-product-page + .store-product-page { margin-top: 26px; }
  .store-catalog-controls { align-items: center; gap: 10px; margin-bottom: 13px; }
  .store-filter-chips { flex-wrap: nowrap; overflow-x: auto; padding: 5px 4px 10px; margin: -5px -4px -10px; scrollbar-width: thin; }
  .store-filter-chips .store-chip { font-size: 17.6px; }
  .store-search-disclosure { margin-left: auto; }
  .store-app-promo { margin-bottom: 40px; padding: 24px; border-radius: 22px; }
  .store-app-actions { flex-direction: column; align-items: stretch; }
  .store-home-feature-grid { gap: 18px; margin-bottom: 40px; padding-top: 16px; }
  .store-home-feature-grid .store-personal { padding: 16px; }
  .store-home-feature-grid .store-personal .store-popular-track { grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; }
  .store-home-feature-grid > .store-personal:only-child .store-popular-track { grid-auto-columns: calc((100% - 24px) / 3); }
  .store-home-feature-grid .store-gift { grid-template-columns: minmax(0, 1fr) 112px; gap: 18px; padding: 18px 20px; border-radius: 22px; }
  .store-home-feature-grid .store-gift-package { width: 106px; margin-top: 26px; }
  .store-home-feature-grid .store-app-promo { padding: 20px; }
}
