.mill-card .product-pic { overflow: hidden; border-radius: 12px; }
.mill-card .product-pic img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 54%;
  mix-blend-mode: normal;
}
.mill-config .config-content { min-width: 0; }
.mill-gallery {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 30px;
  background: var(--paper);
}
.mill-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
}
.mill-gallery figcaption { display: grid; gap: 12px; }
.mill-gallery figcaption > a { color: var(--green); font-size: 14px; text-decoration: underline; }
.mill-gallery figcaption > span { color: var(--muted); font-size: 14px; }
.mill-gallery-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.mill-gallery-controls button {
  padding: 7px 14px;
  min-height: 36px;
  border: 1px solid #87948d;
  border-radius: 99px;
  background: white;
  font-size: 12px;
}
.mill-gallery-controls button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.mill-choice { min-width: 0; }
.mill-choice label { display: block; font-size: 15px; font-weight: 650; }
.mill-choice select {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 10px 30px 10px 12px;
  border: 1px solid #87948d;
  border-radius: 10px;
  background:
    linear-gradient(45deg, transparent 50%, var(--green) 50%) calc(100% - 16px) center / 5px 5px no-repeat,
    linear-gradient(135deg, var(--green) 50%, transparent 50%) calc(100% - 11px) center / 5px 5px no-repeat,
    white;
  color: inherit;
  font: inherit;
  font-size: 16px;
}
.mill-note { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.mill-note:empty { display: none; }
.mill-additions { margin-top: 18px; padding-top: 16px; border-top: 1px solid #d8ded9; }
.mill-additions h3 { font-size: 17px; }
.mill-additions .secondary { margin-top: 12px; min-height: 44px; }
.mill-extra-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
}
.mill-extra-row .mill-remove { min-height: 48px; padding-inline: 6px; color: var(--green); text-decoration: underline; }
.mill-subheading { margin-top: 22px; font-size: 17px; }
.mill-config .included { margin: 8px 0 18px; }
.mill-config details p { font-size: 13px; }
.mill-facts { margin: 10px 0 0; }
.mill-facts div { display: grid; grid-template-columns: 1fr 1.7fr; gap: 10px; padding: 5px 0; }
.mill-facts dt { font-weight: 650; }
.mill-facts dd { margin: 0; }
@media (max-width: 800px) {
  .mill-gallery { padding: 20px; }
}
@media (max-width: 560px) {
  .mill-gallery { gap: 12px; }
  .mill-gallery img { aspect-ratio: 16/9; }
}
