/*
Theme Name: Pibala Cultural Studio
Theme URI: https://pibala.com/
Description: A configurable marketplace child theme for the customized Zibll theme.
Author: Pibala
Version: 1.2.10
Template: zibll
Text Domain: pibala
*/

:root {
  --pb-navy: #28221f;
  --pb-ink: #211d1b;
  --pb-blue: #8f261d;
  --pb-yellow: #ffd814;
  --pb-gold: #a76d00;
  --pb-red: #b42318;
  --pb-paper: #fcfbf8;
  --pb-mist: #f6f0e8;
  --pb-white: #fff;
  --pb-line: #ded8d0;
  --pb-muted: #665f5a;
  --pb-display: Georgia, 'Times New Roman', serif;
  --pb-body: Arial, Helvetica, sans-serif;
  --pb-shadow: 0 14px 34px rgba(35, 47, 62, .14);
}

body.pibala-site { margin: 0; background: var(--pb-paper); color: var(--pb-ink); font: 16px/1.55 var(--pb-body); }
.pibala-site *, .pibala-site *::before, .pibala-site *::after { box-sizing: border-box; }
.pibala-site img { display: block; width: 100%; object-fit: cover; }
.pibala-site a:not(.payvip-icon) { color: inherit; text-decoration: none; }
.pibala-site button, .pibala-site input { font: inherit; }
.pibala-site a:focus-visible, .pibala-site button:focus-visible, .pibala-site input:focus-visible, .pibala-site summary:focus-visible { outline: 3px solid var(--pb-red); outline-offset: 3px; }
.pb-shell { width: min(calc(100% - 48px), 1340px); margin-inline: auto; }
.pb-skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; background: #fff; color: #111; padding: 12px 18px; }
.pb-skip-link:focus { top: 16px; }

.pb-member-strip { background: var(--pb-navy); color: #fff; font-size: 13px; }
.pb-member-strip .pb-shell { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.pb-member-strip strong { color: var(--pb-yellow); }
.pb-member-strip a { font-weight: 700; text-decoration: underline; }
.pb-header { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid var(--pb-line); }
.pb-header__inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.pb-brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.pb-brand img { width: 44px; height: 44px; border: 2px solid var(--pb-yellow); border-radius: 50%; }
.pb-brand strong { font: 700 31px/1 var(--pb-display); color: var(--pb-navy); }
.pb-nav { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: 14px; }
.pb-nav > a, .pb-explore > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.pb-explore { position: relative; }
.pb-explore > summary { list-style: none; }
.pb-explore > summary::-webkit-details-marker { display: none; }
.pb-explore > summary::after { content: '+'; margin-left: 7px; font-weight: 400; }
.pb-explore[open] > summary::after { content: '−'; }
.pb-explore__menu { position: absolute; top: calc(100% + 5px); left: -18px; width: 270px; padding: 12px; background: #fff; border: 1px solid var(--pb-line); box-shadow: var(--pb-shadow); }
.pb-explore__menu a { display: block; padding: 9px 10px; }
.pb-explore__menu a:hover { background: var(--pb-mist); }
.pb-header__actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.pibala-home .pb-native-actions { gap: initial; }
.pb-native-actions .navbar-text { order: 1; }
.pb-native-actions > .navbar-form.flex.ac { order: 2; }
.pb-native-actions .navbar-but { order: 3; }
.pb-native-actions .show-nav-but { display: none !important; }
.pibala-home .pb-native-actions .nav-radius-icon:has(.nav-cart) { display: none !important; }
.pb-native-actions > .pb-mobile-menu { order: 4; }
.pb-gold-action, .pb-google-action, .pb-plain-action, .pb-cart-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--pb-line); font-size: 13px; font-weight: 700; }
.pb-gold-action { background: var(--pb-yellow); border-color: #e2b800; }
.pb-google-action span, .pb-mobile-auth span { color: #4285f4; font: 700 18px Arial; margin-right: 7px; }
.pb-cart-action { width: 44px; padding: 0; }
.pb-cart-action svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pb-mobile-menu, .pb-mobile-auth { display: none; }
.pb-search-row { background: var(--pb-mist); border-top: 1px solid var(--pb-line); }
.pb-search-inner { min-height: 64px; display: grid; grid-template-columns: 250px minmax(0, 720px); align-items: center; gap: 30px; }
.pb-search-inner > span { font-weight: 700; font-size: 14px; }
.pb-search-inner form { height: 44px; display: grid; grid-template-columns: 44px 1fr auto; border: 2px solid var(--pb-navy); background: #fff; }
.pb-search-inner form svg { align-self: center; justify-self: center; width: 18px; fill: none; stroke: var(--pb-muted); stroke-width: 2; }
.pb-search-inner input { min-width: 0; border: 0; padding: 0 6px; color: var(--pb-ink); background: #fff; }
.pb-search-inner button { border: 0; padding: 0 23px; background: var(--pb-navy); color: #fff; font-weight: 700; }

.pb-hero { position: relative; min-height: 590px; overflow: hidden; color: var(--pb-ink); background: #efe4d8; }
.pb-hero__image, .pb-hero__shade { position: absolute; inset: 0; height: 100%; }
.pb-hero__image { object-position: 72% 52%; }
.pb-hero__shade { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 37%, rgba(255,255,255,.52) 53%, rgba(255,255,255,.05) 76%); }
.pb-hero__content { position: relative; z-index: 2; padding-block: 63px 95px; }
.pb-hero__badge { display: inline-flex; min-height: 38px; align-items: center; padding: 0 13px; background: var(--pb-yellow); color: #352600; font-size: 13px; font-weight: 700; }
.pb-hero h1 { max-width: 650px; margin: 22px 0 18px; color: var(--pb-ink); font: 700 clamp(50px, 5.2vw, 76px)/1 var(--pb-display); letter-spacing: 0; }
.pb-hero p { max-width: 610px; margin: 0; color: #4f4843; font-size: 18px; line-height: 1.7; }
.pb-hero__buttons { display: flex; gap: 12px; margin-top: 27px; }
.pb-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; font-size: 14px; font-weight: 700; }
.pb-button--light { background: var(--pb-red); color: #fff !important; }
.pb-button--outline { border: 1px solid var(--pb-ink); color: var(--pb-ink) !important; background: rgba(255,255,255,.74); }
.pb-hero__proof { position: absolute; z-index: 2; right: 5%; bottom: 0; display: flex; align-items: center; gap: 15px; min-width: 260px; padding: 15px 20px; color: var(--pb-navy); background: #fff; border-top: 4px solid var(--pb-red); box-shadow: 0 12px 30px rgba(33,29,27,.16); }
.pb-hero__proof strong { font-size: 20px; }
.pb-hero__proof span { color: var(--pb-muted); font-size: 12px; line-height: 1.35; }

.pb-category-ribbon { position: relative; z-index: 5; margin-top: -30px; }
.pb-category-list { min-height: 92px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 9px; padding: 12px; background: #fff; border: 1px solid var(--pb-line); box-shadow: var(--pb-shadow); }
.pb-category-list a { min-height: 56px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 9px; border: 1px solid rgba(35,47,62,.1); border-radius: 4px; font-size: 13px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.pb-category-list a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(35,47,62,.12); }
.pb-category-list a:nth-child(1) { background: #b42318; color: #fff; border-color: #b42318; }
.pb-category-list a:nth-child(2) { background: #f0dfef; border-color: #d9b9d6; }
.pb-category-list a:nth-child(3) { background: #fff0cf; border-color: #ead292; }
.pb-category-list a:nth-child(4) { background: #e9eff8; border-color: #c9d6e8; }
.pb-category-list a:nth-child(5) { background: #edf4ea; border-color: #cfdfca; }
.pb-category-list a:nth-child(6) { background: #eee8f4; border-color: #d9cae7; }
.pb-category-list a:nth-child(7) { background: #f8e8db; border-color: #e9c9b2; }
.pb-category-list a:nth-child(8) { background: #ece9e5; border-color: #d6d0ca; }

.pb-worlds { padding-block: 80px 88px; }
.pb-worlds__head { display: grid; grid-template-columns: 1fr 430px; gap: 70px; align-items: end; margin-bottom: 28px; }
.pb-worlds h2, .pb-section-head h2, .pb-focus-copy h2, .pb-member-copy h2 { margin: 0; font: 700 clamp(42px, 4.5vw, 64px)/1 var(--pb-display); letter-spacing: 0; color: var(--pb-ink); }
.pb-worlds__head p, .pb-section-head p { margin: 0; color: var(--pb-muted); line-height: 1.7; }
.pb-world-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.pb-world { position: relative; grid-column: span 2; min-height: 290px; overflow: hidden; color: #fff; background: var(--pb-navy); }
.pb-world:first-child, .pb-world:nth-child(2) { grid-column: span 3; min-height: 350px; }
.pb-world img, .pb-world__shade { position: absolute; inset: 0; height: 100%; }
.pb-world img { transition: transform .25s ease; }
.pb-world__shade { background: linear-gradient(180deg, rgba(20,16,13,.02) 28%, rgba(20,16,13,.92) 100%); }
.pb-world__copy { position: absolute; z-index: 2; left: 21px; right: 18px; bottom: 19px; padding-top: 34px; }
.pb-world__copy strong { display: block; color: #fff !important; font: 600 27px/1.08 var(--pb-display); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.pb-world:first-child .pb-world__copy strong { font-size: 36px; }
.pb-world__copy small { display: block; margin-top: 7px; color: #f3f5f7; font-size: 12px; line-height: 1.5; }
.pb-world:hover img { transform: scale(1.035); }

.pb-process { padding: 34px 0 68px; overflow: hidden; }
.pb-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.pb-step { --step-face: #fff0b8; --step-edge: #c79f24; position: relative; isolation: isolate; min-height: 160px; padding: 28px 24px 25px; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.72), transparent 42%), var(--step-face); border: 1px solid rgba(63,45,18,.16); border-radius: 6px; box-shadow: 0 5px 0 var(--step-edge), 0 17px 28px rgba(50,37,25,.16), inset 0 1px 0 rgba(255,255,255,.9); transform: translateY(0) rotateX(0); transform-origin: center bottom; transition: transform .22s ease, box-shadow .22s ease; }
.pb-step::before { position: absolute; z-index: -1; top: 5px; right: 13px; color: var(--step-number, #a66b00); font: 700 72px/1 var(--pb-display); text-shadow: 0 1px 0 rgba(255,255,255,.9), 0 2px 1px rgba(45,30,15,.12); }
.pb-step::after { content: ''; position: absolute; z-index: -1; inset: auto -12% -46% 38%; height: 120px; border-radius: 50%; background: rgba(255,255,255,.34); transform: rotate(-18deg); }
.pb-step:nth-child(1) { --step-face: #ffe9a8; --step-edge: #b98b0b; --step-number: #a66b00; }
.pb-step:nth-child(2) { --step-face: #dceafa; --step-edge: #7899bd; --step-number: #2875b8; }
.pb-step:nth-child(3) { --step-face: #f8ded9; --step-edge: #b96d61; --step-number: #c14e42; }
.pb-step:nth-child(4) { --step-face: #dff0e9; --step-edge: #6f9d8d; --step-number: #23816c; }
.pb-step:nth-child(1)::before { content: '01'; }
.pb-step:nth-child(2)::before { content: '02'; }
.pb-step:nth-child(3)::before { content: '03'; }
.pb-step:nth-child(4)::before { content: '04'; }
.pb-step:hover { transform: translateY(-6px) rotateX(2deg); box-shadow: 0 7px 0 var(--step-edge), 0 24px 34px rgba(50,37,25,.2), inset 0 1px 0 rgba(255,255,255,.95); }
.pb-step strong { position: relative; display: block; max-width: 78%; color: #2a211b; font: 600 24px/1.18 var(--pb-display); }
.pb-step span { position: relative; display: block; max-width: 90%; margin-top: 12px; color: #51463d; font-size: 13px; line-height: 1.55; }

.pb-market { padding-block: 70px 94px; }
.pb-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.pb-section-head p { max-width: 520px; margin-top: 10px; }
.pb-section-head > a { flex: none; color: var(--pb-red); border-bottom: 2px solid currentColor; padding-bottom: 5px; font-size: 13px; font-weight: 700; }
.pb-course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pb-course-card { min-width: 0; background: #fff; border: 1px solid var(--pb-line); transition: transform .18s ease, box-shadow .18s ease; }
.pb-course-card:hover { transform: translateY(-4px); box-shadow: var(--pb-shadow); }
.pb-course-card > a { height: 100%; display: flex; flex-direction: column; }
.pb-course-card img { aspect-ratio: 1.14; }
.pb-course-body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.pb-course-kind { color: var(--pb-blue); font-size: 11px; font-weight: 700; }
.pb-course-card h3 { margin: 5px 0 0; font: 600 22px/1.2 var(--pb-display); color: var(--pb-ink); }
.pb-course-card p { min-height: 43px; margin: 8px 0 0; color: var(--pb-muted); font-size: 12px; line-height: 1.5; }
.pb-course-price { margin-top: 13px; }
.pb-course-price .item-price { display: flex; align-items: baseline; gap: 8px; }
.pb-course-price .show-price-box { color: var(--pb-ink) !important; font-size: 18px; }
.pb-course-button { min-height: 44px; display: flex; align-items: center; justify-content: center; margin-top: auto; padding: 10px 12px; background: var(--pb-navy); color: #fff; font-size: 13px; font-weight: 700; }

.pb-craft-focus { background: var(--pb-mist); padding: 74px 0; }
.pb-focus-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 270px 270px; gap: 16px; }
.pb-focus-copy { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; padding: 48px; background: var(--pb-red); color: #fff; }
.pb-focus-copy h2 { color: #fff; }
.pb-focus-copy p { max-width: 430px; margin: 18px 0 0; line-height: 1.7; }
.pb-focus-copy a { align-self: flex-start; margin-top: 25px; padding: 14px 18px; background: var(--pb-yellow); color: #382600; font-weight: 700; }
.pb-focus-tile { position: relative; overflow: hidden; background: #fff; }
.pb-focus-tile img { height: 100%; }
.pb-focus-tile::after { content: ''; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(20,24,30,.9)); }
.pb-focus-tile > span { position: absolute; z-index: 2; left: 20px; right: 15px; bottom: 17px; color: #fff; }
.pb-focus-tile strong { display: block; color: #fff !important; font: 600 25px/1.1 var(--pb-display); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.pb-focus-tile small { display: block; margin-top: 4px; font-size: 12px; }
.pb-focus-tile--knotting { grid-row: span 2; }

.pb-membership { padding: 76px 0; }
.pb-member-card { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 350px; overflow: hidden; background: #fff; border: 1px solid #e5ba00; box-shadow: 0 16px 38px rgba(35,47,62,.1); }
.pb-member-copy { padding: 52px 60px; }
.pb-member-label { display: inline-flex; padding: 7px 10px; background: var(--pb-navy); color: #fff; font-size: 13px; font-weight: 700; }
.pb-member-copy h2 { margin-top: 15px; }
.pb-member-copy p, .pb-member-panel p { color: var(--pb-muted); }
.pb-benefits { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 20px; font-size: 13px; }
.pb-benefits span::before { content: '✓'; color: var(--pb-gold); font-weight: 800; margin-right: 7px; }
.pb-member-button { display: inline-flex; margin-top: 25px; padding: 14px 20px; background: var(--pb-yellow); border: 1px solid #d5a900; color: var(--pb-ink); font-weight: 800; }
.pb-member-panel { display: flex; flex-direction: column; justify-content: center; padding: 38px; background: #fff6d6; border-left: 1px solid #ead58b; }
.pb-member-panel > strong { font: 700 30px/1.1 var(--pb-display); color: var(--pb-navy); }
.pb-member-value { margin-top: 18px; color: var(--pb-navy); font-size: 64px; line-height: 1; font-weight: 800; }
.pb-member-panel p { font-size: 13px; }
.pb-member-panel > a { align-self: flex-start; margin-top: 18px; color: var(--pb-blue); border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }

.pb-footer { padding: 56px 0 25px; background: #eef1f4; border-top: 1px solid var(--pb-line); }
.pb-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 50px; }
.pb-footer .pb-brand img { width: 44px; height: 44px; }
.pb-footer p { max-width: 320px; margin-top: 13px; color: var(--pb-muted); font-size: 14px; }
.pb-footer__grid > div > strong { display: block; margin-bottom: 12px; }
.pb-footer__grid > div > a:not(.pb-brand) { display: block; padding: 4px 0; color: var(--pb-muted); font-size: 14px; }
.pb-footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--pb-line); color: var(--pb-muted); font-size: 12px; }

.pb-discipline, .pb-journal { min-height: 65vh; padding-block: 70px 90px; }
.pb-discipline__top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pb-discipline__top img { aspect-ratio: 1.35; }
.pb-discipline h1, .pb-journal h1 { font: 700 clamp(42px, 5vw, 64px)/1.05 var(--pb-display); }
.pb-discipline p, .pb-journal__intro { color: var(--pb-muted); }
.pb-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pb-product { background: #fff; border: 1px solid var(--pb-line); }
.pb-product__body { padding: 22px; }
.pb-empty, .pb-course-empty { padding: 36px; background: #fff; border: 1px solid var(--pb-line); }

@media (max-width: 1100px) {
  .pb-nav { display: none; }
  .pb-mobile-menu { display: block; position: relative; }
  .pb-mobile-menu summary { width: 44px; height: 44px; display: grid; place-items: center; list-style: none; border: 1px solid var(--pb-line); cursor: pointer; }
  .pb-mobile-menu summary::-webkit-details-marker { display: none; }
  .pb-mobile-menu summary span, .pb-mobile-menu summary span::before, .pb-mobile-menu summary span::after { position: relative; display: block; width: 19px; height: 2px; background: var(--pb-ink); content: ''; }
  .pb-mobile-menu summary span::before { position: absolute; top: -6px; }
  .pb-mobile-menu summary span::after { position: absolute; top: 6px; }
  .pb-mobile-menu nav { position: absolute; top: 50px; right: 0; width: 250px; padding: 12px; background: #fff; border: 1px solid var(--pb-line); box-shadow: var(--pb-shadow); }
  .pb-mobile-menu nav a { display: block; padding: 10px; }
  .pb-world-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-world, .pb-world:first-child, .pb-world:nth-child(2) { grid-column: span 1; min-height: 280px; }
  .pb-course-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-focus-grid { grid-template-columns: 1fr 1fr; }
  .pb-focus-copy { grid-column: span 2; grid-row: auto; }
  .pb-focus-tile--knotting { grid-row: auto; }
  .pb-focus-tile--paper { grid-column: span 2; }
  .pb-member-card { grid-template-columns: 1fr; }
  .pb-member-panel { border-left: 0; border-top: 1px solid #ead58b; }
}

@media (max-width: 720px) {
  .pb-shell { width: calc(100% - 30px); }
  .pb-member-strip .pb-shell { min-height: 38px; gap: 8px; text-align: center; font-size: 11px; }
  .pb-member-strip strong { display: none; }
  .pb-header__inner { min-height: 68px; gap: 8px; }
  .pb-brand img { width: 39px; height: 39px; }
  .pb-brand strong { font-size: 27px; }
  .pb-header__actions > .pb-gold-action, .pb-header__actions > .pb-google-action, .pb-header__actions > .pb-plain-action, .pb-cart-action { display: none; }
  .pb-search-inner { min-height: 58px; display: block; padding-block: 8px; }
  .pb-search-inner > span { display: none; }
  .pb-search-inner form { width: 100%; height: 42px; }
  .pb-mobile-auth { display: grid; grid-template-columns: 1fr 1.25fr 1.2fr; background: #fff; border-bottom: 1px solid var(--pb-line); }
  .pb-mobile-auth a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px; border-right: 1px solid var(--pb-line); text-align: center; font-size: 12px; font-weight: 700; }
  .pb-mobile-auth a:last-child { border-right: 0; background: var(--pb-yellow); }
  .pb-hero { min-height: 570px; }
  .pb-hero__image { object-position: 66% 36%; }
  .pb-hero__shade { background: linear-gradient(0deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 52%, rgba(255,255,255,.18) 82%); }
  .pb-hero__content { padding-block: 205px 52px; }
  .pb-hero h1 { max-width: 350px; font-size: clamp(42px, 12vw, 52px); }
  .pb-hero p { max-width: 350px; color: #4f4843; font-size: 15px; }
  .pb-hero__proof { display: none; }
  .pb-hero__buttons { gap: 8px; }
  .pb-button { padding: 0 14px; font-size: 12px; }
  .pb-category-ribbon { margin-top: -18px; overflow: hidden; }
  .pb-category-list { display: flex; min-height: 74px; overflow: auto; padding: 9px; gap: 7px; }
  .pb-category-list a { min-width: 132px; min-height: 52px; flex: none; }
  .pb-worlds { padding-block: 56px; }
  .pb-worlds__head { display: block; }
  .pb-worlds__head p { margin-top: 14px; }
  .pb-world-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pb-world, .pb-world:first-child { grid-column: auto; min-height: 225px; }
  .pb-world:first-child, .pb-world:last-child { grid-column: span 2; }
  .pb-world:first-child { min-height: 285px; }
  .pb-world__copy strong, .pb-world:first-child .pb-world__copy strong { font-size: 21px; }
  .pb-world:first-child .pb-world__copy strong { font-size: 28px; }
  .pb-world__copy small { display: none; }
  .pb-process { padding: 18px 0 48px; }
  .pb-process__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pb-step { min-height: 168px; padding: 23px 18px 21px; }
  .pb-step::before { top: 8px; right: 9px; font-size: 55px; }
  .pb-step strong { font-size: 21px; }
  .pb-market { padding-block: 55px 70px; }
  .pb-section-head { display: block; }
  .pb-section-head > a { display: inline-block; margin-top: 20px; }
  .pb-course-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pb-course-body { padding: 11px; }
  .pb-course-card h3 { font-size: 18px; }
  .pb-course-card p { min-height: 0; }
  .pb-course-button { margin-top: 13px; }
  .pb-craft-focus { padding: 56px 0; }
  .pb-focus-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto 210px 210px; gap: 10px; }
  .pb-focus-copy { grid-column: span 2; padding: 33px 25px; }
  .pb-focus-copy h2 { font-size: 43px; }
  .pb-focus-tile--knotting { grid-row: span 2; }
  .pb-focus-tile--paper { grid-column: auto; }
  .pb-focus-tile strong { font-size: 19px; }
  .pb-membership { padding: 55px 0; }
  .pb-member-copy, .pb-member-panel { padding: 36px 25px; }
  .pb-member-copy h2 { font-size: 43px; }
  .pb-member-value { font-size: 58px; }
  .pb-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pb-footer__grid > div:first-child { grid-column: span 2; }
  .pb-discipline__top, .pb-products { display: block; }
  .pb-product { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pb-world img, .pb-course-card, .pb-category-list a { transition: none; }
}


@media (max-width: 720px) {
  .pb-native-actions .navbar-but, .pb-native-actions .navbar-form.flex.ac { display: none !important; }
}


/* Shop taxonomy directory */
.pb-shop-directory { margin-bottom: 22px; padding: 20px; background: #fff; border: 1px solid var(--pb-line); border-radius: 5px; box-shadow: 0 8px 24px rgba(35,47,62,.06); }
.pb-shop-directory__intro { display: flex; align-items: center; gap: 18px; min-width: 0; }
.pb-shop-directory__intro > img { width: 86px; height: 86px; flex: none; border-radius: 4px; object-fit: cover; }
.pb-shop-directory__intro > div { min-width: 0; }
.pb-shop-kicker { margin: 0 0 4px; color: var(--pb-blue); font-size: 12px; font-weight: 700; }
.pb-shop-directory__intro h1 { margin: 0; color: var(--pb-ink); font: 700 30px/1.15 var(--pb-display); }
.pb-shop-directory__intro > div > p:last-child { margin: 6px 0 0; color: var(--pb-muted); font-size: 14px; line-height: 1.5; }
.pb-shop-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 18px; }
.pb-shop-categories a { min-height: 42px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--pb-line); border-radius: 3px; text-align: center; font-size: 13px; line-height: 1.3; }
.pb-shop-categories a:hover, .pb-shop-categories a.is-active { border-color: #df315b; color: #df315b; background: #fff5f7; }
.pb-shop-categories a.is-active { font-weight: 700; }
.pb-shop-subcategories { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pb-line); }
.pb-shop-subcategories a { min-height: 36px; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 3px; background: var(--pb-mist); color: var(--pb-ink); font-size: 12px; }
.pb-shop-subcategories a:hover { color: #df315b; }
.pb-shop-sort { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--pb-line); }
.pb-shop-sort .shop-orderby { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.pb-shop-sort a, .pb-shop-sort span { font-size: 12px; }
.pb-shop-empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; text-align: center; }
.pb-shop-empty strong { color: var(--pb-ink); font: 600 23px/1.2 var(--pb-display); }
.pb-shop-empty span { color: var(--pb-muted); font-size: 14px; }

@media (max-width: 720px) {
  .pb-shop-directory { padding: 14px; }
  .pb-shop-directory__intro { align-items: flex-start; gap: 12px; }
  .pb-shop-directory__intro > img { width: 68px; height: 68px; }
  .pb-shop-directory__intro h1 { font-size: 24px; }
  .pb-shop-directory__intro > div > p:last-child { font-size: 12px; }
  .pb-shop-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .pb-shop-categories a { min-width: 0; min-height: 44px; padding-inline: 7px; font-size: 12px; overflow-wrap: anywhere; }
  .pb-shop-sort { align-items: flex-start; gap: 8px; }
  .pb-shop-sort .shop-orderby { gap: 8px 12px; }
  .pb-shop-empty { min-height: 180px; }
}

/* Keep vivid sequence numbers separate from course instructions. */
.pb-step { padding-top: 78px; }
.pb-step::before { top: 12px; font-size: 54px; }
.pb-step strong { max-width: 100%; }
@media (max-width: 720px) { .pb-step { padding-top: 72px; } .pb-step::before { top: 10px; font-size: 50px; } }
