/* CSS ownership map: docs/STOREFRONT_BOUNDARIES.md.
   Keep this single entrypoint and cascade order. Theme integration, page rules
   and responsive overrides stay at their existing positions; do not regroup
   them by selector name. Scope component changes without raising specificity. */

/* Canvas and theme integration: shared page surfaces and theme resets. */
.amazon-product-polished .wp-site-blocks {
  background:
    radial-gradient(circle at top left, var(--app-page-glow), transparent 28%),
    linear-gradient(180deg, var(--app-page-start) 0%, var(--app-page-end) 24%);
}

/* Storefront does not render .wp-site-blocks. Its breadcrumb sits outside
 * .site-content, so the theme atmosphere belongs on the complete page shell. */
.amazon-product-polished.wp-theme-storefront #page {
  background:
    radial-gradient(circle at top left, var(--app-page-glow), transparent 28%),
    linear-gradient(180deg, var(--app-page-start) 0%, var(--app-page-end) 24%);
}

body.kithub-polished-site:not(.home) {
  background:
    radial-gradient(circle at 18% 0%, var(--app-page-glow), transparent 30%),
    linear-gradient(180deg, var(--app-page-start) 0%, var(--app-page-end) 34%);
}

body.kithub-polished-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.kithub-polished-site > #page {
  flex: 1 0 auto;
}

body.kithub-polished-site > .kithub-storefront-header,
body.kithub-polished-site > .kithub-storefront-footer {
  flex: 0 0 auto;
}

.kithub-storefront-polished .wp-site-blocks,
.kithub-policy-page .wp-site-blocks,
.kithub-polished-site .kithub-page-surface,
.kithub-polished-site .kithub-storefront-breadcrumb,
.kithub-polished-site.wp-theme-storefront .storefront-breadcrumb {
  background: transparent;
}

.kithub-storefront-polished.wp-theme-storefront #page {
  background: transparent;
}

.kithub-policy-page.wp-theme-storefront #page {
  background: transparent;
}

.amazon-product-polished.wp-theme-storefront .site-content,
.kithub-storefront-polished.wp-theme-storefront .site-content {
  background: transparent;
}

.kithub-polished-site .wp-site-blocks > header:not(.kithub-storefront-header),
.kithub-polished-site .wp-site-blocks > .wp-block-template-part:first-child,
.kithub-polished-site #header,
.kithub-polished-site #masthead,
.kithub-polished-site #site-header,
.kithub-polished-site header.site-header,
.kithub-polished-site .site-header,
.kithub-polished-site .ct-header,
.kithub-polished-site .site-main-header-wrap,
.kithub-polished-site .kadence-sticky-header,
.kithub-polished-site .oceanwp-header,
.kithub-polished-site .storefront-primary-navigation {
  display: none !important;
}

/* Shared header component. Theme container adjustments remain in cascade order. */
.kithub-storefront-header {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--kithub-brand-primary) 9%, #ffffff), #ffffff 42%, color-mix(in srgb, var(--kithub-brand-accent) 7%, #ffffff));
  border-bottom: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  border-top: 4px solid var(--kithub-brand-primary);
  box-sizing: border-box;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
  color: var(--app-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.kithub-storefront-header *,
.kithub-storefront-header *::before,
.kithub-storefront-header *::after,
.kithub-storefront-home *,
.kithub-storefront-home *::before,
.kithub-storefront-home *::after,
.kithub-storefront-footer *,
.kithub-storefront-footer *::before,
.kithub-storefront-footer *::after {
  box-sizing: inherit;
}

.kithub-storefront-header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--kithub-header-max);
  min-height: 80px;
  width: min(calc(100% - (var(--kithub-layout-pad) * 2)), var(--kithub-header-max));
}

.kithub-brand-link {
  align-items: center;
  color: var(--app-text);
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.kithub-brand-link:hover {
  color: var(--kithub-brand-primary);
}

.kithub-brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, var(--kithub-brand-primary), color-mix(in srgb, var(--kithub-brand-primary) 74%, var(--kithub-brand-accent)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #ffffff 24%, transparent);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  height: 44px;
  min-width: 44px;
  padding: 8px;
  width: 44px;
}

.kithub-brand-logo {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 36px;
  max-width: 172px;
}

.kithub-brand-logo img {
  display: block;
  max-height: 44px;
  max-width: 172px;
  object-fit: contain;
  width: auto;
}

.kithub-brand-name {
  color: currentColor;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
}

.kithub-storefront-actions {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 18px;
  justify-content: flex-end;
  min-width: 0;
}

.kithub-site-search {
  align-items: center;
  background: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent);
  display: flex;
  margin: 0;
  flex: 0 1 360px;
  max-width: 360px;
  min-width: 220px;
}

.kithub-site-search input[type="search"] {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--app-text);
  flex: 1 1 auto;
  font: inherit;
  font-size: 14px;
  min-width: 0;
  outline: none;
  padding: 10px 12px;
}

.kithub-site-search input[type="search"]::placeholder {
  color: var(--app-muted);
  opacity: 1;
}

.kithub-site-search button {
  align-self: stretch;
  background: var(--kithub-brand-primary);
  border: 0;
  color: #ffffff;
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-width: 100px;
  padding: 0 14px;
}

.kithub-site-search button:hover,
.kithub-site-search button:focus {
  background: color-mix(in srgb, var(--kithub-brand-primary) 84%, #000000);
}

.kithub-storefront-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 11px 19px;
  justify-content: end;
}

.kithub-storefront-nav a {
  color: var(--app-text);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

/* Storefront's .col-full has its own fixed em width and side padding. Use the
 * Maintenance layout token as the single canvas for header, content and footer. */
.kithub-polished-site.wp-theme-storefront .site-content > .col-full {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--kithub-layout-max) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(calc(100% - (var(--kithub-layout-pad) * 2)), var(--kithub-layout-max)) !important;
}

.amazon-product-polished.wp-theme-storefront .storefront-breadcrumb,
.kithub-polished-site.wp-theme-storefront .storefront-breadcrumb,
.kithub-storefront-polished.wp-theme-storefront .storefront-breadcrumb,
.kithub-polished-site .kithub-storefront-breadcrumb,
.kithub-storefront-polished .kithub-storefront-breadcrumb {
  margin: 0 0 16px;
  padding: 19px 0 0;
}

.amazon-product-polished.wp-theme-storefront .storefront-breadcrumb > .col-full,
.kithub-polished-site.wp-theme-storefront .storefront-breadcrumb > .col-full,
.kithub-storefront-polished.wp-theme-storefront .storefront-breadcrumb > .col-full,
.kithub-polished-site .kithub-storefront-breadcrumb > .col-full,
.kithub-storefront-polished .kithub-storefront-breadcrumb > .col-full {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--kithub-layout-max) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(calc(100% - (var(--kithub-layout-pad) * 2)), var(--kithub-layout-max)) !important;
}

.amazon-product-polished.wp-theme-storefront .storefront-breadcrumb .woocommerce-breadcrumb,
.kithub-polished-site.wp-theme-storefront .storefront-breadcrumb .woocommerce-breadcrumb,
.kithub-storefront-polished.wp-theme-storefront .storefront-breadcrumb .woocommerce-breadcrumb,
.kithub-polished-site .kithub-storefront-breadcrumb .woocommerce-breadcrumb,
.kithub-storefront-polished .kithub-storefront-breadcrumb .woocommerce-breadcrumb {
  color: var(--app-muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 520;
  line-height: 1.55;
  margin: 0;
  width: 100%;
}

.kithub-polished-site .kithub-storefront-breadcrumb .woocommerce-breadcrumb a,
.kithub-storefront-polished .kithub-storefront-breadcrumb .woocommerce-breadcrumb a {
  color: var(--app-body);
  font-weight: 650;
  text-decoration: none;
}

.kithub-polished-site .kithub-storefront-breadcrumb .woocommerce-breadcrumb a:hover,
.kithub-polished-site .kithub-storefront-breadcrumb .woocommerce-breadcrumb a:focus-visible,
.kithub-storefront-polished .kithub-storefront-breadcrumb .woocommerce-breadcrumb a:hover,
.kithub-storefront-polished .kithub-storefront-breadcrumb .woocommerce-breadcrumb a:focus-visible {
  color: var(--kithub-brand-primary);
}

.kithub-polished-site .kithub-breadcrumb-separator,
.kithub-storefront-polished .kithub-breadcrumb-separator {
  color: var(--app-muted);
  display: inline-block;
  font-weight: 700;
  margin: 0 0.3rem;
}

.kithub-storefront-nav a:hover,
.kithub-storefront-nav a:focus {
  color: var(--kithub-brand-primary);
}

.kithub-storefront-nav a {
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.kithub-storefront-nav a:hover,
.kithub-storefront-nav a:focus {
  border-bottom-color: var(--kithub-brand-accent);
}

.kithub-storefront-polished .wp-block-post-title,
.kithub-storefront-polished .entry-title,
.kithub-storefront-polished .page-title,
.kithub-storefront-polished .hero-section[data-type="type-1"],
.kithub-storefront-polished .page-header,
.kithub-storefront-polished .entry-header,
.kithub-storefront-polished .entry-hero,
.kithub-storefront-polished .kadence-title-bar,
.kithub-storefront-polished .woocommerce-products-header {
  display: none;
}

.kithub-storefront-polished ul.products li.product .woocommerce-loop-product__title,
.kithub-storefront-polished ul.products li.product .entry-title,
.kithub-storefront-polished .products .product .woocommerce-loop-product__title,
.kithub-storefront-polished .products .product .entry-title,
.kithub-storefront-polished .wp-block-post.product .wp-block-post-title,
.kithub-storefront-polished .wc-block-product .wp-block-post-title,
.kithub-storefront-polished .wc-block-product .entry-title,
.kithub-storefront-polished .wc-block-product-template .wp-block-post-title,
.kithub-storefront-polished .wc-block-product-template .entry-title,
.kithub-storefront-polished [data-block-name="woocommerce/product-template"] .wp-block-post-title,
.kithub-storefront-polished [data-block-name="woocommerce/product-template"] .entry-title,
.kithub-storefront-polished .wc-block-grid__product-title,
.kithub-storefront-polished .wc-block-components-product-title {
  display: block !important;
}

.kithub-storefront-polished #secondary,
.kithub-storefront-polished .secondary,
.kithub-storefront-polished .sidebar,
.kithub-storefront-polished .widget-area {
  display: none !important;
}

.kithub-storefront-polished #primary,
.kithub-storefront-polished .content-area,
.kithub-storefront-polished .site-main {
  box-sizing: border-box;
  float: none !important;
  margin-inline: auto;
  max-width: none;
  width: 100% !important;
}

/* Storefront renders its blog widget sidebar on single products unless the
 * theme layout is overridden. Product pages always use the full commerce
 * canvas; blog search/recent-post widgets do not belong beside the product. */
.amazon-product-polished.single-product #secondary,
.amazon-product-polished.single-product .secondary,
.amazon-product-polished.single-product .sidebar,
.amazon-product-polished.single-product .widget-area {
  display: none !important;
}

.amazon-product-polished.single-product .storefront-product-pagination {
  display: none !important;
}

.amazon-product-polished.single-product #primary,
.amazon-product-polished.single-product .content-area,
.amazon-product-polished.single-product .site-main {
  box-sizing: border-box;
  float: none !important;
  margin-inline: auto;
  max-width: none;
  width: 100% !important;
}

.kithub-storefront-polished main.wp-block-group {
  margin-top: 0 !important;
}

.kithub-storefront-polished main.wp-block-group.has-global-padding,
.kithub-storefront-polished .entry-content.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.kithub-storefront-polished .entry-content.alignfull,
.kithub-storefront-polished main.wp-block-group > .alignfull,
.amazon-product-polished.single-product .entry-content.alignfull,
.amazon-product-polished.single-product main.wp-block-group > .alignfull {
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.kithub-storefront-polished main.wp-block-group > .wp-block-group.alignfull {
  padding: 20px var(--kithub-layout-pad) 64px !important;
}

/* A block page keeps its title wrapper and block gap even when our home
 * template hides the title. Let the home component own the header-to-hero gap. */
.home.kithub-storefront-polished main.wp-block-group > .wp-block-group.alignfull:has(> .wp-block-post-content > .kithub-storefront-home) {
  padding-top: 0 !important;
}

.home.kithub-storefront-polished .wp-block-post-title + .wp-block-post-content:has(> .kithub-storefront-home) {
  margin-block-start: 0;
}

.kithub-storefront-polished .wp-site-blocks > main,
.kithub-storefront-polished main.wp-block-group,
.kithub-storefront-polished .entry-content > .wp-block-group,
.kithub-storefront-polished .site-content,
.kithub-storefront-polished .content-area,
.kithub-storefront-polished .site-main {
  box-sizing: border-box;
}

.kithub-storefront-polished.woocommerce-page:not(.single-product) .site-main,
.kithub-storefront-polished.woocommerce-page:not(.single-product) .content-area,
.kithub-storefront-polished.woocommerce-page:not(.single-product) .entry-content,
.kithub-storefront-polished.woocommerce-page:not(.single-product) .woocommerce:not(.widget),
.kithub-storefront-polished.woocommerce-page:not(.single-product) main.wp-block-group > .alignwide,
.kithub-storefront-polished .wp-block-woocommerce-cart,
.kithub-storefront-polished .wp-block-woocommerce-checkout,
.kithub-storefront-polished .wp-block-woocommerce-order-confirmation,
.kithub-storefront-polished.woocommerce-account .woocommerce:not(.widget),
.kithub-storefront-polished.woocommerce-cart .woocommerce:not(.widget),
.kithub-storefront-polished.woocommerce-checkout .woocommerce:not(.widget),
.kithub-storefront-polished.post-type-archive-product .woocommerce:not(.widget),
.kithub-storefront-polished.tax-product_cat .woocommerce:not(.widget),
.kithub-storefront-polished.tax-product_tag .woocommerce:not(.widget) {
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.kithub-storefront-polished.woocommerce-page:not(.single-product) .entry-content > .wp-block-woocommerce-cart,
.kithub-storefront-polished.woocommerce-page:not(.single-product) .entry-content > .wp-block-woocommerce-checkout,
.kithub-storefront-polished.woocommerce-page:not(.single-product) .entry-content > .wp-block-woocommerce-order-confirmation,
.kithub-storefront-polished.woocommerce-account .entry-content > .woocommerce:not(.widget) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.kithub-storefront-polished.woocommerce-page:not(.single-product) .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.kithub-storefront-polished.post-type-archive-product main.wp-block-group > .alignwide,
.kithub-storefront-polished.woocommerce-page:not(.single-product).post-type-archive-product main.wp-block-group > .alignwide,
.kithub-storefront-polished.tax-product_cat main.wp-block-group > .alignwide,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_cat main.wp-block-group > .alignwide,
.kithub-storefront-polished.tax-product_tag main.wp-block-group > .alignwide,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_tag main.wp-block-group > .alignwide,
.kithub-storefront-polished.post-type-archive-product .wp-block-woocommerce-product-collection,
.kithub-storefront-polished.woocommerce-page:not(.single-product).post-type-archive-product .wp-block-woocommerce-product-collection,
.kithub-storefront-polished.tax-product_cat .wp-block-woocommerce-product-collection,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_cat .wp-block-woocommerce-product-collection,
.kithub-storefront-polished.tax-product_tag .wp-block-woocommerce-product-collection,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_tag .wp-block-woocommerce-product-collection,
.kithub-storefront-polished.post-type-archive-product .wp-block-query-title,
.kithub-storefront-polished.woocommerce-page:not(.single-product).post-type-archive-product .wp-block-query-title,
.kithub-storefront-polished.tax-product_cat .wp-block-query-title,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_cat .wp-block-query-title,
.kithub-storefront-polished.tax-product_tag .wp-block-query-title,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_tag .wp-block-query-title,
.kithub-storefront-polished.post-type-archive-product .wc-block-breadcrumbs,
.kithub-storefront-polished.woocommerce-page:not(.single-product).post-type-archive-product .wc-block-breadcrumbs,
.kithub-storefront-polished.tax-product_cat .wc-block-breadcrumbs,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_cat .wc-block-breadcrumbs,
.kithub-storefront-polished.tax-product_tag .wc-block-breadcrumbs,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_tag .wc-block-breadcrumbs,
.kithub-storefront-polished.post-type-archive-product .wc-block-store-notices,
.kithub-storefront-polished.woocommerce-page:not(.single-product).post-type-archive-product .wc-block-store-notices,
.kithub-storefront-polished.tax-product_cat .wc-block-store-notices,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_cat .wc-block-store-notices,
.kithub-storefront-polished.woocommerce-page:not(.single-product).tax-product_tag .wc-block-store-notices,
.kithub-storefront-polished.tax-product_tag .wc-block-store-notices,
.kithub-storefront-polished.woocommerce-account .entry-content,
.kithub-storefront-polished.woocommerce-account .entry-content.alignfull,
.kithub-storefront-polished.woocommerce-account .entry-content.alignwide,
.kithub-storefront-polished.woocommerce-account .entry-content > .woocommerce:not(.widget) {
  box-sizing: border-box;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--kithub-layout-max) !important;
  width: min(calc(100vw - (var(--kithub-layout-pad) * 2)), var(--kithub-layout-max)) !important;
}

.kithub-storefront-polished.post-type-archive-product .wp-block-woocommerce-product-collection > .kithub-shop-archive-header,
.kithub-storefront-polished.tax-product_cat .wp-block-woocommerce-product-collection > .kithub-shop-archive-header,
.kithub-storefront-polished.tax-product_tag .wp-block-woocommerce-product-collection > .kithub-shop-archive-header,
.kithub-storefront-polished.post-type-archive-product .wc-block-breadcrumbs,
.kithub-storefront-polished.tax-product_cat .wc-block-breadcrumbs,
.kithub-storefront-polished.tax-product_tag .wc-block-breadcrumbs,
.kithub-storefront-polished.post-type-archive-product .wp-block-woocommerce-product-collection > .woocommerce-result-count,
.kithub-storefront-polished.tax-product_cat .wp-block-woocommerce-product-collection > .woocommerce-result-count,
.kithub-storefront-polished.tax-product_tag .wp-block-woocommerce-product-collection > .woocommerce-result-count,
.kithub-storefront-polished.post-type-archive-product .wp-block-woocommerce-product-collection > .woocommerce-ordering,
.kithub-storefront-polished.tax-product_cat .wp-block-woocommerce-product-collection > .woocommerce-ordering,
.kithub-storefront-polished.tax-product_tag .wp-block-woocommerce-product-collection > .woocommerce-ordering {
  display: none !important;
}

.kithub-storefront-polished.post-type-archive-product .wc-block-product-template,
.kithub-storefront-polished.tax-product_cat .wc-block-product-template,
.kithub-storefront-polished.tax-product_tag .wc-block-product-template,
.kithub-storefront-polished.post-type-archive-product [data-block-name="woocommerce/product-template"],
.kithub-storefront-polished.tax-product_cat [data-block-name="woocommerce/product-template"],
.kithub-storefront-polished.tax-product_tag [data-block-name="woocommerce/product-template"] {
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .wp-block-post-title {
  display: none !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:not(.widget) {
  max-width: 640px !important;
  width: min(calc(100vw - (var(--kithub-layout-pad) * 2)), 640px) !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:not(.widget) > h2 {
  color: var(--app-text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 14px !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login {
  background: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent);
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 1.45rem !important;
  width: 100% !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row {
  margin-bottom: 1rem;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login label {
  color: var(--app-text);
  font-size: 0.95rem;
  font-weight: 650;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login input.input-text {
  background: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--app-text) 24%, var(--app-border));
  border-radius: 6px;
  box-sizing: border-box;
  color: var(--app-text);
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .password-input {
  display: block;
  position: relative;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .password-input input.input-text {
  padding-right: 3rem;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .show-password-input {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px;
  box-shadow: none !important;
  color: color-mix(in srgb, var(--app-text) 72%, var(--app-muted)) !important;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .show-password-input::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
  content: "" !important;
  display: block;
  height: 13px;
  width: 20px;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .show-password-input::after {
  background: currentColor;
  border: 0 !important;
  border-radius: 50%;
  box-shadow: none !important;
  content: "" !important;
  display: block;
  height: 6px;
  left: 50%;
  margin: 0 !important;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) !important;
  width: 6px;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .show-password-input:hover,
.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .show-password-input:focus {
  background: color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent) !important;
  color: var(--kithub-brand-primary) !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login input.input-text:focus {
  border-color: var(--kithub-brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kithub-brand-primary) 16%, transparent);
  outline: none;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login p.form-row:last-of-type {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-bottom: 1.1rem;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-form-login__rememberme {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
  margin: 0 !important;
  order: 2;
  width: auto !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-form-login__rememberme input {
  flex: 0 0 auto;
  margin: 0 !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .button {
  background: var(--kithub-brand-primary);
  border: 0 !important;
  border-radius: 6px;
  box-shadow: none !important;
  color: #ffffff !important;
  font-weight: 700;
  min-height: 46px;
  min-width: 106px;
  order: 1;
  padding: 0.72rem 1.35rem;
  text-align: center;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .button:hover,
.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login .button:focus {
  background: color-mix(in srgb, var(--kithub-brand-primary) 84%, #000000) !important;
  color: #ffffff !important;
}

.kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a {
  color: var(--kithub-brand-primary);
  font-weight: 650;
}

@media (max-width: 700px) {
  .kithub-storefront-polished.woocommerce-account:not(.logged-in) .woocommerce-form-login {
    padding: 1.1rem !important;
  }
}

.kithub-shop-archive-header {
  box-sizing: border-box;
  margin: 0 auto 22px;
  max-width: var(--kithub-content-max);
  width: 100%;
}

.kithub-shop-archive-header h1 {
  color: var(--app-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  margin: 0;
}

/* Product archives retain the legacy shop rhythm: one full-width toolbar,
 * three generous product columns, centered catalog details, and a prominent
 * dark action. Keep this separate from related products and cart cross-sells. */
.kithub-storefront-polished.post-type-archive-product #secondary,
.kithub-storefront-polished.tax-product_cat #secondary,
.kithub-storefront-polished.tax-product_tag #secondary {
  display: none !important;
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting,
.kithub-storefront-polished.tax-product_cat .storefront-sorting,
.kithub-storefront-polished.tax-product_tag .storefront-sorting {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  margin: 0 0 1.5rem;
  padding: 0;
  width: 100%;
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting::before,
.kithub-storefront-polished.post-type-archive-product .storefront-sorting::after,
.kithub-storefront-polished.tax-product_cat .storefront-sorting::before,
.kithub-storefront-polished.tax-product_cat .storefront-sorting::after,
.kithub-storefront-polished.tax-product_tag .storefront-sorting::before,
.kithub-storefront-polished.tax-product_tag .storefront-sorting::after {
  content: none !important;
  display: none !important;
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-notices-wrapper:empty,
.kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-notices-wrapper:empty,
.kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-notices-wrapper:empty {
  display: none;
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-result-count,
.kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-ordering,
.kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-result-count,
.kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-ordering,
.kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-result-count,
.kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-ordering {
  float: none;
  margin: 0;
  width: auto;
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-result-count,
.kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-result-count,
.kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-result-count {
  color: var(--app-muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-right: auto;
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-ordering,
.kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-ordering,
.kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-ordering {
  font-size: 0.875rem;
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-ordering select,
.kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-ordering select,
.kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-ordering select {
  background-color: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--kithub-brand-primary) 5%, transparent);
  color: var(--app-text);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-ordering select:hover,
.kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-ordering select:hover,
.kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-ordering select:hover {
  background-color: color-mix(in srgb, var(--kithub-brand-primary) 3%, var(--app-surface));
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 32%, var(--app-border));
}

.kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-ordering select:focus-visible,
.kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-ordering select:focus-visible,
.kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-ordering select:focus-visible {
  border-color: var(--kithub-brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kithub-brand-primary) 12%, transparent);
  outline: 0;
}

.kithub-storefront-polished.post-type-archive-product ul.products,
.kithub-storefront-polished.tax-product_cat ul.products,
.kithub-storefront-polished.tax-product_tag ul.products {
  display: grid !important;
  gap: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 2.4vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  width: 100%;
}

.kithub-storefront-polished.post-type-archive-product ul.products::before,
.kithub-storefront-polished.post-type-archive-product ul.products::after,
.kithub-storefront-polished.tax-product_cat ul.products::before,
.kithub-storefront-polished.tax-product_cat ul.products::after,
.kithub-storefront-polished.tax-product_tag ul.products::before,
.kithub-storefront-polished.tax-product_tag ul.products::after {
  content: none !important;
  display: none !important;
}

.kithub-storefront-polished.post-type-archive-product ul.products li.product,
.kithub-storefront-polished.tax-product_cat ul.products li.product,
.kithub-storefront-polished.tax-product_tag ul.products li.product {
  align-items: center;
  display: flex;
  float: none !important;
  flex-direction: column;
  margin: 0 !important;
  min-width: 0;
  position: relative;
  text-align: center;
  width: auto !important;
}

.kithub-storefront-polished ul.products li.product .onsale.kithub-sale-badge,
.amazon-product-polished .onsale.kithub-sale-badge {
  align-items: center;
  background: var(--kithub-brand-primary);
  border: 3px solid var(--app-surface);
  border-radius: 999px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--kithub-brand-primary) 30%, transparent);
  box-sizing: border-box;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  height: 3.65rem;
  justify-content: center;
  letter-spacing: 0.035em;
  line-height: 1;
  margin: 0;
  max-width: calc(100% - 1.4rem);
  min-height: 3.65rem;
  min-width: 3.65rem;
  padding: 0.45rem 0.75rem;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  width: auto;
  z-index: 9;
}

.kithub-storefront-polished ul.products li.product .onsale.kithub-sale-badge {
  left: auto !important;
  position: absolute;
  right: 0.7rem !important;
  top: 0.7rem !important;
}

.kithub-storefront-polished.post-type-archive-product ul.products li.product .woocommerce-LoopProduct-link,
.kithub-storefront-polished.tax-product_cat ul.products li.product .woocommerce-LoopProduct-link,
.kithub-storefront-polished.tax-product_tag ul.products li.product .woocommerce-LoopProduct-link {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
}

.kithub-storefront-polished.post-type-archive-product ul.products li.product img,
.kithub-storefront-polished.tax-product_cat ul.products li.product img,
.kithub-storefront-polished.tax-product_tag ul.products li.product img {
  aspect-ratio: 1;
  height: auto;
  margin: 0 0 1.1rem;
  object-fit: cover;
  width: 100%;
}

.kithub-storefront-polished.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
.kithub-storefront-polished.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.kithub-storefront-polished.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
  color: var(--app-text);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  text-align: center;
}

.kithub-storefront-polished.post-type-archive-product ul.products li.product .price,
.kithub-storefront-polished.tax-product_cat ul.products li.product .price,
.kithub-storefront-polished.tax-product_tag ul.products li.product .price {
  color: var(--app-body);
  font-size: 1rem;
  font-weight: 650;
  margin: 0.75rem 0 1rem;
  text-align: center;
}

.kithub-storefront-polished.post-type-archive-product ul.products li.product .button,
.kithub-storefront-polished.tax-product_cat ul.products li.product .button,
.kithub-storefront-polished.tax-product_tag ul.products li.product .button {
  align-items: center;
  background: #111111;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: #ffffff;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  margin: auto 0 0;
  min-height: 52px;
  padding: 1rem 2.25rem;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.kithub-storefront-polished.post-type-archive-product ul.products li.product .button:hover,
.kithub-storefront-polished.post-type-archive-product ul.products li.product .button:focus-visible,
.kithub-storefront-polished.tax-product_cat ul.products li.product .button:hover,
.kithub-storefront-polished.tax-product_cat ul.products li.product .button:focus-visible,
.kithub-storefront-polished.tax-product_tag ul.products li.product .button:hover,
.kithub-storefront-polished.tax-product_tag ul.products li.product .button:focus-visible {
  background: color-mix(in srgb, #111111 85%, transparent);
  color: #ffffff;
  transform: translateY(-1px);
}

.kithub-storefront-polished.post-type-archive-product ul.products li.product .button:focus-visible,
.kithub-storefront-polished.tax-product_cat ul.products li.product .button:focus-visible,
.kithub-storefront-polished.tax-product_tag ul.products li.product .button:focus-visible {
  outline: 2px solid var(--kithub-brand-accent);
  outline-offset: 2px;
}

.kithub-storefront-polished.post-type-archive-product ul.products + .storefront-sorting,
.kithub-storefront-polished.tax-product_cat ul.products + .storefront-sorting,
.kithub-storefront-polished.tax-product_tag ul.products + .storefront-sorting {
  border: 0;
  justify-content: center;
  margin: 2.5rem 0 0;
  padding: 0;
}

.kithub-storefront-polished.post-type-archive-product ul.products + .storefront-sorting:empty,
.kithub-storefront-polished.tax-product_cat ul.products + .storefront-sorting:empty,
.kithub-storefront-polished.tax-product_tag ul.products + .storefront-sorting:empty {
  display: none;
}

@media (max-width: 900px) {
  .kithub-storefront-polished.post-type-archive-product ul.products,
  .kithub-storefront-polished.tax-product_cat ul.products,
  .kithub-storefront-polished.tax-product_tag ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .amazon-product-polished.single-product div.product > .onsale.kithub-sale-badge {
    left: 0.75rem !important;
    right: auto !important;
    top: 0.75rem !important;
  }
}

@media (max-width: 560px) {
  .kithub-storefront-polished.post-type-archive-product .storefront-sorting,
  .kithub-storefront-polished.tax-product_cat .storefront-sorting,
  .kithub-storefront-polished.tax-product_tag .storefront-sorting {
    align-items: stretch;
    flex-direction: column;
  }

  .kithub-storefront-polished.post-type-archive-product .storefront-sorting .woocommerce-ordering,
  .kithub-storefront-polished.post-type-archive-product .storefront-sorting select,
  .kithub-storefront-polished.tax-product_cat .storefront-sorting .woocommerce-ordering,
  .kithub-storefront-polished.tax-product_cat .storefront-sorting select,
  .kithub-storefront-polished.tax-product_tag .storefront-sorting .woocommerce-ordering,
  .kithub-storefront-polished.tax-product_tag .storefront-sorting select {
    width: 100%;
  }

  .kithub-storefront-polished.post-type-archive-product ul.products,
  .kithub-storefront-polished.tax-product_cat ul.products,
  .kithub-storefront-polished.tax-product_tag ul.products {
    grid-template-columns: minmax(0, 1fr);
  }
}

.kithub-policy-page .wp-site-blocks > main,
.kithub-policy-page main.wp-block-group,
.kithub-policy-page main.wp-block-group > .wp-block-group.alignfull,
.kithub-policy-page .site-content,
.kithub-policy-page .content-area,
.kithub-policy-page .site-main,
.kithub-policy-page article.page,
.kithub-policy-page .wp-block-post-title,
.kithub-policy-page .entry-content,
.kithub-policy-page .wp-block-post-content {
  box-sizing: border-box;
}

.kithub-policy-page main.wp-block-group,
.kithub-policy-page .site-content,
.kithub-policy-page.wp-theme-storefront .site-content > .col-full {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--kithub-layout-max) !important;
  width: min(calc(100% - (var(--kithub-layout-pad) * 2)), var(--kithub-layout-max)) !important;
}

.kithub-policy-page .content-area,
.kithub-policy-page .site-main,
.kithub-policy-page article.page {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.kithub-policy-page.wp-theme-storefront .site-content > .col-full {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.kithub-policy-page main.wp-block-group.has-global-padding,
.kithub-policy-page main.wp-block-group > .wp-block-group.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.kithub-policy-page main.wp-block-group > .wp-block-group.alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding: 36px 0 64px !important;
  width: 100% !important;
}

.kithub-policy-page .wp-block-post-title {
  color: var(--app-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  margin: 0 0 22px !important;
  max-width: var(--kithub-layout-max) !important;
  text-align: left;
}

.kithub-policy-page .entry-content,
.kithub-policy-page .wp-block-post-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: var(--kithub-layout-max) !important;
  padding: 0 !important;
  text-align: left;
  width: 100% !important;
}

.kithub-policy-page .entry-content > *,
.kithub-policy-page .wp-block-post-content > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: var(--kithub-layout-max) !important;
}

.kithub-policy-page .entry-content h1,
.kithub-policy-page .entry-content h2,
.kithub-policy-page .entry-content h3,
.kithub-policy-page .wp-block-post-content h1,
.kithub-policy-page .wp-block-post-content h2,
.kithub-policy-page .wp-block-post-content h3 {
  color: var(--app-text);
  line-height: 1.18;
}

.kithub-policy-page .entry-content p,
.kithub-policy-page .entry-content li,
.kithub-policy-page .wp-block-post-content p,
.kithub-policy-page .wp-block-post-content li {
  color: var(--app-body);
  font-size: 1rem;
  line-height: 1.7;
}

.kithub-storefront-polished.woocommerce-page:not(.single-product) .wp-block-woocommerce-catalog-sorting,
.kithub-storefront-polished.woocommerce-page:not(.single-product) .woocommerce-ordering {
  text-align: right;
}

.kithub-storefront-polished.woocommerce-page:not(.single-product) main.wp-block-group > .wp-block-group.alignfull,
.kithub-storefront-polished.woocommerce-cart main.wp-block-group > .wp-block-group.alignfull,
.kithub-storefront-polished.woocommerce-checkout main.wp-block-group > .wp-block-group.alignfull,
.kithub-storefront-polished.woocommerce-account main.wp-block-group > .wp-block-group.alignfull {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.kithub-storefront-home {
  box-sizing: border-box;
  color: var(--app-text);
  display: grid;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  gap: 38px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: var(--kithub-content-max);
  padding: 22px 0 56px;
  width: 100%;
}

.hentry .entry-content .kithub-storefront-home a,
.hentry .entry-content .kithub-storefront-home a:hover,
.hentry .entry-content .kithub-storefront-home a:focus,
.hentry .entry-content .kithub-storefront-home a:visited {
  text-decoration: none;
}

.kithub-home-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.88), rgba(16, 32, 51, 0.52) 52%, rgba(16, 32, 51, 0.18)),
    var(--kithub-hero-image, none) center / cover no-repeat,
    var(--app-text);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  min-height: min(62vh, 560px);
  padding: clamp(32px, 5vw, 67px);
}

.kithub-home-mode-new_arrivals .kithub-home-hero {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--kithub-brand-primary) 72%, #051b12) 0%, color-mix(in srgb, var(--kithub-brand-primary) 48%, transparent) 55%, color-mix(in srgb, var(--kithub-brand-accent) 16%, transparent)),
    var(--kithub-hero-image, none) center / cover no-repeat,
    var(--kithub-brand-primary);
}

.kithub-home-mode-featured_grid .kithub-home-hero {
  align-items: center;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--kithub-brand-footer) 82%, #000000) 0%, color-mix(in srgb, var(--kithub-brand-primary) 54%, transparent) 56%, color-mix(in srgb, var(--kithub-brand-accent) 18%, transparent)),
    var(--kithub-hero-image, none) center / cover no-repeat,
    var(--kithub-brand-footer);
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.9fr);
  min-height: min(48vh, 460px);
}

.kithub-home-mode-sale_focus .kithub-home-hero {
  grid-template-columns: minmax(0, 1fr);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--kithub-brand-primary) 70%, #220707), color-mix(in srgb, var(--kithub-brand-primary) 50%, transparent) 54%, color-mix(in srgb, var(--kithub-brand-accent) 24%, transparent)),
    var(--kithub-hero-image, none) center / cover no-repeat,
    var(--kithub-brand-primary);
}

.kithub-home-hero-copy {
  align-content: end;
  display: grid;
  gap: 16px;
  max-width: 672px;
}

.kithub-home-eyebrow {
  color: #d7ecff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.kithub-home-hero h1 {
  color: #ffffff;
  font-size: clamp(35px, 5vw, 75px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 11ch;
}

.kithub-home-hero p {
  color: #eef6ff;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.kithub-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  padding-top: 6px;
}

.kithub-home-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--app-text);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.kithub-home-button-primary {
  background: var(--kithub-brand-primary);
  color: var(--app-on-link);
}

.kithub-home-arrival-stack {
  align-self: end;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.56);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.kithub-home-mini-product {
  align-items: center;
  background: #ffffff;
  color: var(--app-text);
  display: grid;
  gap: 12px;
  grid-template-columns: 74px minmax(0, 1fr);
  min-height: 88px;
  padding: 8px;
  text-decoration: none;
}

.kithub-home-mini-image {
  aspect-ratio: 1 / 1;
  background: var(--app-surface-soft);
  display: block;
  overflow: hidden;
}

.kithub-home-mini-image img,
.kithub-home-feature-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.kithub-home-mini-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.kithub-home-mini-copy strong {
  font-size: 14px;
  line-height: 1.25;
}

.kithub-home-mini-copy span {
  color: var(--app-accent);
  font-size: 14px;
  font-weight: 850;
}

.kithub-home-feature-panel {
  align-self: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--app-text);
  display: grid;
  grid-template-rows: minmax(220px, 340px) auto;
  min-height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.kithub-home-feature-image {
  background: #f8fafc;
  display: block;
  min-height: 220px;
  overflow: hidden;
}

.kithub-home-feature-image img {
  object-fit: contain;
}

.kithub-home-feature-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.kithub-home-feature-copy small {
  color: var(--kithub-brand-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kithub-home-feature-copy strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
}

.kithub-home-feature-copy span {
  color: var(--app-accent);
  font-weight: 900;
}

.kithub-home-catalog-hero {
  align-items: stretch;
  background:
    radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--kithub-brand-accent) 14%, transparent), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--kithub-brand-primary) 8%, var(--app-surface-soft))),
    var(--app-surface-soft);
  border-top: 4px solid var(--kithub-brand-primary);
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  min-height: 360px;
  padding: clamp(24px, 4vw, 46px);
}

.kithub-home-catalog-hero .kithub-home-eyebrow {
  color: var(--kithub-brand-primary);
}

.kithub-home-catalog-copy {
  align-content: center;
  display: grid;
}

.kithub-home-catalog-hero h1 {
  color: var(--app-text);
  font-size: clamp(32px, 4.2vw, 62px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  max-width: 12ch;
}

.kithub-home-catalog-hero p {
  color: var(--app-body);
  line-height: 1.55;
  margin: 12px 0 0;
  max-width: 720px;
}

.kithub-home-catalog-hero .kithub-home-actions {
  padding-top: 24px;
}

.kithub-home-catalog-showcase {
  align-self: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kithub-home-catalog-showcase .kithub-home-mini-product {
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 14%, var(--app-border));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--kithub-brand-primary) 9%, transparent);
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 112px;
  padding: 10px;
}

.kithub-home-catalog-showcase .kithub-home-mini-product:first-child {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.kithub-home-catalog-showcase .kithub-home-mini-product:first-child .kithub-home-mini-image {
  aspect-ratio: 1.18 / 1;
}

.kithub-home-catalog-showcase .kithub-home-mini-product:first-child .kithub-home-mini-copy strong {
  font-size: 16px;
}

.kithub-home-section {
  display: grid;
  gap: 18px;
}

.kithub-home-section-head {
  align-items: center;
  border-left: 4px solid var(--kithub-brand-primary);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-left: 14px;
}

.kithub-home-section-head h2 {
  color: var(--app-text);
  font-size: clamp(23px, 2vw, 32px);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.kithub-home-section-head a {
  color: var(--kithub-brand-primary);
  font-weight: 800;
  text-decoration: none;
}

.kithub-storefront-footer {
  background:
    linear-gradient(135deg, var(--kithub-brand-footer), color-mix(in srgb, var(--kithub-brand-footer) 76%, var(--kithub-brand-primary)));
  border-top: 6px solid var(--kithub-brand-accent);
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.78);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin-top: clamp(40px, 5vw, 72px);
}

/* Classic Storefront prints #colophon before wp_footer. The polished footer is
 * the complete replacement, so keeping Storefront's site-info creates a second
 * copyright footer and a large empty band above the real footer. */
.kithub-polished-site.wp-theme-storefront #colophon.site-footer {
  display: none !important;
}

.kithub-storefront-footer-inner {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  margin: 0 auto;
  max-width: var(--kithub-footer-max);
  padding: clamp(32px, 5vw, 56px) 0;
  width: min(calc(100% - (var(--kithub-layout-pad) * 2)), var(--kithub-footer-max));
}

.kithub-storefront-footer .kithub-brand-link {
  color: #ffffff;
}

.kithub-storefront-footer .kithub-brand-mark {
  background: var(--kithub-brand-accent);
  color: #101010;
}

.kithub-footer-brand {
  display: grid;
  gap: 13px;
  max-width: 544px;
}

.kithub-footer-brand p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.kithub-footer-links {
  display: grid;
  gap: 9px;
}

.kithub-footer-columns {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
}

.kithub-footer-links strong {
  color: color-mix(in srgb, var(--kithub-brand-accent) 42%, rgba(255, 255, 255, 0.68));
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kithub-footer-links a {
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.kithub-footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 16px;
}

/* Home product cards and template variants; not WooCommerce archive cards. */
.kithub-home-product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kithub-home-featured-product-layout {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr);
}

.kithub-home-featured-large-column,
.kithub-home-featured-small-grid {
  display: grid;
  gap: 16px;
}

.kithub-home-featured-large-column {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.kithub-home-featured-small-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.kithub-home-featured-large-column .kithub-home-product,
.kithub-home-featured-small-grid .kithub-home-product {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
}

.kithub-home-featured-large-column .kithub-home-product {
  display: block;
  height: 100%;
  position: relative;
}

.kithub-home-featured-large-column .kithub-home-product-media {
  height: 100%;
}

.kithub-home-featured-large-column .kithub-home-product-media img {
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: center center;
}

.kithub-home-featured-small-grid .kithub-home-product-media {
  aspect-ratio: auto;
  height: 100%;
}

.kithub-home-featured-small-grid .kithub-home-product-media img {
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: center center;
}

.kithub-home-featured-large-column .kithub-home-product-copy {
  bottom: 0;
  color: #ffffff;
  left: 0;
  min-height: 0;
  padding: 44px 16px 16px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.kithub-home-featured-small-grid .kithub-home-product h3 {
  font-size: 15px;
}

.kithub-home-featured-small-grid .kithub-home-product-copy {
  align-content: start;
  gap: 4px;
  padding: 10px 12px 11px;
}

.kithub-home-featured-large-column .kithub-home-product::after {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 15, 0.62) 56%, rgba(6, 8, 15, 0.88) 100%);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 42%;
}

.kithub-home-featured-large-column .kithub-home-product h3 a,
.kithub-home-featured-large-column .kithub-home-product-price {
  color: #ffffff;
}

.kithub-home-product {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  display: grid;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.kithub-home-product:hover {
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 32%, var(--app-border));
  box-shadow: 0 18px 42px color-mix(in srgb, var(--kithub-brand-primary) 10%, transparent);
  transform: translateY(-1px);
}

.kithub-home-product-media {
  aspect-ratio: 1 / 1;
  background: var(--app-surface-soft);
  display: block;
  overflow: hidden;
}

.kithub-home-product-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.kithub-storefront-home .kithub-home-product-media img {
  object-fit: contain;
}

.kithub-home-product-copy {
  display: grid;
  gap: 7px;
  padding: 15px;
}

.kithub-home-product h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.kithub-home-product h3 a {
  color: var(--app-text);
  text-decoration: none;
}

.kithub-home-product-price {
  color: var(--app-accent);
  font-weight: 800;
}

.kithub-home-category-grid,
.kithub-home-trust {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kithub-home-mode-simple_shop .kithub-home-product-grid {
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.kithub-home-mode-sale_focus .kithub-home-product-grid {
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kithub-home-mode-sale_focus .kithub-home-product {
  border-color: rgba(185, 28, 28, 0.28);
}

.kithub-home-mode-sale_focus .kithub-home-product-price {
  color: #b91c1c;
}

.kithub-home-mode-simple_shop .kithub-home-product-copy {
  padding: 13px;
}

.kithub-home-mode-simple_shop .kithub-home-categories {
  order: 1;
}

.kithub-home-mode-simple_shop .kithub-home-products-section {
  order: 3;
}

.kithub-home-mode-simple_shop .kithub-collection-wall {
  order: 2;
}

.kithub-home-mode-simple_shop .kithub-home-category-grid a {
  background: #ffffff;
  border-top: 3px solid var(--kithub-brand-primary);
  min-height: 82px;
}

.kithub-home-category-grid a,
.kithub-home-trust div {
  background: var(--app-surface-soft);
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 12%, var(--app-border));
  color: var(--app-text);
  display: grid;
  gap: 4px;
  padding: 16px;
  text-decoration: none;
}

.kithub-home-category-grid span,
.kithub-home-trust strong {
  font-weight: 800;
}

.kithub-home-category-grid a:hover {
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 34%, var(--app-border));
  box-shadow: 0 16px 36px color-mix(in srgb, var(--kithub-brand-primary) 10%, transparent);
}

.kithub-home-category-grid strong,
.kithub-home-trust span {
  color: var(--app-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.amazon-product-polished .woocommerce div.product {
  margin-top: 2rem;
  position: relative;
}

.amazon-product-polished.single-product div.product > .onsale.kithub-sale-badge {
  left: 0.75rem !important;
  position: absolute;
  right: auto !important;
  top: 0.75rem !important;
}

.amazon-product-polished.wp-theme-storefront .woocommerce div.product {
  margin-top: 0;
}

.amazon-product-polished.single-product .wp-site-blocks > main,
.amazon-product-polished.single-product main.wp-block-group,
.amazon-product-polished.single-product main.wp-block-group > .wp-block-group.alignfull {
  box-sizing: border-box;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

.amazon-product-polished.single-product .wp-block-group.woocommerce.product,
.amazon-product-polished.single-product .woocommerce.alignwide,
.amazon-product-polished.single-product .wp-block-woocommerce-product-details.alignwide,
.amazon-product-polished.single-product .wp-block-woocommerce-product-collection.alignwide,
.amazon-product-polished.single-product .wc-block-store-notices.alignwide,
.amazon-product-polished.single-product .wp-block-breadcrumbs.alignwide {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--kithub-content-max) !important;
  width: min(calc(100% - (var(--kithub-layout-pad) * 2)), var(--kithub-content-max)) !important;
}

.amazon-product-polished.single-product .wp-block-group.woocommerce.product .alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Variation alert portal: appended to body, deliberately outside form.cart. */
.kithub-product-alert {
  align-items: center;
  background: rgba(15, 23, 42, 0.36);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.16s ease;
  z-index: 10000;
}

.kithub-product-alert.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.kithub-product-alert__dialog {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-left: 4px solid var(--app-danger, #c2410c);
  border-radius: var(--app-radius-sm);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
  color: var(--app-ink);
  display: grid;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  line-height: 1.45;
  max-width: min(520px, calc(100vw - 48px));
  padding: 20px 48px 20px 20px;
  position: relative;
  width: 100%;
}

.kithub-product-alert__title {
  color: var(--app-ink);
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.kithub-product-alert__message {
  color: var(--app-body);
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.kithub-product-alert__action {
  align-items: center;
  appearance: none;
  background: var(--app-link);
  border: 0;
  border-radius: 999px;
  color: var(--app-on-link);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  justify-self: end;
  line-height: 1;
  min-height: 42px;
  padding: 0 18px;
}

.kithub-product-alert__action:hover,
.kithub-product-alert__action:focus-visible {
  filter: brightness(0.94);
  outline: 3px solid rgba(15, 108, 189, 0.24);
  outline-offset: 2px;
}

.kithub-product-alert__close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--app-muted);
  cursor: pointer;
  display: flex;
  font-size: 22px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 36px;
}

.kithub-product-alert__close:hover,
.kithub-product-alert__close:focus-visible {
  color: var(--app-ink);
}

.amazon-product-polished .variations_form select.kithub-size-select-attention {
  box-shadow: 0 0 0 4px rgba(15, 108, 189, 0.2);
  outline: 2px solid var(--app-link);
  outline-offset: 2px;
}

/* Product gallery and Storefront gallery/summary layout integration. */
.amazon-product-polished div.product div.images .woocommerce-product-gallery__wrapper,
.amazon-product-polished div.product div.images .flex-viewport {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-md);
}

.amazon-product-polished .woocommerce-product-gallery {
  opacity: 1 !important;
  position: relative;
}

@media (min-width: 769px) {
  .amazon-product-polished.wp-theme-storefront div.product div.images {
    float: left !important;
    margin-right: 1.6949% !important;
    width: 43.3898% !important;
  }

  .amazon-product-polished.wp-theme-storefront div.product div.summary {
    float: right !important;
    margin-right: 0 !important;
    width: 54.9153% !important;
  }
}

/* Keep the primary image usable when an edge proxy throttles WooCommerce's
   gallery initializer. Successful FlexSlider initialization replaces this
   fallback with its own viewport and navigation. */
.amazon-product-polished .woocommerce-product-gallery[style*="opacity: 0"]
  .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
  display: none;
}

.amazon-product-polished div.product div.images .woocommerce-product-gallery__wrapper {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.amazon-product-polished div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper {
  max-width: none;
  overflow: visible;
}

.amazon-product-polished div.product div.images img:not(.zoomImg) {
  border-radius: 20px;
  width: 100%;
}

.amazon-product-polished div.product div.images .woocommerce-product-gallery__image {
  border-radius: 20px;
  overflow: hidden;
}

.amazon-product-polished div.product div.images .woocommerce-product-gallery__image > a {
  cursor: zoom-in;
  display: block;
  overflow: hidden;
}

.amazon-product-polished div.product div.images .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 16px;
}

.amazon-product-polished div.product div.images .flex-control-thumbs li {
  float: none !important;
  flex: 0 0 25%;
  margin: 0 !important;
  padding: 0 10px 10px 0;
  width: 25% !important;
}

.amazon-product-polished div.product div.images .flex-control-thumbs img {
  border: 2px solid transparent;
  border-radius: 12px;
  display: block;
  filter: none !important;
  opacity: 1 !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
  width: 100%;
}

.amazon-product-polished.kithub-detail-layout-modern div.product div.images .flex-control-thumbs img.flex-active {
  border-color: var(--kithub-brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kithub-brand-primary) 18%, transparent);
  opacity: 1;
}

.amazon-product-polished .summary.entry-summary {
  --kithub-summary-padding: 1.25rem;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-lg);
  box-shadow: var(--app-shadow-card);
  padding: var(--kithub-summary-padding);
}

.amazon-product-polished .product_title.entry-title {
  border-bottom: 2px solid color-mix(in srgb, var(--kithub-brand-primary) 22%, var(--app-border));
  color: var(--app-text);
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1.35rem;
  padding: 0 0 1rem;
  text-wrap: pretty;
}

.amazon-product-polished .price {
  color: var(--app-accent);
  font-size: 1.5rem;
  font-weight: 700;
}

.amazon-product-polished .variations_form table.variations td.value {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.amazon-product-polished .variations_form table.variations td.value select {
  flex: 1 1 auto;
  min-width: 0;
  pointer-events: auto;
  position: relative;
  width: auto;
  z-index: 2;
}

.amazon-product-polished .variations_form table.variations td.value .reset_variations {
  flex: 0 0 auto;
  margin-left: 0;
  white-space: nowrap;
}

.amazon-product-polished .variations_form table.variations {
  margin-bottom: 0.6rem;
}

.amazon-product-polished .woocommerce-variation-add-to-cart {
  position: relative;
  z-index: 1;
}

/* Purchase add-ons: form.cart owns these controls. :where preserves specificity. */
.amazon-product-polished :where(form.cart) .kithub-product-addons {
  display: grid;
  flex: 0 0 100%;
  gap: 1rem;
  margin: 1.25rem 0 1.45rem;
  order: -1;
  width: 100%;
}

.amazon-product-polished :where(form.cart) .kithub-addon-field {
  display: grid;
  gap: 0.55rem;
}

.amazon-product-polished :where(form.cart) .kithub-addon-label {
  color: var(--app-text);
  font-weight: 750;
}

.amazon-product-polished :where(form.cart) .kithub-addon-label span {
  color: var(--app-muted);
  font-weight: 650;
}

.amazon-product-polished :where(form.cart) .kithub-addon-field input[type="text"],
.amazon-product-polished :where(form.cart) .kithub-addon-field input[type="number"],
.amazon-product-polished :where(form.cart) .kithub-addon-field select {
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

.amazon-product-polished :where(form.cart) .kithub-addon-options {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
}

.amazon-product-polished :where(form.cart) .kithub-addon-disclosure {
  border: 1px solid var(--app-border);
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
}

.amazon-product-polished :where(form.cart) .kithub-addon-disclosure > summary {
  color: var(--kithub-brand-primary);
  cursor: pointer;
  font-weight: 750;
}

.amazon-product-polished :where(form.cart) .kithub-addon-disclosure[open] > summary {
  margin-bottom: 0.8rem;
}

.amazon-product-polished :where(form.cart) .kithub-addon-option {
  align-items: center;
  border: 1px solid var(--app-border);
  border-radius: 0.6rem;
  cursor: pointer;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  min-height: 9.5rem;
  padding: 0.65rem;
  text-align: center;
}

.amazon-product-polished :where(form.cart) .kithub-addon-option:has(input:checked) {
  border-color: var(--kithub-brand-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--kithub-brand-primary) 18%, transparent);
}

.amazon-product-polished :where(form.cart) .kithub-addon-option input {
  margin: 0;
}

.amazon-product-polished :where(form.cart) .kithub-addon-option img {
  aspect-ratio: 1;
  max-width: 4.5rem;
  object-fit: contain;
  width: 100%;
}

.amazon-product-polished :where(form.cart) .kithub-addon-option:not(:has(img)) {
  align-content: center;
  min-height: 7rem;
}

.amazon-product-polished :where(form.cart) .kithub-addon-option span {
  color: var(--app-body);
  font-size: 0.9rem;
  line-height: 1.35;
}

.amazon-product-polished :where(form.cart) .kithub-addon-clear {
  background: transparent;
  border: 0;
  color: var(--kithub-brand-primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.6rem;
  padding: 0;
}

.amazon-product-polished :where(form.cart) .kithub-addon-clear:hover,
.amazon-product-polished :where(form.cart) .kithub-addon-clear:focus-visible {
  text-decoration: underline;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addons {
  flex: 0 0 100%;
  margin: 1.25rem 0 1.45rem;
  order: -1;
  width: 100%;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-toggle {
  align-items: center;
  background: var(--app-surface-soft);
  border: 1px solid var(--app-border);
  border-radius: 0.65rem;
  color: var(--app-text);
  display: flex;
  gap: 0.75rem;
  line-height: 1.3;
  max-width: 100%;
  padding: 0.8rem 0.9rem;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-toggle input[type="checkbox"] {
  height: 1px;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-check {
  align-items: center;
  background: var(--app-surface);
  border: 1.5px solid var(--app-border);
  border-radius: 0.3rem;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 1.15rem;
  height: 1.15rem;
  justify-content: center;
  width: 1.15rem;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-check::after {
  border: solid var(--app-on-link);
  border-width: 0 2px 2px 0;
  content: "";
  display: none;
  height: 0.48rem;
  margin-top: -0.08rem;
  transform: rotate(45deg);
  width: 0.24rem;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-toggle:has(input:checked) {
  background: #f7fbff;
  border-color: var(--app-link);
  box-shadow: 0 0 0 3px rgba(15, 108, 189, 0.08);
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-toggle:has(input:checked) .kithub-kit-addon-check {
  background: var(--app-link);
  border-color: var(--app-link);
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-toggle:has(input:checked) .kithub-kit-addon-check::after {
  display: block;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-copy {
  display: grid;
  gap: 0.15rem;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-title {
  font-weight: 700;
}

.amazon-product-polished :where(form.cart) .kithub-kit-addon-note {
  color: var(--app-muted);
  font-size: 0.88rem;
}

.amazon-product-polished.single-product .taxonomy-product_cat.wp-block-post-terms {
  align-items: center;
  border-top: 1px solid var(--app-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.35rem;
  padding-top: 0.95rem;
}

.amazon-product-polished.single-product .taxonomy-product_cat .wp-block-post-terms__prefix {
  color: var(--app-muted);
  flex-basis: 100%;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.amazon-product-polished.single-product .taxonomy-product_cat .wp-block-post-terms__separator {
  display: none;
}

.amazon-product-polished.single-product .taxonomy-product_cat a {
  background: var(--app-pill-bg);
  border: 1px solid var(--app-border);
  border-radius: 999px;
  color: var(--app-text);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.2;
  padding: 0.34rem 0.78rem;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.amazon-product-polished.single-product .taxonomy-product_cat a:hover,
.amazon-product-polished.single-product .taxonomy-product_cat a:focus-visible {
  background: var(--app-link);
  border-color: var(--app-link);
  color: var(--app-on-link);
}

.amazon-product-polished.single-product .product_meta {
  border-top: 1px solid var(--app-border);
  margin-top: 1.35rem;
  padding-top: 0.95rem;
}

.amazon-product-polished.single-product .product_meta .sku_wrapper {
  display: none;
}

.amazon-product-polished.single-product .product_meta .posted_in,
.amazon-product-polished.single-product .product_meta .tagged_as {
  color: var(--app-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.76rem;
  font-weight: 750;
  gap: 0.45rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.amazon-product-polished.single-product .product_meta .posted_in a,
.amazon-product-polished.single-product .product_meta .tagged_as a {
  background: var(--app-pill-bg);
  border: 1px solid var(--app-border);
  border-radius: 999px;
  color: var(--app-text);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 0.34rem 0.78rem;
  text-decoration: none;
  text-transform: none;
}

.amazon-product-polished.single-product .product_meta .posted_in a:hover,
.amazon-product-polished.single-product .product_meta .posted_in a:focus-visible,
.amazon-product-polished.single-product .product_meta .tagged_as a:hover,
.amazon-product-polished.single-product .product_meta .tagged_as a:focus-visible {
  background: var(--app-link);
  border-color: var(--app-link);
  color: var(--app-on-link);
}

/* Product descriptions: common content, followed by explicit layout variants. */
.amazon-short-description {
  margin: 1.4rem 0 1.8rem;
}

.amazon-feature-list,
.amazon-short-description ul {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.amazon-feature-list li,
.amazon-short-description li {
  background: var(--app-surface-soft);
  border: 1px solid var(--app-border-strong);
  border-radius: var(--app-radius-sm);
  color: var(--app-text);
  padding: 0.9rem 1rem 0.9rem 2.4rem;
  position: relative;
}

.amazon-feature-list li::before,
.amazon-short-description li::before {
  background: var(--app-link);
  border-radius: 999px;
  color: var(--app-on-link);
  content: "";
  height: 0.55rem;
  left: 1rem;
  position: absolute;
  top: 1.25rem;
  width: 0.55rem;
}

.amazon-product-polished.kithub-detail-layout-legacy .summary.entry-summary .amazon-short-description,
.amazon-product-polished.kithub-detail-layout-classic .summary.entry-summary .amazon-short-description {
  margin: 1.15rem 0 1.55rem;
}

.amazon-product-polished.kithub-detail-layout-legacy .summary.entry-summary .amazon-short-description ul,
.amazon-product-polished.kithub-detail-layout-classic .summary.entry-summary .amazon-short-description ul {
  display: block;
}

.amazon-product-polished.kithub-detail-layout-legacy .summary.entry-summary .amazon-short-description li,
.amazon-product-polished.kithub-detail-layout-classic .summary.entry-summary .amazon-short-description li {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--app-body);
  line-height: 1.55;
  margin: 0.25rem 0;
  padding: 0 0 0 1rem;
}

.amazon-product-polished.kithub-detail-layout-legacy .summary.entry-summary .amazon-short-description li::before,
.amazon-product-polished.kithub-detail-layout-classic .summary.entry-summary .amazon-short-description li::before {
  background: color-mix(in srgb, var(--kithub-brand-primary) 78%, var(--app-link));
  height: 0.38rem;
  left: 0;
  top: 0.62em;
  width: 0.38rem;
}

.amazon-structured-details .amazon-feature-list {
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.amazon-structured-details .amazon-feature-list li {
  align-content: start;
  background: var(--app-surface-soft);
  border: 1px solid var(--app-border);
  border-left: 3px solid var(--app-link);
  border-radius: var(--app-radius-sm);
  display: grid;
  gap: 0.28rem;
  grid-template-columns: 1fr;
  padding: 0.95rem 1rem;
}

.amazon-structured-details .amazon-feature-list li::before {
  display: none;
}

.amazon-structured-details .amazon-feature-list strong {
  color: var(--app-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.amazon-structured-details .amazon-feature-list span {
  color: var(--app-text);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
}

.amazon-product-polished .woocommerce-tabs {
  clear: both;
  margin-top: 3rem;
  width: 100%;
}

.amazon-product-polished.single-product div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--app-border);
  display: flex;
  float: none !important;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0 0 0.5rem;
  width: 100% !important;
}

.amazon-product-polished.single-product div.product .woocommerce-tabs .panel {
  float: none !important;
  margin: 0 !important;
  width: 100% !important;
}

.amazon-product-polished .woocommerce-Tabs-panel--description > h2:first-child {
  color: var(--app-text);
  display: block;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1.15rem;
}

.amazon-product-polished .woocommerce-tabs .tabs li {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
}

.amazon-product-polished.single-product div.product .woocommerce-tabs ul.tabs li::before,
.amazon-product-polished.single-product div.product .woocommerce-tabs ul.tabs li::after {
  content: none !important;
  display: none !important;
}

.amazon-product-polished .woocommerce-tabs .tabs li a {
  background: var(--app-pill-bg);
  border-radius: 999px;
  color: var(--app-text);
  display: inline-block;
  font-weight: 600;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.amazon-product-polished .woocommerce-tabs .tabs li a:hover,
.amazon-product-polished .woocommerce-tabs .tabs li a:focus {
  background: #dfefff;
  color: var(--app-link);
}

.amazon-product-polished .woocommerce-tabs .tabs li.active a,
.amazon-product-polished .woocommerce-tabs .tabs li.active a:hover,
.amazon-product-polished .woocommerce-tabs .tabs li.active a:focus {
  background: var(--app-link);
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(15, 108, 189, 0.12);
}

.amazon-product-copy {
  display: grid;
  gap: 1rem;
}

.amazon-product-section {
  background: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 13%, var(--app-border));
  border-radius: var(--app-radius-md);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--kithub-brand-primary) 7%, transparent);
  padding: 1.25rem;
}

.amazon-product-section:has(> .kithub-content-heading:only-child) {
  background: var(--app-surface);
  border-bottom: 0;
  border-radius: var(--app-radius-md) var(--app-radius-md) 0 0;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--kithub-brand-primary) 7%, transparent);
  color: var(--kithub-brand-primary);
  margin-bottom: -1rem;
  padding: 1.2rem 1.25rem 0.45rem;
}

.amazon-product-section:has(> .kithub-content-heading:only-child) + .amazon-product-section {
  background: var(--app-surface);
  border-top: 0;
  border-radius: 0 0 var(--app-radius-md) var(--app-radius-md);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--kithub-brand-primary) 7%, transparent);
  padding: 0.45rem 1.25rem 1.25rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--description {
  color: var(--app-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

.amazon-product-section h3 {
  color: var(--app-text);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.amazon-product-section p {
  color: var(--app-body);
  line-height: 1.75;
  margin: 0;
}

.amazon-product-section .kithub-content-heading {
  align-items: center;
  color: inherit;
  display: flex;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 760;
  gap: 0.7rem;
  letter-spacing: 0;
  margin: 0;
  text-transform: none;
}

.amazon-product-section:has(> .kithub-content-heading:only-child) .kithub-content-heading::before {
  content: none;
  display: none;
}

.amazon-product-section:has(> .kithub-content-heading:only-child) + .amazon-product-section > p,
.amazon-product-section:has(> .kithub-content-heading:only-child) + .amazon-product-section > .amazon-feature-list,
.kithub-detail-content-5 > p {
  background: color-mix(in srgb, var(--kithub-brand-primary) 3%, var(--app-surface-soft));
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 12%, var(--app-border));
  border-radius: var(--app-radius-sm);
  padding: 0.95rem 1rem;
}

.amazon-product-section .amazon-feature-list {
  gap: 0.65rem;
}

.amazon-product-section .amazon-feature-list li {
  background: transparent;
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 13%, var(--app-border));
  border-radius: calc(var(--app-radius-sm) - 2px);
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
}

.kithub-detail-options,
.kithub-detail-personalization {
  background: color-mix(in srgb, var(--kithub-brand-primary) 2%, var(--app-surface));
}

.kithub-detail-options .amazon-feature-list li,
.kithub-detail-personalization .amazon-feature-list li {
  min-width: 0;
  row-gap: 0.28rem;
}

.amazon-product-polished .kithub-detail-options .amazon-feature-list li {
  align-items: baseline;
  column-gap: 0.4rem;
  display: flex;
  flex-wrap: wrap;
}

.kithub-detail-options .amazon-feature-list strong,
.kithub-detail-options .amazon-feature-list span,
.kithub-detail-personalization .amazon-feature-list strong,
.kithub-detail-personalization .amazon-feature-list span {
  display: block;
  min-width: 0;
}

.amazon-product-polished .kithub-detail-options .amazon-feature-list strong,
.amazon-product-polished .kithub-detail-options .amazon-feature-list span {
  display: inline;
}

.amazon-product-polished .kithub-detail-options .amazon-feature-list strong {
  flex: 0 0 auto;
}

.amazon-product-polished .kithub-detail-options .amazon-feature-list span {
  flex: 0 1 auto;
}

.kithub-detail-options .amazon-feature-list span,
.kithub-detail-personalization .amazon-feature-list span {
  overflow-wrap: anywhere;
}

.kithub-detail-personalization .kithub-detail-option-group--stacked .kithub-detail-option-values {
  display: grid;
  gap: 0.3rem;
}

.kithub-detail-personalization .kithub-detail-option-group--stacked .kithub-detail-option-values > span {
  display: block;
}

.amazon-product-polished.single-product .single_add_to_cart_button:not(.disabled):not(:disabled) {
  background: var(--kithub-brand-primary) !important;
  border-color: var(--kithub-brand-primary) !important;
  color: var(--app-on-link) !important;
}

.amazon-product-polished.single-product .single_add_to_cart_button:not(.disabled):not(:disabled):hover,
.amazon-product-polished.single-product .single_add_to_cart_button:not(.disabled):not(:disabled):focus-visible {
  background: color-mix(in srgb, var(--kithub-brand-primary) 82%, var(--kithub-brand-accent)) !important;
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 82%, var(--kithub-brand-accent)) !important;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--kithub-brand-primary) 20%, transparent);
}

/* Purchase quantity and cart-row layout. Keep controls scoped to form.cart. */
.amazon-product-polished :where(form.cart) .kithub-quantity-stepper {
  align-items: stretch;
  border: 1px solid var(--app-border-strong);
  border-radius: var(--app-radius-sm);
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  margin: 0;
  overflow: hidden;
  vertical-align: middle;
  width: 132px;
}

.amazon-product-polished.single-product .woocommerce-variation-add-to-cart.variations_button,
.amazon-product-polished.single-product form.cart:not(.variations_form):not(.grouped_form) {
  align-items: center;
  column-gap: 0.65rem;
  display: flex;
  flex-wrap: wrap;
}

.amazon-product-polished.single-product .woocommerce-variation-add-to-cart.variations_button > .kithub-product-addons,
.amazon-product-polished.single-product form.cart:not(.variations_form):not(.grouped_form) > .kithub-product-addons {
  flex: 0 0 100%;
}

.amazon-product-polished.single-product form.cart:not(.variations_form):not(.grouped_form) > .kithub-size-guide {
  flex: 0 0 100%;
  width: 100%;
}

.amazon-product-polished.single-product .woocommerce-variation-add-to-cart.variations_button > .single_add_to_cart_button,
.amazon-product-polished.single-product form.cart:not(.variations_form):not(.grouped_form) > .single_add_to_cart_button {
  align-items: center;
  align-self: center;
  display: inline-flex;
  justify-content: center;
  margin: 0 !important;
}

.amazon-product-polished :where(form.cart) .kithub-quantity-stepper input.qty {
  appearance: textfield;
  background: var(--app-surface);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--app-text);
  flex: 1 1 auto;
  font-size: 1rem;
  font-weight: 750;
  height: 46px;
  margin: 0 !important;
  min-height: 46px !important;
  min-width: 0;
  padding: 0 0.2rem;
  text-align: center;
  width: 44px !important;
}

.amazon-product-polished :where(form.cart) .kithub-quantity-stepper input.qty::-webkit-inner-spin-button,
.amazon-product-polished :where(form.cart) .kithub-quantity-stepper input.qty::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.amazon-product-polished :where(form.cart) .kithub-quantity-button {
  align-items: center;
  appearance: none;
  background: color-mix(in srgb, var(--kithub-brand-primary) 5%, var(--app-surface));
  border: 0;
  border-radius: 0;
  color: var(--kithub-brand-primary);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 43px;
  font-size: 1.25rem;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
  transition: background-color 140ms ease, color 140ms ease;
  width: 43px;
}

.amazon-product-polished :where(form.cart) .kithub-quantity-button:hover:not(:disabled),
.amazon-product-polished :where(form.cart) .kithub-quantity-button:focus-visible:not(:disabled) {
  background: var(--kithub-brand-primary);
  color: var(--app-on-link);
  outline: 0;
}

.amazon-product-polished :where(form.cart) .kithub-quantity-button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--app-surface);
}

.amazon-product-polished :where(form.cart) .kithub-quantity-button:disabled {
  color: var(--app-muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.amazon-product-polished :where(form.cart) .kithub-quantity-minus {
  border-right: 1px solid var(--app-border);
}

.amazon-product-polished :where(form.cart) .kithub-quantity-plus {
  border-left: 1px solid var(--app-border);
}

/* Detail panels: shared surface first, description-only presentation follows. */
.amazon-product-polished .woocommerce-Tabs-panel--description,
.amazon-product-polished .woocommerce-Tabs-panel--additional_information,
.amazon-product-polished .woocommerce-Tabs-panel--reviews {
  background: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  border-radius: var(--app-radius-md);
  box-sizing: border-box;
  box-shadow:
    0 18px 42px color-mix(in srgb, var(--kithub-brand-primary) 12%, transparent),
    0 3px 10px color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent);
  max-width: var(--kithub-layout-max);
  padding: 1.5rem !important;
  width: 100%;
}

.amazon-product-polished .woocommerce-Tabs-panel--description > h2:first-child,
.amazon-product-polished .woocommerce-Tabs-panel--additional_information > h2:first-child {
  border-bottom: 1px solid var(--app-border);
  color: var(--kithub-brand-primary);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 760;
  margin: 0 0 1.25rem;
  padding: 0 0 0.8rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-copy {
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr);
}

/* Description shares the panel surface above; only reviews/information use a shadow. */
.amazon-product-polished .woocommerce-Tabs-panel--description {
  box-shadow: none;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section:has(> .kithub-content-heading:only-child) {
  margin-bottom: -0.45rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section:has(> .kithub-content-heading:only-child) + .amazon-product-section {
  margin-bottom: 0.35rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section > h3 {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--kithub-brand-primary) 4%, var(--app-surface-soft)),
    var(--app-surface)
  );
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 16%, var(--app-border));
  border-left-width: 3px;
  border-radius: var(--app-radius-sm);
  box-shadow: 0 7px 14px color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent);
  color: var(--kithub-brand-primary);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 0.7rem;
  max-width: 100%;
  padding: 0.72rem 0.95rem;
  text-transform: none;
  width: fit-content;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section:has(> .kithub-content-heading:only-child) > h3 {
  margin-bottom: 0;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section > h3::before {
  content: none;
  display: none;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section > p,
.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section > .amazon-feature-list {
  background: transparent;
  border: 0;
  border-left: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  border-radius: 0;
  box-shadow: none;
  color: var(--app-body);
  margin: 0.25rem 0.4rem 0.65rem;
  min-width: 0;
  padding: 0.25rem 0.25rem 0.55rem 1rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section > .amazon-feature-list {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--kithub-brand-primary) 3%, var(--app-surface-soft)),
    var(--app-surface)
  );
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  border-left-width: 3px;
  border-radius: var(--app-radius-sm);
  box-shadow: none;
  padding: 0.7rem 0.9rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section > .amazon-feature-list li {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  padding: 0.32rem 0 0.32rem 1.25rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section > .amazon-feature-list li::before {
  height: 0.45rem;
  left: 0;
  top: 0.85rem;
  width: 0.45rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--description .amazon-product-section > .amazon-feature-list li + li {
  border-top: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 10%, var(--app-border));
  margin-top: 0.2rem;
  padding-top: 0.55rem;
}

.amazon-product-polished.kithub-detail-layout-legacy .woocommerce-Tabs-panel--description .kithub-product-detail-legacy {
  display: grid;
  gap: 1rem;
}

.amazon-product-polished.kithub-detail-layout-legacy .woocommerce-Tabs-panel--description .kithub-product-detail-legacy .amazon-product-section {
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 14%, var(--app-border));
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 1rem;
}

.amazon-product-polished.kithub-detail-layout-legacy .woocommerce-Tabs-panel--description .kithub-product-detail-legacy .amazon-product-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.amazon-product-polished.kithub-detail-layout-legacy .woocommerce-Tabs-panel--description .kithub-product-detail-legacy .amazon-product-section > h3 {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--kithub-brand-primary);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  margin: 0 0 0.55rem;
  padding: 0;
  width: auto;
}

.amazon-product-polished.kithub-detail-layout-legacy .woocommerce-Tabs-panel--description .kithub-product-detail-legacy .amazon-product-section > p,
.amazon-product-polished.kithub-detail-layout-legacy .woocommerce-Tabs-panel--description .kithub-product-detail-legacy .amazon-product-section > .amazon-feature-list {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.amazon-product-polished.kithub-detail-layout-legacy .woocommerce-Tabs-panel--description .kithub-product-detail-legacy .amazon-product-section > .amazon-feature-list li {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.22rem 0 0.22rem 1.2rem;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description {
  background: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  border-radius: var(--app-radius-md);
  box-shadow:
    0 18px 42px color-mix(in srgb, var(--kithub-brand-primary) 12%, transparent),
    0 3px 10px color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent);
  padding: 1.5rem !important;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic {
  display: grid;
  gap: 1rem;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section,
.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .kithub-classic-detail-section {
  background: color-mix(in srgb, var(--kithub-brand-primary) 4%, var(--app-surface));
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 16%, var(--app-border));
  border-radius: var(--app-radius-sm);
  box-shadow: 0 7px 14px color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent);
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 1rem 1.1rem;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section > h3 {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--kithub-brand-primary);
  font-size: clamp(1.03rem, 1.28vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  padding: 0 0 0.55rem;
  position: relative;
  text-transform: none;
  width: auto;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section > h3::after {
  background: color-mix(in srgb, var(--kithub-brand-primary) 16%, var(--app-border));
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-classic-section-body {
  display: grid;
  gap: 0.65rem;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section p,
.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section .amazon-feature-list,
.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section .kithub-faq-list,
.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section .amazon-spec-table-wrap {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section .amazon-feature-list {
  display: grid;
  gap: 0.45rem;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section .amazon-feature-list li {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.58;
  padding: 0.16rem 0 0.16rem 1.2rem;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-product-section .amazon-feature-list li::before {
  background: color-mix(in srgb, var(--kithub-brand-primary) 72%, var(--app-link));
  height: 0.42rem;
  left: 0;
  top: 0.76rem;
  width: 0.42rem;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-spec-table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  width: 100%;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-spec-table th,
.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-spec-table td {
  background: transparent;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 11%, var(--app-border));
  padding: 0.6rem 0.75rem 0.6rem 0;
  text-align: left;
  vertical-align: top;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-spec-table tr:first-child th,
.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-spec-table tr:first-child td {
  border-top: 0;
}

.amazon-product-polished.kithub-detail-layout-classic .woocommerce-Tabs-panel--description .kithub-product-detail-classic .amazon-spec-table th {
  color: var(--kithub-brand-primary);
  font-weight: 760;
  width: 34%;
}

.amazon-product-polished table.woocommerce-product-attributes {
  border: 0;
  border-collapse: separate;
  border-spacing: 0 0.65rem;
  margin: -0.65rem 0 0;
  width: 100%;
}

.amazon-product-polished table.woocommerce-product-attributes th,
.amazon-product-polished table.woocommerce-product-attributes td {
  background: color-mix(in srgb, var(--kithub-brand-primary) 4%, var(--app-surface));
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 16%, var(--app-border));
  border-style: solid;
  border-width: 1px 0;
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: middle;
}

.amazon-product-polished table.woocommerce-product-attributes th {
  border-left-width: 3px;
  border-radius: var(--app-radius-sm) 0 0 var(--app-radius-sm);
  color: var(--kithub-brand-primary);
  font-weight: 760;
  width: 30%;
}

.amazon-product-polished table.woocommerce-product-attributes td {
  border-radius: 0 var(--app-radius-sm) var(--app-radius-sm) 0;
  border-right-width: 1px;
  color: var(--app-body);
}

.amazon-product-polished table.woocommerce-product-attributes td p {
  margin: 0;
}

.amazon-product-polished table.woocommerce-product-attributes tr {
  filter: drop-shadow(0 7px 14px color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent));
}

@media (max-width: 560px) {
  .amazon-product-polished table.woocommerce-product-attributes,
  .amazon-product-polished table.woocommerce-product-attributes tbody,
  .amazon-product-polished table.woocommerce-product-attributes tr,
  .amazon-product-polished table.woocommerce-product-attributes th,
  .amazon-product-polished table.woocommerce-product-attributes td {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
  }

  .amazon-product-polished table.woocommerce-product-attributes {
    border-spacing: 0;
    margin-top: 0;
  }

  .amazon-product-polished table.woocommerce-product-attributes tr {
    filter: none;
    margin-bottom: 0.75rem;
  }

  .amazon-product-polished table.woocommerce-product-attributes th,
  .amazon-product-polished table.woocommerce-product-attributes td {
    border-width: 1px;
    padding: 0.78rem 0.85rem;
  }

  .amazon-product-polished table.woocommerce-product-attributes th {
    border-bottom: 0;
    border-left-width: 3px;
    border-radius: var(--app-radius-sm) var(--app-radius-sm) 0 0;
  }

  .amazon-product-polished table.woocommerce-product-attributes td {
    border-radius: 0 0 var(--app-radius-sm) var(--app-radius-sm);
  }
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews #reviews {
  display: grid;
  gap: 1rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews #review_form_wrapper {
  background: color-mix(in srgb, var(--kithub-brand-primary) 2%, var(--app-surface));
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 14%, var(--app-border));
  border-radius: var(--app-radius-sm);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--kithub-brand-primary) 5%, transparent);
  padding: 1.2rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews #comments {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .woocommerce-Reviews-title,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-reply-title {
  border-bottom: 1px solid var(--app-border);
  color: var(--kithub-brand-primary);
  display: block;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 760;
  line-height: 1.35;
  margin: 0 0 1rem;
  padding: 0 0 0.8rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .woocommerce-noreviews {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--kithub-brand-primary) 4%, var(--app-surface-soft)),
    var(--app-surface)
  );
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 16%, var(--app-border));
  border-left-width: 3px;
  border-radius: var(--app-radius-sm);
  box-shadow: 0 7px 14px color-mix(in srgb, var(--kithub-brand-primary) 8%, transparent);
  color: var(--app-body);
  margin: 0;
  max-width: 100%;
  padding: 0.72rem 0.95rem;
  width: fit-content;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .woocommerce-noreviews::before {
  display: none;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .commentlist {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .commentlist > li {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-sm);
  box-shadow: 0 5px 14px color-mix(in srgb, var(--kithub-brand-primary) 4%, transparent);
  padding: 1rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment_container {
  align-items: start;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment_container .avatar {
  border: 1px solid var(--app-border);
  border-radius: 999px;
  float: none !important;
  height: 60px;
  inset: auto !important;
  margin: 0 !important;
  max-width: none;
  position: static !important;
  width: 60px;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-text {
  border: 0 !important;
  margin: 0 !important;
  min-width: 0;
  padding: 0 !important;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-text .meta,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-text .description {
  overflow-wrap: anywhere;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form {
  display: grid;
  gap: 0.9rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form > p,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form-rating {
  margin: 0;
  min-width: 0;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-notes,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form-rating,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form-comment,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form-cookies-consent,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .form-submit {
  grid-column: 1 / -1;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form label:not([for="wp-comment-cookies-consent"]) {
  color: var(--app-text);
  display: block;
  font-size: 0.84rem;
  font-weight: 720;
  margin: 0 0 0.4rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form input[type="text"],
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form input[type="email"],
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form select,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form textarea {
  background: var(--app-surface);
  border: 1px solid var(--app-border-strong);
  border-radius: var(--app-radius-sm);
  box-shadow: inset 0 1px 2px color-mix(in srgb, var(--app-text) 4%, transparent);
  color: var(--app-text);
  margin: 0;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form input[type="text"]:focus,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form input[type="email"]:focus,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form select:focus,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form textarea:focus {
  border-color: var(--kithub-brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kithub-brand-primary) 12%, transparent);
  outline: 0;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form-cookies-consent {
  align-items: flex-start;
  display: flex;
  gap: 0.55rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form-cookies-consent input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
  width: auto;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .form-submit .submit {
  background: var(--kithub-brand-primary);
  border: 1px solid var(--kithub-brand-primary);
  border-radius: 999px;
  color: var(--app-on-link);
  font-weight: 760;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
}

.amazon-product-polished .woocommerce-Tabs-panel--reviews .form-submit .submit:hover,
.amazon-product-polished .woocommerce-Tabs-panel--reviews .form-submit .submit:focus-visible {
  background: color-mix(in srgb, var(--kithub-brand-primary) 82%, var(--kithub-brand-accent));
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 82%, var(--kithub-brand-accent));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--kithub-brand-primary) 18%, transparent);
}

/* WooCommerce cart and checkout share the storefront canvas and align with the
 * header/footer width instead of stretching edge to edge. */
.kithub-storefront-polished.woocommerce-cart .content-area,
.kithub-storefront-polished.woocommerce-cart .site-main,
.kithub-storefront-polished.woocommerce-cart .entry-content,
.kithub-storefront-polished.woocommerce-cart .entry-content.alignwide,
.kithub-storefront-polished.woocommerce-cart main.wp-block-group[data-page="cart"] > .alignwide,
.kithub-storefront-polished.woocommerce-cart .wc-block-store-notices,
.kithub-storefront-polished.woocommerce-cart .wp-block-woocommerce-cart,
.kithub-storefront-polished.woocommerce-checkout .content-area,
.kithub-storefront-polished.woocommerce-checkout .site-main,
.kithub-storefront-polished.woocommerce-checkout .entry-content,
.kithub-storefront-polished.woocommerce-checkout .entry-content.alignwide,
.kithub-storefront-polished.woocommerce-checkout main.wp-block-group[data-page="checkout"] > .alignwide,
.kithub-storefront-polished.woocommerce-checkout .wc-block-store-notices,
.kithub-storefront-polished.woocommerce-checkout .wp-block-woocommerce-checkout,
.kithub-storefront-polished.woocommerce-order-received .wp-block-woocommerce-order-confirmation,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-cart .content-area,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-cart .site-main,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-cart .entry-content,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-cart .entry-content.alignwide,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-cart main.wp-block-group[data-page="cart"] > .alignwide,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-cart .wc-block-store-notices,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-checkout .content-area,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-checkout .site-main,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-checkout .entry-content,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-checkout .entry-content.alignwide,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-checkout main.wp-block-group[data-page="checkout"] > .alignwide,
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-checkout .wc-block-store-notices {
  box-sizing: border-box;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--kithub-layout-max) !important;
  width: min(calc(100vw - (var(--kithub-layout-pad) * 2)), var(--kithub-layout-max)) !important;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce:not(.widget),
.kithub-storefront-polished.woocommerce-checkout .woocommerce:not(.widget),
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-cart .woocommerce:not(.widget),
.kithub-storefront-polished.woocommerce-page:not(.single-product).woocommerce-checkout .woocommerce:not(.widget) {
  box-sizing: border-box;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form,
.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table {
  box-sizing: border-box;
  max-width: none;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form {
  margin-bottom: 2rem !important;
}

.kithub-storefront-polished.woocommerce-checkout .woocommerce-form-coupon-toggle,
.kithub-storefront-polished.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon {
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-bottom: 1.5rem !important;
}

/* Block themes add flow margins to both the checkout main and its first
 * notices block. Keep one explicit checkout-only gap below the breadcrumb. */
.kithub-storefront-polished.woocommerce-checkout .kithub-storefront-breadcrumb {
  margin-bottom: 12px !important;
}

.kithub-storefront-polished.woocommerce-checkout main.wp-block-group[data-page="checkout"],
.kithub-storefront-polished.woocommerce-checkout main.wp-block-group[data-page="checkout"] > .wc-block-store-notices,
.kithub-storefront-polished.woocommerce-checkout main.wp-block-group[data-page="checkout"] > .entry-content.alignwide.wp-block-post-content {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.kithub-storefront-polished.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  margin-bottom: 0 !important;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon {
  align-items: start;
  background: transparent;
  border: 0;
  display: grid;
  gap: 0 2rem;
  grid-template-columns: minmax(0, 51%) minmax(360px, 1fr);
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon[style*="display: block"],
.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon[style*="display:block"] {
  display: grid !important;
}

.kithub-storefront-polished.woocommerce-checkout .woocommerce-error:has(+ form.checkout_coupon) {
  background: color-mix(in srgb, var(--kithub-brand-accent) 7%, var(--app-surface));
  border: 0;
  border-left: 4px solid var(--kithub-brand-accent);
  border-radius: var(--app-radius-sm);
  box-shadow: 0 7px 16px color-mix(in srgb, var(--kithub-brand-accent) 10%, transparent);
  box-sizing: border-box;
  color: var(--app-text);
  margin: 0 0 0.75rem !important;
  padding: 0.75rem 1rem 0.75rem 3rem;
  width: 51%;
}

.kithub-storefront-polished.woocommerce-checkout .woocommerce-error:has(+ form.checkout_coupon)::before {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon > .woocommerce-error,
.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon > .woocommerce-message,
.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon > .woocommerce-info {
  grid-column: 1 / -1;
  margin: 0 0 0.75rem !important;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .form-row-first,
.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .form-row-last {
  float: none;
  margin: 0 !important;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .form-row-first {
  grid-column: 1;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .form-row-last {
  align-items: flex-start;
  align-self: start;
  display: flex;
  grid-column: 2;
  justify-content: flex-start;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .input-text {
  min-height: 46px;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .button {
  background: var(--kithub-brand-primary);
  border: 1px solid var(--kithub-brand-primary);
  border-radius: var(--app-radius-sm);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--kithub-brand-primary) 16%, transparent);
  color: var(--app-on-link);
  font-weight: 800;
  min-height: 46px;
  padding: 0.72rem 1.35rem;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .button:hover,
.kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .button:focus-visible {
  background: color-mix(in srgb, var(--kithub-brand-primary) 82%, var(--kithub-brand-accent));
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 82%, var(--kithub-brand-accent));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--kithub-brand-primary) 22%, transparent);
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table,
.kithub-storefront-polished.woocommerce-cart .cart_totals,
.kithub-storefront-polished.woocommerce-checkout #customer_details,
.kithub-storefront-polished.woocommerce-checkout #order_review_heading,
.kithub-storefront-polished.woocommerce-checkout #order_review {
  background: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  box-sizing: border-box;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--kithub-brand-primary) 7%, transparent);
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table {
  border-collapse: separate;
  border-radius: var(--app-radius-md);
  border-spacing: 0;
  margin-bottom: 0 !important;
  overflow: hidden;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table thead th {
  background: color-mix(in srgb, var(--kithub-brand-primary) 8%, var(--app-surface));
  border-bottom: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  color: var(--kithub-brand-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 1rem 0.85rem;
  text-transform: uppercase;
  vertical-align: middle;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table tbody td {
  border-bottom: 1px solid var(--app-border);
  padding: 1rem 0.85rem;
  vertical-align: middle;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr:last-child td {
  border-bottom: 0;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-thumbnail img {
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-sm);
  height: auto;
  width: 76px;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-name {
  overflow-wrap: anywhere;
  text-align: left;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-name a {
  color: var(--app-text);
  font-weight: 750;
  text-decoration: none;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-name a:hover,
.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-name a:focus-visible {
  color: var(--kithub-brand-primary);
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-price,
.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-quantity {
  text-align: center;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-subtotal {
  color: var(--app-text);
  font-weight: 800;
  text-align: right;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .quantity .qty {
  border: 1px solid var(--app-border-strong);
  border-radius: var(--app-radius-sm);
  margin-inline: auto;
  min-height: 44px;
  text-align: center;
  width: 76px;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions {
  background: color-mix(in srgb, var(--kithub-brand-primary) 3%, var(--app-surface));
  padding: 1rem;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text {
  border: 1px solid var(--app-border-strong);
  border-radius: var(--app-radius-sm);
  min-height: 46px;
  min-width: 280px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 280px;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text:focus {
  border-color: var(--kithub-brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kithub-brand-primary) 12%, transparent);
  outline: 0;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .button {
  border-radius: var(--app-radius-sm);
  font-weight: 800;
  min-height: 46px;
  padding: 0.72rem 1.35rem;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button {
  background: var(--kithub-brand-primary);
  border: 1px solid var(--kithub-brand-primary);
  box-shadow: 0 7px 16px color-mix(in srgb, var(--kithub-brand-primary) 16%, transparent);
  color: var(--app-on-link);
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button:hover,
.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button:focus-visible {
  background: color-mix(in srgb, var(--kithub-brand-primary) 84%, var(--kithub-brand-accent));
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 84%, var(--kithub-brand-accent));
  box-shadow: 0 9px 20px color-mix(in srgb, var(--kithub-brand-primary) 22%, transparent);
  color: var(--app-on-link);
  transform: translateY(-1px);
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions > .button[name="update_cart"] {
  background: var(--app-surface);
  border: 1px solid var(--kithub-brand-primary);
  color: var(--kithub-brand-primary);
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions > .button[name="update_cart"]:not(:disabled):hover,
.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions > .button[name="update_cart"]:not(:disabled):focus-visible {
  background: var(--kithub-brand-primary);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--kithub-brand-primary) 18%, transparent);
  color: var(--app-on-link);
  transform: translateY(-1px);
}

.kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions > .button[name="update_cart"]:disabled {
  background: var(--app-surface-soft);
  border-color: var(--app-border-strong);
  box-shadow: none;
  color: var(--app-muted);
  cursor: not-allowed;
  opacity: 0.72;
}

.kithub-storefront-polished.woocommerce-cart .cart-collaterals {
  display: grid;
  margin-top: 0;
}

.kithub-storefront-polished.woocommerce-cart .cart-collaterals .cart_totals {
  --kithub-cart-totals-padding: 1.5rem;
  border-radius: var(--app-radius-md);
  float: none;
  margin-left: auto;
  overflow: hidden;
  padding: var(--kithub-cart-totals-padding);
  width: min(100%, 560px);
}

.kithub-storefront-polished.woocommerce-cart .cart_totals > h2,
.kithub-storefront-polished.woocommerce-checkout #order_review_heading,
.kithub-storefront-polished.woocommerce-checkout #customer_details h3 {
  color: var(--kithub-brand-primary);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 760;
  line-height: 1.25;
}

.kithub-storefront-polished.woocommerce-cart .cart_totals > h2,
.kithub-storefront-polished.woocommerce-checkout #customer_details h3 {
  border-bottom: 1px solid var(--app-border);
  margin: 0 0 1.25rem;
  padding: 0 0 0.8rem;
}

.kithub-storefront-polished.woocommerce-cart .cart_totals > h2 {
  background: color-mix(in srgb, var(--kithub-brand-primary) 8%, var(--app-surface));
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 18%, var(--app-border));
  border-radius: 0;
  margin: calc(-1 * var(--kithub-cart-totals-padding)) calc(-1 * var(--kithub-cart-totals-padding)) 1.25rem;
  padding: 1rem var(--kithub-cart-totals-padding);
}

.kithub-storefront-polished.woocommerce-cart .cart_totals table.shop_table,
.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table {
  border: 0;
  margin: 0;
}

.kithub-storefront-polished.woocommerce-cart .wc-proceed-to-checkout {
  padding: 1rem 0 0;
}

.kithub-storefront-polished.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.kithub-storefront-polished.woocommerce-checkout #place_order {
  background: var(--kithub-brand-primary);
  border-color: var(--kithub-brand-primary);
  border-radius: var(--app-radius-sm);
  color: var(--app-on-link);
  font-weight: 800;
  min-height: 48px;
}

.kithub-storefront-polished.woocommerce-checkout form.checkout {
  align-items: start;
  display: grid;
  gap: 0 2rem;
  grid-template-columns: minmax(0, 51%) minmax(360px, 1fr);
  grid-template-rows: auto;
  margin-top: 0 !important;
}

.kithub-storefront-polished.woocommerce-checkout #customer_details {
  border-radius: var(--app-radius-md);
  float: none;
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
  padding: 1.5rem;
  width: auto;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-checkout-order-column {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

@media (min-width: 901px) {
  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns form.checkout {
    display: block;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #customer_details {
    display: grid;
    gap: 0 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.5rem !important;
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #customer_details .col-1 {
    grid-column: 1;
    grid-row: 1;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #customer_details .col-2 {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0 !important;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #customer_details .woocommerce-billing-fields > h3,
  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #ship-to-different-address {
    box-sizing: border-box;
    height: 3.5rem;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #ship-to-different-address label.checkbox {
    line-height: 1.25;
    margin: 0 !important;
    padding: 0 !important;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #customer_details:not(:has(#ship-to-different-address-checkbox:checked)) .woocommerce-shipping-fields {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #customer_details:not(:has(#ship-to-different-address-checkbox:checked)) #ship-to-different-address {
    margin-bottom: 0 !important;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #customer_details:not(:has(#ship-to-different-address-checkbox:checked)) .woocommerce-additional-fields {
    margin-top: 0.5rem !important;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns .kithub-checkout-order-column {
    margin-top: 0;
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-checkout.kithub-checkout-layout-address_columns #place_order {
    display: block;
    margin-left: auto;
    min-width: 220px;
    width: auto;
  }
}

.kithub-storefront-polished.woocommerce-checkout .kithub-checkout-order-column > .woocommerce-NoticeGroup-checkout {
  margin: 1rem 0 0;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-checkout-order-column > .woocommerce-NoticeGroup-checkout .woocommerce-error {
  border-radius: var(--app-radius-sm);
  margin: 0 !important;
}

.kithub-storefront-polished.woocommerce-checkout #customer_details .col-1,
.kithub-storefront-polished.woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout #customer_details .col-2 {
  margin-top: 1.5rem;
}

.kithub-storefront-polished.woocommerce-checkout #order_review_heading {
  border-bottom: 0;
  border-radius: var(--app-radius-md) var(--app-radius-md) 0 0;
  float: none;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 1.25rem 1.5rem 0.85rem;
  width: auto;
}

.kithub-storefront-polished.woocommerce-checkout #order_review {
  border-radius: 0 0 var(--app-radius-md) var(--app-radius-md);
  border-top: 0;
  float: none;
  grid-column: 2;
  grid-row: 2;
  padding: 0 1.5rem 1.5rem;
  width: auto;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-checkout-order-column #order_review_heading,
.kithub-storefront-polished.woocommerce-checkout .kithub-checkout-order-column #order_review {
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table .product-name {
  width: 72%;
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table .product-total {
  text-align: right;
  width: 28%;
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table thead th {
  background: color-mix(in srgb, var(--kithub-brand-primary) 6%, var(--app-surface));
  border-bottom: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 16%, var(--app-border));
  color: var(--kithub-brand-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1rem;
  text-transform: uppercase;
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table tbody td {
  background: var(--app-surface);
  border-bottom: 1px solid var(--app-border);
  color: var(--app-body);
  padding: 1rem;
  vertical-align: top;
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table tfoot th,
.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table tfoot td {
  border: 0;
  padding: 0.9rem 1rem;
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table tfoot th {
  color: var(--app-text);
  font-weight: 750;
  padding-right: 0.75rem;
  text-align: left;
  width: 72%;
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table tfoot td {
  color: var(--app-body);
  font-weight: 700;
  padding-left: 0.75rem;
  text-align: right;
  width: 28%;
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-subtotal > * {
  background: color-mix(in srgb, var(--kithub-brand-primary) 3%, var(--app-surface));
}

.kithub-storefront-polished.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total > * {
  background: color-mix(in srgb, var(--kithub-brand-primary) 9%, var(--app-surface));
  border-top: 2px solid color-mix(in srgb, var(--kithub-brand-primary) 38%, var(--app-border));
  color: var(--kithub-brand-primary);
  font-size: 1.08rem;
  font-weight: 850;
  padding-bottom: 1.05rem;
  padding-top: 1.05rem;
}

.kithub-storefront-polished.woocommerce-checkout form .form-row {
  margin-bottom: 1rem;
}

.kithub-storefront-polished.woocommerce-checkout form .form-row label {
  color: var(--app-text);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.kithub-storefront-polished.woocommerce-checkout form .form-row input.input-text,
.kithub-storefront-polished.woocommerce-checkout form .form-row textarea,
.kithub-storefront-polished.woocommerce-checkout form .select2-selection {
  background: var(--app-surface);
  border: 1px solid var(--app-border-strong);
  border-radius: var(--app-radius-sm);
  min-height: 46px;
}

.kithub-storefront-polished.woocommerce-checkout form .form-row input.input-text,
.kithub-storefront-polished.woocommerce-checkout form .form-row textarea {
  padding: 0.72rem 0.85rem;
}

.kithub-storefront-polished.woocommerce-checkout form .form-row input.input-text:focus,
.kithub-storefront-polished.woocommerce-checkout form .form-row textarea:focus,
.kithub-storefront-polished.woocommerce-checkout form .select2-container--focus .select2-selection {
  border-color: var(--kithub-brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kithub-brand-primary) 12%, transparent);
  outline: 0;
}

.kithub-storefront-polished.woocommerce-checkout #ship-to-different-address label.checkbox {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 0.7rem;
  justify-content: flex-start;
  line-height: 1.35;
}

.kithub-storefront-polished.woocommerce-checkout #ship-to-different-address-checkbox {
  accent-color: var(--kithub-brand-primary);
  cursor: pointer;
  flex: 0 0 22px;
  height: 22px;
  margin: 0;
  width: 22px;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 1rem;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row.has-different-phone {
  gap: 1rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(170px, 0.9fr);
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row .form-row {
  float: none;
  margin: 0;
  width: 100%;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row .kithub-recipient-phone-toggle {
  grid-column: 1;
  grid-row: 1;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row.has-different-phone .kithub-recipient-phone-toggle {
  grid-column: 2;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row #shipping_phone_field {
  grid-column: 1;
  grid-row: 1;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row #shipping_phone_field[hidden] {
  display: none !important;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-toggle .checkbox {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 0.6rem;
  min-height: 46px;
}

.kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-toggle input[type="checkbox"] {
  accent-color: var(--kithub-brand-primary);
  flex: 0 0 20px;
  height: 20px;
  margin: 0;
  width: 20px;
}

@media (max-width: 680px) {
  .kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row,
  .kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row.has-different-phone {
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row .kithub-recipient-phone-toggle {
    grid-column: 1;
    grid-row: 1;
  }

  .kithub-storefront-polished.woocommerce-checkout .kithub-recipient-phone-row #shipping_phone_field {
    grid-column: 1;
    grid-row: 2;
  }
}

.kithub-storefront-polished.woocommerce-checkout #payment {
  --kithub-payment-choice: #9658c7;
  background: color-mix(in srgb, var(--kithub-brand-primary) 4%, var(--app-surface));
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-sm);
  margin-top: 1rem;
}

.kithub-storefront-polished.woocommerce-checkout #payment input[name="payment_method"] {
  height: 1px !important;
  margin: 0 !important;
  opacity: 0 !important;
  overflow: hidden;
  pointer-events: none;
  position: absolute !important;
  width: 1px !important;
}

.kithub-storefront-polished.woocommerce-checkout #payment input[name="payment_method"] + label::before {
  background: #fff !important;
  border: 2px solid #7b8490 !important;
  border-radius: 50%;
  box-shadow: none !important;
  box-sizing: border-box;
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 24px;
  height: 24px;
  margin-right: 0.65rem;
  width: 24px;
}

.kithub-storefront-polished.woocommerce-checkout #payment input[name="payment_method"]:checked + label::before {
  background: var(--kithub-payment-choice) !important;
  border-color: var(--kithub-payment-choice) !important;
  box-shadow: inset 0 0 0 6px #fff !important;
}

.kithub-storefront-polished.woocommerce-checkout #payment input[name="payment_method"]:focus-visible + label::before {
  outline: 3px solid color-mix(in srgb, var(--kithub-brand-primary) 20%, transparent);
  outline-offset: 2px;
}

.kithub-storefront-polished.woocommerce-checkout #payment .wc_payment_method > label {
  align-items: center;
  background: transparent;
  color: var(--kithub-brand-primary);
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.4;
  transition: background-color 160ms ease, color 160ms ease;
}

.kithub-storefront-polished.woocommerce-checkout #payment .wc_payment_method {
  background: color-mix(in srgb, var(--kithub-brand-primary) 9%, var(--app-surface));
  transition: background-color 160ms ease;
}

.kithub-storefront-polished.woocommerce-checkout #payment .wc_payment_method:has(> label:hover) {
  background: color-mix(in srgb, var(--kithub-payment-choice) 16%, var(--app-surface));
}

.kithub-storefront-polished.woocommerce-checkout #payment .wc_payment_method > label:hover {
  background: transparent;
  color: color-mix(in srgb, var(--kithub-payment-choice) 72%, var(--app-text));
}

.kithub-storefront-polished.woocommerce-checkout #payment .wc_payment_method .payment_box {
  background: var(--app-surface);
}

.kithub-storefront-polished.woocommerce-checkout #payment .wc_payment_method .payment_box::before {
  border-bottom-color: var(--app-surface);
}

.kithub-storefront-polished.woocommerce-checkout #payment .wc_payment_method:not(:has(input[name="payment_method"]:checked)) > label {
  color: var(--app-text);
  font-weight: 700;
}

.kithub-storefront-polished.woocommerce-checkout #payment #terms {
  accent-color: var(--kithub-brand-primary);
  cursor: pointer;
  height: 21px;
  margin: 0 0.65rem 0 0;
  vertical-align: middle;
  width: 21px;
}

.kithub-storefront-polished.woocommerce-checkout #place_order {
  float: none;
  width: 100%;
}

@media (min-width: 782px) {
  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table {
    table-layout: fixed;
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-remove {
    text-align: center;
    width: 5%;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-thumbnail {
    text-align: center;
    width: 12%;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-name {
    width: 41%;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-price {
    width: 13%;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-quantity {
    width: 15%;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form .product-subtotal {
    width: 14%;
  }
}

@media (max-width: 900px) {
  .kithub-storefront-polished.woocommerce-checkout form.checkout_coupon {
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .kithub-storefront-polished.woocommerce-checkout .woocommerce-error:has(+ form.checkout_coupon) {
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .form-row-first,
  .kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .form-row-last {
    grid-column: 1;
  }

  .kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .button {
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-checkout form.checkout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .kithub-storefront-polished.woocommerce-checkout #customer_details,
  .kithub-storefront-polished.woocommerce-checkout .kithub-checkout-order-column,
  .kithub-storefront-polished.woocommerce-checkout #order_review_heading,
  .kithub-storefront-polished.woocommerce-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 781px) {
  .amazon-product-polished .woocommerce-Tabs-panel--description,
  .amazon-product-polished .woocommerce-Tabs-panel--additional_information,
  .amazon-product-polished .woocommerce-Tabs-panel--reviews {
    padding: 1rem !important;
  }

  .amazon-product-polished .woocommerce-Tabs-panel--reviews #review_form_wrapper {
    padding: 0.9rem;
  }

  .amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form-author,
  .amazon-product-polished .woocommerce-Tabs-panel--reviews .comment-form-email {
    grid-column: 1 / -1;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table {
    table-layout: auto;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form table.shop_table tbody td {
    min-height: 48px;
    padding: 0.85rem 1rem;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon {
    align-items: stretch;
    flex-direction: column;
  }

  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text,
  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button,
  .kithub-storefront-polished.woocommerce-cart .woocommerce-cart-form td.actions > .button {
    margin: 0 0 0.65rem;
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-cart .cart-collaterals .cart_totals {
    --kithub-cart-totals-padding: 1rem;
    padding: var(--kithub-cart-totals-padding);
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-checkout form.checkout_coupon {
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .kithub-storefront-polished.woocommerce-checkout .woocommerce-error:has(+ form.checkout_coupon) {
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .form-row-first,
  .kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .form-row-last {
    grid-column: 1;
  }

  .kithub-storefront-polished.woocommerce-checkout form.checkout_coupon .button {
    width: 100%;
  }

  .kithub-storefront-polished.woocommerce-checkout form.checkout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .kithub-storefront-polished.woocommerce-checkout #customer_details,
  .kithub-storefront-polished.woocommerce-checkout .kithub-checkout-order-column,
  .kithub-storefront-polished.woocommerce-checkout #order_review_heading,
  .kithub-storefront-polished.woocommerce-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  .kithub-storefront-polished.woocommerce-checkout #customer_details {
    padding: 1rem;
  }

  .kithub-storefront-polished.woocommerce-checkout #order_review_heading {
    margin-bottom: -1.25rem;
    padding: 1rem 1rem 0.75rem;
  }

  .kithub-storefront-polished.woocommerce-checkout #order_review {
    padding: 0 1rem 1rem;
  }
}

/* Related product cards; independent of the purchase form and home cards. */
.amazon-product-polished .related.products ul.products {
  display: grid !important;
  gap: clamp(18px, 2vw, 28px);
  grid-template-columns: 1fr;
  margin: 0;
}

.amazon-product-polished .related.products {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
  width: 100%;
}

.amazon-product-polished .related.products > h2 {
  margin-left: 0;
  margin-right: 0;
  text-align: left !important;
  width: 100%;
}

.amazon-product-polished .related.products ul.products::before,
.amazon-product-polished .related.products ul.products::after {
  content: none !important;
  display: none !important;
}

.amazon-product-polished .related.products ul.products li.product {
  float: none !important;
  margin: 0 !important;
  position: relative;
  text-align: center;
  width: auto !important;
}

.amazon-product-polished .related.products ul.products li.product .onsale.kithub-sale-badge {
  left: auto !important;
  position: absolute;
  right: 0.7rem !important;
  top: 0.7rem !important;
}

.amazon-product-polished .related.products ul.products li.product .button {
  align-items: center;
  background: var(--kithub-brand-primary);
  border: 1px solid var(--kithub-brand-primary);
  border-radius: 999px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--kithub-brand-primary) 18%, transparent);
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 1.15rem;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.amazon-product-polished .related.products ul.products li.product .button:hover,
.amazon-product-polished .related.products ul.products li.product .button:focus-visible {
  background: color-mix(in srgb, var(--kithub-brand-primary) 80%, var(--kithub-brand-accent));
  border-color: color-mix(in srgb, var(--kithub-brand-primary) 80%, var(--kithub-brand-accent));
  color: #ffffff;
  transform: translateY(-1px);
}

@media (min-width: 600px) {
  .amazon-product-polished .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .amazon-product-polished .related.products ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.kithub-faq-list,
.kithub-faq-item {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.kithub-faq-item + .kithub-faq-item {
  border-top: 1px solid var(--app-border);
  margin-top: 0.65rem;
  padding-top: 1rem;
}

.kithub-faq-item dt {
  color: var(--app-text);
  font-weight: 700;
}

.kithub-faq-item dd {
  color: var(--app-body);
  line-height: 1.7;
  margin: 0;
}

.amazon-generated-copy {
  display: grid;
  gap: 0.85rem;
}

.amazon-generated-copy p {
  max-width: 76ch;
}

.amazon-generated-copy-compact {
  background: var(--app-surface-soft);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-sm);
  padding: 1rem 1.1rem;
}

.maison-description {
  display: grid;
  gap: 0;
}

.maison-description-block {
  border-bottom: 1px solid var(--app-border);
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 0;
}

.maison-description-block:first-child {
  padding-top: 0;
}

.maison-description-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.maison-description-block h4 {
  align-items: center;
  color: var(--app-text);
  display: flex;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  font-weight: 800;
  gap: 0.55rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.maison-description-block h4 span {
  flex: 0 0 auto;
  font-size: 1.2em;
  line-height: 1;
}

.maison-description-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.maison-description-list li {
  color: var(--app-body);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}

.maison-description-list li::before {
  background: var(--app-text);
  border-radius: 999px;
  content: "";
  height: 0.32rem;
  left: 0.15rem;
  position: absolute;
  top: 0.62rem;
  width: 0.32rem;
}

.maison-description-list strong {
  color: var(--app-text);
  font-weight: 800;
}

.maison-description-list span::before {
  color: var(--app-muted);
  content: " - ";
}

.maison-description-closing {
  font-weight: 700;
}

.amazon-spec-table-wrap {
  overflow-x: auto;
}

.amazon-spec-table {
  border-collapse: collapse;
  width: 100%;
}

.amazon-spec-table th,
.amazon-spec-table td {
  border-bottom: 1px solid var(--app-border);
  padding: 0.9rem 0;
  text-align: left;
  vertical-align: top;
}

.amazon-spec-table th {
  color: var(--app-text);
  font-weight: 600;
  width: 32%;
}

.amazon-spec-table td {
  color: var(--app-body);
}

.amazon-meta-grid {
  display: grid;
  gap: 1rem;
}

.amazon-meta-grid div {
  align-items: start;
  display: grid;
  gap: 0.35rem;
}

.amazon-meta-label {
  color: var(--app-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.amazon-meta-grid a {
  color: var(--app-link);
  font-weight: 600;
  text-decoration: none;
}

.kithub-collection-wall-template .site-info,
.kithub-collection-wall-template #footer,
.kithub-collection-wall-template .kithub-collection-page + hr {
  display: none;
}

.kithub-collection-wall {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--kithub-brand-primary) 5%, #ffffff), color-mix(in srgb, var(--kithub-brand-accent) 5%, #ffffff));
  border-top: 3px solid color-mix(in srgb, var(--kithub-brand-primary) 82%, var(--kithub-brand-accent));
  display: grid;
  gap: 24px;
  padding: clamp(18px, 3vw, 26px);
}

.kithub-collection-wall-block {
  display: grid;
  gap: 16px;
}

.kithub-collection-wall-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.kithub-collection-eyebrow {
  display: block;
  color: var(--app-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.kithub-collection-wall-head h2,
.kithub-collection-page-section-head h2 {
  color: var(--app-text);
  font-size: clamp(1.4rem, 2.4vw, 2.15rem);
  line-height: 1.12;
  margin: 0;
}

.kithub-collection-wall-head span {
  color: var(--app-muted);
  display: block;
  margin-top: 0.35rem;
  max-width: 680px;
}

.kithub-collection-wall-more {
  border: 1px solid var(--app-border);
  border-radius: 999px;
  color: var(--app-link);
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 9px 14px;
  text-decoration: none;
}

.kithub-collection-wall-more:hover {
  border-color: var(--app-link);
  background: #ffffff;
}

.kithub-collection-wall-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kithub-collection-wall-card {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--kithub-brand-primary) 12%, var(--app-border));
  border-radius: 8px;
  color: var(--app-text);
  display: grid;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.kithub-collection-wall-card:hover {
  border-color: var(--app-link);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.kithub-collection-wall-image-wrap {
  display: block;
  position: relative;
}

.kithub-collection-wall-image {
  aspect-ratio: 4 / 3;
  background-color: var(--app-surface-soft);
  background-position: center;
  background-size: cover;
  display: block;
  min-height: 178px;
}

.kithub-collection-wall-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--kithub-brand-primary) 22%, rgba(15, 23, 42, 0.18));
  display: inline-flex;
  height: 48px;
  justify-content: center;
  left: 12px;
  padding: 2px;
  position: absolute;
  top: 12px;
  width: 78px;
}

.kithub-collection-wall-badge img {
  border-radius: 6px;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.kithub-collection-wall-copy {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 15px;
}

.kithub-collection-wall-copy strong {
  color: var(--app-text);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.25;
}

.kithub-collection-wall-copy small {
  color: var(--app-muted);
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 32ch;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kithub-collection-page {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: var(--kithub-layout-max, 1180px);
  padding: 28px var(--kithub-layout-pad, clamp(18px, 4vw, 50px)) 48px;
}

.kithub-collection-page-hero {
  background:
    linear-gradient(115deg, rgba(3, 72, 43, 0.94), rgba(10, 92, 62, 0.78) 45%, rgba(142, 20, 36, 0.86)),
    #073f2b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(3, 36, 25, 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 440px;
  overflow: hidden;
}

.kithub-collection-index-hero {
  background:
    linear-gradient(115deg, rgba(3, 72, 43, 0.96), rgba(12, 75, 58, 0.9) 58%, rgba(142, 20, 36, 0.88)),
    #073f2b;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 12px;
  padding: clamp(30px, 5vw, 64px);
}

.kithub-collection-index-hero .kithub-collection-eyebrow {
  color: #f97316;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.kithub-collection-index-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  margin: 0;
}

.kithub-collection-index-hero span {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

.kithub-collection-page-media {
  background-color: #0b3d2f;
  background-position: center;
  background-size: cover;
  min-height: 360px;
  position: relative;
}

.kithub-collection-page-media::after {
  background: linear-gradient(90deg, rgba(4, 50, 35, 0.08), rgba(4, 50, 35, 0.52));
  content: "";
  inset: 0;
  position: absolute;
}

.kithub-collection-page-copy {
  align-content: center;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 52px);
}

.kithub-collection-identity {
  align-items: center;
  display: flex;
  gap: 16px;
}

.kithub-collection-entry-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(3, 20, 16, 0.26);
  display: inline-flex;
  flex: 0 0 auto;
  height: clamp(54px, 6vw, 72px);
  justify-content: center;
  padding: 3px;
  width: clamp(86px, 9vw, 116px);
}

.kithub-collection-entry-badge img {
  border-radius: 7px;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.kithub-collection-page-copy h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 0.96;
  margin: 0;
}

.kithub-collection-page-copy h2 {
  color: var(--app-body);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.3;
  margin: 0;
}

.kithub-collection-page-copy span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.kithub-collection-page-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kithub-collection-page-stats span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 2px;
  padding: 10px;
  text-transform: uppercase;
}

.kithub-collection-page-stats strong {
  color: #ffffff;
  font-size: 1rem;
  text-transform: none;
}

.kithub-collection-page-price {
  color: var(--app-text);
  font-size: 1.25rem;
  font-weight: 800;
}

.kithub-collection-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.kithub-collection-page-section {
  background: #ffffff;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
}

.kithub-collection-product-body {
  color: var(--app-body);
  line-height: 1.65;
}

.kithub-collection-page-intro,
.kithub-collection-guide {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kithub-collection-guide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kithub-collection-page-intro > div,
.kithub-collection-guide > div,
.kithub-collection-planned-grid > div {
  background: #ffffff;
  border: 1px solid var(--app-border);
  border-left: 4px solid #0f7a4f;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.kithub-collection-page-intro .kithub-collection-eyebrow,
.kithub-collection-guide .kithub-collection-eyebrow {
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.kithub-collection-page-intro strong,
.kithub-collection-guide strong {
  color: var(--app-text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.kithub-collection-page-intro span,
.kithub-collection-guide span,
.kithub-collection-planned-grid span {
  color: var(--app-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.kithub-collection-featured-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
}

.kithub-collection-featured-media {
  aspect-ratio: 4 / 3;
  background-color: #0b3d2f;
  background-position: center;
  background-size: cover;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  box-shadow: inset 0 -80px 120px rgba(4, 50, 35, 0.2);
  display: block;
  min-height: 260px;
}

.kithub-collection-featured-copy {
  align-content: center;
  display: grid;
  gap: 12px;
}

.kithub-collection-featured-copy strong {
  color: var(--app-text);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}

.kithub-collection-lineup-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kithub-collection-lineup-card {
  background: #f8fafc;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  color: var(--app-text);
  display: grid;
  overflow: hidden;
  text-decoration: none;
}

.kithub-collection-lineup-image {
  aspect-ratio: 4 / 3;
  background-color: #0b3d2f;
  background-position: center;
  background-size: cover;
  display: block;
}

.kithub-collection-lineup-copy {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.kithub-collection-lineup-copy small,
.kithub-collection-planned-grid small {
  color: #b91c1c;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kithub-collection-lineup-copy strong {
  color: var(--app-text);
  font-size: 1rem;
  line-height: 1.25;
}

.kithub-collection-lineup-copy em {
  color: #0f7a4f;
  font-style: normal;
  font-weight: 800;
}

.kithub-collection-planned-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kithub-collection-planned-grid > div {
  border-left-color: #b91c1c;
  background: #fffdfb;
}

.kithub-collection-planned-grid strong {
  color: var(--app-text);
}

.kithub-size-guide {
  border: 1px solid var(--app-border);
  border-radius: 8px;
  margin: 0.25rem 0 0.85rem;
  overflow: hidden;
}

.amazon-product-polished .kithub-size-guide + .single_variation_wrap .kithub-product-addons {
  margin-top: 0.7rem;
}

.kithub-size-guide summary {
  align-items: center;
  background: #ffffff;
  color: var(--app-text);
  cursor: pointer;
  display: flex;
  font-size: 0.95rem;
  font-weight: 850;
  justify-content: space-between;
  list-style: none;
  padding: 13px 15px;
}

.kithub-size-guide summary::-webkit-details-marker {
  display: none;
}

.kithub-size-guide[open] summary {
  border-bottom: 1px solid var(--app-border);
}

.kithub-size-guide[open] summary span:last-child {
  transform: rotate(45deg);
}

.kithub-size-guide-body {
  background: #f8fafc;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.kithub-size-guide-table {
  display: grid;
  gap: 10px;
}

.kithub-size-guide-table h3 {
  color: var(--app-text);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.25;
  margin: 0;
}

.kithub-size-guide-scroll {
  overflow-x: auto;
}

.kithub-size-guide table {
  background: #ffffff;
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 100%;
  table-layout: auto;
}

.kithub-size-guide th,
.kithub-size-guide td {
  border: 1px solid var(--app-border);
  color: var(--app-text);
  line-height: 1.35;
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.kithub-size-guide th {
  background: #f1f5f9;
  font-weight: 850;
}

.kithub-size-guide th:first-child,
.kithub-size-guide td:first-child {
  background: #f8fafc;
  font-weight: 850;
  position: sticky;
  left: 0;
  z-index: 1;
}

.kithub-size-guide th:first-child {
  background: #eef2f7;
  z-index: 2;
}

.kithub-size-guide p {
  color: var(--app-muted);
  font-size: 0.82rem;
  margin: 0;
}

@media (max-width: 781px) {
  .kithub-storefront-home {
    gap: 29px;
    padding: 12px 0 32px;
  }

  .kithub-storefront-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-block: 16px;
  }

  .kithub-storefront-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .kithub-site-search {
    flex: 0 1 auto;
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .kithub-storefront-nav {
    justify-content: start;
  }

  .kithub-home-hero {
    grid-template-columns: 1fr;
    min-height: 496px;
    padding: 24px;
  }

  .kithub-home-mode-featured_grid .kithub-home-hero {
    grid-template-columns: 1fr;
  }

  .kithub-home-mode-featured_grid .kithub-home-feature-panel {
    grid-template-rows: minmax(180px, 240px) auto;
    min-height: 0;
  }

  .kithub-home-catalog-hero {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .kithub-home-catalog-hero {
    min-height: 0;
  }

  .kithub-home-catalog-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kithub-home-catalog-showcase .kithub-home-mini-product,
  .kithub-home-catalog-showcase .kithub-home-mini-product:first-child {
    grid-row: auto;
    grid-template-columns: 1fr;
  }

  .kithub-home-product-grid,
  .kithub-home-featured-product-layout,
  .kithub-home-category-grid,
  .kithub-collection-wall-grid,
  .kithub-home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kithub-collection-featured-grid,
  .kithub-collection-page-intro,
  .kithub-collection-guide,
  .kithub-collection-lineup-grid,
  .kithub-collection-planned-grid,
  .kithub-collection-page-stats {
    grid-template-columns: 1fr;
  }

  .kithub-collection-page-hero {
    grid-template-columns: 1fr;
  }

  .kithub-collection-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .kithub-home-mode-featured_grid .kithub-home-product-grid,
  .kithub-home-mode-sale_focus .kithub-home-product-grid,
  .kithub-home-mode-simple_shop .kithub-home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kithub-home-featured-product-layout {
    grid-template-columns: 1fr;
  }

  .kithub-home-featured-large-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kithub-home-featured-large-column .kithub-home-product-media {
    height: 100%;
  }

  .kithub-home-featured-small-grid .kithub-home-product-media {
    height: 100%;
  }

  .kithub-storefront-footer-inner {
    grid-template-columns: 1fr;
  }

  .kithub-storefront-polished.woocommerce-page:not(.single-product) .wp-block-woocommerce-catalog-sorting,
  .kithub-storefront-polished.woocommerce-page:not(.single-product) .woocommerce-ordering {
    text-align: left;
  }

  .kithub-footer-links {
    justify-content: start;
  }

  .amazon-product-polished .summary.entry-summary {
    --kithub-summary-padding: 1rem;
  }

  .amazon-product-polished .woocommerce-tabs .tabs {
    flex-wrap: wrap;
  }

  .amazon-spec-table th {
    width: 42%;
  }
}

@media (max-width: 520px) {
  .kithub-home-product-grid,
  .kithub-home-featured-product-layout,
  .kithub-home-category-grid,
  .kithub-collection-wall-grid,
  .kithub-collection-featured-grid,
  .kithub-home-trust {
    grid-template-columns: 1fr;
  }

  .kithub-home-mode-featured_grid .kithub-home-product-grid,
  .kithub-home-mode-sale_focus .kithub-home-product-grid,
  .kithub-home-mode-simple_shop .kithub-home-product-grid {
    grid-template-columns: 1fr;
  }

  .kithub-home-featured-large-column,
  .kithub-home-featured-small-grid {
    grid-template-columns: 1fr;
  }

  .kithub-home-featured-large-column .kithub-home-product-media {
    height: 100%;
  }

  .kithub-home-mode-featured_grid .kithub-home-feature-panel {
    display: none;
  }

  .kithub-home-mini-product {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .kithub-home-catalog-showcase {
    grid-template-columns: 1fr;
  }

  .kithub-home-catalog-showcase .kithub-home-mini-product,
  .kithub-home-catalog-showcase .kithub-home-mini-product:first-child {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 92px;
  }

  .kithub-home-catalog-showcase .kithub-home-mini-product:first-child .kithub-home-mini-image {
    aspect-ratio: 1 / 1;
  }

  .kithub-home-catalog-showcase .kithub-home-mini-product:nth-child(n+3) {
    display: none;
  }

  .kithub-home-mode-new_arrivals .kithub-home-arrival-stack .kithub-home-mini-product:nth-child(n+2) {
    display: none;
  }

  .kithub-storefront-home .kithub-collection-wall {
    gap: 16px;
  }

  .kithub-storefront-home .kithub-collection-wall-block {
    gap: 12px;
  }

  .kithub-storefront-home .kithub-collection-wall-grid {
    gap: 12px;
  }

  .kithub-storefront-home .kithub-collection-wall-card:nth-child(n+3) {
    display: none;
  }

  .kithub-storefront-home .kithub-collection-wall-head {
    align-items: flex-start;
  }

  .kithub-storefront-home .kithub-collection-wall-head h2 {
    font-size: 1.35rem;
  }

  .kithub-storefront-home .kithub-collection-wall-head span {
    font-size: 0.92rem;
  }

  .kithub-storefront-home .kithub-collection-wall-image {
    aspect-ratio: 16 / 10;
    min-height: 118px;
  }

  .kithub-storefront-home .kithub-collection-wall-copy {
    gap: 6px;
    min-height: 0;
    padding: 12px;
  }

  .kithub-storefront-home .kithub-collection-wall-copy strong {
    font-size: 1rem;
  }

  .kithub-home-catalog-showcase .kithub-home-mini-product:first-child .kithub-home-mini-copy strong {
    font-size: 14px;
  }

  .kithub-home-hero h1 {
    max-width: 9ch;
  }

  .kithub-home-mode-sale_focus .kithub-home-hero h1 {
    max-width: 11ch;
  }

  .kithub-home-catalog-hero h1 {
    font-size: 32px;
    max-width: 12ch;
  }
}
/* Optional full-width catalog row. Category facts remain in WooCommerce. */
.kithub-catalog-bar {
  background: #ffffff;
  border-top: 1px solid var(--app-border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  color: var(--app-heading);
  position: relative;
  z-index: 200;
}

.kithub-catalog-bar-inner {
  align-items: stretch;
  display: flex;
  margin: 0 auto;
  max-width: var(--kithub-header-max);
  width: min(calc(100% - (var(--kithub-layout-pad) * 2)), var(--kithub-header-max));
}

.kithub-catalog-bar-menu {
  align-items: stretch;
  display: flex;
  flex: 1 1 auto;
  min-height: 54px;
  min-width: 0;
}

.kithub-catalog-bar a {
  border: 0;
  color: inherit;
  text-decoration: none;
}

.kithub-catalog-home-link,
.kithub-catalog-new-link,
.kithub-catalog-bar-link {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  min-height: 54px;
  padding: 0 16px;
  white-space: nowrap;
}

.kithub-catalog-home-link {
  justify-content: center;
  padding-inline: 12px;
  width: 46px;
}

.kithub-catalog-home-icon {
  display: block;
  height: 20px;
  transition: transform 160ms ease;
  width: 20px;
}

.kithub-catalog-home-link:hover .kithub-catalog-home-icon,
.kithub-catalog-home-link:focus-visible .kithub-catalog-home-icon {
  transform: translateY(-1px);
}

.kithub-catalog-new-link {
  color: var(--kithub-brand-primary);
  font-weight: 820;
}

.kithub-catalog-cart {
  align-items: center;
  border-left: 1px solid var(--app-border) !important;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 720;
  gap: 14px;
  min-height: 54px;
  padding: 0 12px 0 18px;
}

.kithub-catalog-cart-copy {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  white-space: nowrap;
}

.kithub-catalog-cart-total {
  font-weight: 820;
}

.kithub-catalog-cart-total .woocommerce-Price-amount {
  color: inherit;
}

.kithub-catalog-cart-icon-wrap {
  align-items: center;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  position: relative;
  width: 38px;
}

.kithub-catalog-cart-icon {
  height: 23px;
  width: 23px;
}

.kithub-catalog-cart-badge {
  align-items: center;
  background: var(--app-accent);
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 10px;
  font-weight: 850;
  height: 19px;
  justify-content: center;
  line-height: 1;
  min-width: 19px;
  padding: 0 4px;
  position: absolute;
  right: -5px;
  top: -2px;
}

.kithub-catalog-cart:hover,
.kithub-catalog-cart:focus-visible {
  background: var(--kithub-brand-primary);
  color: #ffffff;
}

.kithub-catalog-bar-item {
  align-items: stretch;
  display: flex;
  min-width: 0;
  position: relative;
}

.kithub-catalog-overflow-item {
  display: none;
}

.kithub-catalog-more-item[hidden] {
  display: none;
}

.kithub-catalog-more-icon {
  background: linear-gradient(currentColor 0 0) top / 16px 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 16px 2px no-repeat,
    linear-gradient(currentColor 0 0) bottom / 16px 2px no-repeat;
  display: inline-block;
  height: 12px;
  width: 16px;
}

.kithub-catalog-more-dropdown {
  left: auto;
  right: 0;
}

.kithub-catalog-bar-link {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kithub-catalog-bar-item:hover,
.kithub-catalog-bar-item.is-open,
.kithub-catalog-home-link:hover,
.kithub-catalog-new-link:hover {
  background: color-mix(in srgb, var(--kithub-brand-primary) 7%, #ffffff);
  color: var(--kithub-brand-primary);
}

.kithub-catalog-submenu-toggle,
.kithub-catalog-mobile-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.kithub-catalog-submenu-toggle {
  margin-left: -12px;
  min-width: 34px;
  padding: 0 6px;
  position: relative;
}

.kithub-catalog-submenu-toggle::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  display: block;
  height: 6px;
  left: 10px;
  position: absolute;
  top: 21px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  width: 6px;
}

.kithub-catalog-submenu-toggle[aria-expanded="true"]::after {
  top: 24px;
  transform: rotate(225deg);
}

.kithub-catalog-more-button {
  gap: 8px;
  margin-left: 0;
  padding: 0 16px;
  white-space: nowrap;
}

.kithub-catalog-more-button::after {
  content: none;
  display: none;
}

.kithub-catalog-category-item,
.kithub-catalog-more-item {
  flex: 0 0 auto;
}

.kithub-catalog-dropdown {
  background: #ffffff;
  border: 1px solid var(--app-border);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  left: 0;
  max-height: min(68vh, 560px);
  min-width: 300px;
  overflow: auto;
  padding: 18px 20px;
  position: absolute;
  top: 100%;
  width: max-content;
  max-width: min(680px, calc(100vw - 32px));
  z-index: 60;
}

.kithub-catalog-dropdown[hidden] {
  display: none;
}

.kithub-catalog-level {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kithub-catalog-level-0 {
  columns: 2 180px;
  column-gap: 28px;
}

.kithub-catalog-level-0 > li {
  break-inside: avoid;
  margin: 0 0 12px;
}

.kithub-catalog-level a {
  color: var(--app-text);
  display: block;
  font-size: 14px;
  line-height: 1.35;
  padding: 5px 0;
}

.kithub-catalog-level-0 > li > a {
  color: var(--app-heading);
  font-weight: 780;
}

.kithub-catalog-level .kithub-catalog-level {
  border-left: 1px solid var(--app-border);
  margin: 3px 0 0 2px;
  padding-left: 12px;
}

.kithub-catalog-level-1 a,
.kithub-catalog-level-2 a {
  color: var(--app-muted);
  font-size: 13px;
}

.kithub-catalog-level a:hover,
.kithub-catalog-level a:focus-visible {
  color: var(--kithub-brand-primary);
}

.kithub-catalog-mobile-toggle {
  display: none;
}

.kithub-catalog-mobile-toggle:focus-visible,
.kithub-catalog-submenu-toggle:focus-visible,
.kithub-catalog-bar a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--kithub-brand-primary) 45%, transparent);
  outline-offset: -3px;
}

@media (max-width: 1100px) {
  .kithub-catalog-bar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .kithub-catalog-mobile-toggle {
    align-items: center;
    display: flex;
    font-weight: 780;
    gap: 10px;
    min-height: 50px;
    padding: 0 var(--kithub-layout-pad);
    width: 100%;
  }

  .kithub-catalog-menu-icon,
  .kithub-catalog-menu-icon::before,
  .kithub-catalog-menu-icon::after {
    background: currentColor;
    content: "";
    display: block;
    height: 2px;
    position: relative;
    width: 18px;
  }

  .kithub-catalog-menu-icon::before {
    position: absolute;
    top: -6px;
  }

  .kithub-catalog-menu-icon::after {
    position: absolute;
    top: 6px;
  }

  .kithub-catalog-bar-menu {
    border-top: 1px solid var(--app-border);
    display: none;
    max-height: min(72vh, 620px);
    overflow: auto;
    padding: 8px var(--kithub-layout-pad) 16px;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .kithub-catalog-bar.is-mobile-open .kithub-catalog-bar-menu {
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }

  .kithub-catalog-home-link,
  .kithub-catalog-new-link,
  .kithub-catalog-bar-link {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 8px;
    width: auto;
  }

  .kithub-catalog-home-icon {
    margin-left: 3px;
  }

  .kithub-catalog-cart {
    border-left: 1px solid var(--app-border) !important;
    grid-column: 2;
    grid-row: 1;
    min-height: 50px;
    padding: 0 14px;
  }

  .kithub-catalog-cart-copy {
    display: none;
  }

  .kithub-catalog-bar-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .kithub-catalog-more-item {
    display: none;
  }

  .kithub-catalog-overflow-item {
    display: grid;
  }

  .kithub-catalog-submenu-toggle {
    margin: 0;
    min-height: 46px;
  }

  .kithub-catalog-submenu-toggle::after {
    left: 17px;
    top: 18px;
  }

  .kithub-catalog-submenu-toggle[aria-expanded="true"]::after {
    top: 21px;
  }

  .kithub-catalog-dropdown {
    border: 0;
    border-left: 2px solid color-mix(in srgb, var(--kithub-brand-primary) 30%, var(--app-border));
    box-shadow: none;
    grid-column: 1 / -1;
    margin: 0 0 8px 8px;
    max-height: none;
    max-width: none;
    min-width: 0;
    padding: 6px 14px 10px;
    position: static;
    width: auto;
  }

  .kithub-catalog-level-0 {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kithub-catalog-submenu-toggle::after {
    transition: none;
  }
}

/* The selected variation price is rendered in the existing summary price. */
.amazon-product-polished .kithub-variation-price-in-summary .woocommerce-variation-price {
  display: none;
}
