/* WordPress & WooCommerce extras in the design's language: admin bar, page content, store forms, fallbacks. */

/* admin bar: push the fixed bars down */
.admin-bar .hdr, body.admin-bar.jse-front > header, .admin-bar .srch, .admin-bar .mmenu .close { top: 32px }
@media (max-width: 782px) { .admin-bar .hdr, body.admin-bar.jse-front > header, .admin-bar .srch, .admin-bar .mmenu .close { top: 46px } }
@media (max-width: 600px) { #wpadminbar { position: fixed } }

.skip-link:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 300; background: var(--orange); color: #fff; padding: 12px 16px; border-radius: 6px; font-weight: 600 }
#main { height: 0; outline: 0 }

/* ---------- page content (block editor, classic editor, shortcodes) ---------- */
.jse-title { font-size: clamp(56px, 9vw, 150px) !important; line-height: .86 !important; max-width: 14ch }
.jse-content { max-width: 860px; font-size: 18px; line-height: 1.65; color: var(--ink2); padding-bottom: 40px }
.jse-content.jse-store { max-width: none }
.jse-content > * + * { margin-top: 1.1em }
.jse-content h2, .jse-content h3, .jse-content h4 { color: var(--ink); margin-top: 1.6em }
.jse-content h2 { font-size: clamp(34px, 4vw, 56px) }
.jse-content h3 { font-size: clamp(26px, 3vw, 38px) }
.jse-content h4 { font: 700 18px/1.3 var(--body); text-transform: none }
.jse-content a:not(.btn):not(.button) { color: var(--orange-d); text-decoration: underline; text-underline-offset: 3px }
.jse-content ul, .jse-content ol { padding-left: 1.3em }
.jse-content li + li { margin-top: .4em }
.jse-content img { height: auto; border-radius: 10px }
.jse-content blockquote { border-left: 4px solid var(--orange); padding: 6px 0 6px 22px; font-size: 22px; color: var(--ink) }
.jse-content table { width: 100%; border-collapse: collapse; font-size: 15px }
.jse-content th, .jse-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top }
.jse-content th { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute) }
.jse-content figcaption, .wp-caption-text { font-size: 14px; color: var(--mute); margin-top: 8px }
.alignleft { float: left; margin: 0 24px 16px 0 } .alignright { float: right; margin: 0 0 16px 24px } .aligncenter { margin-inline: auto }
.jse-content .wp-block-button__link { background: var(--orange); color: #fff; border-radius: 6px; padding: 15px 20px; font-weight: 600; text-decoration: none }

/* forms anywhere in page content */
.jse-content input[type=text], .jse-content input[type=email], .jse-content input[type=tel], .jse-content input[type=password], .jse-content input[type=number],
.jse-content input[type=search], .jse-content input[type=url], .jse-content select, .jse-content textarea, .jse-store .input-text {
  width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: 13px 14px; font: 400 16px var(--body); color: var(--ink) }
.jse-content input:focus, .jse-content select:focus, .jse-content textarea:focus { outline: 0; border-color: var(--orange) }
.jse-content label { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute) }
.jse-content button, .jse-content .button, .jse-content input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--orange); color: #fff; border: 0; border-radius: 6px;
  padding: 15px 20px; font: 600 15px/1 var(--body); cursor: pointer; text-decoration: none; transition: background-color 200ms }
.jse-content button:hover, .jse-content .button:hover, .jse-content input[type=submit]:hover { background: var(--orange-d) }

/* ---------- WooCommerce bits (checkout, signed-in account, notices) ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none; background: var(--card); border: 1.5px solid var(--line); border-left: 4px solid var(--green-2); border-radius: 8px; padding: 14px 18px !important; margin: 0 0 18px !important; font-size: 15px; color: var(--ink) }
.woocommerce-error { border-left-color: #c0392b } .woocommerce-info { border-left-color: var(--orange) }
.woocommerce-error li + li { margin-top: 4px }
.jse-store .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 4px }
.jse-store .woocommerce-MyAccount-navigation a { display: block; padding: 12px 14px; border-radius: 6px; text-decoration: none !important; color: var(--ink) !important; font-weight: 600 }
.jse-store .woocommerce-MyAccount-navigation .is-active a, .jse-store .woocommerce-MyAccount-navigation a:hover { background: var(--ink); color: #fff !important }
.jse-store .shop_table { background: var(--card); border-radius: 10px; overflow: hidden }
.jse-store .wc-block-components-button:not(.is-link) { background: var(--orange) !important; color: #fff !important; border-radius: 6px !important }
.jse-store .wc-block-components-title, .jse-store .wc-block-components-checkout-step__title { font-family: var(--display); text-transform: uppercase; letter-spacing: 0 }

.jse-notices:empty { display: none }
.jse-notices { margin-bottom: 18px }
.jse-tracked { grid-column: 1 / -1; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: clamp(18px, 3vw, 34px); font-size: 16px }
.jse-tracked h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 26px 0 12px }
.jse-tracked table { width: 100%; border-collapse: collapse } .jse-tracked th, .jse-tracked td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left }
.jse-tracked mark { background: none; color: var(--orange-d); font-weight: 700 }

/* ---------- server fallbacks (replaced by the design once its scripts run) ---------- */
.jse-fallback { padding: 120px 0 60px }
.jse-fallback .crumbs { margin-bottom: 22px }
.jse-fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start }
.jse-fb-grid img { width: 100%; height: auto; border-radius: 12px; background: #fff }
.jse-fb-grid h1 { font-size: clamp(40px, 5vw, 72px) }
.jse-fb-price { font: 800 40px/1 var(--display); color: var(--orange); margin: 18px 0 }
.jse-fb-desc { max-width: 760px; margin-top: 40px; color: var(--ink2) }
.jse-fb-desc p + p { margin-top: 12px }
.jse-fb-list { padding: 30px 0 60px 20px; display: grid; gap: 6px }
@media (max-width: 800px) { .jse-fb-grid { grid-template-columns: 1fr } }

/* ---------- archive / search cards ---------- */
.jse-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; padding-bottom: 40px }
.jse-card { display: grid; gap: 12px }
.jse-card .ph { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--line) }
.jse-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease-out) }
.jse-card:hover .ph img { scale: 1.05 }
.jse-card .mono { color: var(--mute) }
.jse-card h3 { font-size: 34px }
.jse-pager .nav-links { display: flex; gap: 8px; padding-bottom: 60px }
.jse-pager .page-numbers { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 6px; font-weight: 600 }
.jse-pager .current { background: var(--ink); color: #fff; border-color: var(--ink) }
.jse-none { padding: 20px 0 80px; font-size: 18px }
.jse-none a { color: var(--orange); font-weight: 600 }

/* comments */
.comment-list { list-style: none; padding: 0 } .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line) }

/* checkout / cart blocks: keep WooCommerce's small headings out of the display style */
.jse-store .wc-block-components-order-summary h3, .jse-store .wc-block-components-product-name, .jse-store .wc-block-components-order-summary-item__description h3 {
  font: 600 15px/1.35 var(--body) !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 !important; color: var(--ink) }
.jse-pay { color: var(--mute); font-size: 11px }
.jse-disclaimer { color: var(--mute); font-size: 12px; max-width: 820px; margin-top: 14px }
