/* ============================================================
   Everfloria — shared components
   Used by all product detail pages and the quote page.
   Requires the page to define the brand tokens
   (--forest, --gold, --cream-dark, --text, --text-light ...).
   ============================================================ */

/* ---------- breadcrumbs ---------- */
.crumbs {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 26px;
}
.crumbs a { color: inherit; text-decoration: none; transition: color 0.25s; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { margin: 0 10px; opacity: 0.45; }
.crumbs .here { color: var(--text); }
/* dark hero variant */
.crumbs.on-dark { color: rgba(245, 240, 232, 0.55); }
.crumbs.on-dark a:hover { color: var(--gold-light, #ddb97a); }
.crumbs.on-dark .here { color: rgba(245, 240, 232, 0.9); }

/* ---------- ProductSpecificationSummary ("AT A GLANCE") ----------
   Permanently visible, compact editorial label/value rows.
   Two columns on desktop, single column on mobile. */
.glance { padding: 20px 0 34px; }
.glance-label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.glance-grid {
    columns: 2;
    column-gap: 56px;
}
.glance-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 9px 0;
    border-top: 1px solid var(--cream-dark);
    break-inside: avoid;
}
.glance-item dt {
    color: var(--text-light);
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.glance-item dd { color: var(--forest); font-weight: 500; text-align: right; font-size: 0.9rem; }
.glance-note {
    margin-top: 16px;
    max-width: 640px;
    font-size: 0.84rem;
    line-height: 1.7;
    color: var(--text-light);
}
@media (max-width: 640px) { .glance-grid { columns: 1; } }

/* ---------- global header: Quote List entry ---------- */
.nav-quote { position: relative; white-space: nowrap; }
.nav-quote .q-count { color: var(--gold); font-weight: 600; }
.nav-quote.has-items { font-weight: 600; }

/* ---------- materials index: per-card mini spec sets ---------- */
.m-specs { margin-top: 14px; }
.m-specs > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 6px 0;
    border-top: 1px solid var(--cream-dark);
}
.m-specs dt {
    color: var(--text-light);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.m-specs dd { color: var(--forest); font-weight: 500; font-size: 0.82rem; text-align: right; }

/* ---------- shared quote-list interface (quote page) ---------- */
.qlist {
    border-top: 1px solid var(--cream-dark);
    margin-bottom: 8px;
}
.qlist-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark);
}
.qlist-main { min-width: 0; }
.qlist-product { font-family: 'Playfair Display', serif; font-size: 1.02rem; color: var(--forest); }
.qlist-sub { font-size: 0.85rem; color: var(--text-light); margin-top: 3px; }
.qlist-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-light);
}
.qlist-qty input {
    width: 76px;
    padding: 7px 10px;
    border: 1px solid var(--cream-dark);
    background: #fff;
    font: inherit;
    color: var(--text);
    border-radius: 3px;
    text-align: right;
}
.qlist-qty input:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
.qlist-remove {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.05rem;
    color: var(--text-light);
    padding: 8px;
    line-height: 1;
    justify-self: end;
    align-self: start;
    transition: color 0.25s;
}
.qlist-remove:hover { color: #a33; }
.qlist-empty {
    padding: 34px 0 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}
.qlist-empty a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.qlist-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0 4px;
    font-size: 0.85rem;
}
.qlist-foot a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.qlist-clear { border: none; background: none; cursor: pointer; font: inherit; color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; }
.qlist-clear:hover { color: #a33; }
@media (max-width: 560px) {
    .qlist-row { grid-template-columns: 1fr auto; }
    .qlist-qty { grid-column: 1 / -1; justify-content: flex-start; }
}
