/* device-site.css — variant B: what makes the OF-Design page (css/device.css) sit inside the site's frame
   (css/site-frame.css). Written by hand; tokens only, as device.css. */

/* the site's header, footer and cart keep their own links, not OF-Design's underlined ones */
.site-header a, .site-footer a, .cart-panel a, .co-backdrop a { border-bottom: 0; text-decoration: none; }
.site-header .site-nav a { color: #d6d6d6; }
.site-header .site-nav a:hover, .site-header .site-nav a[aria-current] { color: #fff; }
.site-footer .legal a, .site-footer .socials a { color: #fff; }

/* the cover starts under the sticky header, as the site's product pages do */
#main { padding-top: var(--of-s6); }

/* «Add to cart», which the site's script puts after every Buy in a .pi-buy, in OF-Design's button */
.dev-btns .btn-line { min-height: var(--of-touch); height: auto; padding-inline: var(--of-s5); font-size: var(--of-fs-body); background: transparent;
  color: var(--of-ink); border: var(--of-hair) solid var(--of-ink); border-bottom-width: var(--of-edge-w); text-transform: uppercase; cursor: pointer; }
.dev-btns .btn-line:hover { background: var(--of-ink); color: var(--of-ground); }
.dev-btns .btn-line.is-in { color: var(--of-ink-2); border-color: var(--of-edge); }
.dev-btns button.dev-buy { cursor: pointer; font: inherit; }

/* the credits, above the site footer */
.dev-foot { row-gap: var(--of-s2); }
.dev-foot p { margin: 0; }

/* in the site: the name and the price a step smaller than in OF-Design's cover (29 November, «titolo e prezzo un po più piccoli») */
.dev-cover .of-cover__name { font-size: clamp(3.5rem, 8vw, 6.25rem); }
.dev-price { font-size: clamp(2rem, 4vw, 3rem); }

/* «The window»: the text in the middle of the band, beside the poster, not at its foot */
.dev-poster__in { align-items: center; }
.dev-poster__text { padding-bottom: 0; }

/* the site's legal line (Paddle) under every Buy, in OF-Design's small print */
.pi-legal { margin: 0; max-width: var(--of-measure); font-size: var(--of-fs-label); line-height: 1.5; color: var(--of-ink-2); }
.pi-legal a { color: inherit; }

/* OF STORMO: the colours of its window (sampled from the face render, 2026-11-29) */
[data-dev="stormo"] { --dev-bg: #0A100D; --dev-tx: #C9DDD2; --dev-ac: #6BE8A3; }
.dev-cover__pouch[data-dev="stormo"] { background: var(--dev-bg); }

/* OF BUNDLE page (user 2026-11-29: «metti il bundle con i 5 nuovi»): the five pouches in one row */
.dev-bundle__pics--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 600px) { .dev-bundle__pics--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* site footer: the social icons are black on their white circles (OF-Design colours every link white) */
.site-footer .socials a, .site-footer .socials a:hover{color:#000!important}

/* 30 Nov: the top image is the device window (poster), shown whole; «The window» band below keeps only its text */
.dev-cover__pouch.dev-cover__poster{aspect-ratio:auto;object-fit:contain;max-height:88vh;width:auto;max-width:100%;justify-self:center}
.dev-poster--text .dev-poster__in{grid-template-columns:minmax(0,1fr);max-width:760px}
@media (max-width:860px){.dev-cover__pouch.dev-cover__poster{margin-inline:0;width:100%;max-height:none}}
