/*
Theme Name: Jovixel Marketplace
Theme URI: https://jovixel.com/jovixels-marketplace-child
Template: astra
Author: Jovixel Solutions
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Description: A modern marketplace-focused child theme for WooCommerce built on the Astra parent theme.
Text Domain: jovixels-marketplace
*/

:root {
  --market-primary: #B7472A;
  --market-secondary: #D99A24;
  --market-accent: #F0B83A;
  --market-background: #F7EBD5;
  --market-surface: #fffdf9;
  --market-surface-alt: #fff0e2;
  --market-text: #171717;
  --market-muted: #71645b;
  --market-border: #e4d9c8;
  --market-success: #a8521c;
  --market-warning: #F0B83A;
  --market-error: #b42318;
  --market-hover: #ffead5;
  --market-shadow-sm: 0 10px 24px rgba(52, 37, 29, 0.08);
  --market-shadow-md: 0 18px 40px rgba(52, 37, 29, 0.12);
  --market-radius-sm: 10px;
  --market-radius-md: 18px;
  --market-radius-lg: 24px;
  --market-container: 1280px;
  --market-gap: 24px;
  --market-font-family: "Quicksand", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--market-background);
  color: var(--market-text);
  font-family: var(--market-font-family);
}

body *:not(i):not(svg):not([class*="icon"]):not([class*="Icon"]):not(.dashicons):not([class^="fa"]):not([class*=" fa"]) {
  font-family: var(--market-font-family) !important;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.container,
.site-content .entry-content > .container,
.ast-container,
.marketplace-shell {
  max-width: var(--market-container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.marketplace-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--market-border);
}

.marketplace-topbar {
  background: var(--market-secondary);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketplace-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.marketplace-header-main {
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 75px;
}

.marketplace-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--market-secondary);
  text-decoration: none;
}

.marketplace-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--market-primary), #f09a35);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.marketplace-logo-image {
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-width: min(180px, 32vw);
  max-height: 48px;
  object-fit: contain;
}

.marketplace-search {
  display: flex;
  width: 100%;
  align-items: center;
  border: 1px solid var(--market-border);
  background: var(--market-surface);
  border-radius: 16px;
  overflow: hidden;
}

.marketplace-search input[type="search"] {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 18px;
  min-height: 48px;
  font-size: 1rem;
  color: var(--market-text);
}

.marketplace-search button {
  min-width: 120px;
  min-height: 52px;
  border: 0;
  background: linear-gradient(135deg, var(--market-primary), #f09a35);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.marketplace-user-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.marketplace-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--market-secondary);
  font-weight: 600;
}

.marketplace-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: var(--market-accent);
  color: #111827;
  font-weight: 800;
}

.marketplace-primary-nav {
  position: relative;
  z-index: 1040;
  background: var(--market-surface);
  border-top: 1px solid rgba(17, 38, 61, 0.06);
  border-bottom: 1px solid var(--market-border);
}

.marketplace-primary-nav-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  min-height: 54px;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.marketplace-mega-category-row,
.marketplace-mega-subcategory-row {
  display: flex;
  align-items: center;
}

.marketplace-mega-category-row > a,
.marketplace-mega-subcategory-row > a {
  flex: 1 1 auto;
  min-width: 0;
}

.marketplace-mega-category-row > button,
.marketplace-mega-subcategory-row > button {
  display: none;
  flex: 0 0 40px;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--market-primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.marketplace-nav-categories,
.marketplace-nav-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--market-secondary);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.marketplace-nav-categories:hover,
.marketplace-nav-categories:focus-visible,
.marketplace-nav-feature:hover,
.marketplace-nav-feature:focus-visible {
  background: var(--market-hover);
  color: var(--market-primary);
}

.marketplace-nav-static {
  cursor: default;
}

.marketplace-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--market-primary);
  font-size: 1.05rem;
  line-height: 1;
}

.marketplace-nav-support-icon {
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
}

.marketplace-menu-bars {
  display: grid;
  gap: 3px;
  width: 18px;
}

.marketplace-menu-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.marketplace-category-mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  z-index: 1060;
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 2fr);
  width: min(calc(100vw - 40px), var(--market-container));
  max-height: min(72vh, 620px);
  overflow: auto;
  transform: translateX(-50%);
  border: 1px solid var(--market-border);
  border-radius: 0 0 14px 14px;
  background: var(--market-surface);
  box-shadow: var(--market-shadow-md);
}

.marketplace-category-mega[hidden],
.marketplace-mega-panel[hidden],
.marketplace-mega-product-list[hidden] {
  display: none !important;
}

.marketplace-mega-category-list {
  padding: 20px 0;
  border-right: 1px solid var(--market-border);
  background: var(--market-background);
}

.marketplace-mega-category-list h2 {
  margin: 0 18px 12px;
  color: var(--market-secondary);
  font-size: 1rem;
}

.marketplace-mega-category-list ul,
.marketplace-mega-product-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.marketplace-mega-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 18px;
  color: var(--market-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.marketplace-mega-category-list a:hover,
.marketplace-mega-category-list a:focus-visible,
.marketplace-mega-category-list a[aria-current="true"] {
  background: var(--market-surface);
  color: var(--market-primary);
}

.marketplace-mega-panels {
  min-width: 0;
}

.marketplace-mega-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  min-height: 100%;
}

.marketplace-mega-subcategories,
.marketplace-mega-product-column {
  min-width: 0;
  padding: 20px;
}

.marketplace-mega-subcategories {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--market-border);
}

.marketplace-mega-subcategory-row {
  width: 100%;
}

.marketplace-mega-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--market-secondary);
  font-weight: 800;
  text-decoration: none;
}

.marketplace-mega-subcategory {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--market-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.marketplace-mega-subcategory:hover,
.marketplace-mega-subcategory:focus-visible,
.marketplace-mega-subcategory[aria-current="true"] {
  background: var(--market-hover);
  color: var(--market-primary);
}

.marketplace-mega-product-column h3 {
  margin: 0 0 12px;
  color: var(--market-secondary);
  font-size: 0.95rem;
}

.marketplace-mega-product-links {
  display: grid;
  gap: 4px;
}

.marketplace-mega-product-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--market-border);
  color: var(--market-text);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    color: #333333;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #594cd8;
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.marketplace-mega-product-links a:hover,
.marketplace-mega-product-links a:focus-visible {
  color: var(--market-primary);
}

.marketplace-mega-product-links strong {
  flex: 0 0 auto;
  color: var(--market-primary);
}

.marketplace-primary-nav :focus-visible {
  outline: 2px solid var(--market-primary);
  outline-offset: 2px;
}

.marketplace-nav-links,
.marketplace-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.marketplace-nav-links a,
.marketplace-menu a {
  text-decoration: none;
  color: var(--market-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.marketplace-menu a:hover,
.marketplace-nav-links a:hover,
.marketplace-icon-link:hover,
.marketplace-logo:hover {
  color: var(--market-text);
}

main {
  padding: 5px 0 64px;
}

.marketplace-hero,
.marketplace-section {
  margin-bottom: 28px;
}

.marketplace-hero-grid {
  position: relative;
  display: grid;
  height: clamp(340px, 31vw, 380px);
  max-height: 380px;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(15px, 3vw, 54px);
  background: linear-gradient(135deg, rgba(216, 95, 24, 0.12), rgba(52, 37, 29, 0.05));
  border: 1px solid rgba(216, 95, 24, 0.14);
  border-radius: var(--market-radius-lg);
  padding-left: 28px;
  padding-right:0px;
  box-shadow: var(--market-shadow-sm);
  overflow: hidden;
}

.marketplace-hero-copy-stack {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
}

.marketplace-hero-copy-slide[hidden],
.marketplace-hero-image-slide[hidden] {
  display: none;
}

.marketplace-hero-copy-slide.is-active,
.marketplace-hero-image-slide.is-active {
  animation: marketplace-hero-enter 520ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.marketplace-hero-eyebrow {
  margin: 0 0 14px;
  color: var(--market-primary) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  text-transform: uppercase;
}

.marketplace-hero-featured-product {
  display: grid;
  padding-left: 14px;
  border-left: 3px solid var(--market-accent);
}

.marketplace-hero-featured-product > span:first-child {
  color: var(--market-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.marketplace-hero-featured-product strong {
  color: var(--market-secondary);
  font-size: 1rem;
}

.marketplace-hero-featured-product .price,
.marketplace-hero-featured-product .amount {
  color: var(--market-primary);
  font-size: 1.05rem;
  font-weight: 800;
}

.marketplace-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--market-muted);
  font-size: 0.82rem;
}

.marketplace-hero-rating .star-rating {
  margin: 0;
  color: var(--market-accent);
}

.marketplace-hero-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  overflow: hidden;
  background: rgba(52, 37, 29, 0.12);
}

.marketplace-hero-progress-bar {
  display: block;
  width: 70%;
  height: 100%;
  background: var(--market-primary);
  transform: scaleX(0);
  transform-origin: left center;
}

.marketplace-hero-grid.is-rotating .marketplace-hero-progress-bar {
  animation: marketplace-hero-progress 6s linear forwards;
}

@keyframes marketplace-hero-progress {
  to { transform: scaleX(1); }
}

.marketplace-hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--market-surface);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.marketplace-hero-image-slide {
  position: absolute;
  inset: 0;
}

.marketplace-hero-product,
.marketplace-hero-product img {
  display: block;
  width: 100%;
  height: 100%;
}

.marketplace-hero-product {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.marketplace-hero-product img {
  object-fit: cover;
}

.marketplace-hero-product:focus-visible {
  outline: 3px solid var(--market-primary);
  outline-offset: -4px;
}

.marketplace-hero-image {
  min-height: 0;
  border-radius: 10px;
}

.marketplace-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes marketplace-hero-enter {
  from { opacity: 0.45; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.marketplace-hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  font-weight: 500;
  line-height: 0.9;
  margin: 0 0 8px;
  color: var(--market-text);
}

.marketplace-hero-copy p {
  margin: 8px 0 5px;
  color: var(--market-muted);
  font-size: 1.02rem;
}

.marketplace-hero-image {
  position: relative;
  aspect-ratio: 1.1 / 1;
}
.marketplace-hero-grid:focus-visible,
.marketplace-hero-product:focus-visible {
  outline: 3px solid var(--market-primary);
}

.marketplace-cta-group,
.marketplace-inline-actions {
  display: flex;
  gap: 8px;
}

.marketplace-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.marketplace-button.primary {
  background: linear-gradient(135deg, var(--market-primary), #f09a35);
  color: #fff;
  box-shadow: var(--market-shadow-sm);
}

.marketplace-button.secondary {
  background: var(--market-surface);
  border-color: var(--market-border);
  color: var(--market-secondary);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
  background: linear-gradient(135deg, var(--market-primary), #f09a35);
  color: #fff;
  border: none;
  border-radius: 12px;
  min-height: 46px;
  font-weight: 700;
  box-shadow: var(--market-shadow-sm);
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  filter: brightness(0.96);
}

.marketplace-hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.marketplace-stat {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(17, 38, 61, 0.06);
  border-radius: 14px;
  padding: 18px;
}

.marketplace-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--market-secondary);
}

.marketplace-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.marketplace-section-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  letter-spacing: -0.03em;
  color: var(--market-secondary);
}

.marketplace-section-header a {
  text-decoration: none;
  color: var(--market-primary);
  font-weight: 700;
}

.marketplace-section {
  padding: 22px 0;
}

.marketplace-section-featured {
  background: var(--market-surface);
}

.marketplace-section-deals {
  background: var(--market-hover);
}

.marketplace-section-trust {
  background: var(--market-background);
}

.marketplace-category-grid,
.product-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.marketplace-category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.marketplace-category-card,
.product-card,
.footer-card {
  background: var(--market-surface);
  border: 1px solid var(--market-border);
  border-radius: var(--market-radius-md);
  box-shadow: var(--market-shadow-sm);
}

.marketplace-category-card {
  padding: 18px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--market-secondary);
}

.marketplace-category-card .icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(216, 95, 24, 0.1);
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--market-shadow-md);
}

.product-card-media {
  position: relative;
  background: var(--market-surface-alt);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-badges {
  position: absolute;
  inset: 12px auto auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--market-accent);
  color: #111827;
}

.product-badge.secondary {
  background: rgba(17, 38, 61, 0.08);
  color: var(--market-secondary);
}

.product-card-body {
  padding: 18px 18px 20px;
}

.product-card-body h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.product-card-body h3 a {
  text-decoration: none;
  color: var(--market-secondary);
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--market-muted);
  font-size: 0.82rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.amount,
.price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--market-secondary);
}

del,
body .woocommerce del,
body .woocommerce .price del,
body .woocommerce .amount del,
.price del,
.price del .amount,
.product-price-row del,
.marketplace-hero-featured-product .price del,
.marketplace-mobile-buy-price del,
.woocommerce-cart-form del,
.woocommerce-checkout-review-order-table del,
.widget_shopping_cart_content del,
.single-product div.product p.price del,
.single-product div.product span.price del {
  color: var(--market-muted) !important;
  font-size: clamp(0.68rem, 0.75em, 0.9rem) !important;
  font-weight: 500;
  text-decoration: line-through !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 1px;
  opacity: 0.72;
}


.product-price-row del .woocommerce-Price-amount.amount,
.marketplace-category-mega .marketplace-mega-panels .marketplace-mega-panel .marketplace-mega-product-column .marketplace-mega-product-list .marketplace-mega-product-results .marketplace-mega-product-links del .woocommerce-Price-amount.amount{
  color: var(--market-muted) !important;
  font-size: clamp(0.7rem, 0.85em, 1.27rem) !important;
  font-weight: 500;
  text-decoration: line-through !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 1px;
  opacity: 0.72;
}

ins {
  text-decoration: none !important;
}

.marketplace-inline-actions .marketplace-button {
  min-height: 40px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing:  0em;
  text-wrap: wrap;
}

.marketplace-inline-actions .button{
  font-size: 0.7em;
}

.marketplace-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.marketplace-trust-item {
  background: var(--market-surface);
  border: 1px solid var(--market-border);
  border-radius: var(--market-radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.marketplace-trust-item .icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(216, 95, 24, 0.1);
}

.marketplace-home-story {
  padding: clamp(48px, 4vw, 88px) 0;
  background: var(--market-surface);
  border-top: 1px solid var(--market-border);
}

.marketplace-home-story-container {
  max-width: var(--market-container);
}

.marketplace-home-story-content {
  max-width: var(--market-container);
  margin: 0 auto;
  color: var(--market-text);
  font-size: 1rem;
  line-height: 1.8;
}

.marketplace-home-story-content p {
  margin: 0 0 16px;
  color: var(--market-muted);
}

.marketplace-home-story-intro {
  margin-bottom: 42px;
  padding: clamp(24px, 0px, 40px);
  background: var(--market-background);
  border: 1px solid var(--market-border);
  border-top: 4px solid var(--market-primary);
  border-radius: var(--market-radius-md);
}

.marketplace-home-story-eyebrow {
  margin-bottom: 8px !important;
  color: var(--market-primary) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketplace-home-story-intro h2,
.marketplace-home-story-section h3,
.marketplace-home-story-faq h2,
.marketplace-home-story-cta h2 {
  color: var(--market-secondary);
  line-height: 1.3;
}

.marketplace-home-story-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
}

.marketplace-home-story-intro p:last-child,
.marketplace-home-story-section p:last-child {
  margin-bottom: 0;
}

.marketplace-home-story-section {
  margin: 0 0 34px;
}

.marketplace-home-story-section h3 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.marketplace-home-story-list {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding-left: 24px;
  color: var(--market-muted);
}

.marketplace-home-story-list li::marker {
  color: var(--market-primary);
}

.marketplace-home-story-emphasis {
  color: var(--market-secondary) !important;
  font-weight: 800;
}

.marketplace-home-story-tagline {
  display: inline-block;
  margin-top: 4px !important;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--market-surface-alt);
  color: var(--market-secondary) !important;
  font-weight: 800;
}

.marketplace-home-story-faq {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--market-border);
}

.marketplace-home-story-faq h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.marketplace-home-story-faq details {
  margin: 0 0 10px;
  padding: 0 18px;
  border: 1px solid var(--market-border);
  border-radius: var(--market-radius-sm);
  background: var(--market-background);
}

.marketplace-home-story-faq summary {
  padding: 15px 24px 15px 0;
  color: var(--market-text);
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.marketplace-home-story-faq summary::marker {
  color: var(--market-primary);
}

.marketplace-home-story-faq details[open] summary {
  color: var(--market-secondary);
}

.marketplace-home-story-faq details p {
  margin: 0;
  padding: 0 0 16px;
}

.marketplace-home-story-cta {
  margin-top: 44px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--market-radius-md);
  background: linear-gradient(135deg, var(--market-surface-alt), var(--market-background));
  text-align: center;
}

.marketplace-home-story-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.marketplace-home-story-cta p {
  max-width: 680px;
  margin: 0 auto 22px;
}

.marketplace-footer {
  background: var(--market-secondary);
  color: rgba(255,255,255,0.82);
  padding: 44px 0 18px;
}

.marketplace-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.marketplace-footer-column h3,
.marketplace-footer-column h4,
.marketplace-footer-payments h4 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 1rem;
}

.marketplace-footer-brand h3 {
  font-size: 1.2rem;
}

.marketplace-footer-brand p {
  max-width: 300px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.marketplace-footer-logo {
  display: inline-block;
  margin-bottom: 14px;
}

.marketplace-footer-logo img {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 44px;
  object-fit: contain;
}

.marketplace-footer-column ul,
.marketplace-footer-menu {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marketplace-footer-column a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}

.marketplace-footer-column a:hover,
.marketplace-footer-column a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.marketplace-footer-payments {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.marketplace-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marketplace-payment-methods li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  color: #34251d;
  font-size: 0.82rem;
  font-weight: 700;
}

.marketplace-payment-icon img {
  display: block;
  width: auto;
  max-width: 64px;
  height: auto;
  max-height: 24px;
  object-fit: contain;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  margin-bottom: 24px;
}

.footer-card {
  background: rgba(255,255,255,0.025);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  padding: 18px;
}

.footer-card h3,
.footer-card h4 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 16px;
}

.footer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-card li + li {
  margin-top: 10px;
}

.footer-card a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

.marketplace-page-shell {
  background: var(--market-surface);
  border: 1px solid var(--market-border);
  box-shadow: var(--market-shadow-sm);
  border-radius: var(--market-radius-lg);
  padding: 24px;
}

.marketplace-step-checkout .marketplace-page-shell {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 32px auto;
  box-sizing: border-box;
}

body.cartflows-instant-checkout {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, 1120px) minmax(20px, 1fr);
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

body.cartflows-instant-checkout > .marketplace-step-checkout,
body.cartflows-instant-checkout > .marketplace-footer {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

body.cartflows-instant-checkout .marketplace-step-checkout > .marketplace-page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.cartflows-instant-checkout .marketplace-header {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.cartflows-instant-checkout .wcf-embed-checkout-form,
body.cartflows-instant-checkout .wcf-empty-cart-notice-block {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 32px auto;
  box-sizing: border-box;
}

body.cartflows-instant-checkout .marketplace-header > .marketplace-topbar > .container,
body.cartflows-instant-checkout .marketplace-header > .container,
body.cartflows-instant-checkout .marketplace-primary-nav-inner,
body.cartflows-instant-checkout .marketplace-footer > .container {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.marketplace-step-checkout .wcf-empty-cart-notice-block {
  margin: 0;
}

.marketplace-step-checkout .wcf-empty-cart-message-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.marketplace-step-checkout .wcf-empty-cart-wrapper {
  justify-content: center;
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--market-border);
  border-radius: var(--market-radius-md);
  background: var(--market-surface);
  box-shadow: var(--market-shadow-sm);
  box-sizing: border-box;
}

.marketplace-step-checkout .wcf-empty-cart-icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--market-surface-alt);
  color: var(--market-primary);
}

.marketplace-step-checkout .wcf-empty-cart-heading {
  color: var(--market-secondary);
}

.marketplace-step-checkout .wcf-empty-cart-message {
  color: var(--market-muted);
}

.marketplace-step-checkout .wcf-empty-cart-message-container .wcf-empty-cart-content .wcf-empty-cart-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--market-primary), #f09a35);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.account-layout,
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.account-sidebar,
.checkout-summary-column,
.checkout-form-column {
  background: var(--market-background);
  border: 1px solid var(--market-border);
  border-radius: var(--market-radius-md);
  padding: 18px;
}

.account-content {
  min-width: 0;
}

.woocommerce-cart-form table,
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.woocommerce-cart-form th,
.woocommerce-cart-form td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  border-bottom: 1px solid var(--market-border);
  padding: 14px 10px;
}

.woocommerce-cart-form img,
.woocommerce-checkout-review-order-table img {
  border-radius: 10px;
}

.woocommerce .cart-collaterals {
  margin-top: 24px;
}

.woocommerce .cart_totals {
  background: var(--market-background);
  border: 1px solid var(--market-border);
  border-radius: var(--market-radius-md);
  padding: 18px;
}

.marketplace-shop-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.marketplace-sidebar {
  background: var(--market-background);
  border: 1px solid var(--market-border);
  border-radius: var(--market-radius-md);
  padding: 18px;
}

.marketplace-sidebar .widget {
  margin-bottom: 22px;
}

.marketplace-sidebar .widget-title {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--market-secondary);
}

.marketplace-page-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.marketplace-page-intro h1 {
  margin: 0;
  color: var(--market-secondary);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.woocommerce-results-count,
.woocommerce-ordering {
  color: var(--market-muted);
}

.woocommerce-ordering select {
  border: 1px solid var(--market-border);
  border-radius: 10px;
  padding: 10px 12px;
}

@media (max-width: 980px) {
  .marketplace-header-main {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .marketplace-user-actions {
    justify-content: flex-start;
  }

  .marketplace-primary-nav-inner {
    grid-template-columns: repeat(6, minmax(116px, 1fr));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .marketplace-primary-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .marketplace-category-mega {
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.5fr);
    width: min(calc(100vw - 24px), var(--market-container));
    max-height: 72vh;
  }

  .marketplace-mega-category-row > button,
  .marketplace-mega-subcategory-row > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .marketplace-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .marketplace-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 18px;
  }

  .marketplace-hero-copy-stack {
    max-height: none;
  }

  .marketplace-hero-visual {
    height: clamp(240px, 45vw, 340px);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-trust-grid,
  .footer-grid,
  .marketplace-footer-grid,
  .account-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-shop-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marketplace-topbar .container {
    justify-content: center;
    text-align: center;
  }

  .marketplace-search {
    flex-wrap: wrap;
    border-radius: 14px;
  }

  .marketplace-search input[type="search"],
  .marketplace-search button {
    width: 100%;
  }

  .marketplace-category-grid,
  .product-grid,
  .marketplace-trust-grid,
  .footer-grid,
  .marketplace-footer-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-nav-categories,
  .marketplace-nav-feature {
    gap: 5px;
    padding: 0 8px;
    font-size: 0.76rem;
  }

  .marketplace-nav-icon {
    width: 16px;
    height: 16px;
    font-size: 0.9rem;
  }

  .marketplace-category-mega {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100vw - 24px);
    max-height: 75vh;
  }

  .marketplace-mega-category-list {
    max-height: 180px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid var(--market-border);
  }

  .marketplace-mega-category-list ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-mega-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-mega-subcategories {
    max-height: 170px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid var(--market-border);
  }

  .marketplace-mega-subcategories,
  .marketplace-mega-product-column {
    padding: 12px;
  }

  .marketplace-payment-methods {
    gap: 8px;
  }

  .marketplace-hero-grid {
    padding: 16px;
  }

  .marketplace-hero-visual,
  .marketplace-hero-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.3 / 1;
  }

  .marketplace-hero-visual {
    clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  }

  .marketplace-hero-copy-stack {
    min-height: 0;
  }

  .marketplace-hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-page-shell {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketplace-hero-copy-slide.is-active,
  .marketplace-hero-image-slide.is-active,
  .marketplace-archive-copy-slide.is-active,
  .marketplace-archive-image-slide.is-active {
    animation: none;
  }
}

.marketplace-product-strip.product-grid {
  display: flex;
  grid-template-columns: none;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--market-primary) var(--market-border);
  scrollbar-width: thin;
}

.marketplace-product-strip > .product-card {
  flex: 0 0 260px;
  min-width: 0;
  scroll-snap-align: start;
}

.marketplace-product-strip .marketplace-inline-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  text-transform: uppercase;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.marketplace-strip-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.marketplace-strip-actions button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--market-border);
  border-radius: 6px;
  background: var(--market-surface);
  color: var(--market-secondary);
  cursor: pointer;
  font-size: 1.1rem;
}

.marketplace-archive-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  min-height: 300px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--market-border);
  border-radius: 12px;
  background: var(--market-surface-alt);
}

.marketplace-archive-banner-copy {
  display: grid;
  align-items: center;
  padding: 28px;
}

.marketplace-archive-copy-slide[hidden],
.marketplace-archive-image-slide[hidden] {
  display: none;
}

.marketplace-archive-copy-slide.is-active,
.marketplace-archive-image-slide.is-active {
  animation: marketplace-hero-enter 520ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.marketplace-archive-copy-slide > p:first-child {
  margin: 0 0 8px;
  color: var(--market-primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.marketplace-archive-copy-slide h2 {
  margin: 0 0 12px;
  color: var(--market-secondary);
  font-size: 1.65rem;
  line-height: 1.2;
}

.marketplace-archive-copy-slide .price {
  margin-bottom: 16px;
}

.marketplace-archive-banner-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--market-surface);
}

.marketplace-carousel-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.marketplace-carousel-arrow,
.marketplace-carousel-dots button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 10px;
  min-height: 10px;
  border: 1px solid rgba(43, 36, 31, 0.18);
  border-radius: 50%;
  background: var(--market-surface);
  color: var(--market-secondary);
  cursor: pointer;
}

.marketplace-carousel-arrow {
  font-size: 1rem;
}

.marketplace-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.marketplace-carousel-dots button {
  min-width: 9px;
  min-height: 9px;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 1px 4px rgba(43, 36, 31, 0.2);
}

.marketplace-carousel-dots button[aria-current="true"] {
  width: 22px;
  border-radius: 8px;
  background: var(--market-primary);
}

.marketplace-carousel-arrow:focus-visible,
.marketplace-carousel-dots button:focus-visible,
.marketplace-filter-toggle:focus-visible {
  outline: 3px solid var(--market-primary);
  outline-offset: 2px;
}

.marketplace-archive-image-slide {
  position: absolute;
  inset: 0;
}

.marketplace-archive-image-slide .marketplace-hero-product img {
  object-fit: cover;
}

.marketplace-archive-banner.is-rotating .marketplace-hero-progress-bar {
  animation: marketplace-hero-progress 6s linear forwards;
}

.marketplace-shop-grid {
  align-items: start;
}

.marketplace-sidebar {
  position: sticky;
  top: 180px;
}

.marketplace-filter-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--market-secondary);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.marketplace-filter-toggle span {
  font-size: 1.3rem;
  line-height: 1;
}

.marketplace-filter-form h2 {
  margin: 0 0 18px;
  color: var(--market-secondary);
  font-size: 1.15rem;
}

.marketplace-filter-form fieldset {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0 0 18px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--market-border);
}

.marketplace-filter-form legend {
  margin-bottom: 10px;
  color: var(--market-secondary);
  font-weight: 700;
}

.marketplace-filter-form fieldset > label:not(.marketplace-filter-option) {
  display: grid;
  gap: 5px;
  color: var(--market-muted);
  font-size: 0.85rem;
}

.marketplace-filter-form input[type="number"],
.marketplace-filter-form select {
  width: 100%;
  min-height: 30px;
  border: 1px solid var(--market-border);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--market-surface);
}

.marketplace-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--market-text);
  font-size: 0.9rem;
}

.marketplace-filter-option input {
  accent-color: var(--market-primary);
}

.marketplace-filter-form > .marketplace-button {
  width: 100%;
  min-height: 42px;
  border-radius: 6px;
  cursor: pointer;
}

.marketplace-filter-reset {
  display: block;
  margin-top: 12px;
  color: var(--market-muted);
  text-align: center;
  text-decoration: underline;
}

.woocommerce-cart .cart-collaterals {
  display: flex;
  justify-content: stretch;
}

.woocommerce-cart .cart_totals {
  flex: 1 1 100%;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border-radius: 8px;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-checkout .checkout-form-column,
.woocommerce-checkout .checkout-summary-column,
.woocommerce-order-pay .woocommerce {
  border: 1px solid var(--market-border);
  border-radius: 8px;
  background: var(--market-surface);
  box-shadow: var(--market-shadow-sm);
  padding: 22px;
}

body.woocommerce-cart {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(220px, 280px) minmax(0, 900px) minmax(20px, 1fr);
  align-items: start;
  column-gap: clamp(16px, 2vw, 24px);
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

body.woocommerce-cart > .marketplace-header,
body.woocommerce-cart > .marketplace-footer {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

body.woocommerce-cart .marketplace-header > .marketplace-topbar > .container,
body.woocommerce-cart .marketplace-header > .container,
body.woocommerce-cart .marketplace-primary-nav-inner,
body.woocommerce-cart .marketplace-footer > .container {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

body.woocommerce-cart > #secondary.widget-area.secondary {
  grid-column: 2;
  min-width: 0;
  width: 100%;
  margin: 24px 0;
  padding: 0;
  box-sizing: border-box;
}

body.woocommerce-cart > #secondary.widget-area.secondary > .widget {
  width: 100%;
  min-width: 0;
  margin: 0 0 18px;
  padding: 18px;
  box-sizing: border-box;
}

body.woocommerce-cart > #primary.content-area.primary {
  grid-column: 3;
  min-width: 0;
  width: 100%;
  margin: 24px 0;
  box-sizing: border-box;
}

body.woocommerce-cart > #primary.content-area.primary > .site-main > .ast-article-single {
  padding: 24px 20px;
}

.woocommerce-cart .woocommerce-cart-form {
  overflow-x: auto;
}

@media (max-width: 767px) {
  body.woocommerce-cart {
    grid-template-columns: minmax(0, 1fr);
  }

  body.woocommerce-cart > .marketplace-header,
  body.woocommerce-cart > .marketplace-footer,
  body.woocommerce-cart > #secondary.widget-area.secondary,
  body.woocommerce-cart > #primary.content-area.primary {
    grid-column: 1;
  }

  body.woocommerce-cart > #secondary.widget-area.secondary {
    margin-bottom: 0;
  }

  body.woocommerce-cart > #primary.content-area.primary {
    margin-top: 16px;
  }
}

.woocommerce-cart-form table.shop_table,
.woocommerce-checkout-review-order-table,
.woocommerce-order-pay table.shop_table {
  border: 0;
}

.woocommerce-cart-form th,
.woocommerce-checkout-review-order-table th,
.woocommerce-order-pay table.shop_table th {
  color: var(--market-secondary);
  font-weight: 700;
}

.woocommerce-checkout .checkout-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: start;
}

.woocommerce-checkout .checkout-summary-column {
  position: sticky;
  top: 180px;
}

.woocommerce-checkout .checkout-form-column,
.woocommerce-checkout .checkout-summary-column {
  background: var(--market-surface);
}

.woocommerce-order-pay .woocommerce {
  max-width: 820px;
  margin: 24px auto;
}

.woocommerce-order-pay #payment {
  border-radius: 8px;
  background: var(--market-background);
}

.marketplace-checkout {
  padding: 28px 20px;
}

.marketplace-checkout h1 {
  margin: 0 0 22px;
  color: var(--market-secondary);
  font-size: 1.8rem;
}

@media (max-width: 980px) {
  .marketplace-archive-banner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .marketplace-sidebar {
    padding: 12px 16px;
  }

  .marketplace-filter-toggle {
    display: flex;
  }

  .marketplace-sidebar.has-filter-toggle:not(.is-expanded) .marketplace-filter-form {
    display: none;
  }

  .marketplace-sidebar,
  .woocommerce-checkout .checkout-summary-column {
    position: static;
  }

  .woocommerce-checkout .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marketplace-product-strip > .product-card {
    flex-basis: min(78vw, 260px);
  }

  .marketplace-archive-banner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .marketplace-archive-banner-copy {
    min-height: 210px;
    padding: 20px;
  }

  .marketplace-archive-banner-visual {
    min-height: 220px;
  }

  .marketplace-carousel-controls {
    right: 10px;
    bottom: 12px;
    gap: 7px;
  }

  .marketplace-carousel-arrow {
    min-width: 34px;
    min-height: 34px;
  }

  .marketplace-strip-actions {
    gap: 6px;
  }

  .marketplace-strip-actions a {
    display: none;
  }

  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-checkout .checkout-form-column,
  .woocommerce-checkout .checkout-summary-column,
  .woocommerce-order-pay .woocommerce {
    padding: 14px;
  }
}
