/*
Theme Name: InstanteGoods
Theme URI: https://instantegoods.com
Author: InstanteGoods
Description: A modern minimalist WordPress theme for InstanteGoods.
Version: 1.0
Text Domain: instantegoods
*/
:root {
  --ink: #15171a;
  --muted: #687078;
  --blue: #1769d8;
  --blue-dark: #0d3f8f;
  --paper: #f6f8fb;
  --paper-deep: #e6ebf2;
  --surface: rgba(255, 255, 255, 0.9);
  --glass: rgba(255, 255, 255, 0.72);
  --line: rgba(22, 25, 29, 0.12);
  --shadow-soft: 0 22px 54px rgba(28, 31, 35, 0.12);
  --shadow-crisp: 0 12px 28px rgba(28, 31, 35, 0.14);
  --page-x: clamp(1rem, 6.6vw, 7rem);
  --hero-top: clamp(9.4rem, 13vw, 10.4rem);
  --hero-bottom: clamp(3.4rem, 5.4vw, 4.2rem);
  --hero-gap: clamp(1.55rem, 3.8vw, 3.9rem);
  --hero-text-width: min(690px, 100%);
  --hero-heading-width: 880px;
  --hero-visual-height: 286px;
  --section-space: clamp(2.4rem, 5.4vw, 4.4rem);
  --section-header-gap: clamp(1.15rem, 2.8vw, 1.9rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(226, 232, 240, 0.42) 54%),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 2rem));
  min-height: 56px;
  padding: 0.52rem 1rem 0.52rem 1.75rem;
  border: 1px solid rgba(25, 29, 34, 0.12);
  border-radius: 12px;
  background: rgba(250, 252, 255, 0.9);
  box-shadow: 0 14px 34px rgba(32, 35, 38, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px) saturate(118%);
  transform: translateX(-50%);
  transition: box-shadow 280ms var(--ease), background 280ms var(--ease), border-color 280ms var(--ease);
}

.site-header.is-scrolled {
  border-color: rgba(25, 29, 34, 0.14);
  background: rgba(250, 252, 255, 0.94);
  box-shadow: 0 12px 32px rgba(32, 35, 38, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px) saturate(124%);
}

.brand {
  color: var(--ink);
  font-size: clamp(0.98rem, 1.5vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0.32em;
  white-space: nowrap;
}

.brand span {
  color: #7d858d;
}

.nav-links {
  display: flex;
  gap: clamp(1.15rem, 2.7vw, 2.45rem);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #2b3036;
  font-size: 0.82rem;
  font-weight: 650;
}

.nav-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  padding: 0.6rem 0;
  transition: color 220ms var(--ease), opacity 220ms var(--ease);
}

.wp-site-blocks,
.wp-block-post-content {
  min-height: 100%;
}

.instantegoods-front-content,
.instantegoods-page-content {
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.instantegoods-home-shell .container {
  position: relative;
}

.instantegoods-home-shell .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--hero-text-width)) minmax(220px, 1fr);
  gap: var(--hero-gap);
  align-items: center;
}

.instantegoods-home-shell .hero-content {
  width: 100%;
  max-width: var(--hero-text-width);
}

.hero-visual {
  position: relative;
  min-height: var(--hero-visual-height);
}

.hero-visual .lifestyle-visual {
  height: 100%;
  min-height: var(--hero-visual-height);
}

.home-editable-copy {
  max-width: var(--hero-text-width);
}

.home-editable-copy > *:first-child {
  margin-top: 0;
}

.home-editable-copy > *:last-child {
  margin-bottom: 0;
}

.home-editable-copy h1,
.home-editable-copy .wp-block-heading {
  max-width: var(--hero-text-width);
}

.home-editable-copy .wp-block-buttons,
.home-editable-copy .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.55rem;
  align-items: center;
}

.instantegoods-front-content > :not(.hero):not(.content-section):not(.page-main),
.instantegoods-page-content > :not(.hero):not(.content-section):not(.page-main) {
  max-width: var(--hero-heading-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--page-x);
  padding-left: var(--page-x);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.nav-links:hover a {
  opacity: 0.58;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--blue);
  opacity: 1;
}

.nav-links a.active::after {
  position: absolute;
  right: 0;
  bottom: -0.62rem;
  left: 0;
  height: 2px;
  border-radius: 20px;
  background: var(--blue);
  content: "";
  opacity: 0.78;
}

.header-cta {
  justify-self: end;
  border-radius: 999px;
  padding: 0.7rem 1.28rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  background: #111315;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 26px rgba(17, 19, 21, 0.16);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), filter 240ms var(--ease);
}

.header-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 24px rgba(17, 19, 21, 0.14);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 78svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.88) 42%, rgba(232, 238, 246, 0.42) 100%),
    linear-gradient(145deg, #fbfdff 0%, #e9eef5 58%, #d7e0ea 100%);
  animation: heroDrift 22s var(--ease) infinite alternate;
}

.hero-bg::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(232, 238, 246, 0.34) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.52), transparent 58%);
  content: "";
}

.hero-bg::after {
  position: absolute;
  right: clamp(1.2rem, 8vw, 8rem);
  bottom: 9%;
  width: min(42vw, 520px);
  height: min(34vw, 420px);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(202, 213, 226, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), rgba(25, 29, 34, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 36px 70px rgba(31, 34, 37, 0.16);
  content: "";
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  display: block;
  border: 1px solid rgba(24, 27, 31, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 50%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(205, 214, 224, 0.9));
  box-shadow: 0 30px 58px rgba(31, 34, 37, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  content: "";
}

.hero::before {
  right: clamp(6rem, 18vw, 18rem);
  bottom: 18%;
  width: min(18vw, 220px);
  height: min(12vw, 146px);
  border-radius: 24px;
  transform: rotate(-5deg);
}

.hero::after {
  right: clamp(2rem, 9vw, 9rem);
  bottom: 20%;
  width: min(14vw, 166px);
  height: min(22vw, 270px);
  border-radius: 34px 34px 24px 24px;
}

.page-main {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding-top: var(--hero-top);
  overflow: hidden;
}

.page-main::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -2;
  height: min(680px, 74vh);
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.78) 50%, rgba(225, 233, 243, 0.62) 100%),
    linear-gradient(145deg, #fbfdff 0%, #e9eef5 62%, #d8e1ec 100%);
  content: "";
}

.page-hero,
.content-section {
  width: 100%;
  margin: 0;
  padding-right: var(--page-x);
  padding-left: var(--page-x);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(240px, 0.58fr);
  gap: var(--hero-gap);
  align-items: start;
  min-height: auto;
  padding-top: 0;
  padding-bottom: var(--hero-bottom);
}

.page-hero h1 {
  max-width: var(--hero-heading-width);
  margin-bottom: 1.15rem;
  font-size: clamp(2.25rem, 4.15vw, 3.92rem);
  font-weight: 440;
}

.page-hero p:not(.eyebrow),
.section-intro,
.lead-text {
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.78;
}

.page-hero-aside {
  border: 1px solid rgba(25, 29, 34, 0.14);
  border-radius: 14px;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.page-hero-aside img {
  display: block;
  width: 100%;
  min-height: 260px;
  border-radius: 10px;
  object-fit: cover;
}

.product-hero-card {
  min-height: calc(var(--hero-visual-height) + 2.7rem);
}

.page-hero .lifestyle-visual {
  min-height: var(--hero-visual-height);
}

.content-section {
  padding-top: var(--section-space);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: var(--section-header-gap);
}

.section-header h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.72rem);
  font-weight: 440;
  line-height: 1.15;
}

.section-intro {
  max-width: 430px;
  margin: 0;
}

.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.glass-card {
  border: 1px solid rgba(25, 29, 34, 0.13);
  border-radius: 10px;
  padding: clamp(1.22rem, 2.35vw, 1.78rem);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(31, 34, 37, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px) saturate(118%);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.glass-card:hover {
  border-color: rgba(25, 29, 34, 0.2);
  box-shadow: 0 22px 52px rgba(31, 34, 37, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-3px);
}

.glass-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.glass-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(25, 29, 34, 0.14);
  border-radius: 10px;
  background: rgba(25, 29, 34, 0.12);
  box-shadow: var(--shadow-soft);
}

.metric {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.88);
}

.metric strong {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.metric span {
  color: var(--muted);
  font-size: 0.82rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.category-card::after {
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(25, 29, 34, 0.04);
  filter: blur(4px);
  content: "";
}

.category-card .tag {
  display: inline-flex;
  margin-bottom: 4.1rem;
  border: 1px solid rgba(30, 104, 237, 0.16);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-showcase {
  padding-top: clamp(2.4rem, 5vw, 4rem);
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1rem;
  align-items: stretch;
}

.featured-list {
  display: grid;
  gap: 1rem;
}

.lifestyle-visual {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid rgba(25, 29, 34, 0.15);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(145deg, #fbfdff 0%, #e9eef5 55%, #d7e0ea 100%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.lifestyle-visual::before {
  position: absolute;
  right: 7%;
  bottom: 14%;
  left: 7%;
  height: 28%;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(205, 215, 228, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(25, 29, 34, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 18px 32px rgba(34, 37, 40, 0.1);
  content: "";
}

.lifestyle-visual::after {
  position: absolute;
  right: 8%;
  bottom: 37%;
  width: 38%;
  height: 1px;
  background: rgba(25, 29, 34, 0.14);
  box-shadow: 0 58px 0 rgba(25, 29, 34, 0.08), 0 116px 0 rgba(25, 29, 34, 0.05);
  content: "";
}

.product-object {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(24, 27, 31, 0.08);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(208, 216, 226, 0.9));
  box-shadow: 0 24px 44px rgba(33, 36, 40, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.object-speaker {
  right: 17%;
  bottom: 20%;
  width: 118px;
  height: 162px;
  border-radius: 28px;
}

.object-speaker::before,
.object-case::before,
.object-bottle::before,
.object-cube::before,
.object-pad::before,
.object-ring::before {
  position: absolute;
  content: "";
}

.object-speaker::before {
  top: 16px;
  left: 50%;
  width: 58px;
  height: 18px;
  border: 4px solid rgba(25, 29, 34, 0.26);
  border-radius: 50%;
  transform: translateX(-50%);
}

.object-case {
  right: 39%;
  bottom: 17%;
  width: 150px;
  height: 82px;
  border-radius: 18px;
}

.object-case::before {
  inset: 18px 28px auto;
  height: 5px;
  border-radius: 999px;
  background: rgba(25, 29, 34, 0.14);
}

.object-pad {
  left: 13%;
  bottom: 18%;
  width: 170px;
  height: 118px;
  border-radius: 22px;
  transform: rotate(-5deg);
}

.object-pad::before {
  inset: 14px;
  border: 1px solid rgba(25, 29, 34, 0.08);
  border-radius: 14px;
}

.object-bottle {
  left: 18%;
  bottom: 18%;
  width: 78px;
  height: 176px;
  border-radius: 28px 28px 18px 18px;
}

.object-bottle::before {
  top: -28px;
  left: 50%;
  width: 44px;
  height: 42px;
  border: 1px solid rgba(24, 27, 31, 0.08);
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(208, 216, 226, 0.92));
  transform: translateX(-50%);
}

.object-cube {
  right: 19%;
  bottom: 22%;
  width: 132px;
  height: 132px;
  border-radius: 20px;
  transform: rotate(2deg);
}

.object-cube::before {
  top: 16px;
  left: 16px;
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: rgba(25, 29, 34, 0.18);
}

.object-ring {
  left: 22%;
  bottom: 23%;
  width: 150px;
  height: 150px;
  border: 20px solid rgba(246, 249, 252, 0.98);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 28px 44px rgba(37, 42, 48, 0.16), inset 0 0 0 1px rgba(38, 46, 56, 0.12);
}

.visual-about .object-cube {
  right: 18%;
  bottom: 18%;
}

.visual-about .object-ring {
  left: 26%;
  bottom: 12%;
  width: 122px;
  height: 122px;
  border-width: 18px;
}

.visual-products .object-speaker {
  right: 13%;
}

.visual-products .object-cube {
  right: 43%;
  bottom: 13%;
  width: 112px;
  height: 112px;
}

.visual-products .object-case {
  right: 19%;
  bottom: 13%;
}

.visual-contact .object-cube {
  right: 23%;
}

.visual-contact .object-pad {
  left: 18%;
  width: 150px;
}

.visual-contact .object-ring {
  left: 38%;
  bottom: 18%;
  width: 118px;
  height: 118px;
  border-width: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-panel {
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(25, 29, 34, 0.13);
  border-radius: 10px;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(31, 34, 37, 0.1);
  backdrop-filter: blur(6px);
}

.contact-panel span {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-panel a,
.contact-panel strong {
  color: var(--ink);
  font-weight: 700;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border: 1px solid rgba(25, 29, 34, 0.14);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(6px);
}

.inquiry-form label {
  color: #30363d;
  font-size: 0.78rem;
  font-weight: 750;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.48rem;
  border: 1px solid rgba(25, 29, 34, 0.12);
  border-radius: 8px;
  padding: 0.9rem 0.95rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  outline: none;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: rgba(23, 105, 216, 0.34);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(23, 105, 216, 0.08);
}

.inquiry-form textarea {
  min-height: 124px;
  resize: vertical;
}

.inquiry-form .wide {
  grid-column: 1 / -1;
}

.inquiry-form .btn {
  grid-column: 1 / -1;
  justify-self: end;
  border: 0;
  cursor: pointer;
}

.hero-content {
  position: relative;
  width: var(--hero-text-width);
  margin-top: 0;
}

.eyebrow {
  max-width: 430px;
  margin: 0 0 1.15rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  line-height: 1.6;
  white-space: nowrap;
}

h1 {
  max-width: var(--hero-text-width);
  margin: 0 0 1.35rem;
  color: var(--ink);
  font-size: clamp(2.18rem, 3.7vw, 3.5rem);
  font-weight: 440;
  letter-spacing: 0;
  line-height: 1.16;
}

.hero-copy {
  max-width: 570px;
  margin: 0 0 2.45rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  font-weight: 450;
  line-height: 1.86;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.55rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 50px;
  border-radius: 999px;
  padding: 0.86rem 1.48rem;
  font-size: 0.86rem;
  font-weight: 760;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn span {
  display: none;
}

.btn.primary {
  color: #fff;
  background: #111315;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 34px rgba(17, 19, 21, 0.16);
}

.btn.primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 16px 30px rgba(17, 19, 21, 0.14);
}

.btn.secondary {
  border: 1px solid rgba(25, 29, 34, 0.12);
  color: #1d2228;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 14px 28px rgba(31, 34, 37, 0.06);
  backdrop-filter: blur(5px);
}

.btn.secondary:hover {
  border-color: rgba(25, 29, 34, 0.18);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 24px rgba(31, 34, 37, 0.06);
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 50px;
  border-radius: 999px;
  padding: 0.86rem 1.48rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 760;
  background: #111315;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 34px rgba(17, 19, 21, 0.16);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), background 240ms var(--ease);
}

.wp-block-button__link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-tile {
  display: grid;
  gap: 1.35rem;
  align-content: start;
  min-height: 404px;
  border: 1px solid rgba(25, 29, 34, 0.14);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.product-tile > div {
  padding: 0 0.55rem 0.8rem;
}

.product-tile h3 {
  margin: 0.65rem 0 0.58rem;
  font-size: 1.25rem;
}

.product-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.tile-media {
  position: relative;
  display: block;
  min-height: 250px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(25, 29, 34, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 46%),
    linear-gradient(150deg, #fbfdff 0%, #e4ebf3 58%, #c8d3df 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.tile-media::before,
.tile-media::after {
  position: absolute;
  content: "";
}

.tile-media::before {
  left: 10%;
  right: 10%;
  bottom: 14%;
  height: 28%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(202, 212, 224, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 18px 28px rgba(31, 34, 37, 0.12);
}

.tile-media::after {
  right: 16%;
  bottom: 27%;
  width: 31%;
  height: 42%;
  border: 1px solid rgba(25, 29, 34, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(207, 216, 226, 0.9));
  box-shadow: 0 24px 34px rgba(37, 42, 48, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.tile-media-clear {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 48%),
    linear-gradient(150deg, #fbfdff 0%, #e2eaf2 52%, #c1ccd8 100%);
}

.tile-media-carry {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 46%),
    linear-gradient(150deg, #f2f6fa 0%, #d7e0ea 50%, #9daab8 100%);
}

.tile-media-soft::after {
  right: 20%;
  width: 26%;
  border-radius: 24px 24px 16px 16px;
}

.tile-media-clear::after {
  right: 18%;
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: transparent;
  border: 18px solid rgba(248, 251, 255, 0.96);
  box-shadow: 0 24px 34px rgba(37, 42, 48, 0.16), inset 0 0 0 1px rgba(25, 29, 34, 0.1);
}

.tile-media-carry::after {
  right: 14%;
  bottom: 25%;
  width: 42%;
  height: 28%;
  border-radius: 16px;
  transform: rotate(3deg);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, auto);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  width: 100%;
  margin: clamp(2.4rem, 5vw, 4.7rem) auto 0;
  padding: clamp(2.4rem, 5vw, 3.6rem) var(--page-x) clamp(2.2rem, 4vw, 3rem);
  border-top: 1px solid rgba(21, 57, 116, 0.1);
  color: rgba(20, 36, 74, 0.72);
  font-size: 0.82rem;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 0.72rem;
  font-size: 0.95rem;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  line-height: 1.78;
}

.footer-contact,
.footer-legal {
  display: grid;
  gap: 0.7rem;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem clamp(1.6rem, 3vw, 2.6rem);
  align-items: center;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(21, 57, 116, 0.08);
}

.footer-contact {
  justify-items: end;
  text-align: right;
  padding: 0.3rem 0;
}

.footer-contact a {
  letter-spacing: 0.01em;
}

.footer-contact span {
  color: rgba(20, 36, 74, 0.56);
  font-size: 0.8rem;
}

.site-footer a {
  color: #142a5c;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--blue);
}

.footer-contact span,
.footer-legal span {
  line-height: 1.7;
}

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.035) translate3d(-0.45rem, -0.35rem, 0);
  }
}

@keyframes lightFlow {
  from {
    opacity: 0.86;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0.65rem, -0.45rem, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.woocommerce-products-section,
.woocommerce-page-section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.woocommerce ul.products li.product a img {
  margin: 0 0 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.woocommerce ul.products li.product .price {
  color: var(--blue-dark);
  font-weight: 800;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button {
  border-radius: 999px;
  padding: 0.82rem 1.15rem;
  color: #fff;
  font-weight: 800;
  background: #111315;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 26px rgba(17, 19, 21, 0.16);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover {
  color: #fff;
  background: var(--blue);
}

.woocommerce div.product,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
  color: var(--ink);
}

.woocommerce table.shop_table,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content {
  border-color: var(--line);
  border-radius: 12px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
  :root {
    --hero-top: 9.4rem;
    --hero-bottom: 4rem;
    --hero-gap: 2rem;
    --hero-visual-height: 260px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 0.28rem;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    gap: 1.15rem;
    overflow-x: auto;
    padding: 0.08rem 0 0.16rem;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding: 0.38rem 0;
  }

  .nav-links a.active::after {
    bottom: -0.2rem;
  }

  .hero {
    align-items: flex-start;
    min-height: 82svh;
  }

  .instantegoods-home-shell .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(246, 248, 251, 0.96) 0%, rgba(246, 248, 251, 0.78) 48%, rgba(225, 233, 243, 0.48) 100%),
      linear-gradient(145deg, #fbfdff 0%, #e9eef5 58%, #d7e0ea 100%);
  }

  .hero-bg::after {
    right: -9rem;
    bottom: 6%;
    width: 420px;
    height: 330px;
    opacity: 0.72;
  }

  .hero::before {
    right: 5rem;
    bottom: 13%;
    width: 148px;
    height: 96px;
    opacity: 0.72;
  }

  .hero::after {
    right: -1.2rem;
    bottom: 14%;
    width: 108px;
    height: 174px;
    opacity: 0.72;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    margin-top: 4rem;
  }

  .page-main {
    padding-top: var(--hero-top);
  }

  .page-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero-aside img {
    max-height: 360px;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .glass-grid,
  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .product-strip {
    grid-template-columns: 1fr;
  }

  .product-tile {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --page-x: 1.1rem;
    --hero-top: 9rem;
    --hero-bottom: 5rem;
    --hero-gap: 2rem;
    --hero-visual-height: 220px;
    --section-space: 2.7rem;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 1rem);
    min-height: 54px;
    padding: 0.56rem 0.68rem 0.56rem 0.92rem;
    border-radius: 10px;
  }

  .brand {
    font-size: 0.88rem;
    letter-spacing: 0.18em;
  }

  .header-cta {
    padding: 0.66rem 0.84rem;
    font-size: 0.74rem;
  }

  .hero {
    min-height: 82svh;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .hero-bg::after,
  .hero::before,
  .hero::after {
    opacity: 0.38;
  }

  .hero-bg::after {
    right: -13rem;
    bottom: 2%;
  }

  .hero::before {
    right: 3rem;
    bottom: 7%;
  }

  .hero::after {
    right: -2.6rem;
    bottom: 8%;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    white-space: normal;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 1.35rem;
    font-size: clamp(2.12rem, 9.8vw, 3rem);
    line-height: 1.15;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.78;
    margin-bottom: 2.15rem;
  }

  .button-row {
    gap: 1rem;
  }

  .btn,
  .wp-block-button__link {
    width: 100%;
    min-height: 52px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.65rem;
    margin-top: 3.2rem;
    padding: 2.2rem var(--page-x) 2.3rem;
  }

  .footer-legal {
    display: grid;
    gap: 0.7rem;
    padding-top: 1rem;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }

  .page-main {
    padding-top: var(--hero-top);
  }

  .page-hero,
  .content-section {
    width: 100%;
  }

  .page-hero {
    gap: var(--hero-gap);
    padding-bottom: var(--hero-bottom);
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 2.92rem);
  }

  .page-hero-aside {
    padding: 0.85rem;
    border-radius: 10px;
  }

  .page-hero-aside img {
    min-height: 220px;
    border-radius: 8px;
  }

  .product-hero-card,
  .lifestyle-visual {
    min-height: 260px;
  }

  .content-section {
    padding-top: var(--section-space);
  }

  .glass-grid,
  .metric-row,
  .category-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .metric-row {
    gap: 1px;
  }

  .category-card {
    min-height: 260px;
  }

  .category-card .tag {
    margin-bottom: 4.2rem;
  }

  .object-speaker {
    right: 10%;
    width: 88px;
    height: 126px;
    border-radius: 30px;
  }

  .object-case {
    right: 34%;
    width: 118px;
    height: 66px;
  }

  .object-pad {
    left: 8%;
    width: 124px;
    height: 88px;
  }

  .object-bottle {
    left: 14%;
    width: 60px;
    height: 136px;
  }

  .object-cube {
    right: 13%;
    width: 98px;
    height: 98px;
  }

  .object-ring {
    left: 14%;
    width: 112px;
    height: 112px;
    border-width: 17px;
  }

  .inquiry-form .btn {
    justify-self: stretch;
  }

  .tile-media {
    min-height: 220px;
  }
}

