:root {
  --kr-orange: #ff8800;
  --kr-navy: #003366;
  --kr-navy-hover: #002244;
}

body {
  width: 100%;
  height: 100%;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: #334155;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--kr-navy);
  font-weight: 700;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

label {
  font-size: 12px;
  font-weight: normal;
}

/* Chrome border line */
button:focus {
  outline: none !important;
}

/* container */
#container {
  width: 100%;
  min-height: 100%;
  position: relative;
  margin-bottom: 0;
  overflow: visible;
}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 2rem;
}

main {
  clear: both;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
  overflow: visible;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 2.5rem;
  }
}
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 320px;
  margin-left: -160px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
#alert .alert {
  margin-bottom: 15px;
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}

#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}

#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}

#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}

#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}

#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}

#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* top */
#top {
  background-color: var(--kr-navy);
  border-bottom: none;
  margin-bottom: 0;
  position: relative;
  padding: 0.35rem 0;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item > a,
#top .list-inline-item .dropdown > a,
#top .list-inline-item .dropdown > span,
#top .list-inline-item .btn,
#top .form-select {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  vertical-align: middle;
  padding: 0.25rem 0;
  text-decoration: none;
}

#top .list-inline-item > a:hover {
  color: var(--kr-orange);
}

/* site header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  box-shadow: none;
}

/* logo */
#logo {
  text-align: left !important;
  margin: 0 !important;
}

#logo img {
  max-width: 200px;
}

.brand-logo {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px !important;
  font-weight: bold !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
}

.brand-logo .brand-kr {
  color: #ff8800 !important;
  font-weight: bold !important;
  font-size: 24px !important;
}

.brand-logo .brand-rest {
  color: #003366 !important;
  font-weight: bold !important;
  font-size: 24px !important;
}

.brand-logo:hover {
  opacity: 0.92;
}

/* search */
#search,
.header-search,
.header-search-wrap {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.header-search .form-control {
  border: 2px solid #e2e8f0;
  border-right: 0;
  border-radius: 0.5rem 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 2.5rem;
  padding-left: 0.85rem;
  box-shadow: none;
}

.header-search .form-control:focus {
  border-color: var(--kr-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 136, 0, 0.15);
}

.header-search .btn-search {
  background-color: #ff8800 !important;
  border-color: #ff8800 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0.5rem 0.5rem 0;
  padding-inline: 0.9rem;
  min-height: 2.5rem;
}

@media (min-width: 768px) {
  .header-search .form-control,
  .header-search .btn-search {
    min-height: 3rem;
  }
}
.header-search .btn-search:hover,
.header-search .btn-search:focus {
  background-color: #e67a00 !important;
  border-color: #e67a00 !important;
  color: #ffffff !important;
}

.header-search .btn-search i,
.header-search .btn-search span {
  color: #ffffff !important;
}

/* header actions */
.header-actions {
  flex-wrap: nowrap;
  margin: 0 !important;
}

.btn-header-action {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: var(--kr-navy);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.65rem;
}

@media (min-width: 768px) {
  .btn-header-action {
    min-height: 3rem;
    padding: 0.55rem 0.9rem;
  }
}
.btn-header-action:hover,
.btn-header-action:focus,
.btn-header-action.show {
  background: #f8fafc;
  border-color: var(--kr-navy);
  color: var(--kr-navy);
}

.btn-header-cart {
  position: relative;
  background: var(--kr-navy);
  border-color: var(--kr-navy);
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.4rem 0.65rem;
}

@media (min-width: 768px) {
  .btn-header-cart {
    min-height: 3rem;
    min-width: 3rem;
    padding: 0.55rem 1rem;
  }
}
.btn-header-cart:hover,
.btn-header-cart:focus,
.btn-header-cart.show {
  background: var(--kr-navy-hover);
  border-color: var(--kr-navy-hover);
  color: #fff;
}

.btn-header-cart .cart-badge,
.btn-header-cart .badge-cart-count,
#cart .badge.rounded-pill {
  background-color: #ff8800 !important;
  color: #ffffff !important;
  border: 2px solid #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35em 0.55em;
}

.btn-header-cart::after,
.btn-header-action::after {
  margin-left: 0.4rem;
}

/* cart */
#cart {
  margin: 0 !important;
}

#cart .img-thumbnail {
  min-width: 80px;
}

#cart .dropdown-menu {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(0, 51, 102, 0.12);
  min-width: min(360px, 92vw);
}

#cart .dropdown-menu li {
  min-width: 300px;
}

@media (max-width: 767.98px) {
  #cart .dropdown-menu {
    right: 0 !important;
    left: auto !important;
  }
  #cart .dropdown-menu li {
    min-width: 100%;
  }
  .brand-logo,
  .brand-logo .brand-kr,
  .brand-logo .brand-rest {
    font-size: 20px !important;
  }
}
/* menu */
#menu,
#menu.navbar,
nav#menu {
  background-color: #003366 !important;
  background-image: none !important;
  border: none;
  border-radius: 0.4rem;
  min-height: auto;
  padding: 0;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

#menu .navbar-nav > li > a,
#menu .navbar-nav > .nav-item > .nav-link,
#menu .navbar-nav .nav-link {
  color: #ffffff !important;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: none;
  padding: 0.7rem 0.85rem;
  background-color: transparent;
  border-radius: 0.35rem;
}

#menu .navbar-nav > li > a:hover,
#menu .navbar-nav > .nav-item > .nav-link:hover,
#menu .navbar-nav > .nav-item > .nav-link:focus,
#menu .navbar-nav > .nav-item.show > .nav-link,
#menu .navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}

#menu .dropdown-menu {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 10px 28px rgba(0, 51, 102, 0.12);
  margin-top: 0.15rem;
}

#menu .dropdown-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  padding: 0.45rem 1rem;
}

#menu .dropdown-item:hover {
  background: #fff7ed;
  color: var(--kr-navy);
}

#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}

#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}

@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  #menu .dropdown-inner {
    flex-direction: row;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -600px;
  }
}
#menu .navbar-toggler {
  border: 0;
  padding: 0.45rem 0.55rem;
  box-shadow: none;
}

#menu .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 136, 0, 0.35);
}

#menu .navbar-toggler-icon {
  filter: invert(1);
}

.module-product-grid .col {
  display: flex;
}

.module-product-grid .product-card {
  width: 100%;
}

/* default boostrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}

.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}

.nav-tabs {
  margin-bottom: 15px;
}

.form-check .form-check-input {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}
/* footer */
footer,
#footer,
#footer.site-footer,
.site-footer {
  position: relative !important;
  clear: both !important;
  bottom: auto !important;
  width: 100%;
  margin-top: 3rem;
  padding: 3rem 0 1.25rem;
  border: none;
  border-top: 3px solid #ff8800;
  background: #003366 !important;
  background-color: #003366 !important;
  color: #e8eef5 !important;
  z-index: 2;
}

.site-footer .footer-trust {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
  margin-bottom: 3rem !important;
  padding-bottom: 1.5rem !important;
}

.site-footer .footer-trust-item {
  padding: 0.35rem 0.5rem;
}

.site-footer .footer-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 136, 0, 0.15);
  color: #ff8800 !important;
  font-size: 1.2rem;
}

.site-footer .footer-trust-title {
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-footer h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-top: 0;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.site-footer ul.list-unstyled li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #d7e2ef !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ff8800 !important;
}

.site-footer .footer-contact {
  padding-top: 0.35rem;
}

.site-footer .footer-phone,
.site-footer .footer-email {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-footer .footer-phone:hover {
  color: #ff8800 !important;
}

.site-footer .footer-email:hover {
  color: #ff8800 !important;
}

.site-footer .footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0 0.5rem;
  opacity: 1;
}

.site-footer .footer-powered {
  color: #c5d3e3 !important;
  font-size: 0.85rem;
}

.site-footer .footer-powered a {
  color: #ffffff !important;
}

.site-footer .footer-powered a:hover {
  color: #ff8800 !important;
}

.site-footer .footer-payments {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 2.25rem !important;
  line-height: 1;
  color: #ffffff;
}

.site-footer .footer-payments i {
  font-size: 2.25rem !important;
  height: 30px !important;
  line-height: 30px !important;
  opacity: 0.95;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer .footer-payments i:hover {
  opacity: 1;
  color: #ff8800;
}

@media (max-width: 767.98px) {
  .site-footer .footer-trust-icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1rem;
  }
  .site-footer .footer-trust-title {
    font-size: 0.78rem;
  }
  .site-footer .footer-payments {
    justify-content: center;
    font-size: 2rem !important;
  }
  .site-footer .footer-payments i {
    font-size: 2rem !important;
  }
}
/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}

.breadcrumb i {
  font-size: 15px;
}

.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}

.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}

.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transform: rotate(-45deg);
}

.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}

.module-product-grid .module-heading {
  color: #003366 !important;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff8800;
  display: inline-block;
  width: 100%;
}

.product-thumb.product-card,
.product-card.card {
  border: 1px solid #eeeeee !important;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.product-thumb.product-card:hover,
.product-card.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 51, 102, 0.12);
  border-color: #eeeeee !important;
}

.product-card-image {
  display: block;
  background: #fafafa;
  text-decoration: none;
  overflow: hidden;
}

.product-card-image img,
.product-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.product-card:hover .card-img-top {
  opacity: 0.92;
}

.product-card .card-body {
  padding: 1rem;
}

.product-card-title,
.product-card .card-title {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.product-card-title a,
.product-card .card-title a {
  color: #003366 !important;
  text-decoration: none !important;
}

.product-card-title a:hover,
.product-card .card-title a:hover {
  color: #ff8800 !important;
}

.product-card-price,
.product-card .price {
  color: #003366;
}

.product-card-price .price-new,
.product-card .price-new {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #003366 !important;
}

.product-card-price .price-old,
.product-card .price-old {
  font-size: 0.9rem;
  color: #dc512c;
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.product-card-price .price-tax,
.product-card .price-tax {
  color: #999;
  font-size: 0.75rem;
  display: block;
  margin-top: 0.15rem;
}

.product-card-actions {
  width: 100%;
}

.product-card .btn-cart-add,
.product-card button.btn-cart-add {
  background-color: #ff8800 !important;
  border-color: #ff8800 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 0.4rem;
  width: 100% !important;
}

.product-card .btn-cart-add:hover,
.product-card .btn-cart-add:focus,
.product-card button.btn-cart-add:hover,
.product-card button.btn-cart-add:focus {
  background-color: #e67a00 !important;
  border-color: #e67a00 !important;
  color: #ffffff !important;
}

.product-card .btn-cart-add i,
.product-card .btn-cart-add span {
  color: #ffffff !important;
}

.product-card .btn-outline-secondary {
  border-color: #eeeeee;
  color: #003366;
}

.product-card .btn-outline-secondary:hover {
  background-color: #f8fafc;
  border-color: #003366;
  color: #003366;
}

@media (min-width: 960px) {
  .product-list .product-thumb.product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .product-list .product-card-image {
    flex: 0 0 220px;
    max-width: 220px;
  }
  .product-list .product-card .card-body {
    flex: 1;
  }
}
.rating .fa-stack {
  width: 20px;
}

.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}

.rating .fa-star + .fa-star {
  color: #E69500;
}

/* product list */
.price {
  color: #444;
}

.price-new {
  font-weight: 600;
}

.price-old {
  color: #dc512c;
  text-decoration: line-through;
}

.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}

/* product detail page */
#product-info .product-title {
  color: #003366 !important;
  font-weight: 700 !important;
}

#product-info .product-price-main,
#product-info .product-price-main .price-new {
  color: #ff8800 !important;
  font-size: 2.1rem !important;
  font-weight: 800 !important;
}

#product-info .btn-cart-add,
#product-info #button-cart {
  background-color: #ff8800 !important;
  border-color: #ff8800 !important;
  color: #ffffff !important;
}

#product-info .btn-cart-add:hover,
#product-info #button-cart:hover {
  background-color: #e67a00 !important;
  border-color: #e67a00 !important;
  color: #ffffff !important;
}

#product-info .product-buybox {
  border: 1px solid #eeeeee;
  border-radius: 0.6rem;
  background: #fff;
  padding: 1.25rem;
}

#product-info .nav-tabs .nav-link.active {
  color: #ff8800 !important;
}

/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.blog-thumb h4 {
  font-weight: bold;
}

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}

.blog-thumb .image a:hover {
  opacity: 0.8;
}

.blog-thumb .description {
  padding: 15px;
}

/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}

#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}