/* Real product photos and the homepage zero-proof selection. */
/* Shopping filter layout */
#jf-advanced-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}
#jf-advanced-filters > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #36523f;
  font-size: 13px;
  font-weight: 600;
}
#jf-advanced-filters input,
#jf-advanced-filters select,
#sort-products {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd4c8;
  border-radius: 7px;
  background: #fff;
  color: #2d4435;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
#jf-advanced-filters input::placeholder { color: #7b857a; font-size: 12px; }
.jf-view-options label { display: inline-flex; gap: 8px; align-items: center; }
#sort-products { width: auto; min-width: 145px; }
@media (max-width: 1000px) {
  #jf-advanced-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  #jf-advanced-filters { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  #jf-advanced-filters > label:first-child { width: 100%; max-width: 100%; }
}
.collection-wrap .collection-grid .find .photo {
  background: #fff !important;
  padding: 0 !important;
  aspect-ratio: 4 / 3 !important;
}
.collection-wrap .collection-grid .find .photo .jf-product-image-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}
.collection-wrap .collection-grid .find .photo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 16px !important;
  box-sizing: border-box;
  background: #fff !important;
}
.collection-wrap .collection-grid .find .photo img[hidden] { display: none !important; }
.jf-photo-awaiting {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 175px;
  width: 100%;
  padding: 20px;
  color: #496154;
  background: #f4f3ed;
  text-align: center;
  font: 500 13px/1.5 "DM Sans", sans-serif;
  box-sizing: border-box;
}
.jf-zero-section { padding-top: 38px; border-top: 1px solid #deded3; }
.jf-zero-intro { margin: 14px 0 0; color: #66746a; line-height: 1.7; }
.jf-zero-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.jf-zero-card { min-width: 0; background: #fff; border: 1px solid #e3e4da; border-radius: 7px; overflow: hidden; display:flex; flex-direction:column; }
.jf-zero-product { color: #274b39; text-decoration: none; display: flex; flex-direction: column; flex:1; }
.jf-zero-photo { display: flex; justify-content: center; align-items: center; aspect-ratio: 1 / 1; padding: 19px; background: #fff; position: relative; box-sizing: border-box; }
.jf-zero-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; }
.jf-zero-photo img[hidden] { display: none; }
.jf-zero-info { display: flex; flex-direction: column; flex:1; padding: 18px 18px 16px; border-top: 1px solid #efefe8; }
.jf-zero-info small { font: 500 10px/1.5 "DM Sans",sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #7a8178; }
.jf-zero-info h3 { font: 500 21px/1.25 "Playfair Display",Georgia,serif; margin: 9px 0 20px; color:#274b39; }
.jf-zero-info > span { font: 600 11px/1.5 "DM Sans",sans-serif; margin-top:auto; }
.jf-zero-info i { float:right; font-style:normal; }
.jf-zero-pin { padding: 0 18px 18px; color: #6a766a; font: 400 10px/1.5 "DM Sans",sans-serif; text-underline-offset: 3px; }
.jf-zero-product:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.jf-zero-product:focus-visible, .jf-zero-pin:focus-visible { outline: 3px solid #a98152; outline-offset: -4px; }
@media (max-width: 900px) { .jf-zero-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .jf-zero-grid { gap: 12px; }
  .jf-zero-photo { padding: 12px; }
  .jf-zero-info { padding: 14px 12px 12px; }
  .jf-zero-info h3 { font-size: 18px; }
  .jf-zero-pin { padding: 0 12px 14px; }
  .collection-wrap .collection-grid .find .photo img { padding: 10px !important; }
}

/* Guide photo completion, October 29, 2026. */
.jf-photo-card { min-width: 0; }
.jf-photo-card .jf-restored-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 210px;
  min-height: 0;
  box-sizing: border-box;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid #edf0e9;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}
.jf-photo-card img.jf-restored-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  box-sizing: border-box;
  padding: 14px;
  background: #fff;
}
.jf-photo-card .jf-restored-photo-wrap:focus-visible {
  outline: 3px solid #b58b54;
  outline-offset: 3px;
}
.jf-photo-card .jf-photo-pin {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 36px;
  margin-top: 9px;
  color: #49634f;
  font-size: 12px;
  font-weight: 500;
  text-underline-offset: 3px;
}
.jf-photo-card.item > .jf-restored-photo-wrap { height: 185px; }
.jf-photo-card.jf-listed-find {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  column-gap: 13px;
  row-gap: 9px;
  align-items: start;
}
.jf-photo-card.jf-listed-find > .jf-restored-photo-wrap {
  grid-column: 1;
  grid-row: 1 / span 3;
  height: 96px;
  margin: 0;
}
.jf-photo-card.jf-listed-find img.jf-restored-photo { padding: 3px; }
.jf-photo-card.jf-listed-find > strong,
.jf-photo-card.jf-listed-find > a { grid-column: 2; }
.jf-photo-card.jf-listed-find > .jf-photo-pin { margin-top: 0; min-height: 28px; font-size: 11px; }
.jf-authentic-resin-grid img { object-fit: contain !important; }
@media (max-width: 640px) {
  .jf-photo-card .jf-restored-photo-wrap { height: 185px; margin-bottom: 13px; }
  .jf-photo-card img.jf-restored-photo { padding: 11px; }
  .jf-photo-card.item > .jf-restored-photo-wrap { height: 175px; }
}

/* More exact guide photos and a clearer shopping-guide hub. */
.jf-fragrance-guide .intro > img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
}
.jf-fragrance-guide .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jf-fragrance-guide #pura-cover-safety { grid-column: 1 / -1; }
.jf-fragrance-guide .item.jf-photo-card { display: flex; flex-direction: column; }
.jf-fragrance-guide .item.jf-photo-card > .jf-restored-photo-wrap { height: 210px; flex-shrink: 0; }
.jf-fragrance-guide .item.jf-photo-card > a[href*="amazon.com"]:not(.jf-restored-photo-wrap) { margin-top: auto; }
.jf-fragrance-guide .item.jf-photo-card > .jf-photo-pin { margin-top: 8px; }
.jf-decor-guide .jf-photo-card.jf-listed-find { grid-template-columns: 112px minmax(0, 1fr); }
.jf-decor-guide .jf-photo-card.jf-listed-find > .jf-restored-photo-wrap { height: 124px; }
.jf-guide-hub main > h1 { max-width: 850px; line-height: 1.12; }
.jf-guide-hub main > .intro { max-width: 740px; margin-bottom: 28px; }
.jf-guide-hub .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jf-guide-hub .jf-guide-card { padding: 0; display: flex; flex-direction: column; }
.jf-guide-hub .jf-guide-card-photo { display: flex; align-items: center; justify-content: center; height: 210px; padding: 20px; background: #fff; border-bottom: 1px solid #edf0e9; }
.jf-guide-hub .jf-guide-card-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jf-guide-hub .jf-guide-card-copy { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.jf-guide-hub .jf-guide-card-copy .eyebrow { font-size: 10px; letter-spacing: .11em; line-height: 1.5; }
.jf-guide-hub .jf-guide-card h3 { font-size: 23px; line-height: 1.25; margin: 9px 0 12px; }
.jf-guide-hub .jf-guide-card p { font-size: 15px; line-height: 1.6; color: #617064; margin: 0 0 22px; }
.jf-guide-hub .jf-guide-card .btn { margin-top: auto; align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; }
.jf-guide-hub .jf-curated-guides a { min-height: 38px; display: inline-flex; align-items: center; color: #315740; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .jf-guide-hub .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jf-fragrance-guide .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .jf-guide-hub .grid, .jf-fragrance-guide .grid { grid-template-columns: minmax(0, 1fr); }
  .jf-guide-hub .jf-guide-card-photo { height: 200px; }
  .jf-guide-hub .jf-guide-card-copy { padding: 20px; }
  .jf-fragrance-guide .intro > img { max-height: 330px; }
}
