/* The add-ons' own pages (components/addon_page.html, T1026-30): the line for a parent who already has a book, under the
   buy button, and three steps in a row on a computer. */
.ad-have { margin-top: 2px; }
.ad-have a { color: var(--navy, #243B79); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .ad-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* what one order is (3 printuri A4, the sheet, the material), right under the price */
.ad-specs { margin: 10px 0 2px; padding: 0; list-style: none; display: grid; gap: 6px; }
.ad-specs li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--ink, #1F2A44); }
.ad-specs li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2.4px solid var(--navy, #243B79); border-bottom: 2.4px solid var(--navy, #243B79); transform: rotate(-45deg); }
/* the gifts' section page (/cadouri-personalizate): a card per gift, the picture beside the words */
.ad-hub__head { max-width: 760px; margin: 0 auto 36px; }
.ad-hub__lead { margin-top: 12px; color: var(--ink-soft, #4A5578); font-size: 18px; line-height: 1.55; }
.ad-hub__list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1180px; }
.ad-hub__item { display: flex; }
.ad-hub__card { flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; color: inherit; text-decoration: none;
  box-shadow: 0 10px 30px rgb(36 59 121 / 0.09); transition: transform .25s ease, box-shadow .25s ease; }
.ad-hub__card:hover, .ad-hub__card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 44px rgb(36 59 121 / 0.16); }
.ad-hub__card:focus-visible { outline: 3px solid var(--yellow, #FFDF2D); outline-offset: 3px; }
.ad-hub__pic { display: block; overflow: hidden; aspect-ratio: 1 / 1; background: #EFF2FA; }
.ad-hub__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ad-hub__card:hover .ad-hub__pic img { transform: scale(1.04); }
.ad-hub__text { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 26px 26px; }
.ad-hub__title { font-family: Rubik, Arial, sans-serif; font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--navy, #243B79); }
.ad-hub__facts { font-size: 14px; font-weight: 700; letter-spacing: .01em; color: #4A5578; }
.ad-hub__pitch { line-height: 1.55; color: var(--ink, #1F2A44); }
.ad-hub__buy { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.ad-hub__price { font-family: Rubik, Arial, sans-serif; font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--navy, #243B79); }
.ad-hub__set { font-size: 14px; color: #4A5578; }
.ad-hub__btn { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px;
  border-radius: 999px; background: var(--yellow, #FFDF2D); color: var(--navy, #243B79); font-weight: 700; font-size: 16px; line-height: 1.2; transition: background .2s ease; }
.ad-hub__card:hover .ad-hub__btn { background: #FFD400; }
@media (prefers-reduced-motion: reduce) { .ad-hub__card, .ad-hub__pic img { transition: none; } .ad-hub__card:hover { transform: none; } .ad-hub__card:hover .ad-hub__pic img { transform: none; } }
@media (max-width: 760px) { .ad-hub__btn { align-self: stretch; } .ad-hub__text { padding: 18px 20px 22px; } }
.ad-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ad-why__list h3 { margin: 10px 0 6px; font-size: 19px; }
.ad-why__list p { margin: 0; line-height: 1.5; }
.ad-why__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow, #FFDF2D); }
@media (max-width: 760px) { .ad-hub__list, .ad-why__list { grid-template-columns: minmax(0, 1fr); } }
/* the room under the header, the same as /carte-personalizata's (57 px at 1440 and 390; Sam, 26 Oct 2026: „jammed against
   the header”) */
.pd-top.ad-top { padding-top: 57px; }
.ad-hub { padding-top: 57px; }
.ad-hub .ad-hub__head { margin-bottom: 48px; }
