:root {
  --light-accent: #f1f1f1;
  --dark: rgba(0, 0, 0, 0.8);
  --accent: #2c3e50;
}

body {
  font-family: "Roboto", sans-serif;
}

.overall {
  max-width: 1000px;
}

li {
  color: black;
}

h1,
h2,
h3,
h4 {
  font-family: "Lora", serif;
  font-weight: 500;
}

.row {
  margin-top: 0px;
}

.card-link {
  color: black;
}

/* ── Buttons ── */
.btn-primary {
  background-color: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 500;
  padding: 8px 20px;
  text-transform: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
}

.button-link {
  color: inherit;
  text-decoration: none;
}
.button-link:hover {
  color: inherit;
}

.button-row {
  margin: 12px 0;
}

/* ── Layout helpers ── */
.spaced {
  margin-top: 20px;
}

.section {
  margin-top: 8px;
}

/* ── Accordion ── */
.accordion-button {
  font-weight: 500;
  color: var(--accent);
  text-align: center;
  width: 100%;
  display: block;
}
.accordion-header {
  text-align: center;
}
.accordion-button::after {
  display: none;
}

/* ── Section header ── */
.section-header {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 500;
  margin-top: 20px;
  padding-left: 20px;
}

/* ── Cards ── */
.product-card {
  background-color: white;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  margin-bottom: 10px;
  margin-right: 10px;
}
.product-card h3 {
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.product-card p {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.product-card ul {
  list-style-type: none;
  padding: 0;
}
.product-card ul li {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding-left: 1.5em;
  position: relative;
  color: var(--dark);
}
.product-card ul li::before {
  content: "•";
  color: #28a745;
  position: absolute;
  left: 0;
  top: 0;
}

/* ── Images ── */
.profile-image {
  max-height: 200px;
  max-width: 200px;
  border: 1px solid #eee;
  border-radius: 6px;
  height: auto;
}
.product-image {
  max-height: 300px;
  max-width: 300px;
  border: 1px solid #eee;
  border-radius: 6px;
  height: auto;
}

/* ── Products grid ── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.products-grid > .product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.products-grid > .product-card > a.card-link {
  flex: 1;
  display: flex;
  align-items: center;
}
.card-carousel-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.product-subheader {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
  text-align: center;
}

/* ── Featured card ── */
.product-card-featured {
  grid-column: 1 / -1;
  display: block;
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
}
@media (max-width: 767px) {
  .featured-inner {
    grid-template-columns: 1fr;
  }
}
.featured-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.featured-text p {
  flex: 1;
  font-size: 1.1rem;
  text-align: left;
  padding: 1.5rem 1.5rem 0;
}
.featured-text h3 {
  margin-top: 8px;
  font-size: 1.8rem;
}
.featured-image {
  text-align: center;
}

/* ── Carousel ── */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 10px;
}
.carousel-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background-color: #f1f1f1;
  border-color: #999;
}
.carousel-caption-text {
  font-size: 1rem;
  color: #444;
  text-align: center;
  margin: 8px 0 0;
}

/* ── Profile section ── */
.profile-section {
  text-align: center;
  padding: 10px;
}
.profile-section h1 {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #333;
}
.profile-section h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #666;
}
.cta-button {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ── Typography ── */
p {
  text-align: left;
}

/* ── Dev utilities ── */
.hidden {
  display: none;
}
.dev {
  color: green;
}
