/* components-business-site.css: 6Valley / 6amMart marketing blocks: banner, service cards, why-us grid, enquiry form card, sticky enquire bar.
   Generated by templates/_design/kit_gen.py from the 6amtech source in beannsoftstechbuilds/ (read only).
   Loaded through theme.css after ds.css. The business's own --brand and --accent are set inline and win. */
/* ========== Forms (6amMart form-controls.css: --field-radius; labels above, full width, 44px targets) ========== */
.input, .select, .textarea, input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], input[type=search], input[type=url], input[type=date], input[type=time], input[type=datetime-local], select, textarea {
  border-radius: var(--field-radius); border-color: #dfe3ec; background-color: #fff; padding: .65rem .9rem; }
input:hover:not(:disabled):not(:focus), select:hover:not(:disabled):not(:focus), textarea:hover:not(:disabled):not(:focus) { border-color: #c5ccdb; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.field > label, .field > .label, form label:not(.check):not(.switch) { color: var(--ink); font-weight: 600; font-size: .84rem; letter-spacing: .005em; }
.field .hint, .hint { color: var(--ink-3); font-size: .78rem; }
.form-grid { gap: 0 1.25rem; }
.card > form, .card-body > form { margin: 0; }
.card-head + .card-body .form-actions, .card form .form-actions { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
/* 6amMart form-controls: a form card holds titled groups (.tps-group), a filter is a titled column of groups */
.form-card, .filter-panel .filter-group { --group-rule: color-mix(in srgb, var(--line) 80%, var(--brand)); }
.form-group { border-bottom-color: var(--group-rule); }
.form-group-title { font-size: .98rem; letter-spacing: .005em; }
.form-group-title::before { content: ""; display: inline-block; width: 4px; height: .95em; margin-right: .55rem; border-radius: 2px; background: var(--brand); vertical-align: -.1em; }
.form-card, .filter-panel .filter-option { border-radius: var(--field-radius); }
.filter-panel label.filter-option:has(input:checked) { background: color-mix(in srgb, var(--brand) 10%, white); }
.field .req, .req { color: var(--bad-ink); }
/* icon-in-field searches keep room for the icon (the generic padding above would sit on top of it) */
.shop-search input, .toolbar .search input, .pos-search-field input { padding-left: 2.7rem; }
input[type=file] { border-radius: var(--field-radius); background: #f8fafc; }
input[type=file]::file-selector-button { background: var(--brand); border-radius: var(--field-radius-sm); }

/* ========== Buttons (buttons.css: weight 600, lift on hover, focus ring, soft variants) ========== */
.btn { border-radius: var(--field-radius); font-weight: 600; transition: background-color .15s, border-color .15s, color .15s, filter .15s, transform .15s, box-shadow .15s; }
.btn:hover { filter: brightness(.94) drop-shadow(0 3px 6px rgba(22, 42, 60, .22)); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:focus-visible, a:focus-visible, .pill:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-secondary { background: #fff; border-color: #dfe3ec; color: var(--ink); }
.btn-secondary:hover { background: #f8f9fb; border-color: #d4dbe6; filter: drop-shadow(0 2px 5px rgba(140, 152, 164, .4)); }
.btn-soft { background: var(--brand-soft); color: var(--brand-ink); }
.btn-danger { background: var(--bad-ink); }
.btn-success { background: var(--ok-ink); }
.btn-sm { border-radius: var(--field-radius-sm); }
.btn-lg { border-radius: calc(var(--field-radius) + 2px); }

/* ========== Page head (page-head.css: 46px tinted icon tile, 1.25rem/600 title, muted description) ========== */
.page-head h1 { font-size: 1.25rem; font-weight: 600; color: var(--ink); text-transform: none; }
.page-head h1 .icon, .page-head h1 > svg { box-sizing: content-box; width: 22px; height: 22px; padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 9%, white); color: var(--brand); }
.page-head .sub, .page-head p { color: var(--ink-3); font-size: .8125rem; margin: .15rem 0 0; max-width: 78ch; }

/* ========== Cards (6amMart .card: no outline, wide soft shadow, 0.75rem corners) ========== */
.card { border: 1px solid rgba(231, 234, 243, .7); box-shadow: var(--shadow); }
.card-head { padding: 1rem 1.35rem; }
.card-head h2, .card-head h3 { font-size: 1rem; font-weight: 600; color: var(--ink); }
.card-body { padding: 1.25rem 1.35rem; }
.card-foot { background: #fafbfd; }

/* ========== Tables (admin-tables.css: tinted head, hairline rows, tinted hover, soft action chips) ========== */
.table-wrap { position: relative; }
table.table { font-size: .875rem; color: var(--ink); }
.table th { background: var(--tbl-head-bg); color: var(--tbl-head-text); font-size: .7rem; letter-spacing: .06em; font-weight: 700; padding: .8rem 1rem; border-bottom: 1px solid #e4eaee; }
.table th:first-child, .table td:first-child { padding-left: 1.3rem; }
.table th:last-child, .table td:last-child { padding-right: 1.3rem; }
.table td { padding: .8125rem 1rem; border-bottom: 1px solid var(--tbl-row-rule); }
.table tbody tr:hover { background: color-mix(in srgb, var(--brand) 4.5%, white); }
.table .actions { display: flex; gap: .4rem; justify-content: flex-end; align-items: center; }
.table td.actions { display: table-cell; }
.table .actions .btn, .table .actions a.btn, .table .actions button { min-height: 34px; padding: .3rem .7rem; font-size: .8rem; border-radius: 9px; }
.table .actions .btn-secondary, .table .actions .btn-ghost { background: rgba(22, 42, 60, .05); border-color: transparent; color: var(--ink); }
.table .actions .btn-danger { background: rgba(203, 32, 32, .09); color: var(--bad-ink); }
.table .actions .btn-success { background: rgba(0, 170, 109, .1); color: var(--ok-ink); }
.table .actions .btn:hover { transform: none; filter: none; background: rgba(22, 42, 60, .1); }
.cell-main strong { color: var(--ink); }
.toolbar { padding: 1rem 1.35rem; background: #fff; border-bottom: 1px solid var(--tbl-row-rule); }
.toolbar .search input { background: #f6f9fa; border-color: transparent; }
.toolbar .search input:focus { background: #fff; border-color: var(--brand); }
.pagination .pages .current { background: var(--brand); border-color: var(--brand); }
.pagination .pages a:hover { border-color: var(--brand); color: var(--brand); }

/* ========== Badges (soft tinted, dark ink so the text passes 4.5:1) ========== */
.badge { padding: .22rem .65rem; font-weight: 600; font-size: .72rem; }
.badge-ok { background: var(--ok-soft); color: var(--ok-ink); }
.badge-warn { background: var(--warn-soft); color: var(--warn-ink); }
.badge-bad { background: var(--bad-soft); color: var(--bad-ink); }
.badge-info { background: var(--info-soft); color: var(--info-ink); }
.alert-ok { color: #0b5d3c; } .alert-warn { color: #7a4d06; } .alert-bad { color: #8f1f1f; }

/* ========== Dashboard KPI tiles and status tiles (6amMart dashboard cards) ========== */
.kpi { padding: 1.15rem 1.35rem; gap: 1.05rem; }
.kpi .kpi-icon { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 10%, white); }
.kpi .kpi-label { color: var(--ink-3); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi .kpi-value { font-size: 1.55rem; font-weight: 700; color: var(--ink); }
.kpi.tone-ok .kpi-icon { background: var(--ok-soft); color: var(--ok-ink); }
.kpi.tone-warn .kpi-icon { background: var(--warn-soft); color: var(--warn-ink); }
.kpi.tone-bad .kpi-icon { background: var(--bad-soft); color: var(--bad-ink); }
.status-tile { border-radius: var(--field-radius); font-weight: 600; }
.tabs { padding: 0 1.35rem; border-bottom: 1px solid var(--tbl-row-rule); }
.tabs a { font-weight: 600; padding: .85rem 1rem; }
.empty > .icon { color: #c9d1de; }

/* ========== Admin shell ========== */
.sidebar { background: var(--side); }
.nav-link { border-radius: var(--field-radius-sm); font-weight: 500; }
.nav-link.active { background: color-mix(in srgb, var(--brand) 88%, white); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); font-weight: 600; }
.topbar { background: #fff; box-shadow: 0 1px 0 var(--line); }
.content { padding: 1.5rem 1.75rem; }
.auth { background: radial-gradient(1200px 500px at 15% -10%, color-mix(in srgb, var(--brand) 14%, white), transparent), var(--bg); }
.auth .card { box-shadow: var(--shadow-lg); }

/* ========== Shared storefront parts ========== */
.shop-head { box-shadow: 0 1px 0 var(--line), 0 6px 18px -12px rgba(51, 66, 87, .25); }
.head-icon { border-radius: var(--field-radius); }
.pill.on, .pill:hover { background: var(--brand-soft); }
.price { color: var(--ink); }
.radio-card { border-radius: var(--field-radius); padding: 1rem 1.1rem; transition: border-color .15s, background .15s; }
.radio-card:hover { border-color: color-mix(in srgb, var(--brand) 50%, white); }
.summary.card .card-body { padding: 1.35rem; }
.summary .total { font-weight: 700; }
.steps span.on b { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.shop-foot { background: var(--side); }
.shop-foot a:hover { color: #fff; text-decoration: none; }
@media (max-width: 720px) { .content { padding: 1rem; } .card-body { padding: 1rem; } .toolbar { padding: .85rem 1rem; } }
@media (prefers-reduced-motion: reduce) { .btn, .p-card, .card { transition: none; } .btn:hover { transform: none; } }

/* ===== business-site: marketing blocks ===== */
body { line-height: 1.6; }
.biz-wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 1.15rem; }
.biz-section { padding-block: clamp(2rem, 6vw, 4rem); }
.page-banner { padding-block: clamp(2rem, 6vw, 3.5rem); background: linear-gradient(125deg, color-mix(in srgb, var(--brand) 82%, black), var(--brand)); color: #fff; }
.page-banner h1, .page-banner h2 { color: #fff; font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.service-grid, .why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.15rem; }
.svc-card, .why-card { background: #fff; border-radius: 18px; padding: 1.4rem; box-shadow: 0 0 0 1px #e8ecf2, 0 12px 26px -20px rgba(28, 39, 51, .45); transition: transform .18s, box-shadow .18s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 35%, white), 0 20px 32px -20px rgba(28, 39, 51, .5); }
.svc-card .desc, .why-card p { color: var(--ink-3); }
.why-card .icon, .why-card svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: .75rem; }
.price-tag { display: inline-block; padding: .2rem .7rem; border-radius: 99px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: .85rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.contact-layout form, .contact-layout .card { background: #fff; border-radius: 18px; padding: 1.5rem; box-shadow: var(--shadow); }
.hours-list { list-style: none; margin: 0; padding: 0; } .hours-list li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.post-list { display: grid; gap: 1rem; } .post-title { font-weight: 700; } .post-date { color: var(--ink-3); font-size: .8rem; }
.float-actions, .float-btn { box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }
.sticky-enquire { box-shadow: 0 -10px 24px -14px rgba(28, 39, 51, .45); }
.chart-bars { gap: .4rem; }
.admin-gallery-grid, .gallery-grid { gap: .85rem; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
