/* Fêtes de Kelly & Lilly */
.gift-top-banner,
.gift-header-button,
.gift-page,
.gift-home-feature,
.gift-section-link {
  --gift-red: #9f213c;
  --gift-dark: #68182d;
  --gift-gold: #ebc77b;
  --gift-ink: #263f41;
  --gift-serif: Carnet, Georgia, serif;
}
.gift-top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 36px;
  padding: .36rem .75rem;
  border-bottom: 1px solid #d3b273;
  background-color: var(--gift-dark);
  background-image: radial-gradient(ellipse at 50% 0%, #ae2b48, transparent 75%);
  color: #fff8e9;
  text-align: center;
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}
.gift-top-banner::before,
.gift-top-banner::after {
  content: "";
  width: clamp(1rem,6vw,6rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gift-gold));
}
.gift-top-banner::after { transform: rotate(180deg); }
.gift-top-banner-brand {
  background: #c9004b radial-gradient(ellipse at 50% 0%, #c9004b 18%, #aa1049 100%);
  color: #fff;
  text-wrap: balance;
}
.gift-top-banner-brand > span { min-width: 0; }
.gift-top-banner:hover span { text-decoration: underline; text-underline-offset: .18em; }
.gift-header-button {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 44px;
  padding: .4rem .82rem;
  border: 1px solid #8f1e34;
  border-radius: 1rem .42rem 1rem .42rem;
  background: linear-gradient(120deg, #b33249, #941e37 70%);
  box-shadow: inset 0 0 0 2px #fff1d6, inset 0 0 0 3px #ccaa6c;
  color: #fff;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}
.gift-header-button::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 5px;
  right: 5px;
  background: #f7dca4;
  clip-path: polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);
}
.gift-header-icon { font-size: 1.15rem; }
.gift-header-button:hover { color: white; background: #851a32; }
.gift-top-banner:focus-visible,
.gift-header-button:focus-visible,
.gift-page :is(a,button,input):focus-visible,
.gift-home-feature a:focus-visible,
.gift-section-link a:focus-visible {
  outline: 3px solid #176065;
  outline-offset: 3px;
}
.gift-top-banner:focus-visible { outline-offset: -4px; outline-color: #fff; }

/* Le bouton fait partie de la rangée de marque, à gauche de la loupe au format mobile. */
@media (max-width: 960px) {
  body>header:has(.kb-section-nav) .brandbar:has(.gift-header-button) {
    grid-template-columns: minmax(0,1fr) 44px 44px 44px auto;
    column-gap: .2rem;
  }
  body>header .brandbar .gift-header-button { grid-area: 1/2; width: 44px; padding: .25rem; }
  body>header .brandbar .gift-header-label { display: none; }
  body>header .brandbar .gift-header-icon { font-size: 1.3rem; }
  body>header .brandbar:has(.gift-header-button)>.kb-search-toggle { grid-area: 1/3; }
  body>header .brandbar:has(.gift-header-button)>.kb-mobile-account { grid-area: 1/4; }
  body>header:has(.kb-section-nav) .brandbar:has(.gift-header-button)>.kb-header-cart { grid-area: 1/5; }
}
@media (max-width: 430px) {
  body>header .brandbar:has(.gift-header-button)>.brand { white-space: normal; line-height: 1.06; }
  body>header .brandbar:has(.gift-header-button)>.brand>span { display: none; }
  .gift-top-banner { min-height: 38px; gap: .4rem; font-size: .9rem; }
  .gift-top-banner::before,.gift-top-banner::after { width: .65rem; }
}
.gift-page { width: min(1190px,92%); margin: 1.2rem auto 3.5rem; color: var(--gift-ink); }
.gift-intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  padding: clamp(1.35rem,3vw,3rem);
  border: 1px solid #e8d4bc;
  border-radius: 24px;
  background: #faf5ec;
}
.gift-intro-fetes {
  color: #fff9ec;
  border-color: #763047;
  box-shadow: inset 0 0 0 4px #81253d, inset 0 0 0 5px #c99966;
  background: radial-gradient(circle at 100% 0%,#ae3956,transparent 48%),
    linear-gradient(110deg,#67192d,#8f2943 70%,#752138);
}
.gift-intro-fetes::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 13%;
  width: 3rem;
  height: .45rem;
  border-inline: 5px double #eccb8e;
}
.gift-intro-copy { max-width: 49rem; }
.gift-intro h1 {
  color: inherit;
  font-family: var(--gift-serif);
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 650;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.025em;
}
.gift-intro h1 span { display: inline-block; }
.gift-intro p,.gift-home-feature p { font-size: 1.05rem; line-height: 1.55; margin: .6rem 0 0; color: inherit; }
.gift-redeem-link {
  flex: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .62rem 1.1rem;
  text-align: center;
  color: inherit;
  font-weight: 700;
}
.gift-redeem-link:hover,.gift-cart-link:hover { text-decoration: underline; text-underline-offset: .15em; }
.gift-page .gift-intro-fetes a:focus-visible { outline-color: #fffaf0; }
.gift-offers {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: stretch;
  gap: clamp(.8rem,1.6vw,1.4rem);
  margin: clamp(1rem,2vw,1.65rem) 0;
}
.gift-offers-duo { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gift-offer {
  --gift-accent: #8a2848;
  --gift-paper: #ffeff4;
  --gift-rule: #e8c7d3;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--gift-rule);
  border-radius: 20px;
  background: white;
  overflow: hidden;
  color: var(--gift-ink);
}
.gift-offer-visio { --gift-accent: #78521c; --gift-paper: #fff7e4; --gift-rule: #e8d6ad; }
.gift-offer-carte { --gift-accent: #1b5b59; --gift-paper: #edf7f1; --gift-rule: #bfd9cd; }
.gift-offer-art {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(9.75rem,17vw,13.5rem);
  padding: .6rem;
  border-bottom: 1px solid var(--gift-rule);
  background: linear-gradient(120deg,var(--gift-paper),#fff 150%);
}
.gift-offer-art>img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.gift-card-sample {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: min(83%,16rem);
  height: 85%;
  padding: .55rem 1rem .35rem;
  overflow: hidden;
  border: 1px solid #b69755;
  border-radius: .7rem;
  background: #fffbeb;
  box-shadow: 0 8px 13px #204c4126, inset 0 0 0 3px #fffbeb, inset 0 0 0 4px #dcc695;
  transform: rotate(-3deg);
}
.gift-card-sample::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: -1.85rem;
  width: 6rem;
  height: .8rem;
  transform: rotate(40deg);
  background: #ac3c56;
  border-block: 1px solid #dca5a4;
}
.gift-card-sample span { color: #7a2c47; font: italic 700 clamp(.9rem,1.8vw,1.35rem)/1.2 var(--gift-serif); }
.gift-card-sample img { display:block; height: auto; max-height: 5.8rem; width: auto; max-width: 94%; mix-blend-mode: multiply; }
.gift-offer-body { display: flex; flex: 1; flex-direction: column; padding: clamp(1rem,2vw,1.45rem); }
.gift-offer-body h2,.gift-home-feature h2,.gift-help h2 {
  color: var(--gift-accent,var(--gift-dark));
  margin: 0;
  font: 700 clamp(1.45rem,2.3vw,2rem)/1.14 var(--gift-serif);
}
.gift-offer-body h2 span { white-space: nowrap; }
.gift-offer-body p { margin: .7rem 0 0; font-size: 1rem; line-height: 1.52; }
.gift-offer-buy { margin-top: auto; padding-top: 1.1rem; }
.gift-action,.gift-home-feature .gift-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .68rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gift-accent,var(--gift-red));
  color: #fff;
  font: inherit;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}
.gift-action:hover { filter: brightness(.9); }
.gift-action:disabled { opacity: .65; cursor: wait; }
.gift-amount-form { display: grid; gap: .45rem; }
.gift-amount-form label { font-weight: 700; }
.gift-amount-input {
  display: flex; align-items: center; gap: .5rem;
  max-width: 12rem; padding: .5rem .75rem;
  border: 1px solid var(--gift-accent); border-radius: .65rem; background: #fff;
}
.gift-amount-input:focus-within { outline: 2px solid var(--gift-accent); outline-offset: 2px; }
.gift-amount-input input {
  width: 100%; min-width: 0; min-height: 1.6rem; padding: 0; border: 0; background: transparent;
  color: inherit; font: inherit; font-size: 1rem;
}
.gift-amount-form .gift-amount-input input:focus-visible { outline: none; }
.gift-amount-input span { color: var(--gift-accent); font-weight: 700; }
.gift-amount-form small { font-size: .875rem; }
.gift-amount-form button { margin-top: .4rem; }
.gift-help { border-block: 1px solid #e5d9c7; padding: clamp(1.1rem,2.7vw,1.8rem) 0; }
.gift-help p { margin: .6rem 0 0; max-width: 78ch; }
.gift-help p>a,.gift-cart-link { color: #155b60; text-decoration: underline; text-underline-offset: .15em; }
.gift-cart-link { display: inline-flex; align-items:center; min-height: 44px; font-weight: 700; }

.gift-home-feature {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(10rem,1fr);
  gap: clamp(.7rem,3vw,2rem);
  align-items: center;
  margin: clamp(.9rem,2.5vw,1.8rem) 0;
  padding: clamp(1.1rem,3vw,2.3rem);
  border: 1px solid #ddcda9;
  border-left: .3rem solid #9b2943;
  border-radius: 20px;
  background: linear-gradient(115deg,#fff2f4,#fff9ed 68%,#f4f7ee);
  color: var(--gift-ink);
}
.gift-home-feature .gift-action { margin-top: .9rem; }
.gift-home-feature img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.gift-section-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin: 1rem auto;
  padding: .55rem 1rem;
  border: 1px solid #e4c8ca;
  border-radius: 14px;
  color: var(--gift-dark);
  background: #fff4f2;
}
.gift-section-link a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 760px) {
  .gift-page { width: 94%; }
  .gift-offers,.gift-offers-duo { grid-template-columns: minmax(0,1fr); }
  .gift-intro { flex-direction: column; align-items: flex-start; gap: .85rem; }
  .gift-home-feature { grid-template-columns: 1fr; }
  .gift-home-feature img { width: min(100%,23rem); justify-self: center; }
  .gift-offer-art { height: clamp(9rem,40vw,14rem); }
}
