/* ============================================
   WP Extender — Design System
   ============================================ */

/* --- Base reset for tight spacing --- */
:where(.wp-site-blocks) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.wpext-header-bar,
.wpext-footer,
.wpext-docs--hub,
.wpext-docs--article,
.wpext-product {
  box-sizing: border-box;
}

/* ============================================
   Header Bar
   ============================================ */
.wpext-header-bar {
  position: relative;
  z-index: 100;
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid var(--wp--preset--color--border, #e5e7eb);
}

.wpext-header-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.wpext-header-bar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wpext-header-bar__brand img {
  max-height: 40px;
  width: auto;
}

.wpext-header-bar__site-title {
  text-decoration: none;
  color: var(--wp--preset--color--dark, #0F1424);
  font-size: 1.15rem;
  font-weight: 800;
}

.wpext-header-bar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 400;
}

.wpext-header-bar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wp--preset--color--dark, #0F1424);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.wpext-header-bar__nav {
  margin: 0;
}

.wpext-header-bar__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.wpext-header-bar__menu li {
  position: relative;
}

.wpext-header-bar__menu > li > a {
  color: var(--wp--preset--color--text, #1f2937);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wpext-header-bar__menu > li > a:hover {
  color: var(--wp--preset--color--primary, #9d68f8);
}

.wpext-header-bar__menu .sub-menu,
.wpext-header-bar__menu .children {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.wpext-header-bar__menu li:hover > .sub-menu,
.wpext-header-bar__menu li:hover > .children {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wpext-header-bar__menu .sub-menu a,
.wpext-header-bar__menu .children a {
  display: block;
  padding: 8px 18px;
  color: var(--wp--preset--color--text, #1f2937);
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.wpext-header-bar__menu .sub-menu a:hover,
.wpext-header-bar__menu .children a:hover {
  background: var(--wp--preset--color--primary-light, #f0ecfe);
  color: var(--wp--preset--color--primary, #9d68f8);
}

.wpext-header-bar__ends {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wpext-header-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
}

.wpext-header-bar__link {
  margin: 0 !important;
}

.wpext-header-bar__link a {
  color: var(--wp--preset--color--text, #1f2937);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.wpext-header-bar__link a:hover {
  color: var(--wp--preset--color--primary, #9d68f8);
}

.wpext-header-bar__signin-link {
  display: inline-block;
  padding: 8px 20px;
  background: var(--wp--preset--color--primary, #9d68f8);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  transition: background 0.2s ease, transform 0.15s ease;
}

.wpext-header-bar__signin-link:hover {
  background: var(--wp--preset--color--primary-dark, #7c3aed);
  transform: translateY(-1px);
}

.wpext-header-bar__cart {
  position: relative;
}

.wpext-header-bar__cart-link {
  display: flex;
  align-items: center;
  color: var(--wp--preset--color--dark, #0F1424);
  padding: 4px;
  transition: color 0.2s ease;
}

.wpext-header-bar__cart-link:hover {
  color: var(--wp--preset--color--primary, #9d68f8);
}

.wpext-header-bar__cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--wp--preset--color--primary, #9d68f8);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  line-height: 1;
}

body.wpext-header-sticky header.wp-block-template-part {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 1000;
  background: #fff;
}

body.wpext-header-sticky .wpext-header-bar {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

@media (max-width: 991px) {
  .wpext-header-bar__menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 8px;
    z-index: 300;
  }

  .wpext-header-bar__menu.is-open {
    display: flex;
  }

  .wpext-header-bar__hamburger {
    display: flex;
  }

  .wpext-header-bar__nav {
    position: static;
  }

  .wpext-header-bar__menu .sub-menu,
  .wpext-header-bar__menu .children {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 16px;
    padding-top: 4px;
    min-width: auto;
  }
}

@media (max-width: 479px) {
  .wpext-header-bar__inner {
    padding: 0 16px;
  }

  .wpext-header-bar__actions {
    gap: 6px 10px;
  }
}

/* ============================================
   Page Layout
   ============================================ */
.wpext-main {
  min-height: var(--wpext-main-min-height, 400px);
  padding-top: var(--wpext-main-padding-top, 0px);
  padding-bottom: var(--wpext-main-padding-bottom, 0px);
  box-sizing: border-box;
}

body.wpext-page-layout--container main.wpext-main,
body.wpext-page-layout--container .wpext-main.wpext-main--container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.wpext-page-layout--full-width main.wpext-main,
body.wpext-page-layout--full-width .wpext-main.wpext-main--full-width {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

body.wpext-page-layout--full-width main.wpext-main .wp-block-post-content,
body.wpext-page-layout--full-width .wpext-main__inner {
  max-width: var(--wpext-content-width, 1140px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wp--preset--spacing--30, 1.875rem);
  padding-right: var(--wp--preset--spacing--30, 1.875rem);
}

/* Front page uses full-width blocks directly inside the main wrapper.
   Do not constrain that post-content container the way the regular
   full-width page template constrains its inner wrapper. */
body.wpext-page-layout--full-width main.wpext-main.wpext-main--full-width > .wp-block-post-content,
main.wpext-main.wpext-main--full-width > .wp-block-post-content {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

body.wpext-page-layout--full-width .alignfull {
  max-width: none !important;
  width: 100%;
}

body.wpext-page-layout--default main.wpext-main {
  max-width: var(--wp--preset--content-size, 1140px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wp--preset--spacing--30, 1.875rem);
  padding-right: var(--wp--preset--spacing--30, 1.875rem);
}

.wpext-header {
  border-bottom: 1px solid var(--wp--preset--color--border, #e5e7eb);
}

.wpext-main--container {
  width: 100%;
  max-width: var(--wpext-container-width, 1140px);
  margin-left: auto;
  margin-right: auto;
  min-height: var(--wpext-main-min-height, 400px);
  padding-top: var(--wpext-main-padding-top, 32px);
  padding-bottom: var(--wpext-main-padding-bottom, 48px);
  padding-left: var(--wp--preset--spacing--30, 1.875rem);
  padding-right: var(--wp--preset--spacing--30, 1.875rem);
  box-sizing: border-box;
}

.wpext-main--full-width {
  width: 100%;
  min-height: var(--wpext-main-min-height, 400px);
  padding-top: var(--wpext-main-padding-top, 32px);
  padding-bottom: var(--wpext-main-padding-bottom, 48px);
  box-sizing: border-box;
}

.wpext-main--full-width .wpext-main__inner {
  width: 100%;
  max-width: var(--wpext-content-width, 1140px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wp--preset--spacing--30, 1.875rem);
  padding-right: var(--wp--preset--spacing--30, 1.875rem);
  box-sizing: border-box;
}

.wpext-main--full-width .alignfull {
  max-width: none;
  width: 100%;
}

.wpext-main--container .alignwide {
  max-width: var(--wpext-wide-width, 1280px);
}

/* ============================================
   Shared Card Styles
   ============================================ */
.wpext-card {
  background: #fff;
  border: 1px solid var(--wp--preset--color--border, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.wpext-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* ============================================
   WooCommerce
   ============================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--wp--preset--color--primary, #9d68f8);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  padding: 10px 28px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--wp--preset--color--primary-dark, #7c3aed);
  color: #fff;
  transform: translateY(-1px);
}

.woocommerce ul.products li.product .price {
  color: var(--wp--preset--color--primary, #9d68f8);
  font-weight: 700;
}

.wc-block-components-button {
  border-radius: 12px;
  font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.wpext-footer {
  background: var(--wp--preset--color--dark, #0F1424) !important;
  color: #fff;
}

.wpext-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

/* Newsletter row */
.wpext-footer__newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wpext-footer__newsletter-heading {
  flex: 1;
  min-width: 240px;
}

.wpext-footer__newsletter-heading h3 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.wpext-footer__newsletter-heading p {
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  font-size: 0.875rem;
}

.wpext-footer__newsletter-form {
  display: flex;
  gap: 8px;
  min-width: 300px;
  max-width: 420px;
  flex: 1;
}

.wpext-footer__newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.wpext-footer__newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.wpext-footer__newsletter-form input[type="email"]:focus {
  border-color: var(--wp--preset--color--primary, #9d68f8);
}

.wpext-footer__newsletter-form button {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: var(--wp--preset--gradient--primary-gradient, linear-gradient(135deg, #9d68f8 0%, #7c3aed 100%));
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.wpext-footer__newsletter-form button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.wpext-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wpext-footer__brand img {
  max-height: 40px;
  width: auto;
}

.wpext-footer__site-title {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
}

.wpext-footer__description {
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.65;
  margin: 0 0 1.25rem !important;
  max-width: 320px;
  font-size: 0.875rem;
}

.wpext-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
}

.wpext-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wpext-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff !important;
}

.wpext-footer__columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin: 0;
}

.wpext-footer__col-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.wpext-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wpext-footer__menu li {
  margin: 0;
}

.wpext-footer__menu a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.wpext-footer__menu a:hover {
  color: #fff;
}

.wpext-footer__copyright {
  color: rgba(255, 255, 255, 0.4) !important;
  margin: 2.5rem 0 0 !important;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .wpext-footer__newsletter {
    flex-direction: column;
    align-items: stretch;
  }

  .wpext-footer__newsletter-form {
    max-width: none;
  }

  .wpext-footer__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .wpext-footer__description {
    max-width: none;
  }

  .wpext-footer__inner {
    padding: 40px 20px 30px;
  }
}

/* ============================================
   Documentation Hub
   ============================================ */
.wpext-docs--hub {
  background: var(--wp--preset--color--surface, #F5F5F7);
  padding-top: 48px;
  padding-bottom: 64px;
}

.wpext-docs-hub__hero {
  text-align: center;
  margin-bottom: 40px;
}

.wpext-docs-hub__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 12px;
}

.wpext-docs-hub__intro {
  font-size: 1.1rem;
  color: var(--wp--preset--color--muted, #6b7280);
  max-width: 640px;
  margin: 0 auto 24px !important;
}

.wpext-docs-search {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}

.wpext-docs-search input[type="search"] {
  flex: 1;
  border: 1px solid var(--wp--preset--color--border, #e5e7eb);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.95rem;
  background: #fff;
}

.wpext-docs-search button {
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  background: var(--wp--preset--gradient--primary-gradient, linear-gradient(135deg, #9d68f8 0%, #7c3aed 100%));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.wpext-docs-hub__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.wpext-docs-hub__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #fff;
  border: 1px solid var(--wp--preset--color--border, #e5e7eb);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.wpext-docs-hub__card:hover {
  box-shadow: 0 8px 28px rgba(157, 104, 248, 0.12);
  transform: translateY(-2px);
  border-color: rgba(157, 104, 248, 0.35);
  color: inherit;
}

.wpext-docs-hub__card-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.wpext-docs-hub__card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--wp--preset--color--text, #1f2937);
}

.wpext-docs-hub__card-desc {
  font-size: 0.9rem;
  color: var(--wp--preset--color--muted, #6b7280);
  line-height: 1.55;
  margin-bottom: 14px;
}

.wpext-docs-hub__card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wp--preset--color--primary, #9d68f8);
}

.wpext-docs-hub__empty {
  text-align: center;
  color: var(--wp--preset--color--muted, #6b7280);
  font-style: italic;
  padding: 2rem;
}

/* ============================================
   Documentation Article
   ============================================ */
.wpext-docs--article {
  padding-top: 40px;
  padding-bottom: 64px;
  background: #fff;
}

.wpext-docs__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.wpext-docs-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 4px 16px 24px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--wp--preset--color--border, #e5e7eb) transparent;
}

.wpext-docs-sidebar::-webkit-scrollbar {
  width: 5px;
}

.wpext-docs-sidebar::-webkit-scrollbar-thumb {
  background: var(--wp--preset--color--border, #e5e7eb);
  border-radius: 10px;
}

.wpext-docs-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wpext-docs-nav-item__link--root {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wp--preset--color--muted, #6b7280);
  text-decoration: none;
  border-radius: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}

.wpext-docs-nav-item__link--root:hover {
  color: var(--wp--preset--color--primary, #9d68f8);
  background: rgba(157, 104, 248, 0.04);
}

.wpext-docs-nav-item__link--root.is-active {
  color: var(--wp--preset--color--primary-dark, #7c3aed);
  background: rgba(157, 104, 248, 0.06);
}

.wpext-docs-nav-item__icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.wpext-docs-nav-tree {
  display: flex;
  flex-direction: column;
}

.wpext-docs-nav-item {
  position: relative;
}

.wpext-docs-nav-item__header {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.wpext-docs-nav-item__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  padding: 0;
  margin: 5px 2px 0 0;
  border: none;
  background: transparent;
  color: var(--wp--preset--color--muted, #6b7280);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.wpext-docs-nav-item__toggle:hover {
  color: var(--wp--preset--color--primary, #9d68f8);
  background: rgba(157, 104, 248, 0.08);
}

.wpext-docs-nav-item__chevron {
  transition: transform 0.2s ease;
}

.wpext-docs-nav-item__toggle[aria-expanded="true"] .wpext-docs-nav-item__chevron {
  transform: rotate(90deg);
}

.wpext-docs-nav-item__link {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 7px 12px 7px 0;
  border-radius: 6px;
  color: var(--wp--preset--color--dark, #0F1424);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.45;
  transition: color 0.15s, background 0.15s;
  word-break: break-word;
}

.wpext-docs-nav-item__link:hover {
  color: var(--wp--preset--color--primary, #9d68f8);
}

.wpext-docs-nav-item__link.is-active {
  color: var(--wp--preset--color--primary, #9d68f8);
  font-weight: 700;
  background: rgba(157, 104, 248, 0.05);
  padding-left: 10px;
  border-radius: 6px;
}

.wpext-docs-nav-item__link--sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--wp--preset--color--text, #1f2937);
  margin-left: 18px;
}

.wpext-docs-nav-item__link--sub.is-active {
  margin-left: 18px;
  padding-left: 10px;
}

.wpext-docs-nav-item__link--deep {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--wp--preset--color--muted, #6b7280);
  margin-left: 36px;
}

.wpext-docs-nav-item__link--deep.is-active {
  margin-left: 36px;
  padding-left: 10px;
  color: var(--wp--preset--color--primary, #9d68f8);
  font-weight: 500;
}

.wpext-docs-nav-item__children {
  overflow: hidden;
  max-height: 8000px;
  opacity: 1;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.wpext-docs-nav-item__children[hidden] {
  max-height: 0;
  opacity: 0;
  display: block;
}

.wpext-docs__content .wp-block-post-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.wpext-docs__content .wp-block-post-content {
  max-width: 760px;
  line-height: 1.75;
  font-size: 0.975rem;
  color: var(--wp--preset--color--text, #1f2937);
}

.wpext-docs__content .wp-block-post-content h2 {
  margin-top: 2.5rem;
  padding-top: 0;
  font-size: 1.35rem;
  font-weight: 700;
  border-top: 1px solid var(--wp--preset--color--border, #e5e7eb);
  padding-top: 1.5rem;
}

.wpext-docs__content .wp-block-post-content h3 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.wpext-docs__content .wp-block-post-content h4 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.wpext-docs__content .wp-block-post-content p {
  margin-bottom: 1rem;
}

.wpext-docs__content .wp-block-post-content ul,
.wpext-docs__content .wp-block-post-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.wpext-docs__content .wp-block-post-content li {
  margin-bottom: 0.35rem;
}

.wpext-docs__content .wp-block-post-content pre,
.wpext-docs__content .wp-block-post-content code {
  background: var(--wp--preset--color--surface, #F5F5F7);
  border-radius: 6px;
  font-size: 0.875rem;
}

.wpext-docs__content .wp-block-post-content pre {
  padding: 16px 20px;
  overflow-x: auto;
  border: 1px solid var(--wp--preset--color--border, #e5e7eb);
}

.wpext-docs__content .wp-block-post-content code {
  padding: 2px 6px;
}

.wpext-docs__content .wp-block-post-content pre code {
  padding: 0;
  background: none;
}

.wpext-docs__content .wp-block-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--wp--preset--color--border, #e5e7eb);
}

.wpext-docs__content .wp-block-post-content a {
  color: var(--wp--preset--color--primary, #9d68f8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wpext-docs__content .wp-block-post-content a:hover {
  color: var(--wp--preset--color--primary-dark, #7c3aed);
}

.wpext-docs__content .wp-block-post-content blockquote {
  border-left: 3px solid var(--wp--preset--color--primary, #9d68f8);
  padding-left: 16px;
  margin: 1.25rem 0;
  color: var(--wp--preset--color--muted, #6b7280);
  background: var(--wp--preset--color--surface, #F5F5F7);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
}

@media (max-width: 900px) {
  .wpext-docs__layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  .wpext-docs-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    border-bottom: 1px solid var(--wp--preset--color--border, #e5e7eb);
    padding-bottom: 16px;
    margin-bottom: 4px;
    padding-right: 0;
  }

  .wpext-docs-nav-item__children {
    max-height: 16000px;
  }
}

/* ============================================
   Single Product Page — Countdown Timer Design
   ============================================ */

.wpext-product {
  padding: 0;
  background: #FFFFFF;
  --wpext-accent: #9d68f8;
  --wpext-accent-dark: #7c3aed;
  --wpext-accent-soft: #f0ecfe;
  --wpext-ink-900: #14141A;
  --wpext-ink-800: #23232B;
  --wpext-ink-600: #55555F;
  --wpext-ink-500: #75757F;
  --wpext-ink-400: #9A9AA3;
  --wpext-line: #EAEAEA;
  --wpext-line-soft: #F1F1F3;
  --wpext-surface: #FFFFFF;
  --wpext-surface-alt: #FAFAFB;
  --wpext-surface-sunk: #F5F5F7;
  --wpext-dark-panel: #14141A;
  --wpext-dark-panel-2: #1D1D24;
  --wpext-success: #1CA672;
  --wpext-r-sm: 8px;
  --wpext-r-md: 12px;
  --wpext-r-lg: 16px;
  --wpext-r-xl: 20px;
  --wpext-shadow-xs: 0 1px 2px rgba(20,20,26,0.04);
  --wpext-shadow-sm: 0 2px 8px rgba(20,20,26,0.06);
  --wpext-shadow-md: 0 8px 24px rgba(20,20,26,0.08);
  --wpext-shadow-lg: 0 20px 48px rgba(20,20,26,0.10);
}

/* ============================================
   Wrapper
   ============================================ */
.wpext-product {
  padding: 0;
  background: var(--wpext-surface);
}

/* ============================================
   SECTION HEAD
   ============================================ */
.wpext-section {
  padding: 96px 0;
}
.wpext-section--alt {
  background: var(--wpext-surface-alt);
}

.wpext-section__head {
  margin-bottom: 32px;
}
.wpext-section__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wpext-accent);
  margin-bottom: 12px;
}
.wpext-section__kicker::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--wpext-accent);
}
.wpext-section__title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--wpext-ink-900);
  margin: 0;
}
.wpext-section__desc {
  margin-top: 10px;
  font-size: 16px;
  color: var(--wpext-ink-500);
  max-width: 560px;
}

/* ============================================
   BADGES
   ============================================ */
.wpext-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--wpext-line);
  background: var(--wpext-surface);
  color: var(--wpext-ink-600);
}
.wpext-badge--orange {
  background: var(--wpext-accent-soft);
  color: var(--wpext-accent-dark);
  border-color: transparent;
}
.wpext-badge--blue {
  background: #EAF1FF;
  color: #2758D6;
  border-color: transparent;
}
.wpext-badge--green {
  background: #E9F9F1;
  color: #0F8A57;
  border-color: transparent;
}
.wpext-badge__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wpext-success);
}

/* ============================================
   BUTTONS
   ============================================ */
.wpext-product .wpext-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--wpext-r-md);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.wpext-product .wpext-btn--primary {
  background: var(--wpext-accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 8px 20px rgba(157,104,248,0.25);
}
.wpext-product .wpext-btn--primary:hover {
  background: var(--wpext-accent-dark);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}
.wpext-product .wpext-btn--secondary {
  background: var(--wpext-surface);
  color: var(--wpext-ink-800);
  border: 1px solid var(--wpext-line);
}
.wpext-product .wpext-btn--secondary:hover {
  border-color: var(--wpext-ink-400);
  background: var(--wpext-surface-alt);
  color: var(--wpext-ink-800);
  text-decoration: none;
}
.wpext-product .wpext-btn--block {
  width: 100%;
}
.wpext-product .wpext-btn--lg {
  padding: 16px 26px;
  font-size: 15.5px;
}

/* ============================================
   CHECK ICON
   ============================================ */
.wpext-check-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--wpext-accent-soft);
  color: var(--wpext-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.wpext-check-icon svg {
  width: 11px;
  height: 11px;
}

/* ============================================
   TAB BAR
   ============================================ */
.wpext-tabbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wpext-line);
}
.wpext-tabbar__inner {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.wpext-tab {
  position: relative;
  padding: 18px 2px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--wpext-ink-500);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s;
  text-decoration: none;
}
.wpext-tab:hover {
  color: var(--wpext-ink-800);
}
.wpext-tab.active {
  color: var(--wpext-accent);
  border-color: var(--wpext-accent);
}

/* ============================================
   HERO
   ============================================ */
.wpext-hero {
  padding: 72px 24px 56px;
}
.wpext-hero__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.wpext-hero__top {
  display: flex;
  gap: 24px;
}
.wpext-hero__icon {
  width: 76px;
  height: 76px;
  border-radius: var(--wpext-r-lg);
  flex-shrink: 0;
  background: linear-gradient(155deg, #9d68f8, var(--wpext-accent-dark) 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--wpext-shadow-md);
}
.wpext-product .wpext-hero__title {
  font-size: 38px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--wpext-ink-900) !important;
  line-height: 1.15 !important;
  margin: 0 0 8px !important;
}
.wpext-hero__top .wp-block-woocommerce-product-rating {
  margin: 0;
}
.wpext-hero__top .star-rating {
  color: var(--wpext-accent);
}
.wpext-hero__top .woocommerce-review-link {
  font-size: 13.5px;
  color: var(--wpext-ink-500);
  font-weight: 400;
  text-decoration: none;
}
.wpext-hero__top .woocommerce-review-link a {
  color: var(--wpext-accent);
  font-weight: 700;
}
.wpext-hero__badges {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.wpext-hero__desc {
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--wpext-ink-600);
  max-width: 600px;
}
.wpext-hero__desc p {
  margin: 0;
}
.wpext-hero__checklist {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
  padding: 0;
}
.wpext-hero__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--wpext-ink-800);
  font-weight: 500;
}

/* Hero right — pricing card */
.wpext-hero__card {
  background: var(--wpext-surface);
  border: 1px solid var(--wpext-line);
  border-radius: var(--wpext-r-xl);
  padding: 32px;
  box-shadow: var(--wpext-shadow-lg);
  position: relative;
  overflow: hidden;
}
.wpext-hero__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wpext-accent), var(--wpext-accent-dark));
}
.wpext-hero__card-tag {
  text-align: center;
}
.wpext-hero__card .wp-block-woocommerce-product-price {
  text-align: center;
  margin: 10px 0 2px;
}
.wpext-hero__card .price {
  font-size: 46px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--wpext-ink-900) !important;
}
.wpext-hero__card .price del {
  font-size: 0.6em;
  color: var(--wpext-ink-500);
}
.wpext-hero__card .price ins {
  text-decoration: none;
}
.wpext-hero__card-sub {
  text-align: center;
  font-size: 13px;
  color: var(--wpext-ink-500);
  margin-bottom: 24px;
}
.wpext-hero__card .wp-block-woocommerce-add-to-cart-form {
  margin-bottom: 8px;
}
.wpext-hero__card .cart,
.wpext-hero__card .wp-block-woocommerce-add-to-cart-form form.cart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wpext-hero__card .wp-block-woocommerce-add-to-cart-form form.cart > .single_add_to_cart_button {
  grid-column: auto;
  justify-self: auto;
  width: 63%;
  margin-left: auto;
  margin-right: auto;
}
.wpext-hero__card .quantity,
.wpext-hero__card .input-text.qty {
  display: none !important;
}
.wpext-hero__card .single_add_to_cart_button {
  width: 63%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 8px;
  padding: 16px 26px;
  border-radius: var(--wpext-r-md);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--wpext-accent) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 8px 20px rgba(157,104,248,0.25);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.wpext-hero__card .single_add_to_cart_button:hover {
  background: var(--wpext-accent-dark) !important;
  transform: translateY(-1px);
}
.wpext-hero__card table.variations {
  margin-bottom: 10px;
}
.wpext-hero__card table.variations select {
  width: 100%;
  border: 1px solid var(--wpext-line);
  border-radius: var(--wpext-r-sm);
  padding: 8px 12px;
  font-size: 14px;
}
.wpext-hero__card .wpext-btn--secondary {
  width: 63%;
  display: flex;
  margin: 0 auto;
}
.wpext-hero__guarantee {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px;
  background: var(--wpext-surface-sunk);
  border-radius: var(--wpext-r-md);
}
.wpext-hero__guarantee-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--wpext-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wpext-hero__guarantee-icon svg {
  width: 11px;
  height: 11px;
}
.wpext-hero__guarantee strong {
  font-size: 13.5px;
  color: var(--wpext-ink-800);
  display: block;
  margin-bottom: 2px;
}
.wpext-hero__guarantee p {
  font-size: 12.5px;
  color: var(--wpext-ink-500);
  line-height: 1.5;
  margin: 0;
}
.wpext-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--wpext-line);
  border-radius: var(--wpext-r-md);
  overflow: hidden;
  margin-top: 24px;
}
.wpext-hero__stat {
  background: var(--wpext-surface);
  padding: 16px;
  text-align: center;
}
.wpext-hero__stat b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--wpext-ink-900);
}
.wpext-hero__stat span {
  font-size: 11.5px;
  color: var(--wpext-ink-500);
  font-weight: 600;
}
.wpext-hero__compat-note {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--wpext-surface-alt);
  border: 1px solid var(--wpext-line);
  border-radius: var(--wpext-r-md);
}
.wpext-hero__compat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--wpext-ink-600);
}
.wpext-hero__compat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--wpext-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wpext-accent);
  flex-shrink: 0;
}
.wpext-hero__compat-item b {
  color: var(--wpext-ink-800);
  font-weight: 700;
}

/* ============================================
   SCREENSHOTS
   ============================================ */
.wpext-shots {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.wpext-shots__stage {
  border-radius: 12px;
  overflow: hidden;
}
.wpext-shots__stage-img img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: var(--wpext-surface-sunk);
}
.wpext-shots__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wpext-shots__nav button {
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--wpext-r-md);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wpext-ink-600);
  background: var(--wpext-surface-sunk);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
}
.wpext-shots__nav button:hover {
  background: var(--wpext-line-soft);
}
.wpext-shots__nav button.active {
  background: var(--wpext-surface);
  border-color: var(--wpext-accent);
  color: var(--wpext-accent-dark);
  box-shadow: var(--wpext-shadow-sm);
}

/* ============================================
   DETAILED FEATURES
   ============================================ */
.wpext-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.wpext-feature + .wpext-feature {
  margin-top: 64px;
}
.wpext-feature--reverse .wpext-feature__media {
  order: 2;
}
.wpext-feature--reverse .wpext-feature__copy {
  order: 1;
}
.wpext-feature__media {
  border-radius: var(--wpext-r-xl);
  overflow: hidden;
  max-height: 360px;
  background: var(--wpext-surface-sunk);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wpext-line);
}
.wpext-feature__media img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
}
.wpext-feature__media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wpext-feature__icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--wpext-r-md);
  background: var(--wpext-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--wpext-shadow-sm);
  border: 1px solid var(--wpext-line);
  color: var(--wpext-accent);
}
.wpext-feature__icon-badge svg {
  width: 26px;
  height: 26px;
}
.wpext-feature__num {
  font-family: "Roboto Mono", "SF Mono", monospace;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wpext-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.wpext-feature__copy h3 {
  font-size: 27px;
  font-weight: 800;
  color: var(--wpext-ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.wpext-feature__copy p {
  font-size: 15.5px;
  color: var(--wpext-ink-600);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 460px;
}
.wpext-feature__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.wpext-feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--wpext-ink-800);
  font-weight: 500;
}

/* ============================================
   COMPATIBILITY
   ============================================ */
.wpext-compat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.wpext-panel {
  background: var(--wpext-surface);
  border: 1px solid var(--wpext-line);
  border-radius: var(--wpext-r-xl);
  box-shadow: var(--wpext-shadow-sm);
  overflow: hidden;
}
.wpext-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--wpext-line);
}
.wpext-panel__head h4 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wpext-ink-500);
  margin: 0;
}
.wpext-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.wpext-spec-table tr:nth-child(odd) td {
  background: var(--wpext-surface-alt);
}
.wpext-spec-table td {
  padding: 15px 24px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--wpext-line-soft);
}
.wpext-spec-table tr:last-child td {
  border-bottom: none;
}
.wpext-spec-table td:first-child {
  color: var(--wpext-ink-500);
  font-weight: 500;
}
.wpext-spec-table td:last-child {
  color: var(--wpext-ink-900);
  font-weight: 700;
  text-align: right;
}
.wpext-version-list {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wpext-version-item {
  position: relative;
  padding-left: 22px;
}
.wpext-version-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wpext-accent);
  box-shadow: 0 0 0 3px var(--wpext-accent-soft);
}
.wpext-version-item::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  bottom: -24px;
  width: 1px;
  background: var(--wpext-line);
}
.wpext-version-list .wpext-version-item:last-of-type::after {
  display: none;
}
.wpext-version-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.wpext-version-head__v {
  font-family: "Roboto Mono", "SF Mono", monospace;
  font-weight: 800;
  color: var(--wpext-accent-dark);
  font-size: 14.5px;
}
.wpext-version-head__d {
  font-size: 12px;
  color: var(--wpext-ink-400);
  font-weight: 600;
}
.wpext-version-item p {
  font-size: 13.5px;
  color: var(--wpext-ink-600);
  margin-top: 4px;
  margin-bottom: 0;
}
.wpext-panel__show-all {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--wpext-line);
}
.wpext-panel__show-all a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wpext-accent);
  text-decoration: none;
}
.wpext-panel__show-all a:hover {
  color: var(--wpext-accent-dark);
}

/* ============================================
   FEATURE LIST
   ============================================ */
.wpext-big-card {
  background: var(--wpext-surface);
  border: 1px solid var(--wpext-line);
  border-radius: var(--wpext-r-xl);
  box-shadow: var(--wpext-shadow-sm);
  padding: 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.wpext-flist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.wpext-flist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--wpext-ink-800);
  font-weight: 500;
  padding: 8px 0;
}

/* ============================================
   FAQ
   ============================================ */
.wpext-product .wpext-faq {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
}
.wpext-product .wpext-faq__item {
  border: 1px solid var(--wpext-line);
  border-radius: var(--wpext-r-lg);
  background: var(--wpext-surface);
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
}
.wpext-product .wpext-faq__item.is-open {
  border-color: var(--wpext-accent);
  box-shadow: var(--wpext-shadow-sm);
}
.wpext-product .wpext-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.wpext-product .wpext-faq__q span {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--wpext-ink-900);
}
.wpext-product .wpext-faq__chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--wpext-surface-sunk);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s;
  color: var(--wpext-ink-600);
}
.wpext-product .wpext-faq__item.is-open .wpext-faq__chevron {
  background: var(--wpext-accent);
  color: #fff;
  transform: rotate(180deg);
}
.wpext-product .wpext-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.wpext-product .wpext-faq__a-inner {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--wpext-ink-600);
  line-height: 1.7;
  max-width: 640px;
}
.wpext-product .wpext-faq__a-inner p {
  margin: 0 0 8px;
}
.wpext-product .wpext-faq__a-inner p:last-child {
  margin-bottom: 0;
}

/* ============================================
   REVIEWS
   ============================================ */
.wpext-review-card {
  background: var(--wpext-surface);
  border: 1px solid var(--wpext-line);
  border-radius: var(--wpext-r-xl);
  box-shadow: var(--wpext-shadow-sm);
  padding: 40px;
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  gap: 40px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.wpext-review-card__score {
  text-align: center;
}
.wpext-review-card__num {
  font-size: 52px;
  font-weight: 800;
  color: var(--wpext-ink-900);
  letter-spacing: -0.02em;
}
.wpext-review-card__stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 8px 0 6px;
}
.wpext-review-card__stars svg {
  width: 18px;
  height: 18px;
}
.wpext-star--empty {
  fill: none;
  stroke: #D8D8DC;
}
.wpext-star--fill {
  fill: var(--wpext-accent);
  stroke: var(--wpext-accent);
}
.wpext-review-card__count {
  font-size: 13px;
  color: var(--wpext-ink-500);
}
.wpext-review-card__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wpext-review-card__bar-row {
  display: grid;
  grid-template-columns: 16px 1fr 34px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--wpext-ink-500);
  font-weight: 600;
}
.wpext-review-card__track {
  height: 8px;
  background: var(--wpext-surface-sunk);
  border-radius: 100px;
  overflow: hidden;
}
.wpext-review-card__track i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--wpext-accent);
  border-radius: 100px;
  font-style: normal;
}
.wpext-review-card__cta {
  text-align: center;
}
.wpext-review-empty {
  margin-top: 32px;
  padding: 72px 24px;
  text-align: center;
  border: 1px dashed var(--wpext-line);
  border-radius: var(--wpext-r-lg);
  background: var(--wpext-surface-alt);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.wpext-review-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--wpext-surface);
  border: 1px solid var(--wpext-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wpext-ink-400);
}
.wpext-review-empty h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--wpext-ink-800);
  margin: 0 0 4px;
}
.wpext-review-empty p {
  font-size: 13.5px;
  color: var(--wpext-ink-500);
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .wpext-hero__grid {
    grid-template-columns: 1fr;
  }
  .wpext-shots {
    grid-template-columns: 1fr;
  }
  .wpext-shots__nav {
    flex-direction: row;
    overflow-x: auto;
  }
  .wpext-shots__nav button {
    flex-shrink: 0;
  }
  .wpext-compat {
    grid-template-columns: 1fr;
  }
  .wpext-feature {
    grid-template-columns: 1fr;
  }
  .wpext-feature__media {
    max-height: 280px;
  }
  .wpext-review-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .wpext-review-card__score,
  .wpext-review-card__cta {
    margin: 0 auto;
  }
  .wpext-hero__card {
    position: static;
  }
  .wpext-section__head,
  .wpext-product .wpext-faq {
    padding: 0 24px;
  }
}
@media (max-width: 680px) {
  .wpext-section {
    padding: 56px 0;
  }
  .wpext-section__title {
    font-size: 26px;
  }
  .wpext-section__head,
  .wpext-product .wpext-faq {
    padding: 0 16px;
  }
  .wpext-product .wpext-hero__title {
    font-size: 28px !important;
  }
  .wpext-hero {
    padding: 40px 16px 40px;
  }
  .wpext-hero__top {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
  .wpext-hero__checklist {
    grid-template-columns: 1fr;
  }
  .wpext-hero__desc {
    font-size: 15px;
  }
  .wpext-hero__grid {
    gap: 32px;
  }
  .wpext-feature,
  .wpext-feature--reverse {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .wpext-feature--reverse .wpext-feature__media,
  .wpext-feature--reverse .wpext-feature__copy {
    order: initial;
  }
  .wpext-feature__media {
    max-height: 240px;
  }
  .wpext-flist {
    grid-template-columns: 1fr;
  }
  .wpext-big-card {
    margin: 0 16px;
    padding: 24px;
  }
  .wpext-compat {
    padding: 0 16px;
  }
  .wpext-tabbar__inner {
    gap: 24px;
    padding: 0 16px;
  }
  .wpext-shots {
    padding: 0 16px;
  }
  .wpext-hero__card .wpext-btn--secondary,
  .wpext-hero__card .single_add_to_cart_button,
  .wpext-hero__card .wp-block-woocommerce-add-to-cart-form form.cart > .single_add_to_cart_button {
    width: 100%;
  }
}