/*
Theme Name: Feeling of Clean
Theme URI: https://nixtp.com/
Author: NixTP
Description: NIXTP means The feeling of clean. One-link homepage. Nothing extra.
Version: 1.6.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: feeling-of-clean
*/

:root {
  --foc-paper: #f4f1ea;
  --foc-ink: #1c1b19;
  --foc-muted: #6a6760;
  --foc-line: #e2ddd4;
  --foc-chrome: #c5c9ce;
  --foc-chrome-hi: #e4e6ea;
  --foc-accent: #1c1b19;
  --foc-lift: 0 10px 36px rgba(28, 27, 25, 0.1);
}

* { box-sizing: border-box; }

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--foc-paper);
  color: var(--foc-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

.nixtp-gate-svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: rgba(28, 27, 25, 0.12);
}

.foc-film {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--foc-paper);
}

.foc-film-stills,
.foc-film-video,
.foc-film-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.foc-film-still,
.foc-film-video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(0.8) contrast(1.08) saturate(1.1);
}

.foc-film-still.is-now {
  opacity: 1;
}

.foc-film.is-video .foc-film-stills {
  opacity: 0;
}

.foc-film.is-video .foc-film-video {
  opacity: 1;
}

.foc-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--foc-paper);
  opacity: 0.62;
}

@media (min-width: 800px) {
  .foc-film::after {
    opacity: 0.5;
  }
}

body.foc-has-film .foc-chrome,
body.foc-has-film .foc-footer {
  position: relative;
  z-index: 2;
  background: rgba(244, 241, 234, 0.72);
}

body.foc-has-film .foc-chrome {
  border-bottom: 1px solid var(--foc-chrome);
}

body.foc-has-film .foc-pages {
  border-bottom-color: var(--foc-chrome);
}

body.foc-has-film .foc-main,
body.foc-has-film .nixtp-ad-main,
body.foc-has-film .nixtp-ad-footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .foc-film-still {
    transition: none;
  }
}

.foc-home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  text-align: center;
}

.foc-wordmark {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.52em;
  text-indent: 0.52em;
}

.foc-slogan {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 10vw, 4.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.12;
  text-decoration: none;
  max-width: 16em;
  transition: opacity 0.35s ease;
}

.foc-slogan.is-swap,
.foc-slogan.is-swap:hover,
.foc-slogan.is-swap:focus {
  opacity: 0;
}

.foc-slogan:hover,
.foc-slogan:focus-visible {
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .foc-slogan {
    transition: none;
  }
}

.foc-vote {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--foc-muted);
  cursor: pointer;
}

.foc-vote svg {
  width: 18px;
  height: 18px;
}

.foc-vote:hover,
.foc-vote:focus {
  color: var(--foc-ink);
}

.foc-vote.is-on {
  color: var(--foc-ink);
}

.foc-vote.is-on svg path {
  stroke-width: 1.8;
}

.foc-vote.is-busy {
  opacity: 0.4;
  pointer-events: none;
}

.foc-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 12px;
}

.foc-pages {
  display: flex;
  gap: 4px 1.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 24px 14px;
  border-bottom: 1px solid var(--foc-line);
}

.foc-pages::-webkit-scrollbar {
  display: none;
}

.foc-pages a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--foc-muted);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.foc-pages a:hover,
.foc-pages a:focus {
  color: var(--foc-ink);
}

.foc-pages a[aria-current="page"] {
  color: var(--foc-ink);
  border-bottom-color: var(--foc-ink);
}

.foc-bar a {
  text-decoration: none;
}

.foc-bar .foc-wordmark {
  font-size: 0.68rem;
}

.foc-bar .foc-line {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1rem;
}

.foc-main {
  max-width: 920px;
  margin: 16px auto 48px;
  padding: 32px 24px 48px;
  background: rgba(244, 241, 234, 0.94);
  border: 1px solid var(--foc-chrome);
  border-radius: 18px;
  box-shadow: var(--foc-lift);
}

.foc-main h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.foc-main .lede {
  font-size: 1.15rem;
  color: var(--foc-muted);
  max-width: 38rem;
}

.foc-footer {
  padding: 24px;
  text-align: center;
  color: var(--foc-muted);
  font-size: 0.8rem;
}

.foc-footer p {
  margin: 0;
}

.foc-footer-meta {
  margin-top: 8px;
}

.foc-footer-meta a {
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.foc-footer-meta span {
  margin: 0 0.4em;
}

.nixtp-emblem {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--foc-ink);
  border-radius: 50%;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.15;
  flex-shrink: 0;
}

.nixtp-emblem-sm {
  width: 64px;
  height: 64px;
}

.nixtp-emblem-md {
  width: 80px;
  height: 80px;
}

.nixtp-emblem-lg {
  width: 104px;
  height: 104px;
}

.nixtp-emblem-mark {
  font-size: 0.62em;
  font-weight: 700;
}

.nixtp-emblem-word {
  font-size: 0.48em;
}

.nixtp-emblem-sm .nixtp-emblem-mark { font-size: 9px; }
.nixtp-emblem-sm .nixtp-emblem-word { font-size: 7px; }
.nixtp-emblem-md .nixtp-emblem-mark { font-size: 11px; }
.nixtp-emblem-md .nixtp-emblem-word { font-size: 8px; }
.nixtp-emblem-lg .nixtp-emblem-mark { font-size: 14px; }
.nixtp-emblem-lg .nixtp-emblem-word { font-size: 10px; }

.nixtp-ad-main {
  max-width: 920px;
  margin: 12px auto 0;
  padding: 12px 20px;
  background: rgba(244, 241, 234, 0.9);
  border: 1px solid var(--foc-chrome);
  border-radius: 14px;
}

.nixtp-ad-footer {
  max-width: 920px;
  margin: 0 auto 16px;
  padding: 12px 20px;
  background: rgba(244, 241, 234, 0.9);
  border: 1px solid var(--foc-chrome);
  border-radius: 14px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.woocommerce ul.products li.product {
  border: 1px solid var(--foc-chrome);
  border-radius: 16px;
  padding: 16px 16px 20px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--foc-lift);
}

.woocommerce ul.products li.product img,
.woocommerce div.product div.images img,
.woocommerce div.product .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  background: var(--foc-chrome-hi);
  border: 1px solid var(--foc-chrome);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(28, 27, 25, 0.12);
  padding: 10px;
}

.woocommerce div.product div.images img,
.woocommerce div.product .woocommerce-product-gallery img {
  max-height: 520px;
}

.woocommerce div.product div.images {
  margin-bottom: 1.4rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce #place_order {
  background: var(--foc-ink);
  color: var(--foc-paper);
  border: 0;
  padding: 12px 16px;
  min-height: 44px;
  text-decoration: none;
  box-shadow: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #place_order:hover {
  background: var(--foc-ink);
  color: var(--foc-paper);
}

.woocommerce .page-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce .related.products,
.woocommerce .upsells.products,
.single-product .product_meta,
.single-product .wcpay-express-checkout-wrapper,
.single-product #wcpay-woopay-button,
.single-product .woopay-express-button,
body.woocommerce-cart .wcpay-express-checkout-wrapper,
body.woocommerce-cart .woopay-express-button {
  display: none !important;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-store-notice {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--foc-line);
  box-shadow: none;
  color: var(--foc-ink);
  padding: 14px 0;
}

.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-color: var(--foc-line);
  background: transparent;
}

.woocommerce-cart .cart_totals,
.woocommerce-checkout #payment,
.woocommerce-checkout #order_review {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--foc-line);
  box-shadow: none;
  padding-top: 16px;
}

.woocommerce-checkout #payment div.payment_box {
  background: transparent;
  box-shadow: none;
  color: var(--foc-ink);
}

.woocommerce .form-row input.input-text,
.woocommerce .form-row textarea,
.woocommerce .form-row select,
.woocommerce .select2-container .select2-selection--single,
.woocommerce .quantity .qty {
  font-size: 16px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--foc-muted);
  border-radius: 10px;
  background: #fff;
  color: var(--foc-ink);
  box-shadow: inset 0 1px 2px rgba(28, 27, 25, 0.08);
}

.woocommerce-thankyou-order-received,
.nixtp-lede {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

@media (max-width: 699px) {
  .foc-bar {
    padding: 14px 16px 8px;
    padding-top: max(14px, env(safe-area-inset-top));
    gap: 10px;
  }

  .foc-pages {
    padding: 0 16px 10px;
    gap: 4px 1rem;
  }

  .foc-bar .foc-wordmark {
    font-size: 0.62rem;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
    flex-shrink: 0;
  }

  .foc-bar .foc-line {
    font-size: 0.95rem;
    text-align: right;
    min-width: 0;
  }

  .foc-main {
    margin: 12px 12px 32px;
    padding: 20px 16px 40px;
    padding-bottom: max(40px, calc(20px + env(safe-area-inset-bottom)));
    border-radius: 14px;
  }

  .foc-main h1 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .foc-main .lede {
    font-size: 1.05rem;
  }

  .foc-footer {
    padding: 20px 16px max(20px, env(safe-area-inset-bottom));
  }

  .nixtp-ad-main,
  .nixtp-ad-footer {
    margin-left: 12px;
    margin-right: 12px;
    padding: 10px 14px;
    border-radius: 12px;
  }

  .woocommerce ul.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    float: none;
    width: 100%;
  }

  .woocommerce ul.products li.product,
  .woocommerce ul.products li.product.first,
  .woocommerce ul.products li.product.last {
    float: none;
    width: 100%;
    margin: 0;
    padding: 16px 16px 20px;
    clear: both;
  }

  .woocommerce ul.products li.product a.button,
  .woocommerce ul.products li.product .button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    min-height: 44px;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce #respond input#submit {
    display: block;
    width: 100%;
    text-align: center;
    min-height: 44px;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .woocommerce select,
  .woocommerce input.input-text,
  .woocommerce-ordering select {
    font-size: 16px;
    min-height: 44px;
    width: 100%;
  }

  .woocommerce div.product form.cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .woocommerce .quantity .qty {
    font-size: 16px;
    min-height: 44px;
    width: 4.5rem;
  }

  .woocommerce div.product .woocommerce-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
