/* GHCHIP brand refresh: shared components and inner pages. */
:root {
  --ink: #152a4a;
  --navy: #071c4d;
  --muted: #5b6c84;
  --line: #dce5f0;
  --wash: #f4f7fb;
  --teal: #1265ec;
  --mint: #1265ec;
  --accent-soft: #edf4ff;
  --radius: 8px;
}
body { color: var(--ink); background: #fff; }
h1, h2, h3 { color: var(--navy); }
:focus-visible { outline-color: #1265ec; }
.search:focus-within { outline-color: #1265ec; }
.text-link, .product-category, .admin-view-link { color: #125acb; }
.text-link:hover, .product-category:hover, .admin-view-link:hover { color: #083c96; }
.button { border-radius: 6px; letter-spacing: .01em; }
.button.primary, .store-search-submit { color: #fff; background: #125ed8; border-color: #125ed8; }
.button.primary:hover, .store-search-submit:hover { color: #fff; background: #0848b5; border-color: #0848b5; }
.button.secondary { color: #173461; background: #fff; border-color: #cbd7e8; }
.button.secondary:hover { color: #0848b5; background: #f2f6fc; border-color: #8aa9d6; }
.field { color: #263c5c; }
.field input, .field select, .field textarea, .qty { border-color: #c8d4e4; color: #152a4a; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #1265ec; }
.panel, .account-panel, .account-help, .admin-panel { border-color: #dce5f0; }
.panel.soft, .account-help, .feature-panel, .feature-panel:nth-child(2), .note { background: #f4f7fb; }
.note { color: #52647e; }

/* Inner page headings stay light so search and product information remain clear. */
.aligned-page-head, .account-heading, .page-head {
  color: var(--navy);
  background: #f3f7fd;
  border-bottom: 1px solid #dce7f5;
}
.aligned-page-row { padding-block: 44px; }
.aligned-page-title h1, .account-heading h1, .page-head h1 {
  color: #071c4d;
  font-weight: 700;
  letter-spacing: -.025em;
}
.aligned-page-title p, .aligned-crumb, .account-breadcrumb { color: #62718a; }
.aligned-crumb a:hover, .account-breadcrumb a:hover { color: #125acb; }
.aligned-page-row > .store-reference-search { border-color: #cbd9eb; box-shadow: 0 4px 18px #163d7910; }
.page-body, .aligned-shop { padding-block: 48px 72px; }

/* Catalogue and detail pages. */
.shop-intro h2, .detail-copy h2, .related-heading { color: #071c4d; }
.shop-services a, .product-services a {
  color: #29466d;
  background: #f5f8fd;
  border: 1px solid #dce7f5;
  border-radius: 6px;
}
.shop-services a .icon, .product-services a .icon { color: #1265ec; }
.shop-services a:hover, .product-services a:hover { color: #0a4db8; background: #edf4ff; border-color: #9ebce8; }
.shop-controls { border-color: #e1e8f2; }
.product, .store-products .product, .aligned-shop .product, .aligned-product .product {
  background: #fff;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  box-shadow: 0 3px 14px #163d7908;
}
.product:hover, .store-products .product:hover, .aligned-shop .product:hover, .aligned-product .product:hover {
  border-color: #a9c2e8;
  box-shadow: 0 8px 24px #163d7914;
}
.product .product-art, .store-products .product-art, .aligned-shop .product .product-art, .aligned-product .product .product-art {
  background: #f3f6fb;
  border-bottom: 1px solid #e6edf6;
}
.product .product-title { color: #102b55; overflow-wrap: anywhere; }
.product-title a:hover { color: #125acb; }
.product-brand, .product-text { color: #5b6c84; }
.availability { color: #355b7b; }
.product .product-bottom, .store-products .product-bottom, .aligned-shop .product-bottom, .aligned-product .product-bottom { border-color: #e2eaf4; }
.price, .order-totals .order-grand { color: #103d80; }
.qty-step { border-color: #c8d4e4; }
.qty-step button { color: #264a78; background: #f3f6fb; }
.qty-step button:hover { background: #e6f0ff; }
.product-gallery-stage .product-art { background: #f3f6fb; border-color: #dce5f0; }
.product-thumb[aria-pressed="true"] { border-color: #1265ec; outline-color: #1265ec; }
.product-fields th { color: #4c607d; background: #f4f7fb; }
.product-fields tr:nth-child(odd) td { background: #fafcff; }
.product-tab-list button[aria-selected="true"] { color: #1057c7; border-color: #1265ec; background: #edf4ff; }

/* Orders, quotations, information and stock. */
.cart-table, .stock-table-scroll, .admin-table-scroll { border-color: #dce5f0; }
.cart-table th, .stock-table thead, .admin-table thead th { color: #405779; background: #f3f7fd; }
.cart-empty-notice { background: #edf4ff; border-color: #1265ec; color: #29466d; }
.order-summary, .contact-guide { background: #f7faff; border: 1px solid #dce7f5; border-radius: 8px; }
.contact-guide h2, .panel h2 { color: #071c4d; }
.request-confirmation { border-color: #b8cee9; }
.pager .active { color: #0b4db7; background: #edf4ff; border-color: #82aae4; }
.maker:hover, .category:hover { color: #0b4db7; background: #f4f8ff; border-color: #9ebce8; }
.faq details { border-color: #dce5f0; background: white; }
.faq details[open] { border-color: #a8c2e8; }
.toast { color: #fff; background: #071c4d; }

/* Buyer account and publishing dashboard. */
.account-heading { padding-block: clamp(32px, 4vw, 48px); }
.account-panel, .admin-panel { background: #fff; box-shadow: 0 4px 20px #163d7908; }
.account-help { background: #f3f7fd; }
.account-switch a[aria-current="page"] { color: #1057c7; border-color: #1265ec; }
.admin-tabs button[aria-pressed="true"] { color: #0b4db7; border-color: #1265ec; background: #edf4ff; }
.admin-tabs button:hover { border-color: #9ebce8; background: #f3f7fd; }
.admin-inquiry[open] > summary, .admin-inquiry summary:hover { background: #f3f7fd; }

/* Brand footer. A white logo surface keeps the navy wordmark legible. */
.store-footer { color: #d8e5f7; background: #071c4d; border-top: 0; }
.store-footer .wordmark { background: #fff; border-radius: 5px; padding: 8px 12px; }
.store-footer-grid h2 { color: #fff; }
.store-footer-grid p, .store-footer-grid ul { color: #bccce3; }
.store-footer a:hover { color: #fff; }
.store-copyright { color: #aebfda; border-color: #29416b; }

@media (max-width: 820px) {
  .aligned-page-row { padding-block: 32px; }
  .page-body, .aligned-shop { padding-block: 32px 48px; }
}
@media (max-width: 520px) {
  .account-heading { padding-block: 28px; }
  .product .product-body, .store-products .product-body, .aligned-shop .product-body, .aligned-product .product-body { padding: 13px; }
  .store-footer { padding-block: 38px 24px; }
  .stock-table-scroll, .admin-table-scroll { max-width: 100%; overflow-x: auto; }
}
