/* Singh Studio Shop — shared palette and type with the original plugin store. */
@font-face { font-family: Switzer; src: url('/plugins/assets/fonts/switzer-variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Fragment; src: url('/plugins/assets/fonts/fragment-mono.woff2') format('woff2'); font-display: swap; }
:root {
  --ink: #0c0b09; --surface: #14120f; --bone: #ece7dd; --copy: #d8d2c6; --muted: #aaa298;
  --line: rgba(236,231,221,.16); --red: #e23b22; --button-red: #c9321d; --mono: Fragment, monospace;
  --pad: clamp(24px,4.5vw,72px); color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--copy); font: 400 17px/1.6 Switzer,Arial,sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { color: var(--bone); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { max-width: 1480px; padding-inline: var(--pad); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--bone); color: var(--ink); }
.skip:focus { top: 12px; }
.eyebrow { color: var(--muted); font: 400 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { color: #fa6047; }

/* One header row; mobile navigation opens only when needed. */
.shop-header { position: sticky; top: 0; z-index: 20; background: rgba(12,11,9,.96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 80px; }
.brand { display: inline-flex; align-items: baseline; gap: 2px; color: var(--bone); font-size: 18px; font-weight: 640; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand-dot { color: var(--red); }
.brand-slash { color: var(--muted); margin-inline: 1px; }
.shop-word { color: var(--muted); font: 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: 15px; text-decoration: none; }
.desktop-nav a span { color: var(--muted); font: 10px var(--mono); }
.desktop-nav a:hover { color: var(--bone); text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 50px; padding: 13px 24px; border: 0; border-radius: 999px; background: var(--button-red); color: #fff; font-size: 15px; line-height: 1.4; font-weight: 600; text-decoration: none; text-align: center; transition: background .2s; }
.button:hover { background: #a92918; }
.header-bundle { min-height: 44px; padding: 10px 20px; margin-left: 12px; font-size: 14px; }
.mobile-menu { display: none; }

/* Catalogue spacing stays generous without oversized controls. */
.catalogue-intro { display: grid; grid-template-columns: 1fr minmax(300px,440px); align-items: end; gap: 36px 64px; padding-top: clamp(56px,6vw,88px); padding-bottom: clamp(48px,5vw,72px); }
.catalogue-intro h1 { font-size: clamp(68px,7vw,106px); font-weight: 600; letter-spacing: -.045em; line-height: .95; margin-top: 20px; }
.intro-copy { font-size: 18px; line-height: 1.6; }
.intro-note { display: block; margin-top: 20px; font-size: 13px; color: var(--muted); }
.catalogue-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 36px; }
.categories { display: flex; flex-wrap: wrap; gap: 8px; }
.categories button { min-height: 46px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.categories button span { color: var(--muted); font: 10px var(--mono); margin-left: 10px; }
.categories button:hover { border-color: var(--muted); }
.categories button[aria-pressed=true] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.categories button[aria-pressed=true] span { color: #625c53; }
.search { position: relative; flex: 0 1 290px; min-width: 200px; }
.search input { width: 100%; min-height: 48px; padding: 12px 46px 12px 19px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 16px; line-height: 1.4; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search svg { position: absolute; right: 17px; top: 14px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.catalogue-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 26px 0; color: var(--muted); font-size: 13px; }
.catalogue-sub label { display: flex; align-items: center; gap: 8px; }
.catalogue-sub select { max-width: 180px; min-height: 44px; padding: 8px; background: var(--ink); color: var(--copy); border: 0; font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 30px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.product-image { display: block; aspect-ratio: 4/3; overflow: hidden; background: #e2dcd0; border-bottom: 1px solid var(--line); }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.product-image.plugins { background: #1d1a16; }
.product-image.plugins img { object-fit: cover; object-position: top center; }
@media(hover:hover) { .product-image:hover img { transform: scale(1.025); } }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-meta>span:first-child { color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.card-meta>span:last-child { flex-shrink: 0; color: var(--bone); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.product-card h2 { font-size: clamp(23px,1.8vw,27px); font-weight: 570; line-height: 1.2; letter-spacing: -.025em; margin-top: 14px; }
.product-card h2 a { text-decoration: none; }
.product-card h2 a:hover { text-decoration: underline; }
.card-body>p { margin-top: 14px; font-size: 16px; line-height: 1.6; }
.card-bottom { margin-top: auto; padding-top: 28px; }
.card-bottom>p { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.card-actions .button { flex: 1; padding-inline: 18px; }
.demo-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 6px; font-size: 14px; white-space: nowrap; }
.empty-state { padding: 90px 0; text-align: center; }
.empty-state h2 { font-size: 30px; font-weight: 550; }
.empty-state p { margin: 16px 0 24px; color: var(--muted); }
.empty-state button { min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--bone); color: var(--ink); }

.bundle-feature { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px 80px; margin-top: 72px; padding: clamp(32px,5vw,64px); background: var(--button-red); color: #fff; border-radius: 24px; }
.bundle-feature .eyebrow { color: #fff; }
.bundle-feature h2 { color: #fff; font-size: clamp(38px,4vw,62px); font-weight: 570; letter-spacing: -.04em; line-height: 1; margin: 20px 0; }
.bundle-feature>div>p:not(.eyebrow) { max-width: 36em; font-size: 17px; line-height: 1.6; }
.button.light { background: var(--bone); color: var(--ink); margin-top: 28px; }
.button.light:hover { background: #fff; }
.bundle-price { padding-left: clamp(32px,5vw,64px); border-left: 1px solid rgba(255,255,255,.4); }
.bundle-price>span { display: block; font: 12px var(--mono); text-transform: uppercase; }
.bundle-price strong { display: block; font-size: clamp(54px,5vw,76px); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; margin-top: 12px; }
.bundle-price small { display: block; margin: 12px 0 24px; font-size: 14px; }
.tax-note { max-width: 78ch; margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.shopping-info { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; padding-block: 96px 112px; }
.shopping-info>div { border-top: 1px solid var(--line); padding-top: 24px; }
.shopping-info span { color: var(--red); font: 12px var(--mono); }
.shopping-info h2 { font-size: 24px; font-weight: 550; line-height: 1.2; letter-spacing: -.02em; margin: 22px 0 16px; }
.shopping-info p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.shop-footer { padding: 64px 0 28px; border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; gap: 32px 64px; align-items: flex-start; padding-bottom: 64px; }
.footer-title { color: var(--bone); font-size: clamp(28px,3vw,42px); font-weight: 550; letter-spacing: -.04em; text-decoration: none; }
.footer-title span { color: var(--muted); font-weight: 400; }
.footer-main>div { font-size: 15px; }
.footer-main>div p { color: var(--muted); margin-bottom: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 12px; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }

/* Product preview and purchase details have their own space. */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; padding-block: 32px 48px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { text-decoration: none; }
.product-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); grid-template-areas: 'gallery intro' 'gallery purchase' 'gallery details'; align-items: start; gap: 32px clamp(40px,5vw,80px); }
.product-intro { grid-area: intro; }
.product-intro h1 { margin: 20px 0 24px; font-size: clamp(38px,3.9vw,58px); font-weight: 570; line-height: 1.02; letter-spacing: -.04em; overflow-wrap: break-word; }
.product-description { max-width: 38em; color: var(--copy); font-size: 18px; line-height: 1.6; }
.product-gallery { grid-area: gallery; position: sticky; top: 112px; min-width: 0; }
.main-preview { display: block; overflow: hidden; border-radius: 22px; background: #e2dcd0; }
.main-preview img { width: 100%; height: auto; }
.preview-thumbnails { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.detail-preview-link { display: block; overflow: hidden; border-radius: 10px; background: #e2dcd0; }
.detail-preview { width: 100%; height: auto; }
.preview-note { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.purchase { grid-area: purchase; padding: clamp(24px,2.5vw,36px); border-radius: 22px; background: var(--bone); color: var(--ink); color-scheme: light; }
.purchase-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.purchase-price span { font-size: 13px; font-weight: 400; letter-spacing: 0; color: #625c53; }
.licence-name { margin: 12px 0 24px; font-size: 16px; }
.buy-button { width: 100%; min-height: 54px; font-size: 16px; }
.purchase-small { margin-top: 18px; font-size: 13px; line-height: 1.7; color: #625c53; }
.specs { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(12,11,9,.16); font-size: 14px; line-height: 1.6; }
.specs>div { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 12px; padding-block: 6px; }
.specs dt { color: #625c53; }
.specs dd { margin: 0; }
.sale-pending { padding: 16px; background: #e2dcd0; }
.details-sections { grid-area: details; }
.details-sections details { border-bottom: 1px solid var(--line); }
.details-sections summary { min-height: 64px; padding: 20px 0; color: var(--bone); font-size: 17px; font-weight: 550; }
.details-sections details>p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; }
.contents { list-style: none; padding: 4px 0 28px; margin: 0; }
.contents li+li { margin-top: 24px; }
.contents strong { color: var(--bone); font-size: 16px; font-weight: 550; }
.contents p { font-size: 15px; line-height: 1.65; color: var(--muted); margin-top: 6px; }
.related { padding-block: 112px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line); margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(32px,3.2vw,48px); line-height: 1.1; font-weight: 550; letter-spacing: -.03em; }
.section-heading a { font-size: 15px; padding-block: 12px; }
.related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.text-page { max-width: 960px; padding-block: 72px 112px; }
.text-page h1 { font-size: clamp(42px,6vw,76px); font-weight: 570; letter-spacing: -.04em; line-height: 1.05; margin: 24px 0 36px; }
.text-page h2 { font-size: 28px; font-weight: 550; letter-spacing: -.02em; line-height: 1.2; margin: 44px 0 18px; }
.text-page p { margin-top: 16px; line-height: 1.8; }

@media(max-width:1199px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 28px; }
  .desktop-nav { gap: 20px; }
  .desktop-nav a span { display: none; }
  .header-inner { gap: 20px; }
  .header-bundle { margin-left: 0; }
  .catalogue-intro { grid-template-columns: 1fr 1fr; gap: 40px; }
  .desktop-break { display: none; }
}
@media(max-width:960px) {
  .desktop-nav, .header-bundle { display: none; }
  .header-inner { min-height: 72px; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; min-width: 92px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--bone); font-size: 14px; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { font-size: 22px; line-height: 1; }
  .mobile-menu[open] summary span { transform: rotate(45deg); }
  .mobile-menu nav { position: absolute; top: 100%; inset-inline: 0; display: grid; padding: 16px var(--pad) 28px; border-bottom: 1px solid var(--line); background: var(--surface); max-height: calc(100dvh - 72px); overflow-y: auto; box-shadow: 0 20px 40px #0006; }
  .mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; text-decoration: none; }
  .catalogue-tools { align-items: stretch; }
  .search { flex-basis: 100%; }
  .product-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: 'intro' 'purchase' 'gallery' 'details'; gap: 36px; max-width: 720px; margin-inline: auto; }
  .product-gallery { position: static; }
  .product-intro h1 { max-width: 16ch; font-size: clamp(38px,6.5vw,60px); }
  .bundle-feature { gap: 36px; }
  .bundle-price { padding-left: 32px; }
  .shopping-info { gap: 32px; }
}
@media(max-width:700px) {
  :root { --pad: 24px; }
  .catalogue-intro { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 40px; }
  .catalogue-intro h1 { font-size: 72px; margin-top: 16px; }
  .intro-copy { font-size: 17px; max-width: 32em; }
  .intro-note { margin-top: 16px; }
  .categories { gap: 8px; }
  .categories button { padding-inline: 15px; }
  .categories button span { display: none; }
  .catalogue-tools { gap: 20px; }
  .catalogue-sub { margin: 18px 0 24px; font-size: 12px; }
  .catalogue-sub label { gap: 4px; }
  .catalogue-sub select { font-size: 13px; max-width: 166px; }
  .product-grid { grid-template-columns: 1fr; gap: 36px; }
  .card-body { padding: 24px; }
  .product-card h2 { font-size: 27px; }
  .card-meta>span:first-child { font-size: 10px; }
  .card-meta>span:last-child { font-size: 20px; }
  .card-bottom { padding-top: 24px; }
  .bundle-feature { grid-template-columns: 1fr; margin-top: 48px; padding: 32px 28px; }
  .bundle-price { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.4); }
  .bundle-price strong { font-size: 60px; }
  .shopping-info { grid-template-columns: 1fr; gap: 36px; padding-block: 64px 72px; }
  .shopping-info h2 { margin-top: 18px; }
  .shop-footer { padding-top: 40px; }
  .footer-main { flex-direction: column; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom nav { gap: 4px 20px; }
  .breadcrumbs { padding-block: 24px 32px; font-size: 11px; }
  .product-layout { gap: 30px; }
  .product-intro h1 { margin: 16px 0 20px; font-size: clamp(38px,8vw,52px); line-height: 1.05; }
  .product-description { font-size: 17px; }
  .preview-thumbnails { gap: 12px; margin-top: 14px; }
  .preview-note { margin-top: 18px; font-size: 12px; }
  .purchase { padding: 26px; }
  .purchase-price { font-size: 36px; }
  .related { padding-block: 64px; }
  .text-page { padding-block: 48px 72px; }
}
@media(max-width:360px) {
  :root { --pad: 20px; }
  .header-inner { gap: 18px; }
  .categories button { padding-inline: 12px; font-size: 13px; }
  .card-body, .purchase { padding: 22px; }
  .card-meta { flex-wrap: wrap; gap: 6px 12px; }
  .card-actions { flex-direction: column; align-items: stretch; }
  .purchase-price { align-items: flex-start; flex-direction: column; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
