/* QA-OPEN (website QA sheet, Ever After tab, Status = Open rows; Harsh via the hub, 19 Nov 2026).
   Loaded after ea.css. One commented block per row. */

/* EVA-005 — trust strip: a product page without the resize promise has 4 items in a 5-column grid, so the last
   fifth of the bar stood empty. Four items now share the full width, each centred in its quarter. */
@media (min-width:1024px){
  .ea-promise-strip:has(> .ea-promise:nth-child(4):last-child){grid-template-columns:repeat(4,1fr)}
}

/* COLOUR-BACK (Harsh, 20 Nov: "jaha par bhi colour change kiya ho pichale 3 din me vo pehale jesa tha vesa hi kar do"):
   EVA-006 (powder band behind the policy pages' closing call-to-action) and EVA-036 (ink text on the linen in
   "Join the story", the footer and "Design your ring") were taken back out. Those places keep the colours ea.css
   gives them, as before 19 Nov. */

/* EVA-007 — blog and guide cards: "Read more" / "Learn more" sit on the card's bottom line, so a two-line excerpt no
   longer pushes one link below its neighbours. */
.ea-guides__list > .ea-guide{display:flex}
.ea-guides__list > .ea-guide > a{flex:1 1 auto}
.ea-guide .ea-link{margin-top:auto;align-self:flex-start}

/* EVA-008 — collection grids: 24 pieces + 2 promo tiles left 2 cards alone on the last row of 4. A promo tile now
   shows only when it completes the rows at that width (the count includes the tiles, hidden ones too):
   4 columns — 2 over a full row: both tiles out; 1 over: the second tile out (or the only one).
   2 columns — 1 over: the second tile out (or the only one). */
@media (min-width:1024px){
  .ea-grid:has(> .ea-promo--diamonds):has(> .ea-promo--design):has(> :last-child:nth-child(4n+2)) > .ea-promo{display:none}
  .ea-grid:has(> .ea-promo--design):has(> :last-child:nth-child(4n+1)) > .ea-promo--design{display:none}
  .ea-grid:not(:has(> .ea-promo--design)):has(> :last-child:nth-child(4n+1)) > .ea-promo--diamonds{display:none}
}
@media (max-width:1023px){
  .ea-grid:has(> .ea-promo--design):has(> :last-child:nth-child(2n+1)) > .ea-promo--design{display:none}
  .ea-grid:not(:has(> .ea-promo--design)):has(> :last-child:nth-child(2n+1)) > .ea-promo--diamonds{display:none}
}

/* EVA-010 — article "All stories": it sat at the page's left edge, far outside the centred 720px text column. It
   now starts on the text column's left edge. */
.ea-article__back{width:auto;max-width:none;align-self:flex-start;margin-left:max(0px, calc((100% - 720px) / 2))}

/* EVA-031 — text links: the underline was a 25px stub under the first word ("ASK"). It now runs under the whole
   link — Ask a question, All stories, Browse the collections, Read more and every other .ea-link. */
.ea-link::after{width:100%}

/* EVA-026 — guides (and every page drawn by the Page section): the text ran in a 720px column on the left with
   ~600px empty on the right. The heading and the text are centred together as one column, like an article. */
.ea-page{align-items:center}
.ea-page > .ea-page__h,.ea-page > .ea-rte{width:100%;max-width:720px}

/* EVA-030 — product card names on phones: 2 lines of the 15px name ended after "SOLITAIRE PENDANT…", so the heart,
   round, emerald, pear and marquise pendants read the same. Below 768px the name is set at 11px, still 2 lines
   at most (Harsh, 4 Nov), so the shape fits: "Solitaire Pendant Necklace with Radiant…" at 375 (12px still stopped at
   "…with"). */
@media (max-width:767px){
  .ea-card__name{font-size:11px;line-height:1.3;letter-spacing:0;min-height:2.6em}
}

/* EVA-035 — newsletter popup at tablet width: a 420px picture left a 212px text column, too narrow for the 35px
   heading, so "SOMETHING" broke inside the word. From 768 to 1023 the picture is narrower and the text column
   wider; a heading never breaks inside a word. */
@media (min-width:768px) and (max-width:1023px){
  .ea-pop__img{flex-basis:300px}
  .ea-pop__body{padding:48px 36px}
}
.ea-pop__body .ea-h2{overflow-wrap:normal;word-break:normal;hyphens:manual}

/* EVA-038 — "Design your ring" metal buttons: Yellow gold sat alone on a row, White / Rose gold on the next (1 + 2).
   The three now keep one row (tighter padding); they may wrap only on a narrow phone. */
.ea-design__metals{flex-wrap:nowrap;gap:6px}
.ea-design__metal{padding:0 11px;white-space:nowrap}
@media (max-width:420px){ .ea-design__metals{flex-wrap:wrap} }
