/*
Theme Name: PaciSeller Theme
Theme URI: https://tongamarket.com
Author: Tonga Market Ltd
Description: Companion marketplace theme for the PaciSeller plugin.
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 7.1
Text Domain: paciseller-theme
*/

:root {
    --ps-ink: #12343b;
    --ps-accent: #ef8f00;
    --ps-ocean: #0d6e74;
    --ps-sand: #f6efe2;
    --ps-palm: #2f6f4f;
    --ps-surface: #ffffff;
    --ps-border: #d9d2c1;
    --ps-muted: #5f726c;
    --ps-shadow: 0 18px 44px rgba(18, 52, 59, 0.08);
    --ps-shadow-strong: 0 24px 72px rgba(18, 52, 59, 0.14);
    --ps-radius: 24px;
    --ps-radius-sm: 16px;
    --ps-shell: min(1180px, calc(100% - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #f9f6ef 0%, #eef5f4 100%);
    color: var(--ps-ink);
    font-family: Georgia, "Trebuchet MS", serif;
    line-height: 1.6;
    margin: 0;
}

a {
    color: var(--ps-ocean);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--ps-ink);
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

input,
select,
textarea {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--ps-border);
    border-radius: 14px;
    color: var(--ps-ink);
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

button,
.button,
input[type="submit"] {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(13, 110, 116, 0.22);
    outline-offset: 2px;
}

.ps-site-shell {
    width: var(--ps-shell);
    margin: 0 auto;
}

.ps-site-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ps-border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.ps-site-header__bar {
    border-bottom: 1px solid rgba(217, 210, 193, 0.75);
    font-size: 0.92rem;
}

.ps-site-header__bar-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-height: 44px;
}

.ps-site-header__message {
    color: var(--ps-muted);
    margin: 0;
}

.ps-site-header__main,
.ps-site-footer__top,
.ps-site-footer__bottom {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.ps-site-header__main {
    min-height: 88px;
}

.ps-brand {
    align-items: center;
    display: flex;
    gap: 14px;
}

.ps-brand__logo .custom-logo-link {
    display: inline-flex;
}

.ps-brand__logo img {
    max-height: 54px;
    width: auto;
}

.ps-brand__text {
    display: grid;
    gap: 2px;
}

.ps-brand__title {
    color: var(--ps-ink);
    display: inline-flex;
    text-decoration: none;
}

.ps-brand__mark {
    display: inline-block;
    font-size: 1.38rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ps-brand__tagline {
    color: var(--ps-muted);
    font-size: 0.92rem;
    margin: 0;
    max-width: 280px;
}

.ps-nav-wrap {
    align-items: center;
    display: flex;
    gap: 24px;
}

.ps-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ps-menu,
.ps-menu li {
    display: flex;
}

.ps-menu .sub-menu,
.ps-menu .children {
    display: none;
}

.ps-menu {
    flex-wrap: wrap;
    gap: 16px;
}

.ps-menu a {
    color: var(--ps-ink);
    text-decoration: none;
}

.ps-menu a:hover {
    color: var(--ps-ocean);
}

.ps-menu--primary a {
    font-size: 0.98rem;
    font-weight: 700;
}

.ps-menu--primary {
    flex-wrap: nowrap;
    gap: 14px;
}

.ps-menu--utility {
    font-size: 0.88rem;
    gap: 12px;
}

.ps-menu--utility a {
    color: var(--ps-muted);
}

.ps-menu--utility a:hover {
    color: var(--ps-ocean);
}

.ps-menu--footer {
    display: grid;
    gap: 10px;
}

.ps-menu--footer li {
    display: block;
}

.ps-menu--footer a {
    color: rgba(255, 255, 255, 0.86);
}

.ps-menu--footer a:hover {
    color: #fff;
}

.ps-nav-toggle {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: 999px;
    color: var(--ps-ink);
    display: none;
    min-height: 46px;
    padding: 10px 16px;
}

.ps-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ps-main {
    padding: 36px 0 64px;
}

.ps-main--campaign {
    padding-top: 0;
}

.ps-hero {
    background:
        radial-gradient(circle at top right, rgba(239, 143, 0, 0.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(13, 110, 116, 0.14), transparent 40%);
    padding: 72px 0 48px;
}

.ps-hero__grid {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: 1.3fr 0.9fr;
}

.ps-kicker {
    color: var(--ps-ocean);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.ps-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 0.98;
    margin: 0 0 18px;
}

.ps-hero__copy {
    font-size: 1.05rem;
    max-width: 680px;
}

.ps-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ps-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    padding: 12px 18px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ps-btn:hover {
    transform: translateY(-1px);
}

.ps-btn--primary {
    background: var(--ps-ocean);
    box-shadow: 0 12px 24px rgba(13, 110, 116, 0.18);
    color: #fff;
}

.ps-btn--secondary {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    color: var(--ps-ink);
}

.ps-btn--ghost {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(13, 110, 116, 0.18);
    color: var(--ps-ocean);
}

.ps-btn--compact {
    min-height: 40px;
    padding: 10px 16px;
}

.ps-inline-link {
    color: var(--ps-ocean);
    font-weight: 700;
    text-decoration: none;
}

.ps-highlight-card,
.ps-feature-card,
.ps-signal-card,
.ps-step-card,
.ps-route-card,
.ps-post-card,
.ps-entry,
.ps-empty-state,
.ps-pricing-card,
.ps-commerce-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow);
}

.ps-highlight-card {
    padding: 24px;
}

.ps-highlight-card h2,
.ps-feature-card h3,
.ps-step-card h3,
.ps-route-card h3,
.ps-post-card h2,
.ps-pricing-card h2 {
    margin-top: 0;
}

.ps-highlight-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}

.ps-feature-band {
    padding: 18px 0 64px;
}

.ps-feature-band--light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.ps-feature-band--muted {
    background: linear-gradient(180deg, rgba(13, 110, 116, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.ps-feature-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.ps-feature-card {
    padding: 22px;
}

.ps-section-heading {
    margin-bottom: 24px;
    max-width: 700px;
}

.ps-section-heading h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.08;
    margin: 0;
}

.ps-signal-grid,
.ps-step-grid,
.ps-route-grid,
.ps-post-grid,
.ps-pricing-grid,
.ps-site-footer__columns {
    display: grid;
    gap: 20px;
}

.ps-signal-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
}

.ps-signal-card,
.ps-step-card {
    border-radius: var(--ps-radius-sm);
    padding: 18px;
}

.ps-signal-card strong,
.ps-step-card__number {
    color: var(--ps-ocean);
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.ps-signal-card span,
.ps-step-card p,
.ps-route-card p,
.ps-page-lead,
.ps-post-card p,
.ps-site-footer p,
.ps-feature-card p,
.ps-pricing-card li,
.ps-empty-state p,
.ps-prose,
.ps-hero__copy {
    color: var(--ps-muted);
}

.ps-check-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding-left: 20px;
}

.ps-check-list li::marker {
    color: var(--ps-palm);
}

.ps-step-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ps-step-card__number {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.ps-route-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ps-route-card {
    color: inherit;
    display: block;
    padding: 22px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-route-card:hover,
.ps-post-card:hover {
    box-shadow: var(--ps-shadow-strong);
    transform: translateY(-3px);
}

.ps-commerce-panel {
    padding: 22px;
}

.ps-vendor-grid,
.ps-product-spotlight-grid {
    display: grid;
    gap: 18px;
}

.ps-vendor-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ps-vendor-card,
.ps-product-spotlight-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    box-shadow: var(--ps-shadow);
}

.ps-vendor-card {
    color: inherit;
    display: grid;
    gap: 16px;
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-vendor-card:hover,
.ps-product-spotlight-card:hover {
    box-shadow: var(--ps-shadow-strong);
    transform: translateY(-3px);
}

.ps-vendor-card__media {
    align-items: center;
    display: flex;
    justify-content: center;
}

.ps-vendor-card__logo {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    height: 72px;
    width: 72px;
}

.ps-vendor-card__logo img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

img[data-ps-logo].is-broken {
    display: none;
}

.ps-vendor-card__logo--fallback {
    align-items: center;
    background: linear-gradient(135deg, var(--ps-ocean), var(--ps-palm));
    color: #fff;
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 700;
    justify-content: center;
}

.ps-vendor-card__body h3,
.ps-product-spotlight-card__body h3 {
    margin: 0;
}

.ps-vendor-card__meta,
.ps-product-spotlight-card__vendor {
    color: var(--ps-muted);
    font-size: 0.9rem;
    margin: 0 0 8px;
}

.ps-vendor-card__badge {
    color: var(--ps-ocean);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 10px 0 0;
}

.ps-product-spotlight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ps-product-spotlight-card {
    overflow: hidden;
}

.ps-product-spotlight-card__image {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(13, 110, 116, 0.08), rgba(239, 143, 0, 0.12));
    display: block;
    overflow: hidden;
}

.ps-product-spotlight-card__image img {
    height: 100%;
    margin: 0;
    object-fit: cover;
    width: 100%;
}

.ps-product-spotlight-card__placeholder {
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8f3f1, #f6efe2);
    color: var(--ps-ocean);
    font-weight: 800;
    text-decoration: none;
}

.ps-store-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ps-store-grid__card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--ps-border);
    border-radius: 18px;
    background: var(--ps-surface);
    color: var(--ps-ink);
    text-decoration: none;
}

.ps-store-grid__logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 16px;
    object-fit: cover;
}

.ps-store-grid__logo--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ps-accent);
    color: #fff;
    font-weight: 800;
}

.ps-product-spotlight-card__body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.ps-product-spotlight-card__body a {
    text-decoration: none;
}

.ps-product-spotlight-card__price {
    color: var(--ps-palm);
    font-weight: 700;
    margin: 0;
}

.ps-cta-band {
    padding: 0 0 64px;
}

.ps-cta-band__grid,
.ps-page-hero__grid {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: 1.25fr 0.9fr;
}

.ps-cta-band__grid {
    background:
        linear-gradient(135deg, rgba(13, 110, 116, 0.98), rgba(18, 52, 59, 0.96)),
        radial-gradient(circle at top right, rgba(239, 143, 0, 0.18), transparent 32%);
    border-radius: 28px;
    box-shadow: var(--ps-shadow-strong);
    color: #fff;
    padding: 34px;
}

.ps-cta-band__grid h2,
.ps-cta-band__grid p,
.ps-cta-band__grid .ps-kicker {
    color: #fff;
}

.ps-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.ps-page-header {
    margin-bottom: 30px;
    max-width: 760px;
}

.ps-page-header--compact {
    margin-bottom: 24px;
}

.ps-page-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
    margin: 0;
}

.ps-page-lead {
    font-size: 1.02rem;
    margin: 12px 0 0;
}

.ps-page-hero,
.ps-campaign-hero {
    background:
        radial-gradient(circle at top right, rgba(239, 143, 0, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 48px 0 24px;
}

.ps-entry,
.ps-empty-state {
    padding: 28px;
}

.ps-entry-media {
    border-radius: var(--ps-radius-sm);
    margin-bottom: 24px;
    overflow: hidden;
}

.ps-prose {
    font-size: 1rem;
}

.ps-prose--feature {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(217, 210, 193, 0.75);
    border-radius: var(--ps-radius);
    padding: 26px;
}

.ps-prose > *:first-child {
    margin-top: 0;
}

.ps-prose > *:last-child {
    margin-bottom: 0;
}

.ps-prose h2,
.ps-prose h3,
.ps-prose h4 {
    color: var(--ps-ink);
}

.ps-prose table {
    border-collapse: collapse;
    margin: 24px 0;
    width: 100%;
}

.ps-prose th,
.ps-prose td {
    border: 1px solid var(--ps-border);
    padding: 12px 14px;
    text-align: left;
}

.ps-post-grid,
.ps-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ps-post-card {
    overflow: hidden;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-post-card__link {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

.ps-post-card__media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.ps-post-card__content {
    padding: 22px;
}

.ps-post-card__meta {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.ps-empty-state,
.ps-empty-state--hero {
    text-align: center;
}

.ps-empty-state--hero {
    padding: 56px 28px;
}

.ps-pagination .nav-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

.ps-pagination .page-numbers {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ps-border);
    border-radius: 999px;
    min-width: 46px;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
}

.ps-pricing-card {
    padding: 28px;
}

.ps-pricing-card--featured {
    background: linear-gradient(180deg, rgba(13, 110, 116, 0.95) 0%, rgba(18, 52, 59, 0.95) 100%);
    color: #fff;
    transform: translateY(-6px);
}

.ps-pricing-card--featured .ps-check-list,
.ps-pricing-card--featured .ps-check-list li,
.ps-pricing-card--featured .ps-pricing-card__eyebrow,
.ps-pricing-card--featured .ps-pricing-card__price {
    color: #fff;
}

.ps-pricing-card__eyebrow {
    color: var(--ps-ocean);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.ps-pricing-card__price {
    color: var(--ps-ink);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 16px;
}

.ps-breadcrumbs-wrap {
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.ps-breadcrumbs-wrap .woocommerce-breadcrumb {
    color: var(--ps-muted);
}

.ps-breadcrumb-separator {
    margin: 0 8px;
}

.ps-commerce-shell {
    min-width: 0;
}

.ps-site-footer {
    background:
        linear-gradient(135deg, rgba(18, 52, 59, 0.98), rgba(13, 110, 116, 0.94));
    color: #fff;
    margin-top: 48px;
}

.ps-site-footer__top {
    align-items: flex-start;
    padding: 40px 0 24px;
}

.ps-site-footer__brand {
    max-width: 320px;
}

.ps-site-footer__title {
    display: inline-block;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.ps-site-footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-site-footer__columns h2 {
    font-size: 1rem;
    margin: 0 0 12px;
}

.ps-site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0 28px;
}

.ps-site-footer__bottom p {
    margin: 0;
}

.woocommerce .products,
.woocommerce-page .products,
.woocommerce ul.products {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce .products::before,
.woocommerce .products::after {
    display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    box-shadow: var(--ps-shadow);
    margin: 0;
    overflow: hidden;
    padding: 14px;
    width: auto;
}

.woocommerce ul.products li.product a {
    color: inherit;
    text-decoration: none;
}

.woocommerce ul.products li.product img {
    border-radius: 14px;
    margin-bottom: 14px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--ps-ink);
    font-size: 1rem;
    line-height: 1.35;
    padding: 0;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--ps-palm);
    font-weight: 700;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: var(--ps-ocean);
    border: 0;
    border-radius: 999px;
    color: #fff;
    min-height: 46px;
    padding: 12px 18px;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--ps-accent);
    color: #fff;
}

.woocommerce div.product div.summary {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(217, 210, 193, 0.68);
    border-radius: var(--ps-radius-sm);
    padding: 24px;
}

.woocommerce div.product .product_title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.08;
}

.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: var(--ps-border);
}

.woocommerce table.shop_table,
.woocommerce .cart_totals,
.woocommerce .woocommerce-checkout-review-order,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce form.checkout,
.woocommerce form.login,
.woocommerce form.register {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow);
    padding: 22px;
}

.woocommerce .woocommerce-notices-wrapper > * {
    border-radius: var(--ps-radius-sm);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    background: rgba(255, 255, 255, 0.86);
    border-top-color: var(--ps-ocean);
}

.woocommerce .quantity .qty {
    min-height: 44px;
    width: 88px;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    margin-bottom: 20px;
}

.woocommerce .woocommerce-ordering select {
    min-width: 220px;
}

.woocommerce .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding-left: 0;
}

.woocommerce .woocommerce-tabs ul.tabs li {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--ps-border);
    border-radius: 999px;
}

.woocommerce .woocommerce-tabs ul.tabs li a {
    color: var(--ps-ink);
    font-weight: 700;
}

.woocommerce .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce .woocommerce-MyAccount-navigation a {
    color: var(--ps-ink);
    text-decoration: none;
}

.woocommerce .woocommerce-MyAccount-navigation .is-active a {
    color: var(--ps-ocean);
    font-weight: 700;
}

.woocommerce-account .woocommerce {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #customer_details {
    margin-top: 24px;
}

.woocommerce form .form-row {
    margin-bottom: 14px;
}

.woocommerce form .form-row label {
    color: var(--ps-ink);
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.woocommerce .related.products {
    margin-top: 38px;
}

@media (max-width: 1100px) {
    .woocommerce .products,
    .woocommerce-page .products,
    .woocommerce ul.products,
    .ps-vendor-grid,
    .ps-store-grid,
    .ps-product-spotlight-grid,
    .ps-route-grid,
    .ps-post-grid,
    .ps-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ps-hero__grid,
    .ps-feature-grid,
    .ps-step-grid,
    .ps-signal-grid,
    .ps-cta-band__grid,
    .ps-page-hero__grid,
    .ps-site-footer__columns,
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }

    .ps-site-header__bar-inner,
    .ps-site-footer__top,
    .ps-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .ps-site-header {
        position: static;
    }

    .ps-header-actions {
        width: 100%;
    }

    .ps-header-actions .ps-btn {
        flex: 1 1 auto;
    }

    .woocommerce .products,
    .woocommerce-page .products,
    .woocommerce ul.products,
    .ps-vendor-grid,
    .ps-store-grid,
    .ps-product-spotlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ps-site-header__main {
        align-items: center;
        display: grid;
        gap: 16px;
        grid-template-columns: 1fr auto;
        min-height: 80px;
        padding: 14px 0;
    }

    .ps-nav-toggle {
        display: inline-flex;
    }

    .ps-nav-wrap {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--ps-border);
        border-radius: var(--ps-radius);
        box-shadow: var(--ps-shadow);
        display: none;
        grid-column: 1 / -1;
        padding: 18px;
        width: 100%;
    }

    .ps-nav-wrap.is-open {
        display: grid;
    }

    .ps-menu--primary,
    .ps-header-actions {
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }

    .ps-header-actions .ps-btn {
        justify-content: center;
        width: 100%;
    }

    .ps-brand {
        width: 100%;
    }

    .ps-brand__tagline {
        max-width: none;
    }

    .ps-route-grid,
    .ps-post-grid,
    .ps-pricing-grid,
    .ps-vendor-grid,
    .ps-store-grid,
    .ps-product-spotlight-grid,
    .woocommerce .products,
    .woocommerce-page .products,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ps-site-shell {
        width: min(100% - 20px, 1180px);
    }

    .ps-hero {
        padding-top: 46px;
    }

    .ps-hero h1,
    .ps-page-title,
    .ps-section-heading h2 {
        line-height: 1.04;
    }

    .ps-highlight-card,
    .ps-feature-card,
    .ps-signal-card,
    .ps-step-card,
    .ps-route-card,
    .ps-entry,
    .ps-empty-state,
    .ps-pricing-card,
    .ps-commerce-panel {
        padding: 20px;
    }

    .ps-cta-band__grid {
        padding: 24px;
    }
}


/* ===================================================================
 * v1.0.0 — Pacific Gold dark marketplace skin
 * Gold, red, and black palette; Amazon-style header, hero carousel,
 * quicklink cards, and mega menu.
 * =================================================================== */

:root {
    --ps-ink: #f3ede0;
    --ps-accent: #e0312d;
    --ps-ocean: #f0b429;
    --ps-sand: #12100c;
    --ps-palm: #b8860b;
    --ps-surface: #1c1914;
    --ps-border: #3a3327;
    --ps-muted: #b8ae94;
    --ps-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    --ps-shadow-strong: 0 24px 72px rgba(0, 0, 0, 0.6);
    --ps-gold: #f0b429;
    --ps-gold-deep: #c98f0a;
    --ps-red: #e0312d;
    --ps-black: #0b0a08;
}

body.ps-theme {
    background: var(--ps-sand);
    color: var(--ps-ink);
}

body.ps-theme a {
    color: var(--ps-gold);
}

/* ------------------------------------------------ header, Amazon-style */

.ps-site-header {
    background: var(--ps-black);
    backdrop-filter: none;
    border-bottom: 2px solid var(--ps-gold-deep);
}

.ps-site-header__bar {
    background: #171410;
    border-bottom: 1px solid var(--ps-border);
    color: var(--ps-muted);
}

.ps-site-header__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
}

.ps-site-header__message {
    margin: 0;
    color: var(--ps-gold);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.ps-site-header__utility {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ps-site-header__main {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.ps-brand__title,
.ps-brand__mark {
    color: #fff;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
}

.ps-brand__tagline {
    display: none;
}

/* search bar */
.ps-header-search {
    display: flex;
    flex: 1 1 340px;
    min-width: 220px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--ps-gold-deep);
    background: #fff;
}

.ps-header-search input[type="search"] {
    flex: 1;
    border: 0;
    padding: 10px 14px;
    font-size: 0.98rem;
    color: #1b1710;
    background: #fff;
    outline: none;
}

.ps-header-search button {
    border: 0;
    padding: 0 18px;
    background: var(--ps-gold);
    color: #1b1710;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ps-header-search button:hover {
    background: var(--ps-gold-deep);
}

/* account / cart blocks */
.ps-header-actions {
    display: flex;
    gap: 10px;
}

.ps-header-action {
    display: flex;
    flex-direction: column;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    line-height: 1.25;
    border: 1px solid transparent;
}

.ps-header-action:hover {
    border-color: var(--ps-gold);
}

.ps-header-action__hint {
    font-size: 0.72rem;
    color: var(--ps-muted);
}

.ps-header-action strong {
    color: #fff;
    font-size: 0.9rem;
}

.ps-header-action--cart strong {
    color: var(--ps-gold);
}

/* language toggle */
.ps-lang-toggle {
    display: inline-flex;
    border: 1px solid var(--ps-gold-deep);
    border-radius: 999px;
    overflow: hidden;
}

.ps-lang-toggle__option {
    padding: 3px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ps-muted);
    text-decoration: none;
}

.ps-lang-toggle__option.is-active {
    background: var(--ps-gold);
    color: #1b1710;
}

/* ------------------------------------------------------- mega menu row */

.ps-site-header__nav-row {
    background: #1d1812;
    border-top: 1px solid var(--ps-border);
}

.ps-mega-nav__list {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.ps-mega-nav__item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #efe7d4;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.ps-mega-nav__item > a:hover {
    color: var(--ps-gold);
    border-bottom-color: var(--ps-gold);
}

.ps-mega-nav__chev {
    font-size: 0.7rem;
    color: var(--ps-muted);
}

.ps-mega-nav__item {
    position: relative;
}

.ps-mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    min-width: 560px;
    max-width: 86vw;
    background: var(--ps-surface);
    border: 1px solid var(--ps-gold-deep);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--ps-shadow-strong);
    padding: 18px;
}

.ps-mega-nav__item.has-panel.is-open .ps-mega-panel,
.ps-mega-nav__item.has-panel:focus-within .ps-mega-panel {
    display: block;
}

@media (hover: hover) {
    .ps-mega-nav__item.has-panel:hover .ps-mega-panel {
        display: block;
    }
}

.ps-mega-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 10px;
}

.ps-mega-panel__cell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ps-ink);
    border: 1px solid transparent;
}

.ps-mega-panel__cell:hover {
    border-color: var(--ps-gold);
    background: rgba(240, 180, 41, 0.08);
}

.ps-mega-panel__cell img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
}

.ps-mega-panel__cell img.is-broken {
    display: none;
}

.ps-mega-panel__initial {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ps-gold);
    color: #1b1710;
    font-weight: 800;
    font-size: 1.1rem;
}

.ps-mega-panel__cell span {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 0.9rem;
}

.ps-mega-panel__cell em {
    font-style: normal;
    font-weight: 400;
    color: var(--ps-muted);
    font-size: 0.78rem;
}

.ps-mega-panel__all {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    color: var(--ps-gold);
    text-decoration: none;
}

/* -------------------------------------------------- hero carousel */

.ps-market-hero {
    padding: 18px 0 6px;
}

.ps-hero-carousel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--ps-border);
    box-shadow: var(--ps-shadow);
    background: var(--ps-surface);
}

.ps-hero-carousel__track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5.2;
    min-height: 220px;
}

.ps-hero-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.ps-hero-carousel__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.ps-hero-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ps-hero-carousel__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 22px;
    background: linear-gradient(180deg, rgba(11, 10, 8, 0) 0%, rgba(11, 10, 8, 0.88) 60%);
    color: #fff;
}

.ps-hero-carousel__caption strong {
    font-size: 1.25rem;
}

.ps-hero-carousel__caption em {
    font-style: normal;
    color: var(--ps-gold);
    font-size: 0.9rem;
}

.ps-hero-carousel__cta {
    margin-left: auto;
    background: var(--ps-red);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.ps-hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 64px;
    border: 0;
    background: rgba(11, 10, 8, 0.55);
    color: var(--ps-gold);
    font-size: 1.9rem;
    cursor: pointer;
    border-radius: 8px;
    z-index: 5;
}

.ps-hero-carousel__arrow:hover {
    background: rgba(11, 10, 8, 0.85);
}

.ps-hero-carousel__arrow--prev { left: 10px; }
.ps-hero-carousel__arrow--next { right: 10px; }

.ps-hero-carousel__dots {
    position: absolute;
    top: 12px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 5;
}

.ps-hero-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--ps-gold);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.ps-hero-carousel__dot.is-active {
    background: var(--ps-gold);
}

/* ------------------------------------------------ quicklink cards */

.ps-market-quicklinks {
    padding: 18px 0 8px;
}

.ps-market-quicklinks__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.ps-quicklink-card {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-top: 3px solid var(--ps-gold);
    border-radius: 14px;
    padding: 18px;
    text-decoration: none;
    color: var(--ps-ink);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.ps-quicklink-card:hover {
    transform: translateY(-3px);
    border-color: var(--ps-gold);
}

.ps-quicklink-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
}

.ps-quicklink-card p {
    margin: 0;
    color: var(--ps-muted);
    font-size: 0.88rem;
}

.ps-quicklink-card span {
    color: var(--ps-red);
    font-weight: 700;
    font-size: 0.88rem;
}

/* ------------------------------------------- dark band adjustments */

.ps-feature-band--light {
    background: linear-gradient(180deg, rgba(240, 180, 41, 0.06) 0%, rgba(0, 0, 0, 0) 100%);
}

.ps-feature-band--muted {
    background: linear-gradient(180deg, rgba(224, 49, 45, 0.07) 0%, rgba(0, 0, 0, 0) 100%);
}

.ps-btn--primary {
    background: var(--ps-gold);
    color: #1b1710;
    box-shadow: 0 12px 24px rgba(240, 180, 41, 0.22);
}

.ps-btn--primary:hover {
    background: var(--ps-gold-deep);
    color: #0b0a08;
}

.ps-btn--secondary {
    background: var(--ps-red);
    color: #fff;
    border-color: var(--ps-red);
}

.ps-section-heading--row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ps-section-heading--row h2 {
    margin: 0;
    color: #fff;
}

.ps-inline-link {
    color: var(--ps-gold);
    font-weight: 700;
    text-decoration: none;
}

/* keep product/store card text readable on dark surfaces */
.ps-commerce-panel h3,
.ps-commerce-panel strong {
    color: var(--ps-ink);
}

/* nav toggle for mobile */
.ps-nav-toggle {
    background: transparent;
    border: 1px solid var(--ps-gold-deep);
    color: var(--ps-gold);
    border-radius: 8px;
    padding: 8px 14px;
}

@media (max-width: 900px) {
    .ps-site-header__main {
        gap: 10px;
    }

    .ps-header-search {
        order: 3;
        flex-basis: 100%;
    }

    .ps-site-header__nav-row .ps-nav-wrap {
        display: none;
    }

    .ps-site-header__nav-row .ps-nav-wrap.is-open {
        display: block;
    }

    .ps-mega-nav__list {
        flex-direction: column;
    }

    .ps-mega-panel {
        position: static;
        min-width: 0;
        max-width: none;
        border-radius: 10px;
    }

    .ps-mega-panel__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ps-hero-carousel__track {
        aspect-ratio: 16 / 9;
    }

    .ps-hero-carousel__caption strong {
        font-size: 1rem;
    }

    .ps-hero-carousel__cta {
        display: none;
    }
}

/* ===================================================================
 * v1.1.0 — dark-theme contrast repair + commerce card polish
 * White containers from the original light skin are converted to dark
 * surfaces; WooCommerce product cards stay white with dark text.
 * =================================================================== */

.ps-entry,
.ps-empty-state,
.ps-pricing-card,
.ps-commerce-panel {
    background: var(--ps-surface);
    color: var(--ps-ink);
}

.ps-entry h1,
.ps-entry h2,
.ps-entry h3,
.ps-page-title,
.ps-section-heading h2,
.ps-prose h1,
.ps-prose h2,
.ps-prose h3 {
    color: #ffffff;
}

.ps-prose,
.ps-prose p,
.ps-prose li,
.ps-page-lead {
    color: var(--ps-muted);
}

.ps-prose a {
    color: var(--ps-gold);
}

/* vendor + spotlight cards inside panels: dark cards, light text */
.ps-vendor-card,
.ps-product-spotlight-card {
    background: #24201a;
    color: var(--ps-ink);
    border-color: var(--ps-border);
}

.ps-vendor-card__body h3,
.ps-product-spotlight-card__body h3,
.ps-vendor-card strong,
.ps-product-spotlight-card strong {
    color: #ffffff;
}

/* plan cards: dark with gold frame */
.ps-plan {
    background: var(--ps-surface);
    border: 1px solid var(--ps-gold-deep);
    color: var(--ps-ink);
}

.ps-plan h3,
.ps-plan .ps-plan__price {
    color: var(--ps-gold);
}

/* WooCommerce catalog cards: white, Amazon-style, dark text */
.woocommerce ul.products li.product {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 12px 16px;
    border: 1px solid #e6dfd2;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    color: #221c12;
    font-size: 1rem;
    line-height: 1.3;
}

.woocommerce ul.products li.product .price {
    color: #9a1b12;
    font-weight: 700;
}

.woocommerce ul.products li.product .price del {
    color: #8a8272;
}

.ps-loop-store {
    display: block;
    color: #8a6d1a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2px;
    text-decoration: none;
}

.ps-loop-store:hover {
    color: var(--ps-red);
}

.ps-loop-excerpt {
    color: #5f584a;
    font-size: 0.84rem;
    line-height: 1.4;
    margin: 4px 0 6px;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button {
    background: var(--ps-gold);
    color: #1b1710;
    font-weight: 700;
    border-radius: 8px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--ps-gold-deep);
    color: #0b0a08;
}

/* single-product + checkout content areas on dark background */
.woocommerce div.product .product_title,
.woocommerce div.product .woocommerce-tabs h2,
.woocommerce-checkout h3,
.woocommerce-account h2 {
    color: #ffffff;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--ps-gold);
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-tabs .panel {
    color: var(--ps-muted);
}

/* summary boxes that kept light backgrounds get dark text */
.woocommerce div.product .summary,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce form.checkout .woocommerce-billing-fields,
.woocommerce table.shop_table {
    color: var(--ps-ink);
}

.woocommerce table.shop_table {
    background: var(--ps-surface);
    border-color: var(--ps-border);
}

/* breadcrumbs and result counts on dark background */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a,
.woocommerce .woocommerce-result-count {
    color: var(--ps-muted);
}

.woocommerce .woocommerce-ordering select {
    background: var(--ps-surface);
    color: var(--ps-ink);
    border: 1px solid var(--ps-border);
    border-radius: 8px;
    padding: 6px 10px;
}

/* ===================================================================
 * v1.2.0 — product grid geometry, single-product summary, active nav
 * =================================================================== */

/* WooCommerce product lists render as a real grid everywhere —
   fixes squished "Related products" columns. */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    image-rendering: auto;
}

.woocommerce ul.products li.product .button {
    margin-top: auto;
}

/* Single product: summary box becomes a dark card so the white title,
   gold price, and muted meta are readable. */
.woocommerce div.product div.summary,
.woocommerce div.product .entry-summary {
    background: var(--ps-surface);
    border: 1px solid var(--ps-gold-deep);
    border-radius: 16px;
    padding: 24px;
    color: var(--ps-ink);
}

.woocommerce div.product div.summary .product_title {
    color: #ffffff;
}

.woocommerce div.product div.summary p.price,
.woocommerce div.product div.summary span.price {
    color: var(--ps-gold);
    font-size: 1.3rem;
}

.woocommerce div.product div.summary .woocommerce-product-details__short-description,
.woocommerce div.product div.summary li,
.woocommerce div.product div.summary p {
    color: var(--ps-muted);
}

.woocommerce div.product div.summary .product_meta,
.woocommerce div.product div.summary .product_meta a {
    color: var(--ps-gold);
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
    color: #ffffff;
}

/* Active menu item stays highlighted so users know where they are. */
.ps-mega-nav__item.is-current > a {
    color: var(--ps-gold);
    border-bottom-color: var(--ps-gold);
    background: rgba(240, 180, 41, 0.08);
}

/* ===================================================================
 * v1.2.1 — global contrast guarantee
 * Text is always the opposite of its container: form controls are
 * white with dark text everywhere; Woo cart/checkout panels that were
 * white become dark cards with light text.
 * =================================================================== */

/* Every form control site-wide: white field, dark text, dark placeholder. */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="password"],
input.qty,
select,
textarea,
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
    background: #ffffff;
    color: #221c12;
    border: 1px solid #b8ae94;
    border-radius: 8px;
}

input::placeholder,
textarea::placeholder {
    color: #6f6857;
    opacity: 1;
}

/* Quantity boxes in cart/product pages. */
.woocommerce .quantity .qty {
    background: #ffffff;
    color: #221c12;
    text-align: center;
    min-width: 64px;
    padding: 8px 6px;
}

/* Cart totals: dark card, light text (was white-on-white). */
.woocommerce-cart .cart_totals,
.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--ps-surface);
    border: 1px solid var(--ps-gold-deep);
    border-radius: 16px;
    padding: 20px;
    color: var(--ps-ink);
}

.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    color: var(--ps-ink);
    background: transparent;
}

.woocommerce-cart .cart_totals .order-total td,
.woocommerce-cart .cart_totals .order-total th {
    color: var(--ps-gold);
    font-weight: 700;
}

.woocommerce-cart table.cart td.actions {
    background: transparent;
}

/* Coupon field pairs with its gold button. */
.woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 150px;
    padding: 8px 10px;
}

/* Checkout panels: same dark-card treatment. */
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    background: var(--ps-surface);
    border-radius: 16px;
    padding: 20px;
    color: var(--ps-ink);
}

.woocommerce-checkout #order_review table,
.woocommerce-checkout #order_review th,
.woocommerce-checkout #order_review td,
.woocommerce-checkout form .form-row label {
    color: var(--ps-ink);
    background: transparent;
}

/* My Account, order-received, and generic Woo notice panels. */
.woocommerce-order-received .woocommerce-order,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-message,
.woocommerce-info {
    color: var(--ps-ink);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--ps-surface);
    border-top-color: var(--ps-gold);
}

/* Any remaining light/white panel: force dark text inside it. */
.woocommerce .order_details,
.woocommerce-order-received .woocommerce-bacs-bank-details,
.woocommerce-order-received .ps-pickup-details,
.woocommerce-privacy-policy-text {
    color: #221c12;
}
