
/* Brand layer on top of the OpenCart "basic" theme. Colours come from store.json "theme". */
:root {
  --brand-ink: #14213D;
  --brand-ink-2: #22335c;
  --brand-marigold: #E9A23B;
  --brand-terracotta: #C8553D;
  --brand-paper: #F6F1E7;
  --brand-sand: #EFE6D6;
  --brand-forest: #2E6B5E;
  --bs-primary: #14213D;
  --bs-primary-rgb: 20, 33, 61;
  --bs-link-color: #14213D;
  --bs-link-color-rgb: 20, 33, 61;
  --bs-link-hover-color: #C8553D;
  --bs-link-hover-color-rgb: 200, 85, 61;
}

body {
  background: var(--brand-paper);
  color: #1d2433;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, .h1, .h2, .h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--brand-ink);
  letter-spacing: -0.01em;
}
#content > h3, #content h3:first-child { margin-top: 1.5rem; }

/* top bar */
#top {
  background: var(--brand-ink);
  border-bottom: 3px solid var(--brand-marigold);
  margin-bottom: 0;
}
#top .list-inline-item > a,
#top .list-inline-item .dropdown > a,
#top .list-inline-item .dropdown > span,
#top .btn-link,
#top .dropdown-toggle { color: #e3ddcf !important; }
#top a:hover { color: var(--brand-marigold) !important; }

/* header */
header { background: var(--brand-paper); padding: 14px 0 10px; }
#logo img { max-width: 280px; }
#search .form-control { border-color: #e6dcc9; background: #fff; }
#search .btn { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
#cart > .btn, #cart .btn-inverse, #cart .btn-dark {
  background: var(--brand-ink); border-color: var(--brand-ink); color: #fff;
}

/* category menu */
#menu {
  background: var(--brand-ink);
  background-image: none;
  border: 0;
  border-radius: 999px;
  padding: 0 1.25rem;
  margin: 6px 0 24px;
}
#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
#menu .navbar-nav > li > a:hover { color: var(--brand-marigold); background: transparent; }
#menu #category { color: #fff; }

/* buttons */
.btn-primary {
  --bs-btn-bg: var(--brand-ink);
  --bs-btn-border-color: var(--brand-ink);
  --bs-btn-hover-bg: var(--brand-terracotta);
  --bs-btn-hover-border-color: var(--brand-terracotta);
  --bs-btn-active-bg: var(--brand-terracotta);
  --bs-btn-active-border-color: var(--brand-terracotta);
  border-radius: 999px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.btn-light { border-radius: 999px; }

/* product cards */
.product-thumb {
  background: #fff;
  border: 1px solid #e6dcc9;
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-thumb:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 33, 61, .10); }
.product-thumb .image a:hover { opacity: 1; }
.product-thumb .description h4 { font-weight: 600; font-size: 1.05rem; }
.product-thumb .description h4 a { color: var(--brand-ink); text-decoration: none; }
.product-thumb .description p { color: #5b6170; font-size: .9rem; }
.product-thumb .price-new { color: var(--brand-terracotta); font-weight: 700; font-size: 1.1rem; }
.product-thumb .button button { background: var(--brand-sand); color: var(--brand-ink); }
.product-thumb .button button:hover { background: var(--brand-marigold); color: var(--brand-ink); }

/* home slideshow */
.carousel, .carousel-inner { border-radius: 22px; overflow: hidden; }
#common-home h3 {
  font-size: 2rem;
  margin: 2.25rem 0 1.25rem;
  position: relative;
  padding-bottom: .6rem;
}
#common-home h3::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 4px; border-radius: 4px;
  background: var(--brand-marigold);
}

/* product page */
#product-product h1 { font-size: 2.4rem; }
#product-product .list-unstyled h2 { color: var(--brand-terracotta); font-family: inherit; font-weight: 700; }
#product-product .image.magnific-popup img, #product-product .img-thumbnail {
  border-radius: 18px; border-color: #e6dcc9;
}

/* bank transfer box at checkout */
#payment-method + div .well, #checkout-confirm .well, .card { border-color: #e6dcc9; }

/* breadcrumb */
.breadcrumb { background: transparent; }

/* footer */
footer {
  background: var(--brand-ink);
  border: 0;
  border-top: 4px solid var(--brand-marigold);
  color: #e3ddcf;
}
footer h5 { font-family: Georgia, serif; font-size: 1.05rem; font-weight: 400; color: #fff; }
footer a { color: #e3ddcf; }
footer a:hover { color: var(--brand-marigold); }
footer hr { border-bottom-color: rgba(255, 255, 255, .15); }

/* ---- design: editorial ---- */
/* Editorial: serif headings, pill menu, rounded cards. This is the base look in brand.css. */
