.tile-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.tile-container--headline {
  font-weight: bold;
  font-size: 20px;
  color: black;
}
.tile-container--price {
  font-size: 18px;
  padding-top: 20px;
  color: black;
}
.tile-container--image {
  margin-bottom: 16px;
}
.tile-container .tile {
  flex: 0 1 calc(33.333% - 16px);
  box-sizing: border-box;
  background: #f0f0f0;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
@media (max-width: 900px) {
  .tile-container .tile {
    flex: 1 1 calc(50% - 16px);
  }
}
@media (max-width: 600px) {
  .tile-container .tile {
    flex: 1 1 100%;
  }
}

.filter-container {
  width: 100%;
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  flex-direction: row;
}
@media (max-width: 900px) {
  .filter-container {
    flex-direction: column;
  }
}
.filter-container select {
  width: 20%;
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  border: solid silver 2px;
  margin-right: 2rem;
}
@media (max-width: 900px) {
  .filter-container select {
    margin-bottom: 16px;
    width: 70%;
  }
}
.filter-container select:nth-child(3n) {
  margin-right: 0;
}
.filter-container label {
  min-width: 10%;
}

.headline {
  margin: 16px 0;
}

a {
  color: black;
}
a:hover {
  text-decoration: underline;
  text-decoration-color: black !important;
}

.product-detail {
  display: flex;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .product-detail {
    flex-direction: column;
  }
}
.product-detail .product-image,
.product-detail .product-data {
  flex: 1 1 calc(50% - 16px);
}
@media (max-width: 600px) {
  .product-detail .product-image,
  .product-detail .product-data {
    flex: 1 1 100%;
  }
}
.product-detail .product-data {
  padding-left: 15px;
}
.product-detail .variants-container {
  display: flex;
}
.product-detail .variant-label {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 20px;
}
.product-detail .variant-option {
  border: solid silver 1px;
  padding: 5px;
  margin: 2px;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
}
.product-detail .variant-option.sold-out {
  cursor: not-allowed;
  position: relative;
  opacity: 0.5;
  text-decoration: black line-through;
}
.product-detail .variant-option.active {
  outline: solid silver 2px;
  font-weight: bold;
}
.product-detail #addToCart {
  margin-top: 20px;
}

.backLink {
  border: solid silver 1px;
  padding: 10px;
  border-radius: 4px;
}
.backLink:hover {
  text-decoration: none !important;
  border: solid black 2px;
}

.spacer {
  height: 20px;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 35px;
  border-radius: 8px;
  width: 350px;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.go-to-cart-btn {
  margin-top: 15px;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary {
  display: inline-block;
  padding: 0.5rem 1.875rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  background-color: #e53935; /* tomato red */
  border: 1px solid #e53935;
  border-radius: 0.25rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: #b71c1c; /* darker red */
  border-color: #a31616;
  color: #fff;
}

.btn-primary:focus {
  background-color: #b71c1c; /* darker red */
  border-color: #a31616;
  color: #fff;
}

.btn-primary:active {
  background-color: #a31616 !important;
  border-color: #8e1212 !important;
  color: #fff;
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: auto;
}

.filter-container {
  display: none;
}

.footer-menu--item {
  padding: 20px !important;
  width: auto !important;
}

.variants-container {
  display: none !important;
}

#cartSummary {
  display: none;
}

.cart-discount-control {
  display: none;
}

.footer--menu-container {
  align-items: flex-end;
}

.hide {
  display: none !important;
}

#tx_indexedsearch {
  display: none !important;
}

#cartList {
  padding-left: 0;
}

.amount-control {
  min-width: 75px;
}

.button-container {
  display: flex;
}

.navbar-toggler {
  padding: 0.75rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler {
  padding: 0.75rem;
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler {
  all: unset;
  padding: 0.75rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  position: unset;
  background-color: unset;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='30px' height='30px'%3E%3Cpath d='M 3 7 A 1.0001 1.0001 0 1 0 3 9 L 27 9 A 1.0001 1.0001 0 1 0 27 7 L 3 7 z M 3 14 A 1.0001 1.0001 0 1 0 3 16 L 27 16 A 1.0001 1.0001 0 1 0 27 14 L 3 14 z M 3 21 A 1.0001 1.0001 0 1 0 3 23 L 27 23 A 1.0001 1.0001 0 1 0 27 21 L 3 21 z'/%3E%3C/svg%3E");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  transition: background-image 0.2s ease-in-out;
  opacity: 0.75;
}
.navbar-toggler-icon:hover {
  opacity: 1;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='50px' height='50px'%3E%3Cpath d='M 4.9902344 3.9902344 A 1.0001 1.0001 0 0 0 4.2929688 5.7070312 L 10.585938 12 L 4.2929688 18.292969 A 1.0001 1.0001 0 1 0 5.7070312 19.707031 L 12 13.414062 L 18.292969 19.707031 A 1.0001 1.0001 0 1 0 19.707031 18.292969 L 13.414062 12 L 19.707031 5.7070312 A 1.0001 1.0001 0 0 0 18.980469 3.9902344 A 1.0001 1.0001 0 0 0 18.292969 4.2929688 L 12 10.585938 L 5.7070312 4.2929688 A 1.0001 1.0001 0 0 0 4.9902344 3.9902344 z'/%3E%3C/svg%3E");
}

.cart-header, .cart-footer {
  display: flex;
  align-items: center;
  font-weight: bold;
  border-bottom: 2px solid #000;
  padding: 10px 0;
}

.cart-header > div,
.cart-footer > div {
  padding: 0 10px;
}

.cart-item {
  display: flex;
  align-items: center;
}

.cart-header-image,
.cart-item-image {
  width: 80px;
  margin-right: 10px;
}

.cart-header-details,
.cart-item-details {
  flex: 1;
}

.cart-discount-control {
  float: right;
}

.cart-header-amount,
.cart-item-amount,
.cart-header-price,
.cart-item-price,
.cart-footer-sum {
  width: 100px;
  text-align: right;
}

.cart-footer {
  border-top: 2px solid #000;
  margin-top: 10px;
  justify-content: flex-end;
}

.cart-footer-label {
  margin-right: 20px;
}

.item-details {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.item-name {
  font-size: 20px;
  font-weight: bold;
}

.item-price {
  margin-left: 60px;
  margin-right: 15px;
}

.amount-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.amount-control button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.amount-control .amount-number {
  all: unset;
  width: 30px;
  min-width: 30px;
  text-align: center;
  font-size: 14px;
  padding: 4px 0;
}

.increase-btn {
  padding-right: 25px;
}

.decrease-btn {
  padding: 0;
}

#cartSummary {
  width: 100%;
  margin-left: 87%;
  font-weight: bold;
}

.submitButton {
  margin-left: auto;
  margin-top: 30px;
}

.formContainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
@media (min-width: 768px) {
  .formContainer {
    width: 70%;
  }
}

.formRow {
  display: flex;
  gap: 16px;
}

.singleWidth {
  width: 100%;
}

.doubleWidth {
  width: 50%;
}

.nextBtn {
  right: 0;
  position: absolute;
}

input {
  border-radius: 4px;
  height: 40px;
  padding: 4px;
}

.payment-radio {
  align-items: center;
  gap: 15px;
  display: flex;
  margin-left: 20px;
}

.finishContainer {
  margin: 100px;
  text-align: center;
  justify-content: center;
}

.adress-data .formContainer {
  max-width: 750px;
  font-family: sans-serif;
}
.adress-data .formContainer label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}
.adress-data .formContainer input[type=text],
.adress-data .formContainer input[type=email],
.adress-data .formContainer input[type=number] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}
.adress-data .formContainer input[type=text]:focus,
.adress-data .formContainer input[type=email]:focus,
.adress-data .formContainer input[type=number]:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  outline: none;
}

.line {
  margin: 10px 0;
  width: 100%;
  border-bottom: solid silver 1px;
}

.amount-number {
  border: none;
  margin-right: 20px;
}
@media (min-width: 768px) {
  .amount-number {
    margin-right: 40px;
  }
}