body {
  width: 100%;
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: #444;
}

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: absolute;
  margin-bottom: 300px;
}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 730px;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}
#alert {
  z-index: 9999;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
}

#alert .alert {
  position: relative;
  margin-bottom: 12px;
  padding: 14px 44px 14px 16px;
  border: 1px solid #e3e6ea;
  border-left: 4px solid var(--bs-secondary);
  border-radius: 10px;
  background: #fff;
  color: #212529;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  animation: alert-in 0.25s ease-out;
}

#alert .alert a {
  color: inherit;
  font-weight: 600;
}

#alert .alert > i {
  margin-right: 6px;
}

#alert .alert .btn-close {
  padding: 16px 14px;
  font-size: 0.7rem;
}

#alert .alert-primary {
  border-left-color: var(--bs-primary);
}

#alert .alert-primary > i {
  color: var(--bs-primary);
}

#alert .alert-secondary {
  border-left-color: var(--bs-secondary);
}

#alert .alert-secondary > i {
  color: var(--bs-secondary);
}

#alert .alert-success {
  border-left-color: var(--bs-success);
}

#alert .alert-success > i {
  color: var(--bs-success);
}

#alert .alert-warning {
  border-left-color: var(--bs-warning);
}

#alert .alert-warning > i {
  color: var(--bs-warning);
}

#alert .alert-danger {
  border-left-color: var(--bs-danger);
}

#alert .alert-danger > i {
  color: var(--bs-danger);
}

#alert .alert-info {
  border-left-color: var(--bs-info);
}

#alert .alert-info > i {
  color: var(--bs-info);
}

@keyframes alert-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#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(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}

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

#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px;
}

/* logo */
#logo {
  text-align: center;
  margin: 7px 0 7px 0;
}

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

@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}
/* search */
#search {
  margin-bottom: 10px;
}

#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}

#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF;
}

/* cart */
#cart {
  margin-bottom: 10px;
}

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

#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}

#cart .dropdown-menu {
  background: #eee;
}

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

@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}
/* menu */
#menu {
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border: 1px solid #1f90bb;
  border-color: #1f90bb #1f90bb #145e7a;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 1rem;
  margin-bottom: 20px;
}

#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px 10px 15px;
  background-color: transparent;
}

#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#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;
  }
}
#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: 0.9em;
}

/* 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 {
  border: 1px solid #000000;
  position: absolute;
  bottom: -1px;
  width: 100%;
  padding-top: 30px;
  background-color: #303030;
  border-top: 1px solid #ddd;
  color: #e2e2e2;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* 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;
}

.product-thumb {
  position: relative;
  height: 100%;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-thumb:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-thumb form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-thumb .image {
  position: relative;
  padding: 16px;
  text-align: center;
}

.product-thumb .image img {
  max-height: 210px;
  object-fit: contain;
}

.product-thumb .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bs-danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.product-thumb .product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-thumb .product-actions button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e3e6ea;
  border-radius: 50%;
  background: #fff;
  color: #868e96;
  font-size: 0.85rem;
  line-height: 1;
}

.product-thumb .product-actions button:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}

.product-thumb .content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 16px 16px;
}

.product-thumb .description {
  flex: 1;
}

.product-thumb .description h4 {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-thumb .description h4 a {
  color: #212529;
  text-decoration: none;
}

.product-thumb .description h4 a:hover {
  color: var(--bs-primary);
}

.product-thumb .description p {
  display: -webkit-box;
  margin-bottom: 8px;
  overflow: hidden;
  color: #6c757d;
  font-size: 0.85rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-thumb .price {
  margin: 4px 0 14px;
  font-size: 1.1rem;
}

.product-thumb .price-new {
  color: #212529;
  font-weight: 700;
}

.product-thumb .price-old {
  margin-left: 6px;
  font-size: 0.85rem;
}

.product-thumb .button button {
  width: 100%;
  padding: 0.6rem;
  border: 0;
  border-radius: 8px;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
}

.product-thumb .button button:hover {
  filter: brightness(0.92);
}

@media (min-width: 960px) {
  .product-list .product-thumb form {
    flex-direction: row;
  }
  .product-list .product-thumb .image {
    flex: 0 0 240px;
  }
  .product-list .product-thumb .content {
    padding: 16px;
  }
  .product-list .product-thumb .button {
    max-width: 240px;
  }
}
.rating .fa-stack {
  width: 20px;
}

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

.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: #adb5bd;
  text-decoration: line-through;
}

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

/* 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;
}

/* Store pages: shared card, product detail, account */
.store-card {
  padding: 28px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

.store-card-muted {
  background: #f8f9fb;
}

.store-card-title {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 600;
}

.store-card-title i {
  width: 36px;
  height: 36px;
  margin-right: 12px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 0.95rem;
  line-height: 36px;
  text-align: center;
}

.store-card .form-label,
[id^=account-] #content .col-form-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.store-card .form-control,
[id^=account-] #content .form-control,
[id^=account-] #content .form-select {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}

.store-card .btn-lg {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

/* Product detail */
#product-info .product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

#product-info .product-gallery {
  position: sticky;
  top: 20px;
}

#product-info .product-gallery-main {
  position: relative;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

#product-info .product-gallery-main .product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 8px;
  background: #e03131;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

#product-info .product-image-main {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  padding: 32px;
  cursor: zoom-in;
}

#product-info .product-image-main img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

#product-info .product-image-main:hover img {
  transform: scale(1.04);
}

#product-info .product-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

#product-info .product-image-list button {
  width: 76px;
  height: 76px;
  padding: 6px;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

#product-info .product-image-list button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#product-info .product-image-list button:hover {
  border-color: #adb5bd;
}

#product-info .product-image-list button.active {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.18);
}

#product-info .product-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--bs-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

#product-info h1 {
  margin-bottom: 12px;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
}

#product-info .product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 0;
  color: #6c757d;
  font-size: 0.88rem;
}

#product-info .product-meta .rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

#product-info .product-meta .rating .fa-stack {
  width: 1.1em;
  height: 1.3em;
  line-height: 1.3em;
}

#product-info .product-review-link {
  margin-left: 6px;
  color: #6c757d;
  text-decoration: none;
}

#product-info .product-review-link:hover {
  color: var(--bs-primary);
}

#product-info .product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e6f6ec;
  color: #1e7c3f;
  font-size: 0.8rem;
  font-weight: 600;
}

#product-info .product-stock i {
  font-size: 0.4rem;
}

#product-info .product-stock.product-stock-out {
  background: #fdecec;
  color: #c92a2a;
}

#product-info .product-price {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f6f8fa;
}

#product-info .product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

#product-info .product-price .price-new {
  color: #212529;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

#product-info .product-price .price-old {
  margin-left: 0;
  color: #868e96;
  font-size: 1.1rem;
  font-weight: 400;
}

#product-info .product-price .price-discount {
  padding: 4px 10px;
  border-radius: 8px;
  background: #e03131;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

#product-info .product-price .price-note {
  margin-top: 4px;
  color: #6c757d;
  font-size: 0.82rem;
}

#product-info .product-discounts {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e3e6ea;
  color: #495057;
  font-size: 0.88rem;
}

#product-info .product-buy {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

#product-info .product-quantity {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 54px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #fff;
}

#product-info .product-quantity button {
  width: 42px;
  height: 100%;
  border: 0;
  background: none;
  color: #495057;
  font-size: 0.8rem;
}

#product-info .product-quantity button:hover {
  color: var(--bs-primary);
}

#product-info #input-quantity {
  flex: 0 0 44px;
  width: 44px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

#product-info #button-cart {
  flex: 1 1 auto;
  height: 54px;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 700;
}

#product-info .product-wishlist {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #fff;
  color: #495057;
  font-size: 1.15rem;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

#product-info .product-wishlist:hover {
  border-color: #e03131;
  background: #fff5f5;
  color: #e03131;
}

#product-info #error-quantity {
  color: var(--bs-danger);
}

#product-info #form-product-links {
  margin-top: 12px;
}

#product-info .product-compare {
  padding: 0;
  border: 0;
  background: none;
  color: #6c757d;
  font-size: 0.88rem;
}

#product-info .product-compare i {
  margin-right: 4px;
}

#product-info .product-compare:hover {
  color: var(--bs-primary);
}

#product-info .product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 24px 0 0;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #fff;
}

#product-info .product-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

#product-info .product-trust li + li {
  border-left: 1px solid #eef0f3;
}

#product-info .product-trust i {
  flex: 0 0 auto;
  color: var(--bs-primary);
  font-size: 1.1rem;
}

#product-info .product-trust span {
  color: #6c757d;
  font-size: 0.76rem;
  line-height: 1.3;
}

#product-info .product-trust strong {
  display: block;
  color: #212529;
  font-size: 0.84rem;
  font-weight: 600;
}

#product-info .product-tabs {
  margin-bottom: 40px;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  background: #fff;
}

#product-info .nav-tabs {
  margin-top: 0;
  padding: 0 12px;
  border-bottom: 1px solid #e3e6ea;
}

#product-info .nav-tabs .nav-link {
  margin-bottom: -1px;
  padding: 16px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #6c757d;
  font-weight: 600;
}

#product-info .nav-tabs .nav-link:hover {
  color: #212529;
}

#product-info .nav-tabs .nav-link.active {
  border-bottom-color: var(--bs-primary);
  background: none;
  color: var(--bs-primary);
}

#product-info .tab-content {
  padding: 28px;
  color: #343a40;
  line-height: 1.7;
}

#product-info .tab-content .tab-pane {
  margin-bottom: 0 !important;
}

#product-info .tab-content .tab-pane > :last-child {
  margin-bottom: 0;
}

#product-info .tab-content h3 {
  margin-top: 20px;
  font-size: 1.05rem;
  font-weight: 600;
}

#product-info .tab-content h2 {
  margin: 24px 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
}

#product-info .product-spec {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

#product-info .product-spec thead th {
  padding: 16px 14px 8px;
  color: #212529;
  font-size: 0.95rem;
  font-weight: 700;
}

#product-info .product-spec thead:first-child th {
  padding-top: 0;
}

#product-info .product-spec tbody th,
#product-info .product-spec tbody td {
  padding: 11px 14px;
}

#product-info .product-spec tbody th {
  width: 240px;
  color: #6c757d;
  font-weight: 500;
}

#product-info .product-spec tbody tr:nth-child(odd) {
  background: #f6f8fa;
}

#product-info .product-spec tbody tr:nth-child(odd) th {
  border-radius: 8px 0 0 8px;
}

#product-info .product-spec tbody tr:nth-child(odd) td {
  border-radius: 0 8px 8px 0;
}

.product-related-head {
  margin-top: 8px;
}

@media (max-width: 991px) {
  #product-info .product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  #product-info .product-gallery {
    position: static;
  }
  #product-info .product-image-main {
    padding: 20px;
  }
}
@media (max-width: 575px) {
  #product-info h1 {
    font-size: 1.45rem;
  }
  #product-info .product-price .price-new {
    font-size: 1.65rem;
  }
  #product-info .product-buy {
    flex-wrap: wrap;
  }
  #product-info #button-cart {
    order: 3;
    flex-basis: 100%;
  }
  #product-info .product-quantity {
    flex: 1 1 auto;
    justify-content: space-between;
  }
  #product-info .product-trust {
    grid-template-columns: 1fr;
  }
  #product-info .product-trust li + li {
    border-top: 1px solid #eef0f3;
    border-left: 0;
  }
  #product-info .tab-content {
    padding: 20px 16px;
  }
  #product-info .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  #product-info .nav-tabs .nav-link {
    padding: 14px 12px;
    white-space: nowrap;
  }
  #product-info .product-spec tbody th {
    width: 45%;
  }
}
/* Account pages */
[id^=account-] #content > h1 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 700;
}

[id^=account-] #content > form,
[id^=account-] #content > .table-responsive {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

[id^=account-] #content legend {
  float: none;
  margin: 4px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef0f3;
  font-size: 1.05rem;
  font-weight: 600;
}

[id^=account-] #content .table {
  margin-bottom: 0;
  border-color: #eef0f3;
}

[id^=account-] #content .table > thead {
  background: #f8f9fb;
  color: #6c757d;
  font-size: 0.85rem;
}

[id^=account-] #content .table > :not(caption) > * > * {
  padding: 12px 14px;
  vertical-align: middle;
}

.account-tile {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 18px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  color: #212529;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.account-tile:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  color: #212529;
}

.account-tile i {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-right: 14px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  line-height: 42px;
  text-align: center;
}

.account-menu {
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  overflow: hidden;
}

.account-menu .list-group-item {
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #eef0f3;
  color: #495057;
  font-size: 0.92rem;
}

.account-menu .list-group-item:last-child {
  border-bottom: 0;
}

.account-menu .list-group-item i {
  width: 22px;
  color: #adb5bd;
}

.account-menu .list-group-item:hover {
  background: #f8f9fb;
  color: var(--bs-primary);
}

.account-menu .list-group-item:hover i {
  color: var(--bs-primary);
}

.account-menu .account-menu-logout {
  color: var(--bs-danger);
}

#account-register #content,
#account-forgotten #content {
  max-width: 760px;
  margin: 0 auto;
}

/* Layout: footer sits below the content instead of being positioned over padding */
#container {
  display: flex;
  position: static;
  flex-direction: column;
  min-height: 100vh;
  margin-bottom: 0;
}

#container > main {
  flex: 1;
}

#container #content,
#container #column-left,
#container #column-right {
  padding-bottom: 48px;
}

h1, h2, h3, h4, h5, h6 {
  color: #212529;
}

.breadcrumb {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.85rem;
}

.breadcrumb > li.breadcrumb-item {
  padding: 0;
  color: #6c757d;
  text-shadow: none;
}

.breadcrumb > li.breadcrumb-item > a {
  color: #6c757d;
}

.breadcrumb > li.breadcrumb-item > a:hover {
  color: var(--bs-primary);
}

.breadcrumb > li.breadcrumb-item:after {
  display: inline;
  position: static;
  width: auto;
  height: auto;
  margin: 0 8px;
  border: 0;
  color: #ced4da;
  content: "/";
  transform: none;
}

.breadcrumb > li.breadcrumb-item:last-child:after {
  content: none;
}

/* Header */
.store-header {
  margin-bottom: 0;
  padding: 16px 0;
  border-bottom: 1px solid #eef0f3;
  background: #fff;
}

.store-header-row {
  display: flex;
  align-items: center;
  gap: 16px 28px;
}

.store-header #logo {
  flex: 0 0 auto;
  margin: 0;
}

.store-header #logo img {
  width: auto;
  max-width: 170px;
  height: 40px;
}

.store-header #logo h1 {
  margin: 0;
  font-size: 1.5rem;
}

.store-header-search {
  flex: 1 1 auto;
  min-width: 0;
}

.store-header-search .input-group {
  margin-bottom: 0 !important;
}

.store-header-search .form-control {
  height: 46px;
  padding: 0 16px;
  border: 1px solid #dfe3e8;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: #f8f9fb;
  font-size: 0.92rem;
}

.store-header-search .form-control:focus {
  border-color: var(--bs-primary);
  background: #fff;
  box-shadow: none;
}

.store-header-search .btn {
  height: 46px;
  padding: 0 18px;
  border: 1px solid var(--bs-primary);
  border-radius: 0 10px 10px 0;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.95rem;
}

.store-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
}

.store-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #495057;
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.store-action i {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.store-action:hover {
  color: var(--bs-primary);
}

.store-header .dropdown-menu {
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.store-header .dropdown-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

#cart {
  margin-bottom: 0;
}

.store-cart-button {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.store-cart-button i {
  margin-right: 10px;
}

.store-cart-button:hover {
  filter: brightness(0.93);
}

#cart .store-cart-menu {
  width: 360px;
  max-width: calc(100vw - 24px);
  padding: 16px;
  background: #fff;
}

.store-cart-items {
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto;
}

.store-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef0f3;
}

.store-cart-image {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  overflow: hidden;
}

.store-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-cart-info {
  flex: 1 1 auto;
  min-width: 0;
}

.store-cart-name {
  display: block;
  overflow: hidden;
  color: #212529;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-cart-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #868e96;
}

.store-cart-remove:hover {
  background: #fdecec;
  color: var(--bs-danger);
}

.store-cart-totals {
  margin-top: 12px;
  font-size: 0.88rem;
}

.store-cart-totals > div {
  padding: 3px 0;
}

.store-cart-totals dt {
  color: #6c757d;
  font-weight: 400;
}

.store-cart-totals .store-cart-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #e3e6ea;
  font-size: 1rem;
}

.store-cart-totals .store-cart-total dt,
.store-cart-totals .store-cart-total dd {
  color: #212529;
  font-weight: 700;
}

.store-cart-empty {
  padding: 28px 12px;
  color: #6c757d;
  text-align: center;
}

.store-cart-empty i {
  margin-bottom: 10px;
  color: #ced4da;
  font-size: 1.8rem;
}

/* Category menu */
#menu {
  min-height: 0;
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #eef0f3;
  border-radius: 0;
  background: #fff;
}

#menu .navbar-nav > li > a {
  padding: 14px 16px;
  color: #343a40;
  font-size: 0.92rem;
  font-weight: 500;
  text-shadow: none;
}

#menu .navbar-nav > li:first-child > a {
  padding-left: 0;
}

#menu .navbar-nav > li > a:hover {
  background: none;
  color: var(--bs-primary);
}

#menu .dropdown-menu {
  padding: 8px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

#menu .dropdown-menu .dropdown-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

#category {
  color: #212529;
  line-height: 48px;
  text-shadow: none;
}

#menu .navbar-toggler {
  border: 1px solid #dfe3e8;
}

#menu .navbar-toggler i {
  color: #495057;
}

/* Footer */
footer.store-footer {
  position: static;
  margin-top: 48px;
  padding: 0;
  border: 0;
  background: #17212b;
  color: #b6c0ca;
}

.store-footer-cta {
  background: #1f2b37;
  border-bottom: 1px solid #2b3947;
}

.store-footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
}

.store-footer-cta-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.store-footer-cta-text > i {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.18);
  color: #6cc4ea;
  font-size: 1.25rem;
  line-height: 52px;
  text-align: center;
}

.store-footer-cta-text strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.store-footer-cta-text span {
  display: block;
  color: #9aa5b1;
  font-size: 0.9rem;
}

footer.store-footer .store-footer-cta .btn {
  flex: 0 0 auto;
  padding: 11px 26px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.store-footer-main {
  display: flex;
  gap: 56px;
  padding: 48px 0 40px;
}

.store-footer-brand {
  flex: 0 0 300px;
  max-width: 300px;
}

footer.store-footer .store-footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.store-footer-logo img {
  height: 36px;
  width: auto;
  /* The logo is dark; it is shown in white on the dark footer */
  filter: brightness(0) invert(1);
}

.store-footer-brand p {
  margin-bottom: 18px;
  color: #9aa5b1;
  font-size: 0.9rem;
  line-height: 1.6;
}

footer.store-footer .store-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  color: #cbd2d9;
  font-size: 0.9rem;
}

.store-footer-contact i {
  flex: 0 0 16px;
  margin-top: 4px;
  color: #6cc4ea;
  font-size: 0.85rem;
  text-align: center;
}

footer.store-footer .store-footer-contact a {
  color: #cbd2d9;
}

.store-footer-links {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}

footer.store-footer h5 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
}

footer.store-footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--bs-primary);
}

footer.store-footer .store-footer-col li {
  margin-bottom: 10px;
}

footer.store-footer a {
  color: #9aa5b1;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
}

footer.store-footer a:hover {
  color: #fff;
}

footer.store-footer .store-footer-col a:hover {
  padding-left: 4px;
}

.store-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 0;
  padding: 20px 0;
  border-top: 1px solid #2b3947;
  color: #7b8794;
  font-size: 0.85rem;
  text-align: left;
}

.store-footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-footer-payments > span:first-child {
  margin-right: 6px;
}

.store-footer-payments > span:first-child i {
  margin-right: 6px;
  color: #51cf66;
  font-size: 0.8rem;
}

.store-footer-payments > i {
  color: #cbd2d9;
  font-size: 1.75rem;
}

.store-footer-payment {
  padding: 4px 10px;
  border: 1px solid #3b4a5a;
  border-radius: 6px;
  color: #cbd2d9;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .store-footer-main {
    flex-direction: column;
    gap: 32px;
    padding: 36px 0 28px;
  }
  .store-footer-brand {
    flex-basis: auto;
    max-width: none;
  }
}
@media (max-width: 767px) {
  .store-footer-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .store-footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .store-header-row {
    flex-wrap: wrap;
  }
  .store-header #logo {
    flex: 1 1 auto;
    text-align: left;
  }
  .store-header #logo img {
    max-width: 130px;
    height: 32px;
  }
  .store-header-search {
    flex: 0 0 100%;
    order: 3;
  }
  .store-header-actions {
    gap: 14px;
  }
  .store-action span,
  .store-cart-button span {
    display: none;
  }
  .store-cart-button {
    padding: 0 14px;
  }
  .store-cart-button i {
    margin-right: 0;
  }
  .store-cart-button.dropdown-toggle::after {
    display: none;
  }
}
/* Category page */
.category-head {
  margin-bottom: 18px;
}

.category-head h1 {
  margin-bottom: 6px;
  font-size: 1.75rem;
  font-weight: 700;
}

.category-description {
  color: #6c757d;
}

.category-description p:last-child {
  margin-bottom: 0;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.category-chip {
  padding: 7px 16px;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  background: #fff;
  color: #343a40;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.category-chip:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}

.category-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

.category-results {
  color: #6c757d;
  font-size: 0.85rem;
}

.category-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.category-compare {
  color: #495057;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}

.category-compare:hover {
  color: var(--bs-primary);
}

.category-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-select label {
  color: #6c757d;
  font-size: 0.85rem;
  white-space: nowrap;
}

.category-select .form-select {
  width: auto;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  border-color: #dfe3e8;
  border-radius: 8px;
  font-size: 0.88rem;
}

.category-pagination {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.category-pagination .pagination {
  margin: 0;
}

.category-empty {
  padding: 56px 24px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  color: #6c757d;
  text-align: center;
}

.category-empty i {
  margin-bottom: 14px;
  color: #ced4da;
  font-size: 2.4rem;
}

.category-menu {
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.category-menu-title {
  padding: 14px 16px;
  border-bottom: 1px solid #eef0f3;
  font-weight: 600;
}

.category-menu-item {
  display: block;
  padding: 10px 16px;
  border-left: 3px solid transparent;
  color: #495057;
  font-size: 0.92rem;
  text-decoration: none;
}

.category-menu-item:hover {
  background: #f8f9fb;
  color: var(--bs-primary);
}

.category-menu-item.active {
  border-left-color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.06);
  color: var(--bs-primary);
  font-weight: 600;
}

.category-menu-child {
  padding-left: 32px;
  font-size: 0.88rem;
}

.category-menu-child.active {
  background: none;
}

@media (max-width: 575px) {
  .category-controls {
    width: 100%;
    justify-content: space-between;
  }
  .category-compare {
    flex: 0 0 100%;
  }
}
/* Remaining pages: search, brands, status, information, contact, compare, tables */
.search-form .form-control,
.search-form .form-select {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .search-form-button {
    padding-top: 29px;
  }
}
.search-form .btn {
  padding: 0.62rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.brand-group {
  margin-bottom: 28px;
}

.brand-letter {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f3;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 22px 16px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  color: #212529;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.brand-tile:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  color: #212529;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #f8f9fb;
  color: var(--bs-primary);
  font-size: 1.8rem;
  font-weight: 700;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-name {
  font-weight: 600;
}

.brand-count {
  color: #6c757d;
  font-size: 0.82rem;
}

.status-card {
  max-width: 620px;
  margin: 24px auto;
  padding: 48px 32px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.status-card h1 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.status-text {
  margin-bottom: 24px;
  color: #6c757d;
}

.status-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 76px;
}

.status-success {
  background: rgba(var(--bs-success-rgb), 0.12);
  color: var(--bs-success);
}

.status-muted {
  background: #f1f3f5;
  color: #868e96;
}

.status-card .btn-lg {
  padding: 0.7rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.content-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  line-height: 1.7;
}

.content-card h1 {
  margin-bottom: 20px;
  font-size: 1.75rem;
  font-weight: 700;
}

#information-contact #content > h1,
#information-sitemap #content > h1,
#product-search #content > h1,
#product-special #content > h1,
#product-manufacturer #content > h1,
#product-compare #content > h1 {
  margin-bottom: 20px;
  font-size: 1.75rem;
  font-weight: 700;
}

#information-contact #content > h3 {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

#information-contact #content .card {
  border-color: #e3e6ea;
  border-radius: 12px;
}

#information-contact #content .card-body {
  padding: 24px;
}

#information-contact #content > form {
  margin: 0 0 20px;
  padding: 24px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

#information-contact #content legend {
  float: none;
  margin: 4px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef0f3;
  font-size: 1.05rem;
  font-weight: 600;
}

#information-contact #content .form-control {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}

[id^=account-] #content .table-responsive {
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

[id^=account-] #content .table-responsive {
  margin-bottom: 20px;
  padding: 8px 16px;
}

[id^=account-] #content > .table-responsive {
  padding: 8px 16px;
}

[id^=account-] #content .table-responsive .table {
  margin-bottom: 0;
}

[id^=account-] #content .table-bordered > :not(caption) > * > * {
  border-width: 0 0 1px;
}

[id^=account-] #content .table-bordered > tbody > tr:last-child > * {
  border-bottom: 0;
}

.pagination {
  gap: 6px;
}

.pagination .page-link {
  min-width: 38px;
  border: 1px solid #dfe3e8;
  border-radius: 8px !important;
  color: #495057;
  text-align: center;
}

.pagination .active > .page-link {
  border-color: var(--bs-primary);
  background: var(--bs-primary);
  color: #fff;
}

/* Orders */
.order-card {
  margin-bottom: 14px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.order-card:hover {
  border-color: #cfd6dd;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.order-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #eef0f3;
  background: #f8f9fb;
}

.order-card-number {
  margin-right: 14px;
  font-weight: 700;
}

.order-card-date {
  color: #6c757d;
  font-size: 0.88rem;
}

.order-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #495057;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.order-status-success {
  background: rgba(var(--bs-success-rgb), 0.14);
  color: var(--bs-success-text-emphasis, var(--bs-success));
}

.order-status-info {
  background: rgba(var(--bs-info-rgb), 0.14);
  color: var(--bs-info-text-emphasis, var(--bs-info));
}

.order-status-warning {
  background: rgba(var(--bs-warning-rgb), 0.14);
  color: var(--bs-warning-text-emphasis, var(--bs-warning));
}

.order-status-danger {
  background: rgba(var(--bs-danger-rgb), 0.14);
  color: var(--bs-danger-text-emphasis, var(--bs-danger));
}

.order-card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 16px 20px;
}

.order-card-products {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
}

.order-card-products img,
.order-card-more {
  width: 56px;
  height: 56px;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.order-card-more {
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 54px;
  text-align: center;
}

.order-card-summary {
  text-align: right;
}

.order-card-count {
  color: #6c757d;
  font-size: 0.85rem;
}

.order-card-total {
  font-size: 1.1rem;
  font-weight: 700;
}

.order-card-button {
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.order-info-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 20px;
}

.order-info-head h1 {
  margin-bottom: 4px;
  font-size: 1.6rem;
  font-weight: 700;
}

.order-box {
  padding: 20px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

.order-box-title {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.order-box-title i {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 0.8rem;
  line-height: 30px;
  text-align: center;
}

.order-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f3;
}

.order-item-image {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  overflow: hidden;
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-item-info {
  flex: 1 1 200px;
  min-width: 0;
}

.order-item-name {
  color: #212529;
  font-weight: 600;
  text-decoration: none;
}

.order-item-name:hover {
  color: var(--bs-primary);
}

.order-item-total {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
}

.order-item-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.order-item-actions .btn {
  border-radius: 8px;
}

.order-totals {
  max-width: 340px;
  margin: 16px 0 0 auto;
}

.order-totals > div {
  padding: 4px 0;
}

.order-totals dt {
  color: #6c757d;
  font-weight: 400;
}

.order-totals .order-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e3e6ea;
  font-size: 1.15rem;
}

.order-totals .order-total dt,
.order-totals .order-total dd {
  color: #212529;
  font-weight: 700;
}

.order-timeline li {
  position: relative;
  padding: 0 0 18px 26px;
  border-left: 2px solid #e3e6ea;
  margin-left: 6px;
}

.order-timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.order-timeline li:before {
  position: absolute;
  top: 3px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--bs-primary);
  box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.25);
  content: "";
}

.order-timeline-status {
  font-weight: 600;
}

.order-timeline-date {
  color: #6c757d;
  font-size: 0.85rem;
}

.order-timeline-comment {
  margin-top: 4px;
  color: #495057;
  font-size: 0.9rem;
}

@media (max-width: 575px) {
  .order-card-summary {
    flex: 1 1 auto;
    text-align: left;
  }
  .order-card-products {
    flex-basis: 100%;
  }
}
/* Address book */
.address-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 20px;
}

.address-head h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.address-head .btn {
  border-radius: 8px;
  font-weight: 600;
}

.address-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

.address-card-default {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 1px var(--bs-primary);
}

.address-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.address-card-name {
  font-weight: 600;
}

.address-card-name i {
  margin-right: 6px;
  color: var(--bs-primary);
}

.address-card-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.address-card-body {
  flex: 1;
  margin-bottom: 16px;
  color: #495057;
  font-size: 0.92rem;
  line-height: 1.6;
}

.address-card-actions {
  display: flex;
  gap: 8px;
}

.address-card-actions .btn {
  border-radius: 8px;
}

/* District list sits where the text field was */
.form-control.d-none + .form-select {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}

.form-control.is-invalid.d-none + .form-select {
  border-color: var(--bs-danger);
}

.address-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.address-card-type {
  background: #f1f3f5;
  color: #495057;
}

.address-card-type i {
  margin-right: 4px;
  font-size: 0.7rem;
}

.address-card-corporate {
  background: rgba(var(--bs-warning-rgb), 0.18);
  color: #8a6100;
}

/* Product options as swatches: colour tiles with their image, sizes as pills */
#product-info #form-product div[id^=input-option-] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#product-info #form-product div[id^=input-option-] .form-check {
  margin: 0;
  padding: 0;
}

#product-info #form-product div[id^=input-option-] .form-check-input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#product-info #form-product div[id^=input-option-] .form-check-input[type=radio] + .form-check-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 52px;
  padding: 8px 14px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

#product-info #form-product div[id^=input-option-] .form-check-label:hover {
  border-color: #b9c2cc;
}

#product-info #form-product div[id^=input-option-] .form-check-input[type=radio]:checked + .form-check-label {
  border-color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.05);
  box-shadow: 0 0 0 1px var(--bs-primary);
}

#product-info #form-product div[id^=input-option-] .form-check-input[type=radio]:focus-visible + .form-check-label {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.5);
  outline-offset: 2px;
}

#product-info #form-product div[id^=input-option-] .form-check-label img {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
}

#product-info #form-product > hr {
  display: none;
}

#product-info #form-product h3 {
  display: none;
}

#product-info #form-product .form-label {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Sold out option values stay visible but cannot be chosen */
#product-info #form-product div[id^=input-option-] .form-check-input[type=radio]:disabled + .form-check-label {
  border-style: dashed;
  background: #f8f9fb;
  color: #adb5bd;
  text-decoration: line-through;
  cursor: not-allowed;
}

#product-info #form-product div[id^=input-option-] .form-check-input[type=radio]:disabled + .form-check-label img {
  opacity: 0.35;
}

.content-card h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.content-card li {
  margin-bottom: 6px;
}

/* Newsletter page */
[id^=account-] #content > form.newsletter-card {
  max-width: 640px;
  padding: 28px;
}

.newsletter-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.newsletter-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 1.4rem;
  line-height: 56px;
  text-align: center;
}

.newsletter-title {
  margin-bottom: 2px;
  font-size: 1.1rem;
  font-weight: 600;
}

.newsletter-benefits {
  margin-bottom: 20px;
}

.newsletter-benefits li {
  padding: 6px 0;
  color: #495057;
  font-size: 0.92rem;
}

.newsletter-benefits i {
  width: 26px;
  color: var(--bs-primary);
}

.newsletter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  background: #f8f9fb;
  cursor: pointer;
}

.newsletter-toggle-title {
  display: block;
  font-weight: 600;
}

.newsletter-toggle-email {
  display: block;
  color: #6c757d;
  font-size: 0.85rem;
}

.newsletter-toggle .form-check-input {
  cursor: pointer;
}

.newsletter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.newsletter-actions .btn {
  padding: 0.6rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
}

/* Wish list */
.wishlist-card .product-actions .wishlist-remove {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid #e3e6ea;
  border-radius: 50%;
  background: #fff;
  color: #868e96;
  font-size: 0.85rem;
  line-height: 32px;
  text-align: center;
}

.wishlist-card .product-actions .wishlist-remove:hover {
  border-color: var(--bs-danger);
  color: var(--bs-danger);
}

.wishlist-meta {
  margin-bottom: 6px;
  color: #6c757d;
  font-size: 0.82rem;
}

/* Return request form */
.return-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.return-form fieldset {
  margin-bottom: 20px;
}

.return-form .required > .form-label:before {
  content: "* ";
  color: #f00;
  font-weight: bold;
}

/* Radio choices shown as selectable pills */
.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pills .form-check {
  margin: 0;
  padding: 0;
}

.choice-pills .form-check-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pills .form-check-label {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

.choice-pills .form-check-label:hover {
  border-color: #b9c2cc;
}

.choice-pills .form-check-input:checked + .form-check-label {
  border-color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.05);
  box-shadow: 0 0 0 1px var(--bs-primary);
  font-weight: 600;
}

.choice-pills .form-check-input:focus-visible + .form-check-label {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.5);
  outline-offset: 2px;
}

/* Products with a return request are shown faded */
.order-card-products img.order-returned {
  opacity: 0.35;
  filter: grayscale(1);
}

.order-item-returned .order-item-image,
.order-item-returned .order-item-name,
.order-item-returned .order-item-info > ul,
.order-item-returned .order-item-total {
  opacity: 0.45;
}

.order-item-returned .order-item-image img {
  filter: grayscale(1);
}

.order-returned-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #495057;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Account details and password forms */
[id^=account-] #content > form.account-form {
  max-width: 720px;
  padding: 28px;
}

[id^=account-] #content > form.account-form-narrow {
  max-width: 520px;
}

/* Stock rows (label beside the field) become stacked fields in two columns */
.account-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.account-form fieldset > .row {
  display: block;
  margin-right: 0;
  margin-left: 0;
}

.account-form fieldset > .row > * {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.account-form fieldset > .row > label {
  padding-top: 0;
  padding-bottom: 4px;
}

.account-form .required > .form-label:before {
  content: "* ";
  color: #f00;
  font-weight: bold;
}

/* Password field with the show/hide button inside it */
.password-field {
  position: relative;
}

[id^=account-] #content .password-field .form-control {
  padding-right: 46px;
}

/* The eye takes the place of the validation icon */
.password-field .form-control.is-invalid {
  background-image: none;
}

.password-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 44px;
  padding: 0;
  border: 0;
  border-radius: 0 7px 7px 0;
  background: none;
  color: #868e96;
}

.password-toggle:hover {
  color: var(--bs-primary);
}

@media (max-width: 575px) {
  .account-form fieldset {
    grid-template-columns: 1fr;
  }
}
/* Contact page */
.contact-form .required > .form-label:before {
  content: "* ";
  color: #f00;
  font-weight: bold;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e3e6ea;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list li > i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--bs-primary);
  font-size: 0.85rem;
  line-height: 34px;
  text-align: center;
}

.contact-label {
  color: #6c757d;
  font-size: 0.8rem;
}

.contact-list a {
  text-decoration: none;
}

.contact-image {
  max-width: 100%;
  margin-bottom: 14px;
  border-radius: 10px;
}

/* Sitemap page */
.sitemap-card {
  padding: 24px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

.sitemap-title {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 600;
}

.sitemap-title i {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 0.85rem;
  line-height: 32px;
  text-align: center;
}

.sitemap-heading {
  display: block;
  margin-bottom: 6px;
  color: #212529;
  font-weight: 600;
  text-decoration: none;
}

.sitemap-list li {
  margin-bottom: 6px;
}

.sitemap-list a {
  color: #495057;
  font-size: 0.92rem;
  text-decoration: none;
}

.sitemap-heading:hover,
.sitemap-list a:hover {
  color: var(--bs-primary);
}

.sitemap-sublist {
  margin: 6px 0 0 14px;
}

/* Product comparison */
.compare-card {
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #eef0f3;
  vertical-align: top;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table th {
  width: 170px;
  min-width: 140px;
  color: #6c757d;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
}

.compare-table td {
  min-width: 200px;
  border-left: 1px solid #eef0f3;
}

.compare-table .compare-product {
  position: relative;
  padding: 22px 18px;
  text-align: center;
}

.compare-product img {
  width: 110px;
  height: 110px;
  margin-bottom: 10px;
  object-fit: contain;
}

.compare-name {
  display: block;
  margin-bottom: 4px;
  color: #212529;
  font-weight: 600;
  text-decoration: none;
}

.compare-name:hover {
  color: var(--bs-primary);
}

.compare-price {
  margin-bottom: 12px;
}

.compare-price .price-new {
  font-weight: 700;
}

.compare-price .price-old {
  margin-left: 4px;
  font-size: 0.85rem;
}

.compare-product .btn {
  border-radius: 8px;
  font-weight: 600;
}

.compare-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid #e3e6ea;
  border-radius: 50%;
  color: #868e96;
  font-size: 0.8rem;
  line-height: 28px;
}

.compare-remove:hover {
  border-color: var(--bs-danger);
  color: var(--bs-danger);
}

.compare-table .compare-group th {
  width: auto;
  background: #f8f9fb;
  color: #212529;
  font-weight: 600;
}

/* Specials page */
.special-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 20px;
  padding: 22px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--bs-danger-rgb), 0.1), rgba(var(--bs-warning-rgb), 0.14));
}

.special-head h1 {
  margin: 0 0 2px;
  font-size: 1.6rem;
  font-weight: 700;
}

#product-special #content .special-head p {
  color: #495057;
}

.special-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--bs-danger);
  font-size: 1.3rem;
  line-height: 56px;
  text-align: center;
}

.special-count {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--bs-danger);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Search page */
.search-head {
  margin-bottom: 18px;
}

#product-search #content .search-head h1 {
  margin-bottom: 4px;
  font-size: 1.6rem;
  font-weight: 700;
}

.search-bar {
  padding: 16px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

.search-bar-row {
  display: flex;
  gap: 10px;
}

.search-bar-input {
  position: relative;
  flex: 1 1 auto;
}

.search-bar-input i {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #adb5bd;
  transform: translateY(-50%);
}

.search-bar-input .form-control {
  height: 46px;
  padding-left: 40px;
  border-color: #dfe3e8;
  border-radius: 10px;
}

.search-bar .form-select {
  flex: 0 0 220px;
  width: 220px;
  height: 46px;
  border-color: #dfe3e8;
  border-radius: 10px;
}

.search-bar .btn {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 600;
}

.search-bar-options {
  margin-top: 12px;
  color: #6c757d;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .search-bar-row {
    flex-wrap: wrap;
  }
  .search-bar-input {
    flex-basis: 100%;
  }
  .search-bar .form-select {
    flex: 1 1 auto;
    width: auto;
  }
}
/* Home page */
#common-home {
  padding-top: 20px;
}

/* Carousels (Owl Carousel) */
.store-slider.owl-carousel,
.home-carousel.owl-carousel {
  display: block;
  position: relative;
}

.store-slider {
  margin-bottom: 20px;
  border-radius: 16px;
  background: #f1f3f5;
}

.store-slider .owl-stage-outer {
  border-radius: 16px;
}

.store-slider:not(.owl-loaded) {
  overflow: hidden;
}

.store-slider:not(.owl-loaded) .store-slide:not(:first-child) {
  display: none;
}

.store-slider .store-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.store-slider.store-slider-multi {
  padding: 14px;
  border: 1px solid #e3e6ea;
  background: #fff;
}

.store-slider.store-slider-multi .store-slide img {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.store-slider.owl-carousel .owl-nav button.owl-prev,
.store-slider.owl-carousel .owl-nav button.owl-next,
.home-carousel.owl-carousel .owl-nav button.owl-prev,
.home-carousel.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid #e3e6ea;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  color: #212529;
  font-size: 0.9rem;
  line-height: 40px;
  text-align: center;
  transform: translateY(-50%);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}

.store-slider.owl-carousel .owl-nav button.owl-prev:hover,
.store-slider.owl-carousel .owl-nav button.owl-next:hover,
.home-carousel.owl-carousel .owl-nav button.owl-prev:hover,
.home-carousel.owl-carousel .owl-nav button.owl-next:hover {
  border-color: var(--bs-primary);
  background: var(--bs-primary);
  color: #fff;
}

.store-slider.owl-carousel .owl-nav button.owl-prev {
  left: 16px;
}

.store-slider.owl-carousel .owl-nav button.owl-next {
  right: 16px;
}

.home-carousel.owl-carousel .owl-nav button.owl-prev {
  left: -16px;
}

.home-carousel.owl-carousel .owl-nav button.owl-next {
  right: -16px;
}

.store-slider .owl-nav.disabled,
.home-carousel .owl-nav.disabled,
.store-slider .owl-dots.disabled {
  display: none;
}

.home-carousel.owl-carousel .owl-nav button.disabled {
  opacity: 0;
  pointer-events: none;
}

.store-slider .owl-dots {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.store-slider .owl-dots .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #212529;
  opacity: 0.25;
  transition: width 0.2s, opacity 0.2s;
}

.store-slider .owl-dots .owl-dot.active span {
  width: 24px;
  opacity: 0.8;
}

/* Tiles are laid out in a row until the carousel script takes over */
.home-carousel:not(.owl-loaded) {
  display: flex;
  gap: 16px;
  overflow: hidden;
}

.home-carousel:not(.owl-loaded) > * {
  flex: 0 0 calc((100% - 80px) / 6);
}

.home-carousel .owl-stage {
  display: flex;
}

.home-carousel .owl-item {
  display: flex;
  flex: 0 0 auto;
}

.home-carousel .owl-stage-outer {
  margin: -6px;
  padding: 6px;
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 36px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

.home-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.home-benefit + .home-benefit {
  border-left: 1px solid #eef0f3;
}

.home-benefit i {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  font-size: 1.05rem;
  line-height: 44px;
  text-align: center;
}

.home-benefit strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.home-benefit span {
  display: block;
  color: #6c757d;
  font-size: 0.82rem;
}

.home-section {
  margin-bottom: 40px;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.home-section-head a {
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.home-section-head a i {
  margin-left: 4px;
  font-size: 0.75rem;
}

.home-category {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #fff;
  color: #212529;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.home-category:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  color: var(--bs-primary);
  transform: translateY(-3px);
}

.home-category-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  padding: 18px;
  background: #f6f7f9;
}

.home-carousel .home-category-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.25s;
}

.home-category:hover .home-category-image img {
  transform: scale(1.06);
}

.home-category-name {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 12px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
}

.home-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  padding: 20px 24px;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #fff;
  color: #495057;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.home-brand:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  color: var(--bs-primary);
}

.home-carousel .home-brand img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 1199px) {
  .home-carousel.owl-carousel .owl-nav button.owl-prev {
    left: 6px;
  }
  .home-carousel.owl-carousel .owl-nav button.owl-next {
    right: 6px;
  }
}
@media (max-width: 991px) {
  .home-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-benefit:nth-child(3) {
    border-left: 0;
  }
  .home-benefit:nth-child(n+3) {
    border-top: 1px solid #eef0f3;
  }
  .home-carousel:not(.owl-loaded) > * {
    flex-basis: calc((100% - 32px) / 3);
  }
}
@media (max-width: 575px) {
  .home-benefit {
    flex-direction: column;
    gap: 8px;
    padding: 16px 10px;
    text-align: center;
  }
  .store-slider.owl-carousel .owl-nav button.owl-prev,
  .store-slider.owl-carousel .owl-nav button.owl-next,
  .home-carousel.owl-carousel .owl-nav button.owl-prev,
  .home-carousel.owl-carousel .owl-nav button.owl-next {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    line-height: 30px;
  }
  .store-slider.owl-carousel .owl-nav button.owl-prev {
    left: 8px;
  }
  .store-slider.owl-carousel .owl-nav button.owl-next {
    right: 8px;
  }
  .store-slider .owl-dots {
    bottom: 6px;
  }
  .home-category-image {
    padding: 12px;
  }
  .home-category-name {
    min-height: 48px;
    font-size: 0.85rem;
  }
  .home-brand {
    height: 88px;
    padding: 14px;
    font-size: 0.95rem;
  }
}
/* Category menu bar */
.store-nav {
  margin-bottom: 24px;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.03);
}

.store-nav #menu {
  margin-bottom: 0;
  border-bottom: 0;
}

.store-nav #navbar-menu {
  justify-content: space-between;
}

#menu .navbar-nav > li > a.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 14px;
  color: #343a40;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.15s;
}

#menu .navbar-nav:first-child > li:first-child > a.nav-link {
  padding-left: 0;
}

#menu .navbar-nav > li > a.nav-link::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--bs-primary);
  transform: scaleX(0);
  transition: transform 0.2s;
}

#menu .navbar-nav:first-child > li:first-child > a.nav-link::before {
  left: 0;
}

#menu .navbar-nav > li > a.nav-link:hover,
#menu .navbar-nav > li.dropdown:hover > a.nav-link,
#menu .navbar-nav > li > a.nav-link.active,
#menu .navbar-nav > li > a.nav-link.show {
  color: var(--bs-primary);
}

#menu .navbar-nav > li > a.nav-link:hover::before,
#menu .navbar-nav > li.dropdown:hover > a.nav-link::before,
#menu .navbar-nav > li > a.nav-link.active::before,
#menu .navbar-nav > li > a.nav-link.show::before {
  transform: scaleX(1);
}

#menu .dropdown-toggle::after {
  margin: 0;
  border: 0;
  content: "\f078";
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-size: 0.6rem;
  font-weight: 900;
  opacity: 0.55;
  transition: transform 0.2s;
}

#menu .dropdown:hover > .dropdown-toggle::after,
#menu .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

#menu .store-nav-extra > li > a.nav-link i {
  font-size: 0.82rem;
}

#menu .store-nav-extra > li > a.store-nav-special {
  color: #e03131;
}

#menu .store-nav-extra > li > a.store-nav-special:hover,
#menu .store-nav-extra > li > a.store-nav-special.active {
  color: #c92a2a;
}

#menu .store-nav-extra > li > a.store-nav-special::before {
  background: #e03131;
}

#menu .store-nav-extra > li:last-child > a.nav-link {
  padding-right: 0;
}

#menu .store-nav-extra > li:last-child > a.nav-link::before {
  right: 0;
}

#menu .dropdown-menu {
  min-width: 230px;
  margin-top: 0;
  padding: 10px;
  border: 1px solid #e3e6ea;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

#menu .dropdown-menu .dropdown-item {
  padding: 9px 12px;
  border-radius: 8px;
  color: #343a40;
  font-size: 0.9rem;
  font-weight: 500;
}

#menu .dropdown-menu .dropdown-item:hover,
#menu .dropdown-menu .dropdown-item:focus {
  background: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--bs-primary);
}

#menu .dropdown-menu .store-nav-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
  border-radius: 0 0 8px 8px;
  color: var(--bs-primary);
  font-weight: 600;
}

#menu .dropdown-menu .store-nav-all i {
  font-size: 0.72rem;
}

#menu .navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 10px 0;
  padding: 11px 14px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #f8f9fb;
  color: #212529;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: none;
}

@media (max-width: 991px) {
  .store-nav {
    margin-bottom: 16px;
  }
  #menu .navbar-nav {
    width: 100%;
  }
  #menu .navbar-nav > li > a.nav-link,
  #menu .navbar-nav:first-child > li:first-child > a.nav-link,
  #menu .store-nav-extra > li:last-child > a.nav-link {
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid #f1f3f5;
  }
  #menu .store-nav-extra > li > a.nav-link,
  #menu .store-nav-extra > li:last-child > a.nav-link {
    justify-content: flex-start;
  }
  #menu .navbar-nav > li > a.nav-link::before {
    display: none;
  }
  #menu .store-nav-extra {
    margin-bottom: 10px;
  }
  #menu .dropdown-menu {
    margin: 4px 0 8px;
    border: 0;
    border-radius: 10px;
    background: #f8f9fb;
    box-shadow: none;
  }
}
/* Category page: hero, tiles, view switch */
.category-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 150px;
  margin-bottom: 20px;
  padding: 28px 32px;
  border-radius: 16px;
  background: linear-gradient(100deg, #eaf3fb 0%, #d5e6f6 100%);
  overflow: hidden;
}

.category-hero-text {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.category-hero h1 {
  margin: 0 0 8px;
  font-size: 1.85rem;
  font-weight: 800;
}

.category-hero .category-description {
  margin-bottom: 14px;
  color: #495866;
  font-size: 0.95rem;
}

.category-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #1c5f85;
  font-size: 0.82rem;
  font-weight: 600;
}

.category-count i {
  font-size: 0.75rem;
}

.category-hero > img {
  flex: 0 0 auto;
  width: 170px;
  height: 170px;
  margin: -28px 12px -28px 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.category-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.category-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  color: #212529;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.category-tile:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  color: #212529;
}

.category-tile-image {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: 10px;
  background: #f6f7f9;
}

.category-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.category-tile-text {
  flex: 1 1 auto;
  min-width: 0;
}

.category-tile-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

.category-tile-text small {
  color: #6c757d;
  font-size: 0.8rem;
}

.category-tile > i {
  color: #adb5bd;
  font-size: 0.7rem;
  transition: transform 0.15s, color 0.15s;
}

.category-tile:hover > i {
  color: var(--bs-primary);
  transform: translateX(3px);
}

.category-toolbar {
  padding: 10px 14px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

.category-results {
  color: #6c757d;
  font-size: 0.88rem;
}

.category-view {
  display: none;
  padding: 3px;
  border-radius: 9px;
  background: #f1f3f5;
}

.category-view button {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: #868e96;
  font-size: 0.85rem;
}

.category-view button.active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  color: var(--bs-primary);
}

@media (min-width: 960px) {
  .category-view {
    display: flex;
  }
  #category-products.product-list > .col {
    flex: 0 0 100%;
    width: 100%;
  }
  #category-products.product-list .product-thumb .image {
    flex: 0 0 220px;
  }
  #category-products.product-list .product-thumb .content {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
  }
  #category-products.product-list .product-thumb .description {
    flex: 1 1 auto;
  }
  #category-products.product-list .product-thumb .description p {
    display: block;
    -webkit-line-clamp: unset;
  }
  #category-products.product-list .product-thumb .button {
    flex: 0 0 200px;
  }
}
.category-menu-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.category-menu-title i {
  color: var(--bs-primary);
  font-size: 0.85rem;
}

.category-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background-color 0.15s, color 0.15s;
}

.category-menu-item small {
  flex: 0 0 auto;
  min-width: 26px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.category-menu-item.active small {
  background: rgba(var(--bs-primary-rgb), 0.14);
  color: var(--bs-primary);
}

@media (max-width: 575px) {
  .category-hero {
    min-height: 0;
    padding: 20px;
  }
  .category-hero h1 {
    font-size: 1.45rem;
  }
  .category-hero > img {
    width: 96px;
    height: 96px;
    margin: 0;
  }
  .category-tiles {
    grid-template-columns: 1fr;
  }
}
/* Cart page */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 4px 0 28px;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #868e96;
  font-size: 0.92rem;
  font-weight: 600;
}

.checkout-steps li + li::before {
  content: "";
  width: 56px;
  height: 2px;
  margin-right: 4px;
  border-radius: 2px;
  background: #dfe3e8;
}

.checkout-steps li span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid #dfe3e8;
  border-radius: 50%;
  background: #fff;
  font-size: 0.82rem;
}

.checkout-steps li.active {
  color: #212529;
}

.checkout-steps li.active span {
  border-color: var(--bs-primary);
  background: var(--bs-primary);
  color: #fff;
}

#checkout-cart .cart-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

#checkout-cart .cart-head h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
}

#checkout-cart .cart-count {
  color: #6c757d;
  font-size: 0.95rem;
}

#checkout-cart .cart-card {
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  background: #fff;
}

#checkout-cart .cart-items {
  padding: 4px 24px;
}

#checkout-cart .cart-title {
  margin-bottom: 14px;
  font-size: 1.15rem;
  font-weight: 700;
}

#checkout-cart .cart-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}

#checkout-cart .cart-item + .cart-item {
  border-top: 1px solid #eef0f3;
}

#checkout-cart .cart-item-image {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  padding: 8px;
  border-radius: 12px;
  background: #f6f7f9;
}

#checkout-cart .cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

#checkout-cart .cart-item-info {
  flex: 1 1 auto;
  min-width: 0;
}

#checkout-cart .cart-item-name {
  color: #212529;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

#checkout-cart .cart-item-name:hover {
  color: var(--bs-primary);
}

#checkout-cart .cart-item-model {
  margin-top: 2px;
  color: #868e96;
  font-size: 0.8rem;
}

#checkout-cart .cart-item-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}

#checkout-cart .cart-item-options li {
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #495057;
  font-size: 0.78rem;
}

#checkout-cart .cart-item-options strong {
  color: #212529;
  font-weight: 600;
}

#checkout-cart .cart-item-stock {
  display: inline-block;
  margin-top: 8px;
  color: var(--bs-danger);
  font-size: 0.82rem;
  font-weight: 600;
}

#checkout-cart .cart-item-quantity {
  flex: 0 0 auto;
}

#checkout-cart .cart-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

#checkout-cart .cart-stepper.is-invalid {
  border-color: var(--bs-danger);
}

#checkout-cart .cart-step {
  width: 36px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #495057;
  font-size: 0.75rem;
}

#checkout-cart .cart-step:hover {
  background: #f1f3f5;
  color: var(--bs-primary);
}

#checkout-cart .cart-quantity {
  width: 42px;
  height: 40px;
  border: 0;
  background: transparent;
  font-weight: 700;
  text-align: center;
  outline: 0;
}

#checkout-cart .cart-item-total {
  flex: 0 0 130px;
  text-align: right;
  white-space: nowrap;
}

#checkout-cart .cart-item-total strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

#checkout-cart .cart-item-total small {
  color: #868e96;
  font-size: 0.78rem;
}

#checkout-cart .cart-remove {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #868e96;
  line-height: 38px;
  text-align: center;
  transition: background-color 0.15s, color 0.15s;
}

#checkout-cart .cart-remove:hover {
  background: #fdecec;
  color: var(--bs-danger);
}

#checkout-cart .cart-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #495057;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

#checkout-cart .cart-continue:hover {
  color: var(--bs-primary);
}

#checkout-cart .cart-continue i {
  font-size: 0.75rem;
}

#checkout-cart .cart-summary {
  position: sticky;
  top: 20px;
}

#checkout-cart .cart-totals > div {
  padding: 6px 0;
  font-size: 0.93rem;
}

#checkout-cart .cart-totals dt {
  color: #6c757d;
  font-weight: 400;
}

#checkout-cart .cart-totals dd {
  font-weight: 600;
}

#checkout-cart .cart-totals .cart-total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px dashed #dfe3e8;
  font-size: 1.3rem;
}

#checkout-cart .cart-totals .cart-total dt,
#checkout-cart .cart-totals .cart-total dd {
  color: #212529;
  font-weight: 800;
}

#checkout-cart .cart-modules .accordion-item {
  margin-bottom: 8px;
  border: 1px dashed #ced4da;
  border-radius: 10px;
  overflow: hidden;
}

#checkout-cart .cart-modules .accordion-button {
  padding: 12px 14px;
  background: #fff;
  box-shadow: none;
  color: #343a40;
  font-size: 0.9rem;
  font-weight: 600;
}

#checkout-cart .cart-modules .accordion-body {
  padding: 4px 14px 14px;
}

#checkout-cart .cart-modules .accordion-body .row > * {
  flex: 0 0 100%;
  max-width: 100%;
}

#checkout-cart .cart-modules .accordion-body .col-form-label {
  padding-top: 0;
  font-size: 0.875rem;
}

#checkout-cart .cart-checkout {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 700;
}

#checkout-cart .cart-secure {
  margin: 12px 0 0;
  color: #6c757d;
  font-size: 0.8rem;
  text-align: center;
}

#checkout-cart .cart-secure i {
  margin-right: 4px;
  color: #2f9e44;
}

#checkout-cart .cart-trust {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eef0f3;
}

#checkout-cart .cart-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  color: #495057;
  font-size: 0.85rem;
}

#checkout-cart .cart-trust i {
  flex: 0 0 18px;
  color: var(--bs-primary);
  font-size: 0.85rem;
  text-align: center;
}

#checkout-cart .cart-empty {
  padding: 64px 24px;
}

#checkout-cart .cart-empty-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 2.1rem;
  line-height: 92px;
}

@media (max-width: 991px) {
  #checkout-cart .cart-summary {
    position: static;
  }
}
@media (max-width: 575px) {
  .checkout-steps {
    gap: 8px;
  }
  .checkout-steps li {
    font-size: 0;
    gap: 0;
  }
  .checkout-steps li.active {
    gap: 8px;
    font-size: 0.88rem;
  }
  .checkout-steps li + li::before {
    width: 28px;
    margin-right: 8px;
  }
  #checkout-cart .cart-card {
    padding: 18px;
  }
  #checkout-cart .cart-items {
    padding: 0 16px;
  }
  #checkout-cart .cart-item {
    flex-wrap: wrap;
    gap: 12px;
  }
  #checkout-cart .cart-item-image {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }
  #checkout-cart .cart-item-info {
    flex-basis: calc(100% - 84px);
  }
  #checkout-cart .cart-item-total {
    flex: 1 1 auto;
  }
}
/* Checkout page */
.checkout-steps li.done {
  color: #495057;
}

.checkout-steps li.done span {
  border-color: #2f9e44;
  background: #2f9e44;
  color: #fff;
  font-size: 0.7rem;
}

.checkout-steps li.done + li::before {
  background: #2f9e44;
}

.checkout-steps li a {
  color: inherit;
  text-decoration: none;
}

.checkout-steps li a:hover {
  color: var(--bs-primary);
}

#checkout-checkout #content > h1 {
  margin-bottom: 18px;
  font-size: 1.7rem;
  font-weight: 700;
}

#checkout-checkout .checkout-main {
  counter-reset: checkout-step;
}

#checkout-checkout .checkout-card {
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  background: #fff;
}

#checkout-checkout .checkout-title {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 1.15rem;
  font-weight: 700;
}

#checkout-checkout .checkout-title i {
  margin-right: 10px;
  color: var(--bs-primary);
  font-size: 1rem;
}

/* The sections on the left are numbered in the order they are shown */
#checkout-checkout .checkout-main .checkout-card:not(.d-none) > .checkout-title::before {
  content: counter(checkout-step);
  counter-increment: checkout-step;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

#checkout-checkout .checkout-main .checkout-title i {
  display: none;
}

#checkout-checkout fieldset {
  margin: 0 0 8px;
}

#checkout-checkout legend {
  float: none;
  margin: 4px 0 12px;
  padding: 0;
  border: 0;
  color: #495057;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#checkout-checkout .form-label {
  margin-bottom: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

#checkout-checkout .form-control,
#checkout-checkout .form-select {
  padding: 0.65rem 0.85rem;
  border-color: #dfe3e8;
  border-radius: 10px;
}

#checkout-checkout .form-control:focus,
#checkout-checkout .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.12);
}

#checkout-checkout .input-group .form-control {
  border-radius: 0 10px 10px 0;
}

#checkout-checkout .input-group-text {
  border-color: #dfe3e8;
  border-radius: 10px 0 0 10px;
  background: #f8f9fb;
}

#checkout-checkout #button-register,
#checkout-checkout #button-shipping-address,
#checkout-checkout #button-payment-address {
  display: none;
}

#checkout-checkout .checkout-option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

#checkout-checkout .checkout-option:hover {
  border-color: #b9c2cc;
}

#checkout-checkout .checkout-option.active {
  border-color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.05);
  box-shadow: 0 0 0 1px var(--bs-primary);
}

#checkout-checkout .checkout-option input {
  flex: 0 0 auto;
  margin: 0;
}

#checkout-checkout .checkout-option-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f3f5;
  color: #495057;
  line-height: 38px;
  text-align: center;
}

#checkout-checkout .checkout-option.active .checkout-option-icon {
  background: rgba(var(--bs-primary-rgb), 0.14);
  color: var(--bs-primary);
}

#checkout-checkout .checkout-option-name {
  flex-grow: 1;
  font-weight: 600;
}

#checkout-checkout .checkout-option-price {
  font-weight: 700;
  white-space: nowrap;
}

#checkout-checkout .checkout-option-body {
  display: none;
  margin: -2px 0 12px;
  padding: 18px;
  border-radius: 12px;
  background: #f6f8fa;
}

#checkout-checkout .checkout-option-body.active {
  display: block;
}

#checkout-checkout .checkout-option-body .form-control {
  background: #fff;
}

#checkout-checkout .billing-hidden {
  display: none !important;
}

#checkout-checkout .billing-same {
  margin: 4px 0 16px;
  padding: 12px 14px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #f8f9fb;
}

#checkout-checkout .checkout-summary {
  position: sticky;
  top: 20px;
}

#checkout-checkout .checkout-summary .checkout-title a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

#checkout-checkout .checkout-item {
  padding: 12px 0;
  border-bottom: 1px solid #eef0f3;
}

#checkout-checkout .checkout-item:first-child {
  padding-top: 4px;
}

#checkout-checkout .checkout-item-image {
  position: relative;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  padding: 6px;
  border-radius: 10px;
  background: #f6f7f9;
}

#checkout-checkout .checkout-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

#checkout-checkout .checkout-item-quantity {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 11px;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

#checkout-checkout .checkout-item-name {
  color: #212529;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}

#checkout-checkout .checkout-item-name:hover {
  color: var(--bs-primary);
}

#checkout-checkout .checkout-totals > div {
  padding: 6px 0;
  font-size: 0.93rem;
}

#checkout-checkout .checkout-totals dt {
  color: #6c757d;
  font-weight: 400;
}

#checkout-checkout .checkout-totals dd {
  font-weight: 600;
}

#checkout-checkout .checkout-totals .checkout-total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px dashed #dfe3e8;
  font-size: 1.3rem;
}

#checkout-checkout .checkout-totals .checkout-total dt,
#checkout-checkout .checkout-totals .checkout-total dd {
  color: #212529;
  font-weight: 800;
}

#checkout-checkout #checkout-summary #checkout-payment {
  display: none;
}

#checkout-checkout #button-order {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 700;
}

#checkout-checkout .checkout-secure {
  margin: 12px 0 0;
  color: #6c757d;
  font-size: 0.8rem;
  text-align: center;
}

#checkout-checkout .checkout-secure i {
  margin-right: 4px;
  color: #2f9e44;
}

#checkout-checkout .checkout-trust {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eef0f3;
}

#checkout-checkout .checkout-trust li {
  flex: 1 1 0;
  color: #495057;
  font-size: 0.76rem;
  line-height: 1.3;
  text-align: center;
}

#checkout-checkout .checkout-trust i {
  display: block;
  margin: 0 auto 6px;
  color: var(--bs-primary);
  font-size: 1.05rem;
}

@media (max-width: 991px) {
  #checkout-checkout .checkout-summary {
    position: static;
  }
}
@media (max-width: 575px) {
  #checkout-checkout .checkout-card {
    padding: 18px;
  }
}
/* Order success page */
.order-success {
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 40px;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  background: #fff;
}

.order-success-head {
  text-align: center;
}

.order-success-head h1 {
  margin-bottom: 8px;
  font-size: 1.6rem;
  font-weight: 800;
}

.order-success-head p {
  margin-bottom: 16px;
  color: #6c757d;
}

.order-success-number {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: #343a40;
  font-size: 0.95rem;
}

.order-success-number strong {
  margin-left: 4px;
  color: var(--bs-primary);
  font-size: 1.05rem;
}

.order-success-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 28px 0 0;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #f8f9fb;
}

.order-success-facts > div {
  padding: 14px 18px;
}

.order-success-facts > div + div {
  border-left: 1px solid #e3e6ea;
}

.order-success-facts span {
  display: block;
  margin-bottom: 2px;
  color: #6c757d;
  font-size: 0.78rem;
}

.order-success-facts strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.order-success-bank {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px dashed #f0b429;
  border-radius: 14px;
  background: #fffaeb;
  font-size: 0.92rem;
}

.order-success-bank > strong {
  display: block;
  margin-bottom: 6px;
}

.order-success-bank i {
  margin-right: 8px;
  color: #cb6e17;
}

.order-success-bank small {
  display: block;
  margin-top: 8px;
  color: #6c757d;
}

.order-success-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 28px;
}

.order-success h2 {
  margin-bottom: 12px;
  color: #495057;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.order-success-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.order-success-item + .order-success-item {
  border-top: 1px solid #eef0f3;
}

.order-success-image {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 10px;
  background: #f6f7f9;
}

.order-success-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.order-success-image em {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 11px;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.order-success-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.93rem;
  font-weight: 600;
}

.order-success-name small {
  display: block;
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 400;
}

.order-success-item > strong {
  font-size: 0.93rem;
  white-space: nowrap;
}

.order-success-address {
  margin-bottom: 20px;
  color: #495057;
  font-size: 0.92rem;
  line-height: 1.5;
}

.order-success-address strong {
  display: block;
  color: #212529;
}

.order-success-totals {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f8f9fb;
}

.order-success-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 0.9rem;
}

.order-success-totals dt {
  color: #6c757d;
  font-weight: 400;
}

.order-success-totals dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.order-success-totals .order-success-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed #dfe3e8;
  font-size: 1.15rem;
}

.order-success-totals .order-success-total dt,
.order-success-totals .order-success-total dd {
  color: #212529;
  font-weight: 800;
}

.order-success-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 0;
}

.order-success-next li {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
}

.order-success-next i {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  line-height: 38px;
  text-align: center;
}

.order-success-next span {
  color: #6c757d;
  font-size: 0.8rem;
  line-height: 1.4;
}

.order-success-next strong {
  display: block;
  margin-bottom: 2px;
  color: #212529;
  font-size: 0.9rem;
}

.order-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.order-success-actions .btn-lg {
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.order-success-help {
  margin: 18px 0 0;
  color: #6c757d;
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 767px) {
  .order-success {
    padding: 24px 18px;
  }
  .order-success-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .order-success-facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-success-facts > div:nth-child(odd) {
    border-left: 0;
  }
  .order-success-facts > div:nth-child(n+3) {
    border-top: 1px solid #e3e6ea;
  }
  .order-success-next {
    grid-template-columns: 1fr;
  }
  .order-success-actions .btn-lg {
    flex: 1 1 100%;
  }
}
/* Checkout agreements */
#checkout-checkout .checkout-agree {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #f8f9fb;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: border-color 0.15s, background-color 0.15s;
}

#checkout-checkout .checkout-agree.is-invalid {
  border-color: var(--bs-danger);
  background: #fff5f5;
}

#checkout-checkout .checkout-agree a {
  font-weight: 600;
  text-decoration: underline;
}

#modal-agreement .modal-content {
  border: 0;
  border-radius: 16px;
}

#modal-agreement .modal-header,
#modal-agreement .modal-footer {
  padding: 16px 24px;
}

#modal-agreement .modal-title {
  font-size: 1.1rem;
  font-weight: 700;
}

#modal-agreement .modal-body {
  padding: 20px 24px;
}

#modal-agreement .modal-footer .btn {
  padding: 0.55rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
}

.agreement-doc {
  color: #343a40;
  font-size: 0.9rem;
  line-height: 1.65;
}

.agreement-doc h3 {
  margin: 22px 0 10px;
  color: #212529;
  font-size: 1rem;
  font-weight: 700;
}

.agreement-doc h3:first-child {
  margin-top: 0;
}

.agreement-doc em {
  color: #868e96;
}

.agreement-table {
  width: 100%;
  margin-bottom: 14px;
  border: 1px solid #e3e6ea;
  border-collapse: separate;
  border-radius: 10px;
  border-spacing: 0;
  font-size: 0.88rem;
  overflow: hidden;
}

.agreement-table th,
.agreement-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #eef0f3;
  text-align: left;
  vertical-align: top;
}

.agreement-table tr:last-child th,
.agreement-table tr:last-child td {
  border-bottom: 0;
}

.agreement-table thead th {
  background: #f6f8fa;
  font-weight: 600;
}

.agreement-table tbody th {
  width: 190px;
  background: #f8f9fb;
  color: #495057;
  font-weight: 600;
}

.agreement-table thead th:not(:first-child),
.agreement-table thead + tbody td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.agreement-table.agreement-totals td {
  text-align: right;
}

@media (max-width: 575px) {
  .agreement-table tbody th {
    width: 110px;
  }
}
/* Address form */
.account-form fieldset > .row.account-form-wide {
  grid-column: 1/-1;
}

.account-form .address-default {
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #f8f9fb;
}

.account-form .address-default .form-check-input {
  width: 2.4em;
  height: 1.25em;
  margin-top: 0.15em;
  cursor: pointer;
}

.account-form .address-default .form-check-label {
  margin-left: 6px;
  font-weight: 500;
  cursor: pointer;
}

.account-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #eef0f3;
}

.account-form-actions .btn {
  padding: 0.65rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
}

.account-form .choice-pills {
  margin-top: 2px;
}

.account-form fieldset > .row > label {
  text-align: left;
}

/* Counter feedback after adding to the wishlist or the comparison */
.store-action-bump {
  color: var(--bs-primary) !important;
  animation: store-action-bump 0.6s ease;
}

@keyframes store-action-bump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
/* Saved products: wishlist in red, comparison in the brand colour */
.product-thumb .product-actions button.product-action-wishlist.active,
#product-info .product-wishlist.active {
  border-color: #e03131;
  background: #fff5f5;
  color: #e03131;
}

/* The solid heart is the same icon in the heavier weight */
.product-thumb .product-actions button.product-action-wishlist.active i,
#product-info .product-wishlist.active i {
  font-weight: 900;
}

.product-thumb .product-actions button.product-action-compare.active {
  border-color: var(--bs-primary);
  background: var(--bs-primary);
  color: #fff;
}

#product-info .product-compare.active {
  color: var(--bs-primary);
  font-weight: 600;
}

/* Header search suggestions */
.store-header-search #header-search {
  position: relative;
  margin-bottom: 0;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 1050;
  max-height: 70vh;
  padding: 8px;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
  overflow-y: auto;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #212529;
  text-decoration: none;
}

.search-suggest-item:hover,
.search-suggest-item:focus {
  background: #f4f6f8;
  color: #212529;
  outline: 0;
}

.search-suggest-image {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 8px;
  background: #f6f7f9;
}

.search-suggest-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.search-suggest-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
}

.search-suggest-price {
  flex: 0 0 auto;
  font-size: 0.9rem;
  text-align: right;
  white-space: nowrap;
}

.search-suggest-price strong {
  display: block;
  font-weight: 700;
}

.search-suggest-price s {
  color: #868e96;
  font-size: 0.78rem;
}

.search-suggest-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 10px 8px;
  border-top: 1px solid #eef0f3;
  color: var(--bs-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.search-suggest-all:focus {
  outline: 0;
  text-decoration: underline;
}

.search-suggest-all i {
  font-size: 0.72rem;
}

.search-suggest-empty {
  padding: 22px 12px;
  color: #6c757d;
  font-size: 0.9rem;
  text-align: center;
}

.search-suggest-empty i {
  display: block;
  margin: 0 auto 8px;
  color: #ced4da;
  font-size: 1.3rem;
}

/* Login and register pages */
#account-login #content,
#account-register #content {
  max-width: 980px;
  margin: 0 auto;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  border: 1px solid #e3e6ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 40px;
  background: linear-gradient(150deg, #1c6f95 0%, #2199c7 55%, #4fb7dc 100%);
  color: #fff;
}

.auth-panel-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.4rem;
  line-height: 56px;
  text-align: center;
}

.auth-panel h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
}

.auth-panel p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-panel ul {
  margin: 0;
}

.auth-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.93rem;
  font-weight: 500;
}

.auth-panel li i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  line-height: 34px;
  text-align: center;
}

.auth-form {
  padding: 44px 44px 36px;
}

.auth-form h1 {
  margin-bottom: 6px;
  font-size: 1.6rem;
  font-weight: 800;
}

.auth-intro {
  margin-bottom: 24px;
  color: #6c757d;
  font-size: 0.93rem;
}

.auth-form .form-label,
[id^=account-] #content .auth-form .col-form-label {
  margin-bottom: 4px;
  color: #343a40;
  font-size: 0.875rem;
  font-weight: 600;
}

[id^=account-] #content .auth-form .form-control,
[id^=account-] #content .auth-form .form-select {
  padding: 0.7rem 0.9rem;
  border-color: #dfe3e8;
  border-radius: 10px;
}

[id^=account-] #content .auth-form .form-control:focus,
[id^=account-] #content .auth-form .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.12);
}

.auth-input {
  position: relative;
}

.auth-input > i {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  color: #adb5bd;
  font-size: 0.9rem;
  transform: translateY(-50%);
}

[id^=account-] #content .auth-form .auth-input .form-control {
  padding-left: 40px;
}

[id^=account-] #content .auth-form .password-field .form-control {
  padding-right: 46px;
}

.auth-link {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.auth-form .btn-lg {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
}

.auth-switch {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #eef0f3;
  color: #6c757d;
  font-size: 0.92rem;
  text-align: center;
}

.auth-switch a {
  font-weight: 700;
  text-decoration: none;
}

/* Register: one field takes the full row */
.auth-form .account-form fieldset.auth-single {
  grid-template-columns: minmax(0, 1fr);
}

.auth-form .account-form fieldset {
  margin-bottom: 0;
}

.auth-checks {
  margin: 4px 0 20px;
}

.auth-checks .form-check {
  padding: 4px 0 4px 1.7em;
  color: #495057;
  font-size: 0.88rem;
}

.auth-checks .form-check-input {
  margin-left: -1.7em;
}

.auth-checks a {
  font-weight: 600;
}

@media (max-width: 991px) {
  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-panel {
    padding: 28px 24px;
  }
  .auth-panel h2 {
    font-size: 1.3rem;
  }
  .auth-panel p {
    margin-bottom: 0;
  }
  .auth-panel ul {
    display: none;
  }
  .auth-form {
    padding: 28px 24px;
  }
}
/* The suggestion box sits inside the input group, which would square off its corners and the button's */
.store-header-search #header-search .search-suggest {
  margin-left: 0;
  border-radius: 14px;
}

.store-header-search #header-search .btn {
  border-radius: 0 10px 10px 0;
}

/* Forgotten password and reset pages: a single centred card */
.auth-card {
  max-width: 480px;
  margin: 8px auto 0;
  border: 1px solid #e3e6ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.06);
  text-align: left;
}

.auth-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 1.4rem;
  line-height: 60px;
  text-align: center;
}

.auth-steps {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f6f8fa;
}

.auth-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  color: #495057;
  font-size: 0.86rem;
}

.auth-steps span {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #dfe3e8;
  color: var(--bs-primary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

@media (max-width: 575px) {
  .auth-card.auth-form {
    padding: 28px 20px;
  }
}
/* Account page */
.account-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 26px 28px;
  border-radius: 18px;
  background: linear-gradient(120deg, #1c6f95 0%, #2199c7 60%, #4fb7dc 100%);
  color: #fff;
}

.account-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
}

.account-hero-text {
  flex: 1 1 auto;
  min-width: 0;
}

#account-account .account-hero h1 {
  margin: 0 0 2px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.account-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.account-hero-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.account-hero-actions .btn {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.account-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #fff;
  color: #6c757d;
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.account-stat:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  color: #6c757d;
}

.account-stat i {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  line-height: 42px;
  text-align: center;
}

.account-stat strong {
  display: block;
  color: #212529;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.account-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.account-panel {
  padding: 20px 22px;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  background: #fff;
}

.account-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.account-panel-head h2,
.account-section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.account-section-title {
  margin-bottom: 14px;
}

.account-panel-head a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.account-panel-head a i {
  margin-left: 4px;
  font-size: 0.7rem;
}

.account-order {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: #212529;
  text-decoration: none;
}

.account-order + .account-order {
  border-top: 1px solid #eef0f3;
}

.account-order:hover {
  color: var(--bs-primary);
}

.account-order-id {
  flex: 1 1 auto;
  min-width: 0;
}

.account-order-id strong {
  display: block;
  font-size: 0.95rem;
}

.account-order-id small {
  color: #868e96;
  font-size: 0.8rem;
}

.account-order-total {
  flex: 0 0 auto;
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
}

.account-order > i {
  color: #ced4da;
  font-size: 0.7rem;
}

.account-address {
  display: flex;
  gap: 12px;
  padding: 10px 0 4px;
  color: #495057;
  font-size: 0.92rem;
  line-height: 1.5;
}

.account-address i {
  margin-top: 4px;
  color: var(--bs-primary);
}

.account-address strong {
  display: block;
  color: #212529;
}

.account-empty {
  padding: 22px 8px 10px;
  color: #6c757d;
  font-size: 0.92rem;
  text-align: center;
}

.account-empty i {
  margin-bottom: 10px;
  color: #ced4da;
  font-size: 1.8rem;
}

.account-empty .btn {
  padding: 0.5rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
}

.account-tile span {
  min-width: 0;
}

.account-tile strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.account-tile small {
  display: block;
  color: #868e96;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-panels {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 575px) {
  .account-hero {
    flex-wrap: wrap;
    padding: 20px;
  }
  .account-hero-actions {
    flex: 0 0 100%;
  }
  .account-order .order-status {
    display: none;
  }
}
/* Login and register use the single card as well */
.auth-card.auth-card-wide {
  max-width: 560px;
}

#account-login #content,
#account-register #content {
  max-width: none;
}