/*
Theme Name: PixelMaistir Modern
Theme URI: https://pixelmaistir.com
Author: PixelMaistir
Description: Modern storefront theme for PixelMaistir.
Version: 0.1.22
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: pixelmaistir-modern
*/

:root {
  --pm-ink: #1d2424;
  --pm-ink-soft: #3d4948;
  --pm-paper: #fbf6ec;
  --pm-paper-warm: #fffaf2;
  --pm-card: #fffdf8;
  --pm-forest: #244f3d;
  --pm-forest-dark: #142f28;
  --pm-ridge: #506f78;
  --pm-smoke: #dbe5df;
  --pm-ocean: #147d7a;
  --pm-aqua: #75beb5;
  --pm-seafoam: #d9eee6;
  --pm-coral: #cf6f5d;
  --pm-hibiscus: #a64d69;
  --pm-copper: #ad6c36;
  --pm-amber: #d69a43;
  --pm-driftwood: #8b7762;
  --pm-walnut: #624d3a;
  --pm-line: rgba(29, 36, 36, 0.13);
  --pm-line-strong: rgba(29, 36, 36, 0.22);
  --pm-shadow: 0 18px 44px rgba(29, 36, 36, 0.12);
  --pm-shadow-soft: 0 10px 30px rgba(29, 36, 36, 0.08);
  --pm-gradient-signature: linear-gradient(135deg, #244f3d 0%, #506f78 36%, #147d7a 68%, #cf6f5d 100%);
  --pm-gradient-paper: linear-gradient(180deg, #fffaf2 0%, #fbf6ec 58%, #f4efe5 100%);
  --pm-gradient-atmosphere: linear-gradient(145deg, rgba(36, 79, 61, 0.16), rgba(80, 111, 120, 0.11) 42%, rgba(117, 190, 181, 0.16) 72%, rgba(207, 111, 93, 0.10));
  --pm-header-bg: linear-gradient(90deg, rgba(251, 246, 236, 0.98), rgba(255, 250, 242, 0.94));
  --pm-button-bg: linear-gradient(135deg, var(--pm-forest), var(--pm-ocean));
  --pm-button-hover: linear-gradient(135deg, var(--pm-forest-dark), #0e6564);
  --pm-hero-image: url("assets/pixelmaistir-mountain-coast-hero-background.webp");
  --pm-hero-overlay: linear-gradient(90deg, rgba(8, 15, 24, 0.88) 0%, rgba(10, 18, 28, 0.76) 44%, rgba(14, 22, 32, 0.50) 72%, rgba(14, 19, 26, 0.34) 100%);
  --pm-hero-text-scrim: radial-gradient(ellipse at 20% 42%, rgba(5, 10, 18, 0.86) 0%, rgba(5, 10, 18, 0.74) 35%, rgba(5, 10, 18, 0.28) 62%, transparent 78%);
  --pm-hero-bottom-fade: linear-gradient(180deg, transparent 0%, transparent 74%, rgba(251, 246, 236, 0.96) 100%);
  --pm-brand-story-image: url("assets/pixelmaistir-mountain-coast-hero-background-tablet.webp");
  --pm-input-bg: #fff;
  --pm-badge-bg: rgba(255, 253, 248, 0.78);
  --pm-radius: 8px;
  --pm-max: 1180px;
  --pm-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pm-serif: Georgia, "Times New Roman", serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --pm-ink: #fff5df;
  --pm-ink-soft: #d9c9b1;
  --pm-paper: #0d1020;
  --pm-paper-warm: #15172a;
  --pm-card: #171a31;
  --pm-forest: #8da2ff;
  --pm-forest-dark: #090b18;
  --pm-ridge: #6e82b4;
  --pm-smoke: #272d4f;
  --pm-ocean: #6b8dff;
  --pm-aqua: #88b9ff;
  --pm-seafoam: #d7defe;
  --pm-coral: #f08d72;
  --pm-hibiscus: #cf72b7;
  --pm-copper: #d59150;
  --pm-amber: #f4c66d;
  --pm-driftwood: #c5ad8b;
  --pm-walnut: #9d8064;
  --pm-line: rgba(139, 162, 255, 0.20);
  --pm-line-strong: rgba(244, 198, 109, 0.34);
  --pm-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  --pm-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.28);
  --pm-gradient-signature: linear-gradient(135deg, #151732 0%, #283a7a 38%, #65408e 68%, #d18a4f 100%);
  --pm-gradient-paper: radial-gradient(ellipse at 76% 8%, rgba(101, 64, 142, 0.28), transparent 34%), radial-gradient(ellipse at 18% 88%, rgba(209, 138, 79, 0.16), transparent 42%), linear-gradient(180deg, #090b18 0%, #0d1020 58%, #151426 100%);
  --pm-gradient-atmosphere: linear-gradient(145deg, rgba(107, 141, 255, 0.16), rgba(101, 64, 142, 0.22) 42%, rgba(244, 198, 109, 0.10));
  --pm-header-bg: linear-gradient(90deg, rgba(9, 11, 24, 0.98), rgba(18, 21, 42, 0.95));
  --pm-button-bg: linear-gradient(135deg, #415ee9, #7b58c4 58%, #d59150);
  --pm-button-hover: linear-gradient(135deg, #3147bf, #6d48b0 58%, #f4c66d);
  --pm-hero-overlay: linear-gradient(90deg, rgba(6, 9, 18, 0.84) 0%, rgba(8, 11, 24, 0.70) 42%, rgba(17, 19, 36, 0.38) 76%, rgba(23, 17, 28, 0.20) 100%);
  --pm-hero-text-scrim: radial-gradient(ellipse at 20% 42%, rgba(3, 6, 12, 0.88) 0%, rgba(5, 8, 16, 0.72) 34%, rgba(5, 8, 16, 0.20) 64%, transparent 80%);
  --pm-hero-bottom-fade: linear-gradient(180deg, transparent 0%, transparent 74%, rgba(13, 16, 32, 0.98) 100%);
  --pm-input-bg: #101426;
  --pm-badge-bg: rgba(20, 23, 46, 0.84);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--pm-ink);
  background: var(--pm-gradient-paper);
  font-family: var(--pm-font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--pm-forest);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.woocommerce div.product div.images .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  overflow: visible;
  list-style: none;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
  opacity: 1 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  float: none;
  width: auto !important;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #f5f1ea;
  border: 1px solid var(--pm-line);
  border-radius: 6px;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  padding: 6px;
  background: #f5f1ea;
}

:root[data-theme="dark"] .woocommerce div.product div.images .flex-control-thumbs li,
:root[data-theme="dark"] .woocommerce div.product div.images .flex-control-thumbs img {
  background: #e7e5e0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    var(--pm-header-bg),
    var(--pm-paper);
  border-bottom: 1px solid var(--pm-line);
  backdrop-filter: blur(12px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(20, 125, 122, 0.34), rgba(207, 111, 93, 0.28), transparent);
}

.site-header__inner,
.site-footer__inner,
.pm-wrap {
  width: min(var(--pm-max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  width: min(1320px, calc(100% - 32px));
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  min-height: 78px;
}

.site-header nav,
.pm-hero__grid > * {
  min-width: 0;
}

.pm-menu-toggle {
  display: none;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pm-ink);
  text-decoration: none;
}

.site-branding__mark {
  display: block;
  width: 82px;
  height: 52px;
  overflow: visible;
  filter: drop-shadow(0 8px 14px rgba(20, 47, 40, 0.18));
}

.site-branding__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-branding__name {
  display: block;
  font-weight: 850;
  line-height: 1.1;
}

.site-branding__meta {
  display: block;
  color: var(--pm-driftwood);
  font-size: 0.82rem;
}

.primary-menu,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu li,
.footer-menu li {
  flex: 0 0 auto;
}

.primary-menu a,
.footer-menu a {
  color: var(--pm-ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.primary-menu a:hover,
.footer-menu a:hover {
  color: var(--pm-ocean);
}

.pm-theme-toggle {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.42rem 0.62rem;
  color: var(--pm-ink);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--pm-line);
  border-radius: 999px;
  box-shadow: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
}

.pm-theme-toggle:hover,
.pm-theme-toggle:focus-visible {
  color: var(--pm-ink);
  background: rgba(117, 190, 181, 0.18);
  border-color: var(--pm-line-strong);
  outline: 3px solid rgba(117, 190, 181, 0.28);
  transform: none;
}

.pm-theme-toggle__icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.pm-theme-toggle__icon--dark,
.pm-theme-toggle[data-active-theme="dark"] .pm-theme-toggle__icon--light {
  display: none;
}

.pm-theme-toggle[data-active-theme="dark"] .pm-theme-toggle__icon--dark {
  display: inline-grid;
}

.pm-button,
.button,
button,
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.06rem;
  color: #fff;
  background: var(--pm-button-bg);
  border: 1px solid rgba(20, 47, 40, 0.2);
  border-radius: var(--pm-radius);
  box-shadow: 0 10px 22px rgba(20, 47, 40, 0.16);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.pm-button:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  color: #fff;
  background: var(--pm-button-hover);
  border-color: rgba(20, 47, 40, 0.36);
  transform: translateY(-1px);
}

.pm-button--ghost {
  color: var(--pm-forest-dark);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(20, 125, 122, 0.28);
  box-shadow: none;
}

.pm-button--copper {
  background: linear-gradient(135deg, var(--pm-copper), var(--pm-coral));
  border-color: rgba(173, 108, 54, 0.4);
}

.site-main {
  min-height: 60vh;
}

.pm-section {
  position: relative;
  padding: 72px 0;
}

.pm-section--paper {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    var(--pm-paper);
}

.pm-section--light {
  background:
    linear-gradient(135deg, rgba(217, 238, 230, 0.42), rgba(255, 250, 242, 0.88) 45%, rgba(255, 245, 232, 0.84)),
    #fffbf3;
}

.pm-section--dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 47, 40, 0.96), rgba(30, 68, 74, 0.94) 48%, rgba(88, 55, 47, 0.9)),
    var(--pm-forest-dark);
}

.pm-section__eyebrow {
  margin: 0 0 8px;
  color: var(--pm-copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pm-section__title {
  max-width: 780px;
  margin: 0 0 14px;
  font-family: var(--pm-serif);
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.pm-section__lede {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--pm-ink-soft);
  font-size: 1.15rem;
}

.pm-section--dark .pm-section__lede {
  color: rgba(255, 255, 255, 0.82);
}

.pm-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 94px;
  background:
    var(--pm-hero-text-scrim),
    var(--pm-hero-overlay),
    var(--pm-hero-bottom-fade),
    var(--pm-hero-image),
    linear-gradient(150deg, #08111d 0%, #14283d 42%, #0f6c72 70%, #d88750 100%);
  background-position:
    center,
    center,
    center,
    center right,
    center;
  background-size:
    auto,
    auto,
    auto,
    cover,
    auto;
}

.pm-hero::before,
.pm-hero::after {
  position: absolute;
  right: -8%;
  left: -8%;
  pointer-events: none;
  content: "";
}

.pm-hero::before {
  top: 0;
  height: 42%;
  background:
    linear-gradient(165deg, transparent 58%, rgba(80, 111, 120, 0.16) 59%, transparent 61%),
    linear-gradient(172deg, transparent 48%, rgba(36, 79, 61, 0.15) 49%, transparent 51%),
    linear-gradient(178deg, transparent 66%, rgba(20, 47, 40, 0.10) 67%, transparent 69%);
  opacity: 0.32;
}

.pm-hero::after {
  bottom: -12%;
  height: 38%;
  background:
    radial-gradient(ellipse at 18% 18%, rgba(207, 111, 93, 0.12), transparent 45%),
    linear-gradient(170deg, transparent 42%, rgba(20, 125, 122, 0.16) 43%, transparent 45%),
    linear-gradient(176deg, transparent 58%, rgba(117, 190, 181, 0.22) 59%, transparent 61%);
  opacity: 0.36;
}

.pm-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.pm-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff8e8;
  font-family: var(--pm-serif);
  font-size: 5.1rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.34);
}

.pm-hero p {
  max-width: 680px;
  color: rgba(255, 248, 232, 0.88);
  font-size: 1.22rem;
}

.pm-hero .pm-section__eyebrow {
  color: #f4bf70;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.pm-actions,
.pm-badges,
.pm-card-grid,
.pm-steps,
.pm-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pm-badge {
  display: inline-flex;
  flex: 1 1 150px;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.4rem 0.65rem;
  color: var(--pm-forest-dark);
  background: var(--pm-badge-bg);
  border: 1px solid rgba(20, 125, 122, 0.18);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  white-space: normal;
}

.pm-hero__visual {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    var(--pm-gradient-signature);
  border-radius: 16px;
  box-shadow: var(--pm-shadow);
}

.pm-hero__visual::before {
  position: absolute;
  inset: 18px 18px auto;
  z-index: -1;
  height: 44%;
  content: "";
  background:
    linear-gradient(162deg, transparent 54%, rgba(255, 255, 255, 0.22) 55%, transparent 57%),
    linear-gradient(172deg, transparent 42%, rgba(255, 255, 255, 0.16) 43%, transparent 45%);
  border-radius: 12px;
}

.pm-hero__visual::after {
  position: absolute;
  inset: auto 18px 18px;
  z-index: -1;
  height: 42%;
  content: "";
  background:
    repeating-linear-gradient(170deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, rgba(117, 190, 181, 0.28), rgba(207, 111, 93, 0.20));
  border-radius: 12px;
}

.pm-maker-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
}

.pm-maker-tile {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(29, 36, 36, 0.04), rgba(29, 36, 36, 0.58)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16);
}

.pm-maker-tile strong {
  font-size: 1.05rem;
}

.pm-maker-tile:nth-child(2) {
  background-color: var(--pm-coral);
}

.pm-maker-tile:nth-child(3) {
  background-color: var(--pm-ocean);
}

.pm-maker-tile:nth-child(4) {
  background-color: var(--pm-walnut);
}

.pm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pm-card,
.woocommerce ul.products li.product {
  overflow: hidden;
  background: var(--pm-card);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow-soft);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pm-card:hover,
.woocommerce ul.products li.product:hover {
  border-color: rgba(20, 125, 122, 0.24);
  box-shadow: 0 16px 36px rgba(29, 36, 36, 0.10);
  transform: translateY(-2px);
}

.pm-card__media {
  min-height: 180px;
  background:
    linear-gradient(145deg, rgba(36, 79, 61, 0.22), rgba(20, 125, 122, 0.18) 54%, rgba(207, 111, 93, 0.14)),
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px 19px);
}

.pm-card__media--category {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
}

.pm-card__media--category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-card__media--category span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 40px);
  min-height: 88px;
  padding: 16px;
  color: var(--pm-forest);
  font-family: var(--pm-serif);
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
  background: rgba(255, 251, 240, 0.72);
  border: 1px solid rgba(29, 36, 36, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(29, 36, 36, 0.10);
}

.pm-card__body {
  padding: 20px;
}

.pm-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.pm-card p {
  margin: 0 0 16px;
  color: var(--pm-ink-soft);
}

.pm-step {
  flex: 1 1 190px;
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--pm-radius);
}

.pm-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: var(--pm-forest-dark);
  background: linear-gradient(135deg, #fff, var(--pm-seafoam));
  border-radius: 50%;
  font-weight: 900;
}

.pm-form {
  display: grid;
  gap: 14px;
  max-width: 840px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48)),
    var(--pm-card);
  border: 1px solid rgba(20, 125, 122, 0.16);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow-soft);
}

.pm-form label {
  display: grid;
  gap: 6px;
  color: var(--pm-ink-soft);
  font-weight: 800;
}

.pm-form input,
.pm-form select,
.pm-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.72rem 0.8rem;
  color: var(--pm-ink);
  background: var(--pm-input-bg);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  font: inherit;
}

.pm-form input:focus,
.pm-form select:focus,
.pm-form textarea:focus {
  outline: 3px solid rgba(117, 190, 181, 0.28);
  border-color: var(--pm-ocean);
}

.pm-form textarea {
  min-height: 130px;
}

.pm-alert {
  padding: 14px 16px;
  background: #f2fff6;
  border: 1px solid rgba(41, 86, 65, 0.35);
  border-radius: var(--pm-radius);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(170deg, rgba(20, 47, 40, 0.98), rgba(26, 60, 66, 0.96) 45%, rgba(73, 48, 44, 0.98)),
    var(--pm-ink);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--pm-forest), var(--pm-ocean), var(--pm-coral)) 1;
}

.site-footer__inner {
  position: relative;
  padding: 54px 0;
}

.site-footer__inner::before {
  position: absolute;
  top: 24px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.pm-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
}

.site-footer a {
  color: #fff;
}

.pm-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pm-social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.68rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.pm-social-links a:hover,
.pm-social-links a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--pm-ocean), var(--pm-hibiscus) 58%, var(--pm-amber));
  border-color: rgba(255, 255, 255, 0.28);
  outline: 3px solid rgba(244, 198, 109, 0.24);
}

.pm-partner-logo {
  display: block;
  width: min(320px, 100%);
  height: auto;
  margin: 0 0 18px;
}

.pm-partner-logo-set {
  max-width: 340px;
  margin: 0 0 18px;
}

.pm-partner-logo-set .pm-partner-logo {
  margin-bottom: 0;
}

.pm-partner-logo--dark {
  display: none;
}

.site-footer__logo {
  display: block;
  width: min(220px, 80%);
  height: auto;
  margin: 0 0 18px;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}

.pm-brand-story {
  position: relative;
  overflow: hidden;
  margin: 32px 0;
  padding: 32px;
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.96) 0%, rgba(251, 246, 236, 0.90) 48%, rgba(217, 238, 230, 0.70) 100%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.68)),
    var(--pm-brand-story-image),
    var(--pm-gradient-atmosphere);
  background-position: center, center, center right, center;
  background-size: auto, auto, cover, auto;
  border: 1px solid rgba(20, 125, 122, 0.18);
  border-radius: 12px;
  box-shadow: var(--pm-shadow-soft);
}

.pm-brand-story::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--pm-gradient-signature);
}

.pm-brand-story h2 {
  max-width: 760px;
  margin-top: 0;
  font-family: var(--pm-serif);
  font-size: 2.4rem;
  line-height: 1.06;
}

.pm-brand-story p {
  max-width: 800px;
  color: var(--pm-ink-soft);
  font-size: 1.08rem;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.woocommerce ul.products li.product {
  width: auto;
  margin: 0;
  padding: 14px;
  background: var(--pm-card);
}

.woocommerce ul.products li.product a img,
.wc-block-grid__product-image img,
.related.products ul.products li.product img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--pm-card);
  border-radius: calc(var(--pm-radius) - 6px);
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
  color: var(--pm-ink);
  background: var(--pm-card);
  border-color: var(--pm-ocean);
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.woocommerce .quantity .qty,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
  color: var(--pm-ink);
  background: var(--pm-input-bg);
  border-color: var(--pm-line-strong);
}

.woocommerce div.product form.cart .variations select {
  min-height: 44px;
  padding: 0.58rem 0.7rem;
  color: var(--pm-ink);
  background-color: var(--pm-input-bg);
  border: 1px solid var(--pm-line-strong);
  border-radius: var(--pm-radius);
  font: inherit;
}

.woocommerce div.product form.cart .variations select:focus {
  border-color: var(--pm-ocean);
  outline: 3px solid rgba(117, 190, 181, 0.28);
}

.woocommerce div.product .woocommerce-tabs {
  clear: both;
  padding-top: 28px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 0;
  padding: 0 0 1px;
  border-bottom: 1px solid var(--pm-line-strong);
  overflow: visible;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: var(--pm-badge-bg);
  border: 1px solid var(--pm-line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  box-shadow: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.72rem 1rem;
  color: var(--pm-ink-soft);
  font-weight: 850;
  text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--pm-card);
  border-color: var(--pm-line-strong);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--pm-ink);
}

.woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  padding: 26px 0 0;
  color: var(--pm-ink);
  background: transparent;
}

.woocommerce table.shop_table,
.woocommerce-cart-form,
.woocommerce-checkout-review-order,
.cart_totals,
.wc-block-cart,
.wc-block-checkout {
  color: var(--pm-ink);
  background: var(--pm-card);
  border-color: var(--pm-line);
}

.pm-product-customization {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(117, 190, 181, 0.13), rgba(207, 111, 93, 0.08)),
    var(--pm-card);
  border: 1px solid var(--pm-line-strong);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow-soft);
}

.pm-product-customization h3 {
  margin: 0;
  font-family: var(--pm-serif);
  font-size: 1.45rem;
  line-height: 1.15;
}

.pm-product-customization label {
  color: var(--pm-ink);
  font-weight: 850;
}

.pm-product-customization select,
.pm-product-customization textarea,
.pm-product-customization input[type="text"],
.pm-product-customization input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.78rem;
  color: var(--pm-ink);
  background: var(--pm-input-bg);
  border: 1px solid var(--pm-line-strong);
  border-radius: var(--pm-radius);
  font: inherit;
}

.pm-product-customization textarea {
  min-height: 118px;
}

.pm-product-customization select:focus,
.pm-product-customization textarea:focus,
.pm-product-customization input:focus {
  border-color: var(--pm-ocean);
  outline: 3px solid rgba(117, 190, 181, 0.28);
}

.pm-product-customization__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pm-product-customization__grid p {
  margin: 0;
}

.pm-product-customization__helper {
  margin: 0;
  color: var(--pm-ink-soft);
  font-size: 0.94rem;
}

.pm-version-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.pm-version-card {
  overflow: hidden;
  background: var(--pm-card);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow-soft);
}

.pm-version-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pm-version-card__body {
  padding: 16px;
}

.pm-version-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.pm-version-card p {
  margin: 0;
  color: var(--pm-ink-soft);
  font-size: 0.94rem;
}

:root[data-theme="dark"] a {
  color: var(--pm-aqua);
}

:root[data-theme="dark"] .pm-theme-toggle {
  color: #fff5df;
  background: rgba(244, 198, 109, 0.16);
  border-color: rgba(244, 198, 109, 0.34);
}

:root[data-theme="dark"] .pm-theme-toggle:hover,
:root[data-theme="dark"] .pm-theme-toggle:focus-visible {
  background: rgba(107, 141, 255, 0.18);
  outline-color: rgba(244, 198, 109, 0.3);
}

:root[data-theme="dark"] .pm-menu-toggle {
  color: #fff5df;
  background: rgba(244, 198, 109, 0.16);
  border-color: rgba(244, 198, 109, 0.34);
}

:root[data-theme="dark"] .pm-menu-toggle:hover,
:root[data-theme="dark"] .pm-menu-toggle:focus-visible {
  background: rgba(107, 141, 255, 0.18);
  outline-color: rgba(244, 198, 109, 0.3);
}

:root[data-theme="dark"] .primary-menu a {
  color: #fff5df;
  background: transparent;
  border-color: transparent;
}

:root[data-theme="dark"] .primary-menu a:hover,
:root[data-theme="dark"] .primary-menu a:focus-visible {
  color: #fff5df;
  background: rgba(20, 23, 46, 0.82);
  border-color: rgba(139, 162, 255, 0.22);
}

:root[data-theme="dark"] .site-branding__mark {
  filter: drop-shadow(0 0 16px rgba(107, 141, 255, 0.24)) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
}

:root[data-theme="dark"] .pm-button--ghost {
  color: var(--pm-seafoam);
  background: rgba(16, 19, 38, 0.72);
  border-color: rgba(139, 162, 255, 0.32);
}

:root[data-theme="dark"] .pm-button--ghost:hover {
  color: #fff5df;
  background: rgba(101, 64, 142, 0.34);
}

:root[data-theme="dark"] .pm-button,
:root[data-theme="dark"] .button,
:root[data-theme="dark"] button,
:root[data-theme="dark"] input[type="submit"],
:root[data-theme="dark"] .wp-block-button__link,
:root[data-theme="dark"] .woocommerce a.button,
:root[data-theme="dark"] .woocommerce button.button,
:root[data-theme="dark"] .woocommerce input.button {
  color: #fff7e8;
}

:root[data-theme="dark"] .pm-badge {
  color: #fff5df;
  background: rgba(15, 19, 38, 0.82);
  border-color: rgba(244, 198, 109, 0.28);
}

:root[data-theme="dark"] .pm-hero {
  background:
    var(--pm-hero-text-scrim),
    var(--pm-hero-overlay),
    var(--pm-hero-bottom-fade),
    var(--pm-hero-image),
    linear-gradient(150deg, #090b18 0%, #121a3d 45%, #2a2358 72%, #4b2a3f 100%);
  background-position:
    center,
    center,
    center,
    center right,
    center;
  background-size:
    auto,
    auto,
    auto,
    cover,
    auto;
}

:root[data-theme="dark"] .pm-hero::before {
  opacity: 0.62;
  filter: hue-rotate(28deg) saturate(1.1) brightness(1.16);
}

:root[data-theme="dark"] .pm-hero::after {
  opacity: 0.72;
  filter: hue-rotate(32deg) saturate(1.18);
}

:root[data-theme="dark"] .pm-section--light {
  background:
    linear-gradient(135deg, rgba(18, 21, 42, 0.98), rgba(13, 16, 32, 0.96) 48%, rgba(44, 31, 58, 0.92)),
    var(--pm-paper);
}

:root[data-theme="dark"] .pm-section--paper {
  background:
    linear-gradient(180deg, rgba(139, 162, 255, 0.05), rgba(244, 198, 109, 0.02)),
    var(--pm-paper);
}

:root[data-theme="dark"] .site-footer {
  background:
    linear-gradient(170deg, rgba(9, 11, 24, 0.98), rgba(24, 29, 63, 0.96) 46%, rgba(55, 37, 71, 0.98)),
    var(--pm-paper);
  border-image: linear-gradient(90deg, #6b8dff, #8a5bd2, #f4c66d, #f08d72) 1;
}

:root[data-theme="dark"] .pm-social-links a {
  color: #fff5df;
  background: rgba(20, 23, 46, 0.82);
  border-color: rgba(244, 198, 109, 0.22);
}

:root[data-theme="dark"] .pm-partner-logo--light {
  display: none;
}

:root[data-theme="dark"] .pm-partner-logo--dark {
  display: block;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.34));
}

:root[data-theme="dark"] .pm-card,
:root[data-theme="dark"] .woocommerce ul.products li.product,
:root[data-theme="dark"] .pm-form,
:root[data-theme="dark"] .pm-brand-story,
:root[data-theme="dark"] .pm-product-customization,
:root[data-theme="dark"] .pm-version-card {
  border-color: var(--pm-line);
  box-shadow: var(--pm-shadow-soft);
}

:root[data-theme="dark"] .pm-form {
  background:
    linear-gradient(180deg, rgba(139, 162, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--pm-card);
}

:root[data-theme="dark"] .pm-product-customization {
  background:
    linear-gradient(135deg, rgba(107, 141, 255, 0.13), rgba(101, 64, 142, 0.18) 54%, rgba(244, 198, 109, 0.08)),
    var(--pm-card);
}

:root[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom-color: rgba(244, 198, 109, 0.34);
}

:root[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li {
  background:
    linear-gradient(135deg, rgba(20, 23, 46, 0.92), rgba(32, 28, 54, 0.86)),
    var(--pm-card);
  border-color: rgba(139, 162, 255, 0.22);
}

:root[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #d9c9b1;
}

:root[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background:
    linear-gradient(135deg, rgba(107, 141, 255, 0.18), rgba(101, 64, 142, 0.22) 58%, rgba(244, 198, 109, 0.10)),
    var(--pm-card);
  border-color: rgba(244, 198, 109, 0.42);
}

:root[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
:root[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: #fff5df;
}

:root[data-theme="dark"] .woocommerce div.product .woocommerce-tabs .panel {
  color: #fff5df;
}

:root[data-theme="dark"] .woocommerce select,
:root[data-theme="dark"] .pm-product-customization select,
:root[data-theme="dark"] .pm-form select {
  color: #fff5df;
  background-color: #101426;
  border-color: rgba(244, 198, 109, 0.34);
}

:root[data-theme="dark"] .woocommerce select option,
:root[data-theme="dark"] .pm-product-customization select option,
:root[data-theme="dark"] .pm-form select option {
  color: #101426;
  background-color: #fffaf2;
}

:root[data-theme="dark"] .woocommerce select option:checked,
:root[data-theme="dark"] .pm-product-customization select option:checked,
:root[data-theme="dark"] .pm-form select option:checked {
  color: #fff5df;
  background-color: #6b8dff;
}

:root[data-theme="dark"] .pm-brand-story {
  color: #fff5df;
  background:
    linear-gradient(115deg, rgba(12, 15, 31, 0.96) 0%, rgba(18, 21, 42, 0.88) 48%, rgba(33, 27, 52, 0.72) 100%),
    linear-gradient(90deg, rgba(9, 11, 24, 0.88), rgba(9, 11, 24, 0.34)),
    var(--pm-brand-story-image),
    var(--pm-card);
  background-position: center, center, center right, center;
  background-size: auto, auto, cover, auto;
  border-color: rgba(244, 198, 109, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 245, 223, 0.08);
}

:root[data-theme="dark"] .pm-brand-story::before {
  background: linear-gradient(90deg, #6b8dff, #8a5bd2 48%, #f4c66d);
}

:root[data-theme="dark"] .pm-brand-story h2 {
  color: #fff5df;
}

:root[data-theme="dark"] .pm-card p,
:root[data-theme="dark"] .pm-brand-story p,
:root[data-theme="dark"] .product_meta,
:root[data-theme="dark"] .woocommerce-breadcrumb {
  color: var(--pm-ink-soft);
}

:root[data-theme="dark"] .pm-card__media {
  background:
    linear-gradient(145deg, rgba(107, 141, 255, 0.16), rgba(101, 64, 142, 0.2) 54%, rgba(244, 198, 109, 0.10)),
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 19px);
}

:root[data-theme="dark"] .pm-maker-tile {
  border-color: rgba(255, 255, 255, 0.14);
}

:root[data-theme="dark"] .pm-form input::placeholder,
:root[data-theme="dark"] .pm-form textarea::placeholder,
:root[data-theme="dark"] .woocommerce input::placeholder,
:root[data-theme="dark"] .woocommerce textarea::placeholder {
  color: rgba(216, 202, 182, 0.7);
}

.product_meta,
.woocommerce-breadcrumb {
  color: var(--pm-ink-soft);
}

@media (max-width: 920px) {
  :root {
    --pm-hero-image: url("assets/pixelmaistir-mountain-coast-hero-background-tablet.webp");
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 8px;
    padding: 10px 0;
    min-height: 0;
  }

  .site-branding {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .site-branding__mark {
    width: 72px;
    height: 46px;
  }

  .pm-menu-toggle {
    grid-column: 1 / 2;
    justify-self: stretch;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.42rem 0.75rem;
    color: var(--pm-ink);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--pm-line);
    border-radius: 18px;
    box-shadow: none;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 850;
  }

  .pm-menu-toggle:hover,
  .pm-menu-toggle:focus-visible {
    color: var(--pm-ink);
    background: rgba(117, 190, 181, 0.18);
    border-color: var(--pm-line-strong);
    outline: 3px solid rgba(117, 190, 181, 0.28);
    transform: none;
  }

  .pm-menu-toggle__bars,
  .pm-menu-toggle__bars::before,
  .pm-menu-toggle__bars::after {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    content: "";
  }

  .pm-menu-toggle__bars {
    position: relative;
  }

  .pm-menu-toggle__bars::before,
  .pm-menu-toggle__bars::after {
    position: absolute;
    left: 0;
  }

  .pm-menu-toggle__bars::before {
    top: -5px;
  }

  .pm-menu-toggle__bars::after {
    top: 5px;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 8px 0 2px;
    overflow: hidden;
  }

  .site-nav[data-menu-open="true"] {
    display: block;
  }

  .primary-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }

  .primary-menu a {
    display: block;
    padding: 0.62rem 0.72rem;
    color: var(--pm-ink);
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-radius);
    text-align: center;
    white-space: normal;
  }

  .pm-theme-toggle,
  .site-header .pm-button {
    justify-self: stretch;
  }

  .pm-theme-toggle {
    grid-column: 2 / 3;
    width: 44px;
    min-width: 44px;
    min-height: 42px;
    padding: 0;
    border-radius: 16px;
  }

  .site-header .pm-header-cta {
    grid-column: 3 / 4;
    width: 44px;
    min-width: 44px;
    min-height: 42px;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(65, 94, 233, 0.28);
  }

  .pm-theme-toggle__text,
  .pm-header-cta__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pm-theme-toggle__icon,
  .pm-header-cta__icon {
    width: 22px;
    height: 22px;
    font-size: 1.08rem;
    line-height: 1;
  }

  .pm-hero__grid,
  .pm-footer-grid {
    grid-template-columns: 1fr;
  }

  .pm-section {
    padding: 58px 0;
  }

  .pm-section__title {
    font-size: 2.65rem;
  }

  .pm-hero {
    padding: 68px 0 74px;
    background-position:
      center,
      center,
      center,
      center right,
      center;
  }

  .pm-hero__grid {
    gap: 36px;
  }

  .pm-hero h1 {
    font-size: 4rem;
  }

  .pm-hero__visual {
    min-height: 340px;
  }

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

@media (max-width: 640px) {
  :root {
    --pm-hero-image: url("assets/pixelmaistir-mountain-coast-hero-background-mobile.webp");
    --pm-hero-overlay: linear-gradient(180deg, rgba(6, 11, 20, 0.90) 0%, rgba(8, 14, 24, 0.78) 54%, rgba(9, 15, 22, 0.60) 100%);
    --pm-hero-text-scrim: radial-gradient(ellipse at 42% 28%, rgba(4, 8, 15, 0.90), rgba(4, 8, 15, 0.54) 58%, transparent 82%);
  }

  :root[data-theme="dark"] {
    --pm-hero-overlay: linear-gradient(180deg, rgba(4, 7, 15, 0.88) 0%, rgba(7, 10, 21, 0.68) 56%, rgba(15, 11, 22, 0.46) 100%);
    --pm-hero-text-scrim: radial-gradient(ellipse at 42% 28%, rgba(2, 5, 11, 0.90), rgba(3, 6, 13, 0.48) 60%, transparent 84%);
  }

  .site-header__inner,
  .site-footer__inner,
  .pm-wrap {
    width: min(100% - 22px, var(--pm-max));
  }

  .primary-menu {
    grid-template-columns: 1fr;
  }

  .pm-section {
    padding: 46px 0;
  }

  .pm-section__title,
  .pm-hero h1 {
    font-size: 1.95rem;
    line-height: 1.02;
  }

  .pm-hero h1 {
    max-width: 330px;
  }

  .pm-section__lede,
  .pm-hero p {
    font-size: 1.02rem;
  }

  .pm-card-grid,
  .woocommerce ul.products,
  .pm-maker-board {
    grid-template-columns: 1fr;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .woocommerce div.product form.cart,
  .woocommerce div.product form.cart .variations,
  .woocommerce div.product form.cart .variations tbody,
  .woocommerce div.product form.cart .variations tr,
  .woocommerce div.product form.cart .variations th,
  .woocommerce div.product form.cart .variations td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .woocommerce div.product form.cart .variations th,
  .woocommerce div.product form.cart .variations td {
    padding: 0 0 8px;
    text-align: left;
  }

  .woocommerce div.product form.cart .variations select,
  .woocommerce div.product form.cart .variations .reset_variations,
  .pm-product-customization select,
  .pm-product-customization textarea,
  .pm-product-customization input[type="text"],
  .pm-product-customization input[type="file"] {
    width: 100%;
    max-width: 100%;
  }

  .woocommerce div.product .product_title {
    width: min(100%, 14rem);
    max-width: 14rem;
    font-size: 1.22rem;
    line-height: 1.18;
    white-space: normal;
    overflow-wrap: break-word;
  }

  body.single-product {
    overflow-x: hidden;
  }

  body.single-product .pm-wrap {
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
    overflow: hidden;
  }

  body.single-product .site-main,
  body.single-product .woocommerce,
  body.single-product div.product,
  body.single-product div.product div.images,
  body.single-product div.product div.summary,
  body.single-product .woocommerce-product-gallery,
  body.single-product .entry-summary {
    float: none !important;
    clear: both;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body.single-product .woocommerce-product-gallery img,
  body.single-product .flex-control-thumbs img {
    max-width: 100%;
    height: auto;
  }

  body.single-product .woocommerce-product-gallery__wrapper,
  body.single-product .woocommerce-product-gallery__image,
  body.single-product .woocommerce-product-gallery__image a {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  body.single-product .woocommerce-product-gallery__image img.wp-post-image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

  body.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
    display: none !important;
  }

  body.single-product .woocommerce div.product div.images .flex-control-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.single-product .variations select {
    min-width: 0 !important;
  }

  body.single-product .summary,
  body.single-product .summary p,
  body.single-product .pm-product-customization,
  body.single-product .pm-product-customization * {
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
  }

  body.single-product .summary {
    padding-right: 8px;
  }

  body.single-product .summary p,
  body.single-product .pm-product-customization__helper {
    width: min(100%, 18rem);
    max-width: 18rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  body.single-product .pm-product-customization {
    padding: 18px 14px;
    overflow: hidden;
  }

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

  .pm-version-guide {
    grid-template-columns: 1fr;
  }

  .pm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pm-actions .pm-button {
    width: 100%;
  }

  .pm-badge {
    flex-basis: 100%;
    min-width: 0;
    font-size: 0.78rem;
  }

  .pm-brand-story {
    padding: 24px;
  }

  .pm-brand-story h2 {
    font-size: 2rem;
  }
}
