/* One complete photograph and its four exact quadrants connect the pack series. */
:root { --shop-graphite-light: #28292d; --shop-graphite-mid: #1b1c20; --shop-graphite-dark: #111214; }
.shop-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 32px; }
.shop-heading h1 { font-size: clamp(40px, calc(5vw / var(--site-scale)), 72px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.shop-heading p { margin-top: 16px; max-width: 62ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.shop-cart-button { flex-shrink: 0; gap: 10px; }
.shop-cart-count { min-width: 22px; font-size: 15px; color: var(--accent-ink); }
.shop-featured { display: grid; grid-template-columns: minmax(0,480px) minmax(0,1fr); gap: 56px; align-items: center; padding: 28px; border-radius: 24px; --shop-card-lift: -6px; }
.shop-cover { display: block; position: relative; isolation: isolate; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--image-bg); color: var(--text); }
.shop-cover-photo { position:absolute; inset:0; overflow:hidden; }
.shop-product-thumbnail { position:relative; display:block; flex:none; width:var(--product-thumb-size,80px); max-width:100%; aspect-ratio:1; overflow:hidden; border-radius:10px; }
.shop-cover-photo,.shop-product-thumbnail { --cover-size:100%; --cover-x:0%; --cover-y:0%; }
.shop-image-create { --cover-size:200%; }
.shop-image-edit { --cover-size:200%; --cover-x:-100%; }
.shop-image-video { --cover-size:200%; --cover-y:-100%; }
.shop-image-enhance { --cover-size:200%; --cover-x:-100%; --cover-y:-100%; }
.shop-cover-photo > img,.shop-product-thumbnail > img { position:absolute; top:var(--cover-y); left:var(--cover-x); display:block; width:var(--cover-size); height:var(--cover-size); max-width:none; min-width:0; object-fit:cover; border-radius:0; }
.shop-cover-photo::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#000b 0%,#0003 24%,transparent 38%,#0008 55%,#000e 100%); }
.shop-cover-brand { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 9px; letter-spacing: .08em; font-weight: 500; }
.shop-cover-brand > span:first-child { display: flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: -.025em; font-weight: 700; }
.shop-cover-brand img { width: 14px; height: 14px; }
.shop-cover-type { position: absolute; inset: auto 20px 20px; }
.shop-cover-title { display: block; font-size: clamp(32px, calc(2.6vw / var(--site-scale)), 44px); font-weight: 700; text-transform: uppercase; letter-spacing: -.04em; line-height: .95; }
.shop-cover-caption { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: 9px; letter-spacing: .075em; font-weight: 500; }
.shop-featured > .shop-cover .shop-cover-title { font-size: clamp(42px, calc(4.1vw / var(--site-scale)), 68px); }
.shop-featured > .shop-cover .shop-cover-type { inset: auto 28px 28px; }
.shop-featured > .shop-cover .shop-cover-brand { top: 28px; left: 28px; right: 28px; }
.shop-featured > .shop-cover .shop-cover-caption { font-size: 11px; margin-top: 24px; }
.shop-featured-copy { min-width: 0; padding-right: 12px; }
.shop-featured h2 { font-size: clamp(32px, calc(3.3vw / var(--site-scale)), 48px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; max-width: 12ch; }
.shop-featured-copy > p { margin-top: 24px; max-width: 43ch; color: var(--muted); font-size: 18px; line-height: 1.65; }
.shop-bundle-packs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 28px; margin-top: 24px; }
.shop-bundle-packs li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shop-bundle-packs strong { font-size: 15px; font-weight: 500; line-height: 1.4; }
.shop-bundle-packs span { font-size: 12px; line-height: 1.5; color: var(--muted); }
.shop-includes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: var(--text); font-size: 14px; }
.shop-featured-copy > .shop-price { margin-top: 32px; }
.shop-featured-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.shop-price { font-size: 32px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.shop-price > span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 6px; }
.shop-bundle-savings { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; font-weight: 400; line-height: 1.6; }
.shop-bundle-savings > span { color: var(--muted); }
.shop-bundle-savings > strong { color: var(--accent-ink); font-weight: 500; }
.shop-buy-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; }
.shop-buy-row .btn { min-width: 170px; }
.shop-catalog { margin-top: 72px; }
.shop-catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 28px; }
.shop-catalog-heading h2, .shop-footnote h2 { font-size: 32px; font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.shop-catalog-heading > p { max-width: 36ch; color: var(--muted); line-height: 1.65; }
.shop-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.shop-product { min-width: 0; display: flex; flex-direction: column; padding: 16px; border-radius: 24px; --shop-card-lift: -8px; }
.shop-product, .shop-featured { background: linear-gradient(145deg,var(--shop-graphite-light),var(--shop-graphite-mid) 48%,var(--shop-graphite-dark)); transition: transform .28s cubic-bezier(.22,.8,.25,1), box-shadow .28s ease; }
@media (hover:hover) and (pointer:fine) {
  :is(.shop-product,.shop-featured):is(:hover,:has(:focus-visible)) { transform: translateY(var(--shop-card-lift)); box-shadow: 0 22px 44px rgba(0,0,0,.48); transition: transform .46s cubic-bezier(.2,1.4,.35,1), box-shadow .32s ease; }
}
.shop-product-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 22px; }
.shop-product-heading h3 { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.shop-product-heading > strong { font-size: 19px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shop-product > p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.shop-product > .shop-product-task { color: var(--text); font-size: 16px; font-weight: 500; line-height: 1.5; }
.shop-product-task + p { margin-top: 8px; }
.shop-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 24px; margin-top: auto; }
body:not(.is-home) .shop-product-actions > .btn { min-height: 54px; padding: 14px 12px; font-size: 14px; }
.shop-footnote { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 72px; padding: 40px; border-radius: 24px; background: var(--content-group); }
.shop-footnote p { margin-top: 20px; max-width: 48ch; font-size: 16px; line-height: 1.7; color: var(--muted); }
.shop-footnote h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
.shop-footnote .btn { margin-top: 24px; }
.shop-product-nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 40px; }
.pack-buy-row { justify-content: flex-start; gap: 36px; margin-bottom: 20px; }
.pack-cover { min-width: 0; max-width: 540px; width: 100%; justify-self: end; }
.pack-cover .shop-cover-title { font-size: clamp(40px, calc(4vw / var(--site-scale)), 68px); }
.tool-free-guide { margin-top: 12px; }
.tool-information > .btn { display: flex; width: fit-content; }
.shop-cart > .muted { margin-top: 16px; }
.shop-cart-items { display: grid; gap: 24px; margin-top: 32px; }
.shop-cart-item { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 20px; align-items: start; }
.shop-cart-item > .shop-product-thumbnail { border-radius:12px; }
.shop-cart-item h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.shop-cart-item p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.shop-cart-item .btn { margin-top: 12px; }
.shop-cart-item > strong { font-size: 17px; white-space: nowrap; font-weight: 500; }
.shop-cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: 19px; }
.shop-cart-total strong { font-size: 28px; font-weight: 600; }
.shop-checkout { width: 100%; margin-top: 24px; }
.shop-checkout-note { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.shop-cart-empty { margin: 24px 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
@media (max-width:1320px) {
  .shop-featured { grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: 32px; padding: 24px; }
  .shop-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .shop-product { padding: 20px; }
  .shop-product .shop-cover-title { font-size: 52px; }
  body:not(.is-home) .shop-product-actions > .btn { font-size: 16px; }
  .shop-featured-copy > p { font-size: 16px; }
  .shop-featured-actions > .btn { padding-inline: 18px; font-size: 15px; }
}
@media (max-width:836px) {
  .shop-heading { align-items: flex-start; flex-direction: column; gap: 24px; margin-bottom: 28px; }
  .shop-heading h1 { font-size: 40px; overflow-wrap: normal; }
  .shop-heading p { font-size: 16px; margin-top: 14px; }
  .shop-featured { grid-template-columns: 1fr; gap: 28px; padding: 20px; }
  .shop-featured > .shop-cover .shop-cover-title { font-size: clamp(24px,7.3vw,52px); }
  .shop-featured > .shop-cover .shop-cover-type { inset: auto 20px 20px; }
  .shop-featured > .shop-cover .shop-cover-brand { top: 20px; left: 20px; right: 20px; }
  .shop-featured > .shop-cover .shop-cover-caption { font-size: 8px; margin-top: 20px; }
  .shop-featured h2 { font-size: 32px; }
  .shop-featured-copy { padding-right: 0; }
  .shop-featured-copy > p { margin-top: 20px; }
  .shop-featured-actions { flex-direction: column; }
  .shop-featured-actions > .btn { width: 100%; white-space: normal; }
  .shop-buy-row { gap: 20px; }
  .shop-buy-row > .btn { flex: 1; }
  .shop-catalog { margin-top: 48px; }
  .shop-catalog-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .shop-catalog-heading h2, .shop-footnote h2 { font-size: 28px; }
  .shop-catalog-heading > p { font-size: 16px; }
  .shop-product-grid { grid-template-columns: 1fr; gap: 24px; }
  .shop-product { padding: 16px; }
  .shop-product .shop-cover-title { font-size: clamp(32px,9.5vw,56px); }
  .shop-cover-brand { font-size: 8px; }
  .shop-cover-brand > span:first-child { font-size: 12px; }
  .shop-cover-caption { font-size: 8px; }
  body:not(.is-home) .shop-product-actions > .btn { font-size: 14px; padding-inline: 10px; }
  .shop-footnote { grid-template-columns: 1fr; gap: 32px; padding: 28px 24px; margin-top: 48px; }
  .shop-footnote h3 { font-size: 22px; }
  .shop-footnote .btn { white-space: normal; }
  .shop-product-nav { gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
  .shop-product-nav > .btn { font-size: 14px; padding-inline: 16px; }
  .shop-cart-item { grid-template-columns: 56px minmax(0,1fr); gap: 12px; }
  .shop-cart-item > .shop-product-thumbnail { width:56px; grid-row:1/3; }
  .shop-cart-item > strong { grid-column: 2; }
  .pack-cover { max-width: 100%; }
  .pack-cover .shop-cover-title { font-size: clamp(30px,9vw,58px); }
  .pack-cover .shop-cover-collection .shop-cover-title { font-size: clamp(26px,7.3vw,52px); }
}
@media (prefers-reduced-motion:reduce) {
  .library-resource { transition: none; }
  .shop-product, .shop-featured { transition: box-shadow .18s ease; }
  :is(.shop-product,.shop-featured):is(:hover,:has(:focus-visible)) { transform: none; transition: box-shadow .18s ease; }
}
