@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-700.woff2") format("woff2");
}

:root {
  --primary: #0084d6;
  --primary-dark: #0075be;
  --green: #185337;
  --dark: #202020;
  --light: #f5f7f9;
  --text: #333333;
  --black: #000000;
  --line: #e2e2e2;
  --muted: #6b6b6b;
  --font: "Lato", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "YuGothic", Meiryo, "Noto Sans JP", sans-serif;
  --header-h: 104px;
  --radius: 5px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.857;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

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

a:hover {
  color: var(--primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0;
}

p {
  margin: 0 0 1.4em;
}

ul,
ol {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
}

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

button {
  cursor: pointer;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 30;
  background: #fff;
  color: #000;
  padding: 10px 16px;
  box-shadow: var(--shadow);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 10px;
}

/* ---------------- header ---------------- */

.site-header {
  background: #fff;
  position: relative;
  z-index: 20;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 35px;
  gap: 20px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand img {
  width: 140px;
  height: auto;
}

.nav-primary,
.nav-secondary {
  display: flex;
  align-items: center;
}

.nav-primary a {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 14px;
  font-size: 14.4px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-secondary {
  margin-left: auto;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-secondary a {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.cart-link:hover {
  color: var(--primary);
}

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.account-link svg {
  width: 20px;
  height: 20px;
}

/* dark header for pages that open on a full-bleed hero */
.site-header--dark {
  background: #000;
}

.site-header--dark .nav-primary a,
.site-header--dark .nav-secondary a,
.site-header--dark .cart-link,
.site-header--dark .account-link {
  color: #fff;
}

.site-header--dark .nav-primary a:hover,
.site-header--dark .nav-secondary a:hover,
.site-header--dark .cart-link:hover {
  color: #c9d6dd;
}

.site-header--dark .cart-count {
  background: #fff;
  color: #000;
}

.site-header--dark .menu-toggle span,
.site-header--dark .menu-toggle span::before,
.site-header--dark .menu-toggle span::after {
  background: #fff;
}

.site-header--dark .brand img {
  filter: brightness(0) invert(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #111;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #fff;
  padding: 22px 24px 40px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mobile-nav__top img {
  width: 120px;
}

.mobile-nav__close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.mobile-nav a.mobile-link {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.mobile-nav .mobile-sub {
  margin-top: 8px;
}

.mobile-nav .mobile-sub a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  font-weight: 500;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 16px 28px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-white {
  background: var(--light);
  color: #000;
}

.btn-white:hover {
  background: #fff;
  color: #000;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
  padding: 15px 20px;
}

.btn-ghost:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-blue {
  background: var(--primary);
  color: #fff;
}

.btn-blue:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-line {
  background: transparent;
  color: #111;
  border-color: #111;
}

.btn-line:hover {
  background: #111;
  color: #fff;
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  display: flex;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 74, 110, 0.62) 0%,
    rgba(0, 46, 70, 0.52) 100%
  );
}

.hero--2::after,
.hero--3::after {
  background: none;
}

.hero-content {
  width: 50%;
}

.hero h2 {
  font-size: 42px;
  color: #fff;
  margin: 0 0 22px;
  line-height: 1.3;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.hero--1 {
  padding: 290px 60px;
}

.hero--2 {
  padding: 114px 60px;
  min-height: 929px;
}

.hero--3 {
  padding: 114px 60px 0;
  min-height: 825px;
}

/* ---------------- sections ---------------- */

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 42px;
  text-align: center;
  margin: 0;
}

.rule {
  width: 100px;
  height: 2px;
  background: var(--primary);
  margin: 24px auto 0;
}

/* ---------------- product cards ---------------- */

.product-grid {
  display: grid;
  gap: 40px 20px;
}

.product-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f4f4f4;
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__quick {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.product-card:hover .product-card__quick,
.product-card__quick:focus-visible {
  opacity: 1;
  transform: none;
}

.product-card__quick svg {
  width: 17px;
  height: 17px;
}

.product-card__body {
  padding-top: 12px;
}

.product-card__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #000;
}

.product-card__cat {
  font-size: 13.6px;
  color: #555;
  margin: 0 0 7px;
}

.product-card__price {
  font-size: 14.4px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.stars {
  display: inline-flex;
  gap: 3px;
  vertical-align: middle;
  color: #6d6d6d;
}

.stars svg {
  width: 14px;
  height: 14px;
}

/* ---------------- philosophy ---------------- */

.philosophy {
  background: var(--dark);
  color: #fff;
  padding: 50px 0 20px;
}

.philosophy h2 {
  color: #fff;
  font-size: 42px;
  text-align: center;
  margin-bottom: 30px;
}

.philosophy p {
  color: #fff;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto 1.6em;
  line-height: 1.86;
}

.philosophy strong {
  font-weight: 700;
}

/* ---------------- journal ---------------- */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.journal-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 14px 0 0;
  color: #000;
}

.journal-card:hover .journal-card__title {
  color: var(--primary);
}

.journal-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------------- features ---------------- */

.features {
  border-top: 1px solid #ececec;
  padding: 40px 0 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.feature {
  text-align: center;
  padding: 20px;
}

.feature img {
  width: 49px;
  height: 49px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.feature h5 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* ---------------- footer ---------------- */

.site-footer {
  background: var(--green);
  color: #fff;
  margin-top: 80px;
}

.site-footer .container {
  max-width: 1220px;
  padding: 0 60px;
}

.footer-main {
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 0;
}

.footer-col a {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  line-height: 2.4;
  opacity: 0.94;
}

.footer-col a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
}

.footer-info {
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
  color: #fff;
}

.footer-info p {
  margin: 0 0 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 30px 0;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  color: #fff;
}

/* ---------------- page hero ---------------- */

.page-hero {
  position: relative;
  display: block;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
  isolation: isolate;
  padding-top: 96px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 32, 46, 0.5),
    rgba(0, 14, 22, 0.38)
  );
}

.page-hero h1 {
  color: #fff;
  font-size: 66px;
  margin: 0;
  padding: 0 24px;
}

/* ---------------- breadcrumb ---------------- */

.breadcrumb {
  font-size: 14px;
  color: #6d6d6d;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  line-height: 1.6;
}

.breadcrumb a {
  color: #6d6d6d;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span.sep {
  color: #a0a0a0;
}

/* ---------------- category page ---------------- */

.page-head {
  padding: 0 0 10px;
}

.page-head h1 {
  font-size: 66px;
  margin: 22px 0 10px;
  line-height: 1.2;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.sidebar {
  padding-top: 6px;
}

.search-form {
  display: flex;
  border: 1px solid #dcdcdc;
  background: #fff;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 11px 13px;
  font-size: 14px;
  outline: none;
  background: transparent;
}

.search-form button {
  border: 0;
  background: var(--primary);
  color: #fff;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form button svg {
  width: 16px;
  height: 16px;
}

.widget {
  margin-top: 44px;
}

.widget h3 {
  font-size: 22px;
  margin: 0 0 18px;
}

.price-filter {
  border-top: 2px solid #111;
  position: relative;
  margin: 26px 6px 6px;
  height: 2px;
}

.price-filter__handle {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111;
}

.price-filter__handle--min {
  left: -6px;
}

.price-filter__handle--max {
  right: -6px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.filter-row .btn {
  padding: 9px 14px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.price-range-text {
  font-size: 13px;
  color: #333;
}

.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}

.cat-list a {
  color: #111;
}

.cat-list .count {
  color: #6b6b6b;
}

.bestsellers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bestsellers li {
  border-bottom: 1px solid #ececec;
  padding: 14px 0;
}

.bestsellers li:first-child {
  padding-top: 0;
}

.bs-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bs-item img {
  width: 76px;
  height: 64px;
  object-fit: cover;
  flex: 0 0 auto;
}

.bs-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
}

.bs-info .stars svg {
  width: 12px;
  height: 12px;
}

.bs-info .price {
  font-size: 13.5px;
  margin-top: 2px;
}

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

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 30px;
  font-size: 14px;
  color: #333;
}

.shop-toolbar select {
  border: 0;
  background: transparent;
  font-size: 14px;
  padding: 6px 2px;
  outline: none;
  cursor: pointer;
  color: #333;
}

/* ---------------- product detail ---------------- */

.product-page {
  padding-top: 6px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 6px;
}

.gallery__main {
  position: relative;
  background: #f4f4f4;
}

.gallery__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.gallery__thumb {
  border: 1px solid transparent;
  padding: 0;
  background: none;
  display: block;
  overflow: hidden;
}

.gallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery__thumb.is-active {
  border-color: #111;
}

.product-summary .breadcrumb {
  margin-bottom: 18px;
}

.product-cat {
  font-size: 16px;
  margin: 0 0 10px;
  color: #111;
}

.product-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

.product-price {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.product-price small {
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

.add-to-cart {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 18px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #d8d8d8;
  background: #fff;
  height: 51px;
}

.qty-stepper button {
  width: 32px;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: #666;
}

.qty-stepper input {
  width: 40px;
  border: 0;
  text-align: center;
  font-size: 15px;
  outline: none;
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add-to-cart .btn {
  flex: 1;
  padding: 0 24px;
  height: 51px;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.product-meta {
  border-top: 1px solid #e6e6e6;
  padding-top: 16px;
  font-size: 14px;
  color: #333;
}

.product-meta span {
  font-weight: 700;
}

.tabs {
  margin-top: 50px;
  border-bottom: 1px solid #e5e5e5;
}

.tab-buttons {
  display: flex;
  gap: 10px;
}

.tab-btn {
  border: 0;
  background: none;
  padding: 14px 18px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-btn.is-active {
  border-bottom-color: #111;
}

.tab-panel {
  display: none;
  padding: 26px 0 4px;
  max-width: 1080px;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel h3 {
  font-size: 18px;
  margin: 26px 0 10px;
}

.tab-panel p {
  line-height: 1.9;
  margin: 0 0 1.2em;
}

.tab-panel .lead-title {
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
}

.reviews-empty {
  color: #555;
}

.related {
  padding: 30px 0 0;
}

.related h2 {
  font-size: 28px;
  margin: 0 0 26px;
}

/* ---------------- about ---------------- */

.about-hero {
  height: 812px;
  padding-top: 96px;
  background-image: url("../img/hero-02.jpg");
}

.about-main {
  background: var(--light);
  padding: 4%;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.about-card {
  background: #fff;
  padding: 58px;
}

.about-card .rule {
  width: 80px;
  height: 4px;
  margin: 0 0 30px;
}

.about-card h2 {
  font-size: 42px;
  margin: 0 0 20px;
}

.about-card h4 {
  font-size: 20px;
  margin: 0 0 24px;
}

.about-card p {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 1.6em;
}

.about-image {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------- contact ---------------- */

.contact-hero {
  height: 726px;
  padding-top: 44px;
  background-image: url("../img/hero-01.jpg");
}

.contact-main {
  padding: 0;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-info {
  background: var(--light);
  padding: 66px 60px 60px;
}

.contact-info h2 {
  font-size: 42px;
  margin: 0 0 26px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 18px;
}

.contact-info strong {
  font-weight: 700;
}

.contact-form-wrap {
  padding: 16px 40px 60px;
}

.contact-form {
  max-width: 520px;
}

.contact-form .field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form .field input,
.contact-form .field textarea {
  font-size: 13px;
  letter-spacing: 0.6px;
  padding: 15px 20px;
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: #6f6f6f;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #565656;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d6d6d6;
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  border: 0;
  letter-spacing: 0;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.form-success {
  display: none;
  background: #eef7ff;
  border: 1px solid #bfe0f7;
  padding: 14px 16px;
  font-size: 14px;
  color: #0a5d8f;
  margin-bottom: 16px;
}

.form-success.is-visible {
  display: block;
}

/* ---------------- static / doc pages ---------------- */

.doc-page {
  padding: 134px 0 90px;
}

.doc-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 36px;
}

.doc-content {
  margin-top: 34px;
  font-size: 16px;
  line-height: 1.95;
}

.doc-content h3 {
  font-size: 22px;
  margin: 34px 0 14px;
}

.doc-content h4 {
  font-size: 20px;
  margin: 30px 0 12px;
}

.doc-content p {
  margin: 0 0 1.1em;
}

.doc-content ul,
.doc-content ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
}

.doc-content li {
  margin-bottom: 0.4em;
}

.doc-content li p {
  margin: 0 0 0.2em;
}

.doc-content hr {
  border: 0;
  border-top: 1px solid #e4e4e4;
  margin: 34px 0;
}

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 15px;
}

.doc-content th,
.doc-content td {
  border: 1px solid #dedede;
  padding: 10px 12px;
  text-align: left;
}

.doc-content th {
  background: var(--light);
  font-weight: 700;
}

.doc-content a {
  color: var(--primary);
  text-decoration: underline;
}

.faq-block {
  margin-top: 10px;
}

/* ---------------- cart ---------------- */

.cart-page {
  padding-top: 40px;
  padding-bottom: 80px;
}

.cart-page h1 {
  font-size: 42px;
  margin: 0 0 30px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.cart-table th {
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 8px;
}

.cart-table td {
  border-bottom: 1px solid #ececec;
  padding: 18px 8px;
  vertical-align: middle;
}

.cart-product {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-product img {
  width: 86px;
  height: 70px;
  object-fit: cover;
}

.cart-product h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.cart-product span {
  font-size: 13px;
  color: #666;
}

.cart-subtotal {
  font-weight: 700;
  white-space: nowrap;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.cart-totals {
  margin-top: 36px;
  display: flex;
  justify-content: flex-end;
}

.cart-totals__box {
  width: 360px;
  max-width: 100%;
  border: 1px solid #e6e6e6;
  padding: 22px 24px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}

.totals-row--total {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 0;
  padding-bottom: 18px;
}

.cart-totals__box .btn {
  width: 100%;
}

.empty-cart {
  text-align: center;
  padding: 60px 0;
}

/* ---------------- account ---------------- */

.account-page {
  padding-top: 50px;
  padding-bottom: 80px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 100px;
  margin: 0 auto;
}

.account-grid h2 {
  font-size: 28px;
  margin: 0 0 18px;
}

.account-grid .field {
  margin-bottom: 16px;
}

.account-grid .btn {
  width: 100%;
  letter-spacing: 0;
}

/* ---------------- checkout ---------------- */

.checkout-page {
  padding-top: 36px;
  padding-bottom: 80px;
}

.checkout-page h1 {
  font-size: 42px;
  margin: 10px 0 30px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: start;
}

.checkout-panel {
  margin-bottom: 40px;
}

.checkout-panel h2 {
  font-size: 22px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e3e3;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.form-row .field {
  min-width: 0;
}

.field select {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  font: inherit;
  color: var(--text);
  padding: 11px 14px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.radio-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin: 0 0 14px;
}

.radio-line input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.terms-line {
  font-size: 14px;
  margin: 6px 0 24px;
}

.btn-block {
  display: block;
  width: 100%;
}

.order-summary {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  padding: 26px 24px;
  position: sticky;
  top: 120px;
}

.order-summary h2 {
  font-size: 20px;
  margin: 0 0 16px;
}

.order-line {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e6e6e6;
  font-size: 14px;
}

.order-line img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  display: block;
}

.order-line .qty {
  display: block;
  color: #777;
  font-size: 13px;
  border: 0;
  padding: 0;
  background: transparent;
  height: auto;
}

.order-line .line-price {
  font-weight: 700;
  white-space: nowrap;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 14px 0 0;
}

.order-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 0 0;
  margin-top: 14px;
  border-top: 2px solid #ddd;
}

/* ---------------- utilities ---------------- */

.mt-0 {
  margin-top: 0;
}

.text-center {
  text-align: center;
}

/* ---------------- responsive: tablet ---------------- */

@media (max-width: 1100px) {
  .hero h2 {
    font-size: 36px;
  }
  .about-hero,
  .contact-hero {
    height: 680px;
  }
  .page-hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 76px;
  }

  .header-inner {
    padding: 0 18px;
    justify-content: space-between;
  }

  .nav-primary,
  .nav-secondary {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
    visibility: hidden;
  }

  .mobile-nav.is-open {
    visibility: visible;
  }

  .brand img {
    width: 118px;
  }

  .header-actions {
    margin-left: 0;
  }

  .cart-link .cart-price {
    display: none;
  }

  .account-link {
    display: none;
  }

  .hero--1 {
    padding: 130px 40px;
  }

  .hero--2 {
    min-height: 620px;
    padding: 90px 40px;
  }

  .hero--3 {
    min-height: 560px;
    padding: 90px 40px 0;
  }

  .hero-content {
    width: 80%;
  }

  .section {
    padding: 70px 0;
  }

  .section-title,
  .philosophy h2,
  .about-card h2 {
    font-size: 36px;
  }

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

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

  .journal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

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

  .feature {
    padding: 26px 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 30px;
  }

  .page-hero {
    height: 520px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .shop-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 36px;
  }

  .page-head h1 {
    font-size: 46px;
  }

  .product-detail {
    gap: 30px;
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .order-summary {
    position: static;
    order: -1;
  }

  .about-hero {
    height: 560px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-card {
    padding: 44px 40px 50px;
  }

  .about-card {
    padding: 60px 40px;
  }

  .contact-hero {
    height: 520px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 36px;
  }

  .doc-page {
    padding-top: 40px;
  }
}

/* ---------------- responsive: mobile ---------------- */

@media (max-width: 700px) {
  body {
    font-size: 15px;
    line-height: 1.85;
  }

  .container,
  .container-narrow {
    padding: 0 20px;
  }

  .site-footer .container {
    padding: 0 20px;
  }

  .hero--1 {
    padding: 100px 24px 90px;
  }

  .hero--2 {
    min-height: 490px;
    padding: 80px 24px 60px;
  }

  .hero--3 {
    min-height: 454px;
    padding: 80px 24px 60px;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero-buttons {
    justify-content: center;
    gap: 12px;
  }

  .btn {
    padding: 13px 22px;
    font-size: 13px;
  }

  .btn-ghost {
    padding: 12px 16px;
  }

  .section {
    padding: 54px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .rule {
    margin-top: 16px;
  }

  .product-grid--3,
  .product-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .product-card__title {
    font-size: 14px;
  }

  .product-card__cat {
    font-size: 12px;
  }

  .product-card__price {
    font-size: 13px;
  }

  .stars svg {
    width: 12px;
    height: 12px;
  }

  .philosophy {
    padding: 40px 0 10px;
  }

  .philosophy h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .philosophy p {
    text-align: left;
    line-height: 1.95;
  }

  .journal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-top: 28px;
  }

  .journal-card img {
    aspect-ratio: 3 / 2;
  }

  .journal-cta {
    margin-top: 32px;
  }

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

  .feature {
    padding: 20px 10px;
  }

  .feature img {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }

  .feature h5 {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-main {
    padding: 40px 0 10px;
  }

  .footer-col h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-col a {
    font-size: 15px;
    line-height: 2;
  }

  .footer-info {
    font-size: 14px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
  }

  .page-hero {
    height: 340px;
    padding-top: 48px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .page-head h1 {
    font-size: 32px;
    margin-top: 16px;
  }

  .checkout-page h1 {
    font-size: 30px;
    margin: 8px 0 24px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-summary {
    padding: 20px 18px;
  }

  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .sidebar {
    order: 2;
  }

  .shop-main {
    order: 1;
    padding-top: 0;
  }

  .widget {
    margin-top: 34px;
  }

  .shop-toolbar {
    font-size: 13px;
    margin: 14px 0 22px;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .product-price {
    font-size: 24px;
  }

  .add-to-cart {
    flex-wrap: wrap;
  }

  .add-to-cart .btn {
    min-width: 190px;
  }

  .tabs {
    margin-top: 36px;
  }

  .tab-btn {
    padding: 12px 12px 14px;
    font-size: 14px;
  }

  .related {
    padding-top: 20px;
  }

  .related h2 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .about-hero {
    height: 360px;
  }

  .about-main {
    padding: 20px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .about-card {
    padding: 40px 24px;
  }

  .about-card h2 {
    font-size: 28px;
  }

  .about-card h4 {
    font-size: 17px;
  }

  .about-card p {
    line-height: 1.95;
  }

  .about-image img {
    width: 100%;
  }

  .contact-hero {
    height: 340px;
  }

  .contact-main {
    padding: 40px 0 20px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .contact-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-info {
    padding: 40px 20px 30px;
  }

  .contact-form-wrap {
    padding: 26px 20px 50px;
  }

  .contact-info h2 {
    font-size: 28px;
  }

  .doc-page {
    padding: 30px 0 60px;
  }

  .doc-wrap {
    padding: 0 20px;
  }

  .doc-content {
    font-size: 15px;
    margin-top: 24px;
  }

  .doc-content h3 {
    font-size: 19px;
  }

  .doc-content h4 {
    font-size: 16px;
  }

  .cart-page h1,
  .account-grid h2 {
    font-size: 26px;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    border-bottom: 1px solid #ececec;
    padding: 14px 0;
  }

  .cart-table td {
    border: 0;
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .cart-product {
    flex: 1;
  }

  .cart-actions {
    flex-direction: column;
  }

  .cart-actions .btn {
    width: 100%;
  }

  .cart-totals__box {
    width: 100%;
  }

  .account-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 400px) {
  .product-grid--3,
  .product-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h2 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ---------------- journal / blog ---------------- */
.post-page {
  padding: 96px 0 100px;
}

.post-body {
  max-width: 860px;
  margin: 0 auto;
}

.post-body .breadcrumb {
  font-size: 13px;
  color: #777;
  margin-bottom: 26px;
}

.post-body .breadcrumb a {
  color: #777;
}

.post-body .breadcrumb .sep {
  margin: 0 8px;
}

.entry__title {
  font-size: 34px;
  line-height: 1.45;
  font-weight: 700;
  color: #202020;
  margin: 0 0 14px;
}

.entry__meta {
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 34px;
}

.entry__content {
  font-size: 16px;
  line-height: 1.95;
  color: #333;
}

.entry__content p {
  margin: 0 0 20px;
}

.journal-page {
  padding: 40px 0 100px;
}

.journal-page__title {
  font-size: 36px;
  font-weight: 700;
  margin: 16px 0 10px;
  color: #202020;
}

.journal-page__lead {
  font-size: 15px;
  color: #555;
  margin: 0 0 40px;
}

.journal-card__excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin: 10px 0 0;
}

@media (max-width: 700px) {
  .post-page {
    padding: 46px 0 70px;
  }

  .entry__title {
    font-size: 24px;
  }

  .journal-page__title {
    font-size: 26px;
  }
}
/* honeypot field must never be visible */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
/* keep the footer at the bottom on short pages (404, empty states) */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#main,
main#main {
  flex: 1 0 auto;
}
.site-footer {
  flex-shrink: 0;
}