:root {
  --qf-paper: #fbf6ef;
  --qf-paper-strong: #f6eee4;
  --qf-paper-deep: #ece2d6;
  --qf-ink: #3f3028;
  --qf-ink-soft: #6d5c53;
  --qf-border: rgba(122, 101, 85, 0.14);
  --qf-clay: #a36142;
  --qf-clay-deep: #8d5035;
  --qf-rose: #b78477;
  --qf-sage: #8f9d86;
  --qf-amber: #d1ad76;
  --qf-shadow: 0 28px 70px rgba(106, 79, 63, 0.08);
  --qf-radius-xl: 30px;
  --qf-radius-lg: 24px;
  --qf-radius-md: 18px;
  --qf-max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--qf-ink);
  background:
    radial-gradient(circle at top left, rgba(220, 191, 174, 0.78), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(183, 132, 119, 0.18), transparent 20%),
    radial-gradient(circle at 52% 100%, rgba(143, 157, 134, 0.16), transparent 26%),
    linear-gradient(180deg, #f8f2eb 0%, #ece5dd 52%, #e5dbd1 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.58), transparent 18%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.46), transparent 16%),
    repeating-linear-gradient(
      0deg,
      rgba(122, 101, 85, 0.025) 0,
      rgba(122, 101, 85, 0.025) 1px,
      transparent 1px,
      transparent 30px
    );
  opacity: 0.55;
  z-index: -1;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--qf-ink);
}

p {
  margin: 0;
}

.qf-site-shell {
  min-height: 100vh;
}

.qf-site-main {
  max-width: var(--qf-max);
  margin: 0 auto;
  padding: 112px 18px 80px;
}

.qf-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(248, 242, 235, 0.72);
  border-bottom: 1px solid rgba(122, 101, 85, 0.1);
  box-shadow: 0 12px 36px rgba(91, 69, 54, 0.06);
}

.qf-header-inner,
.qf-footer-inner,
.qf-footer-meta {
  max-width: var(--qf-max);
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.qf-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.qf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.qf-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, var(--qf-clay) 0%, var(--qf-rose) 55%, var(--qf-sage) 100%);
  box-shadow: 0 12px 24px rgba(163, 97, 66, 0.2);
}

.qf-brand-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.qf-brand-text span {
  color: var(--qf-clay);
}

.qf-desktop-nav,
.qf-desktop-actions {
  display: none;
}

.qf-nav-list,
.qf-footer-links,
.qf-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qf-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qf-nav-list a,
.qf-mobile-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--qf-ink-soft);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.qf-nav-list .current-menu-item > a,
.qf-nav-list a:hover,
.qf-mobile-list a:hover,
.qf-footer-links a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--qf-clay);
}

.qf-header-actions {
  align-items: center;
  gap: 12px;
}

.qf-button,
.qf-link-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.qf-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--qf-clay);
  color: #fffaf6;
  box-shadow: 0 18px 36px rgba(163, 97, 66, 0.16);
}

.qf-link-button {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(122, 101, 85, 0.12);
  color: var(--qf-ink);
}

.qf-button:hover,
.qf-link-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-1px);
}

.qf-button-small {
  min-height: 42px;
  padding: 0 18px;
}

.qf-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(122, 101, 85, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.qf-nav-toggle span:not(.screen-reader-text) {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--qf-ink);
}

.qf-mobile-panel {
  margin: 0 18px 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.92);
  border: 1px solid rgba(122, 101, 85, 0.12);
  box-shadow: 0 18px 32px rgba(91, 69, 54, 0.08);
}

.qf-mobile-list {
  display: grid;
  gap: 8px;
}

.qf-mobile-list a {
  justify-content: flex-start;
  min-height: 48px;
  border-radius: 18px;
}

.qf-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.qf-hero,
.qf-page-hero {
  padding: 22px 0 10px;
}

.qf-hero-grid,
.qf-card-grid,
.qf-stat-grid,
.qf-product-grid,
.qf-post-grid {
  display: grid;
  gap: 18px;
}

.qf-hero-grid {
  align-items: stretch;
}

.qf-kicker,
.qf-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--qf-clay);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.qf-hero h1,
.qf-page-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 8vw, 4.9rem);
  max-width: 12ch;
}

.qf-page-hero h1 {
  max-width: 14ch;
}

.qf-lead {
  max-width: 740px;
  margin-top: 18px;
  color: var(--qf-ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.qf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.qf-studio-card,
.qf-card,
.woocommerce div.product .qf-product-summary,
.qf-cta,
.qf-rich-copy,
.qf-faq-card,
.qf-raw-content .qf-page .qf-shell {
  background: rgba(255, 251, 246, 0.78);
  border: 1px solid var(--qf-border);
  border-radius: var(--qf-radius-xl);
  box-shadow: var(--qf-shadow);
}

.qf-studio-card,
.qf-card,
.qf-cta,
.qf-rich-copy {
  padding: 24px;
}

.qf-studio-card h2,
.qf-section-heading h2,
.qf-cta h2,
.qf-card h2,
.qf-card h3,
.qf-rich-copy h2,
.qf-rich-copy h3 {
  margin-top: 10px;
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
}

.qf-section {
  margin-top: 28px;
}

.qf-section-last {
  margin-bottom: 24px;
}

.qf-section-heading {
  margin-bottom: 18px;
}

.qf-section-heading-center {
  text-align: center;
}

.qf-section-heading-center .qf-kicker {
  justify-content: center;
}

.qf-section-intro {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--qf-ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.qf-section-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.qf-gradient-text {
  margin-left: 0.18em;
  margin-right: 0.18em;
  background: linear-gradient(135deg, #8d5035 0%, #a36142 30%, #c2886a 72%, #8f9d86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qf-note-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(246, 238, 228, 0.92);
  color: var(--qf-ink-soft);
}

.qf-palette {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.qf-swatch {
  width: 100%;
  min-width: 46px;
  height: 52px;
  border-radius: 18px;
}

.qf-swatch-clay { background: #d8b9a4; }
.qf-swatch-terracotta { background: #c2886a; }
.qf-swatch-paper { background: #e7d7c8; }
.qf-swatch-sage { background: #8f9d86; }

.qf-mini-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--qf-ink-soft);
}

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

.qf-feature-grid {
  display: grid;
  gap: 18px;
}

.qf-stat-card h3 {
  font-size: clamp(1.6rem, 4vw, 2.7rem);
}

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

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

.qf-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qf-feature-card {
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.qf-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(163, 97, 66, 0.18);
  box-shadow: 0 20px 34px rgba(91, 69, 54, 0.09);
}

.qf-feature-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.qf-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: rgba(163, 97, 66, 0.1);
  color: var(--qf-clay);
}

.qf-icon-svg {
  width: 28px;
  height: 28px;
}

.qf-card p,
.qf-product-copy,
.qf-rich-copy,
.qf-faq-card p,
.qf-quote {
  color: var(--qf-ink-soft);
}

.qf-product-card .price,
.qf-product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--qf-ink);
}

.qf-product-price del,
.qf-product-card del {
  opacity: 0.55;
  margin-right: 6px;
}

.qf-inline-link {
  color: var(--qf-clay);
  text-decoration: none;
  font-weight: 700;
}

.qf-inline-link:hover {
  color: var(--qf-clay-deep);
}

.qf-product-card {
  padding: 0;
  overflow: hidden;
  gap: 0;
  background: rgba(255, 251, 246, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(122, 101, 85, 0.09);
  box-shadow:
    0 18px 40px rgba(91, 69, 54, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.qf-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(163, 97, 66, 0.16);
  box-shadow:
    0 24px 42px rgba(91, 69, 54, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.qf-product-visual {
  position: relative;
  min-height: 192px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qf-product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.4), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.qf-product-gradient--journaling-art { background: linear-gradient(135deg, #ead8ca 0%, #d3b099 100%); }
.qf-product-gradient--handmade-paper { background: linear-gradient(135deg, #dfe5d6 0%, #e6d7c2 100%); }
.qf-product-gradient--collage-storytelling { background: linear-gradient(135deg, #e6ccc3 0%, #d8b9a4 100%); }
.qf-product-gradient--visual-diary { background: linear-gradient(135deg, #dce3da 0%, #e2c8bf 100%); }
.qf-product-gradient--paper-sculpture { background: linear-gradient(135deg, #ddc1b8 0%, #d8c49a 100%); }
.qf-product-gradient--memory-keeping { background: linear-gradient(135deg, #eadfcb 0%, #d8c0b4 100%); }
.qf-product-gradient--creative-ritual { background: linear-gradient(135deg, #e7d5c8 0%, #dfc1b5 100%); }
.qf-product-gradient--aesthetic-documentation { background: linear-gradient(135deg, #dfe5d6 0%, #d8c2a9 100%); }

.qf-product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  z-index: 1;
}

.qf-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.qf-badge--soft {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.78);
  color: var(--qf-ink);
}

.qf-badge--difficulty {
  border: 1px solid transparent;
}

.qf-badge--beginner {
  border-color: rgba(143, 157, 134, 0.3);
  background: rgba(143, 157, 134, 0.12);
  color: #6c7865;
}

.qf-badge--intermediate {
  border-color: rgba(209, 173, 118, 0.32);
  background: rgba(209, 173, 118, 0.14);
  color: #9a7a46;
}

.qf-badge--advanced {
  border-color: rgba(183, 132, 119, 0.32);
  background: rgba(183, 132, 119, 0.14);
  color: #8b6157;
}

.qf-product-featured-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(163, 97, 66, 0.12);
  color: var(--qf-clay);
  font-size: 0.72rem;
  font-weight: 700;
}

.qf-product-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.32);
  color: rgba(63, 48, 40, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.qf-product-icon .qf-icon-svg {
  width: 34px;
  height: 34px;
}

.qf-product-body {
  padding: 18px 18px 0;
}

.qf-product-title {
  margin-top: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.qf-product-title a {
  text-decoration: none;
}

.qf-product-copy {
  margin-top: 10px;
}

.qf-product-copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.qf-product-instructor,
.qf-product-stats,
.qf-product-meta-row,
.qf-product-footer {
  display: flex;
  align-items: center;
}

.qf-product-instructor {
  gap: 10px;
  margin-top: 14px;
  color: var(--qf-ink-soft);
  font-size: 0.85rem;
}

.qf-product-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8b9a4, #dfe5d6);
  color: var(--qf-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.qf-product-stats {
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--qf-ink-soft);
  font-size: 0.82rem;
}

.qf-product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qf-stars {
  color: var(--qf-amber);
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.qf-product-rating-value {
  color: #9a7a46;
  font-weight: 700;
}

.qf-product-reviews {
  color: var(--qf-ink-soft);
}

.qf-product-students {
  white-space: nowrap;
}

.qf-product-meta-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--qf-ink-soft);
  font-size: 0.82rem;
}

.qf-product-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qf-product-meta-row span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(122, 101, 85, 0.35);
}

.qf-product-footer {
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(122, 101, 85, 0.08);
}

.qf-product-footer .qf-inline-link {
  white-space: nowrap;
}

.qf-product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.qf-product-actions .button,
.qf-product-actions .added_to_cart {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
}

.qf-product-actions .added_to_cart {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(122, 101, 85, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--qf-ink);
}

.qf-product-card--shop .qf-product-footer {
  align-items: flex-end;
}

.qf-quote-card {
  justify-content: space-between;
}

.qf-quote-meta,
.qf-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.9rem;
  color: var(--qf-ink-soft);
}

.qf-faq-list {
  display: grid;
  gap: 14px;
}

.qf-faq-card {
  padding: 18px 20px;
}

.qf-faq-card summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.qf-faq-card summary::-webkit-details-marker {
  display: none;
}

.qf-faq-card p {
  margin-top: 12px;
}

.qf-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qf-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--qf-border);
  color: var(--qf-ink-soft);
  text-decoration: none;
}

.qf-rich-copy,
.qf-raw-content {
  padding: 0;
}

.qf-rich-copy {
  padding: 28px 24px;
}

.qf-rich-copy > * + *,
.qf-rich-copy p + p,
.qf-rich-copy h2 + p,
.qf-rich-copy h3 + p,
.qf-rich-copy ul + p,
.qf-rich-copy p + ul {
  margin-top: 16px;
}

.qf-rich-copy ul {
  padding-left: 18px;
}

.qf-raw-content .qf-page {
  max-width: none;
  margin: 0;
}

.qf-site-footer {
  margin-top: 24px;
  border-top: 1px solid rgba(122, 101, 85, 0.1);
  background: rgba(248, 242, 235, 0.6);
}

.qf-footer-inner {
  display: grid;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 24px;
}

.qf-footer-nav-grid {
  display: grid;
  gap: 20px;
}

.qf-footer-inner h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.qf-footer-brand p,
.qf-footer-contact p,
.qf-footer-links a,
.qf-footer-meta p {
  color: var(--qf-ink-soft);
  text-decoration: none;
}

.qf-footer-links {
  display: grid;
  gap: 8px;
}

.qf-footer-meta {
  padding-top: 0;
  padding-bottom: 28px;
}

.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  max-width: var(--qf-max);
  margin: 0 auto 18px;
  border-radius: 20px;
  border: 1px solid var(--qf-border);
  background: rgba(255, 251, 246, 0.9);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 18px 20px;
}

.woocommerce-page .entry-header,
.woocommerce-page .entry-title,
.woocommerce .page-title,
.woocommerce-products-header,
.woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce-ordering {
  display: none;
}

.woocommerce div.product {
  display: grid;
  gap: 18px;
  align-items: start;
}

.qf-product-shell {
  display: grid;
  gap: 18px;
}

.qf-product-summary {
  padding: 24px;
}

.qf-product-summary .price {
  display: block;
  margin-top: 14px;
  font-size: 1.35rem;
}

.qf-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.qf-product-meta-list,
.qf-product-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--qf-ink-soft);
  font-size: 0.95rem;
}

.qf-product-description {
  padding: 28px 24px;
  background: rgba(255, 251, 246, 0.78);
  border: 1px solid var(--qf-border);
  border-radius: var(--qf-radius-xl);
  box-shadow: var(--qf-shadow);
}

.qf-product-description > * + *,
.qf-product-description p + p,
.qf-product-description h3 + ul,
.qf-product-description ul + h3 {
  margin-top: 16px;
}

.qf-product-description ul {
  padding-left: 18px;
}

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

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100%;
  margin: 0;
}

.woocommerce form.cart .quantity {
  margin-right: 10px;
}

.woocommerce input.qty {
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid var(--qf-border);
  background: rgba(255, 255, 255, 0.88);
}

.woocommerce table.shop_table,
.woocommerce-checkout-review-order-table {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--qf-border);
  background: rgba(255, 251, 246, 0.88);
}

.woocommerce .cart_totals,
.woocommerce .col2-set,
.woocommerce-checkout-review-order,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.84);
  border: 1px solid var(--qf-border);
  box-shadow: 0 16px 32px rgba(91, 69, 54, 0.06);
}

.woocommerce-account .woocommerce {
  display: grid;
  gap: 18px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--qf-border);
  background: rgba(255, 255, 255, 0.92);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px;
  padding-left: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

@media (min-width: 768px) {
  .qf-site-main {
    padding-left: 22px;
    padding-right: 22px;
  }

  .qf-header-inner,
  .qf-footer-inner,
  .qf-footer-meta {
    padding-left: 22px;
    padding-right: 22px;
  }

  .qf-desktop-nav,
  .qf-desktop-actions {
    display: flex;
  }

  .qf-nav-toggle,
  .qf-mobile-panel {
    display: none;
  }

  .qf-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
  }

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

  .qf-grid-3,
  .qf-feature-grid,
  .qf-product-grid,
  .qf-post-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qf-footer-inner {
    grid-template-columns: 1.1fr 0.8fr 0.8fr;
    align-items: start;
  }

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

  .qf-product-shell,
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  }

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

@media (min-width: 1040px) {
  .qf-grid-3,
  .qf-feature-grid,
  .qf-product-grid,
  .qf-post-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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