/* Shared public layout; theme colors remain controlled by the selected template. */
html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: none;
  padding-left: clamp(16px, 2.4vw, 36px);
  padding-right: clamp(16px, 2.4vw, 36px);
}

img, video, iframe {
  max-width: 100%;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.public-header + .clearfix {
  display: none;
}

.public-nav {
  padding: 0;
}

.public-nav > .public-header-inner {
  flex-wrap: wrap;
}

.public-header-main {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: .65rem 0;
}

.public-header-search {
  flex: 1 1 28rem;
  max-width: 48rem;
  margin-left: auto;
}

.public-header .navbar-collapse {
  flex-basis: 100%;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.public-header .navbar-nav {
  gap: .25rem;
}

.public-header .navbar-toggler i {
  font-size: 24px;
}

.navbar-brand {
  max-width: calc(100% - 64px);
}

.navbar-brand img {
  max-width: 100%;
  object-fit: contain;
}

.navbar-toggler {
  min-width: 44px;
  min-height: 44px;
}

.navbar .nav-link,
.navbar .dropdown-item {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.navbar .nav-link {
  border-radius: .6rem;
}

.navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, .06);
}

.navbar a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.section {
  overflow-wrap: anywhere;
  background-color: #25282d;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.section .card-body {
  min-width: 0;
  padding: 1.5rem;
}

.section h4,
.section h5 {
  line-height: 1.35;
}

.section p {
  line-height: 1.6;
}

.order-summary {
  margin-bottom: 1rem;
}

.order-summary > .text-center,
.order-summary > .text-justify {
  background: #25282d;
  border-left: 1px solid rgba(255, 255, 255, .1);
  border-right: 1px solid rgba(255, 255, 255, .1);
  padding-left: 1rem;
  padding-right: 1rem;
}

.order-summary > .text-center {
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px 16px 0 0;
}

.order-summary > .text-justify {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0 0 16px 16px;
  overflow-wrap: anywhere;
  text-align: left !important;
}

.order-summary img {
  object-fit: contain;
}

.form-control,
.select2-container {
  max-width: 100%;
}

.form-control {
  border-radius: .65rem;
}

.form-control:not(textarea):not([type="file"]) {
  min-height: 44px;
}

.btn:not(.btn-sm) {
  min-height: 44px;
}

.btn-primary.text-white,
.btn-warning.text-white {
  color: var(--public-accent-text) !important;
}

.section .accordion .card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .75rem;
  background: #1e2124;
  margin-bottom: .5rem !important;
}

.section .accordion .card-header {
  border-bottom: 0;
}

.section .accordion .card-header button {
  min-height: 44px;
  text-decoration: none;
}

.radio-nominal,
.radio-nominale {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

.radio-nominal + label,
.radio-nominale + label,
.radio-nominale:checked + label {
  border-radius: .7rem;
  line-height: 1.45;
}

.radio-nominale + label,
.radio-nominale:checked + label {
  min-height: 68px;
  padding-right: 2rem;
  font-size: .85rem;
}

.radio-nominal:checked + label,
.radio-nominale:checked + label {
  background-color: #343940;
  color: #fff;
}

.radio-nominal:focus-visible + label,
.radio-nominale:focus-visible + label {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.table-responsive {
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.section .table {
  color: #fff;
}

.section .table th,
.section .table td {
  border-color: rgba(255, 255, 255, .14);
  vertical-align: middle;
}

.section .table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .035);
}

.section .dataTables_wrapper input,
.section .dataTables_wrapper select {
  max-width: 100%;
}

.modal-dialog {
  max-width: calc(100% - 2rem);
}

.product_list {
  display: block;
  height: 100%;
}

.product_list img {
  max-width: 100%;
}

.game {
  justify-content: flex-start;
}

.home-search {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.home-search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: .9rem;
  background: #25282d;
}

.home-search-icon {
  position: absolute;
  left: 1.1rem;
  color: #c5c7cc;
  pointer-events: none;
}

.home-search-form .form-control {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 2.45rem;
  color: #fff !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-search-form .form-control::placeholder {
  color: #c5c7cc !important;
  opacity: 1 !important;
}

.home-search-form .btn {
  flex: 0 0 auto;
  border-radius: .65rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.product-section-description {
  margin: 1.3rem 0 1rem;
  color: #b6b9c1;
}

.product-card {
  height: calc(100% - 1rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: #272b31;
  transition: transform .18s ease, border-color .18s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .35);
}

.product-card .product_list {
  color: #fff;
  text-align: left;
  text-decoration: none;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-card-content {
  padding: .75rem;
}

.product-card-title {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-card-subtitle {
  margin-top: .3rem;
  color: #c3c6cd;
  font-size: .75rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-empty {
  margin: .5rem 0 1rem;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: .75rem;
  color: #c5c7cc;
  text-align: center;
}

#myTab {
  flex-wrap: nowrap;
}

#myTab > .nav-item {
  flex: 1 1 0;
  min-width: 0;
}

#myTab .nav-link {
  min-height: 64px;
  padding: .65rem .5rem;
  overflow-wrap: anywhere;
}

#myTab .nav-link p {
  margin-bottom: .35rem;
}

.bg-footer .nav-link {
  overflow-wrap: anywhere;
  padding: .45rem 0;
}

.bg-footer {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.bg-footer p {
  line-height: 1.6;
}

.public-footer-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.public-footer-extras > div {
  flex: 1 1 7rem;
}

.public-footer-extras h5 {
  margin-bottom: .75rem;
}

.public-footer-extras ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-footer-extras a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: inherit;
}

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

@media (min-width: 992px) {
  .public-footer-extras.col-lg-4 {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }

  .public-header-main {
    flex-wrap: wrap;
    gap: .5rem;
  }

  .public-header-main .navbar-brand {
    flex: 1 1 auto;
    order: 0;
  }

  .public-header-main .navbar-toggler {
    order: 1;
  }

  .public-header-search {
    flex: 1 0 100%;
    order: 2;
    max-width: none;
  }

  .navbar .dropdown-menu {
    position: static;
    float: none;
  }
}

@media (max-width: 575.98px) {
  .section .card-body {
    padding: 1rem;
  }

  .navbar-brand img {
    max-height: 40px;
  }

  #myTab .nav-link {
    font-size: 10px !important;
    letter-spacing: 0;
    white-space: nowrap;
    padding-left: .15rem;
    padding-right: .15rem;
  }

  .home-search-form .btn {
    padding-left: .85rem;
    padding-right: .85rem;
  }

  .product-card-content {
    padding: .6rem;
  }

  .product-card-title {
    font-size: .8rem;
  }
}

@media (max-width: 359.98px) {
  #myTab .nav-link {
    font-size: 9px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card {
    transition: none;
  }
}
