/* ==========================================================================
   studiogaal – theme stylesheet
   Source: Figma "ETHNICSHOP.com (Copy)", 1920px desktop frames.
   Sections: fonts · tokens · base · header · home · shop · product · blog ·
             page sections (About / Contact) · WooCommerce · Gravity Forms
   ========================================================================== */

/* ---------- Fonts ---------- */

/* Logo */
@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gloock-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Body copy (variable, 200–900) */
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/mona-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/mona-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Headings / menu / buttons: Degular Display (commercial – not bundled).
   1) If the font is installed on the machine it is picked up via local().
   2) With a web licence: drop the four .woff2 files into assets/fonts/ and
      uncomment the url() lines below (or load your Adobe Fonts kit – the
      "degular-display" family name is already in the --font-display stack). */
@font-face {
  font-family: "Degular Display";
  font-weight: 400;
  font-display: swap;
  src: local("Degular Display Demo Regular"), local("DegularDisplayDemo-Regular"),
       local("Degular Display Regular"), local("DegularDisplay-Regular")
       /* , url("../fonts/DegularDisplay-Regular.woff2") format("woff2") */;
}
@font-face {
  font-family: "Degular Display";
  font-weight: 500;
  font-display: swap;
  src: local("Degular Display Demo Medium"), local("DegularDisplayDemo-Medium"),
       local("Degular Display Medium"), local("DegularDisplay-Medium")
       /* , url("../fonts/DegularDisplay-Medium.woff2") format("woff2") */;
}
@font-face {
  font-family: "Degular Display";
  font-weight: 600;
  font-display: swap;
  src: local("Degular Display Demo Semibold"), local("DegularDisplayDemo-Semibold"),
       local("Degular Display Semibold"), local("DegularDisplay-Semibold")
       /* , url("../fonts/DegularDisplay-Semibold.woff2") format("woff2") */;
}
@font-face {
  font-family: "Degular Display";
  font-weight: 700;
  font-display: swap;
  src: local("Degular Display Demo Bold"), local("DegularDisplayDemo-Bold"),
       local("Degular Display Bold"), local("DegularDisplay-Bold")
       /* , url("../fonts/DegularDisplay-Bold.woff2") format("woff2") */;
}

/* Stand-in while Degular Display is unavailable: Instrument Sans (OFL),
   scaled so its widths, cap height and baseline sit where Degular's do. */
@font-face {
  font-family: "Degular Fallback";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  size-adjust: 81.7%;
  ascent-override: 125.5%;
  descent-override: 36.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Degular Fallback";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  size-adjust: 81.7%;
  ascent-override: 125.5%;
  descent-override: 36.5%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */

:root {
  --sand: #d4a373;
  --sand-tint: rgba(212, 163, 115, 0.11);
  --ink: #023020;
  --ink-58: rgba(2, 48, 32, 0.58);
  --ink-56: rgba(2, 48, 32, 0.56);
  --green: #046443;
  --menu-grey: #414040;
  --pressed-grey: #d9d9d9;

  --font-display: "Degular Display", "degular-display", "Degular Fallback", system-ui, sans-serif;
  --font-body: "Mona Sans", system-ui, sans-serif;
  --font-logo: "Gloock", Georgia, serif;

  --lh-display: 1.323;   /* Degular Display "auto" line height */

  --wrap: 1240px;
  --gutter: 24px;

  /* Figma draws 0.5px strokes; on 1x screens that is a 1px line at half
     strength, on HiDPI screens a true half-pixel line. */
  --hair-w: 1px;
  --hair-ink: rgba(2, 48, 32, 0.5);
  --hair-c-w: 1px;                              /* centre-aligned variant */
  --hair-c-grey: rgba(76, 76, 76, 0.25);

  /* Off-centre placements that exist in the Figma frames. They are kept so
     the pages match the design 1:1 – set any of them to 0px to centre. */
  --nudge-subnav-lines: 4.5px;     /* submenu rules sit 4px right of the labels   */
  --nudge-shop-title: 24px;       /* "ceramics" title on the category banner     */
  --nudge-shop-intro: 39.5px;     /* intro paragraph under the banner            */
  --nudge-card-text: 7.5px;       /* product-card text + button vs. the picture  */
  --nudge-related-text: 6px;      /* same, on the "You may also like" cards      */
  --nudge-about-avatar: 16px;     /* portrait on the About page                  */
  --nudge-contact: 16.5px;        /* content column on the Contact page          */
}
@media (min-resolution: 1.5dppx) {
  :root {
    --hair-w: 0.5px;
    --hair-ink: #023020;
    --hair-c-w: 0.5px;
    --hair-c-grey: rgba(76, 76, 76, 0.5);
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 17px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.wrap {
  width: var(--wrap);
  max-width: calc(100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

/* Figma "vertical trim: cap height → baseline". */
.trim { text-box: trim-both cap alphabetic; }
/* Figma rounds the trimmed boxes to whole pixels */
.copy.trim { padding-bottom: 0.25px; }
.h-section.trim { height: 16px; }
.h-post.trim { height: 12px; }
.post__date.trim { height: 7px; }
@supports not (text-box: trim-both cap alphabetic) {
  .copy.trim { margin-block: -0.361em -0.32em; }
  .h-section.trim, .h-post.trim, .post__date.trim { margin-block: -0.425em -0.298em; }
}

.copy {            /* Mona Sans 12 / 17 */
  font-size: 12px;
  line-height: 17px;
  letter-spacing: -0.36px;
  color: var(--ink);
}
.copy--14 { font-size: 14px; line-height: 20px; letter-spacing: 0; }

.h-section {       /* Degular Display Bold 26 */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: var(--lh-display);
  letter-spacing: 0.78px;
  color: var(--ink);
}
.h-post {          /* Degular Display Bold 20 */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: var(--lh-display);
  letter-spacing: 0.6px;
  color: var(--ink);
}
.h-label {         /* Degular Display Bold 16 */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.48px;
  color: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 187px;
  height: 39px;
  padding: 0 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: var(--lh-display);
  letter-spacing: 0.2px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--green {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 0 20px;
}
.btn--white {
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  border: var(--hair-w) solid var(--hair-ink);
}
.btn--white:hover {              /* Figma: button white / Variant2 */
  background: var(--sand);
  border-color: var(--sand);
  color: #fff;
}
.btn--white:active {             /* Figma: button white / Variant3 */
  background: var(--ink);
  border-color: var(--sand);
  color: #fff;
}

/* ---------- Top bar ---------- */

.topbar {
  height: 36px;
  padding-top: 9px;
  background: var(--sand);
  color: #fff;
  text-align: center;
}
.topbar p {
  font-size: 12px;
  line-height: 17px;
  letter-spacing: -0.36px;
  white-space: nowrap;
}
.topbar a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
}

/* ---------- Header ---------- */

.site-header { height: 256px; }
.site-header__inner { position: relative; height: 100%; }

.header-icons { position: absolute; top: 41px; right: 0; width: 52px; height: 23px; }
.header-icons a { position: absolute; top: 0; display: block; }
.icon-user { left: 0; width: 19.746px; height: 21px; }
.icon-user img { position: absolute; top: 0; left: -0.25px; }
.icon-bag { left: 30px; width: 21.532px; height: 23px; }
.icon-bag img { position: absolute; top: 0; left: 0; }
.icon-bag__count {
  position: absolute;
  top: 7px;
  left: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  line-height: 15px;
  color: var(--ink);
}

.brand-block { position: absolute; top: 79px; left: 50%; width: 458px; height: 102px; margin-left: -229px; }
.brand {
  position: absolute;
  top: 0;
  left: 118px;
  font-family: var(--font-logo);
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: 0.46px;
  color: var(--ink);
  white-space: nowrap;
}

.nav__row { position: absolute; top: 70px; left: 0; display: flex; align-items: center; gap: 67px; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.48px;
  color: var(--menu-grey);
  white-space: nowrap;
  cursor: pointer;
}
.nav__link--ink { color: var(--ink); }
/* Figma: menu button / hover – sand outline (22px tall), semibold sand label */
.nav__link::after {
  content: "";
  position: absolute;
  inset: -1px 0;
  border: var(--hair-w) solid var(--sand);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
}
.nav__link:hover,
.nav__link[aria-expanded="true"] { color: var(--sand); font-weight: 600; }
.nav__link:hover::after,
.nav__link[aria-expanded="true"]::after { opacity: 1; }
/* Figma: menu button / pressed */
.nav__link:active { background: var(--pressed-grey); color: var(--sand); font-weight: 600; }
.nav__link:active::after { opacity: 0; }
/* Current page */
.nav__link.is-current,
.nav__link.is-current:hover { color: var(--sand); font-weight: 700; background: none; }
.nav__link.is-current::after { display: none; }

/* Shop submenu */
.subnav {
  position: absolute;
  top: 191px;                    /* 227px from the page top */
  left: 50%;
  width: 719px;
  height: 37px;
  margin-left: calc(-359.5px + var(--nudge-subnav-lines));
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s;
}
.subnav.is-open { opacity: 1; visibility: visible; }
.subnav__lines { position: absolute; top: -1px; left: 0; }
.subnav__list {
  position: absolute;
  top: 8px;
  left: 50%;
  display: flex;
  gap: 84px;
  margin-left: calc(0.5px - var(--nudge-subnav-lines));
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.48px;
  color: var(--ink);
  white-space: nowrap;
}
.subnav__list a:hover { color: var(--sand); }
.subnav__list a.is-current { color: var(--sand); font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: var(--sand);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: var(--lh-display);
  letter-spacing: 0.2px;
}

/* ---------- Shared ---------- */

.band { background: var(--sand-tint); }

/* ==========================================================================
   Home
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 802px;
  padding: 0 var(--gutter) 242px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero__title {
  position: relative;
  max-width: 1121px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 61px;
  letter-spacing: 1.38px;
  text-shadow: 0 0 4.7px rgba(0, 0, 0, 0.31);
}
.hero__sub {
  position: relative;
  margin-top: -4px;
  font-weight: 600;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: -0.48px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.intro { padding-top: 58px; text-align: center; }
.intro .h-section { line-height: 35px; }
.intro .copy { width: 720px; max-width: 100%; margin: 11px auto 0; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 386px));
  justify-content: space-between;
  row-gap: 41px;
  margin-top: 114px;
}
.cat-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--pressed-grey);
  color: #fff;
}
.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-tile:hover img { transform: scale(1.03); }
/* Figma crop of the armchair photo (image is wider than the square) */
.crop-armchair {
  position: absolute !important;
  inset: auto !important;
  top: -10.36% !important;
  left: -67.19% !important;
  width: 196.14% !important;
  height: 110.36% !important;
  object-fit: fill !important;
}
/* Figma crop of the bowl photo */
.crop-bowl {
  position: absolute !important;
  inset: auto !important;
  top: 0.11% !important;
  left: -45.05% !important;
  width: 177.72% !important;
  height: 100% !important;
  object-fit: fill !important;
}
.cat-tile__label {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 45px;
  letter-spacing: 1.02px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.27);
  white-space: nowrap;
}

.center-cta { display: flex; justify-content: center; }
.home-shop-cta { margin-top: 51px; }

.about-teaser {
  position: relative;
  width: 860px;
  max-width: 100%;
  min-height: 131px;
  margin: 100px auto 0;
  padding-left: 140px;
}
.about-teaser__avatar { position: absolute; top: 0; left: 0; width: 94px; height: 94px; border-radius: 50%; }
.about-teaser .h-section { line-height: 35px; white-space: nowrap; }
.about-teaser .copy { width: 721px; max-width: 100%; margin: 11px 0 0 -1px; }
.home-about-cta { margin-top: 46px; margin-bottom: 110px; }

/* ==========================================================================
   Shop – category
   ========================================================================== */

.shop-main { padding-top: 62px; }

.shop-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  overflow: hidden;
  background: var(--pressed-grey);
}
.shop-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-banner__title {
  position: relative;
  left: var(--nudge-shop-title);
  top: -0.5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 61px;
  letter-spacing: 1.38px;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.27);
}
.shop-intro {
  position: relative;
  left: var(--nudge-shop-intro);
  width: 720px;
  max-width: 100%;
  margin: 22px auto 0;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 386px));
  justify-content: space-between;
  row-gap: 54px;
  margin-top: 68px;
  margin-bottom: 110px;
}
.product-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.product-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
/* Figma centre stroke (0.5px straddling the edge), drawn on top of the picture */
.product-card__media, .gallery__main, .thumb { box-shadow: 0 0 0 var(--hair-c-w) var(--hair-c-grey); }
.product-card__media::after,
.gallery__main::after,
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 var(--hair-c-w) var(--hair-c-grey);
  pointer-events: none;
}
/* Figma: picture inset inside the white square */
.product-card__media img,
.thumb img {
  position: absolute;
  top: 11.29%;
  left: 9.63%;
  width: 80.58%;
  height: 80.58%;
  object-fit: cover;
}
.product-card__info {
  position: relative;
  left: var(--nudge-card-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
  color: #000;
  white-space: nowrap;
}
.product-card__collection { font-weight: 500; letter-spacing: 0.14px; text-transform: uppercase; color: var(--ink-58); }
.product-card__name { letter-spacing: 0.14px; }
.product-card__price { letter-spacing: -0.42px; }
.product-card .btn { position: relative; left: var(--nudge-card-text); margin-top: 12px; }

/* ==========================================================================
   Shop – product
   ========================================================================== */

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 462px);
  justify-content: space-between;
  align-items: start;
}
.gallery__main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
.gallery__main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__thumbs { display: flex; gap: 11.26px; margin-top: 23px; }
.thumb {
  position: relative;
  flex: none;
  width: 106px;
  height: 106px;
  overflow: hidden;
  background: #fff;
}

.product__collection { font-weight: 500; font-size: 16px; line-height: 23px; letter-spacing: 0.16px; text-transform: uppercase; color: var(--ink-58); }
.product__name { margin-top: 13px; font-weight: 600; font-size: 20px; line-height: 28px; letter-spacing: 0.2px; color: #000; white-space: nowrap; }
.product__price { margin-top: 13px; font-weight: 600; font-size: 20px; line-height: 28px; letter-spacing: -0.6px; color: #000; }

.product__desc-title { margin-top: 43px; }
.product__desc { width: 455.4px; max-width: 100%; margin-top: 6px; }

.buy-row { position: relative; display: flex; align-items: center; margin-top: 31px; }
.buy-row .btn--add { width: 295px; }
.buy-row__qty-label { margin-left: 40px; color: var(--green); }
.qty {
  position: relative;
  width: 59px;
  height: 39px;
  margin-left: auto;
  background: #fff;
  border: var(--hair-w) solid var(--hair-ink);
  border-radius: 6px;
}
.qty__input {
  width: 100%;
  height: 100%;
  padding: 0 24px 0 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: var(--lh-display);
  letter-spacing: 0.2px;
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn { position: absolute; left: 38px; width: 13px; height: 7px; }
.qty__btn::before { content: ""; position: absolute; }                     /* larger hit areas */
.qty__btn--up::before { inset: -9px -6px -0.5px; }
.qty__btn--down::before { inset: -0.5px -6px -9px; }
.qty__btn--up { top: 13px; }
.qty__btn--down { top: 21px; }
.qty__btn img { position: absolute; top: 0; left: 0.87px; }
.qty__btn--down img { top: auto; bottom: 0; transform: rotate(180deg); }

.ask-info { display: block; width: 295px; margin-top: 9px; text-align: center; color: var(--ink-56); }
.ask-info:hover, .policies a:hover { color: var(--ink); }

.product__details-title { margin-top: 30px; }
.product__details { margin-top: 6px; padding-right: 0.6px; white-space: pre-wrap; }
.product__details strong { font-weight: 700; }

.shipping { position: relative; margin-top: 31px; padding-top: 9px; }
.shipping__icon { position: absolute; top: 0; left: 0; width: 27px; height: 27px; object-fit: contain; opacity: 0.38; }
.shipping__title { padding-left: 44px; }
.shipping__text { width: 440px; max-width: 100%; margin-top: 6px; }

.rule { position: relative; display: flow-root; height: 0; }
.rule img { position: absolute; top: -1px; left: 0; max-width: 100%; height: 2px; object-fit: cover; object-position: left center; }
.rule--policies { margin-top: 17px; margin-left: 2px; }
.policies { display: flex; gap: 57px; margin-top: 18px; color: var(--ink-56); white-space: nowrap; }
.policies li:last-child { margin-left: auto; }

.rule--related { margin-top: 63px; }
.related__title { margin-top: 10px; line-height: 35px; text-align: center; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 31px;
  row-gap: 53.4px;
  margin-top: 50px;
  margin-bottom: 98.4px;
}
.related-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.related-card__info {
  position: relative;
  left: var(--nudge-related-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.258px;
  width: 146.595px;
  margin-top: 18.46px;
  font-size: 15.202px;
  line-height: 21px;
  color: #000;
}
.related-card__info .product-card__collection { letter-spacing: 0.152px; }
.related-card__info .product-card__name { letter-spacing: 0.152px; white-space: nowrap; }
.related-card__info .product-card__price { letter-spacing: -0.4561px; }

/* ==========================================================================
   About
   ========================================================================== */

.about-section { display: flex; flex-direction: column; align-items: center; padding: 50px var(--gutter); text-align: center; }
.about-section .copy { width: 732px; max-width: 100%; }
.about-section__title { white-space: pre; }

.about-me__avatar { position: relative; left: var(--nudge-about-avatar); width: 94px; height: 94px; margin-top: 22px; border-radius: 50%; }
.about-me .copy { margin-top: 21px; }

.about-studio__pics { display: flex; gap: 28px; margin-top: 16px; }
.about-studio__pic { position: relative; width: 94px; height: 94px; overflow: hidden; background: var(--pressed-grey); }
.about-studio__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-studio .copy { margin-top: 27px; }
.about-studio .btn { margin-top: 27px; }

.about-consult { padding-bottom: 73px; }
.about-consult__pic { position: relative; width: 229px; height: 96px; margin-top: 16px; overflow: hidden; }
.about-consult__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.about-consult .copy { margin-top: 25px; }
.about-consult .btn { margin-top: 27px; }

/* ==========================================================================
   Blog
   ========================================================================== */

.post { padding: 52px var(--gutter) 35px; }
.post:nth-of-type(odd) { padding: 50px var(--gutter) 45px; background: var(--sand-tint); }
.post:nth-of-type(even):last-of-type { padding-top: 56px; padding-bottom: 41px; }   /* last post in the Figma list */
.post.is-open { padding-bottom: 50.47px; }

.post__inner {
  display: grid;
  grid-template-columns: minmax(0, 669px) 139px;
  justify-content: space-between;
  align-items: start;
  width: 849px;
  max-width: 100%;
  margin-inline: auto;
}
.post__head { position: relative; min-height: 34px; padding-left: 52px; }
.post__avatar { position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; }
.post__date {
  width: max-content;
  margin-left: 2px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  line-height: var(--lh-display);
  letter-spacing: 0.36px;
}
.post__title { margin-top: 15px; }
.post__title button { text-align: left; letter-spacing: inherit; }
.post__text { margin-top: 29px; padding-right: 0.9px; }   /* Figma sets type ~0.13% wider than browsers: keeps the same line breaks */
.post__toggle { display: block; position: relative; width: 20px; height: 14px; margin-top: 16px; }
.post:nth-of-type(odd) .post__toggle { margin-top: 11px; }
.post.is-open .post__toggle { margin-top: 12px; }
.post__toggle::before { content: ""; position: absolute; inset: -8px; }      /* larger hit area */
.post__toggle img { position: absolute; left: 1.34px; bottom: 0; transform: rotate(180deg); }
.post.is-open .post__toggle img { bottom: auto; top: 0; transform: none; }

.post__media { display: flex; flex-direction: column; gap: 16.266px; }
.post__pic { position: relative; width: 139px; height: 139px; overflow: hidden; background: var(--pressed-grey); }
.post__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.post [hidden] { display: none !important; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-col { position: relative; left: var(--nudge-contact); width: 669px; max-width: 100%; margin-inline: auto; }

.contact-form-band { padding: 50px var(--gutter); }
.contact-form__intro { margin-top: 24px; padding-right: 0.9px; }
.contact-form__fields { display: grid; row-gap: 8px; width: 350px; max-width: 100%; margin: 44px 0 0 140px; }
.field { display: grid; grid-template-columns: 115px minmax(0, 235px); align-items: start; }
.field label { margin-top: 4.5px; }
.field input,
.contact-form__message textarea {
  display: block;
  width: 100%;
  background: #fff;
  border: var(--hair-w) solid var(--hair-ink);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 17px;
  letter-spacing: -0.36px;
  color: var(--ink);
}
.field input { height: 22px; padding: 0 8px; }
.contact-form__message { margin-top: 49px; }
.contact-form__message label { display: block; }
.contact-form__message textarea { width: 668px; max-width: 100%; height: 109px; margin-top: 9px; padding: 8px; resize: none; }
.field input:focus-visible,
.contact-form__message textarea:focus-visible { outline: 1px solid var(--ink); outline-offset: 0; }
.contact-form .btn { margin: 28px 0 0 244px; }
.contact-form__status { margin-top: 12px; min-height: 0; }
.contact-form__status:empty { display: none; }

.company { padding: 50px var(--gutter) 53px; }
.company__text { margin-top: 24px; white-space: pre-wrap; }

/* ==========================================================================
   Below the 1920 design width: keep things usable (no mobile design exists)
   ========================================================================== */

@media (max-width: 1320px) {
  .cat-grid, .product-grid { column-gap: 24px; }
  .product-layout { column-gap: 40px; }
  .product__name { white-space: normal; }
  .related-grid { column-gap: 20px; }
  .related-card__info { width: auto; max-width: 100%; }
  .related-card__info .product-card__name { white-space: normal; }
  :root {
    --nudge-shop-title: 0px; --nudge-shop-intro: 0px; --nudge-card-text: 0px;
    --nudge-related-text: 0px; --nudge-contact: 0px;
  }
}
@media (max-width: 900px) {
  .hero { height: 520px; padding-bottom: 120px; }
  .hero__title { font-size: 30px; line-height: 38px; }
  .hero__sub { margin-top: 6px; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile__label { font-size: 24px; }
  .about-teaser .h-section, .intro .h-section { white-space: normal; line-height: 1.2; }
  .product-layout { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-banner { height: 260px; }
  .contact-form__fields { margin-left: 0; }
  .contact-form .btn { margin-left: 0; }
  .buy-row { flex-wrap: wrap; gap: 12px; }
  .buy-row__qty-label { margin-left: 0; }
  .policies { flex-wrap: wrap; gap: 12px 24px; }
}
@media (max-width: 720px) {
  .header-icons { top: 16px; }
  .brand-block { width: 100%; left: 0; margin-left: 0; }
  .brand { left: 50%; transform: translateX(-50%); font-size: 36px; }
  .nav__row { left: 50%; transform: translateX(-50%); gap: 8px; top: 62px; }
  .subnav { width: 100%; left: 0; margin-left: 0; height: auto; top: 174px; }
  .subnav__lines { display: none; }
  .subnav__list { position: static; transform: none; justify-content: center; flex-wrap: wrap; gap: 6px 20px; padding: 8px 0; border-block: 1px solid var(--hair-ink); }
  .product-card__info, .product__name { white-space: normal; }
  .about-teaser { padding-left: 0; padding-top: 110px; }
  .post__inner { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .post__media { flex-direction: row; }
  .gallery__thumbs { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ==========================================================================
   WordPress
   ========================================================================== */

[hidden] { display: none !important; }

.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; margin: 0; padding: 8px 12px;
  clip-path: none; background: #fff; color: var(--ink); font-size: 14px;
}

.brand--image { left: 50%; transform: translateX(-50%); line-height: 0; }
.brand--image img { width: auto; max-width: 300px; height: auto; max-height: 55px; }

.subnav__link:hover { color: var(--sand); }
.subnav__link.is-current { color: var(--sand); font-weight: 700; }

.cat-tile__label,
.shop-banner__title { text-transform: lowercase; }

.site-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.site-footer__menu a:hover { text-decoration: underline; }

/* ---------- Blog: full text + pagination ---------- */

.post__full { padding-bottom: 0.25px; }
.post__full > * + * { margin-top: 17px; }
.post__full > :first-child { text-box: trim-start cap alphabetic; }
.post__full > :last-child { text-box: trim-end cap alphabetic; }
.post__full > :only-child { text-box: trim-both cap alphabetic; }
@supports not (text-box: trim-both cap alphabetic) {
  .post__full { margin-block: -0.361em -0.32em; }
}
.post__full a { text-decoration: underline; }
.post__title a, .post__title button { color: inherit; }
a.post__toggle img { bottom: auto; top: 0; transform: none; }

.sg-pagination,
.woocommerce-pagination { padding: 30px var(--gutter) 60px; text-align: center; }
.sg-pagination .nav-links,
.woocommerce nav.woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 6px; margin: 0; padding: 0; border: 0; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li { border: 0; float: none; }
.sg-pagination .page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px;
  border-radius: 6px; background: none;
  font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 21px; color: var(--ink);
}
.sg-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current { background: none; color: var(--sand); font-weight: 700; }
.sg-pagination a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover { background: none; color: var(--sand); }
.product-grid + .woocommerce-pagination { margin-top: -80px; }

/* ---------- Generic pages (cart, checkout, account, legal) ---------- */

.sg-entry { padding-top: 50px; padding-bottom: 90px; font-size: 16px; line-height: 1.5; }
.sg-entry--center { text-align: center; }
.sg-entry--center > * + * { margin-top: 20px; }
.sg-entry__title { margin-bottom: 30px; text-align: center; }
.sg-entry__content > * + * { margin-top: 1em; }
.sg-entry__content :is(h2, h3, h4) { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.03em; }
.sg-entry__content h2 { font-size: 22px; }
.sg-entry__content h3 { font-size: 18px; }
.sg-entry__content :is(ul, ol) { padding-left: 1.4em; list-style: revert; }
.sg-entry__content a:not([class]) { text-decoration: underline; }
.sg-entry__content img { max-width: 100%; height: auto; }

/* ==========================================================================
   Page sections built in the block editor (About, Contact)
   Group block + "sg-section" and one of: sg-about-me, sg-about-studio,
   sg-about-consult, sg-contact, sg-company (+ "sg-band" for the tinted band)
   ========================================================================== */

.sg-section { padding: 50px var(--gutter); }
.sg-section > .wp-block-group__inner-container,
.sg-pics > .wp-block-group__inner-container { display: contents; }
.sg-band { background: var(--sand-tint); }

.sg-section :is(h1, h2, h3).wp-block-heading {
  height: 16px;
  margin-block: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: var(--lh-display);
  letter-spacing: 0.78px;
  color: var(--ink);
  white-space: pre-wrap;
  text-box: trim-both cap alphabetic;
}
.sg-section p {
  margin-block: 0;
  padding-bottom: 0.25px;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: -0.36px;
  color: var(--ink);
  text-box: trim-both cap alphabetic;
}
@supports not (text-box: trim-both cap alphabetic) {
  .sg-section :is(h1, h2, h3).wp-block-heading { height: auto; margin-block: -0.425em -0.298em; }
  .sg-section p { margin-block: -0.361em -0.32em; }
}
.sg-section figure.wp-block-image { margin: 0; }
.sg-section .wp-block-buttons { margin-top: 27px; justify-content: center; }

/* About */
.sg-about-me, .sg-about-studio, .sg-about-consult { display: flex; flex-direction: column; align-items: center; text-align: center; }
:is(.sg-about-me, .sg-about-studio, .sg-about-consult) p { width: 732px; max-width: 100%; }
.sg-about-consult { padding-bottom: 73px; }

.sg-section figure.sg-avatar { position: relative; left: var(--nudge-about-avatar); width: 94px; height: 94px; margin-top: 22px; }
.sg-section figure.sg-avatar img { display: block; width: 94px; height: 94px; border-radius: 50%; object-fit: cover; }
.sg-avatar + p { margin-top: 21px; }

.sg-pics { display: flex; gap: 28px; margin-top: 16px; }
.sg-section .sg-pics figure.wp-block-image { width: 94px; height: 94px; overflow: hidden; background: var(--pressed-grey); }
.sg-section .sg-pics img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sg-pics + p { margin-top: 27px; }

.sg-section figure.sg-pic-wide { width: 229px; height: 96px; margin-top: 16px; overflow: hidden; }
.sg-section figure.sg-pic-wide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.sg-pic-wide + p { margin-top: 25px; }

/* Buttons (block styles "studiogaal green" / "studiogaal white") */
.wp-block-button.is-style-sg-green .wp-block-button__link,
.wp-block-button.is-style-sg-white .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 187px;
  height: 39px;
  padding: 0 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: var(--lh-display);
  letter-spacing: 0.2px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.wp-block-button.is-style-sg-green .wp-block-button__link { background: var(--ink); color: #fff; font-weight: 700; }
.wp-block-button.is-style-sg-white .wp-block-button__link { background: #fff; color: var(--ink); font-weight: 500; border: var(--hair-w) solid var(--hair-ink); }
.wp-block-button.is-style-sg-white .wp-block-button__link:hover { background: var(--sand); border-color: var(--sand); color: #fff; }
.wp-block-button.is-style-sg-white .wp-block-button__link:active { background: var(--ink); border-color: var(--sand); color: #fff; }

/* Contact */
.sg-contact > .wp-block-group__inner-container > *,
.sg-company > .wp-block-group__inner-container > *,
.sg-contact > :not(.wp-block-group__inner-container),
.sg-company > :not(.wp-block-group__inner-container) {
  position: relative;
  left: var(--nudge-contact);
  width: 669px;
  max-width: 100%;
  margin-inline: auto;
}
:is(.sg-contact, .sg-company) :is(h1, h2, h3).wp-block-heading { height: 12px; font-size: 20px; letter-spacing: 0.6px; }
:is(.sg-contact, .sg-company) .wp-block-heading + p { margin-top: 24px; }
.sg-contact p { padding-right: 0.9px; }
.sg-company { padding-bottom: 53px; }
.sg-company p { white-space: pre-wrap; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */

.product-card__name a { color: inherit; }
.product-card__price del, .product__price del { margin-right: 6px; opacity: 0.5; }
.product-card__price ins, .product__price ins { text-decoration: none; }
.shop-empty { padding: 60px 0 110px; font-size: 16px; line-height: 1.5; }
.shop-main .woocommerce-notices-wrapper { font-size: 14px; line-height: 20px; }
.shop-main .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 30px; }
.sg-product { display: block; }

/* Buy row: [ Add to cart ] … Quantity [ 1 ⌃⌄ ] */
.buy-row { display: block; margin-top: 31px; }
.buy-row form.cart,
.buy-row .woocommerce-variation-add-to-cart { display: flex; align-items: center; margin: 0; }
.buy-row .stock { margin-bottom: 10px; font-size: 14px; line-height: 20px; }
.sg-product .buy-row button.single_add_to_cart_button {
  order: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: 295px;
  height: 39px;
  margin: 0;
  padding: 0 10px;
  border: var(--hair-w) solid var(--hair-ink);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: var(--lh-display);
  letter-spacing: 0.2px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.sg-product .buy-row button.single_add_to_cart_button:hover { background: var(--sand); border-color: var(--sand); color: #fff; }
.sg-product .buy-row button.single_add_to_cart_button:active { background: var(--ink); border-color: var(--sand); color: #fff; }
.sg-product .buy-row button.single_add_to_cart_button.disabled,
.sg-product .buy-row button.single_add_to_cart_button:disabled { opacity: 0.5; cursor: not-allowed; }
.buy-row .buy-row__qty-label { order: 2; margin-left: 40px; color: var(--green); }
/* arrows: 1px less than in the Figma frame because the box has a border */
.sg-product .qty-box .qty__btn { left: 37px; }
.sg-product .qty-box .qty__btn--up { top: 12px; }
.sg-product .qty-box .qty__btn--down { top: 20px; }
.sg-product .buy-row .qty-box {
  order: 3;
  position: relative;
  float: none;
  width: 59px;
  height: 39px;
  margin: 0 0 0 auto;
  background: #fff;
  border: var(--hair-w) solid var(--hair-ink);
  border-radius: 6px;
}
.sg-product .buy-row .qty-box input.qty {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 24px 0 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  box-shadow: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: var(--lh-display);
  letter-spacing: 0.2px;
  text-align: left;
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-box input.qty::-webkit-outer-spin-button,
.qty-box input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* outside the product page (classic cart) the stepper arrows are not shown */
.quantity:not(.sg-product .quantity) .qty__btn { display: none; }

.buy-row table.variations { width: 100%; margin: 0 0 16px; border: 0; font-size: 14px; line-height: 20px; }
.buy-row table.variations th, .buy-row table.variations td { padding: 4px 0; border: 0; text-align: left; vertical-align: middle; }
.buy-row table.variations th { width: 115px; font-weight: 500; }
.buy-row table.variations select { min-width: 200px; height: 30px; padding: 0 8px; border: var(--hair-w) solid var(--hair-ink); border-radius: 4px; background: #fff; font: inherit; color: var(--ink); }
.buy-row .woocommerce-variation { margin-bottom: 12px; font-size: 14px; line-height: 20px; }
.buy-row .reset_variations { margin-left: 10px; font-size: 12px; text-decoration: underline; }

.product__desc p + p,
.product__details p + p { margin-top: 0; }
.product__details { white-space: normal; }
.upsells + .related .rule--related { margin-top: 40px; }

/* ==========================================================================
   Gravity Forms – contact form
   ========================================================================== */

.sg-contact .gform_wrapper { margin-top: 44px; }
.sg-contact .gform_wrapper .gform_heading,
.sg-contact .gform_wrapper .gform_required_legend { display: none !important; }
.sg-contact .gform_wrapper form { margin: 0; }
.sg-contact .gform_wrapper .gform_fields { display: block !important; }

.sg-contact .gform_wrapper .gfield { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.sg-contact .gform_wrapper .gfield.sg-field-inline {
  display: grid !important;
  grid-template-columns: 115px minmax(0, 235px);
  align-items: start;
  width: 350px;
  max-width: 100%;
  margin: 0 0 8px 140px !important;
}
.sg-contact .gform_wrapper .gfield.sg-field-inline > .gfield_label { grid-column: 1; grid-row: 1; }
.sg-contact .gform_wrapper .gfield.sg-field-inline > .ginput_container { grid-column: 2; grid-row: 1; }
.sg-contact .gform_wrapper .gfield.sg-field-inline > :is(.validation_message, .gfield_description) { grid-column: 2; grid-row: 2; }
.sg-contact .gform_wrapper .gfield.sg-field-message { margin-top: 49px !important; }

.sg-contact .gform_wrapper .gfield_label {
  display: block !important;
  margin: 0 !important;
  padding: 0 0 0.25px !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 17px !important;
  letter-spacing: -0.36px !important;
  color: var(--ink) !important;
  text-box: trim-both cap alphabetic;
}
.sg-contact .gform_wrapper .gfield.sg-field-inline .gfield_label { margin-top: 4.5px !important; }
.sg-contact .gform_wrapper .gfield_label::after { content: ":"; }
.sg-contact .gform_wrapper .gfield_label .gfield_required {
  display: inline !important;
  margin: 0 0 0 -3px !important;      /* "Name*:" – no gap before the asterisk */
  padding: 0 !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
}

.sg-contact .gform_wrapper .gfield_label .gfield_required .gfield_required { margin: 0 !important; }
.sg-contact .gform_wrapper .ginput_container { margin: 0 !important; }
.sg-contact .gform_wrapper .gfield input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"]),
.sg-contact .gform_wrapper .gfield textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-block-size: 0 !important;
  margin: 0 !important;
  background: #fff !important;
  border: var(--hair-w) solid var(--hair-ink) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  line-height: 17px !important;
  letter-spacing: -0.36px !important;
  color: var(--ink) !important;
}
.sg-contact .gform_wrapper .gfield input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"]) {
  height: 22px !important;
  block-size: 22px !important;
  padding: 0 8px !important;
}
.sg-contact .gform_wrapper .gfield textarea {
  width: 668px !important;
  height: 109px !important;
  block-size: 109px !important;
  margin-top: 9px !important;
  padding: 8px !important;
  resize: none;
}
.sg-contact .gform_wrapper .gfield :is(input, textarea):focus-visible { outline: 1px solid var(--ink) !important; outline-offset: 0 !important; }

.sg-contact .gform_wrapper :is(.gform_footer, .gform-footer, .gform_page_footer) {
  display: block !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
}
.sg-contact .gform_wrapper :is(.gform_footer, .gform-footer) :is(input, button)[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 187px !important;
  height: 39px !important;
  min-block-size: 0 !important;
  margin: 0 0 0 244px !important;
  padding: 0 10px !important;
  border: var(--hair-w) solid var(--hair-ink) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: var(--lh-display) !important;
  letter-spacing: 0.2px !important;
  color: var(--ink) !important;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.sg-contact .gform_wrapper :is(.gform_footer, .gform-footer) :is(input, button)[type="submit"]:hover { background: var(--sand) !important; border-color: var(--sand) !important; color: #fff !important; }
.sg-contact .gform_wrapper :is(.gform_footer, .gform-footer) :is(input, button)[type="submit"]:active { background: var(--ink) !important; border-color: var(--sand) !important; color: #fff !important; }

.sg-contact .gform_wrapper :is(.gfield_description, .validation_message, .gform_validation_errors, .gform_confirmation_message, .gform_submission_error) {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  line-height: 17px !important;
}
.sg-contact .gform_wrapper .gfield .validation_message { margin: 4px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.sg-contact .gform_confirmation_message { margin-top: 44px; font-size: 14px !important; line-height: 20px !important; }
.sg-contact .gform_wrapper .gform_validation_errors { margin: 0 0 16px !important; padding: 10px 12px !important; box-shadow: none !important; }
.sg-contact .gform_wrapper .gform_validation_errors h2 { font-size: 12px !important; line-height: 17px !important; }

@media (max-width: 900px) {
  .sg-contact .gform_wrapper .gfield.sg-field-inline { margin-left: 0 !important; }
  .sg-contact .gform_wrapper :is(.gform_footer, .gform-footer) :is(input, button)[type="submit"] { margin-left: 0 !important; }
}

/* WooCommerce notices in the theme's colours */
.woocommerce-message, .woocommerce-info { border-top-color: var(--ink); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { font-size: 14px; line-height: 20px; }
