
/* Brand layer on top of the OpenCart "basic" theme. Colours come from store.json "theme". */
:root {
  --brand-ink: #0E3B43;
  --brand-ink-2: #15505a;
  --brand-marigold: #F4B942;
  --brand-terracotta: #1F8A70;
  --brand-paper: #F2F7F6;
  --brand-sand: #E1EEEC;
  --brand-forest: #1F8A70;
  --bs-primary: #0E3B43;
  --bs-primary-rgb: 14, 59, 67;
  --bs-link-color: #0E3B43;
  --bs-link-color-rgb: 14, 59, 67;
  --bs-link-hover-color: #1F8A70;
  --bs-link-hover-color-rgb: 31, 138, 112;
}

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: #dcebe8 !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: #cfe1de; 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 #cfe1de;
  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(14, 59, 67, .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: #cfe1de;
}

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

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

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

/* ---- design: fresh ---- */
/* Fresh: friendly rounded type, white header, wave-edged menu, soft cards with a price tag. */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600&family=Nunito:wght@400;600;700&display=swap");

body {
  font-family: "Nunito", "Avenir Next", "Helvetica Neue", sans-serif;
  background-color: var(--brand-paper);
  background-image:
    radial-gradient(circle at 12% 30%, rgba(14, 59, 67, .05) 0 60px, transparent 61px),
    radial-gradient(circle at 88% 70%, rgba(14, 59, 67, .05) 0 90px, transparent 91px);
  background-attachment: fixed;
}
h1, h2, h3, .h1, .h2, .h3, footer h5 { font-family: "Fredoka", "Futura", "Avenir Next", sans-serif; font-weight: 600; letter-spacing: 0; }

#top { border-bottom: 0; }

/* white header with a wavy bottom edge */
header {
  background: #fff; padding: 16px 0 26px; position: relative;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0v6c20 8 40-8 60 0s40 8 60 0V0z' fill='%23fff'/%3E%3C/svg%3E");
}
header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px; background: var(--wave) repeat-x; background-size: 120px 12px; }
#search .form-control { border-radius: 999px 0 0 999px; border: 2px solid #cfe1de; }
#search .btn { border-radius: 0 999px 999px 0; background: var(--brand-forest); border-color: var(--brand-forest); }
#cart > .btn, #cart .btn-dark, #cart .btn-inverse { border-radius: 999px; background: var(--brand-forest); border-color: var(--brand-forest); }

/* rounded menu bar */
#menu { border-radius: 18px; margin: 26px 0 26px; padding: 0 1rem; box-shadow: 0 8px 20px rgba(14, 59, 67, .18); }
#menu .navbar-nav > li > a { font-family: "Fredoka", sans-serif; font-weight: 500; font-size: 1.1rem; padding: 12px 18px; }
#menu .navbar-nav > li > a::before { content: "\f578"; font-family: "Font Awesome 7 Free"; font-weight: 900; margin-right: 8px; color: var(--brand-marigold); }

.btn-primary { border-radius: 14px; --bs-btn-hover-bg: var(--brand-forest); --bs-btn-hover-border-color: var(--brand-forest); font-weight: 700; }
.btn-light { border-radius: 14px; }
#button-cart { --bs-btn-bg: var(--brand-marigold); --bs-btn-color: var(--brand-ink); --bs-btn-border-color: var(--brand-marigold); }

/* soft cards, teal top band, price tag */
.product-thumb { border: 0; border-radius: 24px; box-shadow: 0 10px 26px rgba(14, 59, 67, .10); border-top: 6px solid var(--brand-forest); }
.product-thumb:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 16px 34px rgba(14, 59, 67, .16); }
.product-thumb .image { position: relative; }
.product-thumb .description h4 { font-family: "Fredoka", sans-serif; font-weight: 500; font-size: 1.15rem; }
.product-thumb .price-new {
  display: inline-block; background: var(--brand-marigold); color: var(--brand-ink); border-radius: 999px;
  padding: 3px 14px; font-weight: 800; box-shadow: 0 3px 0 rgba(14, 59, 67, .2);
}
.product-thumb .button button { background: #fff; color: var(--brand-forest); }
.product-thumb .button button:hover { background: var(--brand-forest); color: #fff; }

.carousel, .carousel-inner { border-radius: 28px; }
#common-home h3 { padding-left: 46px; padding-bottom: 0; }
#common-home h3::before { content: "\f578"; font-family: "Font Awesome 7 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--brand-forest); }
#common-home h3::after {
  position: static; display: block; margin-top: 6px; width: 120px; height: 10px; border-radius: 0; background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M0 5q5-5 10 0t10 0 10 0 10 0' fill='none' stroke='%23F4B942' stroke-width='3'/%3E%3C/svg%3E");
  background-size: 40px 10px;
}

#product-product .list-unstyled h2 { display: inline-block; background: var(--brand-marigold); color: var(--brand-ink); border-radius: 999px; padding: 4px 18px; font-family: "Fredoka", sans-serif; }
#product-product .image.magnific-popup img, #product-product .img-thumbnail { border-radius: 28px; }
.form-control, .form-select { border-radius: 12px; }

footer { border-top: 0; border-radius: 40px 40px 0 0; }
footer h5 { color: var(--brand-marigold); font-size: 1.15rem; }
