@media (max-width: 480px) {
  .auto-search-wrapper {
    width: 100% !important;
  }
}

.list--none {
  list-style: none;
  list-style-type: none;
  padding-inline-start: 0;
}

img.product-preview {
  object-fit: auto;
  border-radius: 6px;
}

.list--none li {
  list-style-type: none;
}

.cs-logo {
  height: 60px;
  width: auto;
}

.gap--xxl {
  grid-column-gap: 100px;
  grid-row-gap: 60px;
}

.header {
  margin-top: 1.5em;
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #00000025;
}

.mt-m {
  margin-top: 1.5em;
}

.flex {
  display: flex;
  gap: var(--pico-grid-row-gap);
}

.flex-center {
  align-items: center;
}

.space--between {
  justify-content: space-between;
}

.h-50 {
  height: 50px;
}

.h-30 {
  height: 30px;
}

#mainarea table {
  border: 1px solid #00000020;
  border-radius: 8px;
  border-collapse: separate;
  overflow: hidden;
}

.search-form input {
  margin-bottom: 0 !important;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.pagination a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.pagination a.active {
  background-color: #4caf50;
  color: white;
  border: 1px solid #4caf50;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}

.file-upload {
  max-width: 100%;
  margin: auto;
  border: 2px dashed #ccc;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.preview-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.preview-item {
  position: relative;
  width: 100px;
}

.preview-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.remove-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.upload-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.upload-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.toggle-btn {
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
  text-decoration: none;
  color: black;
}

.expand-all-btn {
  margin-bottom: 10px;
  padding: 5px 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

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

.customer-table th,
.customer-table td {
  padding: 8px;
  border: 1px solid #ddd;
}

.customer-table th {
  background-color: #f2f2f2;
}

.records-per-page-form {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.search-form {
  margin-bottom: 20px;
}

.search-button {
  min-width: 60px !important;
  border-radius: 5rem;
  background: transparent;
  color: black;
}

.recordsperpage-select {
  max-width: 60px;
}

[x-cloak] {
  display: none !important;
}

form tr {
  display: grid !important;
  grid-template-columns: 1fr 3fr;
}

.text--link {
  min-width: auto !important;
  background: transparent;
  padding: 0;
  border: none;
  color: var(--pico-primary);
  margin-bottom: 0;
}

.hidden {
  display: none;
}

.cart-summary {
  display: flex;
  flex-direction: row;
  width: 600px;
  max-width: 100%;
  flex-wrap: wrap;
  column-gap: 40px;
  margin-bottom: 10px;
}

.width-def {
  width: 720px;
  max-width: 100%;
  margin: auto;
}

.img-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.img-wrapper img {
  width: 100%;
  margin: 16px 0;
  border-radius: 6px;
}

.cart-item {
  display: flex;
  gap: 40px;
  padding: 1em;
  border-radius: 10px;
  border: 1px solid #00000020;
  margin-bottom: 1em;
  img {
    height: 100px;
    object-fit: auto;
  }
}

.packagelistcontainer {
  display: flex;
  gap: 40px;
  padding: 1em;
  border-radius: 10px;
  border: 1px solid #00000020;
  margin-bottom: 1em;
  img {
    height: 100px;
    object-fit: auto;
  }
}

.catlistcontainer {
  display: flex;
  gap: 40px;
  padding: 1em;
  border-radius: 10px;
  border: 1px solid #00000020;
  img {
    height: 100px;
    object-fit: auto;
  }
}

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.item-container {
  padding: 1em;
  border-radius: 10px;
  border: 1px solid #00000020;
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  gap: 1em;

  img {
    height: 100px;
    object-fit: auto;
  }

  .item-row {
    display: flex;
    gap: 40px;
  }
}

.productlistcontainer {
  display: flex;
  gap: 40px;
  padding: 1em;
  border-radius: 10px;
  border: 1px solid #00000020;
  margin-bottom: 1em;
  img {
    height: 100px;
    object-fit: auto;
  }
}

.delivery-status {
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

.photo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /*   border: 1px solid #cccccc3d;
 */
  border-radius: 1em;
}

.admin-titlebar {
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: -2px;
}

#admin-contents {
  display: flex !important;
  gap: 60px;
}

.admin-titlebar h2 {
  margin-bottom: 0;
}

.inline-form button {
  min-width: 0 !important;
  margin: 0;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1em;
}

.footer {
  padding-top: 2em;
  padding-bottom: 2em;
  margin-top: 2em;
  border-top: 1px solid #00000025;
}

.addToCartForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.uk-gap-small {
  gap: 1em;
}

.uk-gap-medium {
  gap: 2em;
}

.uk-gap-large {
  gap: 3em;
}

.uk-gap-xl {
  gap: 4em;
}

.loginerror-wrapper {
  border: 1px solid;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  text-align: center;
}

.center--all {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
}

.form-content-wrapper {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1em;
}

.items-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.package-item-card {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;

  img {
    height: 300px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.product-item-card {
  display: flex;
  gap: 20px;

  img {
    height: 150px;
    width: 150px;
    flex-shrink: 0;
  }
}

.check-icon {
  width: 70%;
  height: 70%;
  position: absolute;
  z-index: 1;
}

.add-to-cart-btn {
  margin-top: auto;
}

.package-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.category-item,
.package-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.photo-item {
  position: relative;
}

body {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

body.is-transitioning {
  opacity: 0;
}

@keyframes fadeInOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.error-message {
  color: rgb(218, 3, 3);
}

.autocomp {
  background: #f8f8f8;
  border-radius: 0 0 5px 5px;
  border: 1px solid #ccc;
  border-top: 0;
  box-shadow: 2px 2px 2px #eee;
  text-align: left;
}
.autocomp-item {
  padding-bottom: 5px;
  padding: 10px;
  cursor: pointer;
}
.autocomp-item:hover,
.autocomp-sel {
  background: #f1f1f1;
  font-weight: bold;
}

.payment-method {
  display: block;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  width: 50px;
  height: 50px;
  padding: 0;
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
  content: "";
  display: block;
  position: absolute;
  height: 4px;
  width: 30px;
  background: #000;
  transition: all 0.3s ease;
}

.header__menu-icon {
  top: 23px;
  left: 10px;
}

.header__menu-icon::before {
  top: -10px;
}

.header__menu-icon::after {
  bottom: -10px;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon,
.header__menu-toggle[aria-expanded="true"] .header__menu-icon::before,
.header__menu-toggle[aria-expanded="true"] .header__menu-icon::after {
  background: #fff;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon {
  background: transparent;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon::before {
  transform: rotate(45deg) translate(7px, 7px);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon::after {
  transform: rotate(-45deg) translate(7px, -7px);
}

.header__nav {
  display: flex;
}

.header__menu {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.header__menu li {
  margin-left: 1em;
}

@media (max-width: 768px) {
  .header__menu-toggle {
    display: block;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
  }

  .header__nav.is-active {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
  }

  .header__menu li {
    margin: 1em 0;
  }

  .header__menu a {
    color: white;
    font-size: 1.2em;
  }
}
