:root {
  --orange: #e74716;
  --ink: #28201b;
  --muted: #7c746e;
  --line: #e8e0d7;
  --cream: #fcf8f2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #f29b44;
  outline-offset: 4px;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 36px;
}
header {
  background: #251d17;
  color: #fff8ed;
  overflow: hidden;
}
nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff20;
  position: relative;
  z-index: 2;
}
.brand img {
  width: 112px;
  height: 62px;
  object-fit: contain;
}
.navlinks {
  display: flex;
  gap: 34px;
  font-size: 14px;
}
.navlinks .active {
  color: #ffad75;
}
.saved {
  background: none;
  color: inherit;
  border: 1px solid #ffffff40;
  border-radius: 30px;
  padding: 11px 16px;
  font-size: 13px;
}
.saved b {
  font-size: 11px;
  margin-left: 8px;
  background: #ffffff20;
  padding: 3px 6px;
  border-radius: 50%;
}
.hero {
  position: relative;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 46px;
  min-height: 480px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}
.hero .eyebrow {
  color: #f9ad7d;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: -2.7px;
  margin: 20px 0;
}
h1 em {
  font-style: normal;
  color: #ff955b;
}
.intro {
  font-size: 15px;
  color: #d2c6ba;
  line-height: 1.75;
}
.searchbox {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  max-width: 530px;
  margin: 26px auto 0;
  border-radius: 40px;
  background: white;
  color: #81776e;
  padding: 8px 10px 8px 22px;
  gap: 12px;
  box-shadow: 0 8px 35px #0002;
}
.searchbox > span {
  font-size: 28px;
}
.searchbox input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 14px;
  min-width: 0;
  outline: none;
}
.searchbox a {
  background: #fff0e6;
  color: var(--orange);
  border-radius: 50%;
  padding: 8px 13px;
  font-size: 22px;
}
.searchhint {
  font-size: 11px;
  color: #ac9c8e;
}
.hero-bottle {
  position: absolute;
  height: 340px;
  bottom: 28px;
  filter: brightness(0.75) drop-shadow(0 22px 20px #0008);
  pointer-events: none;
}
.bottle-one {
  left: -52px;
  transform: rotate(-19deg);
}
.bottle-two {
  right: -45px;
  transform: rotate(19deg);
}
.feature {
  position: relative;
  background: linear-gradient(115deg, #f9873e, #e73a13);
  color: white;
  margin: 34px 0 66px;
  border-radius: 15px;
  min-height: 300px;
  padding: 35px 44px;
  overflow: hidden;
}
.pill {
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 7px 10px;
  border: 1px solid #ffffff60;
  border-radius: 20px;
}
.feature h2 {
  font-size: 34px;
  letter-spacing: -1.3px;
  line-height: 1.15;
  margin: 18px 0 12px;
}
.feature p {
  font-size: 13px;
  line-height: 1.65;
  color: #fff4e9;
}
.light,
.primary {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  border: 0;
  border-radius: 6px;
  padding: 13px 17px;
  background: #fff9ee;
  color: #452415;
  font-weight: 700;
  font-size: 12px;
}
.feature-art {
  position: absolute;
  right: 80px;
  top: 0;
  bottom: 0;
  width: 340px;
}
.feature-art:before {
  content: "";
  position: absolute;
  inset: 40px 0 0;
  border: 1px solid #ffffff35;
  border-radius: 50%;
}
.feature-art img {
  position: absolute;
  height: 345px;
  left: 60px;
  top: -16px;
  transform: rotate(15deg);
  filter: drop-shadow(15px 20px 14px #84210060);
}
.circle-text {
  position: absolute;
  right: -45px;
  top: 55px;
  background: #f9edb8;
  color: #602b16;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(12deg);
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 27px;
}
.orange {
  color: var(--orange);
}
.section-heading h2 {
  font-size: 34px;
  letter-spacing: -1.5px;
  margin: 8px 0 0;
}
.section-heading h2 span {
  color: var(--orange);
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 25px;
}
#chips {
  display: flex;
  gap: 8px;
}
#chips button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 25px;
  font-size: 12px;
}
#chips .selected {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.sort-label {
  font-size: 11px;
  color: var(--muted);
}
select {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 12px;
  padding: 8px;
}
.catalog {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 25px;
}
.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-title h3 {
  font-size: 14px;
}
.filter-title button {
  border: 0;
  background: none;
  font-size: 11px;
  color: var(--orange);
}
aside {
  background: #f6ede4;
  border: 1px solid #ecdfd2;
  border-radius: 9px;
  padding: 6px 18px;
  height: fit-content;
}
fieldset {
  border: 0;
  border-top: 1px solid #e8d9cb;
  padding: 22px 0 12px;
  margin: 12px 0;
}
legend {
  float: left;
  width: 100%;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 20px;
}
fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  font-size: 12px;
  color: #655a50;
}
input[type="radio"] {
  accent-color: var(--orange);
}
.aside-note {
  border-top: 1px solid #e8d9cb;
  padding: 22px 0 10px;
}
.aside-note > span {
  color: var(--orange);
  font-size: 35px;
}
.aside-note h3 {
  font-size: 14px;
}
.aside-note p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.resultbar {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  margin: 7px 0 16px;
}
.resultbar > span:last-child {
  font-size: 10px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid #ebe3da;
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px #35200d0c;
}
.product-image {
  border: 0;
  display: block;
  width: 100%;
  height: 230px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.product-image:before {
  content: "";
  position: absolute;
  width: 165px;
  height: 165px;
  border: 1px solid #ffffff9c;
  border-radius: 50%;
  top: 40px;
  left: calc(50% - 82px);
}
.product-image img {
  height: 218px;
  max-width: 95%;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(7px 10px 7px #3e281526);
  transition: transform 0.3s;
}
.card:hover .product-image img {
  transform: rotate(-5deg) scale(1.04);
}
.heart {
  position: absolute;
  top: 11px;
  right: 11px;
  border: 0;
  background: #fffc;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  font-size: 18px;
  color: #6f6256;
  z-index: 1;
}
.heart[aria-pressed="true"] {
  color: var(--orange);
}
.format-tag {
  position: absolute;
  left: 12px;
  top: 13px;
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #fff9;
  padding: 5px 7px;
  border-radius: 3px;
}
.card-info {
  padding: 16px 15px;
}
.card-info h3 {
  font-size: 14px;
  letter-spacing: -0.3px;
  margin: 0 0 7px;
}
.card-info > p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 16px;
}
.card-bottom {
  border-top: 1px solid #f1ebe4;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8b6a50;
}
.card-bottom button {
  background: none;
  border: 0;
  color: var(--orange);
  font-size: 16px;
  padding: 0 3px;
}
#empty {
  text-align: center;
  padding: 60px 20px;
}
.primary {
  background: var(--orange);
  color: white;
}
.story {
  margin: 90px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.story-art {
  background: #f1dfcd;
  border-radius: 12px;
  height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.story-art img {
  width: 49%;
  height: 300px;
  object-fit: contain;
  filter: drop-shadow(10px 15px 12px #49322230);
  transform: rotate(-10deg);
}
.story-art img + img {
  transform: rotate(12deg);
  margin-left: -30px;
}
.story h2 {
  font-size: 38px;
  letter-spacing: -1.8px;
  line-height: 1.15;
}
.story p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.text-link {
  font-size: 13px;
  color: var(--orange);
  display: inline-block;
  margin-top: 15px;
  font-weight: 700;
}
.closing {
  background: #e94b1c;
  color: #fff8ea;
  border-radius: 12px;
  padding: 35px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.closing > span {
  font-size: 80px;
  color: #ffc58a;
}
.closing h2 {
  font-size: 31px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0;
}
footer {
  margin-top: 50px !important;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 30px 0;
}
.footer-top p {
  color: var(--muted);
  font-size: 12px;
}
.footer-top > a:last-child {
  margin-left: auto;
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.footer-bottom a {
  margin-left: 24px;
}
dialog {
  border: 0;
  border-radius: 16px;
  background: var(--cream);
  padding: 32px;
  width: min(700px, 92vw);
  color: var(--ink);
}
dialog::backdrop {
  background: #211810b3;
  backdrop-filter: blur(4px);
}
.close {
  position: absolute;
  right: 13px;
  top: 10px;
  background: none;
  border: 0;
  font-size: 28px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
}
.detail-grid > img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  background: #f3e6d8;
  border-radius: 10px;
}
.detail-grid h2 {
  font-size: 28px;
}
.detail-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.detail-grid h4 {
  margin-bottom: 5px;
}
.detail-grid .primary {
  margin-top: 16px;
}
@media (max-width: 1000px) {
  .hero-bottle {
    opacity: 0.35;
  }
  .feature-art {
    right: 15px;
    width: 270px;
  }
  .feature-art img {
    left: 25px;
  }
  .circle-text {
    right: 0;
  }
  .catalog {
    grid-template-columns: 175px 1fr;
    gap: 18px;
  }
  .grid {
    gap: 12px;
  }
  .product-image {
    height: 195px;
  }
  .product-image img {
    height: 185px;
  }
  .story {
    gap: 30px;
  }
  .card-info {
    padding: 12px;
  }
  .card-info h3 {
    font-size: 12px;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  nav {
    height: 80px;
  }
  .brand img {
    width: 90px;
  }
  .navlinks {
    gap: 15px;
    font-size: 11px;
  }
  .navlinks a:last-child {
    display: none;
  }
  .saved span {
    display: none;
  }
  .saved {
    padding: 8px 10px;
  }
  .hero {
    padding-top: 40px;
    min-height: 435px;
  }
  h1 {
    font-size: 43px;
  }
  .hero-bottle {
    height: 245px;
    opacity: 0.15;
  }
  .intro {
    font-size: 13px;
  }
  .feature {
    margin: 24px 0 45px;
    padding: 25px;
    min-height: 300px;
  }
  .feature h2 {
    font-size: 27px;
    max-width: 70%;
  }
  .feature p {
    max-width: 65%;
    font-size: 11px;
  }
  .feature p br {
    display: none;
  }
  .feature-art {
    right: -48px;
    width: 200px;
    top: 50px;
  }
  .feature-art img {
    height: 240px;
    left: 0;
  }
  .circle-text {
    display: none;
  }
  .feature .light {
    font-size: 10px;
    gap: 10px;
    position: relative;
    z-index: 1;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .catalog-toolbar {
    gap: 12px;
    flex-wrap: wrap;
  }
  #chips {
    gap: 5px;
  }
  #chips button {
    padding: 8px 13px;
    font-size: 11px;
  }
  .sort-label {
    margin-left: auto;
  }
  .catalog {
    display: block;
  }
  aside {
    margin-bottom: 20px;
    padding: 0 15px;
  }
  .filter-title {
    padding: 0;
  }
  fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    padding: 8px 0;
    margin: 0;
    border: 0;
  }
  legend {
    display: none;
  }
  fieldset label {
    margin: 5px 0;
    font-size: 11px;
  }
  .aside-note {
    display: none;
  }
  .resultbar > span:last-child {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-image {
    height: 205px;
  }
  .product-image img {
    height: 195px;
  }
  .card-info h3 {
    font-size: 13px;
  }
  .story {
    grid-template-columns: 1fr;
    margin: 55px 0;
    gap: 20px;
  }
  .story-art {
    height: 300px;
  }
  .story-art img {
    height: 270px;
  }
  .story h2 {
    font-size: 32px;
    margin-top: 15px;
  }
  .closing {
    padding: 28px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .closing > span {
    display: none;
  }
  .closing h2 {
    font-size: 27px;
  }
  .footer-top {
    gap: 15px;
    flex-wrap: wrap;
  }
  .footer-top p {
    font-size: 10px;
  }
  .footer-top > a:last-child {
    margin-left: 0;
  }
  .footer-bottom {
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-bottom a {
    margin-left: 0;
    margin-right: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid > img {
    height: 220px;
  }
  .detail-grid h2 {
    margin: 10px 0;
  }
  dialog {
    max-height: 90vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
/* Spice photography hero background */
header {
  background: #251d17 url("../images/hero-spices.png") center center / cover
    no-repeat;
}
.hero-bottle {
  display: none;
}
.hero {
  background: radial-gradient(
    ellipse at center,
    rgba(25, 15, 8, 0.24),
    transparent 70%
  );
}
@media (max-width: 720px) {
  header {
    background-position: center;
    background-image: linear-gradient(
        rgba(25, 15, 8, 0.25),
        rgba(25, 15, 8, 0.25)
      ),
      url("../images/hero-spices.png");
  }
}

/* Text actions in place of arrows */
.searchbox a {
  border-radius: 22px;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 15px;
}
.card-bottom button {
  font-size: 11px;
  font-weight: 700;
}
select {
  appearance: none;
  -webkit-appearance: none;
}
