@font-face { font-family: 'Bangers'; src: url('../fonts/bangers.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Lilita One'; src: url('../fonts/lilita.woff2') format('woff2'); font-display: swap; }

:root {
  --royal: #002dd2;
  --navy: #0a1f63;
  --red: #d7141f;
  --red-dark: #a60d16;
  --paper: #eef0f6;
  --ink: #1d2233;
}

body {
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M16 6l2.4 5 5.4.6-4 3.7 1.1 5.4-4.9-2.8-4.9 2.8 1.1-5.4-4-3.7 5.4-.6zM48 38l1.6 3.3 3.6.4-2.7 2.5.7 3.6-3.2-1.9-3.2 1.9.7-3.6-2.7-2.5 3.6-.4z' fill='%23002dd2' fill-opacity='.06'/%3E%3C/svg%3E");
  font-size: 15px;
}
h1, h2, h3, .bd-display { font-family: 'Bangers', Impact, 'Arial Black', sans-serif; letter-spacing: .04em; font-weight: 400; }
h1, h2 { color: var(--red); text-shadow: 2px 2px 0 var(--navy); }
h3 { color: var(--navy); }
a { color: var(--royal); }
a:hover, a:focus { color: var(--red); }
.text-red { color: var(--red); }

.bd-product img, .bd-badge, .bd-placard img, .bd-doorbuster img, .bd-portrait, .img-responsive { height: auto; }

/* top strip */
.bd-topbar { background: var(--red); color: #fff; font-size: 13px; padding: 6px 0; font-weight: 700; }
.bd-topbar a { color: #fff; }
.bd-topbar .glyphicon { margin-right: 4px; }
.bd-topbar .sep { opacity: .55; margin: 0 8px; }

/* navbar */
.navbar-bd { background: var(--royal); border: 0; border-bottom: 5px solid var(--red); border-radius: 0; margin-bottom: 0; box-shadow: 0 3px 0 #fff, 0 6px 0 var(--navy); }
.navbar-bd .navbar-brand { height: auto; padding: 8px 15px; }
.navbar-bd .navbar-brand img { height: 66px; width: auto; }
.navbar-bd .navbar-nav > li > a { color: #fff; font-family: 'Lilita One', 'Arial Black', sans-serif; font-size: 19px; letter-spacing: .03em; text-transform: uppercase; text-shadow: 1px 1px 0 var(--navy); }
@media (min-width: 768px) { .navbar-bd .navbar-nav > li > a { padding: 30px 18px; } }
.navbar-bd .navbar-nav > li > a:hover, .navbar-bd .navbar-nav > li > a:focus { background: var(--navy); color: #fff; }
.navbar-bd .navbar-nav > .active > a, .navbar-bd .navbar-nav > .active > a:hover { background: var(--red); color: #fff; }
.navbar-bd .navbar-toggle { border-color: #fff; margin-top: 26px; }
.navbar-bd .navbar-toggle .icon-bar { background: #fff; }
.navbar-bd .navbar-collapse { border-color: rgba(255,255,255,.25); }
.navbar-bd .bd-callbtn { margin-top: 26px; }

/* ticker */
.bd-ticker { background: var(--navy); color: #fff; overflow: hidden; white-space: nowrap; border-bottom: 3px solid var(--red); }
.bd-ticker-track { display: inline-block; padding: 8px 0; font-family: 'Bangers', Impact, sans-serif; font-size: 20px; letter-spacing: .06em; animation: bd-scroll 38s linear infinite; }
.bd-ticker-track span { margin: 0 28px; }
.bd-ticker-track span::before { content: '\2605'; color: var(--red); margin-right: 28px; }
@keyframes bd-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* carousel */
.bd-hero { position: relative; background: #000; }
.bd-hero .carousel-inner > .item { height: 440px; background-size: cover; background-position: center; }
.bd-hero .carousel-inner > .item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,40,.82) 0%, rgba(5,12,40,.35) 55%, rgba(5,12,40,0) 100%); }
.bd-hero .carousel-caption { left: 0; right: 0; bottom: 0; top: 0; text-align: left; text-shadow: none; padding: 0; z-index: 3; display: flex; align-items: center; }
.bd-hero .carousel-caption .container { width: 100%; }
.bd-hero .carousel-caption h2 { color: #fff; font-size: 54px; margin: 0 0 10px; text-shadow: 3px 3px 0 var(--red), 5px 5px 0 #000; max-width: 640px; line-height: 1.05; }
.bd-hero .carousel-caption p { font-size: 18px; max-width: 520px; margin-bottom: 18px; text-shadow: 1px 1px 2px #000; }
.bd-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.bd-hero .carousel-control { z-index: 4; width: 44px; }
.bd-hero .carousel-indicators { z-index: 4; }
@media (max-width: 767px) {
  .bd-hero .carousel-inner > .item { height: 380px; }
  .bd-hero .carousel-caption h2 { font-size: 36px; }
  .bd-hero .carousel-caption p { font-size: 15px; }
}

/* buttons */
.btn-bd { background: var(--red); background-image: linear-gradient(#ef2a35, var(--red-dark)); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--navy); font-family: 'Lilita One', 'Arial Black', sans-serif; text-transform: uppercase; letter-spacing: .04em; text-shadow: 1px 1px 0 rgba(0,0,0,.35); }
.btn-bd:hover, .btn-bd:focus { color: #fff; background-image: linear-gradient(#ff3d47, #c10f19); }
.btn-royal { background-image: linear-gradient(#1f4cf0, var(--royal)); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--navy); font-family: 'Lilita One', 'Arial Black', sans-serif; text-transform: uppercase; }
.btn-royal:hover, .btn-royal:focus { color: #fff; background-image: linear-gradient(#3b63ff, #0632d8); }

/* sections */
.bd-section { padding: 46px 0; }
.bd-section-white { background: #fff; border-top: 4px solid var(--royal); border-bottom: 4px solid var(--royal); }
.bd-title { text-align: center; font-size: 44px; margin: 0 0 6px; }
.bd-sub { text-align: center; color: #555; font-size: 16px; margin: 0 auto 30px; max-width: 640px; }
.bd-stars { color: var(--red); letter-spacing: 6px; text-align: center; margin: -2px 0 8px; font-size: 14px; }

.bd-feature { text-align: center; padding: 0 10px; }
.bd-feature .bd-icon { display: inline-block; width: 74px; height: 74px; line-height: 70px; border-radius: 50%; background: var(--royal); color: #fff; font-size: 30px; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--red); margin-bottom: 10px; }
.bd-feature h3 { font-size: 28px; margin-top: 6px; }

/* product thumbnails */
.bd-product { position: relative; background: #fff; border: 2px solid #d4d9e6; border-radius: 4px; padding: 8px; margin-bottom: 26px; transition: border-color .15s, box-shadow .15s; }
.bd-product:hover { border-color: var(--royal); box-shadow: 0 6px 0 var(--navy); }
.bd-product img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--royal); border-radius: 2px; }
.bd-product .caption { padding: 10px 4px 2px; }
.bd-product h3 { font-size: 26px; margin: 0 0 4px; color: var(--navy); }
.bd-product .bd-spec { color: #6a7184; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-bottom: 8px; }
.bd-product .bd-desc { font-size: 14px; }
.bd-product .bd-fine { font-size: 11px; color: #7a8093; font-style: italic; }
.bd-price { font-family: 'Bangers', Impact, sans-serif; font-size: 32px; color: var(--red); letter-spacing: .03em; line-height: 1; }
.bd-price s { color: #8a90a3; font-size: 20px; margin-left: 6px; }
.bd-rating { color: var(--red); font-size: 13px; }
.bd-rating .off { color: #c9cedb; }
.bd-ribbon { position: absolute; top: 18px; left: -6px; background: var(--red); color: #fff; font-family: 'Lilita One', sans-serif; font-size: 14px; padding: 4px 12px; text-transform: uppercase; box-shadow: 2px 2px 0 var(--navy); z-index: 2; }
.bd-ribbon.royal { background: var(--royal); }

.bd-burst { position: absolute; top: -18px; right: -14px; width: 104px; height: 104px; background: var(--red); color: #fff; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; font-family: 'Bangers', Impact, sans-serif; font-size: 22px; line-height: .95; transform: rotate(12deg);
  clip-path: polygon(50% 0%, 61% 15%, 79% 9%, 79% 27%, 97% 32%, 87% 47%, 100% 61%, 82% 69%, 85% 88%, 66% 85%, 55% 100%, 44% 86%, 25% 92%, 23% 73%, 4% 67%, 14% 51%, 2% 36%, 20% 29%, 21% 10%, 39% 15%); }

/* doorbuster */
.bd-doorbuster { position: relative; background: var(--royal); color: #fff; border: 4px solid #fff; box-shadow: 0 0 0 4px var(--red); border-radius: 6px; padding: 26px; margin: 10px 0; }
.bd-doorbuster h2 { color: #fff; text-shadow: 3px 3px 0 var(--red); font-size: 46px; margin-top: 0; }
.bd-doorbuster img { width: 100%; border: 4px solid #fff; border-radius: 4px; }
.bd-doorbuster .bd-price { color: #fff; font-size: 56px; text-shadow: 3px 3px 0 var(--red); }
.bd-doorbuster .bd-price s { color: #b9c5ff; }
.bd-doorbuster small { color: #c9d2ff; }

/* reviews */
.bd-review { background: #fff; border-left: 6px solid var(--red); padding: 16px 18px; margin-bottom: 20px; box-shadow: 0 2px 0 #d4d9e6; }
.bd-review blockquote { border: 0; padding: 0; margin: 6px 0 8px; font-size: 16px; font-style: italic; }
.bd-review .who { font-weight: 700; color: var(--navy); font-size: 13px; }

/* visit band */
.bd-visit { background: var(--navy); color: #fff; padding: 0; }
.bd-visit .row { margin: 0; }
.bd-visit .bd-visit-photo { min-height: 320px; background-size: cover; background-position: center; }
.bd-visit .bd-visit-body { padding: 36px 32px; }
.bd-visit h2 { color: #fff; text-shadow: 3px 3px 0 var(--red); font-size: 42px; margin-top: 0; }
.bd-visit table { color: #fff; }
.bd-visit .table > tbody > tr > td { border-top-color: rgba(255,255,255,.18); padding: 6px 8px 6px 0; }

/* page header */
.bd-pagehead { background: var(--royal); color: #fff; padding: 34px 0 30px; border-bottom: 5px solid var(--red); background-image: radial-gradient(circle at 85% 30%, rgba(255,255,255,.14) 0 2px, transparent 3px), radial-gradient(circle at 70% 70%, rgba(255,255,255,.1) 0 2px, transparent 3px); background-size: 120px 120px, 90px 90px; }
.bd-pagehead h1 { color: #fff; font-size: 56px; margin: 0 0 6px; text-shadow: 3px 3px 0 var(--red), 5px 5px 0 var(--navy); }
.bd-pagehead p { font-size: 17px; max-width: 700px; margin: 0; }

/* shop filter + calculator */
.bd-filter { text-align: center; margin-bottom: 28px; }
.bd-filter .btn { margin: 3px; }
.bd-filter .btn.active { background-image: none; background: var(--red); color: #fff; border-color: var(--red); box-shadow: inset 0 2px 4px rgba(0,0,0,.25); }
.bd-calc .panel-heading { background-image: linear-gradient(#1f4cf0, var(--royal)); color: #fff; }
.bd-calc .panel-title { font-family: 'Bangers', Impact, sans-serif; font-size: 28px; letter-spacing: .05em; }
.bd-calc input[type=number] { width: 76px; display: inline-block; }
.bd-calc td, .bd-calc th { vertical-align: middle !important; }
.bd-calc .bd-total { font-family: 'Bangers', Impact, sans-serif; font-size: 40px; color: var(--red); line-height: 1; }
.bd-calc .bd-verdict { font-family: 'Lilita One', sans-serif; font-size: 20px; color: var(--navy); }
.bd-calc .bd-summary dt { color: #6a7184; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
.bd-calc .bd-summary dd { font-size: 20px; font-weight: 700; margin-bottom: 10px; }

/* about */
.bd-portrait { width: 100%; border: 6px solid #fff; box-shadow: 0 0 0 4px var(--royal), 8px 8px 0 4px var(--red); border-radius: 4px; }
.bd-rules { counter-reset: rule; list-style: none; padding: 0; }
.bd-rules li { counter-increment: rule; position: relative; padding: 4px 0 14px 58px; font-size: 16px; }
.bd-rules li::before { content: counter(rule); position: absolute; left: 0; top: 0; width: 42px; height: 42px; line-height: 42px; text-align: center; border-radius: 50%; background: var(--red); color: #fff; font-family: 'Bangers', Impact, sans-serif; font-size: 26px; }
.bd-rules strong { display: block; font-size: 17px; color: var(--navy); }
.bd-crew .media { background: #fff; padding: 14px; border: 2px solid #d4d9e6; border-radius: 4px; margin: 0 0 16px; }
.bd-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--royal); color: #fff; font-family: 'Bangers', Impact, sans-serif; font-size: 28px; line-height: 64px; text-align: center; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--red); }
.bd-crew .media-heading { font-family: 'Lilita One', sans-serif; color: var(--navy); font-size: 18px; }
.bd-crew .role { color: var(--red); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.bd-placard { background: #fff; padding: 8px; border: 2px solid #d4d9e6; margin-bottom: 20px; }
.bd-placard img { width: 100%; }
.bd-placard .caption { font-size: 13px; color: #555; padding: 8px 2px 0; }
.bd-timeline .well { background-image: linear-gradient(#fff, #f3f5fb); border: 2px solid #d4d9e6; }
.bd-timeline .bd-year { font-family: 'Bangers', Impact, sans-serif; font-size: 34px; color: var(--red); line-height: 1; text-shadow: 2px 2px 0 var(--navy); }

/* footer */
.bd-footer { background: #071440; color: #c8d0ef; padding: 38px 0 18px; border-top: 6px solid var(--red); font-size: 14px; }
.bd-footer h4 { font-family: 'Lilita One', sans-serif; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.bd-footer a { color: #fff; }
.bd-footer .bd-badge { width: 130px; }
.bd-footer ul { padding-left: 0; list-style: none; }
.bd-footer li { margin-bottom: 4px; }
.bd-fineprint { border-top: 1px solid rgba(255,255,255,.15); margin-top: 22px; padding-top: 14px; font-size: 11px; color: #8d97c0; }
.bd-fineprint p { margin-bottom: 6px; }
.bd-fineprint sup { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .bd-ticker-track { animation: none; }
  .bd-product { transition: none; }
}

.bd-grid { display: flex; flex-wrap: wrap; }
.bd-grid::before, .bd-grid::after { display: none; }
.bd-grid > div { display: flex; flex-direction: column; }
.bd-grid > div > .bd-product { flex: 1; }
.bd-grid > [hidden] { display: none; }
