/* Home page shop counter + builders band + "How you get it" (9 Nov 2026). Uses the public-glass tokens (--pg-*). */
.hpm-counter { position: relative; z-index: 2; padding: 1rem 0 .5rem; }
.hc-card {
    --hc-state: var(--pg-good, #1f9d61); --hc-state-soft: rgba(31, 157, 97, .14);
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "info actions" "list actions";
    gap: .75rem 2rem; align-items: center;
    padding: 1.25rem 1.5rem; border-radius: var(--pg-radius, 16px);
    background: var(--pg-glass-strong, #fff); border: 1px solid var(--pg-border, rgba(20, 40, 58, .11));
    box-shadow: var(--pg-shadow-lift, 0 18px 40px rgba(20, 40, 58, .14));
    border-top: 4px solid var(--hc-state);
}
.hc-card.is-soon { --hc-state: #c27c0e; --hc-state-soft: rgba(194, 124, 14, .16); }
.hc-card.is-closed { --hc-state: #7a8794; --hc-state-soft: rgba(122, 135, 148, .16); }
.hc-info { grid-area: info; min-width: 0; }
.hc-hello { margin: 0 0 .35rem; font-size: .9rem; color: var(--pg-sea-deep, #0f3f55); font-weight: 600; }
.hc-status { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: 1.35rem; font-weight: 750; line-height: 1.25; color: var(--pg-ink, #14283a); }
.hc-dot { position: relative; width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--hc-state); box-shadow: 0 0 0 5px var(--hc-state-soft); }
.hc-card.is-open .hc-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--hc-state); opacity: 0; animation: hc-ping 2.4s ease-out 3; }
@keyframes hc-ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
.hc-note { margin: .3rem 0 0 1.35rem; font-size: .85rem; color: var(--pg-muted, #5f6f7f); }
.hc-hours { display: flex; flex-wrap: wrap; gap: .3rem .45rem; margin: .75rem 0 0; }
.hc-hours > div { display: flex; gap: .35rem; padding: .2rem .6rem; border-radius: 99px; background: rgba(20, 40, 58, .05); font-size: .8rem; color: var(--pg-text, #2a3a4a); }
.hc-hours dt { font-weight: 650; }
.hc-hours dd { margin: 0; }
.hc-hours > .is-today { background: var(--hc-state-soft); color: var(--pg-ink, #14283a); }
.hc-hours > .is-special { background: var(--pg-sun-soft, rgba(255, 193, 7, .18)); }
.hc-address { margin: .55rem 0 0; font-size: .85rem; color: var(--pg-muted, #5f6f7f); }
.hc-address i { color: var(--pg-clay, #ef6c00); margin-right: .2rem; }

.hc-actions { grid-area: actions; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.hc-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 88px; padding: .7rem .4rem;
    border-radius: 14px; text-decoration: none; text-align: center; line-height: 1.2; color: #fff;
    transition: transform .12s ease, box-shadow .12s ease;
}
.hc-btn i { font-size: 1.45rem; margin-bottom: .2rem; }
.hc-btn-label { font-weight: 700; font-size: .95rem; }
.hc-btn-sub { font-size: .74rem; opacity: .88; }
.hc-btn:hover, .hc-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 40, 58, .2); color: #fff; }
.hc-btn:focus-visible { outline: 3px solid var(--pg-sun, #ffc107); outline-offset: 2px; }
.hc-call { background: #14283a; }
.hc-wa { background: #128c4a; }
.hc-map { background: #1a5f7a; }
.hc-acc { background: var(--pg-sun, #ffc107); color: var(--pg-navy, #10243a); }
.hc-acc:hover, .hc-acc:focus-visible { color: var(--pg-navy, #10243a); }

.hc-list { grid-area: list; display: flex; align-items: center; gap: .55rem; margin: 0; padding: .55rem .8rem; border-radius: 10px;
    background: var(--pg-sea-soft, rgba(26, 95, 122, .1)); font-size: .88rem; color: var(--pg-text, #2a3a4a); }
.hc-list i { font-size: 1.2rem; color: var(--pg-sea, #1a5f7a); }
.hc-list a { color: var(--pg-sea-deep, #0f3f55); font-weight: 650; }

/* builders band + how you get it */
.hpm-trade { padding: 1.5rem 0 2rem; }
.ht-band { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; padding: 1.6rem 1.75rem; border-radius: var(--pg-radius, 16px);
    background: linear-gradient(135deg, var(--pg-navy, #10243a) 0%, #183a55 100%); color: #fff; }
.ht-copy { max-width: 58ch; }
.ht-copy h2 { margin: 0 0 .35rem; font-size: 1.35rem; font-weight: 750; color: #fff; }
.ht-copy p { margin: 0; color: rgba(255, 255, 255, .82); }
.ht-buttons { display: flex; gap: .6rem; flex-wrap: wrap; }
.ht-buttons .btn { min-height: 46px; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; border-radius: 12px; font-weight: 650; }
.ht-btn-main { background: var(--pg-sun, #ffc107); color: var(--pg-navy, #10243a); border: 0; }
.ht-btn-main:hover, .ht-btn-main:focus-visible { background: var(--pg-sun-deep, #e0a800); color: var(--pg-navy, #10243a); }
.ht-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.ht-btn-ghost:hover, .ht-btn-ghost:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }

.ht-get { margin-top: 1.25rem; }
.ht-get-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 .7rem; color: var(--pg-ink, #14283a); }
.ht-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.ht-ways li { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px; background: var(--pg-glass, rgba(255, 255, 255, .68)); border: 1px solid var(--pg-border, rgba(20, 40, 58, .11)); }
.ht-ways i { font-size: 1.5rem; color: var(--pg-sea, #1a5f7a); line-height: 1; margin-top: .1rem; }
.ht-ways strong { display: block; color: var(--pg-ink, #14283a); }
.ht-ways span { font-size: .86rem; color: var(--pg-muted, #5f6f7f); }
.ht-more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .7rem; font-weight: 600; color: var(--pg-sea-deep, #0f3f55); }

@media (max-width: 991.98px) {
    .hc-card { grid-template-columns: 1fr; grid-template-areas: "info" "actions" "list"; gap: .9rem; }
}
@media (max-width: 575.98px) {
    .hpm-counter { padding-top: .75rem; }
    .hc-card { padding: 1rem; border-radius: 14px; }
    .hc-status { font-size: 1.15rem; }
    .hc-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .hc-btn { min-height: 64px; flex-direction: row; justify-content: flex-start; gap: .55rem; padding: .6rem .8rem; text-align: left; }
    .hc-btn i { margin: 0; font-size: 1.3rem; }
    .hc-btn-label { font-size: .9rem; }
    .hc-btn-sub { display: none; }
    .hc-list { font-size: .84rem; }
    .ht-band { padding: 1.25rem; }
    .ht-buttons, .ht-buttons .btn { width: 100%; justify-content: center; }
    .ht-ways { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .hc-card.is-open .hc-dot::after { animation: none; }
    .hc-btn { transition: none; }
    .hc-btn:hover, .hc-btn:focus-visible { transform: none; }
}
/* the public look colours every link with the brand colour (black on this site): the counter and band buttons keep their own */
:is(.pg, body) .hpm-counter .hc-actions a.hc-btn, :is(.pg, body) .hpm-counter .hc-actions a.hc-btn:hover, :is(.pg, body) .hpm-counter .hc-actions a.hc-btn:focus-visible { color: #fff; text-decoration: none; }
:is(.pg, body) .hpm-counter .hc-actions a.hc-btn.hc-acc, :is(.pg, body) .hpm-counter .hc-actions a.hc-btn.hc-acc:hover, :is(.pg, body) .hpm-counter .hc-actions a.hc-btn.hc-acc:focus-visible { color: #10243a; }
:is(.pg, body) .hpm-counter .hc-list a { color: #0f3f55; }
:is(.pg, body) .hpm-trade .ht-buttons a.btn.ht-btn-main, :is(.pg, body) .hpm-trade .ht-buttons a.btn.ht-btn-main:hover { color: #10243a; text-decoration: none; }
:is(.pg, body) .hpm-trade .ht-buttons a.btn.ht-btn-ghost, :is(.pg, body) .hpm-trade .ht-buttons a.btn.ht-btn-ghost:hover { color: #fff; text-decoration: none; }
:is(.pg, body) .hpm-trade a.ht-more { color: #0f3f55; }
@media (max-width: 575.98px) {
    .hpm-counter { padding: .6rem 0 .25rem; }
    .hc-card { padding: .85rem .9rem; gap: .65rem; }
    .hc-status { font-size: 1.08rem; gap: .5rem; }
    .hc-hours { margin-top: .5rem; gap: .25rem .3rem; }
    .hc-hours > div { font-size: .74rem; padding: .15rem .5rem; }
    .hc-address { margin-top: .4rem; font-size: .8rem; }
    .hc-btn { min-height: 52px; }
    .hc-list { padding: .45rem .7rem; font-size: .8rem; }
}
/* phones on a special day: the "Today" chip says it all - hide the regular week, the repeated note and all but one coming day */
@media (max-width: 575.98px) {
    .hc-card.has-today-special .hc-hours > div:not(.is-special) { display: none; }
    .hc-card.has-today-special .hc-note { display: none; }
    .hc-hours > .is-upcoming ~ .is-upcoming { display: none; }
}
:is(.pg, body) .hpm-trade .ht-band .ht-copy h2 { color: #fff; }
:is(.pg, body) .hpm-trade .ht-band .ht-copy p { color: rgba(255, 255, 255, .85); }
:is(.pg, body) .hpm-trade .ht-ways i { color: #1a5f7a; }
:is(.pg, body) .hpm-counter .hc-list i { color: #1a5f7a; }
