/* =========================================================
   BIANCA & RUBEN — WEDDING REGISTRY

   Vogue Home • Modern • Earthy • Editorial
========================================================= */


/* =========================================================
   COLOUR SYSTEM
========================================================= */

:root {

  /* Core typography */
  --ink: #292724;
  --charcoal: #383531;
  --espresso: #453d36;
  --muted: #746e67;

  /* Light architectural neutrals */
  --paper: #f7f5f1;
  --white: #ffffff;
  --ivory: #f1eee8;
  --cream: #e9e3da;
  --limestone: #ddd6cc;
  --stone-light: #e4dfd7;

  /* Earth tones */
  --sand: #d1c4b4;
  --taupe: #b2a395;
  --mushroom: #998c80;
  --clay: #a77e68;

  /* Natural greens */
  --olive: #74745c;
  --olive-soft: #aaa995;
  --sage-grey: #a4a69a;

  /* Wood */
  --oak: #a88668;
  --walnut: #695547;

  /* Metal */
  --brass: #a48b65;

  /* UI */
  --line: #d8d1c8;
  --line-dark: #bdb4aa;

  --shadow:
    0 20px 60px rgba(49, 43, 38, 0.08);

  /* Fonts */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  overflow-x: hidden;

  background: var(--paper);
  color: var(--ink);

  font-family: var(--serif);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img {
  display: block;

  width: 100%;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}


/* =========================================================
   GLOBAL LAYOUT
========================================================= */

.section-shell {
  width: min(1160px, calc(100% - 48px));

  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;

  font-family: var(--sans);

  color: white;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: 0.24em;

  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--muted);
}

.rule {
  width: 36px;
  height: 1px;

  margin: 22px auto 0;

  background: var(--brass);
}


/* =========================================================
   GLOBAL HEADINGS
========================================================= */

.section-heading {
  max-width: 760px;

  margin: 0 auto 42px;

  text-align: center;
}

.section-heading h2,
.intro h2,
.brands h2,
.future-home h2 {
  margin: 0;

  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;

  line-height: 0.98;

  letter-spacing: -0.025em;
}

.section-description {
  max-width: 560px;

  margin: 24px auto 0;

  color: var(--muted);

  font-size: 17px;
  line-height: 1.65;
}


/* =========================================================
   HERO
========================================================= */

.registry-hero {
  position: relative;

  display: grid;

  min-height: 100svh;

  place-items: center;

  overflow: hidden;

  background: #817a72;
}

.hero-image {
  position: absolute;

  inset: 0;

  background:
    url("../images/hero.jpg")
    center center / cover
    no-repeat;

  transform: scale(1.015);
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(31, 28, 25, 0.32),
      rgba(31, 28, 25, 0.08) 45%,
      rgba(31, 28, 25, 0.44)
    );
}

.hero-content {
  position: relative;

  z-index: 2;

  width: min(900px, calc(100% - 32px));

  padding: 50px 20px;

  text-align: center;

  color: #fff;
}

.hero-content h1 {
  margin: 0;

  font-size: clamp(54px, 9vw, 112px);
  font-weight: 400;

  line-height: 0.86;

  letter-spacing: -0.035em;

  text-transform: uppercase;
}

.hero-date {
  margin: 30px 0 36px;

  font-family: var(--sans);

  font-size: 10px;

  letter-spacing: 0.24em;
}

.hero-link {
  display: inline-block;

  padding-bottom: 6px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.68);

  color: #fff;

  text-decoration: none;

  font-family: var(--sans);

  font-size: 9px;

  letter-spacing: 0.17em;

  text-transform: uppercase;

  transition:
    opacity 0.2s ease;
}

.hero-link:hover {
  opacity: 0.7;
}


/* =========================================================
   NOTE FROM US
========================================================= */

.intro {
  max-width: 860px;

  padding-top: 106px;
  padding-bottom: 108px;

  text-align: center;
}

.intro-copy {
  max-width: 670px;

  margin: 30px auto 0;

  color: #514b46;

  font-size: 18px;
  line-height: 1.72;
}

.intro-copy-secondary {
  margin-top: 17px;

  color: var(--muted);
}

.signature {
  margin: 36px 0 0;

  color: var(--muted);

  font-size: 16px;
  font-style: italic;
}

.signature span {
  display: block;

  margin-top: 5px;

  color: var(--ink);

  font-size: 29px;
  font-style: normal;
}


/* =========================================================
   OUR HOME
========================================================= */

.home-style {
  padding: 92px 0 0;

  background: var(--ivory);
}

.home-style > .section-shell .section-heading {
  margin-bottom: 46px;
}


/* =========================================================
   MOODBOARD
========================================================= */

.mood-strip {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 5px;

  padding: 0 5px 5px;
}

.mood-card {
  position: relative;

  min-height: 500px;

  overflow: hidden;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.mood-one {
  background-image: url("../images/kitchen.jpg");
}

.mood-two {
  background-image: url("../images/bedroom.jpg");
}

.mood-three {
  background-image: url("../images/bathroom.jpg");
}

.mood-four {
  background-image: url("../images/cozy-living-room.jpg");
}

.mood-card::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(31, 28, 25, 0.43) 0%,
      rgba(31, 28, 25, 0.07) 38%,
      rgba(31, 28, 25, 0) 66%
    );
}

.mood-card-overlay {
  position: absolute;

  inset: 0;

  z-index: 2;
}

.mood-card span {
  position: absolute;

  left: 25px;
  bottom: 23px;

  z-index: 3;

  color: #fff;

  font-family: var(--serif);

  font-size: 24px;
  font-weight: 400;

  letter-spacing: 0.01em;
}


/* =========================================================
   LIVE REGISTRY
========================================================= */

.registry {
  padding: 98px 0 108px;

  background: var(--paper);
}


/* =========================================================
   FILTER TOOLBAR
========================================================= */

.toolbar {
  margin-bottom: 45px;

  padding: 16px 0 18px;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-row {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 6px;

  margin-bottom: 16px;
}

.filter-chip {
  padding: 8px 12px;

  border: 1px solid transparent;
  border-radius: 0;

  background: transparent;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 9px;
  font-weight: 500;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.filter-chip:hover {
  color: var(--ink);

  background: var(--ivory);
}

.filter-chip.active {
  border-color: var(--taupe);

  background: var(--espresso);

  color: var(--paper);
}

.toolbar-bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 10px;

  letter-spacing: 0.05em;
}

.availability-toggle {
  display: flex;

  align-items: center;

  gap: 9px;

  cursor: pointer;
}

.availability-toggle input {
  accent-color: var(--olive);
}

.sort-control {
  display: flex;

  align-items: center;

  gap: 10px;
}

.sort-control select {
  padding: 5px 22px 5px 4px;

  border: 0;
  border-bottom: 1px solid var(--line-dark);

  background: transparent;

  color: var(--ink);

  font-family: var(--sans);

  font-size: 10px;

  outline: none;
}

.registry-state {
  padding: 34px 0;

  text-align: center;

  color: var(--muted);

  font-size: 17px;
}


/* =========================================================
   GIFT GRID
========================================================= */

.gift-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  column-gap: 36px;
  row-gap: 68px;
}

.gift-card {
  min-width: 0;
}


/* =========================================================
   GIFT IMAGE
========================================================= */

.gift-image-wrap {
  position: relative;

  overflow: hidden;

  aspect-ratio: 1 / 1.16;

  background: var(--stone-light);

  cursor: pointer;
}

.gift-image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.45s ease,
    opacity 0.25s ease;
}

.gift-image-wrap:hover .gift-image {
  transform: scale(1.022);
}

.gift-placeholder {
  display: grid;

  width: 100%;
  height: 100%;

  place-items: center;

  background:
    linear-gradient(
      145deg,
      #e4ddd4,
      #f1eee9 52%,
      #d3d1c6
    );

  color: var(--mushroom);

  font-size: 50px;
}


/* =========================================================
   BADGES
========================================================= */

.status-badge,
.favourite-badge {
  position: absolute;

  top: 13px;

  z-index: 3;

  padding: 8px 10px;

  background: rgba(247, 245, 241, 0.94);

  color: var(--espresso);

  font-family: var(--sans);

  font-size: 8px;
  font-weight: 500;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  backdrop-filter: blur(4px);
}

.status-badge {
  right: 13px;
}

.favourite-badge {
  left: 13px;

  background: rgba(228, 223, 215, 0.95);
}

.status-badge.available {
  background: rgba(247, 245, 241, 0.94);
}

.status-badge.reserved,
.status-badge.gifted {
  background: rgba(41, 39, 36, 0.91);

  color: #fff;
}


/* =========================================================
   GIFT INFORMATION
========================================================= */

.gift-info {
  padding-top: 18px;
}

.gift-topline {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 16px;
}

.gift-info h3 {
  max-width: 92%;

  margin: 0;

  font-size: 25px;
  font-weight: 400;

  line-height: 1.04;
}

.gift-price {
  flex: 0 0 auto;

  white-space: nowrap;

  color: var(--espresso);

  font-size: 14px;
}

.gift-brand {
  margin: 8px 0 0;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 10px;

  letter-spacing: 0.06em;
}

.gift-note {
  max-width: 96%;

  margin: 12px 0 0;

  color: #665f59;

  font-size: 14px;
  line-height: 1.55;
}

.quantity-note {
  display: inline-block;

  margin-top: 12px;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 8px;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


/* =========================================================
   GIFT BUTTONS
========================================================= */

.card-actions {
  display: flex;

  gap: 8px;

  margin-top: 18px;
}

.button {
  display: inline-flex;

  min-height: 40px;

  align-items: center;
  justify-content: center;

  padding: 10px 14px;

  border: 1px solid var(--line-dark);

  background: transparent;

  color: var(--ink);

  text-align: center;
  text-decoration: none;

  font-family: var(--sans);

  font-size: 8px;
  font-weight: 500;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  border-color: var(--espresso);

  background: var(--ivory);
}

.button.primary {
  border-color: var(--espresso);

  background: var(--espresso);

  color: var(--paper);
}

.button.primary:hover {
  border-color: var(--walnut);

  background: var(--walnut);
}

.button[disabled] {
  opacity: 0.42;

  cursor: not-allowed;
}


/* =========================================================
   REFINED GIFT IDEAS
========================================================= */

.gift-ideas-refined {
  padding: 86px 0 94px;

  background: #fff;
}

.gift-ideas-header {
  max-width: 680px;

  margin: 0 auto 44px;

  text-align: center;
}

.gift-ideas-header h2 {
  margin: 0;

  font-size: clamp(40px, 5vw, 58px);
  font-weight: 400;

  line-height: 0.98;

  letter-spacing: -0.02em;
}

.gift-ideas-header > p:not(.eyebrow) {
  max-width: 530px;

  margin: 22px auto 0;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.65;
}

.gift-ideas-row {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gift-idea-item {
  position: relative;

  min-height: 210px;

  padding: 30px 25px;

  border-right: 1px solid var(--line);

  background: transparent;
}

.gift-idea-item:last-child {
  border-right: 0;
}

.gift-idea-item:nth-child(1) {
  background: #f4f1ec;
}

.gift-idea-item:nth-child(2) {
  background: #e8e4de;
}

.gift-idea-item:nth-child(3) {
  background: #ddd6ce;
}

.gift-idea-item:nth-child(4) {
  background: #d3ccbf;
}

.gift-idea-number {
  display: block;

  margin-bottom: 38px;

  color: rgba(41, 39, 36, 0.35);

  font-family: var(--serif);

  font-size: 22px;
}

.gift-idea-item h3 {
  margin: 0 0 12px;

  font-size: 25px;
  font-weight: 400;

  line-height: 1.05;
}

.gift-idea-item p {
  margin: 0;

  color: #5e5852;

  font-size: 13px;
  line-height: 1.6;
}


/* =========================================================
   PLACES WE LOVE
========================================================= */

.brands {
  padding: 94px 24px 100px;

  text-align: center;

  background: var(--paper);
}

.brands .section-heading {
  margin-bottom: 0;
}

.brands-copy {
  max-width: 600px;

  margin: 23px auto 0;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.65;
}

.brand-list {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  max-width: 1100px;

  margin: 47px auto 0;

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brand-list span {
  display: flex;

  min-height: 122px;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding: 22px 14px;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.22);

  font-size: 22px;

  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.brand-list span:hover {
  background: var(--espresso);

  color: var(--paper);
}

.brand-list small {
  display: block;

  margin-bottom: 8px;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 7px;
  font-weight: 500;

  letter-spacing: 0.17em;

  text-transform: uppercase;

  transition:
    color 0.22s ease;
}

.brand-list span:hover small {
  color: rgba(247, 245, 241, 0.65);
}


/* =========================================================
   FUTURE HOME
========================================================= */

.future-home {
  max-width: 780px;

  padding-top: 98px;
  padding-bottom: 104px;

  text-align: center;
}

.future-home-copy {
  max-width: 600px;

  margin: 27px auto 0;

  color: #58524d;

  font-size: 18px;
  line-height: 1.68;
}

.future-home-copy + .future-home-copy {
  margin-top: 14px;
}

.closing-signature {
  margin-top: 38px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  padding: 54px 20px 47px;

  border-top: 1px solid var(--line);

  background: var(--ivory);

  text-align: center;
}

footer p {
  margin: 0;

  font-size: 19px;

  letter-spacing: 0.12em;
}

footer span {
  display: block;

  margin-top: 8px;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 8px;

  letter-spacing: 0.18em;
}

footer a {
  display: inline-block;

  margin-top: 23px;

  padding-bottom: 4px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  text-decoration: none;

  font-family: var(--sans);

  font-size: 8px;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}


/* =========================================================
   DIALOGS
========================================================= */

dialog {
  max-height: 92svh;

  padding: 0;

  border: 0;

  background: var(--paper);

  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.22);
}

dialog::backdrop {
  background: rgba(31, 29, 27, 0.52);

  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;

  top: 9px;
  right: 14px;

  z-index: 5;

  padding: 4px;

  border: 0;

  background: transparent;

  color: var(--ink);

  font-size: 31px;
  font-weight: 300;

  line-height: 1;
}


/* =========================================================
   GIFT DETAILS DIALOG
========================================================= */

.gift-dialog {
  width: min(900px, calc(100% - 24px));
}

.gift-dialog-layout {
  display: grid;

  grid-template-columns: 1fr 1fr;

  min-height: 550px;
}

.gift-dialog-media {
  min-height: 470px;

  background: var(--stone-light);
}

.gift-dialog-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.gift-dialog-copy {
  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 64px 46px 42px;
}

.gift-dialog-copy h2,
.reserve-copy h2 {
  margin: 0 0 10px;

  font-size: 40px;
  font-weight: 400;

  line-height: 1;
}

.gift-dialog-copy .dialog-brand {
  margin: 0 0 22px;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 11px;
}

.gift-dialog-copy .dialog-desc {
  margin: 10px 0 0;

  color: #57514b;

  font-size: 16px;
  line-height: 1.62;
}

.gift-dialog-copy .dialog-meta {
  margin-top: 18px;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 8px;

  letter-spacing: 0.11em;

  text-transform: uppercase;
}


/* =========================================================
   RESERVATION DIALOG
========================================================= */

.reserve-dialog {
  width: min(560px, calc(100% - 24px));

  padding: 52px 46px 40px;
}

.reserve-copy {
  margin-bottom: 27px;

  text-align: center;
}

.reserve-copy p:not(.eyebrow) {
  margin: 11px auto 0;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.52;
}

#reserveForm {
  display: grid;

  gap: 17px;
}

#reserveForm > label {
  display: grid;

  gap: 7px;

  font-family: var(--sans);

  font-size: 9px;

  letter-spacing: 0.11em;

  text-transform: uppercase;
}

#reserveForm input,
#reserveForm select {
  width: 100%;

  min-height: 45px;

  padding: 11px 12px;

  border: 1px solid var(--line);

  background: #fff;

  font-size: 16px;

  letter-spacing: 0;

  text-transform: none;

  outline: none;
}

#reserveForm input:focus,
#reserveForm select:focus {
  border-color: var(--brass);

  outline: 1px solid var(--brass);
}

fieldset {
  padding: 14px 15px 12px;

  border: 1px solid var(--line);
}

legend {
  padding: 0 7px;

  color: var(--muted);

  font-family: var(--sans);

  font-size: 8px;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.radio-line {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  padding: 7px 0;

  font-size: 14px;
  line-height: 1.4;
}

.radio-line input {
  width: auto !important;
  min-height: auto !important;

  margin-top: 3px;

  accent-color: var(--olive);
}

.form-status {
  min-height: 20px;

  margin: 0;

  text-align: center;

  color: var(--muted);

  font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .section-shell {
    width: min(100% - 36px, 1160px);
  }


  /* Moodboard */

  .mood-strip {
    grid-template-columns: 1fr 1fr;

    gap: 5px;
  }

  .mood-card,
  .mood-three,
  .mood-four {
    grid-column: auto;

    min-height: 430px;
  }


  /* Registry */

  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 28px;
  }


  /* Gift Ideas */

  .gift-ideas-row {
    grid-template-columns: 1fr 1fr;
  }

  .gift-idea-item:nth-child(2) {
    border-right: 0;
  }

  .gift-idea-item:nth-child(1),
  .gift-idea-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .gift-idea-item:nth-child(3) {
    border-right: 1px solid var(--line);
  }


  /* Stores */

  .brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  /* Dialog */

  .gift-dialog-layout {
    grid-template-columns: 1fr;
  }

  .gift-dialog-media {
    min-height: 370px;
    max-height: 460px;
  }

  .gift-dialog-copy {
    padding: 40px 30px 34px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

  .section-shell {
    width: calc(100% - 28px);
  }


  /* Hero */

  .registry-hero {
    min-height: 100svh;
  }

  .hero-image {
    background-position: center center;
  }

  .hero-content {
    width: 100%;

    padding: 40px 16px;
  }

  .hero-content h1 {
    font-size: clamp(47px, 15vw, 66px);

    line-height: 0.89;
  }

  .hero-date {
    margin: 24px 0 31px;

    font-size: 8px;
  }

  .hero-link {
    font-size: 8px;
  }


  /* Headings */

  .intro h2,
  .section-heading h2,
  .brands h2,
  .future-home h2 {
    font-size: clamp(35px, 11vw, 45px);
  }

  .section-description,
  .brands-copy,
  .future-home-copy {
    font-size: 16px;
  }


  /* Intro */

  .intro {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .intro-copy {
    font-size: 17px;
  }

  .signature {
    margin-top: 31px;
  }

  .signature span {
    font-size: 27px;
  }


  /* Home */

  .home-style {
    padding-top: 74px;
  }

  .home-style > .section-shell .section-heading {
    margin-bottom: 33px;
  }


  /* Moodboard */

  .mood-strip {
    grid-template-columns: 1fr 1fr;

    gap: 4px;

    padding: 0 4px 4px;
  }

  .mood-card,
  .mood-three,
  .mood-four {
    grid-column: auto;

    min-height: 292px;
  }

  .mood-card span {
    left: 15px;
    bottom: 15px;

    font-size: 18px;
  }


  /* Registry */

  .registry {
    padding: 72px 0 78px;
  }

  .section-heading {
    margin-bottom: 31px;
  }

  .section-description {
    max-width: 420px;

    margin-top: 19px;

    font-size: 15px;
    line-height: 1.58;
  }


  /* Toolbar */

  .toolbar {
    margin-bottom: 37px;

    padding: 13px 0 15px;
  }

  .filter-row {
    justify-content: flex-start;

    flex-wrap: nowrap;

    gap: 4px;

    overflow-x: auto;

    margin-bottom: 14px;

    padding-bottom: 5px;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;

    padding: 8px 10px;

    white-space: nowrap;

    font-size: 8px;
  }

  .toolbar-bottom {
    flex-direction: column;

    align-items: stretch;

    gap: 13px;

    font-size: 9px;
  }

  .availability-toggle {
    min-height: 31px;
  }

  .sort-control {
    justify-content: space-between;
  }

  .sort-control select {
    max-width: 220px;

    font-size: 10px;
  }


  /* Gift cards */

  .gift-grid {
    grid-template-columns: 1fr;

    row-gap: 48px;
  }

  .gift-image-wrap {
    aspect-ratio: 1 / 1.12;
  }

  .gift-info {
    padding-top: 16px;
  }

  .gift-info h3 {
    font-size: 24px;
  }

  .gift-topline {
    gap: 11px;
  }

  .gift-note {
    font-size: 14px;
  }

  .card-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;
  }

  .card-actions .button {
    width: 100%;

    min-height: 45px;

    display: grid;

    place-items: center;
  }


  /* Gift Ideas */

  .gift-ideas-refined {
    padding: 68px 0 73px;
  }

  .gift-ideas-header {
    margin-bottom: 34px;
  }

  .gift-ideas-header h2 {
    font-size: 37px;
  }

  .gift-ideas-header > p:not(.eyebrow) {
    margin-top: 18px;

    font-size: 15px;
  }

  .gift-ideas-row {
    grid-template-columns: 1fr 1fr;
  }

  .gift-idea-item {
    min-height: 190px;

    padding: 22px 17px;
  }

  .gift-idea-number {
    margin-bottom: 26px;

    font-size: 19px;
  }

  .gift-idea-item h3 {
    font-size: 21px;
  }

  .gift-idea-item p {
    font-size: 12px;
  }


  /* Stores */

  .brands {
    padding: 74px 14px 78px;
  }

  .brand-list {
    grid-template-columns: 1fr 1fr;

    margin-top: 36px;
  }

  .brand-list span {
    min-height: 102px;

    padding: 18px 7px;

    font-size: 18px;
  }

  .brand-list small {
    font-size: 6px;
  }


  /* Closing */

  .future-home {
    padding-top: 76px;
    padding-bottom: 80px;
  }


  /* Dialogs */

  dialog {
    max-height: 95svh;
  }

  .gift-dialog {
    width: calc(100% - 16px);
  }

  .gift-dialog-media {
    min-height: 275px;
    max-height: 40svh;
  }

  .gift-dialog-copy {
    padding: 36px 21px 28px;
  }

  .gift-dialog-copy h2,
  .reserve-copy h2 {
    font-size: 33px;
  }

  .gift-dialog-copy .dialog-desc {
    font-size: 15px;
  }

  .reserve-dialog {
    width: calc(100% - 16px);

    padding: 45px 19px 26px;
  }

  #reserveForm input,
  #reserveForm select {
    min-height: 47px;

    font-size: 16px;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

  .section-shell {
    width: calc(100% - 22px);
  }


  /* Hero */

  .hero-content h1 {
    font-size: 44px;
  }


  /* Headings */

  .intro h2,
  .section-heading h2,
  .brands h2,
  .future-home h2 {
    font-size: 34px;
  }


  /* Moodboard */

  .mood-strip {
    grid-template-columns: 1fr 1fr;

    gap: 3px;

    padding: 0 3px 3px;
  }

  .mood-card,
  .mood-three,
  .mood-four {
    min-height: 242px;
  }

  .mood-card span {
    left: 11px;
    bottom: 11px;

    font-size: 16px;
  }


  /* Registry */

  .registry {
    padding: 64px 0 70px;
  }

  .section-heading {
    margin-bottom: 27px;
  }

  .section-description {
    font-size: 14px;
  }


  /* Gift cards */

  .gift-info h3 {
    font-size: 22px;
  }

  .gift-price {
    font-size: 13px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }


  /* Gift Ideas */

  .gift-ideas-row {
    grid-template-columns: 1fr;
  }

  .gift-idea-item {
    min-height: auto;

    padding: 23px 20px;

    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gift-idea-item:last-child {
    border-bottom: 0;
  }

  .gift-idea-number {
    margin-bottom: 18px;
  }

  .gift-idea-item h3 {
    font-size: 22px;
  }

  .gift-idea-item p {
    font-size: 13px;
  }


  /* Stores */

  .brand-list {
    grid-template-columns: 1fr;
  }

  .brand-list span {
    min-height: 90px;
  }


  /* Dialog buttons */

  .gift-dialog-copy .card-actions {
    grid-template-columns: 1fr;
  }

}