/* Shoppette 2.0 — modern EDD storefront layer */
:root {
  --shop-bg: #f6f8fb;
  --shop-surface: #ffffff;
  --shop-text: #182230;
  --shop-muted: #667085;
  --shop-border: #e4e9f0;
  --shop-accent: #1769aa;
  --shop-accent-hover: #0f548c;
  --shop-radius: 14px;
  --shop-shadow: 0 8px 28px rgba(16, 35, 58, .07);
}
html { scroll-behavior: smooth; }
body { background: var(--shop-bg); color: var(--shop-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: var(--shop-accent); text-decoration: none; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:hover, a:focus { color: var(--shop-accent-hover); }
.main { max-width: 1240px; }
.header-area { background: #fff; border-bottom: 1px solid var(--shop-border); box-shadow: 0 2px 12px rgba(16,35,58,.035); }
.site-header.inner { padding: 20px 0; }
.header-elements { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-title { color: var(--shop-text); font-size: 27px; font-weight: 750; letter-spacing: -.6px; line-height: 1.2; }
.site-title a { color: inherit; }
.site-title img { display: block; max-height: 58px; width: auto; }
.header-menu { position: static; }
.header-menu ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.header-menu li { float: none; padding: 0; }
.header-menu a { color: #475467; font-size: 14px; font-weight: 600; }
.main-menu-container { background: #fff; border-top: 1px solid #f0f2f5; }
.main-navigation { padding: 0; }
.main-navigation ul { display: flex; flex-wrap: wrap; gap: 0; }
.main-navigation li { float: none; }
.main-navigation a { color: #344054; font-size: 14px; font-weight: 600; padding: 14px 17px; }
.main-navigation li:hover > a, .main-navigation li.current-menu-item > a { background: #f3f7fb; color: var(--shop-accent); }
.main-content-area { background: transparent; }
.site-content.inner { padding-top: 34px; padding-bottom: 54px; }
#primary { float: none; width: 100%; padding: 0; }
#secondary { float: none; width: 100%; padding: 0; margin-top: 28px; }
body.content-sidebar #primary { float: left; width: 68%; padding-right: 30px; }
body.content-sidebar #secondary { float: right; width: 32%; padding: 0; margin: 0; }
.store-info { max-width: 850px; margin: 0 0 24px; }
.store-title { color: var(--shop-text); font-size: clamp(26px, 3vw, 36px); font-weight: 750; line-height: 1.22; letter-spacing: -.7px; margin: 0 0 10px; }
.store-description { color: var(--shop-muted); font-size: 16px; }
.shoppette-download-search { display: flex; gap: 10px; max-width: 620px; margin: 0 0 26px; }
.shoppette-download-search input[type="search"] { flex: 1; min-width: 0; height: 48px; padding: 0 15px; border: 1px solid #d8e0e9; border-radius: 9px; background: #fff; color: var(--shop-text); font-size: 15px; box-shadow: none; }
.shoppette-download-search button { flex: 0 0 auto; min-height: 48px; padding: 0 20px; border: 0; border-radius: 9px; background: var(--shop-accent); color: #fff; font-weight: 650; cursor: pointer; }
.shoppette-download-search button:hover { background: var(--shop-accent-hover); }
.product-grid.shoppette-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; }
.shoppette-product-card.threecol.product { display: flex; flex-direction: column; width: auto; min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--shop-border); border-radius: var(--shop-radius); background: var(--shop-surface); box-shadow: var(--shop-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.shoppette-product-card:hover { transform: translateY(-3px); border-color: #d4dfeb; box-shadow: 0 14px 34px rgba(16,35,58,.11); }
.shoppette-product-card .product-image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; padding: 12px; background: #fff; border-bottom: 1px solid #edf0f4; }
.shoppette-product-card .product-img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; object-position: center; }
.shoppette-no-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; color: #98a2b3; background: #f8fafc; font-size: 13px; }
.shoppette-no-image .fa { font-size: 38px; color: #b5c2d0; }
.shoppette-product-card .product-description { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px 19px 20px; }
.shoppette-product-card .product-title { margin: 0 0 9px; color: var(--shop-text); font-size: 17px; font-weight: 700; line-height: 1.42; }
.shoppette-product-card .product-title a { color: inherit; }
.shoppette-product-card .product-title a:hover { color: var(--shop-accent); }
.shoppette-product-card .product-info { flex: 1; margin: 0 0 13px; color: var(--shop-muted); font-size: 13px; line-height: 1.6; }
.shoppette-product-card .product-info p { margin: 0; }
.shoppette-product-card .continue-reading { display: none; }
.shoppette-product-card .view-details { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding: 8px 0 0; color: var(--shop-accent); font-size: 14px; font-weight: 700; }
.store-pagination { margin: 34px 0 0; }
.store-pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; list-style: none; margin: 0; padding: 0; }
.store-pagination .page-numbers li { margin: 0; }
.store-pagination .page-numbers a, .store-pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 7px 12px; border: 1px solid var(--shop-border); border-radius: 8px; background: #fff; color: #475467; font-size: 14px; }
.store-pagination .page-numbers .current { border-color: var(--shop-accent); background: var(--shop-accent); color: #fff; }
.entry-title { color: var(--shop-text); font-size: clamp(26px, 3vw, 38px); font-weight: 750; line-height: 1.25; letter-spacing: -.5px; }
.entry-content { color: #344054; font-size: 16px; line-height: 1.75; }
.entry-content img { height: auto; max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--shop-text); line-height: 1.35; margin-top: 1.5em; }
.entry-content h2 { font-size: 25px; }
.entry-content h3 { font-size: 20px; }
#secondary .widget, #secondary .widget.product-info-wrapper { padding: 22px; border: 1px solid var(--shop-border); border-radius: var(--shop-radius); background: #fff; box-shadow: var(--shop-shadow); }
#secondary .widget-title { color: var(--shop-text); font-size: 17px; font-weight: 700; }
.product-download-buy-button .edd-submit, #edd-purchase-button, input.edd-submit, .edd-submit.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 0; border-radius: 8px; background: var(--shop-accent); color: #fff; font-weight: 700; text-shadow: none; box-shadow: none; }
.product-download-buy-button .edd-submit:hover, #edd-purchase-button:hover, input.edd-submit:hover, .edd-submit.button:hover { background: var(--shop-accent-hover); color: #fff; }
input, select, textarea { max-width: 100%; border-radius: 7px; }
button, input[type="button"], input[type="reset"], input[type="submit"] { border-radius: 8px; }
.widget ul li { border-color: #edf0f4; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; }
@media (max-width: 980px) {
  .product-grid.shoppette-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  body.content-sidebar #primary, body.content-sidebar #secondary { float: none; width: 100%; padding: 0; }
  body.content-sidebar #secondary { margin-top: 28px; }
}
@media (max-width: 640px) {
  .main { padding-left: 16px; padding-right: 16px; }
  .site-header.inner { padding: 16px 0; }
  .header-elements { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-title { font-size: 23px; }
  .header-menu ul { justify-content: flex-start; gap: 8px 15px; }
  .main-navigation ul { display: none; }
  .main-navigation.toggled ul { display: block; }
  .main-navigation a { padding: 11px 14px; }
  .site-content.inner { padding-top: 24px; padding-bottom: 36px; }
  .product-grid.shoppette-product-grid { grid-template-columns: 1fr; gap: 15px; }
  .shoppette-product-card .product-image { aspect-ratio: 16 / 9; }
  .shoppette-product-card .product-description { padding: 15px 16px 17px; }
  .shoppette-download-search { gap: 7px; }
  .shoppette-download-search button { padding: 0 13px; }
  .store-title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
