.purchase-page { padding-bottom: 72px; }
.purchase-page [hidden] { display: none; }
.buying-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.buying-intro { max-width: 820px; padding-bottom: 34px; }
.buying-intro .lead { max-width: 68ch; }
.purchase-page h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.04em; }
.buying-goals, .buying-plans { display: grid; gap: 14px; }
.buying-goals { grid-template-columns: repeat(auto-fit, minmax(min(275px, 100%), 1fr)); }
.buying-plans { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); align-items: start; }
.buying-goal, .buying-plan, .buying-total, .buying-form {
  min-width: 0;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid #d2dacb;
  border-radius: 16px;
  background: #fafbf5;
  color: #181c19;
}
.buying-goal { display: grid; gap: 12px; align-content: start; }
.buying-goal h3, .buying-plan h3 { margin: 0; font-size: 22px; line-height: 1.18; letter-spacing: -.035em; }
.buying-goal p { margin: 5px 0 0; }
.buying-goal-main, .buying-plan-main { border-color: #92a956; background: #ecf8ce; }
.buying-goal-main h3 a { color: #181c19; }
.buying-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 13px; font-weight: 700; }
.buying-card-links a:not(.btn), .buying-total p a { text-decoration: underline; text-underline-offset: 3px; }
.buying-plan .buying-card-links { margin-top: 19px; }
.buying-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; padding: 10px; border: 1px solid #d2dacb; border-radius: 16px; background: #e8eddf; }
.buying-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 9px; color: #181c19; background: #fafbf5; font-size: .9rem; font-weight: 680; }
.buying-tabs a[aria-current] { color: #efffc7; background: #181c19; }
.buying-tabs a:hover { text-decoration: underline; }
.buying-plan-section { margin-bottom: 32px; }
.buying-plan { scroll-margin-top: 104px; }
.buying-plan p { margin: 10px 0; }
.buying-recommended { display: inline-flex; margin-bottom: 11px; border-radius: 20px; padding: 4px 9px; background: #181c19; color: #e7ffb4; font-size: .75rem; font-weight: 700; }
.buying-price { font-size: 29px; line-height: 1.2; font-weight: 770; letter-spacing: -.04em; }
.buying-price small { font-size: .83rem; letter-spacing: normal; font-weight: 600; }
.buying-plan ul { margin: 12px 0; padding-left: 17px; font-size: 14px; line-height: 1.55; }
.buying-plan li + li { margin-top: 6px; }
.buying-delivery { font-size: .85rem; font-weight: 700; }
.buying-plan summary, .buying-note summary { min-height: 34px; padding-top: 6px; cursor: pointer; font-size: .89rem; font-weight: 700; }
.buying-band { margin: 32px 0; padding: clamp(20px, 4vw, 44px); border-radius: 18px; background: #181c19; color: #f5f7ed; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.buying-band h2 { color: inherit; margin-bottom: 7px; }
.buying-band p { margin: 0; color: #d6dece; max-width: 64ch; }
.buying-band .btn { color: #181c19; background: #d1ff62; }
.buying-proof { margin-top: 36px; }
.buying-proof p { max-width: 72ch; }
.buying-form { display: grid; gap: 9px; }
.buying-form label, .buying-form legend { font-weight: 700; font-size: .9rem; }
.buying-form fieldset { display: grid; gap: 8px; min-width: 0; margin: 12px 0; padding: 12px 0 0; border: 0; border-top: 1px solid #d2dacb; }
.buying-form :is(input:not([type=radio]), select, textarea) { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #a9b5a2; border-radius: 7px; background: #fff; color: #181c19; padding: 9px 10px; font: inherit; }
.buying-form .buying-radio { display: flex; align-items: center; gap: 9px; min-height: 30px; cursor: pointer; }
.buying-form .btn { justify-self: start; margin-top: 8px; }
.buying-total { background: #ecf8ce; }
.buying-total dl { margin: 0; }
.buying-total dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid #c4d4a6; padding: 11px 0; }
.buying-total dl div:last-child { font-weight: 770; }
.buying-total dd { margin: 0; white-space: nowrap; }
.buying-total p, .buying-note { color: #465642; font-size: .9rem; }
.buying-note { margin-top: 16px; }
.purchase-page :focus-visible { outline: 2px solid #55721a; outline-offset: 4px; }
.project-case { max-width: 920px; margin: 0 auto; padding-bottom: 64px; }
.project-case .page-intro { padding-bottom: 24px; }
.project-case figure { margin: 0; }
.project-case figure img { width: 100%; max-height: 450px; object-fit: cover; object-position: top; border-radius: 14px; }
.project-case figcaption { color: var(--muted); font-size: 13px; margin-top: 7px; }
.project-case .case-prose { max-width: 68ch; padding: 24px 0; }
.case-prose h2 { margin: 24px 0 8px; }
.case-prose p { margin: 0 0 15px; line-height: 1.65; }
.portfolio-case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.project-state.future { background: #eff2e8; }
.project-illustration { min-height: 265px; padding: clamp(16px, 3vw, 34px); border-radius: 12px; background: #172522; color: #e7efde; }
.illustration-top, .illustration-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; }
.illustration-top strong { font-size: 1.45rem; letter-spacing: .09em; }
.illustration-top span, .illustration-bottom { font-size: .8rem; }
.illustration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 16px 0; }
.illustration-grid i { position: relative; min-height: 96px; border: 1px solid #63736b; border-radius: 7px; background: linear-gradient(145deg, #394941, #263a32); }
.illustration-grid i::after { content: ''; position: absolute; inset: 18% 28%; border: 2px solid #b3c3a6; border-radius: 7px 7px 24px 24px; }
.illustration-grid i:nth-child(2)::after { border-radius: 50%; }
.illustration-grid i:nth-child(3)::after { transform: rotate(24deg); }
.illustration-bottom span { padding: 7px 10px; border-radius: 6px; background: #d1ff62; color: #181c19; font-weight: 700; }
.store-intro { display: flex; max-width: none; justify-content: space-between; align-items: end; gap: 18px; }
.store-cart-jump { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid #c0cdb1; border-radius: 9px; font-weight: 700; white-space: nowrap; }
[data-store-count] { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 5px; border-radius: 50px; background: #d1ff62; color: #181c19; font-size: 12px; }
.store-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,350px); align-items: start; gap: 24px; }
.store-tabs { position: sticky; top: 78px; z-index: 2; }
.store-category { margin-bottom: 32px; scroll-margin-top: 160px; }
.store-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; align-items: start; }
.store-product { display: grid; gap: 9px; padding: 20px; min-width: 0; border: 1px solid #d2dacb; border-radius: 15px; background: #fafbf5; scroll-margin-top: 170px; }
.store-product-main, .store-product-selected { border-color: #99b16a; background: #f2f7e5; }
.store-product-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 35px; color: #375521; }
.store-product-top .buying-recommended { margin: 0; }
.store-product h3 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.store-product p { margin: 0; font-size: .91rem; line-height: 1.5; }
.store-product .store-price { color: #181c19; font-size: 23px; font-weight: 770; }
.store-price small { font-size: .78rem; font-weight: 600; }
.store-product details { font-size: .85rem; }
.store-product details ul { padding-left: 16px; }
.store-product summary, .store-conditions summary { min-height: 34px; padding-top: 6px; cursor: pointer; }
.store-add { justify-self: start; cursor: pointer; }
.store-hosting { display: flex; gap: 8px; align-items: start; padding: 8px; border: 1px solid #d3dcc7; border-radius: 8px; cursor: pointer; font-size: .82rem; }
.store-hosting small { display: block; color: #43543c; }
.store-cart { padding: 19px; border: 1px solid #b7c7a3; border-radius: 15px; background: #edf4df; scroll-margin-top: 92px; }
.store-cart h2 { font-size: 24px; }
.store-cart dl { margin: 14px 0; }
.store-cart dl div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #d0dbc3; font-size: .86rem; }
.store-cart dl div:first-child { font-weight: 750; }
.store-cart dd { margin: 0; white-space: nowrap; }
.store-line { padding: 10px 0; border-bottom: 1px solid #d0dbc3; }
.store-line-top { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.store-line-top small { display: block; color: #43543c; }
.store-remove { min-height: 32px; padding: 3px 4px; border: 0; background: transparent; color: #385226; text-decoration: underline; font: inherit; font-size: .81rem; cursor: pointer; }
.store-line-hosting { display: flex; align-items: start; gap: 6px; margin-top: 6px; font-size: .78rem; cursor: pointer; }
.store-conditions, .store-note { color: #43543c; font-size: .79rem; }
.store-note a { text-decoration: underline; }
.store-checkout { padding: 0; border: 0; background: transparent; }
.store-checkout .btn { width: 100%; }
@media (max-width: 900px) {
  .store-tabs { top: 68px; }
  .store-layout { gap: 15px; }
  .store-product { padding: 14px; }
}
@media (max-width: 760px) {
  .store-intro { align-items: start; flex-direction: column; }
  .store-layout { grid-template-columns: 1fr; }
  .store-tabs { position: static; }
}
@media (max-width: 680px) {
  .buying-tabs { gap: 6px; padding: 8px; }
  .buying-tabs a { padding: 7px 10px; }
}
@media (max-width: 475px) {
  .store-products { grid-template-columns: 1fr; }
  .store-product { padding: 16px; }
}
