/* Beril design system — shared foundations and reusable storefront components. */
:root {
  --beril-font: 'Ubuntu', 'Open Sans', Arial, sans-serif;
  --beril-font-size: 14px;
  --beril-line-height: 1.45;
  --beril-black: #1a1a18;
  --beril-orange: #e73f0c;
  --beril-orange-dark: #c9360a;
  --beril-blue: #287fe0;
  --beril-text: #242424;
  --beril-muted: #6d6d6d;
  --beril-border: #d9d9d9;
  --beril-surface: #ffffff;
  --beril-surface-muted: #f3f3f3;
  --beril-radius-sm: 4px;
  --beril-radius: 8px;
  --beril-radius-pill: 999px;
  --beril-shadow: 0 3px 12px rgba(0, 0, 0, .08);
  --beril-focus: 0 0 0 3px rgba(231, 63, 12, .24);
  --beril-space-1: 4px;
  --beril-space-2: 8px;
  --beril-space-3: 12px;
  --beril-space-4: 16px;
  --beril-space-5: 24px;
  --beril-space-6: 32px;
}

body, button, input, select, textarea {
  font-family: var(--beril-font);
}

body {
  color: var(--beril-text);
  font-size: var(--beril-font-size);
  line-height: var(--beril-line-height);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--beril-black);
  font-family: var(--beril-font);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 28px; margin-bottom: var(--beril-space-4); }
h2 { font-size: 24px; margin-bottom: var(--beril-space-3); }
h3 { font-size: 20px; margin-bottom: var(--beril-space-3); }

a { color: var(--beril-blue); }
a:hover, a:focus { color: var(--beril-orange); }

.btn,
button,
input[type='button'],
input[type='submit'] {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--beril-radius-sm);
  font-family: var(--beril-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active,
input.btn-primary {
  border-color: var(--beril-orange);
  background: var(--beril-orange);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:active:hover,
input.btn-primary:hover {
  border-color: var(--beril-orange-dark);
  background: var(--beril-orange-dark);
  color: #fff;
}

.btn-default,
.btn-default:focus {
  border-color: var(--beril-border);
  background: var(--beril-surface);
  color: var(--beril-text);
}

.btn-default:hover,
.btn-default:active:hover {
  border-color: #bdbdbd;
  background: var(--beril-surface-muted);
  color: var(--beril-text);
}

.btn:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 0;
  box-shadow: var(--beril-focus);
}

.form-control,
select.form-control,
textarea.form-control {
  min-height: 42px;
  border: 1px solid var(--beril-border);
  border-radius: var(--beril-radius-sm);
  box-shadow: none;
  color: var(--beril-text);
  font-size: 13px;
}

.form-control:focus {
  border-color: var(--beril-orange);
  box-shadow: var(--beril-focus);
}

.breadcrumb {
  border: 1px solid var(--beril-border);
  border-radius: var(--beril-radius-sm);
  background: var(--beril-surface-muted);
}

/* Compact, language-independent breadcrumbs: home icon plus slash separators. */
.breadcrumb > li {
  padding: 0 7px;
}

.breadcrumb > li:after {
  display: none;
}

.breadcrumb > li + li:before {
  content: '/';
  padding: 0 8px 0 0;
  color: rgba(36, 36, 36, .35);
}

.breadcrumb > li:first-child a {
  display: inline-flex;
  align-items: center;
  font-size: 0;
}

.breadcrumb > li:first-child a:before {
  content: '\f015';
  color: var(--beril-blue);
  font-family: FontAwesome;
  font-size: 15px;
}

/* Older OpenCart language packs output a home <i>; keep only the shared icon. */
.breadcrumb > li:first-child a > .fa-home {
  display: none;
}

.list-group-item {
  border-color: var(--beril-border);
  color: var(--beril-text);
  font-weight: 500;
}

.list-group-item:hover,
.list-group-item:focus,
.list-group-item.active,
.list-group-item.active:hover {
  border-color: var(--beril-orange);
  background: #fff7f4;
  color: var(--beril-orange);
}

.table,
.table-bordered {
  border-color: var(--beril-border);
}

.table > thead > tr > th {
  border-color: var(--beril-border);
  background: var(--beril-surface-muted);
  color: var(--beril-black);
  font-weight: 700;
}

.alert {
  border-radius: var(--beril-radius-sm);
  font-family: var(--beril-font);
}

.pagination > li > a,
.pagination > li > span {
  border-color: var(--beril-border);
  color: var(--beril-text);
  font-weight: 700;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:hover {
  border-color: var(--beril-orange);
  background: var(--beril-orange);
}

@media (max-width: 767px) {
  h1 { font-size: 24px; }
  h2 { font-size: 21px; }
  h3 { font-size: 18px; }
}
