body {
  width: 100%;
  height: 100%;
  padding-top: 88px;
  overflow-x: hidden;
}

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%;
}

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

#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

#alert .alert {
  margin-bottom: 15px;
}

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

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

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

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

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

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

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

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

/* top */
#top {
  background-color: var(--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 {
  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 {
  position: static;
  width: 100%;
  padding-top: 0;
  background-color: transparent;
  color: inherit;
}

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 {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}

.product-thumb .image {
  text-align: center;
}

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

.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}

.product-thumb .description h4 {
  font-weight: bold;
}

.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}

.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}

.product-thumb .button button+button {
  border-left: 1px solid var(--bs-border-color);
}

@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }

  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px;
  }

  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }

  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% - 15px);
    margin-left: 15px;
  }
}

.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: #dc512c;
  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;
}

/* === Unique3D Category & Product Cards === */

#product-category {
  padding: 0;
  max-width: 100%;
}

.u3d-cat {
  background-color: #fdf5ee;
  padding: 60px 80px;
  min-height: 60vh;
}

.u3d-cat-inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* Breadcrumb */
.u3d-breadcrumb {
  margin-bottom: 32px;
  border: none;
  background: none;
  padding: 0;
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
}

.u3d-breadcrumb .breadcrumb-item a {
  color: #152151;
  text-decoration: none;
}

.u3d-breadcrumb .breadcrumb-item::after {
  display: none;
}

/* Category logo */
.u3d-cat-logo {
  text-align: center;
  margin-bottom: 48px;
}

.u3d-cat-logo img {
  display: inline-block;
  height: auto;
}

/* Horizontal category bar (Swiper, free-scroll/swipe) */
.u3d-catnav {
  margin-bottom: 36px;
}

.u3d-catnav-swiper {
  overflow: hidden;
}

.u3d-catnav-swiper .swiper-wrapper {
  align-items: center;
}

.u3d-catnav-swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

.u3d-subcat-link {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #152151;
  color: #152151;
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.2s, color 0.2s;
}

.u3d-subcat-link:hover {
  background-color: #152151;
  color: #fff;
}

.u3d-subcat-link.active {
  background-color: rgb(248, 143, 26);
  border-color: rgb(248, 143, 26);
  color: rgb(21, 33, 81);
  font-weight: 700;
}

/* Category page: sidebar filters + product grid layout */
.u3d-cat-layout {
  position: relative;
}

.u3d-filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
  padding: 12px 18px;
  background: #fff;
  border: 1.5px solid rgb(21, 33, 81);
  border-radius: 20px;
  color: rgb(21, 33, 81);
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.u3d-filters-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: rgb(248, 143, 26);
  color: rgb(21, 33, 81);
  font-size: 11px;
  font-weight: 700;
}

.u3d-cat-main {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.u3d-cat-content {
  flex: 1;
  min-width: 0;
}

/* Sidebar filters (desktop) */
.u3d-filters {
  flex: 0 0 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: rgba(248, 143, 26, 0.1) 5px 8px 16px 0px;
  padding: 24px 20px;
}

.u3d-filters-head h2 {
  font-family: Ubuntu, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: rgb(21, 33, 81);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 16px;
}

.u3d-filters-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(152, 158, 193, 0.25);
}

.u3d-filters-active-label {
  width: 100%;
  font-family: Ubuntu, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgb(152, 158, 193);
}

.u3d-filter-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(21, 33, 81, 0.06);
  color: rgb(21, 33, 81);
  font-family: Ubuntu, sans-serif;
  font-size: 12px;
}

.u3d-filters-clear {
  font-family: Ubuntu, sans-serif;
  font-size: 12px;
  color: rgb(248, 143, 26);
  text-decoration: underline;
  margin-left: 4px;
}

.u3d-filter-group {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}

.u3d-filter-group legend {
  float: none;
  width: 100%;
  font-family: Ubuntu, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgb(21, 33, 81);
  padding: 0 0 8px;
  margin-bottom: 8px;
  border-bottom: 1.5px solid rgba(248, 143, 26, 0.35);
}

.u3d-filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.u3d-filter-check input {
  accent-color: rgb(21, 33, 81);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.u3d-filter-check label {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  color: rgb(84, 93, 153);
  margin: 0;
  cursor: pointer;
}

/* Mobile filters offcanvas */
.u3d-filters-offcanvas .offcanvas-title {
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgb(21, 33, 81);
  text-transform: uppercase;
}

.u3d-filters-offcanvas .u3d-filter-group,
.u3d-filters-offcanvas .u3d-filters-active {
  padding-left: 0;
  padding-right: 0;
}

.u3d-filters-apply-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  background: rgb(248, 143, 26) !important;
  border-color: transparent !important;
  color: rgb(21, 33, 81) !important;
  font-family: Ubuntu, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 20px !important;
  padding: 10px 20px !important;
  box-shadow: none !important;
  transition: opacity 0.2s !important;
}

.u3d-filters-apply-btn:hover,
.u3d-filters-apply-btn:focus {
  opacity: 0.88;
  color: rgb(21, 33, 81) !important;
}

/* Filtro de preço */
.u3d-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.u3d-price-field { flex: 1; min-width: 0; }

.u3d-price-field label {
  display: block;
  font-family: Ubuntu, sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgb(152, 158, 193);
  margin-bottom: 4px;
}

.u3d-price-field input[type="number"] {
  width: 100%;
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgb(21, 33, 81);
  background: #fff;
  border: 1.5px solid rgba(21, 33, 81, 0.18);
  border-radius: 10px;
  padding: 8px 10px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.u3d-price-field input[type="number"]:focus { border-color: rgb(248, 143, 26); }

.u3d-price-sep {
  color: rgb(152, 158, 193);
  font-size: 13px;
  margin-top: 14px;
  flex-shrink: 0;
}

/* Dois <input type=range> sobrepostos para simular um slider de 2 pontas */
.u3d-filter-price { position: relative; }

.u3d-price-slider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  width: 100%;
  height: 4px;
  margin: 0;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.u3d-price-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(21, 33, 81, 0.12);
  border-radius: 2px;
}
.u3d-price-slider::-moz-range-track {
  height: 4px;
  background: rgba(21, 33, 81, 0.12);
  border-radius: 2px;
}

.u3d-price-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(248, 143, 26);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(21,33,81,0.3);
  margin-top: -6px;
  cursor: pointer;
}
.u3d-price-slider::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(248, 143, 26);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(21,33,81,0.3);
  cursor: pointer;
}

.u3d-filter-price { padding-bottom: 22px; }

/* Product grid */
.u3d-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.u3d-product-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Product card — image "escapes" the top of the white panel */
.u3d-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.u3d-card__badges {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.u3d-card__badge {
  background: rgb(21, 33, 81);
  color: #fff;
  font-family: Ubuntu, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: rgba(21, 33, 81, 0.25) 2px 4px 8px 0px;
}

.u3d-card__badge--organico {
  background: rgb(248, 143, 26);
  color: rgb(21, 33, 81);
}

/* Image sits on its own white backdrop (nem todas as fotos são PNG transparente,
   por isso não podemos depender do fundo da foto para "desaparecer" na página) —
   só a parte de cima da imagem é que foge para fora da caixa, o resto assenta
   sobre branco sólido igual ao resto do cartão. */
.u3d-card__img-wrap {
  position: relative;
  z-index: 1;
  height: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px 0;
  background: #fff;
  border-radius: 15px 15px 0 0;
  overflow: visible;
}

.u3d-card__img-wrap a {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* specifidade alta para sobrescrever Bootstrap img { height: auto } */
.u3d-card__img,
#product-category .u3d-card__img {
  display: block;
  max-width: 100%;
  /* Valor fixo em px, não percentagem: percentagens de max-height dentro de
     flexbox não ficam sempre bem contidas consoante o rácio da imagem — isto
     garante um "escape" máximo previsível (~40px) seja qual for a foto. */
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.35s ease;
}

.u3d-card__img-wrap:hover .u3d-card__img {
  transform: scale(1.04);
}

/* Panel: flush against the image wrap above (same white, so together they read
   as one continuous card) */
.u3d-card__panel {
  position: relative;
  z-index: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  box-shadow: rgba(248, 143, 26, 0.1) 5px 8px 16px 0px;
  transition: box-shadow 0.2s ease;
}

.u3d-card:hover .u3d-card__panel {
  box-shadow: rgba(248, 143, 26, 0.18) 5px 10px 20px 0px;
}

.u3d-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 44px 20px 16px;
}

.u3d-card__tag {
  font-family: Ubuntu, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgb(152, 158, 193);
  margin-bottom: -4px;
}

.u3d-card__colors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.u3d-card__color {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(21, 33, 81, 0.15);
}

/* ══════════════════════════════════════════
   Skin partilhado — Account / Cart / Forms
   ══════════════════════════════════════════ */

.u3d-bg {
  background-image: radial-gradient(at 0% 0%, rgb(245, 209, 161) 0%, rgba(245, 209, 161, 0) 32%);
  background-color: #fff;
  min-height: calc(100vh - 88px);
  padding: 60px 0 80px;
  font-family: Ubuntu, sans-serif;
}

.u3d-bg h1 {
  font-family: Ubuntu, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: rgb(21, 33, 81);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.4px;
}

.u3d-bg h2 {
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgb(21, 33, 81);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.u3d-bg .breadcrumb {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  background: none;
  padding: 0;
  margin-bottom: 28px;
}
.u3d-bg .breadcrumb-item a { color: rgb(84, 93, 153); text-decoration: none; }
.u3d-bg .breadcrumb-item a:hover { color: rgb(21, 33, 81); }
.u3d-bg .breadcrumb-item + .breadcrumb-item::before { color: rgb(152, 158, 193); }
.u3d-bg .breadcrumb-item.active { color: rgb(21, 33, 81); }

/* Card box */
.u3d-card-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: rgba(248, 143, 26, 0.12) 8px 16px 14px 0px;
  padding: 28px 32px;
  margin-bottom: 20px;
  height: 100%;
}

/* Fieldsets */
.u3d-bg fieldset {
  border: none !important;
  padding: 0;
  margin: 0 0 8px;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* Legend */
.u3d-bg legend {
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgb(21, 33, 81);
  float: none;
  width: 100%;
  padding: 0 0 10px;
  margin-bottom: 18px;
  border: none;
  border-bottom: 2px solid rgba(248, 143, 26, 0.45) !important;
  background: none;
}

/* Labels */
.u3d-bg .form-label,
.u3d-bg .col-form-label {
  font-family: Ubuntu, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgb(84, 93, 153);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.u3d-bg .required > .col-form-label::after { content: ' *'; color: rgb(248, 143, 26); }

/* Inputs & Selects */
.u3d-bg .form-control,
.u3d-bg .form-select {
  font-family: Ubuntu, sans-serif;
  font-size: 15px;
  color: rgb(59, 61, 66);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgb(152, 158, 193);
  border-radius: 0;
  padding: 8px 4px;
  box-shadow: none !important;
  transition: border-color 0.2s;
}
.u3d-bg .form-control:focus,
.u3d-bg .form-select:focus {
  border-bottom-color: rgb(21, 33, 81);
  background-color: transparent;
  box-shadow: none !important;
}
.u3d-bg .form-control.is-invalid,
.u3d-bg .form-select.is-invalid {
  border-bottom-color: #dc3545;
  background-image: none;
  padding-right: 4px;
}

/* Buttons */
.u3d-bg .btn-primary {
  background-color: rgb(248, 143, 26) !important;
  border-color: transparent !important;
  color: rgb(21, 33, 81) !important;
  font-family: Ubuntu, sans-serif !important;
  font-weight: 500 !important;
  border-radius: 20px !important;
  padding: 8px 26px !important;
  box-shadow: none !important;
  transition: opacity 0.2s !important;
}
.u3d-bg .btn-primary:hover { opacity: 0.88 !important; }
.u3d-bg .btn-light {
  font-family: Ubuntu, sans-serif !important;
  font-weight: 500 !important;
  border-radius: 20px !important;
  border: 1.5px solid rgb(152, 158, 193) !important;
  color: rgb(84, 93, 153) !important;
  background: transparent !important;
}
.u3d-bg .btn-danger {
  border-radius: 20px !important;
  font-family: Ubuntu, sans-serif !important;
}
.u3d-bg .btn-info {
  background-color: rgb(21, 33, 81) !important;
  border-color: transparent !important;
  color: #fff !important;
  border-radius: 20px !important;
  font-family: Ubuntu, sans-serif !important;
}

/* Form check */
.u3d-bg .form-check-input { accent-color: rgb(21, 33, 81); }
.u3d-bg .form-check-label { font-family: Ubuntu, sans-serif; font-size: 14px; color: rgb(59, 61, 66); }

/* Invalid */
.u3d-bg .invalid-feedback { font-family: Ubuntu, sans-serif; font-size: 12px; }

/* Alerts */
.u3d-bg .alert { font-family: Ubuntu, sans-serif; font-size: 14px; border-radius: 12px; }

/* Tables */
.u3d-bg .table { font-family: Ubuntu, sans-serif; font-size: 14px; }
.u3d-bg .table thead th {
  font-weight: 600;
  color: rgb(84, 93, 153);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-bottom: 2px solid rgba(248, 143, 26, 0.4) !important;
}
.u3d-bg .table-bordered,
.u3d-bg .table-bordered td,
.u3d-bg .table-bordered th { border-color: rgba(152, 158, 193, 0.18) !important; }
.u3d-bg .table tbody td { color: rgb(59, 61, 66); padding: 12px; vertical-align: middle; }
.u3d-bg .table tfoot td,
.u3d-bg .table tfoot th { border-top: 2px solid rgba(21, 33, 81, 0.1) !important; font-weight: 700; color: rgb(21, 33, 81); }
.u3d-bg .table-hover tbody tr:hover > * { background-color: rgba(245, 209, 161, 0.12); }

/* Links */
.u3d-bg a { color: rgb(84, 93, 153); }
.u3d-bg a:hover { color: rgb(21, 33, 81); }

/* Img thumbnail in cart */
.u3d-bg .img-thumbnail { border-radius: 8px; border: none; padding: 0; }

/* Pagination */
.u3d-bg .pagination .page-link { font-family: Ubuntu, sans-serif; font-size: 13px; color: rgb(84, 93, 153); border-color: rgba(152, 158, 193, 0.3); }
.u3d-bg .pagination .page-item.active .page-link { background-color: rgb(248, 143, 26); border-color: rgb(248, 143, 26); color: rgb(21, 33, 81); }

/* Account dashboard link grid */
.u3d-acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 8px; }
.u3d-acc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid rgba(152, 158, 193, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  color: rgb(21, 33, 81) !important;
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.u3d-acc-link:hover { border-color: rgb(248, 143, 26); box-shadow: 0 4px 14px rgba(248, 143, 26, 0.14); color: rgb(21, 33, 81) !important; }
.u3d-acc-link i { color: rgb(248, 143, 26); font-size: 16px; flex-shrink: 0; }

/* Success/failure page — shorter than the account/cart skin, no need to fill the viewport */
.u3d-bg-success {
  min-height: 0;
  padding: 40px 0 50px;
}
.u3d-bg-success .u3d-card-box {
  padding: 18px 24px;
  margin-bottom: 16px;
}

/* Ifthenpay MB WAY status widget (checkout/success) — the extension injects
   these panels directly into the rendered HTML without a .row wrapper, so
   the .col-md-4 classes stack full-width instead of side by side. */
#common-success .ifthenpay_countdown_panel,
#common-success .ifthenpay_mbway_payment_response_panel,
#common-success div.col-md-4:has(#ifthenpay_resend_mbway_notification_div) {
  float: none;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 20px !important;
  font-family: Ubuntu, sans-serif;
  box-shadow: rgba(248, 143, 26, 0.12) 8px 16px 14px 0px;
}
#common-success .ifthenpay_countdown_panel h3,
#common-success .ifthenpay_mbway_payment_response_panel h3,
#common-success div.col-md-4:has(#ifthenpay_resend_mbway_notification_div) h5 {
  color: rgb(21, 33, 81);
  font-family: Ubuntu, sans-serif;
}
#common-success div.col-md-4:has(#ifthenpay_resend_mbway_notification_div) table td {
  color: rgb(84, 93, 153);
}

@media (max-width: 640px) {
  .u3d-bg { padding: 40px 0 60px; }
  .u3d-card-box { padding: 20px 16px; border-radius: 12px; }
  .u3d-bg h1 { font-size: 20px; }
}

.u3d-card__name {
  font-family: Ubuntu, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: rgb(21, 33, 81);
  margin: 0;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.u3d-card__name a {
  color: inherit;
  text-decoration: none;
}

.u3d-card__name a:hover {
  color: rgb(248, 143, 26);
}

.u3d-card__desc {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: rgb(84, 93, 153);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.u3d-card__price {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: Ubuntu, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.u3d-card__price-value {
  color: rgb(248, 143, 26);
}

.u3d-card__price-old {
  color: #999;
  text-decoration: line-through;
  margin-left: 4px;
  font-size: 14px;
  font-weight: 400;
}

.u3d-card__price-info {
  color: rgb(152, 158, 193);
  font-size: 13px;
  cursor: help;
}

.u3d-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: rgb(21, 33, 81);
  color: #fff;
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 12px;
  border: none;
  margin-top: 16px;
  transition: background-color 0.2s, color 0.2s;
}

.u3d-card__btn:hover,
.u3d-card__btn:focus {
  background: rgb(248, 143, 26);
  color: rgb(21, 33, 81);
}


/* Pagination */
.u3d-pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 10px;
}

.u3d-results {
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
  color: #666;
}

.u3d-no-results {
  font-family: Ubuntu, sans-serif;
  color: #666;
  margin-bottom: 24px;
  text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
  .u3d-cat {
    padding: 40px 32px;
  }

  .u3d-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .u3d-card__img-wrap {
    height: 200px;
  }

  .u3d-filters-toggle {
    display: flex;
  }

  .u3d-cat-main .u3d-filters {
    display: none;
  }
}

@media (max-width: 575px) {
  .u3d-cat {
    padding: 24px 16px;
  }

  .u3d-product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .u3d-card__badge {
    font-size: 9px;
    padding: 4px 10px;
  }

  .u3d-card__name {
    font-size: 16px;
  }
}

/* ══════════════════════════════════════════
   MINI CART DROPDOWN
   ══════════════════════════════════════════ */

.u3d-cart-menu {
  min-width: 360px;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(21, 33, 81, 0.14), 0 2px 8px rgba(21, 33, 81, 0.08) !important;
  padding: 16px !important;
  background: #fff !important;
  font-family: Ubuntu, sans-serif;
}

.u3d-cart-menu .table {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  margin-bottom: 8px !important;
}

.u3d-cart-menu .table td {
  vertical-align: middle;
  padding: 8px 6px;
  border-color: rgba(152, 158, 193, 0.15) !important;
  color: rgb(59, 61, 66);
}

.u3d-cart-menu .table img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: none !important;
  padding: 0 !important;
}

.u3d-cart-menu .table a {
  font-family: Ubuntu, sans-serif;
  font-weight: 600;
  color: rgb(21, 33, 81);
  text-decoration: none;
  font-size: 13px;
}

.u3d-cart-menu .table a:hover { color: rgb(248, 143, 26); }

.u3d-cart-menu .table-bordered td {
  border-color: rgba(152, 158, 193, 0.15) !important;
}

.u3d-cart-menu .table-bordered strong {
  color: rgb(84, 93, 153);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.u3d-cart-menu .text-end strong {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  color: rgb(21, 33, 81);
  font-size: 14px;
}

.u3d-cart-menu .table-sm td { padding: 6px 8px; }

.u3d-cart-menu p.text-end {
  margin: 0;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 4px;
}

.u3d-cart-menu p.text-end a {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgb(21, 33, 81);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid rgb(21, 33, 81);
  transition: all 0.18s;
}

.u3d-cart-menu p.text-end a:last-child {
  background: rgb(248, 143, 26);
  border-color: rgb(248, 143, 26);
  color: rgb(21, 33, 81);
}

.u3d-cart-menu p.text-end a:hover {
  background: rgb(21, 33, 81);
  border-color: rgb(21, 33, 81);
  color: #fff;
}

.u3d-cart-menu p.text-end a:last-child:hover {
  opacity: 0.88;
  background: rgb(248, 143, 26);
  border-color: rgb(248, 143, 26);
  color: rgb(21, 33, 81);
}

.u3d-cart-menu li.text-center {
  font-family: Ubuntu, sans-serif;
  color: rgb(84, 93, 153);
  font-size: 14px;
}

.u3d-cart-menu .btn-danger {
  background: rgba(220, 53, 69, 0.08) !important;
  border: none !important;
  color: rgb(220, 53, 69) !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
}

.u3d-cart-menu .btn-danger:hover {
  background: rgba(220, 53, 69, 0.18) !important;
}

/* ══════════════════════════════════════════
   HEADER ACCOUNT DROPDOWN
   ══════════════════════════════════════════ */

.header-account-link + .dropdown-menu,
.header-account-link ~ .dropdown-menu,
.dropdown:has(.header-account-link) .dropdown-menu {
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(21, 33, 81, 0.14), 0 2px 8px rgba(21, 33, 81, 0.08) !important;
  padding: 8px !important;
  font-family: Ubuntu, sans-serif;
  min-width: 200px;
}

.dropdown:has(.header-account-link) .dropdown-item {
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
  color: rgb(59, 61, 66);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.dropdown:has(.header-account-link) .dropdown-item:hover {
  background: rgba(248, 143, 26, 0.10) !important;
  color: rgb(21, 33, 81) !important;
}

.dropdown:has(.header-account-link) .dropdown-divider {
  border-color: rgba(152, 158, 193, 0.2);
  margin: 4px 6px;
}

/* Account dropdown */
.u3d-account-menu {
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(21, 33, 81, 0.14), 0 2px 8px rgba(21, 33, 81, 0.08) !important;
  padding: 8px !important;
  font-family: Ubuntu, sans-serif;
  min-width: 200px;
}

.u3d-account-menu .dropdown-item {
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
  color: rgb(59, 61, 66);
  padding: 9px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.u3d-account-menu .dropdown-item:hover,
.u3d-account-menu .dropdown-item:focus {
  background: rgba(248, 143, 26, 0.10) !important;
  color: rgb(21, 33, 81) !important;
}

.u3d-account-menu .dropdown-divider {
  border-color: rgba(152, 158, 193, 0.2);
  margin: 4px 6px;
}

/* ══════════════════════════════════════════
   Theme Custom CSS
   ══════════════════════════════════════════ */
/* === 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;
}

/* ══════════════════════════════════════════
   Unique3D Product Review Form Styling
   ══════════════════════════════════════════ */
.u3d-review-form {
  font-family: Ubuntu, sans-serif;
}

.u3d-review-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 4px 24px rgba(21, 33, 81, 0.05);
  border: 1px solid rgba(21, 33, 81, 0.06);
  margin-top: 24px;
}

.u3d-review-title {
  font-family: Ubuntu, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: rgb(21, 33, 81);
  margin-bottom: 24px;
  line-height: 1.3;
}

.u3d-form-group {
  margin-bottom: 22px;
}

.u3d-form-label {
  font-family: Ubuntu, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgb(21, 33, 81);
  margin-bottom: 8px;
  display: block;
}

.u3d-req-star {
  color: rgb(234, 124, 37);
  font-weight: bold;
}

.u3d-form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: Ubuntu, sans-serif;
  font-size: 15px;
  color: rgb(21, 33, 81);
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.u3d-form-input:focus {
  border-color: rgb(234, 124, 37);
  box-shadow: 0 0 0 3px rgba(234, 124, 37, 0.15);
}

.u3d-form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: Ubuntu, sans-serif;
  font-size: 15px;
  color: rgb(21, 33, 81);
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;
  min-height: 120px;
}

.u3d-form-textarea:focus {
  border-color: rgb(234, 124, 37);
  box-shadow: 0 0 0 3px rgba(234, 124, 37, 0.15);
}

.u3d-form-note {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 6px;
}

/* Rating Picker */
.u3d-rating-picker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #faf8f5;
  border: 1px solid #f1f3f6;
  border-radius: 12px;
  padding: 10px 18px;
}

.u3d-rating-badge-text {
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.u3d-stars-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 6px;
  align-items: center;
}

.u3d-star-radio {
  display: none !important;
}

.u3d-star-label {
  cursor: pointer;
  font-size: 22px;
  color: #cbd5e1;
  transition: transform 0.15s ease, color 0.15s ease;
  padding: 2px 3px;
  margin: 0;
}

.u3d-star-radio:checked ~ .u3d-star-label,
.u3d-star-label:hover,
.u3d-star-label:hover ~ .u3d-star-label {
  color: rgb(248, 143, 26);
}

.u3d-star-label:hover {
  transform: scale(1.25);
}

/* Submit Button */
.u3d-form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.u3d-btn-review {
  background: linear-gradient(135deg, rgb(234, 124, 37) 0%, rgb(217, 107, 24) 100%);
  color: #ffffff;
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 12px 36px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 124, 37, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.u3d-btn-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 124, 37, 0.45);
  background: linear-gradient(135deg, rgb(248, 143, 26) 0%, rgb(234, 124, 37) 100%);
}

.u3d-btn-review:active {
  transform: translateY(0);
}

/* Invalid state */
.is-invalid.u3d-form-input,
.is-invalid.u3d-form-textarea {
  border-color: #ef4444 !important;
}

.invalid-feedback {
  font-size: 13px;
  color: #ef4444;
  margin-top: 6px;
}

/* Login notice */
.u3d-review-login-notice {
  background: #fff9f6;
  border: 1px solid #ffede5;
  border-radius: 12px;
  padding: 20px 24px;
  color: rgb(21, 33, 81);
  font-size: 15px;
}
.u3d-review-login-notice a {
  color: rgb(234, 124, 37);
  font-weight: 600;
  text-decoration: underline;
}

/* Review List Container */
.u3d-reviews-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.u3d-review-card-item {
  background: #ffffff;
  border: 1px solid rgba(21, 33, 81, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(21, 33, 81, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.u3d-review-card-item:hover {
  box-shadow: 0 4px 16px rgba(21, 33, 81, 0.06);
}

.u3d-review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.u3d-review-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.u3d-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(21, 33, 81) 0%, rgb(42, 54, 126) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.u3d-review-author {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: rgb(21, 33, 81);
}

.u3d-review-date {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  color: #64748b;
}

.u3d-star-filled {
  color: rgb(248, 143, 26);
}

.u3d-star-empty {
  color: #cbd5e1;
}

.u3d-review-body {
  font-family: Ubuntu, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgb(59, 61, 66);
}

.u3d-no-reviews-box {
  background: #fff9f6;
  border: 1px dashed #fcd3b6;
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 30px;
}

.u3d-no-reviews-icon {
  font-size: 32px;
  color: rgb(234, 124, 37);
  margin-bottom: 12px;
  display: block;
}

.u3d-no-reviews-text {
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgb(21, 33, 81);
  margin: 0;
}

@media (max-width: 576px) {
  .u3d-review-box {
    padding: 20px 16px;
  }
  .u3d-rating-picker-wrap {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .u3d-btn-review {
    width: 100%;
  }
}