.m2y-gifts { color: #252525; margin: 0 0 40px; }
.m2y-gifts *, .m2y-gifts *::before, .m2y-gifts *::after { box-sizing: border-box; }
.m2y-gifts__demo { padding: 11px 16px; margin: 0 0 14px; background: #fff5dc; color: #644a10; border: 1px solid #e8d8ab; border-radius: 5px; font-size: 13px; line-height: 1.6; }
.m2y-gifts__hero { position: relative; display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 32px; align-items: center; padding: 48px; overflow: hidden; background: var(--m2y-gifts-bg,#151515); color: var(--m2y-gifts-color,#fff); border-radius: 9px; }
.m2y-gifts__hero-copy { position: relative; z-index: 1; min-width: 0; }
.m2y-gifts__eyebrow { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; line-height: 1.6; color: inherit; }
.m2y-gifts .m2y-gifts__hero h1 { max-width: 600px; margin: 0 0 20px; color: inherit; font-size: clamp(30px,4vw,54px); line-height: 1.08; font-weight: 700; letter-spacing: -1px; overflow-wrap: anywhere; }
.m2y-gifts__hero p { max-width: 570px; margin: 0 0 26px; color: inherit; font-size: 16px; line-height: 1.7; }
.m2y-gifts .m2y-gifts__hero-link { display: inline-flex; gap: 20px; align-items: center; padding: 11px 0; border-bottom: 1px solid currentColor; color: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.m2y-gifts .m2y-gifts__hero-link:hover { text-decoration: underline; }
.m2y-gifts__hero-art { position: relative; display: flex; min-height: 260px; align-items: center; justify-content: center; }
.m2y-gifts__halo { position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 1px solid #ffffff24; box-shadow: 0 0 0 30px #ffffff05,0 0 0 60px #ffffff04; }
.m2y-gifts__present { position: relative; display: flex; width: 165px; height: 165px; align-items: center; justify-content: center; background: var(--m2y-gifts-accent,#2ecc71); color: #102b1a; border-radius: 24px; transform: rotate(-9deg); box-shadow: 16px 20px 0 #00000025; }
.m2y-gifts__present svg { width: 94px; height: 94px; stroke-width: 1.4; }
.m2y-gifts__art-label { position: absolute; bottom: 3px; font-size: 10px; font-weight: 700; letter-spacing: 3px; color: inherit; }
.m2y-gifts__steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 0; padding: 24px 0; list-style: none; border-bottom: 1px solid #e3e3e3; }
.m2y-gifts__steps li { display: flex; gap: 12px; align-items: center; min-width: 0; }
.m2y-gifts__steps li > span { display: flex; flex: 0 0 32px; height: 32px; align-items: center; justify-content: center; background: #f0f3f1; border-radius: 50%; font-size: 13px; font-weight: 700; color: #2f5740; }
.m2y-gifts__steps strong { display: block; font-size: 14px; line-height: 1.5; }
.m2y-gifts__steps small { display: block; color: #626262; font-size: 12px; line-height: 1.6; }
.m2y-gifts__selection-heading { margin: 34px 0 28px; scroll-margin-top: 260px; }
.m2y-gifts__selection-heading > span { color: #666; font-size: 11px; font-weight: 700; letter-spacing: 1.3px; }
.m2y-gifts .m2y-gifts__selection-heading h2 { margin: 8px 0; font-size: 29px; line-height: 1.3; color: #222; }
.m2y-gifts__selection-heading p { margin: 0; color: #555; font-size: 14px; line-height: 1.6; }
.m2y-gifts__level { margin: 0 0 36px; }
.m2y-gifts__level-header { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 18px; }
.m2y-gifts__level-number { background: #202020; color: #fff; padding: 6px 9px; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: .6px; line-height: 1.5; }
.m2y-gifts .m2y-gifts__level-header h2 { margin: 0; font-size: 21px; line-height: 1.4; color: #222; }
.m2y-gifts__level-rule { flex: 1; height: 1px; min-width: 20px; background: #e0e0e0; }
.m2y-gifts__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.m2y-gifts__card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e1e5e2; border-radius: 7px; overflow: hidden; background: #fff; }
.m2y-gifts__image { position: relative; display: flex; height: 210px; padding: 32px 20px 16px; align-items: center; justify-content: center; background: #fafbfa; }
.m2y-gifts__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.m2y-gifts__gift-tag { position: absolute; top: 12px; left: 12px; padding: 4px 7px; background: #edf7ef; color: #306044; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.m2y-gifts__placeholder { display: flex; width: 82px; height: 82px; align-items: center; justify-content: center; background: #eff2ef; color: #77877a; border-radius: 50%; }
.m2y-gifts__placeholder svg { width: 38px; height: 38px; }
.m2y-gifts__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 20px; overflow-wrap: anywhere; }
.m2y-gifts .m2y-gifts__body h3 { margin: 0 0 12px; color: #222; font-size: 16px; line-height: 1.45; font-weight: 700; }
.m2y-gifts__description { margin: 0 0 14px; color: #555; font-size: 13px; line-height: 1.6; }
.m2y-gifts__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; margin-top: auto; padding-top: 8px; }
.m2y-gifts__price strong { font-size: 24px; line-height: 1.4; font-weight: 700; color: #202020; }
.m2y-gifts__price > span { color: #666; font-size: 12px; line-height: 1.5; }
.m2y-gifts__shop-price { margin: 2px 0 0; color: #666; font-size: 12px; line-height: 1.6; }
.m2y-gifts__form { margin-top: 18px; }
.m2y-gifts .m2y-gifts__button { display: flex; gap: 12px; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 12px; border: 0; border-radius: 4px; background: var(--m2y-gifts-accent,#2ecc71); color: #102b1a; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; white-space: normal; cursor: pointer; }
.m2y-gifts__body > .m2y-gifts__button { margin-top: 18px; }
.m2y-gifts .m2y-gifts__button:not(:disabled):hover { filter: brightness(.94); }
.m2y-gifts .m2y-gifts__button:disabled { cursor: default; background: #d9eddf; color: #4c6955; }
.m2y-gifts__button:focus-visible,.m2y-gifts__hero-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.m2y-gifts__status { color: #94321c; font-size: 13px; line-height: 1.6; margin: 10px 0 0; }
.m2y-gifts__status:empty { display: none; }
.m2y-gifts__terms { padding: 22px 24px; background: #f6f7f6; border-radius: 6px; }
.m2y-gifts .m2y-gifts__terms h2 { margin: 0 0 10px; font-size: 17px; color: #333; }
.m2y-gifts__terms p { margin: 0; white-space: pre-line; color: #555; font-size: 13px; line-height: 1.8; }
@media (max-width:1000px) { .m2y-gifts__hero { padding: 32px; gap: 16px; } .m2y-gifts__hero-art { min-height: 220px; } .m2y-gifts__halo { width: 200px; height: 200px; } .m2y-gifts__present { width: 130px; height: 130px; } .m2y-gifts__present svg { width: 74px; height: 74px; } .m2y-gifts__grid { gap: 14px; } .m2y-gifts__body { padding: 16px; } }
@media (max-width:760px) { .m2y-gifts__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .m2y-gifts__hero { grid-template-columns: minmax(0,1fr); } .m2y-gifts__hero-art { display: none; } .m2y-gifts__steps { gap: 12px; } .m2y-gifts__steps li { align-items: flex-start; gap: 8px; } }
@media (max-width:540px) { .m2y-gifts__hero { padding: 28px 22px; } .m2y-gifts__eyebrow { font-size: 10px; letter-spacing: 1px; margin-bottom: 14px; } .m2y-gifts .m2y-gifts__hero h1 { font-size: 36px; } .m2y-gifts__hero p { font-size: 14px; margin-bottom: 18px; } .m2y-gifts__steps { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 20px 0; } .m2y-gifts__grid { grid-template-columns: minmax(0,1fr); } .m2y-gifts__selection-heading { margin-top: 28px; } .m2y-gifts .m2y-gifts__selection-heading h2 { font-size: 25px; } .m2y-gifts__level-rule { display: none; } .m2y-gifts .m2y-gifts__level-header h2 { font-size: 19px; } .m2y-gifts__image { height: 195px; } .m2y-gifts__terms { padding: 18px; } }

/* V1.7: square white product photography and cart-aware availability. */
.m2y-gifts__art-label { display: none; }
.m2y-gifts__image { height: auto; aspect-ratio: 1 / 1; padding: 34px 24px 20px; background: #fff; }
.m2y-gifts__image img { width: 100%; height: 100%; object-fit: contain; }
.m2y-gifts__body { border-top: 1px solid #f0f0f0; }
.m2y-gifts__shop-price { margin: 3px 0 0; font-size: 14px; line-height: 1.6; color: #444; }
.m2y-gifts__shop-price strong { color: #333; font-weight: 700; }
.m2y-gifts__cart-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; margin-top: 22px; background: #f4f7f4; border: 1px solid #e0e8e1; border-radius: 5px; font-size: 14px; font-weight: 700; }
.m2y-gifts__cart-summary button { min-height: 40px; padding: 8px 12px; background: #fff; color: #333; border: 1px solid #cad7cd; border-radius: 4px; font: inherit; cursor: pointer; }
.m2y-gifts__level-status { width: 100%; color: #666; font-size: 13px; line-height: 1.6; }
.m2y-gifts__level.is-eligible .m2y-gifts__level-number { background: #e0f4e6; color: #1d6435; }
.m2y-gifts__level.is-eligible .m2y-gifts__level-status { color: #25613b; font-weight: 700; }
.m2y-gifts__acceptance { font-size: 13px; line-height: 1.7; color: #555; }
.m2y-gifts__acceptance a { text-decoration: underline; color: #333; }
.m2y-gifts__card.is-soldout .m2y-gifts__gift-tag { color: #655b5b; background: #f1eded; }
.m2y-gifts__card.is-soldout .m2y-gifts__image img { opacity: .65; }
.m2y-gifts .m2y-gifts__button:disabled { background: #ededed; color: #666; }
.m2y-gifts__terms { scroll-margin-top: 260px; }
@media(max-width:540px) { .m2y-gifts__image { height: auto; padding: 32px 24px 18px; } .m2y-gifts__shop-price { font-size: 14px; } }
/* Keep intrinsic image dimensions from stretching the square canvas. */
.m2y-gifts__image { padding: 0; min-height: 0; flex-shrink: 0; }
.m2y-gifts__image img { position: absolute; top: 28px; left: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; }
.m2y-gifts__gift-tag { z-index: 1; }

/* V1.8: compact cards, with a smaller square product photo. */
.m2y-gifts__image { height: 190px; aspect-ratio: auto; padding: 12px; }
.m2y-gifts__image img { position: static; width: 166px; height: 166px; max-width: 100%; object-fit: contain; }
.m2y-gifts__body { padding: 16px; }
.m2y-gifts .m2y-gifts__body h3 { min-height: 40px; margin-bottom: 8px; font-size: 14px; line-height: 1.45; }
.m2y-gifts__price { padding-top: 4px; }
.m2y-gifts__price strong { font-size: 21px; }
.m2y-gifts__form, .m2y-gifts__body > .m2y-gifts__button { margin-top: 12px; }
.m2y-gifts .m2y-gifts__button { min-height: 42px; padding: 10px; font-size: 13px; }
.m2y-gifts__availability-note { padding: 12px 14px; color: #7d421a; background: #fff4e8; border-radius: 4px; font-size: 13px; line-height: 1.6; }
.m2y-gifts__availability-note[hidden] { display: none; }
@media(max-width:540px) {
    .m2y-gifts__card { display: grid; grid-template-columns: 100px minmax(0,1fr); }
    .m2y-gifts__image { height: 100%; min-height: 150px; padding: 30px 6px 12px; align-items: flex-start; }
    .m2y-gifts__image img { width: 88px; height: 88px; }
    .m2y-gifts__placeholder { width: 64px; height: 64px; }
    .m2y-gifts__gift-tag { top: 8px; left: 8px; font-size: 8px; }
    .m2y-gifts__body { padding: 12px; border-top: 0; border-left: 1px solid #f0f0f0; }
    .m2y-gifts .m2y-gifts__body h3 { min-height: 0; font-size: 13px; }
    .m2y-gifts__shop-price { font-size: 12px; }
    .m2y-gifts__price strong { font-size: 20px; }
    .m2y-gifts .m2y-gifts__button { font-size: 12px; }
}

/* V1.12: clear calls to action and a three-step journey. */
.m2y-gifts__hero { background-image:radial-gradient(ellipse at 80% 20%,#ffffff0c,transparent 65%); }
.m2y-gifts__hero-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.m2y-gifts .m2y-gifts__hero-primary, .m2y-gifts .m2y-gifts__hero-secondary { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:13px 19px; border-radius:4px; font-size:14px; font-weight:700; line-height:1.5; text-decoration:none; }
.m2y-gifts .m2y-gifts__hero-primary { background:var(--m2y-gifts-accent,#2ecc71); color:#102b1a; box-shadow:0 6px 20px #0002; }
.m2y-gifts__hero-primary svg { width:21px; height:21px; }
.m2y-gifts .m2y-gifts__hero-secondary { color:inherit; background:#ffffff09; border:1px solid #ffffff75; }
.m2y-gifts .m2y-gifts__hero-primary:hover { filter:brightness(1.06); transform:translateY(-1px); }
.m2y-gifts .m2y-gifts__hero-secondary:hover { background:#ffffff18; }
.m2y-gifts__steps { gap:16px; border-bottom:0; padding:22px 0 8px; counter-reset:none; }
.m2y-gifts__steps li { position:relative; align-items:flex-start; gap:14px; padding:20px; background:linear-gradient(135deg,#f4fbf6,#fff); border:1px solid #dcebe1; border-radius:7px; }
.m2y-gifts__steps li > span { flex:0 0 42px; height:42px; background:#e0f5e8; color:#245b38; border:1px solid #b9dfc6; font-size:19px; border-radius:12px; }
.m2y-gifts__steps li:nth-child(2) { border-top:3px solid var(--m2y-gifts-accent,#2ecc71); padding-top:18px; }
.m2y-gifts__steps strong { font-size:15px; color:#273d2e; }
.m2y-gifts__steps small { margin-top:5px; font-size:13px; }
.m2y-gifts a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.m2y-campaign-inactive { padding:32px 24px; border:1px solid #ddd; border-radius:6px; margin:20px 0; }
.m2y-campaign-inactive p { margin-bottom:22px; }
@media(max-width:900px) { .m2y-gifts__steps li { padding:16px; gap:10px; } .m2y-gifts__steps li:nth-child(2) { padding-top:14px; } }
@media(max-width:640px) { .m2y-gifts__hero-actions { align-items:stretch; } .m2y-gifts__hero-actions > a { flex:1 1 100%; } .m2y-gifts__steps { grid-template-columns:1fr; gap:10px; padding-top:16px; } .m2y-gifts__steps li { align-items:center; } }
@media(prefers-reduced-motion:reduce) { .m2y-gifts .m2y-gifts__hero-primary:hover { transform:none; } }
