/* WordPress additions to the original site's styles. */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
del.aw-was { margin-right: .3em; opacity: .55; font-weight: 400; text-decoration-thickness: 2px; }
.btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.footer__social a { text-decoration: underline; text-underline-offset: 3px; }
.primary__link.is-current { color: var(--cream); }
.aw-content > * + * { margin-top: 1em; }
.aw-content h2, .aw-content h3 { margin-top: 1.6em; letter-spacing: -.02em; }
.aw-content ul, .aw-content ol { padding-left: 1.3em; list-style: revert; }
.aw-content a { color: var(--forest); text-decoration: underline; }
.aw-content img { height: auto; border-radius: 16px; }
.bank-details td { padding: 4px 16px 4px 0; }

/* Home product section: three or more starred products become a grid of three per row.
   Row spacing leaves room for each device photo, which rises above its plate. */
.devices.devices--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 36px); row-gap: clamp(110px, 9vw, 140px); }
.devices.devices--grid > .device,
.devices.devices--grid > .device:first-child,
.devices.devices--grid > .device:nth-child(2) { grid-column: auto; display: flex; flex-direction: column; }
.devices--grid .device__plate { aspect-ratio: 4 / 3; }
.devices--grid .device__plate img { width: calc(300px * 1000 / 1200); height: 300px; margin-top: -84px; }
.devices--grid .device__actions { margin-top: auto; }
@media (max-width: 1100px) {
  .devices--grid .device__plate img { width: calc(250px * 1000 / 1200); height: 250px; margin-top: -70px; }
}
@media (min-width: 641px) and (max-width: 980px) {
  .devices.devices--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 96px; }
}
@media (max-width: 640px) {
  .devices.devices--grid { grid-template-columns: minmax(0, 1fr); row-gap: 96px; }
}

/* Shop menu: an email address is longer than a phone number, so it gets a
   smaller size and may break, and it never spills out of its card. */
.mega__call { min-width: 0; overflow: hidden; }
.mega__call strong { overflow-wrap: anywhere; }
.mega__call--email strong { font-family: var(--body); font-size: .98rem; letter-spacing: 0; line-height: 1.3; }
