
/* Brand layer on top of the OpenCart "basic" theme. Colours come from store.json "theme". */
:root {
  --brand-ink: #3F2A3B;
  --brand-ink-2: #523a4d;
  --brand-marigold: #E8A87C;
  --brand-terracotta: #B8476F;
  --brand-paper: #FBF7F4;
  --brand-sand: #F4E7E2;
  --brand-forest: #7A9E7E;
  --bs-primary: #3F2A3B;
  --bs-primary-rgb: 63, 42, 59;
  --bs-link-color: #3F2A3B;
  --bs-link-color-rgb: 63, 42, 59;
  --bs-link-hover-color: #B8476F;
  --bs-link-hover-color-rgb: 184, 71, 111;
}

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: #f1e6ea !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: #E9D8D2; 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 #E9D8D2;
  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(63, 42, 59, .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: #E9D8D2;
}

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

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

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

/* ---- design: boutique ---- */
/* Boutique: centred logo, airy Didone headings, thin lines, arch-shaped product photos. */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,500&family=Jost:wght@300;400;500&display=swap");

body { font-family: "Jost", "Avenir Next", "Helvetica Neue", sans-serif; font-weight: 400; }
h1, h2, h3, .h1, .h2, .h3, footer h5 {
  font-family: "Playfair Display", Didot, "Bodoni 72", Georgia, serif; font-weight: 400; letter-spacing: 0;
}

/* thin top bar */
#top { background: var(--brand-paper); border-bottom: 1px solid #E9D8D2; }
#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span,
#top .btn-link, #top .dropdown-toggle { color: var(--brand-ink) !important; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
#top a:hover { color: var(--brand-terracotta) !important; }

/* centred logo, search left and cart right underneath */
header { padding: 26px 0 8px; }
header .container > .row { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; }
header .container > .row > div { width: auto; max-width: none; flex: none; }
header .container > .row > div:first-child { grid-column: 1 / -1; }
#logo { text-align: center !important; margin: 0 0 6px; }
#logo img { max-width: 320px; }
#search .form-control { border: 0 !important; border-bottom: 1px solid var(--brand-ink) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none; }
#search .btn { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--brand-ink) !important; border-radius: 0 !important; color: var(--brand-ink); }
#cart > .btn, #cart .btn-dark, #cart .btn-inverse {
  background: transparent; color: var(--brand-ink); border: 1px solid var(--brand-ink); border-radius: 999px;
  text-transform: uppercase; letter-spacing: .1em; font-size: .85rem;
}

/* menu: centred, uppercase, between hairlines */
#menu, #menu.bg-primary {
  background: transparent !important; border-radius: 0; margin: 4px 0 30px;
  border-top: 1px solid var(--brand-ink); border-bottom: 1px solid var(--brand-ink);
}
#navbar-menu { justify-content: center; }
#menu .navbar-nav > li > a { color: var(--brand-ink); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: .9rem; padding: 12px 22px; }
#menu .navbar-nav > li > a:hover { color: var(--brand-terracotta); }
#menu #category, #menu .navbar-toggler i { color: var(--brand-ink); }

.btn-primary {
  --bs-btn-bg: transparent; --bs-btn-color: var(--brand-ink); --bs-btn-border-color: var(--brand-ink);
  --bs-btn-hover-bg: var(--brand-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--brand-ink);
  text-transform: uppercase; letter-spacing: .14em; font-size: .9rem;
}
#button-cart, #button-confirm, #button-register, #button-shipping-method, #button-payment-method {
  --bs-btn-bg: var(--brand-ink); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--brand-terracotta); --bs-btn-hover-border-color: var(--brand-terracotta);
}

/* cards: no box, arch-shaped photo */
.product-thumb { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.product-thumb:hover { transform: none; box-shadow: none; }
.product-thumb .image { padding: 0 6px; }
.product-thumb .image img { border-radius: 999px 999px 18px 18px; transition: transform .35s ease, box-shadow .35s ease; }
.product-thumb:hover .image img { transform: translateY(-6px); box-shadow: 0 18px 30px rgba(63, 42, 59, .18); }
.product-thumb .description { text-align: center; padding: 14px 8px; }
.product-thumb .description h4 { font-family: "Playfair Display", serif; font-weight: 400; font-style: italic; font-size: 1.15rem; }
.product-thumb .description p { display: none; }
.product-thumb .price-new { color: var(--brand-terracotta); font-weight: 500; letter-spacing: .08em; }
.product-thumb .button { position: static; justify-content: center; gap: 8px; }
.product-thumb .button button {
  width: 42px; height: 42px; line-height: 40px; border-radius: 50%; border: 1px solid var(--brand-ink) !important;
  background: transparent; color: var(--brand-ink);
}
.product-thumb .button button:hover { background: var(--brand-ink); color: #fff; }

.carousel, .carousel-inner { border-radius: 0; }
#common-home h3 { text-align: center; font-style: italic; font-size: 2.3rem; padding-bottom: 1rem; }
#common-home h3::after { left: 50%; transform: translateX(-50%); width: 80px; height: 1px; background: var(--brand-ink); }

#product-product h1 { font-style: italic; }
#product-product .list-unstyled h2 { font-weight: 500; letter-spacing: .06em; }
#product-product .image.magnific-popup img { border-radius: 999px 999px 24px 24px; border: 0; }

footer { background: var(--brand-sand); color: var(--brand-ink); border-top: 1px solid var(--brand-ink); }
footer h5 { color: var(--brand-ink); font-style: italic; font-size: 1.2rem; }
footer a { color: var(--brand-ink); }
footer a:hover { color: var(--brand-terracotta); }
footer hr { border-bottom-color: rgba(63, 42, 59, .2); }
