:root {
  --primary-color: #37474f; /* main text color */
  --primary-light: #546e7a; /* lighter shade for hover or accents */
  --accent-color: #ffb74d; /* border and highlight color */
  --background-color: #fff3e0; /* background of sections */
  --hover-bg: rgba(255, 183, 77, 0.25); /* hover background tint */
  --text-light: #ffffff; /* light text on dark background */
  --border-radius: 12px;
  --box-shadow-color: rgba(55, 71, 79, 0.25);
}

/* header and footer overrides */
:root {
  --primary-bg: var(--accent-color); /* Header/footer background */
  --primary-text: var(
    --primary-color
  ); /* Text inside header/footer and buttons */
  --primary-hover: var(--primary-light); /* Hover text and color accents */

  --success-text: var(--primary-light);
  --success-bg: var(--hover-bg);
  --error-text: var(--primary-light);
  --error-bg: var(--hover-bg);
}
body {
  /* font-family: Arial, sans-serif; */
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header,
.site-footer {
  background-color: #333;
  color: #fff;
  padding: 1em 0;
}

.site-header h1,
.site-footer p {
  margin: 0;
  text-align: center;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}

.site-header nav ul li {
  margin: 0 1em;
}

.site-header nav ul li a {
  color: #fff;
  text-decoration: none;
}

.product-page {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px var(--box-shadow-color);
  padding: 2em;
  margin-top: 2em;
  /* display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 2em;
  margin-top: 1em; */
}

.product-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}

.product-images img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.product-info {
  flex: 1;
}

.product-info h2 {
  margin-top: 0;
}

.price {
  font-size: 1.5em;
  color: #e67e22;
}

.btn-buy {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  padding: 0.6em 1.4em;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1em;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  /* background-color: #e67e22;
  color: #fff;
  padding: 0.75em 1.5em;
  border: none;
  cursor: pointer;
  font-size: 1em;
  margin-top: 1em; */
}

.btn-buy:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--box-shadow-color);
  /* background-color: #cf711f; */
}

.btn-buy:active {
  transform: translateY(0px);
  box-shadow: none;
}

.product-details {
  margin-top: 2em;
}

.product-details h3 {
  border-bottom: 2px solid #e67e22;
  padding-bottom: 0.5em;
}

.product-details h3.inner-description {
  border-bottom: none;
  padding-bottom: 0.5em;
}

.product-details h6 {
  border-bottom: 2px solid #e67e22;
  padding-bottom: 0.5em;
}

.product-meta {
  list-style: none;
  padding: 0;
}

.product-meta li {
  margin-bottom: 0.5em;
}

.product-img-small {
  max-width: 100%;
  height: auto;
  max-height: 250px; /* Adjust height as needed */
  object-fit: contain;
}

.product-main {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.product-images img {
  border: 2px solid var(--accent-color);
  border-radius: var(--border-radius);
}

.similar-items {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.similar-item {
  display: block;
  width: 110px; /* controls image size */
}

.similar-item img {
  width: 100%;
  height: auto;
  border: 2px solid var(--accent-color);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px var(--box-shadow-color);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.similar-item img:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px var(--box-shadow-color);
}
