
.cwp-wrap { max-width: 980px; }
.cwp-card {
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:8px;
    padding:28px;
    margin-top:20px;
}
.cwp-field { margin-bottom:26px; }
.cwp-field > label:first-child { display:block; margin-bottom:8px; font-size:14px; }
.cwp-field input[type="text"],
.cwp-field textarea,
.cwp-field select {
    width:100%;
    max-width:760px;
    box-sizing:border-box;
}
.cwp-field textarea { resize:vertical; }
.cwp-counter { color:#646970; font-size:12px; margin-top:5px; }
.cwp-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}
.cwp-option { display:block; margin:9px 0; font-weight:400; }
.cwp-media-box {
    border:1px dashed #c3c4c7;
    border-radius:6px;
    padding:16px;
    background:#f6f7f7;
}
#product-image-preview img {
    width:160px;
    height:160px;
    object-fit:cover;
    display:block;
    margin-bottom:12px;
    border-radius:5px;
}
.cwp-gallery-preview {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:12px;
}
.cwp-gallery-preview img {
    width:100px;
    height:100px;
    object-fit:cover;
    border-radius:5px;
}
.cwp-remove { margin-left:10px !important; }
.cwp-actions {
    border-top:1px solid #dcdcde;
    padding-top:22px;
    margin-top:8px;
    display:flex;
    gap:10px;
}
@media (max-width:782px) {
    .cwp-grid { grid-template-columns:1fr; }
}

.cwp-gallery-item {
    position: relative;
    display: inline-block;
}
.cwp-gallery-item img {
    display: block;
}

.cwp-price-wrap {
    display:flex;
    align-items:stretch;
    max-width:360px;
}
.cwp-price-wrap .cwp-currency {
    display:flex;
    align-items:center;
    padding:0 12px;
    border:1px solid #8c8f94;
    border-right:0;
    background:#f6f7f7;
    color:#50575e;
    border-radius:4px 0 0 4px;
}
.cwp-price-wrap input {
    max-width:none;
    border-radius:0 4px 4px 0;
}

.cwp-upload-box {
    border:1px dashed #c3c4c7;
    border-radius:6px;
    padding:16px;
    background:#f6f7f7;
    max-width:760px;
}
.cwp-upload-box input[type=file] {
    display:block;
    width:100%;
    box-sizing:border-box;
}
.cwp-upload-row {
    display:flex;
    align-items:center;
    gap:18px;
    padding:10px 0;
    border-bottom:1px solid #dcdcde;
}
.cwp-upload-row:last-child { border-bottom:0; }
.cwp-upload-row label { min-width:70px; font-weight:600; }


/* Frontend refinements */
.cwp-frontend-wrap .cwp-price-wrap {
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: stretch;
}
.cwp-frontend-wrap .cwp-price-wrap .cwp-currency {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    justify-content: center;
    padding: 0;
    border: 1px solid #8c8f94;
    border-right: 0;
    background: #f6f7f7;
    color: #50575e;
    border-radius: 5px 0 0 5px;
}
.cwp-frontend-wrap .cwp-price-wrap input[type="number"] {
    flex: 1 1 auto;
    width: 100%;
    max-width: none !important;
    min-width: 0;
    height: 48px;
    box-sizing: border-box;
    margin: 0;
    border-radius: 0 5px 5px 0;
}
.cwp-frontend-wrap .cwp-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.cwp-frontend-wrap .cwp-button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
}
.cwp-frontend-wrap .cwp-button-primary {
    background: #243f4a !important;
    color: #fff !important;
    border-color: #243f4a !important;
}
.cwp-frontend-wrap .cwp-button-primary:hover,
.cwp-frontend-wrap .cwp-button-primary:focus {
    background: #162d36 !important;
    color: #fff !important;
}
.cwp-frontend-wrap .cwp-button-secondary {
    background: #f1f3f4 !important;
    color: #243f4a !important;
    border-color: #b8c0c4 !important;
}
.cwp-frontend-wrap .cwp-button-secondary:hover,
.cwp-frontend-wrap .cwp-button-secondary:focus {
    background: #e4e8ea !important;
    color: #243f4a !important;
}
@media (max-width: 600px) {
    .cwp-frontend-wrap .cwp-price-wrap { max-width: 100%; }
    .cwp-frontend-wrap .cwp-actions { flex-direction: column; align-items: stretch; }
    .cwp-frontend-wrap .cwp-button { width: 100%; }
}

/* 4.0.3 - hard isolate price control from theme styles */
.cwp-frontend-wrap .cwp-price-field .cwp-price-wrap {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 320px) !important;
    width: 100% !important;
    max-width: 372px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    align-items: stretch !important;
}
.cwp-frontend-wrap .cwp-price-field .cwp-price-wrap .cwp-currency {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid #b8c0c4 !important;
    border-right: 0 !important;
    border-radius: 5px 0 0 5px !important;
    background: #f5f6f7 !important;
    color: #50575e !important;
    font-size: 16px !important;
    line-height: 1 !important;
}
.cwp-frontend-wrap .cwp-price-field .cwp-price-wrap input#price,
.cwp-frontend-wrap .cwp-price-field .cwp-price-wrap input[type="number"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #b8c0c4 !important;
    border-radius: 0 5px 5px 0 !important;
    background: #fff !important;
    color: #243f4a !important;
    font-size: 16px !important;
    line-height: 52px !important;
    text-align: left !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}
.cwp-frontend-wrap .cwp-price-field .cwp-price-wrap input#price:focus {
    outline: none !important;
    border-color: #243f4a !important;
    box-shadow: 0 0 0 2px rgba(36,63,74,.12) !important;
}
.cwp-frontend-wrap .cwp-price-field .cwp-price-wrap input#price::-webkit-outer-spin-button,
.cwp-frontend-wrap .cwp-price-field .cwp-price-wrap input#price::-webkit-inner-spin-button {
    margin: 0 !important;
}

/* Keep action controls unmistakably buttons */
.cwp-frontend-wrap .cwp-actions .cwp-button {
    position: relative !important;
    z-index: 2 !important;
    min-width: 150px !important;
    min-height: 46px !important;
    padding: 10px 22px !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    text-align: center !important;
}


/* 4.1.0 - seller dashboard and storefront */
.cwp-frontend-wrap .cwp-logout-button { cursor:pointer; }
.cwp-dashboard-head,
.cwp-seller-store-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.cwp-dashboard-head h2,
.cwp-seller-store-head h2 { margin:0 0 5px; }
.cwp-dashboard-head p { margin:0; color:#646970; }
.cwp-publications-list { display:flex; flex-direction:column; gap:12px; }
.cwp-publication-item { display:grid; grid-template-columns:80px 1fr auto; align-items:center; gap:18px; padding:14px; border:1px solid #dcdcde; border-radius:8px; background:#fff; }
.cwp-publication-thumb img { width:72px; height:72px; object-fit:cover; border-radius:5px; display:block; }
.cwp-publication-info h3 { margin:0 0 8px; font-size:17px; }
.cwp-publication-meta { display:flex; flex-wrap:wrap; gap:14px; color:#646970; font-size:13px; }
.cwp-seller-products-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.cwp-seller-product-card { border:1px solid #dcdcde; border-radius:8px; overflow:hidden; background:#fff; }
.cwp-seller-product-card a { display:block; text-decoration:none; color:inherit; }
.cwp-seller-product-card img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.cwp-seller-product-card h3 { margin:12px 14px 6px; font-size:16px; }
.cwp-seller-product-price { margin:0 14px 14px; }
@media (max-width: 900px) { .cwp-seller-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .cwp-publication-item { grid-template-columns:60px 1fr; }
  .cwp-publication-item > .cwp-button { grid-column:2; justify-self:start; }
  .cwp-seller-products-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .cwp-dashboard-head { align-items:flex-start; }
}


/* 4.1.1 - seller attribution in WooCommerce product loops */
.cwp-product-seller {
    margin: 4px 0 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #6b7479;
}
.cwp-product-seller-label {
    margin-right: 4px;
}
.cwp-product-seller-name {
    font-weight: 600;
    color: #243f4a;
}


/* 4.1.2 - seller shown only on individual product short description */
.cwp-product-seller-single {
    margin: 0 0 10px 0;
    font-size: 13px;
    line-height: 1.3;
    color: #6b7479;
}
.cwp-product-seller-single .cwp-product-seller-label {
    font-weight: 500;
    margin-right: 5px;
}

/* 4.1.5 - compact seller link */
.cwp-product-seller-single .cwp-product-seller-name {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid #d6dde0;
    border-radius: 4px;
    font-weight: 600;
    color: #243f4a;
    background: transparent;
    text-decoration: none !important;
    vertical-align: middle;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.cwp-product-seller-single .cwp-product-seller-name:hover,
.cwp-product-seller-single .cwp-product-seller-name:focus {
    background: #f5f7f8;
    border-color: #b9c5ca;
    color: #243f4a;
    text-decoration: none !important;
}

/* 4.1.6 - force compact seller link styling against theme overrides */
.cwp-product-seller-single .cwp-product-seller-name,
.cwp-product-seller-single a.cwp-product-seller-name {
    display: inline-block !important;
    padding: 2px 8px !important;
    margin: 0 !important;
    border: 1px solid #d6dde0 !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    color: #243f4a !important;
    background: #ffffff !important;
    text-decoration: none !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
    box-shadow: none !important;
}
.cwp-product-seller-single .cwp-product-seller-name:hover,
.cwp-product-seller-single .cwp-product-seller-name:focus {
    background: #f5f7f8 !important;
    border-color: #b9c5ca !important;
    color: #243f4a !important;
    text-decoration: none !important;
}


/* 4.1.7 - seller link styles are also loaded on individual WooCommerce products */
.cwp-product-seller-single .cwp-product-seller-name,
.single-product .cwp-product-seller-single a.cwp-product-seller-name {
    display: inline-block !important;
    width: auto !important;
    max-width: max-content !important;
    padding: 2px 8px !important;
    margin: 0 !important;
    border: 1px solid #d6dde0 !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #243f4a !important;
    background: #fff !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* 5.0.0 - modern compact seller dashboard */
.cwp-dashboard-v5 {
    max-width: 1040px;
    margin: 0 auto;
}
.cwp-dashboard-v5 .cwp-dashboard-hero {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:28px 30px;
    border:1px solid #dfe4e6;
    border-radius:12px;
    background:#fff;
    margin-bottom:18px;
}
.cwp-dashboard-v5 .cwp-dashboard-kicker {
    font-size:11px;
    letter-spacing:.14em;
    font-weight:700;
    color:#7b858a;
    margin-bottom:7px;
}
.cwp-dashboard-v5 .cwp-dashboard-hero h2 {
    margin:0 0 6px;
    font-size:30px;
    line-height:1.15;
    color:#243f4a;
}
.cwp-dashboard-v5 .cwp-dashboard-hero p {
    margin:0;
    color:#6b7479;
    font-size:14px;
}
.cwp-dashboard-v5 .cwp-dashboard-hero-actions {
    display:flex;
    align-items:center;
    gap:14px;
    flex-shrink:0;
}
.cwp-dashboard-v5 .cwp-dashboard-logout {
    color:#53636a;
    font-size:13px;
    text-decoration:none;
    white-space:nowrap;
}
.cwp-dashboard-v5 .cwp-dashboard-logout:hover { text-decoration:underline; }
.cwp-dashboard-v5 .cwp-dashboard-stats {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-bottom:30px;
}
.cwp-dashboard-v5 .cwp-stat-card {
    padding:20px 22px;
    border:1px solid #dfe4e6;
    border-radius:10px;
    background:#fff;
}
.cwp-dashboard-v5 .cwp-stat-label {
    display:block;
    font-size:12px;
    font-weight:600;
    color:#68767c;
    margin-bottom:7px;
}
.cwp-dashboard-v5 .cwp-stat-card strong {
    display:block;
    color:#243f4a;
    font-size:30px;
    line-height:1;
    margin-bottom:6px;
}
.cwp-dashboard-v5 .cwp-stat-note {
    font-size:12px;
    color:#90999d;
}
.cwp-dashboard-v5 .cwp-dashboard-section-head {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:15px;
    margin-bottom:12px;
}
.cwp-dashboard-v5 .cwp-dashboard-section-head h3 {
    margin:0 0 4px;
    font-size:20px;
    color:#243f4a;
}
.cwp-dashboard-v5 .cwp-dashboard-section-head p {
    margin:0;
    font-size:13px;
    color:#7b858a;
}
.cwp-dashboard-v5 .cwp-dashboard-section-count {
    font-size:12px;
    color:#7b858a;
}
.cwp-dashboard-v5 .cwp-publications-table {
    gap:8px;
}
.cwp-dashboard-v5 .cwp-publication-item {
    grid-template-columns:70px 1fr auto;
    gap:16px;
    padding:10px 12px;
    border-radius:9px;
    background:#fff;
}
.cwp-dashboard-v5 .cwp-publication-thumb img,
.cwp-dashboard-v5 .cwp-publication-placeholder {
    width:62px;
    height:62px;
    object-fit:cover;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f3f5f5;
    color:#8a9498;
    font-size:11px;
}
.cwp-dashboard-v5 .cwp-publication-info h3 {
    margin:0 0 7px;
    font-size:16px;
    line-height:1.25;
}
.cwp-dashboard-v5 .cwp-publication-info h3 a {
    color:#243f4a;
    text-decoration:none;
}
.cwp-dashboard-v5 .cwp-publication-info h3 a:hover { text-decoration:underline; }
.cwp-dashboard-v5 .cwp-publication-meta {
    align-items:center;
    gap:10px;
    font-size:12px;
}
.cwp-dashboard-v5 .cwp-publication-meta .cwp-status {
    display:inline-flex;
    align-items:center;
    padding:3px 8px;
    border-radius:20px;
    font-weight:600;
    font-size:11px;
}
.cwp-dashboard-v5 .cwp-status.is-published {
    background:#e8f5ee;
    color:#28734b;
}
.cwp-dashboard-v5 .cwp-status.is-other {
    background:#f2f3f4;
    color:#68767c;
}
.cwp-dashboard-v5 .cwp-publication-action {
    align-self:center;
}
.cwp-dashboard-v5 .cwp-publication-action .cwp-button {
    min-height:38px;
    min-width:70px;
    padding:7px 14px;
    font-size:12px !important;
}
.cwp-dashboard-v5 .cwp-empty-state {
    padding:38px 24px;
    text-align:center;
    border:1px dashed #cbd3d6;
    border-radius:10px;
    background:#fff;
}
.cwp-dashboard-v5 .cwp-empty-state strong { display:block; color:#243f4a; margin-bottom:6px; }
.cwp-dashboard-v5 .cwp-empty-state p { margin:0 0 18px; color:#7b858a; font-size:13px; }
@media (max-width: 760px) {
    .cwp-dashboard-v5 .cwp-dashboard-hero { align-items:flex-start; flex-direction:column; padding:22px; }
    .cwp-dashboard-v5 .cwp-dashboard-hero-actions { width:100%; }
    .cwp-dashboard-v5 .cwp-dashboard-hero-actions .cwp-button { flex:1; }
    .cwp-dashboard-v5 .cwp-dashboard-stats { grid-template-columns:1fr; }
    .cwp-dashboard-v5 .cwp-publication-item { grid-template-columns:60px 1fr; }
    .cwp-dashboard-v5 .cwp-publication-action { grid-column:2; }
}


/* 5.1.8 - compact Seller action buttons, matching the seller name tag */
.cwp-dashboard-v5 .cwp-dashboard-hero-actions .cwp-button-primary,
.cwp-dashboard-v5 .cwp-empty-state .cwp-button-primary,
.cwp-dashboard-v5 .cwp-dashboard-logout,
.cwp-seller-register-form .cwp-button-primary {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 2px 8px !important;
    margin: 0 !important;
    border: 1px solid #d6dde0 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #243f4a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    cursor: pointer;
    box-sizing: border-box !important;
}

.cwp-dashboard-v5 .cwp-dashboard-hero-actions .cwp-button-primary:hover,
.cwp-dashboard-v5 .cwp-dashboard-hero-actions .cwp-button-primary:focus,
.cwp-dashboard-v5 .cwp-empty-state .cwp-button-primary:hover,
.cwp-dashboard-v5 .cwp-empty-state .cwp-button-primary:focus,
.cwp-dashboard-v5 .cwp-dashboard-logout:hover,
.cwp-dashboard-v5 .cwp-dashboard-logout:focus,
.cwp-seller-register-form .cwp-button-primary:hover,
.cwp-seller-register-form .cwp-button-primary:focus {
    background: #f5f7f8 !important;
    border-color: #b9c5ca !important;
    color: #243f4a !important;
    text-decoration: none !important;
}

/* 5.1.10 - Seller registration primary action */
.cwp-seller-register-form .cwp-button-primary {
    background: #243f4a !important;
    color: #ffffff !important;
    border-color: #243f4a !important;
}

.cwp-seller-register-form .cwp-button-primary:hover,
.cwp-seller-register-form .cwp-button-primary:focus {
    background: #162d36 !important;
    color: #ffffff !important;
    border-color: #162d36 !important;
}

/* 5.1.0 - Seller application form */
.cwp-seller-register {
    width: 100%;
    box-sizing: border-box;
}
.cwp-register-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid #dfe4e7;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}
.cwp-register-heading h2 {
    margin: 6px 0 8px;
}
.cwp-register-heading p {
    margin: 0 0 24px;
}
.cwp-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.cwp-seller-register-form .cwp-field label {
    display: block;
    margin-bottom: 8px;
}
.cwp-seller-register-form input[type="text"],
.cwp-seller-register-form input[type="email"],
.cwp-seller-register-form select {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #b8c0c4 !important;
    border-radius: 5px !important;
    background: #fff !important;
}
.cwp-register-actions {
    margin-top: 24px;
}
@media (max-width: 650px) {
    .cwp-register-card { padding: 22px; }
    .cwp-register-grid { grid-template-columns: 1fr; }
}

/* 5.1.12 - Seller registration account button and location fields */
.cwp-seller-register-form .cwp-seller-login-button {
    display: inline-block !important;
    width: auto !important;
    margin-left: 8px !important;
    padding: 4px 10px !important;
    border: 1px solid #d6dde0 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #243f4a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
.cwp-seller-register-form .cwp-seller-login-button:hover,
.cwp-seller-register-form .cwp-seller-login-button:focus {
    background: #f5f7f8 !important;
    border-color: #b9c5ca !important;
    color: #243f4a !important;
}
.cwp-seller-register-form select:disabled {
    opacity: .65;
    cursor: not-allowed;
}
@media (max-width: 650px) {
    .cwp-seller-register-form .cwp-seller-login-button {
        margin-left: 0 !important;
        margin-top: 8px !important;
    }
}


/* 5.2.3 - Seller Membership panel */
.cwp-membership-panel {
    margin:28px 0 34px;
    padding:26px;
    border:1px solid #dfe4e7;
    border-radius:14px;
    background:#fff;
    box-sizing:border-box;
}
.cwp-membership-head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}
.cwp-membership-head h3 { margin:5px 0 6px; }
.cwp-membership-head p { margin:0; color:#5d686d; }
.cwp-membership-status {
    flex:0 0 auto;
    padding:7px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}
.cwp-membership-status.is-active { background:#e8f7ef; color:#176b3a; }
.cwp-membership-status.is-inactive { background:#f1f3f4; color:#59636a; }
.cwp-membership-current {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:13px 15px;
    margin-bottom:18px;
    border-radius:9px;
    background:#f7f9fa;
}
.cwp-membership-current span { color:#657077; font-size:14px; }

.cwp-membership-plans {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.cwp-membership-plan {
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:18px 18px 16px;
    border:1px solid #b8c0c4;
    border-radius:5px;
    background:#f1f3f4;
    color:#243f4a !important;
    text-decoration:none !important;
    box-sizing:border-box;
    cursor:pointer;
    transition:background .15s ease, border-color .15s ease, transform .15s ease;
}

.cwp-membership-plan:hover,
.cwp-membership-plan:focus {
    background:#e4e8ea;
    border-color:#243f4a;
    color:#243f4a !important;
    text-decoration:none !important;
    transform:translateY(-1px);
}

.cwp-membership-plan.is-current {
    background:#243f4a;
    border-color:#243f4a;
    color:#fff !important;
}

.cwp-membership-plan.is-current:hover,
.cwp-membership-plan.is-current:focus {
    background:#162d36;
    border-color:#162d36;
    color:#fff !important;
}

.cwp-membership-plan-top {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
}
.cwp-membership-plan h4 {
    margin:0 0 7px;
    font-size:20px;
    color:inherit !important;
}
.cwp-membership-plan p {
    flex:1 1 auto;
    min-height:42px;
    margin:8px 0 15px;
    color:#667176;
    font-size:14px;
    line-height:1.5;
}
.cwp-membership-plan.is-current p { color:#e7eef1; }

.cwp-membership-price {
    text-align:right;
    white-space:nowrap;
}
.cwp-membership-price strong {
    font-size:20px;
    color:inherit !important;
}
.cwp-membership-price span {
    color:#667176;
    font-size:12px;
}
.cwp-membership-plan.is-current .cwp-membership-price span { color:#dce6e9; }

.cwp-membership-current-badge {
    display:inline-block;
    padding:3px 7px;
    border-radius:4px;
    background:#eef3f5;
    color:#4e5c62;
    font-size:11px;
    font-weight:700;
}

.cwp-membership-plan-cta {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:46px;
    padding:0 20px;
    border:1px solid #243f4a;
    border-radius:5px;
    background:#243f4a;
    color:#fff !important;
    font-size:15px;
    font-weight:600;
    line-height:1.2;
    box-sizing:border-box;
}
.cwp-membership-plan:hover .cwp-membership-plan-cta,
.cwp-membership-plan:focus .cwp-membership-plan-cta {
    background:#162d36;
    border-color:#162d36;
}
.cwp-membership-plan.is-current .cwp-membership-plan-cta {
    background:#fff;
    border-color:#fff;
    color:#243f4a !important;
}
.cwp-membership-plan.is-current:hover .cwp-membership-plan-cta,
.cwp-membership-plan.is-current:focus .cwp-membership-plan-cta {
    background:#f1f3f4;
    border-color:#f1f3f4;
}

@media (max-width:850px) {
    .cwp-membership-plans { grid-template-columns:1fr; }
    .cwp-membership-plan p { min-height:0; }
}
@media (max-width:650px) {
    .cwp-membership-panel { padding:20px; }
    .cwp-membership-head,
    .cwp-membership-current { flex-direction:column; align-items:flex-start; }
}


/* 5.4.3 publication confirmation and membership visibility notice */
.cwp-message-info {
    margin: 12px 0 18px;
    padding: 12px 16px;
    border-left: 3px solid #b8a06a;
    background: #f7f5ef;
    color: #42505a;
    border-radius: 4px;
    line-height: 1.5;
}
.cwp-message-success {
    margin: 12px 0 18px;
    padding: 12px 16px;
    border-left: 3px solid #3a8d67;
    background: #eff8f2;
    color: #234b38;
    border-radius: 4px;
    line-height: 1.5;
}


/* Seller Management compact horizontal icon actions (5.4.8) */
.cwp-admin-seller-management .cwp-seller-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:145px}
.cwp-admin-seller-management .cwp-action-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #c3c4c7;border-radius:4px;background:#fff;color:#2271b1;text-decoration:none;box-sizing:border-box;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.cwp-admin-seller-management .cwp-action-icon:hover,.cwp-admin-seller-management .cwp-action-icon:focus{background:#f0f6fc;border-color:#2271b1;color:#135e96;box-shadow:0 0 0 1px #2271b1;outline:0}
.cwp-admin-seller-management .cwp-action-icon .dashicons{font-size:18px;width:18px;height:18px;line-height:18px}
.cwp-admin-seller-management .cwp-action-approve{color:#16803c;border-color:#9bc9a8}
.cwp-admin-seller-management .cwp-action-reject{color:#b32d2e;border-color:#e0aaaa}
.cwp-admin-seller-management .cwp-action-icon.is-enabled{background:#edf7ed;border-color:#46a35e;color:#16803c}
.cwp-admin-seller-management .cwp-test-visibility-note{flex-basis:100%;margin-top:2px;color:#646970}
