/* HAMY Living — reward gallery. All selectors are scoped to the new gift components. */
.rewards-section .rewards-panel__catalog { align-content: center; }
.hamy-gift-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e8e6dd; border-radius: 15px; box-shadow: 0 8px 24px rgba(11,40,12,.06); transition: box-shadow .2s ease, transform .2s ease; }
.hamy-gift-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,40,12,.12); }
.hamy-gift-card__media { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 4 / 3; width: 100%; min-width: 0; padding: 0; border: 0; overflow: hidden; background: #f8f6ef; cursor: pointer; text-align: left; }
.hamy-gift-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.hamy-gift-card:hover .hamy-gift-card__media img { transform: scale(1.035); }
.hamy-gift-card__placeholder { display: flex; width: 100%; height: 100%; min-height: 140px; flex-direction: column; justify-content: center; align-items: center; gap: 10px; color: #8274b6; background: radial-gradient(circle at 50% 18%, #fff 0, #f5f0ff 68%, #ece8f7 100%); }
.hamy-gift-card__placeholder small { font-size: 11px; font-weight: 700; }
.hamy-gift-card__badge { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); background: #ffb71b; color: var(--color-primary); border-radius: 6px; padding: 6px 10px; font-size: 11px; font-weight: 800; line-height: 1.2; }
.hamy-gift-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; padding: 17px 18px 19px; }
.hamy-gift-card__points { display: inline-block; color: #745818; font-size: 13px; font-weight: 900; }
.hamy-gift-card__body h3 { color: #17143e; margin: 0; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.38; font-weight: 800; overflow-wrap: anywhere; }
.hamy-gift-card__title { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.hamy-gift-card__title:hover { text-decoration: underline; }
.hamy-gift-card__media:focus-visible,.hamy-gift-card__title:focus-visible,.hamy-gift-card__link:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.hamy-gift-card__description { color: #676575; margin: 0; font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hamy-gift-card__stock { margin-top: auto; color: #686878; font-size: 12px; font-weight: 650; padding-top: 8px; }
.hamy-gift-card__link { display: inline-flex; align-items: center; gap: 5px; color: var(--color-primary); background: none; border: 0; text-decoration: none; font-weight: 800; font-size: 12px; margin-top: auto; padding: 6px 0 0; cursor: pointer; }
.hamy-gift-card__link:hover { text-decoration: underline; }
.hamy-gift-card__button { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 42px; padding: 10px 12px; background: var(--color-primary); color: #fff; font-size: 12px; line-height: 1.3; font-weight: 750; border: none; border-radius: 8px; text-decoration: none; cursor: pointer; }
.hamy-gift-card__button:hover, .hamy-gift-card__button:focus-visible { background: var(--color-primary-strong); color: #fff; }
.hamy-gift-card__button[disabled] { color: #5e5e69; background: #f0f0f3; cursor: not-allowed; }
.hamy-gift-card form { display: block; margin: 0; width: 100%; }
.hamy-gift-card__body > form, .hamy-gift-card__body > .hamy-gift-card__button { width: 100%; margin-top: 4px; }

.hamy-gift-dialog { position: fixed; width: min(860px, calc(100% - 32px)); max-width: none; max-height: min(88vh, 800px); max-height: min(88dvh, 800px); margin: auto; padding: 0; border: 0; border-radius: 17px; color: #17143e; background: #fff; overflow: auto; box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.hamy-gift-dialog::backdrop { background: rgba(4,19,7,.7); }
.hamy-gift-dialog__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hamy-gift-dialog__close { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--color-primary); box-shadow: 0 2px 12px rgba(0,0,0,.14); font-size: 26px; line-height: 1; cursor: pointer; }
.hamy-gift-dialog__close:focus-visible,.hamy-gift-dialog__action:focus-visible { outline: 3px solid #ffb71b; outline-offset: 2px; }
.hamy-gift-dialog__media { display: flex; flex-direction: column; align-items: stretch; min-width: 0; min-height: 370px; background: #f8f6ef; }
.hamy-gift-dialog__stage { position: relative; display: flex; flex: 0 0 auto; min-height: 0; height: 350px; background: #f8f6ef; touch-action: pan-y; }
.hamy-gift-dialog__zoom-trigger { display: flex; justify-content: center; align-items: center; width: 100%; min-width: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.hamy-gift-dialog__zoom-trigger img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hamy-gift-dialog__arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 42px; border: 0; border-radius: 7px; background: rgba(255,255,255,.88); color: var(--color-primary); font-size: 20px; cursor: pointer; }
.hamy-gift-dialog__arrow--prev { left: 10px; }
.hamy-gift-dialog__arrow--next { right: 10px; }
.hamy-gift-dialog__counter { position: absolute; right: 12px; bottom: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(11,40,12,.74); color: #fff; font-size: 12px; }
.hamy-gift-dialog__thumbnails { display: flex; gap: 9px; min-width: 0; max-width: 100%; padding: 12px; overflow-x: auto; overscroll-behavior-inline: contain; }
.hamy-gift-dialog__caption { margin: 0; padding: 6px 16px 0; font-size: 12px; line-height: 1.5; text-align: center; color: #556253; }
.hamy-gift-dialog__caption[hidden] { display: none; }
.hamy-gift-dialog__thumbnail { flex: 0 0 66px; width: 66px; height: 66px; padding: 3px; border: 2px solid transparent; border-radius: 9px; background: #fff; cursor: pointer; }
.hamy-gift-dialog__thumbnail.is-active { border-color: var(--color-primary); }
.hamy-gift-dialog__thumbnail img { display: block; width: 100%; height: 100%; border-radius: 5px; object-fit: cover; }
.hamy-gift-dialog__thumbnail:focus-visible,.hamy-gift-dialog__zoom-trigger:focus-visible,.hamy-gift-dialog__arrow:focus-visible { outline: 3px solid #ffb71b; outline-offset: 2px; }
.hamy-gift-zoom { position: fixed; width: min(1100px, calc(100% - 22px)); max-width: none; height: min(90vh, 850px); height: min(90dvh, 850px); max-height: none; margin: auto; padding: 14px; border: 0; border-radius: 12px; background: #fff; overflow: hidden; }
.hamy-gift-zoom::backdrop { background: rgba(0,0,0,.86); }
.hamy-gift-zoom img { width: 100%; height: 100%; object-fit: contain; }
.hamy-gift-dialog__placeholder { padding: 36px; color: #686878; text-align: center; }
.hamy-gift-dialog__body { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding: 38px 36px 34px; }
.hamy-gift-dialog__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #876c28; }
.hamy-gift-dialog__body h2 { margin: 0; color: var(--color-primary); font-size: clamp(22px, 3vw, 28px); line-height: 1.25; }
.hamy-gift-dialog__points { font-size: 18px; color: #745818; }
.hamy-gift-dialog__stock { margin: 0; font-size: 13px; color: #686878; }
.hamy-gift-dialog__description { width: 100%; line-height: 1.65; font-size: 14px; color: #444551; overflow-wrap: anywhere; }
.hamy-gift-dialog__description > :first-child { margin-top: 0; }
.hamy-gift-dialog__description img { max-width: 100%; height: auto; }
.hamy-gift-dialog__claim-form { display:grid;gap:12px;width:100%;margin-top:auto; }
.hamy-gift-dialog__claim-form .hamy-gift-dialog__action { margin-top:0; }
.hamy-reward-variant { display:grid;gap:7px;width:100%;min-width:0; }
.hamy-reward-variant__label { display:block;font-size:13px;font-weight:800;color:var(--color-primary);margin:6px 0 7px; }
.hamy-reward-variant__select { display:block;width:100%;min-height:42px;padding:10px 12px;border:1px solid #cacfc6;border-radius:8px;background:#fff;color:#172c19;font-size:14px; }
.hamy-reward-variant__select:focus-visible { outline:3px solid #ffb71b;outline-offset:1px; }
.hamy-gift-card__body form .hamy-reward-variant__label { margin-top:8px; }
.hamy-gift-card__body form .hamy-reward-variant__select { margin-bottom:10px; }
.reward-catalog .hamy-reward-variant__select { margin:8px 0 12px; }
.hamy-gift-dialog__action { display: inline-flex; justify-content: center; align-items: center; width: 100%; margin-top: auto; padding: 12px 16px; border: 0; border-radius: 9px; background: var(--color-primary); color: #fff; font: inherit; font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.hamy-gift-dialog__action:hover { background: var(--color-primary-strong); color: #fff; }

/* Home: small real-image gift selections inside the existing navy rewards banner. */
.rewards-panel__catalog .hamy-gift-card--hero { flex-direction: row; align-items: stretch; min-height: 126px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.17); box-shadow: none; }
.rewards-panel__catalog .hamy-gift-card--hero:hover { background: rgba(255,255,255,.17); }
.hamy-gift-card--hero .hamy-gift-card__media { width: clamp(112px, 11vw, 148px); aspect-ratio: auto; flex-shrink: 0; background: #fffaf0; }
.hamy-gift-card--hero .hamy-gift-card__media img { height: 100%; object-fit: cover; }
.hamy-gift-card--hero .hamy-gift-card__body { justify-content: center; padding: 15px 16px; }
.hamy-gift-card--hero .hamy-gift-card__body h3 { color: #fff; }
.hamy-gift-card--hero .hamy-gift-card__points { color: #ffce4e; }
.hamy-gift-card--hero .hamy-gift-card__description { color: rgba(255,255,255,.8); }
.hamy-gift-card--hero .hamy-gift-card__link { color: #ffd557; }
.hamy-gift-card--hero .hamy-gift-card__placeholder { min-height: 100%; }
.hamy-gift-pending { display: grid; gap: 12px; place-items: center; text-align: center; padding: 36px 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.17); border-radius: 15px; }
.hamy-gift-pending > span { color: #ffb71b; font-size: 36px; }
.hamy-gift-pending strong { color: #fff; font-size: 18px; }
.hamy-gift-pending p { max-width: 320px; }
.hamy-gift-pending a { color: #ffce4e; text-decoration: underline; }

/* A white, editorial gallery like the supplied layout. */
.hamy-gifts-preview { background: #fff; padding-top: clamp(48px, 5vw, 78px); padding-bottom: clamp(52px, 6vw, 90px); }
.hamy-gifts-preview__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.hamy-gifts-preview__heading h2 { max-width: 740px; margin: 6px 0 0; color: var(--color-primary); }
.hamy-gifts-preview__heading > a { color: var(--color-primary); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.hamy-gifts-preview__heading > a:hover { text-decoration: underline; }
.hamy-gifts-preview__banner,.hamy-gifts-catalog__promise { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 23px; margin-bottom: 24px; border-radius: 11px; color: #fff; background: var(--color-primary); }
.hamy-gifts-preview__banner strong,.hamy-gifts-catalog__promise strong { font-size: 15px; }
.hamy-gifts-preview__banner span,.hamy-gifts-catalog__promise span { color: #ffd15b; font-size: 13px; font-weight: 800; }
.hamy-gifts-preview__grid,.hamy-gifts-catalog__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.hamy-gift-card--preview .hamy-gift-card__media { aspect-ratio: 1.4; }
.hamy-gift-card--preview .hamy-gift-card__description { min-height: 0; }
.hamy-gift-card--preview .hamy-gift-card__link { padding-top: 10px; }
.hamy-gifts-catalog { background: #fff; scroll-margin-top: 90px; }
.hamy-gifts-catalog__heading { margin-bottom: 24px; }
.hamy-gifts-catalog__grid { margin-top: 21px; }
.hamy-gift-card--catalog .hamy-gift-card__media { aspect-ratio: 1.45; }
.hamy-gift-card--catalog .hamy-gift-card__media img,.hamy-gift-card--preview .hamy-gift-card__media img,.hamy-gift-card--hero .hamy-gift-card__media img { object-fit: contain; }
.hamy-gift-card--catalog .hamy-gift-card__body { padding: 18px 20px 20px; }
.hamy-gift-card--catalog .hamy-gift-card__body h3 { font-size: 17px; }
.hamy-gift-card--catalog .hamy-gift-card__description { min-height: 0; }
.hamy-gifts-filters { display: grid; gap: 19px; margin-bottom: 20px; }
.hamy-gifts-filters__group { display: flex; flex-wrap: wrap; gap: 9px; }
.hamy-gifts-filters__group button { background: #fff; border: 1px solid #dedbd5; color: var(--color-primary); border-radius: 8px; padding: 10px 15px; line-height: 1.25; min-height: 40px; cursor: pointer; font-weight: 750; font-size: 12px; }
.hamy-gifts-filters__group button:hover,.hamy-gifts-filters__group button:focus-visible { border-color: var(--color-primary); }
.hamy-gifts-filters__group button.is-active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.hamy-gifts-filters__occasions { border-radius: 14px; background: #fff8e9; padding: 20px; }
.hamy-gifts-filters__label { display: grid; gap: 6px; margin-bottom: 16px; color: var(--color-primary); }
.hamy-gifts-filters__label span { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; color: #876c28; }
.hamy-gifts-filters__label strong { font-size: clamp(17px,2vw,23px); }
.hamy-gifts-catalog__no-match { padding: 30px; text-align: center; border: 1px dashed #d7d1b8; border-radius: 12px; background: #fff8e9; }
.hamy-gifts-catalog__no-match strong { display: block; color: var(--color-primary); font-size: 18px; }
.hamy-gifts-catalog__no-match p { color: #686878; margin: 10px 0 18px; }
.hamy-gifts-catalog__no-match button { padding: 11px 16px; border: 0; border-radius: 7px; background: var(--color-primary); color: #fff; font-weight: 800; cursor: pointer; }
.hamy-gifts-catalog__no-match[hidden],.hamy-gift-card[hidden] { display: none !important; }

/* Logged-in account catalog: same gift photography and clearer points/stock. */
.reward-catalog .reward-item { box-shadow: 0 8px 24px rgba(11,40,12,.06); border-radius: 13px; }
.reward-item__media { display: block; aspect-ratio: 1.45; background: #f7f2ff; overflow: hidden; }
.reward-item__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reward-item__media--empty { display: flex; align-items: center; justify-content: center; gap: 10px; flex-direction: column; color: #605197; font-size: 13px; font-weight: 700; }
.reward-item__media--empty svg { width: 45px; height: 45px; }
@media(max-width: 1020px) {
 .hamy-gifts-preview__grid,.hamy-gifts-catalog__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 660px) {
 .hamy-gifts-preview__heading { flex-direction: column; align-items: flex-start; gap: 12px; }
 .hamy-gifts-preview__banner,.hamy-gifts-catalog__promise { flex-direction: column; align-items: flex-start; padding: 17px; gap: 7px; }
 .hamy-gifts-preview__grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding-bottom: 12px; }
 .hamy-gifts-preview__grid > .hamy-gift-card { flex: 0 0 min(78vw,310px); scroll-snap-align: start; }
 .hamy-gifts-catalog__grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
 .hamy-gift-card--hero .hamy-gift-card__media { width: 35%; }
 .hamy-gift-card--hero .hamy-gift-card__body { padding: 14px; }
 .hamy-gift-card__body { padding: 12px; }
 .hamy-gift-card__body h3 { font-size: 14px; }
 .hamy-gift-card--preview .hamy-gift-card__media { aspect-ratio: 1.45; }
 .hamy-gift-card--catalog .hamy-gift-card__media { aspect-ratio: 1.15; }
 .hamy-gift-card--catalog .hamy-gift-card__body { padding: 13px; }
 .hamy-gift-card--catalog .hamy-gift-card__body h3 { font-size: 14px; }
 .hamy-gift-card__button { font-size: 11px; padding: 9px 5px; }
 .hamy-gift-dialog__layout { grid-template-columns: 1fr; }
 .hamy-gift-dialog__media { min-height: 0; height: auto; max-height: none; aspect-ratio: auto; }
 .hamy-gift-dialog__stage { flex: 0 0 auto; height: min(38dvh, 310px); }
 .hamy-gift-dialog__zoom-trigger img { max-height: none; }
 .hamy-gift-dialog__thumbnails { gap: 7px; padding: 9px; }
 .hamy-gift-dialog__thumbnail { flex-basis: 54px; width: 54px; height: 54px; }
 .hamy-gift-dialog__body { gap: 10px; padding: 20px; }
 .hamy-gift-dialog__body h2 { font-size: 21px; }
 .hamy-gift-dialog__close { top: 9px; right: 9px; }
 .hamy-gifts-filters__occasions { padding: 15px; }
 .hamy-gifts-filters__group button { padding: 9px 12px; }
}
@media(prefers-reduced-motion:reduce) {
 .hamy-gift-card,.hamy-gift-card__media img { transition: none; }
 .hamy-gift-card:hover { transform: none; }
}
