/* OpenCart 2/3 default-theme appearance, adapted to OpenCart 4 / Bootstrap 5.
   Keep checkout forms and Bootstrap behaviour on their current versions. */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/open-sans/OpenSans.ttf') format('truetype');
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: #666;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #444;
  font-weight: 500;
  line-height: 1.1;
}
h1 { font-size: 33px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
h4 { font-size: 15px; }
h5 { font-size: 12px; }
h6 { font-size: 10.2px; }
p { margin-bottom: 10px; }
a { color: #23a1d1; text-decoration: none; }
a:hover { color: #1a789c; }
hr { margin: 20px 0; border-color: #eee; opacity: 1; }
legend { font-size: 18px; }

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.row { --bs-gutter-x: 30px; }

@media (min-width: 576px) {
  .container { max-width: none; }
}
@media (min-width: 768px) {
  .container { max-width: 750px; }
}
@media (min-width: 992px) {
  .container { max-width: 970px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1170px; }
}

#container {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  margin-bottom: 0;
}
main { flex: 1; }
#content, #column-left, #column-right { padding-bottom: 0; }
#content { min-width: 0; min-height: 600px; }

.btn {
  padding: 7.5px 12px;
  font-size: 12px;
  line-height: 18px;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);
}
.btn-lg { padding: 10px 16px; font-size: 15px; }
.btn-sm { padding: 5px 10px; font-size: 10.2px; }
.btn-light {
  color: #777;
  text-shadow: 0 1px 0 rgb(255 255 255 / 50%);
  background: linear-gradient(#eee, #ddd);
  border-color: #ddd #ddd #b3b3b3 #b7b7b7;
}
.btn-light:hover, .btn-light.active { color: #444; background: #ddd; border-color: #bbb; }
.btn-primary {
  color: #fff;
  text-shadow: 0 -1px 0 rgb(0 0 0 / 25%);
  background: linear-gradient(#23a1d1, #1f90bb);
  border-color: #1f90bb #1f90bb #145e7a;
}
.btn-primary:hover, .btn-primary:active { background: #1f90bb; border-color: #145e7a; }
.btn-dark { background: linear-gradient(#444, #222); border-color: #222 #222 #000; }
.btn-dark:hover { background: linear-gradient(#333, #111); }
.btn-link { color: #23a1d1; text-decoration: none; border-color: transparent; box-shadow: none; }
.btn-link:hover { color: #1a789c; }
.btn:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid #229ac8 !important;
  outline-offset: 2px;
}

.form-control, .form-select {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 20px;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form-control { box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%); }
.form-control:focus, .form-select:focus {
  border-color: #66afe9;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}
.form-select { padding-right: 28px; }
.input-group-text { font-size: 12px; color: #555; background: #eee; border-color: #ccc; }
.input-group-sm > .form-select, .input-group-sm > .input-group-text {
  min-height: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 12px;
  line-height: 18px;
}
.dropdown-menu { font-size: 12px; border-radius: 4px; }
.dropdown-item { padding: 3px 20px; line-height: 20px; }
.dropdown-item:hover, .dropdown-item:focus {
  color: #fff;
  background: linear-gradient(#23a1d1, #1f90bb);
}
.table > :not(caption) > * > * { padding: 8px; }
.nav-tabs { margin-bottom: 15px; }
.nav-tabs .nav-link { padding: 10px 15px; }

#top {
  min-height: 40px;
  margin: 0 0 20px;
  padding: 4px 0 3px;
  background: #eee;
  border-bottom: 1px solid #e2e2e2;
}
#top .container { padding-right: 20px; padding-left: 20px; }
#top .list-inline-item { margin-right: 10px; }
#top .list-inline-item:last-child { margin-right: 0; }
#top .list-inline-item > a,
#top .list-inline-item .dropdown > span,
#top .btn-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 12px;
  line-height: 20px;
  color: #888;
  text-shadow: 0 1px 0 #fff;
  vertical-align: middle;
}
#top .btn-link { border: 0; }
#top .list-inline-item > a:hover, #top .btn-link:hover { color: #444; }
#top img { vertical-align: baseline; }

#logo { margin: 0 0 10px; }
#logo img { max-width: 200px; }
#search { margin-bottom: 10px; }
#search .form-control-lg { height: 40px; padding: 0 10px; font-size: 12px; line-height: 20px; }
#search .btn-lg { padding: 10px 35px; font-size: 15px; line-height: 18px; }
#cart { margin-bottom: 10px; }
#cart .btn-lg { min-height: 40px; padding: 10px 12px; font-size: 12px; line-height: 18px; }
#cart .dropdown-menu { z-index: 1001; width: max-content; max-width: calc(100vw - 30px); background: #eee; }
#cart .dropdown-menu li { min-width: 0; }

#menu { padding: 0; border-radius: 4px; }
#menu .navbar-nav { padding: 0 15px; }
#menu .navbar-nav > li > a { padding: 10px 15px; font-size: 12px; line-height: 20px; }
#menu .dropdown-menu { padding-bottom: 0; }
#menu .dropdown-inner a { min-width: 160px; }
#menu .dropdown-inner ul { min-width: 180px; margin-bottom: 0; }
#menu .dropdown-divider { margin: 5px 0; }
#menu .dropdown-menu > .list-unstyled { margin-bottom: 0; }
#category { padding-left: 15px; }
#menu .navbar-toggler { margin: 5px 15px; padding: 3px 15px; border: 1px solid #1f90bb; }

@media (min-width: 768px) {
  #menu .dropdown:hover > .dropdown-menu { display: block; }
  #menu .dropdown-inner { flex-direction: row; }
}

.breadcrumb { padding: 8px 0; background: #f5f5f5; border-color: #ddd; border-radius: 4px; }
.breadcrumb > li.breadcrumb-item::after { width: 26px; height: 26px; border-color: #ddd; }

#product-category h1, #product-manufacturer h1, #product-special h1 { font-size: 27px; }
.classic-category .list-group { margin-bottom: 20px !important; }
.classic-sidebar-heading {
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #444;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}
.classic-category .list-group-item:first-child { border-top-left-radius: 0; border-top-right-radius: 0; }
.list-group-item { padding: 8px 12px; color: #888; border-color: #ddd; }
.list-group-item.active, .list-group-item.active:hover, a.list-group-item:hover {
  z-index: auto;
  color: #444;
  text-shadow: 0 1px 0 #fff;
  background: #eee;
  border-color: #ddd;
}
.classic-category-child { padding-left: 24px; }
.classic-category-grandchild { padding-left: 36px; }
.classic-sidebar-banner { display: block; margin-bottom: 20px; border: 1px solid #ddd; }
.classic-sidebar-banner img { display: block; width: 100%; height: auto; }
.classic-category-summary img { padding: 4px; }
.classic-category-summary p:last-child { margin-bottom: 0; }
.classic-refine ul { padding-left: 40px; margin-bottom: 10px; }
.classic-list-controls { margin-top: 15px; }
.classic-list-controls .mb-3 { margin-bottom: 15px !important; }
.classic-list-controls .btn-group .btn { padding: 7px 11px; }
.classic-list-controls #compare-total { padding-left: 0; padding-right: 0; white-space: normal; }
.classic-list-controls .input-group { flex-wrap: nowrap; }
.classic-list-controls .form-select { min-width: 45px; }

#product-list > .col, .classic-featured > .col, .classic-special > .col, .classic-latest > .col, .classic-bestseller > .col, .classic-related > .col { margin-bottom: 20px !important; }
.product-thumb { height: 100%; overflow: hidden; background: #fff; border: 1px solid #ddd; }
.product-thumb .image a { display: block; }
.product-thumb .image img { width: 100%; max-width: 228px; margin: 0 auto; }
.product-thumb .content { min-width: 0; }
.product-thumb .description { min-height: 180px; margin-bottom: 40px; padding: 0 20px 16px; }
.product-thumb .description h4 { margin-top: 10px; margin-bottom: 10px; font-size: 15px; font-weight: 700; line-height: 1.1; }
.product-thumb .description p { margin-bottom: 10px; }
.product-thumb .price { margin-bottom: 10px; color: #444; }
.product-thumb .price-new { font-weight: 600; }
.product-thumb .price-old { margin-left: 10px; color: #999; }
.product-thumb .button { background: #eee; }
.product-thumb .button button {
  width: 60%;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 38px;
  color: #888;
  text-transform: uppercase;
  background: #eee;
  border-color: #ddd;
}
.product-thumb .button button + button { width: 20%; border-left: 1px solid #ddd; }
.product-thumb .button button:hover { color: #444; background: #ddd; }
.product-thumb .rating { padding-bottom: 10px; }
.rating .fa-stack { width: 16px; font-size: 8px; }
.rating .fa-regular.fa-star { color: #999; }
.rating .fa-solid.fa-star { color: #fc0; }

@media (min-width: 768px) {
  .product-list .product-thumb { display: flex; }
  .product-list .product-thumb .image { flex: 0 0 230px; padding: 0 15px; }
  .product-list .product-thumb .content { position: relative; flex: 1; }
  .product-list .product-thumb .description { padding: 0 20px 16px; }
  .product-list .product-thumb .button { width: 100%; margin-left: 0; border-left: 1px solid #ddd; }
}

.pagination { margin-bottom: 0; }
.page-link { padding: 6px 12px; font-size: 12px; line-height: 20px; }
footer {
  position: static;
  width: 100%;
  margin-top: 30px;
  padding-top: 30px;
  color: #e2e2e2;
  background: #303030;
  border: 0;
  border-top: 1px solid #ddd;
}
footer h5 { margin: 10px 0; font-size: 13px; font-weight: 700; }
footer hr { margin: 20px 0; border-bottom-color: #666; }
footer a { color: #ccc; }
footer a:hover { color: #fff; }

@media (max-width: 1199px) {
  .product-thumb .button button, .product-thumb .button button + button { width: 33.333%; }
  .product-thumb .cart-label { display: none; }
  .product-thumb .description { padding-right: 10px; padding-left: 10px; }
}
@media (max-width: 767px) {
  #menu .navbar-nav { padding: 0; }
  #menu .dropdown-menu { position: static; margin-left: 0 !important; background: rgb(0 0 0 / 10%); border: 0; }
  #menu .dropdown-menu a { color: #fff; white-space: normal; }
  #menu .dropdown-menu a:hover { background: rgb(0 0 0 / 10%); }
  #menu .dropdown-inner ul { width: 100%; min-width: 0; }
  .breadcrumb { flex-wrap: wrap; row-gap: 10px; overflow: hidden; }
  .breadcrumb > li.breadcrumb-item { max-width: 100%; white-space: normal; }
  .product-thumb .description { min-height: 0; }
  .product-list .product-thumb { display: block; }
  .product-list .product-thumb .image { padding: 0; }
  .product-list .product-thumb .button { width: 100%; margin-left: 0; border-left: 0; }
  #cart .dropdown-menu { width: 100%; }
}
